]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Backport to generate_contributions.py
[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 preamble with
24915  the following command:
24916 \end_layout
24917
24918 \begin_layout Standard
24919
24920 \series bold
24921
24922 \backslash
24923 renewenvironment{lyxgreyedout}
24924 \begin_inset Newline newline
24925 \end_inset
24926
24927
24928 \begin_inset Phantom HPhantom
24929 status open
24930
24931 \begin_layout Plain Layout
24932
24933 \series bold
24934 \begin_inset space ~
24935 \end_inset
24936
24937
24938 \end_layout
24939
24940 \end_inset
24941
24942 {
24943 \backslash
24944 textcolor{color}
24945 \backslash
24946 bgroup}{
24947 \backslash
24948 egroup}
24949 \end_layout
24950
24951 \begin_layout Standard
24952 The available colors and the method to define colors is explained in section
24953 \begin_inset space ~
24954 \end_inset
24955
24956
24957 \begin_inset CommandInset ref
24958 LatexCommand ref
24959 reference "sec:Colored-Tables"
24960
24961 \end_inset
24962
24963 .
24964 \end_layout
24965
24966 \begin_layout Standard
24967 Notes that appear in blue in this document are set using greyed out notes
24968  with blue text.
24969 \end_layout
24970
24971 \begin_layout Section
24972 Footnotes
24973 \begin_inset CommandInset label
24974 LatexCommand label
24975 name "sec:Footnotes"
24976
24977 \end_inset
24978
24979
24980 \begin_inset Index idx
24981 status collapsed
24982
24983 \begin_layout Plain Layout
24984 Notes ! Footnotes
24985 \end_layout
24986
24987 \end_inset
24988
24989
24990 \begin_inset Index idx
24991 status collapsed
24992
24993 \begin_layout Plain Layout
24994 Footnotes
24995 \end_layout
24996
24997 \end_inset
24998
24999
25000 \end_layout
25001
25002 \begin_layout Standard
25003 Footnotes can be inserted using the toolbar button 
25004 \begin_inset Graphics
25005         filename ../images/footnote-insert.png
25006         scale 85
25007         scaleBeforeRotation
25008
25009 \end_inset
25010
25011  or the menu 
25012 \family sans
25013 Insert\SpecialChar \menuseparator
25014 Footnote
25015 \family default
25016 .
25017  
25018 \family roman
25019 \series medium
25020 \bar no
25021 You'll see
25022 \family default
25023 \series default
25024 \bar default
25025  then the following footnote-box: 
25026 \begin_inset Graphics
25027         filename clipart/footnoteQt4.png
25028         scale 80
25029         scaleBeforeRotation
25030
25031 \end_inset
25032
25033  
25034 \family roman
25035 \series medium
25036 \bar no
25037 where you can enter the footnote text.
25038  If you want to turn existing text into a footnote, mark it and click on
25039  the footnote
25040 \family default
25041 \series default
25042 \bar default
25043  toolbar 
25044 \family roman
25045 \series medium
25046 \bar no
25047 button
25048 \family default
25049 \series default
25050 \bar default
25051 .
25052  To change a 
25053 \family roman
25054 \series medium
25055 \bar no
25056 footnote
25057 \family default
25058 \series default
25059 \bar default
25060  to text, press the Backspace key when the cursor is in the first position
25061  of a 
25062 \family roman
25063 \series medium
25064 \bar no
25065 footnote
25066 \family default
25067 \series default
25068 \bar default
25069 , or press the Delete key when the cursor is in the very last position of
25070  the 
25071 \family roman
25072 \series medium
25073 \bar no
25074 footnote
25075 \family default
25076 \series default
25077 \bar default
25078 , respectively.
25079 \end_layout
25080
25081 \begin_layout Standard
25082 Here is an example footnote:
25083 \family roman
25084 \series medium
25085 \bar no
25086
25087 \begin_inset Foot
25088 status open
25089
25090 \begin_layout Plain Layout
25091 \begin_inset CommandInset label
25092 LatexCommand label
25093 name "foot:This-is-an"
25094
25095 \end_inset
25096
25097 This is an example footnote.
25098 \end_layout
25099
25100 \end_inset
25101
25102
25103 \family default
25104 \series default
25105 \bar default
25106
25107 \begin_inset ERT
25108 status collapsed
25109
25110 \begin_layout Plain Layout
25111
25112
25113 \backslash
25114 newcounter{MyRepeatFoot}
25115 \end_layout
25116
25117 \begin_layout Plain Layout
25118
25119
25120 \backslash
25121 setcounter{MyRepeatFoot}{
25122 \backslash
25123 thefootnote}
25124 \end_layout
25125
25126 \end_inset
25127
25128
25129 \end_layout
25130
25131 \begin_layout Standard
25132 The footnote will appear in the output as a superscript number at the text
25133  position where the footnote box is placed.
25134  The footnote text is placed at the bottom of the current page.
25135  The footnote number is calculated by LaTeX; the numbers are consecutive.
25136  It depends on your document-class, whether the footnote number is reset
25137  for every chapter.
25138 \end_layout
25139
25140 \begin_layout Standard
25141 Footnotes can be referenced like floats: Insert a label into the footnote
25142  and cross-reference this label in the text as described in section
25143 \begin_inset space ~
25144 \end_inset
25145
25146
25147 \begin_inset CommandInset ref
25148 LatexCommand ref
25149 reference "sec:Referencing-Floats"
25150
25151 \end_inset
25152
25153 .
25154 \begin_inset Newline newline
25155 \end_inset
25156
25157 This is a cross-reference of Footnote
25158 \begin_inset space ~
25159 \end_inset
25160
25161
25162 \begin_inset CommandInset ref
25163 LatexCommand ref
25164 reference "foot:This-is-an"
25165
25166 \end_inset
25167
25168 .
25169 \end_layout
25170
25171 \begin_layout Standard
25172 \begin_inset VSpace defskip
25173 \end_inset
25174
25175 Footnotes in tables are not printed by LaTeX due to technical reasons.
25176  However there exists another method to print them: Instead of the footnote
25177  the command 
25178 \series bold
25179
25180 \backslash
25181 footnotemark{}
25182 \series default
25183  is inserted as TeX-code.
25184  The text of the footnote is entered as an argument of the TeX-code command
25185  
25186 \series bold
25187
25188 \backslash
25189 footnotetext
25190 \series default
25191  after the table.
25192 \begin_inset Newline newline
25193 \end_inset
25194
25195 This was done for the following table with the command
25196 \end_layout
25197
25198 \begin_layout Standard
25199
25200 \series bold
25201
25202 \backslash
25203 footnotetext{
25204 \series default
25205 Printed table footnote.
25206 \series bold
25207 }
25208 \end_layout
25209
25210 \begin_layout Standard
25211 \begin_inset Tabular
25212 <lyxtabular version="3" rows="2" columns="1">
25213 <features tabularvalignment="middle">
25214 <column alignment="center" valignment="top" width="0">
25215 <row>
25216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25217 \begin_inset Text
25218
25219 \begin_layout Plain Layout
25220 This an example text.
25221 \begin_inset Foot
25222 status open
25223
25224 \begin_layout Plain Layout
25225 This footnote will not be printed!
25226 \end_layout
25227
25228 \end_inset
25229
25230
25231 \end_layout
25232
25233 \end_inset
25234 </cell>
25235 </row>
25236 <row>
25237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25238 \begin_inset Text
25239
25240 \begin_layout Plain Layout
25241 This an example text.
25242 \begin_inset ERT
25243 status collapsed
25244
25245 \begin_layout Plain Layout
25246
25247
25248 \backslash
25249 footnotemark{}
25250 \end_layout
25251
25252 \end_inset
25253
25254
25255 \end_layout
25256
25257 \end_inset
25258 </cell>
25259 </row>
25260 </lyxtabular>
25261
25262 \end_inset
25263
25264
25265 \begin_inset ERT
25266 status collapsed
25267
25268 \begin_layout Plain Layout
25269
25270
25271 \backslash
25272 footnotetext{
25273 \end_layout
25274
25275 \end_inset
25276
25277 Printed table footnote.
25278 \begin_inset ERT
25279 status collapsed
25280
25281 \begin_layout Plain Layout
25282
25283 }
25284 \end_layout
25285
25286 \end_inset
25287
25288
25289 \end_layout
25290
25291 \begin_layout Standard
25292 Footnotes in longtables are described in section
25293 \begin_inset space ~
25294 \end_inset
25295
25296
25297 \begin_inset CommandInset ref
25298 LatexCommand ref
25299 reference "sub:Footnotes-in-Longtables"
25300
25301 \end_inset
25302
25303 .
25304 \end_layout
25305
25306 \begin_layout Standard
25307 Footnotes in minipage boxes are printed, but inside the box and with a different
25308  numbering because a minipage box is like a page inside a page.
25309  (For more about minipages, see section
25310 \begin_inset space ~
25311 \end_inset
25312
25313
25314 \begin_inset CommandInset ref
25315 LatexCommand ref
25316 reference "sec:Minipages"
25317
25318 \end_inset
25319
25320 .) To get a footnote in the minipage that is output at the bottom of the
25321  page like normal footnotes, also use the method of 
25322 \series bold
25323
25324 \backslash
25325 footnotemark{}
25326 \series default
25327  and 
25328 \series bold
25329
25330 \backslash
25331 footnotetext
25332 \series default
25333 .
25334 \end_layout
25335
25336 \begin_layout Standard
25337 \begin_inset Box Frameless
25338 position "t"
25339 hor_pos "c"
25340 has_inner_box 1
25341 inner_pos "t"
25342 use_parbox 0
25343 use_makebox 0
25344 width "100col%"
25345 special "none"
25346 height "1in"
25347 height_special "totalheight"
25348 status open
25349
25350 \begin_layout Plain Layout
25351 This an example text in a minipage.
25352 \begin_inset Foot
25353 status open
25354
25355 \begin_layout Plain Layout
25356 Footnote in the minipage.
25357 \end_layout
25358
25359 \end_inset
25360
25361
25362 \end_layout
25363
25364 \begin_layout Plain Layout
25365 This an example text in a minipage.
25366 \begin_inset ERT
25367 status collapsed
25368
25369 \begin_layout Plain Layout
25370
25371
25372 \backslash
25373 footnotemark{}
25374 \end_layout
25375
25376 \end_inset
25377
25378
25379 \end_layout
25380
25381 \end_inset
25382
25383
25384 \end_layout
25385
25386 \begin_layout Standard
25387 \begin_inset ERT
25388 status collapsed
25389
25390 \begin_layout Plain Layout
25391
25392
25393 \backslash
25394 footnotetext{
25395 \end_layout
25396
25397 \end_inset
25398
25399 Footnote outside the minipage.
25400 \begin_inset ERT
25401 status collapsed
25402
25403 \begin_layout Plain Layout
25404
25405 }
25406 \end_layout
25407
25408 \end_inset
25409
25410
25411 \end_layout
25412
25413 \begin_layout Standard
25414 \begin_inset VSpace defskip
25415 \end_inset
25416
25417
25418 \end_layout
25419
25420 \begin_layout Standard
25421 To refer to the same footnote several times without printing the footnote
25422  text every time, use the command 
25423 \series bold
25424
25425 \backslash
25426 footnotemark[number]
25427 \series default
25428  in TeX-code.
25429 \begin_inset Newline newline
25430 \end_inset
25431
25432 As you do not know the number of the repeating footnote while you are writing
25433  the text, you have to store its number.
25434  For the following footnote mark example, these commands were inserted in
25435  TeX-code after Footnote
25436 \begin_inset space ~
25437 \end_inset
25438
25439
25440 \begin_inset CommandInset ref
25441 LatexCommand ref
25442 reference "foot:This-is-an"
25443
25444 \end_inset
25445
25446  to store the footnote number:
25447 \end_layout
25448
25449 \begin_layout Standard
25450
25451 \series bold
25452
25453 \backslash
25454 newcounter{MyRepeatFoot}
25455 \begin_inset Newline newline
25456 \end_inset
25457
25458
25459 \backslash
25460 setcounter{MyRepeatFoot}{
25461 \backslash
25462 thefootnote}
25463 \end_layout
25464
25465 \begin_layout Standard
25466 The footnote mark was then created with this command:
25467 \end_layout
25468
25469 \begin_layout Standard
25470
25471 \series bold
25472
25473 \backslash
25474 footnotemark[
25475 \backslash
25476 theMyRepeatFoot]
25477 \end_layout
25478
25479 \begin_layout Standard
25480 Here is a repeated footnote:
25481 \family roman
25482 \series medium
25483 \bar no
25484
25485 \begin_inset ERT
25486 status collapsed
25487
25488 \begin_layout Plain Layout
25489
25490
25491 \backslash
25492 footnotemark[
25493 \backslash
25494 theMyRepeatFoot]
25495 \end_layout
25496
25497 \end_inset
25498
25499
25500 \end_layout
25501
25502 \begin_layout Standard
25503 If you want to repeat the previous footnote, you can omit the storage of
25504  the footnote number and just use this command instead:
25505 \end_layout
25506
25507 \begin_layout Standard
25508
25509 \series bold
25510
25511 \backslash
25512 footnotemark[
25513 \backslash
25514 thefootnote]
25515 \end_layout
25516
25517 \begin_layout Standard
25518 Here is another repeated footnote:
25519 \family roman
25520 \series medium
25521 \bar no
25522
25523 \begin_inset ERT
25524 status collapsed
25525
25526 \begin_layout Plain Layout
25527
25528
25529 \backslash
25530 footnotemark[
25531 \backslash
25532 thefootnote]
25533 \end_layout
25534
25535 \end_inset
25536
25537
25538 \end_layout
25539
25540 \begin_layout Subsection
25541 Footnote Numbering
25542 \begin_inset CommandInset label
25543 LatexCommand label
25544 name "sub:Footnote-Numbering"
25545
25546 \end_inset
25547
25548
25549 \begin_inset Index idx
25550 status collapsed
25551
25552 \begin_layout Plain Layout
25553 Footnotes ! Numbering
25554 \end_layout
25555
25556 \end_inset
25557
25558
25559 \end_layout
25560
25561 \begin_layout Standard
25562 To reset the footnote number back to 1 after each section
25563 \family roman
25564 , add this command to your document preamble:
25565 \end_layout
25566
25567 \begin_layout Standard
25568
25569 \series bold
25570
25571 \backslash
25572 @addtoreset{footnote}{section}
25573 \end_layout
25574
25575 \begin_layout Standard
25576 \begin_inset VSpace bigskip
25577 \end_inset
25578
25579 The following preamble command changes the footnote numbering style to small
25580  roman numerals:
25581 \end_layout
25582
25583 \begin_layout Standard
25584
25585 \series bold
25586
25587 \backslash
25588 renewcommand{
25589 \backslash
25590 thefootnote}{
25591 \backslash
25592 roman{footnote}}
25593 \end_layout
25594
25595 \begin_layout Standard
25596 \begin_inset ERT
25597 status collapsed
25598
25599 \begin_layout Plain Layout
25600
25601
25602 \backslash
25603 renewcommand{
25604 \backslash
25605 thefootnote}{
25606 \backslash
25607 roman{footnote}}
25608 \end_layout
25609
25610 \end_inset
25611
25612  This is a footnote with roman numbering:
25613 \begin_inset Foot
25614 status open
25615
25616 \begin_layout Plain Layout
25617 This is an example footnote with roman numbering.
25618 \end_layout
25619
25620 \end_inset
25621
25622
25623 \end_layout
25624
25625 \begin_layout Standard
25626 To change the numbering style to capital roman numerals replace in the command
25627  above 
25628 \series bold
25629
25630 \backslash
25631 roman
25632 \series default
25633  by 
25634 \series bold
25635
25636 \backslash
25637 Roman
25638 \series default
25639 .
25640  To 
25641 \begin_inset Quotes eld
25642 \end_inset
25643
25644 number
25645 \begin_inset Quotes erd
25646 \end_inset
25647
25648  footnotes with capital or small Latin letters use 
25649 \series bold
25650
25651 \backslash
25652 Alph
25653 \series default
25654  or 
25655 \series bold
25656
25657 \backslash
25658 alph
25659 \series default
25660 , respectively.
25661  To 
25662 \begin_inset Quotes eld
25663 \end_inset
25664
25665 number
25666 \begin_inset Quotes erd
25667 \end_inset
25668
25669  footnotes with symbols use 
25670 \series bold
25671
25672 \backslash
25673 fnsymbol
25674 \series default
25675 .
25676 \end_layout
25677
25678 \begin_layout Standard
25679 \begin_inset Note Greyedout
25680 status open
25681
25682 \begin_layout Plain Layout
25683
25684 \series bold
25685 Note:
25686 \series default
25687  You can only number 26 footnotes with Latin letters, because this numbering
25688  is limited to single letters.
25689 \end_layout
25690
25691 \end_inset
25692
25693
25694 \begin_inset Newline newline
25695 \end_inset
25696
25697
25698 \begin_inset Note Greyedout
25699 status open
25700
25701 \begin_layout Plain Layout
25702
25703 \series bold
25704 Note:
25705 \series default
25706  You can only number 9 footnotes with symbols.
25707 \end_layout
25708
25709 \end_inset
25710
25711
25712 \end_layout
25713
25714 \begin_layout Standard
25715 To return to the default numbering style after you have changed to another
25716  one, use 
25717 \series bold
25718
25719 \backslash
25720 arabic
25721 \series default
25722  instead of 
25723 \series bold
25724
25725 \backslash
25726 roman
25727 \series default
25728  in the command above.
25729 \begin_inset ERT
25730 status collapsed
25731
25732 \begin_layout Plain Layout
25733
25734
25735 \backslash
25736 renewcommand{
25737 \backslash
25738 thefootnote}{
25739 \backslash
25740 arabic{footnote}}
25741 \end_layout
25742
25743 \end_inset
25744
25745
25746 \end_layout
25747
25748 \begin_layout Standard
25749 \begin_inset VSpace bigskip
25750 \end_inset
25751
25752
25753 \end_layout
25754
25755 \begin_layout Standard
25756 If you want to have footnotes numbered in the scheme 
25757 \begin_inset Quotes eld
25758 \end_inset
25759
25760 chapter.footnote
25761 \begin_inset Quotes erd
25762 \end_inset
25763
25764 , add the following command to your document preamble:
25765 \end_layout
25766
25767 \begin_layout Standard
25768
25769 \series bold
25770
25771 \backslash
25772 numberwithin{footnote}{chapter}
25773 \end_layout
25774
25775 \begin_layout Standard
25776 To be able to use the command 
25777 \series bold
25778
25779 \backslash
25780 numberwithin
25781 \series default
25782 , set in the tab 
25783 \family sans
25784 Math
25785 \begin_inset space ~
25786 \end_inset
25787
25788 Options
25789 \family default
25790  in the document settings the option 
25791 \family sans
25792 Use
25793 \begin_inset space ~
25794 \end_inset
25795
25796 AMS
25797 \begin_inset space ~
25798 \end_inset
25799
25800 math
25801 \begin_inset space ~
25802 \end_inset
25803
25804 package
25805 \family default
25806 .
25807 \end_layout
25808
25809 \begin_layout Standard
25810 \begin_inset ERT
25811 status collapsed
25812
25813 \begin_layout Plain Layout
25814
25815
25816 \backslash
25817 numberwithin{footnote}{chapter}
25818 \end_layout
25819
25820 \end_inset
25821
25822 This is another example footnote:
25823 \series bold
25824
25825 \begin_inset Foot
25826 status open
25827
25828 \begin_layout Plain Layout
25829 This is a footnote numbered in the scheme 
25830 \begin_inset Quotes eld
25831 \end_inset
25832
25833 chapter.footnote
25834 \begin_inset Quotes erd
25835 \end_inset
25836
25837 .
25838 \end_layout
25839
25840 \end_inset
25841
25842
25843 \series default
25844
25845 \begin_inset ERT
25846 status collapsed
25847
25848 \begin_layout Plain Layout
25849
25850
25851 \backslash
25852 renewcommand{
25853 \backslash
25854 thefootnote}{
25855 \backslash
25856 arabic{footnote}}
25857 \end_layout
25858
25859 \end_inset
25860
25861
25862 \end_layout
25863
25864 \begin_layout Standard
25865 \begin_inset Note Greyedout
25866 status open
25867
25868 \begin_layout Plain Layout
25869
25870 \series bold
25871 Note:
25872 \series default
25873  
25874 \series bold
25875
25876 \backslash
25877 numberwithin
25878 \series default
25879  always prints out the footnote number as arabic number; previous redefinitions
25880  to get non-arabic numbers are overwritten.
25881 \end_layout
25882
25883 \end_inset
25884
25885
25886 \end_layout
25887
25888 \begin_layout Standard
25889 So to get for example the scheme 
25890 \begin_inset Quotes eld
25891 \end_inset
25892
25893 chapter.
25894 \backslash
25895 Roman{footnote}
25896 \begin_inset Quotes erd
25897 \end_inset
25898
25899 , use this command instead of 
25900 \series bold
25901
25902 \backslash
25903 numberwithin
25904 \series default
25905 :
25906 \end_layout
25907
25908 \begin_layout Standard
25909
25910 \series bold
25911
25912 \backslash
25913 renewcommand{
25914 \backslash
25915 thefootnote}{
25916 \backslash
25917 thechapter.
25918 \backslash
25919 Roman{footnote}}
25920 \end_layout
25921
25922 \begin_layout Subsection
25923 Footnote Placement
25924 \begin_inset Index idx
25925 status collapsed
25926
25927 \begin_layout Plain Layout
25928 Footnotes ! Placement
25929 \end_layout
25930
25931 \end_inset
25932
25933
25934 \end_layout
25935
25936 \begin_layout Standard
25937 If you have several footnotes in one page, they appear without vertical
25938  space between them at the bottom of the page.
25939  To make them more readable you can e.
25940 \begin_inset space \thinspace{}
25941 \end_inset
25942
25943 g.
25944 \begin_inset space \space{}
25945 \end_inset
25946
25947 add 1.5
25948 \begin_inset space \thinspace{}
25949 \end_inset
25950
25951 mm space with the following preamble command:
25952 \end_layout
25953
25954 \begin_layout Standard
25955
25956 \series bold
25957
25958 \backslash
25959 let
25960 \backslash
25961 myFoot
25962 \backslash
25963 footnote
25964 \begin_inset Newline newline
25965 \end_inset
25966
25967
25968 \backslash
25969 renewcommand{
25970 \backslash
25971 footnote}[1]{
25972 \backslash
25973 myFoot{#1
25974 \backslash
25975 vspace{1.5mm}}}
25976 \end_layout
25977
25978 \begin_layout Standard
25979 \begin_inset VSpace bigskip
25980 \end_inset
25981
25982 In a two-column document the footnotes appear at the bottom of every column,
25983  see Figure
25984 \begin_inset space ~
25985 \end_inset
25986
25987
25988 \begin_inset CommandInset ref
25989 LatexCommand ref
25990 reference "fig:Standard-footnote-placement"
25991
25992 \end_inset
25993
25994 .
25995  If the footnotes should only appear at the bottom of the right column,
25996  as in Figure
25997 \begin_inset space ~
25998 \end_inset
25999
26000
26001 \begin_inset CommandInset ref
26002 LatexCommand ref
26003 reference "fig:Footnote-placement-in"
26004
26005 \end_inset
26006
26007 , use the LaTeX-package 
26008 \series bold
26009 ftnright
26010 \series default
26011
26012 \begin_inset Index idx
26013 status collapsed
26014
26015 \begin_layout Plain Layout
26016 LaTeX-packages ! ftnright
26017 \end_layout
26018
26019 \end_inset
26020
26021  with this command in the document preamble:
26022 \end_layout
26023
26024 \begin_layout Standard
26025
26026 \series bold
26027
26028 \backslash
26029 usepackage{ftnright}
26030 \end_layout
26031
26032 \begin_layout Standard
26033 \begin_inset Float figure
26034 placement !h
26035 wide false
26036 sideways false
26037 status open
26038
26039 \begin_layout Plain Layout
26040 \begin_inset ERT
26041 status collapsed
26042
26043 \begin_layout Plain Layout
26044
26045
26046 \backslash
26047 framebox{
26048 \end_layout
26049
26050 \end_inset
26051
26052
26053 \begin_inset Graphics
26054         filename clipart/without_fntright.pdf
26055         width 100col%
26056         scaleBeforeRotation
26057
26058 \end_inset
26059
26060
26061 \begin_inset ERT
26062 status collapsed
26063
26064 \begin_layout Plain Layout
26065
26066 }
26067 \end_layout
26068
26069 \end_inset
26070
26071
26072 \end_layout
26073
26074 \begin_layout Plain Layout
26075 \begin_inset Caption
26076
26077 \begin_layout Plain Layout
26078 \begin_inset CommandInset label
26079 LatexCommand label
26080 name "fig:Standard-footnote-placement"
26081
26082 \end_inset
26083
26084 Standard footnote placement in two-column documents.
26085 \end_layout
26086
26087 \end_inset
26088
26089
26090 \end_layout
26091
26092 \end_inset
26093
26094
26095 \end_layout
26096
26097 \begin_layout Standard
26098 \begin_inset Float figure
26099 placement !h
26100 wide false
26101 sideways false
26102 status open
26103
26104 \begin_layout Plain Layout
26105 \begin_inset ERT
26106 status collapsed
26107
26108 \begin_layout Plain Layout
26109
26110
26111 \backslash
26112 framebox{
26113 \end_layout
26114
26115 \end_inset
26116
26117
26118 \begin_inset Graphics
26119         filename clipart/with_fntright.pdf
26120         width 100col%
26121         scaleBeforeRotation
26122
26123 \end_inset
26124
26125
26126 \begin_inset ERT
26127 status collapsed
26128
26129 \begin_layout Plain Layout
26130
26131 }
26132 \end_layout
26133
26134 \end_inset
26135
26136
26137 \end_layout
26138
26139 \begin_layout Plain Layout
26140 \begin_inset Caption
26141
26142 \begin_layout Plain Layout
26143 \begin_inset CommandInset label
26144 LatexCommand label
26145 name "fig:Footnote-placement-in"
26146
26147 \end_inset
26148
26149 Footnote placement in two-column documents when the LaTeX-package 
26150 \series bold
26151 ftnright
26152 \series default
26153  is used.
26154 \end_layout
26155
26156 \end_inset
26157
26158
26159 \end_layout
26160
26161 \end_inset
26162
26163
26164 \end_layout
26165
26166 \begin_layout Standard
26167 \begin_inset VSpace bigskip
26168 \end_inset
26169
26170 In some scientific literature it is usual to collect the footnotes and print
26171  them in a separate paragraph at the end of a section, as in Figure
26172 \begin_inset space ~
26173 \end_inset
26174
26175
26176 \begin_inset CommandInset ref
26177 LatexCommand ref
26178 reference "fig:Endnotes"
26179
26180 \end_inset
26181
26182 .
26183  They are then called 
26184 \begin_inset Quotes eld
26185 \end_inset
26186
26187 endnotes
26188 \begin_inset Quotes erd
26189 \end_inset
26190
26191 .
26192 \begin_inset Index idx
26193 status collapsed
26194
26195 \begin_layout Plain Layout
26196 Endnotes
26197 \end_layout
26198
26199 \end_inset
26200
26201  To use endnotes instead of footnotes in your document, load in the menu
26202  
26203 \family sans
26204 Document\SpecialChar \menuseparator
26205 Settings\SpecialChar \menuseparator
26206 Modules 
26207 \family default
26208 the module 
26209 \family sans
26210 Foot
26211 \begin_inset space ~
26212 \end_inset
26213
26214 to
26215 \begin_inset space ~
26216 \end_inset
26217
26218 End
26219 \family default
26220 .
26221  To insert the collected footnotes, insert the command
26222 \end_layout
26223
26224 \begin_layout Standard
26225
26226 \series bold
26227
26228 \backslash
26229 theendnotes
26230 \end_layout
26231
26232 \begin_layout Standard
26233 in TeX-Code at the end of a section or chapter.
26234 \end_layout
26235
26236 \begin_layout Standard
26237 \begin_inset Float figure
26238 wide false
26239 sideways false
26240 status open
26241
26242 \begin_layout Plain Layout
26243 \align center
26244 \begin_inset ERT
26245 status collapsed
26246
26247 \begin_layout Plain Layout
26248
26249
26250 \backslash
26251 framebox{
26252 \end_layout
26253
26254 \end_inset
26255
26256
26257 \begin_inset Graphics
26258         filename clipart/endnotes.pdf
26259         scaleBeforeRotation
26260
26261 \end_inset
26262
26263
26264 \begin_inset ERT
26265 status collapsed
26266
26267 \begin_layout Plain Layout
26268
26269 }
26270 \end_layout
26271
26272 \end_inset
26273
26274
26275 \end_layout
26276
26277 \begin_layout Plain Layout
26278 \begin_inset Caption
26279
26280 \begin_layout Plain Layout
26281 \begin_inset CommandInset label
26282 LatexCommand label
26283 name "fig:Endnotes"
26284
26285 \end_inset
26286
26287 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
26288  or chapters.
26289 \end_layout
26290
26291 \end_inset
26292
26293
26294 \end_layout
26295
26296 \end_inset
26297
26298
26299 \end_layout
26300
26301 \begin_layout Standard
26302 \begin_inset VSpace medskip
26303 \end_inset
26304
26305 The paragraph heading for the endnotes isn't automatically translated into
26306  the document language, this must be done manually.
26307  The following preamble command translates the default English 
26308 \begin_inset Quotes eld
26309 \end_inset
26310
26311 Notes
26312 \begin_inset Quotes erd
26313 \end_inset
26314
26315  into the German 
26316 \begin_inset Quotes eld
26317 \end_inset
26318
26319 Anmerkungen
26320 \begin_inset Quotes erd
26321 \end_inset
26322
26323 :
26324 \end_layout
26325
26326 \begin_layout Standard
26327
26328 \series bold
26329
26330 \backslash
26331 renewcommand{
26332 \backslash
26333 notesname}{Anmerkungen}
26334 \end_layout
26335
26336 \begin_layout Standard
26337 \begin_inset VSpace medskip
26338 \end_inset
26339
26340 The numbering of endnotes can be changed like the footnote numbering as
26341  described in section
26342 \begin_inset space ~
26343 \end_inset
26344
26345
26346 \begin_inset CommandInset ref
26347 LatexCommand ref
26348 reference "sub:Footnote-Numbering"
26349
26350 \end_inset
26351
26352 ; just replace the command 
26353 \series bold
26354
26355 \backslash
26356 thefootnote
26357 \series default
26358  by 
26359 \series bold
26360
26361 \backslash
26362 theendnote
26363 \series default
26364 .
26365  To reset the endnote number use the command 
26366 \series bold
26367
26368 \backslash
26369 @addtoreset
26370 \series default
26371  as described in section
26372 \begin_inset space ~
26373 \end_inset
26374
26375
26376 \begin_inset CommandInset ref
26377 LatexCommand ref
26378 reference "sub:Footnote-Numbering"
26379
26380 \end_inset
26381
26382  and replace the command parameter 
26383 \series bold
26384 footnote
26385 \series default
26386  by 
26387 \series bold
26388 endnote
26389 \series default
26390 .
26391 \end_layout
26392
26393 \begin_layout Standard
26394 For endnotes there is the command 
26395 \series bold
26396
26397 \backslash
26398 endnotemark[number]
26399 \series default
26400  similar to the command 
26401 \series bold
26402
26403 \backslash
26404 footnotemark
26405 \series default
26406 , that is described in section
26407 \begin_inset space ~
26408 \end_inset
26409
26410
26411 \begin_inset CommandInset ref
26412 LatexCommand ref
26413 reference "sec:Footnotes"
26414
26415 \end_inset
26416
26417 .
26418 \end_layout
26419
26420 \begin_layout Standard
26421 \begin_inset VSpace bigskip
26422 \end_inset
26423
26424 Footnotes can also be placed in the page margin and the footnote text alignment
26425  can be changed, see the LaTeX-package 
26426 \series bold
26427 footmisc
26428 \series default
26429
26430 \begin_inset Index idx
26431 status collapsed
26432
26433 \begin_layout Plain Layout
26434 LaTeX-packages ! footmisc
26435 \end_layout
26436
26437 \end_inset
26438
26439
26440 \begin_inset CommandInset citation
26441 LatexCommand cite
26442 key "footmisc"
26443
26444 \end_inset
26445
26446  for more information about this.
26447 \end_layout
26448
26449 \begin_layout Standard
26450 For various further footnote formatting issues have a look at LaTeX-books,
26451  
26452 \begin_inset CommandInset citation
26453 LatexCommand cite
26454 key "latexcompanion,latexguide,latexbook"
26455
26456 \end_inset
26457
26458 .
26459 \end_layout
26460
26461 \begin_layout Section
26462 Margin Notes
26463 \begin_inset Index idx
26464 status collapsed
26465
26466 \begin_layout Plain Layout
26467 Notes ! Margin Notes
26468 \end_layout
26469
26470 \end_inset
26471
26472
26473 \end_layout
26474
26475 \begin_layout Standard
26476 Margin notes look and behave in LyX like footnotes.
26477  They are inserted via the menu 
26478 \family sans
26479 Insert\SpecialChar \menuseparator
26480 Marginal
26481 \begin_inset space ~
26482 \end_inset
26483
26484 Note
26485 \family default
26486  or the toolbar button 
26487 \begin_inset Graphics
26488         filename ../images/marginalnote-insert.png
26489         scale 85
26490         scaleBeforeRotation
26491
26492 \end_inset
26493
26494 .
26495  A grey 
26496 \family roman
26497 \series medium
26498 box with the
26499 \family default
26500 \series default
26501  red 
26502 \family roman
26503 \series medium
26504 label 
26505 \begin_inset Quotes eld
26506 \end_inset
26507
26508 margin
26509 \begin_inset Quotes erd
26510 \end_inset
26511
26512  appears where you can enter the text of the margin note.
26513 \end_layout
26514
26515 \begin_layout Standard
26516 At the side is an example margin note.
26517
26518 \family roman
26519 \series medium
26520  
26521 \begin_inset Marginal
26522 status open
26523
26524 \begin_layout Plain Layout
26525 This is a margin note.
26526 \end_layout
26527
26528 \end_inset
26529
26530
26531 \end_layout
26532
26533 \begin_layout Standard
26534 Margin notes appear at the right side in single-sided documents.
26535  In double-sided documents they appear in the outer margin â€“ left on even
26536  pages, right on odd pages.
26537  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
26538 d when the note appears in the left margin.
26539  The first line of the margin note is placed at the position of the text
26540  line where it is inserted in the document.
26541 \end_layout
26542
26543 \begin_layout Standard
26544 \begin_inset VSpace bigskip
26545 \end_inset
26546
26547 To place the margin note in the inner margin, add the command
26548 \end_layout
26549
26550 \begin_layout Standard
26551
26552 \series bold
26553
26554 \backslash
26555 reversemarginpar
26556 \end_layout
26557
26558 \begin_layout Standard
26559 in TeX-Code before a margin note.
26560  The new placement is valid for all subsequent margin notes.
26561  
26562 \begin_inset ERT
26563 status collapsed
26564
26565 \begin_layout Plain Layout
26566
26567
26568 \backslash
26569 reversemarginpar 
26570 \end_layout
26571
26572 \end_inset
26573
26574
26575 \begin_inset Marginal
26576 status open
26577
26578 \begin_layout Plain Layout
26579 This is a margin note in the inner margin.
26580 \end_layout
26581
26582 \end_inset
26583
26584
26585 \series bold
26586
26587 \begin_inset Newline newline
26588 \end_inset
26589
26590
26591 \series default
26592
26593 \begin_inset Note Greyedout
26594 status open
26595
26596 \begin_layout Plain Layout
26597
26598 \series bold
26599 Note:
26600 \series default
26601  There is often not enough space in the inner margin so that the notes are
26602  not correctly displayed in the output.
26603 \end_layout
26604
26605 \end_inset
26606
26607
26608 \end_layout
26609
26610 \begin_layout Standard
26611 To return to the default placement insert the command
26612 \end_layout
26613
26614 \begin_layout Standard
26615
26616 \series bold
26617
26618 \backslash
26619 normalmarginpar
26620 \end_layout
26621
26622 \begin_layout Standard
26623 in TeX-Code.
26624 \begin_inset ERT
26625 status collapsed
26626
26627 \begin_layout Plain Layout
26628
26629
26630 \backslash
26631 normalmarginpar 
26632 \end_layout
26633
26634 \end_inset
26635
26636  
26637 \begin_inset Note Greyedout
26638 status open
26639
26640 \begin_layout Plain Layout
26641
26642 \series bold
26643 Note:
26644 \series default
26645  The command is ignored when it is within a paragraph where also the command
26646  
26647 \series bold
26648
26649 \backslash
26650 reversemarginpar
26651 \series default
26652  is inserted.
26653 \end_layout
26654
26655 \end_inset
26656
26657
26658 \end_layout
26659
26660 \begin_layout Standard
26661 \begin_inset VSpace bigskip
26662 \end_inset
26663
26664
26665 \family roman
26666 \series medium
26667
26668 \begin_inset Marginal
26669 status open
26670
26671 \begin_layout Plain Layout
26672 AVeryLongMarginParWord that isn't hyphenated.
26673 \end_layout
26674
26675 \end_inset
26676
26677
26678 \family default
26679 \series default
26680  Similar to the case described in section
26681 \begin_inset space ~
26682 \end_inset
26683
26684
26685 \begin_inset CommandInset ref
26686 LatexCommand ref
26687 reference "sub:Multiple-Lines-in"
26688
26689 \end_inset
26690
26691 , long words cannot be hyphenated when they are the first word in a margin
26692  note.
26693  To avoid this, insert 0
26694 \begin_inset space \thinspace{}
26695 \end_inset
26696
26697 pt horizontal space before the word
26698 \family roman
26699 \series medium
26700 .
26701  
26702 \begin_inset Marginal
26703 status open
26704
26705 \begin_layout Plain Layout
26706 \begin_inset space \hspace*{}
26707 \length 0pt
26708 \end_inset
26709
26710 AVeryLongMarginParWord that is hyphenated.
26711 \end_layout
26712
26713 \end_inset
26714
26715
26716 \end_layout
26717
26718 \begin_layout Standard
26719 \begin_inset VSpace bigskip
26720 \end_inset
26721
26722
26723 \end_layout
26724
26725 \begin_layout Standard
26726 \begin_inset Note Greyedout
26727 status open
26728
26729 \begin_layout Plain Layout
26730
26731 \series bold
26732 Note:
26733 \series default
26734  Margin notes can normally not be used inside tables, floats, and footnotes.
26735 \end_layout
26736
26737 \end_inset
26738
26739
26740 \end_layout
26741
26742 \begin_layout Standard
26743 \begin_inset VSpace bigskip
26744 \end_inset
26745
26746
26747 \end_layout
26748
26749 \begin_layout Standard
26750 \begin_inset ERT
26751 status collapsed
26752
26753 \begin_layout Plain Layout
26754
26755
26756 \backslash
26757 ifmarginnote
26758 \end_layout
26759
26760 \end_inset
26761
26762
26763 \begin_inset Note Note
26764 status open
26765
26766 \begin_layout Plain Layout
26767 The following section will only be displayed when the LaTeX-package 
26768 \series bold
26769 marginnote
26770 \series default
26771  is installed.
26772 \end_layout
26773
26774 \end_inset
26775
26776
26777 \end_layout
26778
26779 \begin_layout Standard
26780 This restriction can be evaded by using the LaTeX-package 
26781 \series bold
26782 marginnote
26783 \series default
26784
26785 \begin_inset Index idx
26786 status collapsed
26787
26788 \begin_layout Plain Layout
26789 LaTeX-packages ! marginnote
26790 \end_layout
26791
26792 \end_inset
26793
26794 .
26795  By adding these two lines to your document preamble, the command used by
26796  LyX for margin notes is redefined to use the command provided by the 
26797 \series bold
26798 marginnote
26799 \series default
26800 -package:
26801 \end_layout
26802
26803 \begin_layout Standard
26804
26805 \series bold
26806
26807 \backslash
26808 usepackage{marginnote}
26809 \begin_inset Newline newline
26810 \end_inset
26811
26812
26813 \backslash
26814 let
26815 \backslash
26816 marginpar
26817 \backslash
26818 marginnote
26819 \end_layout
26820
26821 \begin_layout Standard
26822 This is also used in this document because 
26823 \series bold
26824 marginnote
26825 \series default
26826  has another useful feature: You can set a vertical offset for the note.
26827  This is often needed when too many margin notes are too close together
26828  or for a better page layout.
26829  The offset is set in LyX as TeX-Code directly after the margin note in
26830  the scheme
26831 \end_layout
26832
26833 \begin_layout Standard
26834
26835 \series bold
26836 [offset]
26837 \end_layout
26838
26839 \begin_layout Standard
26840 where the offset is a length with one of the units listed in Table
26841 \begin_inset space ~
26842 \end_inset
26843
26844
26845 \begin_inset CommandInset ref
26846 LatexCommand ref
26847 reference "tab:Units"
26848
26849 \end_inset
26850
26851 .
26852  A negative value shifts the note up, a positive value shifts it down.
26853  
26854 \family roman
26855 \series medium
26856 For example the margin note beside this text line is shifted up 1.5
26857 \begin_inset space \thinspace{}
26858 \end_inset
26859
26860 cm with the TeX-Code-command 
26861 \begin_inset Quotes eld
26862 \end_inset
26863
26864
26865 \family default
26866 \series bold
26867 [-1.5cm]
26868 \family roman
26869 \series medium
26870
26871 \begin_inset Quotes erd
26872 \end_inset
26873
26874
26875 \begin_inset Marginal
26876 status open
26877
26878 \begin_layout Plain Layout
26879 This margin note is shifted up 1.5
26880 \begin_inset space \thinspace{}
26881 \end_inset
26882
26883 cm from its original position.
26884 \end_layout
26885
26886 \end_inset
26887
26888
26889 \family default
26890 \series default
26891
26892 \begin_inset ERT
26893 status collapsed
26894
26895 \begin_layout Plain Layout
26896
26897 [-1.5cm]
26898 \end_layout
26899
26900 \end_inset
26901
26902
26903 \end_layout
26904
26905 \begin_layout Standard
26906 \begin_inset VSpace medskip
26907 \end_inset
26908
26909 With 
26910 \series bold
26911 marginnote
26912 \series default
26913  you can also change the alignment of the text in the margin note.
26914  For example the commands
26915 \end_layout
26916
26917 \begin_layout Standard
26918
26919 \series bold
26920
26921 \backslash
26922 renewcommand*{
26923 \backslash
26924 raggedleftmarginnote}{
26925 \backslash
26926 centering}
26927 \begin_inset Newline newline
26928 \end_inset
26929
26930
26931 \backslash
26932 renewcommand*{
26933 \backslash
26934 raggedrightmarginnote}{
26935 \backslash
26936 centering}
26937 \end_layout
26938
26939 \begin_layout Standard
26940 set the alignment to centered.
26941  
26942 \series bold
26943
26944 \backslash
26945 raggedleftmarginnote
26946 \series default
26947  denotes margin notes that appear at the left side.
26948 \family roman
26949 \series medium
26950
26951 \begin_inset ERT
26952 status collapsed
26953
26954 \begin_layout Plain Layout
26955
26956
26957 \backslash
26958 renewcommand*{
26959 \backslash
26960 raggedleftmarginnote}{
26961 \backslash
26962 centering}
26963 \end_layout
26964
26965 \begin_layout Plain Layout
26966
26967
26968 \backslash
26969 renewcommand*{
26970 \backslash
26971 raggedrightmarginnote}{
26972 \backslash
26973 centering}
26974 \end_layout
26975
26976 \end_inset
26977
26978
26979 \begin_inset Marginal
26980 status open
26981
26982 \begin_layout Plain Layout
26983 The text of this margin note is centered.
26984 \end_layout
26985
26986 \end_inset
26987
26988
26989 \family default
26990 \series default
26991  The default is
26992 \end_layout
26993
26994 \begin_layout Standard
26995
26996 \series bold
26997
26998 \backslash
26999 renewcommand*{
27000 \backslash
27001 raggedleftmarginnote}{
27002 \backslash
27003 raggedleft}
27004 \begin_inset Newline newline
27005 \end_inset
27006
27007
27008 \backslash
27009 renewcommand*{
27010 \backslash
27011 raggedrightmarginnote}{
27012 \backslash
27013 raggedright}
27014 \family roman
27015 \series medium
27016
27017 \begin_inset ERT
27018 status collapsed
27019
27020 \begin_layout Plain Layout
27021
27022
27023 \backslash
27024 renewcommand*{
27025 \backslash
27026 raggedleftmarginnote}{
27027 \backslash
27028 raggedleft}
27029 \end_layout
27030
27031 \begin_layout Plain Layout
27032
27033
27034 \backslash
27035 renewcommand*{
27036 \backslash
27037 raggedrightmarginnote}{
27038 \backslash
27039 raggedright}
27040 \end_layout
27041
27042 \end_inset
27043
27044
27045 \end_layout
27046
27047 \begin_layout Standard
27048 \begin_inset VSpace medskip
27049 \end_inset
27050
27051 For the other features of 
27052 \series bold
27053 marginnote
27054 \series default
27055  refer to its documentation 
27056 \begin_inset CommandInset citation
27057 LatexCommand cite
27058 key "marginnote"
27059
27060 \end_inset
27061
27062 .
27063 \end_layout
27064
27065 \begin_layout Standard
27066 \begin_inset VSpace bigskip
27067 \end_inset
27068
27069 You can adjust the layout of margin notes by changing its definition.
27070  To create for example a header for all margin notes with the underlined,
27071  sans-serif, and bold header text 
27072 \begin_inset Quotes eld
27073 \end_inset
27074
27075
27076 \family sans
27077 \series bold
27078 \bar under
27079 Attention!
27080 \family default
27081 \series default
27082 \bar default
27083
27084 \begin_inset Quotes erd
27085 \end_inset
27086
27087 , add this to your document preamble:
27088 \end_layout
27089
27090 \begin_layout Standard
27091
27092 \series bold
27093
27094 \backslash
27095 let
27096 \backslash
27097 myMarginpar
27098 \backslash
27099 marginpar
27100 \begin_inset Newline newline
27101 \end_inset
27102
27103
27104 \backslash
27105 renewcommand{
27106 \backslash
27107 marginpar}[1]{
27108 \backslash
27109 myMarginpar{%
27110 \begin_inset Newline newline
27111 \end_inset
27112
27113
27114 \begin_inset Phantom HPhantom
27115 status open
27116
27117 \begin_layout Plain Layout
27118
27119 \series bold
27120 \begin_inset space ~
27121 \end_inset
27122
27123
27124 \end_layout
27125
27126 \end_inset
27127
27128
27129 \backslash
27130 hspace{0pt}
27131 \backslash
27132 textsf{
27133 \backslash
27134 textbf{
27135 \backslash
27136 underbar{Attention!}}}%
27137 \begin_inset Newline newline
27138 \end_inset
27139
27140
27141 \begin_inset Phantom HPhantom
27142 status open
27143
27144 \begin_layout Plain Layout
27145
27146 \series bold
27147 \begin_inset space ~
27148 \end_inset
27149
27150
27151 \end_layout
27152
27153 \end_inset
27154
27155
27156 \backslash
27157 vspace{1.5mm}
27158 \backslash
27159
27160 \backslash
27161 #1}}
27162 \end_layout
27163
27164 \begin_layout Standard
27165
27166 \family roman
27167 \series medium
27168 \begin_inset ERT
27169 status collapsed
27170
27171 \begin_layout Plain Layout
27172
27173
27174 \backslash
27175 let
27176 \backslash
27177 myMarginpar
27178 \backslash
27179 marginpar
27180 \end_layout
27181
27182 \begin_layout Plain Layout
27183
27184
27185 \backslash
27186 renewcommand{
27187 \backslash
27188 marginpar}[1]{
27189 \backslash
27190 myMarginpar{%
27191 \end_layout
27192
27193 \begin_layout Plain Layout
27194
27195    
27196 \backslash
27197 textsf{
27198 \backslash
27199 textbf{
27200 \backslash
27201 underbar{Attention!}}}%
27202 \end_layout
27203
27204 \begin_layout Plain Layout
27205
27206    
27207 \backslash
27208 vspace{1.5mm}
27209 \backslash
27210
27211 \backslash
27212 #1}}
27213 \end_layout
27214
27215 \end_inset
27216
27217
27218 \begin_inset Marginal
27219 status open
27220
27221 \begin_layout Plain Layout
27222 This is a margin note with a defined heading.
27223 \end_layout
27224
27225 \end_inset
27226
27227
27228 \family default
27229 \series default
27230
27231 \begin_inset ERT
27232 status collapsed
27233
27234 \begin_layout Plain Layout
27235
27236 [-1.5cm]
27237 \end_layout
27238
27239 \end_inset
27240
27241
27242 \family roman
27243 \series medium
27244
27245 \begin_inset ERT
27246 status collapsed
27247
27248 \begin_layout Plain Layout
27249
27250
27251 \backslash
27252 renewcommand{
27253 \backslash
27254 marginpar}[1]{
27255 \backslash
27256 myMarginpar{#1}}
27257 \end_layout
27258
27259 \end_inset
27260
27261
27262 \family default
27263 \series default
27264
27265 \begin_inset Note Note
27266 status collapsed
27267
27268 \begin_layout Plain Layout
27269 The margin note format is changed only for this example.
27270 \end_layout
27271
27272 \end_inset
27273
27274
27275 \end_layout
27276
27277 \begin_layout Standard
27278 \begin_inset ERT
27279 status collapsed
27280
27281 \begin_layout Plain Layout
27282
27283
27284 \backslash
27285 else
27286 \end_layout
27287
27288 \end_inset
27289
27290
27291 \begin_inset Note Note
27292 status open
27293
27294 \begin_layout Plain Layout
27295 The following will be displayed when the LaTeX-package 
27296 \series bold
27297 marginnote
27298 \series default
27299  is not installed:
27300 \end_layout
27301
27302 \end_inset
27303
27304
27305 \end_layout
27306
27307 \begin_layout Standard
27308 You need to install the LaTeX-package 
27309 \series bold
27310 marginnote
27311 \series default
27312  to see the following part of this section in the output.
27313 \end_layout
27314
27315 \begin_layout Standard
27316 \begin_inset ERT
27317 status collapsed
27318
27319 \begin_layout Plain Layout
27320
27321
27322 \backslash
27323 fi
27324 \end_layout
27325
27326 \end_inset
27327
27328
27329 \end_layout
27330
27331 \begin_layout Chapter
27332 Boxes
27333 \end_layout
27334
27335 \begin_layout Section
27336 Introduction
27337 \begin_inset Index idx
27338 status collapsed
27339
27340 \begin_layout Plain Layout
27341 Boxes ! Introduction
27342 \end_layout
27343
27344 \end_inset
27345
27346
27347 \end_layout
27348
27349 \begin_layout Standard
27350 Boxes are used to format a block of text.
27351  Boxes can be used to write documents with multiple languages, see section
27352 \begin_inset space ~
27353 \end_inset
27354
27355
27356 \begin_inset CommandInset ref
27357 LatexCommand ref
27358 reference "sec:Minipages"
27359
27360 \end_inset
27361
27362 , to frame texts, see section
27363 \begin_inset space ~
27364 \end_inset
27365
27366
27367 \begin_inset CommandInset ref
27368 LatexCommand ref
27369 reference "sec:Decoration"
27370
27371 \end_inset
27372
27373 , to prevent words from being hyphenated, see section
27374 \begin_inset space ~
27375 \end_inset
27376
27377
27378 \begin_inset CommandInset ref
27379 LatexCommand ref
27380 reference "sec:Prevent-Hyphenation"
27381
27382 \end_inset
27383
27384 , to align text, see section
27385 \begin_inset space ~
27386 \end_inset
27387
27388
27389 \begin_inset CommandInset ref
27390 LatexCommand ref
27391 reference "sub:Vertical-Alignment"
27392
27393 \end_inset
27394
27395 , or to set the background color of texts, see section
27396 \begin_inset space ~
27397 \end_inset
27398
27399
27400 \begin_inset CommandInset ref
27401 LatexCommand ref
27402 reference "sec:Colored-Boxes"
27403
27404 \end_inset
27405
27406 .
27407 \end_layout
27408
27409 \begin_layout Standard
27410 Boxes can be inserted with the menu 
27411 \family sans
27412 Insert\SpecialChar \menuseparator
27413 Box
27414 \family default
27415  or the toolbar button 
27416 \begin_inset Graphics
27417         filename ../images/box-insert.png
27418         scale 85
27419         scaleBeforeRotation
27420
27421 \end_inset
27422
27423 .
27424  A grey box with the label 
27425 \family sans
27426 Box (Minipage)
27427 \family default
27428
27429 \begin_inset Graphics
27430         filename clipart/BoxInsetDefaultQt4.png
27431         scale 85
27432         scaleBeforeRotation
27433
27434 \end_inset
27435
27436  will be inserted.
27437  The box type can be specified by right-clicking on the box and selecting
27438  
27439 \family sans
27440 Settings
27441 \family default
27442 .
27443  The box dialog offers the 
27444 \family sans
27445 Inner
27446 \begin_inset space ~
27447 \end_inset
27448
27449 Box
27450 \family default
27451  types 
27452 \family sans
27453 Makebox
27454 \family default
27455
27456 \family sans
27457 Parbox
27458 \family default
27459  and 
27460 \family sans
27461 Minipage
27462 \family default
27463 .
27464  The type 
27465 \family sans
27466 Minipage
27467 \family default
27468  is the default for new boxes and is explained in section
27469 \begin_inset space ~
27470 \end_inset
27471
27472
27473 \begin_inset CommandInset ref
27474 LatexCommand ref
27475 reference "sec:Minipages"
27476
27477 \end_inset
27478
27479 ; the type 
27480 \family sans
27481 Parbox
27482 \family default
27483  is described in section
27484 \begin_inset space ~
27485 \end_inset
27486
27487
27488 \begin_inset CommandInset ref
27489 LatexCommand ref
27490 reference "sec:Parboxes"
27491
27492 \end_inset
27493
27494  and the type 
27495 \family sans
27496 Makebox
27497 \family default
27498  in 
27499 \begin_inset CommandInset ref
27500 LatexCommand ref
27501 reference "sec:Prevent-Hyphenation"
27502
27503 \end_inset
27504
27505 .
27506 \end_layout
27507
27508 \begin_layout Standard
27509 Boxes are not numbered and can therefore not be referenced like floats or
27510  footnotes.
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  Boxes must not be the item in an 
27523 \family sans
27524 Itemize
27525 \family default
27526  or 
27527 \family sans
27528 Description
27529 \family default
27530  environment.
27531 \end_layout
27532
27533 \end_inset
27534
27535
27536 \end_layout
27537
27538 \begin_layout Standard
27539 \begin_inset Note Greyedout
27540 status open
27541
27542 \begin_layout Plain Layout
27543
27544 \series bold
27545 Note:
27546 \series default
27547  For an unknown reason you can only set the 
27548 \family sans
27549 Inner
27550 \begin_inset space ~
27551 \end_inset
27552
27553 Box
27554 \family default
27555  type to 
27556 \family sans
27557 None
27558 \family default
27559  when you use a framed box.
27560  Boxes without an 
27561 \family sans
27562 Inner
27563 \begin_inset space ~
27564 \end_inset
27565
27566 Box
27567 \family default
27568  type and without frames are explained in section
27569 \begin_inset space ~
27570 \end_inset
27571
27572
27573 \begin_inset CommandInset ref
27574 LatexCommand ref
27575 reference "sec:Prevent-Hyphenation"
27576
27577 \end_inset
27578
27579 .
27580 \end_layout
27581
27582 \end_inset
27583
27584
27585 \end_layout
27586
27587 \begin_layout Section
27588 Box Dialog
27589 \begin_inset CommandInset label
27590 LatexCommand label
27591 name "sec:Box-Dialog"
27592
27593 \end_inset
27594
27595
27596 \begin_inset Index idx
27597 status collapsed
27598
27599 \begin_layout Plain Layout
27600 Boxes ! Box Dialog
27601 \end_layout
27602
27603 \end_inset
27604
27605
27606 \end_layout
27607
27608 \begin_layout Subsection
27609 Size
27610 \begin_inset Index idx
27611 status collapsed
27612
27613 \begin_layout Plain Layout
27614 Boxes ! Size
27615 \end_layout
27616
27617 \end_inset
27618
27619
27620 \end_layout
27621
27622 \begin_layout Standard
27623 In the box dialog you can adjust the box geometry in the fields 
27624 \family sans
27625 Width
27626 \family default
27627  and 
27628 \family sans
27629 Height
27630 \family default
27631 .
27632  The available units for the geometry are explained in Table
27633 \begin_inset space ~
27634 \end_inset
27635
27636
27637 \begin_inset CommandInset ref
27638 LatexCommand ref
27639 reference "tab:Units"
27640
27641 \end_inset
27642
27643 .
27644  The field 
27645 \family sans
27646 Height
27647 \family default
27648  offers the following additional sizes:
27649 \end_layout
27650
27651 \begin_layout Description
27652 Depth This is the plain text 
27653 \begin_inset Quotes eld
27654 \end_inset
27655
27656 height
27657 \begin_inset Quotes erd
27658 \end_inset
27659
27660 .
27661  It ignores the total depth when there are multiple text lines in the box:
27662 \begin_inset Newline newline
27663 \end_inset
27664
27665
27666 \begin_inset Newline newline
27667 \end_inset
27668
27669
27670 \begin_inset Newline newline
27671 \end_inset
27672
27673
27674 \begin_inset Box Boxed
27675 position "c"
27676 hor_pos "c"
27677 has_inner_box 1
27678 inner_pos "c"
27679 use_parbox 0
27680 use_makebox 0
27681 width "12col%"
27682 special "none"
27683 height "1in"
27684 height_special "depth"
27685 status collapsed
27686
27687 \begin_layout Plain Layout
27688 \align center
27689 Box height set to 1
27690 \begin_inset space \thinspace{}
27691 \end_inset
27692
27693 Depth
27694 \end_layout
27695
27696 \end_inset
27697
27698
27699 \begin_inset Newline newline
27700 \end_inset
27701
27702
27703 \begin_inset Newline newline
27704 \end_inset
27705
27706
27707 \end_layout
27708
27709 \begin_layout Description
27710 Height This is the height of the text that is inside the box.
27711  A value of e.
27712 \begin_inset space \thinspace{}
27713 \end_inset
27714
27715 g.
27716 \begin_inset space \space{}
27717 \end_inset
27718
27719 2 for this size will set the box height to 2
27720 \begin_inset space ~
27721 \end_inset
27722
27723 times the text height: 
27724 \begin_inset Box Boxed
27725 position "c"
27726 hor_pos "c"
27727 has_inner_box 1
27728 inner_pos "c"
27729 use_parbox 0
27730 use_makebox 0
27731 width "20col%"
27732 special "none"
27733 height "2in"
27734 height_special "height"
27735 status collapsed
27736
27737 \begin_layout Plain Layout
27738 \align center
27739 Box height set to 2
27740 \begin_inset space \thinspace{}
27741 \end_inset
27742
27743 Height
27744 \end_layout
27745
27746 \end_inset
27747
27748
27749 \end_layout
27750
27751 \begin_layout Description
27752 Total
27753 \begin_inset space ~
27754 \end_inset
27755
27756 Height This is the Height
27757 \begin_inset space \thinspace{}
27758 \end_inset
27759
27760 +
27761 \begin_inset space \thinspace{}
27762 \end_inset
27763
27764 Depth: 
27765 \begin_inset Box Boxed
27766 position "c"
27767 hor_pos "c"
27768 has_inner_box 1
27769 inner_pos "c"
27770 use_parbox 0
27771 use_makebox 0
27772 width "20col%"
27773 special "none"
27774 height "1in"
27775 height_special "totalheight"
27776 status collapsed
27777
27778 \begin_layout Plain Layout
27779 \align center
27780 Box height set to 1
27781 \begin_inset space \thinspace{}
27782 \end_inset
27783
27784 Total
27785 \begin_inset space ~
27786 \end_inset
27787
27788 Height
27789 \end_layout
27790
27791 \end_inset
27792
27793
27794 \end_layout
27795
27796 \begin_layout Description
27797 Width This sets the width of the box as height: 
27798 \begin_inset Box Boxed
27799 position "c"
27800 hor_pos "c"
27801 has_inner_box 1
27802 inner_pos "c"
27803 use_parbox 0
27804 use_makebox 0
27805 width "12col%"
27806 special "none"
27807 height "1in"
27808 height_special "width"
27809 status collapsed
27810
27811 \begin_layout Plain Layout
27812 \align center
27813 Box height set to 1
27814 \begin_inset space \thinspace{}
27815 \end_inset
27816
27817 Width
27818 \end_layout
27819
27820 \end_inset
27821
27822
27823 \end_layout
27824
27825 \begin_layout Subsection
27826 Alignment
27827 \begin_inset Index idx
27828 status collapsed
27829
27830 \begin_layout Plain Layout
27831 Boxes ! Alignment
27832 \end_layout
27833
27834 \end_inset
27835
27836
27837 \end_layout
27838
27839 \begin_layout Standard
27840 When you have chosen an 
27841 \family sans
27842 Inner
27843 \begin_inset space ~
27844 \end_inset
27845
27846 Box
27847 \family default
27848 , the vertical box alignment can be:
27849 \end_layout
27850
27851 \begin_layout Description
27852 Top This is an example text line.
27853  
27854 \begin_inset Box Boxed
27855 position "t"
27856 hor_pos "c"
27857 has_inner_box 1
27858 inner_pos "c"
27859 use_parbox 0
27860 use_makebox 0
27861 width "12col%"
27862 special "none"
27863 height "1in"
27864 height_special "totalheight"
27865 status collapsed
27866
27867 \begin_layout Plain Layout
27868 \align center
27869 This box is top-aligned.
27870 \end_layout
27871
27872 \end_inset
27873
27874  This is an example text line.
27875 \end_layout
27876
27877 \begin_layout Description
27878 Middle This is an example text line.
27879  
27880 \begin_inset Box Boxed
27881 position "c"
27882 hor_pos "c"
27883 has_inner_box 1
27884 inner_pos "c"
27885 use_parbox 0
27886 use_makebox 0
27887 width "12col%"
27888 special "none"
27889 height "1in"
27890 height_special "totalheight"
27891 status collapsed
27892
27893 \begin_layout Plain Layout
27894 \align center
27895 This box is middle-aligned.
27896 \end_layout
27897
27898 \end_inset
27899
27900  This is an example text line.
27901 \end_layout
27902
27903 \begin_layout Description
27904 Bottom This is an example text line.
27905  
27906 \begin_inset Box Boxed
27907 position "b"
27908 hor_pos "c"
27909 has_inner_box 1
27910 inner_pos "c"
27911 use_parbox 0
27912 use_makebox 0
27913 width "12col%"
27914 special "none"
27915 height "1in"
27916 height_special "totalheight"
27917 status collapsed
27918
27919 \begin_layout Plain Layout
27920 \align center
27921 This box is bottom-aligned.
27922 \end_layout
27923
27924 \end_inset
27925
27926  This is an example text line.
27927 \end_layout
27928
27929 \begin_layout Standard
27930 \begin_inset Note Greyedout
27931 status open
27932
27933 \begin_layout Plain Layout
27934
27935 \series bold
27936 Note:
27937 \series default
27938  The vertical box alignment can be lost in the output when you have two
27939  boxes in a line and one has e.
27940 \begin_inset space \thinspace{}
27941 \end_inset
27942
27943 g.
27944 \begin_inset space \space{}
27945 \end_inset
27946
27947 a shadow and the other one not.
27948 \end_layout
27949
27950 \end_inset
27951
27952
27953 \end_layout
27954
27955 \begin_layout Standard
27956 The horizontal box alignment can be set via LyX's paragraph dialog when
27957  you set the box into its own paragraph.
27958 \end_layout
27959
27960 \begin_layout Standard
27961 \begin_inset VSpace bigskip
27962 \end_inset
27963
27964 When you have chosen an 
27965 \family sans
27966 Inner
27967 \begin_inset space ~
27968 \end_inset
27969
27970 Box
27971 \family default
27972 , the box content can be aligned vertically to:
27973 \end_layout
27974
27975 \begin_layout Description
27976 top This is an example text line.
27977  
27978 \begin_inset Box Boxed
27979 position "c"
27980 hor_pos "c"
27981 has_inner_box 1
27982 inner_pos "t"
27983 use_parbox 0
27984 use_makebox 0
27985 width "12col%"
27986 special "none"
27987 height "1.5in"
27988 height_special "totalheight"
27989 status collapsed
27990
27991 \begin_layout Plain Layout
27992 \align center
27993 This box text is top-aligned.
27994 \end_layout
27995
27996 \end_inset
27997
27998  This is an example text line.
27999 \end_layout
28000
28001 \begin_layout Description
28002 middle This is an example text line.
28003  
28004 \begin_inset Box Boxed
28005 position "c"
28006 hor_pos "c"
28007 has_inner_box 1
28008 inner_pos "c"
28009 use_parbox 0
28010 use_makebox 0
28011 width "12col%"
28012 special "none"
28013 height "1.5in"
28014 height_special "totalheight"
28015 status collapsed
28016
28017 \begin_layout Plain Layout
28018 \align center
28019 This box text is middle-aligned.
28020 \end_layout
28021
28022 \end_inset
28023
28024  This is an example text line.
28025 \end_layout
28026
28027 \begin_layout Description
28028 bottom This is an example text line.
28029  
28030 \begin_inset Box Boxed
28031 position "c"
28032 hor_pos "c"
28033 has_inner_box 1
28034 inner_pos "b"
28035 use_parbox 0
28036 use_makebox 0
28037 width "12col%"
28038 special "none"
28039 height "1.5in"
28040 height_special "totalheight"
28041 status collapsed
28042
28043 \begin_layout Plain Layout
28044 \align center
28045 This box text is bottom-aligned.
28046 \end_layout
28047
28048 \end_inset
28049
28050  This is an example text line.
28051 \end_layout
28052
28053 \begin_layout Description
28054 stretch This is an example text line.
28055  
28056 \begin_inset Box Boxed
28057 position "c"
28058 hor_pos "c"
28059 has_inner_box 1
28060 inner_pos "s"
28061 use_parbox 0
28062 use_makebox 0
28063 width "12col%"
28064 special "none"
28065 height "1.5in"
28066 height_special "totalheight"
28067 status collapsed
28068
28069 \begin_layout Plain Layout
28070 \align center
28071 This box
28072 \end_layout
28073
28074 \begin_layout Plain Layout
28075 \align center
28076 text is
28077 \end_layout
28078
28079 \begin_layout Plain Layout
28080 \align center
28081 stretched.
28082 \end_layout
28083
28084 \end_inset
28085
28086  This is an example text line.
28087 \end_layout
28088
28089 \begin_layout Standard
28090 To stretch the box content, it must consist of more than one paragraph.
28091  In the example above every text line is in an own paragraph.
28092 \end_layout
28093
28094 \begin_layout Standard
28095 \begin_inset VSpace bigskip
28096 \end_inset
28097
28098 To align the box content horizontally you can use LyX's paragraph dialog
28099  when you have chosen an 
28100 \family sans
28101 Inner
28102 \begin_inset space ~
28103 \end_inset
28104
28105 Box
28106 \family default
28107 .
28108 \end_layout
28109
28110 \begin_layout Standard
28111 \align center
28112 \begin_inset Box Boxed
28113 position "c"
28114 hor_pos "c"
28115 has_inner_box 1
28116 inner_pos "s"
28117 use_parbox 0
28118 use_makebox 0
28119 width "15col%"
28120 special "none"
28121 height "1.25in"
28122 height_special "totalheight"
28123 status collapsed
28124
28125 \begin_layout Plain Layout
28126 \align left
28127 This box
28128 \end_layout
28129
28130 \begin_layout Plain Layout
28131 \align center
28132 text is
28133 \end_layout
28134
28135 \begin_layout Plain Layout
28136 \align right
28137 stretched.
28138 \end_layout
28139
28140 \end_inset
28141
28142
28143 \end_layout
28144
28145 \begin_layout Standard
28146 If you have not set an 
28147 \family sans
28148 Inner
28149 \begin_inset space ~
28150 \end_inset
28151
28152 Box
28153 \family default
28154 , you can align the box content horizontally in the box dialog.
28155 \end_layout
28156
28157 \begin_layout Standard
28158 \align center
28159 \begin_inset Box Boxed
28160 position "c"
28161 hor_pos "s"
28162 has_inner_box 0
28163 inner_pos "s"
28164 use_parbox 0
28165 use_makebox 0
28166 width "90col%"
28167 special "none"
28168 height "1.25in"
28169 height_special "totalheight"
28170 status collapsed
28171
28172 \begin_layout Plain Layout
28173 \align left
28174 This box text is horizontally stretched.
28175 \end_layout
28176
28177 \end_inset
28178
28179
28180 \end_layout
28181
28182 \begin_layout Subsection
28183 Decoration
28184 \begin_inset CommandInset label
28185 LatexCommand label
28186 name "sec:Decoration"
28187
28188 \end_inset
28189
28190
28191 \begin_inset Index idx
28192 status collapsed
28193
28194 \begin_layout Plain Layout
28195 Boxes ! Decoration
28196 \end_layout
28197
28198 \end_inset
28199
28200
28201 \end_layout
28202
28203 \begin_layout Standard
28204 The type of the box can be specified in the box dialog in the drop-down
28205  list 
28206 \family sans
28207 Decoration
28208 \family default
28209 .
28210  The following types are possible:
28211 \end_layout
28212
28213 \begin_layout Description
28214 No
28215 \begin_inset space ~
28216 \end_inset
28217
28218 frame Nothing is drawn.
28219 \end_layout
28220
28221 \begin_layout Description
28222 Simple
28223 \begin_inset space ~
28224 \end_inset
28225
28226 rectangular
28227 \begin_inset space ~
28228 \end_inset
28229
28230 frame This draws a rectangular frame around the box.
28231  The frame line thickness has the size of 
28232 \series bold
28233
28234 \backslash
28235 fboxrule
28236 \series default
28237 .
28238  
28239 \begin_inset Box Boxed
28240 position "c"
28241 hor_pos "c"
28242 has_inner_box 1
28243 inner_pos "c"
28244 use_parbox 0
28245 use_makebox 0
28246 width "20col%"
28247 special "none"
28248 height "1in"
28249 height_special "totalheight"
28250 status collapsed
28251
28252 \begin_layout Plain Layout
28253 \align center
28254 Rectangular box
28255 \end_layout
28256
28257 \end_inset
28258
28259
28260 \end_layout
28261
28262 \begin_layout Description
28263 Oval
28264 \begin_inset space ~
28265 \end_inset
28266
28267 box,
28268 \begin_inset space ~
28269 \end_inset
28270
28271 thin This draws an oval frame around the box.
28272  The frame line thickness has the size 0.4
28273 \begin_inset space \thinspace{}
28274 \end_inset
28275
28276 pt.
28277  
28278 \begin_inset Box ovalbox
28279 position "c"
28280 hor_pos "c"
28281 has_inner_box 1
28282 inner_pos "c"
28283 use_parbox 0
28284 use_makebox 0
28285 width "20col%"
28286 special "none"
28287 height "1in"
28288 height_special "totalheight"
28289 status collapsed
28290
28291 \begin_layout Plain Layout
28292 \align center
28293 Oval box, thin
28294 \end_layout
28295
28296 \end_inset
28297
28298
28299 \end_layout
28300
28301 \begin_layout Description
28302 Oval
28303 \begin_inset space ~
28304 \end_inset
28305
28306 box,
28307 \begin_inset space ~
28308 \end_inset
28309
28310 thick This draws an oval frame around the box.
28311  The frame line thickness has the size 0.8
28312 \begin_inset space \thinspace{}
28313 \end_inset
28314
28315 pt.
28316  
28317 \begin_inset Box Ovalbox
28318 position "c"
28319 hor_pos "c"
28320 has_inner_box 1
28321 inner_pos "c"
28322 use_parbox 0
28323 use_makebox 0
28324 width "20col%"
28325 special "none"
28326 height "1in"
28327 height_special "totalheight"
28328 status collapsed
28329
28330 \begin_layout Plain Layout
28331 \align center
28332 Oval box, thick
28333 \end_layout
28334
28335 \end_inset
28336
28337
28338 \end_layout
28339
28340 \begin_layout Description
28341 Drop
28342 \begin_inset space ~
28343 \end_inset
28344
28345 shadow This draws a rectangular frame with a shadow around the box.
28346  The frame line thickness has the size of 
28347 \series bold
28348
28349 \backslash
28350 fboxrule
28351 \series default
28352 , the shadow has a width of 4
28353 \begin_inset space \thinspace{}
28354 \end_inset
28355
28356 pt.
28357  
28358 \begin_inset Box Shadowbox
28359 position "c"
28360 hor_pos "c"
28361 has_inner_box 1
28362 inner_pos "c"
28363 use_parbox 0
28364 use_makebox 0
28365 width "20col%"
28366 special "none"
28367 height "1in"
28368 height_special "totalheight"
28369 status collapsed
28370
28371 \begin_layout Plain Layout
28372 \align center
28373 Shadow box
28374 \end_layout
28375
28376 \end_inset
28377
28378
28379 \end_layout
28380
28381 \begin_layout Description
28382 Shaded
28383 \begin_inset space ~
28384 \end_inset
28385
28386 background This draws a box with a red background.
28387  Unlike colored boxes
28388 \begin_inset Foot
28389 status collapsed
28390
28391 \begin_layout Plain Layout
28392 see sec.
28393 \begin_inset space \thinspace{}
28394 \end_inset
28395
28396
28397 \begin_inset CommandInset ref
28398 LatexCommand ref
28399 reference "sec:Colored-Boxes"
28400
28401 \end_inset
28402
28403
28404 \end_layout
28405
28406 \end_inset
28407
28408 , it always uses the whole column width and the box is set as its own paragraph.
28409  
28410 \begin_inset Box Shaded
28411 position "t"
28412 hor_pos "c"
28413 has_inner_box 0
28414 inner_pos "t"
28415 use_parbox 0
28416 use_makebox 0
28417 width "50col%"
28418 special "none"
28419 height "1in"
28420 height_special "totalheight"
28421 status collapsed
28422
28423 \begin_layout Plain Layout
28424 Shaded background box
28425 \end_layout
28426
28427 \end_inset
28428
28429
28430 \end_layout
28431
28432 \begin_layout Description
28433 Double
28434 \begin_inset space ~
28435 \end_inset
28436
28437 rectangular
28438 \begin_inset space ~
28439 \end_inset
28440
28441 frame This draws a double-line rectangular frame around the box.
28442  The line thickness of the inner frame is 0.75
28443 \begin_inset space \thinspace{}
28444 \end_inset
28445
28446
28447 \series bold
28448
28449 \backslash
28450 fboxrule
28451 \series default
28452 , the thickness of the outer frame is 1.5
28453 \begin_inset space \thinspace{}
28454 \end_inset
28455
28456
28457 \series bold
28458
28459 \backslash
28460 fboxrule
28461 \series default
28462 .
28463  The distance between the lines is 1.5
28464 \begin_inset space \thinspace{}
28465 \end_inset
28466
28467
28468 \series bold
28469
28470 \backslash
28471 fboxrule
28472 \series default
28473
28474 \begin_inset space \thinspace{}
28475 \end_inset
28476
28477 +
28478 \begin_inset space \thinspace{}
28479 \end_inset
28480
28481 0.5
28482 \begin_inset space \thinspace{}
28483 \end_inset
28484
28485 pt.
28486  
28487 \begin_inset Box Doublebox
28488 position "c"
28489 hor_pos "c"
28490 has_inner_box 1
28491 inner_pos "c"
28492 use_parbox 0
28493 use_makebox 0
28494 width "20col%"
28495 special "none"
28496 height "1in"
28497 height_special "totalheight"
28498 status collapsed
28499
28500 \begin_layout Plain Layout
28501 \align center
28502 Double rectangular box
28503 \end_layout
28504
28505 \end_inset
28506
28507
28508 \end_layout
28509
28510 \begin_layout Standard
28511 \begin_inset VSpace bigskip
28512 \end_inset
28513
28514 LyX's box label will reflect the different frame types.
28515  To be able to use all types, the LaTeX-package 
28516 \series bold
28517 fancybox
28518 \series default
28519
28520 \begin_inset Index idx
28521 status collapsed
28522
28523 \begin_layout Plain Layout
28524 LaTeX-packages ! fancybox
28525 \end_layout
28526
28527 \end_inset
28528
28529  must be installed.
28530 \end_layout
28531
28532 \begin_layout Standard
28533 \begin_inset VSpace bigskip
28534 \end_inset
28535
28536 When you use the decoration 
28537 \family sans
28538 simple rectangular frame
28539 \family default
28540  and no inner box, you can allow page breaks within a box.
28541  Note that then, unlike other framed boxes, the frame always uses the whole
28542  column width, the box is set as its own paragraph, and 
28543 \series bold
28544
28545 \backslash
28546 fboxrule
28547 \series default
28548  and 
28549 \series bold
28550
28551 \backslash
28552 fboxsep
28553 \series default
28554  have no effect on this box type.
28555  The frame line thickness has the size of 
28556 \series bold
28557
28558 \backslash
28559 FrameRule
28560 \series default
28561 .
28562  
28563 \begin_inset Box Framed
28564 position "t"
28565 hor_pos "c"
28566 has_inner_box 0
28567 inner_pos "t"
28568 use_parbox 0
28569 use_makebox 0
28570 width "100col%"
28571 special "none"
28572 height "1in"
28573 height_special "totalheight"
28574 status collapsed
28575
28576 \begin_layout Plain Layout
28577 Allow page break box
28578 \end_layout
28579
28580 \end_inset
28581
28582
28583 \end_layout
28584
28585 \begin_layout Section
28586 Box Customization
28587 \begin_inset Index idx
28588 status collapsed
28589
28590 \begin_layout Plain Layout
28591 Boxes ! Customization
28592 \end_layout
28593
28594 \end_inset
28595
28596
28597 \end_layout
28598
28599 \begin_layout Standard
28600 The default value for the size 
28601 \series bold
28602
28603 \backslash
28604 fboxrule
28605 \series default
28606  is 0.4
28607 \begin_inset space \thinspace{}
28608 \end_inset
28609
28610 pt.
28611  It can be changed with the following command in TeX-Code to e.
28612 \begin_inset space \thinspace{}
28613 \end_inset
28614
28615 g.
28616 \begin_inset space \space{}
28617 \end_inset
28618
28619 2
28620 \begin_inset space \thinspace{}
28621 \end_inset
28622
28623 pt:
28624 \end_layout
28625
28626 \begin_layout Standard
28627
28628 \series bold
28629
28630 \backslash
28631 setlength{
28632 \backslash
28633 fboxrule}{2pt}
28634 \end_layout
28635
28636 \begin_layout Standard
28637 \begin_inset ERT
28638 status collapsed
28639
28640 \begin_layout Plain Layout
28641
28642
28643 \backslash
28644 setlength{
28645 \backslash
28646 fboxrule}{2pt}
28647 \end_layout
28648
28649 \end_inset
28650
28651
28652 \begin_inset Box Boxed
28653 position "c"
28654 hor_pos "c"
28655 has_inner_box 1
28656 inner_pos "c"
28657 use_parbox 0
28658 use_makebox 0
28659 width "25col%"
28660 special "none"
28661 height "1in"
28662 height_special "totalheight"
28663 status open
28664
28665 \begin_layout Plain Layout
28666 \align center
28667 Rectangular box with 
28668 \series bold
28669
28670 \backslash
28671 fboxrule
28672 \series default
28673
28674 \begin_inset space \thinspace{}
28675 \end_inset
28676
28677 =
28678 \begin_inset space \thinspace{}
28679 \end_inset
28680
28681 2
28682 \begin_inset space \thinspace{}
28683 \end_inset
28684
28685 pt
28686 \end_layout
28687
28688 \end_inset
28689
28690
28691 \begin_inset ERT
28692 status collapsed
28693
28694 \begin_layout Plain Layout
28695
28696
28697 \backslash
28698 setlength{
28699 \backslash
28700 fboxrule}{0.4pt}
28701 \end_layout
28702
28703 \end_inset
28704
28705
28706 \end_layout
28707
28708 \begin_layout Standard
28709 \begin_inset VSpace bigskip
28710 \end_inset
28711
28712 The space between the frame and the box content is for all frame styles
28713  by default 3
28714 \begin_inset space \thinspace{}
28715 \end_inset
28716
28717 pt.
28718  You can change it by setting the length 
28719 \series bold
28720
28721 \backslash
28722 fboxsep
28723 \series default
28724  to another value.
28725  For example the command
28726 \end_layout
28727
28728 \begin_layout Standard
28729
28730 \series bold
28731
28732 \backslash
28733 setlength{
28734 \backslash
28735 fboxsep}{10pt}
28736 \end_layout
28737
28738 \begin_layout Standard
28739 sets the value to 10
28740 \begin_inset space \thinspace{}
28741 \end_inset
28742
28743 pt, as with the following box:
28744 \end_layout
28745
28746 \begin_layout Standard
28747 \begin_inset ERT
28748 status collapsed
28749
28750 \begin_layout Plain Layout
28751
28752
28753 \backslash
28754 setlength{
28755 \backslash
28756 fboxsep}{10pt}
28757 \end_layout
28758
28759 \end_inset
28760
28761
28762 \begin_inset Box Boxed
28763 position "c"
28764 hor_pos "c"
28765 has_inner_box 1
28766 inner_pos "c"
28767 use_parbox 0
28768 use_makebox 0
28769 width "25col%"
28770 special "none"
28771 height "1in"
28772 height_special "totalheight"
28773 status open
28774
28775 \begin_layout Plain Layout
28776 \align center
28777 Rectangular box with 
28778 \series bold
28779
28780 \backslash
28781 fboxsep
28782 \series default
28783
28784 \begin_inset space \thinspace{}
28785 \end_inset
28786
28787 =
28788 \begin_inset space \thinspace{}
28789 \end_inset
28790
28791 10
28792 \begin_inset space \thinspace{}
28793 \end_inset
28794
28795 pt
28796 \end_layout
28797
28798 \end_inset
28799
28800
28801 \begin_inset ERT
28802 status collapsed
28803
28804 \begin_layout Plain Layout
28805
28806
28807 \backslash
28808 setlength{
28809 \backslash
28810 fboxsep}{3pt}
28811 \end_layout
28812
28813 \end_inset
28814
28815
28816 \end_layout
28817
28818 \begin_layout Standard
28819 \begin_inset VSpace bigskip
28820 \end_inset
28821
28822 The diameter of the round corners of the oval boxes can be set with the
28823  command 
28824 \series bold
28825
28826 \backslash
28827 cornersize
28828 \series default
28829 .
28830  The command
28831 \end_layout
28832
28833 \begin_layout Standard
28834
28835 \series bold
28836
28837 \backslash
28838 cornersize*{1cm}
28839 \end_layout
28840
28841 \begin_layout Standard
28842 sets the diameter to 1
28843 \begin_inset space \thinspace{}
28844 \end_inset
28845
28846 cm.
28847  The command
28848 \end_layout
28849
28850 \begin_layout Standard
28851
28852 \series bold
28853
28854 \backslash
28855 cornersize{num}
28856 \end_layout
28857
28858 \begin_layout Standard
28859 sets the diameter to 
28860 \family sans
28861 num
28862 \begin_inset space \thinspace{}
28863 \end_inset
28864
28865 ×
28866 \begin_inset space \thinspace{}
28867 \end_inset
28868
28869 minimum(width and heigth of box)
28870 \family default
28871 .
28872  The default is 
28873 \series bold
28874
28875 \backslash
28876 cornersize{0.5}
28877 \series default
28878 .
28879 \end_layout
28880
28881 \begin_layout Standard
28882 \begin_inset ERT
28883 status collapsed
28884
28885 \begin_layout Plain Layout
28886
28887
28888 \backslash
28889 cornersize*{1.5cm}
28890 \end_layout
28891
28892 \end_inset
28893
28894
28895 \begin_inset Box Ovalbox
28896 position "c"
28897 hor_pos "c"
28898 has_inner_box 1
28899 inner_pos "c"
28900 use_parbox 0
28901 use_makebox 0
28902 width "25col%"
28903 special "none"
28904 height "1in"
28905 height_special "totalheight"
28906 status open
28907
28908 \begin_layout Plain Layout
28909 \align center
28910 Oval box with 
28911 \series bold
28912
28913 \backslash
28914 cornersize
28915 \series default
28916
28917 \begin_inset space \thinspace{}
28918 \end_inset
28919
28920 =
28921 \begin_inset space \thinspace{}
28922 \end_inset
28923
28924 1.5
28925 \begin_inset space \thinspace{}
28926 \end_inset
28927
28928 cm
28929 \end_layout
28930
28931 \end_inset
28932
28933
28934 \begin_inset ERT
28935 status collapsed
28936
28937 \begin_layout Plain Layout
28938
28939
28940 \backslash
28941 cornersize{0.5}
28942 \end_layout
28943
28944 \end_inset
28945
28946
28947 \end_layout
28948
28949 \begin_layout Standard
28950 \begin_inset VSpace bigskip
28951 \end_inset
28952
28953 The size of the shadow can be adjusted by changing the length 
28954 \series bold
28955
28956 \backslash
28957 shadowsize
28958 \series default
28959 .
28960  It it set to 2
28961 \begin_inset space \thinspace{}
28962 \end_inset
28963
28964 pt for the following box by this command:
28965 \end_layout
28966
28967 \begin_layout Standard
28968
28969 \series bold
28970
28971 \backslash
28972 setlength{
28973 \backslash
28974 shadowsize}{2pt}
28975 \end_layout
28976
28977 \begin_layout Standard
28978 \begin_inset ERT
28979 status collapsed
28980
28981 \begin_layout Plain Layout
28982
28983
28984 \backslash
28985 setlength{
28986 \backslash
28987 shadowsize}{2pt}
28988 \end_layout
28989
28990 \end_inset
28991
28992
28993 \begin_inset Box Shadowbox
28994 position "c"
28995 hor_pos "c"
28996 has_inner_box 1
28997 inner_pos "c"
28998 use_parbox 0
28999 use_makebox 0
29000 width "25col%"
29001 special "none"
29002 height "1in"
29003 height_special "totalheight"
29004 status open
29005
29006 \begin_layout Plain Layout
29007 \align center
29008 Shadow box with 
29009 \series bold
29010
29011 \backslash
29012 shadowsize
29013 \series default
29014
29015 \begin_inset space \thinspace{}
29016 \end_inset
29017
29018 =
29019 \begin_inset space \thinspace{}
29020 \end_inset
29021
29022 2
29023 \begin_inset space \thinspace{}
29024 \end_inset
29025
29026 pt
29027 \end_layout
29028
29029 \end_inset
29030
29031
29032 \begin_inset ERT
29033 status collapsed
29034
29035 \begin_layout Plain Layout
29036
29037
29038 \backslash
29039 setlength{
29040 \backslash
29041 shadowsize}{4pt}
29042 \end_layout
29043
29044 \end_inset
29045
29046
29047 \end_layout
29048
29049 \begin_layout Standard
29050 \begin_inset VSpace bigskip
29051 \end_inset
29052
29053
29054 \end_layout
29055
29056 \begin_layout Standard
29057 The default value for the size 
29058 \series bold
29059
29060 \backslash
29061 FrameRule
29062 \series default
29063  is 0.4
29064 \begin_inset space \thinspace{}
29065 \end_inset
29066
29067 pt.
29068  The default space between the note content and the frame is 9
29069 \begin_inset space \thinspace{}
29070 \end_inset
29071
29072 pt and can be changed with the value of 
29073 \series bold
29074
29075 \backslash
29076 FrameSep
29077 \series default
29078 .
29079  For example the frame appearance of the following 
29080 \family sans
29081 box
29082 \family default
29083  is set with the TeX-Code commands
29084 \end_layout
29085
29086 \begin_layout Standard
29087
29088 \series bold
29089
29090 \backslash
29091 setlength{
29092 \backslash
29093 FrameRule}{5pt}
29094 \begin_inset Newline newline
29095 \end_inset
29096
29097
29098 \backslash
29099 setlength{
29100 \backslash
29101 FrameSep}{0.5cm}
29102 \end_layout
29103
29104 \begin_layout Standard
29105 \begin_inset ERT
29106 status collapsed
29107
29108 \begin_layout Plain Layout
29109
29110
29111 \backslash
29112 setlength{
29113 \backslash
29114 FrameRule}{5pt}
29115 \end_layout
29116
29117 \begin_layout Plain Layout
29118
29119
29120 \backslash
29121 setlength{
29122 \backslash
29123 FrameSep}{0.5cm}
29124 \end_layout
29125
29126 \end_inset
29127
29128
29129 \begin_inset Box Framed
29130 position "t"
29131 hor_pos "c"
29132 has_inner_box 0
29133 inner_pos "t"
29134 use_parbox 0
29135 use_makebox 0
29136 width "100col%"
29137 special "none"
29138 height "1in"
29139 height_special "totalheight"
29140 status open
29141
29142 \begin_layout Plain Layout
29143 This is text in an 
29144 \family sans
29145 allow page break
29146 \family default
29147  box.
29148 \end_layout
29149
29150 \end_inset
29151
29152
29153 \begin_inset ERT
29154 status collapsed
29155
29156 \begin_layout Plain Layout
29157
29158
29159 \backslash
29160 setlength{
29161 \backslash
29162 FrameRule}{0.4pt}
29163 \end_layout
29164
29165 \begin_layout Plain Layout
29166
29167
29168 \backslash
29169 setlength{
29170 \backslash
29171 FrameSep}{9pt}
29172 \end_layout
29173
29174 \end_inset
29175
29176
29177 \end_layout
29178
29179 \begin_layout Standard
29180 \begin_inset VSpace bigskip
29181 \end_inset
29182
29183
29184 \end_layout
29185
29186 \begin_layout Standard
29187 For 
29188 \family sans
29189 shaded background
29190 \family default
29191  boxes the default space between the box content and the box border is 3
29192 \begin_inset space \thinspace{}
29193 \end_inset
29194
29195 pt and can be changed with the value of 
29196 \series bold
29197
29198 \backslash
29199 fboxsep
29200 \series default
29201 .
29202  The default background color red can either be changed locally with the
29203  command 
29204 \series bold
29205
29206 \backslash
29207 definecolor{shadecolor}
29208 \series default
29209  or globally with the menu 
29210 \family sans
29211 Tools\SpecialChar \menuseparator
29212 Preferences\SpecialChar \menuseparator
29213 Colors\SpecialChar \menuseparator
29214 shaded
29215 \begin_inset space ~
29216 \end_inset
29217
29218 box
29219 \family default
29220 .
29221  The scheme of the 
29222 \series bold
29223
29224 \backslash
29225 definecolor
29226 \series default
29227  command is explained in section
29228 \begin_inset space ~
29229 \end_inset
29230
29231
29232 \begin_inset CommandInset ref
29233 LatexCommand ref
29234 reference "sec:Colored-Tables"
29235
29236 \end_inset
29237
29238 .
29239 \begin_inset Foot
29240 status collapsed
29241
29242 \begin_layout Plain Layout
29243 Note that 
29244 \series bold
29245
29246 \backslash
29247 definecolor
29248 \series default
29249  requires the LaTeX-package 
29250 \series bold
29251 color
29252 \series default
29253  in the preamble, see section
29254 \begin_inset space ~
29255 \end_inset
29256
29257
29258 \begin_inset CommandInset ref
29259 LatexCommand ref
29260 reference "sec:Colored-Boxes"
29261
29262 \end_inset
29263
29264 .
29265 \end_layout
29266
29267 \end_inset
29268
29269  For example the appearance of the following shaded background box is set
29270  with the TeX-Code commands
29271 \end_layout
29272
29273 \begin_layout Standard
29274
29275 \series bold
29276
29277 \backslash
29278 setlength{
29279 \backslash
29280 fboxsep}{0.5cm}
29281 \series default
29282
29283 \begin_inset Newline newline
29284 \end_inset
29285
29286
29287 \series bold
29288
29289 \backslash
29290 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29291 \end_layout
29292
29293 \begin_layout Standard
29294 \begin_inset ERT
29295 status collapsed
29296
29297 \begin_layout Plain Layout
29298
29299
29300 \backslash
29301 setlength{
29302 \backslash
29303 fboxsep}{0.5cm}
29304 \end_layout
29305
29306 \begin_layout Plain Layout
29307
29308
29309 \backslash
29310 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29311 \end_layout
29312
29313 \end_inset
29314
29315
29316 \begin_inset Box Shaded
29317 position "t"
29318 hor_pos "c"
29319 has_inner_box 0
29320 inner_pos "t"
29321 use_parbox 0
29322 use_makebox 0
29323 width "100col%"
29324 special "none"
29325 height "1in"
29326 height_special "totalheight"
29327 status open
29328
29329 \begin_layout Plain Layout
29330
29331 \color yellow
29332 This is yellow text in a
29333 \color none
29334  
29335 \family sans
29336 \color yellow
29337 shaded background
29338 \family default
29339 \color none
29340  
29341 \color yellow
29342 box with dark green background.
29343 \end_layout
29344
29345 \end_inset
29346
29347
29348 \begin_inset ERT
29349 status collapsed
29350
29351 \begin_layout Plain Layout
29352
29353
29354 \backslash
29355 setlength{
29356 \backslash
29357 fboxsep}{3pt}
29358 \end_layout
29359
29360 \begin_layout Plain Layout
29361
29362
29363 \backslash
29364 definecolor{shadecolor}{rgb}{1,0,0}
29365 \end_layout
29366
29367 \end_inset
29368
29369
29370 \end_layout
29371
29372 \begin_layout Standard
29373 \begin_inset VSpace bigskip
29374 \end_inset
29375
29376 Changed lengths and widths are valid for all boxes following the commands
29377  that change them.
29378 \end_layout
29379
29380 \begin_layout Section
29381 Minipages
29382 \begin_inset CommandInset label
29383 LatexCommand label
29384 name "sec:Minipages"
29385
29386 \end_inset
29387
29388
29389 \begin_inset Index idx
29390 status collapsed
29391
29392 \begin_layout Plain Layout
29393 Boxes ! Minipages
29394 \end_layout
29395
29396 \end_inset
29397
29398
29399 \end_layout
29400
29401 \begin_layout Standard
29402 Minipages are treated by LaTeX as pages within pages and can therefore for
29403  example have their own footnotes.
29404 \end_layout
29405
29406 \begin_layout Standard
29407 Minipages are useful when you write documents with different languages.
29408 \end_layout
29409
29410 \begin_layout Standard
29411 Below are two example minipages side by side.
29412  Their width is set to 45
29413 \begin_inset space \thinspace{}
29414 \end_inset
29415
29416 col% and they are separated by a horizontal fill, that was inserted via
29417  the menu 
29418 \family sans
29419 Insert\SpecialChar \menuseparator
29420 Special
29421 \begin_inset space ~
29422 \end_inset
29423
29424 Formatting\SpecialChar \menuseparator
29425 Horizontal
29426 \begin_inset space ~
29427 \end_inset
29428
29429 Fill
29430 \family default
29431 .
29432 \begin_inset Newpage newpage
29433 \end_inset
29434
29435
29436 \end_layout
29437
29438 \begin_layout Standard
29439 \begin_inset Box Frameless
29440 position "t"
29441 hor_pos "c"
29442 has_inner_box 1
29443 inner_pos "c"
29444 use_parbox 0
29445 use_makebox 0
29446 width "45col%"
29447 special "none"
29448 height "1in"
29449 height_special "totalheight"
29450 status open
29451
29452 \begin_layout Plain Layout
29453
29454 \lang german
29455 Dies ist ein deutscher Text.
29456  Dies ist ein deutscher Text.
29457  Dies ist ein deutscher Text.
29458  Dies ist ein deutscher Text.
29459  Dies ist ein deutscher Text.
29460  Dies ist ein deutscher Text.
29461  Dies ist ein deutscher Text.
29462  Dies ist ein deutscher Text.
29463  Dies ist ein deutscher Text.
29464  Dies ist ein deutscher Text.
29465  Dies ist ein deutscher Text.
29466  Dies ist ein deutscher Text.
29467  Dies ist ein deutscher Text
29468 \begin_inset Foot
29469 status collapsed
29470
29471 \begin_layout Plain Layout
29472
29473 \lang german
29474 Dies ist eine deutsche Fußnote.
29475 \end_layout
29476
29477 \end_inset
29478
29479 .
29480  Dies ist ein deutscher Text.
29481  Dies ist ein deutscher Text.
29482 \end_layout
29483
29484 \end_inset
29485
29486
29487 \begin_inset space \hfill{}
29488 \end_inset
29489
29490
29491 \begin_inset Box Frameless
29492 position "t"
29493 hor_pos "c"
29494 has_inner_box 1
29495 inner_pos "c"
29496 use_parbox 0
29497 use_makebox 0
29498 width "45col%"
29499 special "none"
29500 height "1in"
29501 height_special "totalheight"
29502 status open
29503
29504 \begin_layout Plain Layout
29505 This is an English Text.
29506  This is an English Text.
29507  This is an English Text.
29508  This is an English Text.
29509  This is an English Text.
29510  This is an English Text.
29511  This is an English Text.
29512  This is an English Text.
29513  This is an English Text.
29514  This is an English Text.
29515  This is an English Text.
29516  This is an English Text.
29517  This is an English Text.
29518  This is an English Text.
29519  This is an English Text.
29520  This is an English Text.
29521 \begin_inset Foot
29522 status collapsed
29523
29524 \begin_layout Plain Layout
29525 This is an English footnote.
29526 \end_layout
29527
29528 \end_inset
29529
29530  This is an English Text.
29531  
29532 \end_layout
29533
29534 \end_inset
29535
29536
29537 \end_layout
29538
29539 \begin_layout Standard
29540 \begin_inset VSpace bigskip
29541 \end_inset
29542
29543 The document-wide paragraph settings are ignored within minipages.
29544  That means that there will be no space between paragraphs in minipages
29545  although you set it to e.
29546 \begin_inset space \thinspace{}
29547 \end_inset
29548
29549 g.
29550 \begin_inset space \space{}
29551 \end_inset
29552
29553
29554 \family sans
29555 MedSkip
29556 \family default
29557  in the document settings.
29558 \end_layout
29559
29560 \begin_layout Standard
29561 Minipages can also be used to set a background color for text parts, see
29562  section
29563 \begin_inset space ~
29564 \end_inset
29565
29566
29567 \begin_inset CommandInset ref
29568 LatexCommand ref
29569 reference "sub:Color-for-Paragraphs"
29570
29571 \end_inset
29572
29573 .
29574 \end_layout
29575
29576 \begin_layout Standard
29577 \begin_inset Note Greyedout
29578 status open
29579
29580 \begin_layout Plain Layout
29581
29582 \series bold
29583 Note:
29584 \series default
29585  You cannot have floats or margin notes inside minipages but minipages can
29586  be used inside tables, floats, and other boxes.
29587 \end_layout
29588
29589 \end_inset
29590
29591
29592 \end_layout
29593
29594 \begin_layout Section
29595 Parboxes
29596 \begin_inset CommandInset label
29597 LatexCommand label
29598 name "sec:Parboxes"
29599
29600 \end_inset
29601
29602
29603 \begin_inset Index idx
29604 status collapsed
29605
29606 \begin_layout Plain Layout
29607 Boxes ! Parboxes
29608 \end_layout
29609
29610 \end_inset
29611
29612
29613 \end_layout
29614
29615 \begin_layout Standard
29616 Parboxes are very similar to minipages with the difference that they cannot
29617  have footnotes.
29618 \end_layout
29619
29620 \begin_layout Standard
29621 \align center
29622 \begin_inset Box Frameless
29623 position "t"
29624 hor_pos "c"
29625 has_inner_box 1
29626 inner_pos "t"
29627 use_parbox 1
29628 use_makebox 0
29629 width "33col%"
29630 special "none"
29631 height "1in"
29632 height_special "totalheight"
29633 status collapsed
29634
29635 \begin_layout Plain Layout
29636 This a text within a parbox.
29637  This a text within a parbox.
29638 \end_layout
29639
29640 \begin_layout Plain Layout
29641 This footnote won't appear:
29642 \begin_inset Foot
29643 status collapsed
29644
29645 \begin_layout Plain Layout
29646 This footnote is inside a parbox and will therefore not appear.
29647 \end_layout
29648
29649 \end_inset
29650
29651
29652 \end_layout
29653
29654 \end_inset
29655
29656
29657 \end_layout
29658
29659 \begin_layout Section
29660 Boxes for Words and Characters
29661 \begin_inset Index idx
29662 status collapsed
29663
29664 \begin_layout Plain Layout
29665 Boxes ! for Characters
29666 \end_layout
29667
29668 \end_inset
29669
29670
29671 \end_layout
29672
29673 \begin_layout Subsection
29674 Prevent Hyphenation
29675 \begin_inset CommandInset label
29676 LatexCommand label
29677 name "sec:Prevent-Hyphenation"
29678
29679 \end_inset
29680
29681
29682 \begin_inset Index idx
29683 status collapsed
29684
29685 \begin_layout Plain Layout
29686 Boxes ! to Prevent Hyphenation
29687 \end_layout
29688
29689 \end_inset
29690
29691
29692 \end_layout
29693
29694 \begin_layout Standard
29695 You can use the box type 
29696 \family sans
29697 Makebox
29698 \family default
29699  to prevent words or text from being hyphenated.
29700 \begin_inset Newline newline
29701 \end_inset
29702
29703 Here is an example text:
29704 \end_layout
29705
29706 \begin_layout Standard
29707 This line is an example to show how you can prevent the hyphenation of 
29708 \begin_inset Quotes eld
29709 \end_inset
29710
29711 veryverylongword
29712 \begin_inset Quotes erd
29713 \end_inset
29714
29715 .
29716 \end_layout
29717
29718 \begin_layout Standard
29719 To prevent the hyphenation of the word 
29720 \begin_inset Quotes eld
29721 \end_inset
29722
29723 veryverylongword
29724 \begin_inset Quotes erd
29725 \end_inset
29726
29727 , put the word into a box, set the 
29728 \family sans
29729 Inner
29730 \begin_inset space ~
29731 \end_inset
29732
29733 box
29734 \family default
29735  to 
29736 \family sans
29737 Makebox
29738 \family default
29739  and its width to 1
29740 \begin_inset space \thinspace{}
29741 \end_inset
29742
29743 Width.
29744 \end_layout
29745
29746 \begin_layout Standard
29747 This is the result:
29748 \end_layout
29749
29750 \begin_layout Standard
29751 This line is an example to show how you can prevent the hyphenation of 
29752 \begin_inset Box Frameless
29753 position "t"
29754 hor_pos "c"
29755 has_inner_box 1
29756 inner_pos "t"
29757 use_parbox 0
29758 use_makebox 1
29759 width "1in"
29760 special "width"
29761 height "1in"
29762 height_special "totalheight"
29763 status open
29764
29765 \begin_layout Plain Layout
29766 \begin_inset Quotes eld
29767 \end_inset
29768
29769 veryverylongword
29770 \begin_inset Quotes erd
29771 \end_inset
29772
29773
29774 \end_layout
29775
29776 \end_inset
29777
29778 .
29779 \end_layout
29780
29781 \begin_layout Standard
29782 You can alternatively set the command 
29783 \begin_inset Quotes eld
29784 \end_inset
29785
29786
29787 \series bold
29788
29789 \backslash
29790 -
29791 \series default
29792
29793 \begin_inset Quotes grd
29794 \end_inset
29795
29796  as TeX-Code directly before the word:
29797 \end_layout
29798
29799 \begin_layout Standard
29800 This line is an example to show how you can prevent the hyphenation of 
29801 \begin_inset Quotes eld
29802 \end_inset
29803
29804
29805 \begin_inset ERT
29806 status collapsed
29807
29808 \begin_layout Plain Layout
29809
29810
29811 \backslash
29812 -
29813 \end_layout
29814
29815 \end_inset
29816
29817 veryverylongword
29818 \begin_inset Quotes erd
29819 \end_inset
29820
29821 .
29822 \end_layout
29823
29824 \begin_layout Standard
29825 Of course the word now protrudes over the side margin.
29826  To avoid this, add via the menu 
29827 \family sans
29828 Insert\SpecialChar \menuseparator
29829 Special
29830 \begin_inset space ~
29831 \end_inset
29832
29833 Formatting\SpecialChar \menuseparator
29834 Line
29835 \begin_inset space ~
29836 \end_inset
29837
29838 Break
29839 \family default
29840  (shortcut 
29841 \begin_inset Info
29842 type  "shortcut"
29843 arg   "newline-insert newline"
29844 \end_inset
29845
29846 ) a line break before the word:
29847 \end_layout
29848
29849 \begin_layout Standard
29850 This line is an example to show how you can prevent the hyphenation of 
29851 \begin_inset Newline newline
29852 \end_inset
29853
29854
29855 \begin_inset Box Frameless
29856 position "t"
29857 hor_pos "c"
29858 has_inner_box 1
29859 inner_pos "t"
29860 use_parbox 0
29861 use_makebox 1
29862 width "1in"
29863 special "width"
29864 height "1in"
29865 height_special "totalheight"
29866 status open
29867
29868 \begin_layout Plain Layout
29869 \begin_inset Quotes eld
29870 \end_inset
29871
29872 veryverylongword
29873 \begin_inset Quotes erd
29874 \end_inset
29875
29876
29877 \end_layout
29878
29879 \end_inset
29880
29881 .
29882 \end_layout
29883
29884 \begin_layout Subsection
29885 Vertical Alignment
29886 \begin_inset CommandInset label
29887 LatexCommand label
29888 name "sub:Vertical-Alignment"
29889
29890 \end_inset
29891
29892
29893 \begin_inset Index idx
29894 status collapsed
29895
29896 \begin_layout Plain Layout
29897 Boxes ! for Vertical Alignment
29898 \end_layout
29899
29900 \end_inset
29901
29902
29903 \begin_inset Index idx
29904 status collapsed
29905
29906 \begin_layout Plain Layout
29907 Boxes ! Raiseboxes
29908 \end_layout
29909
29910 \end_inset
29911
29912
29913 \end_layout
29914
29915 \begin_layout Standard
29916 With the help of the command 
29917 \series bold
29918
29919 \backslash
29920 raisebox
29921 \series default
29922  you can align words, characters or other boxes vertically relative to the
29923  surrounding text.
29924  
29925 \series bold
29926
29927 \backslash
29928 raisebox
29929 \series default
29930  is used with the following scheme:
29931 \end_layout
29932
29933 \begin_layout Standard
29934
29935 \series bold
29936
29937 \backslash
29938 raisebox{lift}[height][depth]{box content}
29939 \end_layout
29940
29941 \begin_layout Standard
29942 The lift can be a positive value to raise the box or a negative value to
29943  lower the box.
29944 \end_layout
29945
29946 \begin_layout Standard
29947 To align for example the word 
29948 \begin_inset Quotes eld
29949 \end_inset
29950
29951 preventing
29952 \begin_inset Quotes erd
29953 \end_inset
29954
29955  so that the bottom of the 
29956 \begin_inset Quotes eld
29957 \end_inset
29958
29959 deepest
29960 \begin_inset Quotes erd
29961 \end_inset
29962
29963  character 
29964 \begin_inset Quotes eld
29965 \end_inset
29966
29967 p
29968 \begin_inset Quotes erd
29969 \end_inset
29970
29971  is at the baseline, insert the command
29972 \end_layout
29973
29974 \begin_layout Standard
29975
29976 \series bold
29977
29978 \backslash
29979 raisebox{
29980 \backslash
29981 depth}{
29982 \end_layout
29983
29984 \begin_layout Standard
29985 in TeX-Code before the word.
29986  After the word insert a closing brace 
29987 \begin_inset Quotes eld
29988 \end_inset
29989
29990
29991 \series bold
29992 }
29993 \series default
29994
29995 \begin_inset Quotes erd
29996 \end_inset
29997
29998  in TeX-Code.
29999 \begin_inset Newline newline
30000 \end_inset
30001
30002 This is the result:
30003 \end_layout
30004
30005 \begin_layout Standard
30006 This is a text line with the word 
30007 \begin_inset ERT
30008 status collapsed
30009
30010 \begin_layout Plain Layout
30011
30012
30013 \backslash
30014 raisebox{
30015 \backslash
30016 depth}{
30017 \end_layout
30018
30019 \end_inset
30020
30021
30022 \begin_inset Quotes eld
30023 \end_inset
30024
30025 preventing
30026 \begin_inset Quotes erd
30027 \end_inset
30028
30029
30030 \begin_inset ERT
30031 status collapsed
30032
30033 \begin_layout Plain Layout
30034
30035 }
30036 \end_layout
30037
30038 \end_inset
30039
30040  as a raised word.
30041 \end_layout
30042
30043 \begin_layout Standard
30044 \begin_inset VSpace bigskip
30045 \end_inset
30046
30047 When you raise or lower characters in a line, the line distance will be
30048  spread:
30049 \end_layout
30050
30051 \begin_layout Standard
30052 This is a text line with the word 
30053 \begin_inset ERT
30054 status collapsed
30055
30056 \begin_layout Plain Layout
30057
30058
30059 \backslash
30060 raisebox{-
30061 \backslash
30062 depth}{
30063 \end_layout
30064
30065 \end_inset
30066
30067
30068 \begin_inset Quotes eld
30069 \end_inset
30070
30071 preventing
30072 \begin_inset Quotes erd
30073 \end_inset
30074
30075
30076 \begin_inset ERT
30077 status collapsed
30078
30079 \begin_layout Plain Layout
30080
30081 }
30082 \end_layout
30083
30084 \end_inset
30085
30086  as a lowered word.
30087 \begin_inset Newline newline
30088 \end_inset
30089
30090 This is a text line with the word 
30091 \begin_inset ERT
30092 status collapsed
30093
30094 \begin_layout Plain Layout
30095
30096
30097 \backslash
30098 raisebox{0.5cm}{
30099 \end_layout
30100
30101 \end_inset
30102
30103
30104 \begin_inset Quotes eld
30105 \end_inset
30106
30107 testing
30108 \begin_inset Quotes erd
30109 \end_inset
30110
30111
30112 \begin_inset ERT
30113 status collapsed
30114
30115 \begin_layout Plain Layout
30116
30117 }
30118 \end_layout
30119
30120 \end_inset
30121
30122  as a raised word.
30123 \end_layout
30124
30125 \begin_layout Standard
30126 If you want to prevent this for a certain reason, set the box height to
30127  a zero value.
30128  For example use
30129 \end_layout
30130
30131 \begin_layout Standard
30132
30133 \series bold
30134
30135 \backslash
30136 raisebox{-
30137 \backslash
30138 depth}[0pt]{
30139 \end_layout
30140
30141 \begin_layout Standard
30142 This is a text line with the word 
30143 \begin_inset ERT
30144 status collapsed
30145
30146 \begin_layout Plain Layout
30147
30148
30149 \backslash
30150 raisebox{-
30151 \backslash
30152 depth}[0pt]{
30153 \end_layout
30154
30155 \end_inset
30156
30157
30158 \begin_inset Quotes eld
30159 \end_inset
30160
30161 preventing
30162 \begin_inset Quotes erd
30163 \end_inset
30164
30165
30166 \begin_inset ERT
30167 status collapsed
30168
30169 \begin_layout Plain Layout
30170
30171 }
30172 \end_layout
30173
30174 \end_inset
30175
30176  as a lowered word.
30177 \begin_inset Newline newline
30178 \end_inset
30179
30180 This is a text line with the word 
30181 \begin_inset ERT
30182 status collapsed
30183
30184 \begin_layout Plain Layout
30185
30186
30187 \backslash
30188 raisebox{0.5cm}[0pt]{
30189 \end_layout
30190
30191 \end_inset
30192
30193
30194 \begin_inset Quotes eld
30195 \end_inset
30196
30197 testing
30198 \begin_inset Quotes erd
30199 \end_inset
30200
30201
30202 \begin_inset ERT
30203 status collapsed
30204
30205 \begin_layout Plain Layout
30206
30207 }
30208 \end_layout
30209
30210 \end_inset
30211
30212  as a raised word.
30213 \end_layout
30214
30215 \begin_layout Section
30216 Colored Boxes
30217 \begin_inset CommandInset label
30218 LatexCommand label
30219 name "sec:Colored-Boxes"
30220
30221 \end_inset
30222
30223
30224 \begin_inset Index idx
30225 status collapsed
30226
30227 \begin_layout Plain Layout
30228 Boxes ! Color
30229 \end_layout
30230
30231 \end_inset
30232
30233
30234 \end_layout
30235
30236 \begin_layout Subsection
30237 Color for Text
30238 \begin_inset Index idx
30239 status collapsed
30240
30241 \begin_layout Plain Layout
30242 Color ! for Text
30243 \end_layout
30244
30245 \end_inset
30246
30247
30248 \end_layout
30249
30250 \begin_layout Standard
30251 To color the background of text the text must be put into a so called 
30252 \begin_inset Quotes eld
30253 \end_inset
30254
30255 colorbox
30256 \begin_inset Quotes erd
30257 \end_inset
30258
30259 .
30260  This requires that the LaTeX-package 
30261 \series bold
30262 color
30263 \series default
30264
30265 \begin_inset Index idx
30266 status collapsed
30267
30268 \begin_layout Plain Layout
30269 LaTeX-packages ! color
30270 \end_layout
30271
30272 \end_inset
30273
30274  is loaded in the document preamble with the command
30275 \end_layout
30276
30277 \begin_layout Standard
30278
30279 \series bold
30280
30281 \backslash
30282 @ifundefined{textcolor}
30283 \begin_inset Newline newline
30284 \end_inset
30285
30286
30287 \begin_inset Phantom HPhantom
30288 status open
30289
30290 \begin_layout Plain Layout
30291
30292 \series bold
30293 \begin_inset space ~
30294 \end_inset
30295
30296
30297 \end_layout
30298
30299 \end_inset
30300
30301 {
30302 \backslash
30303 usepackage{color}}{}
30304 \end_layout
30305
30306 \begin_layout Standard
30307 The package 
30308 \series bold
30309 color
30310 \series default
30311  will be loaded automatically by LyX when you color text.
30312 \begin_inset Foot
30313 status collapsed
30314
30315 \begin_layout Plain Layout
30316 To avoid it being loaded twice the command 
30317 \series bold
30318
30319 \backslash
30320 @ifundefined
30321 \series default
30322  is used.
30323 \end_layout
30324
30325 \end_inset
30326
30327
30328 \end_layout
30329
30330 \begin_layout Standard
30331 \begin_inset VSpace medskip
30332 \end_inset
30333
30334 Colorboxes are created with the command 
30335 \series bold
30336
30337 \backslash
30338 colorbox
30339 \series default
30340 .
30341  This will be used with the following scheme:
30342 \end_layout
30343
30344 \begin_layout Standard
30345
30346 \series bold
30347
30348 \backslash
30349 colorbox{color}{box content}
30350 \end_layout
30351
30352 \begin_layout Standard
30353 The box content can also be a box and colorboxes can also be within other
30354  boxes.
30355 \end_layout
30356
30357 \begin_layout Standard
30358 The following colors are predefined:
30359 \begin_inset Newline newline
30360 \end_inset
30361
30362
30363 \family sans
30364 black
30365 \family default
30366
30367 \family sans
30368 blue
30369 \family default
30370
30371 \family sans
30372 cyan
30373 \family default
30374 \series bold
30375 ,
30376 \series default
30377  
30378 \family sans
30379 green
30380 \family default
30381
30382 \family sans
30383 magenta
30384 \family default
30385
30386 \family sans
30387 red
30388 \family default
30389
30390 \family sans
30391 white
30392 \family default
30393 , and 
30394 \family sans
30395 yellow
30396 \family default
30397 .
30398 \begin_inset Newline newline
30399 \end_inset
30400
30401 You can also define your own color as described in section
30402 \begin_inset space ~
30403 \end_inset
30404
30405
30406 \begin_inset CommandInset ref
30407 LatexCommand ref
30408 reference "sec:Colored-Tables"
30409
30410 \end_inset
30411
30412 .
30413 \end_layout
30414
30415 \begin_layout Standard
30416 To have e.
30417 \begin_inset space \thinspace{}
30418 \end_inset
30419
30420 g.
30421 \begin_inset space \space{}
30422 \end_inset
30423
30424 a red background for a word, insert the command
30425 \end_layout
30426
30427 \begin_layout Standard
30428
30429 \series bold
30430
30431 \backslash
30432 colorbox{red}{
30433 \end_layout
30434
30435 \begin_layout Standard
30436 before the word in TeX-Code.
30437  After the word insert a closing brace 
30438 \begin_inset Quotes eld
30439 \end_inset
30440
30441
30442 \series bold
30443 }
30444 \series default
30445
30446 \begin_inset Quotes erd
30447 \end_inset
30448
30449  in TeX-Code.
30450 \begin_inset Newline newline
30451 \end_inset
30452
30453 This is the result:
30454 \end_layout
30455
30456 \begin_layout Standard
30457 This is a line where the word 
30458 \begin_inset ERT
30459 status collapsed
30460
30461 \begin_layout Plain Layout
30462
30463
30464 \backslash
30465 colorbox{red}{
30466 \end_layout
30467
30468 \end_inset
30469
30470
30471 \begin_inset Quotes eld
30472 \end_inset
30473
30474 Attention!
30475 \begin_inset Quotes erd
30476 \end_inset
30477
30478
30479 \begin_inset ERT
30480 status collapsed
30481
30482 \begin_layout Plain Layout
30483
30484 }
30485 \end_layout
30486
30487 \end_inset
30488
30489  has a red background.
30490 \end_layout
30491
30492 \begin_layout Standard
30493 \begin_inset VSpace bigskip
30494 \end_inset
30495
30496 If you would like the box frame in a different color, you can use the command
30497  
30498 \series bold
30499
30500 \backslash
30501 fcolorbox
30502 \series default
30503  with the following scheme:
30504 \end_layout
30505
30506 \begin_layout Standard
30507
30508 \series bold
30509
30510 \backslash
30511 fcolorbox{frame color}{box color}{box content}
30512 \end_layout
30513
30514 \begin_layout Standard
30515
30516 \series bold
30517
30518 \backslash
30519 fcolorbox
30520 \series default
30521  is an extension to 
30522 \series bold
30523
30524 \backslash
30525 colorbox
30526 \series default
30527 .
30528  The frame thickness and the space between the frame and the box content
30529  can be adjusted with the lengths 
30530 \series bold
30531
30532 \backslash
30533 fboxrule
30534 \series default
30535  and 
30536 \series bold
30537
30538 \backslash
30539 fboxsep
30540 \series default
30541 , respectively, as described in section
30542 \begin_inset space ~
30543 \end_inset
30544
30545
30546 \begin_inset CommandInset ref
30547 LatexCommand ref
30548 reference "sec:Decoration"
30549
30550 \end_inset
30551
30552 .
30553 \end_layout
30554
30555 \begin_layout Standard
30556 For the following example the command
30557 \end_layout
30558
30559 \begin_layout Standard
30560
30561 \series bold
30562
30563 \backslash
30564 fcolorbox{cyan}{magenta}{
30565 \end_layout
30566
30567 \begin_layout Standard
30568 was used.
30569 \end_layout
30570
30571 \begin_layout Standard
30572 Here is an example where the frame line thickness was set to 1
30573 \begin_inset space \thinspace{}
30574 \end_inset
30575
30576 mm:
30577 \begin_inset Newline newline
30578 \end_inset
30579
30580
30581 \begin_inset ERT
30582 status collapsed
30583
30584 \begin_layout Plain Layout
30585
30586
30587 \backslash
30588 fboxrule 1mm 
30589 \backslash
30590 fboxsep 1mm
30591 \end_layout
30592
30593 \end_inset
30594
30595
30596 \begin_inset ERT
30597 status collapsed
30598
30599 \begin_layout Plain Layout
30600
30601
30602 \backslash
30603 fcolorbox{cyan}{magenta}{
30604 \end_layout
30605
30606 \end_inset
30607
30608 This is text within a colored, framed box.
30609 \begin_inset ERT
30610 status collapsed
30611
30612 \begin_layout Plain Layout
30613
30614 }
30615 \end_layout
30616
30617 \end_inset
30618
30619
30620 \end_layout
30621
30622 \begin_layout Standard
30623 \begin_inset VSpace bigskip
30624 \end_inset
30625
30626 Of course you can also have colored text inside a colorbox:
30627 \begin_inset Newline newline
30628 \end_inset
30629
30630
30631 \begin_inset ERT
30632 status collapsed
30633
30634 \begin_layout Plain Layout
30635
30636
30637 \backslash
30638 fcolorbox{cyan}{magenta}{
30639 \end_layout
30640
30641 \end_inset
30642
30643
30644 \color yellow
30645 This is colored text within a colored, framed box.
30646 \color none
30647
30648 \begin_inset ERT
30649 status collapsed
30650
30651 \begin_layout Plain Layout
30652
30653 }
30654 \end_layout
30655
30656 \end_inset
30657
30658
30659 \begin_inset ERT
30660 status collapsed
30661
30662 \begin_layout Plain Layout
30663
30664
30665 \backslash
30666 fboxrule 0.4pt 
30667 \backslash
30668 fboxsep 3pt
30669 \end_layout
30670
30671 \end_inset
30672
30673
30674 \end_layout
30675
30676 \begin_layout Standard
30677
30678 \series bold
30679 \begin_inset VSpace medskip
30680 \end_inset
30681
30682
30683 \end_layout
30684
30685 \begin_layout Standard
30686 \begin_inset Note Greyedout
30687 status open
30688
30689 \begin_layout Plain Layout
30690
30691 \series bold
30692 Note:
30693 \series default
30694  Text in colorboxes cannot have line breaks.
30695  To color multiple text lines or paragraphs, use a box inside a colorbox
30696  as described in the following.
30697 \end_layout
30698
30699 \end_inset
30700
30701
30702 \end_layout
30703
30704 \begin_layout Subsection
30705 Color for Paragraphs
30706 \begin_inset CommandInset label
30707 LatexCommand label
30708 name "sub:Color-for-Paragraphs"
30709
30710 \end_inset
30711
30712
30713 \begin_inset Index idx
30714 status collapsed
30715
30716 \begin_layout Plain Layout
30717 Color ! for Paragraphs
30718 \end_layout
30719
30720 \end_inset
30721
30722
30723 \end_layout
30724
30725 \begin_layout Standard
30726 To set the background color for more than one text line, put the text into
30727  a minipage.
30728  Before the minipage insert the 
30729 \series bold
30730
30731 \backslash
30732 colorbox
30733 \series default
30734  command
30735 \end_layout
30736
30737 \begin_layout Standard
30738
30739 \series bold
30740
30741 \backslash
30742 colorbox{color}{
30743 \end_layout
30744
30745 \begin_layout Standard
30746 in TeX-Code.
30747  After the minipage insert a closing brace 
30748 \begin_inset Quotes eld
30749 \end_inset
30750
30751
30752 \series bold
30753 }
30754 \series default
30755
30756 \begin_inset Quotes erd
30757 \end_inset
30758
30759  in TeX-Code.
30760 \end_layout
30761
30762 \begin_layout Standard
30763 \begin_inset ERT
30764 status collapsed
30765
30766 \begin_layout Plain Layout
30767
30768
30769 \backslash
30770 colorbox{lightgrey}{
30771 \end_layout
30772
30773 \end_inset
30774
30775
30776 \begin_inset Box Frameless
30777 position "t"
30778 hor_pos "c"
30779 has_inner_box 1
30780 inner_pos "t"
30781 use_parbox 0
30782 use_makebox 0
30783 width "100col%"
30784 special "none"
30785 height "1in"
30786 height_special "totalheight"
30787 status collapsed
30788
30789 \begin_layout Plain Layout
30790 This is text with background color.
30791  This is text with background color.
30792 \end_layout
30793
30794 \begin_layout Plain Layout
30795 \begin_inset VSpace defskip
30796 \end_inset
30797
30798 The text can have footnotes
30799 \begin_inset Foot
30800 status collapsed
30801
30802 \begin_layout Plain Layout
30803 Another example footnote
30804 \end_layout
30805
30806 \end_inset
30807
30808  and can include tables and figures.
30809 \end_layout
30810
30811 \begin_layout Plain Layout
30812 \align center
30813 \begin_inset Tabular
30814 <lyxtabular version="3" rows="3" columns="3">
30815 <features tabularvalignment="middle">
30816 <column alignment="center" valignment="top" width="0">
30817 <column alignment="center" valignment="top" width="0">
30818 <column alignment="center" valignment="top" width="0">
30819 <row>
30820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30821 \begin_inset Text
30822
30823 \begin_layout Plain Layout
30824 a
30825 \end_layout
30826
30827 \end_inset
30828 </cell>
30829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30830 \begin_inset Text
30831
30832 \begin_layout Plain Layout
30833 !
30834 \end_layout
30835
30836 \end_inset
30837 </cell>
30838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30839 \begin_inset Text
30840
30841 \begin_layout Plain Layout
30842 3
30843 \end_layout
30844
30845 \end_inset
30846 </cell>
30847 </row>
30848 <row>
30849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30850 \begin_inset Text
30851
30852 \begin_layout Plain Layout
30853 <
30854 \end_layout
30855
30856 \end_inset
30857 </cell>
30858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30859 \begin_inset Text
30860
30861 \begin_layout Plain Layout
30862 b2
30863 \begin_inset Quotes erd
30864 \end_inset
30865
30866 |
30867 \end_layout
30868
30869 \end_inset
30870 </cell>
30871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30872 \begin_inset Text
30873
30874 \begin_layout Plain Layout
30875 >
30876 \end_layout
30877
30878 \end_inset
30879 </cell>
30880 </row>
30881 <row>
30882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30883 \begin_inset Text
30884
30885 \begin_layout Plain Layout
30886 1
30887 \end_layout
30888
30889 \end_inset
30890 </cell>
30891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30892 \begin_inset Text
30893
30894 \begin_layout Plain Layout
30895 §
30896 \end_layout
30897
30898 \end_inset
30899 </cell>
30900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30901 \begin_inset Text
30902
30903 \begin_layout Plain Layout
30904 c
30905 \end_layout
30906
30907 \end_inset
30908 </cell>
30909 </row>
30910 </lyxtabular>
30911
30912 \end_inset
30913
30914
30915 \end_layout
30916
30917 \end_inset
30918
30919
30920 \begin_inset ERT
30921 status collapsed
30922
30923 \begin_layout Plain Layout
30924
30925 }
30926 \end_layout
30927
30928 \end_inset
30929
30930
30931 \end_layout
30932
30933 \begin_layout Section
30934 Rotated and Scaled Boxes
30935 \end_layout
30936
30937 \begin_layout Standard
30938 To use the commands described in this section, the LaTeX-package 
30939 \series bold
30940 graphicx
30941 \series default
30942
30943 \begin_inset Index idx
30944 status collapsed
30945
30946 \begin_layout Plain Layout
30947 LaTeX-packages ! graphicx
30948 \end_layout
30949
30950 \end_inset
30951
30952  needs to be loaded in the document preamble with the command
30953 \end_layout
30954
30955 \begin_layout Standard
30956
30957 \series bold
30958
30959 \backslash
30960 @ifundefined{rotatebox}
30961 \begin_inset Newline newline
30962 \end_inset
30963
30964
30965 \begin_inset Phantom HPhantom
30966 status open
30967
30968 \begin_layout Plain Layout
30969
30970 \series bold
30971 \begin_inset space ~
30972 \end_inset
30973
30974
30975 \end_layout
30976
30977 \end_inset
30978
30979 {
30980 \backslash
30981 usepackage{graphicx}}{}
30982 \end_layout
30983
30984 \begin_layout Standard
30985 \begin_inset Note Greyedout
30986 status open
30987
30988 \begin_layout Plain Layout
30989
30990 \series bold
30991 Note:
30992 \series default
30993  Some DVI-viewers can't display rotated or scaled material.
30994 \end_layout
30995
30996 \end_inset
30997
30998
30999 \end_layout
31000
31001 \begin_layout Standard
31002 \begin_inset Note Greyedout
31003 status open
31004
31005 \begin_layout Plain Layout
31006
31007 \series bold
31008 Note:
31009 \series default
31010  Floats mustn't be inside a rotated or scaled box.
31011 \end_layout
31012
31013 \end_inset
31014
31015
31016 \end_layout
31017
31018 \begin_layout Subsection
31019 Rotated Boxes
31020 \begin_inset Index idx
31021 status collapsed
31022
31023 \begin_layout Plain Layout
31024 Boxes ! rotated
31025 \end_layout
31026
31027 \end_inset
31028
31029
31030 \begin_inset Index idx
31031 status collapsed
31032
31033 \begin_layout Plain Layout
31034 Rotated material
31035 \end_layout
31036
31037 \end_inset
31038
31039
31040 \begin_inset Index idx
31041 status collapsed
31042
31043 \begin_layout Plain Layout
31044 Figures ! rotated
31045 \end_layout
31046
31047 \end_inset
31048
31049
31050 \begin_inset Index idx
31051 status collapsed
31052
31053 \begin_layout Plain Layout
31054 Table Customization ! Rotating
31055 \end_layout
31056
31057 \end_inset
31058
31059
31060 \end_layout
31061
31062 \begin_layout Standard
31063 To rotate material, you can put it into a rotated box.
31064  Such a box is created using the command 
31065 \series bold
31066
31067 \backslash
31068 rotatebox
31069 \series default
31070  in TeX-Code with the following scheme:
31071 \end_layout
31072
31073 \begin_layout Standard
31074
31075 \series bold
31076
31077 \backslash
31078 rotatebox[rotation origin]{rotation angle}{box content}
31079 \end_layout
31080
31081 \begin_layout Standard
31082 The rotation origin is specified in the form 
31083 \series bold
31084 origin=position
31085 \series default
31086 .
31087  The following positions are possible: 
31088 \emph on
31089 c
31090 \emph default
31091  (center), 
31092 \emph on
31093 l
31094 \emph default
31095  (left), 
31096 \emph on
31097 r
31098 \emph default
31099  (right), 
31100 \emph on
31101 b
31102 \emph default
31103  (bottom), 
31104 \emph on
31105 t
31106 \emph default
31107  (top), along with meaningful combinations of the four base positions.
31108  For example 
31109 \emph on
31110 lt
31111 \emph default
31112  means that the rotation origin is at the top left corner of the box.
31113  When no rotation origin is specified, the position 
31114 \emph on
31115 l
31116 \emph default
31117  will be used.
31118  The rotation angle is a number that can be negative that specifies the
31119  angle in degrees.
31120  The rotation direction is counterclockwise.
31121 \end_layout
31122
31123 \begin_layout Standard
31124 In the following example the command 
31125 \series bold
31126
31127 \backslash
31128 rotatebox[origin=c]{60}{
31129 \series default
31130  was inserted as TeX-Code before the text 
31131 \begin_inset Quotes eld
31132 \end_inset
31133
31134 with rotated
31135 \begin_inset Quotes erd
31136 \end_inset
31137
31138 ; after the text the box was closed by a closing brace 
31139 \series bold
31140 }
31141 \series default
31142  in TeX-Code.
31143 \end_layout
31144
31145 \begin_layout Standard
31146 This is a line 
31147 \begin_inset ERT
31148 status collapsed
31149
31150 \begin_layout Plain Layout
31151
31152
31153 \backslash
31154 rotatebox[origin=c]{60}{
31155 \end_layout
31156
31157 \end_inset
31158
31159 with rotated
31160 \begin_inset ERT
31161 status collapsed
31162
31163 \begin_layout Plain Layout
31164
31165 }
31166 \end_layout
31167
31168 \end_inset
31169
31170  text.
31171 \end_layout
31172
31173 \begin_layout Standard
31174 The box content can also be another box or an inline formula:
31175 \end_layout
31176
31177 \begin_layout Standard
31178 This is a line
31179 \begin_inset ERT
31180 status collapsed
31181
31182 \begin_layout Plain Layout
31183
31184
31185 \backslash
31186 rotatebox[origin=r]{-60}{
31187 \end_layout
31188
31189 \end_inset
31190
31191
31192 \begin_inset Box Doublebox
31193 position "c"
31194 hor_pos "c"
31195 has_inner_box 0
31196 inner_pos "c"
31197 use_parbox 0
31198 use_makebox 0
31199 width "1in"
31200 special "width"
31201 height "1in"
31202 height_special "totalheight"
31203 status collapsed
31204
31205 \begin_layout Plain Layout
31206 with rotated
31207 \end_layout
31208
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  framed text 
31223 \begin_inset ERT
31224 status collapsed
31225
31226 \begin_layout Plain Layout
31227
31228
31229 \backslash
31230 rotatebox[origin=lb]{60}{
31231 \end_layout
31232
31233 \end_inset
31234
31235
31236 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31237 \end_inset
31238
31239
31240 \begin_inset ERT
31241 status collapsed
31242
31243 \begin_layout Plain Layout
31244
31245 }
31246 \end_layout
31247
31248 \end_inset
31249
31250  and a formula.
31251 \end_layout
31252
31253 \begin_layout Standard
31254 or an image or table:
31255 \end_layout
31256
31257 \begin_layout Standard
31258 This is a line
31259 \begin_inset ERT
31260 status collapsed
31261
31262 \begin_layout Plain Layout
31263
31264
31265 \backslash
31266 rotatebox[origin=lb]{90}{
31267 \end_layout
31268
31269 \end_inset
31270
31271
31272 \begin_inset Graphics
31273         filename clipart/platypus.eps
31274         lyxscale 50
31275         width 25col%
31276
31277 \end_inset
31278
31279
31280 \begin_inset ERT
31281 status collapsed
31282
31283 \begin_layout Plain Layout
31284
31285 }
31286 \end_layout
31287
31288 \end_inset
31289
31290  with a rotated image 
31291 \begin_inset ERT
31292 status collapsed
31293
31294 \begin_layout Plain Layout
31295
31296
31297 \backslash
31298 rotatebox[origin=l]{-90}{
31299 \end_layout
31300
31301 \end_inset
31302
31303
31304 \begin_inset Tabular
31305 <lyxtabular version="3" rows="2" columns="2">
31306 <features tabularvalignment="middle">
31307 <column alignment="center" valignment="top" width="0">
31308 <column alignment="center" valignment="top" width="0">
31309 <row>
31310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31311 \begin_inset Text
31312
31313 \begin_layout Plain Layout
31314 q
31315 \end_layout
31316
31317 \end_inset
31318 </cell>
31319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31320 \begin_inset Text
31321
31322 \begin_layout Plain Layout
31323 w
31324 \end_layout
31325
31326 \end_inset
31327 </cell>
31328 </row>
31329 <row>
31330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31331 \begin_inset Text
31332
31333 \begin_layout Plain Layout
31334 e
31335 \end_layout
31336
31337 \end_inset
31338 </cell>
31339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31340 \begin_inset Text
31341
31342 \begin_layout Plain Layout
31343 r
31344 \end_layout
31345
31346 \end_inset
31347 </cell>
31348 </row>
31349 </lyxtabular>
31350
31351 \end_inset
31352
31353
31354 \begin_inset ERT
31355 status collapsed
31356
31357 \begin_layout Plain Layout
31358
31359 }
31360 \end_layout
31361
31362 \end_inset
31363
31364  and table.
31365 \end_layout
31366
31367 \begin_layout Subsection
31368 Scaled Boxes
31369 \begin_inset Index idx
31370 status collapsed
31371
31372 \begin_layout Plain Layout
31373 Boxes ! scaled
31374 \end_layout
31375
31376 \end_inset
31377
31378
31379 \begin_inset Index idx
31380 status collapsed
31381
31382 \begin_layout Plain Layout
31383 Scaled material
31384 \end_layout
31385
31386 \end_inset
31387
31388
31389 \begin_inset Index idx
31390 status collapsed
31391
31392 \begin_layout Plain Layout
31393 Figures ! scaled
31394 \end_layout
31395
31396 \end_inset
31397
31398
31399 \begin_inset Index idx
31400 status collapsed
31401
31402 \begin_layout Plain Layout
31403 Table Customization ! Scaling
31404 \end_layout
31405
31406 \end_inset
31407
31408
31409 \end_layout
31410
31411 \begin_layout Standard
31412 To scale material the commands 
31413 \series bold
31414
31415 \backslash
31416 scalebox
31417 \series default
31418  and 
31419 \series bold
31420
31421 \backslash
31422 resizebox
31423 \series default
31424  can be used as TeX-Code.
31425 \end_layout
31426
31427 \begin_layout Standard
31428
31429 \series bold
31430
31431 \backslash
31432 scalebox
31433 \series default
31434  is used with the following scheme:
31435 \end_layout
31436
31437 \begin_layout Standard
31438
31439 \series bold
31440
31441 \backslash
31442 scalebox{horizontal}[vertical]{box content}
31443 \end_layout
31444
31445 \begin_layout Standard
31446 Horizontal and vertical are the corresponding scaling factors.
31447  If no vertical scaling factor is given, the horizontal factor will also
31448  be used as the vertical one.
31449 \end_layout
31450
31451 \begin_layout Standard
31452 The command 
31453 \series bold
31454
31455 \backslash
31456 scalebox{2}{Hello}
31457 \series default
31458  creates for example a double size 
31459 \begin_inset ERT
31460 status collapsed
31461
31462 \begin_layout Plain Layout
31463
31464
31465 \backslash
31466 scalebox{2}{
31467 \end_layout
31468
31469 \end_inset
31470
31471 Hello
31472 \begin_inset ERT
31473 status collapsed
31474
31475 \begin_layout Plain Layout
31476
31477 }
31478 \end_layout
31479
31480 \end_inset
31481
31482 , compared with the document text size.
31483 \end_layout
31484
31485 \begin_layout Standard
31486
31487 \series bold
31488
31489 \backslash
31490 scalebox{2}[1]{Hello}
31491 \series default
31492  on the other hand distorts the 
31493 \begin_inset ERT
31494 status collapsed
31495
31496 \begin_layout Plain Layout
31497
31498
31499 \backslash
31500 scalebox{2}[1]{
31501 \end_layout
31502
31503 \end_inset
31504
31505 Hello
31506 \begin_inset ERT
31507 status collapsed
31508
31509 \begin_layout Plain Layout
31510
31511 }
31512 \end_layout
31513
31514 \end_inset
31515
31516 .
31517 \end_layout
31518
31519 \begin_layout Standard
31520 If the scaling factor is negative, the box content will be mirrored.
31521  Therefore the command 
31522 \series bold
31523
31524 \backslash
31525 scalebox{-1}[1]{Hello}
31526 \series default
31527  can be used to create mirror writing: 
31528 \begin_inset ERT
31529 status collapsed
31530
31531 \begin_layout Plain Layout
31532
31533
31534 \backslash
31535 scalebox{-1}[1]{
31536 \end_layout
31537
31538 \end_inset
31539
31540 Hello
31541 \begin_inset ERT
31542 status collapsed
31543
31544 \begin_layout Plain Layout
31545
31546 }
31547 \end_layout
31548
31549 \end_inset
31550
31551
31552 \end_layout
31553
31554 \begin_layout Standard
31555
31556 \series bold
31557
31558 \backslash
31559 scalebox{1}[-1]{Hello}
31560 \series default
31561  reflects the 
31562 \begin_inset ERT
31563 status collapsed
31564
31565 \begin_layout Plain Layout
31566
31567
31568 \backslash
31569 scalebox{1}[-1]{
31570 \end_layout
31571
31572 \end_inset
31573
31574 Hello
31575 \begin_inset ERT
31576 status collapsed
31577
31578 \begin_layout Plain Layout
31579
31580 }
31581 \end_layout
31582
31583 \end_inset
31584
31585  at the base line.
31586 \end_layout
31587
31588 \begin_layout Standard
31589 Equivalent to 
31590 \series bold
31591
31592 \backslash
31593 scalebox{-1}[1]{box content}
31594 \series default
31595  there exists the command
31596 \begin_inset Newline newline
31597 \end_inset
31598
31599
31600 \series bold
31601
31602 \backslash
31603 reflectbox{box content}
31604 \series default
31605 .
31606 \end_layout
31607
31608 \begin_layout Standard
31609 \begin_inset VSpace bigskip
31610 \end_inset
31611
31612 The command 
31613 \series bold
31614
31615 \backslash
31616 resizebox
31617 \series default
31618  is used to scale the box to a defined width and height.
31619  The command scheme is:
31620 \end_layout
31621
31622 \begin_layout Standard
31623
31624 \series bold
31625
31626 \backslash
31627 resizebox{width}{height}{box content}
31628 \end_layout
31629
31630 \begin_layout Standard
31631 If one of the two command arguments given is an exclamation mark 
31632 \series bold
31633 !
31634 \series default
31635 , the size is set so that the aspect ratio of the box content is kept.
31636 \end_layout
31637
31638 \begin_layout Standard
31639 The command 
31640 \series bold
31641
31642 \backslash
31643 resizebox{2cm}{1cm}{Hello}
31644 \series default
31645  produces: 
31646 \begin_inset ERT
31647 status collapsed
31648
31649 \begin_layout Plain Layout
31650
31651
31652 \backslash
31653 resizebox{2cm}{1cm}{
31654 \end_layout
31655
31656 \end_inset
31657
31658 Hello
31659 \begin_inset ERT
31660 status collapsed
31661
31662 \begin_layout Plain Layout
31663
31664 }
31665 \end_layout
31666
31667 \end_inset
31668
31669
31670 \begin_inset Newline newline
31671 \end_inset
31672
31673 The command 
31674 \series bold
31675
31676 \backslash
31677 resizebox{2cm}{!}{Hello}
31678 \series default
31679  produces: 
31680 \begin_inset ERT
31681 status collapsed
31682
31683 \begin_layout Plain Layout
31684
31685
31686 \backslash
31687 resizebox{2cm}{!}{
31688 \end_layout
31689
31690 \end_inset
31691
31692 Hello
31693 \begin_inset ERT
31694 status collapsed
31695
31696 \begin_layout Plain Layout
31697
31698 }
31699 \end_layout
31700
31701 \end_inset
31702
31703
31704 \end_layout
31705
31706 \begin_layout Standard
31707 \begin_inset VSpace bigskip
31708 \end_inset
31709
31710
31711 \begin_inset Note Greyedout
31712 status open
31713
31714 \begin_layout Plain Layout
31715
31716 \series bold
31717 Note:
31718 \series default
31719  When arguments of 
31720 \series bold
31721
31722 \backslash
31723 scalebox
31724 \series default
31725  or 
31726 \series bold
31727
31728 \backslash
31729 resizebox
31730 \series default
31731  are set to zero, no LaTeX-errors occur when exporting the document but
31732  the exported files can not or only partly be displayed.
31733 \end_layout
31734
31735 \end_inset
31736
31737
31738 \end_layout
31739
31740 \begin_layout Standard
31741 \begin_inset VSpace bigskip
31742 \end_inset
31743
31744
31745 \end_layout
31746
31747 \begin_layout Standard
31748 The boxes can be combined in any order.
31749  E.
31750 \begin_inset space \thinspace{}
31751 \end_inset
31752
31753 g.
31754 \begin_inset space \space{}
31755 \end_inset
31756
31757 the command
31758 \begin_inset Newline newline
31759 \end_inset
31760
31761
31762 \series bold
31763
31764 \backslash
31765 rotatebox[origin=c]{-45}{
31766 \backslash
31767 resizebox{2cm}{!}{
31768 \backslash
31769 reflectbox{Hello}}}
31770 \begin_inset Newline newline
31771 \end_inset
31772
31773
31774 \series default
31775 produces:
31776 \end_layout
31777
31778 \begin_layout Standard
31779 \align center
31780 \begin_inset ERT
31781 status collapsed
31782
31783 \begin_layout Plain Layout
31784
31785
31786 \backslash
31787 rotatebox[origin=c]{-45}{
31788 \backslash
31789 resizebox{2cm}{!}{
31790 \backslash
31791 reflectbox{
31792 \end_layout
31793
31794 \end_inset
31795
31796 Hello
31797 \begin_inset ERT
31798 status collapsed
31799
31800 \begin_layout Plain Layout
31801
31802 }}}
31803 \end_layout
31804
31805 \end_inset
31806
31807
31808 \end_layout
31809
31810 \begin_layout Standard
31811 \noindent
31812 Images, tables, and inline formulas are allowed as box content:
31813 \end_layout
31814
31815 \begin_layout Standard
31816 \align center
31817 \begin_inset ERT
31818 status collapsed
31819
31820 \begin_layout Plain Layout
31821
31822
31823 \backslash
31824 rotatebox[origin=c]{-30}{
31825 \backslash
31826 resizebox{2cm}{!}{
31827 \backslash
31828 reflectbox{
31829 \end_layout
31830
31831 \end_inset
31832
31833
31834 \begin_inset Graphics
31835         filename clipart/platypus.eps
31836         lyxscale 50
31837         width 25col%
31838
31839 \end_inset
31840
31841
31842 \begin_inset ERT
31843 status collapsed
31844
31845 \begin_layout Plain Layout
31846
31847 }}}
31848 \end_layout
31849
31850 \end_inset
31851
31852
31853 \begin_inset ERT
31854 status collapsed
31855
31856 \begin_layout Plain Layout
31857
31858
31859 \backslash
31860 rotatebox[origin=c]{-45}{
31861 \backslash
31862 resizebox{2cm}{!}{
31863 \backslash
31864 reflectbox{
31865 \end_layout
31866
31867 \end_inset
31868
31869
31870 \begin_inset Tabular
31871 <lyxtabular version="3" rows="2" columns="2">
31872 <features tabularvalignment="middle">
31873 <column alignment="center" valignment="top" width="0">
31874 <column alignment="center" valignment="top" width="0">
31875 <row>
31876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31877 \begin_inset Text
31878
31879 \begin_layout Plain Layout
31880 q
31881 \end_layout
31882
31883 \end_inset
31884 </cell>
31885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31886 \begin_inset Text
31887
31888 \begin_layout Plain Layout
31889 w
31890 \end_layout
31891
31892 \end_inset
31893 </cell>
31894 </row>
31895 <row>
31896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31897 \begin_inset Text
31898
31899 \begin_layout Plain Layout
31900 e
31901 \end_layout
31902
31903 \end_inset
31904 </cell>
31905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31906 \begin_inset Text
31907
31908 \begin_layout Plain Layout
31909 r
31910 \end_layout
31911
31912 \end_inset
31913 </cell>
31914 </row>
31915 </lyxtabular>
31916
31917 \end_inset
31918
31919
31920 \begin_inset ERT
31921 status collapsed
31922
31923 \begin_layout Plain Layout
31924
31925 }}}
31926 \end_layout
31927
31928 \end_inset
31929
31930
31931 \begin_inset ERT
31932 status collapsed
31933
31934 \begin_layout Plain Layout
31935
31936
31937 \backslash
31938 rotatebox[origin=c]{-45}{
31939 \backslash
31940 resizebox{2cm}{!}{
31941 \backslash
31942 reflectbox{
31943 \end_layout
31944
31945 \end_inset
31946
31947
31948 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31949 \end_inset
31950
31951
31952 \begin_inset ERT
31953 status collapsed
31954
31955 \begin_layout Plain Layout
31956
31957 }}}
31958 \end_layout
31959
31960 \end_inset
31961
31962
31963 \end_layout
31964
31965 \begin_layout Standard
31966 When the global formula style 
31967 \series bold
31968 fleqn
31969 \series default
31970  is used in the document
31971 \begin_inset Foot
31972 status collapsed
31973
31974 \begin_layout Plain Layout
31975 When 
31976 \begin_inset Quotes eld
31977 \end_inset
31978
31979 fleqn
31980 \begin_inset Quotes erd
31981 \end_inset
31982
31983  is added to the document class options.
31984 \end_layout
31985
31986 \end_inset
31987
31988 , display style formulas can also be scaled.
31989 \end_layout
31990
31991 \begin_layout Chapter
31992 External Document Parts
31993 \begin_inset Index idx
31994 status collapsed
31995
31996 \begin_layout Plain Layout
31997 External Document Parts
31998 \end_layout
31999
32000 \end_inset
32001
32002
32003 \end_layout
32004
32005 \begin_layout Standard
32006 With the menu 
32007 \family sans
32008 Insert\SpecialChar \menuseparator
32009 File
32010 \family default
32011  you can insert external material to your document.
32012  This can be:
32013 \end_layout
32014
32015 \begin_layout Description
32016 LyX
32017 \begin_inset space ~
32018 \end_inset
32019
32020 Document Another LyX document; its content is directly inserted to your
32021  document.
32022 \end_layout
32023
32024 \begin_layout Description
32025 Plain
32026 \begin_inset space ~
32027 \end_inset
32028
32029 Text A text document; each line is inserted in your document as a separate
32030  paragraph.
32031 \end_layout
32032
32033 \begin_layout Description
32034 Plain
32035 \begin_inset space ~
32036 \end_inset
32037
32038 Text,
32039 \begin_inset space ~
32040 \end_inset
32041
32042 Join
32043 \begin_inset space ~
32044 \end_inset
32045
32046 Lines A text document; text lines are inserted in your document continuously
32047  but an empty text line creates a new paragraph.
32048 \end_layout
32049
32050 \begin_layout Description
32051 External
32052 \begin_inset space ~
32053 \end_inset
32054
32055 Material Files in various formats.
32056 \end_layout
32057
32058 \begin_layout Description
32059 Child
32060 \begin_inset space ~
32061 \end_inset
32062
32063 Document LyX or LaTeX-documents.
32064 \end_layout
32065
32066 \begin_layout Section
32067 External Material
32068 \begin_inset Index idx
32069 status collapsed
32070
32071 \begin_layout Plain Layout
32072 External Document Parts ! External Material
32073 \end_layout
32074
32075 \end_inset
32076
32077
32078 \end_layout
32079
32080 \begin_layout Standard
32081 The external material feature allows you to insert files in to your document
32082  without converting them to a format that can be read by the document output
32083  format.
32084  LyX takes care of the necessary conversions.
32085  This is similar to images that can be inserted in various image formats
32086  in LyX documents.
32087  When you have enabled Instant Preview in LyX's preferences under 
32088 \family sans
32089 Look
32090 \begin_inset space ~
32091 \end_inset
32092
32093 and
32094 \begin_inset space ~
32095 \end_inset
32096
32097 feel\SpecialChar \menuseparator
32098 Graphics
32099 \family default
32100 , the external material types Dia and Xfig are directly shown in LyX.
32101 \end_layout
32102
32103 \begin_layout Standard
32104 External material can be inserted via the 
32105 \family sans
32106 External Material
32107 \family default
32108  dialog that is accessible with the menu 
32109 \family sans
32110 Insert\SpecialChar \menuseparator
32111 File\SpecialChar \menuseparator
32112 External
32113 \begin_inset space ~
32114 \end_inset
32115
32116 Material
32117 \family default
32118 .
32119  Currently the following file types (
32120 \family sans
32121 Templates
32122 \family default
32123 ) are allowed:
32124 \end_layout
32125
32126 \begin_layout Description
32127 ChessDiagram This template supports chess position diagrams made with the
32128  program 
32129 \series bold
32130
32131 \begin_inset CommandInset href
32132 LatexCommand href
32133 name "XBoard"
32134 target "http://en.wikipedia.org/wiki/XBoard"
32135
32136 \end_inset
32137
32138
32139 \series default
32140 .
32141 \end_layout
32142
32143 \begin_layout Description
32144 Date This inserts the date in the form 
32145 \emph on
32146 Day-Month-Year
32147 \emph default
32148 .
32149  This is a date inserted as external material: 
32150 \begin_inset External
32151         template Date
32152         filename .
32153
32154 \end_inset
32155
32156
32157 \begin_inset space ~
32158 \end_inset
32159
32160
32161 \begin_inset Note Note
32162 status open
32163
32164 \begin_layout Plain Layout
32165 Remove the protected space when bug 4398 is fixed!
32166 \end_layout
32167
32168 \end_inset
32169
32170
32171 \begin_inset Newline newline
32172 \end_inset
32173
32174 The date is not shown within LyX, only in the output.
32175  There are two other methods of inserting a date: Via menu 
32176 \family sans
32177 Insert\SpecialChar \menuseparator
32178 Date
32179 \family default
32180  and with the LaTeX command 
32181 \series bold
32182
32183 \backslash
32184 today
32185 \series default
32186  as TeX-Code.
32187  The different methods are compared in Table
32188 \begin_inset space ~
32189 \end_inset
32190
32191
32192 \begin_inset CommandInset ref
32193 LatexCommand ref
32194 reference "tab:Comparison-of-the"
32195
32196 \end_inset
32197
32198 .
32199 \end_layout
32200
32201 \begin_layout Description
32202 Dia This template supports diagrams created with the program 
32203 \series bold
32204
32205 \begin_inset CommandInset href
32206 LatexCommand href
32207 name "Dia"
32208 target "http://en.wikipedia.org/wiki/Dia_(software)"
32209
32210 \end_inset
32211
32212
32213 \series default
32214 .
32215 \end_layout
32216
32217 \begin_layout Description
32218 LilyPond This template is used for music notation typeset with the program
32219 \begin_inset Newline linebreak
32220 \end_inset
32221
32222
32223 \series bold
32224
32225 \begin_inset CommandInset href
32226 LatexCommand href
32227 name "LilyPond"
32228 target "http://en.wikipedia.org/wiki/LilyPond"
32229
32230 \end_inset
32231
32232
32233 \series default
32234 .
32235 \end_layout
32236
32237 \begin_layout Description
32238 PDFPages With this template you can insert PDF documents to your document.
32239  To insert certain or all pages of a PDF, use the 
32240 \emph on
32241 pages
32242 \emph default
32243  option in the 
32244 \family sans
32245 Option
32246 \family default
32247  field in the 
32248 \family sans
32249 LaTeX and LyX options
32250 \family default
32251  tab according to the template description in the dialog.
32252  When no 
32253 \emph on
32254 pages
32255 \emph default
32256  option is given, only the first page of the PDF will be inserted.
32257 \end_layout
32258
32259 \begin_layout Description
32260 RasterImage This can be used for bitmap images.
32261  Nearly all popular image formats are supported.
32262  The image can be treated in the 
32263 \family sans
32264 External material
32265 \family default
32266  dialog like the images that are usually included via the 
32267 \family sans
32268 Graphics
32269 \family default
32270  dialog as described in section
32271 \begin_inset space ~
32272 \end_inset
32273
32274
32275 \begin_inset CommandInset ref
32276 LatexCommand ref
32277 reference "sec:Graphics-Dialog"
32278
32279 \end_inset
32280
32281 .
32282  The difference is that only raster images are allowed; that means that
32283  PDF and EPS-images are not supported.
32284 \end_layout
32285
32286 \begin_layout Description
32287 XFig This template supports images created with the program 
32288 \series bold
32289
32290 \begin_inset CommandInset href
32291 LatexCommand href
32292 name "Xfig"
32293 target "http://en.wikipedia.org/wiki/Xfig"
32294
32295 \end_inset
32296
32297
32298 \series default
32299 .
32300 \end_layout
32301
32302 \begin_layout Standard
32303 \begin_inset Float table
32304 placement h
32305 wide false
32306 sideways false
32307 status open
32308
32309 \begin_layout Plain Layout
32310 \begin_inset Caption
32311
32312 \begin_layout Plain Layout
32313 \begin_inset CommandInset label
32314 LatexCommand label
32315 name "tab:Comparison-of-the"
32316
32317 \end_inset
32318
32319 Comparison of the date input methods.
32320 \end_layout
32321
32322 \end_inset
32323
32324
32325 \end_layout
32326
32327 \begin_layout Plain Layout
32328 \align center
32329 \begin_inset Tabular
32330 <lyxtabular version="3" rows="4" columns="4">
32331 <features tabularvalignment="middle">
32332 <column alignment="center" valignment="top" width="0">
32333 <column alignment="center" valignment="top" width="0">
32334 <column alignment="center" valignment="top" width="0">
32335 <column alignment="center" valignment="top" width="0">
32336 <row>
32337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32338 \begin_inset Text
32339
32340 \begin_layout Plain Layout
32341 Document format
32342 \end_layout
32343
32344 \end_inset
32345 </cell>
32346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32347 \begin_inset Text
32348
32349 \begin_layout Plain Layout
32350
32351 \family sans
32352 External Material\SpecialChar \menuseparator
32353 Date
32354 \end_layout
32355
32356 \end_inset
32357 </cell>
32358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32359 \begin_inset Text
32360
32361 \begin_layout Plain Layout
32362
32363 \family sans
32364 Insert\SpecialChar \menuseparator
32365 Date
32366 \end_layout
32367
32368 \end_inset
32369 </cell>
32370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32371 \begin_inset Text
32372
32373 \begin_layout Plain Layout
32374 command 
32375 \series bold
32376
32377 \backslash
32378 today
32379 \end_layout
32380
32381 \end_inset
32382 </cell>
32383 </row>
32384 <row>
32385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32386 \begin_inset Text
32387
32388 \begin_layout Plain Layout
32389 LyX
32390 \end_layout
32391
32392 \end_inset
32393 </cell>
32394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32395 \begin_inset Text
32396
32397 \begin_layout Plain Layout
32398 as inset box
32399 \end_layout
32400
32401 \end_inset
32402 </cell>
32403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32404 \begin_inset Text
32405
32406 \begin_layout Plain Layout
32407 as date
32408 \end_layout
32409
32410 \end_inset
32411 </cell>
32412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32413 \begin_inset Text
32414
32415 \begin_layout Plain Layout
32416 as TeX-Code inset box
32417 \end_layout
32418
32419 \end_inset
32420 </cell>
32421 </row>
32422 <row>
32423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32424 \begin_inset Text
32425
32426 \begin_layout Plain Layout
32427 LaTeX
32428 \end_layout
32429
32430 \end_inset
32431 </cell>
32432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32433 \begin_inset Text
32434
32435 \begin_layout Plain Layout
32436 as date
32437 \end_layout
32438
32439 \end_inset
32440 </cell>
32441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32442 \begin_inset Text
32443
32444 \begin_layout Plain Layout
32445 as date
32446 \end_layout
32447
32448 \end_inset
32449 </cell>
32450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32451 \begin_inset Text
32452
32453 \begin_layout Plain Layout
32454 as command
32455 \end_layout
32456
32457 \end_inset
32458 </cell>
32459 </row>
32460 <row>
32461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32462 \begin_inset Text
32463
32464 \begin_layout Plain Layout
32465 DVI, PDF, PS
32466 \end_layout
32467
32468 \end_inset
32469 </cell>
32470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32471 \begin_inset Text
32472
32473 \begin_layout Plain Layout
32474 as date
32475 \end_layout
32476
32477 \end_inset
32478 </cell>
32479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32480 \begin_inset Text
32481
32482 \begin_layout Plain Layout
32483 as date
32484 \end_layout
32485
32486 \end_inset
32487 </cell>
32488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32489 \begin_inset Text
32490
32491 \begin_layout Plain Layout
32492 as date
32493 \end_layout
32494
32495 \end_inset
32496 </cell>
32497 </row>
32498 </lyxtabular>
32499
32500 \end_inset
32501
32502
32503 \end_layout
32504
32505 \end_inset
32506
32507
32508 \end_layout
32509
32510 \begin_layout Standard
32511 When you use the option 
32512 \family sans
32513 Draft
32514 \family default
32515  in the 
32516 \family sans
32517 File
32518 \family default
32519  tab of the 
32520 \family sans
32521 External Material
32522 \family default
32523  dialog, only the path to the inserted file is shown in the output.
32524 \begin_inset Newline newline
32525 \end_inset
32526
32527 External material is displayed in LyX either as a box like this: 
32528 \begin_inset Graphics
32529         filename clipart/ExternalMaterialQt4.png
32530         scale 85
32531         scaleBeforeRotation
32532
32533 \end_inset
32534
32535  or as image, depending on the option 
32536 \family sans
32537 Show in LyX
32538 \family default
32539  in the 
32540 \family sans
32541 LaTeX and LyX options
32542 \family default
32543  tab of the dialog.
32544 \end_layout
32545
32546 \begin_layout Standard
32547 The 
32548 \family sans
32549 \emph on
32550 Customization
32551 \family default
32552 \emph default
32553  manual explains how you can define your own templates.
32554 \end_layout
32555
32556 \begin_layout Section
32557 Child Documents
32558 \begin_inset CommandInset label
32559 LatexCommand label
32560 name "sec:Child-Documents"
32561
32562 \end_inset
32563
32564
32565 \begin_inset Index idx
32566 status collapsed
32567
32568 \begin_layout Plain Layout
32569 External Document Parts ! Child Documents
32570 \end_layout
32571
32572 \end_inset
32573
32574
32575 \begin_inset Index idx
32576 status collapsed
32577
32578 \begin_layout Plain Layout
32579 Files ! Include
32580 \end_layout
32581
32582 \end_inset
32583
32584
32585 \end_layout
32586
32587 \begin_layout Standard
32588 Child documents are used if you have a long document consisting of several
32589  larger parts or sections.
32590  For maintenance it is often useful and sometimes even required to split
32591  the document into several files that can be revised separately.
32592  The different documents are then the so called 
32593 \begin_inset Quotes eld
32594 \end_inset
32595
32596 child documents
32597 \begin_inset Quotes erd
32598 \end_inset
32599
32600 , and a master document connects them to print the full document or parts
32601  of it.
32602  A child document inherits elements of its master, for example the LaTeX
32603  preamble, the bibliography, and labels for cross-references.
32604 \end_layout
32605
32606 \begin_layout Standard
32607 To be able to work on child documents without the need to open their master,
32608  specify in the child document the master in the menu
32609 \family sans
32610  Document\SpecialChar \menuseparator
32611 Settings\SpecialChar \menuseparator
32612 Document
32613 \begin_inset space ~
32614 \end_inset
32615
32616 Class
32617 \family default
32618 .
32619  This master document will then be used in the background by LyX when you
32620  edit the child document.
32621 \end_layout
32622
32623 \begin_layout Standard
32624 Included documents are displayed in LyX as a box like this: 
32625 \begin_inset Graphics
32626         filename clipart/ChildDocumentQt4.png
32627         scale 85
32628         scaleBeforeRotation
32629
32630 \end_inset
32631
32632  To include child documents in a master document use the menu 
32633 \family sans
32634 Insert\SpecialChar \menuseparator
32635 File\SpecialChar \menuseparator
32636 Child
32637 \begin_inset space ~
32638 \end_inset
32639
32640 Documents
32641 \family default
32642 .
32643  A dialog pops up where you can choose between four include methods:
32644 \end_layout
32645
32646 \begin_layout Description
32647 Include You can include LyX- and LaTeX-documents.
32648  When you press the 
32649 \family sans
32650 Load
32651 \family default
32652  button in the 
32653 \family sans
32654 Child Document
32655 \family default
32656  dialog, the included documents will be opened in LyX in a new file tab
32657  so that you can modify them.
32658 \begin_inset Newline newline
32659 \end_inset
32660
32661
32662 \end_layout
32663
32664 \begin_layout Standard
32665 Here is a child document inserted using 
32666 \family sans
32667 Include
32668 \family default
32669
32670 \begin_inset CommandInset include
32671 LatexCommand include
32672 filename "DummyDocument1.lyx"
32673
32674 \end_inset
32675
32676
32677 \end_layout
32678
32679 \begin_layout Standard
32680 The section numbering includes the sections of the included files in the
32681  order they are inserted in the master document.
32682  The included example document has for example a subsection that is numbered
32683  as a subsection of this section.
32684  Labels of included documents can be referenced: Subsection
32685 \begin_inset space ~
32686 \end_inset
32687
32688
32689 \begin_inset CommandInset ref
32690 LatexCommand ref
32691 reference "sub:External-Subsection-1"
32692
32693 \end_inset
32694
32695 .
32696 \end_layout
32697
32698 \begin_layout Standard
32699 The preamble of the child document is ignored; only the preamble of the
32700  master document is used.
32701  Branches in child documents will be ignored by the master document when
32702  the master document does not have a branch with the same name.
32703  Included documents are inserted starting on a new page and ending with
32704  a page break.
32705 \end_layout
32706
32707 \begin_layout Standard
32708 \begin_inset Note Greyedout
32709 status open
32710
32711 \begin_layout Plain Layout
32712
32713 \series bold
32714 Note:
32715 \series default
32716  If you have included a LyX- or LaTeX-file, you are warned when you export/view
32717  the document in case the child document uses another document class than
32718  the master document as this will lead to unexpected outputs.
32719 \end_layout
32720
32721 \end_inset
32722
32723
32724 \end_layout
32725
32726 \begin_layout Description
32727 Input This method is very similar to the Include method.
32728  The differences are:
32729 \end_layout
32730
32731 \begin_deeper
32732 \begin_layout Itemize
32733 Input files don't start with a new page and don't end with a page break.
32734 \end_layout
32735
32736 \begin_layout Itemize
32737 Input files can be previewed in LyX when 
32738 \family sans
32739 Instant
32740 \begin_inset space ~
32741 \end_inset
32742
32743 Preview
32744 \family default
32745  is enabled in LyX's preferences under 
32746 \family sans
32747 Look
32748 \begin_inset space ~
32749 \end_inset
32750
32751 and
32752 \begin_inset space ~
32753 \end_inset
32754
32755 feel\SpecialChar \menuseparator
32756 Graphics
32757 \family default
32758 .
32759 \end_layout
32760
32761 \begin_layout Itemize
32762 You cannot exclude Input files via the menu 
32763 \family sans
32764 Document\SpecialChar \menuseparator
32765 Settings\SpecialChar \menuseparator
32766 Child Documents
32767 \family default
32768 .
32769 \end_layout
32770
32771 \end_deeper
32772 \begin_layout Standard
32773 Here is a child document inserted using 
32774 \family sans
32775 Input
32776 \family default
32777
32778 \begin_inset CommandInset include
32779 LatexCommand input
32780 filename "DummyDocument2.lyx"
32781
32782 \end_inset
32783
32784
32785 \end_layout
32786
32787 \begin_layout Description
32788 Verbatim With this method any text file can be included.
32789  The file is shown in the output with its source code; no command used in
32790  the text is invoked.
32791  You can use the option 
32792 \family sans
32793 Mark spaces in output
32794 \family default
32795  that displays the character 
32796 \begin_inset Quotes eld
32797 \end_inset
32798
32799
32800 \begin_inset ERT
32801 status collapsed
32802
32803 \begin_layout Plain Layout
32804
32805
32806 \backslash
32807 textvisiblespace 
32808 \end_layout
32809
32810 \end_inset
32811
32812
32813 \begin_inset Quotes erd
32814 \end_inset
32815
32816  for every space character in the source code.
32817  The difference from the method via the menu 
32818 \family sans
32819 Insert\SpecialChar \menuseparator
32820 File\SpecialChar \menuseparator
32821 Plain
32822 \begin_inset space ~
32823 \end_inset
32824
32825 Text
32826 \family default
32827  is that the document content is not shown in LyX.
32828 \end_layout
32829
32830 \begin_layout Standard
32831 Here is a child document inserted as Verbatim: 
32832 \begin_inset CommandInset include
32833 LatexCommand verbatiminput
32834 filename "DummyTextDocument.txt"
32835
32836 \end_inset
32837
32838
32839 \begin_inset VSpace bigskip
32840 \end_inset
32841
32842  Here is a child document inserted as Verbatim using the 
32843 \family sans
32844 Mark spaces in output
32845 \family default
32846  option: 
32847 \begin_inset CommandInset include
32848 LatexCommand verbatiminput*
32849 filename "DummyTextDocument.txt"
32850
32851 \end_inset
32852
32853
32854 \end_layout
32855
32856 \begin_layout Standard
32857 \begin_inset VSpace bigskip
32858 \end_inset
32859
32860
32861 \end_layout
32862
32863 \begin_layout Standard
32864 \begin_inset Note Greyedout
32865 status open
32866
32867 \begin_layout Plain Layout
32868
32869 \series bold
32870 Note:
32871 \series default
32872  As you can see in the examples above, the text of the documents included
32873  as 
32874 \family sans
32875 verbatim
32876 \family default
32877  is not broken at the end of the document lines.
32878 \end_layout
32879
32880 \end_inset
32881
32882
32883 \end_layout
32884
32885 \begin_layout Description
32886 Listings This type is described in chapter
32887 \begin_inset space ~
32888 \end_inset
32889
32890
32891 \begin_inset CommandInset ref
32892 LatexCommand ref
32893 reference "cha:Program-Code-Listings"
32894
32895 \end_inset
32896
32897 .
32898 \end_layout
32899
32900 \begin_layout Standard
32901 \begin_inset Note Greyedout
32902 status open
32903
32904 \begin_layout Plain Layout
32905
32906 \series bold
32907 Note:
32908 \series default
32909  Including the same document twice in a document using different methods
32910  could cause LaTeX-problems.
32911 \end_layout
32912
32913 \end_inset
32914
32915
32916 \end_layout
32917
32918 \begin_layout Standard
32919 If you want to view/export only selected children of your master document,
32920  either because you want to save compiling time or because you want to distribut
32921 e single chapters of the book you are just writing, you can exclude children
32922  from the output.
32923  This is done via the menu 
32924 \family sans
32925 Document\SpecialChar \menuseparator
32926 Settings\SpecialChar \menuseparator
32927 Child Documents
32928 \family default
32929 .
32930  You can exclude\SpecialChar \slash{}
32931 include children by double-clicking on the 
32932 \family sans
32933 include to output
32934 \family default
32935  column of the respective child document in the list (note that this only
32936  works for documents embedded via 
32937 \begin_inset Quotes eld
32938 \end_inset
32939
32940 Include
32941 \begin_inset Quotes erd
32942 \end_inset
32943
32944 , not with 
32945 \begin_inset Quotes eld
32946 \end_inset
32947
32948 Input
32949 \begin_inset Quotes erd
32950 \end_inset
32951
32952 ).
32953  If the option 
32954 \family sans
32955 Maintain counters and references
32956 \family default
32957  is enabled, LyX will assure that all page numbers, references etc.
32958 \begin_inset space ~
32959 \end_inset
32960
32961 are correct as if the whole document was processed.
32962  This is useful if you want the selected sub-documents to look exactly as
32963  in the context of the whole document.
32964  However, LyX needs to process the whole document in the background for
32965  this feature.
32966  So if you want to save compile time and if counters and references do not
32967  need to be correct, disable this checkbox.
32968 \end_layout
32969
32970 \begin_layout Standard
32971 Alternatively, you can put each included file into a branch.
32972 \begin_inset Foot
32973 status collapsed
32974
32975 \begin_layout Plain Layout
32976 Branches are described in section 
32977 \emph on
32978 Branches
32979 \emph default
32980  of the LyX 
32981 \emph on
32982 Userguide
32983 \emph default
32984 .
32985 \end_layout
32986
32987 \end_inset
32988
32989  By enabling\SpecialChar \slash{}
32990 disabling branches you can decide which included files will
32991  appear in the output.
32992  This has the advantage that it also works with Input'ed sub-documents.
32993  However, counters and references will not be maintained with this approach.
32994 \end_layout
32995
32996 \begin_layout Chapter
32997 Program Code Listings
32998 \begin_inset CommandInset label
32999 LatexCommand label
33000 name "cha:Program-Code-Listings"
33001
33002 \end_inset
33003
33004
33005 \begin_inset Index idx
33006 status collapsed
33007
33008 \begin_layout Plain Layout
33009 Listings
33010 \end_layout
33011
33012 \end_inset
33013
33014
33015 \begin_inset Index idx
33016 status collapsed
33017
33018 \begin_layout Plain Layout
33019 Program Code
33020 \end_layout
33021
33022 \end_inset
33023
33024
33025 \begin_inset Index idx
33026 status collapsed
33027
33028 \begin_layout Plain Layout
33029 Floats ! Listings
33030 \end_layout
33031
33032 \end_inset
33033
33034
33035 \end_layout
33036
33037 \begin_layout Standard
33038 To include and typeset program code you can use the 
33039 \family sans
33040 Listings
33041 \family default
33042  inset that can be inserted via the menu 
33043 \family sans
33044 Insert\SpecialChar \menuseparator
33045 Program Listing
33046 \family default
33047 .
33048  The LaTeX-package 
33049 \series bold
33050 listings
33051 \series default
33052
33053 \begin_inset Index idx
33054 status collapsed
33055
33056 \begin_layout Plain Layout
33057 LaTeX-packages ! listings
33058 \end_layout
33059
33060 \end_inset
33061
33062  provides a powerful and flexible way to insert program source code into
33063  your document.
33064 \end_layout
33065
33066 \begin_layout Standard
33067 Right-clicking on a listings inset opens the context menu containing where
33068  you can set the listings format.
33069 \end_layout
33070
33071 \begin_layout Standard
33072 By default, a listing starts a new paragraph in the output.
33073  The placement option 
33074 \family sans
33075 Inline
33076 \begin_inset space ~
33077 \end_inset
33078
33079 listing
33080 \family default
33081  prints the listing inline like this: 
33082 \begin_inset listings
33083 lstparams "language={C++}"
33084 inline true
33085 status open
33086
33087 \begin_layout Plain Layout
33088
33089 int a=5;
33090 \end_layout
33091
33092 \end_inset
33093
33094
33095 \begin_inset Newline newline
33096 \end_inset
33097
33098 The option 
33099 \family sans
33100 Float
33101 \family default
33102  creates a listings float where you can specify the placement options 
33103 \begin_inset Quotes eld
33104 \end_inset
33105
33106
33107 \family sans
33108 h
33109 \family default
33110
33111 \begin_inset Quotes erd
33112 \end_inset
33113
33114
33115 \begin_inset Quotes eld
33116 \end_inset
33117
33118
33119 \family sans
33120 t
33121 \family default
33122
33123 \begin_inset Quotes erd
33124 \end_inset
33125
33126
33127 \begin_inset Quotes eld
33128 \end_inset
33129
33130
33131 \family sans
33132 b
33133 \family default
33134
33135 \begin_inset Quotes erd
33136 \end_inset
33137
33138 , and 
33139 \begin_inset Quotes eld
33140 \end_inset
33141
33142
33143 \family sans
33144 p
33145 \family default
33146
33147 \begin_inset Quotes erd
33148 \end_inset
33149
33150  corresponding to the float placement options described in section
33151 \begin_inset space ~
33152 \end_inset
33153
33154
33155 \begin_inset CommandInset ref
33156 LatexCommand ref
33157 reference "sec:Float-Placement"
33158
33159 \end_inset
33160
33161 .
33162  The placement options can be mixed and are inserted without any separation,
33163  e.
33164 \begin_inset space \thinspace{}
33165 \end_inset
33166
33167 g.
33168 \begin_inset space \space{}
33169 \end_inset
33170
33171
33172 \begin_inset Quotes eld
33173 \end_inset
33174
33175
33176 \family sans
33177 htbp
33178 \family default
33179
33180 \begin_inset Quotes erd
33181 \end_inset
33182
33183 .
33184  The option 
33185 \begin_inset Quotes eld
33186 \end_inset
33187
33188 h
33189 \begin_inset Quotes erd
33190 \end_inset
33191
33192  has sometimes no effect, but you don't need to use the 
33193 \family sans
33194 Float
33195 \family default
33196  option in this case as also non-float listings can have captions and be
33197  referenced.
33198 \end_layout
33199
33200 \begin_layout Standard
33201 You can add captions to listings with the menu 
33202 \family sans
33203 Insert\SpecialChar \menuseparator
33204 Caption
33205 \family default
33206 .
33207  Listings can be referenced like floats: Listing
33208 \begin_inset space ~
33209 \end_inset
33210
33211
33212 \begin_inset CommandInset ref
33213 LatexCommand ref
33214 reference "lst:Example-Listing"
33215
33216 \end_inset
33217
33218
33219 \end_layout
33220
33221 \begin_layout Standard
33222 \begin_inset listings
33223 lstparams "language=Python"
33224 inline false
33225 status open
33226
33227 \begin_layout Plain Layout
33228
33229 \begin_inset Caption
33230
33231 \begin_layout Plain Layout
33232 \begin_inset CommandInset label
33233 LatexCommand label
33234 name "lst:Example-Listing"
33235
33236 \end_inset
33237
33238 Example Listing float
33239 \end_layout
33240
33241 \end_inset
33242
33243 # Example listing float
33244 \end_layout
33245
33246 \begin_layout Plain Layout
33247
33248 def func(param):
33249 \end_layout
33250
33251 \begin_layout Plain Layout
33252
33253     'this is a python function'
33254 \end_layout
33255
33256 \begin_layout Plain Layout
33257
33258     pass
33259 \end_layout
33260
33261 \end_inset
33262
33263
33264 \end_layout
33265
33266 \begin_layout Standard
33267 When you have set a programming language in the listings dialog, the keywords
33268  of this language will be recognized and specially typeset in the output.
33269  In the example listings the Python keyword 
33270 \begin_inset Quotes eld
33271 \end_inset
33272
33273 def
33274 \begin_inset Quotes erd
33275 \end_inset
33276
33277  is recognized and printed bold in the output.
33278 \end_layout
33279
33280 \begin_layout Standard
33281 \begin_inset Note Greyedout
33282 status open
33283
33284 \begin_layout Plain Layout
33285
33286 \series bold
33287 Note:
33288 \series default
33289  If you don't get bold keywords when using typewriter fonts, your 
33290 \family typewriter
33291 typewriter
33292 \family default
33293  font probably doesn't provide a bold shape.
33294  In this case select a different one in the menu 
33295 \family sans
33296 Document\SpecialChar \menuseparator
33297 Settings\SpecialChar \menuseparator
33298 Fonts
33299 \family default
33300 .
33301  (The fonts 
33302 \emph on
33303 LuxiMono, BeraMono
33304 \emph default
33305  and 
33306 \emph on
33307 Courier
33308 \emph default
33309  provide bold shapes.)
33310 \end_layout
33311
33312 \end_inset
33313
33314
33315 \end_layout
33316
33317 \begin_layout Standard
33318 In section 
33319 \family sans
33320 Line
33321 \begin_inset space ~
33322 \end_inset
33323
33324 numbering
33325 \family default
33326  of the listings dialog you can specify the line numbering style.
33327  You can insert a number to specify which lines are numbered in the field
33328  
33329 \family sans
33330 Step
33331 \family default
33332 .
33333  When you insert e.
33334 \begin_inset space \thinspace{}
33335 \end_inset
33336
33337 g.
33338 \begin_inset space \space{}
33339 \end_inset
33340
33341
33342 \begin_inset Quotes eld
33343 \end_inset
33344
33345 3
33346 \begin_inset Quotes erd
33347 \end_inset
33348
33349 , only every 3rd line will be numbered.
33350 \end_layout
33351
33352 \begin_layout Standard
33353 You can furthermore specify a range of lines; only these will then appear
33354  in the output.
33355  The option 
33356 \family sans
33357 Extended character table
33358 \family default
33359  should be used when you use national characters like the German umlauts
33360  in the listing.
33361 \begin_inset Newline newline
33362 \end_inset
33363
33364 Here is an example listing with left line numbering, step 
33365 \begin_inset Quotes eld
33366 \end_inset
33367
33368 3
33369 \begin_inset Quotes erd
33370 \end_inset
33371
33372 , language 
33373 \begin_inset Quotes eld
33374 \end_inset
33375
33376 Python
33377 \begin_inset Quotes erd
33378 \end_inset
33379
33380 , options 
33381 \begin_inset Quotes eld
33382 \end_inset
33383
33384 Extended character table
33385 \begin_inset Quotes erd
33386 \end_inset
33387
33388  and 
33389 \begin_inset Quotes eld
33390 \end_inset
33391
33392 Space
33393 \begin_inset space ~
33394 \end_inset
33395
33396 as
33397 \begin_inset space ~
33398 \end_inset
33399
33400 symbol
33401 \begin_inset Quotes erd
33402 \end_inset
33403
33404 , range lines 3
33405 \begin_inset space \thinspace{}
33406 \end_inset
33407
33408 -
33409 \begin_inset space \thinspace{}
33410 \end_inset
33411
33412 8:
33413 \end_layout
33414
33415 \begin_layout Standard
33416 \begin_inset listings
33417 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
33418 inline false
33419 status open
33420
33421 \begin_layout Plain Layout
33422
33423 def func(param):
33424 \end_layout
33425
33426 \begin_layout Plain Layout
33427
33428     'this is a python function'
33429 \end_layout
33430
33431 \begin_layout Plain Layout
33432
33433     pass
33434 \end_layout
33435
33436 \begin_layout Plain Layout
33437
33438 def func(param):
33439 \end_layout
33440
33441 \begin_layout Plain Layout
33442
33443 'This is a German word: Tschüß'
33444 \end_layout
33445
33446 \begin_layout Plain Layout
33447
33448 pass
33449 \end_layout
33450
33451 \begin_layout Plain Layout
33452
33453 def func(param):
33454 \end_layout
33455
33456 \begin_layout Plain Layout
33457
33458 'this is a python function'
33459 \end_layout
33460
33461 \begin_layout Plain Layout
33462
33463 pass
33464 \end_layout
33465
33466 \end_inset
33467
33468
33469 \end_layout
33470
33471 \begin_layout Standard
33472 When you have tabulators in your listing, you can specify the number of
33473  characters that are spanned by a tabulator in the field 
33474 \family sans
33475 Tabulator
33476 \begin_inset space ~
33477 \end_inset
33478
33479 size
33480 \family default
33481 .
33482 \end_layout
33483
33484 \begin_layout Standard
33485 \begin_inset Note Greyedout
33486 status open
33487
33488 \begin_layout Plain Layout
33489
33490 \series bold
33491 Note:
33492 \series default
33493  Due to a bug in the 
33494 \series bold
33495 listings
33496 \series default
33497  package the line numbering is shifted by a line by every previous listing.
33498  That's the reason why the lines 2 and 5 are numbered in the above listing
33499  and not the lines 3 and 6.
33500 \end_layout
33501
33502 \end_inset
33503
33504
33505 \end_layout
33506
33507 \begin_layout Standard
33508 \begin_inset VSpace bigskip
33509 \end_inset
33510
33511
33512 \end_layout
33513
33514 \begin_layout Standard
33515 It is also possible to print lines from a file as listing.
33516  To do this, use the menu 
33517 \family sans
33518 Insert\SpecialChar \menuseparator
33519 File\SpecialChar \menuseparator
33520 Child Document
33521 \family default
33522  and choose the type 
33523 \family sans
33524 Listings
33525 \family default
33526 .
33527 \begin_inset Foot
33528 status collapsed
33529
33530 \begin_layout Plain Layout
33531 The other child document types are described in section
33532 \begin_inset space ~
33533 \end_inset
33534
33535
33536 \begin_inset CommandInset ref
33537 LatexCommand ref
33538 reference "sec:Child-Documents"
33539
33540 \end_inset
33541
33542 .
33543 \end_layout
33544
33545 \end_inset
33546
33547  In the child document dialog you can specify the listing parameters in
33548  a text box.
33549  To show a list of all available parameters, type in a question mark 
33550 \begin_inset Quotes eld
33551 \end_inset
33552
33553 ?
33554 \begin_inset Quotes erd
33555 \end_inset
33556
33557  in the text box.
33558 \end_layout
33559
33560 \begin_layout Standard
33561 To reference child document listings, write a label text into the corresponding
33562  field of the child document dialog.
33563  The label can then be referenced using the menu 
33564 \family sans
33565 Insert\SpecialChar \menuseparator
33566 Cross-Reference
33567 \family default
33568 .
33569 \end_layout
33570
33571 \begin_layout Standard
33572 Listing
33573 \begin_inset space ~
33574 \end_inset
33575
33576
33577 \begin_inset CommandInset ref
33578 LatexCommand ref
33579 reference "lst:file-listing"
33580
33581 \end_inset
33582
33583  is an example for a listing of a file; there the lines 10
33584 \begin_inset space \thinspace{}
33585 \end_inset
33586
33587 -
33588 \begin_inset space \thinspace{}
33589 \end_inset
33590
33591 15 of this LyX file are listed.
33592 \end_layout
33593
33594 \begin_layout Standard
33595 \begin_inset CommandInset include
33596 LatexCommand lstinputlisting
33597 filename "EmbeddedObjects.lyx"
33598 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
33599
33600 \end_inset
33601
33602
33603 \end_layout
33604
33605 \begin_layout Standard
33606 \begin_inset VSpace bigskip
33607 \end_inset
33608
33609
33610 \end_layout
33611
33612 \begin_layout Standard
33613 Inserting a formula into a listing can be done the following way:
33614 \end_layout
33615
33616 \begin_layout Enumerate
33617 Open the listings dialog and add
33618 \begin_inset Newline newline
33619 \end_inset
33620
33621
33622 \family sans
33623 mathescape=true
33624 \family default
33625
33626 \begin_inset Newline newline
33627 \end_inset
33628
33629 to the field of the 
33630 \family sans
33631 Advanced
33632 \family default
33633  tab.
33634 \end_layout
33635
33636 \begin_layout Enumerate
33637 Create a formula outside the listing
33638 \end_layout
33639
33640 \begin_layout Enumerate
33641 Copy the content of the formula (not the formula inset) to the clipboard
33642  (shortcut 
33643 \begin_inset Info
33644 type  "shortcut"
33645 arg   "copy"
33646 \end_inset
33647
33648 )
33649 \end_layout
33650
33651 \begin_layout Enumerate
33652 In the listing write 
33653 \begin_inset Quotes eld
33654 \end_inset
33655
33656
33657 \family sans
33658 $$
33659 \family default
33660
33661 \begin_inset Quotes erd
33662 \end_inset
33663
33664  and copy from the clipboard between the dollar-signs (shortcut 
33665 \begin_inset Info
33666 type  "shortcut"
33667 arg   "paste"
33668 \end_inset
33669
33670 )
33671 \end_layout
33672
33673 \begin_layout Standard
33674 \begin_inset listings
33675 lstparams "language=Python,mathescape=true"
33676 inline false
33677 status open
33678
33679 \begin_layout Plain Layout
33680
33681 \begin_inset Caption
33682
33683 \begin_layout Plain Layout
33684 Example Listing float containing a formula
33685 \end_layout
33686
33687 \end_inset
33688
33689 # Example listing float
33690 \end_layout
33691
33692 \begin_layout Plain Layout
33693
33694 def func(param):
33695 \end_layout
33696
33697 \begin_layout Plain Layout
33698
33699     # $
33700 \backslash
33701 prod_{n=1}^{
33702 \backslash
33703 infty}
33704 \backslash
33705 ,
33706 \backslash
33707 frac{1}{x^{2}}$
33708 \end_layout
33709
33710 \begin_layout Plain Layout
33711
33712     pass
33713 \end_layout
33714
33715 \end_inset
33716
33717
33718 \end_layout
33719
33720 \begin_layout Standard
33721 \begin_inset VSpace bigskip
33722 \end_inset
33723
33724
33725 \end_layout
33726
33727 \begin_layout Standard
33728 Global listings settings can be set in the 
33729 \family sans
33730 Document\SpecialChar \menuseparator
33731 Settings\SpecialChar \menuseparator
33732 Listings
33733 \family default
33734  dialog.
33735  To get there a list of available options, type in a question mark 
33736 \begin_inset Quotes eld
33737 \end_inset
33738
33739 ?
33740 \begin_inset Quotes erd
33741 \end_inset
33742
33743 .
33744 \end_layout
33745
33746 \begin_layout Standard
33747 For more information about the 
33748 \series bold
33749 listings
33750 \series default
33751  package, we refer to its documentation 
33752 \begin_inset CommandInset citation
33753 LatexCommand cite
33754 key "listings"
33755
33756 \end_inset
33757
33758 .
33759 \end_layout
33760
33761 \begin_layout Standard
33762 \begin_inset Newpage newpage
33763 \end_inset
33764
33765
33766 \end_layout
33767
33768 \begin_layout Chapter
33769 \start_of_appendix
33770 Units available in LyX
33771 \begin_inset Index idx
33772 status collapsed
33773
33774 \begin_layout Plain Layout
33775 Units
33776 \end_layout
33777
33778 \end_inset
33779
33780
33781 \begin_inset CommandInset label
33782 LatexCommand label
33783 name "cha:Units-available-in"
33784
33785 \end_inset
33786
33787
33788 \end_layout
33789
33790 \begin_layout Standard
33791 To understand the units described in this documentation, Table
33792 \begin_inset space ~
33793 \end_inset
33794
33795
33796 \begin_inset CommandInset ref
33797 LatexCommand ref
33798 reference "tab:Units"
33799
33800 \end_inset
33801
33802  explains all units available in LyX.
33803 \end_layout
33804
33805 \begin_layout Standard
33806 \begin_inset Float table
33807 placement h
33808 wide false
33809 sideways false
33810 status open
33811
33812 \begin_layout Plain Layout
33813 \begin_inset Caption
33814
33815 \begin_layout Plain Layout
33816 \begin_inset CommandInset label
33817 LatexCommand label
33818 name "tab:Units"
33819
33820 \end_inset
33821
33822 Units
33823 \end_layout
33824
33825 \end_inset
33826
33827
33828 \end_layout
33829
33830 \begin_layout Plain Layout
33831 \begin_inset VSpace medskip
33832 \end_inset
33833
33834
33835 \end_layout
33836
33837 \begin_layout Plain Layout
33838 \align center
33839 \begin_inset Tabular
33840 <lyxtabular version="3" rows="20" columns="2">
33841 <features tabularvalignment="middle">
33842 <column alignment="center" valignment="top" width="0">
33843 <column alignment="center" valignment="top" width="0">
33844 <row>
33845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33846 \begin_inset Text
33847
33848 \begin_layout Plain Layout
33849 unit
33850 \end_layout
33851
33852 \end_inset
33853 </cell>
33854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33855 \begin_inset Text
33856
33857 \begin_layout Plain Layout
33858 name/description
33859 \end_layout
33860
33861 \end_inset
33862 </cell>
33863 </row>
33864 <row>
33865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33866 \begin_inset Text
33867
33868 \begin_layout Plain Layout
33869 mm
33870 \end_layout
33871
33872 \end_inset
33873 </cell>
33874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33875 \begin_inset Text
33876
33877 \begin_layout Plain Layout
33878 millimeter
33879 \end_layout
33880
33881 \end_inset
33882 </cell>
33883 </row>
33884 <row>
33885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33886 \begin_inset Text
33887
33888 \begin_layout Plain Layout
33889 cm
33890 \end_layout
33891
33892 \end_inset
33893 </cell>
33894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33895 \begin_inset Text
33896
33897 \begin_layout Plain Layout
33898 centimeter
33899 \end_layout
33900
33901 \end_inset
33902 </cell>
33903 </row>
33904 <row>
33905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33906 \begin_inset Text
33907
33908 \begin_layout Plain Layout
33909 in
33910 \end_layout
33911
33912 \end_inset
33913 </cell>
33914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33915 \begin_inset Text
33916
33917 \begin_layout Plain Layout
33918 inch
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 pt
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 point (72.27
33939 \begin_inset space \thinspace{}
33940 \end_inset
33941
33942 pt = 1
33943 \begin_inset space \thinspace{}
33944 \end_inset
33945
33946 in)
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 pc
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 pica (1
33967 \begin_inset space \thinspace{}
33968 \end_inset
33969
33970 pc = 12
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 sp
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 scaled point (65536
33995 \begin_inset space \thinspace{}
33996 \end_inset
33997
33998 sp = 1
33999 \begin_inset space \thinspace{}
34000 \end_inset
34001
34002 pt)
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 bp
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 big point (72
34023 \begin_inset space \thinspace{}
34024 \end_inset
34025
34026 bp = 1
34027 \begin_inset space \thinspace{}
34028 \end_inset
34029
34030 in)
34031 \end_layout
34032
34033 \end_inset
34034 </cell>
34035 </row>
34036 <row>
34037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34038 \begin_inset Text
34039
34040 \begin_layout Plain Layout
34041 dd
34042 \end_layout
34043
34044 \end_inset
34045 </cell>
34046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34047 \begin_inset Text
34048
34049 \begin_layout Plain Layout
34050 didot (1
34051 \begin_inset space \thinspace{}
34052 \end_inset
34053
34054 dd 
34055 \begin_inset Formula $\approx$
34056 \end_inset
34057
34058  0.376
34059 \begin_inset space \thinspace{}
34060 \end_inset
34061
34062 mm)
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 cc
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 cicero (1
34083 \begin_inset space \thinspace{}
34084 \end_inset
34085
34086 cc = 12
34087 \begin_inset space \thinspace{}
34088 \end_inset
34089
34090 dd)
34091 \end_layout
34092
34093 \end_inset
34094 </cell>
34095 </row>
34096 <row>
34097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34098 \begin_inset Text
34099
34100 \begin_layout Plain Layout
34101 Scale%
34102 \end_layout
34103
34104 \end_inset
34105 </cell>
34106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34107 \begin_inset Text
34108
34109 \begin_layout Plain Layout
34110 % of original image width
34111 \end_layout
34112
34113 \end_inset
34114 </cell>
34115 </row>
34116 <row>
34117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34118 \begin_inset Text
34119
34120 \begin_layout Plain Layout
34121 text%
34122 \end_layout
34123
34124 \end_inset
34125 </cell>
34126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34127 \begin_inset Text
34128
34129 \begin_layout Plain Layout
34130 % of text width
34131 \end_layout
34132
34133 \end_inset
34134 </cell>
34135 </row>
34136 <row>
34137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34138 \begin_inset Text
34139
34140 \begin_layout Plain Layout
34141 col%
34142 \end_layout
34143
34144 \end_inset
34145 </cell>
34146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34147 \begin_inset Text
34148
34149 \begin_layout Plain Layout
34150 % of column width
34151 \end_layout
34152
34153 \end_inset
34154 </cell>
34155 </row>
34156 <row>
34157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34158 \begin_inset Text
34159
34160 \begin_layout Plain Layout
34161 page%
34162 \end_layout
34163
34164 \end_inset
34165 </cell>
34166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34167 \begin_inset Text
34168
34169 \begin_layout Plain Layout
34170 % of paper width
34171 \end_layout
34172
34173 \end_inset
34174 </cell>
34175 </row>
34176 <row>
34177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34178 \begin_inset Text
34179
34180 \begin_layout Plain Layout
34181 line%
34182 \end_layout
34183
34184 \end_inset
34185 </cell>
34186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34187 \begin_inset Text
34188
34189 \begin_layout Plain Layout
34190 % of line width
34191 \end_layout
34192
34193 \end_inset
34194 </cell>
34195 </row>
34196 <row>
34197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34198 \begin_inset Text
34199
34200 \begin_layout Plain Layout
34201 theight%
34202 \end_layout
34203
34204 \end_inset
34205 </cell>
34206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34207 \begin_inset Text
34208
34209 \begin_layout Plain Layout
34210 % of text height
34211 \end_layout
34212
34213 \end_inset
34214 </cell>
34215 </row>
34216 <row>
34217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34218 \begin_inset Text
34219
34220 \begin_layout Plain Layout
34221 pheight%
34222 \end_layout
34223
34224 \end_inset
34225 </cell>
34226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34227 \begin_inset Text
34228
34229 \begin_layout Plain Layout
34230 % of paper height
34231 \end_layout
34232
34233 \end_inset
34234 </cell>
34235 </row>
34236 <row>
34237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34238 \begin_inset Text
34239
34240 \begin_layout Plain Layout
34241 ex
34242 \end_layout
34243
34244 \end_inset
34245 </cell>
34246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34247 \begin_inset Text
34248
34249 \begin_layout Plain Layout
34250 height of letter 
34251 \emph on
34252 x
34253 \emph default
34254  in current font
34255 \end_layout
34256
34257 \end_inset
34258 </cell>
34259 </row>
34260 <row>
34261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34262 \begin_inset Text
34263
34264 \begin_layout Plain Layout
34265 em
34266 \end_layout
34267
34268 \end_inset
34269 </cell>
34270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34271 \begin_inset Text
34272
34273 \begin_layout Plain Layout
34274 width of letter 
34275 \emph on
34276 M
34277 \emph default
34278  in current font
34279 \end_layout
34280
34281 \end_inset
34282 </cell>
34283 </row>
34284 <row>
34285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34286 \begin_inset Text
34287
34288 \begin_layout Plain Layout
34289 mu
34290 \end_layout
34291
34292 \end_inset
34293 </cell>
34294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34295 \begin_inset Text
34296
34297 \begin_layout Plain Layout
34298 math unit (1
34299 \begin_inset space \thinspace{}
34300 \end_inset
34301
34302 mu = 1/18
34303 \begin_inset space \thinspace{}
34304 \end_inset
34305
34306 em)
34307 \end_layout
34308
34309 \end_inset
34310 </cell>
34311 </row>
34312 </lyxtabular>
34313
34314 \end_inset
34315
34316
34317 \end_layout
34318
34319 \end_inset
34320
34321
34322 \end_layout
34323
34324 \begin_layout Chapter
34325 Output File Formats with Graphics
34326 \begin_inset CommandInset label
34327 LatexCommand label
34328 name "cha:Output-File-Formats"
34329
34330 \end_inset
34331
34332
34333 \end_layout
34334
34335 \begin_layout Section
34336 DVI
34337 \begin_inset Index idx
34338 status collapsed
34339
34340 \begin_layout Plain Layout
34341 File Formats ! DVI
34342 \end_layout
34343
34344 \end_inset
34345
34346
34347 \begin_inset Index idx
34348 status collapsed
34349
34350 \begin_layout Plain Layout
34351 DVI|see
34352 \begin_inset ERT
34353 status collapsed
34354
34355 \begin_layout Plain Layout
34356
34357 {
34358 \end_layout
34359
34360 \end_inset
34361
34362 File Formats
34363 \begin_inset ERT
34364 status collapsed
34365
34366 \begin_layout Plain Layout
34367
34368 }
34369 \end_layout
34370
34371 \end_inset
34372
34373
34374 \end_layout
34375
34376 \end_inset
34377
34378
34379 \end_layout
34380
34381 \begin_layout Standard
34382 This file type has the extension 
34383 \begin_inset Quotes eld
34384 \end_inset
34385
34386
34387 \family typewriter
34388 .dvi
34389 \family default
34390
34391 \begin_inset Quotes erd
34392 \end_inset
34393
34394 .
34395  It is called 
34396 \begin_inset Quotes eld
34397 \end_inset
34398
34399 device-independent
34400 \begin_inset Quotes erd
34401 \end_inset
34402
34403  (DVI), because it is completely portable; you can move them from one machine
34404  to another without needing to do any sort of conversion.
34405  At the time when this file-format was developed, this was no matter of
34406  course.
34407  DVIs are used for quick previews and as pre-stage for other output formats,
34408  like PostScript.
34409 \end_layout
34410
34411 \begin_layout Standard
34412 \begin_inset Note Greyedout
34413 status open
34414
34415 \begin_layout Plain Layout
34416
34417 \series bold
34418 Note:
34419 \series default
34420  DVI-files do not contain images; they will only be a linked.
34421 \end_layout
34422
34423 \end_inset
34424
34425  So don't forget this, if you move your 
34426 \family typewriter
34427 .dvi
34428 \family default
34429  file to another computer.
34430  This property can also slow down your computer when you view the DVI, because
34431  the DVI-viewer has to convert the image in the background to make it visible
34432  when you scroll in the DVI.
34433  So it is recommended that you use PDF for files with many images.
34434 \end_layout
34435
34436 \begin_layout Standard
34437 You can export your document to DVI by using the menu 
34438 \family sans
34439 File\SpecialChar \menuseparator
34440 Export\SpecialChar \menuseparator
34441 DVI
34442 \family default
34443 .
34444  You can view your document as DVI via the 
34445 \family sans
34446 View
34447 \family default
34448  menu or by using the toolbar button 
34449 \begin_inset Graphics
34450         filename ../images/buffer-view_dvi.png
34451         scale 85
34452         scaleBeforeRotation
34453
34454 \end_inset
34455
34456 .
34457 \end_layout
34458
34459 \begin_layout Section
34460 PostScript
34461 \begin_inset CommandInset label
34462 LatexCommand label
34463 name "sec:PostScript"
34464
34465 \end_inset
34466
34467
34468 \begin_inset Index idx
34469 status collapsed
34470
34471 \begin_layout Plain Layout
34472 File Formats ! PostScript
34473 \end_layout
34474
34475 \end_inset
34476
34477
34478 \begin_inset Index idx
34479 status collapsed
34480
34481 \begin_layout Plain Layout
34482 PostScript|see
34483 \begin_inset ERT
34484 status collapsed
34485
34486 \begin_layout Plain Layout
34487
34488 {
34489 \end_layout
34490
34491 \end_inset
34492
34493 File Formats
34494 \begin_inset ERT
34495 status collapsed
34496
34497 \begin_layout Plain Layout
34498
34499 }
34500 \end_layout
34501
34502 \end_inset
34503
34504
34505 \end_layout
34506
34507 \end_inset
34508
34509
34510 \end_layout
34511
34512 \begin_layout Standard
34513 This file type has the extension 
34514 \begin_inset Quotes eld
34515 \end_inset
34516
34517
34518 \family typewriter
34519 .ps
34520 \family default
34521
34522 \begin_inset Quotes erd
34523 \end_inset
34524
34525 .
34526  PostScript was developed by the company 
34527 \family typewriter
34528 Adobe
34529 \family default
34530  as a printer language.
34531  The file therefore contains commands that the printer uses to print the
34532  file.
34533  PostScript can be seen as a 
34534 \begin_inset Quotes eld
34535 \end_inset
34536
34537 programming language
34538 \begin_inset Quotes erd
34539 \end_inset
34540
34541 ; you can calculate with it and draw diagrams and images
34542 \begin_inset Foot
34543 status collapsed
34544
34545 \begin_layout Plain Layout
34546 If you are interested to learn more about this, have a look at the LaTeX-package
34547  
34548 \series bold
34549 PSTricks
34550 \series default
34551  
34552 \begin_inset CommandInset citation
34553 LatexCommand cite
34554 key "pstricks"
34555
34556 \end_inset
34557
34558 .
34559 \end_layout
34560
34561 \end_inset
34562
34563 .
34564  Due to this ability, the files are often bigger than PDFs.
34565 \end_layout
34566
34567 \begin_layout Standard
34568 PostScript can only contain images in the format 
34569 \begin_inset Quotes eld
34570 \end_inset
34571
34572 Encapsulated PostScript
34573 \begin_inset Quotes erd
34574 \end_inset
34575
34576  (EPS, file extension 
34577 \begin_inset Quotes eld
34578 \end_inset
34579
34580
34581 \family typewriter
34582 .eps
34583 \family default
34584
34585 \begin_inset Quotes erd
34586 \end_inset
34587
34588 ).
34589  As LyX allows you to use any known image format in your document, it has
34590  to convert images in the background to EPS.
34591  If you have e.g.
34592 \begin_inset space ~
34593 \end_inset
34594
34595 50
34596 \begin_inset space ~
34597 \end_inset
34598
34599 images in your document, LyX has to do 50
34600 \begin_inset space ~
34601 \end_inset
34602
34603 conversions whenever you view or export your document.
34604  This will slow down your work flow with LyX drastically.
34605  So if you plan to use PostScript, you can insert your images directly as
34606  EPS to avoid this problem.
34607 \end_layout
34608
34609 \begin_layout Standard
34610 You can export your document to PostScript using the menu 
34611 \family sans
34612 File\SpecialChar \menuseparator
34613 Export\SpecialChar \menuseparator
34614 Postscript
34615 \family default
34616 .
34617  You can view your document as PostScript via the 
34618 \family sans
34619 View
34620 \family default
34621  menu or by using the toolbar button 
34622 \begin_inset Graphics
34623         filename ../images/buffer-view_ps.png
34624         scale 85
34625         scaleBeforeRotation
34626
34627 \end_inset
34628
34629 .
34630 \end_layout
34631
34632 \begin_layout Section
34633 PDF
34634 \begin_inset Index idx
34635 status collapsed
34636
34637 \begin_layout Plain Layout
34638 File Formats ! PDF
34639 \end_layout
34640
34641 \end_inset
34642
34643
34644 \begin_inset Index idx
34645 status collapsed
34646
34647 \begin_layout Plain Layout
34648 PDF
34649 \end_layout
34650
34651 \end_inset
34652
34653
34654 \end_layout
34655
34656 \begin_layout Standard
34657 This file type has the extension 
34658 \begin_inset Quotes eld
34659 \end_inset
34660
34661
34662 \family typewriter
34663 .pdf
34664 \family default
34665
34666 \begin_inset Quotes erd
34667 \end_inset
34668
34669 .
34670  The 
34671 \begin_inset Quotes eld
34672 \end_inset
34673
34674 Portable Document Format
34675 \begin_inset Quotes erd
34676 \end_inset
34677
34678  (PDF) was developed by 
34679 \family typewriter
34680 Adobe
34681 \family default
34682  as a derivative of PostScript.
34683  It is more compressed and it uses fewer commands than PostScript.
34684  As the name 
34685 \begin_inset Quotes eld
34686 \end_inset
34687
34688 portable
34689 \begin_inset Quotes erd
34690 \end_inset
34691
34692  implies, it can be processed at any computer system and the printed output
34693  looks exactly the same.
34694 \end_layout
34695
34696 \begin_layout Standard
34697 PDF can contain images in its own PDF format, in the format 
34698 \begin_inset Quotes eld
34699 \end_inset
34700
34701 Joint Photographic Experts Group
34702 \begin_inset Quotes erd
34703 \end_inset
34704
34705  (JPG, file extension 
34706 \begin_inset Quotes eld
34707 \end_inset
34708
34709
34710 \family typewriter
34711 .jpg
34712 \family default
34713
34714 \begin_inset Quotes erd
34715 \end_inset
34716
34717  or 
34718 \begin_inset Quotes eld
34719 \end_inset
34720
34721
34722 \family typewriter
34723 .jpeg
34724 \family default
34725
34726 \begin_inset Quotes erd
34727 \end_inset
34728
34729 ), and in the format 
34730 \begin_inset Quotes eld
34731 \end_inset
34732
34733 Portable Network Graphics
34734 \begin_inset Quotes erd
34735 \end_inset
34736
34737  (PNG, file extension 
34738 \begin_inset Quotes eld
34739 \end_inset
34740
34741
34742 \family typewriter
34743 .png
34744 \family default
34745
34746 \begin_inset Quotes erd
34747 \end_inset
34748
34749 ).
34750  Nevertheless you can use any other image format, because LyX converts them
34751  in the background to one of these formats.
34752  But as described in the section about PostScript, the image conversion
34753  will slow down your work flow.
34754  So it is recommended that you use images in one of the three mentioned
34755  formats.
34756 \end_layout
34757
34758 \begin_layout Standard
34759 You can export your document to PDF via the menu 
34760 \family sans
34761 File\SpecialChar \menuseparator
34762 Export
34763 \family default
34764  in three different ways:
34765 \end_layout
34766
34767 \begin_layout Description
34768 PDF
34769 \begin_inset space ~
34770 \end_inset
34771
34772 (ps2pdf) This uses the program 
34773 \family typewriter
34774 ps2pdf
34775 \family default
34776  that creates a PDF from a PostScript-version of your file.
34777  The PostScript-version is produced by the program 
34778 \family typewriter
34779 dvips
34780 \family default
34781  which uses a DVI-version as intermediate step.
34782  So this export variant consists of three conversions.
34783 \end_layout
34784
34785 \begin_layout Description
34786 PDF
34787 \begin_inset space ~
34788 \end_inset
34789
34790 (dvipdfm) This uses the program 
34791 \family typewriter
34792 dvipdfm
34793 \family default
34794  that converts your file in the background to DVI and in a second step to
34795  PDF.
34796 \end_layout
34797
34798 \begin_layout Description
34799 PDF
34800 \begin_inset space ~
34801 \end_inset
34802
34803 (pdflatex) This uses the program 
34804 \family typewriter
34805 pdftex
34806 \family default
34807  that converts your file directly to PDF.
34808 \end_layout
34809
34810 \begin_layout Standard
34811 It is recommended that you use 
34812 \family sans
34813 PDF
34814 \begin_inset space ~
34815 \end_inset
34816
34817 (pdflatex)
34818 \family default
34819  because 
34820 \family typewriter
34821 pdftex
34822 \family default
34823  supports all features of actual PDF-versions, is quick and works stable.
34824  The program 
34825 \family typewriter
34826 dvipdfm
34827 \family default
34828  is not under development and therefore a bit outdated.
34829 \end_layout
34830
34831 \begin_layout Standard
34832 You can view your document as PDF via the 
34833 \family sans
34834 View
34835 \family default
34836  menu or by using the toolbar button 
34837 \begin_inset Graphics
34838         filename ../images/buffer-view_pdf2.png
34839         scale 85
34840         scaleBeforeRotation
34841
34842 \end_inset
34843
34844  
34845 \family sans
34846 (
34847 \family default
34848 that uses 
34849 \family sans
34850 PDF
34851 \begin_inset space ~
34852 \end_inset
34853
34854 (pdflatex)
34855 \family default
34856 ).
34857 \end_layout
34858
34859 \begin_layout Chapter
34860 Explanation of Equation
34861 \begin_inset space ~
34862 \end_inset
34863
34864 (
34865 \begin_inset CommandInset ref
34866 LatexCommand ref
34867 reference "eq:Wgn"
34868
34869 \end_inset
34870
34871 )
34872 \begin_inset CommandInset label
34873 LatexCommand label
34874 name "cha:Explanation-of-Equation"
34875
34876 \end_inset
34877
34878
34879 \end_layout
34880
34881 \begin_layout Standard
34882 We can calculate the total width of 
34883 \emph on
34884 n
34885 \emph default
34886  table cells 
34887 \begin_inset Formula $W_{\mathrm{tot\, n}}$
34888 \end_inset
34889
34890  as follows:
34891 \end_layout
34892
34893 \begin_layout Standard
34894 \begin_inset Formula 
34895 \begin{equation}
34896 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
34897 \end{equation}
34898
34899 \end_inset
34900
34901 where 
34902 \begin_inset Formula $W_{g\, n}$
34903 \end_inset
34904
34905  is the given width of all cells, 
34906 \series bold
34907
34908 \backslash
34909 tabcolsep
34910 \series default
34911  is the LaTeX-length between the cell text and the cell border (its default
34912  value is 6
34913 \begin_inset space \thinspace{}
34914 \end_inset
34915
34916 pt).
34917  
34918 \series bold
34919
34920 \backslash
34921 arrayrulewidth
34922 \series default
34923  is the thickness of the cell border line, the default is 0.4
34924 \begin_inset space \thinspace{}
34925 \end_inset
34926
34927 pt.
34928 \end_layout
34929
34930 \begin_layout Standard
34931 Following equation
34932 \begin_inset space ~
34933 \end_inset
34934
34935
34936 \begin_inset CommandInset ref
34937 LatexCommand eqref
34938 reference "eq:Wtot_n"
34939
34940 \end_inset
34941
34942 , the total width of a multicolumn 
34943 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
34944 \end_inset
34945
34946  is
34947 \end_layout
34948
34949 \begin_layout Standard
34950 \begin_inset Formula 
34951 \begin{equation}
34952 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
34953 \end{equation}
34954
34955 \end_inset
34956
34957
34958 \end_layout
34959
34960 \begin_layout Standard
34961 By setting equation
34962 \begin_inset space ~
34963 \end_inset
34964
34965
34966 \begin_inset CommandInset ref
34967 LatexCommand eqref
34968 reference "eq:Wtot_n"
34969
34970 \end_inset
34971
34972  and 
34973 \begin_inset CommandInset ref
34974 LatexCommand eqref
34975 reference "eq:Wtot_mult"
34976
34977 \end_inset
34978
34979  equal we can calculate the needed given width 
34980 \begin_inset Formula $W_{g\, n}$
34981 \end_inset
34982
34983  when 
34984 \emph on
34985 n
34986 \emph default
34987  columns are spanned, so that each column has a total width of 
34988 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34989 \end_inset
34990
34991 :
34992 \end_layout
34993
34994 \begin_layout Standard
34995 \begin_inset Formula 
34996 \begin{equation}
34997 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
34998 \end{equation}
34999
35000 \end_inset
35001
35002
35003 \end_layout
35004
35005 \begin_layout Bibliography
35006 \labelwidthstring Bibliography
35007 \begin_inset CommandInset bibitem
35008 LatexCommand bibitem
35009 key "latexcompanion"
35010
35011 \end_inset
35012
35013 Frank Mittelbach and Michel Goossens: 
35014 \emph on
35015 The LaTeX Companion Second Edition.
35016
35017 \emph default
35018  Addison-Wesley, 2004
35019 \end_layout
35020
35021 \begin_layout Bibliography
35022 \labelwidthstring Bibliography
35023 \begin_inset CommandInset bibitem
35024 LatexCommand bibitem
35025 key "latexguide"
35026
35027 \end_inset
35028
35029 Helmut Kopka and Patrick W.
35030  Daly: 
35031 \emph on
35032 A Guide to LaTeX Fourth Edition.
35033
35034 \emph default
35035  Addison-Wesley, 2003
35036 \end_layout
35037
35038 \begin_layout Bibliography
35039 \labelwidthstring Bibliography
35040 \begin_inset CommandInset bibitem
35041 LatexCommand bibitem
35042 key "latexbook"
35043
35044 \end_inset
35045
35046 Leslie Lamport: 
35047 \emph on
35048 LaTeX: A Document Preparation System.
35049
35050 \emph default
35051  Addison-Wesley, second edition, 1994
35052 \end_layout
35053
35054 \begin_layout Bibliography
35055 \labelwidthstring Bibliography
35056 \begin_inset CommandInset bibitem
35057 LatexCommand bibitem
35058 key "booktabs"
35059
35060 \end_inset
35061
35062 Documentation of the LaTeX-package 
35063 \series bold
35064
35065 \begin_inset CommandInset href
35066 LatexCommand href
35067 name "booktabs"
35068 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
35069
35070 \end_inset
35071
35072
35073 \series default
35074
35075 \begin_inset Index idx
35076 status collapsed
35077
35078 \begin_layout Plain Layout
35079 LaTeX-packages ! booktabs
35080 \end_layout
35081
35082 \end_inset
35083
35084
35085 \end_layout
35086
35087 \begin_layout Bibliography
35088 \labelwidthstring Bibliography
35089 \begin_inset CommandInset bibitem
35090 LatexCommand bibitem
35091 key "caption"
35092
35093 \end_inset
35094
35095 Documentation of the LaTeX-package 
35096 \series bold
35097
35098 \begin_inset CommandInset href
35099 LatexCommand href
35100 name "caption"
35101 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
35102
35103 \end_inset
35104
35105
35106 \series default
35107
35108 \begin_inset Index idx
35109 status collapsed
35110
35111 \begin_layout Plain Layout
35112 LaTeX-packages ! caption
35113 \end_layout
35114
35115 \end_inset
35116
35117
35118 \end_layout
35119
35120 \begin_layout Bibliography
35121 \labelwidthstring Bibliography
35122 \begin_inset CommandInset bibitem
35123 LatexCommand bibitem
35124 key "endfloat"
35125
35126 \end_inset
35127
35128 Documentation of the LaTeX-package 
35129 \series bold
35130
35131 \begin_inset CommandInset href
35132 LatexCommand href
35133 name "endfloat"
35134 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
35135
35136 \end_inset
35137
35138
35139 \series default
35140
35141 \begin_inset Index idx
35142 status collapsed
35143
35144 \begin_layout Plain Layout
35145 LaTeX-packages ! endfloat
35146 \end_layout
35147
35148 \end_inset
35149
35150
35151 \end_layout
35152
35153 \begin_layout Bibliography
35154 \labelwidthstring Bibliography
35155 \begin_inset CommandInset bibitem
35156 LatexCommand bibitem
35157 key "wrapfig"
35158
35159 \end_inset
35160
35161 Documentation of the LaTeX-package 
35162 \series bold
35163
35164 \begin_inset CommandInset href
35165 LatexCommand href
35166 name "wrapfig"
35167 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
35168
35169 \end_inset
35170
35171
35172 \series default
35173
35174 \begin_inset Index idx
35175 status collapsed
35176
35177 \begin_layout Plain Layout
35178 LaTeX-packages ! wrapfig
35179 \begin_inset ERT
35180 status collapsed
35181
35182 \begin_layout Plain Layout
35183
35184
35185 \backslash
35186 vspace{4mm}
35187 \end_layout
35188
35189 \end_inset
35190
35191
35192 \end_layout
35193
35194 \end_inset
35195
35196
35197 \end_layout
35198
35199 \begin_layout Bibliography
35200 \labelwidthstring Bibliography
35201 \begin_inset CommandInset bibitem
35202 LatexCommand bibitem
35203 key "footmisc"
35204
35205 \end_inset
35206
35207 Documentation of the LaTeX-package 
35208 \series bold
35209
35210 \begin_inset CommandInset href
35211 LatexCommand href
35212 name "footmisc"
35213 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
35214
35215 \end_inset
35216
35217
35218 \series default
35219
35220 \begin_inset Index idx
35221 status collapsed
35222
35223 \begin_layout Plain Layout
35224 LaTeX-packages ! footmisc
35225 \end_layout
35226
35227 \end_inset
35228
35229
35230 \end_layout
35231
35232 \begin_layout Bibliography
35233 \labelwidthstring Bibliography
35234 \begin_inset CommandInset bibitem
35235 LatexCommand bibitem
35236 key "hypcap"
35237
35238 \end_inset
35239
35240 Documentation of the LaTeX-package 
35241 \series bold
35242
35243 \begin_inset CommandInset href
35244 LatexCommand href
35245 name "hypcap"
35246 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
35247
35248 \end_inset
35249
35250
35251 \series default
35252
35253 \begin_inset Index idx
35254 status collapsed
35255
35256 \begin_layout Plain Layout
35257 LaTeX-packages ! hyperref
35258 \end_layout
35259
35260 \end_inset
35261
35262
35263 \end_layout
35264
35265 \begin_layout Bibliography
35266 \labelwidthstring Bibliography
35267 \begin_inset CommandInset bibitem
35268 LatexCommand bibitem
35269 key "hyperref"
35270
35271 \end_inset
35272
35273 Documentation of the LaTeX-package 
35274 \series bold
35275
35276 \begin_inset CommandInset href
35277 LatexCommand href
35278 name "hyperref"
35279 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
35280
35281 \end_inset
35282
35283
35284 \series default
35285
35286 \begin_inset Index idx
35287 status collapsed
35288
35289 \begin_layout Plain Layout
35290 LaTeX-packages ! hyperref
35291 \end_layout
35292
35293 \end_inset
35294
35295
35296 \end_layout
35297
35298 \begin_layout Bibliography
35299 \labelwidthstring Bibliography
35300 \begin_inset CommandInset bibitem
35301 LatexCommand bibitem
35302 key "KOMA-Script"
35303
35304 \end_inset
35305
35306 Documentation of the LaTeX-package 
35307 \series bold
35308
35309 \begin_inset CommandInset href
35310 LatexCommand href
35311 name "KOMA-Script"
35312 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
35313
35314 \end_inset
35315
35316
35317 \series default
35318
35319 \begin_inset Index idx
35320 status collapsed
35321
35322 \begin_layout Plain Layout
35323 LaTeX-packages ! KOMA-Script
35324 \end_layout
35325
35326 \end_inset
35327
35328
35329 \end_layout
35330
35331 \begin_layout Bibliography
35332 \labelwidthstring Bibliography
35333 \begin_inset CommandInset bibitem
35334 LatexCommand bibitem
35335 key "listings"
35336
35337 \end_inset
35338
35339 Documentation of the LaTeX-package 
35340 \series bold
35341
35342 \begin_inset CommandInset href
35343 LatexCommand href
35344 name "listings"
35345 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
35346
35347 \end_inset
35348
35349
35350 \series default
35351
35352 \begin_inset Index idx
35353 status collapsed
35354
35355 \begin_layout Plain Layout
35356 LaTeX-packages ! listings
35357 \end_layout
35358
35359 \end_inset
35360
35361
35362 \end_layout
35363
35364 \begin_layout Bibliography
35365 \labelwidthstring Bibliography
35366 \begin_inset CommandInset bibitem
35367 LatexCommand bibitem
35368 key "marginnote"
35369
35370 \end_inset
35371
35372 Documentation of the LaTeX-package 
35373 \series bold
35374
35375 \begin_inset CommandInset href
35376 LatexCommand href
35377 name "marginnote"
35378 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
35379
35380 \end_inset
35381
35382
35383 \series default
35384
35385 \begin_inset Index idx
35386 status collapsed
35387
35388 \begin_layout Plain Layout
35389 LaTeX-packages ! marginnote
35390 \end_layout
35391
35392 \end_inset
35393
35394
35395 \end_layout
35396
35397 \begin_layout Bibliography
35398 \labelwidthstring Bibliography
35399 \begin_inset CommandInset bibitem
35400 LatexCommand bibitem
35401 key "pstricks"
35402
35403 \end_inset
35404
35405 Web page of the LaTeX-package 
35406 \series bold
35407
35408 \begin_inset CommandInset href
35409 LatexCommand href
35410 name "PSTricks"
35411 target "http://tug.org/PSTricks/"
35412
35413 \end_inset
35414
35415
35416 \series default
35417
35418 \begin_inset Index idx
35419 status collapsed
35420
35421 \begin_layout Plain Layout
35422 LaTeX-packages ! PSTricks
35423 \end_layout
35424
35425 \end_inset
35426
35427
35428 \end_layout
35429
35430 \begin_layout Bibliography
35431 \labelwidthstring Bibliography
35432 \begin_inset CommandInset bibitem
35433 LatexCommand bibitem
35434 key "sidecap"
35435
35436 \end_inset
35437
35438 Documentation of the LaTeX-package 
35439 \series bold
35440
35441 \begin_inset CommandInset href
35442 LatexCommand href
35443 name "sidecap"
35444 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
35445
35446 \end_inset
35447
35448
35449 \series default
35450
35451 \begin_inset Index idx
35452 status collapsed
35453
35454 \begin_layout Plain Layout
35455 LaTeX-packages ! sidecap
35456 \end_layout
35457
35458 \end_inset
35459
35460
35461 \end_layout
35462
35463 \begin_layout Bibliography
35464 \labelwidthstring Bibliography
35465 \begin_inset CommandInset bibitem
35466 LatexCommand bibitem
35467 key "prettyref"
35468
35469 \end_inset
35470
35471 Documentation of the LaTeX-package 
35472 \series bold
35473
35474 \begin_inset CommandInset href
35475 LatexCommand href
35476 name "prettyref"
35477 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
35478
35479 \end_inset
35480
35481
35482 \series default
35483
35484 \begin_inset Index idx
35485 status collapsed
35486
35487 \begin_layout Plain Layout
35488 LaTeX-packages ! prettyref
35489 \end_layout
35490
35491 \end_inset
35492
35493
35494 \end_layout
35495
35496 \begin_layout Bibliography
35497 \labelwidthstring Bibliography
35498 \begin_inset CommandInset bibitem
35499 LatexCommand bibitem
35500 key "refstyle"
35501
35502 \end_inset
35503
35504 Documentation of the LaTeX-package 
35505 \series bold
35506
35507 \begin_inset CommandInset href
35508 LatexCommand href
35509 name "refstyle"
35510 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
35511
35512 \end_inset
35513
35514
35515 \series default
35516
35517 \begin_inset Index idx
35518 status collapsed
35519
35520 \begin_layout Plain Layout
35521 LaTeX-packages ! refstyle
35522 \end_layout
35523
35524 \end_inset
35525
35526
35527 \end_layout
35528
35529 \begin_layout Bibliography
35530 \labelwidthstring Bibliography
35531 \begin_inset CommandInset bibitem
35532 LatexCommand bibitem
35533 key "NewInLyX20"
35534
35535 \end_inset
35536
35537
35538 \begin_inset CommandInset href
35539 LatexCommand href
35540 name "Wiki page"
35541 target "http://wiki.lyx.org/LyX/NewInLyX20"
35542
35543 \end_inset
35544
35545  about new features in 
35546 \family sans
35547 LyX 2.0
35548 \family default
35549 .
35550 \end_layout
35551
35552 \begin_layout Standard
35553 \begin_inset CommandInset index_print
35554 LatexCommand printindex
35555 type "idx"
35556
35557 \end_inset
35558
35559
35560 \end_layout
35561
35562 \end_body
35563 \end_document