]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
5895c0c4962cbec73909244cf779887bca57697c
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 \fi % end if pdflatex is used
16
17 % that links to image floats jumps
18 % to the beginning of the float and 
19 % not to its caption
20 \usepackage[figure]{hypcap}
21
22 % the pages of the TOC is numbered roman
23 % and a PDF-bookmark for the TOC is added
24 \let\myTOC\tableofcontents
25 \renewcommand\tableofcontents{%
26   \frontmatter
27   \pdfbookmark[1]{\contentsname}{}
28   \myTOC
29   \mainmatter }
30
31 % provides caption formatting
32 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
33
34 % provides commands to set caption
35 % beside tables/images
36 \usepackage{sidecap}
37
38 \newcommand{\TabBesBeg}{%
39  \let\MyTable\table
40  \let\MyEndtable\endtable
41  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
42
43 \newcommand{\TabBesEnd}{%
44  \let\table\MyTable
45  \let\endtable\MyEndtable}
46
47 \newcommand{\FigBesBeg}{%
48  \let\MyFigure\figure
49  \let\MyEndfigure\endfigure
50  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
51
52 \newcommand{\FigBesEnd}{%
53  \let\figure\MyFigure
54  \let\endfigure\MyEndfigure}
55
56 % enables calculation of values,
57 \usepackage{calc}
58
59 % increase the bottom float placement fraction
60 \renewcommand{\bottomfraction}{0.5}
61
62 % avoids that floats are placed before their
63 % corresponding section starts
64 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
65
66 % speed up the longtable calculation
67 \setcounter{LTchunksize}{100}
68
69 % used for scaled and rotated boxes
70 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
71
72 % used for colored tables
73 \@ifundefined{textcolor}
74  {\usepackage{color}}{}
75 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
76 \definecolor{lightgrey}{gray}{0.8}
77
78 % check for package colortbl
79 % used for colored table cells
80 \newboolean{colortbl}
81 \IfFileExists{colortbl.sty}
82  {\usepackage{colortbl}
83   \setboolean{colortbl}{true}}
84  {\setboolean{colortbl}{false}}
85
86 % used for book-style tables
87 \usepackage{booktabs}
88
89 % used to have extra space in table cells
90 \@ifundefined{extrarowheight}
91  {\usepackage{array}}{}
92 \setlength{\extrarowheight}{2pt}
93
94 % used for customized tables
95 % ---
96 \newcolumntype{M}[1]
97  {>{\centering\hspace{0pt}}m{#1}}
98
99 \newcolumntype{S}[2]
100  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
101
102 \newcolumntype{K}[1]
103  {>{\columncolor{#1}\hspace{0pt}}c}
104
105 \newcolumntype{V}{!{\vrule width 1.5pt}}
106
107 \newcolumntype{W}{!{\color{green}\vline}}
108 % ---
109
110 % insert additional vertical space of
111 % 1.5 mm between footnotes
112 \let\myFoot\footnote
113 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
114
115 % number algorithm floats within chapters
116 \numberwithin{algorithm}{chapter}
117
118 % ------------------------------------
119 % used to check for needed LaTeX packages
120 \usepackage{ifthen}
121
122 % check for package arydshln
123 % used for tables with dashed lines
124 \newboolean{arydshln}
125 \IfFileExists{arydshln.sty}
126  {\usepackage{arydshln}
127   \setboolean{arydshln}{true}}
128  {\setboolean{arydshln}{false}}
129
130 % check for package marginnote
131 % used for margin notes
132 \newboolean{marginnote}
133 \IfFileExists{marginnote.sty}
134  {\usepackage{marginnote}
135   \let\marginpar\marginnote
136   \setboolean{marginnote}{true}}
137  {\setboolean{marginnote}{false}}
138
139 % check for package sidecap
140 % used for captions on the side
141 \newboolean{sidecap}
142 \IfFileExists{sidecap.sty}
143  {\usepackage{sidecap}
144   \setboolean{sidecap}{true}}
145  {\setboolean{sidecap}{false}}
146
147 % 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 \language_package default
157 \inputencoding auto
158 \fontencoding global
159 \font_roman default
160 \font_sans default
161 \font_typewriter default
162 \font_default_family default
163 \use_non_tex_fonts false
164 \font_sc false
165 \font_osf false
166 \font_sf_scale 100
167 \font_tt_scale 100
168
169 \graphics default
170 \default_output_format default
171 \output_sync 0
172 \bibtex_command default
173 \index_command default
174 \paperfontsize 12
175 \spacing single
176 \use_hyperref true
177 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
178 \pdf_author "LyX Team, Uwe Stöhr"
179 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
180 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
181 \pdf_bookmarks true
182 \pdf_bookmarksnumbered true
183 \pdf_bookmarksopen true
184 \pdf_bookmarksopenlevel 1
185 \pdf_breaklinks false
186 \pdf_pdfborder false
187 \pdf_colorlinks true
188 \pdf_backref false
189 \pdf_pdfusetitle false
190 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
191 \papersize default
192 \use_geometry false
193 \use_amsmath 2
194 \use_esint 0
195 \use_mhchem 1
196 \use_mathdots 1
197 \cite_engine basic
198 \use_bibtopic false
199 \use_indices false
200 \paperorientation portrait
201 \suppress_date false
202 \use_refstyle 0
203 \notefontcolor #0000ff
204 \index Index
205 \shortcut idx
206 \color #008000
207 \end_index
208 \secnumdepth 3
209 \tocdepth 3
210 \paragraph_separation skip
211 \defskip medskip
212 \quotes_language english
213 \papercolumns 1
214 \papersides 2
215 \paperpagestyle default
216 \bullet 1 1 34 -1
217 \bullet 2 2 35 -1
218 \bullet 3 2 7 -1
219 \tracking_changes false
220 \output_changes false
221 \html_math_output 0
222 \html_css_as_file 0
223 \html_be_strict false
224 \end_header
225
226 \begin_body
227
228 \begin_layout Title
229 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
230  manual
231 \end_layout
232
233 \begin_layout Author
234 by the LyX Team
235 \begin_inset Foot
236 status collapsed
237
238 \begin_layout Plain Layout
239 \noindent
240 If you have comments or error corrections, please send them to the LyX Documenta
241 tion mailing list: 
242 \begin_inset CommandInset href
243 LatexCommand href
244 name "lyx-docs@lists.lyx.org"
245 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
246 type "mailto:"
247
248 \end_inset
249
250
251 \end_layout
252
253 \end_inset
254
255
256 \begin_inset Note Note
257 status collapsed
258
259 \begin_layout Plain Layout
260 author: Uwe Stöhr
261 \end_layout
262
263 \end_inset
264
265
266 \begin_inset Newline newline
267 \end_inset
268
269
270 \begin_inset Newline newline
271 \end_inset
272
273
274 \family sans
275 Version 2.0.x
276 \end_layout
277
278 \begin_layout Standard
279 \begin_inset CommandInset toc
280 LatexCommand tableofcontents
281
282 \end_inset
283
284
285 \end_layout
286
287 \begin_layout Standard
288 \begin_inset Note Note
289 status open
290
291 \begin_layout Plain Layout
292 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
293  
294 \series bold
295 arydshln
296 \series default
297
298 \series bold
299 colortbl
300 \series default
301
302 \series bold
303 marginnote
304 \series default
305 , and 
306 \series bold
307 sidecap
308 \series default
309  must be installed.
310  If they are not installed you can export the document anyway but the sections
311  where the packages are required won't appear in the output.
312 \end_layout
313
314 \begin_layout Plain Layout
315 The latest PDF-version of this document can be found here:
316 \begin_inset Newline newline
317 \end_inset
318
319
320 \series bold
321 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
322 \end_layout
323
324 \end_inset
325
326
327 \end_layout
328
329 \begin_layout Chapter
330 Figures
331 \begin_inset Index idx
332 status collapsed
333
334 \begin_layout Plain Layout
335 Figures
336 \end_layout
337
338 \end_inset
339
340
341 \begin_inset Index idx
342 status collapsed
343
344 \begin_layout Plain Layout
345 Graphics|see
346 \begin_inset ERT
347 status collapsed
348
349 \begin_layout Plain Layout
350
351 {
352 \end_layout
353
354 \end_inset
355
356 Figures
357 \begin_inset ERT
358 status collapsed
359
360 \begin_layout Plain Layout
361
362 }
363 \end_layout
364
365 \end_inset
366
367
368 \end_layout
369
370 \end_inset
371
372
373 \end_layout
374
375 \begin_layout Section
376 Graphics Dialog
377 \begin_inset Index idx
378 status collapsed
379
380 \begin_layout Plain Layout
381 Figures ! Graphics Dialog
382 \end_layout
383
384 \end_inset
385
386
387 \begin_inset CommandInset label
388 LatexCommand label
389 name "sec:Graphics-Dialog"
390
391 \end_inset
392
393
394 \end_layout
395
396 \begin_layout Standard
397 To insert an image into your document, place the cursor at the text position
398  you want and click on the toolbar icon 
399 \begin_inset Graphics
400         filename ../images/dialog-show-new-inset_graphics.png
401         scale 85
402         scaleBeforeRotation
403
404 \end_inset
405
406  or use the menu 
407 \family sans
408 Insert\SpecialChar \menuseparator
409 Graphics
410 \family default
411 .
412  Then a dialog will appear to choose the file to load.
413  The image will appear in the output exactly at the position where it is
414  in the text.
415 \end_layout
416
417 \begin_layout Standard
418 The graphics dialog can be called at any time by clicking on an image.
419  This dialog has three tabs:
420 \end_layout
421
422 \begin_layout Description
423
424 \family sans
425 Graphics
426 \family default
427  Here you can choose an image file and adjust its appearance in the output.
428  The available units for the image size are explained in appendix
429 \begin_inset space ~
430 \end_inset
431
432
433 \begin_inset CommandInset ref
434 LatexCommand ref
435 reference "cha:Units-available-in"
436
437 \end_inset
438
439 .
440 \begin_inset Newline newline
441 \end_inset
442
443
444 \begin_inset Index idx
445 status collapsed
446
447 \begin_layout Plain Layout
448 Figures ! rotated
449 \end_layout
450
451 \end_inset
452
453 You can rotate images counter-clockwise by setting a rotation angle and
454  a rotation origin.
455  The image will also be rotated inside LyX.
456 \begin_inset Newline newline
457 \end_inset
458
459
460 \begin_inset Index idx
461 status collapsed
462
463 \begin_layout Plain Layout
464 Figures ! scaled
465 \end_layout
466
467 \end_inset
468
469 Images can be scaled by using a percentage value or by setting the width
470  and height explicitly.
471  If you set only the width or only the height, the other size will be determined
472  automatically.
473  If you set both, then the image will be transformed to the given size,
474  possibly distorting it.
475  To prevent the image from distortion, use the option 
476 \family sans
477 Maintain aspect ratio
478 \family default
479 .
480  The image will then be scaled so that its width and height don't exceed
481  the specified dimensions.
482 \begin_inset Newline newline
483 \end_inset
484
485 Images can be opened in a program of your choice by right-clicking on it
486  and choosing the entry 
487 \family sans
488 Edit
489 \begin_inset space ~
490 \end_inset
491
492 externally
493 \family default
494  in the context menu.
495  The program can be set for every image format in the file format settings
496  in LyX's preferences.
497 \end_layout
498
499 \begin_layout Description
500
501 \family sans
502 Clipping
503 \family default
504  Alternatively to the usage of scaling units it is possible to set image
505  coordinates to adjust the height and width of the image in the output.
506  The coordinates can also be calculated automatically by pressing the button
507  
508 \family sans
509 Get
510 \begin_inset space ~
511 \end_inset
512
513 from
514 \begin_inset space ~
515 \end_inset
516
517 File
518 \family default
519 .
520  The option 
521 \family sans
522 Clip
523 \begin_inset space ~
524 \end_inset
525
526 to
527 \begin_inset space ~
528 \end_inset
529
530 bounding
531 \begin_inset space ~
532 \end_inset
533
534 box
535 \family default
536  will only print the image region within the given coordinates.
537  Normally you don't need to take care about image coordinates and can ignore
538  this tab.
539 \end_layout
540
541 \begin_layout Description
542
543 \family sans
544 LaTeX
545 \begin_inset space ~
546 \end_inset
547
548 and
549 \begin_inset space ~
550 \end_inset
551
552 LyX
553 \begin_inset space ~
554 \end_inset
555
556 options
557 \family default
558  In this tab you can modify the appearance of the image within LyX and LaTeX
559  experts can specify additional LaTeX options.
560 \begin_inset Newline newline
561 \end_inset
562
563 The option 
564 \family sans
565 Draft
566 \begin_inset space ~
567 \end_inset
568
569 mode
570 \family default
571  makes the image appear in the output only as a frame with the size of the
572  image.
573 \begin_inset Newline newline
574 \end_inset
575
576 The 
577 \family sans
578 Don't
579 \begin_inset space ~
580 \end_inset
581
582 unzip
583 \begin_inset space ~
584 \end_inset
585
586 on
587 \begin_inset space ~
588 \end_inset
589
590 export
591 \family default
592  option only affects zipped EPS-graphics, e.
593 \begin_inset space \thinspace{}
594 \end_inset
595
596 g.
597 \begin_inset space \space{}
598 \end_inset
599
600
601 \emph on
602 x.eps.gz
603 \emph default
604 .
605  When the option is used the images will not be unzipped on export, since
606  LaTeX can handle them as they are.
607 \begin_inset Newline newline
608 \end_inset
609
610 Zipped EPS-graphics are useful to save disk space when you choose PostScript
611  as output format, see appendix
612 \begin_inset space ~
613 \end_inset
614
615
616 \begin_inset CommandInset ref
617 LatexCommand ref
618 reference "sec:PostScript"
619
620 \end_inset
621
622 .
623  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
624  console:
625 \begin_inset Newline newline
626 \end_inset
627
628
629 \series bold
630 gzip x.eps
631 \series default
632
633 \begin_inset Newline newline
634 \end_inset
635
636
637 \series bold
638 zgrep %%Bounding x.eps.gz > x.eps.bb
639 \series default
640
641 \begin_inset Newline newline
642 \end_inset
643
644 The second command creates the bounding box file 
645 \begin_inset Quotes eld
646 \end_inset
647
648 x.eps.bb
649 \begin_inset Quotes erd
650 \end_inset
651
652  that is needed by LaTeX for zipped graphics.
653 \begin_inset Newline newline
654 \end_inset
655
656 The field 
657 \family sans
658 Initialize
659 \begin_inset space ~
660 \end_inset
661
662 Group
663 \begin_inset space ~
664 \end_inset
665
666 Name
667 \family default
668  allows you define or join an image settings group.
669 \begin_inset Index idx
670 status collapsed
671
672 \begin_layout Plain Layout
673 Figures ! Settings grouping
674 \end_layout
675
676 \end_inset
677
678  Images within such a group share their settings, so adjusting one image
679  of the group automatically also adjusts all other images of the group in
680  the same way.
681  So you can for example change the size for a bunch of images without the
682  need to manually change each of them.
683  Joining an existing group can also be done using the context menu of the
684  image by checking the name of the desired group.
685 \end_layout
686
687 \begin_layout Standard
688 \begin_inset VSpace bigskip
689 \end_inset
690
691
692 \end_layout
693
694 \begin_layout Standard
695 This is an example image in EPS format
696 \begin_inset Foot
697 status collapsed
698
699 \begin_layout Plain Layout
700 Image formats are explained in section
701 \begin_inset space ~
702 \end_inset
703
704
705 \begin_inset CommandInset ref
706 LatexCommand ref
707 reference "sec:Image-Formats"
708
709 \end_inset
710
711 .
712 \end_layout
713
714 \end_inset
715
716  within a separate, horizontally centered paragraph:
717 \end_layout
718
719 \begin_layout Standard
720 \align center
721 \begin_inset Graphics
722         filename clipart/mobius.eps
723         scale 70
724         scaleBeforeRotation
725         rotateOrigin center
726
727 \end_inset
728
729
730 \end_layout
731
732 \begin_layout Standard
733 This is the same image like the one above but in draft mode:
734 \end_layout
735
736 \begin_layout Standard
737 \align center
738 \begin_inset Graphics
739         filename clipart/mobius.eps
740         scale 70
741         draft
742         scaleBeforeRotation
743         rotateOrigin center
744
745 \end_inset
746
747
748 \end_layout
749
750 \begin_layout Standard
751 \begin_inset Newpage newpage
752 \end_inset
753
754
755 \end_layout
756
757 \begin_layout Section
758 Figure Floats
759 \begin_inset CommandInset label
760 LatexCommand label
761 name "sec:Figure-Floats"
762
763 \end_inset
764
765
766 \begin_inset Index idx
767 status collapsed
768
769 \begin_layout Plain Layout
770 Floats ! Figures
771 \end_layout
772
773 \end_inset
774
775
776 \begin_inset Index idx
777 status collapsed
778
779 \begin_layout Plain Layout
780 Figures ! Floats
781 \end_layout
782
783 \end_inset
784
785
786 \end_layout
787
788 \begin_layout Standard
789 For general explanations about floats, have a look at section
790 \begin_inset space ~
791 \end_inset
792
793
794 \begin_inset CommandInset ref
795 LatexCommand ref
796 reference "sec:FloatIntroduction"
797
798 \end_inset
799
800 .
801 \end_layout
802
803 \begin_layout Standard
804 The toolbar button 
805 \begin_inset Graphics
806         filename ../images/float-insert_figure.png
807         scale 85
808         scaleBeforeRotation
809
810 \end_inset
811
812  and the menu 
813 \family sans
814 Insert\SpecialChar \menuseparator
815 Float\SpecialChar \menuseparator
816 Figure
817 \family default
818  inserts a float with a caption that has the label 
819 \begin_inset Quotes eld
820 \end_inset
821
822 Figure
823 \begin_inset space ~
824 \end_inset
825
826 #:
827 \begin_inset Quotes erd
828 \end_inset
829
830  (# is the actual number).
831  You can insert the image above the caption, like in Figure
832 \begin_inset space ~
833 \end_inset
834
835
836 \begin_inset CommandInset ref
837 LatexCommand ref
838 reference "fig:kill-plat"
839
840 \end_inset
841
842  or below the caption, like in Figure
843 \begin_inset space ~
844 \end_inset
845
846
847 \begin_inset CommandInset ref
848 LatexCommand ref
849 reference "fig:escher"
850
851 \end_inset
852
853 .
854  More about caption placement is described in section
855 \begin_inset space ~
856 \end_inset
857
858
859 \begin_inset CommandInset ref
860 LatexCommand ref
861 reference "sec:Caption-Placement"
862
863 \end_inset
864
865 .
866 \end_layout
867
868 \begin_layout Standard
869 \begin_inset Float figure
870 wide false
871 sideways false
872 status open
873
874 \begin_layout Plain Layout
875 \align center
876 \begin_inset Graphics
877         filename clipart/platypus.eps
878         width 50col%
879         scaleBeforeRotation
880         rotateOrigin center
881
882 \end_inset
883
884
885 \end_layout
886
887 \begin_layout Plain Layout
888 \begin_inset Caption
889
890 \begin_layout Plain Layout
891 \begin_inset CommandInset label
892 LatexCommand label
893 name "fig:kill-plat"
894
895 \end_inset
896
897 A severely distorted platypus in a float.
898 \end_layout
899
900 \end_inset
901
902
903 \end_layout
904
905 \end_inset
906
907
908 \end_layout
909
910 \begin_layout Standard
911 \begin_inset Float figure
912 wide false
913 sideways false
914 status open
915
916 \begin_layout Plain Layout
917 \begin_inset Caption
918
919 \begin_layout Plain Layout
920 \begin_inset CommandInset label
921 LatexCommand label
922 name "fig:escher"
923
924 \end_inset
925
926 M.C.
927  Escher on acid.
928 \end_layout
929
930 \end_inset
931
932
933 \end_layout
934
935 \begin_layout Plain Layout
936 \align center
937 \begin_inset Graphics
938         filename clipart/escher-lsd.eps
939         scale 80
940         scaleBeforeRotation
941         rotateOrigin center
942
943 \end_inset
944
945
946 \end_layout
947
948 \end_inset
949
950
951 \end_layout
952
953 \begin_layout Standard
954 \begin_inset Index idx
955 status collapsed
956
957 \begin_layout Plain Layout
958 References ! to Figures
959 \end_layout
960
961 \end_inset
962
963 Figure
964 \begin_inset space ~
965 \end_inset
966
967
968 \begin_inset CommandInset ref
969 LatexCommand ref
970 reference "fig:kill-plat"
971
972 \end_inset
973
974  and 
975 \begin_inset CommandInset ref
976 LatexCommand ref
977 reference "fig:escher"
978
979 \end_inset
980
981  are examples of referenced figures.
982  Figures can be referenced in the text by referencing their label.
983  To do this insert a label in the caption using the menu 
984 \family sans
985 Insert\SpecialChar \menuseparator
986 Label
987 \family default
988  or the toolbar button 
989 \begin_inset Graphics
990         filename ../images/label-insert.png
991         scale 85
992         scaleBeforeRotation
993
994 \end_inset
995
996 .
997  You can now refer to the label using the menu 
998 \family sans
999 Insert\SpecialChar \menuseparator
1000 Cross
1001 \begin_inset space ~
1002 \end_inset
1003
1004 reference
1005 \family default
1006  or the toolbar button 
1007 \begin_inset Graphics
1008         filename ../images/dialog-show-new-inset_ref.png
1009         scale 85
1010         scaleBeforeRotation
1011
1012 \end_inset
1013
1014 .
1015  It is important to use references to floats, rather than using vague references
1016  like 
1017 \begin_inset Quotes eld
1018 \end_inset
1019
1020 the figure above
1021 \begin_inset Quotes erd
1022 \end_inset
1023
1024 , because LaTeX will reposition the floats in the final document and it
1025  might not be 
1026 \begin_inset Quotes eld
1027 \end_inset
1028
1029 above
1030 \begin_inset Quotes erd
1031 \end_inset
1032
1033  at all.
1034 \begin_inset Newline newline
1035 \end_inset
1036
1037 Referencing is explained in detail in section
1038 \begin_inset space ~
1039 \end_inset
1040
1041
1042 \begin_inset CommandInset ref
1043 LatexCommand ref
1044 reference "sec:Referencing-Floats"
1045
1046 \end_inset
1047
1048 .
1049 \end_layout
1050
1051 \begin_layout Standard
1052 Normally only one image is inserted to a figure float, but sometimes you
1053  might want to use two images with separate subcaptions.
1054  This can be done by inserting image floats into existing image floats.
1055  Note that only the main caption of the float is added to the List of Figures.
1056  Figure
1057 \begin_inset space ~
1058 \end_inset
1059
1060
1061 \begin_inset CommandInset ref
1062 LatexCommand ref
1063 reference "fig:Two-distorted-images"
1064
1065 \end_inset
1066
1067  is an example of a figure float with two images set side by side.
1068  You can also set the images one below the other.
1069  Figure
1070 \begin_inset space ~
1071 \end_inset
1072
1073
1074 \begin_inset CommandInset ref
1075 LatexCommand ref
1076 reference "fig:Undefinable-structure"
1077
1078 \end_inset
1079
1080  and 
1081 \begin_inset CommandInset ref
1082 LatexCommand ref
1083 reference "fig:A-Platypus"
1084
1085 \end_inset
1086
1087  are the subfigures.
1088 \end_layout
1089
1090 \begin_layout Standard
1091 \begin_inset Float figure
1092 wide false
1093 sideways false
1094 status open
1095
1096 \begin_layout Plain Layout
1097 \begin_inset space \hfill{}
1098 \end_inset
1099
1100
1101 \begin_inset Float figure
1102 wide false
1103 sideways false
1104 status collapsed
1105
1106 \begin_layout Plain Layout
1107 \begin_inset Caption
1108
1109 \begin_layout Plain Layout
1110 \begin_inset CommandInset label
1111 LatexCommand label
1112 name "fig:Undefinable-structure"
1113
1114 \end_inset
1115
1116 Undefinable structure.
1117 \end_layout
1118
1119 \end_inset
1120
1121
1122 \end_layout
1123
1124 \begin_layout Plain Layout
1125 \begin_inset Graphics
1126         filename clipart/escher-lsd.eps
1127         width 45col%
1128         scaleBeforeRotation
1129         groupId distorted
1130
1131 \end_inset
1132
1133
1134 \end_layout
1135
1136 \end_inset
1137
1138
1139 \begin_inset space \hfill{}
1140 \end_inset
1141
1142
1143 \begin_inset Float figure
1144 wide false
1145 sideways false
1146 status collapsed
1147
1148 \begin_layout Plain Layout
1149 \begin_inset Caption
1150
1151 \begin_layout Plain Layout
1152 \begin_inset CommandInset label
1153 LatexCommand label
1154 name "fig:A-Platypus"
1155
1156 \end_inset
1157
1158 A Platypus.
1159 \end_layout
1160
1161 \end_inset
1162
1163
1164 \end_layout
1165
1166 \begin_layout Plain Layout
1167 \begin_inset Graphics
1168         filename clipart/platypus.eps
1169         width 45col%
1170         scaleBeforeRotation
1171         groupId distorted
1172
1173 \end_inset
1174
1175
1176 \end_layout
1177
1178 \end_inset
1179
1180
1181 \begin_inset space \hfill{}
1182 \end_inset
1183
1184
1185 \end_layout
1186
1187 \begin_layout Plain Layout
1188 \begin_inset Caption
1189
1190 \begin_layout Plain Layout
1191 \begin_inset CommandInset label
1192 LatexCommand label
1193 name "fig:Two-distorted-images"
1194
1195 \end_inset
1196
1197
1198 \begin_inset CommandInset label
1199 LatexCommand label
1200 name "fig2:Two-distorted-images-2"
1201
1202 \end_inset
1203
1204 Two distorted images.
1205  Both images are in the image settings group named 
1206 \begin_inset Quotes eld
1207 \end_inset
1208
1209 distorted
1210 \begin_inset Quotes erd
1211 \end_inset
1212
1213 .
1214 \end_layout
1215
1216 \end_inset
1217
1218
1219 \end_layout
1220
1221 \end_inset
1222
1223
1224 \end_layout
1225
1226 \begin_layout Standard
1227 \begin_inset Newpage newpage
1228 \end_inset
1229
1230
1231 \end_layout
1232
1233 \begin_layout Section
1234 Image Formats
1235 \begin_inset CommandInset label
1236 LatexCommand label
1237 name "sec:Image-Formats"
1238
1239 \end_inset
1240
1241
1242 \begin_inset Index idx
1243 status collapsed
1244
1245 \begin_layout Plain Layout
1246 Image Formats
1247 \end_layout
1248
1249 \end_inset
1250
1251
1252 \begin_inset Index idx
1253 status collapsed
1254
1255 \begin_layout Plain Layout
1256 Figures ! Image Formats
1257 \end_layout
1258
1259 \end_inset
1260
1261
1262 \end_layout
1263
1264 \begin_layout Standard
1265 You can insert images in any known file format.
1266  But as explained in appendix
1267 \begin_inset space ~
1268 \end_inset
1269
1270
1271 \begin_inset CommandInset ref
1272 LatexCommand ref
1273 reference "cha:Output-File-Formats"
1274
1275 \end_inset
1276
1277 , each output document format allows only a few image formats.
1278  LyX uses therefore the program 
1279 \family typewriter
1280 ImageMagick
1281 \family default
1282  in the background to convert the images to the right format.
1283  To increase your work flow by avoiding these conversions in the background,
1284  you can use only the image formats that can directly be embedded in the
1285  output file format.
1286  The output file formats are explained in appendix
1287 \begin_inset space ~
1288 \end_inset
1289
1290
1291 \begin_inset CommandInset ref
1292 LatexCommand ref
1293 reference "cha:Output-File-Formats"
1294
1295 \end_inset
1296
1297 .
1298 \end_layout
1299
1300 \begin_layout Standard
1301 Similar to fonts there are two types of image formats:
1302 \end_layout
1303
1304 \begin_layout Description
1305 Bitmap
1306 \begin_inset space ~
1307 \end_inset
1308
1309 images consist of pixel values, often in a compressed form.
1310  They are therefore not fully scalable and look pixelated in large zooms.
1311  Well-known bitmap image formats are 
1312 \begin_inset Quotes eld
1313 \end_inset
1314
1315 Graphics Interchange Format
1316 \begin_inset Quotes erd
1317 \end_inset
1318
1319  (GIF, file extension 
1320 \begin_inset Quotes eld
1321 \end_inset
1322
1323
1324 \family typewriter
1325 .gif
1326 \family default
1327
1328 \begin_inset Quotes erd
1329 \end_inset
1330
1331 )
1332 \begin_inset Index idx
1333 status collapsed
1334
1335 \begin_layout Plain Layout
1336 GIF|see
1337 \begin_inset ERT
1338 status collapsed
1339
1340 \begin_layout Plain Layout
1341
1342 {
1343 \end_layout
1344
1345 \end_inset
1346
1347 Image formats
1348 \begin_inset ERT
1349 status collapsed
1350
1351 \begin_layout Plain Layout
1352
1353 }
1354 \end_layout
1355
1356 \end_inset
1357
1358
1359 \end_layout
1360
1361 \end_inset
1362
1363
1364 \begin_inset Quotes eld
1365 \end_inset
1366
1367 Portable Network Graphics
1368 \begin_inset Quotes erd
1369 \end_inset
1370
1371  (PNG, file extension 
1372 \begin_inset Quotes eld
1373 \end_inset
1374
1375
1376 \family typewriter
1377 .png
1378 \family default
1379
1380 \begin_inset Quotes erd
1381 \end_inset
1382
1383 )
1384 \begin_inset Index idx
1385 status collapsed
1386
1387 \begin_layout Plain Layout
1388 PNG|see
1389 \begin_inset ERT
1390 status collapsed
1391
1392 \begin_layout Plain Layout
1393
1394 {
1395 \end_layout
1396
1397 \end_inset
1398
1399 Image formats
1400 \begin_inset ERT
1401 status collapsed
1402
1403 \begin_layout Plain Layout
1404
1405 }
1406 \end_layout
1407
1408 \end_inset
1409
1410
1411 \end_layout
1412
1413 \end_inset
1414
1415 , and 
1416 \begin_inset Quotes eld
1417 \end_inset
1418
1419 Joint Photographic Experts Group
1420 \begin_inset Quotes erd
1421 \end_inset
1422
1423  (JPG, file extension 
1424 \begin_inset Quotes eld
1425 \end_inset
1426
1427
1428 \family typewriter
1429 .jpg
1430 \family default
1431
1432 \begin_inset Quotes erd
1433 \end_inset
1434
1435  or 
1436 \begin_inset Quotes eld
1437 \end_inset
1438
1439
1440 \family typewriter
1441 .jpeg
1442 \family default
1443
1444 \begin_inset Quotes erd
1445 \end_inset
1446
1447 )
1448 \begin_inset Index idx
1449 status collapsed
1450
1451 \begin_layout Plain Layout
1452 JPG|see
1453 \begin_inset ERT
1454 status collapsed
1455
1456 \begin_layout Plain Layout
1457
1458 {
1459 \end_layout
1460
1461 \end_inset
1462
1463 Image formats
1464 \begin_inset ERT
1465 status collapsed
1466
1467 \begin_layout Plain Layout
1468
1469 }
1470 \end_layout
1471
1472 \end_inset
1473
1474
1475 \end_layout
1476
1477 \end_inset
1478
1479 .
1480 \end_layout
1481
1482 \begin_layout Description
1483 Vector
1484 \begin_inset space ~
1485 \end_inset
1486
1487 images consist of vectors and can therefore be scaled to any size without
1488  data loss.
1489  The scaling ability is necessary if you want to create presentations, because
1490  presentations are always scaled by the video projector.
1491  Scaling is also useful for online documents to let the user zoom into diagrams.
1492 \begin_inset Newline newline
1493 \end_inset
1494
1495 Well-known scalable image formats are 
1496 \begin_inset Quotes eld
1497 \end_inset
1498
1499 Scalable Vector Graphics
1500 \begin_inset Quotes erd
1501 \end_inset
1502
1503  (SVG, file extension 
1504 \begin_inset Quotes eld
1505 \end_inset
1506
1507
1508 \family typewriter
1509 .svg
1510 \family default
1511
1512 \begin_inset Quotes erd
1513 \end_inset
1514
1515 )
1516 \begin_inset Index idx
1517 status collapsed
1518
1519 \begin_layout Plain Layout
1520 SVG|see
1521 \begin_inset ERT
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525
1526 {
1527 \end_layout
1528
1529 \end_inset
1530
1531 Image formats
1532 \begin_inset ERT
1533 status collapsed
1534
1535 \begin_layout Plain Layout
1536
1537 }
1538 \end_layout
1539
1540 \end_inset
1541
1542
1543 \end_layout
1544
1545 \end_inset
1546
1547
1548 \begin_inset Quotes eld
1549 \end_inset
1550
1551 Encapsulated PostScript
1552 \begin_inset Quotes erd
1553 \end_inset
1554
1555  (EPS, file extension 
1556 \begin_inset Quotes eld
1557 \end_inset
1558
1559
1560 \family typewriter
1561 .eps
1562 \family default
1563
1564 \begin_inset Quotes erd
1565 \end_inset
1566
1567 )
1568 \begin_inset Index idx
1569 status collapsed
1570
1571 \begin_layout Plain Layout
1572 EPS|see
1573 \begin_inset ERT
1574 status collapsed
1575
1576 \begin_layout Plain Layout
1577
1578 {
1579 \end_layout
1580
1581 \end_inset
1582
1583 Image formats
1584 \begin_inset ERT
1585 status collapsed
1586
1587 \begin_layout Plain Layout
1588
1589 }
1590 \end_layout
1591
1592 \end_inset
1593
1594
1595 \end_layout
1596
1597 \end_inset
1598
1599
1600 \begin_inset Quotes eld
1601 \end_inset
1602
1603 Portable Document Format
1604 \begin_inset Quotes erd
1605 \end_inset
1606
1607  (PDF, file extension 
1608 \begin_inset Quotes eld
1609 \end_inset
1610
1611
1612 \family typewriter
1613 .pdf
1614 \family default
1615
1616 \begin_inset Quotes erd
1617 \end_inset
1618
1619 )
1620 \begin_inset Index idx
1621 status collapsed
1622
1623 \begin_layout Plain Layout
1624 PDF
1625 \end_layout
1626
1627 \end_inset
1628
1629 , and 
1630 \begin_inset Quotes eld
1631 \end_inset
1632
1633 Windows Metafile
1634 \begin_inset Quotes erd
1635 \end_inset
1636
1637  (WMF, file extension 
1638 \begin_inset Quotes eld
1639 \end_inset
1640
1641
1642 \family typewriter
1643 .wmf
1644 \family default
1645
1646 \begin_inset Quotes erd
1647 \end_inset
1648
1649 )
1650 \begin_inset Index idx
1651 status collapsed
1652
1653 \begin_layout Plain Layout
1654 SVG|see
1655 \begin_inset ERT
1656 status collapsed
1657
1658 \begin_layout Plain Layout
1659
1660 {
1661 \end_layout
1662
1663 \end_inset
1664
1665 Image formats
1666 \begin_inset ERT
1667 status collapsed
1668
1669 \begin_layout Plain Layout
1670
1671 }
1672 \end_layout
1673
1674 \end_inset
1675
1676
1677 \end_layout
1678
1679 \end_inset
1680
1681 .
1682  We wrote 
1683 \begin_inset Quotes eld
1684 \end_inset
1685
1686 can be
1687 \begin_inset Quotes erd
1688 \end_inset
1689
1690 , because you can convert any bitmap image to a PDF or EPS-image and the
1691  result will still be a bitmap image.
1692  In such cases only a header with the image properties is added to the original
1693  image
1694 \begin_inset Foot
1695 status collapsed
1696
1697 \begin_layout Plain Layout
1698 In the case of PDF, the original image is additionally compressed.
1699 \end_layout
1700
1701 \end_inset
1702
1703 .
1704  The PDF-files generated by 
1705 \family typewriter
1706 Adobe Photoshop
1707 \family default
1708  are for example bitmap images.
1709 \end_layout
1710
1711 \begin_layout Standard
1712 Normally it is not possible to convert a bitmap image into a scalable one,
1713  only vice versa.
1714  Only the image formats PDF and EPS can directly be embedded to PDF and
1715  PostScript output files, respectively.
1716  SVG and WMF-images are recalculated to bitmaps when the output file is
1717  generated because there is currently no adequate WMF/SVG
1718 \begin_inset Formula $\to$
1719 \end_inset
1720
1721 PDF/EPS converter available.
1722 \end_layout
1723
1724 \begin_layout Chapter
1725 Tables
1726 \begin_inset Index idx
1727 status collapsed
1728
1729 \begin_layout Plain Layout
1730 Table
1731 \end_layout
1732
1733 \end_inset
1734
1735
1736 \end_layout
1737
1738 \begin_layout Section
1739 Introduction
1740 \begin_inset Index idx
1741 status collapsed
1742
1743 \begin_layout Plain Layout
1744 Table ! Introduction
1745 \end_layout
1746
1747 \end_inset
1748
1749
1750 \end_layout
1751
1752 \begin_layout Standard
1753 You can insert a table using either the toolbar button 
1754 \begin_inset Graphics
1755         filename ../images/tabular-insert.png
1756         scale 85
1757         scaleBeforeRotation
1758
1759 \end_inset
1760
1761  or the menu 
1762 \family sans
1763 Insert\SpecialChar \menuseparator
1764 Table
1765 \family default
1766 .
1767  The toolbar button offers you a graphical selection: move the mouse to
1768  set the column/row number of the table that should be created and then
1769  press a mouse button.
1770  When you use the menu to create a table, a dialog will appear, asking you
1771  for the number of rows and columns.
1772 \begin_inset Newline newline
1773 \end_inset
1774
1775  The default table has lines around any cell and the first row appears separated
1776  from the rest of the table.
1777  This separation occurs due to a double line: The cells of the first row
1778  have a line below them and the cells of the second row have a line above
1779  them.
1780  Here is an example table:
1781 \end_layout
1782
1783 \begin_layout Standard
1784 \align center
1785 \begin_inset Tabular
1786 <lyxtabular version="3" rows="4" columns="4">
1787 <features tabularvalignment="middle">
1788 <column alignment="center" valignment="top" width="0">
1789 <column alignment="center" valignment="top" width="0">
1790 <column alignment="center" valignment="top" width="0">
1791 <column alignment="center" valignment="top" width="0">
1792 <row>
1793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1794 \begin_inset Text
1795
1796 \begin_layout Plain Layout
1797
1798 \end_layout
1799
1800 \end_inset
1801 </cell>
1802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1803 \begin_inset Text
1804
1805 \begin_layout Plain Layout
1806
1807 \family roman
1808 \series medium
1809 \shape up
1810 \size normal
1811 \emph off
1812 \bar no
1813 \noun off
1814 \color none
1815 1
1816 \end_layout
1817
1818 \end_inset
1819 </cell>
1820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1821 \begin_inset Text
1822
1823 \begin_layout Plain Layout
1824 2
1825 \end_layout
1826
1827 \end_inset
1828 </cell>
1829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1830 \begin_inset Text
1831
1832 \begin_layout Plain Layout
1833 3
1834 \end_layout
1835
1836 \end_inset
1837 </cell>
1838 </row>
1839 <row>
1840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1841 \begin_inset Text
1842
1843 \begin_layout Plain Layout
1844
1845 \family roman
1846 \series medium
1847 \shape up
1848 \size normal
1849 \emph off
1850 \bar no
1851 \noun off
1852 \color none
1853 A
1854 \end_layout
1855
1856 \end_inset
1857 </cell>
1858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1859 \begin_inset Text
1860
1861 \begin_layout Plain Layout
1862
1863 \end_layout
1864
1865 \end_inset
1866 </cell>
1867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1868 \begin_inset Text
1869
1870 \begin_layout Plain Layout
1871
1872 \end_layout
1873
1874 \end_inset
1875 </cell>
1876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1877 \begin_inset Text
1878
1879 \begin_layout Plain Layout
1880
1881 \end_layout
1882
1883 \end_inset
1884 </cell>
1885 </row>
1886 <row>
1887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1888 \begin_inset Text
1889
1890 \begin_layout Plain Layout
1891
1892 \family roman
1893 \series medium
1894 \shape up
1895 \size normal
1896 \emph off
1897 \bar no
1898 \noun off
1899 \color none
1900 B
1901 \end_layout
1902
1903 \end_inset
1904 </cell>
1905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1906 \begin_inset Text
1907
1908 \begin_layout Plain Layout
1909
1910 \end_layout
1911
1912 \end_inset
1913 </cell>
1914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1915 \begin_inset Text
1916
1917 \begin_layout Plain Layout
1918
1919 \end_layout
1920
1921 \end_inset
1922 </cell>
1923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1924 \begin_inset Text
1925
1926 \begin_layout Plain Layout
1927
1928 \end_layout
1929
1930 \end_inset
1931 </cell>
1932 </row>
1933 <row>
1934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1935 \begin_inset Text
1936
1937 \begin_layout Plain Layout
1938
1939 \family roman
1940 \series medium
1941 \shape up
1942 \size normal
1943 \emph off
1944 \bar no
1945 \noun off
1946 \color none
1947 C
1948 \end_layout
1949
1950 \end_inset
1951 </cell>
1952 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1953 \begin_inset Text
1954
1955 \begin_layout Plain Layout
1956
1957 \end_layout
1958
1959 \end_inset
1960 </cell>
1961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1962 \begin_inset Text
1963
1964 \begin_layout Plain Layout
1965
1966 \end_layout
1967
1968 \end_inset
1969 </cell>
1970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1971 \begin_inset Text
1972
1973 \begin_layout Plain Layout
1974
1975 \end_layout
1976
1977 \end_inset
1978 </cell>
1979 </row>
1980 </lyxtabular>
1981
1982 \end_inset
1983
1984
1985 \end_layout
1986
1987 \begin_layout Section
1988 Table Dialog
1989 \begin_inset Index idx
1990 status collapsed
1991
1992 \begin_layout Plain Layout
1993 Table ! Dialog
1994 \end_layout
1995
1996 \end_inset
1997
1998
1999 \end_layout
2000
2001 \begin_layout Standard
2002 You can alter a table by clicking on it with the right mouse button, which
2003  brings up the table dialog.
2004  Here you can adjust the settings of that cell and row/column respectively
2005  where the cursor is currently placed.
2006  Most of the dialog options also work on selections.
2007  This means if you select more cells, columns or rows, the action is done
2008  for the whole selection.
2009  Note that there is a difference between selecting the 
2010 \emph on
2011 contents
2012 \emph default
2013  of the cell, and the cell itself.
2014 \begin_inset Newline newline
2015 \end_inset
2016
2017 With the dialog option 
2018 \family sans
2019 Immediate
2020 \begin_inset space ~
2021 \end_inset
2022
2023 Apply
2024 \family default
2025  every change you make in the dialog is directly applied.
2026  If you move the cursor to another table cell the dialog will then also
2027  be updated with the parameters of the new cell.
2028  If you change length values in the dialog you must press return to get
2029  the change applied.
2030 \begin_inset Newline newline
2031 \end_inset
2032
2033 You can alter tables with the following tabs of the table dialog:
2034 \end_layout
2035
2036 \begin_layout Description
2037
2038 \family sans
2039 Table
2040 \begin_inset space ~
2041 \end_inset
2042
2043 Settings
2044 \family default
2045  Here you can set the table width
2046 \begin_inset Index idx
2047 status collapsed
2048
2049 \begin_layout Plain Layout
2050 Table ! Width
2051 \end_layout
2052
2053 \end_inset
2054
2055 , and the horizontal alignment and the width of the current column.
2056  The alignment 
2057 \family sans
2058 At
2059 \begin_inset space ~
2060 \end_inset
2061
2062 Decimal
2063 \begin_inset space ~
2064 \end_inset
2065
2066 Separator
2067 \family default
2068  is described in section
2069 \begin_inset space ~
2070 \end_inset
2071
2072
2073 \begin_inset CommandInset ref
2074 LatexCommand ref
2075 reference "sub:Special-Cell-Alignment"
2076
2077 \end_inset
2078
2079 .
2080  When you have set a width you can also adjust the vertical alignment of
2081  the current row.
2082  A given width will allow the cell to have line breaks and multiple paragraphs
2083  of text, see section
2084 \begin_inset space ~
2085 \end_inset
2086
2087
2088 \begin_inset CommandInset ref
2089 LatexCommand ref
2090 reference "sub:Multiple-Lines-in"
2091
2092 \end_inset
2093
2094 .
2095  If you set no width, the column is as wide as the content of its widest
2096  cell.
2097 \begin_inset Newline newline
2098 \end_inset
2099
2100 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2101  cell, see section
2102 \begin_inset space ~
2103 \end_inset
2104
2105
2106 \begin_inset CommandInset ref
2107 LatexCommand ref
2108 reference "sub:Multicolumns"
2109
2110 \end_inset
2111
2112  or the cells of one column as multirow cell, see section
2113 \begin_inset space ~
2114 \end_inset
2115
2116
2117 \begin_inset CommandInset ref
2118 LatexCommand ref
2119 reference "sub:Multirows"
2120
2121 \end_inset
2122
2123 .
2124 \begin_inset Newline newline
2125 \end_inset
2126
2127 The rotate check boxes rotate the current cell, a selection, or the whole
2128  table counter-clockwise by 90°.
2129  The rotation is not shown within LyX, only in the output.
2130 \begin_inset Newline newline
2131 \end_inset
2132
2133
2134 \begin_inset Note Greyedout
2135 status open
2136
2137 \begin_layout Plain Layout
2138
2139 \series bold
2140 Note:
2141 \series default
2142  Not all DVI-viewers are able to display rotations.
2143 \end_layout
2144
2145 \end_inset
2146
2147
2148 \begin_inset Newline newline
2149 \end_inset
2150
2151 The table-wide vertical alignment is used for tables within text lines:
2152 \begin_inset Newline newline
2153 \end_inset
2154
2155 A line with tables with different alignments: 
2156 \begin_inset Tabular
2157 <lyxtabular version="3" rows="2" columns="2">
2158 <features tabularvalignment="top">
2159 <column alignment="center" valignment="top" width="0pt">
2160 <column alignment="center" valignment="top" width="0">
2161 <row>
2162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2163 \begin_inset Text
2164
2165 \begin_layout Plain Layout
2166
2167 \end_layout
2168
2169 \end_inset
2170 </cell>
2171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2172 \begin_inset Text
2173
2174 \begin_layout Plain Layout
2175
2176 \family roman
2177 \series medium
2178 \shape up
2179 \size normal
2180 \emph off
2181 \bar no
2182 \noun off
2183 \color none
2184 1
2185 \end_layout
2186
2187 \end_inset
2188 </cell>
2189 </row>
2190 <row>
2191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2192 \begin_inset Text
2193
2194 \begin_layout Plain Layout
2195
2196 \family roman
2197 \series medium
2198 \shape up
2199 \size normal
2200 \emph off
2201 \bar no
2202 \noun off
2203 \color none
2204 A
2205 \end_layout
2206
2207 \end_inset
2208 </cell>
2209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2210 \begin_inset Text
2211
2212 \begin_layout Plain Layout
2213
2214 \end_layout
2215
2216 \end_inset
2217 </cell>
2218 </row>
2219 </lyxtabular>
2220
2221 \end_inset
2222
2223  
2224 \begin_inset Tabular
2225 <lyxtabular version="3" rows="2" columns="2">
2226 <features tabularvalignment="middle">
2227 <column alignment="center" valignment="top" width="0">
2228 <column alignment="center" valignment="top" width="0">
2229 <row>
2230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2231 \begin_inset Text
2232
2233 \begin_layout Plain Layout
2234
2235 \end_layout
2236
2237 \end_inset
2238 </cell>
2239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2240 \begin_inset Text
2241
2242 \begin_layout Plain Layout
2243
2244 \family roman
2245 \series medium
2246 \shape up
2247 \size normal
2248 \emph off
2249 \bar no
2250 \noun off
2251 \color none
2252 1
2253 \end_layout
2254
2255 \end_inset
2256 </cell>
2257 </row>
2258 <row>
2259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2260 \begin_inset Text
2261
2262 \begin_layout Plain Layout
2263
2264 \family roman
2265 \series medium
2266 \shape up
2267 \size normal
2268 \emph off
2269 \bar no
2270 \noun off
2271 \color none
2272 A
2273 \end_layout
2274
2275 \end_inset
2276 </cell>
2277 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2278 \begin_inset Text
2279
2280 \begin_layout Plain Layout
2281
2282 \end_layout
2283
2284 \end_inset
2285 </cell>
2286 </row>
2287 </lyxtabular>
2288
2289 \end_inset
2290
2291  
2292 \begin_inset Tabular
2293 <lyxtabular version="3" rows="2" columns="2">
2294 <features tabularvalignment="bottom">
2295 <column alignment="center" valignment="top" width="0pt">
2296 <column alignment="center" valignment="top" width="0">
2297 <row>
2298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2299 \begin_inset Text
2300
2301 \begin_layout Plain Layout
2302
2303 \end_layout
2304
2305 \end_inset
2306 </cell>
2307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2308 \begin_inset Text
2309
2310 \begin_layout Plain Layout
2311
2312 \family roman
2313 \series medium
2314 \shape up
2315 \size normal
2316 \emph off
2317 \bar no
2318 \noun off
2319 \color none
2320 1
2321 \end_layout
2322
2323 \end_inset
2324 </cell>
2325 </row>
2326 <row>
2327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2328 \begin_inset Text
2329
2330 \begin_layout Plain Layout
2331
2332 \family roman
2333 \series medium
2334 \shape up
2335 \size normal
2336 \emph off
2337 \bar no
2338 \noun off
2339 \color none
2340 A
2341 \end_layout
2342
2343 \end_inset
2344 </cell>
2345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2346 \begin_inset Text
2347
2348 \begin_layout Plain Layout
2349
2350 \end_layout
2351
2352 \end_inset
2353 </cell>
2354 </row>
2355 </lyxtabular>
2356
2357 \end_inset
2358
2359
2360 \begin_inset Newline newline
2361 \end_inset
2362
2363 It is also possible to enter a LaTeX-argument which is needed for special
2364  table formattings, see section
2365 \begin_inset space ~
2366 \end_inset
2367
2368
2369 \begin_inset CommandInset ref
2370 LatexCommand ref
2371 reference "sub:Multicolumn-Calculations"
2372
2373 \end_inset
2374
2375  and 
2376 \begin_inset CommandInset ref
2377 LatexCommand ref
2378 reference "sec:Colored-Tables"
2379
2380 \end_inset
2381
2382 .
2383 \end_layout
2384
2385 \begin_layout Description
2386
2387 \family sans
2388 Borders
2389 \family default
2390  In this tab you can add and delete border lines for the current row/column.
2391 \begin_inset Newline newline
2392 \end_inset
2393
2394 Using the style option 
2395 \family sans
2396 Formal
2397 \family default
2398  will convert the table to a formal table as described in section
2399 \begin_inset space ~
2400 \end_inset
2401
2402
2403 \begin_inset CommandInset ref
2404 LatexCommand ref
2405 reference "sec:Formal-Tables"
2406
2407 \end_inset
2408
2409 .
2410 \begin_inset Newline newline
2411 \end_inset
2412
2413 You can also add here space to table rows as described in section
2414 \begin_inset space ~
2415 \end_inset
2416
2417
2418 \begin_inset CommandInset ref
2419 LatexCommand ref
2420 reference "sub:Row-Spacing"
2421
2422 \end_inset
2423
2424 .
2425 \end_layout
2426
2427 \begin_layout Description
2428
2429 \family sans
2430 Longtable
2431 \family default
2432  This tab is to make a table a so called 
2433 \begin_inset Quotes eld
2434 \end_inset
2435
2436
2437 \emph on
2438 longtable
2439 \emph default
2440
2441 \begin_inset Quotes erd
2442 \end_inset
2443
2444  that can run over several pages.
2445  Sections
2446 \begin_inset space ~
2447 \end_inset
2448
2449
2450 \begin_inset CommandInset ref
2451 LatexCommand ref
2452 reference "sec:Longtables"
2453
2454 \end_inset
2455
2456  and 
2457 \begin_inset CommandInset ref
2458 LatexCommand ref
2459 reference "sec:Special-Longtable-Issues"
2460
2461 \end_inset
2462
2463  describe the longtable features in detail.
2464 \end_layout
2465
2466 \begin_layout Section
2467 Table Toolbar
2468 \begin_inset Index idx
2469 status collapsed
2470
2471 \begin_layout Plain Layout
2472 Table ! Toolbar
2473 \end_layout
2474
2475 \end_inset
2476
2477
2478 \end_layout
2479
2480 \begin_layout Standard
2481 The table toolbar is an alternative to the table dialog to be able to alter
2482  tables faster.
2483  It should normally appear at the bottom of LyX's main window when the cursor
2484  is inside a table.
2485  You can alternatively switch it on to appear always, by right-clicking
2486  in LyX's main menu bar.
2487 \end_layout
2488
2489 \begin_layout Standard
2490 The toolbar has the following icons:
2491 \end_layout
2492
2493 \begin_layout Labeling
2494 \labelwidthstring 00.00.0000
2495 \begin_inset Graphics
2496         filename ../images/tabular-feature_append-row.png
2497         scaleBeforeRotation
2498
2499 \end_inset
2500
2501  adds a row below 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_append-column.png
2508         scaleBeforeRotation
2509
2510 \end_inset
2511
2512  adds a column right beside the current cell 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-row.png
2519         scaleBeforeRotation
2520
2521 \end_inset
2522
2523  deletes the current row or selection
2524 \end_layout
2525
2526 \begin_layout Labeling
2527 \labelwidthstring 00.00.0000
2528 \begin_inset Graphics
2529         filename ../images/tabular-feature_delete-column.png
2530         scaleBeforeRotation
2531
2532 \end_inset
2533
2534  deletes the current column or 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-top.png
2541         scaleBeforeRotation
2542
2543 \end_inset
2544
2545  adds a line at the top 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-bottom.png
2552         scaleBeforeRotation
2553
2554 \end_inset
2555
2556  adds a line at the bottom 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-left.png
2563         scaleBeforeRotation
2564
2565 \end_inset
2566
2567  adds a line at the left 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_toggle-line-right.png
2574         scaleBeforeRotation
2575
2576 \end_inset
2577
2578  adds a line at the right side of the current cell / row or of a selection
2579 \end_layout
2580
2581 \begin_layout Labeling
2582 \labelwidthstring 00.00.0000
2583 \begin_inset Graphics
2584         filename ../images/tabular-feature_set-all-lines.png
2585         scaleBeforeRotation
2586
2587 \end_inset
2588
2589  adds lines around the current or selected cells - if the current cell no
2590  multicolumn cell this also affects the current row and column
2591 \end_layout
2592
2593 \begin_layout Labeling
2594 \labelwidthstring 00.00.0000
2595 \begin_inset Graphics
2596         filename ../images/tabular-feature_unset-all-lines.png
2597         scaleBeforeRotation
2598
2599 \end_inset
2600
2601  deletes all lines of the current or selected cells - if the current cell
2602  no multicolumn cell this also affects the current row and 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-left.png
2609         scaleBeforeRotation
2610
2611 \end_inset
2612
2613  left-aligns the content of the current cell / column
2614 \end_layout
2615
2616 \begin_layout Labeling
2617 \labelwidthstring 00.00.0000
2618 \begin_inset Graphics
2619         filename ../images/tabular-feature_m-align-center.png
2620         scaleBeforeRotation
2621
2622 \end_inset
2623
2624  centers the content of the current cell / column horizontally
2625 \end_layout
2626
2627 \begin_layout Labeling
2628 \labelwidthstring 00.00.0000
2629 \begin_inset Graphics
2630         filename ../images/tabular-feature_m-align-right.png
2631         scaleBeforeRotation
2632
2633 \end_inset
2634
2635  right-aligns the content of the current cell / column
2636 \end_layout
2637
2638 \begin_layout Labeling
2639 \labelwidthstring 00.00.0000
2640 \begin_inset Graphics
2641         filename ../images/tabular-feature_align-decimal.png
2642         scaleBeforeRotation
2643
2644 \end_inset
2645
2646  aligns the content of the current column at a character
2647 \end_layout
2648
2649 \begin_layout Labeling
2650 \labelwidthstring 00.00.0000
2651 \begin_inset Graphics
2652         filename ../images/tabular-feature_m-valign-top.png
2653         scaleBeforeRotation
2654
2655 \end_inset
2656
2657  aligns the content of the current cell vertically to the top
2658 \end_layout
2659
2660 \begin_layout Labeling
2661 \labelwidthstring 00.00.0000
2662 \begin_inset Graphics
2663         filename ../images/tabular-feature_m-valign-middle.png
2664         scaleBeforeRotation
2665
2666 \end_inset
2667
2668  centers the content of the current cell vertically
2669 \end_layout
2670
2671 \begin_layout Labeling
2672 \labelwidthstring 00.00.0000
2673 \begin_inset Graphics
2674         filename ../images/tabular-feature_m-valign-bottom.png
2675         scaleBeforeRotation
2676
2677 \end_inset
2678
2679  aligns the content of the current cell vertically to the bottom
2680 \end_layout
2681
2682 \begin_layout Labeling
2683 \labelwidthstring 00.00.0000
2684 \begin_inset Graphics
2685         filename ../images/tabular-feature_set-rotate-cell.png
2686         scaleBeforeRotation
2687
2688 \end_inset
2689
2690  rotates the current cell or selection 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_set-rotate-tabular.png
2697         scaleBeforeRotation
2698
2699 \end_inset
2700
2701  rotates the whole table counter-clockwise by 90°
2702 \end_layout
2703
2704 \begin_layout Labeling
2705 \labelwidthstring 00.00.0000
2706 \begin_inset Graphics
2707         filename ../images/tabular-feature_multicolumn.png
2708         scaleBeforeRotation
2709
2710 \end_inset
2711
2712  sets the current cell or selection as a multicolumn
2713 \end_layout
2714
2715 \begin_layout Labeling
2716 \labelwidthstring 00.00.0000
2717 \begin_inset Graphics
2718         filename ../images/tabular-feature_multirow.png
2719         scaleBeforeRotation
2720
2721 \end_inset
2722
2723  sets the current cell or selection as a multirow
2724 \end_layout
2725
2726 \begin_layout Standard
2727 \begin_inset Note Greyedout
2728 status open
2729
2730 \begin_layout Plain Layout
2731
2732 \series bold
2733 Note:
2734 \series default
2735  For the output the vertical alignment of the first cell in a row is used
2736  for all following cells in the row.
2737 \end_layout
2738
2739 \end_inset
2740
2741
2742 \end_layout
2743
2744 \begin_layout Section
2745 Edit Table Menu
2746 \begin_inset Index idx
2747 status collapsed
2748
2749 \begin_layout Plain Layout
2750 Table ! Edit Menu
2751 \end_layout
2752
2753 \end_inset
2754
2755
2756 \end_layout
2757
2758 \begin_layout Standard
2759 Additionally to the table dialog and toolbar, the menu 
2760 \family sans
2761 Edit\SpecialChar \menuseparator
2762 Table
2763 \family default
2764  allows you to add and delete border lines for the current row/column and
2765  to set the current selection as multicolumn.
2766  The menu is only available when the cursor is inside a table.
2767 \end_layout
2768
2769 \begin_layout Section
2770 Table Floats
2771 \begin_inset CommandInset label
2772 LatexCommand label
2773 name "sec:Table-Floats"
2774
2775 \end_inset
2776
2777
2778 \begin_inset Index idx
2779 status collapsed
2780
2781 \begin_layout Plain Layout
2782 Floats ! Tables
2783 \end_layout
2784
2785 \end_inset
2786
2787
2788 \begin_inset Index idx
2789 status collapsed
2790
2791 \begin_layout Plain Layout
2792 Table ! Floats
2793 \end_layout
2794
2795 \end_inset
2796
2797
2798 \end_layout
2799
2800 \begin_layout Standard
2801 For general explanations about floats, have a look at section
2802 \begin_inset space ~
2803 \end_inset
2804
2805
2806 \begin_inset CommandInset ref
2807 LatexCommand ref
2808 reference "sec:FloatIntroduction"
2809
2810 \end_inset
2811
2812 .
2813 \end_layout
2814
2815 \begin_layout Standard
2816 \begin_inset Float table
2817 placement h
2818 wide false
2819 sideways false
2820 status open
2821
2822 \begin_layout Plain Layout
2823 \begin_inset Caption
2824
2825 \begin_layout Plain Layout
2826 \begin_inset CommandInset label
2827 LatexCommand label
2828 name "tab:a table float"
2829
2830 \end_inset
2831
2832 A table float.
2833 \end_layout
2834
2835 \end_inset
2836
2837
2838 \end_layout
2839
2840 \begin_layout Plain Layout
2841 \align center
2842 \begin_inset Tabular
2843 <lyxtabular version="3" rows="3" columns="3">
2844 <features tabularvalignment="middle">
2845 <column alignment="center" valignment="top" width="0pt">
2846 <column alignment="center" valignment="top" width="0pt">
2847 <column alignment="center" valignment="top" width="0pt">
2848 <row>
2849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2850 \begin_inset Text
2851
2852 \begin_layout Plain Layout
2853
2854 \family roman
2855 \series medium
2856 \shape up
2857 \size normal
2858 \emph off
2859 \bar no
2860 \noun off
2861 \color none
2862 1
2863 \end_layout
2864
2865 \end_inset
2866 </cell>
2867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Plain Layout
2871
2872 \family roman
2873 \series medium
2874 \shape up
2875 \size normal
2876 \emph off
2877 \bar no
2878 \noun off
2879 \color none
2880 2
2881 \end_layout
2882
2883 \end_inset
2884 </cell>
2885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2886 \begin_inset Text
2887
2888 \begin_layout Plain Layout
2889
2890 \family roman
2891 \series medium
2892 \shape up
2893 \size normal
2894 \emph off
2895 \bar no
2896 \noun off
2897 \color none
2898 3
2899 \end_layout
2900
2901 \end_inset
2902 </cell>
2903 </row>
2904 <row>
2905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2906 \begin_inset Text
2907
2908 \begin_layout Plain Layout
2909
2910 \family roman
2911 \series medium
2912 \shape up
2913 \size normal
2914 \emph off
2915 \bar no
2916 \noun off
2917 \color none
2918 Joe
2919 \end_layout
2920
2921 \end_inset
2922 </cell>
2923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2924 \begin_inset Text
2925
2926 \begin_layout Plain Layout
2927
2928 \family roman
2929 \series medium
2930 \shape up
2931 \size normal
2932 \emph off
2933 \bar no
2934 \noun off
2935 \color none
2936 Mary
2937 \end_layout
2938
2939 \end_inset
2940 </cell>
2941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2942 \begin_inset Text
2943
2944 \begin_layout Plain Layout
2945
2946 \family roman
2947 \series medium
2948 \shape up
2949 \size normal
2950 \emph off
2951 \bar no
2952 \noun off
2953 \color none
2954 Ted
2955 \end_layout
2956
2957 \end_inset
2958 </cell>
2959 </row>
2960 <row>
2961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2962 \begin_inset Text
2963
2964 \begin_layout Plain Layout
2965
2966 \family roman
2967 \series medium
2968 \shape up
2969 \size normal
2970 \emph off
2971 \bar no
2972 \noun off
2973 \color none
2974 \begin_inset Formula $\int x^{2}dx$
2975 \end_inset
2976
2977
2978 \end_layout
2979
2980 \end_inset
2981 </cell>
2982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Plain Layout
2986
2987 \family roman
2988 \series medium
2989 \shape up
2990 \size normal
2991 \emph off
2992 \bar no
2993 \noun off
2994 \color none
2995 \begin_inset Formula $\left[\begin{array}{cc}
2996 a & b\\
2997 c & d
2998 \end{array}\right]$
2999 \end_inset
3000
3001
3002 \end_layout
3003
3004 \end_inset
3005 </cell>
3006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3007 \begin_inset Text
3008
3009 \begin_layout Plain Layout
3010
3011 \family roman
3012 \series medium
3013 \shape up
3014 \size normal
3015 \emph off
3016 \bar no
3017 \noun off
3018 \color none
3019 \begin_inset Formula $1+1=2$
3020 \end_inset
3021
3022
3023 \end_layout
3024
3025 \end_inset
3026 </cell>
3027 </row>
3028 </lyxtabular>
3029
3030 \end_inset
3031
3032
3033 \end_layout
3034
3035 \end_inset
3036
3037
3038 \end_layout
3039
3040 \begin_layout Standard
3041 Table floats can be inserted using the menu 
3042 \family sans
3043 Insert\SpecialChar \menuseparator
3044 Float\SpecialChar \menuseparator
3045 Table
3046 \family default
3047  or the toolbar button 
3048 \begin_inset Graphics
3049         filename ../images/float-insert_table.png
3050         scale 85
3051         scaleBeforeRotation
3052
3053 \end_inset
3054
3055 .
3056 \end_layout
3057
3058 \begin_layout Standard
3059 The float appears as a collapsible box with a caption that has the label
3060  
3061 \begin_inset Quotes eld
3062 \end_inset
3063
3064 Table
3065 \begin_inset space ~
3066 \end_inset
3067
3068 #:
3069 \begin_inset Quotes erd
3070 \end_inset
3071
3072  (# is the actual table number).
3073  You can insert tables in the float above or below the caption.
3074 \end_layout
3075
3076 \begin_layout Standard
3077 Table
3078 \begin_inset space ~
3079 \end_inset
3080
3081
3082 \begin_inset CommandInset ref
3083 LatexCommand ref
3084 reference "tab:a table float"
3085
3086 \end_inset
3087
3088  is an example table within a table float.
3089 \end_layout
3090
3091 \begin_layout Standard
3092 Having the caption above the table is the common rule that is unfortunately
3093  not supported in LaTeX's standard classes.
3094  This means that, if you are using the document classes 
3095 \family sans
3096 article
3097 \family default
3098
3099 \family sans
3100 book
3101 \family default
3102
3103 \family sans
3104 letter
3105 \family default
3106 , or 
3107 \family sans
3108 report
3109 \family default
3110 , there will be no space between the caption and the table.
3111  To insert the needed space, add the following option to the load command
3112  of the LaTeX-package 
3113 \series bold
3114 caption
3115 \series default
3116
3117 \begin_inset Index idx
3118 status collapsed
3119
3120 \begin_layout Plain Layout
3121 LaTeX-packages ! caption
3122 \end_layout
3123
3124 \end_inset
3125
3126  in your document preamble
3127 \begin_inset Foot
3128 status collapsed
3129
3130 \begin_layout Plain Layout
3131 For more information have a look at section
3132 \begin_inset space ~
3133 \end_inset
3134
3135
3136 \begin_inset CommandInset ref
3137 LatexCommand ref
3138 reference "sec:Caption-Placement"
3139
3140 \end_inset
3141
3142 .
3143 \end_layout
3144
3145 \end_inset
3146
3147 :
3148 \end_layout
3149
3150 \begin_layout Standard
3151
3152 \series bold
3153 tableposition=top
3154 \end_layout
3155
3156 \begin_layout Standard
3157 The package 
3158 \series bold
3159 caption
3160 \series default
3161 , which is described in section
3162 \begin_inset space ~
3163 \end_inset
3164
3165
3166 \begin_inset CommandInset ref
3167 LatexCommand ref
3168 reference "sec:Caption-Formatting"
3169
3170 \end_inset
3171
3172 , is used to adjust the caption format.
3173 \end_layout
3174
3175 \begin_layout Standard
3176 \begin_inset Index idx
3177 status collapsed
3178
3179 \begin_layout Plain Layout
3180 References ! to Tables
3181 \end_layout
3182
3183 \end_inset
3184
3185 Tables can be cross-referenced in the text by referencing their label.
3186  To do this insert a label in the caption using the menu 
3187 \family sans
3188 Insert\SpecialChar \menuseparator
3189 Label
3190 \family default
3191  or the toolbar button 
3192 \begin_inset Graphics
3193         filename ../images/label-insert.png
3194         scale 85
3195         scaleBeforeRotation
3196
3197 \end_inset
3198
3199 .
3200  You can now refer to the label using the menu 
3201 \family sans
3202 Insert\SpecialChar \menuseparator
3203 Cross
3204 \begin_inset space ~
3205 \end_inset
3206
3207 reference
3208 \family default
3209  or the toolbar button 
3210 \begin_inset Graphics
3211         filename ../images/dialog-show-new-inset_ref.png
3212         scale 85
3213         scaleBeforeRotation
3214
3215 \end_inset
3216
3217 .
3218 \begin_inset Newline newline
3219 \end_inset
3220
3221 Referencing is explained in detail in section
3222 \begin_inset space ~
3223 \end_inset
3224
3225
3226 \begin_inset CommandInset ref
3227 LatexCommand ref
3228 reference "sec:Referencing-Floats"
3229
3230 \end_inset
3231
3232 .
3233 \end_layout
3234
3235 \begin_layout Section
3236 Longtables
3237 \begin_inset CommandInset label
3238 LatexCommand label
3239 name "sec:Longtables"
3240
3241 \end_inset
3242
3243
3244 \begin_inset Index idx
3245 status collapsed
3246
3247 \begin_layout Plain Layout
3248 Longtables
3249 \end_layout
3250
3251 \end_inset
3252
3253
3254 \begin_inset Index idx
3255 status collapsed
3256
3257 \begin_layout Plain Layout
3258 Table ! Longtables
3259 \end_layout
3260
3261 \end_inset
3262
3263
3264 \end_layout
3265
3266 \begin_layout Standard
3267 If the table is too long to fit on one page, you can use the option 
3268 \family sans
3269 Use
3270 \begin_inset space ~
3271 \end_inset
3272
3273 long
3274 \begin_inset space ~
3275 \end_inset
3276
3277 table
3278 \family default
3279  in the tab 
3280 \family sans
3281 Longtable
3282 \family default
3283  of the table dialog to split the table automatically over more pages.
3284  Doing this enables the following options:
3285 \end_layout
3286
3287 \begin_layout Description
3288 Header: The current row is defined to be a header row that appears on all
3289  pages of the longtable; except for the first page, if 
3290 \family sans
3291 First
3292 \begin_inset space ~
3293 \end_inset
3294
3295 header
3296 \family default
3297  is defined.
3298  This is therefore called the main header.
3299 \end_layout
3300
3301 \begin_layout Description
3302 First
3303 \begin_inset space ~
3304 \end_inset
3305
3306 header: The current row is defined to be a header row that appears on the
3307  first page of the longtable.
3308 \end_layout
3309
3310 \begin_layout Description
3311 Footer: The current row is defined to be a footer row that appears on all
3312  pages of the longtable; except for the last page, if 
3313 \family sans
3314 Last
3315 \begin_inset space ~
3316 \end_inset
3317
3318 footer
3319 \family default
3320  is defined.
3321 \end_layout
3322
3323 \begin_layout Description
3324 Last
3325 \begin_inset space ~
3326 \end_inset
3327
3328 footer: The current row is defined to be a footer row that appears on the
3329  last page of the longtable.
3330 \end_layout
3331
3332 \begin_layout Description
3333 Caption: The current row contains the table caption.
3334  The row is reset as single column and a caption is inserted.
3335  More about longtable captions is explained in sec.
3336 \begin_inset space \thinspace{}
3337 \end_inset
3338
3339
3340 \begin_inset CommandInset ref
3341 LatexCommand ref
3342 reference "sub:Longtable-Captions"
3343
3344 \end_inset
3345
3346 .
3347 \end_layout
3348
3349 \begin_layout Standard
3350 You can also specify a row where the table is split.
3351  See the following longtable to see how it works:
3352 \end_layout
3353
3354 \begin_layout Standard
3355 \align center
3356 \begin_inset Tabular
3357 <lyxtabular version="3" rows="69" columns="3">
3358 <features islongtable="true" longtabularalignment="center">
3359 <column alignment="left" valignment="top" width="0cm">
3360 <column alignment="left" valignment="top" width="0pt">
3361 <column alignment="center" valignment="top" width="0pt">
3362 <row endfirsthead="true">
3363 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Plain Layout
3367
3368 \series bold
3369 Example Phone List (ignore the names)
3370 \end_layout
3371
3372 \end_inset
3373 </cell>
3374 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Plain Layout
3378
3379 \end_layout
3380
3381 \end_inset
3382 </cell>
3383 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3384 \begin_inset Text
3385
3386 \begin_layout Plain Layout
3387
3388 \end_layout
3389
3390 \end_inset
3391 </cell>
3392 </row>
3393 <row endfirsthead="true">
3394 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Plain Layout
3398
3399 \series bold
3400 NAME
3401 \end_layout
3402
3403 \end_inset
3404 </cell>
3405 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Plain Layout
3409
3410 \end_layout
3411
3412 \end_inset
3413 </cell>
3414 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3415 \begin_inset Text
3416
3417 \begin_layout Plain Layout
3418
3419 \series bold
3420 TEL.
3421 \end_layout
3422
3423 \end_inset
3424 </cell>
3425 </row>
3426 <row endhead="true">
3427 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3428 \begin_inset Text
3429
3430 \begin_layout Plain Layout
3431
3432 \series bold
3433 Example Phone List
3434 \end_layout
3435
3436 \end_inset
3437 </cell>
3438 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3439 \begin_inset Text
3440
3441 \begin_layout Plain Layout
3442
3443 \end_layout
3444
3445 \end_inset
3446 </cell>
3447 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Plain Layout
3451
3452 \end_layout
3453
3454 \end_inset
3455 </cell>
3456 </row>
3457 <row endhead="true">
3458 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3459 \begin_inset Text
3460
3461 \begin_layout Plain Layout
3462
3463 \series bold
3464 NAME
3465 \end_layout
3466
3467 \end_inset
3468 </cell>
3469 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3470 \begin_inset Text
3471
3472 \begin_layout Plain Layout
3473
3474 \end_layout
3475
3476 \end_inset
3477 </cell>
3478 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Plain Layout
3482
3483 \series bold
3484 TEL.
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 </row>
3490 <row endfoot="true">
3491 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3492 \begin_inset Text
3493
3494 \begin_layout Plain Layout
3495  continued on next page
3496 \end_layout
3497
3498 \end_inset
3499 </cell>
3500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3501 \begin_inset Text
3502
3503 \begin_layout Plain Layout
3504
3505 \end_layout
3506
3507 \end_inset
3508 </cell>
3509 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Plain Layout
3513
3514 \end_layout
3515
3516 \end_inset
3517 </cell>
3518 </row>
3519 <row>
3520 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3521 \begin_inset Text
3522
3523 \begin_layout Plain Layout
3524
3525 \series bold
3526 Annovi
3527 \end_layout
3528
3529 \end_inset
3530 </cell>
3531 <cell alignment="center" valignment="top" usebox="none">
3532 \begin_inset Text
3533
3534 \begin_layout Plain Layout
3535 Silvia
3536 \end_layout
3537
3538 \end_inset
3539 </cell>
3540 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Plain Layout
3544 111
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 </row>
3550 <row>
3551 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3552 \begin_inset Text
3553
3554 \begin_layout Plain Layout
3555
3556 \series bold
3557 Bertoli
3558 \end_layout
3559
3560 \end_inset
3561 </cell>
3562 <cell alignment="center" valignment="top" usebox="none">
3563 \begin_inset Text
3564
3565 \begin_layout Plain Layout
3566 Stefano
3567 \end_layout
3568
3569 \end_inset
3570 </cell>
3571 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Plain Layout
3575 111
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 </row>
3581 <row>
3582 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3583 \begin_inset Text
3584
3585 \begin_layout Plain Layout
3586
3587 \series bold
3588 Bozzi
3589 \end_layout
3590
3591 \end_inset
3592 </cell>
3593 <cell alignment="center" valignment="top" usebox="none">
3594 \begin_inset Text
3595
3596 \begin_layout Plain Layout
3597 Walter
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Plain Layout
3606 111
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 </row>
3612 <row>
3613 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3614 \begin_inset Text
3615
3616 \begin_layout Plain Layout
3617
3618 \series bold
3619 Cachia
3620 \end_layout
3621
3622 \end_inset
3623 </cell>
3624 <cell alignment="center" valignment="top" usebox="none">
3625 \begin_inset Text
3626
3627 \begin_layout Plain Layout
3628 Maria
3629 \end_layout
3630
3631 \end_inset
3632 </cell>
3633 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3634 \begin_inset Text
3635
3636 \begin_layout Plain Layout
3637 111
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 </row>
3643 <row>
3644 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Plain Layout
3648
3649 \series bold
3650 Cachia
3651 \end_layout
3652
3653 \end_inset
3654 </cell>
3655 <cell alignment="center" valignment="top" usebox="none">
3656 \begin_inset Text
3657
3658 \begin_layout Plain Layout
3659 Maurizio
3660 \end_layout
3661
3662 \end_inset
3663 </cell>
3664 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3665 \begin_inset Text
3666
3667 \begin_layout Plain Layout
3668 111
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 </row>
3674 <row>
3675 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3676 \begin_inset Text
3677
3678 \begin_layout Plain Layout
3679
3680 \series bold
3681 Cinquemani
3682 \end_layout
3683
3684 \end_inset
3685 </cell>
3686 <cell alignment="center" valignment="top" usebox="none">
3687 \begin_inset Text
3688
3689 \begin_layout Plain Layout
3690 Giusi
3691 \end_layout
3692
3693 \end_inset
3694 </cell>
3695 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3696 \begin_inset Text
3697
3698 \begin_layout Plain Layout
3699 111
3700 \end_layout
3701
3702 \end_inset
3703 </cell>
3704 </row>
3705 <row>
3706 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3707 \begin_inset Text
3708
3709 \begin_layout Plain Layout
3710
3711 \series bold
3712 Colin
3713 \end_layout
3714
3715 \end_inset
3716 </cell>
3717 <cell alignment="center" valignment="top" usebox="none">
3718 \begin_inset Text
3719
3720 \begin_layout Plain Layout
3721 Bernard
3722 \end_layout
3723
3724 \end_inset
3725 </cell>
3726 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3727 \begin_inset Text
3728
3729 \begin_layout Plain Layout
3730 111
3731 \end_layout
3732
3733 \end_inset
3734 </cell>
3735 </row>
3736 <row>
3737 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3738 \begin_inset Text
3739
3740 \begin_layout Plain Layout
3741
3742 \series bold
3743 Concli
3744 \end_layout
3745
3746 \end_inset
3747 </cell>
3748 <cell alignment="center" valignment="top" usebox="none">
3749 \begin_inset Text
3750
3751 \begin_layout Plain Layout
3752 Gianfranco
3753 \end_layout
3754
3755 \end_inset
3756 </cell>
3757 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3758 \begin_inset Text
3759
3760 \begin_layout Plain Layout
3761 111
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 </row>
3767 <row>
3768 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3769 \begin_inset Text
3770
3771 \begin_layout Plain Layout
3772
3773 \series bold
3774 Dal Bosco
3775 \end_layout
3776
3777 \end_inset
3778 </cell>
3779 <cell alignment="center" valignment="top" usebox="none">
3780 \begin_inset Text
3781
3782 \begin_layout Plain Layout
3783 Carolina
3784 \end_layout
3785
3786 \end_inset
3787 </cell>
3788 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3789 \begin_inset Text
3790
3791 \begin_layout Plain Layout
3792 111
3793 \end_layout
3794
3795 \end_inset
3796 </cell>
3797 </row>
3798 <row>
3799 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3800 \begin_inset Text
3801
3802 \begin_layout Plain Layout
3803
3804 \series bold
3805 Dalpiaz
3806 \end_layout
3807
3808 \end_inset
3809 </cell>
3810 <cell alignment="center" valignment="top" usebox="none">
3811 \begin_inset Text
3812
3813 \begin_layout Plain Layout
3814 Annamaria
3815 \end_layout
3816
3817 \end_inset
3818 </cell>
3819 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3820 \begin_inset Text
3821
3822 \begin_layout Plain Layout
3823 111
3824 \end_layout
3825
3826 \end_inset
3827 </cell>
3828 </row>
3829 <row>
3830 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3831 \begin_inset Text
3832
3833 \begin_layout Plain Layout
3834
3835 \series bold
3836 Feliciello
3837 \end_layout
3838
3839 \end_inset
3840 </cell>
3841 <cell alignment="center" valignment="top" usebox="none">
3842 \begin_inset Text
3843
3844 \begin_layout Plain Layout
3845 Domenico
3846 \end_layout
3847
3848 \end_inset
3849 </cell>
3850 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3851 \begin_inset Text
3852
3853 \begin_layout Plain Layout
3854 111
3855 \end_layout
3856
3857 \end_inset
3858 </cell>
3859 </row>
3860 <row>
3861 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3862 \begin_inset Text
3863
3864 \begin_layout Plain Layout
3865
3866 \series bold
3867 Focarelli
3868 \end_layout
3869
3870 \end_inset
3871 </cell>
3872 <cell alignment="center" valignment="top" usebox="none">
3873 \begin_inset Text
3874
3875 \begin_layout Plain Layout
3876 Paola
3877 \end_layout
3878
3879 \end_inset
3880 </cell>
3881 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3882 \begin_inset Text
3883
3884 \begin_layout Plain Layout
3885 111
3886 \end_layout
3887
3888 \end_inset
3889 </cell>
3890 </row>
3891 <row>
3892 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3893 \begin_inset Text
3894
3895 \begin_layout Plain Layout
3896
3897 \series bold
3898 Galletti
3899 \end_layout
3900
3901 \end_inset
3902 </cell>
3903 <cell alignment="center" valignment="top" usebox="none">
3904 \begin_inset Text
3905
3906 \begin_layout Plain Layout
3907 Oreste
3908 \end_layout
3909
3910 \end_inset
3911 </cell>
3912 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3913 \begin_inset Text
3914
3915 \begin_layout Plain Layout
3916 111
3917 \end_layout
3918
3919 \end_inset
3920 </cell>
3921 </row>
3922 <row>
3923 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3924 \begin_inset Text
3925
3926 \begin_layout Plain Layout
3927
3928 \series bold
3929 Gasparini
3930 \end_layout
3931
3932 \end_inset
3933 </cell>
3934 <cell alignment="center" valignment="top" usebox="none">
3935 \begin_inset Text
3936
3937 \begin_layout Plain Layout
3938 Franca
3939 \end_layout
3940
3941 \end_inset
3942 </cell>
3943 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3944 \begin_inset Text
3945
3946 \begin_layout Plain Layout
3947 111
3948 \end_layout
3949
3950 \end_inset
3951 </cell>
3952 </row>
3953 <row>
3954 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3955 \begin_inset Text
3956
3957 \begin_layout Plain Layout
3958
3959 \series bold
3960 Rizzardi
3961 \end_layout
3962
3963 \end_inset
3964 </cell>
3965 <cell alignment="center" valignment="top" usebox="none">
3966 \begin_inset Text
3967
3968 \begin_layout Plain Layout
3969 Paola
3970 \end_layout
3971
3972 \end_inset
3973 </cell>
3974 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3975 \begin_inset Text
3976
3977 \begin_layout Plain Layout
3978 111
3979 \end_layout
3980
3981 \end_inset
3982 </cell>
3983 </row>
3984 <row>
3985 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3986 \begin_inset Text
3987
3988 \begin_layout Plain Layout
3989
3990 \series bold
3991 Lassini
3992 \end_layout
3993
3994 \end_inset
3995 </cell>
3996 <cell alignment="center" valignment="top" usebox="none">
3997 \begin_inset Text
3998
3999 \begin_layout Plain Layout
4000 Giancarlo
4001 \end_layout
4002
4003 \end_inset
4004 </cell>
4005 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4006 \begin_inset Text
4007
4008 \begin_layout Plain Layout
4009 111
4010 \end_layout
4011
4012 \end_inset
4013 </cell>
4014 </row>
4015 <row>
4016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4017 \begin_inset Text
4018
4019 \begin_layout Plain Layout
4020
4021 \series bold
4022 Malfatti
4023 \end_layout
4024
4025 \end_inset
4026 </cell>
4027 <cell alignment="center" valignment="top" usebox="none">
4028 \begin_inset Text
4029
4030 \begin_layout Plain Layout
4031 Luciano
4032 \end_layout
4033
4034 \end_inset
4035 </cell>
4036 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4037 \begin_inset Text
4038
4039 \begin_layout Plain Layout
4040 111
4041 \end_layout
4042
4043 \end_inset
4044 </cell>
4045 </row>
4046 <row>
4047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4048 \begin_inset Text
4049
4050 \begin_layout Plain Layout
4051
4052 \series bold
4053 Malfatti
4054 \end_layout
4055
4056 \end_inset
4057 </cell>
4058 <cell alignment="center" valignment="top" usebox="none">
4059 \begin_inset Text
4060
4061 \begin_layout Plain Layout
4062 Valeriano
4063 \end_layout
4064
4065 \end_inset
4066 </cell>
4067 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4068 \begin_inset Text
4069
4070 \begin_layout Plain Layout
4071 111
4072 \end_layout
4073
4074 \end_inset
4075 </cell>
4076 </row>
4077 <row>
4078 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4079 \begin_inset Text
4080
4081 \begin_layout Plain Layout
4082
4083 \series bold
4084 Meneguzzo
4085 \end_layout
4086
4087 \end_inset
4088 </cell>
4089 <cell alignment="center" valignment="top" usebox="none">
4090 \begin_inset Text
4091
4092 \begin_layout Plain Layout
4093 Roberto
4094 \end_layout
4095
4096 \end_inset
4097 </cell>
4098 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4099 \begin_inset Text
4100
4101 \begin_layout Plain Layout
4102 111
4103 \end_layout
4104
4105 \end_inset
4106 </cell>
4107 </row>
4108 <row>
4109 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4110 \begin_inset Text
4111
4112 \begin_layout Plain Layout
4113
4114 \series bold
4115 Mezzadra
4116 \end_layout
4117
4118 \end_inset
4119 </cell>
4120 <cell alignment="center" valignment="top" usebox="none">
4121 \begin_inset Text
4122
4123 \begin_layout Plain Layout
4124 Roberto
4125 \end_layout
4126
4127 \end_inset
4128 </cell>
4129 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4130 \begin_inset Text
4131
4132 \begin_layout Plain Layout
4133 111
4134 \end_layout
4135
4136 \end_inset
4137 </cell>
4138 </row>
4139 <row>
4140 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4141 \begin_inset Text
4142
4143 \begin_layout Plain Layout
4144
4145 \series bold
4146 Pirpamer
4147 \end_layout
4148
4149 \end_inset
4150 </cell>
4151 <cell alignment="center" valignment="top" usebox="none">
4152 \begin_inset Text
4153
4154 \begin_layout Plain Layout
4155 Erich
4156 \end_layout
4157
4158 \end_inset
4159 </cell>
4160 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4161 \begin_inset Text
4162
4163 \begin_layout Plain Layout
4164 111
4165 \end_layout
4166
4167 \end_inset
4168 </cell>
4169 </row>
4170 <row>
4171 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4172 \begin_inset Text
4173
4174 \begin_layout Plain Layout
4175
4176 \series bold
4177 Pochiesa
4178 \end_layout
4179
4180 \end_inset
4181 </cell>
4182 <cell alignment="center" valignment="top" usebox="none">
4183 \begin_inset Text
4184
4185 \begin_layout Plain Layout
4186 Paolo
4187 \end_layout
4188
4189 \end_inset
4190 </cell>
4191 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4192 \begin_inset Text
4193
4194 \begin_layout Plain Layout
4195 111, 222
4196 \end_layout
4197
4198 \end_inset
4199 </cell>
4200 </row>
4201 <row>
4202 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4203 \begin_inset Text
4204
4205 \begin_layout Plain Layout
4206
4207 \series bold
4208 Radina
4209 \end_layout
4210
4211 \end_inset
4212 </cell>
4213 <cell alignment="center" valignment="top" usebox="none">
4214 \begin_inset Text
4215
4216 \begin_layout Plain Layout
4217 Claudio
4218 \end_layout
4219
4220 \end_inset
4221 </cell>
4222 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4223 \begin_inset Text
4224
4225 \begin_layout Plain Layout
4226 111
4227 \end_layout
4228
4229 \end_inset
4230 </cell>
4231 </row>
4232 <row>
4233 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4234 \begin_inset Text
4235
4236 \begin_layout Plain Layout
4237
4238 \series bold
4239 Stuffer
4240 \end_layout
4241
4242 \end_inset
4243 </cell>
4244 <cell alignment="center" valignment="top" usebox="none">
4245 \begin_inset Text
4246
4247 \begin_layout Plain Layout
4248 Oskar
4249 \end_layout
4250
4251 \end_inset
4252 </cell>
4253 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4254 \begin_inset Text
4255
4256 \begin_layout Plain Layout
4257 111
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 </row>
4263 <row>
4264 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4265 \begin_inset Text
4266
4267 \begin_layout Plain Layout
4268
4269 \series bold
4270 Tacchelli
4271 \end_layout
4272
4273 \end_inset
4274 </cell>
4275 <cell alignment="center" valignment="top" usebox="none">
4276 \begin_inset Text
4277
4278 \begin_layout Plain Layout
4279 Ugo
4280 \end_layout
4281
4282 \end_inset
4283 </cell>
4284 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4285 \begin_inset Text
4286
4287 \begin_layout Plain Layout
4288 111
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 </row>
4294 <row>
4295 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4296 \begin_inset Text
4297
4298 \begin_layout Plain Layout
4299
4300 \series bold
4301 Tezzele
4302 \end_layout
4303
4304 \end_inset
4305 </cell>
4306 <cell alignment="center" valignment="top" usebox="none">
4307 \begin_inset Text
4308
4309 \begin_layout Plain Layout
4310 Margit
4311 \end_layout
4312
4313 \end_inset
4314 </cell>
4315 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4316 \begin_inset Text
4317
4318 \begin_layout Plain Layout
4319 111
4320 \end_layout
4321
4322 \end_inset
4323 </cell>
4324 </row>
4325 <row>
4326 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4327 \begin_inset Text
4328
4329 \begin_layout Plain Layout
4330
4331 \series bold
4332 Unterkalmsteiner
4333 \end_layout
4334
4335 \end_inset
4336 </cell>
4337 <cell alignment="center" valignment="top" usebox="none">
4338 \begin_inset Text
4339
4340 \begin_layout Plain Layout
4341 Frieda
4342 \end_layout
4343
4344 \end_inset
4345 </cell>
4346 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4347 \begin_inset Text
4348
4349 \begin_layout Plain Layout
4350 111
4351 \end_layout
4352
4353 \end_inset
4354 </cell>
4355 </row>
4356 <row>
4357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4358 \begin_inset Text
4359
4360 \begin_layout Plain Layout
4361
4362 \series bold
4363 Vieider
4364 \end_layout
4365
4366 \end_inset
4367 </cell>
4368 <cell alignment="center" valignment="top" usebox="none">
4369 \begin_inset Text
4370
4371 \begin_layout Plain Layout
4372 Hilde
4373 \end_layout
4374
4375 \end_inset
4376 </cell>
4377 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4378 \begin_inset Text
4379
4380 \begin_layout Plain Layout
4381 111
4382 \end_layout
4383
4384 \end_inset
4385 </cell>
4386 </row>
4387 <row>
4388 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4389 \begin_inset Text
4390
4391 \begin_layout Plain Layout
4392
4393 \series bold
4394 Vigna
4395 \end_layout
4396
4397 \end_inset
4398 </cell>
4399 <cell alignment="center" valignment="top" usebox="none">
4400 \begin_inset Text
4401
4402 \begin_layout Plain Layout
4403 Jürgen
4404 \end_layout
4405
4406 \end_inset
4407 </cell>
4408 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4409 \begin_inset Text
4410
4411 \begin_layout Plain Layout
4412 111
4413 \end_layout
4414
4415 \end_inset
4416 </cell>
4417 </row>
4418 <row>
4419 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4420 \begin_inset Text
4421
4422 \begin_layout Plain Layout
4423
4424 \series bold
4425 Weber
4426 \end_layout
4427
4428 \end_inset
4429 </cell>
4430 <cell alignment="center" valignment="top" usebox="none">
4431 \begin_inset Text
4432
4433 \begin_layout Plain Layout
4434 Maurizio
4435 \end_layout
4436
4437 \end_inset
4438 </cell>
4439 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4440 \begin_inset Text
4441
4442 \begin_layout Plain Layout
4443 111
4444 \end_layout
4445
4446 \end_inset
4447 </cell>
4448 </row>
4449 <row>
4450 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4451 \begin_inset Text
4452
4453 \begin_layout Plain Layout
4454
4455 \series bold
4456 Winkler
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4462 \begin_inset Text
4463
4464 \begin_layout Plain Layout
4465 Franz
4466 \end_layout
4467
4468 \end_inset
4469 </cell>
4470 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4471 \begin_inset Text
4472
4473 \begin_layout Plain Layout
4474 111
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 </row>
4480 <row>
4481 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4482 \begin_inset Text
4483
4484 \begin_layout Plain Layout
4485  
4486 \end_layout
4487
4488 \end_inset
4489 </cell>
4490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4491 \begin_inset Text
4492
4493 \begin_layout Plain Layout
4494
4495 \end_layout
4496
4497 \end_inset
4498 </cell>
4499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Plain Layout
4503
4504 \end_layout
4505
4506 \end_inset
4507 </cell>
4508 </row>
4509 <row>
4510 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4511 \begin_inset Text
4512
4513 \begin_layout Plain Layout
4514
4515 \series bold
4516 Annovi
4517 \end_layout
4518
4519 \end_inset
4520 </cell>
4521 <cell alignment="center" valignment="top" usebox="none">
4522 \begin_inset Text
4523
4524 \begin_layout Plain Layout
4525 Silvia
4526 \end_layout
4527
4528 \end_inset
4529 </cell>
4530 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Plain Layout
4534 555
4535 \end_layout
4536
4537 \end_inset
4538 </cell>
4539 </row>
4540 <row>
4541 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4542 \begin_inset Text
4543
4544 \begin_layout Plain Layout
4545
4546 \series bold
4547 Bertoli
4548 \end_layout
4549
4550 \end_inset
4551 </cell>
4552 <cell alignment="center" valignment="top" usebox="none">
4553 \begin_inset Text
4554
4555 \begin_layout Plain Layout
4556 Stefano
4557 \end_layout
4558
4559 \end_inset
4560 </cell>
4561 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Plain Layout
4565 555
4566 \end_layout
4567
4568 \end_inset
4569 </cell>
4570 </row>
4571 <row>
4572 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4573 \begin_inset Text
4574
4575 \begin_layout Plain Layout
4576
4577 \series bold
4578 Bozzi
4579 \end_layout
4580
4581 \end_inset
4582 </cell>
4583 <cell alignment="center" valignment="top" usebox="none">
4584 \begin_inset Text
4585
4586 \begin_layout Plain Layout
4587 Walter
4588 \end_layout
4589
4590 \end_inset
4591 </cell>
4592 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4593 \begin_inset Text
4594
4595 \begin_layout Plain Layout
4596 555
4597 \end_layout
4598
4599 \end_inset
4600 </cell>
4601 </row>
4602 <row>
4603 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4604 \begin_inset Text
4605
4606 \begin_layout Plain Layout
4607
4608 \series bold
4609 Cachia
4610 \end_layout
4611
4612 \end_inset
4613 </cell>
4614 <cell alignment="center" valignment="top" usebox="none">
4615 \begin_inset Text
4616
4617 \begin_layout Plain Layout
4618 Maria
4619 \end_layout
4620
4621 \end_inset
4622 </cell>
4623 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4624 \begin_inset Text
4625
4626 \begin_layout Plain Layout
4627 555
4628 \end_layout
4629
4630 \end_inset
4631 </cell>
4632 </row>
4633 <row>
4634 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4635 \begin_inset Text
4636
4637 \begin_layout Plain Layout
4638
4639 \series bold
4640 Cachia
4641 \end_layout
4642
4643 \end_inset
4644 </cell>
4645 <cell alignment="center" valignment="top" usebox="none">
4646 \begin_inset Text
4647
4648 \begin_layout Plain Layout
4649 Maurizio
4650 \end_layout
4651
4652 \end_inset
4653 </cell>
4654 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4655 \begin_inset Text
4656
4657 \begin_layout Plain Layout
4658 555
4659 \end_layout
4660
4661 \end_inset
4662 </cell>
4663 </row>
4664 <row>
4665 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4666 \begin_inset Text
4667
4668 \begin_layout Plain Layout
4669
4670 \series bold
4671 Cinquemani
4672 \end_layout
4673
4674 \end_inset
4675 </cell>
4676 <cell alignment="center" valignment="top" usebox="none">
4677 \begin_inset Text
4678
4679 \begin_layout Plain Layout
4680 Giusi
4681 \end_layout
4682
4683 \end_inset
4684 </cell>
4685 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4686 \begin_inset Text
4687
4688 \begin_layout Plain Layout
4689 555
4690 \end_layout
4691
4692 \end_inset
4693 </cell>
4694 </row>
4695 <row>
4696 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4697 \begin_inset Text
4698
4699 \begin_layout Plain Layout
4700
4701 \series bold
4702 Colin
4703 \end_layout
4704
4705 \end_inset
4706 </cell>
4707 <cell alignment="center" valignment="top" usebox="none">
4708 \begin_inset Text
4709
4710 \begin_layout Plain Layout
4711 Bernard
4712 \end_layout
4713
4714 \end_inset
4715 </cell>
4716 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4717 \begin_inset Text
4718
4719 \begin_layout Plain Layout
4720 555
4721 \end_layout
4722
4723 \end_inset
4724 </cell>
4725 </row>
4726 <row>
4727 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4728 \begin_inset Text
4729
4730 \begin_layout Plain Layout
4731
4732 \series bold
4733 Concli
4734 \end_layout
4735
4736 \end_inset
4737 </cell>
4738 <cell alignment="center" valignment="top" usebox="none">
4739 \begin_inset Text
4740
4741 \begin_layout Plain Layout
4742 Gianfranco
4743 \end_layout
4744
4745 \end_inset
4746 </cell>
4747 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4748 \begin_inset Text
4749
4750 \begin_layout Plain Layout
4751 555
4752 \end_layout
4753
4754 \end_inset
4755 </cell>
4756 </row>
4757 <row>
4758 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4759 \begin_inset Text
4760
4761 \begin_layout Plain Layout
4762
4763 \series bold
4764 Dal Bosco
4765 \end_layout
4766
4767 \end_inset
4768 </cell>
4769 <cell alignment="center" valignment="top" usebox="none">
4770 \begin_inset Text
4771
4772 \begin_layout Plain Layout
4773 Carolina
4774 \end_layout
4775
4776 \end_inset
4777 </cell>
4778 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4779 \begin_inset Text
4780
4781 \begin_layout Plain Layout
4782 555
4783 \end_layout
4784
4785 \end_inset
4786 </cell>
4787 </row>
4788 <row>
4789 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4790 \begin_inset Text
4791
4792 \begin_layout Plain Layout
4793
4794 \series bold
4795 Dalpiaz
4796 \end_layout
4797
4798 \end_inset
4799 </cell>
4800 <cell alignment="center" valignment="top" usebox="none">
4801 \begin_inset Text
4802
4803 \begin_layout Plain Layout
4804 Annamaria
4805 \end_layout
4806
4807 \end_inset
4808 </cell>
4809 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4810 \begin_inset Text
4811
4812 \begin_layout Plain Layout
4813 555
4814 \end_layout
4815
4816 \end_inset
4817 </cell>
4818 </row>
4819 <row>
4820 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4821 \begin_inset Text
4822
4823 \begin_layout Plain Layout
4824
4825 \series bold
4826 Feliciello
4827 \end_layout
4828
4829 \end_inset
4830 </cell>
4831 <cell alignment="center" valignment="top" usebox="none">
4832 \begin_inset Text
4833
4834 \begin_layout Plain Layout
4835 Domenico
4836 \end_layout
4837
4838 \end_inset
4839 </cell>
4840 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4841 \begin_inset Text
4842
4843 \begin_layout Plain Layout
4844 555
4845 \end_layout
4846
4847 \end_inset
4848 </cell>
4849 </row>
4850 <row>
4851 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4852 \begin_inset Text
4853
4854 \begin_layout Plain Layout
4855
4856 \series bold
4857 Focarelli
4858 \end_layout
4859
4860 \end_inset
4861 </cell>
4862 <cell alignment="center" valignment="top" usebox="none">
4863 \begin_inset Text
4864
4865 \begin_layout Plain Layout
4866 Paola
4867 \end_layout
4868
4869 \end_inset
4870 </cell>
4871 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4872 \begin_inset Text
4873
4874 \begin_layout Plain Layout
4875 555
4876 \end_layout
4877
4878 \end_inset
4879 </cell>
4880 </row>
4881 <row>
4882 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4883 \begin_inset Text
4884
4885 \begin_layout Plain Layout
4886
4887 \series bold
4888 Galletti
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 <cell alignment="center" valignment="top" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Plain Layout
4897 Oreste
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Plain Layout
4906 555
4907 \end_layout
4908
4909 \end_inset
4910 </cell>
4911 </row>
4912 <row>
4913 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4914 \begin_inset Text
4915
4916 \begin_layout Plain Layout
4917
4918 \series bold
4919 Gasparini
4920 \end_layout
4921
4922 \end_inset
4923 </cell>
4924 <cell alignment="center" valignment="top" usebox="none">
4925 \begin_inset Text
4926
4927 \begin_layout Plain Layout
4928 Franca
4929 \end_layout
4930
4931 \end_inset
4932 </cell>
4933 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4934 \begin_inset Text
4935
4936 \begin_layout Plain Layout
4937 555
4938 \end_layout
4939
4940 \end_inset
4941 </cell>
4942 </row>
4943 <row>
4944 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4945 \begin_inset Text
4946
4947 \begin_layout Plain Layout
4948
4949 \series bold
4950 Rizzardi
4951 \end_layout
4952
4953 \end_inset
4954 </cell>
4955 <cell alignment="center" valignment="top" usebox="none">
4956 \begin_inset Text
4957
4958 \begin_layout Plain Layout
4959 Paola
4960 \end_layout
4961
4962 \end_inset
4963 </cell>
4964 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4965 \begin_inset Text
4966
4967 \begin_layout Plain Layout
4968 555
4969 \end_layout
4970
4971 \end_inset
4972 </cell>
4973 </row>
4974 <row>
4975 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4976 \begin_inset Text
4977
4978 \begin_layout Plain Layout
4979
4980 \series bold
4981 Lassini
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 <cell alignment="center" valignment="top" usebox="none">
4987 \begin_inset Text
4988
4989 \begin_layout Plain Layout
4990 Giancarlo
4991 \end_layout
4992
4993 \end_inset
4994 </cell>
4995 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4996 \begin_inset Text
4997
4998 \begin_layout Plain Layout
4999 555
5000 \end_layout
5001
5002 \end_inset
5003 </cell>
5004 </row>
5005 <row>
5006 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5007 \begin_inset Text
5008
5009 \begin_layout Plain Layout
5010
5011 \series bold
5012 Malfatti
5013 \end_layout
5014
5015 \end_inset
5016 </cell>
5017 <cell alignment="center" valignment="top" usebox="none">
5018 \begin_inset Text
5019
5020 \begin_layout Plain Layout
5021 Luciano
5022 \end_layout
5023
5024 \end_inset
5025 </cell>
5026 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5027 \begin_inset Text
5028
5029 \begin_layout Plain Layout
5030 555
5031 \end_layout
5032
5033 \end_inset
5034 </cell>
5035 </row>
5036 <row>
5037 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5038 \begin_inset Text
5039
5040 \begin_layout Plain Layout
5041
5042 \series bold
5043 Malfatti
5044 \end_layout
5045
5046 \end_inset
5047 </cell>
5048 <cell alignment="center" valignment="top" usebox="none">
5049 \begin_inset Text
5050
5051 \begin_layout Plain Layout
5052 Valeriano
5053 \end_layout
5054
5055 \end_inset
5056 </cell>
5057 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5058 \begin_inset Text
5059
5060 \begin_layout Plain Layout
5061 555
5062 \end_layout
5063
5064 \end_inset
5065 </cell>
5066 </row>
5067 <row>
5068 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5069 \begin_inset Text
5070
5071 \begin_layout Plain Layout
5072
5073 \series bold
5074 Meneguzzo
5075 \end_layout
5076
5077 \end_inset
5078 </cell>
5079 <cell alignment="center" valignment="top" usebox="none">
5080 \begin_inset Text
5081
5082 \begin_layout Plain Layout
5083 Roberto
5084 \end_layout
5085
5086 \end_inset
5087 </cell>
5088 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5089 \begin_inset Text
5090
5091 \begin_layout Plain Layout
5092 555
5093 \end_layout
5094
5095 \end_inset
5096 </cell>
5097 </row>
5098 <row>
5099 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5100 \begin_inset Text
5101
5102 \begin_layout Plain Layout
5103
5104 \series bold
5105 Mezzadra
5106 \end_layout
5107
5108 \end_inset
5109 </cell>
5110 <cell alignment="center" valignment="top" usebox="none">
5111 \begin_inset Text
5112
5113 \begin_layout Plain Layout
5114 Roberto
5115 \end_layout
5116
5117 \end_inset
5118 </cell>
5119 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5120 \begin_inset Text
5121
5122 \begin_layout Plain Layout
5123 555
5124 \end_layout
5125
5126 \end_inset
5127 </cell>
5128 </row>
5129 <row>
5130 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5131 \begin_inset Text
5132
5133 \begin_layout Plain Layout
5134
5135 \series bold
5136 Pirpamer
5137 \end_layout
5138
5139 \end_inset
5140 </cell>
5141 <cell alignment="center" valignment="top" usebox="none">
5142 \begin_inset Text
5143
5144 \begin_layout Plain Layout
5145 Erich
5146 \end_layout
5147
5148 \end_inset
5149 </cell>
5150 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5151 \begin_inset Text
5152
5153 \begin_layout Plain Layout
5154 555
5155 \end_layout
5156
5157 \end_inset
5158 </cell>
5159 </row>
5160 <row>
5161 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5162 \begin_inset Text
5163
5164 \begin_layout Plain Layout
5165
5166 \series bold
5167 Pochiesa
5168 \end_layout
5169
5170 \end_inset
5171 </cell>
5172 <cell alignment="center" valignment="top" usebox="none">
5173 \begin_inset Text
5174
5175 \begin_layout Plain Layout
5176 Paolo
5177 \end_layout
5178
5179 \end_inset
5180 </cell>
5181 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5182 \begin_inset Text
5183
5184 \begin_layout Plain Layout
5185 555, 222
5186 \end_layout
5187
5188 \end_inset
5189 </cell>
5190 </row>
5191 <row>
5192 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Plain Layout
5196
5197 \series bold
5198 Radina
5199 \end_layout
5200
5201 \end_inset
5202 </cell>
5203 <cell alignment="center" valignment="top" usebox="none">
5204 \begin_inset Text
5205
5206 \begin_layout Plain Layout
5207 Claudio
5208 \end_layout
5209
5210 \end_inset
5211 </cell>
5212 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5213 \begin_inset Text
5214
5215 \begin_layout Plain Layout
5216 555
5217 \end_layout
5218
5219 \end_inset
5220 </cell>
5221 </row>
5222 <row>
5223 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5224 \begin_inset Text
5225
5226 \begin_layout Plain Layout
5227
5228 \series bold
5229 Stuffer
5230 \end_layout
5231
5232 \end_inset
5233 </cell>
5234 <cell alignment="center" valignment="top" usebox="none">
5235 \begin_inset Text
5236
5237 \begin_layout Plain Layout
5238 Oskar
5239 \end_layout
5240
5241 \end_inset
5242 </cell>
5243 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5244 \begin_inset Text
5245
5246 \begin_layout Plain Layout
5247 555
5248 \end_layout
5249
5250 \end_inset
5251 </cell>
5252 </row>
5253 <row>
5254 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5255 \begin_inset Text
5256
5257 \begin_layout Plain Layout
5258
5259 \series bold
5260 Tacchelli
5261 \end_layout
5262
5263 \end_inset
5264 </cell>
5265 <cell alignment="center" valignment="top" usebox="none">
5266 \begin_inset Text
5267
5268 \begin_layout Plain Layout
5269 Ugo
5270 \end_layout
5271
5272 \end_inset
5273 </cell>
5274 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5275 \begin_inset Text
5276
5277 \begin_layout Plain Layout
5278 555
5279 \end_layout
5280
5281 \end_inset
5282 </cell>
5283 </row>
5284 <row>
5285 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5286 \begin_inset Text
5287
5288 \begin_layout Plain Layout
5289
5290 \series bold
5291 Tezzele
5292 \end_layout
5293
5294 \end_inset
5295 </cell>
5296 <cell alignment="center" valignment="top" usebox="none">
5297 \begin_inset Text
5298
5299 \begin_layout Plain Layout
5300 Margit
5301 \end_layout
5302
5303 \end_inset
5304 </cell>
5305 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5306 \begin_inset Text
5307
5308 \begin_layout Plain Layout
5309 555
5310 \end_layout
5311
5312 \end_inset
5313 </cell>
5314 </row>
5315 <row>
5316 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5317 \begin_inset Text
5318
5319 \begin_layout Plain Layout
5320
5321 \series bold
5322 Unterkalmsteiner
5323 \end_layout
5324
5325 \end_inset
5326 </cell>
5327 <cell alignment="center" valignment="top" usebox="none">
5328 \begin_inset Text
5329
5330 \begin_layout Plain Layout
5331 Frieda
5332 \end_layout
5333
5334 \end_inset
5335 </cell>
5336 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5337 \begin_inset Text
5338
5339 \begin_layout Plain Layout
5340 555
5341 \end_layout
5342
5343 \end_inset
5344 </cell>
5345 </row>
5346 <row>
5347 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5348 \begin_inset Text
5349
5350 \begin_layout Plain Layout
5351
5352 \series bold
5353 Vieider
5354 \end_layout
5355
5356 \end_inset
5357 </cell>
5358 <cell alignment="center" valignment="top" usebox="none">
5359 \begin_inset Text
5360
5361 \begin_layout Plain Layout
5362 Hilde
5363 \end_layout
5364
5365 \end_inset
5366 </cell>
5367 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5368 \begin_inset Text
5369
5370 \begin_layout Plain Layout
5371 555
5372 \end_layout
5373
5374 \end_inset
5375 </cell>
5376 </row>
5377 <row>
5378 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5379 \begin_inset Text
5380
5381 \begin_layout Plain Layout
5382
5383 \series bold
5384 Vigna
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 <cell alignment="center" valignment="top" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Plain Layout
5393 Jürgen
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Plain Layout
5402 999
5403 \end_layout
5404
5405 \end_inset
5406 </cell>
5407 </row>
5408 <row>
5409 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5410 \begin_inset Text
5411
5412 \begin_layout Plain Layout
5413
5414 \series bold
5415 Weber
5416 \end_layout
5417
5418 \end_inset
5419 </cell>
5420 <cell alignment="center" valignment="top" usebox="none">
5421 \begin_inset Text
5422
5423 \begin_layout Plain Layout
5424 Maurizio
5425 \end_layout
5426
5427 \end_inset
5428 </cell>
5429 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5430 \begin_inset Text
5431
5432 \begin_layout Plain Layout
5433 555
5434 \end_layout
5435
5436 \end_inset
5437 </cell>
5438 </row>
5439 <row>
5440 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5441 \begin_inset Text
5442
5443 \begin_layout Plain Layout
5444
5445 \series bold
5446 Winkler
5447 \end_layout
5448
5449 \end_inset
5450 </cell>
5451 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5452 \begin_inset Text
5453
5454 \begin_layout Plain Layout
5455 Franz
5456 \end_layout
5457
5458 \end_inset
5459 </cell>
5460 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5461 \begin_inset Text
5462
5463 \begin_layout Plain Layout
5464 555
5465 \end_layout
5466
5467 \end_inset
5468 </cell>
5469 </row>
5470 <row endlastfoot="true">
5471 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5472 \begin_inset Text
5473
5474 \begin_layout Plain Layout
5475 end
5476 \end_layout
5477
5478 \end_inset
5479 </cell>
5480 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5481 \begin_inset Text
5482
5483 \begin_layout Plain Layout
5484
5485 \end_layout
5486
5487 \end_inset
5488 </cell>
5489 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5490 \begin_inset Text
5491
5492 \begin_layout Plain Layout
5493
5494 \end_layout
5495
5496 \end_inset
5497 </cell>
5498 </row>
5499 </lyxtabular>
5500
5501 \end_inset
5502
5503
5504 \begin_inset ERT
5505 status collapsed
5506
5507 \begin_layout Plain Layout
5508
5509
5510 \backslash
5511 addtocounter{table}{-1}
5512 \end_layout
5513
5514 \end_inset
5515
5516
5517 \begin_inset Note Note
5518 status collapsed
5519
5520 \begin_layout Plain Layout
5521 See the first greyed-out note in section
5522 \begin_inset space ~
5523 \end_inset
5524
5525
5526 \begin_inset CommandInset ref
5527 LatexCommand ref
5528 reference "sub:Longtable-Captions"
5529
5530 \end_inset
5531
5532  for an explanation of this command.
5533 \end_layout
5534
5535 \end_inset
5536
5537
5538 \end_layout
5539
5540 \begin_layout Subsection
5541 Footnotes in Longtables
5542 \begin_inset CommandInset label
5543 LatexCommand label
5544 name "sub:Footnotes-in-Longtables"
5545
5546 \end_inset
5547
5548
5549 \begin_inset Index idx
5550 status collapsed
5551
5552 \begin_layout Plain Layout
5553 Longtables ! Footnotes
5554 \end_layout
5555
5556 \end_inset
5557
5558
5559 \end_layout
5560
5561 \begin_layout Standard
5562 Footnotes can be inserted to every longtable cell.
5563  They appear at the bottom of the page where the table cell with the footnote
5564  appears.
5565  Table
5566 \begin_inset space ~
5567 \end_inset
5568
5569
5570 \begin_inset CommandInset ref
5571 LatexCommand ref
5572 reference "tab:DiffCaptions"
5573
5574 \end_inset
5575
5576  has for example a footnote.
5577 \end_layout
5578
5579 \begin_layout Subsection
5580 Longtable Alignment
5581 \begin_inset Index idx
5582 status collapsed
5583
5584 \begin_layout Plain Layout
5585 Longtables ! Alignment
5586 \end_layout
5587
5588 \end_inset
5589
5590
5591 \end_layout
5592
5593 \begin_layout Standard
5594 The horizontal alignment of longtables can be set in the table settings
5595  dialog.
5596  For left- and right-alignment the table will be directly at the page border.
5597  To add space between the table and the border one has to set the alignment
5598  to center and change the value of the LaTeX-lengths 
5599 \series bold
5600
5601 \backslash
5602 LTleft 
5603 \series default
5604 or 
5605 \series bold
5606
5607 \backslash
5608 LTright
5609 \series default
5610  by inserting this line as TeX-Code before the longtable:
5611 \end_layout
5612
5613 \begin_layout Standard
5614
5615 \series bold
5616
5617 \backslash
5618 setlength{
5619 \backslash
5620 LTleft}{value}
5621 \end_layout
5622
5623 \begin_layout Standard
5624 The value can have any of the units listed in Table
5625 \begin_inset space ~
5626 \end_inset
5627
5628
5629 \begin_inset CommandInset ref
5630 LatexCommand ref
5631 reference "tab:Units"
5632
5633 \end_inset
5634
5635 .
5636  
5637 \series bold
5638
5639 \backslash
5640 LTleft
5641 \series default
5642  controls the horizontal distance from the left page border to the longtable,
5643  
5644 \series bold
5645
5646 \backslash
5647 LTright
5648 \series default
5649  the distance from the right side.
5650  The default value for both lengths is 
5651 \series bold
5652
5653 \backslash
5654 fill
5655 \series default
5656 , which is in this case the same as an horizontal fill in LyX.
5657 \end_layout
5658
5659 \begin_layout Standard
5660 The following longtable was centered and 
5661 \series bold
5662
5663 \backslash
5664 LTleft
5665 \series default
5666  set to 
5667 \family sans
5668 0.1
5669 \backslash
5670 columnwidth
5671 \family default
5672 :
5673 \begin_inset ERT
5674 status collapsed
5675
5676 \begin_layout Plain Layout
5677
5678
5679 \backslash
5680 setlength{
5681 \backslash
5682 LTleft}{0.1
5683 \backslash
5684 columnwidth}
5685 \end_layout
5686
5687 \end_inset
5688
5689
5690 \end_layout
5691
5692 \begin_layout Standard
5693 \begin_inset Tabular
5694 <lyxtabular version="3" rows="5" columns="5">
5695 <features islongtable="true" longtabularalignment="center">
5696 <column alignment="center" valignment="top" width="0">
5697 <column alignment="center" valignment="top" width="0pt">
5698 <column alignment="center" valignment="top" width="0">
5699 <column alignment="center" valignment="top" width="0">
5700 <column alignment="center" valignment="top" width="0">
5701 <row>
5702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5703 \begin_inset Text
5704
5705 \begin_layout Plain Layout
5706 1
5707 \end_layout
5708
5709 \end_inset
5710 </cell>
5711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5712 \begin_inset Text
5713
5714 \begin_layout Plain Layout
5715 2
5716 \end_layout
5717
5718 \end_inset
5719 </cell>
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5721 \begin_inset Text
5722
5723 \begin_layout Plain Layout
5724 3
5725 \end_layout
5726
5727 \end_inset
5728 </cell>
5729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5730 \begin_inset Text
5731
5732 \begin_layout Plain Layout
5733 4
5734 \end_layout
5735
5736 \end_inset
5737 </cell>
5738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5739 \begin_inset Text
5740
5741 \begin_layout Plain Layout
5742 5
5743 \end_layout
5744
5745 \end_inset
5746 </cell>
5747 </row>
5748 <row>
5749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5750 \begin_inset Text
5751
5752 \begin_layout Plain Layout
5753 asd
5754 \end_layout
5755
5756 \end_inset
5757 </cell>
5758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5759 \begin_inset Text
5760
5761 \begin_layout Plain Layout
5762 s
5763 \end_layout
5764
5765 \end_inset
5766 </cell>
5767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5768 \begin_inset Text
5769
5770 \begin_layout Plain Layout
5771 s
5772 \end_layout
5773
5774 \end_inset
5775 </cell>
5776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5777 \begin_inset Text
5778
5779 \begin_layout Plain Layout
5780 s
5781 \end_layout
5782
5783 \end_inset
5784 </cell>
5785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
5795 <row>
5796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5797 \begin_inset Text
5798
5799 \begin_layout Plain Layout
5800 asd
5801 \end_layout
5802
5803 \end_inset
5804 </cell>
5805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5806 \begin_inset Text
5807
5808 \begin_layout Plain Layout
5809 s
5810 \end_layout
5811
5812 \end_inset
5813 </cell>
5814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5815 \begin_inset Text
5816
5817 \begin_layout Plain Layout
5818 s
5819 \end_layout
5820
5821 \end_inset
5822 </cell>
5823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5824 \begin_inset Text
5825
5826 \begin_layout Plain Layout
5827 s
5828 \end_layout
5829
5830 \end_inset
5831 </cell>
5832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
5842 <row>
5843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5844 \begin_inset Text
5845
5846 \begin_layout Plain Layout
5847 asd
5848 \end_layout
5849
5850 \end_inset
5851 </cell>
5852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5853 \begin_inset Text
5854
5855 \begin_layout Plain Layout
5856 s
5857 \end_layout
5858
5859 \end_inset
5860 </cell>
5861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5862 \begin_inset Text
5863
5864 \begin_layout Plain Layout
5865 s
5866 \end_layout
5867
5868 \end_inset
5869 </cell>
5870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5871 \begin_inset Text
5872
5873 \begin_layout Plain Layout
5874 s
5875 \end_layout
5876
5877 \end_inset
5878 </cell>
5879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
5889 <row>
5890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5891 \begin_inset Text
5892
5893 \begin_layout Plain Layout
5894 asd
5895 \end_layout
5896
5897 \end_inset
5898 </cell>
5899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5900 \begin_inset Text
5901
5902 \begin_layout Plain Layout
5903 asd
5904 \end_layout
5905
5906 \end_inset
5907 </cell>
5908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5909 \begin_inset Text
5910
5911 \begin_layout Plain Layout
5912 asd
5913 \end_layout
5914
5915 \end_inset
5916 </cell>
5917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5918 \begin_inset Text
5919
5920 \begin_layout Plain Layout
5921 asd
5922 \end_layout
5923
5924 \end_inset
5925 </cell>
5926 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5927 \begin_inset Text
5928
5929 \begin_layout Plain Layout
5930 asd
5931 \end_layout
5932
5933 \end_inset
5934 </cell>
5935 </row>
5936 </lyxtabular>
5937
5938 \end_inset
5939
5940
5941 \begin_inset ERT
5942 status collapsed
5943
5944 \begin_layout Plain Layout
5945
5946
5947 \backslash
5948 setlength{
5949 \backslash
5950 LTleft}{
5951 \backslash
5952 fill}
5953 \end_layout
5954
5955 \end_inset
5956
5957
5958 \begin_inset ERT
5959 status collapsed
5960
5961 \begin_layout Plain Layout
5962
5963
5964 \backslash
5965 addtocounter{table}{-1}
5966 \end_layout
5967
5968 \end_inset
5969
5970
5971 \begin_inset Note Note
5972 status collapsed
5973
5974 \begin_layout Plain Layout
5975 See the first greyed-out note in section
5976 \begin_inset space ~
5977 \end_inset
5978
5979
5980 \begin_inset CommandInset ref
5981 LatexCommand ref
5982 reference "sub:Longtable-Captions"
5983
5984 \end_inset
5985
5986  for an explanation of this command.
5987 \end_layout
5988
5989 \end_inset
5990
5991
5992 \end_layout
5993
5994 \begin_layout Subsection
5995 Longtable Captions
5996 \begin_inset Index idx
5997 status collapsed
5998
5999 \begin_layout Plain Layout
6000 Longtables ! Captions
6001 \end_layout
6002
6003 \end_inset
6004
6005
6006 \begin_inset CommandInset label
6007 LatexCommand label
6008 name "sub:Longtable-Captions"
6009
6010 \end_inset
6011
6012
6013 \end_layout
6014
6015 \begin_layout Standard
6016 A longtable cannot be put into a table float because floats can only be
6017  on one page.
6018  But the caption environment of floats can also be used for longtables when
6019  you use the longtable option 
6020 \family sans
6021 Caption
6022 \family default
6023  as described in sec.
6024 \begin_inset space \thinspace{}
6025 \end_inset
6026
6027
6028 \begin_inset CommandInset ref
6029 LatexCommand ref
6030 reference "sec:Longtables"
6031
6032 \end_inset
6033
6034 .
6035  Only one table row can contain the caption.
6036 \end_layout
6037
6038 \begin_layout Standard
6039 Here is a short longtable to see how it works:
6040 \end_layout
6041
6042 \begin_layout Standard
6043 \begin_inset Tabular
6044 <lyxtabular version="3" rows="6" columns="5">
6045 <features islongtable="true" longtabularalignment="center">
6046 <column alignment="center" valignment="top" width="0">
6047 <column alignment="center" valignment="top" width="0">
6048 <column alignment="center" valignment="top" width="0">
6049 <column alignment="center" valignment="top" width="0">
6050 <column alignment="center" valignment="top" width="0">
6051 <row caption="true">
6052 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6053 \begin_inset Text
6054
6055 \begin_layout Plain Layout
6056 \begin_inset Caption
6057
6058 \begin_layout Plain Layout
6059 Longtable with caption
6060 \begin_inset Argument
6061 status open
6062
6063 \begin_layout Plain Layout
6064 Longtable
6065 \end_layout
6066
6067 \end_inset
6068
6069
6070 \end_layout
6071
6072 \end_inset
6073
6074
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Plain Layout
6083
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6089 \begin_inset Text
6090
6091 \begin_layout Plain Layout
6092
6093 \end_layout
6094
6095 \end_inset
6096 </cell>
6097 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6098 \begin_inset Text
6099
6100 \begin_layout Plain Layout
6101
6102 \end_layout
6103
6104 \end_inset
6105 </cell>
6106 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6107 \begin_inset Text
6108
6109 \begin_layout Plain Layout
6110
6111 \end_layout
6112
6113 \end_inset
6114 </cell>
6115 </row>
6116 <row>
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Plain Layout
6121 1
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Plain Layout
6130 2
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6136 \begin_inset Text
6137
6138 \begin_layout Plain Layout
6139 3
6140 \end_layout
6141
6142 \end_inset
6143 </cell>
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6145 \begin_inset Text
6146
6147 \begin_layout Plain Layout
6148 4
6149 \end_layout
6150
6151 \end_inset
6152 </cell>
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6154 \begin_inset Text
6155
6156 \begin_layout Plain Layout
6157 5
6158 \end_layout
6159
6160 \end_inset
6161 </cell>
6162 </row>
6163 <row>
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Plain Layout
6168 asd
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Plain Layout
6177 s
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6183 \begin_inset Text
6184
6185 \begin_layout Plain Layout
6186 s
6187 \end_layout
6188
6189 \end_inset
6190 </cell>
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6192 \begin_inset Text
6193
6194 \begin_layout Plain Layout
6195 s
6196 \end_layout
6197
6198 \end_inset
6199 </cell>
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
6210 <row>
6211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6212 \begin_inset Text
6213
6214 \begin_layout Plain Layout
6215 asd
6216 \end_layout
6217
6218 \end_inset
6219 </cell>
6220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6221 \begin_inset Text
6222
6223 \begin_layout Plain Layout
6224 s
6225 \end_layout
6226
6227 \end_inset
6228 </cell>
6229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6230 \begin_inset Text
6231
6232 \begin_layout Plain Layout
6233 s
6234 \end_layout
6235
6236 \end_inset
6237 </cell>
6238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6239 \begin_inset Text
6240
6241 \begin_layout Plain Layout
6242 s
6243 \end_layout
6244
6245 \end_inset
6246 </cell>
6247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
6257 <row>
6258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6259 \begin_inset Text
6260
6261 \begin_layout Plain Layout
6262 asd
6263 \end_layout
6264
6265 \end_inset
6266 </cell>
6267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6268 \begin_inset Text
6269
6270 \begin_layout Plain Layout
6271 s
6272 \end_layout
6273
6274 \end_inset
6275 </cell>
6276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6277 \begin_inset Text
6278
6279 \begin_layout Plain Layout
6280 s
6281 \end_layout
6282
6283 \end_inset
6284 </cell>
6285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6286 \begin_inset Text
6287
6288 \begin_layout Plain Layout
6289 s
6290 \end_layout
6291
6292 \end_inset
6293 </cell>
6294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
6304 <row>
6305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6306 \begin_inset Text
6307
6308 \begin_layout Plain Layout
6309 asd
6310 \end_layout
6311
6312 \end_inset
6313 </cell>
6314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6315 \begin_inset Text
6316
6317 \begin_layout Plain Layout
6318 asd
6319 \end_layout
6320
6321 \end_inset
6322 </cell>
6323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6324 \begin_inset Text
6325
6326 \begin_layout Plain Layout
6327 asd
6328 \end_layout
6329
6330 \end_inset
6331 </cell>
6332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6333 \begin_inset Text
6334
6335 \begin_layout Plain Layout
6336 asd
6337 \end_layout
6338
6339 \end_inset
6340 </cell>
6341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6342 \begin_inset Text
6343
6344 \begin_layout Plain Layout
6345 asd
6346 \end_layout
6347
6348 \end_inset
6349 </cell>
6350 </row>
6351 </lyxtabular>
6352
6353 \end_inset
6354
6355
6356 \end_layout
6357
6358 \begin_layout Standard
6359 \begin_inset VSpace medskip
6360 \end_inset
6361
6362
6363 \begin_inset Note Greyedout
6364 status open
6365
6366 \begin_layout Plain Layout
6367
6368 \series bold
6369 Note
6370 \begin_inset space ~
6371 \end_inset
6372
6373 1:
6374 \series default
6375  The table number is increased for for every longtable, even if you did
6376  not set a caption for it.
6377  For this reason you could have the case that e.
6378 \begin_inset space \thinspace{}
6379 \end_inset
6380
6381 g.
6382 \begin_inset space \space{}
6383 \end_inset
6384
6385 Table
6386 \begin_inset space ~
6387 \end_inset
6388
6389 2.4 follows Table
6390 \begin_inset space ~
6391 \end_inset
6392
6393 2.1 in the list of tables if there are two longtables without captions.
6394  To avoid this you can add the following command in TeX-Code after every
6395  longtable without a caption:
6396 \end_layout
6397
6398 \begin_layout Plain Layout
6399
6400 \series bold
6401
6402 \backslash
6403 addtocounter{table}{-1}
6404 \end_layout
6405
6406 \begin_layout Plain Layout
6407 This is not needed when none of your longtables have a caption and you add
6408  the following code to the document preamble:
6409 \end_layout
6410
6411 \begin_layout Plain Layout
6412
6413 \series bold
6414
6415 \backslash
6416 let
6417 \backslash
6418 myEnd
6419 \backslash
6420 endlongtable
6421 \begin_inset Newline newline
6422 \end_inset
6423
6424
6425 \backslash
6426 renewcommand{
6427 \backslash
6428 endlongtable}{
6429 \backslash
6430 myEnd
6431 \backslash
6432 addtocounter{table}{-1}}
6433 \end_layout
6434
6435 \end_inset
6436
6437
6438 \end_layout
6439
6440 \begin_layout Standard
6441 \begin_inset Note Greyedout
6442 status open
6443
6444 \begin_layout Plain Layout
6445
6446 \series bold
6447 Note
6448 \begin_inset space ~
6449 \end_inset
6450
6451 2:
6452 \series default
6453  If you are using
6454 \series bold
6455  hyperref
6456 \series default
6457
6458 \begin_inset Index idx
6459 status collapsed
6460
6461 \begin_layout Plain Layout
6462 LaTeX-packages ! hyperref
6463 \end_layout
6464
6465 \end_inset
6466
6467  in the 
6468 \family sans
6469 PDF Properties
6470 \family default
6471  of the 
6472 \family sans
6473 Document Settings
6474 \family default
6475  dialog to link cross-references, the link to a longtable caption will always
6476  point to the beginning of the document.
6477 \end_layout
6478
6479 \end_inset
6480
6481
6482 \end_layout
6483
6484 \begin_layout Subsubsection
6485 References to Longtables
6486 \begin_inset Index idx
6487 status collapsed
6488
6489 \begin_layout Plain Layout
6490 Longtables ! References
6491 \end_layout
6492
6493 \end_inset
6494
6495
6496 \end_layout
6497
6498 \begin_layout Standard
6499 \begin_inset Tabular
6500 <lyxtabular version="3" rows="6" columns="5">
6501 <features islongtable="true" longtabularalignment="center">
6502 <column alignment="center" valignment="top" width="0">
6503 <column alignment="center" valignment="top" width="0">
6504 <column alignment="center" valignment="top" width="0">
6505 <column alignment="center" valignment="top" width="0">
6506 <column alignment="center" valignment="top" width="0">
6507 <row caption="true">
6508 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6509 \begin_inset Text
6510
6511 \begin_layout Plain Layout
6512 \begin_inset Caption
6513
6514 \begin_layout Plain Layout
6515 Referenced longtable
6516 \begin_inset CommandInset label
6517 LatexCommand label
6518 name "tab:RefExample"
6519
6520 \end_inset
6521
6522
6523 \end_layout
6524
6525 \end_inset
6526
6527
6528 \end_layout
6529
6530 \end_inset
6531 </cell>
6532 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6533 \begin_inset Text
6534
6535 \begin_layout Plain Layout
6536
6537 \end_layout
6538
6539 \end_inset
6540 </cell>
6541 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6542 \begin_inset Text
6543
6544 \begin_layout Plain Layout
6545
6546 \end_layout
6547
6548 \end_inset
6549 </cell>
6550 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6551 \begin_inset Text
6552
6553 \begin_layout Plain Layout
6554
6555 \end_layout
6556
6557 \end_inset
6558 </cell>
6559 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6560 \begin_inset Text
6561
6562 \begin_layout Plain Layout
6563
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 </row>
6569 <row>
6570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6571 \begin_inset Text
6572
6573 \begin_layout Plain Layout
6574 1
6575 \end_layout
6576
6577 \end_inset
6578 </cell>
6579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6580 \begin_inset Text
6581
6582 \begin_layout Plain Layout
6583 2
6584 \end_layout
6585
6586 \end_inset
6587 </cell>
6588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6589 \begin_inset Text
6590
6591 \begin_layout Plain Layout
6592 3
6593 \end_layout
6594
6595 \end_inset
6596 </cell>
6597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6598 \begin_inset Text
6599
6600 \begin_layout Plain Layout
6601 4
6602 \end_layout
6603
6604 \end_inset
6605 </cell>
6606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6607 \begin_inset Text
6608
6609 \begin_layout Plain Layout
6610 5
6611 \end_layout
6612
6613 \end_inset
6614 </cell>
6615 </row>
6616 <row>
6617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6618 \begin_inset Text
6619
6620 \begin_layout Plain Layout
6621 asd
6622 \end_layout
6623
6624 \end_inset
6625 </cell>
6626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6627 \begin_inset Text
6628
6629 \begin_layout Plain Layout
6630 s
6631 \end_layout
6632
6633 \end_inset
6634 </cell>
6635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6636 \begin_inset Text
6637
6638 \begin_layout Plain Layout
6639 s
6640 \end_layout
6641
6642 \end_inset
6643 </cell>
6644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6645 \begin_inset Text
6646
6647 \begin_layout Plain Layout
6648 s
6649 \end_layout
6650
6651 \end_inset
6652 </cell>
6653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
6663 <row>
6664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6665 \begin_inset Text
6666
6667 \begin_layout Plain Layout
6668 asd
6669 \end_layout
6670
6671 \end_inset
6672 </cell>
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6674 \begin_inset Text
6675
6676 \begin_layout Plain Layout
6677 s
6678 \end_layout
6679
6680 \end_inset
6681 </cell>
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6683 \begin_inset Text
6684
6685 \begin_layout Plain Layout
6686 s
6687 \end_layout
6688
6689 \end_inset
6690 </cell>
6691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6692 \begin_inset Text
6693
6694 \begin_layout Plain Layout
6695 s
6696 \end_layout
6697
6698 \end_inset
6699 </cell>
6700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
6710 <row>
6711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6712 \begin_inset Text
6713
6714 \begin_layout Plain Layout
6715 asd
6716 \end_layout
6717
6718 \end_inset
6719 </cell>
6720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6721 \begin_inset Text
6722
6723 \begin_layout Plain Layout
6724 s
6725 \end_layout
6726
6727 \end_inset
6728 </cell>
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6730 \begin_inset Text
6731
6732 \begin_layout Plain Layout
6733 s
6734 \end_layout
6735
6736 \end_inset
6737 </cell>
6738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6739 \begin_inset Text
6740
6741 \begin_layout Plain Layout
6742 s
6743 \end_layout
6744
6745 \end_inset
6746 </cell>
6747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
6757 <row>
6758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6759 \begin_inset Text
6760
6761 \begin_layout Plain Layout
6762 asd
6763 \end_layout
6764
6765 \end_inset
6766 </cell>
6767 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6768 \begin_inset Text
6769
6770 \begin_layout Plain Layout
6771 sad
6772 \end_layout
6773
6774 \end_inset
6775 </cell>
6776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6777 \begin_inset Text
6778
6779 \begin_layout Plain Layout
6780 asd
6781 \end_layout
6782
6783 \end_inset
6784 </cell>
6785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6786 \begin_inset Text
6787
6788 \begin_layout Plain Layout
6789 asd
6790 \end_layout
6791
6792 \end_inset
6793 </cell>
6794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6795 \begin_inset Text
6796
6797 \begin_layout Plain Layout
6798 asd
6799 \end_layout
6800
6801 \end_inset
6802 </cell>
6803 </row>
6804 </lyxtabular>
6805
6806 \end_inset
6807
6808
6809 \end_layout
6810
6811 \begin_layout Standard
6812 To reference a longtable, insert a label into the caption.
6813 \end_layout
6814
6815 \begin_layout Standard
6816 This is a reference to Table
6817 \begin_inset space ~
6818 \end_inset
6819
6820
6821 \begin_inset CommandInset ref
6822 LatexCommand ref
6823 reference "tab:RefExample"
6824
6825 \end_inset
6826
6827 .
6828 \end_layout
6829
6830 \begin_layout Standard
6831 The caption layout can be set together with all other captions of your document
6832  using the LaTeX-package 
6833 \series bold
6834 caption
6835 \series default
6836
6837 \begin_inset Index idx
6838 status collapsed
6839
6840 \begin_layout Plain Layout
6841 LaTeX-packages ! caption
6842 \end_layout
6843
6844 \end_inset
6845
6846 , see section
6847 \begin_inset space ~
6848 \end_inset
6849
6850
6851 \begin_inset CommandInset ref
6852 LatexCommand ref
6853 reference "sec:Caption-Formatting"
6854
6855 \end_inset
6856
6857 .
6858 \end_layout
6859
6860 \begin_layout Subsubsection
6861 Caption Width
6862 \begin_inset Index idx
6863 status collapsed
6864
6865 \begin_layout Plain Layout
6866 Longtables ! Caption Width
6867 \end_layout
6868
6869 \end_inset
6870
6871
6872 \end_layout
6873
6874 \begin_layout Standard
6875 The maximal width of of caption lines is defined by the length 
6876 \series bold
6877
6878 \backslash
6879 LTcapwidth
6880 \series default
6881 .
6882  Its default value is 4
6883 \begin_inset space \thinspace{}
6884 \end_inset
6885
6886 in.
6887  To change it add the following command to your document preamble or as
6888  TeX-Code into your document before the longtable that should be affected
6889 \end_layout
6890
6891 \begin_layout Standard
6892
6893 \series bold
6894
6895 \backslash
6896 setlength{
6897 \backslash
6898 LTcapwidth}{width}
6899 \end_layout
6900
6901 \begin_layout Standard
6902 where the width could have one of the units listed in appendix
6903 \begin_inset space ~
6904 \end_inset
6905
6906
6907 \begin_inset CommandInset ref
6908 LatexCommand ref
6909 reference "cha:Units-available-in"
6910
6911 \end_inset
6912
6913 .
6914 \end_layout
6915
6916 \begin_layout Standard
6917 The following tables show the difference:
6918 \end_layout
6919
6920 \begin_layout Standard
6921 \begin_inset Tabular
6922 <lyxtabular version="3" rows="6" columns="5">
6923 <features islongtable="true" longtabularalignment="center">
6924 <column alignment="center" valignment="top" width="0">
6925 <column alignment="center" valignment="top" width="0">
6926 <column alignment="center" valignment="top" width="0">
6927 <column alignment="center" valignment="top" width="0">
6928 <column alignment="center" valignment="top" width="0">
6929 <row caption="true">
6930 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6931 \begin_inset Text
6932
6933 \begin_layout Plain Layout
6934 \begin_inset Caption
6935
6936 \begin_layout Plain Layout
6937 long full title with default width long full title with default width long
6938  full title with default width
6939 \begin_inset Argument
6940 status collapsed
6941
6942 \begin_layout Plain Layout
6943 caption with default width
6944 \end_layout
6945
6946 \end_inset
6947
6948
6949 \end_layout
6950
6951 \end_inset
6952
6953
6954 \end_layout
6955
6956 \end_inset
6957 </cell>
6958 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6959 \begin_inset Text
6960
6961 \begin_layout Plain Layout
6962
6963 \end_layout
6964
6965 \end_inset
6966 </cell>
6967 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6968 \begin_inset Text
6969
6970 \begin_layout Plain Layout
6971
6972 \end_layout
6973
6974 \end_inset
6975 </cell>
6976 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6977 \begin_inset Text
6978
6979 \begin_layout Plain Layout
6980
6981 \end_layout
6982
6983 \end_inset
6984 </cell>
6985 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6986 \begin_inset Text
6987
6988 \begin_layout Plain Layout
6989
6990 \end_layout
6991
6992 \end_inset
6993 </cell>
6994 </row>
6995 <row>
6996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6997 \begin_inset Text
6998
6999 \begin_layout Plain Layout
7000 1
7001 \end_layout
7002
7003 \end_inset
7004 </cell>
7005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7006 \begin_inset Text
7007
7008 \begin_layout Plain Layout
7009 2
7010 \end_layout
7011
7012 \end_inset
7013 </cell>
7014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7015 \begin_inset Text
7016
7017 \begin_layout Plain Layout
7018 3
7019 \end_layout
7020
7021 \end_inset
7022 </cell>
7023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Plain Layout
7027 4
7028 \end_layout
7029
7030 \end_inset
7031 </cell>
7032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7033 \begin_inset Text
7034
7035 \begin_layout Plain Layout
7036 5
7037 \end_layout
7038
7039 \end_inset
7040 </cell>
7041 </row>
7042 <row>
7043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7044 \begin_inset Text
7045
7046 \begin_layout Plain Layout
7047 asd
7048 \end_layout
7049
7050 \end_inset
7051 </cell>
7052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7053 \begin_inset Text
7054
7055 \begin_layout Plain Layout
7056 s
7057 \end_layout
7058
7059 \end_inset
7060 </cell>
7061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7062 \begin_inset Text
7063
7064 \begin_layout Plain Layout
7065 s
7066 \end_layout
7067
7068 \end_inset
7069 </cell>
7070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7071 \begin_inset Text
7072
7073 \begin_layout Plain Layout
7074 s
7075 \end_layout
7076
7077 \end_inset
7078 </cell>
7079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
7089 <row>
7090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7091 \begin_inset Text
7092
7093 \begin_layout Plain Layout
7094 asd
7095 \end_layout
7096
7097 \end_inset
7098 </cell>
7099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7100 \begin_inset Text
7101
7102 \begin_layout Plain Layout
7103 s
7104 \end_layout
7105
7106 \end_inset
7107 </cell>
7108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7109 \begin_inset Text
7110
7111 \begin_layout Plain Layout
7112 s
7113 \end_layout
7114
7115 \end_inset
7116 </cell>
7117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7118 \begin_inset Text
7119
7120 \begin_layout Plain Layout
7121 s
7122 \end_layout
7123
7124 \end_inset
7125 </cell>
7126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
7136 <row>
7137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7138 \begin_inset Text
7139
7140 \begin_layout Plain Layout
7141 asd
7142 \end_layout
7143
7144 \end_inset
7145 </cell>
7146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7147 \begin_inset Text
7148
7149 \begin_layout Plain Layout
7150 s
7151 \end_layout
7152
7153 \end_inset
7154 </cell>
7155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7156 \begin_inset Text
7157
7158 \begin_layout Plain Layout
7159 s
7160 \end_layout
7161
7162 \end_inset
7163 </cell>
7164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7165 \begin_inset Text
7166
7167 \begin_layout Plain Layout
7168 s
7169 \end_layout
7170
7171 \end_inset
7172 </cell>
7173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
7183 <row>
7184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7185 \begin_inset Text
7186
7187 \begin_layout Plain Layout
7188 asd
7189 \end_layout
7190
7191 \end_inset
7192 </cell>
7193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7194 \begin_inset Text
7195
7196 \begin_layout Plain Layout
7197 sad
7198 \end_layout
7199
7200 \end_inset
7201 </cell>
7202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7203 \begin_inset Text
7204
7205 \begin_layout Plain Layout
7206 asd
7207 \end_layout
7208
7209 \end_inset
7210 </cell>
7211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7212 \begin_inset Text
7213
7214 \begin_layout Plain Layout
7215 asd
7216 \end_layout
7217
7218 \end_inset
7219 </cell>
7220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7221 \begin_inset Text
7222
7223 \begin_layout Plain Layout
7224 asd
7225 \end_layout
7226
7227 \end_inset
7228 </cell>
7229 </row>
7230 </lyxtabular>
7231
7232 \end_inset
7233
7234
7235 \end_layout
7236
7237 \begin_layout Standard
7238 \begin_inset ERT
7239 status collapsed
7240
7241 \begin_layout Plain Layout
7242
7243
7244 \backslash
7245 setlength{
7246 \backslash
7247 LTcapwidth}{5cm}
7248 \end_layout
7249
7250 \end_inset
7251
7252
7253 \begin_inset Tabular
7254 <lyxtabular version="3" rows="6" columns="5">
7255 <features islongtable="true" longtabularalignment="center">
7256 <column alignment="center" valignment="top" width="0">
7257 <column alignment="center" valignment="top" width="0">
7258 <column alignment="center" valignment="top" width="0">
7259 <column alignment="center" valignment="top" width="0">
7260 <column alignment="center" valignment="top" width="0">
7261 <row caption="true">
7262 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7263 \begin_inset Text
7264
7265 \begin_layout Plain Layout
7266 \begin_inset Caption
7267
7268 \begin_layout Plain Layout
7269 long full title with width set to 5
7270 \begin_inset space \thinspace{}
7271 \end_inset
7272
7273 cm long full title with width set to 5
7274 \begin_inset space \thinspace{}
7275 \end_inset
7276
7277 cm long full title with width set to 5
7278 \begin_inset space \thinspace{}
7279 \end_inset
7280
7281 cm
7282 \begin_inset Argument
7283 status collapsed
7284
7285 \begin_layout Plain Layout
7286 caption with width
7287 \begin_inset space \thinspace{}
7288 \end_inset
7289
7290 =
7291 \begin_inset space \thinspace{}
7292 \end_inset
7293
7294 5
7295 \begin_inset space \thinspace{}
7296 \end_inset
7297
7298 cm
7299 \end_layout
7300
7301 \end_inset
7302
7303
7304 \end_layout
7305
7306 \end_inset
7307
7308
7309 \end_layout
7310
7311 \end_inset
7312 </cell>
7313 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7314 \begin_inset Text
7315
7316 \begin_layout Plain Layout
7317
7318 \end_layout
7319
7320 \end_inset
7321 </cell>
7322 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7323 \begin_inset Text
7324
7325 \begin_layout Plain Layout
7326
7327 \end_layout
7328
7329 \end_inset
7330 </cell>
7331 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7332 \begin_inset Text
7333
7334 \begin_layout Plain Layout
7335
7336 \end_layout
7337
7338 \end_inset
7339 </cell>
7340 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7341 \begin_inset Text
7342
7343 \begin_layout Plain Layout
7344
7345 \end_layout
7346
7347 \end_inset
7348 </cell>
7349 </row>
7350 <row>
7351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7352 \begin_inset Text
7353
7354 \begin_layout Plain Layout
7355 1
7356 \end_layout
7357
7358 \end_inset
7359 </cell>
7360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7361 \begin_inset Text
7362
7363 \begin_layout Plain Layout
7364 2
7365 \end_layout
7366
7367 \end_inset
7368 </cell>
7369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7370 \begin_inset Text
7371
7372 \begin_layout Plain Layout
7373 3
7374 \end_layout
7375
7376 \end_inset
7377 </cell>
7378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7379 \begin_inset Text
7380
7381 \begin_layout Plain Layout
7382 4
7383 \end_layout
7384
7385 \end_inset
7386 </cell>
7387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7388 \begin_inset Text
7389
7390 \begin_layout Plain Layout
7391 5
7392 \end_layout
7393
7394 \end_inset
7395 </cell>
7396 </row>
7397 <row>
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7399 \begin_inset Text
7400
7401 \begin_layout Plain Layout
7402 asd
7403 \end_layout
7404
7405 \end_inset
7406 </cell>
7407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7408 \begin_inset Text
7409
7410 \begin_layout Plain Layout
7411 s
7412 \end_layout
7413
7414 \end_inset
7415 </cell>
7416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7417 \begin_inset Text
7418
7419 \begin_layout Plain Layout
7420 s
7421 \end_layout
7422
7423 \end_inset
7424 </cell>
7425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7426 \begin_inset Text
7427
7428 \begin_layout Plain Layout
7429 s
7430 \end_layout
7431
7432 \end_inset
7433 </cell>
7434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
7444 <row>
7445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7446 \begin_inset Text
7447
7448 \begin_layout Plain Layout
7449 asd
7450 \end_layout
7451
7452 \end_inset
7453 </cell>
7454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7455 \begin_inset Text
7456
7457 \begin_layout Plain Layout
7458 s
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7464 \begin_inset Text
7465
7466 \begin_layout Plain Layout
7467 s
7468 \end_layout
7469
7470 \end_inset
7471 </cell>
7472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7473 \begin_inset Text
7474
7475 \begin_layout Plain Layout
7476 s
7477 \end_layout
7478
7479 \end_inset
7480 </cell>
7481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
7491 <row>
7492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7493 \begin_inset Text
7494
7495 \begin_layout Plain Layout
7496 asd
7497 \end_layout
7498
7499 \end_inset
7500 </cell>
7501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7502 \begin_inset Text
7503
7504 \begin_layout Plain Layout
7505 s
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Plain Layout
7514 s
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7520 \begin_inset Text
7521
7522 \begin_layout Plain Layout
7523 s
7524 \end_layout
7525
7526 \end_inset
7527 </cell>
7528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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 </row>
7538 <row>
7539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7540 \begin_inset Text
7541
7542 \begin_layout Plain Layout
7543 asd
7544 \end_layout
7545
7546 \end_inset
7547 </cell>
7548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7549 \begin_inset Text
7550
7551 \begin_layout Plain Layout
7552 sad
7553 \end_layout
7554
7555 \end_inset
7556 </cell>
7557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7558 \begin_inset Text
7559
7560 \begin_layout Plain Layout
7561 asd
7562 \end_layout
7563
7564 \end_inset
7565 </cell>
7566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7567 \begin_inset Text
7568
7569 \begin_layout Plain Layout
7570 asd
7571 \end_layout
7572
7573 \end_inset
7574 </cell>
7575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7576 \begin_inset Text
7577
7578 \begin_layout Plain Layout
7579 asd
7580 \end_layout
7581
7582 \end_inset
7583 </cell>
7584 </row>
7585 </lyxtabular>
7586
7587 \end_inset
7588
7589
7590 \end_layout
7591
7592 \begin_layout Standard
7593 \begin_inset ERT
7594 status collapsed
7595
7596 \begin_layout Plain Layout
7597
7598
7599 \backslash
7600 setlength{
7601 \backslash
7602 LTcapwidth}{4in}
7603 \end_layout
7604
7605 \end_inset
7606
7607
7608 \end_layout
7609
7610 \begin_layout Standard
7611 \begin_inset Note Greyedout
7612 status open
7613
7614 \begin_layout Plain Layout
7615
7616 \series bold
7617 Note:
7618 \series default
7619  When the LaTeX-package 
7620 \series bold
7621 caption
7622 \series default
7623
7624 \begin_inset Index idx
7625 status collapsed
7626
7627 \begin_layout Plain Layout
7628 LaTeX-packages ! caption
7629 \end_layout
7630
7631 \end_inset
7632
7633  is used, as in this document, the full page width is used for the caption
7634  when you use the default value of 4
7635 \begin_inset space \thinspace{}
7636 \end_inset
7637
7638 in for 
7639 \series bold
7640
7641 \backslash
7642 LTcapwidth
7643 \series default
7644 .
7645  To get in this case exactly a 4
7646 \begin_inset space \thinspace{}
7647 \end_inset
7648
7649 in wide caption, you can either use a value slightly different from 4.0
7650 \begin_inset space \thinspace{}
7651 \end_inset
7652
7653 in, e.
7654 \begin_inset space \thinspace{}
7655 \end_inset
7656
7657 g.
7658 \begin_inset space \space{}
7659 \end_inset
7660
7661 3.99
7662 \begin_inset space \thinspace{}
7663 \end_inset
7664
7665 in, or the LaTeX-command 
7666 \series bold
7667
7668 \backslash
7669 captionsetup{width=value}
7670 \series default
7671  that is provided by the 
7672 \series bold
7673 caption
7674 \series default
7675 -package.
7676 \end_layout
7677
7678 \end_inset
7679
7680
7681 \end_layout
7682
7683 \begin_layout Subsubsection
7684 Different Captions for Table Pages
7685 \begin_inset Index idx
7686 status collapsed
7687
7688 \begin_layout Plain Layout
7689 Longtables ! Different Captions for Pages
7690 \end_layout
7691
7692 \end_inset
7693
7694
7695 \end_layout
7696
7697 \begin_layout Standard
7698 When the table captions for the following pages should differ from the one
7699  of the first table page, insert a caption with the TeX code command
7700 \end_layout
7701
7702 \begin_layout Standard
7703
7704 \series bold
7705
7706 \backslash
7707 caption*{caption text}
7708 \backslash
7709
7710 \backslash
7711 %
7712 \end_layout
7713
7714 \begin_layout Standard
7715 in a dummy caption row that is marked as a header.
7716  Table
7717 \begin_inset space ~
7718 \end_inset
7719
7720
7721 \begin_inset CommandInset ref
7722 LatexCommand ref
7723 reference "tab:DiffCaptions"
7724
7725 \end_inset
7726
7727  is an example of a longtable with different heading where the second caption
7728  doesn't include the table number.
7729 \end_layout
7730
7731 \begin_layout Standard
7732 \align center
7733 \begin_inset Tabular
7734 <lyxtabular version="3" rows="59" columns="3">
7735 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7736 <column alignment="left" valignment="top" width="0cm">
7737 <column alignment="left" valignment="top" width="0pt">
7738 <column alignment="center" valignment="top" width="0pt">
7739 <row caption="true">
7740 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7741 \begin_inset Text
7742
7743 \begin_layout Plain Layout
7744 \begin_inset Caption
7745
7746 \begin_layout Plain Layout
7747 Example Phone List
7748 \begin_inset CommandInset label
7749 LatexCommand label
7750 name "tab:DiffCaptions"
7751
7752 \end_inset
7753
7754
7755 \begin_inset Argument
7756 status collapsed
7757
7758 \begin_layout Plain Layout
7759 Example Phone List
7760 \end_layout
7761
7762 \end_inset
7763
7764
7765 \end_layout
7766
7767 \end_inset
7768
7769
7770 \end_layout
7771
7772 \end_inset
7773 </cell>
7774 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7775 \begin_inset Text
7776
7777 \begin_layout Plain Layout
7778
7779 \end_layout
7780
7781 \end_inset
7782 </cell>
7783 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7784 \begin_inset Text
7785
7786 \begin_layout Plain Layout
7787
7788 \end_layout
7789
7790 \end_inset
7791 </cell>
7792 </row>
7793 <row endfirsthead="true">
7794 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7795 \begin_inset Text
7796
7797 \begin_layout Plain Layout
7798
7799 \series bold
7800 Example Phone List (ignore the names)
7801 \end_layout
7802
7803 \end_inset
7804 </cell>
7805 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7806 \begin_inset Text
7807
7808 \begin_layout Plain Layout
7809
7810 \end_layout
7811
7812 \end_inset
7813 </cell>
7814 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7815 \begin_inset Text
7816
7817 \begin_layout Plain Layout
7818
7819 \end_layout
7820
7821 \end_inset
7822 </cell>
7823 </row>
7824 <row endfirsthead="true">
7825 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7826 \begin_inset Text
7827
7828 \begin_layout Plain Layout
7829
7830 \series bold
7831 NAME
7832 \end_layout
7833
7834 \end_inset
7835 </cell>
7836 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7837 \begin_inset Text
7838
7839 \begin_layout Plain Layout
7840
7841 \end_layout
7842
7843 \end_inset
7844 </cell>
7845 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7846 \begin_inset Text
7847
7848 \begin_layout Plain Layout
7849
7850 \series bold
7851 TEL.
7852 \end_layout
7853
7854 \end_inset
7855 </cell>
7856 </row>
7857 <row endhead="true">
7858 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7859 \begin_inset Text
7860
7861 \begin_layout Plain Layout
7862 \begin_inset ERT
7863 status open
7864
7865 \begin_layout Plain Layout
7866
7867
7868 \backslash
7869 caption*{Continued Example Phone List}
7870 \backslash
7871
7872 \backslash
7873 %
7874 \end_layout
7875
7876 \end_inset
7877
7878
7879 \end_layout
7880
7881 \end_inset
7882 </cell>
7883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7884 \begin_inset Text
7885
7886 \begin_layout Plain Layout
7887
7888 \end_layout
7889
7890 \end_inset
7891 </cell>
7892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Plain Layout
7896
7897 \end_layout
7898
7899 \end_inset
7900 </cell>
7901 </row>
7902 <row endhead="true">
7903 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Plain Layout
7907
7908 \series bold
7909 Example Phone List
7910 \end_layout
7911
7912 \end_inset
7913 </cell>
7914 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7915 \begin_inset Text
7916
7917 \begin_layout Plain Layout
7918
7919 \end_layout
7920
7921 \end_inset
7922 </cell>
7923 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Plain Layout
7927
7928 \end_layout
7929
7930 \end_inset
7931 </cell>
7932 </row>
7933 <row endhead="true">
7934 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Plain Layout
7938
7939 \series bold
7940 NAME
7941 \end_layout
7942
7943 \end_inset
7944 </cell>
7945 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7946 \begin_inset Text
7947
7948 \begin_layout Plain Layout
7949
7950 \end_layout
7951
7952 \end_inset
7953 </cell>
7954 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Plain Layout
7958
7959 \series bold
7960 TEL.
7961 \end_layout
7962
7963 \end_inset
7964 </cell>
7965 </row>
7966 <row endfoot="true">
7967 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7968 \begin_inset Text
7969
7970 \begin_layout Plain Layout
7971 continued on next page
7972 \end_layout
7973
7974 \end_inset
7975 </cell>
7976 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7977 \begin_inset Text
7978
7979 \begin_layout Plain Layout
7980
7981 \end_layout
7982
7983 \end_inset
7984 </cell>
7985 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Plain Layout
7989
7990 \end_layout
7991
7992 \end_inset
7993 </cell>
7994 </row>
7995 <row>
7996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Plain Layout
8000
8001 \series bold
8002 Annovi
8003 \end_layout
8004
8005 \end_inset
8006 </cell>
8007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8008 \begin_inset Text
8009
8010 \begin_layout Plain Layout
8011 Silvia
8012 \end_layout
8013
8014 \end_inset
8015 </cell>
8016 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Plain Layout
8020 111
8021 \end_layout
8022
8023 \end_inset
8024 </cell>
8025 </row>
8026 <row>
8027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Plain Layout
8031
8032 \series bold
8033 Bertoli
8034 \end_layout
8035
8036 \end_inset
8037 </cell>
8038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8039 \begin_inset Text
8040
8041 \begin_layout Plain Layout
8042 Stefano
8043 \end_layout
8044
8045 \end_inset
8046 </cell>
8047 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Plain Layout
8051 111
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 </row>
8057 <row>
8058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8059 \begin_inset Text
8060
8061 \begin_layout Plain Layout
8062
8063 \series bold
8064 Bozzi
8065 \end_layout
8066
8067 \end_inset
8068 </cell>
8069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8070 \begin_inset Text
8071
8072 \begin_layout Plain Layout
8073 Walter
8074 \end_layout
8075
8076 \end_inset
8077 </cell>
8078 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Plain Layout
8082 111
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 </row>
8088 <row>
8089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8090 \begin_inset Text
8091
8092 \begin_layout Plain Layout
8093
8094 \series bold
8095 Cachia
8096 \end_layout
8097
8098 \end_inset
8099 </cell>
8100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8101 \begin_inset Text
8102
8103 \begin_layout Plain Layout
8104 Maria
8105 \end_layout
8106
8107 \end_inset
8108 </cell>
8109 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Plain Layout
8113 111
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 </row>
8119 <row>
8120 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8121 \begin_inset Text
8122
8123 \begin_layout Plain Layout
8124
8125 \series bold
8126 Cachia
8127 \end_layout
8128
8129 \end_inset
8130 </cell>
8131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8132 \begin_inset Text
8133
8134 \begin_layout Plain Layout
8135 Maurizio
8136 \end_layout
8137
8138 \end_inset
8139 </cell>
8140 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Plain Layout
8144 111
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 </row>
8150 <row>
8151 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Plain Layout
8155
8156 \series bold
8157 Cinquemani
8158 \end_layout
8159
8160 \end_inset
8161 </cell>
8162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8163 \begin_inset Text
8164
8165 \begin_layout Plain Layout
8166 Giusi
8167 \end_layout
8168
8169 \end_inset
8170 </cell>
8171 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8172 \begin_inset Text
8173
8174 \begin_layout Plain Layout
8175 111
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 </row>
8181 <row>
8182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8183 \begin_inset Text
8184
8185 \begin_layout Plain Layout
8186
8187 \series bold
8188 Colin
8189 \end_layout
8190
8191 \end_inset
8192 </cell>
8193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8194 \begin_inset Text
8195
8196 \begin_layout Plain Layout
8197 Bernard
8198 \end_layout
8199
8200 \end_inset
8201 </cell>
8202 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8203 \begin_inset Text
8204
8205 \begin_layout Plain Layout
8206 111
8207 \end_layout
8208
8209 \end_inset
8210 </cell>
8211 </row>
8212 <row>
8213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8214 \begin_inset Text
8215
8216 \begin_layout Plain Layout
8217
8218 \series bold
8219 Concli
8220 \end_layout
8221
8222 \end_inset
8223 </cell>
8224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8225 \begin_inset Text
8226
8227 \begin_layout Plain Layout
8228 Gianfranco
8229 \end_layout
8230
8231 \end_inset
8232 </cell>
8233 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8234 \begin_inset Text
8235
8236 \begin_layout Plain Layout
8237 111
8238 \end_layout
8239
8240 \end_inset
8241 </cell>
8242 </row>
8243 <row>
8244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8245 \begin_inset Text
8246
8247 \begin_layout Plain Layout
8248
8249 \series bold
8250 Dal Bosco
8251 \end_layout
8252
8253 \end_inset
8254 </cell>
8255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8256 \begin_inset Text
8257
8258 \begin_layout Plain Layout
8259 Carolina
8260 \end_layout
8261
8262 \end_inset
8263 </cell>
8264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8265 \begin_inset Text
8266
8267 \begin_layout Plain Layout
8268 111
8269 \end_layout
8270
8271 \end_inset
8272 </cell>
8273 </row>
8274 <row>
8275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8276 \begin_inset Text
8277
8278 \begin_layout Plain Layout
8279
8280 \series bold
8281 Dalpiaz
8282 \end_layout
8283
8284 \end_inset
8285 </cell>
8286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8287 \begin_inset Text
8288
8289 \begin_layout Plain Layout
8290 Annamaria
8291 \end_layout
8292
8293 \end_inset
8294 </cell>
8295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8296 \begin_inset Text
8297
8298 \begin_layout Plain Layout
8299 111
8300 \end_layout
8301
8302 \end_inset
8303 </cell>
8304 </row>
8305 <row>
8306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8307 \begin_inset Text
8308
8309 \begin_layout Plain Layout
8310
8311 \series bold
8312 Feliciello
8313 \end_layout
8314
8315 \end_inset
8316 </cell>
8317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8318 \begin_inset Text
8319
8320 \begin_layout Plain Layout
8321 Domenico
8322 \end_layout
8323
8324 \end_inset
8325 </cell>
8326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8327 \begin_inset Text
8328
8329 \begin_layout Plain Layout
8330 111
8331 \end_layout
8332
8333 \end_inset
8334 </cell>
8335 </row>
8336 <row>
8337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8338 \begin_inset Text
8339
8340 \begin_layout Plain Layout
8341
8342 \series bold
8343 Focarelli
8344 \end_layout
8345
8346 \end_inset
8347 </cell>
8348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8349 \begin_inset Text
8350
8351 \begin_layout Plain Layout
8352 Paola
8353 \end_layout
8354
8355 \end_inset
8356 </cell>
8357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8358 \begin_inset Text
8359
8360 \begin_layout Plain Layout
8361 111
8362 \end_layout
8363
8364 \end_inset
8365 </cell>
8366 </row>
8367 <row>
8368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8369 \begin_inset Text
8370
8371 \begin_layout Plain Layout
8372
8373 \series bold
8374 Galletti
8375 \end_layout
8376
8377 \end_inset
8378 </cell>
8379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8380 \begin_inset Text
8381
8382 \begin_layout Plain Layout
8383 Oreste
8384 \end_layout
8385
8386 \end_inset
8387 </cell>
8388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8389 \begin_inset Text
8390
8391 \begin_layout Plain Layout
8392 111
8393 \end_layout
8394
8395 \end_inset
8396 </cell>
8397 </row>
8398 <row>
8399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8400 \begin_inset Text
8401
8402 \begin_layout Plain Layout
8403
8404 \series bold
8405 Gasparini
8406 \end_layout
8407
8408 \end_inset
8409 </cell>
8410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8411 \begin_inset Text
8412
8413 \begin_layout Plain Layout
8414 Franca
8415 \end_layout
8416
8417 \end_inset
8418 </cell>
8419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8420 \begin_inset Text
8421
8422 \begin_layout Plain Layout
8423 111
8424 \end_layout
8425
8426 \end_inset
8427 </cell>
8428 </row>
8429 <row>
8430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8431 \begin_inset Text
8432
8433 \begin_layout Plain Layout
8434
8435 \series bold
8436 Rizzardi
8437 \series default
8438
8439 \begin_inset Foot
8440 status open
8441
8442 \begin_layout Plain Layout
8443 Example footnote
8444 \end_layout
8445
8446 \end_inset
8447
8448
8449 \end_layout
8450
8451 \end_inset
8452 </cell>
8453 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8454 \begin_inset Text
8455
8456 \begin_layout Plain Layout
8457 Paola
8458 \end_layout
8459
8460 \end_inset
8461 </cell>
8462 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8463 \begin_inset Text
8464
8465 \begin_layout Plain Layout
8466 111
8467 \end_layout
8468
8469 \end_inset
8470 </cell>
8471 </row>
8472 <row>
8473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8474 \begin_inset Text
8475
8476 \begin_layout Plain Layout
8477
8478 \series bold
8479 Lassini
8480 \end_layout
8481
8482 \end_inset
8483 </cell>
8484 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8485 \begin_inset Text
8486
8487 \begin_layout Plain Layout
8488 Giancarlo
8489 \end_layout
8490
8491 \end_inset
8492 </cell>
8493 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8494 \begin_inset Text
8495
8496 \begin_layout Plain Layout
8497 111
8498 \end_layout
8499
8500 \end_inset
8501 </cell>
8502 </row>
8503 <row>
8504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8505 \begin_inset Text
8506
8507 \begin_layout Plain Layout
8508
8509 \series bold
8510 Malfatti
8511 \end_layout
8512
8513 \end_inset
8514 </cell>
8515 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8516 \begin_inset Text
8517
8518 \begin_layout Plain Layout
8519 Luciano
8520 \end_layout
8521
8522 \end_inset
8523 </cell>
8524 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8525 \begin_inset Text
8526
8527 \begin_layout Plain Layout
8528 111
8529 \end_layout
8530
8531 \end_inset
8532 </cell>
8533 </row>
8534 <row>
8535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8536 \begin_inset Text
8537
8538 \begin_layout Plain Layout
8539
8540 \series bold
8541 Malfatti
8542 \end_layout
8543
8544 \end_inset
8545 </cell>
8546 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8547 \begin_inset Text
8548
8549 \begin_layout Plain Layout
8550 Valeriano
8551 \end_layout
8552
8553 \end_inset
8554 </cell>
8555 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8556 \begin_inset Text
8557
8558 \begin_layout Plain Layout
8559 111
8560 \end_layout
8561
8562 \end_inset
8563 </cell>
8564 </row>
8565 <row>
8566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8567 \begin_inset Text
8568
8569 \begin_layout Plain Layout
8570
8571 \series bold
8572 Meneguzzo
8573 \end_layout
8574
8575 \end_inset
8576 </cell>
8577 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8578 \begin_inset Text
8579
8580 \begin_layout Plain Layout
8581 Roberto
8582 \end_layout
8583
8584 \end_inset
8585 </cell>
8586 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8587 \begin_inset Text
8588
8589 \begin_layout Plain Layout
8590 111
8591 \end_layout
8592
8593 \end_inset
8594 </cell>
8595 </row>
8596 <row>
8597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8598 \begin_inset Text
8599
8600 \begin_layout Plain Layout
8601
8602 \series bold
8603 Mezzadra
8604 \end_layout
8605
8606 \end_inset
8607 </cell>
8608 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8609 \begin_inset Text
8610
8611 \begin_layout Plain Layout
8612 Roberto
8613 \end_layout
8614
8615 \end_inset
8616 </cell>
8617 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Plain Layout
8621 111
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 </row>
8627 <row>
8628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Plain Layout
8632
8633 \series bold
8634 Pirpamer
8635 \end_layout
8636
8637 \end_inset
8638 </cell>
8639 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Plain Layout
8643 Erich
8644 \end_layout
8645
8646 \end_inset
8647 </cell>
8648 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8649 \begin_inset Text
8650
8651 \begin_layout Plain Layout
8652 111
8653 \end_layout
8654
8655 \end_inset
8656 </cell>
8657 </row>
8658 <row>
8659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Plain Layout
8663
8664 \series bold
8665 Pochiesa
8666 \end_layout
8667
8668 \end_inset
8669 </cell>
8670 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8671 \begin_inset Text
8672
8673 \begin_layout Plain Layout
8674 Paolo
8675 \end_layout
8676
8677 \end_inset
8678 </cell>
8679 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8680 \begin_inset Text
8681
8682 \begin_layout Plain Layout
8683 111, 222
8684 \end_layout
8685
8686 \end_inset
8687 </cell>
8688 </row>
8689 <row>
8690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Plain Layout
8694
8695 \series bold
8696 Radina
8697 \end_layout
8698
8699 \end_inset
8700 </cell>
8701 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8702 \begin_inset Text
8703
8704 \begin_layout Plain Layout
8705 Claudio
8706 \end_layout
8707
8708 \end_inset
8709 </cell>
8710 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8711 \begin_inset Text
8712
8713 \begin_layout Plain Layout
8714 111
8715 \end_layout
8716
8717 \end_inset
8718 </cell>
8719 </row>
8720 <row>
8721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8722 \begin_inset Text
8723
8724 \begin_layout Plain Layout
8725
8726 \series bold
8727 Stuffer
8728 \end_layout
8729
8730 \end_inset
8731 </cell>
8732 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8733 \begin_inset Text
8734
8735 \begin_layout Plain Layout
8736 Oskar
8737 \end_layout
8738
8739 \end_inset
8740 </cell>
8741 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8742 \begin_inset Text
8743
8744 \begin_layout Plain Layout
8745 111
8746 \end_layout
8747
8748 \end_inset
8749 </cell>
8750 </row>
8751 <row>
8752 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8753 \begin_inset Text
8754
8755 \begin_layout Plain Layout
8756
8757 \series bold
8758 Tacchelli
8759 \end_layout
8760
8761 \end_inset
8762 </cell>
8763 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8764 \begin_inset Text
8765
8766 \begin_layout Plain Layout
8767 Ugo
8768 \end_layout
8769
8770 \end_inset
8771 </cell>
8772 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8773 \begin_inset Text
8774
8775 \begin_layout Plain Layout
8776 111
8777 \end_layout
8778
8779 \end_inset
8780 </cell>
8781 </row>
8782 <row>
8783 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8784 \begin_inset Text
8785
8786 \begin_layout Plain Layout
8787
8788 \series bold
8789 Tezzele
8790 \end_layout
8791
8792 \end_inset
8793 </cell>
8794 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8795 \begin_inset Text
8796
8797 \begin_layout Plain Layout
8798 Margit
8799 \end_layout
8800
8801 \end_inset
8802 </cell>
8803 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8804 \begin_inset Text
8805
8806 \begin_layout Plain Layout
8807 111
8808 \end_layout
8809
8810 \end_inset
8811 </cell>
8812 </row>
8813 <row>
8814 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8815 \begin_inset Text
8816
8817 \begin_layout Plain Layout
8818
8819 \series bold
8820 Unterkalmsteiner
8821 \end_layout
8822
8823 \end_inset
8824 </cell>
8825 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8826 \begin_inset Text
8827
8828 \begin_layout Plain Layout
8829 Frieda
8830 \end_layout
8831
8832 \end_inset
8833 </cell>
8834 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8835 \begin_inset Text
8836
8837 \begin_layout Plain Layout
8838 111
8839 \end_layout
8840
8841 \end_inset
8842 </cell>
8843 </row>
8844 <row>
8845 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8846 \begin_inset Text
8847
8848 \begin_layout Plain Layout
8849
8850 \series bold
8851 Vieider
8852 \end_layout
8853
8854 \end_inset
8855 </cell>
8856 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8857 \begin_inset Text
8858
8859 \begin_layout Plain Layout
8860 Hilde
8861 \end_layout
8862
8863 \end_inset
8864 </cell>
8865 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8866 \begin_inset Text
8867
8868 \begin_layout Plain Layout
8869 111
8870 \end_layout
8871
8872 \end_inset
8873 </cell>
8874 </row>
8875 <row>
8876 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8877 \begin_inset Text
8878
8879 \begin_layout Plain Layout
8880
8881 \series bold
8882 Vigna
8883 \end_layout
8884
8885 \end_inset
8886 </cell>
8887 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8888 \begin_inset Text
8889
8890 \begin_layout Plain Layout
8891 Jürgen
8892 \end_layout
8893
8894 \end_inset
8895 </cell>
8896 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8897 \begin_inset Text
8898
8899 \begin_layout Plain Layout
8900 111
8901 \end_layout
8902
8903 \end_inset
8904 </cell>
8905 </row>
8906 <row>
8907 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8908 \begin_inset Text
8909
8910 \begin_layout Plain Layout
8911
8912 \series bold
8913 Weber
8914 \end_layout
8915
8916 \end_inset
8917 </cell>
8918 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8919 \begin_inset Text
8920
8921 \begin_layout Plain Layout
8922 Maurizio
8923 \end_layout
8924
8925 \end_inset
8926 </cell>
8927 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8928 \begin_inset Text
8929
8930 \begin_layout Plain Layout
8931 111
8932 \end_layout
8933
8934 \end_inset
8935 </cell>
8936 </row>
8937 <row>
8938 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8939 \begin_inset Text
8940
8941 \begin_layout Plain Layout
8942
8943 \series bold
8944 Winkler
8945 \end_layout
8946
8947 \end_inset
8948 </cell>
8949 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8950 \begin_inset Text
8951
8952 \begin_layout Plain Layout
8953 Franz
8954 \end_layout
8955
8956 \end_inset
8957 </cell>
8958 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8959 \begin_inset Text
8960
8961 \begin_layout Plain Layout
8962 111
8963 \end_layout
8964
8965 \end_inset
8966 </cell>
8967 </row>
8968 <row>
8969 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8970 \begin_inset Text
8971
8972 \begin_layout Plain Layout
8973  
8974 \end_layout
8975
8976 \end_inset
8977 </cell>
8978 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8979 \begin_inset Text
8980
8981 \begin_layout Plain Layout
8982
8983 \end_layout
8984
8985 \end_inset
8986 </cell>
8987 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8988 \begin_inset Text
8989
8990 \begin_layout Plain Layout
8991
8992 \end_layout
8993
8994 \end_inset
8995 </cell>
8996 </row>
8997 <row>
8998 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8999 \begin_inset Text
9000
9001 \begin_layout Plain Layout
9002
9003 \series bold
9004 Annovi
9005 \end_layout
9006
9007 \end_inset
9008 </cell>
9009 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9010 \begin_inset Text
9011
9012 \begin_layout Plain Layout
9013 Silvia
9014 \end_layout
9015
9016 \end_inset
9017 </cell>
9018 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9019 \begin_inset Text
9020
9021 \begin_layout Plain Layout
9022 555
9023 \end_layout
9024
9025 \end_inset
9026 </cell>
9027 </row>
9028 <row>
9029 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9030 \begin_inset Text
9031
9032 \begin_layout Plain Layout
9033
9034 \series bold
9035 Bertoli
9036 \end_layout
9037
9038 \end_inset
9039 </cell>
9040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9041 \begin_inset Text
9042
9043 \begin_layout Plain Layout
9044 Stefano
9045 \end_layout
9046
9047 \end_inset
9048 </cell>
9049 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9050 \begin_inset Text
9051
9052 \begin_layout Plain Layout
9053 555
9054 \end_layout
9055
9056 \end_inset
9057 </cell>
9058 </row>
9059 <row>
9060 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9061 \begin_inset Text
9062
9063 \begin_layout Plain Layout
9064
9065 \series bold
9066 Bozzi
9067 \end_layout
9068
9069 \end_inset
9070 </cell>
9071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9072 \begin_inset Text
9073
9074 \begin_layout Plain Layout
9075 Walter
9076 \end_layout
9077
9078 \end_inset
9079 </cell>
9080 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9081 \begin_inset Text
9082
9083 \begin_layout Plain Layout
9084 555
9085 \end_layout
9086
9087 \end_inset
9088 </cell>
9089 </row>
9090 <row>
9091 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9092 \begin_inset Text
9093
9094 \begin_layout Plain Layout
9095
9096 \series bold
9097 Cachia
9098 \end_layout
9099
9100 \end_inset
9101 </cell>
9102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9103 \begin_inset Text
9104
9105 \begin_layout Plain Layout
9106 Maria
9107 \end_layout
9108
9109 \end_inset
9110 </cell>
9111 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9112 \begin_inset Text
9113
9114 \begin_layout Plain Layout
9115 555
9116 \end_layout
9117
9118 \end_inset
9119 </cell>
9120 </row>
9121 <row>
9122 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9123 \begin_inset Text
9124
9125 \begin_layout Plain Layout
9126
9127 \series bold
9128 Cachia
9129 \end_layout
9130
9131 \end_inset
9132 </cell>
9133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9134 \begin_inset Text
9135
9136 \begin_layout Plain Layout
9137 Maurizio
9138 \end_layout
9139
9140 \end_inset
9141 </cell>
9142 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9143 \begin_inset Text
9144
9145 \begin_layout Plain Layout
9146 555
9147 \end_layout
9148
9149 \end_inset
9150 </cell>
9151 </row>
9152 <row>
9153 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9154 \begin_inset Text
9155
9156 \begin_layout Plain Layout
9157
9158 \series bold
9159 Cinquemani
9160 \end_layout
9161
9162 \end_inset
9163 </cell>
9164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9165 \begin_inset Text
9166
9167 \begin_layout Plain Layout
9168 Giusi
9169 \end_layout
9170
9171 \end_inset
9172 </cell>
9173 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9174 \begin_inset Text
9175
9176 \begin_layout Plain Layout
9177 555
9178 \end_layout
9179
9180 \end_inset
9181 </cell>
9182 </row>
9183 <row>
9184 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9185 \begin_inset Text
9186
9187 \begin_layout Plain Layout
9188
9189 \series bold
9190 Colin
9191 \end_layout
9192
9193 \end_inset
9194 </cell>
9195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9196 \begin_inset Text
9197
9198 \begin_layout Plain Layout
9199 Bernard
9200 \end_layout
9201
9202 \end_inset
9203 </cell>
9204 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9205 \begin_inset Text
9206
9207 \begin_layout Plain Layout
9208 555
9209 \end_layout
9210
9211 \end_inset
9212 </cell>
9213 </row>
9214 <row>
9215 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9216 \begin_inset Text
9217
9218 \begin_layout Plain Layout
9219
9220 \series bold
9221 Concli
9222 \end_layout
9223
9224 \end_inset
9225 </cell>
9226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9227 \begin_inset Text
9228
9229 \begin_layout Plain Layout
9230 Gianfranco
9231 \end_layout
9232
9233 \end_inset
9234 </cell>
9235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9236 \begin_inset Text
9237
9238 \begin_layout Plain Layout
9239 555
9240 \end_layout
9241
9242 \end_inset
9243 </cell>
9244 </row>
9245 <row>
9246 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9247 \begin_inset Text
9248
9249 \begin_layout Plain Layout
9250
9251 \series bold
9252 Dal Bosco
9253 \end_layout
9254
9255 \end_inset
9256 </cell>
9257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9258 \begin_inset Text
9259
9260 \begin_layout Plain Layout
9261 Carolina
9262 \end_layout
9263
9264 \end_inset
9265 </cell>
9266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9267 \begin_inset Text
9268
9269 \begin_layout Plain Layout
9270 555
9271 \end_layout
9272
9273 \end_inset
9274 </cell>
9275 </row>
9276 <row>
9277 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9278 \begin_inset Text
9279
9280 \begin_layout Plain Layout
9281
9282 \series bold
9283 Dalpiaz
9284 \end_layout
9285
9286 \end_inset
9287 </cell>
9288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9289 \begin_inset Text
9290
9291 \begin_layout Plain Layout
9292 Annamaria
9293 \end_layout
9294
9295 \end_inset
9296 </cell>
9297 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9298 \begin_inset Text
9299
9300 \begin_layout Plain Layout
9301 555
9302 \end_layout
9303
9304 \end_inset
9305 </cell>
9306 </row>
9307 <row>
9308 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9309 \begin_inset Text
9310
9311 \begin_layout Plain Layout
9312
9313 \series bold
9314 Feliciello
9315 \end_layout
9316
9317 \end_inset
9318 </cell>
9319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9320 \begin_inset Text
9321
9322 \begin_layout Plain Layout
9323 Domenico
9324 \end_layout
9325
9326 \end_inset
9327 </cell>
9328 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9329 \begin_inset Text
9330
9331 \begin_layout Plain Layout
9332 555
9333 \end_layout
9334
9335 \end_inset
9336 </cell>
9337 </row>
9338 <row>
9339 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9340 \begin_inset Text
9341
9342 \begin_layout Plain Layout
9343
9344 \series bold
9345 Focarelli
9346 \end_layout
9347
9348 \end_inset
9349 </cell>
9350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9351 \begin_inset Text
9352
9353 \begin_layout Plain Layout
9354 Paola
9355 \end_layout
9356
9357 \end_inset
9358 </cell>
9359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9360 \begin_inset Text
9361
9362 \begin_layout Plain Layout
9363 555
9364 \end_layout
9365
9366 \end_inset
9367 </cell>
9368 </row>
9369 <row>
9370 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9371 \begin_inset Text
9372
9373 \begin_layout Plain Layout
9374
9375 \series bold
9376 Galletti
9377 \end_layout
9378
9379 \end_inset
9380 </cell>
9381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9382 \begin_inset Text
9383
9384 \begin_layout Plain Layout
9385 Oreste
9386 \end_layout
9387
9388 \end_inset
9389 </cell>
9390 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9391 \begin_inset Text
9392
9393 \begin_layout Plain Layout
9394 555
9395 \end_layout
9396
9397 \end_inset
9398 </cell>
9399 </row>
9400 <row>
9401 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9402 \begin_inset Text
9403
9404 \begin_layout Plain Layout
9405
9406 \series bold
9407 Gasparini
9408 \end_layout
9409
9410 \end_inset
9411 </cell>
9412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9413 \begin_inset Text
9414
9415 \begin_layout Plain Layout
9416 Franca
9417 \end_layout
9418
9419 \end_inset
9420 </cell>
9421 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9422 \begin_inset Text
9423
9424 \begin_layout Plain Layout
9425 555
9426 \end_layout
9427
9428 \end_inset
9429 </cell>
9430 </row>
9431 <row>
9432 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9433 \begin_inset Text
9434
9435 \begin_layout Plain Layout
9436
9437 \series bold
9438 Rizzardi
9439 \end_layout
9440
9441 \end_inset
9442 </cell>
9443 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9444 \begin_inset Text
9445
9446 \begin_layout Plain Layout
9447 Paola
9448 \end_layout
9449
9450 \end_inset
9451 </cell>
9452 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9453 \begin_inset Text
9454
9455 \begin_layout Plain Layout
9456 555
9457 \end_layout
9458
9459 \end_inset
9460 </cell>
9461 </row>
9462 <row>
9463 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9464 \begin_inset Text
9465
9466 \begin_layout Plain Layout
9467
9468 \series bold
9469 Lassini
9470 \end_layout
9471
9472 \end_inset
9473 </cell>
9474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9475 \begin_inset Text
9476
9477 \begin_layout Plain Layout
9478 Giancarlo
9479 \end_layout
9480
9481 \end_inset
9482 </cell>
9483 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9484 \begin_inset Text
9485
9486 \begin_layout Plain Layout
9487 555
9488 \end_layout
9489
9490 \end_inset
9491 </cell>
9492 </row>
9493 <row>
9494 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9495 \begin_inset Text
9496
9497 \begin_layout Plain Layout
9498
9499 \series bold
9500 Malfatti
9501 \end_layout
9502
9503 \end_inset
9504 </cell>
9505 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9506 \begin_inset Text
9507
9508 \begin_layout Plain Layout
9509 Luciano
9510 \end_layout
9511
9512 \end_inset
9513 </cell>
9514 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9515 \begin_inset Text
9516
9517 \begin_layout Plain Layout
9518 555
9519 \end_layout
9520
9521 \end_inset
9522 </cell>
9523 </row>
9524 <row>
9525 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9526 \begin_inset Text
9527
9528 \begin_layout Plain Layout
9529
9530 \series bold
9531 Malfatti
9532 \end_layout
9533
9534 \end_inset
9535 </cell>
9536 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9537 \begin_inset Text
9538
9539 \begin_layout Plain Layout
9540 Valeriano
9541 \end_layout
9542
9543 \end_inset
9544 </cell>
9545 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9546 \begin_inset Text
9547
9548 \begin_layout Plain Layout
9549 555
9550 \end_layout
9551
9552 \end_inset
9553 </cell>
9554 </row>
9555 <row>
9556 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9557 \begin_inset Text
9558
9559 \begin_layout Plain Layout
9560
9561 \series bold
9562 Meneguzzo
9563 \end_layout
9564
9565 \end_inset
9566 </cell>
9567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9568 \begin_inset Text
9569
9570 \begin_layout Plain Layout
9571 Roberto
9572 \end_layout
9573
9574 \end_inset
9575 </cell>
9576 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9577 \begin_inset Text
9578
9579 \begin_layout Plain Layout
9580 555
9581 \end_layout
9582
9583 \end_inset
9584 </cell>
9585 </row>
9586 <row>
9587 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9588 \begin_inset Text
9589
9590 \begin_layout Plain Layout
9591
9592 \series bold
9593 Mezzadra
9594 \end_layout
9595
9596 \end_inset
9597 </cell>
9598 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9599 \begin_inset Text
9600
9601 \begin_layout Plain Layout
9602 Roberto
9603 \end_layout
9604
9605 \end_inset
9606 </cell>
9607 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9608 \begin_inset Text
9609
9610 \begin_layout Plain Layout
9611 555
9612 \end_layout
9613
9614 \end_inset
9615 </cell>
9616 </row>
9617 </lyxtabular>
9618
9619 \end_inset
9620
9621
9622 \end_layout
9623
9624 \begin_layout Section
9625 Special Longtable Issues
9626 \begin_inset CommandInset label
9627 LatexCommand label
9628 name "sec:Special-Longtable-Issues"
9629
9630 \end_inset
9631
9632
9633 \end_layout
9634
9635 \begin_layout Subsection
9636 Longtable Calculation
9637 \begin_inset Index idx
9638 status collapsed
9639
9640 \begin_layout Plain Layout
9641 Longtables ! Calculation
9642 \end_layout
9643
9644 \end_inset
9645
9646
9647 \end_layout
9648
9649 \begin_layout Standard
9650 LaTeX calculates the height of table pages and their page breaks using so
9651  called chunks.
9652  Chunks are parts of tables that held at the same time in LaTeX's memory.
9653  The default value was historically set to only 20 table rows.
9654  If you are using longtables with many pages this may slow down the creation
9655  of your document.
9656  You can safely increase the chunk size to values of 100-1000 by adding
9657  this command line to your document preamble:
9658 \end_layout
9659
9660 \begin_layout Standard
9661
9662 \series bold
9663
9664 \backslash
9665 setcounter{LTchunksize}{100}
9666 \end_layout
9667
9668 \begin_layout Subsection
9669 Floats and Longtables
9670 \begin_inset Index idx
9671 status collapsed
9672
9673 \begin_layout Plain Layout
9674 Longtables ! Floats
9675 \end_layout
9676
9677 \end_inset
9678
9679
9680 \end_layout
9681
9682 \begin_layout Standard
9683 There might be problems when a float appears on the same page where a longtable
9684  starts.
9685  To avoid such a situation, insert a 
9686 \begin_inset Quotes eld
9687 \end_inset
9688
9689 clear page
9690 \begin_inset Quotes erd
9691 \end_inset
9692
9693  (menu 
9694 \family sans
9695 Insert\SpecialChar \menuseparator
9696 Formatting\SpecialChar \menuseparator
9697 Clear
9698 \begin_inset space ~
9699 \end_inset
9700
9701 Page
9702 \family default
9703 ) before your longtable.
9704 \end_layout
9705
9706 \begin_layout Subsection
9707 Forced Page Breaks
9708 \begin_inset Index idx
9709 status collapsed
9710
9711 \begin_layout Plain Layout
9712 Longtables ! Forced Page Breaks
9713 \end_layout
9714
9715 \end_inset
9716
9717
9718 \end_layout
9719
9720 \begin_layout Standard
9721 By default tables are only broken between rows.
9722  If you have a cell with multiples lines and want to have a page break within
9723  the cell, insert the new line command 
9724 \begin_inset Quotes eld
9725 \end_inset
9726
9727
9728 \series bold
9729
9730 \backslash
9731
9732 \backslash
9733
9734 \series default
9735
9736 \begin_inset Quotes erd
9737 \end_inset
9738
9739  as TeX-Code at the point of the cell where it can be broken.
9740  Before the 
9741 \series bold
9742
9743 \backslash
9744
9745 \backslash
9746
9747 \series default
9748  command you have to insert in TeX-Code as many 
9749 \begin_inset Quotes eld
9750 \end_inset
9751
9752
9753 \series bold
9754 &
9755 \series default
9756
9757 \begin_inset Quotes erd
9758 \end_inset
9759
9760  characters as the number of the following table columns.
9761  The 
9762 \series bold
9763 &
9764 \series default
9765  is the character to separate table cells.
9766  Write in TeX-Code after each 
9767 \series bold
9768 &
9769 \series default
9770  the content of the corresponding following cell and delete the content
9771  of these cells.
9772 \begin_inset Newline newline
9773 \end_inset
9774
9775 After the 
9776 \series bold
9777
9778 \backslash
9779
9780 \backslash
9781
9782 \series default
9783  command, insert as many 
9784 \series bold
9785 &
9786 \series default
9787  characters as the number of table columns before the current column.
9788  In Table
9789 \begin_inset space ~
9790 \end_inset
9791
9792
9793 \begin_inset CommandInset ref
9794 LatexCommand ref
9795 reference "tab:ForcedPagebreak"
9796
9797 \end_inset
9798
9799  the cell that should be broken is in the second column followed by another
9800  column.
9801  Therefore the following command was inserted in the cell as TeX-Code after
9802  
9803 \begin_inset Quotes eld
9804 \end_inset
9805
9806
9807 \emph on
9808 Castelchiodato,
9809 \emph default
9810
9811 \begin_inset Quotes erd
9812 \end_inset
9813
9814 :
9815 \end_layout
9816
9817 \begin_layout Standard
9818
9819 \series bold
9820 & 111
9821 \backslash
9822
9823 \backslash
9824  
9825 \backslash
9826 newpage
9827 \begin_inset Newline newline
9828 \end_inset
9829
9830 &
9831 \end_layout
9832
9833 \begin_layout Standard
9834 The 
9835 \begin_inset Quotes eld
9836 \end_inset
9837
9838 111
9839 \begin_inset Quotes erd
9840 \end_inset
9841
9842  in the third column of the row was deleted.
9843  
9844 \series bold
9845
9846 \backslash
9847 newpage
9848 \series default
9849  is only needed when a page break should definitely occur at this position,
9850  otherwise it would be a conditional break.
9851  If your footer row of the longtable has for a certain reason no upper line
9852  but you would have a horizontal line where the cell is broken, use this
9853  command instead:
9854 \end_layout
9855
9856 \begin_layout Standard
9857
9858 \series bold
9859 & 111
9860 \backslash
9861
9862 \backslash
9863
9864 \begin_inset Newline newline
9865 \end_inset
9866
9867
9868 \backslash
9869 hline &
9870 \end_layout
9871
9872 \begin_layout Standard
9873 When the cell to be broken is in the last column, the command
9874 \end_layout
9875
9876 \begin_layout Standard
9877
9878 \series bold
9879
9880 \backslash
9881 setlength{
9882 \backslash
9883 parfillskip}{0pt}
9884 \end_layout
9885
9886 \begin_layout Standard
9887 must be inserted as TeX-Code at the beginning of the cell.
9888  This ensures that the part of the cell that will be displayed on the new
9889  page appears with the full width.
9890 \end_layout
9891
9892 \begin_layout Standard
9893 \align center
9894 \begin_inset Tabular
9895 <lyxtabular version="3" rows="38" columns="3">
9896 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9897 <column alignment="left" valignment="top" width="0cm">
9898 <column alignment="left" valignment="top" width="3cm">
9899 <column alignment="center" valignment="top" width="0pt">
9900 <row caption="true">
9901 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9902 \begin_inset Text
9903
9904 \begin_layout Plain Layout
9905 \begin_inset Caption
9906
9907 \begin_layout Plain Layout
9908 Table with forced page break in table cell
9909 \begin_inset CommandInset label
9910 LatexCommand label
9911 name "tab:ForcedPagebreak"
9912
9913 \end_inset
9914
9915
9916 \begin_inset Argument
9917 status collapsed
9918
9919 \begin_layout Plain Layout
9920 Table with forced page break in table cell
9921 \end_layout
9922
9923 \end_inset
9924
9925
9926 \end_layout
9927
9928 \end_inset
9929
9930
9931 \end_layout
9932
9933 \end_inset
9934 </cell>
9935 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9936 \begin_inset Text
9937
9938 \begin_layout Plain Layout
9939
9940 \end_layout
9941
9942 \end_inset
9943 </cell>
9944 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9945 \begin_inset Text
9946
9947 \begin_layout Plain Layout
9948
9949 \end_layout
9950
9951 \end_inset
9952 </cell>
9953 </row>
9954 <row endfirsthead="true">
9955 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9956 \begin_inset Text
9957
9958 \begin_layout Plain Layout
9959
9960 \series bold
9961 Example Phone List (ignore the names)
9962 \end_layout
9963
9964 \end_inset
9965 </cell>
9966 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9967 \begin_inset Text
9968
9969 \begin_layout Plain Layout
9970
9971 \end_layout
9972
9973 \end_inset
9974 </cell>
9975 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9976 \begin_inset Text
9977
9978 \begin_layout Plain Layout
9979
9980 \end_layout
9981
9982 \end_inset
9983 </cell>
9984 </row>
9985 <row endfirsthead="true">
9986 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9987 \begin_inset Text
9988
9989 \begin_layout Plain Layout
9990
9991 \series bold
9992 NAME
9993 \end_layout
9994
9995 \end_inset
9996 </cell>
9997 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9998 \begin_inset Text
9999
10000 \begin_layout Plain Layout
10001
10002 \end_layout
10003
10004 \end_inset
10005 </cell>
10006 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10007 \begin_inset Text
10008
10009 \begin_layout Plain Layout
10010
10011 \series bold
10012 TEL.
10013 \end_layout
10014
10015 \end_inset
10016 </cell>
10017 </row>
10018 <row endhead="true">
10019 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10020 \begin_inset Text
10021
10022 \begin_layout Plain Layout
10023 \begin_inset ERT
10024 status collapsed
10025
10026 \begin_layout Plain Layout
10027
10028
10029 \backslash
10030 caption*{Continued Example Phone List}
10031 \backslash
10032
10033 \backslash
10034 %
10035 \end_layout
10036
10037 \end_inset
10038
10039
10040 \end_layout
10041
10042 \end_inset
10043 </cell>
10044 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10045 \begin_inset Text
10046
10047 \begin_layout Plain Layout
10048
10049 \end_layout
10050
10051 \end_inset
10052 </cell>
10053 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10054 \begin_inset Text
10055
10056 \begin_layout Plain Layout
10057
10058 \end_layout
10059
10060 \end_inset
10061 </cell>
10062 </row>
10063 <row endhead="true">
10064 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10065 \begin_inset Text
10066
10067 \begin_layout Plain Layout
10068
10069 \series bold
10070 Example Phone List
10071 \end_layout
10072
10073 \end_inset
10074 </cell>
10075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10076 \begin_inset Text
10077
10078 \begin_layout Plain Layout
10079
10080 \end_layout
10081
10082 \end_inset
10083 </cell>
10084 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10085 \begin_inset Text
10086
10087 \begin_layout Plain Layout
10088
10089 \end_layout
10090
10091 \end_inset
10092 </cell>
10093 </row>
10094 <row endhead="true">
10095 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10096 \begin_inset Text
10097
10098 \begin_layout Plain Layout
10099
10100 \series bold
10101 NAME
10102 \end_layout
10103
10104 \end_inset
10105 </cell>
10106 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10107 \begin_inset Text
10108
10109 \begin_layout Plain Layout
10110
10111 \end_layout
10112
10113 \end_inset
10114 </cell>
10115 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10116 \begin_inset Text
10117
10118 \begin_layout Plain Layout
10119
10120 \series bold
10121 TEL.
10122 \end_layout
10123
10124 \end_inset
10125 </cell>
10126 </row>
10127 <row endfoot="true">
10128 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10129 \begin_inset Text
10130
10131 \begin_layout Plain Layout
10132 continued on next page
10133 \end_layout
10134
10135 \end_inset
10136 </cell>
10137 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10138 \begin_inset Text
10139
10140 \begin_layout Plain Layout
10141
10142 \end_layout
10143
10144 \end_inset
10145 </cell>
10146 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10147 \begin_inset Text
10148
10149 \begin_layout Plain Layout
10150
10151 \end_layout
10152
10153 \end_inset
10154 </cell>
10155 </row>
10156 <row>
10157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10158 \begin_inset Text
10159
10160 \begin_layout Plain Layout
10161
10162 \series bold
10163 Annovi
10164 \end_layout
10165
10166 \end_inset
10167 </cell>
10168 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10169 \begin_inset Text
10170
10171 \begin_layout Plain Layout
10172 Silvia
10173 \end_layout
10174
10175 \end_inset
10176 </cell>
10177 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10178 \begin_inset Text
10179
10180 \begin_layout Plain Layout
10181 111
10182 \end_layout
10183
10184 \end_inset
10185 </cell>
10186 </row>
10187 <row>
10188 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10189 \begin_inset Text
10190
10191 \begin_layout Plain Layout
10192
10193 \series bold
10194 Bertoli
10195 \end_layout
10196
10197 \end_inset
10198 </cell>
10199 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10200 \begin_inset Text
10201
10202 \begin_layout Plain Layout
10203 Stefano
10204 \end_layout
10205
10206 \end_inset
10207 </cell>
10208 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10209 \begin_inset Text
10210
10211 \begin_layout Plain Layout
10212 111
10213 \end_layout
10214
10215 \end_inset
10216 </cell>
10217 </row>
10218 <row>
10219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10220 \begin_inset Text
10221
10222 \begin_layout Plain Layout
10223
10224 \series bold
10225 Bozzi
10226 \end_layout
10227
10228 \end_inset
10229 </cell>
10230 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10231 \begin_inset Text
10232
10233 \begin_layout Plain Layout
10234 Walter
10235 \end_layout
10236
10237 \end_inset
10238 </cell>
10239 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10240 \begin_inset Text
10241
10242 \begin_layout Plain Layout
10243 111
10244 \end_layout
10245
10246 \end_inset
10247 </cell>
10248 </row>
10249 <row>
10250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10251 \begin_inset Text
10252
10253 \begin_layout Plain Layout
10254
10255 \series bold
10256 Cachia
10257 \end_layout
10258
10259 \end_inset
10260 </cell>
10261 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10262 \begin_inset Text
10263
10264 \begin_layout Plain Layout
10265 Maria
10266 \end_layout
10267
10268 \end_inset
10269 </cell>
10270 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10271 \begin_inset Text
10272
10273 \begin_layout Plain Layout
10274 111
10275 \end_layout
10276
10277 \end_inset
10278 </cell>
10279 </row>
10280 <row>
10281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10282 \begin_inset Text
10283
10284 \begin_layout Plain Layout
10285
10286 \series bold
10287 Cachia
10288 \end_layout
10289
10290 \end_inset
10291 </cell>
10292 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10293 \begin_inset Text
10294
10295 \begin_layout Plain Layout
10296 Maurizio
10297 \end_layout
10298
10299 \end_inset
10300 </cell>
10301 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10302 \begin_inset Text
10303
10304 \begin_layout Plain Layout
10305 111
10306 \end_layout
10307
10308 \end_inset
10309 </cell>
10310 </row>
10311 <row>
10312 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10313 \begin_inset Text
10314
10315 \begin_layout Plain Layout
10316
10317 \series bold
10318 Cinquemani
10319 \end_layout
10320
10321 \end_inset
10322 </cell>
10323 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10324 \begin_inset Text
10325
10326 \begin_layout Plain Layout
10327 Giusi
10328 \end_layout
10329
10330 \end_inset
10331 </cell>
10332 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10333 \begin_inset Text
10334
10335 \begin_layout Plain Layout
10336 111
10337 \end_layout
10338
10339 \end_inset
10340 </cell>
10341 </row>
10342 <row>
10343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10344 \begin_inset Text
10345
10346 \begin_layout Plain Layout
10347
10348 \series bold
10349 Colin
10350 \end_layout
10351
10352 \end_inset
10353 </cell>
10354 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10355 \begin_inset Text
10356
10357 \begin_layout Plain Layout
10358 Bernard
10359 \end_layout
10360
10361 \end_inset
10362 </cell>
10363 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10364 \begin_inset Text
10365
10366 \begin_layout Plain Layout
10367 111
10368 \end_layout
10369
10370 \end_inset
10371 </cell>
10372 </row>
10373 <row>
10374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10375 \begin_inset Text
10376
10377 \begin_layout Plain Layout
10378
10379 \series bold
10380 Concli
10381 \end_layout
10382
10383 \end_inset
10384 </cell>
10385 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10386 \begin_inset Text
10387
10388 \begin_layout Plain Layout
10389 Gianfranco
10390 \end_layout
10391
10392 \end_inset
10393 </cell>
10394 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10395 \begin_inset Text
10396
10397 \begin_layout Plain Layout
10398 111
10399 \end_layout
10400
10401 \end_inset
10402 </cell>
10403 </row>
10404 <row>
10405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10406 \begin_inset Text
10407
10408 \begin_layout Plain Layout
10409
10410 \series bold
10411 Dal Bosco
10412 \end_layout
10413
10414 \end_inset
10415 </cell>
10416 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10417 \begin_inset Text
10418
10419 \begin_layout Plain Layout
10420 Carolina
10421 \end_layout
10422
10423 \end_inset
10424 </cell>
10425 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10426 \begin_inset Text
10427
10428 \begin_layout Plain Layout
10429 111
10430 \end_layout
10431
10432 \end_inset
10433 </cell>
10434 </row>
10435 <row>
10436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10437 \begin_inset Text
10438
10439 \begin_layout Plain Layout
10440
10441 \series bold
10442 Dalpiaz
10443 \end_layout
10444
10445 \end_inset
10446 </cell>
10447 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10448 \begin_inset Text
10449
10450 \begin_layout Plain Layout
10451 Annamaria
10452 \end_layout
10453
10454 \end_inset
10455 </cell>
10456 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10457 \begin_inset Text
10458
10459 \begin_layout Plain Layout
10460 111
10461 \end_layout
10462
10463 \end_inset
10464 </cell>
10465 </row>
10466 <row>
10467 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10468 \begin_inset Text
10469
10470 \begin_layout Plain Layout
10471
10472 \series bold
10473 Feliciello
10474 \end_layout
10475
10476 \end_inset
10477 </cell>
10478 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10479 \begin_inset Text
10480
10481 \begin_layout Plain Layout
10482 Domenico
10483 \end_layout
10484
10485 \end_inset
10486 </cell>
10487 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10488 \begin_inset Text
10489
10490 \begin_layout Plain Layout
10491 111
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 </row>
10497 <row>
10498 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10499 \begin_inset Text
10500
10501 \begin_layout Plain Layout
10502
10503 \series bold
10504 Focarelli
10505 \end_layout
10506
10507 \end_inset
10508 </cell>
10509 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10510 \begin_inset Text
10511
10512 \begin_layout Plain Layout
10513 Paola
10514 \end_layout
10515
10516 \end_inset
10517 </cell>
10518 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10519 \begin_inset Text
10520
10521 \begin_layout Plain Layout
10522 111
10523 \end_layout
10524
10525 \end_inset
10526 </cell>
10527 </row>
10528 <row>
10529 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10530 \begin_inset Text
10531
10532 \begin_layout Plain Layout
10533
10534 \series bold
10535 Galletti
10536 \end_layout
10537
10538 \end_inset
10539 </cell>
10540 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10541 \begin_inset Text
10542
10543 \begin_layout Plain Layout
10544 Oreste
10545 \end_layout
10546
10547 \end_inset
10548 </cell>
10549 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10550 \begin_inset Text
10551
10552 \begin_layout Plain Layout
10553 111
10554 \end_layout
10555
10556 \end_inset
10557 </cell>
10558 </row>
10559 <row>
10560 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10561 \begin_inset Text
10562
10563 \begin_layout Plain Layout
10564
10565 \series bold
10566 Gasparini
10567 \end_layout
10568
10569 \end_inset
10570 </cell>
10571 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10572 \begin_inset Text
10573
10574 \begin_layout Plain Layout
10575 Franca
10576 \end_layout
10577
10578 \end_inset
10579 </cell>
10580 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Plain Layout
10584 111
10585 \end_layout
10586
10587 \end_inset
10588 </cell>
10589 </row>
10590 <row>
10591 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10592 \begin_inset Text
10593
10594 \begin_layout Plain Layout
10595
10596 \series bold
10597 Lassini
10598 \end_layout
10599
10600 \end_inset
10601 </cell>
10602 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10603 \begin_inset Text
10604
10605 \begin_layout Plain Layout
10606 Giancarlo
10607 \end_layout
10608
10609 \end_inset
10610 </cell>
10611 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10612 \begin_inset Text
10613
10614 \begin_layout Plain Layout
10615 111
10616 \end_layout
10617
10618 \end_inset
10619 </cell>
10620 </row>
10621 <row>
10622 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Plain Layout
10626
10627 \series bold
10628 Malfatti
10629 \end_layout
10630
10631 \end_inset
10632 </cell>
10633 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10634 \begin_inset Text
10635
10636 \begin_layout Plain Layout
10637 Luciano
10638 \end_layout
10639
10640 \end_inset
10641 </cell>
10642 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10643 \begin_inset Text
10644
10645 \begin_layout Plain Layout
10646 111
10647 \end_layout
10648
10649 \end_inset
10650 </cell>
10651 </row>
10652 <row>
10653 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10654 \begin_inset Text
10655
10656 \begin_layout Plain Layout
10657
10658 \series bold
10659 Malfatti
10660 \end_layout
10661
10662 \end_inset
10663 </cell>
10664 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10665 \begin_inset Text
10666
10667 \begin_layout Plain Layout
10668 Valeriano
10669 \end_layout
10670
10671 \end_inset
10672 </cell>
10673 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10674 \begin_inset Text
10675
10676 \begin_layout Plain Layout
10677 111
10678 \end_layout
10679
10680 \end_inset
10681 </cell>
10682 </row>
10683 <row>
10684 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10685 \begin_inset Text
10686
10687 \begin_layout Plain Layout
10688
10689 \series bold
10690 Meneguzzo
10691 \end_layout
10692
10693 \end_inset
10694 </cell>
10695 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10696 \begin_inset Text
10697
10698 \begin_layout Plain Layout
10699 Roberto
10700 \end_layout
10701
10702 \end_inset
10703 </cell>
10704 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10705 \begin_inset Text
10706
10707 \begin_layout Plain Layout
10708 111
10709 \end_layout
10710
10711 \end_inset
10712 </cell>
10713 </row>
10714 <row>
10715 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10716 \begin_inset Text
10717
10718 \begin_layout Plain Layout
10719
10720 \series bold
10721 Mezzadra
10722 \end_layout
10723
10724 \end_inset
10725 </cell>
10726 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10727 \begin_inset Text
10728
10729 \begin_layout Plain Layout
10730 Roberto
10731 \end_layout
10732
10733 \end_inset
10734 </cell>
10735 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10736 \begin_inset Text
10737
10738 \begin_layout Plain Layout
10739 111
10740 \end_layout
10741
10742 \end_inset
10743 </cell>
10744 </row>
10745 <row>
10746 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10747 \begin_inset Text
10748
10749 \begin_layout Plain Layout
10750
10751 \series bold
10752 Pirpamer
10753 \end_layout
10754
10755 \end_inset
10756 </cell>
10757 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10758 \begin_inset Text
10759
10760 \begin_layout Plain Layout
10761 Erich
10762 \end_layout
10763
10764 \end_inset
10765 </cell>
10766 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10767 \begin_inset Text
10768
10769 \begin_layout Plain Layout
10770 111
10771 \end_layout
10772
10773 \end_inset
10774 </cell>
10775 </row>
10776 <row>
10777 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10778 \begin_inset Text
10779
10780 \begin_layout Plain Layout
10781
10782 \series bold
10783 Pochiesa
10784 \end_layout
10785
10786 \end_inset
10787 </cell>
10788 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10789 \begin_inset Text
10790
10791 \begin_layout Plain Layout
10792 Paolo
10793 \end_layout
10794
10795 \end_inset
10796 </cell>
10797 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10798 \begin_inset Text
10799
10800 \begin_layout Plain Layout
10801 111, 222
10802 \end_layout
10803
10804 \end_inset
10805 </cell>
10806 </row>
10807 <row>
10808 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10809 \begin_inset Text
10810
10811 \begin_layout Plain Layout
10812
10813 \series bold
10814 Radina
10815 \end_layout
10816
10817 \end_inset
10818 </cell>
10819 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10820 \begin_inset Text
10821
10822 \begin_layout Plain Layout
10823 Claudio
10824 \end_layout
10825
10826 \end_inset
10827 </cell>
10828 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10829 \begin_inset Text
10830
10831 \begin_layout Plain Layout
10832 111
10833 \end_layout
10834
10835 \end_inset
10836 </cell>
10837 </row>
10838 <row>
10839 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10840 \begin_inset Text
10841
10842 \begin_layout Plain Layout
10843
10844 \series bold
10845 Rizzardi
10846 \end_layout
10847
10848 \end_inset
10849 </cell>
10850 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10851 \begin_inset Text
10852
10853 \begin_layout Plain Layout
10854 Paolo, 11.
10855  Fürst von Montecompatri, 11.
10856  Fürst von Sulmona und Vivaro, 10.
10857  Fürst von Rossano, 5.
10858  Herzog von Canemorte, 11.
10859  Herzog von Palombara, 5.
10860  Herzog von Castelchiodato,
10861 \begin_inset ERT
10862 status open
10863
10864 \begin_layout Plain Layout
10865
10866 & 111
10867 \backslash
10868
10869 \backslash
10870  
10871 \backslash
10872 newpage
10873 \end_layout
10874
10875 \begin_layout Plain Layout
10876
10877 &
10878 \end_layout
10879
10880 \end_inset
10881
10882  11.
10883  Herzog von Poggionativo, 11.
10884  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10885  Graf von Valinfreda, 11.
10886  Baron von Cropalati, 11.
10887  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10888 \end_layout
10889
10890 \end_inset
10891 </cell>
10892 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10893 \begin_inset Text
10894
10895 \begin_layout Plain Layout
10896
10897 \end_layout
10898
10899 \end_inset
10900 </cell>
10901 </row>
10902 <row>
10903 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10904 \begin_inset Text
10905
10906 \begin_layout Plain Layout
10907
10908 \series bold
10909 Stuffer
10910 \end_layout
10911
10912 \end_inset
10913 </cell>
10914 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10915 \begin_inset Text
10916
10917 \begin_layout Plain Layout
10918 Oskar
10919 \end_layout
10920
10921 \end_inset
10922 </cell>
10923 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10924 \begin_inset Text
10925
10926 \begin_layout Plain Layout
10927 111
10928 \end_layout
10929
10930 \end_inset
10931 </cell>
10932 </row>
10933 <row>
10934 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10935 \begin_inset Text
10936
10937 \begin_layout Plain Layout
10938
10939 \series bold
10940 Tacchelli
10941 \end_layout
10942
10943 \end_inset
10944 </cell>
10945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10946 \begin_inset Text
10947
10948 \begin_layout Plain Layout
10949 Ugo
10950 \end_layout
10951
10952 \end_inset
10953 </cell>
10954 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10955 \begin_inset Text
10956
10957 \begin_layout Plain Layout
10958 111
10959 \end_layout
10960
10961 \end_inset
10962 </cell>
10963 </row>
10964 <row>
10965 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10966 \begin_inset Text
10967
10968 \begin_layout Plain Layout
10969
10970 \series bold
10971 Tezzele
10972 \end_layout
10973
10974 \end_inset
10975 </cell>
10976 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10977 \begin_inset Text
10978
10979 \begin_layout Plain Layout
10980 Margit
10981 \end_layout
10982
10983 \end_inset
10984 </cell>
10985 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10986 \begin_inset Text
10987
10988 \begin_layout Plain Layout
10989 111
10990 \end_layout
10991
10992 \end_inset
10993 </cell>
10994 </row>
10995 <row>
10996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10997 \begin_inset Text
10998
10999 \begin_layout Plain Layout
11000
11001 \series bold
11002 Unterkalmsteiner
11003 \end_layout
11004
11005 \end_inset
11006 </cell>
11007 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11008 \begin_inset Text
11009
11010 \begin_layout Plain Layout
11011 Frieda
11012 \end_layout
11013
11014 \end_inset
11015 </cell>
11016 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11017 \begin_inset Text
11018
11019 \begin_layout Plain Layout
11020 111
11021 \end_layout
11022
11023 \end_inset
11024 </cell>
11025 </row>
11026 <row>
11027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11028 \begin_inset Text
11029
11030 \begin_layout Plain Layout
11031
11032 \series bold
11033 Vieider
11034 \end_layout
11035
11036 \end_inset
11037 </cell>
11038 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11039 \begin_inset Text
11040
11041 \begin_layout Plain Layout
11042 Hilde
11043 \end_layout
11044
11045 \end_inset
11046 </cell>
11047 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11048 \begin_inset Text
11049
11050 \begin_layout Plain Layout
11051 111
11052 \end_layout
11053
11054 \end_inset
11055 </cell>
11056 </row>
11057 <row>
11058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11059 \begin_inset Text
11060
11061 \begin_layout Plain Layout
11062
11063 \series bold
11064 Vigna
11065 \end_layout
11066
11067 \end_inset
11068 </cell>
11069 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11070 \begin_inset Text
11071
11072 \begin_layout Plain Layout
11073 Jürgen
11074 \end_layout
11075
11076 \end_inset
11077 </cell>
11078 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11079 \begin_inset Text
11080
11081 \begin_layout Plain Layout
11082 111
11083 \end_layout
11084
11085 \end_inset
11086 </cell>
11087 </row>
11088 <row>
11089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11090 \begin_inset Text
11091
11092 \begin_layout Plain Layout
11093
11094 \series bold
11095 Weber
11096 \end_layout
11097
11098 \end_inset
11099 </cell>
11100 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11101 \begin_inset Text
11102
11103 \begin_layout Plain Layout
11104 Maurizio
11105 \end_layout
11106
11107 \end_inset
11108 </cell>
11109 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11110 \begin_inset Text
11111
11112 \begin_layout Plain Layout
11113 111
11114 \end_layout
11115
11116 \end_inset
11117 </cell>
11118 </row>
11119 <row>
11120 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11121 \begin_inset Text
11122
11123 \begin_layout Plain Layout
11124
11125 \series bold
11126 Winkler
11127 \end_layout
11128
11129 \end_inset
11130 </cell>
11131 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11132 \begin_inset Text
11133
11134 \begin_layout Plain Layout
11135 Franz
11136 \end_layout
11137
11138 \end_inset
11139 </cell>
11140 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11141 \begin_inset Text
11142
11143 \begin_layout Plain Layout
11144 111
11145 \end_layout
11146
11147 \end_inset
11148 </cell>
11149 </row>
11150 </lyxtabular>
11151
11152 \end_inset
11153
11154
11155 \end_layout
11156
11157 \begin_layout Section
11158 Multiple Lines Columns and Rows
11159 \end_layout
11160
11161 \begin_layout Subsection
11162 Multiple Lines in Table Cells
11163 \begin_inset CommandInset label
11164 LatexCommand label
11165 name "sub:Multiple-Lines-in"
11166
11167 \end_inset
11168
11169
11170 \begin_inset Index idx
11171 status collapsed
11172
11173 \begin_layout Plain Layout
11174 Multiple Lines in Table Cells
11175 \end_layout
11176
11177 \end_inset
11178
11179
11180 \begin_inset Index idx
11181 status collapsed
11182
11183 \begin_layout Plain Layout
11184 Table ! Linebreaks
11185 \end_layout
11186
11187 \end_inset
11188
11189
11190 \end_layout
11191
11192 \begin_layout Standard
11193 \noindent
11194 \begin_inset Float table
11195 placement H
11196 wide false
11197 sideways false
11198 status open
11199
11200 \begin_layout Plain Layout
11201 \begin_inset Caption
11202
11203 \begin_layout Plain Layout
11204 \begin_inset CommandInset label
11205 LatexCommand label
11206 name "tab:Table-with-multiple"
11207
11208 \end_inset
11209
11210 Table with multiple lines in cells
11211 \end_layout
11212
11213 \end_inset
11214
11215
11216 \end_layout
11217
11218 \begin_layout Plain Layout
11219 \align center
11220 \begin_inset Tabular
11221 <lyxtabular version="3" rows="3" columns="3">
11222 <features tabularvalignment="middle">
11223 <column alignment="center" valignment="middle" width="2.5cm">
11224 <column alignment="center" valignment="middle" width="0">
11225 <column alignment="center" valignment="middle" width="0">
11226 <row>
11227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11228 \begin_inset Text
11229
11230 \begin_layout Plain Layout
11231 multiple
11232 \begin_inset Newline linebreak
11233 \end_inset
11234
11235 lines
11236 \end_layout
11237
11238 \end_inset
11239 </cell>
11240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11241 \begin_inset Text
11242
11243 \begin_layout Plain Layout
11244 b
11245 \end_layout
11246
11247 \end_inset
11248 </cell>
11249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11250 \begin_inset Text
11251
11252 \begin_layout Plain Layout
11253 c
11254 \end_layout
11255
11256 \end_inset
11257 </cell>
11258 </row>
11259 <row>
11260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11261 \begin_inset Text
11262
11263 \begin_layout Plain Layout
11264 d
11265 \end_layout
11266
11267 \end_inset
11268 </cell>
11269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11270 \begin_inset Text
11271
11272 \begin_layout Plain Layout
11273 e
11274 \end_layout
11275
11276 \end_inset
11277 </cell>
11278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11279 \begin_inset Text
11280
11281 \begin_layout Plain Layout
11282 f
11283 \end_layout
11284
11285 \end_inset
11286 </cell>
11287 </row>
11288 <row>
11289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11290 \begin_inset Text
11291
11292 \begin_layout Plain Layout
11293 g
11294 \end_layout
11295
11296 \end_inset
11297 </cell>
11298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11299 \begin_inset Text
11300
11301 \begin_layout Plain Layout
11302 h
11303 \end_layout
11304
11305 \end_inset
11306 </cell>
11307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11308 \begin_inset Text
11309
11310 \begin_layout Plain Layout
11311 i
11312 \end_layout
11313
11314 \end_inset
11315 </cell>
11316 </row>
11317 </lyxtabular>
11318
11319 \end_inset
11320
11321
11322 \end_layout
11323
11324 \end_inset
11325
11326
11327 \end_layout
11328
11329 \begin_layout Standard
11330 Setting a fixed width for a column enables you to enter text as a paragraph
11331  with multiple lines and hyphenation.
11332 \end_layout
11333
11334 \begin_layout Standard
11335 To produce Table
11336 \begin_inset space ~
11337 \end_inset
11338
11339
11340 \begin_inset CommandInset ref
11341 LatexCommand ref
11342 reference "tab:Table-with-multiple"
11343
11344 \end_inset
11345
11346 , create a 3×3 table, mark the first cell and right-click on it.
11347  In the appearing table dialog we set a cell width of 2.5
11348 \begin_inset space \thinspace{}
11349 \end_inset
11350
11351 cm and choose centered for the vertical and horizontal alignment.
11352  The vertical alignment is used for all cells of the row.
11353  As our text is smaller than 2.5
11354 \begin_inset space \thinspace{}
11355 \end_inset
11356
11357 cm, only one line will appear.
11358  To get two lines, a justified line break (shortcut 
11359 \begin_inset Info
11360 type  "shortcut"
11361 arg   "newline-insert linebreak"
11362 \end_inset
11363
11364 ) was added.
11365  If the text is wider than the set cell width, it will automatically be
11366  broken to several lines.
11367 \end_layout
11368
11369 \begin_layout Standard
11370 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11371  by LaTeX if it is the first entry.
11372  Therefore you need to insert something to prevent the word not being the
11373  first entry.
11374  So add a horizontal space of 0
11375 \begin_inset space \thinspace{}
11376 \end_inset
11377
11378 pt before the word.
11379  As the space is zero, it doesn't change the output.
11380  Table
11381 \begin_inset space ~
11382 \end_inset
11383
11384
11385 \begin_inset CommandInset ref
11386 LatexCommand ref
11387 reference "tab:Table-with-and"
11388
11389 \end_inset
11390
11391  shows the effect.
11392 \end_layout
11393
11394 \begin_layout Standard
11395 \begin_inset Float table
11396 placement h
11397 wide false
11398 sideways false
11399 status open
11400
11401 \begin_layout Plain Layout
11402 \begin_inset Caption
11403
11404 \begin_layout Plain Layout
11405 \begin_inset CommandInset label
11406 LatexCommand label
11407 name "tab:Table-with-and"
11408
11409 \end_inset
11410
11411 Table with and without hyphenation
11412 \end_layout
11413
11414 \end_inset
11415
11416
11417 \end_layout
11418
11419 \begin_layout Plain Layout
11420 \begin_inset space \hfill{}
11421 \end_inset
11422
11423
11424 \begin_inset Tabular
11425 <lyxtabular version="3" rows="3" columns="3">
11426 <features tabularvalignment="middle">
11427 <column alignment="center" valignment="middle" width="2.5cm">
11428 <column alignment="center" valignment="middle" width="0">
11429 <column alignment="center" valignment="middle" width="0">
11430 <row>
11431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11432 \begin_inset Text
11433
11434 \begin_layout Plain Layout
11435 verylongtablecellword
11436 \end_layout
11437
11438 \end_inset
11439 </cell>
11440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11441 \begin_inset Text
11442
11443 \begin_layout Plain Layout
11444 b
11445 \end_layout
11446
11447 \end_inset
11448 </cell>
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11450 \begin_inset Text
11451
11452 \begin_layout Plain Layout
11453 c
11454 \end_layout
11455
11456 \end_inset
11457 </cell>
11458 </row>
11459 <row>
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11461 \begin_inset Text
11462
11463 \begin_layout Plain Layout
11464 d
11465 \end_layout
11466
11467 \end_inset
11468 </cell>
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11470 \begin_inset Text
11471
11472 \begin_layout Plain Layout
11473 e
11474 \end_layout
11475
11476 \end_inset
11477 </cell>
11478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11479 \begin_inset Text
11480
11481 \begin_layout Plain Layout
11482 f
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 </row>
11488 <row>
11489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11490 \begin_inset Text
11491
11492 \begin_layout Plain Layout
11493 g
11494 \end_layout
11495
11496 \end_inset
11497 </cell>
11498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11499 \begin_inset Text
11500
11501 \begin_layout Plain Layout
11502 h
11503 \end_layout
11504
11505 \end_inset
11506 </cell>
11507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11508 \begin_inset Text
11509
11510 \begin_layout Plain Layout
11511 i
11512 \end_layout
11513
11514 \end_inset
11515 </cell>
11516 </row>
11517 </lyxtabular>
11518
11519 \end_inset
11520
11521
11522 \begin_inset space \hfill{}
11523 \end_inset
11524
11525
11526 \begin_inset Tabular
11527 <lyxtabular version="3" rows="3" columns="3">
11528 <features tabularvalignment="middle">
11529 <column alignment="center" valignment="middle" width="2.5cm">
11530 <column alignment="center" valignment="middle" width="0">
11531 <column alignment="center" valignment="middle" width="0">
11532 <row>
11533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11534 \begin_inset Text
11535
11536 \begin_layout Plain Layout
11537 \begin_inset space \hspace{}
11538 \length 0pt
11539 \end_inset
11540
11541 verylongtablecellword
11542 \end_layout
11543
11544 \end_inset
11545 </cell>
11546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11547 \begin_inset Text
11548
11549 \begin_layout Plain Layout
11550 b
11551 \end_layout
11552
11553 \end_inset
11554 </cell>
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11556 \begin_inset Text
11557
11558 \begin_layout Plain Layout
11559 c
11560 \end_layout
11561
11562 \end_inset
11563 </cell>
11564 </row>
11565 <row>
11566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11567 \begin_inset Text
11568
11569 \begin_layout Plain Layout
11570 d
11571 \end_layout
11572
11573 \end_inset
11574 </cell>
11575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11576 \begin_inset Text
11577
11578 \begin_layout Plain Layout
11579 e
11580 \end_layout
11581
11582 \end_inset
11583 </cell>
11584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11585 \begin_inset Text
11586
11587 \begin_layout Plain Layout
11588 f
11589 \end_layout
11590
11591 \end_inset
11592 </cell>
11593 </row>
11594 <row>
11595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11596 \begin_inset Text
11597
11598 \begin_layout Plain Layout
11599 g
11600 \end_layout
11601
11602 \end_inset
11603 </cell>
11604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11605 \begin_inset Text
11606
11607 \begin_layout Plain Layout
11608 h
11609 \end_layout
11610
11611 \end_inset
11612 </cell>
11613 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11614 \begin_inset Text
11615
11616 \begin_layout Plain Layout
11617 i
11618 \end_layout
11619
11620 \end_inset
11621 </cell>
11622 </row>
11623 </lyxtabular>
11624
11625 \end_inset
11626
11627
11628 \begin_inset space \hfill{}
11629 \end_inset
11630
11631
11632 \end_layout
11633
11634 \end_inset
11635
11636
11637 \end_layout
11638
11639 \begin_layout Subsection
11640 Multicolumns
11641 \begin_inset CommandInset label
11642 LatexCommand label
11643 name "sub:Multicolumns"
11644
11645 \end_inset
11646
11647
11648 \begin_inset Index idx
11649 status collapsed
11650
11651 \begin_layout Plain Layout
11652 Multicolumns
11653 \end_layout
11654
11655 \end_inset
11656
11657
11658 \begin_inset Index idx
11659 status collapsed
11660
11661 \begin_layout Plain Layout
11662 Table ! Multicolumns
11663 \end_layout
11664
11665 \end_inset
11666
11667
11668 \end_layout
11669
11670 \begin_layout Subsubsection
11671 Multicolumn Basics
11672 \end_layout
11673
11674 \begin_layout Standard
11675 To merge cells over multiple columns, select as many cells within a row
11676  as you want to merge and use either the table-toolbar button 
11677 \begin_inset Graphics
11678         filename ../images/tabular-feature_multicolumn.png
11679         scale 85
11680         scaleBeforeRotation
11681
11682 \end_inset
11683
11684 , or the menu 
11685 \family sans
11686 Edit\SpecialChar \menuseparator
11687 Table\SpecialChar \menuseparator
11688 Multicolumn
11689 \family default
11690 , or right click on the marked cells and choose 
11691 \family sans
11692 Multicolumn
11693 \family default
11694  in the context menu.
11695 \end_layout
11696
11697 \begin_layout Standard
11698 Multicolumns have there own cell settings.
11699  That means changing cell borders, cell alignment, and the width only affects
11700  the multicolumn.
11701  Here is an example table with a multicolumn cell in the first row and one
11702  in the last row without the upper border:
11703 \end_layout
11704
11705 \begin_layout Standard
11706 \align center
11707 \begin_inset Tabular
11708 <lyxtabular version="3" rows="3" columns="4">
11709 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11710 <column alignment="center" valignment="top" width="0pt">
11711 <column alignment="center" valignment="middle" width="0">
11712 <column alignment="center" valignment="top" width="0in">
11713 <column alignment="center" valignment="top" width="0pt">
11714 <row>
11715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11716 \begin_inset Text
11717
11718 \begin_layout Plain Layout
11719 abc
11720 \end_layout
11721
11722 \end_inset
11723 </cell>
11724 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11725 \begin_inset Text
11726
11727 \begin_layout Plain Layout
11728 def ghi
11729 \end_layout
11730
11731 \end_inset
11732 </cell>
11733 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11734 \begin_inset Text
11735
11736 \begin_layout Plain Layout
11737
11738 \end_layout
11739
11740 \end_inset
11741 </cell>
11742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11743 \begin_inset Text
11744
11745 \begin_layout Plain Layout
11746 jkl
11747 \end_layout
11748
11749 \end_inset
11750 </cell>
11751 </row>
11752 <row>
11753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11754 \begin_inset Text
11755
11756 \begin_layout Plain Layout
11757
11758 \family roman
11759 \series medium
11760 \shape up
11761 \size normal
11762 \emph off
11763 \bar no
11764 \noun off
11765 \color none
11766 A
11767 \end_layout
11768
11769 \end_inset
11770 </cell>
11771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11772 \begin_inset Text
11773
11774 \begin_layout Plain Layout
11775 B
11776 \end_layout
11777
11778 \end_inset
11779 </cell>
11780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11781 \begin_inset Text
11782
11783 \begin_layout Plain Layout
11784 C
11785 \end_layout
11786
11787 \end_inset
11788 </cell>
11789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11790 \begin_inset Text
11791
11792 \begin_layout Plain Layout
11793 D
11794 \end_layout
11795
11796 \end_inset
11797 </cell>
11798 </row>
11799 <row>
11800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11801 \begin_inset Text
11802
11803 \begin_layout Plain Layout
11804 1
11805 \end_layout
11806
11807 \end_inset
11808 </cell>
11809 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11810 \begin_inset Text
11811
11812 \begin_layout Plain Layout
11813 2
11814 \end_layout
11815
11816 \end_inset
11817 </cell>
11818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11819 \begin_inset Text
11820
11821 \begin_layout Plain Layout
11822 3
11823 \end_layout
11824
11825 \end_inset
11826 </cell>
11827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11828 \begin_inset Text
11829
11830 \begin_layout Plain Layout
11831 4
11832 \end_layout
11833
11834 \end_inset
11835 </cell>
11836 </row>
11837 </lyxtabular>
11838
11839 \end_inset
11840
11841
11842 \end_layout
11843
11844 \begin_layout Subsubsection
11845 Multicolumn Calculations
11846 \begin_inset CommandInset label
11847 LatexCommand label
11848 name "sub:Multicolumn-Calculations"
11849
11850 \end_inset
11851
11852
11853 \begin_inset Index idx
11854 status collapsed
11855
11856 \begin_layout Plain Layout
11857 Multicolumns ! Calculations
11858 \end_layout
11859
11860 \end_inset
11861
11862
11863 \end_layout
11864
11865 \begin_layout Standard
11866 LyX supports multicolumns directly, but we have to take account of the cell
11867  width of the columns spanned by the multicolumn cell.
11868 \end_layout
11869
11870 \begin_layout Standard
11871 \begin_inset Float table
11872 placement h
11873 wide false
11874 sideways false
11875 status open
11876
11877 \begin_layout Plain Layout
11878 \begin_inset Caption
11879
11880 \begin_layout Plain Layout
11881 \begin_inset CommandInset label
11882 LatexCommand label
11883 name "tab:Table-with-centered"
11884
11885 \end_inset
11886
11887 Table with centered multicolumn text above two columns that have exactly
11888  half the width of the multicolumn cell
11889 \begin_inset Argument
11890 status collapsed
11891
11892 \begin_layout Plain Layout
11893 Perfect multicolumn table
11894 \end_layout
11895
11896 \end_inset
11897
11898
11899 \end_layout
11900
11901 \end_inset
11902
11903
11904 \end_layout
11905
11906 \begin_layout Plain Layout
11907 \align center
11908 \begin_inset Tabular
11909 <lyxtabular version="3" rows="3" columns="3">
11910 <features tabularvalignment="middle">
11911 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11912 <column alignment="center" valignment="middle" width="0">
11913 <column alignment="center" valignment="top" width="0">
11914 <row>
11915 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11916 \begin_inset Text
11917
11918 \begin_layout Plain Layout
11919 multiple lines multicolumn
11920 \end_layout
11921
11922 \end_inset
11923 </cell>
11924 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11925 \begin_inset Text
11926
11927 \begin_layout Plain Layout
11928
11929 \end_layout
11930
11931 \end_inset
11932 </cell>
11933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11934 \begin_inset Text
11935
11936 \begin_layout Plain Layout
11937 c
11938 \end_layout
11939
11940 \end_inset
11941 </cell>
11942 </row>
11943 <row>
11944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11945 \begin_inset Text
11946
11947 \begin_layout Plain Layout
11948 d
11949 \end_layout
11950
11951 \end_inset
11952 </cell>
11953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11954 \begin_inset Text
11955
11956 \begin_layout Plain Layout
11957 e
11958 \end_layout
11959
11960 \end_inset
11961 </cell>
11962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11963 \begin_inset Text
11964
11965 \begin_layout Plain Layout
11966 f
11967 \end_layout
11968
11969 \end_inset
11970 </cell>
11971 </row>
11972 <row>
11973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11974 \begin_inset Text
11975
11976 \begin_layout Plain Layout
11977 g
11978 \end_layout
11979
11980 \end_inset
11981 </cell>
11982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11983 \begin_inset Text
11984
11985 \begin_layout Plain Layout
11986 h
11987 \end_layout
11988
11989 \end_inset
11990 </cell>
11991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11992 \begin_inset Text
11993
11994 \begin_layout Plain Layout
11995 i
11996 \end_layout
11997
11998 \end_inset
11999 </cell>
12000 </row>
12001 </lyxtabular>
12002
12003 \end_inset
12004
12005
12006 \end_layout
12007
12008 \end_inset
12009
12010
12011 \end_layout
12012
12013 \begin_layout Standard
12014 To create for example Table
12015 \begin_inset space ~
12016 \end_inset
12017
12018
12019 \begin_inset CommandInset ref
12020 LatexCommand ref
12021 reference "tab:Table-with-centered"
12022
12023 \end_inset
12024
12025 , mark the first two cells in the first row of a 3×3 table and right-click
12026  on them.
12027  Now choose for this cell 
12028 \emph on
12029 multicolumn
12030 \emph default
12031
12032 \emph on
12033 centered alignment
12034 \emph default
12035  and a width of 2.5
12036 \begin_inset space \thinspace{}
12037 \end_inset
12038
12039 cm in the table dialog.
12040  The merged columns should have exactly half the width of the multicolumn
12041  cell, so that you would set a width of 1.25
12042 \begin_inset space \thinspace{}
12043 \end_inset
12044
12045 cm for the first column.
12046  The second column has then automatically a width of 1.25
12047 \begin_inset space \thinspace{}
12048 \end_inset
12049
12050 cm (multicolumn width - width of first column).
12051  This was done for Table
12052 \begin_inset space ~
12053 \end_inset
12054
12055
12056 \begin_inset CommandInset ref
12057 LatexCommand ref
12058 reference "tab:Table-without-half"
12059
12060 \end_inset
12061
12062 .
12063 \end_layout
12064
12065 \begin_layout Standard
12066 \begin_inset Float table
12067 wide false
12068 sideways false
12069 status open
12070
12071 \begin_layout Plain Layout
12072 \begin_inset Caption
12073
12074 \begin_layout Plain Layout
12075 \begin_inset CommandInset label
12076 LatexCommand label
12077 name "tab:Table-without-half"
12078
12079 \end_inset
12080
12081 Table where the spanned table columns are not exactly half the width of
12082  the multicolumn cell
12083 \begin_inset Argument
12084 status collapsed
12085
12086 \begin_layout Plain Layout
12087 Imperfect multicolumn table
12088 \end_layout
12089
12090 \end_inset
12091
12092
12093 \end_layout
12094
12095 \end_inset
12096
12097
12098 \end_layout
12099
12100 \begin_layout Plain Layout
12101 \align center
12102 \begin_inset Tabular
12103 <lyxtabular version="3" rows="3" columns="3">
12104 <features tabularvalignment="middle">
12105 <column alignment="center" valignment="top" width="1.25cm">
12106 <column alignment="center" valignment="top" width="0">
12107 <column alignment="center" valignment="top" width="0">
12108 <row>
12109 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12110 \begin_inset Text
12111
12112 \begin_layout Plain Layout
12113 multiple lines multicolumn
12114 \end_layout
12115
12116 \end_inset
12117 </cell>
12118 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12119 \begin_inset Text
12120
12121 \begin_layout Plain Layout
12122
12123 \end_layout
12124
12125 \end_inset
12126 </cell>
12127 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12128 \begin_inset Text
12129
12130 \begin_layout Plain Layout
12131 c
12132 \end_layout
12133
12134 \end_inset
12135 </cell>
12136 </row>
12137 <row>
12138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12139 \begin_inset Text
12140
12141 \begin_layout Plain Layout
12142 d
12143 \end_layout
12144
12145 \end_inset
12146 </cell>
12147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12148 \begin_inset Text
12149
12150 \begin_layout Plain Layout
12151 e
12152 \end_layout
12153
12154 \end_inset
12155 </cell>
12156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12157 \begin_inset Text
12158
12159 \begin_layout Plain Layout
12160 f
12161 \end_layout
12162
12163 \end_inset
12164 </cell>
12165 </row>
12166 <row>
12167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12168 \begin_inset Text
12169
12170 \begin_layout Plain Layout
12171 g
12172 \end_layout
12173
12174 \end_inset
12175 </cell>
12176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12177 \begin_inset Text
12178
12179 \begin_layout Plain Layout
12180 h
12181 \end_layout
12182
12183 \end_inset
12184 </cell>
12185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12186 \begin_inset Text
12187
12188 \begin_layout Plain Layout
12189 i
12190 \end_layout
12191
12192 \end_inset
12193 </cell>
12194 </row>
12195 </lyxtabular>
12196
12197 \end_inset
12198
12199
12200 \end_layout
12201
12202 \end_inset
12203
12204
12205 \end_layout
12206
12207 \begin_layout Standard
12208 You can see that the first column is not half the width of the multicolumn
12209  cell, it is a bit bigger.
12210  The reason is that the specified width of a cell 
12211 \begin_inset Formula $W_{g}$
12212 \end_inset
12213
12214  is not its total width 
12215 \begin_inset Formula $W_{\mathrm{tot}}$
12216 \end_inset
12217
12218  because a cell is always a bit larger than specified.
12219  Appendix
12220 \begin_inset space ~
12221 \end_inset
12222
12223
12224 \begin_inset CommandInset ref
12225 LatexCommand eqref
12226 reference "cha:Explanation-of-Equation"
12227
12228 \end_inset
12229
12230  explains this in detail.
12231 \end_layout
12232
12233 \begin_layout Standard
12234 The width 
12235 \begin_inset Formula $W_{g\, n}$
12236 \end_inset
12237
12238  which the user needs to set when 
12239 \emph on
12240 n
12241 \emph default
12242  columns are spanned can be calculated, so that each column has a total
12243  width of 
12244 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
12245 \end_inset
12246
12247 :
12248 \begin_inset Formula 
12249 \begin{equation}
12250 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12251 \end{equation}
12252
12253 \end_inset
12254
12255
12256 \end_layout
12257
12258 \begin_layout Standard
12259 In our case we have 
12260 \begin_inset Formula $n=2$
12261 \end_inset
12262
12263
12264 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12265 \end_inset
12266
12267 cm and the default values for the lengths, so that equation 
12268 \begin_inset CommandInset ref
12269 LatexCommand ref
12270 reference "eq:Wgn"
12271
12272 \end_inset
12273
12274  becomes
12275 \begin_inset Formula 
12276 \begin{equation}
12277 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12278 \end{equation}
12279
12280 \end_inset
12281
12282
12283 \end_layout
12284
12285 \begin_layout Standard
12286 To enable calculations in LaTeX, the LaTeX-package 
12287 \series bold
12288 calc
12289 \series default
12290  must be loaded with the document preamble line
12291 \begin_inset Index idx
12292 status collapsed
12293
12294 \begin_layout Plain Layout
12295 LaTeX-packages ! calc
12296 \end_layout
12297
12298 \end_inset
12299
12300
12301 \end_layout
12302
12303 \begin_layout Standard
12304
12305 \series bold
12306
12307 \backslash
12308 usepackage{calc}
12309 \end_layout
12310
12311 \begin_layout Standard
12312 LyX does not allow you to calculate lengths in the 
12313 \family sans
12314 Width
12315 \family default
12316  field of the table dialog.
12317  Therefore you have to format the column by inserting a LaTeX-argument in
12318  the dialog.
12319  Here is an overview about the arguments:
12320 \end_layout
12321
12322 \begin_layout Itemize
12323
12324 \series bold
12325 p{width}
12326 \series default
12327  creates cell with a fixed width, its text is vertically top-aligned
12328 \end_layout
12329
12330 \begin_layout Itemize
12331
12332 \series bold
12333 m{width}
12334 \series default
12335  creates cell with a fixed width, its text is vertically centered
12336 \end_layout
12337
12338 \begin_layout Itemize
12339
12340 \series bold
12341 b{width}
12342 \series default
12343  creates cell with a fixed width, its text is vertically bottom-aligned
12344 \end_layout
12345
12346 \begin_layout Standard
12347 By entering a LaTeX-argument, all cell settings set in the table dialog
12348  are overwritten.
12349 \end_layout
12350
12351 \begin_layout Standard
12352 \begin_inset Note Greyedout
12353 status open
12354
12355 \begin_layout Plain Layout
12356
12357 \series bold
12358 Note:
12359 \series default
12360  Due to a bug, LyX shows the overwritten settings anyway.
12361 \end_layout
12362
12363 \end_inset
12364
12365
12366 \end_layout
12367
12368 \begin_layout Standard
12369 As the text should be horizontally centered, the command 
12370 \series bold
12371
12372 \backslash
12373 centering
12374 \series default
12375  is added.
12376  You can now enter the following LaTeX-argument for the first spanned column:
12377 \end_layout
12378
12379 \begin_layout Standard
12380
12381 \series bold
12382 >{
12383 \backslash
12384 centering}m{1.25cm-6.2pt}
12385 \end_layout
12386
12387 \begin_layout Standard
12388 The command 
12389 \series bold
12390 >{ }
12391 \series default
12392  means, that the commands inside the braces are applied before the cell
12393  is created.
12394 \end_layout
12395
12396 \begin_layout Standard
12397 Although we have chosen centered alignment for the text of the multicolumn
12398  cell, it is still left aligned.
12399  This is because LyX only applies the alignment to single columns.
12400  So for the multicolumn cell we have to use the LaTeX-argument
12401 \end_layout
12402
12403 \begin_layout Standard
12404
12405 \series bold
12406 >{
12407 \backslash
12408 centering}m{2.5cm}
12409 \end_layout
12410
12411 \begin_layout Subsection
12412 Multirows
12413 \begin_inset CommandInset label
12414 LatexCommand label
12415 name "sub:Multirows"
12416
12417 \end_inset
12418
12419
12420 \begin_inset Index idx
12421 status collapsed
12422
12423 \begin_layout Plain Layout
12424 Multirows
12425 \end_layout
12426
12427 \end_inset
12428
12429
12430 \begin_inset Index idx
12431 status collapsed
12432
12433 \begin_layout Plain Layout
12434 Table ! Multirows
12435 \end_layout
12436
12437 \end_inset
12438
12439
12440 \end_layout
12441
12442 \begin_layout Standard
12443 To merge cells over multiple rows, select as many cells within a column
12444  as you want to merge and use either the table-toolbar button 
12445 \begin_inset Graphics
12446         filename ../images/tabular-feature_multirow.png
12447         scale 85
12448         scaleBeforeRotation
12449
12450 \end_inset
12451
12452 , or the menu 
12453 \family sans
12454 Edit\SpecialChar \menuseparator
12455 Table\SpecialChar \menuseparator
12456 Multirow
12457 \family default
12458 , or right click on the marked cells and choose 
12459 \family sans
12460 Multirow
12461 \family default
12462  in the context menu.
12463 \end_layout
12464
12465 \begin_layout Standard
12466 Here is an example table with a multirow in the first column:
12467 \end_layout
12468
12469 \begin_layout Standard
12470 \align center
12471 \begin_inset Tabular
12472 <lyxtabular version="3" rows="3" columns="3">
12473 <features tabularvalignment="middle">
12474 <column alignment="center" valignment="top" width="0pt">
12475 <column alignment="center" valignment="top" width="0">
12476 <column alignment="center" valignment="top" width="0">
12477 <row>
12478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12479 \begin_inset Text
12480
12481 \begin_layout Plain Layout
12482 a long cell entry
12483 \end_layout
12484
12485 \end_inset
12486 </cell>
12487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12488 \begin_inset Text
12489
12490 \begin_layout Plain Layout
12491 b
12492 \end_layout
12493
12494 \end_inset
12495 </cell>
12496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12497 \begin_inset Text
12498
12499 \begin_layout Plain Layout
12500 c
12501 \end_layout
12502
12503 \end_inset
12504 </cell>
12505 </row>
12506 <row>
12507 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12508 \begin_inset Text
12509
12510 \begin_layout Plain Layout
12511 multirow
12512 \end_layout
12513
12514 \end_inset
12515 </cell>
12516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12517 \begin_inset Text
12518
12519 \begin_layout Plain Layout
12520 e
12521 \end_layout
12522
12523 \end_inset
12524 </cell>
12525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12526 \begin_inset Text
12527
12528 \begin_layout Plain Layout
12529 f
12530 \end_layout
12531
12532 \end_inset
12533 </cell>
12534 </row>
12535 <row>
12536 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12537 \begin_inset Text
12538
12539 \begin_layout Plain Layout
12540
12541 \end_layout
12542
12543 \end_inset
12544 </cell>
12545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12546 \begin_inset Text
12547
12548 \begin_layout Plain Layout
12549 h
12550 \end_layout
12551
12552 \end_inset
12553 </cell>
12554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12555 \begin_inset Text
12556
12557 \begin_layout Plain Layout
12558 i
12559 \end_layout
12560
12561 \end_inset
12562 </cell>
12563 </row>
12564 </lyxtabular>
12565
12566 \end_inset
12567
12568
12569 \end_layout
12570
12571 \begin_layout Standard
12572 The width of multirow cells is set by setting the width and alignment for
12573  the whole column.
12574  The 
12575 \family sans
12576 Vertical Offset
12577 \family default
12578  shifts the content of the multirow up/down if the offset is positive/negative.
12579 \end_layout
12580
12581 \begin_layout Standard
12582 If the column of a multirow cell has no explicit width, the multirow cell
12583  inherits the alignment of the column.
12584  Otherwise it is by default left-aligned.
12585  To override the default, renew the command 
12586 \series bold
12587
12588 \backslash
12589 multirowsetup
12590 \series default
12591  with the command
12592 \end_layout
12593
12594 \begin_layout Standard
12595
12596 \series bold
12597
12598 \backslash
12599 renewcommand{
12600 \backslash
12601 multirowsetup}{
12602 \backslash
12603 centering}
12604 \end_layout
12605
12606 \begin_layout Standard
12607 in the document preamble.
12608  Then all entries of multirow cells in the document are centered.
12609  If centering is only needed for several tables, you can renew the command
12610  in a TeX-Code box just before the table instead of the preamble.
12611  If the text should be right-aligned, replace 
12612 \series bold
12613
12614 \backslash
12615 centering
12616 \series default
12617  by 
12618 \series bold
12619
12620 \backslash
12621 raggedleft
12622 \series default
12623 .
12624  To return to left-alignment 
12625 \series bold
12626
12627 \backslash
12628 raggedright
12629 \series default
12630  is used.
12631 \end_layout
12632
12633 \begin_layout Standard
12634 This is an example table with a right-aligned multirow cell that has a vertical
12635  offset of -4
12636 \begin_inset space \thinspace{}
12637 \end_inset
12638
12639 mm and is in a 3
12640 \begin_inset space \thinspace{}
12641 \end_inset
12642
12643 cm wide column:
12644 \end_layout
12645
12646 \begin_layout Standard
12647 \noindent
12648 \align center
12649 \begin_inset ERT
12650 status collapsed
12651
12652 \begin_layout Plain Layout
12653
12654
12655 \backslash
12656 renewcommand{
12657 \backslash
12658 multirowsetup}{
12659 \backslash
12660 raggedleft}
12661 \end_layout
12662
12663 \end_inset
12664
12665
12666 \begin_inset Tabular
12667 <lyxtabular version="3" rows="4" columns="3">
12668 <features tabularvalignment="middle">
12669 <column alignment="center" valignment="top" width="3cm">
12670 <column alignment="center" valignment="top" width="0">
12671 <column alignment="center" valignment="top" width="0">
12672 <row>
12673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12674 \begin_inset Text
12675
12676 \begin_layout Plain Layout
12677 a long cell entry
12678 \end_layout
12679
12680 \end_inset
12681 </cell>
12682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12683 \begin_inset Text
12684
12685 \begin_layout Plain Layout
12686 b
12687 \end_layout
12688
12689 \end_inset
12690 </cell>
12691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12692 \begin_inset Text
12693
12694 \begin_layout Plain Layout
12695 c
12696 \end_layout
12697
12698 \end_inset
12699 </cell>
12700 </row>
12701 <row>
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12703 \begin_inset Text
12704
12705 \begin_layout Plain Layout
12706 t
12707 \end_layout
12708
12709 \end_inset
12710 </cell>
12711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12712 \begin_inset Text
12713
12714 \begin_layout Plain Layout
12715 n
12716 \end_layout
12717
12718 \end_inset
12719 </cell>
12720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12721 \begin_inset Text
12722
12723 \begin_layout Plain Layout
12724 m
12725 \end_layout
12726
12727 \end_inset
12728 </cell>
12729 </row>
12730 <row>
12731 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12732 \begin_inset Text
12733
12734 \begin_layout Plain Layout
12735 multirow
12736 \end_layout
12737
12738 \end_inset
12739 </cell>
12740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12741 \begin_inset Text
12742
12743 \begin_layout Plain Layout
12744 e
12745 \end_layout
12746
12747 \end_inset
12748 </cell>
12749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12750 \begin_inset Text
12751
12752 \begin_layout Plain Layout
12753 f
12754 \end_layout
12755
12756 \end_inset
12757 </cell>
12758 </row>
12759 <row>
12760 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12761 \begin_inset Text
12762
12763 \begin_layout Plain Layout
12764
12765 \end_layout
12766
12767 \end_inset
12768 </cell>
12769 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12770 \begin_inset Text
12771
12772 \begin_layout Plain Layout
12773 h
12774 \end_layout
12775
12776 \end_inset
12777 </cell>
12778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12779 \begin_inset Text
12780
12781 \begin_layout Plain Layout
12782 i
12783 \end_layout
12784
12785 \end_inset
12786 </cell>
12787 </row>
12788 </lyxtabular>
12789
12790 \end_inset
12791
12792
12793 \begin_inset ERT
12794 status collapsed
12795
12796 \begin_layout Plain Layout
12797
12798
12799 \backslash
12800 renewcommand{
12801 \backslash
12802 multirowsetup}{
12803 \backslash
12804 raggedright}
12805 \end_layout
12806
12807 \end_inset
12808
12809
12810 \end_layout
12811
12812 \begin_layout Section
12813 Formal Tables
12814 \begin_inset CommandInset label
12815 LatexCommand label
12816 name "sec:Formal-Tables"
12817
12818 \end_inset
12819
12820
12821 \begin_inset Index idx
12822 status collapsed
12823
12824 \begin_layout Plain Layout
12825 Table ! Formal
12826 \end_layout
12827
12828 \end_inset
12829
12830
12831 \end_layout
12832
12833 \begin_layout Standard
12834 Tables are often typeset in books similar to Table
12835 \begin_inset space ~
12836 \end_inset
12837
12838
12839 \begin_inset CommandInset ref
12840 LatexCommand ref
12841 reference "tab:Example-booktabs-table"
12842
12843 \end_inset
12844
12845 .
12846  This kind of tables is called 
12847 \begin_inset Quotes eld
12848 \end_inset
12849
12850
12851 \emph on
12852 formal
12853 \emph default
12854
12855 \begin_inset Quotes erd
12856 \end_inset
12857
12858 .
12859  To make a table a formal table use the option 
12860 \family sans
12861 Formal
12862 \family default
12863  in the 
12864 \family sans
12865 Borders
12866 \family default
12867  tab of the table dialog.
12868 \end_layout
12869
12870 \begin_layout Standard
12871 \begin_inset Float table
12872 placement h
12873 wide false
12874 sideways false
12875 status open
12876
12877 \begin_layout Plain Layout
12878 \begin_inset Caption
12879
12880 \begin_layout Plain Layout
12881 \begin_inset CommandInset label
12882 LatexCommand label
12883 name "tab:Example-booktabs-table"
12884
12885 \end_inset
12886
12887 Example booktabs-table
12888 \end_layout
12889
12890 \end_inset
12891
12892
12893 \end_layout
12894
12895 \begin_layout Plain Layout
12896 \align center
12897 \begin_inset Tabular
12898 <lyxtabular version="3" rows="8" columns="4">
12899 <features booktabs="true" tabularvalignment="middle">
12900 <column alignment="center" valignment="top" width="0">
12901 <column alignment="center" valignment="top" width="0">
12902 <column alignment="center" valignment="top" width="0">
12903 <column alignment="center" valignment="top" width="0">
12904 <row>
12905 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12906 \begin_inset Text
12907
12908 \begin_layout Plain Layout
12909 System
12910 \end_layout
12911
12912 \end_inset
12913 </cell>
12914 <cell 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 1
12923 \end_layout
12924
12925 \end_inset
12926 </cell>
12927 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12928 \begin_inset Text
12929
12930 \begin_layout Plain Layout
12931 Chip
12932 \begin_inset space \thinspace{}
12933 \end_inset
12934
12935 2
12936 \end_layout
12937
12938 \end_inset
12939 </cell>
12940 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12941 \begin_inset Text
12942
12943 \begin_layout Plain Layout
12944
12945 \end_layout
12946
12947 \end_inset
12948 </cell>
12949 </row>
12950 <row>
12951 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12952 \begin_inset Text
12953
12954 \begin_layout Plain Layout
12955 \begin_inset ERT
12956 status collapsed
12957
12958 \begin_layout Plain Layout
12959
12960
12961 \backslash
12962 cmidrule(r){2-2}
12963 \end_layout
12964
12965 \end_inset
12966
12967
12968 \begin_inset ERT
12969 status collapsed
12970
12971 \begin_layout Plain Layout
12972
12973
12974 \backslash
12975 cmidrule(l){3-4}
12976 \end_layout
12977
12978 \end_inset
12979
12980 Detector thickness in Âµm
12981 \end_layout
12982
12983 \end_inset
12984 </cell>
12985 <cell alignment="center" valignment="top" usebox="none">
12986 \begin_inset Text
12987
12988 \begin_layout Plain Layout
12989 300
12990 \end_layout
12991
12992 \end_inset
12993 </cell>
12994 <cell alignment="center" valignment="top" usebox="none">
12995 \begin_inset Text
12996
12997 \begin_layout Plain Layout
12998 300
12999 \end_layout
13000
13001 \end_inset
13002 </cell>
13003 <cell alignment="center" valignment="top" usebox="none">
13004 \begin_inset Text
13005
13006 \begin_layout Plain Layout
13007 700
13008 \end_layout
13009
13010 \end_inset
13011 </cell>
13012 </row>
13013 <row>
13014 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13015 \begin_inset Text
13016
13017 \begin_layout Plain Layout
13018 Edge angle in Â°
13019 \end_layout
13020
13021 \end_inset
13022 </cell>
13023 <cell alignment="center" valignment="top" topline="true" usebox="none">
13024 \begin_inset Text
13025
13026 \begin_layout Plain Layout
13027 3.55
13028 \end_layout
13029
13030 \end_inset
13031 </cell>
13032 <cell alignment="center" valignment="top" topline="true" usebox="none">
13033 \begin_inset Text
13034
13035 \begin_layout Plain Layout
13036 2.71
13037 \end_layout
13038
13039 \end_inset
13040 </cell>
13041 <cell alignment="center" valignment="top" topline="true" usebox="none">
13042 \begin_inset Text
13043
13044 \begin_layout Plain Layout
13045 7.99
13046 \end_layout
13047
13048 \end_inset
13049 </cell>
13050 </row>
13051 <row topspace="default">
13052 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13053 \begin_inset Text
13054
13055 \begin_layout Plain Layout
13056 Spatial resolution in Âµm
13057 \end_layout
13058
13059 \end_inset
13060 </cell>
13061 <cell alignment="center" valignment="top" usebox="none">
13062 \begin_inset Text
13063
13064 \begin_layout Plain Layout
13065 4.26
13066 \end_layout
13067
13068 \end_inset
13069 </cell>
13070 <cell alignment="center" valignment="top" usebox="none">
13071 \begin_inset Text
13072
13073 \begin_layout Plain Layout
13074 10.17
13075 \end_layout
13076
13077 \end_inset
13078 </cell>
13079 <cell alignment="center" valignment="top" usebox="none">
13080 \begin_inset Text
13081
13082 \begin_layout Plain Layout
13083 10.56
13084 \end_layout
13085
13086 \end_inset
13087 </cell>
13088 </row>
13089 <row topspace="default">
13090 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13091 \begin_inset Text
13092
13093 \begin_layout Plain Layout
13094 MTF at 
13095 \begin_inset Formula $f_{\mathrm{max}}$
13096 \end_inset
13097
13098
13099 \end_layout
13100
13101 \end_inset
13102 </cell>
13103 <cell alignment="center" valignment="top" usebox="none">
13104 \begin_inset Text
13105
13106 \begin_layout Plain Layout
13107 0.53
13108 \end_layout
13109
13110 \end_inset
13111 </cell>
13112 <cell alignment="center" valignment="top" usebox="none">
13113 \begin_inset Text
13114
13115 \begin_layout Plain Layout
13116 0.37
13117 \end_layout
13118
13119 \end_inset
13120 </cell>
13121 <cell alignment="center" valignment="top" usebox="none">
13122 \begin_inset Text
13123
13124 \begin_layout Plain Layout
13125 0.39
13126 \end_layout
13127
13128 \end_inset
13129 </cell>
13130 </row>
13131 <row topspace="default">
13132 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13133 \begin_inset Text
13134
13135 \begin_layout Plain Layout
13136 \begin_inset ERT
13137 status collapsed
13138
13139 \begin_layout Plain Layout
13140
13141
13142 \backslash
13143 cmidrule(l{10pt}){1-1}
13144 \end_layout
13145
13146 \end_inset
13147
13148 LSF-spatial resolution
13149 \end_layout
13150
13151 \end_inset
13152 </cell>
13153 <cell alignment="center" valignment="top" usebox="none">
13154 \begin_inset Text
13155
13156 \begin_layout Plain Layout
13157
13158 \end_layout
13159
13160 \end_inset
13161 </cell>
13162 <cell alignment="center" valignment="top" usebox="none">
13163 \begin_inset Text
13164
13165 \begin_layout Plain Layout
13166
13167 \end_layout
13168
13169 \end_inset
13170 </cell>
13171 <cell alignment="center" valignment="top" usebox="none">
13172 \begin_inset Text
13173
13174 \begin_layout Plain Layout
13175
13176 \end_layout
13177
13178 \end_inset
13179 </cell>
13180 </row>
13181 <row>
13182 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13183 \begin_inset Text
13184
13185 \begin_layout Plain Layout
13186 in Âµm
13187 \end_layout
13188
13189 \end_inset
13190 </cell>
13191 <cell alignment="center" valignment="top" usebox="none">
13192 \begin_inset Text
13193
13194 \begin_layout Plain Layout
13195 129.7
13196 \end_layout
13197
13198 \end_inset
13199 </cell>
13200 <cell alignment="center" valignment="top" usebox="none">
13201 \begin_inset Text
13202
13203 \begin_layout Plain Layout
13204 52.75
13205 \end_layout
13206
13207 \end_inset
13208 </cell>
13209 <cell alignment="center" valignment="top" usebox="none">
13210 \begin_inset Text
13211
13212 \begin_layout Plain Layout
13213 50.78
13214 \end_layout
13215
13216 \end_inset
13217 </cell>
13218 </row>
13219 <row>
13220 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
13221 \begin_inset Text
13222
13223 \begin_layout Plain Layout
13224 in % of pixel size
13225 \end_layout
13226
13227 \end_inset
13228 </cell>
13229 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13230 \begin_inset Text
13231
13232 \begin_layout Plain Layout
13233 76.3
13234 \end_layout
13235
13236 \end_inset
13237 </cell>
13238 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13239 \begin_inset Text
13240
13241 \begin_layout Plain Layout
13242 95.9
13243 \end_layout
13244
13245 \end_inset
13246 </cell>
13247 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13248 \begin_inset Text
13249
13250 \begin_layout Plain Layout
13251 92.3
13252 \end_layout
13253
13254 \end_inset
13255 </cell>
13256 </row>
13257 </lyxtabular>
13258
13259 \end_inset
13260
13261
13262 \end_layout
13263
13264 \end_inset
13265
13266
13267 \end_layout
13268
13269 \begin_layout Standard
13270 Spaces to table rows can be added using the 
13271 \family sans
13272 Borders
13273 \family default
13274  tab of the table dialog as described in section
13275 \begin_inset space ~
13276 \end_inset
13277
13278
13279 \begin_inset CommandInset ref
13280 LatexCommand ref
13281 reference "sub:Row-Spacing"
13282
13283 \end_inset
13284
13285 .
13286 \end_layout
13287
13288 \begin_layout Standard
13289 Unlike normal tables, formal tables have no vertical table lines.
13290  The horizontal table lines can be set as for normal tables but they appear
13291  with different widths in the output:
13292 \begin_inset Newline newline
13293 \end_inset
13294
13295 The first and the last table line have a default width of 0.08
13296 \begin_inset space \thinspace{}
13297 \end_inset
13298
13299 em while the other lines have a default width of 0.05
13300 \begin_inset space \thinspace{}
13301 \end_inset
13302
13303 em.
13304 \end_layout
13305
13306 \begin_layout Standard
13307 The default widths can be changed with the following preamble lines
13308 \end_layout
13309
13310 \begin_layout Standard
13311
13312 \series bold
13313
13314 \backslash
13315 let
13316 \backslash
13317 mytoprule
13318 \backslash
13319 toprule
13320 \begin_inset Newline newline
13321 \end_inset
13322
13323
13324 \backslash
13325 renewcommand{
13326 \backslash
13327 toprule}{
13328 \backslash
13329 mytoprule[width]}
13330 \end_layout
13331
13332 \begin_layout Standard
13333 This example is for the first line, the so called 
13334 \series bold
13335 toprule
13336 \series default
13337 .
13338  If you want to change the width for the last line, replace 
13339 \series bold
13340 toprule
13341 \series default
13342  by 
13343 \series bold
13344 bottomrule
13345 \series default
13346 .
13347  To change the width for the other lines replace 
13348 \series bold
13349 toprule
13350 \series default
13351  by 
13352 \series bold
13353 midrule
13354 \series default
13355 .
13356  You can use all units listed in appendix
13357 \begin_inset space ~
13358 \end_inset
13359
13360
13361 \begin_inset CommandInset ref
13362 LatexCommand ref
13363 reference "cha:Units-available-in"
13364
13365 \end_inset
13366
13367  to set the width.
13368 \end_layout
13369
13370 \begin_layout Standard
13371 Lines that do not span all table columns can be created by setting a table
13372  line for multicolumn cells.
13373  LyX will then internally use the command 
13374 \series bold
13375
13376 \backslash
13377 cmidrule
13378 \series default
13379  to create this line.
13380  Its full scheme is
13381 \end_layout
13382
13383 \begin_layout Standard
13384
13385 \series bold
13386
13387 \backslash
13388 cmidrule[width](trim){startcol-endcol}
13389 \end_layout
13390
13391 \begin_layout Standard
13392 The options of 
13393 \series bold
13394
13395 \backslash
13396 cmidrule
13397 \series default
13398  are currently not supported by LyX so you have to use TeX-Code to be able
13399  to use them.
13400  
13401 \series bold
13402
13403 \backslash
13404 cmidrule
13405 \series default
13406 s can manually be created by inserting the command as TeX-Code as the first
13407  cell entry of the first cell of a row.
13408  The line is then drawn in the output above the current row.
13409 \end_layout
13410
13411 \begin_layout Standard
13412 The default for the width is 0.03
13413 \begin_inset space \thinspace{}
13414 \end_inset
13415
13416 em.
13417  Startcol is the number of the column where the line starts and endcol the
13418  column number where the line ends.
13419  The endcol always needs to be specified, also when the line should span
13420  only one column.
13421  The optional parameter trim could be either 
13422 \emph on
13423 l{trimwidth}
13424 \emph default
13425 , or 
13426 \emph on
13427 r{trimwidth}
13428 \emph default
13429  where the trimwidth is also optional.
13430  Using for example the parameter 
13431 \emph on
13432 l{2pt}
13433 \emph default
13434  means that the line is trimmed from its left end by 2
13435 \begin_inset space \thinspace{}
13436 \end_inset
13437
13438 pt.
13439  If you don't specify the trimwidth the lines are trimmed by the default
13440  of 0.5
13441 \begin_inset space \thinspace{}
13442 \end_inset
13443
13444 em.
13445 \end_layout
13446
13447 \begin_layout Standard
13448 \begin_inset VSpace bigskip
13449 \end_inset
13450
13451 Table
13452 \begin_inset space ~
13453 \end_inset
13454
13455
13456 \begin_inset CommandInset ref
13457 LatexCommand ref
13458 reference "tab:Example-booktabs-table"
13459
13460 \end_inset
13461
13462  was created using the commands
13463 \end_layout
13464
13465 \begin_layout Standard
13466
13467 \series bold
13468
13469 \backslash
13470 cmidrule(r){2-2}
13471 \backslash
13472 cmidrule(l){3-4}
13473 \end_layout
13474
13475 \begin_layout Standard
13476 at the beginning of the second row and
13477 \end_layout
13478
13479 \begin_layout Standard
13480
13481 \series bold
13482
13483 \backslash
13484 cmidrule(l{10pt}){1-1}
13485 \end_layout
13486
13487 \begin_layout Standard
13488 in the sixth row.
13489 \end_layout
13490
13491 \begin_layout Standard
13492 \begin_inset VSpace bigskip
13493 \end_inset
13494
13495
13496 \end_layout
13497
13498 \begin_layout Standard
13499 You might want to have overlapping 
13500 \series bold
13501
13502 \backslash
13503 cmidrule
13504 \series default
13505 s as in in Table
13506 \begin_inset space ~
13507 \end_inset
13508
13509
13510 \begin_inset CommandInset ref
13511 LatexCommand ref
13512 reference "tab:Special-booktabs-table"
13513
13514 \end_inset
13515
13516 .
13517  This can be achieved with the TeX-Code command
13518 \end_layout
13519
13520 \begin_layout Standard
13521
13522 \series bold
13523
13524 \backslash
13525 morecmidrules
13526 \end_layout
13527
13528 \begin_layout Standard
13529 The command that was used for the second row of Table
13530 \begin_inset space ~
13531 \end_inset
13532
13533
13534 \begin_inset CommandInset ref
13535 LatexCommand ref
13536 reference "tab:Special-booktabs-table"
13537
13538 \end_inset
13539
13540  is
13541 \end_layout
13542
13543 \begin_layout Standard
13544
13545 \series bold
13546
13547 \backslash
13548 cmidrule(r){2-2}
13549 \backslash
13550 cmidrule(l){3-4}
13551 \backslash
13552 morecmidrules
13553 \backslash
13554 cmidrule{2-4}
13555 \end_layout
13556
13557 \begin_layout Standard
13558 The command for the sixth row is
13559 \end_layout
13560
13561 \begin_layout Standard
13562
13563 \series bold
13564
13565 \backslash
13566 midrule
13567 \backslash
13568 morecmidrules
13569 \backslash
13570 cmidrule{3-4}
13571 \end_layout
13572
13573 \begin_layout Standard
13574 \begin_inset VSpace bigskip
13575 \end_inset
13576
13577
13578 \end_layout
13579
13580 \begin_layout Standard
13581 If you are anyway not satisfied with the border line spacing, you can use
13582  the following command to produce lines that span over all table columns
13583 \series bold
13584 :
13585 \end_layout
13586
13587 \begin_layout Standard
13588
13589 \series bold
13590
13591 \backslash
13592 specialrule{width}{space above}{space below}
13593 \end_layout
13594
13595 \begin_layout Standard
13596 For more information about these features, refer to the manual of the LaTeX-pack
13597 age 
13598 \series bold
13599 booktabs
13600 \series default
13601  
13602 \begin_inset CommandInset citation
13603 LatexCommand cite
13604 key "booktabs"
13605
13606 \end_inset
13607
13608 .
13609 \begin_inset Index idx
13610 status collapsed
13611
13612 \begin_layout Plain Layout
13613 LaTeX-packages ! booktabs
13614 \end_layout
13615
13616 \end_inset
13617
13618
13619 \end_layout
13620
13621 \begin_layout Standard
13622 \begin_inset Float table
13623 placement h
13624 wide false
13625 sideways false
13626 status open
13627
13628 \begin_layout Plain Layout
13629 \begin_inset Caption
13630
13631 \begin_layout Plain Layout
13632 \begin_inset CommandInset label
13633 LatexCommand label
13634 name "tab:Special-booktabs-table"
13635
13636 \end_inset
13637
13638 Special booktabs-table
13639 \end_layout
13640
13641 \end_inset
13642
13643
13644 \end_layout
13645
13646 \begin_layout Plain Layout
13647 \align center
13648 \begin_inset Tabular
13649 <lyxtabular version="3" rows="8" columns="4">
13650 <features booktabs="true" tabularvalignment="middle">
13651 <column alignment="center" valignment="top" width="0">
13652 <column alignment="center" valignment="top" width="0">
13653 <column alignment="center" valignment="top" width="0">
13654 <column alignment="center" valignment="top" width="0">
13655 <row>
13656 <cell alignment="center" valignment="top" topline="true" usebox="none">
13657 \begin_inset Text
13658
13659 \begin_layout Plain Layout
13660 System
13661 \end_layout
13662
13663 \end_inset
13664 </cell>
13665 <cell 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 1
13674 \end_layout
13675
13676 \end_inset
13677 </cell>
13678 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13679 \begin_inset Text
13680
13681 \begin_layout Plain Layout
13682 Chip
13683 \begin_inset space \thinspace{}
13684 \end_inset
13685
13686 2
13687 \end_layout
13688
13689 \end_inset
13690 </cell>
13691 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13692 \begin_inset Text
13693
13694 \begin_layout Plain Layout
13695
13696 \end_layout
13697
13698 \end_inset
13699 </cell>
13700 </row>
13701 <row>
13702 <cell alignment="center" valignment="top" usebox="none">
13703 \begin_inset Text
13704
13705 \begin_layout Plain Layout
13706 \begin_inset ERT
13707 status collapsed
13708
13709 \begin_layout Plain Layout
13710
13711
13712 \backslash
13713 cmidrule(r){2-2}
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 cmidrule(l){3-4}
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 morecmidrules 
13740 \end_layout
13741
13742 \end_inset
13743
13744
13745 \begin_inset ERT
13746 status collapsed
13747
13748 \begin_layout Plain Layout
13749
13750
13751 \backslash
13752 cmidrule{2-4}
13753 \end_layout
13754
13755 \end_inset
13756
13757 Detector thickness in Âµm
13758 \end_layout
13759
13760 \end_inset
13761 </cell>
13762 <cell alignment="center" valignment="top" usebox="none">
13763 \begin_inset Text
13764
13765 \begin_layout Plain Layout
13766 300
13767 \end_layout
13768
13769 \end_inset
13770 </cell>
13771 <cell alignment="center" valignment="top" usebox="none">
13772 \begin_inset Text
13773
13774 \begin_layout Plain Layout
13775 300
13776 \end_layout
13777
13778 \end_inset
13779 </cell>
13780 <cell alignment="center" valignment="top" usebox="none">
13781 \begin_inset Text
13782
13783 \begin_layout Plain Layout
13784 700
13785 \end_layout
13786
13787 \end_inset
13788 </cell>
13789 </row>
13790 <row>
13791 <cell alignment="center" valignment="top" topline="true" usebox="none">
13792 \begin_inset Text
13793
13794 \begin_layout Plain Layout
13795 Edge angle in Â°
13796 \end_layout
13797
13798 \end_inset
13799 </cell>
13800 <cell alignment="center" valignment="top" topline="true" usebox="none">
13801 \begin_inset Text
13802
13803 \begin_layout Plain Layout
13804 3.55
13805 \end_layout
13806
13807 \end_inset
13808 </cell>
13809 <cell alignment="center" valignment="top" topline="true" usebox="none">
13810 \begin_inset Text
13811
13812 \begin_layout Plain Layout
13813 2.71
13814 \end_layout
13815
13816 \end_inset
13817 </cell>
13818 <cell alignment="center" valignment="top" topline="true" usebox="none">
13819 \begin_inset Text
13820
13821 \begin_layout Plain Layout
13822 7.99
13823 \end_layout
13824
13825 \end_inset
13826 </cell>
13827 </row>
13828 <row topspace="default">
13829 <cell alignment="center" valignment="top" usebox="none">
13830 \begin_inset Text
13831
13832 \begin_layout Plain Layout
13833 Spatial resolution in Âµm
13834 \end_layout
13835
13836 \end_inset
13837 </cell>
13838 <cell alignment="center" valignment="top" usebox="none">
13839 \begin_inset Text
13840
13841 \begin_layout Plain Layout
13842 4.26
13843 \end_layout
13844
13845 \end_inset
13846 </cell>
13847 <cell alignment="center" valignment="top" usebox="none">
13848 \begin_inset Text
13849
13850 \begin_layout Plain Layout
13851 10.17
13852 \end_layout
13853
13854 \end_inset
13855 </cell>
13856 <cell alignment="center" valignment="top" usebox="none">
13857 \begin_inset Text
13858
13859 \begin_layout Plain Layout
13860 10.56
13861 \end_layout
13862
13863 \end_inset
13864 </cell>
13865 </row>
13866 <row topspace="default">
13867 <cell alignment="center" valignment="top" usebox="none">
13868 \begin_inset Text
13869
13870 \begin_layout Plain Layout
13871 MTF at 
13872 \begin_inset Formula $f_{\mathrm{max}}$
13873 \end_inset
13874
13875
13876 \end_layout
13877
13878 \end_inset
13879 </cell>
13880 <cell alignment="center" valignment="top" usebox="none">
13881 \begin_inset Text
13882
13883 \begin_layout Plain Layout
13884 0.53
13885 \end_layout
13886
13887 \end_inset
13888 </cell>
13889 <cell alignment="center" valignment="top" usebox="none">
13890 \begin_inset Text
13891
13892 \begin_layout Plain Layout
13893 0.37
13894 \end_layout
13895
13896 \end_inset
13897 </cell>
13898 <cell alignment="center" valignment="top" usebox="none">
13899 \begin_inset Text
13900
13901 \begin_layout Plain Layout
13902 0.39
13903 \end_layout
13904
13905 \end_inset
13906 </cell>
13907 </row>
13908 <row>
13909 <cell alignment="center" valignment="top" topline="true" usebox="none">
13910 \begin_inset Text
13911
13912 \begin_layout Plain Layout
13913 \begin_inset ERT
13914 status collapsed
13915
13916 \begin_layout Plain Layout
13917
13918
13919 \backslash
13920 morecmidrules 
13921 \end_layout
13922
13923 \end_inset
13924
13925
13926 \begin_inset ERT
13927 status collapsed
13928
13929 \begin_layout Plain Layout
13930
13931
13932 \backslash
13933 cmidrule{3-4}
13934 \end_layout
13935
13936 \end_inset
13937
13938 LSF-spatial resolution
13939 \end_layout
13940
13941 \end_inset
13942 </cell>
13943 <cell alignment="center" valignment="top" topline="true" usebox="none">
13944 \begin_inset Text
13945
13946 \begin_layout Plain Layout
13947
13948 \end_layout
13949
13950 \end_inset
13951 </cell>
13952 <cell alignment="center" valignment="top" topline="true" usebox="none">
13953 \begin_inset Text
13954
13955 \begin_layout Plain Layout
13956
13957 \end_layout
13958
13959 \end_inset
13960 </cell>
13961 <cell alignment="center" valignment="top" topline="true" usebox="none">
13962 \begin_inset Text
13963
13964 \begin_layout Plain Layout
13965
13966 \end_layout
13967
13968 \end_inset
13969 </cell>
13970 </row>
13971 <row>
13972 <cell alignment="center" valignment="top" usebox="none">
13973 \begin_inset Text
13974
13975 \begin_layout Plain Layout
13976 in Âµm
13977 \end_layout
13978
13979 \end_inset
13980 </cell>
13981 <cell alignment="center" valignment="top" usebox="none">
13982 \begin_inset Text
13983
13984 \begin_layout Plain Layout
13985 129.7
13986 \end_layout
13987
13988 \end_inset
13989 </cell>
13990 <cell alignment="center" valignment="top" usebox="none">
13991 \begin_inset Text
13992
13993 \begin_layout Plain Layout
13994 52.75
13995 \end_layout
13996
13997 \end_inset
13998 </cell>
13999 <cell alignment="center" valignment="top" usebox="none">
14000 \begin_inset Text
14001
14002 \begin_layout Plain Layout
14003 50.78
14004 \end_layout
14005
14006 \end_inset
14007 </cell>
14008 </row>
14009 <row>
14010 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14011 \begin_inset Text
14012
14013 \begin_layout Plain Layout
14014 in % of pixel size
14015 \end_layout
14016
14017 \end_inset
14018 </cell>
14019 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14020 \begin_inset Text
14021
14022 \begin_layout Plain Layout
14023 76.3
14024 \end_layout
14025
14026 \end_inset
14027 </cell>
14028 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14029 \begin_inset Text
14030
14031 \begin_layout Plain Layout
14032 95.9
14033 \end_layout
14034
14035 \end_inset
14036 </cell>
14037 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14038 \begin_inset Text
14039
14040 \begin_layout Plain Layout
14041 92.3
14042 \end_layout
14043
14044 \end_inset
14045 </cell>
14046 </row>
14047 </lyxtabular>
14048
14049 \end_inset
14050
14051
14052 \end_layout
14053
14054 \end_inset
14055
14056
14057 \end_layout
14058
14059 \begin_layout Section
14060 Vertical Table Alignment
14061 \begin_inset Index idx
14062 status collapsed
14063
14064 \begin_layout Plain Layout
14065 Table ! Alignment
14066 \end_layout
14067
14068 \end_inset
14069
14070
14071 \end_layout
14072
14073 \begin_layout Standard
14074 To align tables vertically in a text line the table must be inside a box.
14075  The box can then be vertically aligned as described in section
14076 \begin_inset space ~
14077 \end_inset
14078
14079
14080 \begin_inset CommandInset ref
14081 LatexCommand ref
14082 reference "sec:Box-Dialog"
14083
14084 \end_inset
14085
14086 .
14087 \end_layout
14088
14089 \begin_layout Standard
14090 In the following example the tables are inside a minipage
14091 \begin_inset Foot
14092 status collapsed
14093
14094 \begin_layout Plain Layout
14095 Minipages are described in section
14096 \begin_inset space ~
14097 \end_inset
14098
14099
14100 \begin_inset CommandInset ref
14101 LatexCommand ref
14102 reference "sec:Minipages"
14103
14104 \end_inset
14105
14106 .
14107 \end_layout
14108
14109 \end_inset
14110
14111  box that has a width of 15
14112 \begin_inset space \thinspace{}
14113 \end_inset
14114
14115 col%:
14116 \end_layout
14117
14118 \begin_layout Itemize
14119 test 
14120 \begin_inset Box Frameless
14121 position "t"
14122 hor_pos "c"
14123 has_inner_box 1
14124 inner_pos "c"
14125 use_parbox 0
14126 use_makebox 0
14127 width "15col%"
14128 special "none"
14129 height "1in"
14130 height_special "totalheight"
14131 status collapsed
14132
14133 \begin_layout Plain Layout
14134 \begin_inset Tabular
14135 <lyxtabular version="3" rows="3" columns="3">
14136 <features tabularvalignment="middle">
14137 <column alignment="center" valignment="top" width="0">
14138 <column alignment="center" valignment="top" width="0">
14139 <column alignment="center" valignment="top" width="0">
14140 <row>
14141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14142 \begin_inset Text
14143
14144 \begin_layout Plain Layout
14145 a
14146 \end_layout
14147
14148 \end_inset
14149 </cell>
14150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14151 \begin_inset Text
14152
14153 \begin_layout Plain Layout
14154 d
14155 \end_layout
14156
14157 \end_inset
14158 </cell>
14159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14160 \begin_inset Text
14161
14162 \begin_layout Plain Layout
14163 g
14164 \end_layout
14165
14166 \end_inset
14167 </cell>
14168 </row>
14169 <row>
14170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14171 \begin_inset Text
14172
14173 \begin_layout Plain Layout
14174 b
14175 \end_layout
14176
14177 \end_inset
14178 </cell>
14179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14180 \begin_inset Text
14181
14182 \begin_layout Plain Layout
14183 e
14184 \end_layout
14185
14186 \end_inset
14187 </cell>
14188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14189 \begin_inset Text
14190
14191 \begin_layout Plain Layout
14192 h
14193 \end_layout
14194
14195 \end_inset
14196 </cell>
14197 </row>
14198 <row>
14199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14200 \begin_inset Text
14201
14202 \begin_layout Plain Layout
14203 c
14204 \end_layout
14205
14206 \end_inset
14207 </cell>
14208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14209 \begin_inset Text
14210
14211 \begin_layout Plain Layout
14212 f
14213 \end_layout
14214
14215 \end_inset
14216 </cell>
14217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14218 \begin_inset Text
14219
14220 \begin_layout Plain Layout
14221 i
14222 \end_layout
14223
14224 \end_inset
14225 </cell>
14226 </row>
14227 </lyxtabular>
14228
14229 \end_inset
14230
14231
14232 \end_layout
14233
14234 \end_inset
14235
14236  test 
14237 \begin_inset ERT
14238 status collapsed
14239
14240 \begin_layout Plain Layout
14241
14242
14243 \backslash
14244 raisebox{0.85
14245 \backslash
14246 baselineskip}{
14247 \end_layout
14248
14249 \end_inset
14250
14251
14252 \begin_inset Box Frameless
14253 position "t"
14254 hor_pos "c"
14255 has_inner_box 1
14256 inner_pos "c"
14257 use_parbox 0
14258 use_makebox 0
14259 width "15col%"
14260 special "none"
14261 height "1in"
14262 height_special "totalheight"
14263 status collapsed
14264
14265 \begin_layout Plain Layout
14266 \begin_inset Tabular
14267 <lyxtabular version="3" rows="3" columns="3">
14268 <features tabularvalignment="middle">
14269 <column alignment="center" valignment="top" width="0">
14270 <column alignment="center" valignment="top" width="0">
14271 <column alignment="center" valignment="top" width="0">
14272 <row>
14273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14274 \begin_inset Text
14275
14276 \begin_layout Plain Layout
14277 a
14278 \end_layout
14279
14280 \end_inset
14281 </cell>
14282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14283 \begin_inset Text
14284
14285 \begin_layout Plain Layout
14286 d
14287 \end_layout
14288
14289 \end_inset
14290 </cell>
14291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14292 \begin_inset Text
14293
14294 \begin_layout Plain Layout
14295 g
14296 \end_layout
14297
14298 \end_inset
14299 </cell>
14300 </row>
14301 <row>
14302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14303 \begin_inset Text
14304
14305 \begin_layout Plain Layout
14306 b
14307 \end_layout
14308
14309 \end_inset
14310 </cell>
14311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14312 \begin_inset Text
14313
14314 \begin_layout Plain Layout
14315 e
14316 \end_layout
14317
14318 \end_inset
14319 </cell>
14320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14321 \begin_inset Text
14322
14323 \begin_layout Plain Layout
14324 h
14325 \end_layout
14326
14327 \end_inset
14328 </cell>
14329 </row>
14330 <row>
14331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14332 \begin_inset Text
14333
14334 \begin_layout Plain Layout
14335 c
14336 \end_layout
14337
14338 \end_inset
14339 </cell>
14340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14341 \begin_inset Text
14342
14343 \begin_layout Plain Layout
14344 f
14345 \end_layout
14346
14347 \end_inset
14348 </cell>
14349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14350 \begin_inset Text
14351
14352 \begin_layout Plain Layout
14353 i
14354 \end_layout
14355
14356 \end_inset
14357 </cell>
14358 </row>
14359 </lyxtabular>
14360
14361 \end_inset
14362
14363
14364 \end_layout
14365
14366 \end_inset
14367
14368
14369 \begin_inset ERT
14370 status collapsed
14371
14372 \begin_layout Plain Layout
14373
14374 }
14375 \end_layout
14376
14377 \end_inset
14378
14379
14380 \end_layout
14381
14382 \begin_layout Itemize
14383 test 
14384 \begin_inset Box Frameless
14385 position "c"
14386 hor_pos "c"
14387 has_inner_box 1
14388 inner_pos "c"
14389 use_parbox 0
14390 use_makebox 0
14391 width "15col%"
14392 special "none"
14393 height "1in"
14394 height_special "totalheight"
14395 status collapsed
14396
14397 \begin_layout Plain Layout
14398 \begin_inset Tabular
14399 <lyxtabular version="3" rows="3" columns="3">
14400 <features tabularvalignment="middle">
14401 <column alignment="center" valignment="top" width="0">
14402 <column alignment="center" valignment="top" width="0">
14403 <column alignment="center" valignment="top" width="0">
14404 <row>
14405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14406 \begin_inset Text
14407
14408 \begin_layout Plain Layout
14409 a
14410 \end_layout
14411
14412 \end_inset
14413 </cell>
14414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14415 \begin_inset Text
14416
14417 \begin_layout Plain Layout
14418 d
14419 \end_layout
14420
14421 \end_inset
14422 </cell>
14423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14424 \begin_inset Text
14425
14426 \begin_layout Plain Layout
14427 g
14428 \end_layout
14429
14430 \end_inset
14431 </cell>
14432 </row>
14433 <row>
14434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14435 \begin_inset Text
14436
14437 \begin_layout Plain Layout
14438 b
14439 \end_layout
14440
14441 \end_inset
14442 </cell>
14443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14444 \begin_inset Text
14445
14446 \begin_layout Plain Layout
14447 e
14448 \end_layout
14449
14450 \end_inset
14451 </cell>
14452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14453 \begin_inset Text
14454
14455 \begin_layout Plain Layout
14456 h
14457 \end_layout
14458
14459 \end_inset
14460 </cell>
14461 </row>
14462 <row>
14463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14464 \begin_inset Text
14465
14466 \begin_layout Plain Layout
14467 c
14468 \end_layout
14469
14470 \end_inset
14471 </cell>
14472 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14473 \begin_inset Text
14474
14475 \begin_layout Plain Layout
14476 f
14477 \end_layout
14478
14479 \end_inset
14480 </cell>
14481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14482 \begin_inset Text
14483
14484 \begin_layout Plain Layout
14485 i
14486 \end_layout
14487
14488 \end_inset
14489 </cell>
14490 </row>
14491 </lyxtabular>
14492
14493 \end_inset
14494
14495
14496 \end_layout
14497
14498 \end_inset
14499
14500
14501 \end_layout
14502
14503 \begin_layout Itemize
14504 test 
14505 \begin_inset Box Frameless
14506 position "b"
14507 hor_pos "c"
14508 has_inner_box 1
14509 inner_pos "c"
14510 use_parbox 0
14511 use_makebox 0
14512 width "15col%"
14513 special "none"
14514 height "1in"
14515 height_special "totalheight"
14516 status collapsed
14517
14518 \begin_layout Plain Layout
14519 \begin_inset Tabular
14520 <lyxtabular version="3" rows="3" columns="3">
14521 <features tabularvalignment="middle">
14522 <column alignment="center" valignment="top" width="0">
14523 <column alignment="center" valignment="top" width="0">
14524 <column alignment="center" valignment="top" width="0">
14525 <row>
14526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14527 \begin_inset Text
14528
14529 \begin_layout Plain Layout
14530 a
14531 \end_layout
14532
14533 \end_inset
14534 </cell>
14535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14536 \begin_inset Text
14537
14538 \begin_layout Plain Layout
14539 d
14540 \end_layout
14541
14542 \end_inset
14543 </cell>
14544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14545 \begin_inset Text
14546
14547 \begin_layout Plain Layout
14548 g
14549 \end_layout
14550
14551 \end_inset
14552 </cell>
14553 </row>
14554 <row>
14555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14556 \begin_inset Text
14557
14558 \begin_layout Plain Layout
14559 b
14560 \end_layout
14561
14562 \end_inset
14563 </cell>
14564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14565 \begin_inset Text
14566
14567 \begin_layout Plain Layout
14568 e
14569 \end_layout
14570
14571 \end_inset
14572 </cell>
14573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14574 \begin_inset Text
14575
14576 \begin_layout Plain Layout
14577 h
14578 \end_layout
14579
14580 \end_inset
14581 </cell>
14582 </row>
14583 <row>
14584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14585 \begin_inset Text
14586
14587 \begin_layout Plain Layout
14588 c
14589 \end_layout
14590
14591 \end_inset
14592 </cell>
14593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14594 \begin_inset Text
14595
14596 \begin_layout Plain Layout
14597 f
14598 \end_layout
14599
14600 \end_inset
14601 </cell>
14602 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14603 \begin_inset Text
14604
14605 \begin_layout Plain Layout
14606 i
14607 \end_layout
14608
14609 \end_inset
14610 </cell>
14611 </row>
14612 </lyxtabular>
14613
14614 \end_inset
14615
14616
14617 \end_layout
14618
14619 \end_inset
14620
14621  test 
14622 \begin_inset ERT
14623 status collapsed
14624
14625 \begin_layout Plain Layout
14626
14627
14628 \backslash
14629 raisebox{-0.32
14630 \backslash
14631 baselineskip}{
14632 \end_layout
14633
14634 \end_inset
14635
14636
14637 \begin_inset Box Frameless
14638 position "b"
14639 hor_pos "c"
14640 has_inner_box 1
14641 inner_pos "c"
14642 use_parbox 0
14643 use_makebox 0
14644 width "15col%"
14645 special "none"
14646 height "1in"
14647 height_special "totalheight"
14648 status collapsed
14649
14650 \begin_layout Plain Layout
14651 \begin_inset Tabular
14652 <lyxtabular version="3" rows="3" columns="3">
14653 <features tabularvalignment="middle">
14654 <column alignment="center" valignment="top" width="0">
14655 <column alignment="center" valignment="top" width="0">
14656 <column alignment="center" valignment="top" width="0">
14657 <row>
14658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14659 \begin_inset Text
14660
14661 \begin_layout Plain Layout
14662 a
14663 \end_layout
14664
14665 \end_inset
14666 </cell>
14667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14668 \begin_inset Text
14669
14670 \begin_layout Plain Layout
14671 d
14672 \end_layout
14673
14674 \end_inset
14675 </cell>
14676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14677 \begin_inset Text
14678
14679 \begin_layout Plain Layout
14680 g
14681 \end_layout
14682
14683 \end_inset
14684 </cell>
14685 </row>
14686 <row>
14687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14688 \begin_inset Text
14689
14690 \begin_layout Plain Layout
14691 b
14692 \end_layout
14693
14694 \end_inset
14695 </cell>
14696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14697 \begin_inset Text
14698
14699 \begin_layout Plain Layout
14700 e
14701 \end_layout
14702
14703 \end_inset
14704 </cell>
14705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14706 \begin_inset Text
14707
14708 \begin_layout Plain Layout
14709 h
14710 \end_layout
14711
14712 \end_inset
14713 </cell>
14714 </row>
14715 <row>
14716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14717 \begin_inset Text
14718
14719 \begin_layout Plain Layout
14720 c
14721 \end_layout
14722
14723 \end_inset
14724 </cell>
14725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14726 \begin_inset Text
14727
14728 \begin_layout Plain Layout
14729 f
14730 \end_layout
14731
14732 \end_inset
14733 </cell>
14734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14735 \begin_inset Text
14736
14737 \begin_layout Plain Layout
14738 i
14739 \end_layout
14740
14741 \end_inset
14742 </cell>
14743 </row>
14744 </lyxtabular>
14745
14746 \end_inset
14747
14748
14749 \end_layout
14750
14751 \end_inset
14752
14753
14754 \begin_inset ERT
14755 status collapsed
14756
14757 \begin_layout Plain Layout
14758
14759 }
14760 \end_layout
14761
14762 \end_inset
14763
14764
14765 \end_layout
14766
14767 \begin_layout Standard
14768 As you will see, the content of the first and last table row is not correctly
14769  aligned.
14770  To get this alignment, the minipage box must be set into a raisebox
14771 \begin_inset Foot
14772 status collapsed
14773
14774 \begin_layout Plain Layout
14775 Raiseboxes are described in section
14776 \begin_inset space ~
14777 \end_inset
14778
14779
14780 \begin_inset CommandInset ref
14781 LatexCommand ref
14782 reference "sub:Vertical-Alignment"
14783
14784 \end_inset
14785
14786 .
14787 \end_layout
14788
14789 \end_inset
14790
14791 .
14792  In the example above the second table in the first item is aligned using
14793  the TeX-Code-command
14794 \end_layout
14795
14796 \begin_layout Standard
14797
14798 \series bold
14799
14800 \backslash
14801 raisebox{0.85
14802 \backslash
14803 baselineskip}{
14804 \end_layout
14805
14806 \begin_layout Standard
14807 before the box.
14808  After the box the closing brace 
14809 \series bold
14810 }
14811 \series default
14812  is inserted as TeX-Code.
14813  For the second table in the last item the command
14814 \end_layout
14815
14816 \begin_layout Standard
14817
14818 \series bold
14819
14820 \backslash
14821 raisebox{-0.32
14822 \backslash
14823 baselineskip}{
14824 \end_layout
14825
14826 \begin_layout Standard
14827 is used.
14828 \end_layout
14829
14830 \begin_layout Standard
14831 \begin_inset Note Greyedout
14832 status open
14833
14834 \begin_layout Plain Layout
14835
14836 \series bold
14837 Note:
14838 \series default
14839  The alignment of the table row content to the surrounding text line is
14840  not exact.
14841  The required value for the 
14842 \series bold
14843
14844 \backslash
14845 raisebox
14846 \series default
14847  command for this alignment depends on the document font, the font size,
14848  and the table line thickness.
14849 \end_layout
14850
14851 \end_inset
14852
14853
14854 \end_layout
14855
14856 \begin_layout Section
14857 Colored Tables
14858 \begin_inset CommandInset label
14859 LatexCommand label
14860 name "sec:Colored-Tables"
14861
14862 \end_inset
14863
14864
14865 \begin_inset Index idx
14866 status collapsed
14867
14868 \begin_layout Plain Layout
14869 Table ! Color
14870 \end_layout
14871
14872 \end_inset
14873
14874
14875 \end_layout
14876
14877 \begin_layout Subsection
14878 Colored Cells
14879 \begin_inset Index idx
14880 status collapsed
14881
14882 \begin_layout Plain Layout
14883 Table Color ! for Cells
14884 \end_layout
14885
14886 \end_inset
14887
14888
14889 \begin_inset Index idx
14890 status collapsed
14891
14892 \begin_layout Plain Layout
14893 Color ! for Table Cells
14894 \end_layout
14895
14896 \end_inset
14897
14898
14899 \end_layout
14900
14901 \begin_layout Standard
14902 \begin_inset Float table
14903 placement h
14904 wide false
14905 sideways false
14906 status open
14907
14908 \begin_layout Plain Layout
14909 \begin_inset Caption
14910
14911 \begin_layout Plain Layout
14912 \begin_inset CommandInset label
14913 LatexCommand label
14914 name "tab:Table-colored-without"
14915
14916 \end_inset
14917
14918 Table colored without using the package 
14919 \series bold
14920 colortbl
14921 \series default
14922
14923 \begin_inset Argument
14924 status collapsed
14925
14926 \begin_layout Plain Layout
14927 Table without colortbl
14928 \end_layout
14929
14930 \end_inset
14931
14932
14933 \end_layout
14934
14935 \end_inset
14936
14937
14938 \end_layout
14939
14940 \begin_layout Plain Layout
14941 \align center
14942 \begin_inset Tabular
14943 <lyxtabular version="3" rows="3" columns="3">
14944 <features tabularvalignment="middle">
14945 <column alignment="center" valignment="top" width="0">
14946 <column alignment="center" valignment="top" width="0">
14947 <column alignment="center" valignment="top" width="0">
14948 <row>
14949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14950 \begin_inset Text
14951
14952 \begin_layout Plain Layout
14953
14954 \color green
14955 a
14956 \end_layout
14957
14958 \end_inset
14959 </cell>
14960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14961 \begin_inset Text
14962
14963 \begin_layout Plain Layout
14964
14965 \color red
14966 b
14967 \end_layout
14968
14969 \end_inset
14970 </cell>
14971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14972 \begin_inset Text
14973
14974 \begin_layout Plain Layout
14975
14976 \color red
14977 c
14978 \end_layout
14979
14980 \end_inset
14981 </cell>
14982 </row>
14983 <row>
14984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14985 \begin_inset Text
14986
14987 \begin_layout Plain Layout
14988
14989 \color green
14990 d
14991 \end_layout
14992
14993 \end_inset
14994 </cell>
14995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14996 \begin_inset Text
14997
14998 \begin_layout Plain Layout
14999
15000 \color blue
15001 e
15002 \end_layout
15003
15004 \end_inset
15005 </cell>
15006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15007 \begin_inset Text
15008
15009 \begin_layout Plain Layout
15010
15011 \color blue
15012 f
15013 \end_layout
15014
15015 \end_inset
15016 </cell>
15017 </row>
15018 <row>
15019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15020 \begin_inset Text
15021
15022 \begin_layout Plain Layout
15023
15024 \color green
15025 g
15026 \end_layout
15027
15028 \end_inset
15029 </cell>
15030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15031 \begin_inset Text
15032
15033 \begin_layout Plain Layout
15034
15035 \color blue
15036 h
15037 \end_layout
15038
15039 \end_inset
15040 </cell>
15041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15042 \begin_inset Text
15043
15044 \begin_layout Plain Layout
15045
15046 \color blue
15047 i
15048 \end_layout
15049
15050 \end_inset
15051 </cell>
15052 </row>
15053 </lyxtabular>
15054
15055 \end_inset
15056
15057
15058 \end_layout
15059
15060 \end_inset
15061
15062
15063 \end_layout
15064
15065 \begin_layout Standard
15066 If you only need colored text, mark the cells and choose a color in the
15067  menu 
15068 \family sans
15069 Edit\SpecialChar \menuseparator
15070 Text
15071 \begin_inset space ~
15072 \end_inset
15073
15074 Style
15075 \family default
15076 .
15077  This was used to create Table
15078 \begin_inset space ~
15079 \end_inset
15080
15081
15082 \begin_inset CommandInset ref
15083 LatexCommand ref
15084 reference "tab:Table-colored-without"
15085
15086 \end_inset
15087
15088 .
15089  In any other case you have to use the LaTeX-package 
15090 \series bold
15091 colortbl
15092 \series default
15093 .
15094 \begin_inset Index idx
15095 status collapsed
15096
15097 \begin_layout Plain Layout
15098 LaTeX-packages ! colortbl
15099 \end_layout
15100
15101 \end_inset
15102
15103
15104 \end_layout
15105
15106 \begin_layout Standard
15107 \begin_inset ERT
15108 status collapsed
15109
15110 \begin_layout Plain Layout
15111
15112
15113 \backslash
15114 ifcolortbl
15115 \end_layout
15116
15117 \end_inset
15118
15119
15120 \begin_inset Note Note
15121 status open
15122
15123 \begin_layout Plain Layout
15124 The following section part will only be displayed when the LaTeX-package
15125  
15126 \series bold
15127 colortbl
15128 \series default
15129  is installed.
15130 \end_layout
15131
15132 \end_inset
15133
15134
15135 \end_layout
15136
15137 \begin_layout Standard
15138 To create colored tables, 
15139 \series bold
15140 colortbl
15141 \series default
15142  must be loaded in the preamble with the line
15143 \end_layout
15144
15145 \begin_layout Standard
15146
15147 \series bold
15148
15149 \backslash
15150 usepackage{colortbl}
15151 \end_layout
15152
15153 \begin_layout Standard
15154 The color of a column is adjusted with the command
15155 \end_layout
15156
15157 \begin_layout Standard
15158
15159 \series bold
15160
15161 \backslash
15162 columncolor{name of color}
15163 \end_layout
15164
15165 \begin_layout Standard
15166 inside the command 
15167 \series bold
15168 >{ }
15169 \series default
15170 .
15171  More about the command 
15172 \series bold
15173 >{}
15174 \series default
15175  is contained in section
15176 \begin_inset space ~
15177 \end_inset
15178
15179
15180 \begin_inset CommandInset ref
15181 LatexCommand ref
15182 reference "sub:Multicolumn-Calculations"
15183
15184 \end_inset
15185
15186 .
15187 \end_layout
15188
15189 \begin_layout Standard
15190 The following color names are predefined:
15191 \end_layout
15192
15193 \begin_layout Standard
15194
15195 \family sans
15196 red
15197 \family default
15198
15199 \family sans
15200 green
15201 \family default
15202
15203 \family sans
15204 yellow
15205 \family default
15206
15207 \family sans
15208 blue
15209 \family default
15210
15211 \family sans
15212 cyan
15213 \family default
15214
15215 \family sans
15216 magenta
15217 \family default
15218
15219 \family sans
15220 black
15221 \family default
15222  and 
15223 \family sans
15224 white
15225 \end_layout
15226
15227 \begin_layout Standard
15228 \begin_inset VSpace medskip
15229 \end_inset
15230
15231
15232 \end_layout
15233
15234 \begin_layout Standard
15235 You can also define your own color with the command
15236 \end_layout
15237
15238 \begin_layout Standard
15239
15240 \series bold
15241
15242 \backslash
15243 definecolor{color name}{color model}{color values}
15244 \end_layout
15245
15246 \begin_layout Standard
15247 The color model can be
15248 \end_layout
15249
15250 \begin_layout Labeling
15251 \labelwidthstring 00.00.0000
15252 cmyk: cyan, magenta, yellow, black
15253 \end_layout
15254
15255 \begin_layout Labeling
15256 \labelwidthstring 00.00.0000
15257 rgb: red, green blue
15258 \end_layout
15259
15260 \begin_layout Labeling
15261 \labelwidthstring 00.00.0000
15262 gray gray
15263 \end_layout
15264
15265 \begin_layout Standard
15266 and the color values are comma separated numbers between 0 and 1 describing
15267  the factor for the corresponding color of the color model.
15268 \end_layout
15269
15270 \begin_layout Standard
15271 You can e.
15272 \begin_inset space \thinspace{}
15273 \end_inset
15274
15275 g.
15276 \begin_inset space \space{}
15277 \end_inset
15278
15279 define the color "
15280 \emph on
15281 darkgreen
15282 \emph default
15283 " in the preamble with
15284 \end_layout
15285
15286 \begin_layout Standard
15287
15288 \series bold
15289
15290 \backslash
15291 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
15292 \end_layout
15293
15294 \begin_layout Standard
15295 and the color "
15296 \emph on
15297 lightgray
15298 \emph default
15299 " with
15300 \end_layout
15301
15302 \begin_layout Standard
15303
15304 \series bold
15305
15306 \backslash
15307 definecolor{lightgray}{gray}{0.8}
15308 \end_layout
15309
15310 \begin_layout Standard
15311 \begin_inset VSpace medskip
15312 \end_inset
15313
15314
15315 \end_layout
15316
15317 \begin_layout Standard
15318 Lines are colored with the command
15319 \end_layout
15320
15321 \begin_layout Standard
15322
15323 \series bold
15324
15325 \backslash
15326 rowcolor{name of color}
15327 \end_layout
15328
15329 \begin_layout Standard
15330 and cells are colored with the command
15331 \end_layout
15332
15333 \begin_layout Standard
15334
15335 \series bold
15336
15337 \backslash
15338 cellcolor{name of color}
15339 \end_layout
15340
15341 \begin_layout Standard
15342 Both commands are inserted at the beginning of a cell as TeX-Code.
15343 \end_layout
15344
15345 \begin_layout Standard
15346 To color characters in the table, mark the cells and use the LyX menu 
15347 \family sans
15348 Edit\SpecialChar \menuseparator
15349 Text
15350 \begin_inset space ~
15351 \end_inset
15352
15353 Style
15354 \family default
15355 .
15356  If a cell contains TeX-Code mark only the characters, otherwise the colored
15357  TeX-Code will cause LaTeX-errors.
15358 \end_layout
15359
15360 \begin_layout Standard
15361 \begin_inset Note Greyedout
15362 status open
15363
15364 \begin_layout Plain Layout
15365
15366 \series bold
15367 Note:
15368 \series default
15369  Not all DVI-viewers are able to display self-defined colors.
15370 \end_layout
15371
15372 \end_inset
15373
15374
15375 \end_layout
15376
15377 \begin_layout Standard
15378 \begin_inset VSpace bigskip
15379 \end_inset
15380
15381
15382 \end_layout
15383
15384 \begin_layout Standard
15385 To create Table
15386 \begin_inset space ~
15387 \end_inset
15388
15389
15390 \begin_inset CommandInset ref
15391 LatexCommand ref
15392 reference "tab:Table-colored-using"
15393
15394 \end_inset
15395
15396  do the following: The color of the first column should be 
15397 \emph on
15398 darkgreen
15399 \emph default
15400 .
15401  So insert
15402 \end_layout
15403
15404 \begin_layout Standard
15405
15406 \series bold
15407 >{
15408 \backslash
15409 columncolor{darkgreen}
15410 \backslash
15411 centering}c
15412 \end_layout
15413
15414 \begin_layout Standard
15415 as LaTeX-argument for this column.
15416  The first row should be blue, therefore the TeX-Code command
15417 \end_layout
15418
15419 \begin_layout Standard
15420
15421 \series bold
15422
15423 \backslash
15424 rowcolor{cyan}
15425 \end_layout
15426
15427 \begin_layout Standard
15428 is inserted to the first cell of this row.
15429  Note that this overwrites the column color for the first cell.
15430  The last cell of the last row is colored magenta by inserting the TeX-Code
15431  command
15432 \end_layout
15433
15434 \begin_layout Standard
15435
15436 \series bold
15437
15438 \backslash
15439 cellcolor{magenta}
15440 \end_layout
15441
15442 \begin_layout Standard
15443 The characters could now be colored using the menu 
15444 \family sans
15445 Edit\SpecialChar \menuseparator
15446 Text
15447 \begin_inset space ~
15448 \end_inset
15449
15450 Style
15451 \family default
15452 .
15453 \end_layout
15454
15455 \begin_layout Standard
15456 \begin_inset Float table
15457 placement h
15458 wide false
15459 sideways false
15460 status open
15461
15462 \begin_layout Plain Layout
15463 \begin_inset Caption
15464
15465 \begin_layout Plain Layout
15466 \begin_inset CommandInset label
15467 LatexCommand label
15468 name "tab:Table-colored-using"
15469
15470 \end_inset
15471
15472 Table colored using the package 
15473 \series bold
15474 colortbl
15475 \series default
15476
15477 \begin_inset Argument
15478 status collapsed
15479
15480 \begin_layout Plain Layout
15481 Table with colortbl
15482 \end_layout
15483
15484 \end_inset
15485
15486
15487 \end_layout
15488
15489 \end_inset
15490
15491
15492 \end_layout
15493
15494 \begin_layout Plain Layout
15495 \align center
15496 \begin_inset Tabular
15497 <lyxtabular version="3" rows="3" columns="3">
15498 <features tabularvalignment="middle">
15499 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15500 <column alignment="center" valignment="top" width="0">
15501 <column alignment="center" valignment="top" width="0">
15502 <row>
15503 <cell alignment="center" valignment="top" usebox="none">
15504 \begin_inset Text
15505
15506 \begin_layout Plain Layout
15507 \begin_inset ERT
15508 status collapsed
15509
15510 \begin_layout Plain Layout
15511
15512
15513 \backslash
15514 rowcolor{cyan}
15515 \end_layout
15516
15517 \end_inset
15518
15519
15520 \color magenta
15521 a
15522 \end_layout
15523
15524 \end_inset
15525 </cell>
15526 <cell alignment="center" valignment="top" usebox="none">
15527 \begin_inset Text
15528
15529 \begin_layout Plain Layout
15530
15531 \color red
15532 b
15533 \end_layout
15534
15535 \end_inset
15536 </cell>
15537 <cell alignment="center" valignment="top" usebox="none">
15538 \begin_inset Text
15539
15540 \begin_layout Plain Layout
15541
15542 \color red
15543 c
15544 \end_layout
15545
15546 \end_inset
15547 </cell>
15548 </row>
15549 <row>
15550 <cell alignment="center" valignment="top" usebox="none">
15551 \begin_inset Text
15552
15553 \begin_layout Plain Layout
15554
15555 \color yellow
15556 d
15557 \end_layout
15558
15559 \end_inset
15560 </cell>
15561 <cell alignment="center" valignment="top" usebox="none">
15562 \begin_inset Text
15563
15564 \begin_layout Plain Layout
15565
15566 \color blue
15567 e
15568 \end_layout
15569
15570 \end_inset
15571 </cell>
15572 <cell alignment="center" valignment="top" usebox="none">
15573 \begin_inset Text
15574
15575 \begin_layout Plain Layout
15576
15577 \color blue
15578 f
15579 \end_layout
15580
15581 \end_inset
15582 </cell>
15583 </row>
15584 <row>
15585 <cell alignment="center" valignment="top" usebox="none">
15586 \begin_inset Text
15587
15588 \begin_layout Plain Layout
15589
15590 \color yellow
15591 g
15592 \end_layout
15593
15594 \end_inset
15595 </cell>
15596 <cell alignment="center" valignment="top" usebox="none">
15597 \begin_inset Text
15598
15599 \begin_layout Plain Layout
15600
15601 \color blue
15602 h
15603 \end_layout
15604
15605 \end_inset
15606 </cell>
15607 <cell alignment="center" valignment="top" usebox="none">
15608 \begin_inset Text
15609
15610 \begin_layout Plain Layout
15611 \begin_inset ERT
15612 status collapsed
15613
15614 \begin_layout Plain Layout
15615
15616
15617 \backslash
15618 cellcolor{magenta}
15619 \end_layout
15620
15621 \end_inset
15622
15623
15624 \color green
15625 i
15626 \end_layout
15627
15628 \end_inset
15629 </cell>
15630 </row>
15631 </lyxtabular>
15632
15633 \end_inset
15634
15635
15636 \end_layout
15637
15638 \end_inset
15639
15640
15641 \end_layout
15642
15643 \begin_layout Standard
15644 \begin_inset ERT
15645 status collapsed
15646
15647 \begin_layout Plain Layout
15648
15649
15650 \backslash
15651 else
15652 \end_layout
15653
15654 \end_inset
15655
15656
15657 \begin_inset Note Note
15658 status open
15659
15660 \begin_layout Plain Layout
15661 The following will be displayed when the LaTeX-package 
15662 \series bold
15663 colortbl
15664 \series default
15665  is not installed:
15666 \end_layout
15667
15668 \end_inset
15669
15670
15671 \end_layout
15672
15673 \begin_layout Standard
15674 You need to install the package 
15675 \series bold
15676 colortbl
15677 \series default
15678  to see the content of this section in the output.
15679 \end_layout
15680
15681 \begin_layout Standard
15682 \begin_inset ERT
15683 status collapsed
15684
15685 \begin_layout Plain Layout
15686
15687
15688 \backslash
15689 fi
15690 \end_layout
15691
15692 \end_inset
15693
15694
15695 \end_layout
15696
15697 \begin_layout Subsection
15698 Colored Lines
15699 \begin_inset Index idx
15700 status collapsed
15701
15702 \begin_layout Plain Layout
15703 Table Color ! for Lines
15704 \end_layout
15705
15706 \end_inset
15707
15708
15709 \begin_inset Index idx
15710 status collapsed
15711
15712 \begin_layout Plain Layout
15713 Color ! for Table Lines
15714 \end_layout
15715
15716 \end_inset
15717
15718
15719 \end_layout
15720
15721 \begin_layout Standard
15722 As described in section
15723 \begin_inset space ~
15724 \end_inset
15725
15726
15727 \begin_inset CommandInset ref
15728 LatexCommand ref
15729 reference "sub:Line-Thickness"
15730
15731 \end_inset
15732
15733 , the line thickness for all lines in a table can be adjusted with the length
15734  
15735 \series bold
15736
15737 \backslash
15738 arrayrulewidth
15739 \series default
15740 .
15741  It is set to 1.5
15742 \begin_inset space \thinspace{}
15743 \end_inset
15744
15745 pt for all tables of this section.
15746 \begin_inset ERT
15747 status collapsed
15748
15749 \begin_layout Plain Layout
15750
15751
15752 \backslash
15753 setlength{
15754 \backslash
15755 arrayrulewidth}{1.5pt}
15756 \end_layout
15757
15758 \end_inset
15759
15760
15761 \end_layout
15762
15763 \begin_layout Standard
15764 To color vertical lines for example with green, create the following column
15765  format in the document preamble, according to the description in section
15766 \begin_inset space ~
15767 \end_inset
15768
15769
15770 \begin_inset CommandInset ref
15771 LatexCommand ref
15772 reference "sub:Customized-Format"
15773
15774 \end_inset
15775
15776 :
15777 \end_layout
15778
15779 \begin_layout Standard
15780
15781 \series bold
15782
15783 \backslash
15784 newcolumntype{W}{!{
15785 \backslash
15786 color{green}
15787 \backslash
15788 vline}}
15789 \end_layout
15790
15791 \begin_layout Standard
15792 For Table
15793 \begin_inset space ~
15794 \end_inset
15795
15796
15797 \begin_inset CommandInset ref
15798 LatexCommand ref
15799 reference "tab:Table-with-vertical-colored"
15800
15801 \end_inset
15802
15803  the LaTeX-argument
15804 \series bold
15805  WcW
15806 \series default
15807  was used for the last column and
15808 \series bold
15809  Wc
15810 \series default
15811  for the other columns.
15812 \end_layout
15813
15814 \begin_layout Standard
15815 If you want to have several colors, define more column formats.
15816 \end_layout
15817
15818 \begin_layout Standard
15819 \begin_inset Float table
15820 placement h
15821 wide false
15822 sideways false
15823 status open
15824
15825 \begin_layout Plain Layout
15826 \begin_inset Caption
15827
15828 \begin_layout Plain Layout
15829 \begin_inset CommandInset label
15830 LatexCommand label
15831 name "tab:Table-with-vertical-colored"
15832
15833 \end_inset
15834
15835 Table with colored vertical lines
15836 \end_layout
15837
15838 \end_inset
15839
15840
15841 \end_layout
15842
15843 \begin_layout Plain Layout
15844 \align center
15845 \begin_inset Tabular
15846 <lyxtabular version="3" rows="3" columns="3">
15847 <features tabularvalignment="middle">
15848 <column alignment="center" valignment="top" width="0" special="Wc">
15849 <column alignment="center" valignment="top" width="0" special="Wc">
15850 <column alignment="center" valignment="top" width="0" special="WcW">
15851 <row>
15852 <cell alignment="center" valignment="top" topline="true" usebox="none">
15853 \begin_inset Text
15854
15855 \begin_layout Plain Layout
15856 sd
15857 \end_layout
15858
15859 \end_inset
15860 </cell>
15861 <cell alignment="center" valignment="top" topline="true" usebox="none">
15862 \begin_inset Text
15863
15864 \begin_layout Plain Layout
15865
15866 \end_layout
15867
15868 \end_inset
15869 </cell>
15870 <cell alignment="center" valignment="top" topline="true" usebox="none">
15871 \begin_inset Text
15872
15873 \begin_layout Plain Layout
15874
15875 \end_layout
15876
15877 \end_inset
15878 </cell>
15879 </row>
15880 <row>
15881 <cell alignment="center" valignment="top" topline="true" usebox="none">
15882 \begin_inset Text
15883
15884 \begin_layout Plain Layout
15885
15886 \end_layout
15887
15888 \end_inset
15889 </cell>
15890 <cell alignment="center" valignment="top" topline="true" usebox="none">
15891 \begin_inset Text
15892
15893 \begin_layout Plain Layout
15894 sd
15895 \end_layout
15896
15897 \end_inset
15898 </cell>
15899 <cell alignment="center" valignment="top" topline="true" usebox="none">
15900 \begin_inset Text
15901
15902 \begin_layout Plain Layout
15903
15904 \end_layout
15905
15906 \end_inset
15907 </cell>
15908 </row>
15909 <row>
15910 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15911 \begin_inset Text
15912
15913 \begin_layout Plain Layout
15914
15915 \end_layout
15916
15917 \end_inset
15918 </cell>
15919 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15920 \begin_inset Text
15921
15922 \begin_layout Plain Layout
15923
15924 \end_layout
15925
15926 \end_inset
15927 </cell>
15928 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15929 \begin_inset Text
15930
15931 \begin_layout Plain Layout
15932 sd
15933 \end_layout
15934
15935 \end_inset
15936 </cell>
15937 </row>
15938 </lyxtabular>
15939
15940 \end_inset
15941
15942
15943 \end_layout
15944
15945 \end_inset
15946
15947
15948 \end_layout
15949
15950 \begin_layout Standard
15951 \begin_inset VSpace bigskip
15952 \end_inset
15953
15954 To color horizontal lines for example with red, as in Table
15955 \begin_inset space ~
15956 \end_inset
15957
15958
15959 \begin_inset CommandInset ref
15960 LatexCommand ref
15961 reference "tab:Table-with-horizontal-colored"
15962
15963 \end_inset
15964
15965 , insert these commands in TeX-Code before the table or table float:
15966 \end_layout
15967
15968 \begin_layout Standard
15969
15970 \series bold
15971
15972 \backslash
15973 let
15974 \backslash
15975 myHlineC
15976 \backslash
15977 hline
15978 \begin_inset Newline newline
15979 \end_inset
15980
15981
15982 \backslash
15983 renewcommand{
15984 \backslash
15985 hline}
15986 \begin_inset Newline newline
15987 \end_inset
15988
15989
15990 \begin_inset Phantom HPhantom
15991 status open
15992
15993 \begin_layout Plain Layout
15994
15995 \series bold
15996 \begin_inset space ~
15997 \end_inset
15998
15999
16000 \end_layout
16001
16002 \end_inset
16003
16004 {
16005 \backslash
16006 arrayrulecolor{red}
16007 \backslash
16008 myHlineC
16009 \backslash
16010 arrayrulecolor{black}}
16011 \end_layout
16012
16013 \begin_layout Standard
16014 \begin_inset ERT
16015 status collapsed
16016
16017 \begin_layout Plain Layout
16018
16019
16020 \backslash
16021 let
16022 \backslash
16023 myHlineC
16024 \backslash
16025 hline
16026 \end_layout
16027
16028 \begin_layout Plain Layout
16029
16030
16031 \backslash
16032 renewcommand{
16033 \backslash
16034 hline}
16035 \end_layout
16036
16037 \begin_layout Plain Layout
16038
16039  {
16040 \backslash
16041 arrayrulecolor{red}
16042 \backslash
16043 myHlineC
16044 \backslash
16045 arrayrulecolor{black}}
16046 \end_layout
16047
16048 \end_inset
16049
16050
16051 \begin_inset Float table
16052 placement h
16053 wide false
16054 sideways false
16055 status open
16056
16057 \begin_layout Plain Layout
16058 \begin_inset Caption
16059
16060 \begin_layout Plain Layout
16061 \begin_inset CommandInset label
16062 LatexCommand label
16063 name "tab:Table-with-horizontal-colored"
16064
16065 \end_inset
16066
16067 Table with colored horizontal lines
16068 \end_layout
16069
16070 \end_inset
16071
16072
16073 \end_layout
16074
16075 \begin_layout Plain Layout
16076 \align center
16077 \begin_inset Tabular
16078 <lyxtabular version="3" rows="3" columns="3">
16079 <features tabularvalignment="middle">
16080 <column alignment="center" valignment="top" width="0">
16081 <column alignment="center" valignment="top" width="0">
16082 <column alignment="center" valignment="top" width="0">
16083 <row>
16084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16085 \begin_inset Text
16086
16087 \begin_layout Plain Layout
16088 sd
16089 \end_layout
16090
16091 \end_inset
16092 </cell>
16093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16094 \begin_inset Text
16095
16096 \begin_layout Plain Layout
16097
16098 \end_layout
16099
16100 \end_inset
16101 </cell>
16102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16103 \begin_inset Text
16104
16105 \begin_layout Plain Layout
16106
16107 \end_layout
16108
16109 \end_inset
16110 </cell>
16111 </row>
16112 <row>
16113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16114 \begin_inset Text
16115
16116 \begin_layout Plain Layout
16117
16118 \end_layout
16119
16120 \end_inset
16121 </cell>
16122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16123 \begin_inset Text
16124
16125 \begin_layout Plain Layout
16126 sd
16127 \end_layout
16128
16129 \end_inset
16130 </cell>
16131 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16132 \begin_inset Text
16133
16134 \begin_layout Plain Layout
16135
16136 \end_layout
16137
16138 \end_inset
16139 </cell>
16140 </row>
16141 <row>
16142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16143 \begin_inset Text
16144
16145 \begin_layout Plain Layout
16146
16147 \end_layout
16148
16149 \end_inset
16150 </cell>
16151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16152 \begin_inset Text
16153
16154 \begin_layout Plain Layout
16155
16156 \end_layout
16157
16158 \end_inset
16159 </cell>
16160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16161 \begin_inset Text
16162
16163 \begin_layout Plain Layout
16164 sd
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 </row>
16170 </lyxtabular>
16171
16172 \end_inset
16173
16174
16175 \end_layout
16176
16177 \end_inset
16178
16179
16180 \end_layout
16181
16182 \begin_layout Standard
16183 To return to the default line color black, insert this command in TeX-Code
16184  after the table or table float:
16185 \end_layout
16186
16187 \begin_layout Standard
16188
16189 \series bold
16190
16191 \backslash
16192 renewcommand{
16193 \backslash
16194 hline}{
16195 \backslash
16196 myHlineC}
16197 \end_layout
16198
16199 \begin_layout Standard
16200 Table
16201 \begin_inset space ~
16202 \end_inset
16203
16204
16205 \begin_inset CommandInset ref
16206 LatexCommand ref
16207 reference "tab:Table-with-colored"
16208
16209 \end_inset
16210
16211  is an example with colored vertical and horizontal lines.
16212 \end_layout
16213
16214 \begin_layout Standard
16215 \begin_inset Float table
16216 placement h
16217 wide false
16218 sideways false
16219 status open
16220
16221 \begin_layout Plain Layout
16222 \begin_inset Caption
16223
16224 \begin_layout Plain Layout
16225 \begin_inset CommandInset label
16226 LatexCommand label
16227 name "tab:Table-with-colored"
16228
16229 \end_inset
16230
16231 Table with colored lines
16232 \end_layout
16233
16234 \end_inset
16235
16236
16237 \end_layout
16238
16239 \begin_layout Plain Layout
16240 \align center
16241 \begin_inset Tabular
16242 <lyxtabular version="3" rows="3" columns="3">
16243 <features tabularvalignment="middle">
16244 <column alignment="center" valignment="top" width="0" special="Wc">
16245 <column alignment="center" valignment="top" width="0" special="Wc">
16246 <column alignment="center" valignment="top" width="0" special="WcW">
16247 <row>
16248 <cell alignment="center" valignment="top" topline="true" usebox="none">
16249 \begin_inset Text
16250
16251 \begin_layout Plain Layout
16252 sd
16253 \end_layout
16254
16255 \end_inset
16256 </cell>
16257 <cell alignment="center" valignment="top" topline="true" usebox="none">
16258 \begin_inset Text
16259
16260 \begin_layout Plain Layout
16261
16262 \end_layout
16263
16264 \end_inset
16265 </cell>
16266 <cell alignment="center" valignment="top" topline="true" usebox="none">
16267 \begin_inset Text
16268
16269 \begin_layout Plain Layout
16270
16271 \end_layout
16272
16273 \end_inset
16274 </cell>
16275 </row>
16276 <row>
16277 <cell alignment="center" valignment="top" topline="true" usebox="none">
16278 \begin_inset Text
16279
16280 \begin_layout Plain Layout
16281
16282 \end_layout
16283
16284 \end_inset
16285 </cell>
16286 <cell alignment="center" valignment="top" topline="true" usebox="none">
16287 \begin_inset Text
16288
16289 \begin_layout Plain Layout
16290 sd
16291 \end_layout
16292
16293 \end_inset
16294 </cell>
16295 <cell alignment="center" valignment="top" topline="true" usebox="none">
16296 \begin_inset Text
16297
16298 \begin_layout Plain Layout
16299
16300 \end_layout
16301
16302 \end_inset
16303 </cell>
16304 </row>
16305 <row topspace="default">
16306 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16307 \begin_inset Text
16308
16309 \begin_layout Plain Layout
16310
16311 \end_layout
16312
16313 \end_inset
16314 </cell>
16315 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16316 \begin_inset Text
16317
16318 \begin_layout Plain Layout
16319
16320 \end_layout
16321
16322 \end_inset
16323 </cell>
16324 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16325 \begin_inset Text
16326
16327 \begin_layout Plain Layout
16328 sd
16329 \end_layout
16330
16331 \end_inset
16332 </cell>
16333 </row>
16334 </lyxtabular>
16335
16336 \end_inset
16337
16338
16339 \end_layout
16340
16341 \end_inset
16342
16343
16344 \end_layout
16345
16346 \begin_layout Standard
16347 \begin_inset ERT
16348 status collapsed
16349
16350 \begin_layout Plain Layout
16351
16352
16353 \backslash
16354 renewcommand{
16355 \backslash
16356 hline}{
16357 \backslash
16358 myHlineC}
16359 \end_layout
16360
16361 \end_inset
16362
16363
16364 \end_layout
16365
16366 \begin_layout Standard
16367 \begin_inset ERT
16368 status collapsed
16369
16370 \begin_layout Plain Layout
16371
16372
16373 \backslash
16374 setlength{
16375 \backslash
16376 arrayrulewidth}{0.4pt}
16377 \end_layout
16378
16379 \end_inset
16380
16381
16382 \end_layout
16383
16384 \begin_layout Section
16385 Table Customization
16386 \begin_inset Index idx
16387 status collapsed
16388
16389 \begin_layout Plain Layout
16390 Table Customization
16391 \end_layout
16392
16393 \end_inset
16394
16395
16396 \begin_inset Index idx
16397 status collapsed
16398
16399 \begin_layout Plain Layout
16400 Table ! Customization
16401 \end_layout
16402
16403 \end_inset
16404
16405
16406 \end_layout
16407
16408 \begin_layout Subsection
16409 Row Spacing
16410 \begin_inset CommandInset label
16411 LatexCommand label
16412 name "sub:Row-Spacing"
16413
16414 \end_inset
16415
16416
16417 \begin_inset Index idx
16418 status collapsed
16419
16420 \begin_layout Plain Layout
16421 Table Customization ! Row Spacing
16422 \end_layout
16423
16424 \end_inset
16425
16426
16427 \end_layout
16428
16429 \begin_layout Standard
16430 You can add vertical space to table rows in the 
16431 \family sans
16432 Borders
16433 \family default
16434  tab of the table dialog.
16435  You find there three possibilities:
16436 \end_layout
16437
16438 \begin_layout Description
16439 Top
16440 \begin_inset space ~
16441 \end_inset
16442
16443 of
16444 \begin_inset space ~
16445 \end_inset
16446
16447 row will add space above the characters of the table row.
16448  If the table is a formal table
16449 \begin_inset Foot
16450 status collapsed
16451
16452 \begin_layout Plain Layout
16453 Formal tables are explained in section
16454 \begin_inset space ~
16455 \end_inset
16456
16457
16458 \begin_inset CommandInset ref
16459 LatexCommand ref
16460 reference "sec:Formal-Tables"
16461
16462 \end_inset
16463
16464 .
16465 \end_layout
16466
16467 \end_inset
16468
16469  LyX will insert as default 0.5
16470 \begin_inset space \thinspace{}
16471 \end_inset
16472
16473 em space.
16474  For normal tables the inserted space will unfortunately destroy the vertical
16475  table lines as in the following table:
16476 \begin_inset VSpace medskip
16477 \end_inset
16478
16479
16480 \begin_inset Newline newline
16481 \end_inset
16482
16483
16484 \begin_inset space \hspace*{}
16485 \length 0pt
16486 \end_inset
16487
16488
16489 \begin_inset space \hfill{}
16490 \end_inset
16491
16492
16493 \begin_inset Tabular
16494 <lyxtabular version="3" rows="3" columns="1">
16495 <features tabularvalignment="middle">
16496 <column alignment="center" valignment="top" width="0">
16497 <row>
16498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16499 \begin_inset Text
16500
16501 \begin_layout Plain Layout
16502 A
16503 \end_layout
16504
16505 \end_inset
16506 </cell>
16507 </row>
16508 <row topspace="3mm">
16509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16510 \begin_inset Text
16511
16512 \begin_layout Plain Layout
16513 3
16514 \begin_inset space \thinspace{}
16515 \end_inset
16516
16517 mm space top of row
16518 \end_layout
16519
16520 \end_inset
16521 </cell>
16522 </row>
16523 <row>
16524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16525 \begin_inset Text
16526
16527 \begin_layout Plain Layout
16528 C
16529 \end_layout
16530
16531 \end_inset
16532 </cell>
16533 </row>
16534 </lyxtabular>
16535
16536 \end_inset
16537
16538
16539 \begin_inset space \hfill{}
16540 \end_inset
16541
16542
16543 \begin_inset space \hspace*{}
16544 \length 0pt
16545 \end_inset
16546
16547
16548 \begin_inset VSpace medskip
16549 \end_inset
16550
16551
16552 \begin_inset Newline newline
16553 \end_inset
16554
16555 So inserting space in the top of row for normal tables is only useful when
16556  you don't have vertical lines.
16557 \end_layout
16558
16559 \begin_layout Description
16560 Bottom
16561 \begin_inset space ~
16562 \end_inset
16563
16564 of
16565 \begin_inset space ~
16566 \end_inset
16567
16568 row will add space below the characters of the table row.
16569  If the table is a formal table LyX will insert as default 0.5
16570 \begin_inset space \thinspace{}
16571 \end_inset
16572
16573 em space, for normal tables the default size is 2
16574 \begin_inset space \thinspace{}
16575 \end_inset
16576
16577 pt.
16578 \end_layout
16579
16580 \begin_layout Description
16581 Between
16582 \begin_inset space ~
16583 \end_inset
16584
16585 rows adds space between the current and the following row.
16586  If the table is a formal table LyX will insert as default 0.5
16587 \begin_inset space \thinspace{}
16588 \end_inset
16589
16590 em space.
16591  For normal tables the inserted space will unfortunately destroy the vertical
16592  table lines as in the following table:
16593 \begin_inset VSpace medskip
16594 \end_inset
16595
16596
16597 \begin_inset Newline newline
16598 \end_inset
16599
16600
16601 \begin_inset space \hspace*{}
16602 \length 0pt
16603 \end_inset
16604
16605
16606 \begin_inset space \hfill{}
16607 \end_inset
16608
16609
16610 \begin_inset Tabular
16611 <lyxtabular version="3" rows="3" columns="1">
16612 <features tabularvalignment="middle">
16613 <column alignment="center" valignment="top" width="0">
16614 <row>
16615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16616 \begin_inset Text
16617
16618 \begin_layout Plain Layout
16619 A
16620 \end_layout
16621
16622 \end_inset
16623 </cell>
16624 </row>
16625 <row interlinespace="3mm">
16626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16627 \begin_inset Text
16628
16629 \begin_layout Plain Layout
16630 \begin_inset Formula $\downarrow$
16631 \end_inset
16632
16633  3
16634 \begin_inset space \thinspace{}
16635 \end_inset
16636
16637 mm space between row 
16638 \begin_inset Formula $\downarrow$
16639 \end_inset
16640
16641
16642 \end_layout
16643
16644 \end_inset
16645 </cell>
16646 </row>
16647 <row>
16648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16649 \begin_inset Text
16650
16651 \begin_layout Plain Layout
16652 \begin_inset Formula $\uparrow$
16653 \end_inset
16654
16655  3
16656 \begin_inset space \thinspace{}
16657 \end_inset
16658
16659 mm space between row 
16660 \begin_inset Formula $\uparrow$
16661 \end_inset
16662
16663
16664 \end_layout
16665
16666 \end_inset
16667 </cell>
16668 </row>
16669 </lyxtabular>
16670
16671 \end_inset
16672
16673
16674 \begin_inset space \hfill{}
16675 \end_inset
16676
16677
16678 \begin_inset space \hspace*{}
16679 \length 0pt
16680 \end_inset
16681
16682
16683 \begin_inset VSpace medskip
16684 \end_inset
16685
16686
16687 \begin_inset Newline newline
16688 \end_inset
16689
16690 So inserting space between rows for normal tables is only useful when you
16691  don't have vertical lines.
16692 \end_layout
16693
16694 \begin_layout Standard
16695 \begin_inset VSpace bigskip
16696 \end_inset
16697
16698 When you want to add extra height to all cells of all tables, you can do
16699  this with the following preamble lines:
16700 \end_layout
16701
16702 \begin_layout Standard
16703
16704 \series bold
16705
16706 \backslash
16707 @ifundefined{extrarowheight}
16708 \begin_inset Newline newline
16709 \end_inset
16710
16711
16712 \begin_inset Phantom HPhantom
16713 status open
16714
16715 \begin_layout Plain Layout
16716
16717 \series bold
16718 \begin_inset space ~
16719 \end_inset
16720
16721
16722 \end_layout
16723
16724 \end_inset
16725
16726 {
16727 \backslash
16728 usepackage{array}}{}
16729 \begin_inset Newline newline
16730 \end_inset
16731
16732
16733 \backslash
16734 setlength{
16735 \backslash
16736 extrarowheight}{height}
16737 \end_layout
16738
16739 \begin_layout Standard
16740 But this has the disadvantage that the cell texts are no longer exactly
16741  vertically centered.
16742  (The package 
16743 \series bold
16744 array
16745 \series default
16746  will be loaded automatically by LyX when you use self defined table formats.
16747  To avoid that it being loaded twice the command 
16748 \series bold
16749
16750 \backslash
16751 @ifundefined
16752 \series default
16753  is used in the above command.)
16754 \end_layout
16755
16756 \begin_layout Standard
16757 If you are using font sizes larger than the normal size, the table borders
16758  are often too close to the letters.
16759  This can be corrected by inserting the command 
16760 \series bold
16761
16762 \backslash
16763 strut
16764 \series default
16765  in TeX code at the beginning of a table row.
16766  Table
16767 \begin_inset space ~
16768 \end_inset
16769
16770
16771 \begin_inset CommandInset ref
16772 LatexCommand ref
16773 reference "tab:Vertical-alignment-of"
16774
16775 \end_inset
16776
16777  illustrates the effect.
16778 \end_layout
16779
16780 \begin_layout Standard
16781 \noindent
16782 \begin_inset Float table
16783 placement h
16784 wide false
16785 sideways false
16786 status open
16787
16788 \begin_layout Plain Layout
16789 \begin_inset Caption
16790
16791 \begin_layout Plain Layout
16792 \begin_inset CommandInset label
16793 LatexCommand label
16794 name "tab:Vertical-alignment-of"
16795
16796 \end_inset
16797
16798 Vertical alignment of text with large font sizes.
16799 \end_layout
16800
16801 \end_inset
16802
16803
16804 \end_layout
16805
16806 \begin_layout Plain Layout
16807 \begin_inset space \hfill{}
16808 \end_inset
16809
16810
16811 \begin_inset Float table
16812 wide false
16813 sideways false
16814 status collapsed
16815
16816 \begin_layout Plain Layout
16817 \begin_inset Caption
16818
16819 \begin_layout Plain Layout
16820 Normal table.
16821 \end_layout
16822
16823 \end_inset
16824
16825
16826 \end_layout
16827
16828 \begin_layout Plain Layout
16829 \noindent
16830 \align center
16831 \begin_inset Tabular
16832 <lyxtabular version="3" rows="6" columns="1">
16833 <features tabularvalignment="middle">
16834 <column alignment="left" valignment="top" width="0">
16835 <row>
16836 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16837 \begin_inset Text
16838
16839 \begin_layout Plain Layout
16840 Normal, g
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 large
16853 Large
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 larger
16866 Larger
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 largest
16879 Largest
16880 \end_layout
16881
16882 \end_inset
16883 </cell>
16884 </row>
16885 <row>
16886 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16887 \begin_inset Text
16888
16889 \begin_layout Plain Layout
16890
16891 \size huge
16892 Huge
16893 \end_layout
16894
16895 \end_inset
16896 </cell>
16897 </row>
16898 <row>
16899 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16900 \begin_inset Text
16901
16902 \begin_layout Plain Layout
16903
16904 \size huge
16905 Huger
16906 \end_layout
16907
16908 \end_inset
16909 </cell>
16910 </row>
16911 </lyxtabular>
16912
16913 \end_inset
16914
16915
16916 \end_layout
16917
16918 \end_inset
16919
16920
16921 \begin_inset space \hfill{}
16922 \end_inset
16923
16924
16925 \begin_inset Float table
16926 wide false
16927 sideways false
16928 status collapsed
16929
16930 \begin_layout Plain Layout
16931 \begin_inset Caption
16932
16933 \begin_layout Plain Layout
16934 Table using the command 
16935 \series bold
16936
16937 \backslash
16938 strut
16939 \series default
16940 .
16941 \end_layout
16942
16943 \end_inset
16944
16945
16946 \end_layout
16947
16948 \begin_layout Plain Layout
16949 \noindent
16950 \align center
16951 \begin_inset Tabular
16952 <lyxtabular version="3" rows="6" columns="1">
16953 <features tabularvalignment="middle">
16954 <column alignment="left" valignment="top" width="0">
16955 <row>
16956 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16957 \begin_inset Text
16958
16959 \begin_layout Plain Layout
16960 Normal, g
16961 \end_layout
16962
16963 \end_inset
16964 </cell>
16965 </row>
16966 <row>
16967 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16968 \begin_inset Text
16969
16970 \begin_layout Plain Layout
16971
16972 \size large
16973 \begin_inset ERT
16974 status collapsed
16975
16976 \begin_layout Plain Layout
16977
16978
16979 \backslash
16980 strut 
16981 \end_layout
16982
16983 \end_inset
16984
16985 Large
16986 \end_layout
16987
16988 \end_inset
16989 </cell>
16990 </row>
16991 <row>
16992 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16993 \begin_inset Text
16994
16995 \begin_layout Plain Layout
16996
16997 \size larger
16998 \begin_inset ERT
16999 status collapsed
17000
17001 \begin_layout Plain Layout
17002
17003
17004 \backslash
17005 strut 
17006 \end_layout
17007
17008 \end_inset
17009
17010 Larger
17011 \end_layout
17012
17013 \end_inset
17014 </cell>
17015 </row>
17016 <row>
17017 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17018 \begin_inset Text
17019
17020 \begin_layout Plain Layout
17021
17022 \size largest
17023 \begin_inset ERT
17024 status collapsed
17025
17026 \begin_layout Plain Layout
17027
17028
17029 \backslash
17030 strut 
17031 \end_layout
17032
17033 \end_inset
17034
17035 Largest
17036 \end_layout
17037
17038 \end_inset
17039 </cell>
17040 </row>
17041 <row>
17042 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17043 \begin_inset Text
17044
17045 \begin_layout Plain Layout
17046
17047 \size huge
17048 \begin_inset ERT
17049 status collapsed
17050
17051 \begin_layout Plain Layout
17052
17053
17054 \backslash
17055 strut 
17056 \end_layout
17057
17058 \end_inset
17059
17060 Huge
17061 \end_layout
17062
17063 \end_inset
17064 </cell>
17065 </row>
17066 <row>
17067 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17068 \begin_inset Text
17069
17070 \begin_layout Plain Layout
17071
17072 \size giant
17073 \begin_inset ERT
17074 status collapsed
17075
17076 \begin_layout Plain Layout
17077
17078
17079 \backslash
17080 strut 
17081 \end_layout
17082
17083 \end_inset
17084
17085
17086 \size huge
17087 Huger
17088 \end_layout
17089
17090 \end_inset
17091 </cell>
17092 </row>
17093 </lyxtabular>
17094
17095 \end_inset
17096
17097
17098 \end_layout
17099
17100 \end_inset
17101
17102
17103 \begin_inset space \hfill{}
17104 \end_inset
17105
17106
17107 \end_layout
17108
17109 \end_inset
17110
17111
17112 \end_layout
17113
17114 \begin_layout Subsection
17115 Special Cell Alignment
17116 \begin_inset CommandInset label
17117 LatexCommand label
17118 name "sub:Special-Cell-Alignment"
17119
17120 \end_inset
17121
17122
17123 \begin_inset Index idx
17124 status collapsed
17125
17126 \begin_layout Plain Layout
17127 Table Customization ! Special Cell Alignment
17128 \end_layout
17129
17130 \end_inset
17131
17132
17133 \end_layout
17134
17135 \begin_layout Standard
17136 Sometimes it looks better when the cell entries of a column are aligned
17137  with a special character, e.
17138 \begin_inset space \thinspace{}
17139 \end_inset
17140
17141 g.
17142 \begin_inset space \space{}
17143 \end_inset
17144
17145 with the decimal separator as in Table
17146 \begin_inset space ~
17147 \end_inset
17148
17149
17150 \begin_inset CommandInset ref
17151 LatexCommand ref
17152 reference "tab:Table-cells-align"
17153
17154 \end_inset
17155
17156 .
17157  This alignment is achieved by setting the cursor into the column and then
17158  either pressing the toolbar button 
17159 \begin_inset Graphics
17160         filename ../images/tabular-feature_align-decimal.png
17161         scale 85
17162         scaleBeforeRotation
17163
17164 \end_inset
17165
17166  or setting the alignment in the table settings to 
17167 \family sans
17168 At
17169 \begin_inset space ~
17170 \end_inset
17171
17172 Decimal
17173 \begin_inset space ~
17174 \end_inset
17175
17176 Separator
17177 \family default
17178 .
17179  The alignment character can be a character of your choice and is specified
17180  in the table settings.
17181 \end_layout
17182
17183 \begin_layout Standard
17184 \begin_inset Float table
17185 placement h
17186 wide false
17187 sideways false
17188 status open
17189
17190 \begin_layout Plain Layout
17191 \begin_inset Caption
17192
17193 \begin_layout Plain Layout
17194 \begin_inset CommandInset label
17195 LatexCommand label
17196 name "tab:Table-cells-align"
17197
17198 \end_inset
17199
17200 Table cells of a column aligned with the decimal separator.
17201 \end_layout
17202
17203 \end_inset
17204
17205
17206 \end_layout
17207
17208 \begin_layout Plain Layout
17209 \align center
17210 \begin_inset Tabular
17211 <lyxtabular version="3" rows="4" columns="1">
17212 <features booktabs="true" tabularvalignment="middle">
17213 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17214 <row>
17215 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17216 \begin_inset Text
17217
17218 \begin_layout Plain Layout
17219 heading
17220 \end_layout
17221
17222 \end_inset
17223 </cell>
17224 </row>
17225 <row>
17226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17227 \begin_inset Text
17228
17229 \begin_layout Plain Layout
17230 12.6
17231 \end_layout
17232
17233 \end_inset
17234 </cell>
17235 </row>
17236 <row>
17237 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17238 \begin_inset Text
17239
17240 \begin_layout Plain Layout
17241 0.68
17242 \end_layout
17243
17244 \end_inset
17245 </cell>
17246 </row>
17247 <row>
17248 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17249 \begin_inset Text
17250
17251 \begin_layout Plain Layout
17252 -123.0
17253 \end_layout
17254
17255 \end_inset
17256 </cell>
17257 </row>
17258 </lyxtabular>
17259
17260 \end_inset
17261
17262
17263 \end_layout
17264
17265 \end_inset
17266
17267
17268 \end_layout
17269
17270 \begin_layout Standard
17271 \begin_inset Float table
17272 placement h
17273 wide false
17274 sideways false
17275 status open
17276
17277 \begin_layout Plain Layout
17278 \begin_inset Caption
17279
17280 \begin_layout Plain Layout
17281 \begin_inset CommandInset label
17282 LatexCommand label
17283 name "tab:Table-align-operator"
17284
17285 \end_inset
17286
17287 Table cells of a column aligned with the operators.
17288 \end_layout
17289
17290 \end_inset
17291
17292
17293 \end_layout
17294
17295 \begin_layout Plain Layout
17296 \align center
17297 \begin_inset Tabular
17298 <lyxtabular version="3" rows="4" columns="2">
17299 <features booktabs="true" tabularvalignment="middle">
17300 <column alignment="right" valignment="top" width="0pt">
17301 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17302 <row>
17303 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17304 \begin_inset Text
17305
17306 \begin_layout Plain Layout
17307 heading
17308 \end_layout
17309
17310 \end_inset
17311 </cell>
17312 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17313 \begin_inset Text
17314
17315 \begin_layout Plain Layout
17316
17317 \end_layout
17318
17319 \end_inset
17320 </cell>
17321 </row>
17322 <row>
17323 <cell alignment="center" valignment="top" usebox="none">
17324 \begin_inset Text
17325
17326 \begin_layout Plain Layout
17327 \begin_inset Formula $12\,+$
17328 \end_inset
17329
17330
17331 \end_layout
17332
17333 \end_inset
17334 </cell>
17335 <cell alignment="center" valignment="top" usebox="none">
17336 \begin_inset Text
17337
17338 \begin_layout Plain Layout
17339 \begin_inset Formula $\,6$
17340 \end_inset
17341
17342
17343 \end_layout
17344
17345 \end_inset
17346 </cell>
17347 </row>
17348 <row>
17349 <cell alignment="center" valignment="top" usebox="none">
17350 \begin_inset Text
17351
17352 \begin_layout Plain Layout
17353 \begin_inset Formula $0\,-$
17354 \end_inset
17355
17356
17357 \end_layout
17358
17359 \end_inset
17360 </cell>
17361 <cell alignment="center" valignment="top" usebox="none">
17362 \begin_inset Text
17363
17364 \begin_layout Plain Layout
17365 \begin_inset Formula $\,68$
17366 \end_inset
17367
17368
17369 \end_layout
17370
17371 \end_inset
17372 </cell>
17373 </row>
17374 <row>
17375 <cell alignment="center" valignment="top" usebox="none">
17376 \begin_inset Text
17377
17378 \begin_layout Plain Layout
17379 \begin_inset Formula $-123\,/$
17380 \end_inset
17381
17382
17383 \end_layout
17384
17385 \end_inset
17386 </cell>
17387 <cell alignment="center" valignment="top" usebox="none">
17388 \begin_inset Text
17389
17390 \begin_layout Plain Layout
17391 \begin_inset Formula $\,0$
17392 \end_inset
17393
17394
17395 \end_layout
17396
17397 \end_inset
17398 </cell>
17399 </row>
17400 </lyxtabular>
17401
17402 \end_inset
17403
17404
17405 \end_layout
17406
17407 \end_inset
17408
17409
17410 \end_layout
17411
17412 \begin_layout Standard
17413 For alignments at characters in formulas this method does not work because
17414  the field to specify the alignment character does not allow formulas.
17415  In this case one need to use the method from Table
17416 \begin_inset space ~
17417 \end_inset
17418
17419
17420 \begin_inset CommandInset ref
17421 LatexCommand ref
17422 reference "tab:Table-align-operator"
17423
17424 \end_inset
17425
17426 .
17427  This table was created with a 4×2 table.
17428  The heading is a centered multicolumn.
17429  The first column is right-aligned and contains the first part including
17430  the operator.
17431  The second column is left aligned and contains the rest.
17432  A small space was added at the beginning of each cell of the second column
17433  to get the space that is usually around operators.
17434  To omit the space that is normally between two table columns, the following
17435  LaTeX-argument was used for the second column:
17436 \end_layout
17437
17438 \begin_layout Standard
17439
17440 \series bold
17441 @{}l
17442 \end_layout
17443
17444 \begin_layout Standard
17445 Table
17446 \begin_inset space ~
17447 \end_inset
17448
17449
17450 \begin_inset CommandInset ref
17451 LatexCommand ref
17452 reference "tab:Several-table-cell"
17453
17454 \end_inset
17455
17456  shows some example alignments.
17457  For the alignment with the relation sign, a small space was added like
17458  for the second column of Table
17459 \begin_inset space ~
17460 \end_inset
17461
17462
17463 \begin_inset CommandInset ref
17464 LatexCommand ref
17465 reference "tab:Table-align-operator"
17466
17467 \end_inset
17468
17469 .
17470 \end_layout
17471
17472 \begin_layout Standard
17473 \begin_inset Float table
17474 placement h
17475 wide false
17476 sideways false
17477 status open
17478
17479 \begin_layout Plain Layout
17480 \begin_inset Caption
17481
17482 \begin_layout Plain Layout
17483 \begin_inset CommandInset label
17484 LatexCommand label
17485 name "tab:Several-table-cell"
17486
17487 \end_inset
17488
17489 Several table cell alignments.
17490 \end_layout
17491
17492 \end_inset
17493
17494
17495 \end_layout
17496
17497 \begin_layout Plain Layout
17498 \align center
17499 \begin_inset Tabular
17500 <lyxtabular version="3" rows="4" columns="6">
17501 <features tabularvalignment="middle">
17502 <column alignment="right" valignment="top" width="0">
17503 <column alignment="left" valignment="top" width="0" special="@{}l">
17504 <column alignment="right" valignment="top" width="0">
17505 <column alignment="left" valignment="top" width="0" special="@{}l">
17506 <column alignment="right" valignment="top" width="0">
17507 <column alignment="left" valignment="top" width="0" special="@{}l">
17508 <row>
17509 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17510 \begin_inset Text
17511
17512 \begin_layout Plain Layout
17513 units
17514 \end_layout
17515
17516 \end_inset
17517 </cell>
17518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17519 \begin_inset Text
17520
17521 \begin_layout Plain Layout
17522
17523 \end_layout
17524
17525 \end_inset
17526 </cell>
17527 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17528 \begin_inset Text
17529
17530 \begin_layout Plain Layout
17531 exponents
17532 \end_layout
17533
17534 \end_inset
17535 </cell>
17536 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17537 \begin_inset Text
17538
17539 \begin_layout Plain Layout
17540
17541 \end_layout
17542
17543 \end_inset
17544 </cell>
17545 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17546 \begin_inset Text
17547
17548 \begin_layout Plain Layout
17549 relations
17550 \end_layout
17551
17552 \end_inset
17553 </cell>
17554 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17555 \begin_inset Text
17556
17557 \begin_layout Plain Layout
17558
17559 \end_layout
17560
17561 \end_inset
17562 </cell>
17563 </row>
17564 <row>
17565 <cell alignment="center" valignment="top" usebox="none">
17566 \begin_inset Text
17567
17568 \begin_layout Plain Layout
17569 12×
17570 \end_layout
17571
17572 \end_inset
17573 </cell>
17574 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17575 \begin_inset Text
17576
17577 \begin_layout Plain Layout
17578 24
17579 \begin_inset space \thinspace{}
17580 \end_inset
17581
17582 bottles
17583 \end_layout
17584
17585 \end_inset
17586 </cell>
17587 <cell alignment="center" valignment="top" usebox="none">
17588 \begin_inset Text
17589
17590 \begin_layout Plain Layout
17591 \begin_inset Formula $10\cdot$
17592 \end_inset
17593
17594
17595 \end_layout
17596
17597 \end_inset
17598 </cell>
17599 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17600 \begin_inset Text
17601
17602 \begin_layout Plain Layout
17603 \begin_inset Formula $10^{\mbox{-}17}$
17604 \end_inset
17605
17606
17607 \end_layout
17608
17609 \end_inset
17610 </cell>
17611 <cell alignment="center" valignment="top" usebox="none">
17612 \begin_inset Text
17613
17614 \begin_layout Plain Layout
17615 \begin_inset Formula $\Gamma(t)\propto$
17616 \end_inset
17617
17618
17619 \end_layout
17620
17621 \end_inset
17622 </cell>
17623 <cell alignment="center" valignment="top" usebox="none">
17624 \begin_inset Text
17625
17626 \begin_layout Plain Layout
17627 \begin_inset Formula $\:\Upsilon(t)$
17628 \end_inset
17629
17630
17631 \end_layout
17632
17633 \end_inset
17634 </cell>
17635 </row>
17636 <row>
17637 <cell alignment="center" valignment="top" usebox="none">
17638 \begin_inset Text
17639
17640 \begin_layout Plain Layout
17641 1024×
17642 \end_layout
17643
17644 \end_inset
17645 </cell>
17646 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17647 \begin_inset Text
17648
17649 \begin_layout Plain Layout
17650 768
17651 \begin_inset space \thinspace{}
17652 \end_inset
17653
17654 Pixels
17655 \end_layout
17656
17657 \end_inset
17658 </cell>
17659 <cell alignment="center" valignment="top" usebox="none">
17660 \begin_inset Text
17661
17662 \begin_layout Plain Layout
17663 \begin_inset Formula $5.78\cdot$
17664 \end_inset
17665
17666
17667 \end_layout
17668
17669 \end_inset
17670 </cell>
17671 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17672 \begin_inset Text
17673
17674 \begin_layout Plain Layout
17675 \begin_inset Formula $10^{7}$
17676 \end_inset
17677
17678
17679 \end_layout
17680
17681 \end_inset
17682 </cell>
17683 <cell alignment="center" valignment="top" usebox="none">
17684 \begin_inset Text
17685
17686 \begin_layout Plain Layout
17687 \begin_inset Formula $A\ne$
17688 \end_inset
17689
17690
17691 \end_layout
17692
17693 \end_inset
17694 </cell>
17695 <cell alignment="center" valignment="top" usebox="none">
17696 \begin_inset Text
17697
17698 \begin_layout Plain Layout
17699 \begin_inset Formula $\: B_{\mathrm{red}}$
17700 \end_inset
17701
17702
17703 \end_layout
17704
17705 \end_inset
17706 </cell>
17707 </row>
17708 <row>
17709 <cell alignment="center" valignment="top" usebox="none">
17710 \begin_inset Text
17711
17712 \begin_layout Plain Layout
17713 32×
17714 \end_layout
17715
17716 \end_inset
17717 </cell>
17718 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17719 \begin_inset Text
17720
17721 \begin_layout Plain Layout
17722 6
17723 \begin_inset space \thinspace{}
17724 \end_inset
17725
17726 cm
17727 \end_layout
17728
17729 \end_inset
17730 </cell>
17731 <cell alignment="center" valignment="top" usebox="none">
17732 \begin_inset Text
17733
17734 \begin_layout Plain Layout
17735 -
17736 \begin_inset Formula $33.5\cdot$
17737 \end_inset
17738
17739
17740 \end_layout
17741
17742 \end_inset
17743 </cell>
17744 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17745 \begin_inset Text
17746
17747 \begin_layout Plain Layout
17748 \begin_inset Formula $10^{4}$
17749 \end_inset
17750
17751
17752 \end_layout
17753
17754 \end_inset
17755 </cell>
17756 <cell alignment="center" valignment="top" usebox="none">
17757 \begin_inset Text
17758
17759 \begin_layout Plain Layout
17760 \begin_inset Formula $\sin(\alpha)\ge$
17761 \end_inset
17762
17763
17764 \end_layout
17765
17766 \end_inset
17767 </cell>
17768 <cell alignment="center" valignment="top" usebox="none">
17769 \begin_inset Text
17770
17771 \begin_layout Plain Layout
17772 \begin_inset Formula $\:\sin(\beta)$
17773 \end_inset
17774
17775
17776 \end_layout
17777
17778 \end_inset
17779 </cell>
17780 </row>
17781 </lyxtabular>
17782
17783 \end_inset
17784
17785
17786 \end_layout
17787
17788 \end_inset
17789
17790
17791 \end_layout
17792
17793 \begin_layout Subsection
17794 Customized Cell/Column Format
17795 \begin_inset CommandInset label
17796 LatexCommand label
17797 name "sub:Customized-Format"
17798
17799 \end_inset
17800
17801
17802 \begin_inset Index idx
17803 status collapsed
17804
17805 \begin_layout Plain Layout
17806 Table Customization ! Cell/Column Format
17807 \end_layout
17808
17809 \end_inset
17810
17811
17812 \end_layout
17813
17814 \begin_layout Standard
17815 Calculating the required width for spanned columns as in section
17816 \begin_inset space ~
17817 \end_inset
17818
17819
17820 \begin_inset CommandInset ref
17821 LatexCommand ref
17822 reference "sub:Multicolumn-Calculations"
17823
17824 \end_inset
17825
17826  is very annoying if you have several tables with multicolumn cells.
17827  To make life easier, you can define a cell/column format in the preamble,
17828  so that it can be used in all tables of the document.
17829  The format is defined with the command
17830 \end_layout
17831
17832 \begin_layout Standard
17833
17834 \series bold
17835
17836 \backslash
17837 newcolumntype{name of format}[number of arguments]{commands}
17838 \end_layout
17839
17840 \begin_layout Standard
17841 The format name may only consist of one letter.
17842  The letters 
17843 \emph on
17844 b
17845 \emph default
17846
17847 \emph on
17848 c
17849 \emph default
17850
17851 \emph on
17852 l
17853 \emph default
17854
17855 \emph on
17856 m
17857 \emph default
17858
17859 \emph on
17860 p
17861 \emph default
17862  and 
17863 \emph on
17864 r
17865 \emph default
17866  are predefined and cannot be used.
17867  But all letters are allowed as capitals.
17868 \end_layout
17869
17870 \begin_layout Standard
17871 \begin_inset VSpace medskip
17872 \end_inset
17873
17874
17875 \end_layout
17876
17877 \begin_layout Standard
17878 For vertically and horizontally centered multicolumn cells with a fixed
17879  width you can define the cell format
17880 \end_layout
17881
17882 \begin_layout Standard
17883
17884 \series bold
17885
17886 \backslash
17887 newcolumntype{M}[1]{>{
17888 \backslash
17889 centering
17890 \backslash
17891 hspace{0pt}}m{#1}}
17892 \end_layout
17893
17894 \begin_layout Standard
17895 where 
17896 \series bold
17897
17898 \backslash
17899 hspace{0pt}
17900 \series default
17901  avoids the problem of hyphenating the first word, as described in section
17902 \begin_inset space ~
17903 \end_inset
17904
17905
17906 \begin_inset CommandInset ref
17907 LatexCommand ref
17908 reference "sub:Multiple-Lines-in"
17909
17910 \end_inset
17911
17912 .
17913  Now you can simply enter
17914 \end_layout
17915
17916 \begin_layout Standard
17917
17918 \series bold
17919 M{width}
17920 \end_layout
17921
17922 \begin_layout Standard
17923 as LaTeX-argument in the table dialog to create a multicolumn.
17924 \end_layout
17925
17926 \begin_layout Standard
17927 \begin_inset VSpace bigskip
17928 \end_inset
17929
17930
17931 \end_layout
17932
17933 \begin_layout Standard
17934 For cells spanned by a multicolumn cell, you can define the format
17935 \end_layout
17936
17937 \begin_layout Standard
17938
17939 \series bold
17940
17941 \backslash
17942 newcolumntype{S}[2]{>{
17943 \backslash
17944 centering
17945 \backslash
17946 hspace{0pt}}
17947 \begin_inset Newline newline
17948 \end_inset
17949
17950
17951 \begin_inset Phantom HPhantom
17952 status open
17953
17954 \begin_layout Plain Layout
17955
17956 \series bold
17957
17958 \backslash
17959 newcolumntype
17960 \end_layout
17961
17962 \end_inset
17963
17964 m{(#1+(2
17965 \backslash
17966 tabcolsep+
17967 \backslash
17968 arrayrulewidth)*(1-#2))/#2}}
17969 \end_layout
17970
17971 \begin_layout Standard
17972 This format uses equation 
17973 \begin_inset CommandInset ref
17974 LatexCommand eqref
17975 reference "eq:Wgn"
17976
17977 \end_inset
17978
17979  to calculate the required width so that each spanned cell has the same
17980  width.
17981 \end_layout
17982
17983 \begin_layout Standard
17984 You can now enter
17985 \end_layout
17986
17987 \begin_layout Standard
17988
17989 \series bold
17990 S{width of multicolumn cell}{number of spanned columns}
17991 \end_layout
17992
17993 \begin_layout Standard
17994 as LaTeX-argument of the column.
17995 \end_layout
17996
17997 \begin_layout Standard
17998 \begin_inset VSpace bigskip
17999 \end_inset
18000
18001
18002 \end_layout
18003
18004 \begin_layout Standard
18005 For colored columns, you can define
18006 \end_layout
18007
18008 \begin_layout Standard
18009
18010 \series bold
18011
18012 \backslash
18013 newcolumntype{K}[1]{>{
18014 \backslash
18015 columncolor{#1}
18016 \backslash
18017 hspace{0pt}}c}
18018 \end_layout
18019
18020 \begin_layout Standard
18021 The 
18022 \begin_inset Quotes eld
18023 \end_inset
18024
18025 c
18026 \begin_inset Quotes erd
18027 \end_inset
18028
18029  at the end creates a column with a flexible width whose text is horizontally
18030  centered.
18031  You can now enter
18032 \end_layout
18033
18034 \begin_layout Standard
18035
18036 \series bold
18037 K{color name}
18038 \end_layout
18039
18040 \begin_layout Standard
18041 as LaTeX-argument.
18042 \end_layout
18043
18044 \begin_layout Standard
18045 \begin_inset VSpace bigskip
18046 \end_inset
18047
18048
18049 \end_layout
18050
18051 \begin_layout Standard
18052 To create Table
18053 \begin_inset space ~
18054 \end_inset
18055
18056
18057 \begin_inset CommandInset ref
18058 LatexCommand ref
18059 reference "tab:Table-using-user-defined"
18060
18061 \end_inset
18062
18063  use the LaTeX-arguments
18064 \end_layout
18065
18066 \begin_layout Standard
18067
18068 \series bold
18069 M{2.5cm}
18070 \end_layout
18071
18072 \begin_layout Standard
18073 for the first column and the multicolumn,
18074 \end_layout
18075
18076 \begin_layout Standard
18077
18078 \series bold
18079 K{red}
18080 \end_layout
18081
18082 \begin_layout Standard
18083 for the last column, and
18084 \end_layout
18085
18086 \begin_layout Standard
18087
18088 \series bold
18089 S{2.5cm}{2}
18090 \end_layout
18091
18092 \begin_layout Standard
18093 for the cells in the second column.
18094 \end_layout
18095
18096 \begin_layout Standard
18097 \begin_inset Float table
18098 placement h
18099 wide false
18100 sideways false
18101 status open
18102
18103 \begin_layout Plain Layout
18104 \begin_inset Caption
18105
18106 \begin_layout Plain Layout
18107 \begin_inset CommandInset label
18108 LatexCommand label
18109 name "tab:Table-using-user-defined"
18110
18111 \end_inset
18112
18113 Table using user-defined table formats
18114 \end_layout
18115
18116 \end_inset
18117
18118
18119 \end_layout
18120
18121 \begin_layout Plain Layout
18122 \align center
18123 \begin_inset Tabular
18124 <lyxtabular version="3" rows="3" columns="4">
18125 <features tabularvalignment="middle">
18126 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18127 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18128 <column alignment="center" valignment="middle" width="0">
18129 <column alignment="center" valignment="middle" width="0" special="K{red}">
18130 <row>
18131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18132 \begin_inset Text
18133
18134 \begin_layout Plain Layout
18135 verylongtablecellword
18136 \end_layout
18137
18138 \end_inset
18139 </cell>
18140 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18141 \begin_inset Text
18142
18143 \begin_layout Plain Layout
18144 multiple lines multicolumn
18145 \end_layout
18146
18147 \end_inset
18148 </cell>
18149 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18150 \begin_inset Text
18151
18152 \begin_layout Plain Layout
18153
18154 \end_layout
18155
18156 \end_inset
18157 </cell>
18158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18159 \begin_inset Text
18160
18161 \begin_layout Plain Layout
18162 c
18163 \end_layout
18164
18165 \end_inset
18166 </cell>
18167 </row>
18168 <row>
18169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18170 \begin_inset Text
18171
18172 \begin_layout Plain Layout
18173 d
18174 \end_layout
18175
18176 \end_inset
18177 </cell>
18178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18179 \begin_inset Text
18180
18181 \begin_layout Plain Layout
18182 e
18183 \end_layout
18184
18185 \end_inset
18186 </cell>
18187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18188 \begin_inset Text
18189
18190 \begin_layout Plain Layout
18191 f
18192 \end_layout
18193
18194 \end_inset
18195 </cell>
18196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18197 \begin_inset Text
18198
18199 \begin_layout Plain Layout
18200 g
18201 \end_layout
18202
18203 \end_inset
18204 </cell>
18205 </row>
18206 <row>
18207 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18208 \begin_inset Text
18209
18210 \begin_layout Plain Layout
18211 h
18212 \end_layout
18213
18214 \end_inset
18215 </cell>
18216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18217 \begin_inset Text
18218
18219 \begin_layout Plain Layout
18220 i
18221 \end_layout
18222
18223 \end_inset
18224 </cell>
18225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18226 \begin_inset Text
18227
18228 \begin_layout Plain Layout
18229 j
18230 \end_layout
18231
18232 \end_inset
18233 </cell>
18234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18235 \begin_inset Text
18236
18237 \begin_layout Plain Layout
18238 k
18239 \end_layout
18240
18241 \end_inset
18242 </cell>
18243 </row>
18244 </lyxtabular>
18245
18246 \end_inset
18247
18248
18249 \end_layout
18250
18251 \end_inset
18252
18253
18254 \end_layout
18255
18256 \begin_layout Subsection
18257 Line Thickness
18258 \begin_inset CommandInset label
18259 LatexCommand label
18260 name "sub:Line-Thickness"
18261
18262 \end_inset
18263
18264
18265 \begin_inset Index idx
18266 status collapsed
18267
18268 \begin_layout Plain Layout
18269 Table Customization ! Line Thickness
18270 \end_layout
18271
18272 \end_inset
18273
18274
18275 \end_layout
18276
18277 \begin_layout Standard
18278 The line thickness for all lines in a table can be adjusted with the length
18279  
18280 \series bold
18281
18282 \backslash
18283 arrayrulewidth
18284 \series default
18285 .
18286  To set for example a line thickness of 1.5
18287 \begin_inset space \thinspace{}
18288 \end_inset
18289
18290 pt, as in Table
18291 \begin_inset space ~
18292 \end_inset
18293
18294
18295 \begin_inset CommandInset ref
18296 LatexCommand ref
18297 reference "tab:Table-with-1.5"
18298
18299 \end_inset
18300
18301 , insert the command
18302 \end_layout
18303
18304 \begin_layout Standard
18305
18306 \series bold
18307
18308 \backslash
18309 setlength{
18310 \backslash
18311 arrayrulewidth}{1.5pt}
18312 \end_layout
18313
18314 \begin_layout Standard
18315 in TeX-Code before the table or table float.
18316  The changed thickness is valid for all subsequent tables.
18317  To use the default value again, set 
18318 \series bold
18319
18320 \backslash
18321 arrayrulewidth
18322 \series default
18323  to 0.4
18324 \begin_inset space \thinspace{}
18325 \end_inset
18326
18327 pt in TeX-Code after the table or table float.
18328 \end_layout
18329
18330 \begin_layout Standard
18331 \begin_inset ERT
18332 status collapsed
18333
18334 \begin_layout Plain Layout
18335
18336
18337 \backslash
18338 setlength{
18339 \backslash
18340 arrayrulewidth}{1.5pt}
18341 \end_layout
18342
18343 \end_inset
18344
18345
18346 \begin_inset Float table
18347 wide false
18348 sideways false
18349 status open
18350
18351 \begin_layout Plain Layout
18352 \begin_inset Caption
18353
18354 \begin_layout Plain Layout
18355 \begin_inset CommandInset label
18356 LatexCommand label
18357 name "tab:Table-with-1.5"
18358
18359 \end_inset
18360
18361 Table with 1.5
18362 \begin_inset space \thinspace{}
18363 \end_inset
18364
18365 pt thick lines
18366 \end_layout
18367
18368 \end_inset
18369
18370
18371 \end_layout
18372
18373 \begin_layout Plain Layout
18374 \align center
18375 \begin_inset Tabular
18376 <lyxtabular version="3" rows="3" columns="3">
18377 <features tabularvalignment="middle">
18378 <column alignment="center" valignment="top" width="0">
18379 <column alignment="center" valignment="top" width="0">
18380 <column alignment="center" valignment="top" width="0">
18381 <row>
18382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18383 \begin_inset Text
18384
18385 \begin_layout Plain Layout
18386 sd
18387 \end_layout
18388
18389 \end_inset
18390 </cell>
18391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18392 \begin_inset Text
18393
18394 \begin_layout Plain Layout
18395
18396 \end_layout
18397
18398 \end_inset
18399 </cell>
18400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18401 \begin_inset Text
18402
18403 \begin_layout Plain Layout
18404
18405 \end_layout
18406
18407 \end_inset
18408 </cell>
18409 </row>
18410 <row>
18411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18412 \begin_inset Text
18413
18414 \begin_layout Plain Layout
18415
18416 \end_layout
18417
18418 \end_inset
18419 </cell>
18420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18421 \begin_inset Text
18422
18423 \begin_layout Plain Layout
18424 sd
18425 \end_layout
18426
18427 \end_inset
18428 </cell>
18429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18430 \begin_inset Text
18431
18432 \begin_layout Plain Layout
18433
18434 \end_layout
18435
18436 \end_inset
18437 </cell>
18438 </row>
18439 <row>
18440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18441 \begin_inset Text
18442
18443 \begin_layout Plain Layout
18444
18445 \end_layout
18446
18447 \end_inset
18448 </cell>
18449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18450 \begin_inset Text
18451
18452 \begin_layout Plain Layout
18453
18454 \end_layout
18455
18456 \end_inset
18457 </cell>
18458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18459 \begin_inset Text
18460
18461 \begin_layout Plain Layout
18462 sd
18463 \end_layout
18464
18465 \end_inset
18466 </cell>
18467 </row>
18468 </lyxtabular>
18469
18470 \end_inset
18471
18472
18473 \end_layout
18474
18475 \end_inset
18476
18477
18478 \begin_inset ERT
18479 status collapsed
18480
18481 \begin_layout Plain Layout
18482
18483
18484 \backslash
18485 setlength{
18486 \backslash
18487 arrayrulewidth}{0.4pt}
18488 \end_layout
18489
18490 \end_inset
18491
18492
18493 \end_layout
18494
18495 \begin_layout Standard
18496 \begin_inset VSpace bigskip
18497 \end_inset
18498
18499 To set the line thickness to 1.5
18500 \begin_inset space \thinspace{}
18501 \end_inset
18502
18503 pt only for horizontal lines, as in Table
18504 \begin_inset space ~
18505 \end_inset
18506
18507
18508 \begin_inset CommandInset ref
18509 LatexCommand ref
18510 reference "tab:Table-with-horizontal"
18511
18512 \end_inset
18513
18514 , insert these commands in TeX-Code before the table or table float:
18515 \end_layout
18516
18517 \begin_layout Standard
18518
18519 \series bold
18520
18521 \backslash
18522 let
18523 \backslash
18524 myHline
18525 \backslash
18526 hline
18527 \begin_inset Newline newline
18528 \end_inset
18529
18530
18531 \backslash
18532 renewcommand{
18533 \backslash
18534 hline}
18535 \begin_inset Newline newline
18536 \end_inset
18537
18538  {
18539 \backslash
18540 noalign{
18541 \backslash
18542 global
18543 \backslash
18544 arrayrulewidth 1.5pt}
18545 \begin_inset Newline newline
18546 \end_inset
18547
18548  
18549 \backslash
18550 myHline
18551 \backslash
18552 noalign{
18553 \backslash
18554 global
18555 \backslash
18556 arrayrulewidth 0.4pt}}
18557 \end_layout
18558
18559 \begin_layout Standard
18560 To return to the default line thickness, insert this command in TeX-Code
18561  after the table or table float:
18562 \end_layout
18563
18564 \begin_layout Standard
18565
18566 \series bold
18567
18568 \backslash
18569 renewcommand{
18570 \backslash
18571 hline}{
18572 \backslash
18573 myHline}
18574 \end_layout
18575
18576 \begin_layout Standard
18577 \begin_inset ERT
18578 status collapsed
18579
18580 \begin_layout Plain Layout
18581
18582
18583 \backslash
18584 let
18585 \backslash
18586 myHline
18587 \backslash
18588 hline
18589 \end_layout
18590
18591 \begin_layout Plain Layout
18592
18593
18594 \backslash
18595 renewcommand{
18596 \backslash
18597 hline}
18598 \end_layout
18599
18600 \begin_layout Plain Layout
18601
18602  {
18603 \backslash
18604 noalign{
18605 \backslash
18606 global
18607 \backslash
18608 arrayrulewidth 1.5pt}
18609 \end_layout
18610
18611 \begin_layout Plain Layout
18612
18613   
18614 \backslash
18615 myHline
18616 \backslash
18617 noalign{
18618 \backslash
18619 global
18620 \backslash
18621 arrayrulewidth 0.4pt}}
18622 \end_layout
18623
18624 \end_inset
18625
18626
18627 \begin_inset Float table
18628 wide false
18629 sideways false
18630 status open
18631
18632 \begin_layout Plain Layout
18633 \begin_inset Caption
18634
18635 \begin_layout Plain Layout
18636 \begin_inset CommandInset label
18637 LatexCommand label
18638 name "tab:Table-with-horizontal"
18639
18640 \end_inset
18641
18642 Table with 1.5
18643 \begin_inset space \thinspace{}
18644 \end_inset
18645
18646 pt thick horizontal lines
18647 \end_layout
18648
18649 \end_inset
18650
18651
18652 \end_layout
18653
18654 \begin_layout Plain Layout
18655 \align center
18656 \begin_inset Tabular
18657 <lyxtabular version="3" rows="3" columns="3">
18658 <features tabularvalignment="middle">
18659 <column alignment="center" valignment="top" width="0">
18660 <column alignment="center" valignment="top" width="0">
18661 <column alignment="center" valignment="top" width="0">
18662 <row>
18663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18664 \begin_inset Text
18665
18666 \begin_layout Plain Layout
18667 sd
18668 \end_layout
18669
18670 \end_inset
18671 </cell>
18672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18673 \begin_inset Text
18674
18675 \begin_layout Plain Layout
18676
18677 \end_layout
18678
18679 \end_inset
18680 </cell>
18681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18682 \begin_inset Text
18683
18684 \begin_layout Plain Layout
18685
18686 \end_layout
18687
18688 \end_inset
18689 </cell>
18690 </row>
18691 <row>
18692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18693 \begin_inset Text
18694
18695 \begin_layout Plain Layout
18696
18697 \end_layout
18698
18699 \end_inset
18700 </cell>
18701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18702 \begin_inset Text
18703
18704 \begin_layout Plain Layout
18705 sd
18706 \end_layout
18707
18708 \end_inset
18709 </cell>
18710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18711 \begin_inset Text
18712
18713 \begin_layout Plain Layout
18714
18715 \end_layout
18716
18717 \end_inset
18718 </cell>
18719 </row>
18720 <row>
18721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18722 \begin_inset Text
18723
18724 \begin_layout Plain Layout
18725
18726 \end_layout
18727
18728 \end_inset
18729 </cell>
18730 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18731 \begin_inset Text
18732
18733 \begin_layout Plain Layout
18734
18735 \end_layout
18736
18737 \end_inset
18738 </cell>
18739 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18740 \begin_inset Text
18741
18742 \begin_layout Plain Layout
18743 sd
18744 \end_layout
18745
18746 \end_inset
18747 </cell>
18748 </row>
18749 </lyxtabular>
18750
18751 \end_inset
18752
18753
18754 \end_layout
18755
18756 \end_inset
18757
18758
18759 \begin_inset ERT
18760 status collapsed
18761
18762 \begin_layout Plain Layout
18763
18764
18765 \backslash
18766 renewcommand{
18767 \backslash
18768 hline}{
18769 \backslash
18770 myHline}
18771 \end_layout
18772
18773 \end_inset
18774
18775
18776 \end_layout
18777
18778 \begin_layout Standard
18779 \begin_inset VSpace bigskip
18780 \end_inset
18781
18782 To set the line thickness to 1.5
18783 \begin_inset space \thinspace{}
18784 \end_inset
18785
18786 pt only for vertical lines, create the following column format in the document
18787  preamble, according to the description in section
18788 \begin_inset space ~
18789 \end_inset
18790
18791
18792 \begin_inset CommandInset ref
18793 LatexCommand ref
18794 reference "sub:Customized-Format"
18795
18796 \end_inset
18797
18798 :
18799 \end_layout
18800
18801 \begin_layout Standard
18802
18803 \series bold
18804
18805 \backslash
18806 newcolumntype{V}{!{
18807 \backslash
18808 vrule width 1.5pt}}
18809 \end_layout
18810
18811 \begin_layout Standard
18812 For Table
18813 \begin_inset space ~
18814 \end_inset
18815
18816
18817 \begin_inset CommandInset ref
18818 LatexCommand ref
18819 reference "tab:Table-with-vertical"
18820
18821 \end_inset
18822
18823  the LaTeX-argument
18824 \end_layout
18825
18826 \begin_layout Standard
18827
18828 \series bold
18829 VcV
18830 \end_layout
18831
18832 \begin_layout Standard
18833 was used for the last column and
18834 \end_layout
18835
18836 \begin_layout Standard
18837
18838 \series bold
18839 Vc
18840 \end_layout
18841
18842 \begin_layout Standard
18843 for the other columns.
18844 \end_layout
18845
18846 \begin_layout Standard
18847 \begin_inset Float table
18848 wide false
18849 sideways false
18850 status open
18851
18852 \begin_layout Plain Layout
18853 \begin_inset Caption
18854
18855 \begin_layout Plain Layout
18856 \begin_inset CommandInset label
18857 LatexCommand label
18858 name "tab:Table-with-vertical"
18859
18860 \end_inset
18861
18862 Table with 1.5
18863 \begin_inset space \thinspace{}
18864 \end_inset
18865
18866 pt thick vertical lines
18867 \end_layout
18868
18869 \end_inset
18870
18871
18872 \end_layout
18873
18874 \begin_layout Plain Layout
18875 \align center
18876 \begin_inset Tabular
18877 <lyxtabular version="3" rows="3" columns="3">
18878 <features tabularvalignment="middle">
18879 <column alignment="center" valignment="top" width="0" special="Vc">
18880 <column alignment="center" valignment="top" width="0" special="Vc">
18881 <column alignment="center" valignment="top" width="0" special="VcV">
18882 <row>
18883 <cell alignment="center" valignment="top" topline="true" usebox="none">
18884 \begin_inset Text
18885
18886 \begin_layout Plain Layout
18887 sd
18888 \end_layout
18889
18890 \end_inset
18891 </cell>
18892 <cell alignment="center" valignment="top" topline="true" usebox="none">
18893 \begin_inset Text
18894
18895 \begin_layout Plain Layout
18896
18897 \end_layout
18898
18899 \end_inset
18900 </cell>
18901 <cell alignment="center" valignment="top" topline="true" usebox="none">
18902 \begin_inset Text
18903
18904 \begin_layout Plain Layout
18905
18906 \end_layout
18907
18908 \end_inset
18909 </cell>
18910 </row>
18911 <row>
18912 <cell alignment="center" valignment="top" topline="true" usebox="none">
18913 \begin_inset Text
18914
18915 \begin_layout Plain Layout
18916
18917 \end_layout
18918
18919 \end_inset
18920 </cell>
18921 <cell alignment="center" valignment="top" topline="true" usebox="none">
18922 \begin_inset Text
18923
18924 \begin_layout Plain Layout
18925 sd
18926 \end_layout
18927
18928 \end_inset
18929 </cell>
18930 <cell alignment="center" valignment="top" topline="true" usebox="none">
18931 \begin_inset Text
18932
18933 \begin_layout Plain Layout
18934
18935 \end_layout
18936
18937 \end_inset
18938 </cell>
18939 </row>
18940 <row>
18941 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18942 \begin_inset Text
18943
18944 \begin_layout Plain Layout
18945
18946 \end_layout
18947
18948 \end_inset
18949 </cell>
18950 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18951 \begin_inset Text
18952
18953 \begin_layout Plain Layout
18954
18955 \end_layout
18956
18957 \end_inset
18958 </cell>
18959 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18960 \begin_inset Text
18961
18962 \begin_layout Plain Layout
18963 sd
18964 \end_layout
18965
18966 \end_inset
18967 </cell>
18968 </row>
18969 </lyxtabular>
18970
18971 \end_inset
18972
18973
18974 \end_layout
18975
18976 \end_inset
18977
18978
18979 \end_layout
18980
18981 \begin_layout Subsection
18982 Dashed Lines
18983 \begin_inset Index idx
18984 status collapsed
18985
18986 \begin_layout Plain Layout
18987 Table Customization ! Dashed Lines
18988 \end_layout
18989
18990 \end_inset
18991
18992
18993 \end_layout
18994
18995 \begin_layout Standard
18996 \begin_inset ERT
18997 status collapsed
18998
18999 \begin_layout Plain Layout
19000
19001
19002 \backslash
19003 ifarydshln
19004 \end_layout
19005
19006 \end_inset
19007
19008
19009 \begin_inset Note Note
19010 status open
19011
19012 \begin_layout Plain Layout
19013 The following section will only be displayed when the LaTeX-package 
19014 \series bold
19015 arydshln
19016 \series default
19017  is installed.
19018 \end_layout
19019
19020 \end_inset
19021
19022
19023 \end_layout
19024
19025 \begin_layout Standard
19026 \begin_inset Float table
19027 placement H
19028 wide false
19029 sideways false
19030 status open
19031
19032 \begin_layout Plain Layout
19033 \begin_inset Caption
19034
19035 \begin_layout Plain Layout
19036 \begin_inset CommandInset label
19037 LatexCommand label
19038 name "tab:Table-with-dashed"
19039
19040 \end_inset
19041
19042 Table with dashed lines
19043 \end_layout
19044
19045 \end_inset
19046
19047
19048 \end_layout
19049
19050 \begin_layout Plain Layout
19051 \align center
19052 \begin_inset Tabular
19053 <lyxtabular version="3" rows="5" columns="5">
19054 <features tabularvalignment="middle">
19055 <column alignment="center" valignment="top" width="0">
19056 <column alignment="center" valignment="top" width="0">
19057 <column alignment="center" valignment="top" width="0" special=":c">
19058 <column alignment="center" valignment="top" width="0">
19059 <column alignment="center" valignment="top" width="0">
19060 <row>
19061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19062 \begin_inset Text
19063
19064 \begin_layout Plain Layout
19065 a
19066 \end_layout
19067
19068 \end_inset
19069 </cell>
19070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19071 \begin_inset Text
19072
19073 \begin_layout Plain Layout
19074 b
19075 \end_layout
19076
19077 \end_inset
19078 </cell>
19079 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19080 \begin_inset Text
19081
19082 \begin_layout Plain Layout
19083 c
19084 \end_layout
19085
19086 \end_inset
19087 </cell>
19088 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19089 \begin_inset Text
19090
19091 \begin_layout Plain Layout
19092 d
19093 \end_layout
19094
19095 \end_inset
19096 </cell>
19097 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19098 \begin_inset Text
19099
19100 \begin_layout Plain Layout
19101 e
19102 \end_layout
19103
19104 \end_inset
19105 </cell>
19106 </row>
19107 <row>
19108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19109 \begin_inset Text
19110
19111 \begin_layout Plain Layout
19112 f
19113 \end_layout
19114
19115 \end_inset
19116 </cell>
19117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19118 \begin_inset Text
19119
19120 \begin_layout Plain Layout
19121 g
19122 \end_layout
19123
19124 \end_inset
19125 </cell>
19126 <cell alignment="center" valignment="top" topline="true" usebox="none">
19127 \begin_inset Text
19128
19129 \begin_layout Plain Layout
19130 h
19131 \end_layout
19132
19133 \end_inset
19134 </cell>
19135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19136 \begin_inset Text
19137
19138 \begin_layout Plain Layout
19139 i
19140 \end_layout
19141
19142 \end_inset
19143 </cell>
19144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19145 \begin_inset Text
19146
19147 \begin_layout Plain Layout
19148 j
19149 \end_layout
19150
19151 \end_inset
19152 </cell>
19153 </row>
19154 <row>
19155 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19156 \begin_inset Text
19157
19158 \begin_layout Plain Layout
19159 \begin_inset ERT
19160 status collapsed
19161
19162 \begin_layout Plain Layout
19163
19164
19165 \backslash
19166 hdashline 
19167 \end_layout
19168
19169 \end_inset
19170
19171 k
19172 \end_layout
19173
19174 \end_inset
19175 </cell>
19176 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19177 \begin_inset Text
19178
19179 \begin_layout Plain Layout
19180 l
19181 \end_layout
19182
19183 \end_inset
19184 </cell>
19185 <cell alignment="center" valignment="top" usebox="none">
19186 \begin_inset Text
19187
19188 \begin_layout Plain Layout
19189 m
19190 \end_layout
19191
19192 \end_inset
19193 </cell>
19194 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19195 \begin_inset Text
19196
19197 \begin_layout Plain Layout
19198 n
19199 \end_layout
19200
19201 \end_inset
19202 </cell>
19203 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19204 \begin_inset Text
19205
19206 \begin_layout Plain Layout
19207 o
19208 \end_layout
19209
19210 \end_inset
19211 </cell>
19212 </row>
19213 <row>
19214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19215 \begin_inset Text
19216
19217 \begin_layout Plain Layout
19218 \begin_inset ERT
19219 status collapsed
19220
19221 \begin_layout Plain Layout
19222
19223
19224 \backslash
19225 cdashline{4-5}
19226 \end_layout
19227
19228 \end_inset
19229
19230 p
19231 \end_layout
19232
19233 \end_inset
19234 </cell>
19235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19236 \begin_inset Text
19237
19238 \begin_layout Plain Layout
19239 q
19240 \end_layout
19241
19242 \end_inset
19243 </cell>
19244 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19245 \begin_inset Text
19246
19247 \begin_layout Plain Layout
19248 r
19249 \end_layout
19250
19251 \end_inset
19252 </cell>
19253 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19254 \begin_inset Text
19255
19256 \begin_layout Plain Layout
19257 s
19258 \end_layout
19259
19260 \end_inset
19261 </cell>
19262 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19263 \begin_inset Text
19264
19265 \begin_layout Plain Layout
19266
19267 \end_layout
19268
19269 \end_inset
19270 </cell>
19271 </row>
19272 <row>
19273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19274 \begin_inset Text
19275
19276 \begin_layout Plain Layout
19277 t
19278 \end_layout
19279
19280 \end_inset
19281 </cell>
19282 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19283 \begin_inset Text
19284
19285 \begin_layout Plain Layout
19286 u
19287 \end_layout
19288
19289 \end_inset
19290 </cell>
19291 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19292 \begin_inset Text
19293
19294 \begin_layout Plain Layout
19295 v
19296 \end_layout
19297
19298 \end_inset
19299 </cell>
19300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19301 \begin_inset Text
19302
19303 \begin_layout Plain Layout
19304 w
19305 \end_layout
19306
19307 \end_inset
19308 </cell>
19309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19310 \begin_inset Text
19311
19312 \begin_layout Plain Layout
19313 x
19314 \end_layout
19315
19316 \end_inset
19317 </cell>
19318 </row>
19319 </lyxtabular>
19320
19321 \end_inset
19322
19323
19324 \end_layout
19325
19326 \end_inset
19327
19328
19329 \end_layout
19330
19331 \begin_layout Standard
19332 LyX does not natively support dashed lines, so you have to use TeX-Code.
19333  As a prerequisite the LaTeX-package 
19334 \series bold
19335 arydshln
19336 \series default
19337
19338 \begin_inset Index idx
19339 status collapsed
19340
19341 \begin_layout Plain Layout
19342 LaTeX-packages ! arydshln
19343 \end_layout
19344
19345 \end_inset
19346
19347  must be loaded in the document preamble with the command
19348 \end_layout
19349
19350 \begin_layout Standard
19351
19352 \series bold
19353
19354 \backslash
19355 usepackage{arydshln}
19356 \end_layout
19357
19358 \begin_layout Standard
19359 To make a vertical line dashed, enter the colon 
19360 \begin_inset Quotes eld
19361 \end_inset
19362
19363 :
19364 \begin_inset Quotes erd
19365 \end_inset
19366
19367  together with the character for the horizontal alignment as LaTeX-argument
19368  in the table cell dialog.
19369 \end_layout
19370
19371 \begin_layout Standard
19372 For a horizontal dashed line add the command
19373 \end_layout
19374
19375 \begin_layout Standard
19376
19377 \series bold
19378
19379 \backslash
19380 hdashline
19381 \end_layout
19382
19383 \begin_layout Standard
19384 in TeX-Code as first element of the first cell in the table row.
19385 \end_layout
19386
19387 \begin_layout Standard
19388 For dashed multicolumn lines use the command
19389 \end_layout
19390
19391 \begin_layout Standard
19392
19393 \series bold
19394
19395 \backslash
19396 cdashline{line number
19397 \series default
19398 }
19399 \end_layout
19400
19401 \begin_layout Standard
19402 in TeX-Code as the first element of the first cell in the table row.
19403  If you have for example a multicolumn spanning columns 2 to 4 and you want
19404  to have a dashed line above, add the command
19405 \end_layout
19406
19407 \begin_layout Standard
19408
19409 \series bold
19410
19411 \backslash
19412 cdashline{2-4}
19413 \end_layout
19414
19415 \begin_layout Standard
19416 as the first element of the first cell in the row of the multicolumn.
19417 \end_layout
19418
19419 \begin_layout Standard
19420 \begin_inset VSpace bigskip
19421 \end_inset
19422
19423
19424 \end_layout
19425
19426 \begin_layout Standard
19427 Table
19428 \begin_inset space ~
19429 \end_inset
19430
19431
19432 \begin_inset CommandInset ref
19433 LatexCommand ref
19434 reference "tab:Table-with-dashed"
19435
19436 \end_inset
19437
19438  was created using 
19439 \begin_inset Quotes eld
19440 \end_inset
19441
19442
19443 \series bold
19444 :c
19445 \series default
19446
19447 \begin_inset Quotes erd
19448 \end_inset
19449
19450  as LaTeX-argument of the third column.
19451  The TeX-Code command 
19452 \series bold
19453
19454 \backslash
19455 hdashline
19456 \series default
19457  was inserted in the first cell of the third row and the TeX-Code command
19458 \begin_inset Newline newline
19459 \end_inset
19460
19461  
19462 \series bold
19463
19464 \backslash
19465 cdashline{4-5}
19466 \series default
19467  was inserted in the first cell of the fourth row.
19468 \end_layout
19469
19470 \begin_layout Standard
19471 \begin_inset Note Greyedout
19472 status open
19473
19474 \begin_layout Plain Layout
19475
19476 \series bold
19477 Note:
19478 \series default
19479  The LaTeX-package 
19480 \series bold
19481 arydshln
19482 \series default
19483  is apparently not compatible with the LaTeX-package 
19484 \series bold
19485 colortbl
19486 \series default
19487
19488 \begin_inset Index idx
19489 status collapsed
19490
19491 \begin_layout Plain Layout
19492 LaTeX-packages ! colortbl
19493 \end_layout
19494
19495 \end_inset
19496
19497  that is used for colored tables in section
19498 \begin_inset space ~
19499 \end_inset
19500
19501
19502 \begin_inset CommandInset ref
19503 LatexCommand ref
19504 reference "sec:Colored-Tables"
19505
19506 \end_inset
19507
19508 .
19509  That means colored tables cannot have dashed lines.
19510 \end_layout
19511
19512 \end_inset
19513
19514
19515 \end_layout
19516
19517 \begin_layout Standard
19518 \begin_inset ERT
19519 status collapsed
19520
19521 \begin_layout Plain Layout
19522
19523
19524 \backslash
19525 else
19526 \end_layout
19527
19528 \end_inset
19529
19530
19531 \begin_inset Note Note
19532 status open
19533
19534 \begin_layout Plain Layout
19535 The following will be displayed when the LaTeX-package 
19536 \series bold
19537 arydshln
19538 \series default
19539  is not installed:
19540 \end_layout
19541
19542 \end_inset
19543
19544
19545 \end_layout
19546
19547 \begin_layout Standard
19548 You need to install the package 
19549 \series bold
19550 arydshln
19551 \series default
19552  to see the content of this section in the output.
19553 \end_layout
19554
19555 \begin_layout Standard
19556 \begin_inset ERT
19557 status collapsed
19558
19559 \begin_layout Plain Layout
19560
19561
19562 \backslash
19563 fi
19564 \end_layout
19565
19566 \end_inset
19567
19568
19569 \end_layout
19570
19571 \begin_layout Chapter
19572 Floats
19573 \begin_inset Index idx
19574 status collapsed
19575
19576 \begin_layout Plain Layout
19577 Floats
19578 \end_layout
19579
19580 \end_inset
19581
19582
19583 \end_layout
19584
19585 \begin_layout Section
19586 Introduction
19587 \begin_inset CommandInset label
19588 LatexCommand label
19589 name "sec:FloatIntroduction"
19590
19591 \end_inset
19592
19593
19594 \begin_inset Index idx
19595 status collapsed
19596
19597 \begin_layout Plain Layout
19598 Floats ! Introduction
19599 \end_layout
19600
19601 \end_inset
19602
19603
19604 \end_layout
19605
19606 \begin_layout Standard
19607 A float is a block of text associated with some sort of label, which doesn't
19608  have a fixed location.
19609  It can 
19610 \begin_inset Quotes eld
19611 \end_inset
19612
19613 float
19614 \begin_inset Quotes erd
19615 \end_inset
19616
19617  forward or backward a page or two, to wherever it fits best.
19618  
19619 \family sans
19620 Footnotes
19621 \family default
19622  and 
19623 \family sans
19624 Margin
19625 \begin_inset space ~
19626 \end_inset
19627
19628 Notes
19629 \family default
19630  are also floats, because they can float to the next page when there are
19631  too many notes on the page.
19632 \end_layout
19633
19634 \begin_layout Standard
19635 Floats allow a high quality layout.
19636  Images and tables can be spread evenly to the pages to avoid white space
19637  and pages without text.
19638  As the floating often destroys the context between the text and the image/table
19639 , every float can be referenced in the text.
19640  Floats are therefore numbered.
19641  Referencing is described in section
19642 \begin_inset space ~
19643 \end_inset
19644
19645
19646 \begin_inset CommandInset ref
19647 LatexCommand ref
19648 reference "sec:Referencing-Floats"
19649
19650 \end_inset
19651
19652 .
19653 \end_layout
19654
19655 \begin_layout Standard
19656 To insert a float, use the menu 
19657 \family sans
19658 Insert\SpecialChar \menuseparator
19659 Float
19660 \family default
19661 .
19662  This inserts the 
19663 \family sans
19664 Caption
19665 \family default
19666  inset, a box with a label.
19667  The label will automatically be translated to the document language in
19668  the output.
19669  After the label you can insert the caption text.
19670  The image or table is inserted above or below the caption in a separate
19671  paragraph within the float.
19672  More about the caption placement is contained in section
19673 \begin_inset space ~
19674 \end_inset
19675
19676
19677 \begin_inset CommandInset ref
19678 LatexCommand ref
19679 reference "sec:Caption-Placement"
19680
19681 \end_inset
19682
19683 .
19684  To keep your LyX-document readable, you can open and close the float box
19685  by left-clicking on the box label.
19686  A closed float box looks like this: 
19687 \begin_inset Graphics
19688         filename clipart/floatQt4.png
19689         scale 70
19690         scaleBeforeRotation
19691
19692 \end_inset
19693
19694  â€“ a gray button with a red label.
19695 \end_layout
19696
19697 \begin_layout Standard
19698 It is recommended that you insert floats as a separate standard paragraph
19699  to avoid possible LaTeX-errors that can occur when the surrounding text
19700  is specially formatted.
19701 \end_layout
19702
19703 \begin_layout Standard
19704 Existing figures or tables can be put into a float by highlighting them
19705  and then pressing the corresponding toolbar button for a new float.
19706 \end_layout
19707
19708 \begin_layout Section
19709 Float Types
19710 \end_layout
19711
19712 \begin_layout Standard
19713 Besides figure and table floats that are described in sections
19714 \begin_inset space ~
19715 \end_inset
19716
19717
19718 \begin_inset CommandInset ref
19719 LatexCommand ref
19720 reference "sec:Figure-Floats"
19721
19722 \end_inset
19723
19724  and 
19725 \begin_inset CommandInset ref
19726 LatexCommand ref
19727 reference "sec:Table-Floats"
19728
19729 \end_inset
19730
19731  respectively, LyX offers the float types 
19732 \series bold
19733 Algorithm
19734 \series default
19735  and 
19736 \series bold
19737 Wrap
19738 \series default
19739 .
19740 \end_layout
19741
19742 \begin_layout Subsection
19743 Algorithm Floats
19744 \begin_inset Index idx
19745 status collapsed
19746
19747 \begin_layout Plain Layout
19748 Floats ! Algorithms
19749 \end_layout
19750
19751 \end_inset
19752
19753
19754 \end_layout
19755
19756 \begin_layout Standard
19757 \begin_inset Float algorithm
19758 placement h
19759 wide false
19760 sideways false
19761 status open
19762
19763 \begin_layout Plain Layout
19764 \begin_inset Caption
19765
19766 \begin_layout Plain Layout
19767 \begin_inset CommandInset label
19768 LatexCommand label
19769 name "alg:Example-Algorithm-float"
19770
19771 \end_inset
19772
19773 Example Algorithm float
19774 \end_layout
19775
19776 \end_inset
19777
19778
19779 \end_layout
19780
19781 \begin_layout LyX-Code
19782 for I in 1..N loop
19783 \begin_inset Newline newline
19784 \end_inset
19785
19786  Sum:= Sum + A(I); /*comment*/
19787 \begin_inset Newline newline
19788 \end_inset
19789
19790 end loop
19791 \begin_inset VSpace -4mm
19792 \end_inset
19793
19794
19795 \end_layout
19796
19797 \end_inset
19798
19799
19800 \end_layout
19801
19802 \begin_layout Standard
19803 This float type is inserted with the menu 
19804 \family sans
19805 Insert\SpecialChar \menuseparator
19806 Floats\SpecialChar \menuseparator
19807 Algorithm
19808 \family default
19809 .
19810  It is used for program codes and descriptions of algorithms and can be
19811  seen as an alternative to program code listings that are explained in chapter
19812 \begin_inset space ~
19813 \end_inset
19814
19815
19816 \begin_inset CommandInset ref
19817 LatexCommand ref
19818 reference "cha:Program-Code-Listings"
19819
19820 \end_inset
19821
19822 .
19823  A possible environment for algorithms is the 
19824 \family sans
19825 LyX-Code
19826 \family default
19827 , described in LyX's 
19828 \emph on
19829 Userguide
19830 \emph default
19831 .
19832  Algorithm
19833 \begin_inset space ~
19834 \end_inset
19835
19836
19837 \begin_inset CommandInset ref
19838 LatexCommand ref
19839 reference "alg:Example-Algorithm-float"
19840
19841 \end_inset
19842
19843  is an example of an algorithm float where -4
19844 \begin_inset space \thinspace{}
19845 \end_inset
19846
19847 mm vertical space was added at the end of the float to have the bottom rule
19848  exactly below the last text line.
19849 \end_layout
19850
19851 \begin_layout Standard
19852 The float label is not automatically translated into the document language.
19853  If your document is not in English, you have to do this manually by adding
19854  the following line to the document preamble
19855 \series bold
19856 :
19857 \end_layout
19858
19859 \begin_layout Standard
19860
19861 \series bold
19862
19863 \backslash
19864 floatname{algorithm}{your
19865 \begin_inset space ~
19866 \end_inset
19867
19868 name}
19869 \end_layout
19870
19871 \begin_layout Standard
19872 where 
19873 \family sans
19874 your
19875 \begin_inset space ~
19876 \end_inset
19877
19878 name
19879 \family default
19880  is the word 
19881 \begin_inset Quotes eld
19882 \end_inset
19883
19884
19885 \emph on
19886 algorithm
19887 \emph default
19888
19889 \begin_inset Quotes erd
19890 \end_inset
19891
19892  in your language.
19893 \end_layout
19894
19895 \begin_layout Standard
19896 To insert the list of algorithms you can use the menu 
19897 \family sans
19898 Insert\SpecialChar \menuseparator
19899 List
19900 \begin_inset space \thinspace{}
19901 \end_inset
19902
19903 /
19904 \begin_inset space \thinspace{}
19905 \end_inset
19906
19907 TOC\SpecialChar \menuseparator
19908 List of Algorithms
19909 \family default
19910  when your document has the same language as LyX's menu names.
19911  In other cases use this command in TeX-Code instead:
19912 \end_layout
19913
19914 \begin_layout Standard
19915
19916 \series bold
19917
19918 \backslash
19919 listof{algorithm}{your
19920 \begin_inset space ~
19921 \end_inset
19922
19923 name}
19924 \end_layout
19925
19926 \begin_layout Standard
19927 where 
19928 \family sans
19929 your
19930 \begin_inset space ~
19931 \end_inset
19932
19933 name
19934 \family default
19935  is the word 
19936 \begin_inset Quotes eld
19937 \end_inset
19938
19939
19940 \emph on
19941 List of Algorithm
19942 \emph default
19943 s
19944 \begin_inset Quotes erd
19945 \end_inset
19946
19947  in your language.
19948 \end_layout
19949
19950 \begin_layout Standard
19951 Algorithm floats are not by default numbered in the scheme 
19952 \begin_inset Quotes eld
19953 \end_inset
19954
19955 chapter.algorithm
19956 \begin_inset Quotes erd
19957 \end_inset
19958
19959  as is the case for table and figure floats in many document-classes.
19960  To number algorithm floats in the same scheme, add this command to your
19961  document preamble:
19962 \end_layout
19963
19964 \begin_layout Standard
19965
19966 \series bold
19967
19968 \backslash
19969 numberwithin{algorithm}{chapter}
19970 \end_layout
19971
19972 \begin_layout Standard
19973 To be able to use the command 
19974 \series bold
19975
19976 \backslash
19977 numberwithin
19978 \series default
19979 , set in the tab 
19980 \family sans
19981 Math
19982 \begin_inset space ~
19983 \end_inset
19984
19985 Options
19986 \family default
19987  in the document settings the option 
19988 \family sans
19989 Use
19990 \begin_inset space ~
19991 \end_inset
19992
19993 AMS
19994 \begin_inset space ~
19995 \end_inset
19996
19997 math
19998 \begin_inset space ~
19999 \end_inset
20000
20001 package
20002 \family default
20003 .
20004 \end_layout
20005
20006 \begin_layout Subsection
20007 Wrap Floats
20008 \begin_inset Index idx
20009 status collapsed
20010
20011 \begin_layout Plain Layout
20012 Floats ! Wrap Floats
20013 \end_layout
20014
20015 \end_inset
20016
20017
20018 \end_layout
20019
20020 \begin_layout Standard
20021 \begin_inset Wrap figure
20022 lines 0
20023 placement l
20024 overhang 1cm
20025 width "40col%"
20026 status open
20027
20028 \begin_layout Plain Layout
20029 \begin_inset Graphics
20030         filename clipart/mobius.eps
20031         width 40col%
20032         scaleBeforeRotation
20033         rotateOrigin center
20034
20035 \end_inset
20036
20037
20038 \end_layout
20039
20040 \begin_layout Plain Layout
20041 \begin_inset Caption
20042
20043 \begin_layout Plain Layout
20044 \begin_inset CommandInset label
20045 LatexCommand label
20046 name "fig:This-is-a"
20047
20048 \end_inset
20049
20050 This is a figure wrap float.
20051 \end_layout
20052
20053 \end_inset
20054
20055
20056 \end_layout
20057
20058 \end_inset
20059
20060  This float type is used if you want to wrap text around a figure or table
20061  so that it only occupies some fraction of the column width.
20062  It can be inserted using the menu 
20063 \family sans
20064 Insert\SpecialChar \menuseparator
20065 Floats\SpecialChar \menuseparator
20066 Figure
20067 \begin_inset space ~
20068 \end_inset
20069
20070 Wrap
20071 \begin_inset space ~
20072 \end_inset
20073
20074 Float
20075 \family default
20076  or 
20077 \family sans
20078 Table
20079 \begin_inset space ~
20080 \end_inset
20081
20082 Wrap
20083 \begin_inset space ~
20084 \end_inset
20085
20086 Float
20087 \family default
20088  if the LaTeX-package 
20089 \series bold
20090 wrapfig
20091 \series default
20092
20093 \begin_inset Index idx
20094 status collapsed
20095
20096 \begin_layout Plain Layout
20097 LaTeX-packages ! wrapfig
20098 \begin_inset ERT
20099 status collapsed
20100
20101 \begin_layout Plain Layout
20102
20103
20104 \backslash
20105 vspace{4mm}
20106 \end_layout
20107
20108 \end_inset
20109
20110
20111 \end_layout
20112
20113 \end_inset
20114
20115  is installed.
20116 \begin_inset Foot
20117 status collapsed
20118
20119 \begin_layout Plain Layout
20120 Installing a LaTeX-package is explained it in the 
20121 \emph on
20122 LaTeX
20123 \begin_inset space ~
20124 \end_inset
20125
20126 Configuration
20127 \emph default
20128  manual.
20129 \end_layout
20130
20131 \end_inset
20132
20133  The settings of the float can be modified by right-clicking on the float
20134  box.
20135  The mandatory settings are the float 
20136 \family sans
20137 Placement
20138 \family default
20139  and its 
20140 \family sans
20141 Width
20142 \family default
20143 .
20144  Optional are the 
20145 \family sans
20146 Overhang
20147 \family default
20148  that specifies how much the float is set into the paragraph
20149 \begin_inset space \thinspace{}
20150 \end_inset
20151
20152 /
20153 \begin_inset space \thinspace{}
20154 \end_inset
20155
20156 page margin, and the 
20157 \family sans
20158 Line
20159 \begin_inset space ~
20160 \end_inset
20161
20162 span
20163 \family default
20164  that specifies how many text lines the float will approximately need.
20165  The line span is often hard to approximate; so it is better only to use
20166  it when you encounter float placement problems.
20167  You can furthermore decide if LaTeX is allowed to let the float float within
20168  the paragraph or to surrounding paragraphs.
20169  Figure
20170 \begin_inset space ~
20171 \end_inset
20172
20173
20174 \begin_inset CommandInset ref
20175 LatexCommand ref
20176 reference "fig:This-is-a"
20177
20178 \end_inset
20179
20180  is an example text wrap float with a width of 40
20181 \begin_inset space \thinspace{}
20182 \end_inset
20183
20184 col%, 1
20185 \begin_inset space \thinspace{}
20186 \end_inset
20187
20188 cm overhang, set to the left.
20189 \begin_inset Foot
20190 status collapsed
20191
20192 \begin_layout Plain Layout
20193 Available units are explained in appendix
20194 \begin_inset space ~
20195 \end_inset
20196
20197
20198 \begin_inset CommandInset ref
20199 LatexCommand ref
20200 reference "cha:Units-available-in"
20201
20202 \end_inset
20203
20204 .
20205 \end_layout
20206
20207 \end_inset
20208
20209
20210 \end_layout
20211
20212 \begin_layout Standard
20213 \begin_inset Note Greyedout
20214 status open
20215
20216 \begin_layout Plain Layout
20217
20218 \series bold
20219 Note:
20220 \series default
20221  Text
20222 \begin_inset space ~
20223 \end_inset
20224
20225 wrap float floats are fragile! E.
20226 \begin_inset space \thinspace{}
20227 \end_inset
20228
20229 g.
20230 \begin_inset space \space{}
20231 \end_inset
20232
20233 having a figure too close to the bottom of the page can mess things up in
20234  such a way that the float does not appear in the output or that it is placed
20235  over some other text.
20236 \end_layout
20237
20238 \end_inset
20239
20240
20241 \end_layout
20242
20243 \begin_layout Standard
20244 In general:
20245 \end_layout
20246
20247 \begin_layout Itemize
20248 Wrap floats should not be placed in paragraphs that run over a page break.
20249  That means that wrap floats are better inserted in their exact place when
20250  the document is almost finished and you are able to estimate where page
20251  breaks will appear.
20252 \end_layout
20253
20254 \begin_layout Itemize
20255 Wrap floats should either be placed in their own paragraph before the paragraph
20256  where they should wrap into or within a paragraph.
20257 \end_layout
20258
20259 \begin_layout Itemize
20260 Wrap floats in consecutive paragraphs may cause troubles, so ensure that
20261  there is a text paragraph between them as separator.
20262 \end_layout
20263
20264 \begin_layout Itemize
20265 Wrap floats are not allowed in section headings or tables.
20266 \end_layout
20267
20268 \begin_layout Section
20269 Float Numbering
20270 \begin_inset Index idx
20271 status collapsed
20272
20273 \begin_layout Plain Layout
20274 Floats ! Numbering
20275 \end_layout
20276
20277 \end_inset
20278
20279
20280 \end_layout
20281
20282 \begin_layout Standard
20283 Floats are usually numbered either independently from the sections the floats
20284  are in, or in the scheme 
20285 \begin_inset Quotes eld
20286 \end_inset
20287
20288 chapter.number
20289 \begin_inset Quotes erd
20290 \end_inset
20291
20292  or 
20293 \begin_inset Quotes eld
20294 \end_inset
20295
20296 section.number
20297 \begin_inset Quotes erd
20298 \end_inset
20299
20300 .
20301  This depends on the document class used.
20302 \end_layout
20303
20304 \begin_layout Standard
20305 To change section-independent numbering, you can use this command in the
20306  document preamble:
20307 \end_layout
20308
20309 \begin_layout Standard
20310
20311 \series bold
20312
20313 \backslash
20314 renewcommand{
20315 \backslash
20316 thetable}{
20317 \backslash
20318 roman{table}}
20319 \end_layout
20320
20321 \begin_layout Standard
20322
20323 \series bold
20324
20325 \backslash
20326 thetable
20327 \series default
20328  is the command that prints the table number, for figure floats, the command
20329  would be 
20330 \series bold
20331
20332 \backslash
20333 thefigure
20334 \series default
20335 .
20336  
20337 \series bold
20338
20339 \backslash
20340 roman
20341 \series default
20342  in the command above prints the table number as small roman number.
20343 \end_layout
20344
20345 \begin_layout Standard
20346 To change the numbering scheme for example to 
20347 \begin_inset Quotes eld
20348 \end_inset
20349
20350 subsection.number
20351 \begin_inset Quotes erd
20352 \end_inset
20353
20354 , use this command in the preamble:
20355 \end_layout
20356
20357 \begin_layout Standard
20358
20359 \series bold
20360
20361 \backslash
20362 numberwithin{table}{subsection}
20363 \end_layout
20364
20365 \begin_layout Standard
20366 To be able to use the command 
20367 \series bold
20368
20369 \backslash
20370 numberwithin
20371 \series default
20372 , set in the tab 
20373 \family sans
20374 Math
20375 \begin_inset space ~
20376 \end_inset
20377
20378 Options
20379 \family default
20380  in the document settings the option 
20381 \family sans
20382 Use
20383 \begin_inset space ~
20384 \end_inset
20385
20386 AMS
20387 \begin_inset space ~
20388 \end_inset
20389
20390 math
20391 \begin_inset space ~
20392 \end_inset
20393
20394 package
20395 \family default
20396 .
20397 \end_layout
20398
20399 \begin_layout Standard
20400 Please also have a look at section
20401 \begin_inset space ~
20402 \end_inset
20403
20404
20405 \begin_inset CommandInset ref
20406 LatexCommand ref
20407 reference "sub:Footnote-Numbering"
20408
20409 \end_inset
20410
20411  for the details and important notes about the numbering commands.
20412 \end_layout
20413
20414 \begin_layout Section
20415 Referencing Floats
20416 \begin_inset CommandInset label
20417 LatexCommand label
20418 name "sec:Referencing-Floats"
20419
20420 \end_inset
20421
20422
20423 \begin_inset Index idx
20424 status collapsed
20425
20426 \begin_layout Plain Layout
20427 Floats ! References
20428 \end_layout
20429
20430 \end_inset
20431
20432
20433 \begin_inset Index idx
20434 status collapsed
20435
20436 \begin_layout Plain Layout
20437 References ! to Floats
20438 \end_layout
20439
20440 \end_inset
20441
20442
20443 \end_layout
20444
20445 \begin_layout Standard
20446 To reference a float, insert a label into its caption using the menu 
20447 \family sans
20448 Insert\SpecialChar \menuseparator
20449 Label
20450 \family default
20451  or the toolbar button 
20452 \begin_inset Graphics
20453         filename ../images/label-insert.png
20454         scale 85
20455         scaleBeforeRotation
20456
20457 \end_inset
20458
20459 .
20460  A grey label box like this one: 
20461 \begin_inset Graphics
20462         filename clipart/labelQt4.png
20463         scale 85
20464         scaleBeforeRotation
20465
20466 \end_inset
20467
20468  will be inserted and the label window pops up asking for the label text.
20469  LyX offers as text the first words of the caption with a prefix.
20470  The prefix depends on the float type, e.
20471 \begin_inset space \thinspace{}
20472 \end_inset
20473
20474 g.
20475 \begin_inset space \space{}
20476 \end_inset
20477
20478 for figure floats the prefix will be "
20479 \family sans
20480 fig:
20481 \family default
20482 ".
20483 \end_layout
20484
20485 \begin_layout Standard
20486 The label is used as anchor and name for the reference.
20487  You can refer to the label using the menu 
20488 \family sans
20489 Insert\SpecialChar \menuseparator
20490 Cross-reference
20491 \family default
20492  or the toolbar button 
20493 \begin_inset Graphics
20494         filename ../images/dialog-show-new-inset_ref.png
20495         scale 85
20496         scaleBeforeRotation
20497
20498 \end_inset
20499
20500 .
20501  A grey cross-reference box like this one: 
20502 \begin_inset Graphics
20503         filename clipart/referenceQt4.png
20504         scale 85
20505         scaleBeforeRotation
20506
20507 \end_inset
20508
20509  will be inserted and the cross-reference window appear showing all labels
20510  of the document.
20511  If you have multiple LyX-documents opened, choose the one you are working
20512  on from the drop-list at the top of the dialog.
20513  You can now sort the labels alphabetically and then choose one.
20514  At the position of the cross-reference box the float number will appear
20515  in the output.
20516 \end_layout
20517
20518 \begin_layout Standard
20519 It is recommended that you use a protected space between the cross-reference
20520  name and its number to avoid line breaks between them.
20521  If a cross-reference refers to a non-existing label, you will see two question
20522  marks in the output instead of the reference.
20523 \end_layout
20524
20525 \begin_layout Standard
20526 You can change labels at any time by clicking on the label box.
20527  References to the changed label will automatically change its link to the
20528  new label text, so that you don't need to take care about this.
20529 \end_layout
20530
20531 \begin_layout Standard
20532 The button 
20533 \family sans
20534 Go
20535 \begin_inset space ~
20536 \end_inset
20537
20538 to
20539 \begin_inset space ~
20540 \end_inset
20541
20542 Label
20543 \family default
20544  in the cross-reference window sets the cursor before the referred label.
20545  The button text changes then to Go
20546 \begin_inset space ~
20547 \end_inset
20548
20549 Back and you can use it to set the cursor back to the cross-reference.
20550  Right-clicking on a cross-reference box also sets the cursor before the
20551  referenced label but without the possibility of going back.
20552 \end_layout
20553
20554 \begin_layout Subsection
20555 Cross-Reference Formats
20556 \begin_inset CommandInset label
20557 LatexCommand label
20558 name "sub:Cross-Reference-Formats"
20559
20560 \end_inset
20561
20562
20563 \begin_inset Index idx
20564 status collapsed
20565
20566 \begin_layout Plain Layout
20567 References ! Formats
20568 \end_layout
20569
20570 \end_inset
20571
20572
20573 \end_layout
20574
20575 \begin_layout Standard
20576 There are six varieties of cross-references:
20577 \end_layout
20578
20579 \begin_layout Description
20580 <reference>: prints the float number, this is the default: 
20581 \begin_inset CommandInset ref
20582 LatexCommand ref
20583 reference "fig:Two-distorted-images"
20584
20585 \end_inset
20586
20587
20588 \end_layout
20589
20590 \begin_layout Description
20591 (<reference>): prints the float number within two parentheses, this is the
20592  style normally used to reference formulas, especially when the reference
20593  name 
20594 \begin_inset Quotes eld
20595 \end_inset
20596
20597 Equation
20598 \begin_inset Quotes erd
20599 \end_inset
20600
20601  is omitted: 
20602 \begin_inset CommandInset ref
20603 LatexCommand eqref
20604 reference "eq:Wgn"
20605
20606 \end_inset
20607
20608
20609 \end_layout
20610
20611 \begin_layout Description
20612 <page>: prints the page number: Page
20613 \begin_inset space ~
20614 \end_inset
20615
20616
20617 \begin_inset CommandInset ref
20618 LatexCommand pageref
20619 reference "fig:Two-distorted-images"
20620
20621 \end_inset
20622
20623
20624 \end_layout
20625
20626 \begin_layout Description
20627 on
20628 \begin_inset space ~
20629 \end_inset
20630
20631 page
20632 \begin_inset space ~
20633 \end_inset
20634
20635 <page>: prints the text "on page" and the page number: 
20636 \begin_inset CommandInset ref
20637 LatexCommand vpageref
20638 reference "fig:Two-distorted-images"
20639
20640 \end_inset
20641
20642
20643 \end_layout
20644
20645 \begin_layout Description
20646 <reference>
20647 \begin_inset space ~
20648 \end_inset
20649
20650 on
20651 \begin_inset space ~
20652 \end_inset
20653
20654 page
20655 \begin_inset space ~
20656 \end_inset
20657
20658 <page>: prints the float number, the text "on page", and the page number:
20659  
20660 \begin_inset CommandInset ref
20661 LatexCommand vref
20662 reference "fig:Two-distorted-images"
20663
20664 \end_inset
20665
20666
20667 \end_layout
20668
20669 \begin_layout Description
20670 Formatted
20671 \begin_inset space ~
20672 \end_inset
20673
20674 reference: prints a self-defined cross-reference format.
20675 \begin_inset Newline newline
20676 \end_inset
20677
20678
20679 \begin_inset Note Greyedout
20680 status open
20681
20682 \begin_layout Plain Layout
20683
20684 \series bold
20685 Note:
20686 \series default
20687  This feature is only available when you have the LaTeX-package 
20688 \series bold
20689 prettyref
20690 \series default
20691  or 
20692 \series bold
20693 refstyle
20694 \series default
20695
20696 \begin_inset Index idx
20697 status collapsed
20698
20699 \begin_layout Plain Layout
20700 LaTeX-packages ! prettyref
20701 \end_layout
20702
20703 \end_inset
20704
20705
20706 \begin_inset Index idx
20707 status collapsed
20708
20709 \begin_layout Plain Layout
20710 LaTeX-packages ! refstyle
20711 \end_layout
20712
20713 \end_inset
20714
20715  installed.
20716 \end_layout
20717
20718 \end_inset
20719
20720
20721 \begin_inset Newline newline
20722 \end_inset
20723
20724 You can select which LaTeX-package should be used for this feature by setting
20725  the option 
20726 \family sans
20727 Use refstyle (not prettyref) for cross-references
20728 \family default
20729  in the menu 
20730 \family sans
20731 Document\SpecialChar \menuseparator
20732 Settings\SpecialChar \menuseparator
20733 Document Class
20734 \family default
20735 .
20736  The format is specified by adding the command 
20737 \series bold
20738
20739 \backslash
20740 newrefformat
20741 \series default
20742  (prettyref) or 
20743 \series bold
20744
20745 \backslash
20746 newref
20747 \series default
20748  (refstyle) to the preamble of the document.
20749  For example redefining all references to figures (which have the label
20750  shortcut 
20751 \begin_inset Quotes eld
20752 \end_inset
20753
20754
20755 \family sans
20756 fig
20757 \family default
20758
20759 \begin_inset Quotes erd
20760 \end_inset
20761
20762 ) can be done with this command
20763 \begin_inset Newline newline
20764 \end_inset
20765
20766
20767 \series bold
20768
20769 \backslash
20770 newref{fig}{refcmd={Image on page 
20771 \backslash
20772 pageref{#1}}}
20773 \series default
20774
20775 \begin_inset Newline newline
20776 \end_inset
20777
20778 For more information about the format, have a look at the package documentations
20779
20780 \begin_inset CommandInset citation
20781 LatexCommand cite
20782 key "prettyref,refstyle"
20783
20784 \end_inset
20785
20786 .
20787 \end_layout
20788
20789 \begin_layout Description
20790 Textual
20791 \begin_inset space ~
20792 \end_inset
20793
20794 reference: prints the caption of the reference: 
20795 \begin_inset CommandInset ref
20796 LatexCommand nameref
20797 reference "fig:Two-distorted-images"
20798
20799 \end_inset
20800
20801
20802 \end_layout
20803
20804 \begin_layout Standard
20805
20806 \family sans
20807 <page>
20808 \family default
20809  will not print the page number if the label is on the previous, the same,
20810  or the next page.
20811  You will e.
20812 \begin_inset space \thinspace{}
20813 \end_inset
20814
20815 g.
20816 \begin_inset space \space{}
20817 \end_inset
20818
20819 see the text 
20820 \begin_inset Quotes eld
20821 \end_inset
20822
20823
20824 \family sans
20825 on this page
20826 \family default
20827
20828 \begin_inset Quotes erd
20829 \end_inset
20830
20831  instead.
20832  The style 
20833 \family sans
20834 <reference> on page <page>
20835 \family default
20836  will not print anything about the page if the label is on the same page.
20837 \end_layout
20838
20839 \begin_layout Standard
20840 The number and current page of the part of the document referred to in the
20841  output is automatically calculated by LaTeX.
20842  The varieties are adjusted in the field 
20843 \family sans
20844 Format
20845 \family default
20846  of the cross-reference window that appears when you click on the cross-referenc
20847 e box.
20848 \end_layout
20849
20850 \begin_layout Standard
20851 \begin_inset Note Greyedout
20852 status open
20853
20854 \begin_layout Plain Layout
20855
20856 \series bold
20857 Note:
20858 \series default
20859  It is recommended to use the LaTeX-package 
20860 \series bold
20861 refstyle
20862 \series default
20863
20864 \begin_inset Index idx
20865 status collapsed
20866
20867 \begin_layout Plain Layout
20868 LaTeX-packages ! refstyle
20869 \end_layout
20870
20871 \end_inset
20872
20873  because 
20874 \series bold
20875 prettyref
20876 \series default
20877
20878 \begin_inset Index idx
20879 status collapsed
20880
20881 \begin_layout Plain Layout
20882 LaTeX-packages ! prettyref
20883 \end_layout
20884
20885 \end_inset
20886
20887  does not know all of LyX's possible label shortcuts
20888 \begin_inset Foot
20889 status collapsed
20890
20891 \begin_layout Plain Layout
20892 \begin_inset Quotes eld
20893 \end_inset
20894
20895 fig:
20896 \begin_inset Quotes erd
20897 \end_inset
20898
20899  is for example LyX's shortcut for labels in figure captions.
20900 \end_layout
20901
20902 \end_inset
20903
20904  and is not internationalized.
20905 \end_layout
20906
20907 \end_inset
20908
20909
20910 \end_layout
20911
20912 \begin_layout Standard
20913 \begin_inset Note Greyedout
20914 status open
20915
20916 \begin_layout Plain Layout
20917
20918 \series bold
20919 Note:
20920 \series default
20921  Due to a bug in the LaTeX-package 
20922 \series bold
20923 varioref
20924 \series default
20925  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20926  languages that make the period character active (like French).
20927  For a workaround, see
20928 \begin_inset Newline newline
20929 \end_inset
20930
20931
20932 \begin_inset CommandInset href
20933 LatexCommand href
20934 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20935
20936 \end_inset
20937
20938 .
20939 \end_layout
20940
20941 \end_inset
20942
20943
20944 \end_layout
20945
20946 \begin_layout Subsection
20947 Automatic Reference Naming
20948 \begin_inset Index idx
20949 status collapsed
20950
20951 \begin_layout Plain Layout
20952 References ! Automatic Reference Naming
20953 \end_layout
20954
20955 \end_inset
20956
20957
20958 \end_layout
20959
20960 \begin_layout Standard
20961 The LaTeX-package 
20962 \series bold
20963 hyperref
20964 \series default
20965
20966 \begin_inset Index idx
20967 status collapsed
20968
20969 \begin_layout Plain Layout
20970 LaTeX-packages ! hyperref
20971 \end_layout
20972
20973 \end_inset
20974
20975 , that is enabled in the 
20976 \family sans
20977 PDF Properties
20978 \family default
20979  of the 
20980 \family sans
20981 Document Settings
20982 \family default
20983  dialog, provides a very useful feature that cross-references automatically
20984  include the name of the referenced floats (or text parts like 
20985 \emph on
20986 section
20987 \emph default
20988 ).
20989  So you will save having to write e.
20990 \begin_inset space \thinspace{}
20991 \end_inset
20992
20993 g.
20994 \begin_inset space \space{}
20995 \end_inset
20996
20997 the name 
20998 \begin_inset Quotes eld
20999 \end_inset
21000
21001 Figure
21002 \begin_inset Quotes erd
21003 \end_inset
21004
21005  before every reference to a figure.
21006  To use this feature, enable 
21007 \series bold
21008 hyperref
21009 \series default
21010  and insert this line to the LaTeX preamble:
21011 \end_layout
21012
21013 \begin_layout Standard
21014
21015 \series bold
21016
21017 \backslash
21018 AtBeginDocument{
21019 \backslash
21020 renewcommand{
21021 \backslash
21022 ref}[1]{
21023 \backslash
21024 mbox{
21025 \backslash
21026 autoref{#1}}}}
21027 \end_layout
21028
21029 \begin_layout Standard
21030 When you prefer other reference names than the default ones, for example
21031  you want instead of 
21032 \begin_inset Quotes eld
21033 \end_inset
21034
21035 section
21036 \begin_inset Quotes erd
21037 \end_inset
21038
21039  the name 
21040 \begin_inset Quotes eld
21041 \end_inset
21042
21043 sec.
21044 \begin_inset space \thinspace{}
21045 \end_inset
21046
21047
21048 \begin_inset Quotes eld
21049 \end_inset
21050
21051 , you can redefine the name by inserting this in the preamble:
21052 \end_layout
21053
21054 \begin_layout Standard
21055
21056 \series bold
21057
21058 \backslash
21059 addto
21060 \backslash
21061 extrasenglish{
21062 \backslash
21063 renewcommand{
21064 \backslash
21065 sectionautorefname}
21066 \begin_inset Newline newline
21067 \end_inset
21068
21069
21070 \begin_inset Phantom HPhantom
21071 status open
21072
21073 \begin_layout Plain Layout
21074
21075 \series bold
21076 \begin_inset space ~
21077 \end_inset
21078
21079
21080 \end_layout
21081
21082 \end_inset
21083
21084 {sec.
21085 \backslash
21086 negthinspace}}
21087 \end_layout
21088
21089 \begin_layout Standard
21090 When you are using another document language than English, replace
21091 \begin_inset Newline newline
21092 \end_inset
21093
21094
21095 \series bold
21096
21097 \backslash
21098 extrasenglish
21099 \series default
21100  by 
21101 \series bold
21102
21103 \backslash
21104 extras***
21105 \series default
21106 , where *** is the name of the language used.
21107 \end_layout
21108
21109 \begin_layout Standard
21110 To get automatic names, but not for certain reference types, for example
21111  not for equations, use this preamble code:
21112 \end_layout
21113
21114 \begin_layout Standard
21115
21116 \series bold
21117
21118 \backslash
21119 newlength{
21120 \backslash
21121 abc}
21122 \begin_inset Newline newline
21123 \end_inset
21124
21125
21126 \backslash
21127 settowidth{
21128 \backslash
21129 abc}{
21130 \backslash
21131 space}
21132 \begin_inset Newline newline
21133 \end_inset
21134
21135
21136 \backslash
21137 addto
21138 \backslash
21139 extrasenglish{
21140 \backslash
21141 renewcommand{
21142 \backslash
21143 equationautorefname}
21144 \begin_inset Newline newline
21145 \end_inset
21146
21147
21148 \begin_inset Phantom HPhantom
21149 status open
21150
21151 \begin_layout Plain Layout
21152
21153 \series bold
21154 \begin_inset space ~
21155 \end_inset
21156
21157
21158 \end_layout
21159
21160 \end_inset
21161
21162 {
21163 \backslash
21164 hspace{-
21165 \backslash
21166 abc}}
21167 \end_layout
21168
21169 \begin_layout Standard
21170 More about this topic can be found in 
21171 \series bold
21172 hyperref
21173 \series default
21174 's documentation 
21175 \begin_inset CommandInset citation
21176 LatexCommand cite
21177 key "hyperref"
21178
21179 \end_inset
21180
21181 .
21182 \end_layout
21183
21184 \begin_layout Standard
21185 \begin_inset Note Greyedout
21186 status open
21187
21188 \begin_layout Plain Layout
21189
21190 \series bold
21191 Note:
21192 \series default
21193  Automatic reference naming cannot be used when you use cross-references
21194  in the 
21195 \family sans
21196 Formatted
21197 \begin_inset space ~
21198 \end_inset
21199
21200 reference
21201 \family default
21202  style, as described in section
21203 \begin_inset space ~
21204 \end_inset
21205
21206
21207 \begin_inset CommandInset ref
21208 LatexCommand ref
21209 reference "sub:Cross-Reference-Formats"
21210
21211 \end_inset
21212
21213 .
21214 \end_layout
21215
21216 \end_inset
21217
21218
21219 \end_layout
21220
21221 \begin_layout Standard
21222 The 
21223 \emph on
21224 Math
21225 \emph default
21226  manual is an example where automatic reference naming is used.
21227 \end_layout
21228
21229 \begin_layout Subsection
21230 Reference Position
21231 \begin_inset CommandInset label
21232 LatexCommand label
21233 name "sub:Reference-Position"
21234
21235 \end_inset
21236
21237
21238 \begin_inset Index idx
21239 status collapsed
21240
21241 \begin_layout Plain Layout
21242 References ! Reference Position
21243 \end_layout
21244
21245 \end_inset
21246
21247
21248 \end_layout
21249
21250 \begin_layout Standard
21251 If you use 
21252 \series bold
21253 hyperref
21254 \series default
21255
21256 \begin_inset Index idx
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 LaTeX-packages ! hyperref
21261 \end_layout
21262
21263 \end_inset
21264
21265  in the 
21266 \family sans
21267 PDF Properties
21268 \family default
21269  of the 
21270 \family sans
21271 Document Settings
21272 \family default
21273  dialog to link cross-references in the output, you will see that clicking
21274  on an image float reference jumps to the image label.
21275  The caption will be the first text part on the screen, so that you cannot
21276  see the image without scrolling.
21277  This is because the reference link anchor is placed at the position of
21278  the label.
21279  With the use of the package 
21280 \series bold
21281 hypcap
21282 \series default
21283
21284 \begin_inset Index idx
21285 status collapsed
21286
21287 \begin_layout Plain Layout
21288 LaTeX-packages ! hypcap
21289 \end_layout
21290
21291 \end_inset
21292
21293 , which is part of the LaTeX-package 
21294 \series bold
21295 oberdiek
21296 \series default
21297
21298 \begin_inset Index idx
21299 status collapsed
21300
21301 \begin_layout Plain Layout
21302 LaTeX-packages ! oberdiek
21303 \end_layout
21304
21305 \end_inset
21306
21307 , the link anchor is placed at the beginning of a float.
21308  To use this feature for figure floats, load 
21309 \series bold
21310 hypcap
21311 \series default
21312  in the document preamble with the line
21313 \end_layout
21314
21315 \begin_layout Standard
21316
21317 \series bold
21318
21319 \backslash
21320 usepackage[figure]{hypcap}
21321 \end_layout
21322
21323 \begin_layout Standard
21324 You can also use 
21325 \series bold
21326 hypcap
21327 \series default
21328  for all float types but this is not recommended for stability reasons.
21329  For more information, have a look at 
21330 \series bold
21331 hypcap
21332 \series default
21333 's manual 
21334 \begin_inset CommandInset citation
21335 LatexCommand cite
21336 key "hypcap"
21337
21338 \end_inset
21339
21340 .
21341 \end_layout
21342
21343 \begin_layout Standard
21344 \begin_inset Note Greyedout
21345 status open
21346
21347 \begin_layout Plain Layout
21348
21349 \series bold
21350 Note:
21351 \series default
21352  
21353 \series bold
21354 hypcap
21355 \series default
21356  has no effect on references to subfigures.
21357 \end_layout
21358
21359 \end_inset
21360
21361
21362 \end_layout
21363
21364 \begin_layout Section
21365 Float Placement
21366 \begin_inset CommandInset label
21367 LatexCommand label
21368 name "sec:Float-Placement"
21369
21370 \end_inset
21371
21372
21373 \begin_inset Index idx
21374 status collapsed
21375
21376 \begin_layout Plain Layout
21377 Floats ! Placement
21378 \end_layout
21379
21380 \end_inset
21381
21382
21383 \end_layout
21384
21385 \begin_layout Standard
21386 Right-clicking on a float-box opens a dialog where you can alter the placement
21387  options that LaTeX uses for positioning the float.
21388 \begin_inset Newline newline
21389 \end_inset
21390
21391 The option 
21392 \family sans
21393 Span
21394 \begin_inset space ~
21395 \end_inset
21396
21397 columns
21398 \family default
21399  is only useful for two-column documents: If you select it, the float will
21400  span both columns on the page instead of being confined to just one.
21401 \begin_inset Newline newline
21402 \end_inset
21403
21404 The option 
21405 \family sans
21406 Rotate
21407 \begin_inset space ~
21408 \end_inset
21409
21410 sideways
21411 \family default
21412  is used to rotate floats, see section 
21413 \begin_inset CommandInset ref
21414 LatexCommand ref
21415 reference "sec:Rotated-Floats"
21416
21417 \end_inset
21418
21419 .
21420 \end_layout
21421
21422 \begin_layout Standard
21423 You can use one ore more of the following options in the float dialog to
21424  set the placement for a particular float when you uncheck the option 
21425 \family sans
21426 Use
21427 \begin_inset space ~
21428 \end_inset
21429
21430 default
21431 \begin_inset space ~
21432 \end_inset
21433
21434 placement
21435 \family default
21436 :
21437 \end_layout
21438
21439 \begin_layout Description
21440 Here
21441 \begin_inset space ~
21442 \end_inset
21443
21444 if
21445 \begin_inset space ~
21446 \end_inset
21447
21448 possible try to place the float on the position where it has been inserted
21449 \end_layout
21450
21451 \begin_layout Description
21452 Top
21453 \begin_inset space ~
21454 \end_inset
21455
21456 of
21457 \begin_inset space ~
21458 \end_inset
21459
21460 page try to place the float at the top of the current page
21461 \end_layout
21462
21463 \begin_layout Description
21464 Bottom
21465 \begin_inset space ~
21466 \end_inset
21467
21468 of
21469 \begin_inset space ~
21470 \end_inset
21471
21472 page try to place the float at the bottom of the current page
21473 \end_layout
21474
21475 \begin_layout Description
21476 Page
21477 \begin_inset space ~
21478 \end_inset
21479
21480 of
21481 \begin_inset space ~
21482 \end_inset
21483
21484 floats try to place the float on its own page 
21485 \end_layout
21486
21487 \begin_layout Standard
21488 The order of the above option is 
21489 \emph on
21490 always
21491 \emph default
21492  used by LaTeX.
21493  That means, if you use the default placement, LaTeX will first try out
21494  
21495 \family sans
21496 Here
21497 \begin_inset space ~
21498 \end_inset
21499
21500 if
21501 \begin_inset space ~
21502 \end_inset
21503
21504 possible
21505 \family default
21506 , then 
21507 \family sans
21508 Top
21509 \begin_inset space ~
21510 \end_inset
21511
21512 of
21513 \begin_inset space ~
21514 \end_inset
21515
21516 page
21517 \family default
21518 , and then the others.
21519  If you do not use the default, LaTeX will try only the checked options
21520  but in the same order.
21521  If none of the 4
21522 \begin_inset space ~
21523 \end_inset
21524
21525 placements are possible the procedure is internally repeated but it is tried
21526  to put the float on the following page.
21527 \end_layout
21528
21529 \begin_layout Standard
21530 By default, each option has its own rules:
21531 \end_layout
21532
21533 \begin_layout Labeling
21534 \labelwidthstring 00.00.0000
21535
21536 \family sans
21537 Top
21538 \begin_inset space ~
21539 \end_inset
21540
21541 of
21542 \begin_inset space ~
21543 \end_inset
21544
21545 page
21546 \family default
21547  only floats occupying less than 70
21548 \begin_inset space \thinspace{}
21549 \end_inset
21550
21551 % of the page can be placed at the top of a page (
21552 \series bold
21553
21554 \backslash
21555 topfraction
21556 \series default
21557 )
21558 \end_layout
21559
21560 \begin_layout Labeling
21561 \labelwidthstring 00.00.0000
21562
21563 \family sans
21564 Bottom
21565 \begin_inset space ~
21566 \end_inset
21567
21568 of
21569 \begin_inset space ~
21570 \end_inset
21571
21572 page
21573 \family default
21574 : only floats occupying less than 30
21575 \begin_inset space \thinspace{}
21576 \end_inset
21577
21578 % of the page can be placed at the bottom of a page.
21579  (
21580 \series bold
21581
21582 \backslash
21583 bottomfraction
21584 \series default
21585 )
21586 \end_layout
21587
21588 \begin_layout Labeling
21589 \labelwidthstring 00.00.0000
21590
21591 \family sans
21592 Page
21593 \begin_inset space ~
21594 \end_inset
21595
21596 of
21597 \begin_inset space ~
21598 \end_inset
21599
21600 floats
21601 \family default
21602 : only if more than 50
21603 \begin_inset space \thinspace{}
21604 \end_inset
21605
21606 % of the page are occupied by floats, several floats can be set together
21607  on a page.
21608  (
21609 \series bold
21610
21611 \backslash
21612 floatpagefraction
21613 \series default
21614 )
21615 \end_layout
21616
21617 \begin_layout Standard
21618 If you don't like these rules, you can ignore them by using the additional
21619  option 
21620 \family sans
21621 Ignore
21622 \begin_inset space ~
21623 \end_inset
21624
21625 LaTeX
21626 \begin_inset space ~
21627 \end_inset
21628
21629 rules
21630 \family default
21631 .
21632 \begin_inset Newline newline
21633 \end_inset
21634
21635 You can also redefine the rules with LaTeX-commands that are given in parenthese
21636 s after the rules description above.
21637  To increase for example the often too small default of the bottom-rule
21638  to 50
21639 \begin_inset space \thinspace{}
21640 \end_inset
21641
21642 % of the page, add this line to your document preamble:
21643 \end_layout
21644
21645 \begin_layout Standard
21646
21647 \series bold
21648
21649 \backslash
21650 renewcommand{
21651 \backslash
21652 bottomfraction}{0.5}
21653 \end_layout
21654
21655 \begin_layout Standard
21656 Sometimes you might need, under all circumstances, a float to be placed
21657  exactly at the position where it is inserted.
21658  For this case you can use the option 
21659 \family sans
21660 Here
21661 \begin_inset space ~
21662 \end_inset
21663
21664 definitely
21665 \family default
21666 .
21667  Use this option very rarely and only if the document is almost ready to
21668  be printed, because the float is then no longer able to 
21669 \begin_inset Quotes eld
21670 \end_inset
21671
21672 float
21673 \begin_inset Quotes erd
21674 \end_inset
21675
21676  when you change your document and this will often destroy the page layout.
21677 \end_layout
21678
21679 \begin_layout Standard
21680 There are no placement options for text wrap floats, because they are always
21681  surrounded by the text of a certain paragraph.
21682 \begin_inset VSpace bigskip
21683 \end_inset
21684
21685
21686 \end_layout
21687
21688 \begin_layout Standard
21689 Sometimes you have the problem that a float is placed at the top of a page
21690  while its corresponding section starts at the middle of the page, so that
21691  the reader could think the float is part of the previous section.
21692  To avoid this the LaTeX-command 
21693 \series bold
21694
21695 \backslash
21696 suppressfloats
21697 \series default
21698  can be used.
21699  It suppresses a given float placement for the page where it is inserted
21700  and can therefore be used to avoid floats being set before a section starts.
21701  To get this, add these commands to your document preamble:
21702 \end_layout
21703
21704 \begin_layout Standard
21705
21706 \series bold
21707
21708 \backslash
21709 let
21710 \backslash
21711 mySection
21712 \backslash
21713 section
21714 \begin_inset Newline newline
21715 \end_inset
21716
21717
21718 \backslash
21719 renewcommand{
21720 \backslash
21721 section}{
21722 \backslash
21723 suppressfloats[t]
21724 \backslash
21725 mySection}
21726 \end_layout
21727
21728 \begin_layout Standard
21729 You can define the same for all section headings, like chapters and subsections.
21730  This definition is not recommended to be used for small text parts like
21731  subsubsections because LaTeX may then have problems finding a suitable
21732  placement.
21733 \end_layout
21734
21735 \begin_layout Standard
21736 \begin_inset VSpace bigskip
21737 \end_inset
21738
21739 In some cases it is required to have all figures/tables at the end of the
21740  document.
21741  For this purpose the LaTeX-package 
21742 \series bold
21743 endfloat
21744 \series default
21745
21746 \begin_inset Index idx
21747 status collapsed
21748
21749 \begin_layout Plain Layout
21750 LaTeX-packages ! endfloat
21751 \end_layout
21752
21753 \end_inset
21754
21755  was developed.
21756  It puts all figure and table floats at the end of the document into their
21757  own sections.
21758  At the original float position a text hint like 
21759 \begin_inset Quotes eld
21760 \end_inset
21761
21762
21763 \family sans
21764 [Figure
21765 \begin_inset space ~
21766 \end_inset
21767
21768 3.2 about here.]
21769 \family default
21770
21771 \begin_inset Quotes erd
21772 \end_inset
21773
21774  is inserted.
21775  The endfloat-package is loaded in the preamble with the line
21776 \end_layout
21777
21778 \begin_layout Standard
21779
21780 \series bold
21781
21782 \backslash
21783 usepackage[options]{endfloat}
21784 \end_layout
21785
21786 \begin_layout Standard
21787 There are various package options to format the created figure/table sections.
21788  For more information we refer to the 
21789 \series bold
21790 endfloat
21791 \series default
21792  documentation 
21793 \begin_inset CommandInset citation
21794 LatexCommand cite
21795 key "endfloat"
21796
21797 \end_inset
21798
21799 .
21800 \begin_inset Newline newline
21801 \end_inset
21802
21803
21804 \begin_inset Note Greyedout
21805 status open
21806
21807 \begin_layout Plain Layout
21808
21809 \series bold
21810 Note: endfloat
21811 \series default
21812  doesn't provide an automatic translation for the text hint, you have to
21813  do this manually, see section
21814 \begin_inset space ~
21815 \end_inset
21816
21817 4 in 
21818 \begin_inset CommandInset citation
21819 LatexCommand cite
21820 key "endfloat"
21821
21822 \end_inset
21823
21824 .
21825 \end_layout
21826
21827 \end_inset
21828
21829
21830 \begin_inset Newline newline
21831 \end_inset
21832
21833
21834 \begin_inset Note Greyedout
21835 status open
21836
21837 \begin_layout Plain Layout
21838
21839 \series bold
21840 Note:
21841 \series default
21842  There is currently a bug in 
21843 \series bold
21844 endfloat
21845 \series default
21846  when the caption contains a German 
21847 \begin_inset Quotes eld
21848 \end_inset
21849
21850 ß
21851 \begin_inset Quotes erd
21852 \end_inset
21853
21854 .
21855  Use in this case the command 
21856 \begin_inset Quotes eld
21857 \end_inset
21858
21859
21860 \series bold
21861
21862 \backslash
21863 ss
21864 \series default
21865
21866 \begin_inset Quotes erd
21867 \end_inset
21868
21869  in TeX-Code instead of 
21870 \begin_inset Quotes eld
21871 \end_inset
21872
21873 ß
21874 \begin_inset Quotes erd
21875 \end_inset
21876
21877 .
21878 \end_layout
21879
21880 \end_inset
21881
21882
21883 \end_layout
21884
21885 \begin_layout Standard
21886 \begin_inset VSpace bigskip
21887 \end_inset
21888
21889 For more details about float placements, have a look at LaTeX books, 
21890 \begin_inset CommandInset citation
21891 LatexCommand cite
21892 key "latexcompanion,latexguide,latexbook"
21893
21894 \end_inset
21895
21896 .
21897 \end_layout
21898
21899 \begin_layout Section
21900 Rotated Floats
21901 \begin_inset CommandInset label
21902 LatexCommand label
21903 name "sec:Rotated-Floats"
21904
21905 \end_inset
21906
21907
21908 \begin_inset Index idx
21909 status collapsed
21910
21911 \begin_layout Plain Layout
21912 Floats ! Rotating
21913 \end_layout
21914
21915 \end_inset
21916
21917
21918 \end_layout
21919
21920 \begin_layout Standard
21921 Especially for wide tables you might have floats rotated.
21922  To rotate a whole float including the caption, right-click on the float-box
21923  and use the option 
21924 \family sans
21925 Rotate
21926 \begin_inset space ~
21927 \end_inset
21928
21929 sideways
21930 \family default
21931 .
21932 \end_layout
21933
21934 \begin_layout Standard
21935 Rotated floats are always placed on a page of their own (or column of their
21936  own; in case you have a multi-column document).
21937  You can let them span several columns using the float settings option 
21938 \family sans
21939 Span
21940 \begin_inset space ~
21941 \end_inset
21942
21943 columns
21944 \family default
21945 .
21946  Floats are rotated so that you can read them from the outside margin.
21947  To force a certain rotation direction for all pages, you can add either
21948  the option 
21949 \series bold
21950 figuresleft
21951 \series default
21952  or 
21953 \series bold
21954 figuresright
21955 \series default
21956  to the document class options.
21957 \end_layout
21958
21959 \begin_layout Standard
21960 Referencing rotated floats is the same as for normal floats, the caption
21961  format is also the same: Table
21962 \begin_inset space ~
21963 \end_inset
21964
21965
21966 \begin_inset CommandInset ref
21967 LatexCommand ref
21968 reference "tab:Rotated-table"
21969
21970 \end_inset
21971
21972  is an example of a rotated table float.
21973 \end_layout
21974
21975 \begin_layout Standard
21976 \begin_inset Note Greyedout
21977 status open
21978
21979 \begin_layout Plain Layout
21980
21981 \series bold
21982 Note:
21983 \series default
21984  Not all DVI-viewers are able to display rotated floats.
21985 \end_layout
21986
21987 \end_inset
21988
21989
21990 \end_layout
21991
21992 \begin_layout Standard
21993 \begin_inset Float table
21994 wide false
21995 sideways true
21996 status open
21997
21998 \begin_layout Plain Layout
21999 \begin_inset Caption
22000
22001 \begin_layout Plain Layout
22002 \begin_inset CommandInset label
22003 LatexCommand label
22004 name "tab:Rotated-table"
22005
22006 \end_inset
22007
22008  Rotated table
22009 \end_layout
22010
22011 \end_inset
22012
22013
22014 \end_layout
22015
22016 \begin_layout Plain Layout
22017 \align center
22018 \begin_inset Tabular
22019 <lyxtabular version="3" rows="1" columns="5">
22020 <features tabularvalignment="middle">
22021 <column alignment="center" valignment="top" width="0">
22022 <column alignment="center" valignment="top" width="0">
22023 <column alignment="center" valignment="top" width="0">
22024 <column alignment="center" valignment="top" width="0">
22025 <column alignment="center" valignment="top" width="0">
22026 <row>
22027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22028 \begin_inset Text
22029
22030 \begin_layout Plain Layout
22031 test
22032 \end_layout
22033
22034 \end_inset
22035 </cell>
22036 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22037 \begin_inset Text
22038
22039 \begin_layout Plain Layout
22040 b
22041 \end_layout
22042
22043 \end_inset
22044 </cell>
22045 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22046 \begin_inset Text
22047
22048 \begin_layout Plain Layout
22049 c
22050 \end_layout
22051
22052 \end_inset
22053 </cell>
22054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22055 \begin_inset Text
22056
22057 \begin_layout Plain Layout
22058 d
22059 \end_layout
22060
22061 \end_inset
22062 </cell>
22063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22064 \begin_inset Text
22065
22066 \begin_layout Plain Layout
22067 e
22068 \end_layout
22069
22070 \end_inset
22071 </cell>
22072 </row>
22073 </lyxtabular>
22074
22075 \end_inset
22076
22077
22078 \end_layout
22079
22080 \end_inset
22081
22082
22083 \end_layout
22084
22085 \begin_layout Section
22086 Subfloats
22087 \begin_inset Index idx
22088 status collapsed
22089
22090 \begin_layout Plain Layout
22091 Floats ! Subfloats
22092 \end_layout
22093
22094 \end_inset
22095
22096
22097 \end_layout
22098
22099 \begin_layout Standard
22100 Subfloats are for example used when a figure consists of several images.
22101  They are created by inserting a float into an existing float.
22102  The placement of the subfloats can be controlled in the same way as for
22103  paragraphs as shown in table
22104 \begin_inset space ~
22105 \end_inset
22106
22107
22108 \begin_inset CommandInset ref
22109 LatexCommand ref
22110 reference "tab:Two-subtables-side"
22111
22112 \end_inset
22113
22114  and 
22115 \begin_inset CommandInset ref
22116 LatexCommand ref
22117 reference "tab:Two-subtables-upon"
22118
22119 \end_inset
22120
22121 .
22122 \end_layout
22123
22124 \begin_layout Standard
22125 Referencing subfloats works as for normal floats: Table
22126 \begin_inset space ~
22127 \end_inset
22128
22129
22130 \begin_inset CommandInset ref
22131 LatexCommand ref
22132 reference "tab:This-is-subtable-a"
22133
22134 \end_inset
22135
22136  and 
22137 \begin_inset CommandInset ref
22138 LatexCommand ref
22139 reference "tab:This-is-subtable-b"
22140
22141 \end_inset
22142
22143  are subtables of table
22144 \begin_inset space ~
22145 \end_inset
22146
22147
22148 \begin_inset CommandInset ref
22149 LatexCommand ref
22150 reference "tab:Two-subtables-side"
22151
22152 \end_inset
22153
22154 .
22155 \end_layout
22156
22157 \begin_layout Standard
22158 \begin_inset Float table
22159 wide false
22160 sideways false
22161 status open
22162
22163 \begin_layout Plain Layout
22164 \begin_inset Caption
22165
22166 \begin_layout Plain Layout
22167 \begin_inset CommandInset label
22168 LatexCommand label
22169 name "tab:Two-subtables-side"
22170
22171 \end_inset
22172
22173 Two subtables placed side by side.
22174 \end_layout
22175
22176 \end_inset
22177
22178
22179 \end_layout
22180
22181 \begin_layout Plain Layout
22182 \align center
22183 \begin_inset space \hfill{}
22184 \end_inset
22185
22186
22187 \begin_inset Float table
22188 wide false
22189 sideways false
22190 status collapsed
22191
22192 \begin_layout Plain Layout
22193 \begin_inset Caption
22194
22195 \begin_layout Plain Layout
22196 \begin_inset CommandInset label
22197 LatexCommand label
22198 name "tab:This-is-subtable-a"
22199
22200 \end_inset
22201
22202 This is subtable a.
22203 \end_layout
22204
22205 \end_inset
22206
22207
22208 \end_layout
22209
22210 \begin_layout Plain Layout
22211 \align center
22212 \begin_inset Tabular
22213 <lyxtabular version="3" rows="1" columns="5">
22214 <features tabularvalignment="middle">
22215 <column alignment="center" valignment="top" width="0">
22216 <column alignment="center" valignment="top" width="0">
22217 <column alignment="center" valignment="top" width="0">
22218 <column alignment="center" valignment="top" width="0">
22219 <column alignment="center" valignment="top" width="0">
22220 <row>
22221 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22222 \begin_inset Text
22223
22224 \begin_layout Plain Layout
22225 test
22226 \end_layout
22227
22228 \end_inset
22229 </cell>
22230 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22231 \begin_inset Text
22232
22233 \begin_layout Plain Layout
22234 b
22235 \end_layout
22236
22237 \end_inset
22238 </cell>
22239 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22240 \begin_inset Text
22241
22242 \begin_layout Plain Layout
22243 c
22244 \end_layout
22245
22246 \end_inset
22247 </cell>
22248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22249 \begin_inset Text
22250
22251 \begin_layout Plain Layout
22252 d
22253 \end_layout
22254
22255 \end_inset
22256 </cell>
22257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22258 \begin_inset Text
22259
22260 \begin_layout Plain Layout
22261 e
22262 \end_layout
22263
22264 \end_inset
22265 </cell>
22266 </row>
22267 </lyxtabular>
22268
22269 \end_inset
22270
22271
22272 \end_layout
22273
22274 \end_inset
22275
22276
22277 \begin_inset space \hfill{}
22278 \end_inset
22279
22280
22281 \begin_inset Float table
22282 wide false
22283 sideways false
22284 status collapsed
22285
22286 \begin_layout Plain Layout
22287 \begin_inset Caption
22288
22289 \begin_layout Plain Layout
22290 \begin_inset CommandInset label
22291 LatexCommand label
22292 name "tab:This-is-subtable-b"
22293
22294 \end_inset
22295
22296 This is subtable b.
22297 \end_layout
22298
22299 \end_inset
22300
22301
22302 \end_layout
22303
22304 \begin_layout Plain Layout
22305 \align center
22306 \begin_inset Tabular
22307 <lyxtabular version="3" rows="1" columns="5">
22308 <features tabularvalignment="middle">
22309 <column alignment="center" valignment="top" width="0">
22310 <column alignment="center" valignment="top" width="0">
22311 <column alignment="center" valignment="top" width="0">
22312 <column alignment="center" valignment="top" width="0">
22313 <column alignment="center" valignment="top" width="0">
22314 <row>
22315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22316 \begin_inset Text
22317
22318 \begin_layout Plain Layout
22319 e
22320 \end_layout
22321
22322 \end_inset
22323 </cell>
22324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22325 \begin_inset Text
22326
22327 \begin_layout Plain Layout
22328 d
22329 \end_layout
22330
22331 \end_inset
22332 </cell>
22333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22334 \begin_inset Text
22335
22336 \begin_layout Plain Layout
22337 c
22338 \end_layout
22339
22340 \end_inset
22341 </cell>
22342 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22343 \begin_inset Text
22344
22345 \begin_layout Plain Layout
22346 b
22347 \end_layout
22348
22349 \end_inset
22350 </cell>
22351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22352 \begin_inset Text
22353
22354 \begin_layout Plain Layout
22355 test
22356 \end_layout
22357
22358 \end_inset
22359 </cell>
22360 </row>
22361 </lyxtabular>
22362
22363 \end_inset
22364
22365
22366 \end_layout
22367
22368 \end_inset
22369
22370
22371 \begin_inset space \hfill{}
22372 \end_inset
22373
22374
22375 \end_layout
22376
22377 \end_inset
22378
22379
22380 \end_layout
22381
22382 \begin_layout Standard
22383 \begin_inset Float table
22384 wide false
22385 sideways false
22386 status open
22387
22388 \begin_layout Plain Layout
22389 \begin_inset Caption
22390
22391 \begin_layout Plain Layout
22392 \begin_inset CommandInset label
22393 LatexCommand label
22394 name "tab:Two-subtables-upon"
22395
22396 \end_inset
22397
22398 Two subtables placed one above the other.
22399  (a) table with 4 cells, (b) table with 5 cells.
22400 \end_layout
22401
22402 \end_inset
22403
22404
22405 \end_layout
22406
22407 \begin_layout Plain Layout
22408 \align center
22409 \begin_inset Float table
22410 wide false
22411 sideways false
22412 status collapsed
22413
22414 \begin_layout Plain Layout
22415 \begin_inset Caption
22416
22417 \begin_layout Plain Layout
22418
22419 \end_layout
22420
22421 \end_inset
22422
22423
22424 \end_layout
22425
22426 \begin_layout Plain Layout
22427 \align center
22428 \begin_inset Tabular
22429 <lyxtabular version="3" rows="1" columns="4">
22430 <features tabularvalignment="middle">
22431 <column alignment="center" valignment="top" width="0">
22432 <column alignment="center" valignment="top" width="0">
22433 <column alignment="center" valignment="top" width="0">
22434 <column alignment="center" valignment="top" width="0">
22435 <row>
22436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22437 \begin_inset Text
22438
22439 \begin_layout Plain Layout
22440 test
22441 \end_layout
22442
22443 \end_inset
22444 </cell>
22445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22446 \begin_inset Text
22447
22448 \begin_layout Plain Layout
22449 test
22450 \end_layout
22451
22452 \end_inset
22453 </cell>
22454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22455 \begin_inset Text
22456
22457 \begin_layout Plain Layout
22458 test
22459 \end_layout
22460
22461 \end_inset
22462 </cell>
22463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22464 \begin_inset Text
22465
22466 \begin_layout Plain Layout
22467 test
22468 \end_layout
22469
22470 \end_inset
22471 </cell>
22472 </row>
22473 </lyxtabular>
22474
22475 \end_inset
22476
22477
22478 \end_layout
22479
22480 \end_inset
22481
22482
22483 \end_layout
22484
22485 \begin_layout Plain Layout
22486 \align center
22487 \begin_inset Float table
22488 wide false
22489 sideways false
22490 status collapsed
22491
22492 \begin_layout Plain Layout
22493 \begin_inset Caption
22494
22495 \begin_layout Plain Layout
22496
22497 \end_layout
22498
22499 \end_inset
22500
22501
22502 \end_layout
22503
22504 \begin_layout Plain Layout
22505 \align center
22506 \begin_inset Tabular
22507 <lyxtabular version="3" rows="1" columns="5">
22508 <features tabularvalignment="middle">
22509 <column alignment="center" valignment="top" width="0">
22510 <column alignment="center" valignment="top" width="0">
22511 <column alignment="center" valignment="top" width="0">
22512 <column alignment="center" valignment="top" width="0">
22513 <column alignment="center" valignment="top" width="0">
22514 <row>
22515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22516 \begin_inset Text
22517
22518 \begin_layout Plain Layout
22519 a
22520 \end_layout
22521
22522 \end_inset
22523 </cell>
22524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22525 \begin_inset Text
22526
22527 \begin_layout Plain Layout
22528 b
22529 \end_layout
22530
22531 \end_inset
22532 </cell>
22533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22534 \begin_inset Text
22535
22536 \begin_layout Plain Layout
22537 c
22538 \end_layout
22539
22540 \end_inset
22541 </cell>
22542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22543 \begin_inset Text
22544
22545 \begin_layout Plain Layout
22546 d
22547 \end_layout
22548
22549 \end_inset
22550 </cell>
22551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22552 \begin_inset Text
22553
22554 \begin_layout Plain Layout
22555 e
22556 \end_layout
22557
22558 \end_inset
22559 </cell>
22560 </row>
22561 </lyxtabular>
22562
22563 \end_inset
22564
22565
22566 \end_layout
22567
22568 \end_inset
22569
22570
22571 \end_layout
22572
22573 \end_inset
22574
22575
22576 \end_layout
22577
22578 \begin_layout Section
22579 Floats Side by Side
22580 \begin_inset Index idx
22581 status collapsed
22582
22583 \begin_layout Plain Layout
22584 Floats ! Side by side
22585 \end_layout
22586
22587 \end_inset
22588
22589
22590 \end_layout
22591
22592 \begin_layout Standard
22593 To place floats side by side, as in Figures
22594 \begin_inset space ~
22595 \end_inset
22596
22597
22598 \begin_inset CommandInset ref
22599 LatexCommand ref
22600 reference "fig:Float-left"
22601
22602 \end_inset
22603
22604  and 
22605 \begin_inset CommandInset ref
22606 LatexCommand ref
22607 reference "fig:Float-right"
22608
22609 \end_inset
22610
22611 , only 
22612 \emph on
22613 one
22614 \emph default
22615  float is used.
22616  In it two minipage boxes are inserted.
22617 \begin_inset Foot
22618 status collapsed
22619
22620 \begin_layout Plain Layout
22621 Minipages are explained in section
22622 \begin_inset space ~
22623 \end_inset
22624
22625
22626 \begin_inset CommandInset ref
22627 LatexCommand ref
22628 reference "sec:Minipages"
22629
22630 \end_inset
22631
22632 .
22633 \end_layout
22634
22635 \end_inset
22636
22637  The width is set to 45
22638 \begin_inset space \thinspace{}
22639 \end_inset
22640
22641 -50
22642 \begin_inset space \thinspace{}
22643 \end_inset
22644
22645 column% and the box alignment to 
22646 \family sans
22647 Bottom
22648 \family default
22649  for each minipage.
22650  The minipage boxes contain the image and the caption in the same way as
22651  they are in a float.
22652  The only difference is that the image unit 
22653 \family sans
22654 Column
22655 \begin_inset space ~
22656 \end_inset
22657
22658 Width
22659 \begin_inset space ~
22660 \end_inset
22661
22662 %
22663 \family default
22664  is now calculated according to the width of the minipage boxes.
22665 \end_layout
22666
22667 \begin_layout Standard
22668 \begin_inset Float figure
22669 wide false
22670 sideways false
22671 status open
22672
22673 \begin_layout Plain Layout
22674 \begin_inset Box Frameless
22675 position "b"
22676 hor_pos "c"
22677 has_inner_box 1
22678 inner_pos "t"
22679 use_parbox 0
22680 use_makebox 0
22681 width "45col%"
22682 special "none"
22683 height "1in"
22684 height_special "totalheight"
22685 status open
22686
22687 \begin_layout Plain Layout
22688 \align center
22689 \begin_inset Graphics
22690         filename clipart/mobius.eps
22691         lyxscale 50
22692         width 100col%
22693         scaleBeforeRotation
22694
22695 \end_inset
22696
22697
22698 \end_layout
22699
22700 \begin_layout Plain Layout
22701 \begin_inset Caption
22702
22703 \begin_layout Plain Layout
22704 \begin_inset CommandInset label
22705 LatexCommand label
22706 name "fig:Float-left"
22707
22708 \end_inset
22709
22710 Float on the left side.
22711 \end_layout
22712
22713 \end_inset
22714
22715
22716 \end_layout
22717
22718 \end_inset
22719
22720
22721 \begin_inset space \hfill{}
22722 \end_inset
22723
22724
22725 \begin_inset Box Frameless
22726 position "b"
22727 hor_pos "c"
22728 has_inner_box 1
22729 inner_pos "t"
22730 use_parbox 0
22731 use_makebox 0
22732 width "45col%"
22733 special "none"
22734 height "1in"
22735 height_special "totalheight"
22736 status open
22737
22738 \begin_layout Plain Layout
22739 \align center
22740 \begin_inset Graphics
22741         filename clipart/platypus.eps
22742         lyxscale 50
22743         width 100col%
22744         scaleBeforeRotation
22745
22746 \end_inset
22747
22748
22749 \end_layout
22750
22751 \begin_layout Plain Layout
22752 \begin_inset Caption
22753
22754 \begin_layout Plain Layout
22755 \begin_inset CommandInset label
22756 LatexCommand label
22757 name "fig:Float-right"
22758
22759 \end_inset
22760
22761 Float on the right side.
22762 \end_layout
22763
22764 \end_inset
22765
22766
22767 \end_layout
22768
22769 \end_inset
22770
22771
22772 \end_layout
22773
22774 \begin_layout Plain Layout
22775
22776 \end_layout
22777
22778 \end_inset
22779
22780
22781 \end_layout
22782
22783 \begin_layout Section
22784 Caption Formatting
22785 \begin_inset Index idx
22786 status collapsed
22787
22788 \begin_layout Plain Layout
22789 Caption ! Formatting
22790 \end_layout
22791
22792 \end_inset
22793
22794
22795 \begin_inset Index idx
22796 status collapsed
22797
22798 \begin_layout Plain Layout
22799 Floats ! Caption Formatting
22800 \end_layout
22801
22802 \end_inset
22803
22804
22805 \begin_inset CommandInset label
22806 LatexCommand label
22807 name "sec:Caption-Formatting"
22808
22809 \end_inset
22810
22811
22812 \end_layout
22813
22814 \begin_layout Standard
22815 The 
22816 \family sans
22817 Caption
22818 \family default
22819  environment is the default paragraph environment for 
22820 \family sans
22821 Floats
22822 \family default
22823 .
22824  On the LyX screen captions appear as label, e.
22825 \begin_inset space \thinspace{}
22826 \end_inset
22827
22828 g.
22829 \begin_inset space \space{}
22830 \end_inset
22831
22832
22833 \begin_inset Quotes eld
22834 \end_inset
22835
22836
22837 \family sans
22838 Figure #:
22839 \family default
22840
22841 \begin_inset Quotes erd
22842 \end_inset
22843
22844  followed by the caption text.
22845  
22846 \begin_inset Quotes eld
22847 \end_inset
22848
22849 #
22850 \begin_inset Quotes erd
22851 \end_inset
22852
22853  is the actual reference number.
22854  By default the label and the number are in the same font as the caption
22855  text and a colon follows the number to divide the label from the text.
22856  This caption format is not suitable for all document formats.
22857  
22858 \end_layout
22859
22860 \begin_layout Standard
22861 To change the default caption format, load the LaTeX-package 
22862 \series bold
22863 caption
22864 \series default
22865
22866 \begin_inset Index idx
22867 status collapsed
22868
22869 \begin_layout Plain Layout
22870 LaTeX-packages ! caption
22871 \end_layout
22872
22873 \end_inset
22874
22875  in the document preamble with this line:
22876 \end_layout
22877
22878 \begin_layout Standard
22879
22880 \series bold
22881
22882 \backslash
22883 usepackage[format definition]{caption}
22884 \end_layout
22885
22886 \begin_layout Standard
22887 To have for example the label and the number in sans-serif bold font and
22888  the table captions always above the table as in this document, use the
22889  following command:
22890 \end_layout
22891
22892 \begin_layout Standard
22893
22894 \series bold
22895
22896 \backslash
22897 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22898 \end_layout
22899
22900 \begin_layout Standard
22901 You can also define different caption formats for the different float types.
22902  In this case load the 
22903 \series bold
22904 caption
22905 \series default
22906  package without format specific options and define the different formats
22907  with the help of the command
22908 \end_layout
22909
22910 \begin_layout Standard
22911
22912 \series bold
22913
22914 \backslash
22915 captionsetup[float type]{format definition}
22916 \end_layout
22917
22918 \begin_layout Standard
22919 in the document preamble.
22920  For example the caption formats of Figure
22921 \begin_inset space ~
22922 \end_inset
22923
22924
22925 \begin_inset CommandInset ref
22926 LatexCommand ref
22927 reference "fig:This-is-an-fig"
22928
22929 \end_inset
22930
22931  and Table
22932 \begin_inset space ~
22933 \end_inset
22934
22935
22936 \begin_inset CommandInset ref
22937 LatexCommand ref
22938 reference "tab:This-is-an-tab"
22939
22940 \end_inset
22941
22942  can be created using these commands in the document preamble:
22943 \end_layout
22944
22945 \begin_layout Standard
22946
22947 \series bold
22948
22949 \backslash
22950 usepackage[tableposition=top]{caption}
22951 \series default
22952
22953 \begin_inset Newline newline
22954 \end_inset
22955
22956
22957 \series bold
22958
22959 \backslash
22960 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22961 \begin_inset Newline newline
22962 \end_inset
22963
22964
22965 \begin_inset Phantom HPhantom
22966 status open
22967
22968 \begin_layout Plain Layout
22969
22970 \series bold
22971
22972 \backslash
22973 captionsetup[figure]{
22974 \end_layout
22975
22976 \end_inset
22977
22978 labelsep=period}
22979 \begin_inset Newline newline
22980 \end_inset
22981
22982
22983 \backslash
22984 captionsetup[table]{labelfont={bf,sf}}
22985 \end_layout
22986
22987 \begin_layout Standard
22988 \begin_inset Note Greyedout
22989 status open
22990
22991 \begin_layout Plain Layout
22992
22993 \series bold
22994 Note:
22995 \series default
22996  The option 
22997 \series bold
22998 tableposition=top
22999 \series default
23000  has no effect when a 
23001 \series bold
23002 KOMA-Script
23003 \series default
23004
23005 \begin_inset Index idx
23006 status collapsed
23007
23008 \begin_layout Plain Layout
23009 LaTeX-packages ! KOMA-Script
23010 \end_layout
23011
23012 \end_inset
23013
23014  document class is used.
23015  In this case the document class option 
23016 \series bold
23017 captions=tableheading
23018 \series default
23019  must be used.
23020 \end_layout
23021
23022 \end_inset
23023
23024
23025 \end_layout
23026
23027 \begin_layout Standard
23028 For more information about the package 
23029 \series bold
23030 caption
23031 \series default
23032  we refer to its documentation 
23033 \begin_inset CommandInset citation
23034 LatexCommand cite
23035 key "caption"
23036
23037 \end_inset
23038
23039 .
23040 \end_layout
23041
23042 \begin_layout Standard
23043 To change the label name from e.
23044 \begin_inset space \thinspace{}
23045 \end_inset
23046
23047 g.
23048 \begin_inset space \space{}
23049 \end_inset
23050
23051
23052 \begin_inset Quotes eld
23053 \end_inset
23054
23055 Figure
23056 \begin_inset Quotes erd
23057 \end_inset
23058
23059  to 
23060 \begin_inset Quotes eld
23061 \end_inset
23062
23063 Image
23064 \begin_inset Quotes erd
23065 \end_inset
23066
23067  use this preamble command:
23068 \end_layout
23069
23070 \begin_layout Standard
23071
23072 \series bold
23073
23074 \backslash
23075 renewcommand{
23076 \backslash
23077 fnum@figure}{Image~
23078 \backslash
23079 thefigure}
23080 \end_layout
23081
23082 \begin_layout Standard
23083 where 
23084 \series bold
23085
23086 \backslash
23087 thefigure
23088 \series default
23089  inserts the figure number and
23090 \series bold
23091  
23092 \begin_inset Quotes eld
23093 \end_inset
23094
23095 ~
23096 \series default
23097
23098 \begin_inset Quotes erd
23099 \end_inset
23100
23101  creates a protected space.
23102 \end_layout
23103
23104 \begin_layout Standard
23105 \begin_inset VSpace bigskip
23106 \end_inset
23107
23108 If you are using a 
23109 \series bold
23110 KOMA-Script
23111 \series default
23112
23113 \begin_inset Index idx
23114 status collapsed
23115
23116 \begin_layout Plain Layout
23117 LaTeX-packages ! KOMA-Script
23118 \end_layout
23119
23120 \end_inset
23121
23122  document class (
23123 \family sans
23124 article (KOMA-Script)
23125 \family default
23126
23127 \family sans
23128 book (KOMA-Script)
23129 \family default
23130
23131 \family sans
23132 letter (KOMA-Script)
23133 \family default
23134 , or 
23135 \family sans
23136 report (KOMA-Script)
23137 \family default
23138
23139 \begin_inset space \thinspace{}
23140 \end_inset
23141
23142 ), you can alternatively to the 
23143 \series bold
23144 caption
23145 \series default
23146  package use 
23147 \series bold
23148 KOMA-Script
23149 \series default
23150 's built-in command 
23151 \series bold
23152
23153 \backslash
23154 setkomafont
23155 \series default
23156 .
23157  For example, to have the caption label in bold, add this command to your
23158  document preamble:
23159 \end_layout
23160
23161 \begin_layout Standard
23162
23163 \series bold
23164
23165 \backslash
23166 setkomafont{captionlabel}{
23167 \backslash
23168 bfseries}
23169 \end_layout
23170
23171 \begin_layout Standard
23172 For more information about 
23173 \series bold
23174
23175 \backslash
23176 setkomafont
23177 \series default
23178  we refer to the 
23179 \series bold
23180 KOMA-Script
23181 \series default
23182  documentation 
23183 \begin_inset CommandInset citation
23184 LatexCommand cite
23185 key "KOMA-Script"
23186
23187 \end_inset
23188
23189 .
23190 \end_layout
23191
23192 \begin_layout Standard
23193 \begin_inset ERT
23194 status collapsed
23195
23196 \begin_layout Plain Layout
23197
23198
23199 \backslash
23200 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23201 }
23202 \end_layout
23203
23204 \end_inset
23205
23206
23207 \begin_inset Note Note
23208 status open
23209
23210 \begin_layout Plain Layout
23211 The caption format is changed only for this example.
23212 \end_layout
23213
23214 \end_inset
23215
23216
23217 \end_layout
23218
23219 \begin_layout Standard
23220 \begin_inset Float figure
23221 placement !p
23222 wide false
23223 sideways false
23224 status open
23225
23226 \begin_layout Plain Layout
23227 \align center
23228 \begin_inset Graphics
23229         filename clipart/mobius.eps
23230         lyxscale 50
23231         scale 50
23232         scaleBeforeRotation
23233
23234 \end_inset
23235
23236
23237 \end_layout
23238
23239 \begin_layout Plain Layout
23240 \begin_inset Caption
23241
23242 \begin_layout Plain Layout
23243 \begin_inset CommandInset label
23244 LatexCommand label
23245 name "fig:This-is-an-fig"
23246
23247 \end_inset
23248
23249 This is an example figure caption that is longer than one line to show the
23250  different caption format.
23251  Here a self-defined caption format is used.
23252 \end_layout
23253
23254 \end_inset
23255
23256
23257 \end_layout
23258
23259 \end_inset
23260
23261
23262 \end_layout
23263
23264 \begin_layout Standard
23265 \begin_inset ERT
23266 status collapsed
23267
23268 \begin_layout Plain Layout
23269
23270
23271 \backslash
23272 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23273 on}
23274 \end_layout
23275
23276 \end_inset
23277
23278
23279 \end_layout
23280
23281 \begin_layout Standard
23282 \begin_inset Float table
23283 placement !p
23284 wide false
23285 sideways false
23286 status open
23287
23288 \begin_layout Plain Layout
23289 \begin_inset Caption
23290
23291 \begin_layout Plain Layout
23292 \begin_inset CommandInset label
23293 LatexCommand label
23294 name "tab:This-is-an-tab"
23295
23296 \end_inset
23297
23298 This is an example table caption that is longer than one line to show the
23299  different caption format.
23300  Here the standard caption format for tables in this document is used.
23301 \end_layout
23302
23303 \end_inset
23304
23305
23306 \end_layout
23307
23308 \begin_layout Plain Layout
23309 \align center
23310 \begin_inset Tabular
23311 <lyxtabular version="3" rows="1" columns="5">
23312 <features tabularvalignment="middle">
23313 <column alignment="center" valignment="top" width="0">
23314 <column alignment="center" valignment="top" width="0">
23315 <column alignment="center" valignment="top" width="0">
23316 <column alignment="center" valignment="top" width="0">
23317 <column alignment="center" valignment="top" width="0">
23318 <row>
23319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23320 \begin_inset Text
23321
23322 \begin_layout Plain Layout
23323 a
23324 \end_layout
23325
23326 \end_inset
23327 </cell>
23328 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23329 \begin_inset Text
23330
23331 \begin_layout Plain Layout
23332 b
23333 \end_layout
23334
23335 \end_inset
23336 </cell>
23337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23338 \begin_inset Text
23339
23340 \begin_layout Plain Layout
23341 c
23342 \end_layout
23343
23344 \end_inset
23345 </cell>
23346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23347 \begin_inset Text
23348
23349 \begin_layout Plain Layout
23350 d
23351 \end_layout
23352
23353 \end_inset
23354 </cell>
23355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23356 \begin_inset Text
23357
23358 \begin_layout Plain Layout
23359 e
23360 \end_layout
23361
23362 \end_inset
23363 </cell>
23364 </row>
23365 </lyxtabular>
23366
23367 \end_inset
23368
23369
23370 \end_layout
23371
23372 \end_inset
23373
23374
23375 \end_layout
23376
23377 \begin_layout Section
23378 Caption Placement
23379 \begin_inset Index idx
23380 status collapsed
23381
23382 \begin_layout Plain Layout
23383 Caption ! Placement
23384 \end_layout
23385
23386 \end_inset
23387
23388
23389 \begin_inset Index idx
23390 status collapsed
23391
23392 \begin_layout Plain Layout
23393 Floats ! Caption Placement
23394 \end_layout
23395
23396 \end_inset
23397
23398
23399 \begin_inset CommandInset label
23400 LatexCommand label
23401 name "sec:Caption-Placement"
23402
23403 \end_inset
23404
23405
23406 \end_layout
23407
23408 \begin_layout Standard
23409 The common caption placement rule is:
23410 \end_layout
23411
23412 \begin_layout Description
23413 Figure: Caption is set below the figure
23414 \end_layout
23415
23416 \begin_layout Description
23417 Table: Caption is set above the table
23418 \end_layout
23419
23420 \begin_layout Standard
23421 Having the caption above the table is unfortunately not supported in LaTeX's
23422  standard classes.
23423  That means if you are using the document classes 
23424 \family sans
23425 article
23426 \family default
23427
23428 \family sans
23429 book
23430 \family default
23431
23432 \family sans
23433 letter
23434 \family default
23435 , or 
23436 \family sans
23437 report
23438 \family default
23439  there will be no space between the caption and the table.
23440  To insert the necessary space, add the following option to the load command
23441  of the LaTeX-package 
23442 \series bold
23443 caption
23444 \series default
23445  in your document preamble
23446 \begin_inset Foot
23447 status collapsed
23448
23449 \begin_layout Plain Layout
23450 See section
23451 \begin_inset space ~
23452 \end_inset
23453
23454
23455 \begin_inset CommandInset ref
23456 LatexCommand ref
23457 reference "sec:Caption-Formatting"
23458
23459 \end_inset
23460
23461  for more information of the package 
23462 \series bold
23463 caption
23464 \series default
23465 .
23466 \end_layout
23467
23468 \end_inset
23469
23470 :
23471 \end_layout
23472
23473 \begin_layout Standard
23474
23475 \series bold
23476 tableposition=top
23477 \end_layout
23478
23479 \begin_layout Standard
23480 If you are using a 
23481 \series bold
23482 KOMA-Script
23483 \series default
23484
23485 \begin_inset Index idx
23486 status collapsed
23487
23488 \begin_layout Plain Layout
23489 LaTeX-packages ! KOMA-Script
23490 \end_layout
23491
23492 \end_inset
23493
23494  document class (
23495 \family sans
23496 article (KOMA-Script)
23497 \family default
23498
23499 \family sans
23500 book (KOMA-Script)
23501 \family default
23502
23503 \family sans
23504 letter (KOMA-Script)
23505 \family default
23506 , or 
23507 \family sans
23508 report (KOMA-Script)
23509 \family default
23510
23511 \begin_inset space \thinspace{}
23512 \end_inset
23513
23514 ), you can alternatively to the 
23515 \series bold
23516 caption
23517 \series default
23518  package set the document class option 
23519 \series bold
23520 captions=tableheading
23521 \series default
23522 .
23523 \end_layout
23524
23525 \begin_layout Standard
23526 \begin_inset VSpace bigskip
23527 \end_inset
23528
23529 It is also possible to set the caption beside a figure or table.
23530  To get this the LaTeX-package 
23531 \series bold
23532 sidecap
23533 \series default
23534
23535 \begin_inset Index idx
23536 status collapsed
23537
23538 \begin_layout Plain Layout
23539 LaTeX-packages ! sidecap
23540 \end_layout
23541
23542 \end_inset
23543
23544  has to be loaded in the document preamble with the line
23545 \end_layout
23546
23547 \begin_layout Standard
23548
23549 \series bold
23550
23551 \backslash
23552 usepackage[option]{sidecap}
23553 \end_layout
23554
23555 \begin_layout Standard
23556 If you set no option, the caption is placed on the side of the outer page
23557  margin â€“ to the right on odd pages, to the left on even pages.
23558  You can change the placement to inner margin with the option 
23559 \series bold
23560 innercaption
23561 \series default
23562 .
23563  To force the placement always to the right or left, use the option 
23564 \series bold
23565 rightcaption
23566 \series default
23567  or 
23568 \series bold
23569 leftcaption
23570 \series default
23571 , respectively.
23572 \end_layout
23573
23574 \begin_layout Standard
23575 \begin_inset ERT
23576 status collapsed
23577
23578 \begin_layout Plain Layout
23579
23580
23581 \backslash
23582 ifsidecap
23583 \end_layout
23584
23585 \end_inset
23586
23587
23588 \begin_inset Note Note
23589 status open
23590
23591 \begin_layout Plain Layout
23592 The following section will only be displayed when the LaTeX-package 
23593 \series bold
23594 sidecap
23595 \series default
23596  is installed.
23597 \end_layout
23598
23599 \end_inset
23600
23601
23602 \end_layout
23603
23604 \begin_layout Standard
23605 To place in LyX the caption of a float on the side, it is necessary to add
23606  these commands to the document preamble:
23607 \end_layout
23608
23609 \begin_layout Standard
23610 \noindent
23611 \begin_inset CommandInset line
23612 LatexCommand rule
23613 offset "0.5ex"
23614 width "100line%"
23615 height "1pt"
23616
23617 \end_inset
23618
23619
23620 \end_layout
23621
23622 \begin_layout Standard
23623
23624 \series bold
23625
23626 \backslash
23627 newcommand{
23628 \backslash
23629 TabBesBeg}{%
23630 \begin_inset Newline newline
23631 \end_inset
23632
23633
23634 \begin_inset Phantom HPhantom
23635 status open
23636
23637 \begin_layout Plain Layout
23638
23639 \series bold
23640 \begin_inset space ~
23641 \end_inset
23642
23643
23644 \end_layout
23645
23646 \end_inset
23647
23648
23649 \backslash
23650 let
23651 \backslash
23652 MyTable
23653 \backslash
23654 table
23655 \begin_inset Newline newline
23656 \end_inset
23657
23658
23659 \begin_inset Phantom HPhantom
23660 status open
23661
23662 \begin_layout Plain Layout
23663
23664 \series bold
23665 \begin_inset space ~
23666 \end_inset
23667
23668
23669 \end_layout
23670
23671 \end_inset
23672
23673
23674 \backslash
23675 let
23676 \backslash
23677 MyEndtable
23678 \backslash
23679 endtable
23680 \begin_inset Newline newline
23681 \end_inset
23682
23683
23684 \begin_inset Phantom HPhantom
23685 status open
23686
23687 \begin_layout Plain Layout
23688
23689 \series bold
23690 \begin_inset space ~
23691 \end_inset
23692
23693
23694 \end_layout
23695
23696 \end_inset
23697
23698
23699 \backslash
23700 renewenvironment{table}{
23701 \backslash
23702 begin{SCtable}}{
23703 \backslash
23704 end{SCtable}}}
23705 \end_layout
23706
23707 \begin_layout Standard
23708
23709 \series bold
23710
23711 \backslash
23712 newcommand{
23713 \backslash
23714 TabBesEnd}{%
23715 \begin_inset Newline newline
23716 \end_inset
23717
23718
23719 \begin_inset Phantom HPhantom
23720 status open
23721
23722 \begin_layout Plain Layout
23723
23724 \series bold
23725 \begin_inset space ~
23726 \end_inset
23727
23728
23729 \end_layout
23730
23731 \end_inset
23732
23733
23734 \backslash
23735 let
23736 \backslash
23737 table
23738 \backslash
23739 MyTable
23740 \begin_inset Newline newline
23741 \end_inset
23742
23743
23744 \begin_inset Phantom HPhantom
23745 status open
23746
23747 \begin_layout Plain Layout
23748
23749 \series bold
23750 \begin_inset space ~
23751 \end_inset
23752
23753
23754 \end_layout
23755
23756 \end_inset
23757
23758
23759 \backslash
23760 let
23761 \backslash
23762 endtable
23763 \backslash
23764 MyEndtable
23765 \end_layout
23766
23767 \begin_layout Standard
23768
23769 \series bold
23770
23771 \backslash
23772 newcommand{
23773 \backslash
23774 FigBesBeg}{%
23775 \begin_inset Newline newline
23776 \end_inset
23777
23778
23779 \begin_inset Phantom HPhantom
23780 status open
23781
23782 \begin_layout Plain Layout
23783
23784 \series bold
23785 \begin_inset space ~
23786 \end_inset
23787
23788
23789 \end_layout
23790
23791 \end_inset
23792
23793
23794 \backslash
23795 let
23796 \backslash
23797 MyFigure
23798 \backslash
23799 figure
23800 \begin_inset Newline newline
23801 \end_inset
23802
23803
23804 \begin_inset Phantom HPhantom
23805 status open
23806
23807 \begin_layout Plain Layout
23808
23809 \series bold
23810 \begin_inset space ~
23811 \end_inset
23812
23813
23814 \end_layout
23815
23816 \end_inset
23817
23818
23819 \backslash
23820 let
23821 \backslash
23822 MyEndfigure
23823 \backslash
23824 endfigure
23825 \begin_inset Newline newline
23826 \end_inset
23827
23828
23829 \begin_inset Phantom HPhantom
23830 status open
23831
23832 \begin_layout Plain Layout
23833
23834 \series bold
23835 \begin_inset space ~
23836 \end_inset
23837
23838
23839 \end_layout
23840
23841 \end_inset
23842
23843
23844 \backslash
23845 renewenvironment{figure}{
23846 \backslash
23847 begin{SCfigure}}{
23848 \backslash
23849 end{SCfigure}}}
23850 \end_layout
23851
23852 \begin_layout Standard
23853
23854 \series bold
23855
23856 \backslash
23857 newcommand{
23858 \backslash
23859 FigBesEnd}{%
23860 \begin_inset Newline newline
23861 \end_inset
23862
23863
23864 \begin_inset Phantom HPhantom
23865 status open
23866
23867 \begin_layout Plain Layout
23868
23869 \series bold
23870 \begin_inset space ~
23871 \end_inset
23872
23873
23874 \end_layout
23875
23876 \end_inset
23877
23878
23879 \backslash
23880 let
23881 \backslash
23882 figure
23883 \backslash
23884 MyFigure
23885 \begin_inset Newline newline
23886 \end_inset
23887
23888
23889 \begin_inset Phantom HPhantom
23890 status open
23891
23892 \begin_layout Plain Layout
23893
23894 \series bold
23895 \begin_inset space ~
23896 \end_inset
23897
23898
23899 \end_layout
23900
23901 \end_inset
23902
23903
23904 \backslash
23905 let
23906 \backslash
23907 endfigure
23908 \backslash
23909 MyEndfigure}
23910 \end_layout
23911
23912 \begin_layout Standard
23913 \noindent
23914 \begin_inset CommandInset line
23915 LatexCommand rule
23916 offset "0.5ex"
23917 width "100line%"
23918 height "1pt"
23919
23920 \end_inset
23921
23922
23923 \end_layout
23924
23925 \begin_layout Standard
23926 The commands allow you to redefine the floats so that the caption is set
23927  on the side.
23928  For figure floats use the command
23929 \end_layout
23930
23931 \begin_layout Standard
23932
23933 \series bold
23934
23935 \backslash
23936 FigBesBeg
23937 \end_layout
23938
23939 \begin_layout Standard
23940 in TeX-Code before the float.
23941  After the float insert the command
23942 \end_layout
23943
23944 \begin_layout Standard
23945
23946 \series bold
23947
23948 \backslash
23949 FigBesEnd
23950 \end_layout
23951
23952 \begin_layout Standard
23953 in TeX-Code to get back to the original float definition.
23954 \end_layout
23955
23956 \begin_layout Standard
23957 For table floats use the corresponding commands
23958 \end_layout
23959
23960 \begin_layout Standard
23961
23962 \series bold
23963
23964 \backslash
23965 TabBesBeg
23966 \series default
23967  and 
23968 \series bold
23969
23970 \backslash
23971 TabBesEnd
23972 \end_layout
23973
23974 \begin_layout Standard
23975 Figure
23976 \begin_inset space ~
23977 \end_inset
23978
23979
23980 \begin_inset CommandInset ref
23981 LatexCommand ref
23982 reference "fig:cap-beside-fig"
23983
23984 \end_inset
23985
23986  and Table
23987 \begin_inset space ~
23988 \end_inset
23989
23990
23991 \begin_inset CommandInset ref
23992 LatexCommand ref
23993 reference "tab:cap-beside-tab"
23994
23995 \end_inset
23996
23997  are examples where the caption is set beside.
23998 \end_layout
23999
24000 \begin_layout Standard
24001 You can see in the examples that the caption text appears at the top of
24002  the floats for table floats and at the bottom for figure floats.
24003  To change this, you can use the command
24004 \end_layout
24005
24006 \begin_layout Standard
24007
24008 \series bold
24009
24010 \backslash
24011 sidecaptionvpos{float type}{placement}
24012 \end_layout
24013
24014 \begin_layout Standard
24015 in the document preamble or in TeX-Code before the float.
24016  The float type is either 
24017 \family sans
24018 figure
24019 \family default
24020  or 
24021 \family sans
24022 table
24023 \family default
24024 , the placement can be 
24025 \begin_inset Quotes eld
24026 \end_inset
24027
24028
24029 \family sans
24030 t
24031 \family default
24032
24033 \begin_inset Quotes erd
24034 \end_inset
24035
24036  for top, 
24037 \begin_inset Quotes eld
24038 \end_inset
24039
24040
24041 \family sans
24042 c
24043 \family default
24044
24045 \begin_inset Quotes erd
24046 \end_inset
24047
24048  for center, or 
24049 \begin_inset Quotes eld
24050 \end_inset
24051
24052
24053 \family sans
24054 b
24055 \family default
24056
24057 \begin_inset Quotes erd
24058 \end_inset
24059
24060  for bottom.
24061  To have for example the caption of figure floats vertically centered, use
24062  the command
24063 \end_layout
24064
24065 \begin_layout Standard
24066
24067 \series bold
24068
24069 \backslash
24070 sidecaptionvpos{figure}{c}
24071 \end_layout
24072
24073 \begin_layout Standard
24074 This was used for Figure
24075 \begin_inset space ~
24076 \end_inset
24077
24078
24079 \begin_inset CommandInset ref
24080 LatexCommand ref
24081 reference "fig:cap-beside-fig-2"
24082
24083 \end_inset
24084
24085 .
24086 \end_layout
24087
24088 \begin_layout Standard
24089 \begin_inset VSpace medskip
24090 \end_inset
24091
24092 For more information about the package 
24093 \series bold
24094 sidecap
24095 \series default
24096  we refer to its documentation 
24097 \begin_inset CommandInset citation
24098 LatexCommand cite
24099 key "sidecap"
24100
24101 \end_inset
24102
24103 .
24104 \end_layout
24105
24106 \begin_layout Standard
24107 \begin_inset Note Greyedout
24108 status open
24109
24110 \begin_layout Plain Layout
24111
24112 \series bold
24113 Note:
24114 \series default
24115  The LaTeX-package 
24116 \series bold
24117 hypcap
24118 \series default
24119
24120 \begin_inset Index idx
24121 status collapsed
24122
24123 \begin_layout Plain Layout
24124 LaTeX-packages ! hypcap
24125 \end_layout
24126
24127 \end_inset
24128
24129 , described in section
24130 \begin_inset space ~
24131 \end_inset
24132
24133
24134 \begin_inset CommandInset ref
24135 LatexCommand ref
24136 reference "sub:Reference-Position"
24137
24138 \end_inset
24139
24140 , has no effect on floats with the caption set beside.
24141 \end_layout
24142
24143 \end_inset
24144
24145
24146 \end_layout
24147
24148 \begin_layout Standard
24149 \begin_inset ERT
24150 status collapsed
24151
24152 \begin_layout Plain Layout
24153
24154
24155 \backslash
24156 FigBesBeg 
24157 \end_layout
24158
24159 \end_inset
24160
24161
24162 \end_layout
24163
24164 \begin_layout Standard
24165 \begin_inset Float figure
24166 wide false
24167 sideways false
24168 status open
24169
24170 \begin_layout Plain Layout
24171 \begin_inset Graphics
24172         filename clipart/escher-lsd.eps
24173         scale 75
24174         scaleBeforeRotation
24175
24176 \end_inset
24177
24178
24179 \end_layout
24180
24181 \begin_layout Plain Layout
24182 \begin_inset Caption
24183
24184 \begin_layout Plain Layout
24185 \begin_inset CommandInset label
24186 LatexCommand label
24187 name "fig:cap-beside-fig"
24188
24189 \end_inset
24190
24191 This is a caption beside a figure.
24192 \end_layout
24193
24194 \end_inset
24195
24196
24197 \end_layout
24198
24199 \end_inset
24200
24201
24202 \end_layout
24203
24204 \begin_layout Standard
24205 \begin_inset ERT
24206 status collapsed
24207
24208 \begin_layout Plain Layout
24209
24210
24211 \backslash
24212 TabBesBeg 
24213 \end_layout
24214
24215 \end_inset
24216
24217
24218 \end_layout
24219
24220 \begin_layout Standard
24221 \begin_inset Float table
24222 wide false
24223 sideways false
24224 status open
24225
24226 \begin_layout Plain Layout
24227 \begin_inset Caption
24228
24229 \begin_layout Plain Layout
24230 \begin_inset CommandInset label
24231 LatexCommand label
24232 name "tab:cap-beside-tab"
24233
24234 \end_inset
24235
24236 This is a caption beside a table.
24237 \end_layout
24238
24239 \end_inset
24240
24241
24242 \end_layout
24243
24244 \begin_layout Plain Layout
24245 \begin_inset Tabular
24246 <lyxtabular version="3" rows="4" columns="5">
24247 <features tabularvalignment="middle">
24248 <column alignment="center" valignment="top" width="0">
24249 <column alignment="center" valignment="top" width="0">
24250 <column alignment="center" valignment="top" width="0">
24251 <column alignment="center" valignment="top" width="0">
24252 <column alignment="center" valignment="top" width="0">
24253 <row>
24254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24255 \begin_inset Text
24256
24257 \begin_layout Plain Layout
24258 a
24259 \end_layout
24260
24261 \end_inset
24262 </cell>
24263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24264 \begin_inset Text
24265
24266 \begin_layout Plain Layout
24267
24268 \end_layout
24269
24270 \end_inset
24271 </cell>
24272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24273 \begin_inset Text
24274
24275 \begin_layout Plain Layout
24276 b
24277 \end_layout
24278
24279 \end_inset
24280 </cell>
24281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24282 \begin_inset Text
24283
24284 \begin_layout Plain Layout
24285
24286 \end_layout
24287
24288 \end_inset
24289 </cell>
24290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24291 \begin_inset Text
24292
24293 \begin_layout Plain Layout
24294 c
24295 \end_layout
24296
24297 \end_inset
24298 </cell>
24299 </row>
24300 <row>
24301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24302 \begin_inset Text
24303
24304 \begin_layout Plain Layout
24305
24306 \end_layout
24307
24308 \end_inset
24309 </cell>
24310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24311 \begin_inset Text
24312
24313 \begin_layout Plain Layout
24314 d
24315 \end_layout
24316
24317 \end_inset
24318 </cell>
24319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24320 \begin_inset Text
24321
24322 \begin_layout Plain Layout
24323
24324 \end_layout
24325
24326 \end_inset
24327 </cell>
24328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24329 \begin_inset Text
24330
24331 \begin_layout Plain Layout
24332 e
24333 \end_layout
24334
24335 \end_inset
24336 </cell>
24337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24338 \begin_inset Text
24339
24340 \begin_layout Plain Layout
24341
24342 \end_layout
24343
24344 \end_inset
24345 </cell>
24346 </row>
24347 <row>
24348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24349 \begin_inset Text
24350
24351 \begin_layout Plain Layout
24352 f
24353 \end_layout
24354
24355 \end_inset
24356 </cell>
24357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24358 \begin_inset Text
24359
24360 \begin_layout Plain Layout
24361
24362 \end_layout
24363
24364 \end_inset
24365 </cell>
24366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24367 \begin_inset Text
24368
24369 \begin_layout Plain Layout
24370 g
24371 \end_layout
24372
24373 \end_inset
24374 </cell>
24375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24376 \begin_inset Text
24377
24378 \begin_layout Plain Layout
24379
24380 \end_layout
24381
24382 \end_inset
24383 </cell>
24384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24385 \begin_inset Text
24386
24387 \begin_layout Plain Layout
24388 h
24389 \end_layout
24390
24391 \end_inset
24392 </cell>
24393 </row>
24394 <row>
24395 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24396 \begin_inset Text
24397
24398 \begin_layout Plain Layout
24399
24400 \end_layout
24401
24402 \end_inset
24403 </cell>
24404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24405 \begin_inset Text
24406
24407 \begin_layout Plain Layout
24408 i
24409 \end_layout
24410
24411 \end_inset
24412 </cell>
24413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24414 \begin_inset Text
24415
24416 \begin_layout Plain Layout
24417
24418 \end_layout
24419
24420 \end_inset
24421 </cell>
24422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24423 \begin_inset Text
24424
24425 \begin_layout Plain Layout
24426 j
24427 \end_layout
24428
24429 \end_inset
24430 </cell>
24431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24432 \begin_inset Text
24433
24434 \begin_layout Plain Layout
24435
24436 \end_layout
24437
24438 \end_inset
24439 </cell>
24440 </row>
24441 </lyxtabular>
24442
24443 \end_inset
24444
24445
24446 \end_layout
24447
24448 \end_inset
24449
24450
24451 \end_layout
24452
24453 \begin_layout Standard
24454 \begin_inset ERT
24455 status collapsed
24456
24457 \begin_layout Plain Layout
24458
24459
24460 \backslash
24461 TabBesEnd
24462 \end_layout
24463
24464 \end_inset
24465
24466
24467 \end_layout
24468
24469 \begin_layout Standard
24470 \begin_inset ERT
24471 status collapsed
24472
24473 \begin_layout Plain Layout
24474
24475
24476 \backslash
24477 sidecaptionvpos{figure}{c}
24478 \end_layout
24479
24480 \end_inset
24481
24482
24483 \begin_inset Float figure
24484 wide false
24485 sideways false
24486 status open
24487
24488 \begin_layout Plain Layout
24489 \begin_inset Graphics
24490         filename clipart/escher-lsd.eps
24491         scale 75
24492         scaleBeforeRotation
24493
24494 \end_inset
24495
24496
24497 \end_layout
24498
24499 \begin_layout Plain Layout
24500 \begin_inset Caption
24501
24502 \begin_layout Plain Layout
24503 \begin_inset CommandInset label
24504 LatexCommand label
24505 name "fig:cap-beside-fig-2"
24506
24507 \end_inset
24508
24509 This is a vertically centered caption beside a figure.
24510 \end_layout
24511
24512 \end_inset
24513
24514
24515 \end_layout
24516
24517 \end_inset
24518
24519
24520 \end_layout
24521
24522 \begin_layout Standard
24523 \begin_inset ERT
24524 status collapsed
24525
24526 \begin_layout Plain Layout
24527
24528
24529 \backslash
24530 FigBesEnd
24531 \end_layout
24532
24533 \end_inset
24534
24535
24536 \end_layout
24537
24538 \begin_layout Standard
24539 \begin_inset ERT
24540 status collapsed
24541
24542 \begin_layout Plain Layout
24543
24544
24545 \backslash
24546 else
24547 \end_layout
24548
24549 \end_inset
24550
24551
24552 \begin_inset Note Note
24553 status open
24554
24555 \begin_layout Plain Layout
24556 The following will be displayed when the LaTeX-package 
24557 \series bold
24558 sidecap
24559 \series default
24560  is not installed:
24561 \end_layout
24562
24563 \end_inset
24564
24565
24566 \end_layout
24567
24568 \begin_layout Standard
24569 You need to install the LaTeX-package 
24570 \series bold
24571 sidecap
24572 \series default
24573  to see the following part of this section in the output.
24574 \end_layout
24575
24576 \begin_layout Standard
24577 \begin_inset ERT
24578 status collapsed
24579
24580 \begin_layout Plain Layout
24581
24582
24583 \backslash
24584 fi
24585 \end_layout
24586
24587 \end_inset
24588
24589
24590 \end_layout
24591
24592 \begin_layout Section
24593 Listings of Floats
24594 \begin_inset Index idx
24595 status collapsed
24596
24597 \begin_layout Plain Layout
24598 Floats ! Float Lists
24599 \end_layout
24600
24601 \end_inset
24602
24603
24604 \end_layout
24605
24606 \begin_layout Standard
24607 Similar to the table of contents where the sections of the document are
24608  listed, there are listings for all float types, like the figures of the
24609  documents.
24610  You can insert them via the 
24611 \family sans
24612 Insert\SpecialChar \menuseparator
24613 List
24614 \begin_inset space ~
24615 \end_inset
24616
24617 /
24618 \begin_inset space ~
24619 \end_inset
24620
24621 TOC
24622 \family default
24623  sub menus.
24624 \end_layout
24625
24626 \begin_layout Standard
24627 The list entries are the float captions or its short title, the float number,
24628  and the page number where they appear in the document.
24629 \end_layout
24630
24631 \begin_layout Standard
24632 You can find the list of figures and tables at the end of this document.
24633 \end_layout
24634
24635 \begin_layout Chapter
24636 Notes
24637 \end_layout
24638
24639 \begin_layout Section
24640 LyX Notes
24641 \begin_inset Index idx
24642 status collapsed
24643
24644 \begin_layout Plain Layout
24645 Notes ! LyX Notes
24646 \end_layout
24647
24648 \end_inset
24649
24650
24651 \end_layout
24652
24653 \begin_layout Standard
24654 Notes are inserted with the toolbar button 
24655 \begin_inset Graphics
24656         filename ../images/note-insert.png
24657         scale 85
24658         scaleBeforeRotation
24659
24660 \end_inset
24661
24662  or the menu 
24663 \family sans
24664 Insert\SpecialChar \menuseparator
24665 Note
24666 \family default
24667 .
24668  There are three types of notes:
24669 \end_layout
24670
24671 \begin_layout Description
24672 LyX
24673 \begin_inset space ~
24674 \end_inset
24675
24676 Note This note type is for internal notes that won't appear in the output.
24677  Its note-box looks like this:
24678 \begin_inset Newline newline
24679 \end_inset
24680
24681
24682 \begin_inset Newline newline
24683 \end_inset
24684
24685
24686 \begin_inset Graphics
24687         filename clipart/LyXNoteImageQt4.png
24688         display false
24689         scale 85
24690         scaleBeforeRotation
24691
24692 \end_inset
24693
24694  
24695 \begin_inset Note Note
24696 status open
24697
24698 \begin_layout Plain Layout
24699 This is text in a note box that doesn't appear in the output.
24700 \end_layout
24701
24702 \end_inset
24703
24704
24705 \end_layout
24706
24707 \begin_layout Description
24708 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24709 ent, when you export the document to LaTeX via the menu 
24710 \family sans
24711 File\SpecialChar \menuseparator
24712 Export\SpecialChar \menuseparator
24713 LaTeX (pdflatex) / (plain)
24714 \family default
24715 .
24716  Its note-box looks like this:
24717 \begin_inset Newline newline
24718 \end_inset
24719
24720
24721 \begin_inset Newline newline
24722 \end_inset
24723
24724
24725 \begin_inset Graphics
24726         filename clipart/CommentNoteImageQt4.png
24727         display false
24728         scale 85
24729         scaleBeforeRotation
24730
24731 \end_inset
24732
24733  
24734 \begin_inset Note Comment
24735 status open
24736
24737 \begin_layout Plain Layout
24738 This is text in a note box that only appears as comment in LaTeX-files.
24739 \end_layout
24740
24741 \end_inset
24742
24743
24744 \end_layout
24745
24746 \begin_layout Description
24747 Greyed
24748 \begin_inset space ~
24749 \end_inset
24750
24751 Out This note will appear in the output as grey text.
24752  Its note-box looks like this:
24753 \begin_inset Newline newline
24754 \end_inset
24755
24756
24757 \begin_inset Newline newline
24758 \end_inset
24759
24760
24761 \begin_inset Graphics
24762         filename clipart/GreyedOutNoteImageQt4.png
24763         display false
24764         scale 85
24765         scaleBeforeRotation
24766
24767 \end_inset
24768
24769
24770 \begin_inset Newline newline
24771 \end_inset
24772
24773
24774 \begin_inset ERT
24775 status collapsed
24776
24777 \begin_layout Plain Layout
24778
24779
24780 \backslash
24781 renewenvironment{lyxgreyedout}
24782 \end_layout
24783
24784 \begin_layout Plain Layout
24785
24786 {
24787 \backslash
24788 textcolor[gray]{0.8}
24789 \backslash
24790 bgroup}{
24791 \backslash
24792 egroup}
24793 \end_layout
24794
24795 \end_inset
24796
24797
24798 \begin_inset Note Greyedout
24799 status open
24800
24801 \begin_layout Plain Layout
24802 This is text
24803 \begin_inset Foot
24804 status open
24805
24806 \begin_layout Plain Layout
24807 This is an example footnote within a greyed out note.
24808 \end_layout
24809
24810 \end_inset
24811
24812  of a comment that appears in the output as grey text.
24813 \end_layout
24814
24815 \end_inset
24816
24817
24818 \begin_inset ERT
24819 status collapsed
24820
24821 \begin_layout Plain Layout
24822
24823
24824 \backslash
24825 renewenvironment{lyxgreyedout}
24826 \end_layout
24827
24828 \begin_layout Plain Layout
24829
24830 {
24831 \backslash
24832 textcolor{blue}
24833 \backslash
24834 bgroup}{
24835 \backslash
24836 egroup}
24837 \end_layout
24838
24839 \end_inset
24840
24841
24842 \begin_inset Note Note
24843 status collapsed
24844
24845 \begin_layout Plain Layout
24846 The greyed out note is here redefined to show it with the original LyX definitio
24847 n because greyed out notes are redefined in the preamble of this document,
24848  as described below, to have blue text.
24849 \end_layout
24850
24851 \end_inset
24852
24853
24854 \begin_inset Newline newline
24855 \end_inset
24856
24857
24858 \begin_inset Newline newline
24859 \end_inset
24860
24861 As you can see in the example, the first line of greyed out notes is a bit
24862  indented and greyed out notes can have footnotes.
24863 \end_layout
24864
24865 \begin_layout Standard
24866 \begin_inset VSpace bigskip
24867 \end_inset
24868
24869 When you use the toolbar button 
24870 \begin_inset Graphics
24871         filename ../images/note-insert.png
24872         scale 85
24873         scaleBeforeRotation
24874
24875 \end_inset
24876
24877  to insert notes, a 
24878 \family sans
24879 LyX
24880 \begin_inset space ~
24881 \end_inset
24882
24883 Note
24884 \family default
24885  is inserted.
24886  You can switch between the five note types by right-clicking on the note-box.
24887  
24888 \family roman
24889 \series medium
24890 \bar no
24891 If you want to turn existing text into a note, mark it and click on the
24892  note
24893 \family default
24894 \series default
24895 \bar default
24896  toolbar 
24897 \family roman
24898 \series medium
24899 \bar no
24900 button
24901 \family default
24902 \series default
24903 \bar default
24904 .
24905  To change a note to text, press the backspace key when the cursor is in
24906  the first position of a note, or press the delete key when the cursor is
24907  in the very last position of the note, respectively.
24908 \end_layout
24909
24910 \begin_layout Standard
24911 \begin_inset VSpace bigskip
24912 \end_inset
24913
24914 You can change the text color of the greyed out notes in the menu 
24915 \family sans
24916 Document\SpecialChar \menuseparator
24917 Settings\SpecialChar \menuseparator
24918 Colors
24919 \family default
24920 .
24921 \end_layout
24922
24923 \begin_layout Section
24924 Footnotes
24925 \begin_inset CommandInset label
24926 LatexCommand label
24927 name "sec:Footnotes"
24928
24929 \end_inset
24930
24931
24932 \begin_inset Index idx
24933 status collapsed
24934
24935 \begin_layout Plain Layout
24936 Notes ! Footnotes
24937 \end_layout
24938
24939 \end_inset
24940
24941
24942 \begin_inset Index idx
24943 status collapsed
24944
24945 \begin_layout Plain Layout
24946 Footnotes
24947 \end_layout
24948
24949 \end_inset
24950
24951
24952 \end_layout
24953
24954 \begin_layout Standard
24955 Footnotes can be inserted using the toolbar button 
24956 \begin_inset Graphics
24957         filename ../images/footnote-insert.png
24958         scale 85
24959         scaleBeforeRotation
24960
24961 \end_inset
24962
24963  or the menu 
24964 \family sans
24965 Insert\SpecialChar \menuseparator
24966 Footnote
24967 \family default
24968 .
24969  
24970 \family roman
24971 \series medium
24972 \bar no
24973 You'll see
24974 \family default
24975 \series default
24976 \bar default
24977  then the following footnote-box: 
24978 \begin_inset Graphics
24979         filename clipart/footnoteQt4.png
24980         scale 80
24981         scaleBeforeRotation
24982
24983 \end_inset
24984
24985  
24986 \family roman
24987 \series medium
24988 \bar no
24989 where you can enter the footnote text.
24990  If you want to turn existing text into a footnote, mark it and click on
24991  the footnote
24992 \family default
24993 \series default
24994 \bar default
24995  toolbar 
24996 \family roman
24997 \series medium
24998 \bar no
24999 button
25000 \family default
25001 \series default
25002 \bar default
25003 .
25004  To change a 
25005 \family roman
25006 \series medium
25007 \bar no
25008 footnote
25009 \family default
25010 \series default
25011 \bar default
25012  to text, press the Backspace key when the cursor is in the first position
25013  of a 
25014 \family roman
25015 \series medium
25016 \bar no
25017 footnote
25018 \family default
25019 \series default
25020 \bar default
25021 , or press the Delete key when the cursor is in the very last position of
25022  the 
25023 \family roman
25024 \series medium
25025 \bar no
25026 footnote
25027 \family default
25028 \series default
25029 \bar default
25030 , respectively.
25031 \end_layout
25032
25033 \begin_layout Standard
25034 Here is an example footnote:
25035 \family roman
25036 \series medium
25037 \bar no
25038
25039 \begin_inset Foot
25040 status open
25041
25042 \begin_layout Plain Layout
25043 \begin_inset CommandInset label
25044 LatexCommand label
25045 name "foot:This-is-an"
25046
25047 \end_inset
25048
25049 This is an example footnote.
25050 \end_layout
25051
25052 \end_inset
25053
25054
25055 \family default
25056 \series default
25057 \bar default
25058
25059 \begin_inset ERT
25060 status collapsed
25061
25062 \begin_layout Plain Layout
25063
25064
25065 \backslash
25066 newcounter{MyRepeatFoot}
25067 \end_layout
25068
25069 \begin_layout Plain Layout
25070
25071
25072 \backslash
25073 setcounter{MyRepeatFoot}{
25074 \backslash
25075 thefootnote}
25076 \end_layout
25077
25078 \end_inset
25079
25080
25081 \end_layout
25082
25083 \begin_layout Standard
25084 The footnote will appear in the output as a superscript number at the text
25085  position where the footnote box is placed.
25086  The footnote text is placed at the bottom of the current page.
25087  The footnote number is calculated by LaTeX; the numbers are consecutive.
25088  It depends on your document-class, whether the footnote number is reset
25089  for every chapter.
25090 \end_layout
25091
25092 \begin_layout Standard
25093 Footnotes can be referenced like floats: Insert a label into the footnote
25094  and cross-reference this label in the text as described in section
25095 \begin_inset space ~
25096 \end_inset
25097
25098
25099 \begin_inset CommandInset ref
25100 LatexCommand ref
25101 reference "sec:Referencing-Floats"
25102
25103 \end_inset
25104
25105 .
25106 \begin_inset Newline newline
25107 \end_inset
25108
25109 This is a cross-reference of Footnote
25110 \begin_inset space ~
25111 \end_inset
25112
25113
25114 \begin_inset CommandInset ref
25115 LatexCommand ref
25116 reference "foot:This-is-an"
25117
25118 \end_inset
25119
25120 .
25121 \end_layout
25122
25123 \begin_layout Standard
25124 \begin_inset VSpace defskip
25125 \end_inset
25126
25127 Footnotes in tables are not printed by LaTeX due to technical reasons.
25128  However there exists another method to print them: Instead of the footnote
25129  the command 
25130 \series bold
25131
25132 \backslash
25133 footnotemark{}
25134 \series default
25135  is inserted as TeX-code.
25136  The text of the footnote is entered as an argument of the TeX-code command
25137  
25138 \series bold
25139
25140 \backslash
25141 footnotetext
25142 \series default
25143  after the table.
25144 \begin_inset Newline newline
25145 \end_inset
25146
25147 This was done for the following table with the command
25148 \end_layout
25149
25150 \begin_layout Standard
25151
25152 \series bold
25153
25154 \backslash
25155 footnotetext{
25156 \series default
25157 Printed table footnote.
25158 \series bold
25159 }
25160 \end_layout
25161
25162 \begin_layout Standard
25163 \begin_inset Tabular
25164 <lyxtabular version="3" rows="2" columns="1">
25165 <features tabularvalignment="middle">
25166 <column alignment="center" valignment="top" width="0">
25167 <row>
25168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25169 \begin_inset Text
25170
25171 \begin_layout Plain Layout
25172 This an example text.
25173 \begin_inset Foot
25174 status open
25175
25176 \begin_layout Plain Layout
25177 This footnote will not be printed!
25178 \end_layout
25179
25180 \end_inset
25181
25182
25183 \end_layout
25184
25185 \end_inset
25186 </cell>
25187 </row>
25188 <row>
25189 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25190 \begin_inset Text
25191
25192 \begin_layout Plain Layout
25193 This an example text.
25194 \begin_inset ERT
25195 status collapsed
25196
25197 \begin_layout Plain Layout
25198
25199
25200 \backslash
25201 footnotemark{}
25202 \end_layout
25203
25204 \end_inset
25205
25206
25207 \end_layout
25208
25209 \end_inset
25210 </cell>
25211 </row>
25212 </lyxtabular>
25213
25214 \end_inset
25215
25216
25217 \begin_inset ERT
25218 status collapsed
25219
25220 \begin_layout Plain Layout
25221
25222
25223 \backslash
25224 footnotetext{
25225 \end_layout
25226
25227 \end_inset
25228
25229 Printed table footnote.
25230 \begin_inset ERT
25231 status collapsed
25232
25233 \begin_layout Plain Layout
25234
25235 }
25236 \end_layout
25237
25238 \end_inset
25239
25240
25241 \end_layout
25242
25243 \begin_layout Standard
25244 Footnotes in longtables are described in section
25245 \begin_inset space ~
25246 \end_inset
25247
25248
25249 \begin_inset CommandInset ref
25250 LatexCommand ref
25251 reference "sub:Footnotes-in-Longtables"
25252
25253 \end_inset
25254
25255 .
25256 \end_layout
25257
25258 \begin_layout Standard
25259 Footnotes in minipage boxes are printed, but inside the box and with a different
25260  numbering because a minipage box is like a page inside a page.
25261  (For more about minipages, see section
25262 \begin_inset space ~
25263 \end_inset
25264
25265
25266 \begin_inset CommandInset ref
25267 LatexCommand ref
25268 reference "sec:Minipages"
25269
25270 \end_inset
25271
25272 .) To get a footnote in the minipage that is output at the bottom of the
25273  page like normal footnotes, also use the method of 
25274 \series bold
25275
25276 \backslash
25277 footnotemark{}
25278 \series default
25279  and 
25280 \series bold
25281
25282 \backslash
25283 footnotetext
25284 \series default
25285 .
25286 \end_layout
25287
25288 \begin_layout Standard
25289 \begin_inset Box Frameless
25290 position "t"
25291 hor_pos "c"
25292 has_inner_box 1
25293 inner_pos "t"
25294 use_parbox 0
25295 use_makebox 0
25296 width "100col%"
25297 special "none"
25298 height "1in"
25299 height_special "totalheight"
25300 status open
25301
25302 \begin_layout Plain Layout
25303 This an example text in a minipage.
25304 \begin_inset Foot
25305 status open
25306
25307 \begin_layout Plain Layout
25308 Footnote in the minipage.
25309 \end_layout
25310
25311 \end_inset
25312
25313
25314 \end_layout
25315
25316 \begin_layout Plain Layout
25317 This an example text in a minipage.
25318 \begin_inset ERT
25319 status collapsed
25320
25321 \begin_layout Plain Layout
25322
25323
25324 \backslash
25325 footnotemark{}
25326 \end_layout
25327
25328 \end_inset
25329
25330
25331 \end_layout
25332
25333 \end_inset
25334
25335
25336 \end_layout
25337
25338 \begin_layout Standard
25339 \begin_inset ERT
25340 status collapsed
25341
25342 \begin_layout Plain Layout
25343
25344
25345 \backslash
25346 footnotetext{
25347 \end_layout
25348
25349 \end_inset
25350
25351 Footnote outside the minipage.
25352 \begin_inset ERT
25353 status collapsed
25354
25355 \begin_layout Plain Layout
25356
25357 }
25358 \end_layout
25359
25360 \end_inset
25361
25362
25363 \end_layout
25364
25365 \begin_layout Standard
25366 \begin_inset VSpace defskip
25367 \end_inset
25368
25369
25370 \end_layout
25371
25372 \begin_layout Standard
25373 To refer to the same footnote several times without printing the footnote
25374  text every time, use the command 
25375 \series bold
25376
25377 \backslash
25378 footnotemark[number]
25379 \series default
25380  in TeX-code.
25381 \begin_inset Newline newline
25382 \end_inset
25383
25384 As you do not know the number of the repeating footnote while you are writing
25385  the text, you have to store its number.
25386  For the following footnote mark example, these commands were inserted in
25387  TeX-code after Footnote
25388 \begin_inset space ~
25389 \end_inset
25390
25391
25392 \begin_inset CommandInset ref
25393 LatexCommand ref
25394 reference "foot:This-is-an"
25395
25396 \end_inset
25397
25398  to store the footnote number:
25399 \end_layout
25400
25401 \begin_layout Standard
25402
25403 \series bold
25404
25405 \backslash
25406 newcounter{MyRepeatFoot}
25407 \begin_inset Newline newline
25408 \end_inset
25409
25410
25411 \backslash
25412 setcounter{MyRepeatFoot}{
25413 \backslash
25414 thefootnote}
25415 \end_layout
25416
25417 \begin_layout Standard
25418 The footnote mark was then created with this command:
25419 \end_layout
25420
25421 \begin_layout Standard
25422
25423 \series bold
25424
25425 \backslash
25426 footnotemark[
25427 \backslash
25428 theMyRepeatFoot]
25429 \end_layout
25430
25431 \begin_layout Standard
25432 Here is a repeated footnote:
25433 \family roman
25434 \series medium
25435 \bar no
25436
25437 \begin_inset ERT
25438 status collapsed
25439
25440 \begin_layout Plain Layout
25441
25442
25443 \backslash
25444 footnotemark[
25445 \backslash
25446 theMyRepeatFoot]
25447 \end_layout
25448
25449 \end_inset
25450
25451
25452 \end_layout
25453
25454 \begin_layout Standard
25455 If you want to repeat the previous footnote, you can omit the storage of
25456  the footnote number and just use this command instead:
25457 \end_layout
25458
25459 \begin_layout Standard
25460
25461 \series bold
25462
25463 \backslash
25464 footnotemark[
25465 \backslash
25466 thefootnote]
25467 \end_layout
25468
25469 \begin_layout Standard
25470 Here is another repeated footnote:
25471 \family roman
25472 \series medium
25473 \bar no
25474
25475 \begin_inset ERT
25476 status collapsed
25477
25478 \begin_layout Plain Layout
25479
25480
25481 \backslash
25482 footnotemark[
25483 \backslash
25484 thefootnote]
25485 \end_layout
25486
25487 \end_inset
25488
25489
25490 \end_layout
25491
25492 \begin_layout Subsection
25493 Footnote Numbering
25494 \begin_inset CommandInset label
25495 LatexCommand label
25496 name "sub:Footnote-Numbering"
25497
25498 \end_inset
25499
25500
25501 \begin_inset Index idx
25502 status collapsed
25503
25504 \begin_layout Plain Layout
25505 Footnotes ! Numbering
25506 \end_layout
25507
25508 \end_inset
25509
25510
25511 \end_layout
25512
25513 \begin_layout Standard
25514 To reset the footnote number back to 1 after each section
25515 \family roman
25516 , add this command to your document preamble:
25517 \end_layout
25518
25519 \begin_layout Standard
25520
25521 \series bold
25522
25523 \backslash
25524 @addtoreset{footnote}{section}
25525 \end_layout
25526
25527 \begin_layout Standard
25528 \begin_inset VSpace bigskip
25529 \end_inset
25530
25531 The following preamble command changes the footnote numbering style to small
25532  roman numerals:
25533 \end_layout
25534
25535 \begin_layout Standard
25536
25537 \series bold
25538
25539 \backslash
25540 renewcommand{
25541 \backslash
25542 thefootnote}{
25543 \backslash
25544 roman{footnote}}
25545 \end_layout
25546
25547 \begin_layout Standard
25548 \begin_inset ERT
25549 status collapsed
25550
25551 \begin_layout Plain Layout
25552
25553
25554 \backslash
25555 renewcommand{
25556 \backslash
25557 thefootnote}{
25558 \backslash
25559 roman{footnote}}
25560 \end_layout
25561
25562 \end_inset
25563
25564  This is a footnote with roman numbering:
25565 \begin_inset Foot
25566 status open
25567
25568 \begin_layout Plain Layout
25569 This is an example footnote with roman numbering.
25570 \end_layout
25571
25572 \end_inset
25573
25574
25575 \end_layout
25576
25577 \begin_layout Standard
25578 To change the numbering style to capital roman numerals replace in the command
25579  above 
25580 \series bold
25581
25582 \backslash
25583 roman
25584 \series default
25585  by 
25586 \series bold
25587
25588 \backslash
25589 Roman
25590 \series default
25591 .
25592  To 
25593 \begin_inset Quotes eld
25594 \end_inset
25595
25596 number
25597 \begin_inset Quotes erd
25598 \end_inset
25599
25600  footnotes with capital or small Latin letters use 
25601 \series bold
25602
25603 \backslash
25604 Alph
25605 \series default
25606  or 
25607 \series bold
25608
25609 \backslash
25610 alph
25611 \series default
25612 , respectively.
25613  To 
25614 \begin_inset Quotes eld
25615 \end_inset
25616
25617 number
25618 \begin_inset Quotes erd
25619 \end_inset
25620
25621  footnotes with symbols use 
25622 \series bold
25623
25624 \backslash
25625 fnsymbol
25626 \series default
25627 .
25628 \end_layout
25629
25630 \begin_layout Standard
25631 \begin_inset Note Greyedout
25632 status open
25633
25634 \begin_layout Plain Layout
25635
25636 \series bold
25637 Note:
25638 \series default
25639  You can only number 26 footnotes with Latin letters, because this numbering
25640  is limited to single letters.
25641 \end_layout
25642
25643 \end_inset
25644
25645
25646 \begin_inset Newline newline
25647 \end_inset
25648
25649
25650 \begin_inset Note Greyedout
25651 status open
25652
25653 \begin_layout Plain Layout
25654
25655 \series bold
25656 Note:
25657 \series default
25658  You can only number 9 footnotes with symbols.
25659 \end_layout
25660
25661 \end_inset
25662
25663
25664 \end_layout
25665
25666 \begin_layout Standard
25667 To return to the default numbering style after you have changed to another
25668  one, use 
25669 \series bold
25670
25671 \backslash
25672 arabic
25673 \series default
25674  instead of 
25675 \series bold
25676
25677 \backslash
25678 roman
25679 \series default
25680  in the command above.
25681 \begin_inset ERT
25682 status collapsed
25683
25684 \begin_layout Plain Layout
25685
25686
25687 \backslash
25688 renewcommand{
25689 \backslash
25690 thefootnote}{
25691 \backslash
25692 arabic{footnote}}
25693 \end_layout
25694
25695 \end_inset
25696
25697
25698 \end_layout
25699
25700 \begin_layout Standard
25701 \begin_inset VSpace bigskip
25702 \end_inset
25703
25704
25705 \end_layout
25706
25707 \begin_layout Standard
25708 If you want to have footnotes numbered in the scheme 
25709 \begin_inset Quotes eld
25710 \end_inset
25711
25712 chapter.footnote
25713 \begin_inset Quotes erd
25714 \end_inset
25715
25716 , add the following command to your document preamble:
25717 \end_layout
25718
25719 \begin_layout Standard
25720
25721 \series bold
25722
25723 \backslash
25724 numberwithin{footnote}{chapter}
25725 \end_layout
25726
25727 \begin_layout Standard
25728 To be able to use the command 
25729 \series bold
25730
25731 \backslash
25732 numberwithin
25733 \series default
25734 , set in the tab 
25735 \family sans
25736 Math
25737 \begin_inset space ~
25738 \end_inset
25739
25740 Options
25741 \family default
25742  in the document settings the option 
25743 \family sans
25744 Use
25745 \begin_inset space ~
25746 \end_inset
25747
25748 AMS
25749 \begin_inset space ~
25750 \end_inset
25751
25752 math
25753 \begin_inset space ~
25754 \end_inset
25755
25756 package
25757 \family default
25758 .
25759 \end_layout
25760
25761 \begin_layout Standard
25762 \begin_inset ERT
25763 status collapsed
25764
25765 \begin_layout Plain Layout
25766
25767
25768 \backslash
25769 numberwithin{footnote}{chapter}
25770 \end_layout
25771
25772 \end_inset
25773
25774 This is another example footnote:
25775 \series bold
25776
25777 \begin_inset Foot
25778 status open
25779
25780 \begin_layout Plain Layout
25781 This is a footnote numbered in the scheme 
25782 \begin_inset Quotes eld
25783 \end_inset
25784
25785 chapter.footnote
25786 \begin_inset Quotes erd
25787 \end_inset
25788
25789 .
25790 \end_layout
25791
25792 \end_inset
25793
25794
25795 \series default
25796
25797 \begin_inset ERT
25798 status collapsed
25799
25800 \begin_layout Plain Layout
25801
25802
25803 \backslash
25804 renewcommand{
25805 \backslash
25806 thefootnote}{
25807 \backslash
25808 arabic{footnote}}
25809 \end_layout
25810
25811 \end_inset
25812
25813
25814 \end_layout
25815
25816 \begin_layout Standard
25817 \begin_inset Note Greyedout
25818 status open
25819
25820 \begin_layout Plain Layout
25821
25822 \series bold
25823 Note:
25824 \series default
25825  
25826 \series bold
25827
25828 \backslash
25829 numberwithin
25830 \series default
25831  always prints out the footnote number as arabic number; previous redefinitions
25832  to get non-arabic numbers are overwritten.
25833 \end_layout
25834
25835 \end_inset
25836
25837
25838 \end_layout
25839
25840 \begin_layout Standard
25841 So to get for example the scheme 
25842 \begin_inset Quotes eld
25843 \end_inset
25844
25845 chapter.
25846 \backslash
25847 Roman{footnote}
25848 \begin_inset Quotes erd
25849 \end_inset
25850
25851 , use this command instead of 
25852 \series bold
25853
25854 \backslash
25855 numberwithin
25856 \series default
25857 :
25858 \end_layout
25859
25860 \begin_layout Standard
25861
25862 \series bold
25863
25864 \backslash
25865 renewcommand{
25866 \backslash
25867 thefootnote}{
25868 \backslash
25869 thechapter.
25870 \backslash
25871 Roman{footnote}}
25872 \end_layout
25873
25874 \begin_layout Subsection
25875 Footnote Placement
25876 \begin_inset Index idx
25877 status collapsed
25878
25879 \begin_layout Plain Layout
25880 Footnotes ! Placement
25881 \end_layout
25882
25883 \end_inset
25884
25885
25886 \end_layout
25887
25888 \begin_layout Standard
25889 If you have several footnotes in one page, they appear without vertical
25890  space between them at the bottom of the page.
25891  To make them more readable you can e.
25892 \begin_inset space \thinspace{}
25893 \end_inset
25894
25895 g.
25896 \begin_inset space \space{}
25897 \end_inset
25898
25899 add 1.5
25900 \begin_inset space \thinspace{}
25901 \end_inset
25902
25903 mm space with the following preamble command:
25904 \end_layout
25905
25906 \begin_layout Standard
25907
25908 \series bold
25909
25910 \backslash
25911 let
25912 \backslash
25913 myFoot
25914 \backslash
25915 footnote
25916 \begin_inset Newline newline
25917 \end_inset
25918
25919
25920 \backslash
25921 renewcommand{
25922 \backslash
25923 footnote}[1]{
25924 \backslash
25925 myFoot{#1
25926 \backslash
25927 vspace{1.5mm}}}
25928 \end_layout
25929
25930 \begin_layout Standard
25931 \begin_inset VSpace bigskip
25932 \end_inset
25933
25934 In a two-column document the footnotes appear at the bottom of every column,
25935  see Figure
25936 \begin_inset space ~
25937 \end_inset
25938
25939
25940 \begin_inset CommandInset ref
25941 LatexCommand ref
25942 reference "fig:Standard-footnote-placement"
25943
25944 \end_inset
25945
25946 .
25947  If the footnotes should only appear at the bottom of the right column,
25948  as in Figure
25949 \begin_inset space ~
25950 \end_inset
25951
25952
25953 \begin_inset CommandInset ref
25954 LatexCommand ref
25955 reference "fig:Footnote-placement-in"
25956
25957 \end_inset
25958
25959 , use the LaTeX-package 
25960 \series bold
25961 ftnright
25962 \series default
25963
25964 \begin_inset Index idx
25965 status collapsed
25966
25967 \begin_layout Plain Layout
25968 LaTeX-packages ! ftnright
25969 \end_layout
25970
25971 \end_inset
25972
25973  with this command in the document preamble:
25974 \end_layout
25975
25976 \begin_layout Standard
25977
25978 \series bold
25979
25980 \backslash
25981 usepackage{ftnright}
25982 \end_layout
25983
25984 \begin_layout Standard
25985 \begin_inset Float figure
25986 placement !h
25987 wide false
25988 sideways false
25989 status open
25990
25991 \begin_layout Plain Layout
25992 \begin_inset ERT
25993 status collapsed
25994
25995 \begin_layout Plain Layout
25996
25997
25998 \backslash
25999 framebox{
26000 \end_layout
26001
26002 \end_inset
26003
26004
26005 \begin_inset Graphics
26006         filename clipart/without_fntright.pdf
26007         width 100col%
26008         scaleBeforeRotation
26009
26010 \end_inset
26011
26012
26013 \begin_inset ERT
26014 status collapsed
26015
26016 \begin_layout Plain Layout
26017
26018 }
26019 \end_layout
26020
26021 \end_inset
26022
26023
26024 \end_layout
26025
26026 \begin_layout Plain Layout
26027 \begin_inset Caption
26028
26029 \begin_layout Plain Layout
26030 \begin_inset CommandInset label
26031 LatexCommand label
26032 name "fig:Standard-footnote-placement"
26033
26034 \end_inset
26035
26036 Standard footnote placement in two-column documents.
26037 \end_layout
26038
26039 \end_inset
26040
26041
26042 \end_layout
26043
26044 \end_inset
26045
26046
26047 \end_layout
26048
26049 \begin_layout Standard
26050 \begin_inset Float figure
26051 placement !h
26052 wide false
26053 sideways false
26054 status open
26055
26056 \begin_layout Plain Layout
26057 \begin_inset ERT
26058 status collapsed
26059
26060 \begin_layout Plain Layout
26061
26062
26063 \backslash
26064 framebox{
26065 \end_layout
26066
26067 \end_inset
26068
26069
26070 \begin_inset Graphics
26071         filename clipart/with_fntright.pdf
26072         width 100col%
26073         scaleBeforeRotation
26074
26075 \end_inset
26076
26077
26078 \begin_inset ERT
26079 status collapsed
26080
26081 \begin_layout Plain Layout
26082
26083 }
26084 \end_layout
26085
26086 \end_inset
26087
26088
26089 \end_layout
26090
26091 \begin_layout Plain Layout
26092 \begin_inset Caption
26093
26094 \begin_layout Plain Layout
26095 \begin_inset CommandInset label
26096 LatexCommand label
26097 name "fig:Footnote-placement-in"
26098
26099 \end_inset
26100
26101 Footnote placement in two-column documents when the LaTeX-package 
26102 \series bold
26103 ftnright
26104 \series default
26105  is used.
26106 \end_layout
26107
26108 \end_inset
26109
26110
26111 \end_layout
26112
26113 \end_inset
26114
26115
26116 \end_layout
26117
26118 \begin_layout Standard
26119 \begin_inset VSpace bigskip
26120 \end_inset
26121
26122 In some scientific literature it is usual to collect the footnotes and print
26123  them in a separate paragraph at the end of a section, as in Figure
26124 \begin_inset space ~
26125 \end_inset
26126
26127
26128 \begin_inset CommandInset ref
26129 LatexCommand ref
26130 reference "fig:Endnotes"
26131
26132 \end_inset
26133
26134 .
26135  They are then called 
26136 \begin_inset Quotes eld
26137 \end_inset
26138
26139 endnotes
26140 \begin_inset Quotes erd
26141 \end_inset
26142
26143 .
26144 \begin_inset Index idx
26145 status collapsed
26146
26147 \begin_layout Plain Layout
26148 Endnotes
26149 \end_layout
26150
26151 \end_inset
26152
26153  To use endnotes instead of footnotes in your document, load in the menu
26154  
26155 \family sans
26156 Document\SpecialChar \menuseparator
26157 Settings\SpecialChar \menuseparator
26158 Modules 
26159 \family default
26160 the module 
26161 \family sans
26162 Foot
26163 \begin_inset space ~
26164 \end_inset
26165
26166 to
26167 \begin_inset space ~
26168 \end_inset
26169
26170 End
26171 \family default
26172 .
26173  To insert the collected footnotes, insert the command
26174 \end_layout
26175
26176 \begin_layout Standard
26177
26178 \series bold
26179
26180 \backslash
26181 theendnotes
26182 \end_layout
26183
26184 \begin_layout Standard
26185 in TeX-Code at the end of a section or chapter.
26186 \end_layout
26187
26188 \begin_layout Standard
26189 \begin_inset Float figure
26190 wide false
26191 sideways false
26192 status open
26193
26194 \begin_layout Plain Layout
26195 \align center
26196 \begin_inset ERT
26197 status collapsed
26198
26199 \begin_layout Plain Layout
26200
26201
26202 \backslash
26203 framebox{
26204 \end_layout
26205
26206 \end_inset
26207
26208
26209 \begin_inset Graphics
26210         filename clipart/endnotes.pdf
26211         scaleBeforeRotation
26212
26213 \end_inset
26214
26215
26216 \begin_inset ERT
26217 status collapsed
26218
26219 \begin_layout Plain Layout
26220
26221 }
26222 \end_layout
26223
26224 \end_inset
26225
26226
26227 \end_layout
26228
26229 \begin_layout Plain Layout
26230 \begin_inset Caption
26231
26232 \begin_layout Plain Layout
26233 \begin_inset CommandInset label
26234 LatexCommand label
26235 name "fig:Endnotes"
26236
26237 \end_inset
26238
26239 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
26240  or chapters.
26241 \end_layout
26242
26243 \end_inset
26244
26245
26246 \end_layout
26247
26248 \end_inset
26249
26250
26251 \end_layout
26252
26253 \begin_layout Standard
26254 \begin_inset VSpace medskip
26255 \end_inset
26256
26257 The paragraph heading for the endnotes isn't automatically translated into
26258  the document language, this must be done manually.
26259  The following preamble command translates the default English 
26260 \begin_inset Quotes eld
26261 \end_inset
26262
26263 Notes
26264 \begin_inset Quotes erd
26265 \end_inset
26266
26267  into the German 
26268 \begin_inset Quotes eld
26269 \end_inset
26270
26271 Anmerkungen
26272 \begin_inset Quotes erd
26273 \end_inset
26274
26275 :
26276 \end_layout
26277
26278 \begin_layout Standard
26279
26280 \series bold
26281
26282 \backslash
26283 renewcommand{
26284 \backslash
26285 notesname}{Anmerkungen}
26286 \end_layout
26287
26288 \begin_layout Standard
26289 \begin_inset VSpace medskip
26290 \end_inset
26291
26292 The numbering of endnotes can be changed like the footnote numbering as
26293  described in section
26294 \begin_inset space ~
26295 \end_inset
26296
26297
26298 \begin_inset CommandInset ref
26299 LatexCommand ref
26300 reference "sub:Footnote-Numbering"
26301
26302 \end_inset
26303
26304 ; just replace the command 
26305 \series bold
26306
26307 \backslash
26308 thefootnote
26309 \series default
26310  by 
26311 \series bold
26312
26313 \backslash
26314 theendnote
26315 \series default
26316 .
26317  To reset the endnote number use the command 
26318 \series bold
26319
26320 \backslash
26321 @addtoreset
26322 \series default
26323  as described in section
26324 \begin_inset space ~
26325 \end_inset
26326
26327
26328 \begin_inset CommandInset ref
26329 LatexCommand ref
26330 reference "sub:Footnote-Numbering"
26331
26332 \end_inset
26333
26334  and replace the command parameter 
26335 \series bold
26336 footnote
26337 \series default
26338  by 
26339 \series bold
26340 endnote
26341 \series default
26342 .
26343 \end_layout
26344
26345 \begin_layout Standard
26346 For endnotes there is the command 
26347 \series bold
26348
26349 \backslash
26350 endnotemark[number]
26351 \series default
26352  similar to the command 
26353 \series bold
26354
26355 \backslash
26356 footnotemark
26357 \series default
26358 , that is described in section
26359 \begin_inset space ~
26360 \end_inset
26361
26362
26363 \begin_inset CommandInset ref
26364 LatexCommand ref
26365 reference "sec:Footnotes"
26366
26367 \end_inset
26368
26369 .
26370 \end_layout
26371
26372 \begin_layout Standard
26373 \begin_inset VSpace bigskip
26374 \end_inset
26375
26376 Footnotes can also be placed in the page margin and the footnote text alignment
26377  can be changed, see the LaTeX-package 
26378 \series bold
26379 footmisc
26380 \series default
26381
26382 \begin_inset Index idx
26383 status collapsed
26384
26385 \begin_layout Plain Layout
26386 LaTeX-packages ! footmisc
26387 \end_layout
26388
26389 \end_inset
26390
26391
26392 \begin_inset CommandInset citation
26393 LatexCommand cite
26394 key "footmisc"
26395
26396 \end_inset
26397
26398  for more information about this.
26399 \end_layout
26400
26401 \begin_layout Standard
26402 For various further footnote formatting issues have a look at LaTeX-books,
26403  
26404 \begin_inset CommandInset citation
26405 LatexCommand cite
26406 key "latexcompanion,latexguide,latexbook"
26407
26408 \end_inset
26409
26410 .
26411  If you are using a 
26412 \series bold
26413 KOMA-Script
26414 \series default
26415
26416 \begin_inset Index idx
26417 status collapsed
26418
26419 \begin_layout Plain Layout
26420 LaTeX-packages ! KOMA-Script
26421 \end_layout
26422
26423 \end_inset
26424
26425  document class, you can adjust all footnote settings using class-specific
26426  commands, see 
26427 \begin_inset CommandInset citation
26428 LatexCommand cite
26429 key "KOMA-Script"
26430
26431 \end_inset
26432
26433 .
26434 \end_layout
26435
26436 \begin_layout Section
26437 Margin Notes
26438 \begin_inset Index idx
26439 status collapsed
26440
26441 \begin_layout Plain Layout
26442 Notes ! Margin Notes
26443 \end_layout
26444
26445 \end_inset
26446
26447
26448 \end_layout
26449
26450 \begin_layout Standard
26451 Margin notes look and behave in LyX like footnotes.
26452  They are inserted via the menu 
26453 \family sans
26454 Insert\SpecialChar \menuseparator
26455 Marginal
26456 \begin_inset space ~
26457 \end_inset
26458
26459 Note
26460 \family default
26461  or the toolbar button 
26462 \begin_inset Graphics
26463         filename ../images/marginalnote-insert.png
26464         scale 85
26465         scaleBeforeRotation
26466
26467 \end_inset
26468
26469 .
26470  A grey 
26471 \family roman
26472 \series medium
26473 box with the
26474 \family default
26475 \series default
26476  red 
26477 \family roman
26478 \series medium
26479 label 
26480 \begin_inset Quotes eld
26481 \end_inset
26482
26483 margin
26484 \begin_inset Quotes erd
26485 \end_inset
26486
26487  appears where you can enter the text of the margin note.
26488 \end_layout
26489
26490 \begin_layout Standard
26491 At the side is an example margin note.
26492
26493 \family roman
26494 \series medium
26495  
26496 \begin_inset Marginal
26497 status open
26498
26499 \begin_layout Plain Layout
26500 This is a margin note.
26501 \end_layout
26502
26503 \end_inset
26504
26505
26506 \end_layout
26507
26508 \begin_layout Standard
26509 Margin notes appear at the right side in single-sided documents.
26510  In double-sided documents they appear in the outer margin â€“ left on even
26511  pages, right on odd pages.
26512  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
26513 d when the note appears in the left margin.
26514  The first line of the margin note is placed at the position of the text
26515  line where it is inserted in the document.
26516 \end_layout
26517
26518 \begin_layout Standard
26519 \begin_inset VSpace bigskip
26520 \end_inset
26521
26522 To place the margin note in the inner margin, add the command
26523 \end_layout
26524
26525 \begin_layout Standard
26526
26527 \series bold
26528
26529 \backslash
26530 reversemarginpar
26531 \end_layout
26532
26533 \begin_layout Standard
26534 in TeX-Code before a margin note.
26535  The new placement is valid for all subsequent margin notes.
26536  
26537 \begin_inset ERT
26538 status collapsed
26539
26540 \begin_layout Plain Layout
26541
26542
26543 \backslash
26544 reversemarginpar 
26545 \end_layout
26546
26547 \end_inset
26548
26549
26550 \begin_inset Marginal
26551 status open
26552
26553 \begin_layout Plain Layout
26554 This is a margin note in the inner margin.
26555 \end_layout
26556
26557 \end_inset
26558
26559
26560 \series bold
26561
26562 \begin_inset Newline newline
26563 \end_inset
26564
26565
26566 \series default
26567
26568 \begin_inset Note Greyedout
26569 status open
26570
26571 \begin_layout Plain Layout
26572
26573 \series bold
26574 Note:
26575 \series default
26576  There is often not enough space in the inner margin so that the notes are
26577  not correctly displayed in the output.
26578 \end_layout
26579
26580 \end_inset
26581
26582
26583 \end_layout
26584
26585 \begin_layout Standard
26586 To return to the default placement insert the command
26587 \end_layout
26588
26589 \begin_layout Standard
26590
26591 \series bold
26592
26593 \backslash
26594 normalmarginpar
26595 \end_layout
26596
26597 \begin_layout Standard
26598 in TeX-Code.
26599 \begin_inset ERT
26600 status collapsed
26601
26602 \begin_layout Plain Layout
26603
26604
26605 \backslash
26606 normalmarginpar 
26607 \end_layout
26608
26609 \end_inset
26610
26611  
26612 \begin_inset Note Greyedout
26613 status open
26614
26615 \begin_layout Plain Layout
26616
26617 \series bold
26618 Note:
26619 \series default
26620  The command is ignored when it is within a paragraph where also the command
26621  
26622 \series bold
26623
26624 \backslash
26625 reversemarginpar
26626 \series default
26627  is inserted.
26628 \end_layout
26629
26630 \end_inset
26631
26632
26633 \end_layout
26634
26635 \begin_layout Standard
26636 \begin_inset VSpace bigskip
26637 \end_inset
26638
26639
26640 \family roman
26641 \series medium
26642
26643 \begin_inset Marginal
26644 status open
26645
26646 \begin_layout Plain Layout
26647 AVeryLongMarginParWord that isn't hyphenated.
26648 \end_layout
26649
26650 \end_inset
26651
26652
26653 \family default
26654 \series default
26655  Similar to the case described in section
26656 \begin_inset space ~
26657 \end_inset
26658
26659
26660 \begin_inset CommandInset ref
26661 LatexCommand ref
26662 reference "sub:Multiple-Lines-in"
26663
26664 \end_inset
26665
26666 , long words cannot be hyphenated when they are the first word in a margin
26667  note.
26668  To avoid this, insert 0
26669 \begin_inset space \thinspace{}
26670 \end_inset
26671
26672 pt horizontal space before the word
26673 \family roman
26674 \series medium
26675 .
26676  
26677 \begin_inset Marginal
26678 status open
26679
26680 \begin_layout Plain Layout
26681 \begin_inset space \hspace*{}
26682 \length 0pt
26683 \end_inset
26684
26685 AVeryLongMarginParWord that is hyphenated.
26686 \end_layout
26687
26688 \end_inset
26689
26690
26691 \end_layout
26692
26693 \begin_layout Standard
26694 \begin_inset VSpace bigskip
26695 \end_inset
26696
26697
26698 \end_layout
26699
26700 \begin_layout Standard
26701 \begin_inset Note Greyedout
26702 status open
26703
26704 \begin_layout Plain Layout
26705
26706 \series bold
26707 Note:
26708 \series default
26709  Margin notes can normally not be used inside tables, floats, and footnotes.
26710 \end_layout
26711
26712 \end_inset
26713
26714
26715 \end_layout
26716
26717 \begin_layout Standard
26718 \begin_inset VSpace bigskip
26719 \end_inset
26720
26721
26722 \end_layout
26723
26724 \begin_layout Standard
26725 \begin_inset ERT
26726 status collapsed
26727
26728 \begin_layout Plain Layout
26729
26730
26731 \backslash
26732 ifmarginnote
26733 \end_layout
26734
26735 \end_inset
26736
26737
26738 \begin_inset Note Note
26739 status open
26740
26741 \begin_layout Plain Layout
26742 The following section will only be displayed when the LaTeX-package 
26743 \series bold
26744 marginnote
26745 \series default
26746  is installed.
26747 \end_layout
26748
26749 \end_inset
26750
26751
26752 \end_layout
26753
26754 \begin_layout Standard
26755 This restriction can be evaded by using the LaTeX-package 
26756 \series bold
26757 marginnote
26758 \series default
26759
26760 \begin_inset Index idx
26761 status collapsed
26762
26763 \begin_layout Plain Layout
26764 LaTeX-packages ! marginnote
26765 \end_layout
26766
26767 \end_inset
26768
26769 .
26770  By adding these two lines to your document preamble, the command used by
26771  LyX for margin notes is redefined to use the command provided by the 
26772 \series bold
26773 marginnote
26774 \series default
26775 -package:
26776 \end_layout
26777
26778 \begin_layout Standard
26779
26780 \series bold
26781
26782 \backslash
26783 usepackage{marginnote}
26784 \begin_inset Newline newline
26785 \end_inset
26786
26787
26788 \backslash
26789 let
26790 \backslash
26791 marginpar
26792 \backslash
26793 marginnote
26794 \end_layout
26795
26796 \begin_layout Standard
26797 This is also used in this document because 
26798 \series bold
26799 marginnote
26800 \series default
26801  has another useful feature: You can set a vertical offset for the note.
26802  This is often needed when too many margin notes are too close together
26803  or for a better page layout.
26804  The offset is set in LyX as TeX-Code directly after the margin note in
26805  the scheme
26806 \end_layout
26807
26808 \begin_layout Standard
26809
26810 \series bold
26811 [offset]
26812 \end_layout
26813
26814 \begin_layout Standard
26815 where the offset is a length with one of the units listed in Table
26816 \begin_inset space ~
26817 \end_inset
26818
26819
26820 \begin_inset CommandInset ref
26821 LatexCommand ref
26822 reference "tab:Units"
26823
26824 \end_inset
26825
26826 .
26827  A negative value shifts the note up, a positive value shifts it down.
26828  
26829 \family roman
26830 \series medium
26831 For example the margin note beside this text line is shifted up 1.5
26832 \begin_inset space \thinspace{}
26833 \end_inset
26834
26835 cm with the TeX-Code-command 
26836 \begin_inset Quotes eld
26837 \end_inset
26838
26839
26840 \family default
26841 \series bold
26842 [-1.5cm]
26843 \family roman
26844 \series medium
26845
26846 \begin_inset Quotes erd
26847 \end_inset
26848
26849
26850 \begin_inset Marginal
26851 status open
26852
26853 \begin_layout Plain Layout
26854 This margin note is shifted up 1.5
26855 \begin_inset space \thinspace{}
26856 \end_inset
26857
26858 cm from its original position.
26859 \end_layout
26860
26861 \end_inset
26862
26863
26864 \family default
26865 \series default
26866
26867 \begin_inset ERT
26868 status collapsed
26869
26870 \begin_layout Plain Layout
26871
26872 [-1.5cm]
26873 \end_layout
26874
26875 \end_inset
26876
26877
26878 \end_layout
26879
26880 \begin_layout Standard
26881 \begin_inset VSpace medskip
26882 \end_inset
26883
26884 With 
26885 \series bold
26886 marginnote
26887 \series default
26888  you can also change the alignment of the text in the margin note.
26889  For example the commands
26890 \end_layout
26891
26892 \begin_layout Standard
26893
26894 \series bold
26895
26896 \backslash
26897 renewcommand*{
26898 \backslash
26899 raggedleftmarginnote}{
26900 \backslash
26901 centering}
26902 \begin_inset Newline newline
26903 \end_inset
26904
26905
26906 \backslash
26907 renewcommand*{
26908 \backslash
26909 raggedrightmarginnote}{
26910 \backslash
26911 centering}
26912 \end_layout
26913
26914 \begin_layout Standard
26915 set the alignment to centered.
26916  
26917 \series bold
26918
26919 \backslash
26920 raggedleftmarginnote
26921 \series default
26922  denotes margin notes that appear at the left side.
26923 \family roman
26924 \series medium
26925
26926 \begin_inset ERT
26927 status collapsed
26928
26929 \begin_layout Plain Layout
26930
26931
26932 \backslash
26933 renewcommand*{
26934 \backslash
26935 raggedleftmarginnote}{
26936 \backslash
26937 centering}
26938 \end_layout
26939
26940 \begin_layout Plain Layout
26941
26942
26943 \backslash
26944 renewcommand*{
26945 \backslash
26946 raggedrightmarginnote}{
26947 \backslash
26948 centering}
26949 \end_layout
26950
26951 \end_inset
26952
26953
26954 \begin_inset Marginal
26955 status open
26956
26957 \begin_layout Plain Layout
26958 The text of this margin note is centered.
26959 \end_layout
26960
26961 \end_inset
26962
26963
26964 \family default
26965 \series default
26966  The default is
26967 \end_layout
26968
26969 \begin_layout Standard
26970
26971 \series bold
26972
26973 \backslash
26974 renewcommand*{
26975 \backslash
26976 raggedleftmarginnote}{
26977 \backslash
26978 raggedleft}
26979 \begin_inset Newline newline
26980 \end_inset
26981
26982
26983 \backslash
26984 renewcommand*{
26985 \backslash
26986 raggedrightmarginnote}{
26987 \backslash
26988 raggedright}
26989 \family roman
26990 \series medium
26991
26992 \begin_inset ERT
26993 status collapsed
26994
26995 \begin_layout Plain Layout
26996
26997
26998 \backslash
26999 renewcommand*{
27000 \backslash
27001 raggedleftmarginnote}{
27002 \backslash
27003 raggedleft}
27004 \end_layout
27005
27006 \begin_layout Plain Layout
27007
27008
27009 \backslash
27010 renewcommand*{
27011 \backslash
27012 raggedrightmarginnote}{
27013 \backslash
27014 raggedright}
27015 \end_layout
27016
27017 \end_inset
27018
27019
27020 \end_layout
27021
27022 \begin_layout Standard
27023 \begin_inset VSpace medskip
27024 \end_inset
27025
27026 For the other features of 
27027 \series bold
27028 marginnote
27029 \series default
27030  refer to its documentation 
27031 \begin_inset CommandInset citation
27032 LatexCommand cite
27033 key "marginnote"
27034
27035 \end_inset
27036
27037 .
27038 \end_layout
27039
27040 \begin_layout Standard
27041 \begin_inset VSpace bigskip
27042 \end_inset
27043
27044 You can adjust the layout of margin notes by changing its definition.
27045  To create for example a header for all margin notes with the underlined,
27046  sans-serif, and bold header text 
27047 \begin_inset Quotes eld
27048 \end_inset
27049
27050
27051 \family sans
27052 \series bold
27053 \bar under
27054 Attention!
27055 \family default
27056 \series default
27057 \bar default
27058
27059 \begin_inset Quotes erd
27060 \end_inset
27061
27062 , add this to your document preamble:
27063 \end_layout
27064
27065 \begin_layout Standard
27066
27067 \series bold
27068
27069 \backslash
27070 let
27071 \backslash
27072 myMarginpar
27073 \backslash
27074 marginpar
27075 \begin_inset Newline newline
27076 \end_inset
27077
27078
27079 \backslash
27080 renewcommand{
27081 \backslash
27082 marginpar}[1]{
27083 \backslash
27084 myMarginpar{%
27085 \begin_inset Newline newline
27086 \end_inset
27087
27088
27089 \begin_inset Phantom HPhantom
27090 status open
27091
27092 \begin_layout Plain Layout
27093
27094 \series bold
27095 \begin_inset space ~
27096 \end_inset
27097
27098
27099 \end_layout
27100
27101 \end_inset
27102
27103
27104 \backslash
27105 hspace{0pt}
27106 \backslash
27107 textsf{
27108 \backslash
27109 textbf{
27110 \backslash
27111 underbar{Attention!}}}%
27112 \begin_inset Newline newline
27113 \end_inset
27114
27115
27116 \begin_inset Phantom HPhantom
27117 status open
27118
27119 \begin_layout Plain Layout
27120
27121 \series bold
27122 \begin_inset space ~
27123 \end_inset
27124
27125
27126 \end_layout
27127
27128 \end_inset
27129
27130
27131 \backslash
27132 vspace{1.5mm}
27133 \backslash
27134
27135 \backslash
27136 #1}}
27137 \end_layout
27138
27139 \begin_layout Standard
27140
27141 \family roman
27142 \series medium
27143 \begin_inset ERT
27144 status collapsed
27145
27146 \begin_layout Plain Layout
27147
27148
27149 \backslash
27150 let
27151 \backslash
27152 myMarginpar
27153 \backslash
27154 marginpar
27155 \end_layout
27156
27157 \begin_layout Plain Layout
27158
27159
27160 \backslash
27161 renewcommand{
27162 \backslash
27163 marginpar}[1]{
27164 \backslash
27165 myMarginpar{%
27166 \end_layout
27167
27168 \begin_layout Plain Layout
27169
27170    
27171 \backslash
27172 textsf{
27173 \backslash
27174 textbf{
27175 \backslash
27176 underbar{Attention!}}}%
27177 \end_layout
27178
27179 \begin_layout Plain Layout
27180
27181    
27182 \backslash
27183 vspace{1.5mm}
27184 \backslash
27185
27186 \backslash
27187 #1}}
27188 \end_layout
27189
27190 \end_inset
27191
27192
27193 \begin_inset Marginal
27194 status open
27195
27196 \begin_layout Plain Layout
27197 This is a margin note with a defined heading.
27198 \end_layout
27199
27200 \end_inset
27201
27202
27203 \family default
27204 \series default
27205
27206 \begin_inset ERT
27207 status collapsed
27208
27209 \begin_layout Plain Layout
27210
27211 [-1.5cm]
27212 \end_layout
27213
27214 \end_inset
27215
27216
27217 \family roman
27218 \series medium
27219
27220 \begin_inset ERT
27221 status collapsed
27222
27223 \begin_layout Plain Layout
27224
27225
27226 \backslash
27227 renewcommand{
27228 \backslash
27229 marginpar}[1]{
27230 \backslash
27231 myMarginpar{#1}}
27232 \end_layout
27233
27234 \end_inset
27235
27236
27237 \family default
27238 \series default
27239
27240 \begin_inset Note Note
27241 status collapsed
27242
27243 \begin_layout Plain Layout
27244 The margin note format is changed only for this example.
27245 \end_layout
27246
27247 \end_inset
27248
27249
27250 \end_layout
27251
27252 \begin_layout Standard
27253 \begin_inset ERT
27254 status collapsed
27255
27256 \begin_layout Plain Layout
27257
27258
27259 \backslash
27260 else
27261 \end_layout
27262
27263 \end_inset
27264
27265
27266 \begin_inset Note Note
27267 status open
27268
27269 \begin_layout Plain Layout
27270 The following will be displayed when the LaTeX-package 
27271 \series bold
27272 marginnote
27273 \series default
27274  is not installed:
27275 \end_layout
27276
27277 \end_inset
27278
27279
27280 \end_layout
27281
27282 \begin_layout Standard
27283 You need to install the LaTeX-package 
27284 \series bold
27285 marginnote
27286 \series default
27287  to see the following part of this section in the output.
27288 \end_layout
27289
27290 \begin_layout Standard
27291 \begin_inset ERT
27292 status collapsed
27293
27294 \begin_layout Plain Layout
27295
27296
27297 \backslash
27298 fi
27299 \end_layout
27300
27301 \end_inset
27302
27303
27304 \end_layout
27305
27306 \begin_layout Chapter
27307 Boxes
27308 \end_layout
27309
27310 \begin_layout Section
27311 Introduction
27312 \begin_inset Index idx
27313 status collapsed
27314
27315 \begin_layout Plain Layout
27316 Boxes ! Introduction
27317 \end_layout
27318
27319 \end_inset
27320
27321
27322 \end_layout
27323
27324 \begin_layout Standard
27325 Boxes are used to format a block of text.
27326  Boxes can be used to write documents with multiple languages, see section
27327 \begin_inset space ~
27328 \end_inset
27329
27330
27331 \begin_inset CommandInset ref
27332 LatexCommand ref
27333 reference "sec:Minipages"
27334
27335 \end_inset
27336
27337 , to frame texts, see section
27338 \begin_inset space ~
27339 \end_inset
27340
27341
27342 \begin_inset CommandInset ref
27343 LatexCommand ref
27344 reference "sec:Decoration"
27345
27346 \end_inset
27347
27348 , to prevent words from being hyphenated, see section
27349 \begin_inset space ~
27350 \end_inset
27351
27352
27353 \begin_inset CommandInset ref
27354 LatexCommand ref
27355 reference "sec:Prevent-Hyphenation"
27356
27357 \end_inset
27358
27359 , to align text, see section
27360 \begin_inset space ~
27361 \end_inset
27362
27363
27364 \begin_inset CommandInset ref
27365 LatexCommand ref
27366 reference "sub:Vertical-Alignment"
27367
27368 \end_inset
27369
27370 , or to set the background color of texts, see section
27371 \begin_inset space ~
27372 \end_inset
27373
27374
27375 \begin_inset CommandInset ref
27376 LatexCommand ref
27377 reference "sec:Colored-Boxes"
27378
27379 \end_inset
27380
27381 .
27382 \end_layout
27383
27384 \begin_layout Standard
27385 Boxes can be inserted with the menu 
27386 \family sans
27387 Insert\SpecialChar \menuseparator
27388 Box
27389 \family default
27390  or the toolbar button 
27391 \begin_inset Graphics
27392         filename ../images/box-insert.png
27393         scale 85
27394         scaleBeforeRotation
27395
27396 \end_inset
27397
27398 .
27399  A grey box with the label 
27400 \family sans
27401 Box (Minipage)
27402 \family default
27403
27404 \begin_inset Graphics
27405         filename clipart/BoxInsetDefaultQt4.png
27406         scale 85
27407         scaleBeforeRotation
27408
27409 \end_inset
27410
27411  will be inserted.
27412  The box type can be specified by right-clicking on the box and selecting
27413  
27414 \family sans
27415 Settings
27416 \family default
27417 .
27418  The box dialog offers the 
27419 \family sans
27420 Inner
27421 \begin_inset space ~
27422 \end_inset
27423
27424 Box
27425 \family default
27426  types 
27427 \family sans
27428 Makebox
27429 \family default
27430
27431 \family sans
27432 Parbox
27433 \family default
27434  and 
27435 \family sans
27436 Minipage
27437 \family default
27438 .
27439  The type 
27440 \family sans
27441 Minipage
27442 \family default
27443  is the default for new boxes and is explained in section
27444 \begin_inset space ~
27445 \end_inset
27446
27447
27448 \begin_inset CommandInset ref
27449 LatexCommand ref
27450 reference "sec:Minipages"
27451
27452 \end_inset
27453
27454 ; the type 
27455 \family sans
27456 Parbox
27457 \family default
27458  is described in section
27459 \begin_inset space ~
27460 \end_inset
27461
27462
27463 \begin_inset CommandInset ref
27464 LatexCommand ref
27465 reference "sec:Parboxes"
27466
27467 \end_inset
27468
27469  and the type 
27470 \family sans
27471 Makebox
27472 \family default
27473  in 
27474 \begin_inset CommandInset ref
27475 LatexCommand ref
27476 reference "sec:Prevent-Hyphenation"
27477
27478 \end_inset
27479
27480 .
27481 \end_layout
27482
27483 \begin_layout Standard
27484 Boxes are not numbered and can therefore not be referenced like floats or
27485  footnotes.
27486 \end_layout
27487
27488 \begin_layout Standard
27489 \begin_inset Note Greyedout
27490 status open
27491
27492 \begin_layout Plain Layout
27493
27494 \series bold
27495 Note:
27496 \series default
27497  Boxes must not be the item in an 
27498 \family sans
27499 Itemize
27500 \family default
27501  or 
27502 \family sans
27503 Description
27504 \family default
27505  environment.
27506 \end_layout
27507
27508 \end_inset
27509
27510
27511 \end_layout
27512
27513 \begin_layout Standard
27514 \begin_inset Note Greyedout
27515 status open
27516
27517 \begin_layout Plain Layout
27518
27519 \series bold
27520 Note:
27521 \series default
27522  For an unknown reason you can only set the 
27523 \family sans
27524 Inner
27525 \begin_inset space ~
27526 \end_inset
27527
27528 Box
27529 \family default
27530  type to 
27531 \family sans
27532 None
27533 \family default
27534  when you use a framed box.
27535  Boxes without an 
27536 \family sans
27537 Inner
27538 \begin_inset space ~
27539 \end_inset
27540
27541 Box
27542 \family default
27543  type and without frames are explained in section
27544 \begin_inset space ~
27545 \end_inset
27546
27547
27548 \begin_inset CommandInset ref
27549 LatexCommand ref
27550 reference "sec:Prevent-Hyphenation"
27551
27552 \end_inset
27553
27554 .
27555 \end_layout
27556
27557 \end_inset
27558
27559
27560 \end_layout
27561
27562 \begin_layout Section
27563 Box Dialog
27564 \begin_inset CommandInset label
27565 LatexCommand label
27566 name "sec:Box-Dialog"
27567
27568 \end_inset
27569
27570
27571 \begin_inset Index idx
27572 status collapsed
27573
27574 \begin_layout Plain Layout
27575 Boxes ! Box Dialog
27576 \end_layout
27577
27578 \end_inset
27579
27580
27581 \end_layout
27582
27583 \begin_layout Subsection
27584 Size
27585 \begin_inset Index idx
27586 status collapsed
27587
27588 \begin_layout Plain Layout
27589 Boxes ! Size
27590 \end_layout
27591
27592 \end_inset
27593
27594
27595 \end_layout
27596
27597 \begin_layout Standard
27598 In the box dialog you can adjust the box geometry in the fields 
27599 \family sans
27600 Width
27601 \family default
27602  and 
27603 \family sans
27604 Height
27605 \family default
27606 .
27607  The available units for the geometry are explained in Table
27608 \begin_inset space ~
27609 \end_inset
27610
27611
27612 \begin_inset CommandInset ref
27613 LatexCommand ref
27614 reference "tab:Units"
27615
27616 \end_inset
27617
27618 .
27619  The field 
27620 \family sans
27621 Height
27622 \family default
27623  offers the following additional sizes:
27624 \end_layout
27625
27626 \begin_layout Description
27627 Depth This is the plain text 
27628 \begin_inset Quotes eld
27629 \end_inset
27630
27631 height
27632 \begin_inset Quotes erd
27633 \end_inset
27634
27635 .
27636  It ignores the total depth when there are multiple text lines in the box:
27637 \begin_inset Newline newline
27638 \end_inset
27639
27640
27641 \begin_inset Newline newline
27642 \end_inset
27643
27644
27645 \begin_inset Newline newline
27646 \end_inset
27647
27648
27649 \begin_inset Box Boxed
27650 position "c"
27651 hor_pos "c"
27652 has_inner_box 1
27653 inner_pos "c"
27654 use_parbox 0
27655 use_makebox 0
27656 width "12col%"
27657 special "none"
27658 height "1in"
27659 height_special "depth"
27660 status collapsed
27661
27662 \begin_layout Plain Layout
27663 \align center
27664 Box height set to 1
27665 \begin_inset space \thinspace{}
27666 \end_inset
27667
27668 Depth
27669 \end_layout
27670
27671 \end_inset
27672
27673
27674 \begin_inset Newline newline
27675 \end_inset
27676
27677
27678 \begin_inset Newline newline
27679 \end_inset
27680
27681
27682 \end_layout
27683
27684 \begin_layout Description
27685 Height This is the height of the text that is inside the box.
27686  A value of e.
27687 \begin_inset space \thinspace{}
27688 \end_inset
27689
27690 g.
27691 \begin_inset space \space{}
27692 \end_inset
27693
27694 2 for this size will set the box height to 2
27695 \begin_inset space ~
27696 \end_inset
27697
27698 times the text height: 
27699 \begin_inset Box Boxed
27700 position "c"
27701 hor_pos "c"
27702 has_inner_box 1
27703 inner_pos "c"
27704 use_parbox 0
27705 use_makebox 0
27706 width "20col%"
27707 special "none"
27708 height "2in"
27709 height_special "height"
27710 status collapsed
27711
27712 \begin_layout Plain Layout
27713 \align center
27714 Box height set to 2
27715 \begin_inset space \thinspace{}
27716 \end_inset
27717
27718 Height
27719 \end_layout
27720
27721 \end_inset
27722
27723
27724 \end_layout
27725
27726 \begin_layout Description
27727 Total
27728 \begin_inset space ~
27729 \end_inset
27730
27731 Height This is the Height
27732 \begin_inset space \thinspace{}
27733 \end_inset
27734
27735 +
27736 \begin_inset space \thinspace{}
27737 \end_inset
27738
27739 Depth: 
27740 \begin_inset Box Boxed
27741 position "c"
27742 hor_pos "c"
27743 has_inner_box 1
27744 inner_pos "c"
27745 use_parbox 0
27746 use_makebox 0
27747 width "20col%"
27748 special "none"
27749 height "1in"
27750 height_special "totalheight"
27751 status collapsed
27752
27753 \begin_layout Plain Layout
27754 \align center
27755 Box height set to 1
27756 \begin_inset space \thinspace{}
27757 \end_inset
27758
27759 Total
27760 \begin_inset space ~
27761 \end_inset
27762
27763 Height
27764 \end_layout
27765
27766 \end_inset
27767
27768
27769 \end_layout
27770
27771 \begin_layout Description
27772 Width This sets the width of the box as height: 
27773 \begin_inset Box Boxed
27774 position "c"
27775 hor_pos "c"
27776 has_inner_box 1
27777 inner_pos "c"
27778 use_parbox 0
27779 use_makebox 0
27780 width "12col%"
27781 special "none"
27782 height "1in"
27783 height_special "width"
27784 status collapsed
27785
27786 \begin_layout Plain Layout
27787 \align center
27788 Box height set to 1
27789 \begin_inset space \thinspace{}
27790 \end_inset
27791
27792 Width
27793 \end_layout
27794
27795 \end_inset
27796
27797
27798 \end_layout
27799
27800 \begin_layout Subsection
27801 Alignment
27802 \begin_inset Index idx
27803 status collapsed
27804
27805 \begin_layout Plain Layout
27806 Boxes ! Alignment
27807 \end_layout
27808
27809 \end_inset
27810
27811
27812 \end_layout
27813
27814 \begin_layout Standard
27815 When you have chosen an 
27816 \family sans
27817 Inner
27818 \begin_inset space ~
27819 \end_inset
27820
27821 Box
27822 \family default
27823 , the vertical box alignment can be:
27824 \end_layout
27825
27826 \begin_layout Description
27827 Top This is an example text line.
27828  
27829 \begin_inset Box Boxed
27830 position "t"
27831 hor_pos "c"
27832 has_inner_box 1
27833 inner_pos "c"
27834 use_parbox 0
27835 use_makebox 0
27836 width "12col%"
27837 special "none"
27838 height "1in"
27839 height_special "totalheight"
27840 status collapsed
27841
27842 \begin_layout Plain Layout
27843 \align center
27844 This box is top-aligned.
27845 \end_layout
27846
27847 \end_inset
27848
27849  This is an example text line.
27850 \end_layout
27851
27852 \begin_layout Description
27853 Middle This is an example text line.
27854  
27855 \begin_inset Box Boxed
27856 position "c"
27857 hor_pos "c"
27858 has_inner_box 1
27859 inner_pos "c"
27860 use_parbox 0
27861 use_makebox 0
27862 width "12col%"
27863 special "none"
27864 height "1in"
27865 height_special "totalheight"
27866 status collapsed
27867
27868 \begin_layout Plain Layout
27869 \align center
27870 This box is middle-aligned.
27871 \end_layout
27872
27873 \end_inset
27874
27875  This is an example text line.
27876 \end_layout
27877
27878 \begin_layout Description
27879 Bottom This is an example text line.
27880  
27881 \begin_inset Box Boxed
27882 position "b"
27883 hor_pos "c"
27884 has_inner_box 1
27885 inner_pos "c"
27886 use_parbox 0
27887 use_makebox 0
27888 width "12col%"
27889 special "none"
27890 height "1in"
27891 height_special "totalheight"
27892 status collapsed
27893
27894 \begin_layout Plain Layout
27895 \align center
27896 This box is bottom-aligned.
27897 \end_layout
27898
27899 \end_inset
27900
27901  This is an example text line.
27902 \end_layout
27903
27904 \begin_layout Standard
27905 \begin_inset Note Greyedout
27906 status open
27907
27908 \begin_layout Plain Layout
27909
27910 \series bold
27911 Note:
27912 \series default
27913  The vertical box alignment can be lost in the output when you have two
27914  boxes in a line and one has e.
27915 \begin_inset space \thinspace{}
27916 \end_inset
27917
27918 g.
27919 \begin_inset space \space{}
27920 \end_inset
27921
27922 a shadow and the other one not.
27923 \end_layout
27924
27925 \end_inset
27926
27927
27928 \end_layout
27929
27930 \begin_layout Standard
27931 The horizontal box alignment can be set via LyX's paragraph dialog when
27932  you set the box into its own paragraph.
27933 \end_layout
27934
27935 \begin_layout Standard
27936 \begin_inset VSpace bigskip
27937 \end_inset
27938
27939 When you have chosen an 
27940 \family sans
27941 Inner
27942 \begin_inset space ~
27943 \end_inset
27944
27945 Box
27946 \family default
27947 , the box content can be aligned vertically to:
27948 \end_layout
27949
27950 \begin_layout Description
27951 top This is an example text line.
27952  
27953 \begin_inset Box Boxed
27954 position "c"
27955 hor_pos "c"
27956 has_inner_box 1
27957 inner_pos "t"
27958 use_parbox 0
27959 use_makebox 0
27960 width "12col%"
27961 special "none"
27962 height "1.5in"
27963 height_special "totalheight"
27964 status collapsed
27965
27966 \begin_layout Plain Layout
27967 \align center
27968 This box text is top-aligned.
27969 \end_layout
27970
27971 \end_inset
27972
27973  This is an example text line.
27974 \end_layout
27975
27976 \begin_layout Description
27977 middle This is an example text line.
27978  
27979 \begin_inset Box Boxed
27980 position "c"
27981 hor_pos "c"
27982 has_inner_box 1
27983 inner_pos "c"
27984 use_parbox 0
27985 use_makebox 0
27986 width "12col%"
27987 special "none"
27988 height "1.5in"
27989 height_special "totalheight"
27990 status collapsed
27991
27992 \begin_layout Plain Layout
27993 \align center
27994 This box text is middle-aligned.
27995 \end_layout
27996
27997 \end_inset
27998
27999  This is an example text line.
28000 \end_layout
28001
28002 \begin_layout Description
28003 bottom This is an example text line.
28004  
28005 \begin_inset Box Boxed
28006 position "c"
28007 hor_pos "c"
28008 has_inner_box 1
28009 inner_pos "b"
28010 use_parbox 0
28011 use_makebox 0
28012 width "12col%"
28013 special "none"
28014 height "1.5in"
28015 height_special "totalheight"
28016 status collapsed
28017
28018 \begin_layout Plain Layout
28019 \align center
28020 This box text is bottom-aligned.
28021 \end_layout
28022
28023 \end_inset
28024
28025  This is an example text line.
28026 \end_layout
28027
28028 \begin_layout Description
28029 stretch This is an example text line.
28030  
28031 \begin_inset Box Boxed
28032 position "c"
28033 hor_pos "c"
28034 has_inner_box 1
28035 inner_pos "s"
28036 use_parbox 0
28037 use_makebox 0
28038 width "12col%"
28039 special "none"
28040 height "1.5in"
28041 height_special "totalheight"
28042 status collapsed
28043
28044 \begin_layout Plain Layout
28045 \align center
28046 This box
28047 \end_layout
28048
28049 \begin_layout Plain Layout
28050 \align center
28051 text is
28052 \end_layout
28053
28054 \begin_layout Plain Layout
28055 \align center
28056 stretched.
28057 \end_layout
28058
28059 \end_inset
28060
28061  This is an example text line.
28062 \end_layout
28063
28064 \begin_layout Standard
28065 To stretch the box content, it must consist of more than one paragraph.
28066  In the example above every text line is in an own paragraph.
28067 \end_layout
28068
28069 \begin_layout Standard
28070 \begin_inset VSpace bigskip
28071 \end_inset
28072
28073 To align the box content horizontally you can use LyX's paragraph dialog
28074  when you have chosen an 
28075 \family sans
28076 Inner
28077 \begin_inset space ~
28078 \end_inset
28079
28080 Box
28081 \family default
28082 .
28083 \end_layout
28084
28085 \begin_layout Standard
28086 \align center
28087 \begin_inset Box Boxed
28088 position "c"
28089 hor_pos "c"
28090 has_inner_box 1
28091 inner_pos "s"
28092 use_parbox 0
28093 use_makebox 0
28094 width "15col%"
28095 special "none"
28096 height "1.25in"
28097 height_special "totalheight"
28098 status collapsed
28099
28100 \begin_layout Plain Layout
28101 \align left
28102 This box
28103 \end_layout
28104
28105 \begin_layout Plain Layout
28106 \align center
28107 text is
28108 \end_layout
28109
28110 \begin_layout Plain Layout
28111 \align right
28112 stretched.
28113 \end_layout
28114
28115 \end_inset
28116
28117
28118 \end_layout
28119
28120 \begin_layout Standard
28121 If you have not set an 
28122 \family sans
28123 Inner
28124 \begin_inset space ~
28125 \end_inset
28126
28127 Box
28128 \family default
28129 , you can align the box content horizontally in the box dialog.
28130 \end_layout
28131
28132 \begin_layout Standard
28133 \align center
28134 \begin_inset Box Boxed
28135 position "c"
28136 hor_pos "s"
28137 has_inner_box 0
28138 inner_pos "s"
28139 use_parbox 0
28140 use_makebox 0
28141 width "90col%"
28142 special "none"
28143 height "1.25in"
28144 height_special "totalheight"
28145 status collapsed
28146
28147 \begin_layout Plain Layout
28148 This box text is horizontally stretched.
28149 \end_layout
28150
28151 \end_inset
28152
28153
28154 \end_layout
28155
28156 \begin_layout Subsection
28157 Decoration
28158 \begin_inset CommandInset label
28159 LatexCommand label
28160 name "sec:Decoration"
28161
28162 \end_inset
28163
28164
28165 \begin_inset Index idx
28166 status collapsed
28167
28168 \begin_layout Plain Layout
28169 Boxes ! Decoration
28170 \end_layout
28171
28172 \end_inset
28173
28174
28175 \end_layout
28176
28177 \begin_layout Standard
28178 The type of the box can be specified in the box dialog in the drop-down
28179  list 
28180 \family sans
28181 Decoration
28182 \family default
28183 .
28184  The following types are possible:
28185 \end_layout
28186
28187 \begin_layout Description
28188 No
28189 \begin_inset space ~
28190 \end_inset
28191
28192 frame Nothing is drawn.
28193 \end_layout
28194
28195 \begin_layout Description
28196 Simple
28197 \begin_inset space ~
28198 \end_inset
28199
28200 rectangular
28201 \begin_inset space ~
28202 \end_inset
28203
28204 frame This draws a rectangular frame around the box.
28205  The frame line thickness has the size of 
28206 \series bold
28207
28208 \backslash
28209 fboxrule
28210 \series default
28211 .
28212  
28213 \begin_inset Box Boxed
28214 position "c"
28215 hor_pos "c"
28216 has_inner_box 1
28217 inner_pos "c"
28218 use_parbox 0
28219 use_makebox 0
28220 width "20col%"
28221 special "none"
28222 height "1in"
28223 height_special "totalheight"
28224 status collapsed
28225
28226 \begin_layout Plain Layout
28227 \align center
28228 Rectangular box
28229 \end_layout
28230
28231 \end_inset
28232
28233
28234 \end_layout
28235
28236 \begin_layout Description
28237 Oval
28238 \begin_inset space ~
28239 \end_inset
28240
28241 box,
28242 \begin_inset space ~
28243 \end_inset
28244
28245 thin This draws an oval frame around the box.
28246  The frame line thickness has the size 0.4
28247 \begin_inset space \thinspace{}
28248 \end_inset
28249
28250 pt.
28251  
28252 \begin_inset Box ovalbox
28253 position "c"
28254 hor_pos "c"
28255 has_inner_box 1
28256 inner_pos "c"
28257 use_parbox 0
28258 use_makebox 0
28259 width "20col%"
28260 special "none"
28261 height "1in"
28262 height_special "totalheight"
28263 status collapsed
28264
28265 \begin_layout Plain Layout
28266 \align center
28267 Oval box, thin
28268 \end_layout
28269
28270 \end_inset
28271
28272
28273 \end_layout
28274
28275 \begin_layout Description
28276 Oval
28277 \begin_inset space ~
28278 \end_inset
28279
28280 box,
28281 \begin_inset space ~
28282 \end_inset
28283
28284 thick This draws an oval frame around the box.
28285  The frame line thickness has the size 0.8
28286 \begin_inset space \thinspace{}
28287 \end_inset
28288
28289 pt.
28290  
28291 \begin_inset Box Ovalbox
28292 position "c"
28293 hor_pos "c"
28294 has_inner_box 1
28295 inner_pos "c"
28296 use_parbox 0
28297 use_makebox 0
28298 width "20col%"
28299 special "none"
28300 height "1in"
28301 height_special "totalheight"
28302 status collapsed
28303
28304 \begin_layout Plain Layout
28305 \align center
28306 Oval box, thick
28307 \end_layout
28308
28309 \end_inset
28310
28311
28312 \end_layout
28313
28314 \begin_layout Description
28315 Drop
28316 \begin_inset space ~
28317 \end_inset
28318
28319 shadow This draws a rectangular frame with a shadow around the box.
28320  The frame line thickness has the size of 
28321 \series bold
28322
28323 \backslash
28324 fboxrule
28325 \series default
28326 , the shadow has a width of 4
28327 \begin_inset space \thinspace{}
28328 \end_inset
28329
28330 pt.
28331  
28332 \begin_inset Box Shadowbox
28333 position "c"
28334 hor_pos "c"
28335 has_inner_box 1
28336 inner_pos "c"
28337 use_parbox 0
28338 use_makebox 0
28339 width "20col%"
28340 special "none"
28341 height "1in"
28342 height_special "totalheight"
28343 status collapsed
28344
28345 \begin_layout Plain Layout
28346 \align center
28347 Shadow box
28348 \end_layout
28349
28350 \end_inset
28351
28352
28353 \end_layout
28354
28355 \begin_layout Description
28356 Shaded
28357 \begin_inset space ~
28358 \end_inset
28359
28360 background This draws a box with a red background.
28361  Unlike colored boxes
28362 \begin_inset Foot
28363 status collapsed
28364
28365 \begin_layout Plain Layout
28366 see sec.
28367 \begin_inset space \thinspace{}
28368 \end_inset
28369
28370
28371 \begin_inset CommandInset ref
28372 LatexCommand ref
28373 reference "sec:Colored-Boxes"
28374
28375 \end_inset
28376
28377
28378 \end_layout
28379
28380 \end_inset
28381
28382 , it always uses the whole column width and the box is set as its own paragraph.
28383  
28384 \begin_inset Box Shaded
28385 position "t"
28386 hor_pos "c"
28387 has_inner_box 0
28388 inner_pos "t"
28389 use_parbox 0
28390 use_makebox 0
28391 width "50col%"
28392 special "none"
28393 height "1in"
28394 height_special "totalheight"
28395 status collapsed
28396
28397 \begin_layout Plain Layout
28398 Shaded background box
28399 \end_layout
28400
28401 \end_inset
28402
28403
28404 \end_layout
28405
28406 \begin_layout Description
28407 Double
28408 \begin_inset space ~
28409 \end_inset
28410
28411 rectangular
28412 \begin_inset space ~
28413 \end_inset
28414
28415 frame This draws a double-line rectangular frame around the box.
28416  The line thickness of the inner frame is 0.75
28417 \begin_inset space \thinspace{}
28418 \end_inset
28419
28420
28421 \series bold
28422
28423 \backslash
28424 fboxrule
28425 \series default
28426 , the thickness of the outer frame is 1.5
28427 \begin_inset space \thinspace{}
28428 \end_inset
28429
28430
28431 \series bold
28432
28433 \backslash
28434 fboxrule
28435 \series default
28436 .
28437  The distance between the lines is 1.5
28438 \begin_inset space \thinspace{}
28439 \end_inset
28440
28441
28442 \series bold
28443
28444 \backslash
28445 fboxrule
28446 \series default
28447
28448 \begin_inset space \thinspace{}
28449 \end_inset
28450
28451 +
28452 \begin_inset space \thinspace{}
28453 \end_inset
28454
28455 0.5
28456 \begin_inset space \thinspace{}
28457 \end_inset
28458
28459 pt.
28460  
28461 \begin_inset Box Doublebox
28462 position "c"
28463 hor_pos "c"
28464 has_inner_box 1
28465 inner_pos "c"
28466 use_parbox 0
28467 use_makebox 0
28468 width "20col%"
28469 special "none"
28470 height "1in"
28471 height_special "totalheight"
28472 status collapsed
28473
28474 \begin_layout Plain Layout
28475 \align center
28476 Double rectangular box
28477 \end_layout
28478
28479 \end_inset
28480
28481
28482 \end_layout
28483
28484 \begin_layout Standard
28485 \begin_inset VSpace bigskip
28486 \end_inset
28487
28488 LyX's box label will reflect the different frame types.
28489  To be able to use all types, the LaTeX-package 
28490 \series bold
28491 fancybox
28492 \series default
28493
28494 \begin_inset Index idx
28495 status collapsed
28496
28497 \begin_layout Plain Layout
28498 LaTeX-packages ! fancybox
28499 \end_layout
28500
28501 \end_inset
28502
28503  must be installed.
28504 \end_layout
28505
28506 \begin_layout Standard
28507 \begin_inset VSpace bigskip
28508 \end_inset
28509
28510 When you use the decoration 
28511 \family sans
28512 simple rectangular frame
28513 \family default
28514  and no inner box, you can allow page breaks within a box.
28515  Note that then, unlike other framed boxes, the frame always uses the whole
28516  column width, the box is set as its own paragraph, and 
28517 \series bold
28518
28519 \backslash
28520 fboxrule
28521 \series default
28522  and 
28523 \series bold
28524
28525 \backslash
28526 fboxsep
28527 \series default
28528  have no effect on this box type.
28529  The frame line thickness has the size of 
28530 \series bold
28531
28532 \backslash
28533 FrameRule
28534 \series default
28535 .
28536  
28537 \begin_inset Box Framed
28538 position "t"
28539 hor_pos "c"
28540 has_inner_box 0
28541 inner_pos "t"
28542 use_parbox 0
28543 use_makebox 0
28544 width "100col%"
28545 special "none"
28546 height "1in"
28547 height_special "totalheight"
28548 status collapsed
28549
28550 \begin_layout Plain Layout
28551 Allow page break box
28552 \end_layout
28553
28554 \end_inset
28555
28556
28557 \end_layout
28558
28559 \begin_layout Section
28560 Box Customization
28561 \begin_inset Index idx
28562 status collapsed
28563
28564 \begin_layout Plain Layout
28565 Boxes ! Customization
28566 \end_layout
28567
28568 \end_inset
28569
28570
28571 \end_layout
28572
28573 \begin_layout Standard
28574 The default value for the size 
28575 \series bold
28576
28577 \backslash
28578 fboxrule
28579 \series default
28580  is 0.4
28581 \begin_inset space \thinspace{}
28582 \end_inset
28583
28584 pt.
28585  It can be changed with the following command in TeX-code to e.
28586 \begin_inset space \thinspace{}
28587 \end_inset
28588
28589 g.
28590 \begin_inset space \space{}
28591 \end_inset
28592
28593 2
28594 \begin_inset space \thinspace{}
28595 \end_inset
28596
28597 pt:
28598 \end_layout
28599
28600 \begin_layout Standard
28601
28602 \series bold
28603
28604 \backslash
28605 setlength{
28606 \backslash
28607 fboxrule}{2pt}
28608 \end_layout
28609
28610 \begin_layout Standard
28611 \begin_inset ERT
28612 status collapsed
28613
28614 \begin_layout Plain Layout
28615
28616
28617 \backslash
28618 setlength{
28619 \backslash
28620 fboxrule}{2pt}
28621 \end_layout
28622
28623 \end_inset
28624
28625
28626 \begin_inset Box Boxed
28627 position "c"
28628 hor_pos "c"
28629 has_inner_box 1
28630 inner_pos "c"
28631 use_parbox 0
28632 use_makebox 0
28633 width "25col%"
28634 special "none"
28635 height "1in"
28636 height_special "totalheight"
28637 status open
28638
28639 \begin_layout Plain Layout
28640 \align center
28641 Rectangular box with 
28642 \series bold
28643
28644 \backslash
28645 fboxrule
28646 \series default
28647
28648 \begin_inset space \thinspace{}
28649 \end_inset
28650
28651 =
28652 \begin_inset space \thinspace{}
28653 \end_inset
28654
28655 2
28656 \begin_inset space \thinspace{}
28657 \end_inset
28658
28659 pt
28660 \end_layout
28661
28662 \end_inset
28663
28664
28665 \begin_inset ERT
28666 status collapsed
28667
28668 \begin_layout Plain Layout
28669
28670
28671 \backslash
28672 setlength{
28673 \backslash
28674 fboxrule}{0.4pt}
28675 \end_layout
28676
28677 \end_inset
28678
28679
28680 \end_layout
28681
28682 \begin_layout Standard
28683 \begin_inset VSpace bigskip
28684 \end_inset
28685
28686 The space between the frame and the box content is for all frame styles
28687  by default 3
28688 \begin_inset space \thinspace{}
28689 \end_inset
28690
28691 pt.
28692  You can change it by setting the length 
28693 \series bold
28694
28695 \backslash
28696 fboxsep
28697 \series default
28698  to another value.
28699  For example the command
28700 \end_layout
28701
28702 \begin_layout Standard
28703
28704 \series bold
28705
28706 \backslash
28707 setlength{
28708 \backslash
28709 fboxsep}{10pt}
28710 \end_layout
28711
28712 \begin_layout Standard
28713 sets the value to 10
28714 \begin_inset space \thinspace{}
28715 \end_inset
28716
28717 pt, as with the following box:
28718 \end_layout
28719
28720 \begin_layout Standard
28721 \begin_inset ERT
28722 status collapsed
28723
28724 \begin_layout Plain Layout
28725
28726
28727 \backslash
28728 setlength{
28729 \backslash
28730 fboxsep}{10pt}
28731 \end_layout
28732
28733 \end_inset
28734
28735
28736 \begin_inset Box Boxed
28737 position "c"
28738 hor_pos "c"
28739 has_inner_box 1
28740 inner_pos "c"
28741 use_parbox 0
28742 use_makebox 0
28743 width "25col%"
28744 special "none"
28745 height "1in"
28746 height_special "totalheight"
28747 status open
28748
28749 \begin_layout Plain Layout
28750 \align center
28751 Rectangular box with 
28752 \series bold
28753
28754 \backslash
28755 fboxsep
28756 \series default
28757
28758 \begin_inset space \thinspace{}
28759 \end_inset
28760
28761 =
28762 \begin_inset space \thinspace{}
28763 \end_inset
28764
28765 10
28766 \begin_inset space \thinspace{}
28767 \end_inset
28768
28769 pt
28770 \end_layout
28771
28772 \end_inset
28773
28774
28775 \begin_inset ERT
28776 status collapsed
28777
28778 \begin_layout Plain Layout
28779
28780
28781 \backslash
28782 setlength{
28783 \backslash
28784 fboxsep}{3pt}
28785 \end_layout
28786
28787 \end_inset
28788
28789
28790 \end_layout
28791
28792 \begin_layout Standard
28793 \begin_inset VSpace bigskip
28794 \end_inset
28795
28796 The diameter of the round corners of the oval boxes can be set with the
28797  command 
28798 \series bold
28799
28800 \backslash
28801 cornersize
28802 \series default
28803 .
28804  The command
28805 \end_layout
28806
28807 \begin_layout Standard
28808
28809 \series bold
28810
28811 \backslash
28812 cornersize*{1cm}
28813 \end_layout
28814
28815 \begin_layout Standard
28816 sets the diameter to 1
28817 \begin_inset space \thinspace{}
28818 \end_inset
28819
28820 cm.
28821  The command
28822 \end_layout
28823
28824 \begin_layout Standard
28825
28826 \series bold
28827
28828 \backslash
28829 cornersize{num}
28830 \end_layout
28831
28832 \begin_layout Standard
28833 sets the diameter to 
28834 \family sans
28835 num
28836 \begin_inset space \thinspace{}
28837 \end_inset
28838
28839 ×
28840 \begin_inset space \thinspace{}
28841 \end_inset
28842
28843 minimum(width and height of box)
28844 \family default
28845 .
28846  The default is 
28847 \series bold
28848
28849 \backslash
28850 cornersize{0.5}
28851 \series default
28852 .
28853 \end_layout
28854
28855 \begin_layout Standard
28856 \begin_inset ERT
28857 status collapsed
28858
28859 \begin_layout Plain Layout
28860
28861
28862 \backslash
28863 cornersize*{1.5cm}
28864 \end_layout
28865
28866 \end_inset
28867
28868
28869 \begin_inset Box Ovalbox
28870 position "c"
28871 hor_pos "c"
28872 has_inner_box 1
28873 inner_pos "c"
28874 use_parbox 0
28875 use_makebox 0
28876 width "25col%"
28877 special "none"
28878 height "1in"
28879 height_special "totalheight"
28880 status open
28881
28882 \begin_layout Plain Layout
28883 \align center
28884 Oval box with 
28885 \series bold
28886
28887 \backslash
28888 cornersize
28889 \series default
28890
28891 \begin_inset space \thinspace{}
28892 \end_inset
28893
28894 =
28895 \begin_inset space \thinspace{}
28896 \end_inset
28897
28898 1.5
28899 \begin_inset space \thinspace{}
28900 \end_inset
28901
28902 cm
28903 \end_layout
28904
28905 \end_inset
28906
28907
28908 \begin_inset ERT
28909 status collapsed
28910
28911 \begin_layout Plain Layout
28912
28913
28914 \backslash
28915 cornersize{0.5}
28916 \end_layout
28917
28918 \end_inset
28919
28920
28921 \end_layout
28922
28923 \begin_layout Standard
28924 \begin_inset VSpace bigskip
28925 \end_inset
28926
28927 The size of the shadow can be adjusted by changing the length 
28928 \series bold
28929
28930 \backslash
28931 shadowsize
28932 \series default
28933 .
28934  It it set to 2
28935 \begin_inset space \thinspace{}
28936 \end_inset
28937
28938 pt for the following box by this command:
28939 \end_layout
28940
28941 \begin_layout Standard
28942
28943 \series bold
28944
28945 \backslash
28946 setlength{
28947 \backslash
28948 shadowsize}{2pt}
28949 \end_layout
28950
28951 \begin_layout Standard
28952 \begin_inset ERT
28953 status collapsed
28954
28955 \begin_layout Plain Layout
28956
28957
28958 \backslash
28959 setlength{
28960 \backslash
28961 shadowsize}{2pt}
28962 \end_layout
28963
28964 \end_inset
28965
28966
28967 \begin_inset Box Shadowbox
28968 position "c"
28969 hor_pos "c"
28970 has_inner_box 1
28971 inner_pos "c"
28972 use_parbox 0
28973 use_makebox 0
28974 width "25col%"
28975 special "none"
28976 height "1in"
28977 height_special "totalheight"
28978 status open
28979
28980 \begin_layout Plain Layout
28981 \align center
28982 Shadow box with 
28983 \series bold
28984
28985 \backslash
28986 shadowsize
28987 \series default
28988
28989 \begin_inset space \thinspace{}
28990 \end_inset
28991
28992 =
28993 \begin_inset space \thinspace{}
28994 \end_inset
28995
28996 2
28997 \begin_inset space \thinspace{}
28998 \end_inset
28999
29000 pt
29001 \end_layout
29002
29003 \end_inset
29004
29005
29006 \begin_inset ERT
29007 status collapsed
29008
29009 \begin_layout Plain Layout
29010
29011
29012 \backslash
29013 setlength{
29014 \backslash
29015 shadowsize}{4pt}
29016 \end_layout
29017
29018 \end_inset
29019
29020
29021 \end_layout
29022
29023 \begin_layout Standard
29024 \begin_inset VSpace bigskip
29025 \end_inset
29026
29027
29028 \end_layout
29029
29030 \begin_layout Standard
29031 The default value for the size 
29032 \series bold
29033
29034 \backslash
29035 FrameRule
29036 \series default
29037  is 0.4
29038 \begin_inset space \thinspace{}
29039 \end_inset
29040
29041 pt.
29042  The default space between the note content and the frame is 9
29043 \begin_inset space \thinspace{}
29044 \end_inset
29045
29046 pt and can be changed with the value of 
29047 \series bold
29048
29049 \backslash
29050 FrameSep
29051 \series default
29052 .
29053  For example the frame appearance of the following 
29054 \family sans
29055 box
29056 \family default
29057  is set with the TeX-Code commands
29058 \end_layout
29059
29060 \begin_layout Standard
29061
29062 \series bold
29063
29064 \backslash
29065 setlength{
29066 \backslash
29067 FrameRule}{5pt}
29068 \begin_inset Newline newline
29069 \end_inset
29070
29071
29072 \backslash
29073 setlength{
29074 \backslash
29075 FrameSep}{0.5cm}
29076 \end_layout
29077
29078 \begin_layout Standard
29079 \begin_inset ERT
29080 status collapsed
29081
29082 \begin_layout Plain Layout
29083
29084
29085 \backslash
29086 setlength{
29087 \backslash
29088 FrameRule}{5pt}
29089 \end_layout
29090
29091 \begin_layout Plain Layout
29092
29093
29094 \backslash
29095 setlength{
29096 \backslash
29097 FrameSep}{0.5cm}
29098 \end_layout
29099
29100 \end_inset
29101
29102
29103 \begin_inset Box Framed
29104 position "t"
29105 hor_pos "c"
29106 has_inner_box 0
29107 inner_pos "t"
29108 use_parbox 0
29109 use_makebox 0
29110 width "100col%"
29111 special "none"
29112 height "1in"
29113 height_special "totalheight"
29114 status open
29115
29116 \begin_layout Plain Layout
29117 This is text in an 
29118 \family sans
29119 allow page break
29120 \family default
29121  box.
29122 \end_layout
29123
29124 \end_inset
29125
29126
29127 \begin_inset ERT
29128 status collapsed
29129
29130 \begin_layout Plain Layout
29131
29132
29133 \backslash
29134 setlength{
29135 \backslash
29136 FrameRule}{0.4pt}
29137 \end_layout
29138
29139 \begin_layout Plain Layout
29140
29141
29142 \backslash
29143 setlength{
29144 \backslash
29145 FrameSep}{9pt}
29146 \end_layout
29147
29148 \end_inset
29149
29150
29151 \end_layout
29152
29153 \begin_layout Standard
29154 \begin_inset VSpace bigskip
29155 \end_inset
29156
29157
29158 \end_layout
29159
29160 \begin_layout Standard
29161 For 
29162 \family sans
29163 shaded background
29164 \family default
29165  boxes the default space between the box content and the box border is 3
29166 \begin_inset space \thinspace{}
29167 \end_inset
29168
29169 pt and can be changed with the value of 
29170 \series bold
29171
29172 \backslash
29173 fboxsep
29174 \series default
29175 .
29176  The default background color red can either be changed locally with the
29177  command 
29178 \series bold
29179
29180 \backslash
29181 definecolor{shadecolor}
29182 \series default
29183  or globally with the menu 
29184 \family sans
29185 Tools\SpecialChar \menuseparator
29186 Preferences\SpecialChar \menuseparator
29187 Colors\SpecialChar \menuseparator
29188 shaded
29189 \begin_inset space ~
29190 \end_inset
29191
29192 box
29193 \family default
29194 .
29195  The scheme of the 
29196 \series bold
29197
29198 \backslash
29199 definecolor
29200 \series default
29201  command is explained in section
29202 \begin_inset space ~
29203 \end_inset
29204
29205
29206 \begin_inset CommandInset ref
29207 LatexCommand ref
29208 reference "sec:Colored-Tables"
29209
29210 \end_inset
29211
29212 .
29213 \begin_inset Foot
29214 status collapsed
29215
29216 \begin_layout Plain Layout
29217 Note that 
29218 \series bold
29219
29220 \backslash
29221 definecolor
29222 \series default
29223  requires the LaTeX-package 
29224 \series bold
29225 color
29226 \series default
29227  in the preamble, see section
29228 \begin_inset space ~
29229 \end_inset
29230
29231
29232 \begin_inset CommandInset ref
29233 LatexCommand ref
29234 reference "sec:Colored-Boxes"
29235
29236 \end_inset
29237
29238 .
29239 \end_layout
29240
29241 \end_inset
29242
29243  For example the appearance of the following shaded background box is set
29244  with the TeX-Code commands
29245 \end_layout
29246
29247 \begin_layout Standard
29248
29249 \series bold
29250
29251 \backslash
29252 setlength{
29253 \backslash
29254 fboxsep}{0.5cm}
29255 \series default
29256
29257 \begin_inset Newline newline
29258 \end_inset
29259
29260
29261 \series bold
29262
29263 \backslash
29264 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29265 \end_layout
29266
29267 \begin_layout Standard
29268 \begin_inset ERT
29269 status collapsed
29270
29271 \begin_layout Plain Layout
29272
29273
29274 \backslash
29275 setlength{
29276 \backslash
29277 fboxsep}{0.5cm}
29278 \end_layout
29279
29280 \begin_layout Plain Layout
29281
29282
29283 \backslash
29284 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29285 \end_layout
29286
29287 \end_inset
29288
29289
29290 \begin_inset Box Shaded
29291 position "t"
29292 hor_pos "c"
29293 has_inner_box 0
29294 inner_pos "t"
29295 use_parbox 0
29296 use_makebox 0
29297 width "100col%"
29298 special "none"
29299 height "1in"
29300 height_special "totalheight"
29301 status open
29302
29303 \begin_layout Plain Layout
29304
29305 \color yellow
29306 This is yellow text in a
29307 \color none
29308  
29309 \family sans
29310 \color yellow
29311 shaded background
29312 \family default
29313 \color none
29314  
29315 \color yellow
29316 box with dark green background.
29317 \end_layout
29318
29319 \end_inset
29320
29321
29322 \begin_inset ERT
29323 status collapsed
29324
29325 \begin_layout Plain Layout
29326
29327
29328 \backslash
29329 setlength{
29330 \backslash
29331 fboxsep}{3pt}
29332 \end_layout
29333
29334 \begin_layout Plain Layout
29335
29336
29337 \backslash
29338 definecolor{shadecolor}{rgb}{1,0,0}
29339 \end_layout
29340
29341 \end_inset
29342
29343
29344 \end_layout
29345
29346 \begin_layout Standard
29347 \begin_inset VSpace bigskip
29348 \end_inset
29349
29350 Changed lengths and widths are valid for all boxes following the commands
29351  that change them.
29352 \end_layout
29353
29354 \begin_layout Section
29355 Minipages
29356 \begin_inset CommandInset label
29357 LatexCommand label
29358 name "sec:Minipages"
29359
29360 \end_inset
29361
29362
29363 \begin_inset Index idx
29364 status collapsed
29365
29366 \begin_layout Plain Layout
29367 Boxes ! Minipages
29368 \end_layout
29369
29370 \end_inset
29371
29372
29373 \end_layout
29374
29375 \begin_layout Standard
29376 Minipages are treated by LaTeX as pages within pages and can therefore for
29377  example have their own footnotes.
29378 \end_layout
29379
29380 \begin_layout Standard
29381 Minipages are useful when you write documents with different languages.
29382 \end_layout
29383
29384 \begin_layout Standard
29385 Below are two example minipages side by side.
29386  Their width is set to 45
29387 \begin_inset space \thinspace{}
29388 \end_inset
29389
29390 col% and they are separated by a horizontal fill, that was inserted via
29391  the menu 
29392 \family sans
29393 Insert\SpecialChar \menuseparator
29394 Special
29395 \begin_inset space ~
29396 \end_inset
29397
29398 Formatting\SpecialChar \menuseparator
29399 Horizontal
29400 \begin_inset space ~
29401 \end_inset
29402
29403 Fill
29404 \family default
29405 .
29406 \begin_inset Newpage newpage
29407 \end_inset
29408
29409
29410 \end_layout
29411
29412 \begin_layout Standard
29413 \begin_inset Box Frameless
29414 position "t"
29415 hor_pos "c"
29416 has_inner_box 1
29417 inner_pos "c"
29418 use_parbox 0
29419 use_makebox 0
29420 width "45col%"
29421 special "none"
29422 height "1in"
29423 height_special "totalheight"
29424 status open
29425
29426 \begin_layout Plain Layout
29427
29428 \lang german
29429 Dies ist ein deutscher Text.
29430  Dies ist ein deutscher Text.
29431  Dies ist ein deutscher Text.
29432  Dies ist ein deutscher Text.
29433  Dies ist ein deutscher Text.
29434  Dies ist ein deutscher Text.
29435  Dies ist ein deutscher Text.
29436  Dies ist ein deutscher Text.
29437  Dies ist ein deutscher Text.
29438  Dies ist ein deutscher Text.
29439  Dies ist ein deutscher Text.
29440  Dies ist ein deutscher Text.
29441  Dies ist ein deutscher Text
29442 \begin_inset Foot
29443 status collapsed
29444
29445 \begin_layout Plain Layout
29446
29447 \lang german
29448 Dies ist eine deutsche Fußnote.
29449 \end_layout
29450
29451 \end_inset
29452
29453 .
29454  Dies ist ein deutscher Text.
29455  Dies ist ein deutscher Text.
29456 \end_layout
29457
29458 \end_inset
29459
29460
29461 \begin_inset space \hfill{}
29462 \end_inset
29463
29464
29465 \begin_inset Box Frameless
29466 position "t"
29467 hor_pos "c"
29468 has_inner_box 1
29469 inner_pos "c"
29470 use_parbox 0
29471 use_makebox 0
29472 width "45col%"
29473 special "none"
29474 height "1in"
29475 height_special "totalheight"
29476 status open
29477
29478 \begin_layout Plain Layout
29479 This is an English Text.
29480  This is an English Text.
29481  This is an English Text.
29482  This is an English Text.
29483  This is an English Text.
29484  This is an English Text.
29485  This is an English Text.
29486  This is an English Text.
29487  This is an English Text.
29488  This is an English Text.
29489  This is an English Text.
29490  This is an English Text.
29491  This is an English Text.
29492  This is an English Text.
29493  This is an English Text.
29494  This is an English Text.
29495 \begin_inset Foot
29496 status collapsed
29497
29498 \begin_layout Plain Layout
29499 This is an English footnote.
29500 \end_layout
29501
29502 \end_inset
29503
29504  This is an English Text.
29505  
29506 \end_layout
29507
29508 \end_inset
29509
29510
29511 \end_layout
29512
29513 \begin_layout Standard
29514 \begin_inset VSpace bigskip
29515 \end_inset
29516
29517 The document-wide paragraph settings are ignored within minipages.
29518  That means that there will be no space between paragraphs in minipages
29519  although you set it to e.
29520 \begin_inset space \thinspace{}
29521 \end_inset
29522
29523 g.
29524 \begin_inset space \space{}
29525 \end_inset
29526
29527
29528 \family sans
29529 MedSkip
29530 \family default
29531  in the document settings.
29532 \end_layout
29533
29534 \begin_layout Standard
29535 Minipages can also be used to set a background color for text parts, see
29536  section
29537 \begin_inset space ~
29538 \end_inset
29539
29540
29541 \begin_inset CommandInset ref
29542 LatexCommand ref
29543 reference "sub:Color-for-Paragraphs"
29544
29545 \end_inset
29546
29547 .
29548 \end_layout
29549
29550 \begin_layout Standard
29551 \begin_inset Note Greyedout
29552 status open
29553
29554 \begin_layout Plain Layout
29555
29556 \series bold
29557 Note:
29558 \series default
29559  You cannot have floats or margin notes inside minipages but minipages can
29560  be used inside tables, floats, and other boxes.
29561 \end_layout
29562
29563 \end_inset
29564
29565
29566 \end_layout
29567
29568 \begin_layout Section
29569 Parboxes
29570 \begin_inset CommandInset label
29571 LatexCommand label
29572 name "sec:Parboxes"
29573
29574 \end_inset
29575
29576
29577 \begin_inset Index idx
29578 status collapsed
29579
29580 \begin_layout Plain Layout
29581 Boxes ! Parboxes
29582 \end_layout
29583
29584 \end_inset
29585
29586
29587 \end_layout
29588
29589 \begin_layout Standard
29590 Parboxes are very similar to minipages with the difference that they cannot
29591  have footnotes.
29592 \end_layout
29593
29594 \begin_layout Standard
29595 \align center
29596 \begin_inset Box Frameless
29597 position "t"
29598 hor_pos "c"
29599 has_inner_box 1
29600 inner_pos "t"
29601 use_parbox 1
29602 use_makebox 0
29603 width "33col%"
29604 special "none"
29605 height "1in"
29606 height_special "totalheight"
29607 status collapsed
29608
29609 \begin_layout Plain Layout
29610 This a text within a parbox.
29611  This a text within a parbox.
29612 \end_layout
29613
29614 \begin_layout Plain Layout
29615 This footnote won't appear:
29616 \begin_inset Foot
29617 status collapsed
29618
29619 \begin_layout Plain Layout
29620 This footnote is inside a parbox and will therefore not appear.
29621 \end_layout
29622
29623 \end_inset
29624
29625
29626 \end_layout
29627
29628 \end_inset
29629
29630
29631 \end_layout
29632
29633 \begin_layout Section
29634 Boxes for Words and Characters
29635 \begin_inset Index idx
29636 status collapsed
29637
29638 \begin_layout Plain Layout
29639 Boxes ! for Characters
29640 \end_layout
29641
29642 \end_inset
29643
29644
29645 \end_layout
29646
29647 \begin_layout Subsection
29648 Prevent Hyphenation
29649 \begin_inset CommandInset label
29650 LatexCommand label
29651 name "sec:Prevent-Hyphenation"
29652
29653 \end_inset
29654
29655
29656 \begin_inset Index idx
29657 status collapsed
29658
29659 \begin_layout Plain Layout
29660 Boxes ! to Prevent Hyphenation
29661 \end_layout
29662
29663 \end_inset
29664
29665
29666 \end_layout
29667
29668 \begin_layout Standard
29669 You can use the box type 
29670 \family sans
29671 Makebox
29672 \family default
29673  to prevent words or text from being hyphenated.
29674 \begin_inset Newline newline
29675 \end_inset
29676
29677 Here is an example text:
29678 \end_layout
29679
29680 \begin_layout Standard
29681 This line is an example to show how you can prevent the hyphenation of 
29682 \begin_inset Quotes eld
29683 \end_inset
29684
29685 veryverylongword
29686 \begin_inset Quotes erd
29687 \end_inset
29688
29689 .
29690 \end_layout
29691
29692 \begin_layout Standard
29693 To prevent the hyphenation of the word 
29694 \begin_inset Quotes eld
29695 \end_inset
29696
29697 veryverylongword
29698 \begin_inset Quotes erd
29699 \end_inset
29700
29701 , put the word into a box, set the 
29702 \family sans
29703 Inner
29704 \begin_inset space ~
29705 \end_inset
29706
29707 box
29708 \family default
29709  to 
29710 \family sans
29711 Makebox
29712 \family default
29713  and its width to 1
29714 \begin_inset space \thinspace{}
29715 \end_inset
29716
29717 Width.
29718 \end_layout
29719
29720 \begin_layout Standard
29721 This is the result:
29722 \end_layout
29723
29724 \begin_layout Standard
29725 This line is an example to show how you can prevent the hyphenation of 
29726 \begin_inset Box Frameless
29727 position "t"
29728 hor_pos "c"
29729 has_inner_box 1
29730 inner_pos "t"
29731 use_parbox 0
29732 use_makebox 1
29733 width "1in"
29734 special "width"
29735 height "1in"
29736 height_special "totalheight"
29737 status open
29738
29739 \begin_layout Plain Layout
29740 \begin_inset Quotes eld
29741 \end_inset
29742
29743 veryverylongword
29744 \begin_inset Quotes erd
29745 \end_inset
29746
29747
29748 \end_layout
29749
29750 \end_inset
29751
29752 .
29753 \end_layout
29754
29755 \begin_layout Standard
29756 You can alternatively set the command 
29757 \begin_inset Quotes eld
29758 \end_inset
29759
29760
29761 \series bold
29762
29763 \backslash
29764 -
29765 \series default
29766
29767 \begin_inset Quotes grd
29768 \end_inset
29769
29770  as TeX-Code directly before the word:
29771 \end_layout
29772
29773 \begin_layout Standard
29774 This line is an example to show how you can prevent the hyphenation of 
29775 \begin_inset Quotes eld
29776 \end_inset
29777
29778
29779 \begin_inset ERT
29780 status collapsed
29781
29782 \begin_layout Plain Layout
29783
29784
29785 \backslash
29786 -
29787 \end_layout
29788
29789 \end_inset
29790
29791 veryverylongword
29792 \begin_inset Quotes erd
29793 \end_inset
29794
29795 .
29796 \end_layout
29797
29798 \begin_layout Standard
29799 Of course the word now protrudes over the side margin.
29800  To avoid this, add via the menu 
29801 \family sans
29802 Insert\SpecialChar \menuseparator
29803 Formatting\SpecialChar \menuseparator
29804 Ragged
29805 \begin_inset space ~
29806 \end_inset
29807
29808 Line
29809 \begin_inset space ~
29810 \end_inset
29811
29812 Break
29813 \family default
29814  (shortcut 
29815 \begin_inset Info
29816 type  "shortcut"
29817 arg   "newline-insert newline"
29818 \end_inset
29819
29820 ) a line break before the word:
29821 \end_layout
29822
29823 \begin_layout Standard
29824 This line is an example to show how you can prevent the hyphenation of 
29825 \begin_inset Newline newline
29826 \end_inset
29827
29828
29829 \begin_inset Box Frameless
29830 position "t"
29831 hor_pos "c"
29832 has_inner_box 1
29833 inner_pos "t"
29834 use_parbox 0
29835 use_makebox 1
29836 width "1in"
29837 special "width"
29838 height "1in"
29839 height_special "totalheight"
29840 status open
29841
29842 \begin_layout Plain Layout
29843 \begin_inset Quotes eld
29844 \end_inset
29845
29846 veryverylongword
29847 \begin_inset Quotes erd
29848 \end_inset
29849
29850
29851 \end_layout
29852
29853 \end_inset
29854
29855 .
29856 \end_layout
29857
29858 \begin_layout Subsection
29859 Vertical Alignment
29860 \begin_inset CommandInset label
29861 LatexCommand label
29862 name "sub:Vertical-Alignment"
29863
29864 \end_inset
29865
29866
29867 \begin_inset Index idx
29868 status collapsed
29869
29870 \begin_layout Plain Layout
29871 Boxes ! for Vertical Alignment
29872 \end_layout
29873
29874 \end_inset
29875
29876
29877 \begin_inset Index idx
29878 status collapsed
29879
29880 \begin_layout Plain Layout
29881 Boxes ! Raiseboxes
29882 \end_layout
29883
29884 \end_inset
29885
29886
29887 \end_layout
29888
29889 \begin_layout Standard
29890 With the help of the command 
29891 \series bold
29892
29893 \backslash
29894 raisebox
29895 \series default
29896  you can align words, characters or other boxes vertically relative to the
29897  surrounding text.
29898  
29899 \series bold
29900
29901 \backslash
29902 raisebox
29903 \series default
29904  is used with the following scheme:
29905 \end_layout
29906
29907 \begin_layout Standard
29908
29909 \series bold
29910
29911 \backslash
29912 raisebox{lift}[height][depth]{box content}
29913 \end_layout
29914
29915 \begin_layout Standard
29916 The lift can be a positive value to raise the box or a negative value to
29917  lower the box.
29918 \end_layout
29919
29920 \begin_layout Standard
29921 To align for example the word 
29922 \begin_inset Quotes eld
29923 \end_inset
29924
29925 preventing
29926 \begin_inset Quotes erd
29927 \end_inset
29928
29929  so that the bottom of the 
29930 \begin_inset Quotes eld
29931 \end_inset
29932
29933 deepest
29934 \begin_inset Quotes erd
29935 \end_inset
29936
29937  character 
29938 \begin_inset Quotes eld
29939 \end_inset
29940
29941 p
29942 \begin_inset Quotes erd
29943 \end_inset
29944
29945  is at the baseline, insert the command
29946 \end_layout
29947
29948 \begin_layout Standard
29949
29950 \series bold
29951
29952 \backslash
29953 raisebox{
29954 \backslash
29955 depth}{
29956 \end_layout
29957
29958 \begin_layout Standard
29959 in TeX-Code before the word.
29960  After the word insert a closing brace 
29961 \begin_inset Quotes eld
29962 \end_inset
29963
29964
29965 \series bold
29966 }
29967 \series default
29968
29969 \begin_inset Quotes erd
29970 \end_inset
29971
29972  in TeX-Code.
29973 \begin_inset Newline newline
29974 \end_inset
29975
29976 This is the result:
29977 \end_layout
29978
29979 \begin_layout Standard
29980 This is a text line with the word 
29981 \begin_inset ERT
29982 status collapsed
29983
29984 \begin_layout Plain Layout
29985
29986
29987 \backslash
29988 raisebox{
29989 \backslash
29990 depth}{
29991 \end_layout
29992
29993 \end_inset
29994
29995
29996 \begin_inset Quotes eld
29997 \end_inset
29998
29999 preventing
30000 \begin_inset Quotes erd
30001 \end_inset
30002
30003
30004 \begin_inset ERT
30005 status collapsed
30006
30007 \begin_layout Plain Layout
30008
30009 }
30010 \end_layout
30011
30012 \end_inset
30013
30014  as a raised word.
30015 \end_layout
30016
30017 \begin_layout Standard
30018 \begin_inset VSpace bigskip
30019 \end_inset
30020
30021 When you raise or lower characters in a line, the line distance will be
30022  spread:
30023 \end_layout
30024
30025 \begin_layout Standard
30026 This is a text line with the word 
30027 \begin_inset ERT
30028 status collapsed
30029
30030 \begin_layout Plain Layout
30031
30032
30033 \backslash
30034 raisebox{-
30035 \backslash
30036 depth}{
30037 \end_layout
30038
30039 \end_inset
30040
30041
30042 \begin_inset Quotes eld
30043 \end_inset
30044
30045 preventing
30046 \begin_inset Quotes erd
30047 \end_inset
30048
30049
30050 \begin_inset ERT
30051 status collapsed
30052
30053 \begin_layout Plain Layout
30054
30055 }
30056 \end_layout
30057
30058 \end_inset
30059
30060  as a lowered word.
30061 \begin_inset Newline newline
30062 \end_inset
30063
30064 This is a text line with the word 
30065 \begin_inset ERT
30066 status collapsed
30067
30068 \begin_layout Plain Layout
30069
30070
30071 \backslash
30072 raisebox{0.5cm}{
30073 \end_layout
30074
30075 \end_inset
30076
30077
30078 \begin_inset Quotes eld
30079 \end_inset
30080
30081 testing
30082 \begin_inset Quotes erd
30083 \end_inset
30084
30085
30086 \begin_inset ERT
30087 status collapsed
30088
30089 \begin_layout Plain Layout
30090
30091 }
30092 \end_layout
30093
30094 \end_inset
30095
30096  as a raised word.
30097 \end_layout
30098
30099 \begin_layout Standard
30100 If you want to prevent this for a certain reason, set the box height to
30101  a zero value.
30102  For example use
30103 \end_layout
30104
30105 \begin_layout Standard
30106
30107 \series bold
30108
30109 \backslash
30110 raisebox{-
30111 \backslash
30112 depth}[0pt]{
30113 \end_layout
30114
30115 \begin_layout Standard
30116 This is a text line with the word 
30117 \begin_inset ERT
30118 status collapsed
30119
30120 \begin_layout Plain Layout
30121
30122
30123 \backslash
30124 raisebox{-
30125 \backslash
30126 depth}[0pt]{
30127 \end_layout
30128
30129 \end_inset
30130
30131
30132 \begin_inset Quotes eld
30133 \end_inset
30134
30135 preventing
30136 \begin_inset Quotes erd
30137 \end_inset
30138
30139
30140 \begin_inset ERT
30141 status collapsed
30142
30143 \begin_layout Plain Layout
30144
30145 }
30146 \end_layout
30147
30148 \end_inset
30149
30150  as a lowered word.
30151 \begin_inset Newline newline
30152 \end_inset
30153
30154 This is a text line with the word 
30155 \begin_inset ERT
30156 status collapsed
30157
30158 \begin_layout Plain Layout
30159
30160
30161 \backslash
30162 raisebox{0.5cm}[0pt]{
30163 \end_layout
30164
30165 \end_inset
30166
30167
30168 \begin_inset Quotes eld
30169 \end_inset
30170
30171 testing
30172 \begin_inset Quotes erd
30173 \end_inset
30174
30175
30176 \begin_inset ERT
30177 status collapsed
30178
30179 \begin_layout Plain Layout
30180
30181 }
30182 \end_layout
30183
30184 \end_inset
30185
30186  as a raised word.
30187 \end_layout
30188
30189 \begin_layout Section
30190 Colored Boxes
30191 \begin_inset CommandInset label
30192 LatexCommand label
30193 name "sec:Colored-Boxes"
30194
30195 \end_inset
30196
30197
30198 \begin_inset Index idx
30199 status collapsed
30200
30201 \begin_layout Plain Layout
30202 Boxes ! Color
30203 \end_layout
30204
30205 \end_inset
30206
30207
30208 \end_layout
30209
30210 \begin_layout Subsection
30211 Color for Text
30212 \begin_inset Index idx
30213 status collapsed
30214
30215 \begin_layout Plain Layout
30216 Color ! for Text
30217 \end_layout
30218
30219 \end_inset
30220
30221
30222 \end_layout
30223
30224 \begin_layout Standard
30225 To color the background of text the text must be put into a so called 
30226 \begin_inset Quotes eld
30227 \end_inset
30228
30229 colorbox
30230 \begin_inset Quotes erd
30231 \end_inset
30232
30233 .
30234  This requires that the LaTeX-package 
30235 \series bold
30236 color
30237 \series default
30238
30239 \begin_inset Index idx
30240 status collapsed
30241
30242 \begin_layout Plain Layout
30243 LaTeX-packages ! color
30244 \end_layout
30245
30246 \end_inset
30247
30248  is loaded in the document preamble with the command
30249 \end_layout
30250
30251 \begin_layout Standard
30252
30253 \series bold
30254
30255 \backslash
30256 @ifundefined{textcolor}
30257 \begin_inset Newline newline
30258 \end_inset
30259
30260
30261 \begin_inset Phantom HPhantom
30262 status open
30263
30264 \begin_layout Plain Layout
30265
30266 \series bold
30267 \begin_inset space ~
30268 \end_inset
30269
30270
30271 \end_layout
30272
30273 \end_inset
30274
30275 {
30276 \backslash
30277 usepackage{color}}{}
30278 \end_layout
30279
30280 \begin_layout Standard
30281 The package 
30282 \series bold
30283 color
30284 \series default
30285  will be loaded automatically by LyX when you color text.
30286 \begin_inset Foot
30287 status collapsed
30288
30289 \begin_layout Plain Layout
30290 To avoid it being loaded twice the command 
30291 \series bold
30292
30293 \backslash
30294 @ifundefined
30295 \series default
30296  is used.
30297 \end_layout
30298
30299 \end_inset
30300
30301
30302 \end_layout
30303
30304 \begin_layout Standard
30305 \begin_inset VSpace medskip
30306 \end_inset
30307
30308 Colorboxes are created with the command 
30309 \series bold
30310
30311 \backslash
30312 colorbox
30313 \series default
30314 .
30315  This will be used with the following scheme:
30316 \end_layout
30317
30318 \begin_layout Standard
30319
30320 \series bold
30321
30322 \backslash
30323 colorbox{color}{box content}
30324 \end_layout
30325
30326 \begin_layout Standard
30327 The box content can also be a box and colorboxes can also be within other
30328  boxes.
30329 \end_layout
30330
30331 \begin_layout Standard
30332 The following colors are predefined:
30333 \begin_inset Newline newline
30334 \end_inset
30335
30336
30337 \family sans
30338 black
30339 \family default
30340
30341 \family sans
30342 blue
30343 \family default
30344
30345 \family sans
30346 cyan
30347 \family default
30348 \series bold
30349 ,
30350 \series default
30351  
30352 \family sans
30353 green
30354 \family default
30355
30356 \family sans
30357 magenta
30358 \family default
30359
30360 \family sans
30361 red
30362 \family default
30363
30364 \family sans
30365 white
30366 \family default
30367 , and 
30368 \family sans
30369 yellow
30370 \family default
30371 .
30372 \begin_inset Newline newline
30373 \end_inset
30374
30375 You can also define your own color as described in section
30376 \begin_inset space ~
30377 \end_inset
30378
30379
30380 \begin_inset CommandInset ref
30381 LatexCommand ref
30382 reference "sec:Colored-Tables"
30383
30384 \end_inset
30385
30386 .
30387 \end_layout
30388
30389 \begin_layout Standard
30390 To have e.
30391 \begin_inset space \thinspace{}
30392 \end_inset
30393
30394 g.
30395 \begin_inset space \space{}
30396 \end_inset
30397
30398 a red background for a word, insert the command
30399 \end_layout
30400
30401 \begin_layout Standard
30402
30403 \series bold
30404
30405 \backslash
30406 colorbox{red}{
30407 \end_layout
30408
30409 \begin_layout Standard
30410 before the word in TeX-Code.
30411  After the word insert a closing brace 
30412 \begin_inset Quotes eld
30413 \end_inset
30414
30415
30416 \series bold
30417 }
30418 \series default
30419
30420 \begin_inset Quotes erd
30421 \end_inset
30422
30423  in TeX-Code.
30424 \begin_inset Newline newline
30425 \end_inset
30426
30427 This is the result:
30428 \end_layout
30429
30430 \begin_layout Standard
30431 This is a line where the word 
30432 \begin_inset ERT
30433 status collapsed
30434
30435 \begin_layout Plain Layout
30436
30437
30438 \backslash
30439 colorbox{red}{
30440 \end_layout
30441
30442 \end_inset
30443
30444
30445 \begin_inset Quotes eld
30446 \end_inset
30447
30448 Attention!
30449 \begin_inset Quotes erd
30450 \end_inset
30451
30452
30453 \begin_inset ERT
30454 status collapsed
30455
30456 \begin_layout Plain Layout
30457
30458 }
30459 \end_layout
30460
30461 \end_inset
30462
30463  has a red background.
30464 \end_layout
30465
30466 \begin_layout Standard
30467 \begin_inset VSpace bigskip
30468 \end_inset
30469
30470 If you would like the box frame in a different color, you can use the command
30471  
30472 \series bold
30473
30474 \backslash
30475 fcolorbox
30476 \series default
30477  with the following scheme:
30478 \end_layout
30479
30480 \begin_layout Standard
30481
30482 \series bold
30483
30484 \backslash
30485 fcolorbox{frame color}{box color}{box content}
30486 \end_layout
30487
30488 \begin_layout Standard
30489
30490 \series bold
30491
30492 \backslash
30493 fcolorbox
30494 \series default
30495  is an extension to 
30496 \series bold
30497
30498 \backslash
30499 colorbox
30500 \series default
30501 .
30502  The frame thickness and the space between the frame and the box content
30503  can be adjusted with the lengths 
30504 \series bold
30505
30506 \backslash
30507 fboxrule
30508 \series default
30509  and 
30510 \series bold
30511
30512 \backslash
30513 fboxsep
30514 \series default
30515 , respectively, as described in section
30516 \begin_inset space ~
30517 \end_inset
30518
30519
30520 \begin_inset CommandInset ref
30521 LatexCommand ref
30522 reference "sec:Decoration"
30523
30524 \end_inset
30525
30526 .
30527 \end_layout
30528
30529 \begin_layout Standard
30530 For the following example the command
30531 \end_layout
30532
30533 \begin_layout Standard
30534
30535 \series bold
30536
30537 \backslash
30538 fcolorbox{cyan}{magenta}{
30539 \end_layout
30540
30541 \begin_layout Standard
30542 was used.
30543 \end_layout
30544
30545 \begin_layout Standard
30546 Here is an example where the frame line thickness was set to 1
30547 \begin_inset space \thinspace{}
30548 \end_inset
30549
30550 mm:
30551 \begin_inset Newline newline
30552 \end_inset
30553
30554
30555 \begin_inset ERT
30556 status collapsed
30557
30558 \begin_layout Plain Layout
30559
30560
30561 \backslash
30562 fboxrule 1mm 
30563 \backslash
30564 fboxsep 1mm
30565 \end_layout
30566
30567 \end_inset
30568
30569
30570 \begin_inset ERT
30571 status collapsed
30572
30573 \begin_layout Plain Layout
30574
30575
30576 \backslash
30577 fcolorbox{cyan}{magenta}{
30578 \end_layout
30579
30580 \end_inset
30581
30582 This is text within a colored, framed box.
30583 \begin_inset ERT
30584 status collapsed
30585
30586 \begin_layout Plain Layout
30587
30588 }
30589 \end_layout
30590
30591 \end_inset
30592
30593
30594 \end_layout
30595
30596 \begin_layout Standard
30597 \begin_inset VSpace bigskip
30598 \end_inset
30599
30600 Of course you can also have colored text inside a colorbox:
30601 \begin_inset Newline newline
30602 \end_inset
30603
30604
30605 \begin_inset ERT
30606 status collapsed
30607
30608 \begin_layout Plain Layout
30609
30610
30611 \backslash
30612 fcolorbox{cyan}{magenta}{
30613 \end_layout
30614
30615 \end_inset
30616
30617
30618 \color yellow
30619 This is colored text within a colored, framed box.
30620 \color none
30621
30622 \begin_inset ERT
30623 status collapsed
30624
30625 \begin_layout Plain Layout
30626
30627 }
30628 \end_layout
30629
30630 \end_inset
30631
30632
30633 \begin_inset ERT
30634 status collapsed
30635
30636 \begin_layout Plain Layout
30637
30638
30639 \backslash
30640 fboxrule 0.4pt 
30641 \backslash
30642 fboxsep 3pt
30643 \end_layout
30644
30645 \end_inset
30646
30647
30648 \end_layout
30649
30650 \begin_layout Standard
30651 \begin_inset VSpace medskip
30652 \end_inset
30653
30654
30655 \end_layout
30656
30657 \begin_layout Standard
30658 \begin_inset Note Greyedout
30659 status open
30660
30661 \begin_layout Plain Layout
30662
30663 \series bold
30664 Note:
30665 \series default
30666  Text in colorboxes cannot have line breaks.
30667  To color multiple text lines or paragraphs, use a box inside a colorbox
30668  as described in the following.
30669 \end_layout
30670
30671 \end_inset
30672
30673
30674 \end_layout
30675
30676 \begin_layout Subsection
30677 Color for Paragraphs
30678 \begin_inset CommandInset label
30679 LatexCommand label
30680 name "sub:Color-for-Paragraphs"
30681
30682 \end_inset
30683
30684
30685 \begin_inset Index idx
30686 status collapsed
30687
30688 \begin_layout Plain Layout
30689 Color ! for Paragraphs
30690 \end_layout
30691
30692 \end_inset
30693
30694
30695 \end_layout
30696
30697 \begin_layout Standard
30698 To set the background color for more than one text line, put the text into
30699  a minipage.
30700  Before the minipage insert the 
30701 \series bold
30702
30703 \backslash
30704 colorbox
30705 \series default
30706  command
30707 \end_layout
30708
30709 \begin_layout Standard
30710
30711 \series bold
30712
30713 \backslash
30714 colorbox{color}{
30715 \end_layout
30716
30717 \begin_layout Standard
30718 in TeX-Code.
30719  After the minipage insert a closing brace 
30720 \begin_inset Quotes eld
30721 \end_inset
30722
30723
30724 \series bold
30725 }
30726 \series default
30727
30728 \begin_inset Quotes erd
30729 \end_inset
30730
30731  in TeX-Code.
30732 \end_layout
30733
30734 \begin_layout Standard
30735 \begin_inset ERT
30736 status collapsed
30737
30738 \begin_layout Plain Layout
30739
30740
30741 \backslash
30742 colorbox{lightgrey}{
30743 \end_layout
30744
30745 \end_inset
30746
30747
30748 \begin_inset Box Frameless
30749 position "t"
30750 hor_pos "c"
30751 has_inner_box 1
30752 inner_pos "t"
30753 use_parbox 0
30754 use_makebox 0
30755 width "100col%"
30756 special "none"
30757 height "1in"
30758 height_special "totalheight"
30759 status collapsed
30760
30761 \begin_layout Plain Layout
30762 This is text with background color.
30763  This is text with background color.
30764 \end_layout
30765
30766 \begin_layout Plain Layout
30767 \begin_inset VSpace defskip
30768 \end_inset
30769
30770 The text can have footnotes
30771 \begin_inset Foot
30772 status collapsed
30773
30774 \begin_layout Plain Layout
30775 Another example footnote
30776 \end_layout
30777
30778 \end_inset
30779
30780  and can include tables and figures.
30781 \end_layout
30782
30783 \begin_layout Plain Layout
30784 \align center
30785 \begin_inset Tabular
30786 <lyxtabular version="3" rows="3" columns="3">
30787 <features tabularvalignment="middle">
30788 <column alignment="center" valignment="top" width="0">
30789 <column alignment="center" valignment="top" width="0">
30790 <column alignment="center" valignment="top" width="0">
30791 <row>
30792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30793 \begin_inset Text
30794
30795 \begin_layout Plain Layout
30796 a
30797 \end_layout
30798
30799 \end_inset
30800 </cell>
30801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30802 \begin_inset Text
30803
30804 \begin_layout Plain Layout
30805 !
30806 \end_layout
30807
30808 \end_inset
30809 </cell>
30810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30811 \begin_inset Text
30812
30813 \begin_layout Plain Layout
30814 3
30815 \end_layout
30816
30817 \end_inset
30818 </cell>
30819 </row>
30820 <row>
30821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30822 \begin_inset Text
30823
30824 \begin_layout Plain Layout
30825 <
30826 \end_layout
30827
30828 \end_inset
30829 </cell>
30830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30831 \begin_inset Text
30832
30833 \begin_layout Plain Layout
30834 b2
30835 \begin_inset Quotes erd
30836 \end_inset
30837
30838 |
30839 \end_layout
30840
30841 \end_inset
30842 </cell>
30843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30844 \begin_inset Text
30845
30846 \begin_layout Plain Layout
30847 >
30848 \end_layout
30849
30850 \end_inset
30851 </cell>
30852 </row>
30853 <row>
30854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30855 \begin_inset Text
30856
30857 \begin_layout Plain Layout
30858 1
30859 \end_layout
30860
30861 \end_inset
30862 </cell>
30863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30864 \begin_inset Text
30865
30866 \begin_layout Plain Layout
30867 §
30868 \end_layout
30869
30870 \end_inset
30871 </cell>
30872 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30873 \begin_inset Text
30874
30875 \begin_layout Plain Layout
30876 c
30877 \end_layout
30878
30879 \end_inset
30880 </cell>
30881 </row>
30882 </lyxtabular>
30883
30884 \end_inset
30885
30886
30887 \end_layout
30888
30889 \end_inset
30890
30891
30892 \begin_inset ERT
30893 status collapsed
30894
30895 \begin_layout Plain Layout
30896
30897 }
30898 \end_layout
30899
30900 \end_inset
30901
30902
30903 \end_layout
30904
30905 \begin_layout Section
30906 Rotated and Scaled Boxes
30907 \end_layout
30908
30909 \begin_layout Standard
30910 To use the commands described in this section, the LaTeX-package 
30911 \series bold
30912 graphicx
30913 \series default
30914
30915 \begin_inset Index idx
30916 status collapsed
30917
30918 \begin_layout Plain Layout
30919 LaTeX-packages ! graphicx
30920 \end_layout
30921
30922 \end_inset
30923
30924  needs to be loaded in the document preamble with the command
30925 \end_layout
30926
30927 \begin_layout Standard
30928
30929 \series bold
30930
30931 \backslash
30932 @ifundefined{rotatebox}
30933 \begin_inset Newline newline
30934 \end_inset
30935
30936
30937 \begin_inset Phantom HPhantom
30938 status open
30939
30940 \begin_layout Plain Layout
30941
30942 \series bold
30943 \begin_inset space ~
30944 \end_inset
30945
30946
30947 \end_layout
30948
30949 \end_inset
30950
30951 {
30952 \backslash
30953 usepackage{graphicx}}{}
30954 \end_layout
30955
30956 \begin_layout Standard
30957 \begin_inset Note Greyedout
30958 status open
30959
30960 \begin_layout Plain Layout
30961
30962 \series bold
30963 Note:
30964 \series default
30965  Some DVI-viewers can't display rotated or scaled material.
30966 \end_layout
30967
30968 \end_inset
30969
30970
30971 \end_layout
30972
30973 \begin_layout Standard
30974 \begin_inset Note Greyedout
30975 status open
30976
30977 \begin_layout Plain Layout
30978
30979 \series bold
30980 Note:
30981 \series default
30982  Floats mustn't be inside a rotated or scaled box.
30983 \end_layout
30984
30985 \end_inset
30986
30987
30988 \end_layout
30989
30990 \begin_layout Subsection
30991 Rotated Boxes
30992 \begin_inset Index idx
30993 status collapsed
30994
30995 \begin_layout Plain Layout
30996 Boxes ! rotated
30997 \end_layout
30998
30999 \end_inset
31000
31001
31002 \begin_inset Index idx
31003 status collapsed
31004
31005 \begin_layout Plain Layout
31006 Rotated material
31007 \end_layout
31008
31009 \end_inset
31010
31011
31012 \begin_inset Index idx
31013 status collapsed
31014
31015 \begin_layout Plain Layout
31016 Figures ! rotated
31017 \end_layout
31018
31019 \end_inset
31020
31021
31022 \begin_inset Index idx
31023 status collapsed
31024
31025 \begin_layout Plain Layout
31026 Table Customization ! Rotating
31027 \end_layout
31028
31029 \end_inset
31030
31031
31032 \end_layout
31033
31034 \begin_layout Standard
31035 To rotate material, you can put it into a rotated box.
31036  Such a box is created using the command 
31037 \series bold
31038
31039 \backslash
31040 rotatebox
31041 \series default
31042  in TeX-Code with the following scheme:
31043 \end_layout
31044
31045 \begin_layout Standard
31046
31047 \series bold
31048
31049 \backslash
31050 rotatebox[rotation origin]{rotation angle}{box content}
31051 \end_layout
31052
31053 \begin_layout Standard
31054 The rotation origin is specified in the form 
31055 \series bold
31056 origin=position
31057 \series default
31058 .
31059  The following positions are possible: 
31060 \emph on
31061 c
31062 \emph default
31063  (center), 
31064 \emph on
31065 l
31066 \emph default
31067  (left), 
31068 \emph on
31069 r
31070 \emph default
31071  (right), 
31072 \emph on
31073 b
31074 \emph default
31075  (bottom), 
31076 \emph on
31077 t
31078 \emph default
31079  (top), along with meaningful combinations of the four base positions.
31080  For example 
31081 \emph on
31082 lt
31083 \emph default
31084  means that the rotation origin is at the top left corner of the box.
31085  When no rotation origin is specified, the position 
31086 \emph on
31087 l
31088 \emph default
31089  will be used.
31090  The rotation angle is a number that can be negative that specifies the
31091  angle in degrees.
31092  The rotation direction is counterclockwise.
31093 \end_layout
31094
31095 \begin_layout Standard
31096 In the following example the command 
31097 \series bold
31098
31099 \backslash
31100 rotatebox[origin=c]{60}{
31101 \series default
31102  was inserted as TeX-Code before the text 
31103 \begin_inset Quotes eld
31104 \end_inset
31105
31106 with rotated
31107 \begin_inset Quotes erd
31108 \end_inset
31109
31110 ; after the text the box was closed by a closing brace 
31111 \series bold
31112 }
31113 \series default
31114  in TeX-Code.
31115 \end_layout
31116
31117 \begin_layout Standard
31118 This is a line 
31119 \begin_inset ERT
31120 status collapsed
31121
31122 \begin_layout Plain Layout
31123
31124
31125 \backslash
31126 rotatebox[origin=c]{60}{
31127 \end_layout
31128
31129 \end_inset
31130
31131 with rotated
31132 \begin_inset ERT
31133 status collapsed
31134
31135 \begin_layout Plain Layout
31136
31137 }
31138 \end_layout
31139
31140 \end_inset
31141
31142  text.
31143 \end_layout
31144
31145 \begin_layout Standard
31146 The box content can also be another box or an inline formula:
31147 \end_layout
31148
31149 \begin_layout Standard
31150 This is a line
31151 \begin_inset ERT
31152 status collapsed
31153
31154 \begin_layout Plain Layout
31155
31156
31157 \backslash
31158 rotatebox[origin=r]{-60}{
31159 \end_layout
31160
31161 \end_inset
31162
31163
31164 \begin_inset Box Doublebox
31165 position "c"
31166 hor_pos "c"
31167 has_inner_box 0
31168 inner_pos "c"
31169 use_parbox 0
31170 use_makebox 0
31171 width "1in"
31172 special "width"
31173 height "1in"
31174 height_special "totalheight"
31175 status collapsed
31176
31177 \begin_layout Plain Layout
31178 with rotated
31179 \end_layout
31180
31181 \end_inset
31182
31183
31184 \begin_inset ERT
31185 status collapsed
31186
31187 \begin_layout Plain Layout
31188
31189 }
31190 \end_layout
31191
31192 \end_inset
31193
31194  framed text 
31195 \begin_inset ERT
31196 status collapsed
31197
31198 \begin_layout Plain Layout
31199
31200
31201 \backslash
31202 rotatebox[origin=lb]{60}{
31203 \end_layout
31204
31205 \end_inset
31206
31207
31208 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31209 \end_inset
31210
31211
31212 \begin_inset ERT
31213 status collapsed
31214
31215 \begin_layout Plain Layout
31216
31217 }
31218 \end_layout
31219
31220 \end_inset
31221
31222  and a formula.
31223 \end_layout
31224
31225 \begin_layout Standard
31226 or an image or table:
31227 \end_layout
31228
31229 \begin_layout Standard
31230 This is a line
31231 \begin_inset ERT
31232 status collapsed
31233
31234 \begin_layout Plain Layout
31235
31236
31237 \backslash
31238 rotatebox[origin=lb]{90}{
31239 \end_layout
31240
31241 \end_inset
31242
31243
31244 \begin_inset Graphics
31245         filename clipart/platypus.eps
31246         lyxscale 50
31247         width 25col%
31248
31249 \end_inset
31250
31251
31252 \begin_inset ERT
31253 status collapsed
31254
31255 \begin_layout Plain Layout
31256
31257 }
31258 \end_layout
31259
31260 \end_inset
31261
31262  with a rotated image 
31263 \begin_inset ERT
31264 status collapsed
31265
31266 \begin_layout Plain Layout
31267
31268
31269 \backslash
31270 rotatebox[origin=l]{-90}{
31271 \end_layout
31272
31273 \end_inset
31274
31275
31276 \begin_inset Tabular
31277 <lyxtabular version="3" rows="2" columns="2">
31278 <features tabularvalignment="middle">
31279 <column alignment="center" valignment="top" width="0">
31280 <column alignment="center" valignment="top" width="0">
31281 <row>
31282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31283 \begin_inset Text
31284
31285 \begin_layout Plain Layout
31286 q
31287 \end_layout
31288
31289 \end_inset
31290 </cell>
31291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31292 \begin_inset Text
31293
31294 \begin_layout Plain Layout
31295 w
31296 \end_layout
31297
31298 \end_inset
31299 </cell>
31300 </row>
31301 <row>
31302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31303 \begin_inset Text
31304
31305 \begin_layout Plain Layout
31306 e
31307 \end_layout
31308
31309 \end_inset
31310 </cell>
31311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31312 \begin_inset Text
31313
31314 \begin_layout Plain Layout
31315 r
31316 \end_layout
31317
31318 \end_inset
31319 </cell>
31320 </row>
31321 </lyxtabular>
31322
31323 \end_inset
31324
31325
31326 \begin_inset ERT
31327 status collapsed
31328
31329 \begin_layout Plain Layout
31330
31331 }
31332 \end_layout
31333
31334 \end_inset
31335
31336  and table.
31337 \end_layout
31338
31339 \begin_layout Subsection
31340 Scaled Boxes
31341 \begin_inset Index idx
31342 status collapsed
31343
31344 \begin_layout Plain Layout
31345 Boxes ! scaled
31346 \end_layout
31347
31348 \end_inset
31349
31350
31351 \begin_inset Index idx
31352 status collapsed
31353
31354 \begin_layout Plain Layout
31355 Scaled material
31356 \end_layout
31357
31358 \end_inset
31359
31360
31361 \begin_inset Index idx
31362 status collapsed
31363
31364 \begin_layout Plain Layout
31365 Figures ! scaled
31366 \end_layout
31367
31368 \end_inset
31369
31370
31371 \begin_inset Index idx
31372 status collapsed
31373
31374 \begin_layout Plain Layout
31375 Table Customization ! Scaling
31376 \end_layout
31377
31378 \end_inset
31379
31380
31381 \end_layout
31382
31383 \begin_layout Standard
31384 To scale material the commands 
31385 \series bold
31386
31387 \backslash
31388 scalebox
31389 \series default
31390  and 
31391 \series bold
31392
31393 \backslash
31394 resizebox
31395 \series default
31396  can be used as TeX-Code.
31397 \end_layout
31398
31399 \begin_layout Standard
31400
31401 \series bold
31402
31403 \backslash
31404 scalebox
31405 \series default
31406  is used with the following scheme:
31407 \end_layout
31408
31409 \begin_layout Standard
31410
31411 \series bold
31412
31413 \backslash
31414 scalebox{horizontal}[vertical]{box content}
31415 \end_layout
31416
31417 \begin_layout Standard
31418 Horizontal and vertical are the corresponding scaling factors.
31419  If no vertical scaling factor is given, the horizontal factor will also
31420  be used as the vertical one.
31421 \end_layout
31422
31423 \begin_layout Standard
31424 The command 
31425 \series bold
31426
31427 \backslash
31428 scalebox{2}{Hello}
31429 \series default
31430  creates for example a double size 
31431 \begin_inset ERT
31432 status collapsed
31433
31434 \begin_layout Plain Layout
31435
31436
31437 \backslash
31438 scalebox{2}{
31439 \end_layout
31440
31441 \end_inset
31442
31443 Hello
31444 \begin_inset ERT
31445 status collapsed
31446
31447 \begin_layout Plain Layout
31448
31449 }
31450 \end_layout
31451
31452 \end_inset
31453
31454 , compared with the document text size.
31455 \end_layout
31456
31457 \begin_layout Standard
31458
31459 \series bold
31460
31461 \backslash
31462 scalebox{2}[1]{Hello}
31463 \series default
31464  on the other hand distorts the 
31465 \begin_inset ERT
31466 status collapsed
31467
31468 \begin_layout Plain Layout
31469
31470
31471 \backslash
31472 scalebox{2}[1]{
31473 \end_layout
31474
31475 \end_inset
31476
31477 Hello
31478 \begin_inset ERT
31479 status collapsed
31480
31481 \begin_layout Plain Layout
31482
31483 }
31484 \end_layout
31485
31486 \end_inset
31487
31488 .
31489 \end_layout
31490
31491 \begin_layout Standard
31492 If the scaling factor is negative, the box content will be mirrored.
31493  Therefore the command 
31494 \series bold
31495
31496 \backslash
31497 scalebox{-1}[1]{Hello}
31498 \series default
31499  can be used to create mirror writing: 
31500 \begin_inset ERT
31501 status collapsed
31502
31503 \begin_layout Plain Layout
31504
31505
31506 \backslash
31507 scalebox{-1}[1]{
31508 \end_layout
31509
31510 \end_inset
31511
31512 Hello
31513 \begin_inset ERT
31514 status collapsed
31515
31516 \begin_layout Plain Layout
31517
31518 }
31519 \end_layout
31520
31521 \end_inset
31522
31523
31524 \end_layout
31525
31526 \begin_layout Standard
31527
31528 \series bold
31529
31530 \backslash
31531 scalebox{1}[-1]{Hello}
31532 \series default
31533  reflects the 
31534 \begin_inset ERT
31535 status collapsed
31536
31537 \begin_layout Plain Layout
31538
31539
31540 \backslash
31541 scalebox{1}[-1]{
31542 \end_layout
31543
31544 \end_inset
31545
31546 Hello
31547 \begin_inset ERT
31548 status collapsed
31549
31550 \begin_layout Plain Layout
31551
31552 }
31553 \end_layout
31554
31555 \end_inset
31556
31557  at the base line.
31558 \end_layout
31559
31560 \begin_layout Standard
31561 Equivalent to 
31562 \series bold
31563
31564 \backslash
31565 scalebox{-1}[1]{box content}
31566 \series default
31567  there exists the command
31568 \begin_inset Newline newline
31569 \end_inset
31570
31571
31572 \series bold
31573
31574 \backslash
31575 reflectbox{box content}
31576 \series default
31577 .
31578 \end_layout
31579
31580 \begin_layout Standard
31581 \begin_inset VSpace bigskip
31582 \end_inset
31583
31584 The command 
31585 \series bold
31586
31587 \backslash
31588 resizebox
31589 \series default
31590  is used to scale the box to a defined width and height.
31591  The command scheme is:
31592 \end_layout
31593
31594 \begin_layout Standard
31595
31596 \series bold
31597
31598 \backslash
31599 resizebox{width}{height}{box content}
31600 \end_layout
31601
31602 \begin_layout Standard
31603 If one of the two command arguments given is an exclamation mark 
31604 \series bold
31605 !
31606 \series default
31607 , the size is set so that the aspect ratio of the box content is kept.
31608 \end_layout
31609
31610 \begin_layout Standard
31611 The command 
31612 \series bold
31613
31614 \backslash
31615 resizebox{2cm}{1cm}{Hello}
31616 \series default
31617  produces: 
31618 \begin_inset ERT
31619 status collapsed
31620
31621 \begin_layout Plain Layout
31622
31623
31624 \backslash
31625 resizebox{2cm}{1cm}{
31626 \end_layout
31627
31628 \end_inset
31629
31630 Hello
31631 \begin_inset ERT
31632 status collapsed
31633
31634 \begin_layout Plain Layout
31635
31636 }
31637 \end_layout
31638
31639 \end_inset
31640
31641
31642 \begin_inset Newline newline
31643 \end_inset
31644
31645 The command 
31646 \series bold
31647
31648 \backslash
31649 resizebox{2cm}{!}{Hello}
31650 \series default
31651  produces: 
31652 \begin_inset ERT
31653 status collapsed
31654
31655 \begin_layout Plain Layout
31656
31657
31658 \backslash
31659 resizebox{2cm}{!}{
31660 \end_layout
31661
31662 \end_inset
31663
31664 Hello
31665 \begin_inset ERT
31666 status collapsed
31667
31668 \begin_layout Plain Layout
31669
31670 }
31671 \end_layout
31672
31673 \end_inset
31674
31675
31676 \end_layout
31677
31678 \begin_layout Standard
31679 \begin_inset VSpace bigskip
31680 \end_inset
31681
31682
31683 \begin_inset Note Greyedout
31684 status open
31685
31686 \begin_layout Plain Layout
31687
31688 \series bold
31689 Note:
31690 \series default
31691  When arguments of 
31692 \series bold
31693
31694 \backslash
31695 scalebox
31696 \series default
31697  or 
31698 \series bold
31699
31700 \backslash
31701 resizebox
31702 \series default
31703  are set to zero, no LaTeX-errors occur when exporting the document but
31704  the exported files can not or only partly be displayed.
31705 \end_layout
31706
31707 \end_inset
31708
31709
31710 \end_layout
31711
31712 \begin_layout Standard
31713 \begin_inset VSpace bigskip
31714 \end_inset
31715
31716
31717 \end_layout
31718
31719 \begin_layout Standard
31720 The boxes can be combined in any order.
31721  E.
31722 \begin_inset space \thinspace{}
31723 \end_inset
31724
31725 g.
31726 \begin_inset space \space{}
31727 \end_inset
31728
31729 the command
31730 \begin_inset Newline newline
31731 \end_inset
31732
31733
31734 \series bold
31735
31736 \backslash
31737 rotatebox[origin=c]{-45}{
31738 \backslash
31739 resizebox{2cm}{!}{
31740 \backslash
31741 reflectbox{Hello}}}
31742 \begin_inset Newline newline
31743 \end_inset
31744
31745
31746 \series default
31747 produces:
31748 \end_layout
31749
31750 \begin_layout Standard
31751 \align center
31752 \begin_inset ERT
31753 status collapsed
31754
31755 \begin_layout Plain Layout
31756
31757
31758 \backslash
31759 rotatebox[origin=c]{-45}{
31760 \backslash
31761 resizebox{2cm}{!}{
31762 \backslash
31763 reflectbox{
31764 \end_layout
31765
31766 \end_inset
31767
31768 Hello
31769 \begin_inset ERT
31770 status collapsed
31771
31772 \begin_layout Plain Layout
31773
31774 }}}
31775 \end_layout
31776
31777 \end_inset
31778
31779
31780 \end_layout
31781
31782 \begin_layout Standard
31783 \noindent
31784 Images, tables, and inline formulas are allowed as box content:
31785 \end_layout
31786
31787 \begin_layout Standard
31788 \align center
31789 \begin_inset ERT
31790 status collapsed
31791
31792 \begin_layout Plain Layout
31793
31794
31795 \backslash
31796 rotatebox[origin=c]{-30}{
31797 \backslash
31798 resizebox{2cm}{!}{
31799 \backslash
31800 reflectbox{
31801 \end_layout
31802
31803 \end_inset
31804
31805
31806 \begin_inset Graphics
31807         filename clipart/platypus.eps
31808         lyxscale 50
31809         width 25col%
31810
31811 \end_inset
31812
31813
31814 \begin_inset ERT
31815 status collapsed
31816
31817 \begin_layout Plain Layout
31818
31819 }}}
31820 \end_layout
31821
31822 \end_inset
31823
31824
31825 \begin_inset ERT
31826 status collapsed
31827
31828 \begin_layout Plain Layout
31829
31830
31831 \backslash
31832 rotatebox[origin=c]{-45}{
31833 \backslash
31834 resizebox{2cm}{!}{
31835 \backslash
31836 reflectbox{
31837 \end_layout
31838
31839 \end_inset
31840
31841
31842 \begin_inset Tabular
31843 <lyxtabular version="3" rows="2" columns="2">
31844 <features tabularvalignment="middle">
31845 <column alignment="center" valignment="top" width="0">
31846 <column alignment="center" valignment="top" width="0">
31847 <row>
31848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31849 \begin_inset Text
31850
31851 \begin_layout Plain Layout
31852 q
31853 \end_layout
31854
31855 \end_inset
31856 </cell>
31857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31858 \begin_inset Text
31859
31860 \begin_layout Plain Layout
31861 w
31862 \end_layout
31863
31864 \end_inset
31865 </cell>
31866 </row>
31867 <row>
31868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31869 \begin_inset Text
31870
31871 \begin_layout Plain Layout
31872 e
31873 \end_layout
31874
31875 \end_inset
31876 </cell>
31877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31878 \begin_inset Text
31879
31880 \begin_layout Plain Layout
31881 r
31882 \end_layout
31883
31884 \end_inset
31885 </cell>
31886 </row>
31887 </lyxtabular>
31888
31889 \end_inset
31890
31891
31892 \begin_inset ERT
31893 status collapsed
31894
31895 \begin_layout Plain Layout
31896
31897 }}}
31898 \end_layout
31899
31900 \end_inset
31901
31902
31903 \begin_inset ERT
31904 status collapsed
31905
31906 \begin_layout Plain Layout
31907
31908
31909 \backslash
31910 rotatebox[origin=c]{-45}{
31911 \backslash
31912 resizebox{2cm}{!}{
31913 \backslash
31914 reflectbox{
31915 \end_layout
31916
31917 \end_inset
31918
31919
31920 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31921 \end_inset
31922
31923
31924 \begin_inset ERT
31925 status collapsed
31926
31927 \begin_layout Plain Layout
31928
31929 }}}
31930 \end_layout
31931
31932 \end_inset
31933
31934
31935 \end_layout
31936
31937 \begin_layout Standard
31938 When the global formula style 
31939 \series bold
31940 fleqn
31941 \series default
31942  is used in the document
31943 \begin_inset Foot
31944 status collapsed
31945
31946 \begin_layout Plain Layout
31947 When 
31948 \begin_inset Quotes eld
31949 \end_inset
31950
31951 fleqn
31952 \begin_inset Quotes erd
31953 \end_inset
31954
31955  is added to the document class options.
31956 \end_layout
31957
31958 \end_inset
31959
31960 , display style formulas can also be scaled.
31961 \end_layout
31962
31963 \begin_layout Chapter
31964 External Document Parts
31965 \begin_inset Index idx
31966 status collapsed
31967
31968 \begin_layout Plain Layout
31969 External Document Parts
31970 \end_layout
31971
31972 \end_inset
31973
31974
31975 \end_layout
31976
31977 \begin_layout Standard
31978 With the menu 
31979 \family sans
31980 Insert\SpecialChar \menuseparator
31981 File
31982 \family default
31983  you can insert external material to your document.
31984  This can be:
31985 \end_layout
31986
31987 \begin_layout Description
31988 LyX
31989 \begin_inset space ~
31990 \end_inset
31991
31992 Document Another LyX document; its content is directly inserted to your
31993  document.
31994 \end_layout
31995
31996 \begin_layout Description
31997 Plain
31998 \begin_inset space ~
31999 \end_inset
32000
32001 Text A text document; each line is inserted in your document as a separate
32002  paragraph.
32003 \end_layout
32004
32005 \begin_layout Description
32006 Plain
32007 \begin_inset space ~
32008 \end_inset
32009
32010 Text,
32011 \begin_inset space ~
32012 \end_inset
32013
32014 Join
32015 \begin_inset space ~
32016 \end_inset
32017
32018 Lines A text document; text lines are inserted in your document continuously
32019  but an empty text line creates a new paragraph.
32020 \end_layout
32021
32022 \begin_layout Description
32023 External
32024 \begin_inset space ~
32025 \end_inset
32026
32027 Material Files in various formats.
32028 \end_layout
32029
32030 \begin_layout Description
32031 Child
32032 \begin_inset space ~
32033 \end_inset
32034
32035 Document LyX or LaTeX-documents.
32036 \end_layout
32037
32038 \begin_layout Section
32039 External Material
32040 \begin_inset Index idx
32041 status collapsed
32042
32043 \begin_layout Plain Layout
32044 External Document Parts ! External Material
32045 \end_layout
32046
32047 \end_inset
32048
32049
32050 \end_layout
32051
32052 \begin_layout Standard
32053 The external material feature allows you to insert files in to your document
32054  without converting them to a format that can be read by the document output
32055  format.
32056  LyX takes care of the necessary conversions.
32057  This is similar to images that can be inserted in various image formats
32058  in LyX documents.
32059  When you have enabled Instant Preview in LyX's preferences under 
32060 \family sans
32061 Look
32062 \begin_inset space ~
32063 \end_inset
32064
32065 and
32066 \begin_inset space ~
32067 \end_inset
32068
32069 feel\SpecialChar \menuseparator
32070 Graphics
32071 \family default
32072 , the external material types Dia and Xfig are directly shown in LyX.
32073 \end_layout
32074
32075 \begin_layout Standard
32076 External material can be inserted via the 
32077 \family sans
32078 External Material
32079 \family default
32080  dialog that is accessible with the menu 
32081 \family sans
32082 Insert\SpecialChar \menuseparator
32083 File\SpecialChar \menuseparator
32084 External
32085 \begin_inset space ~
32086 \end_inset
32087
32088 Material
32089 \family default
32090 .
32091  Currently the following file types (
32092 \family sans
32093 Templates
32094 \family default
32095 ) are allowed:
32096 \end_layout
32097
32098 \begin_layout Description
32099 ChessDiagram This template supports chess position diagrams made with the
32100  program 
32101 \series bold
32102
32103 \begin_inset CommandInset href
32104 LatexCommand href
32105 name "XBoard"
32106 target "http://en.wikipedia.org/wiki/XBoard"
32107
32108 \end_inset
32109
32110
32111 \series default
32112 .
32113 \end_layout
32114
32115 \begin_layout Description
32116 Date This inserts the date in the form 
32117 \emph on
32118 Day-Month-Year
32119 \emph default
32120 .
32121  This is a date inserted as external material: 
32122 \begin_inset External
32123         template Date
32124         filename .
32125
32126 \end_inset
32127
32128
32129 \begin_inset space ~
32130 \end_inset
32131
32132
32133 \begin_inset Note Note
32134 status open
32135
32136 \begin_layout Plain Layout
32137 Remove the protected space when bug 4398 is fixed!
32138 \end_layout
32139
32140 \end_inset
32141
32142
32143 \begin_inset Newline newline
32144 \end_inset
32145
32146 The date is not shown within LyX, only in the output.
32147  There are two other methods of inserting a date: Via menu 
32148 \family sans
32149 Insert\SpecialChar \menuseparator
32150 Date
32151 \family default
32152  and with the LaTeX command 
32153 \series bold
32154
32155 \backslash
32156 today
32157 \series default
32158  as TeX-Code.
32159  The different methods are compared in Table
32160 \begin_inset space ~
32161 \end_inset
32162
32163
32164 \begin_inset CommandInset ref
32165 LatexCommand ref
32166 reference "tab:Comparison-of-the"
32167
32168 \end_inset
32169
32170 .
32171 \end_layout
32172
32173 \begin_layout Description
32174 Dia This template supports diagrams created with the program 
32175 \series bold
32176
32177 \begin_inset CommandInset href
32178 LatexCommand href
32179 name "Dia"
32180 target "http://en.wikipedia.org/wiki/Dia_(software)"
32181
32182 \end_inset
32183
32184
32185 \series default
32186 .
32187 \end_layout
32188
32189 \begin_layout Description
32190 LilyPond This template is used for music notation typeset with the program
32191 \begin_inset Newline linebreak
32192 \end_inset
32193
32194
32195 \series bold
32196
32197 \begin_inset CommandInset href
32198 LatexCommand href
32199 name "LilyPond"
32200 target "http://en.wikipedia.org/wiki/LilyPond"
32201
32202 \end_inset
32203
32204
32205 \series default
32206 .
32207 \end_layout
32208
32209 \begin_layout Description
32210 PDFPages With this template you can insert PDF documents to your document.
32211  To insert certain or all pages of a PDF, use the 
32212 \emph on
32213 pages
32214 \emph default
32215  option in the 
32216 \family sans
32217 Option
32218 \family default
32219  field in the 
32220 \family sans
32221 LaTeX and LyX options
32222 \family default
32223  tab according to the template description in the dialog.
32224  When no 
32225 \emph on
32226 pages
32227 \emph default
32228  option is given, only the first page of the PDF will be inserted.
32229 \end_layout
32230
32231 \begin_layout Description
32232 RasterImage This can be used for bitmap images.
32233  Nearly all popular image formats are supported.
32234  The image can be treated in the 
32235 \family sans
32236 External material
32237 \family default
32238  dialog like the images that are usually included via the 
32239 \family sans
32240 Graphics
32241 \family default
32242  dialog as described in section
32243 \begin_inset space ~
32244 \end_inset
32245
32246
32247 \begin_inset CommandInset ref
32248 LatexCommand ref
32249 reference "sec:Graphics-Dialog"
32250
32251 \end_inset
32252
32253 .
32254  The difference is that only raster images are allowed; that means that
32255  PDF and EPS-images are not supported.
32256 \end_layout
32257
32258 \begin_layout Description
32259 XFig This template supports images created with the program 
32260 \series bold
32261
32262 \begin_inset CommandInset href
32263 LatexCommand href
32264 name "Xfig"
32265 target "http://en.wikipedia.org/wiki/Xfig"
32266
32267 \end_inset
32268
32269
32270 \series default
32271 .
32272 \end_layout
32273
32274 \begin_layout Standard
32275 \begin_inset Float table
32276 placement h
32277 wide false
32278 sideways false
32279 status open
32280
32281 \begin_layout Plain Layout
32282 \begin_inset Caption
32283
32284 \begin_layout Plain Layout
32285 \begin_inset CommandInset label
32286 LatexCommand label
32287 name "tab:Comparison-of-the"
32288
32289 \end_inset
32290
32291 Comparison of the date input methods.
32292 \end_layout
32293
32294 \end_inset
32295
32296
32297 \end_layout
32298
32299 \begin_layout Plain Layout
32300 \align center
32301 \begin_inset Tabular
32302 <lyxtabular version="3" rows="4" columns="4">
32303 <features tabularvalignment="middle">
32304 <column alignment="center" valignment="top" width="0">
32305 <column alignment="center" valignment="top" width="0">
32306 <column alignment="center" valignment="top" width="0">
32307 <column alignment="center" valignment="top" width="0">
32308 <row>
32309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32310 \begin_inset Text
32311
32312 \begin_layout Plain Layout
32313 Document format
32314 \end_layout
32315
32316 \end_inset
32317 </cell>
32318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32319 \begin_inset Text
32320
32321 \begin_layout Plain Layout
32322
32323 \family sans
32324 External Material\SpecialChar \menuseparator
32325 Date
32326 \end_layout
32327
32328 \end_inset
32329 </cell>
32330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32331 \begin_inset Text
32332
32333 \begin_layout Plain Layout
32334
32335 \family sans
32336 Insert\SpecialChar \menuseparator
32337 Date
32338 \end_layout
32339
32340 \end_inset
32341 </cell>
32342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32343 \begin_inset Text
32344
32345 \begin_layout Plain Layout
32346 command 
32347 \series bold
32348
32349 \backslash
32350 today
32351 \end_layout
32352
32353 \end_inset
32354 </cell>
32355 </row>
32356 <row>
32357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32358 \begin_inset Text
32359
32360 \begin_layout Plain Layout
32361 LyX
32362 \end_layout
32363
32364 \end_inset
32365 </cell>
32366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32367 \begin_inset Text
32368
32369 \begin_layout Plain Layout
32370 as inset box
32371 \end_layout
32372
32373 \end_inset
32374 </cell>
32375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32376 \begin_inset Text
32377
32378 \begin_layout Plain Layout
32379 as date
32380 \end_layout
32381
32382 \end_inset
32383 </cell>
32384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32385 \begin_inset Text
32386
32387 \begin_layout Plain Layout
32388 as TeX-Code inset box
32389 \end_layout
32390
32391 \end_inset
32392 </cell>
32393 </row>
32394 <row>
32395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32396 \begin_inset Text
32397
32398 \begin_layout Plain Layout
32399 LaTeX
32400 \end_layout
32401
32402 \end_inset
32403 </cell>
32404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32405 \begin_inset Text
32406
32407 \begin_layout Plain Layout
32408 as date
32409 \end_layout
32410
32411 \end_inset
32412 </cell>
32413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32414 \begin_inset Text
32415
32416 \begin_layout Plain Layout
32417 as date
32418 \end_layout
32419
32420 \end_inset
32421 </cell>
32422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32423 \begin_inset Text
32424
32425 \begin_layout Plain Layout
32426 as command
32427 \end_layout
32428
32429 \end_inset
32430 </cell>
32431 </row>
32432 <row>
32433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32434 \begin_inset Text
32435
32436 \begin_layout Plain Layout
32437 DVI, PDF, PS
32438 \end_layout
32439
32440 \end_inset
32441 </cell>
32442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32443 \begin_inset Text
32444
32445 \begin_layout Plain Layout
32446 as date
32447 \end_layout
32448
32449 \end_inset
32450 </cell>
32451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32452 \begin_inset Text
32453
32454 \begin_layout Plain Layout
32455 as date
32456 \end_layout
32457
32458 \end_inset
32459 </cell>
32460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32461 \begin_inset Text
32462
32463 \begin_layout Plain Layout
32464 as date
32465 \end_layout
32466
32467 \end_inset
32468 </cell>
32469 </row>
32470 </lyxtabular>
32471
32472 \end_inset
32473
32474
32475 \end_layout
32476
32477 \end_inset
32478
32479
32480 \end_layout
32481
32482 \begin_layout Standard
32483 When you use the option 
32484 \family sans
32485 Draft
32486 \family default
32487  in the 
32488 \family sans
32489 File
32490 \family default
32491  tab of the 
32492 \family sans
32493 External Material
32494 \family default
32495  dialog, only the path to the inserted file is shown in the output.
32496 \begin_inset Newline newline
32497 \end_inset
32498
32499 External material is displayed in LyX either as a box like this: 
32500 \begin_inset Graphics
32501         filename clipart/ExternalMaterialQt4.png
32502         scale 85
32503         scaleBeforeRotation
32504
32505 \end_inset
32506
32507  or as image, depending on the option 
32508 \family sans
32509 Show in LyX
32510 \family default
32511  in the 
32512 \family sans
32513 LaTeX and LyX options
32514 \family default
32515  tab of the dialog.
32516 \end_layout
32517
32518 \begin_layout Standard
32519 The 
32520 \family sans
32521 \emph on
32522 Customization
32523 \family default
32524 \emph default
32525  manual explains how you can define your own templates.
32526 \end_layout
32527
32528 \begin_layout Section
32529 Child Documents
32530 \begin_inset CommandInset label
32531 LatexCommand label
32532 name "sec:Child-Documents"
32533
32534 \end_inset
32535
32536
32537 \begin_inset Index idx
32538 status collapsed
32539
32540 \begin_layout Plain Layout
32541 External Document Parts ! Child Documents
32542 \end_layout
32543
32544 \end_inset
32545
32546
32547 \begin_inset Index idx
32548 status collapsed
32549
32550 \begin_layout Plain Layout
32551 Files ! Include
32552 \end_layout
32553
32554 \end_inset
32555
32556
32557 \end_layout
32558
32559 \begin_layout Standard
32560 Child documents are used if you have a long document consisting of several
32561  larger parts or sections.
32562  For maintenance it is often useful and sometimes even required to split
32563  the document into several files that can be revised separately.
32564  The different documents are then the so called 
32565 \begin_inset Quotes eld
32566 \end_inset
32567
32568 child documents
32569 \begin_inset Quotes erd
32570 \end_inset
32571
32572 , and a master document connects them to print the full document or parts
32573  of it.
32574  A child document inherits elements of its master, for example the LaTeX
32575  preamble, the bibliography, and labels for cross-references.
32576 \end_layout
32577
32578 \begin_layout Standard
32579 To be able to work on child documents without the need to open their master,
32580  specify in the child document the master in the menu
32581 \family sans
32582  Document\SpecialChar \menuseparator
32583 Settings\SpecialChar \menuseparator
32584 Document
32585 \begin_inset space ~
32586 \end_inset
32587
32588 Class
32589 \family default
32590 .
32591  This master document will then be used in the background by LyX when you
32592  edit the child document.
32593 \end_layout
32594
32595 \begin_layout Standard
32596 Included documents are displayed in LyX as a box like this: 
32597 \begin_inset Graphics
32598         filename clipart/ChildDocumentQt4.png
32599         scale 85
32600         scaleBeforeRotation
32601
32602 \end_inset
32603
32604  To include child documents in a master document use the menu 
32605 \family sans
32606 Insert\SpecialChar \menuseparator
32607 File\SpecialChar \menuseparator
32608 Child
32609 \begin_inset space ~
32610 \end_inset
32611
32612 Documents
32613 \family default
32614 .
32615  A dialog pops up where you can choose between four include methods:
32616 \end_layout
32617
32618 \begin_layout Description
32619 Include You can include LyX- and LaTeX-documents.
32620  When you press the 
32621 \family sans
32622 Load
32623 \family default
32624  button in the 
32625 \family sans
32626 Child Document
32627 \family default
32628  dialog, the included documents will be opened in LyX in a new file tab
32629  so that you can modify them.
32630 \begin_inset Newline newline
32631 \end_inset
32632
32633
32634 \end_layout
32635
32636 \begin_layout Standard
32637 Here is a child document inserted using 
32638 \family sans
32639 Include
32640 \family default
32641
32642 \begin_inset CommandInset include
32643 LatexCommand include
32644 filename "DummyDocument1.lyx"
32645
32646 \end_inset
32647
32648
32649 \end_layout
32650
32651 \begin_layout Standard
32652 The section numbering includes the sections of the included files in the
32653  order they are inserted in the master document.
32654  The included example document has for example a subsection that is numbered
32655  as a subsection of this section.
32656  Labels of included documents can be referenced: Subsection
32657 \begin_inset space ~
32658 \end_inset
32659
32660
32661 \begin_inset CommandInset ref
32662 LatexCommand ref
32663 reference "sub:External-Subsection-1"
32664
32665 \end_inset
32666
32667 .
32668 \end_layout
32669
32670 \begin_layout Standard
32671 The preamble of the child document is ignored; only the preamble of the
32672  master document is used.
32673  Branches in child documents will be ignored by the master document when
32674  the master document does not have a branch with the same name.
32675  Included documents are inserted starting on a new page and ending with
32676  a page break.
32677 \end_layout
32678
32679 \begin_layout Standard
32680 \begin_inset Note Greyedout
32681 status open
32682
32683 \begin_layout Plain Layout
32684
32685 \series bold
32686 Note:
32687 \series default
32688  If you have included a LyX- or LaTeX-file, you are warned when you export/view
32689  the document in case the child document uses another document class than
32690  the master document as this will lead to unexpected outputs.
32691 \end_layout
32692
32693 \end_inset
32694
32695
32696 \end_layout
32697
32698 \begin_layout Description
32699 Input This method is very similar to the Include method.
32700  The differences are:
32701 \end_layout
32702
32703 \begin_deeper
32704 \begin_layout Itemize
32705 Input files don't start with a new page and don't end with a page break.
32706 \end_layout
32707
32708 \begin_layout Itemize
32709 Input files can be previewed in LyX when 
32710 \family sans
32711 Instant
32712 \begin_inset space ~
32713 \end_inset
32714
32715 Preview
32716 \family default
32717  is enabled in LyX's preferences under 
32718 \family sans
32719 Look
32720 \begin_inset space ~
32721 \end_inset
32722
32723 and
32724 \begin_inset space ~
32725 \end_inset
32726
32727 feel\SpecialChar \menuseparator
32728 Graphics
32729 \family default
32730 .
32731 \end_layout
32732
32733 \begin_layout Itemize
32734 You cannot exclude Input files via the menu 
32735 \family sans
32736 Document\SpecialChar \menuseparator
32737 Settings\SpecialChar \menuseparator
32738 Child Documents
32739 \family default
32740 .
32741 \end_layout
32742
32743 \end_deeper
32744 \begin_layout Standard
32745 Here is a child document inserted using 
32746 \family sans
32747 Input
32748 \family default
32749
32750 \begin_inset CommandInset include
32751 LatexCommand input
32752 filename "DummyDocument2.lyx"
32753
32754 \end_inset
32755
32756
32757 \end_layout
32758
32759 \begin_layout Description
32760 Verbatim With this method any text file can be included.
32761  The file is shown in the output with its source code; no command used in
32762  the text is invoked.
32763  You can use the option 
32764 \family sans
32765 Mark spaces in output
32766 \family default
32767  that displays the character 
32768 \begin_inset Quotes eld
32769 \end_inset
32770
32771
32772 \begin_inset ERT
32773 status collapsed
32774
32775 \begin_layout Plain Layout
32776
32777
32778 \backslash
32779 textvisiblespace 
32780 \end_layout
32781
32782 \end_inset
32783
32784
32785 \begin_inset Quotes erd
32786 \end_inset
32787
32788  for every space character in the source code.
32789  The difference from the method via the menu 
32790 \family sans
32791 Insert\SpecialChar \menuseparator
32792 File\SpecialChar \menuseparator
32793 Plain
32794 \begin_inset space ~
32795 \end_inset
32796
32797 Text
32798 \family default
32799  is that the document content is not shown in LyX.
32800 \end_layout
32801
32802 \begin_layout Standard
32803 Here is a child document inserted as Verbatim: 
32804 \begin_inset CommandInset include
32805 LatexCommand verbatiminput
32806 filename "DummyTextDocument.txt"
32807
32808 \end_inset
32809
32810
32811 \begin_inset VSpace bigskip
32812 \end_inset
32813
32814  Here is a child document inserted as Verbatim using the 
32815 \family sans
32816 Mark spaces in output
32817 \family default
32818  option: 
32819 \begin_inset CommandInset include
32820 LatexCommand verbatiminput*
32821 filename "DummyTextDocument.txt"
32822
32823 \end_inset
32824
32825
32826 \end_layout
32827
32828 \begin_layout Standard
32829 \begin_inset VSpace bigskip
32830 \end_inset
32831
32832
32833 \end_layout
32834
32835 \begin_layout Standard
32836 \begin_inset Note Greyedout
32837 status open
32838
32839 \begin_layout Plain Layout
32840
32841 \series bold
32842 Note:
32843 \series default
32844  As you can see in the examples above, the text of the documents included
32845  as 
32846 \family sans
32847 verbatim
32848 \family default
32849  is not broken at the end of the document lines.
32850 \end_layout
32851
32852 \end_inset
32853
32854
32855 \end_layout
32856
32857 \begin_layout Description
32858 Listings This type is described in chapter
32859 \begin_inset space ~
32860 \end_inset
32861
32862
32863 \begin_inset CommandInset ref
32864 LatexCommand ref
32865 reference "cha:Program-Code-Listings"
32866
32867 \end_inset
32868
32869 .
32870 \end_layout
32871
32872 \begin_layout Standard
32873 \begin_inset Note Greyedout
32874 status open
32875
32876 \begin_layout Plain Layout
32877
32878 \series bold
32879 Note:
32880 \series default
32881  Including the same document twice in a document using different methods
32882  could cause LaTeX-problems.
32883 \end_layout
32884
32885 \end_inset
32886
32887
32888 \end_layout
32889
32890 \begin_layout Standard
32891 If you want to view/export only selected children of your master document,
32892  either because you want to save compiling time or because you want to distribut
32893 e single chapters of the book you are just writing, you can exclude children
32894  from the output.
32895  This is done via the menu 
32896 \family sans
32897 Document\SpecialChar \menuseparator
32898 Settings\SpecialChar \menuseparator
32899 Child Documents
32900 \family default
32901 .
32902  You can exclude\SpecialChar \slash{}
32903 include children by double-clicking on the 
32904 \family sans
32905 include to output
32906 \family default
32907  column of the respective child document in the list (note that this only
32908  works for documents embedded via 
32909 \begin_inset Quotes eld
32910 \end_inset
32911
32912 Include
32913 \begin_inset Quotes erd
32914 \end_inset
32915
32916 , not with 
32917 \begin_inset Quotes eld
32918 \end_inset
32919
32920 Input
32921 \begin_inset Quotes erd
32922 \end_inset
32923
32924 ).
32925  If the option 
32926 \family sans
32927 Maintain counters and references
32928 \family default
32929  is enabled, LyX will assure that all page numbers, references etc.
32930 \begin_inset space ~
32931 \end_inset
32932
32933 are correct as if the whole document was processed.
32934  This is useful if you want the selected sub-documents to look exactly as
32935  in the context of the whole document.
32936  However, LyX needs to process the whole document in the background for
32937  this feature.
32938  So if you want to save compile time and if counters and references do not
32939  need to be correct, disable this checkbox.
32940 \end_layout
32941
32942 \begin_layout Standard
32943 Alternatively, you can put each included file into a branch.
32944 \begin_inset Foot
32945 status collapsed
32946
32947 \begin_layout Plain Layout
32948 Branches are described in section 
32949 \emph on
32950 Branches
32951 \emph default
32952  of the LyX 
32953 \emph on
32954 Userguide
32955 \emph default
32956 .
32957 \end_layout
32958
32959 \end_inset
32960
32961  By enabling\SpecialChar \slash{}
32962 disabling branches you can decide which included files will
32963  appear in the output.
32964  This has the advantage that it also works with Input'ed sub-documents.
32965  However, counters and references will not be maintained with this approach.
32966 \end_layout
32967
32968 \begin_layout Chapter
32969 Program Code Listings
32970 \begin_inset CommandInset label
32971 LatexCommand label
32972 name "cha:Program-Code-Listings"
32973
32974 \end_inset
32975
32976
32977 \begin_inset Index idx
32978 status collapsed
32979
32980 \begin_layout Plain Layout
32981 Listings
32982 \end_layout
32983
32984 \end_inset
32985
32986
32987 \begin_inset Index idx
32988 status collapsed
32989
32990 \begin_layout Plain Layout
32991 Program Code
32992 \end_layout
32993
32994 \end_inset
32995
32996
32997 \begin_inset Index idx
32998 status collapsed
32999
33000 \begin_layout Plain Layout
33001 Floats ! Listings
33002 \end_layout
33003
33004 \end_inset
33005
33006
33007 \end_layout
33008
33009 \begin_layout Standard
33010 To include and typeset program code you can use the 
33011 \family sans
33012 Listings
33013 \family default
33014  inset that can be inserted via the menu 
33015 \family sans
33016 Insert\SpecialChar \menuseparator
33017 Program Listing
33018 \family default
33019 .
33020  The LaTeX-package 
33021 \series bold
33022 listings
33023 \series default
33024
33025 \begin_inset Index idx
33026 status collapsed
33027
33028 \begin_layout Plain Layout
33029 LaTeX-packages ! listings
33030 \end_layout
33031
33032 \end_inset
33033
33034  provides a powerful and flexible way to insert program source code into
33035  your document.
33036 \end_layout
33037
33038 \begin_layout Standard
33039 Right-clicking on a listings inset opens the context menu containing where
33040  you can set the listings format.
33041 \end_layout
33042
33043 \begin_layout Standard
33044 By default, a listing starts a new paragraph in the output.
33045  The placement option 
33046 \family sans
33047 Inline
33048 \begin_inset space ~
33049 \end_inset
33050
33051 listing
33052 \family default
33053  prints the listing inline like this: 
33054 \begin_inset listings
33055 lstparams "language={C++}"
33056 inline true
33057 status open
33058
33059 \begin_layout Plain Layout
33060
33061 int a=5;
33062 \end_layout
33063
33064 \end_inset
33065
33066
33067 \begin_inset Newline newline
33068 \end_inset
33069
33070 The option 
33071 \family sans
33072 Float
33073 \family default
33074  creates a listings float where you can specify the placement options 
33075 \begin_inset Quotes eld
33076 \end_inset
33077
33078
33079 \family sans
33080 h
33081 \family default
33082
33083 \begin_inset Quotes erd
33084 \end_inset
33085
33086
33087 \begin_inset Quotes eld
33088 \end_inset
33089
33090
33091 \family sans
33092 t
33093 \family default
33094
33095 \begin_inset Quotes erd
33096 \end_inset
33097
33098
33099 \begin_inset Quotes eld
33100 \end_inset
33101
33102
33103 \family sans
33104 b
33105 \family default
33106
33107 \begin_inset Quotes erd
33108 \end_inset
33109
33110 , and 
33111 \begin_inset Quotes eld
33112 \end_inset
33113
33114
33115 \family sans
33116 p
33117 \family default
33118
33119 \begin_inset Quotes erd
33120 \end_inset
33121
33122  corresponding to the float placement options described in section
33123 \begin_inset space ~
33124 \end_inset
33125
33126
33127 \begin_inset CommandInset ref
33128 LatexCommand ref
33129 reference "sec:Float-Placement"
33130
33131 \end_inset
33132
33133 .
33134  The placement options can be mixed and are inserted without any separation,
33135  e.
33136 \begin_inset space \thinspace{}
33137 \end_inset
33138
33139 g.
33140 \begin_inset space \space{}
33141 \end_inset
33142
33143
33144 \begin_inset Quotes eld
33145 \end_inset
33146
33147
33148 \family sans
33149 htbp
33150 \family default
33151
33152 \begin_inset Quotes erd
33153 \end_inset
33154
33155 .
33156  The option 
33157 \begin_inset Quotes eld
33158 \end_inset
33159
33160 h
33161 \begin_inset Quotes erd
33162 \end_inset
33163
33164  has sometimes no effect, but you don't need to use the 
33165 \family sans
33166 Float
33167 \family default
33168  option in this case as also non-float listings can have captions and be
33169  referenced.
33170 \end_layout
33171
33172 \begin_layout Standard
33173 You can add captions to listings with the menu 
33174 \family sans
33175 Insert\SpecialChar \menuseparator
33176 Caption
33177 \family default
33178 .
33179  Listings can be referenced like floats: Listing
33180 \begin_inset space ~
33181 \end_inset
33182
33183
33184 \begin_inset CommandInset ref
33185 LatexCommand ref
33186 reference "lst:Example-Listing"
33187
33188 \end_inset
33189
33190
33191 \end_layout
33192
33193 \begin_layout Standard
33194 \begin_inset listings
33195 lstparams "language=Python"
33196 inline false
33197 status open
33198
33199 \begin_layout Plain Layout
33200
33201 \begin_inset Caption
33202
33203 \begin_layout Plain Layout
33204 \begin_inset CommandInset label
33205 LatexCommand label
33206 name "lst:Example-Listing"
33207
33208 \end_inset
33209
33210 Example Listing float
33211 \end_layout
33212
33213 \end_inset
33214
33215 # Example listing float
33216 \end_layout
33217
33218 \begin_layout Plain Layout
33219
33220 def func(param):
33221 \end_layout
33222
33223 \begin_layout Plain Layout
33224
33225     'this is a python function'
33226 \end_layout
33227
33228 \begin_layout Plain Layout
33229
33230     pass
33231 \end_layout
33232
33233 \end_inset
33234
33235
33236 \end_layout
33237
33238 \begin_layout Standard
33239 When you have set a programming language in the listings dialog, the keywords
33240  of this language will be recognized and specially typeset in the output.
33241  In the example listings the Python keyword 
33242 \begin_inset Quotes eld
33243 \end_inset
33244
33245 def
33246 \begin_inset Quotes erd
33247 \end_inset
33248
33249  is recognized and printed bold in the output.
33250 \end_layout
33251
33252 \begin_layout Standard
33253 \begin_inset Note Greyedout
33254 status open
33255
33256 \begin_layout Plain Layout
33257
33258 \series bold
33259 Note:
33260 \series default
33261  If you don't get bold keywords when using typewriter fonts, your 
33262 \family typewriter
33263 typewriter
33264 \family default
33265  font probably doesn't provide a bold shape.
33266  In this case select a different one in the menu 
33267 \family sans
33268 Document\SpecialChar \menuseparator
33269 Settings\SpecialChar \menuseparator
33270 Fonts
33271 \family default
33272 .
33273  (The fonts 
33274 \emph on
33275 LuxiMono, BeraMono
33276 \emph default
33277  and 
33278 \emph on
33279 Courier
33280 \emph default
33281  provide bold shapes.)
33282 \end_layout
33283
33284 \end_inset
33285
33286
33287 \end_layout
33288
33289 \begin_layout Standard
33290 In section 
33291 \family sans
33292 Line
33293 \begin_inset space ~
33294 \end_inset
33295
33296 numbering
33297 \family default
33298  of the listings dialog you can specify the line numbering style.
33299  You can insert a number to specify which lines are numbered in the field
33300  
33301 \family sans
33302 Step
33303 \family default
33304 .
33305  When you insert e.
33306 \begin_inset space \thinspace{}
33307 \end_inset
33308
33309 g.
33310 \begin_inset space \space{}
33311 \end_inset
33312
33313
33314 \begin_inset Quotes eld
33315 \end_inset
33316
33317 3
33318 \begin_inset Quotes erd
33319 \end_inset
33320
33321 , only every 3rd line will be numbered.
33322 \end_layout
33323
33324 \begin_layout Standard
33325 You can furthermore specify a range of lines; only these will then appear
33326  in the output.
33327  The option 
33328 \family sans
33329 Extended character table
33330 \family default
33331  should be used when you use national characters like the German umlauts
33332  in the listing.
33333 \begin_inset Newline newline
33334 \end_inset
33335
33336 Here is an example listing with left line numbering, step 
33337 \begin_inset Quotes eld
33338 \end_inset
33339
33340 3
33341 \begin_inset Quotes erd
33342 \end_inset
33343
33344 , language 
33345 \begin_inset Quotes eld
33346 \end_inset
33347
33348 Python
33349 \begin_inset Quotes erd
33350 \end_inset
33351
33352 , options 
33353 \begin_inset Quotes eld
33354 \end_inset
33355
33356 Extended character table
33357 \begin_inset Quotes erd
33358 \end_inset
33359
33360  and 
33361 \begin_inset Quotes eld
33362 \end_inset
33363
33364 Space
33365 \begin_inset space ~
33366 \end_inset
33367
33368 as
33369 \begin_inset space ~
33370 \end_inset
33371
33372 symbol
33373 \begin_inset Quotes erd
33374 \end_inset
33375
33376 , range lines 3
33377 \begin_inset space \thinspace{}
33378 \end_inset
33379
33380 -
33381 \begin_inset space \thinspace{}
33382 \end_inset
33383
33384 8:
33385 \end_layout
33386
33387 \begin_layout Standard
33388 \begin_inset listings
33389 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
33390 inline false
33391 status open
33392
33393 \begin_layout Plain Layout
33394
33395 def func(param):
33396 \end_layout
33397
33398 \begin_layout Plain Layout
33399
33400     'this is a python function'
33401 \end_layout
33402
33403 \begin_layout Plain Layout
33404
33405     pass
33406 \end_layout
33407
33408 \begin_layout Plain Layout
33409
33410 def func(param):
33411 \end_layout
33412
33413 \begin_layout Plain Layout
33414
33415 'This is a German word: Tschüß'
33416 \end_layout
33417
33418 \begin_layout Plain Layout
33419
33420 pass
33421 \end_layout
33422
33423 \begin_layout Plain Layout
33424
33425 def func(param):
33426 \end_layout
33427
33428 \begin_layout Plain Layout
33429
33430 'this is a python function'
33431 \end_layout
33432
33433 \begin_layout Plain Layout
33434
33435 pass
33436 \end_layout
33437
33438 \end_inset
33439
33440
33441 \end_layout
33442
33443 \begin_layout Standard
33444 When you have tabulators in your listing, you can specify the number of
33445  characters that are spanned by a tabulator in the field 
33446 \family sans
33447 Tabulator
33448 \begin_inset space ~
33449 \end_inset
33450
33451 size
33452 \family default
33453 .
33454 \end_layout
33455
33456 \begin_layout Standard
33457 \begin_inset Note Greyedout
33458 status open
33459
33460 \begin_layout Plain Layout
33461
33462 \series bold
33463 Note:
33464 \series default
33465  Due to a bug in the 
33466 \series bold
33467 listings
33468 \series default
33469  package the line numbering is shifted by a line by every previous listing.
33470  That's the reason why the lines 2 and 5 are numbered in the above listing
33471  and not the lines 3 and 6.
33472 \end_layout
33473
33474 \end_inset
33475
33476
33477 \end_layout
33478
33479 \begin_layout Standard
33480 \begin_inset VSpace bigskip
33481 \end_inset
33482
33483
33484 \end_layout
33485
33486 \begin_layout Standard
33487 It is also possible to print lines from a file as listing.
33488  To do this, use the menu 
33489 \family sans
33490 Insert\SpecialChar \menuseparator
33491 File\SpecialChar \menuseparator
33492 Child Document
33493 \family default
33494  and choose the type 
33495 \family sans
33496 Listings
33497 \family default
33498 .
33499 \begin_inset Foot
33500 status collapsed
33501
33502 \begin_layout Plain Layout
33503 The other child document types are described in section
33504 \begin_inset space ~
33505 \end_inset
33506
33507
33508 \begin_inset CommandInset ref
33509 LatexCommand ref
33510 reference "sec:Child-Documents"
33511
33512 \end_inset
33513
33514 .
33515 \end_layout
33516
33517 \end_inset
33518
33519  In the child document dialog you can specify the listing parameters in
33520  a text box.
33521  To show a list of all available parameters, type in a question mark 
33522 \begin_inset Quotes eld
33523 \end_inset
33524
33525 ?
33526 \begin_inset Quotes erd
33527 \end_inset
33528
33529  in the text box.
33530 \end_layout
33531
33532 \begin_layout Standard
33533 To reference child document listings, write a label text into the corresponding
33534  field of the child document dialog.
33535  The label can then be referenced using the menu 
33536 \family sans
33537 Insert\SpecialChar \menuseparator
33538 Cross-Reference
33539 \family default
33540 .
33541 \end_layout
33542
33543 \begin_layout Standard
33544 Listing
33545 \begin_inset space ~
33546 \end_inset
33547
33548
33549 \begin_inset CommandInset ref
33550 LatexCommand ref
33551 reference "lst:file-listing"
33552
33553 \end_inset
33554
33555  is an example for a listing of a file; there the lines 10
33556 \begin_inset space \thinspace{}
33557 \end_inset
33558
33559 -
33560 \begin_inset space \thinspace{}
33561 \end_inset
33562
33563 15 of this LyX file are listed.
33564 \end_layout
33565
33566 \begin_layout Standard
33567 \begin_inset CommandInset include
33568 LatexCommand lstinputlisting
33569 filename "EmbeddedObjects.lyx"
33570 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
33571
33572 \end_inset
33573
33574
33575 \end_layout
33576
33577 \begin_layout Standard
33578 \begin_inset VSpace bigskip
33579 \end_inset
33580
33581
33582 \end_layout
33583
33584 \begin_layout Standard
33585 Inserting a formula into a listing can be done the following way:
33586 \end_layout
33587
33588 \begin_layout Enumerate
33589 Open the listings dialog and add
33590 \begin_inset Newline newline
33591 \end_inset
33592
33593
33594 \family sans
33595 mathescape=true
33596 \family default
33597
33598 \begin_inset Newline newline
33599 \end_inset
33600
33601 to the field of the 
33602 \family sans
33603 Advanced
33604 \family default
33605  tab.
33606 \end_layout
33607
33608 \begin_layout Enumerate
33609 Create a formula outside the listing
33610 \end_layout
33611
33612 \begin_layout Enumerate
33613 Copy the content of the formula (not the formula inset) to the clipboard
33614  (shortcut 
33615 \begin_inset Info
33616 type  "shortcut"
33617 arg   "copy"
33618 \end_inset
33619
33620 )
33621 \end_layout
33622
33623 \begin_layout Enumerate
33624 In the listing write 
33625 \begin_inset Quotes eld
33626 \end_inset
33627
33628
33629 \family sans
33630 $$
33631 \family default
33632
33633 \begin_inset Quotes erd
33634 \end_inset
33635
33636  and copy from the clipboard between the dollar-signs (shortcut 
33637 \begin_inset Info
33638 type  "shortcut"
33639 arg   "paste"
33640 \end_inset
33641
33642 )
33643 \end_layout
33644
33645 \begin_layout Standard
33646 \begin_inset listings
33647 lstparams "language=Python,mathescape=true"
33648 inline false
33649 status open
33650
33651 \begin_layout Plain Layout
33652
33653 \begin_inset Caption
33654
33655 \begin_layout Plain Layout
33656 Example Listing float containing a formula
33657 \end_layout
33658
33659 \end_inset
33660
33661 # Example listing float
33662 \end_layout
33663
33664 \begin_layout Plain Layout
33665
33666 def func(param):
33667 \end_layout
33668
33669 \begin_layout Plain Layout
33670
33671     # $
33672 \backslash
33673 prod_{n=1}^{
33674 \backslash
33675 infty}
33676 \backslash
33677 ,
33678 \backslash
33679 frac{1}{x^{2}}$
33680 \end_layout
33681
33682 \begin_layout Plain Layout
33683
33684     pass
33685 \end_layout
33686
33687 \end_inset
33688
33689
33690 \end_layout
33691
33692 \begin_layout Standard
33693 \begin_inset VSpace bigskip
33694 \end_inset
33695
33696
33697 \end_layout
33698
33699 \begin_layout Standard
33700 Global listings settings can be set in the 
33701 \family sans
33702 Document\SpecialChar \menuseparator
33703 Settings\SpecialChar \menuseparator
33704 Listings
33705 \family default
33706  dialog.
33707  To get there a list of available options, type in a question mark 
33708 \begin_inset Quotes eld
33709 \end_inset
33710
33711 ?
33712 \begin_inset Quotes erd
33713 \end_inset
33714
33715 .
33716 \end_layout
33717
33718 \begin_layout Standard
33719 For more information about the 
33720 \series bold
33721 listings
33722 \series default
33723  package, we refer to its documentation 
33724 \begin_inset CommandInset citation
33725 LatexCommand cite
33726 key "listings"
33727
33728 \end_inset
33729
33730 .
33731 \end_layout
33732
33733 \begin_layout Standard
33734 \begin_inset Newpage newpage
33735 \end_inset
33736
33737
33738 \end_layout
33739
33740 \begin_layout Chapter
33741 \start_of_appendix
33742 Units available in LyX
33743 \begin_inset Index idx
33744 status collapsed
33745
33746 \begin_layout Plain Layout
33747 Units
33748 \end_layout
33749
33750 \end_inset
33751
33752
33753 \begin_inset CommandInset label
33754 LatexCommand label
33755 name "cha:Units-available-in"
33756
33757 \end_inset
33758
33759
33760 \end_layout
33761
33762 \begin_layout Standard
33763 To understand the units described in this documentation, Table
33764 \begin_inset space ~
33765 \end_inset
33766
33767
33768 \begin_inset CommandInset ref
33769 LatexCommand ref
33770 reference "tab:Units"
33771
33772 \end_inset
33773
33774  explains all units available in LyX.
33775 \end_layout
33776
33777 \begin_layout Standard
33778 \begin_inset Float table
33779 placement h
33780 wide false
33781 sideways false
33782 status open
33783
33784 \begin_layout Plain Layout
33785 \begin_inset Caption
33786
33787 \begin_layout Plain Layout
33788 \begin_inset CommandInset label
33789 LatexCommand label
33790 name "tab:Units"
33791
33792 \end_inset
33793
33794 Units
33795 \end_layout
33796
33797 \end_inset
33798
33799
33800 \end_layout
33801
33802 \begin_layout Plain Layout
33803 \begin_inset VSpace medskip
33804 \end_inset
33805
33806
33807 \end_layout
33808
33809 \begin_layout Plain Layout
33810 \align center
33811 \begin_inset Tabular
33812 <lyxtabular version="3" rows="20" columns="2">
33813 <features tabularvalignment="middle">
33814 <column alignment="center" valignment="top" width="0">
33815 <column alignment="center" valignment="top" width="0">
33816 <row>
33817 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33818 \begin_inset Text
33819
33820 \begin_layout Plain Layout
33821 unit
33822 \end_layout
33823
33824 \end_inset
33825 </cell>
33826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33827 \begin_inset Text
33828
33829 \begin_layout Plain Layout
33830 name/description
33831 \end_layout
33832
33833 \end_inset
33834 </cell>
33835 </row>
33836 <row>
33837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33838 \begin_inset Text
33839
33840 \begin_layout Plain Layout
33841 mm
33842 \end_layout
33843
33844 \end_inset
33845 </cell>
33846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33847 \begin_inset Text
33848
33849 \begin_layout Plain Layout
33850 millimeter
33851 \end_layout
33852
33853 \end_inset
33854 </cell>
33855 </row>
33856 <row>
33857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33858 \begin_inset Text
33859
33860 \begin_layout Plain Layout
33861 cm
33862 \end_layout
33863
33864 \end_inset
33865 </cell>
33866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33867 \begin_inset Text
33868
33869 \begin_layout Plain Layout
33870 centimeter
33871 \end_layout
33872
33873 \end_inset
33874 </cell>
33875 </row>
33876 <row>
33877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33878 \begin_inset Text
33879
33880 \begin_layout Plain Layout
33881 in
33882 \end_layout
33883
33884 \end_inset
33885 </cell>
33886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33887 \begin_inset Text
33888
33889 \begin_layout Plain Layout
33890 inch
33891 \end_layout
33892
33893 \end_inset
33894 </cell>
33895 </row>
33896 <row>
33897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33898 \begin_inset Text
33899
33900 \begin_layout Plain Layout
33901 pt
33902 \end_layout
33903
33904 \end_inset
33905 </cell>
33906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33907 \begin_inset Text
33908
33909 \begin_layout Plain Layout
33910 point (72.27
33911 \begin_inset space \thinspace{}
33912 \end_inset
33913
33914 pt = 1
33915 \begin_inset space \thinspace{}
33916 \end_inset
33917
33918 in)
33919 \end_layout
33920
33921 \end_inset
33922 </cell>
33923 </row>
33924 <row>
33925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33926 \begin_inset Text
33927
33928 \begin_layout Plain Layout
33929 pc
33930 \end_layout
33931
33932 \end_inset
33933 </cell>
33934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33935 \begin_inset Text
33936
33937 \begin_layout Plain Layout
33938 pica (1
33939 \begin_inset space \thinspace{}
33940 \end_inset
33941
33942 pc = 12
33943 \begin_inset space \thinspace{}
33944 \end_inset
33945
33946 pt)
33947 \end_layout
33948
33949 \end_inset
33950 </cell>
33951 </row>
33952 <row>
33953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33954 \begin_inset Text
33955
33956 \begin_layout Plain Layout
33957 sp
33958 \end_layout
33959
33960 \end_inset
33961 </cell>
33962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33963 \begin_inset Text
33964
33965 \begin_layout Plain Layout
33966 scaled point (65536
33967 \begin_inset space \thinspace{}
33968 \end_inset
33969
33970 sp = 1
33971 \begin_inset space \thinspace{}
33972 \end_inset
33973
33974 pt)
33975 \end_layout
33976
33977 \end_inset
33978 </cell>
33979 </row>
33980 <row>
33981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33982 \begin_inset Text
33983
33984 \begin_layout Plain Layout
33985 bp
33986 \end_layout
33987
33988 \end_inset
33989 </cell>
33990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33991 \begin_inset Text
33992
33993 \begin_layout Plain Layout
33994 big point (72
33995 \begin_inset space \thinspace{}
33996 \end_inset
33997
33998 bp = 1
33999 \begin_inset space \thinspace{}
34000 \end_inset
34001
34002 in)
34003 \end_layout
34004
34005 \end_inset
34006 </cell>
34007 </row>
34008 <row>
34009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34010 \begin_inset Text
34011
34012 \begin_layout Plain Layout
34013 dd
34014 \end_layout
34015
34016 \end_inset
34017 </cell>
34018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34019 \begin_inset Text
34020
34021 \begin_layout Plain Layout
34022 didot (1
34023 \begin_inset space \thinspace{}
34024 \end_inset
34025
34026 dd 
34027 \begin_inset Formula $\approx$
34028 \end_inset
34029
34030  0.376
34031 \begin_inset space \thinspace{}
34032 \end_inset
34033
34034 mm)
34035 \end_layout
34036
34037 \end_inset
34038 </cell>
34039 </row>
34040 <row>
34041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34042 \begin_inset Text
34043
34044 \begin_layout Plain Layout
34045 cc
34046 \end_layout
34047
34048 \end_inset
34049 </cell>
34050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34051 \begin_inset Text
34052
34053 \begin_layout Plain Layout
34054 cicero (1
34055 \begin_inset space \thinspace{}
34056 \end_inset
34057
34058 cc = 12
34059 \begin_inset space \thinspace{}
34060 \end_inset
34061
34062 dd)
34063 \end_layout
34064
34065 \end_inset
34066 </cell>
34067 </row>
34068 <row>
34069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34070 \begin_inset Text
34071
34072 \begin_layout Plain Layout
34073 Scale%
34074 \end_layout
34075
34076 \end_inset
34077 </cell>
34078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34079 \begin_inset Text
34080
34081 \begin_layout Plain Layout
34082 % of original image width
34083 \end_layout
34084
34085 \end_inset
34086 </cell>
34087 </row>
34088 <row>
34089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34090 \begin_inset Text
34091
34092 \begin_layout Plain Layout
34093 text%
34094 \end_layout
34095
34096 \end_inset
34097 </cell>
34098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34099 \begin_inset Text
34100
34101 \begin_layout Plain Layout
34102 % of text width
34103 \end_layout
34104
34105 \end_inset
34106 </cell>
34107 </row>
34108 <row>
34109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34110 \begin_inset Text
34111
34112 \begin_layout Plain Layout
34113 col%
34114 \end_layout
34115
34116 \end_inset
34117 </cell>
34118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34119 \begin_inset Text
34120
34121 \begin_layout Plain Layout
34122 % of column width
34123 \end_layout
34124
34125 \end_inset
34126 </cell>
34127 </row>
34128 <row>
34129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34130 \begin_inset Text
34131
34132 \begin_layout Plain Layout
34133 page%
34134 \end_layout
34135
34136 \end_inset
34137 </cell>
34138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34139 \begin_inset Text
34140
34141 \begin_layout Plain Layout
34142 % of paper width
34143 \end_layout
34144
34145 \end_inset
34146 </cell>
34147 </row>
34148 <row>
34149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34150 \begin_inset Text
34151
34152 \begin_layout Plain Layout
34153 line%
34154 \end_layout
34155
34156 \end_inset
34157 </cell>
34158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34159 \begin_inset Text
34160
34161 \begin_layout Plain Layout
34162 % of line width
34163 \end_layout
34164
34165 \end_inset
34166 </cell>
34167 </row>
34168 <row>
34169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34170 \begin_inset Text
34171
34172 \begin_layout Plain Layout
34173 theight%
34174 \end_layout
34175
34176 \end_inset
34177 </cell>
34178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34179 \begin_inset Text
34180
34181 \begin_layout Plain Layout
34182 % of text height
34183 \end_layout
34184
34185 \end_inset
34186 </cell>
34187 </row>
34188 <row>
34189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34190 \begin_inset Text
34191
34192 \begin_layout Plain Layout
34193 pheight%
34194 \end_layout
34195
34196 \end_inset
34197 </cell>
34198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34199 \begin_inset Text
34200
34201 \begin_layout Plain Layout
34202 % of paper height
34203 \end_layout
34204
34205 \end_inset
34206 </cell>
34207 </row>
34208 <row>
34209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34210 \begin_inset Text
34211
34212 \begin_layout Plain Layout
34213 ex
34214 \end_layout
34215
34216 \end_inset
34217 </cell>
34218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34219 \begin_inset Text
34220
34221 \begin_layout Plain Layout
34222 height of letter 
34223 \emph on
34224 x
34225 \emph default
34226  in current font
34227 \end_layout
34228
34229 \end_inset
34230 </cell>
34231 </row>
34232 <row>
34233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34234 \begin_inset Text
34235
34236 \begin_layout Plain Layout
34237 em
34238 \end_layout
34239
34240 \end_inset
34241 </cell>
34242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34243 \begin_inset Text
34244
34245 \begin_layout Plain Layout
34246 width of letter 
34247 \emph on
34248 M
34249 \emph default
34250  in current font
34251 \end_layout
34252
34253 \end_inset
34254 </cell>
34255 </row>
34256 <row>
34257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34258 \begin_inset Text
34259
34260 \begin_layout Plain Layout
34261 mu
34262 \end_layout
34263
34264 \end_inset
34265 </cell>
34266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34267 \begin_inset Text
34268
34269 \begin_layout Plain Layout
34270 math unit (1
34271 \begin_inset space \thinspace{}
34272 \end_inset
34273
34274 mu = 1/18
34275 \begin_inset space \thinspace{}
34276 \end_inset
34277
34278 em)
34279 \end_layout
34280
34281 \end_inset
34282 </cell>
34283 </row>
34284 </lyxtabular>
34285
34286 \end_inset
34287
34288
34289 \end_layout
34290
34291 \end_inset
34292
34293
34294 \end_layout
34295
34296 \begin_layout Chapter
34297 Output File Formats with Graphics
34298 \begin_inset CommandInset label
34299 LatexCommand label
34300 name "cha:Output-File-Formats"
34301
34302 \end_inset
34303
34304
34305 \end_layout
34306
34307 \begin_layout Section
34308 DVI
34309 \begin_inset Index idx
34310 status collapsed
34311
34312 \begin_layout Plain Layout
34313 File Formats ! DVI
34314 \end_layout
34315
34316 \end_inset
34317
34318
34319 \begin_inset Index idx
34320 status collapsed
34321
34322 \begin_layout Plain Layout
34323 DVI|see
34324 \begin_inset ERT
34325 status collapsed
34326
34327 \begin_layout Plain Layout
34328
34329 {
34330 \end_layout
34331
34332 \end_inset
34333
34334 File Formats
34335 \begin_inset ERT
34336 status collapsed
34337
34338 \begin_layout Plain Layout
34339
34340 }
34341 \end_layout
34342
34343 \end_inset
34344
34345
34346 \end_layout
34347
34348 \end_inset
34349
34350
34351 \end_layout
34352
34353 \begin_layout Standard
34354 This file type has the extension 
34355 \begin_inset Quotes eld
34356 \end_inset
34357
34358
34359 \family typewriter
34360 .dvi
34361 \family default
34362
34363 \begin_inset Quotes erd
34364 \end_inset
34365
34366 .
34367  It is called 
34368 \begin_inset Quotes eld
34369 \end_inset
34370
34371 device-independent
34372 \begin_inset Quotes erd
34373 \end_inset
34374
34375  (DVI), because it is completely portable; you can move them from one machine
34376  to another without needing to do any sort of conversion.
34377  At the time when this file-format was developed, this was no matter of
34378  course.
34379  DVIs are used for quick previews and as pre-stage for other output formats,
34380  like PostScript.
34381 \end_layout
34382
34383 \begin_layout Standard
34384 \begin_inset Note Greyedout
34385 status open
34386
34387 \begin_layout Plain Layout
34388
34389 \series bold
34390 Note:
34391 \series default
34392  DVI-files do not contain images; they will only be a linked.
34393 \end_layout
34394
34395 \end_inset
34396
34397  So don't forget this, if you move your 
34398 \family typewriter
34399 .dvi
34400 \family default
34401  file to another computer.
34402  This property can also slow down your computer when you view the DVI, because
34403  the DVI-viewer has to convert the image in the background to make it visible
34404  when you scroll in the DVI.
34405  So it is recommended that you use PDF for files with many images.
34406 \end_layout
34407
34408 \begin_layout Standard
34409 You can export your document to DVI by using the menu 
34410 \family sans
34411 File\SpecialChar \menuseparator
34412 Export\SpecialChar \menuseparator
34413 DVI
34414 \family default
34415 .
34416  You can view your document as DVI via the 
34417 \family sans
34418 View
34419 \family default
34420  menu or by using the toolbar button 
34421 \begin_inset Graphics
34422         filename ../images/buffer-view_dvi.png
34423         scale 85
34424         scaleBeforeRotation
34425
34426 \end_inset
34427
34428 .
34429 \end_layout
34430
34431 \begin_layout Section
34432 PostScript
34433 \begin_inset CommandInset label
34434 LatexCommand label
34435 name "sec:PostScript"
34436
34437 \end_inset
34438
34439
34440 \begin_inset Index idx
34441 status collapsed
34442
34443 \begin_layout Plain Layout
34444 File Formats ! PostScript
34445 \end_layout
34446
34447 \end_inset
34448
34449
34450 \begin_inset Index idx
34451 status collapsed
34452
34453 \begin_layout Plain Layout
34454 PostScript|see
34455 \begin_inset ERT
34456 status collapsed
34457
34458 \begin_layout Plain Layout
34459
34460 {
34461 \end_layout
34462
34463 \end_inset
34464
34465 File Formats
34466 \begin_inset ERT
34467 status collapsed
34468
34469 \begin_layout Plain Layout
34470
34471 }
34472 \end_layout
34473
34474 \end_inset
34475
34476
34477 \end_layout
34478
34479 \end_inset
34480
34481
34482 \end_layout
34483
34484 \begin_layout Standard
34485 This file type has the extension 
34486 \begin_inset Quotes eld
34487 \end_inset
34488
34489
34490 \family typewriter
34491 .ps
34492 \family default
34493
34494 \begin_inset Quotes erd
34495 \end_inset
34496
34497 .
34498  PostScript was developed by the company 
34499 \family typewriter
34500 Adobe
34501 \family default
34502  as a printer language.
34503  The file therefore contains commands that the printer uses to print the
34504  file.
34505  PostScript can be seen as a 
34506 \begin_inset Quotes eld
34507 \end_inset
34508
34509 programming language
34510 \begin_inset Quotes erd
34511 \end_inset
34512
34513 ; you can calculate with it and draw diagrams and images
34514 \begin_inset Foot
34515 status collapsed
34516
34517 \begin_layout Plain Layout
34518 If you are interested to learn more about this, have a look at the LaTeX-package
34519  
34520 \series bold
34521 PSTricks
34522 \series default
34523  
34524 \begin_inset CommandInset citation
34525 LatexCommand cite
34526 key "pstricks"
34527
34528 \end_inset
34529
34530 .
34531 \end_layout
34532
34533 \end_inset
34534
34535 .
34536  Due to this ability, the files are often bigger than PDFs.
34537 \end_layout
34538
34539 \begin_layout Standard
34540 PostScript can only contain images in the format 
34541 \begin_inset Quotes eld
34542 \end_inset
34543
34544 Encapsulated PostScript
34545 \begin_inset Quotes erd
34546 \end_inset
34547
34548  (EPS, file extension 
34549 \begin_inset Quotes eld
34550 \end_inset
34551
34552
34553 \family typewriter
34554 .eps
34555 \family default
34556
34557 \begin_inset Quotes erd
34558 \end_inset
34559
34560 ).
34561  As LyX allows you to use any known image format in your document, it has
34562  to convert images in the background to EPS.
34563  If you have e.g.
34564 \begin_inset space ~
34565 \end_inset
34566
34567 50
34568 \begin_inset space ~
34569 \end_inset
34570
34571 images in your document, LyX has to do 50
34572 \begin_inset space ~
34573 \end_inset
34574
34575 conversions whenever you view or export your document.
34576  This will slow down your work flow with LyX drastically.
34577  So if you plan to use PostScript, you can insert your images directly as
34578  EPS to avoid this problem.
34579 \end_layout
34580
34581 \begin_layout Standard
34582 You can export your document to PostScript using the menu 
34583 \family sans
34584 File\SpecialChar \menuseparator
34585 Export\SpecialChar \menuseparator
34586 Postscript
34587 \family default
34588 .
34589  You can view your document as PostScript via the 
34590 \family sans
34591 View
34592 \family default
34593  menu or by using the toolbar button 
34594 \begin_inset Graphics
34595         filename ../images/buffer-view_ps.png
34596         scale 85
34597         scaleBeforeRotation
34598
34599 \end_inset
34600
34601 .
34602 \end_layout
34603
34604 \begin_layout Section
34605 PDF
34606 \begin_inset Index idx
34607 status collapsed
34608
34609 \begin_layout Plain Layout
34610 File Formats ! PDF
34611 \end_layout
34612
34613 \end_inset
34614
34615
34616 \begin_inset Index idx
34617 status collapsed
34618
34619 \begin_layout Plain Layout
34620 PDF
34621 \end_layout
34622
34623 \end_inset
34624
34625
34626 \end_layout
34627
34628 \begin_layout Standard
34629 This file type has the extension 
34630 \begin_inset Quotes eld
34631 \end_inset
34632
34633
34634 \family typewriter
34635 .pdf
34636 \family default
34637
34638 \begin_inset Quotes erd
34639 \end_inset
34640
34641 .
34642  The 
34643 \begin_inset Quotes eld
34644 \end_inset
34645
34646 Portable Document Format
34647 \begin_inset Quotes erd
34648 \end_inset
34649
34650  (PDF) was developed by 
34651 \family typewriter
34652 Adobe
34653 \family default
34654  as a derivative of PostScript.
34655  It is more compressed and it uses fewer commands than PostScript.
34656  As the name 
34657 \begin_inset Quotes eld
34658 \end_inset
34659
34660 portable
34661 \begin_inset Quotes erd
34662 \end_inset
34663
34664  implies, it can be processed at any computer system and the printed output
34665  looks exactly the same.
34666 \end_layout
34667
34668 \begin_layout Standard
34669 PDF can contain images in its own PDF format, in the format 
34670 \begin_inset Quotes eld
34671 \end_inset
34672
34673 Joint Photographic Experts Group
34674 \begin_inset Quotes erd
34675 \end_inset
34676
34677  (JPG, file extension 
34678 \begin_inset Quotes eld
34679 \end_inset
34680
34681
34682 \family typewriter
34683 .jpg
34684 \family default
34685
34686 \begin_inset Quotes erd
34687 \end_inset
34688
34689  or 
34690 \begin_inset Quotes eld
34691 \end_inset
34692
34693
34694 \family typewriter
34695 .jpeg
34696 \family default
34697
34698 \begin_inset Quotes erd
34699 \end_inset
34700
34701 ), and in the format 
34702 \begin_inset Quotes eld
34703 \end_inset
34704
34705 Portable Network Graphics
34706 \begin_inset Quotes erd
34707 \end_inset
34708
34709  (PNG, file extension 
34710 \begin_inset Quotes eld
34711 \end_inset
34712
34713
34714 \family typewriter
34715 .png
34716 \family default
34717
34718 \begin_inset Quotes erd
34719 \end_inset
34720
34721 ).
34722  Nevertheless you can use any other image format, because LyX converts them
34723  in the background to one of these formats.
34724  But as described in the section about PostScript, the image conversion
34725  will slow down your work flow.
34726  So it is recommended that you use images in one of the three mentioned
34727  formats.
34728 \end_layout
34729
34730 \begin_layout Standard
34731 You can export your document to PDF via the menu 
34732 \family sans
34733 File\SpecialChar \menuseparator
34734 Export
34735 \family default
34736  in three different ways:
34737 \end_layout
34738
34739 \begin_layout Description
34740 PDF
34741 \begin_inset space ~
34742 \end_inset
34743
34744 (ps2pdf) This uses the program 
34745 \family typewriter
34746 ps2pdf
34747 \family default
34748  that creates a PDF from a PostScript-version of your file.
34749  The PostScript-version is produced by the program 
34750 \family typewriter
34751 dvips
34752 \family default
34753  which uses a DVI-version as intermediate step.
34754  So this export variant consists of three conversions.
34755 \end_layout
34756
34757 \begin_layout Description
34758 PDF
34759 \begin_inset space ~
34760 \end_inset
34761
34762 (dvipdfm) This uses the program 
34763 \family typewriter
34764 dvipdfm
34765 \family default
34766  that converts your file in the background to DVI and in a second step to
34767  PDF.
34768 \end_layout
34769
34770 \begin_layout Description
34771 PDF
34772 \begin_inset space ~
34773 \end_inset
34774
34775 (pdflatex) This uses the program 
34776 \family typewriter
34777 pdftex
34778 \family default
34779  that converts your file directly to PDF.
34780 \end_layout
34781
34782 \begin_layout Standard
34783 It is recommended that you use 
34784 \family sans
34785 PDF
34786 \begin_inset space ~
34787 \end_inset
34788
34789 (pdflatex)
34790 \family default
34791  because 
34792 \family typewriter
34793 pdftex
34794 \family default
34795  supports all features of actual PDF-versions, is quick and works stable.
34796  The program 
34797 \family typewriter
34798 dvipdfm
34799 \family default
34800  is not under development and therefore a bit outdated.
34801 \end_layout
34802
34803 \begin_layout Standard
34804 You can view your document as PDF via the 
34805 \family sans
34806 View
34807 \family default
34808  menu or by using the toolbar button 
34809 \begin_inset Graphics
34810         filename ../images/buffer-view_pdf2.png
34811         scale 85
34812         scaleBeforeRotation
34813
34814 \end_inset
34815
34816  
34817 \family sans
34818 (
34819 \family default
34820 that uses 
34821 \family sans
34822 PDF
34823 \begin_inset space ~
34824 \end_inset
34825
34826 (pdflatex)
34827 \family default
34828 ).
34829 \end_layout
34830
34831 \begin_layout Chapter
34832 Explanation of Equation
34833 \begin_inset space ~
34834 \end_inset
34835
34836 (
34837 \begin_inset CommandInset ref
34838 LatexCommand ref
34839 reference "eq:Wgn"
34840
34841 \end_inset
34842
34843 )
34844 \begin_inset CommandInset label
34845 LatexCommand label
34846 name "cha:Explanation-of-Equation"
34847
34848 \end_inset
34849
34850
34851 \end_layout
34852
34853 \begin_layout Standard
34854 We can calculate the total width of 
34855 \emph on
34856 n
34857 \emph default
34858  table cells 
34859 \begin_inset Formula $W_{\mathrm{tot\, n}}$
34860 \end_inset
34861
34862  as follows:
34863 \end_layout
34864
34865 \begin_layout Standard
34866 \begin_inset Formula 
34867 \begin{equation}
34868 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
34869 \end{equation}
34870
34871 \end_inset
34872
34873 where 
34874 \begin_inset Formula $W_{g\, n}$
34875 \end_inset
34876
34877  is the given width of all cells, 
34878 \series bold
34879
34880 \backslash
34881 tabcolsep
34882 \series default
34883  is the LaTeX-length between the cell text and the cell border (its default
34884  value is 6
34885 \begin_inset space \thinspace{}
34886 \end_inset
34887
34888 pt).
34889  
34890 \series bold
34891
34892 \backslash
34893 arrayrulewidth
34894 \series default
34895  is the thickness of the cell border line, the default is 0.4
34896 \begin_inset space \thinspace{}
34897 \end_inset
34898
34899 pt.
34900 \end_layout
34901
34902 \begin_layout Standard
34903 Following equation
34904 \begin_inset space ~
34905 \end_inset
34906
34907
34908 \begin_inset CommandInset ref
34909 LatexCommand eqref
34910 reference "eq:Wtot_n"
34911
34912 \end_inset
34913
34914 , the total width of a multicolumn 
34915 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
34916 \end_inset
34917
34918  is
34919 \end_layout
34920
34921 \begin_layout Standard
34922 \begin_inset Formula 
34923 \begin{equation}
34924 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
34925 \end{equation}
34926
34927 \end_inset
34928
34929
34930 \end_layout
34931
34932 \begin_layout Standard
34933 By setting equation
34934 \begin_inset space ~
34935 \end_inset
34936
34937
34938 \begin_inset CommandInset ref
34939 LatexCommand eqref
34940 reference "eq:Wtot_n"
34941
34942 \end_inset
34943
34944  and 
34945 \begin_inset CommandInset ref
34946 LatexCommand eqref
34947 reference "eq:Wtot_mult"
34948
34949 \end_inset
34950
34951  equal we can calculate the needed given width 
34952 \begin_inset Formula $W_{g\, n}$
34953 \end_inset
34954
34955  when 
34956 \emph on
34957 n
34958 \emph default
34959  columns are spanned, so that each column has a total width of 
34960 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34961 \end_inset
34962
34963 :
34964 \end_layout
34965
34966 \begin_layout Standard
34967 \begin_inset Formula 
34968 \begin{equation}
34969 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
34970 \end{equation}
34971
34972 \end_inset
34973
34974
34975 \end_layout
34976
34977 \begin_layout Bibliography
34978 \labelwidthstring Bibliography
34979 \begin_inset CommandInset bibitem
34980 LatexCommand bibitem
34981 key "latexcompanion"
34982
34983 \end_inset
34984
34985 Frank Mittelbach and Michel Goossens: 
34986 \emph on
34987 The LaTeX Companion Second Edition.
34988
34989 \emph default
34990  Addison-Wesley, 2004
34991 \end_layout
34992
34993 \begin_layout Bibliography
34994 \labelwidthstring Bibliography
34995 \begin_inset CommandInset bibitem
34996 LatexCommand bibitem
34997 key "latexguide"
34998
34999 \end_inset
35000
35001 Helmut Kopka and Patrick W.
35002  Daly: 
35003 \emph on
35004 A Guide to LaTeX Fourth Edition.
35005
35006 \emph default
35007  Addison-Wesley, 2003
35008 \end_layout
35009
35010 \begin_layout Bibliography
35011 \labelwidthstring Bibliography
35012 \begin_inset CommandInset bibitem
35013 LatexCommand bibitem
35014 key "latexbook"
35015
35016 \end_inset
35017
35018 Leslie Lamport: 
35019 \emph on
35020 LaTeX: A Document Preparation System.
35021
35022 \emph default
35023  Addison-Wesley, second edition, 1994
35024 \end_layout
35025
35026 \begin_layout Bibliography
35027 \labelwidthstring Bibliography
35028 \begin_inset CommandInset bibitem
35029 LatexCommand bibitem
35030 key "booktabs"
35031
35032 \end_inset
35033
35034 Documentation of the LaTeX-package 
35035 \series bold
35036
35037 \begin_inset CommandInset href
35038 LatexCommand href
35039 name "booktabs"
35040 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
35041
35042 \end_inset
35043
35044
35045 \series default
35046
35047 \begin_inset Index idx
35048 status collapsed
35049
35050 \begin_layout Plain Layout
35051 LaTeX-packages ! booktabs
35052 \end_layout
35053
35054 \end_inset
35055
35056
35057 \end_layout
35058
35059 \begin_layout Bibliography
35060 \labelwidthstring Bibliography
35061 \begin_inset CommandInset bibitem
35062 LatexCommand bibitem
35063 key "caption"
35064
35065 \end_inset
35066
35067 Documentation of the LaTeX-package 
35068 \series bold
35069
35070 \begin_inset CommandInset href
35071 LatexCommand href
35072 name "caption"
35073 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
35074
35075 \end_inset
35076
35077
35078 \series default
35079
35080 \begin_inset Index idx
35081 status collapsed
35082
35083 \begin_layout Plain Layout
35084 LaTeX-packages ! caption
35085 \end_layout
35086
35087 \end_inset
35088
35089
35090 \end_layout
35091
35092 \begin_layout Bibliography
35093 \labelwidthstring Bibliography
35094 \begin_inset CommandInset bibitem
35095 LatexCommand bibitem
35096 key "endfloat"
35097
35098 \end_inset
35099
35100 Documentation of the LaTeX-package 
35101 \series bold
35102
35103 \begin_inset CommandInset href
35104 LatexCommand href
35105 name "endfloat"
35106 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
35107
35108 \end_inset
35109
35110
35111 \series default
35112
35113 \begin_inset Index idx
35114 status collapsed
35115
35116 \begin_layout Plain Layout
35117 LaTeX-packages ! endfloat
35118 \end_layout
35119
35120 \end_inset
35121
35122
35123 \end_layout
35124
35125 \begin_layout Bibliography
35126 \labelwidthstring Bibliography
35127 \begin_inset CommandInset bibitem
35128 LatexCommand bibitem
35129 key "wrapfig"
35130
35131 \end_inset
35132
35133 Documentation of the LaTeX-package 
35134 \series bold
35135
35136 \begin_inset CommandInset href
35137 LatexCommand href
35138 name "wrapfig"
35139 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
35140
35141 \end_inset
35142
35143
35144 \series default
35145
35146 \begin_inset Index idx
35147 status collapsed
35148
35149 \begin_layout Plain Layout
35150 LaTeX-packages ! wrapfig
35151 \begin_inset ERT
35152 status collapsed
35153
35154 \begin_layout Plain Layout
35155
35156
35157 \backslash
35158 vspace{4mm}
35159 \end_layout
35160
35161 \end_inset
35162
35163
35164 \end_layout
35165
35166 \end_inset
35167
35168
35169 \end_layout
35170
35171 \begin_layout Bibliography
35172 \labelwidthstring Bibliography
35173 \begin_inset CommandInset bibitem
35174 LatexCommand bibitem
35175 key "footmisc"
35176
35177 \end_inset
35178
35179 Documentation of the LaTeX-package 
35180 \series bold
35181
35182 \begin_inset CommandInset href
35183 LatexCommand href
35184 name "footmisc"
35185 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
35186
35187 \end_inset
35188
35189
35190 \series default
35191
35192 \begin_inset Index idx
35193 status collapsed
35194
35195 \begin_layout Plain Layout
35196 LaTeX-packages ! footmisc
35197 \end_layout
35198
35199 \end_inset
35200
35201
35202 \end_layout
35203
35204 \begin_layout Bibliography
35205 \labelwidthstring Bibliography
35206 \begin_inset CommandInset bibitem
35207 LatexCommand bibitem
35208 key "hypcap"
35209
35210 \end_inset
35211
35212 Documentation of the LaTeX-package 
35213 \series bold
35214
35215 \begin_inset CommandInset href
35216 LatexCommand href
35217 name "hypcap"
35218 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
35219
35220 \end_inset
35221
35222
35223 \series default
35224
35225 \begin_inset Index idx
35226 status collapsed
35227
35228 \begin_layout Plain Layout
35229 LaTeX-packages ! hyperref
35230 \end_layout
35231
35232 \end_inset
35233
35234
35235 \end_layout
35236
35237 \begin_layout Bibliography
35238 \labelwidthstring Bibliography
35239 \begin_inset CommandInset bibitem
35240 LatexCommand bibitem
35241 key "hyperref"
35242
35243 \end_inset
35244
35245 Documentation of the LaTeX-package 
35246 \series bold
35247
35248 \begin_inset CommandInset href
35249 LatexCommand href
35250 name "hyperref"
35251 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
35252
35253 \end_inset
35254
35255
35256 \series default
35257
35258 \begin_inset Index idx
35259 status collapsed
35260
35261 \begin_layout Plain Layout
35262 LaTeX-packages ! hyperref
35263 \end_layout
35264
35265 \end_inset
35266
35267
35268 \end_layout
35269
35270 \begin_layout Bibliography
35271 \labelwidthstring Bibliography
35272 \begin_inset CommandInset bibitem
35273 LatexCommand bibitem
35274 key "KOMA-Script"
35275
35276 \end_inset
35277
35278 Documentation of the LaTeX-package 
35279 \series bold
35280
35281 \begin_inset CommandInset href
35282 LatexCommand href
35283 name "KOMA-Script"
35284 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
35285
35286 \end_inset
35287
35288
35289 \series default
35290
35291 \begin_inset Index idx
35292 status collapsed
35293
35294 \begin_layout Plain Layout
35295 LaTeX-packages ! KOMA-Script
35296 \end_layout
35297
35298 \end_inset
35299
35300
35301 \end_layout
35302
35303 \begin_layout Bibliography
35304 \labelwidthstring Bibliography
35305 \begin_inset CommandInset bibitem
35306 LatexCommand bibitem
35307 key "listings"
35308
35309 \end_inset
35310
35311 Documentation of the LaTeX-package 
35312 \series bold
35313
35314 \begin_inset CommandInset href
35315 LatexCommand href
35316 name "listings"
35317 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
35318
35319 \end_inset
35320
35321
35322 \series default
35323
35324 \begin_inset Index idx
35325 status collapsed
35326
35327 \begin_layout Plain Layout
35328 LaTeX-packages ! listings
35329 \end_layout
35330
35331 \end_inset
35332
35333
35334 \end_layout
35335
35336 \begin_layout Bibliography
35337 \labelwidthstring Bibliography
35338 \begin_inset CommandInset bibitem
35339 LatexCommand bibitem
35340 key "marginnote"
35341
35342 \end_inset
35343
35344 Documentation of the LaTeX-package 
35345 \series bold
35346
35347 \begin_inset CommandInset href
35348 LatexCommand href
35349 name "marginnote"
35350 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
35351
35352 \end_inset
35353
35354
35355 \series default
35356
35357 \begin_inset Index idx
35358 status collapsed
35359
35360 \begin_layout Plain Layout
35361 LaTeX-packages ! marginnote
35362 \end_layout
35363
35364 \end_inset
35365
35366
35367 \end_layout
35368
35369 \begin_layout Bibliography
35370 \labelwidthstring Bibliography
35371 \begin_inset CommandInset bibitem
35372 LatexCommand bibitem
35373 key "pstricks"
35374
35375 \end_inset
35376
35377 Web page of the LaTeX-package 
35378 \series bold
35379
35380 \begin_inset CommandInset href
35381 LatexCommand href
35382 name "PSTricks"
35383 target "http://tug.org/PSTricks/"
35384
35385 \end_inset
35386
35387
35388 \series default
35389
35390 \begin_inset Index idx
35391 status collapsed
35392
35393 \begin_layout Plain Layout
35394 LaTeX-packages ! PSTricks
35395 \end_layout
35396
35397 \end_inset
35398
35399
35400 \end_layout
35401
35402 \begin_layout Bibliography
35403 \labelwidthstring Bibliography
35404 \begin_inset CommandInset bibitem
35405 LatexCommand bibitem
35406 key "sidecap"
35407
35408 \end_inset
35409
35410 Documentation of the LaTeX-package 
35411 \series bold
35412
35413 \begin_inset CommandInset href
35414 LatexCommand href
35415 name "sidecap"
35416 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
35417
35418 \end_inset
35419
35420
35421 \series default
35422
35423 \begin_inset Index idx
35424 status collapsed
35425
35426 \begin_layout Plain Layout
35427 LaTeX-packages ! sidecap
35428 \end_layout
35429
35430 \end_inset
35431
35432
35433 \end_layout
35434
35435 \begin_layout Bibliography
35436 \labelwidthstring Bibliography
35437 \begin_inset CommandInset bibitem
35438 LatexCommand bibitem
35439 key "prettyref"
35440
35441 \end_inset
35442
35443 Documentation of the LaTeX-package 
35444 \series bold
35445
35446 \begin_inset CommandInset href
35447 LatexCommand href
35448 name "prettyref"
35449 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
35450
35451 \end_inset
35452
35453
35454 \series default
35455
35456 \begin_inset Index idx
35457 status collapsed
35458
35459 \begin_layout Plain Layout
35460 LaTeX-packages ! prettyref
35461 \end_layout
35462
35463 \end_inset
35464
35465
35466 \end_layout
35467
35468 \begin_layout Bibliography
35469 \labelwidthstring Bibliography
35470 \begin_inset CommandInset bibitem
35471 LatexCommand bibitem
35472 key "refstyle"
35473
35474 \end_inset
35475
35476 Documentation of the LaTeX-package 
35477 \series bold
35478
35479 \begin_inset CommandInset href
35480 LatexCommand href
35481 name "refstyle"
35482 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
35483
35484 \end_inset
35485
35486
35487 \series default
35488
35489 \begin_inset Index idx
35490 status collapsed
35491
35492 \begin_layout Plain Layout
35493 LaTeX-packages ! refstyle
35494 \end_layout
35495
35496 \end_inset
35497
35498
35499 \end_layout
35500
35501 \begin_layout Bibliography
35502 \labelwidthstring Bibliography
35503 \begin_inset CommandInset bibitem
35504 LatexCommand bibitem
35505 key "NewInLyX20"
35506
35507 \end_inset
35508
35509
35510 \begin_inset CommandInset href
35511 LatexCommand href
35512 name "Wiki page"
35513 target "http://wiki.lyx.org/LyX/NewInLyX20"
35514
35515 \end_inset
35516
35517  about new features in 
35518 \family sans
35519 LyX 2.0
35520 \family default
35521 .
35522 \end_layout
35523
35524 \begin_layout Standard
35525 \begin_inset CommandInset index_print
35526 LatexCommand printindex
35527 type "idx"
35528
35529 \end_inset
35530
35531
35532 \end_layout
35533
35534 \end_body
35535 \end_document