]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
a899df8370fc94ef482659674260ef19374021d7
[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 \graphics default
169 \default_output_format default
170 \output_sync 0
171 \bibtex_command default
172 \index_command default
173 \paperfontsize 12
174 \spacing single
175 \use_hyperref true
176 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
177 \pdf_author "LyX Team, Uwe Stöhr"
178 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
179 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
180 \pdf_bookmarks true
181 \pdf_bookmarksnumbered true
182 \pdf_bookmarksopen true
183 \pdf_bookmarksopenlevel 1
184 \pdf_breaklinks false
185 \pdf_pdfborder false
186 \pdf_colorlinks true
187 \pdf_backref false
188 \pdf_pdfusetitle false
189 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
190 \papersize default
191 \use_geometry false
192 \use_amsmath 2
193 \use_esint 0
194 \use_mhchem 1
195 \use_mathdots 1
196 \cite_engine basic
197 \use_bibtopic false
198 \use_indices false
199 \paperorientation portrait
200 \suppress_date false
201 \use_refstyle 0
202 \notefontcolor #0000ff
203 \index Index
204 \shortcut idx
205 \color #008000
206 \end_index
207 \secnumdepth 3
208 \tocdepth 3
209 \paragraph_separation skip
210 \defskip medskip
211 \quotes_language english
212 \papercolumns 1
213 \papersides 2
214 \paperpagestyle default
215 \bullet 1 1 34 -1
216 \bullet 2 2 35 -1
217 \bullet 3 2 7 -1
218 \tracking_changes false
219 \output_changes false
220 \html_math_output 0
221 \html_css_as_file 0
222 \html_be_strict false
223 \end_header
224
225 \begin_body
226
227 \begin_layout Title
228 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
229  manual
230 \end_layout
231
232 \begin_layout Author
233 by the LyX Team
234 \begin_inset Foot
235 status collapsed
236
237 \begin_layout Plain Layout
238 \noindent
239 If you have comments or error corrections, please send them to the LyX Documenta
240 tion mailing list: 
241 \begin_inset CommandInset href
242 LatexCommand href
243 name "lyx-docs@lists.lyx.org"
244 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
245 type "mailto:"
246
247 \end_inset
248
249
250 \end_layout
251
252 \end_inset
253
254
255 \begin_inset Note Note
256 status collapsed
257
258 \begin_layout Plain Layout
259 author: Uwe Stöhr
260 \end_layout
261
262 \end_inset
263
264
265 \begin_inset Newline newline
266 \end_inset
267
268
269 \begin_inset Newline newline
270 \end_inset
271
272
273 \family sans
274 Version 2.0.x
275 \end_layout
276
277 \begin_layout Standard
278 \begin_inset CommandInset toc
279 LatexCommand tableofcontents
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout Standard
287 \begin_inset Note Note
288 status open
289
290 \begin_layout Plain Layout
291 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
292  
293 \series bold
294 arydshln
295 \series default
296
297 \series bold
298 colortbl
299 \series default
300
301 \series bold
302 marginnote
303 \series default
304 , and 
305 \series bold
306 sidecap
307 \series default
308  must be installed.
309  If they are not installed you can export the document anyway but the sections
310  where the packages are required won't appear in the output.
311 \end_layout
312
313 \begin_layout Plain Layout
314 The latest PDF-version of this document can be found here:
315 \begin_inset Newline newline
316 \end_inset
317
318
319 \series bold
320 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
321 \end_layout
322
323 \end_inset
324
325
326 \end_layout
327
328 \begin_layout Chapter
329 Figures
330 \begin_inset Index idx
331 status collapsed
332
333 \begin_layout Plain Layout
334 Figures
335 \end_layout
336
337 \end_inset
338
339
340 \begin_inset Index idx
341 status collapsed
342
343 \begin_layout Plain Layout
344 Graphics|see
345 \begin_inset ERT
346 status collapsed
347
348 \begin_layout Plain Layout
349
350 {
351 \end_layout
352
353 \end_inset
354
355 Figures
356 \begin_inset ERT
357 status collapsed
358
359 \begin_layout Plain Layout
360
361 }
362 \end_layout
363
364 \end_inset
365
366
367 \end_layout
368
369 \end_inset
370
371
372 \end_layout
373
374 \begin_layout Section
375 Graphics Dialog
376 \begin_inset Index idx
377 status collapsed
378
379 \begin_layout Plain Layout
380 Figures ! Graphics Dialog
381 \end_layout
382
383 \end_inset
384
385
386 \begin_inset CommandInset label
387 LatexCommand label
388 name "sec:Graphics-Dialog"
389
390 \end_inset
391
392
393 \end_layout
394
395 \begin_layout Standard
396 To insert an image into your document, place the cursor at the text position
397  you want and click on the toolbar icon 
398 \begin_inset Graphics
399         filename ../images/dialog-show-new-inset_graphics.png
400         scale 85
401         scaleBeforeRotation
402
403 \end_inset
404
405  or use the menu 
406 \family sans
407 Insert\SpecialChar \menuseparator
408 Graphics
409 \family default
410 .
411  Then a dialog will appear to choose the file to load.
412  The image will appear in the output exactly at the position where it is
413  in the text.
414 \end_layout
415
416 \begin_layout Standard
417 The graphics dialog can be called at any time by clicking on an image.
418  This dialog has three tabs:
419 \end_layout
420
421 \begin_layout Description
422
423 \family sans
424 Graphics
425 \family default
426  Here you can choose an image file and adjust its appearance in the output.
427  The available units for the image size are explained in appendix
428 \begin_inset space ~
429 \end_inset
430
431
432 \begin_inset CommandInset ref
433 LatexCommand ref
434 reference "cha:Units-available-in"
435
436 \end_inset
437
438 .
439 \begin_inset Newline newline
440 \end_inset
441
442
443 \begin_inset Index idx
444 status collapsed
445
446 \begin_layout Plain Layout
447 Figures ! rotated
448 \end_layout
449
450 \end_inset
451
452 You can rotate images counter-clockwise by setting a rotation angle and
453  a rotation origin.
454  The image will also be rotated inside LyX.
455 \begin_inset Newline newline
456 \end_inset
457
458
459 \begin_inset Index idx
460 status collapsed
461
462 \begin_layout Plain Layout
463 Figures ! scaled
464 \end_layout
465
466 \end_inset
467
468 Images can be scaled by using a percentage value or by setting the width
469  and height explicitly.
470  If you set only the width or only the height, the other size will be determined
471  automatically.
472  If you set both, then the image will be transformed to the given size,
473  possibly distorting it.
474  To prevent the image from distortion, use the option 
475 \family sans
476 Maintain aspect ratio
477 \family default
478 .
479  The image will then be scaled so that its width and height don't exceed
480  the specified dimensions.
481 \begin_inset Newline newline
482 \end_inset
483
484 Images can be opened in a program of your choice by right-clicking on it
485  and choosing the entry 
486 \family sans
487 Edit
488 \begin_inset space ~
489 \end_inset
490
491 externally
492 \family default
493  in the context menu.
494  The program can be set for every image format in the file format settings
495  in LyX's preferences.
496 \end_layout
497
498 \begin_layout Description
499
500 \family sans
501 Clipping
502 \family default
503  Alternatively to the usage of scaling units it is possible to set image
504  coordinates to adjust the height and width of the image in the output.
505  The coordinates can also be calculated automatically by pressing the button
506  
507 \family sans
508 Get
509 \begin_inset space ~
510 \end_inset
511
512 from
513 \begin_inset space ~
514 \end_inset
515
516 File
517 \family default
518 .
519  The option 
520 \family sans
521 Clip
522 \begin_inset space ~
523 \end_inset
524
525 to
526 \begin_inset space ~
527 \end_inset
528
529 bounding
530 \begin_inset space ~
531 \end_inset
532
533 box
534 \family default
535  will only print the image region within the given coordinates.
536  Normally you don't need to take care about image coordinates and can ignore
537  this tab.
538 \end_layout
539
540 \begin_layout Description
541
542 \family sans
543 LaTeX
544 \begin_inset space ~
545 \end_inset
546
547 and
548 \begin_inset space ~
549 \end_inset
550
551 LyX
552 \begin_inset space ~
553 \end_inset
554
555 options
556 \family default
557  In this tab you can modify the appearance of the image within LyX and LaTeX
558  experts can specify additional LaTeX options.
559 \begin_inset Newline newline
560 \end_inset
561
562 The option 
563 \family sans
564 Draft
565 \begin_inset space ~
566 \end_inset
567
568 mode
569 \family default
570  makes the image appear in the output only as a frame with the size of the
571  image.
572 \begin_inset Newline newline
573 \end_inset
574
575 The 
576 \family sans
577 Don't
578 \begin_inset space ~
579 \end_inset
580
581 unzip
582 \begin_inset space ~
583 \end_inset
584
585 on
586 \begin_inset space ~
587 \end_inset
588
589 export
590 \family default
591  option only affects zipped EPS-graphics, e.
592 \begin_inset space \thinspace{}
593 \end_inset
594
595 g.
596 \begin_inset space \space{}
597 \end_inset
598
599
600 \emph on
601 x.eps.gz
602 \emph default
603 .
604  When the option is used the images will not be unzipped on export, since
605  LaTeX can handle them as they are.
606 \begin_inset Newline newline
607 \end_inset
608
609 Zipped EPS-graphics are useful to save disk space when you choose PostScript
610  as output format, see appendix
611 \begin_inset space ~
612 \end_inset
613
614
615 \begin_inset CommandInset ref
616 LatexCommand ref
617 reference "sec:PostScript"
618
619 \end_inset
620
621 .
622  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
623  console:
624 \begin_inset Newline newline
625 \end_inset
626
627
628 \series bold
629 gzip x.eps
630 \series default
631
632 \begin_inset Newline newline
633 \end_inset
634
635
636 \series bold
637 zgrep %%Bounding x.eps.gz > x.eps.bb
638 \series default
639
640 \begin_inset Newline newline
641 \end_inset
642
643 The second command creates the bounding box file 
644 \begin_inset Quotes eld
645 \end_inset
646
647 x.eps.bb
648 \begin_inset Quotes erd
649 \end_inset
650
651  that is needed by LaTeX for zipped graphics.
652 \begin_inset Newline newline
653 \end_inset
654
655 The field 
656 \family sans
657 Initialize
658 \begin_inset space ~
659 \end_inset
660
661 Group
662 \begin_inset space ~
663 \end_inset
664
665 Name
666 \family default
667  allows you define or join an image settings group.
668 \begin_inset Index idx
669 status collapsed
670
671 \begin_layout Plain Layout
672 Figures ! Settings grouping
673 \end_layout
674
675 \end_inset
676
677  Images within such a group share their settings, so adjusting one image
678  of the group automatically also adjusts all other images of the group in
679  the same way.
680  So you can for example change the size for a bunch of images without the
681  need to manually change each of them.
682  Joining an existing group can also be done using the context menu of the
683  image by checking the name of the desired group.
684 \end_layout
685
686 \begin_layout Standard
687 \begin_inset VSpace bigskip
688 \end_inset
689
690
691 \end_layout
692
693 \begin_layout Standard
694 This is an example image in EPS format
695 \begin_inset Foot
696 status collapsed
697
698 \begin_layout Plain Layout
699 Image formats are explained in section
700 \begin_inset space ~
701 \end_inset
702
703
704 \begin_inset CommandInset ref
705 LatexCommand ref
706 reference "sec:Image-Formats"
707
708 \end_inset
709
710 .
711 \end_layout
712
713 \end_inset
714
715  within a separate, horizontally centered paragraph:
716 \end_layout
717
718 \begin_layout Standard
719 \align center
720 \begin_inset Graphics
721         filename clipart/mobius.eps
722         scale 70
723         scaleBeforeRotation
724         rotateOrigin center
725
726 \end_inset
727
728
729 \end_layout
730
731 \begin_layout Standard
732 This is the same image like the one above but in draft mode:
733 \end_layout
734
735 \begin_layout Standard
736 \align center
737 \begin_inset Graphics
738         filename clipart/mobius.eps
739         scale 70
740         draft
741         scaleBeforeRotation
742         rotateOrigin center
743
744 \end_inset
745
746
747 \end_layout
748
749 \begin_layout Standard
750 \begin_inset Newpage newpage
751 \end_inset
752
753
754 \end_layout
755
756 \begin_layout Section
757 Figure Floats
758 \begin_inset CommandInset label
759 LatexCommand label
760 name "sec:Figure-Floats"
761
762 \end_inset
763
764
765 \begin_inset Index idx
766 status collapsed
767
768 \begin_layout Plain Layout
769 Floats ! Figures
770 \end_layout
771
772 \end_inset
773
774
775 \begin_inset Index idx
776 status collapsed
777
778 \begin_layout Plain Layout
779 Figures ! Floats
780 \end_layout
781
782 \end_inset
783
784
785 \end_layout
786
787 \begin_layout Standard
788 For general explanations about floats, have a look at section
789 \begin_inset space ~
790 \end_inset
791
792
793 \begin_inset CommandInset ref
794 LatexCommand ref
795 reference "sec:FloatIntroduction"
796
797 \end_inset
798
799 .
800 \end_layout
801
802 \begin_layout Standard
803 The toolbar button 
804 \begin_inset Graphics
805         filename ../images/float-insert_figure.png
806         scale 85
807         scaleBeforeRotation
808
809 \end_inset
810
811  and the menu 
812 \family sans
813 Insert\SpecialChar \menuseparator
814 Float\SpecialChar \menuseparator
815 Figure
816 \family default
817  inserts a float with a caption that has the label 
818 \begin_inset Quotes eld
819 \end_inset
820
821 Figure
822 \begin_inset space ~
823 \end_inset
824
825 #:
826 \begin_inset Quotes erd
827 \end_inset
828
829  (# is the actual number).
830  You can insert the image above the caption, like in Figure
831 \begin_inset space ~
832 \end_inset
833
834
835 \begin_inset CommandInset ref
836 LatexCommand ref
837 reference "fig:kill-plat"
838
839 \end_inset
840
841  or below the caption, like in Figure
842 \begin_inset space ~
843 \end_inset
844
845
846 \begin_inset CommandInset ref
847 LatexCommand ref
848 reference "fig:escher"
849
850 \end_inset
851
852 .
853  More about caption placement is described in section
854 \begin_inset space ~
855 \end_inset
856
857
858 \begin_inset CommandInset ref
859 LatexCommand ref
860 reference "sec:Caption-Placement"
861
862 \end_inset
863
864 .
865 \end_layout
866
867 \begin_layout Standard
868 \begin_inset Float figure
869 wide false
870 sideways false
871 status open
872
873 \begin_layout Plain Layout
874 \align center
875 \begin_inset Graphics
876         filename clipart/platypus.eps
877         width 50col%
878         scaleBeforeRotation
879         rotateOrigin center
880
881 \end_inset
882
883
884 \end_layout
885
886 \begin_layout Plain Layout
887 \begin_inset Caption
888
889 \begin_layout Plain Layout
890 \begin_inset CommandInset label
891 LatexCommand label
892 name "fig:kill-plat"
893
894 \end_inset
895
896 A severely distorted platypus in a float.
897 \end_layout
898
899 \end_inset
900
901
902 \end_layout
903
904 \end_inset
905
906
907 \end_layout
908
909 \begin_layout Standard
910 \begin_inset Float figure
911 wide false
912 sideways false
913 status open
914
915 \begin_layout Plain Layout
916 \begin_inset Caption
917
918 \begin_layout Plain Layout
919 \begin_inset CommandInset label
920 LatexCommand label
921 name "fig:escher"
922
923 \end_inset
924
925 M.C.
926  Escher on acid.
927 \end_layout
928
929 \end_inset
930
931
932 \end_layout
933
934 \begin_layout Plain Layout
935 \align center
936 \begin_inset Graphics
937         filename clipart/escher-lsd.eps
938         scale 80
939         scaleBeforeRotation
940         rotateOrigin center
941
942 \end_inset
943
944
945 \end_layout
946
947 \end_inset
948
949
950 \end_layout
951
952 \begin_layout Standard
953 \begin_inset Index idx
954 status collapsed
955
956 \begin_layout Plain Layout
957 References ! to Figures
958 \end_layout
959
960 \end_inset
961
962 Figure
963 \begin_inset space ~
964 \end_inset
965
966
967 \begin_inset CommandInset ref
968 LatexCommand ref
969 reference "fig:kill-plat"
970
971 \end_inset
972
973  and 
974 \begin_inset CommandInset ref
975 LatexCommand ref
976 reference "fig:escher"
977
978 \end_inset
979
980  are examples of referenced figures.
981  Figures can be referenced in the text by referencing their label.
982  To do this insert a label in the caption using the menu 
983 \family sans
984 Insert\SpecialChar \menuseparator
985 Label
986 \family default
987  or the toolbar button 
988 \begin_inset Graphics
989         filename ../images/label-insert.png
990         scale 85
991         scaleBeforeRotation
992
993 \end_inset
994
995 .
996  You can now refer to the label using the menu 
997 \family sans
998 Insert\SpecialChar \menuseparator
999 Cross
1000 \begin_inset space ~
1001 \end_inset
1002
1003 reference
1004 \family default
1005  or the toolbar button 
1006 \begin_inset Graphics
1007         filename ../images/dialog-show-new-inset_ref.png
1008         scale 85
1009         scaleBeforeRotation
1010
1011 \end_inset
1012
1013 .
1014  It is important to use references to floats, rather than using vague references
1015  like 
1016 \begin_inset Quotes eld
1017 \end_inset
1018
1019 the figure above
1020 \begin_inset Quotes erd
1021 \end_inset
1022
1023 , because LaTeX will reposition the floats in the final document and it
1024  might not be 
1025 \begin_inset Quotes eld
1026 \end_inset
1027
1028 above
1029 \begin_inset Quotes erd
1030 \end_inset
1031
1032  at all.
1033 \begin_inset Newline newline
1034 \end_inset
1035
1036 Referencing is explained in detail in section
1037 \begin_inset space ~
1038 \end_inset
1039
1040
1041 \begin_inset CommandInset ref
1042 LatexCommand ref
1043 reference "sec:Referencing-Floats"
1044
1045 \end_inset
1046
1047 .
1048 \end_layout
1049
1050 \begin_layout Standard
1051 Normally only one image is inserted to a figure float, but sometimes you
1052  might want to use two images with separate subcaptions.
1053  This can be done by inserting image floats into existing image floats.
1054  Note that only the main caption of the float is added to the List of Figures.
1055  Figure
1056 \begin_inset space ~
1057 \end_inset
1058
1059
1060 \begin_inset CommandInset ref
1061 LatexCommand ref
1062 reference "fig:Two-distorted-images"
1063
1064 \end_inset
1065
1066  is an example of a figure float with two images set side by side.
1067  You can also set the images one below the other.
1068  Figure
1069 \begin_inset space ~
1070 \end_inset
1071
1072
1073 \begin_inset CommandInset ref
1074 LatexCommand ref
1075 reference "fig:Undefinable-structure"
1076
1077 \end_inset
1078
1079  and 
1080 \begin_inset CommandInset ref
1081 LatexCommand ref
1082 reference "fig:A-Platypus"
1083
1084 \end_inset
1085
1086  are the subfigures.
1087 \end_layout
1088
1089 \begin_layout Standard
1090 \begin_inset Float figure
1091 wide false
1092 sideways false
1093 status open
1094
1095 \begin_layout Plain Layout
1096 \begin_inset space \hfill{}
1097 \end_inset
1098
1099
1100 \begin_inset Float figure
1101 wide false
1102 sideways false
1103 status collapsed
1104
1105 \begin_layout Plain Layout
1106 \begin_inset Caption
1107
1108 \begin_layout Plain Layout
1109 \begin_inset CommandInset label
1110 LatexCommand label
1111 name "fig:Undefinable-structure"
1112
1113 \end_inset
1114
1115 Undefinable structure.
1116 \end_layout
1117
1118 \end_inset
1119
1120
1121 \end_layout
1122
1123 \begin_layout Plain Layout
1124 \begin_inset Graphics
1125         filename clipart/escher-lsd.eps
1126         width 45col%
1127         scaleBeforeRotation
1128         groupId distorted
1129
1130 \end_inset
1131
1132
1133 \end_layout
1134
1135 \end_inset
1136
1137
1138 \begin_inset space \hfill{}
1139 \end_inset
1140
1141
1142 \begin_inset Float figure
1143 wide false
1144 sideways false
1145 status collapsed
1146
1147 \begin_layout Plain Layout
1148 \begin_inset Caption
1149
1150 \begin_layout Plain Layout
1151 \begin_inset CommandInset label
1152 LatexCommand label
1153 name "fig:A-Platypus"
1154
1155 \end_inset
1156
1157 A Platypus.
1158 \end_layout
1159
1160 \end_inset
1161
1162
1163 \end_layout
1164
1165 \begin_layout Plain Layout
1166 \begin_inset Graphics
1167         filename clipart/platypus.eps
1168         width 45col%
1169         scaleBeforeRotation
1170         groupId distorted
1171
1172 \end_inset
1173
1174
1175 \end_layout
1176
1177 \end_inset
1178
1179
1180 \begin_inset space \hfill{}
1181 \end_inset
1182
1183
1184 \end_layout
1185
1186 \begin_layout Plain Layout
1187 \begin_inset Caption
1188
1189 \begin_layout Plain Layout
1190 \begin_inset CommandInset label
1191 LatexCommand label
1192 name "fig:Two-distorted-images"
1193
1194 \end_inset
1195
1196
1197 \begin_inset CommandInset label
1198 LatexCommand label
1199 name "fig2:Two-distorted-images-2"
1200
1201 \end_inset
1202
1203 Two distorted images.
1204  Both images are in the image settings group named 
1205 \begin_inset Quotes eld
1206 \end_inset
1207
1208 distorted
1209 \begin_inset Quotes erd
1210 \end_inset
1211
1212 .
1213 \end_layout
1214
1215 \end_inset
1216
1217
1218 \end_layout
1219
1220 \end_inset
1221
1222
1223 \end_layout
1224
1225 \begin_layout Standard
1226 \begin_inset Newpage newpage
1227 \end_inset
1228
1229
1230 \end_layout
1231
1232 \begin_layout Section
1233 Image Formats
1234 \begin_inset CommandInset label
1235 LatexCommand label
1236 name "sec:Image-Formats"
1237
1238 \end_inset
1239
1240
1241 \begin_inset Index idx
1242 status collapsed
1243
1244 \begin_layout Plain Layout
1245 Image Formats
1246 \end_layout
1247
1248 \end_inset
1249
1250
1251 \begin_inset Index idx
1252 status collapsed
1253
1254 \begin_layout Plain Layout
1255 Figures ! Image Formats
1256 \end_layout
1257
1258 \end_inset
1259
1260
1261 \end_layout
1262
1263 \begin_layout Standard
1264 You can insert images in any known file format.
1265  But as explained in appendix
1266 \begin_inset space ~
1267 \end_inset
1268
1269
1270 \begin_inset CommandInset ref
1271 LatexCommand ref
1272 reference "cha:Output-File-Formats"
1273
1274 \end_inset
1275
1276 , each output document format allows only a few image formats.
1277  LyX uses therefore the program 
1278 \family typewriter
1279 ImageMagick
1280 \family default
1281  in the background to convert the images to the right format.
1282  To increase your work flow by avoiding these conversions in the background,
1283  you can use only the image formats that can directly be embedded in the
1284  output file format.
1285  The output file formats are explained in appendix
1286 \begin_inset space ~
1287 \end_inset
1288
1289
1290 \begin_inset CommandInset ref
1291 LatexCommand ref
1292 reference "cha:Output-File-Formats"
1293
1294 \end_inset
1295
1296 .
1297 \end_layout
1298
1299 \begin_layout Standard
1300 Similar to fonts there are two types of image formats:
1301 \end_layout
1302
1303 \begin_layout Description
1304 Bitmap
1305 \begin_inset space ~
1306 \end_inset
1307
1308 images consist of pixel values, often in a compressed form.
1309  They are therefore not fully scalable and look pixelated in large zooms.
1310  Well-known bitmap image formats are 
1311 \begin_inset Quotes eld
1312 \end_inset
1313
1314 Graphics Interchange Format
1315 \begin_inset Quotes erd
1316 \end_inset
1317
1318  (GIF, file extension 
1319 \begin_inset Quotes eld
1320 \end_inset
1321
1322
1323 \family typewriter
1324 .gif
1325 \family default
1326
1327 \begin_inset Quotes erd
1328 \end_inset
1329
1330 )
1331 \begin_inset Index idx
1332 status collapsed
1333
1334 \begin_layout Plain Layout
1335 GIF|see
1336 \begin_inset ERT
1337 status collapsed
1338
1339 \begin_layout Plain Layout
1340
1341 {
1342 \end_layout
1343
1344 \end_inset
1345
1346 Image formats
1347 \begin_inset ERT
1348 status collapsed
1349
1350 \begin_layout Plain Layout
1351
1352 }
1353 \end_layout
1354
1355 \end_inset
1356
1357
1358 \end_layout
1359
1360 \end_inset
1361
1362
1363 \begin_inset Quotes eld
1364 \end_inset
1365
1366 Portable Network Graphics
1367 \begin_inset Quotes erd
1368 \end_inset
1369
1370  (PNG, file extension 
1371 \begin_inset Quotes eld
1372 \end_inset
1373
1374
1375 \family typewriter
1376 .png
1377 \family default
1378
1379 \begin_inset Quotes erd
1380 \end_inset
1381
1382 )
1383 \begin_inset Index idx
1384 status collapsed
1385
1386 \begin_layout Plain Layout
1387 PNG|see
1388 \begin_inset ERT
1389 status collapsed
1390
1391 \begin_layout Plain Layout
1392
1393 {
1394 \end_layout
1395
1396 \end_inset
1397
1398 Image formats
1399 \begin_inset ERT
1400 status collapsed
1401
1402 \begin_layout Plain Layout
1403
1404 }
1405 \end_layout
1406
1407 \end_inset
1408
1409
1410 \end_layout
1411
1412 \end_inset
1413
1414 , and 
1415 \begin_inset Quotes eld
1416 \end_inset
1417
1418 Joint Photographic Experts Group
1419 \begin_inset Quotes erd
1420 \end_inset
1421
1422  (JPG, file extension 
1423 \begin_inset Quotes eld
1424 \end_inset
1425
1426
1427 \family typewriter
1428 .jpg
1429 \family default
1430
1431 \begin_inset Quotes erd
1432 \end_inset
1433
1434  or 
1435 \begin_inset Quotes eld
1436 \end_inset
1437
1438
1439 \family typewriter
1440 .jpeg
1441 \family default
1442
1443 \begin_inset Quotes erd
1444 \end_inset
1445
1446 )
1447 \begin_inset Index idx
1448 status collapsed
1449
1450 \begin_layout Plain Layout
1451 JPG|see
1452 \begin_inset ERT
1453 status collapsed
1454
1455 \begin_layout Plain Layout
1456
1457 {
1458 \end_layout
1459
1460 \end_inset
1461
1462 Image formats
1463 \begin_inset ERT
1464 status collapsed
1465
1466 \begin_layout Plain Layout
1467
1468 }
1469 \end_layout
1470
1471 \end_inset
1472
1473
1474 \end_layout
1475
1476 \end_inset
1477
1478 .
1479 \end_layout
1480
1481 \begin_layout Description
1482 Vector
1483 \begin_inset space ~
1484 \end_inset
1485
1486 images consist of vectors and can therefore be scaled to any size without
1487  data loss.
1488  The scaling ability is necessary if you want to create presentations, because
1489  presentations are always scaled by the video projector.
1490  Scaling is also useful for online documents to let the user zoom into diagrams.
1491 \begin_inset Newline newline
1492 \end_inset
1493
1494 Well-known scalable image formats are 
1495 \begin_inset Quotes eld
1496 \end_inset
1497
1498 Scalable Vector Graphics
1499 \begin_inset Quotes erd
1500 \end_inset
1501
1502  (SVG, file extension 
1503 \begin_inset Quotes eld
1504 \end_inset
1505
1506
1507 \family typewriter
1508 .svg
1509 \family default
1510
1511 \begin_inset Quotes erd
1512 \end_inset
1513
1514 )
1515 \begin_inset Index idx
1516 status collapsed
1517
1518 \begin_layout Plain Layout
1519 SVG|see
1520 \begin_inset ERT
1521 status collapsed
1522
1523 \begin_layout Plain Layout
1524
1525 {
1526 \end_layout
1527
1528 \end_inset
1529
1530 Image formats
1531 \begin_inset ERT
1532 status collapsed
1533
1534 \begin_layout Plain Layout
1535
1536 }
1537 \end_layout
1538
1539 \end_inset
1540
1541
1542 \end_layout
1543
1544 \end_inset
1545
1546
1547 \begin_inset Quotes eld
1548 \end_inset
1549
1550 Encapsulated PostScript
1551 \begin_inset Quotes erd
1552 \end_inset
1553
1554  (EPS, file extension 
1555 \begin_inset Quotes eld
1556 \end_inset
1557
1558
1559 \family typewriter
1560 .eps
1561 \family default
1562
1563 \begin_inset Quotes erd
1564 \end_inset
1565
1566 )
1567 \begin_inset Index idx
1568 status collapsed
1569
1570 \begin_layout Plain Layout
1571 EPS|see
1572 \begin_inset ERT
1573 status collapsed
1574
1575 \begin_layout Plain Layout
1576
1577 {
1578 \end_layout
1579
1580 \end_inset
1581
1582 Image formats
1583 \begin_inset ERT
1584 status collapsed
1585
1586 \begin_layout Plain Layout
1587
1588 }
1589 \end_layout
1590
1591 \end_inset
1592
1593
1594 \end_layout
1595
1596 \end_inset
1597
1598
1599 \begin_inset Quotes eld
1600 \end_inset
1601
1602 Portable Document Format
1603 \begin_inset Quotes erd
1604 \end_inset
1605
1606  (PDF, file extension 
1607 \begin_inset Quotes eld
1608 \end_inset
1609
1610
1611 \family typewriter
1612 .pdf
1613 \family default
1614
1615 \begin_inset Quotes erd
1616 \end_inset
1617
1618 )
1619 \begin_inset Index idx
1620 status collapsed
1621
1622 \begin_layout Plain Layout
1623 PDF
1624 \end_layout
1625
1626 \end_inset
1627
1628 , and 
1629 \begin_inset Quotes eld
1630 \end_inset
1631
1632 Windows Metafile
1633 \begin_inset Quotes erd
1634 \end_inset
1635
1636  (WMF, file extension 
1637 \begin_inset Quotes eld
1638 \end_inset
1639
1640
1641 \family typewriter
1642 .wmf
1643 \family default
1644
1645 \begin_inset Quotes erd
1646 \end_inset
1647
1648 )
1649 \begin_inset Index idx
1650 status collapsed
1651
1652 \begin_layout Plain Layout
1653 SVG|see
1654 \begin_inset ERT
1655 status collapsed
1656
1657 \begin_layout Plain Layout
1658
1659 {
1660 \end_layout
1661
1662 \end_inset
1663
1664 Image formats
1665 \begin_inset ERT
1666 status collapsed
1667
1668 \begin_layout Plain Layout
1669
1670 }
1671 \end_layout
1672
1673 \end_inset
1674
1675
1676 \end_layout
1677
1678 \end_inset
1679
1680 .
1681  We wrote 
1682 \begin_inset Quotes eld
1683 \end_inset
1684
1685 can be
1686 \begin_inset Quotes erd
1687 \end_inset
1688
1689 , because you can convert any bitmap image to a PDF or EPS-image and the
1690  result will still be a bitmap image.
1691  In such cases only a header with the image properties is added to the original
1692  image
1693 \begin_inset Foot
1694 status collapsed
1695
1696 \begin_layout Plain Layout
1697 In the case of PDF, the original image is additionally compressed.
1698 \end_layout
1699
1700 \end_inset
1701
1702 .
1703  The PDF-files generated by 
1704 \family typewriter
1705 Adobe Photoshop
1706 \family default
1707  are for example bitmap images.
1708 \end_layout
1709
1710 \begin_layout Standard
1711 Normally it is not possible to convert a bitmap image into a scalable one,
1712  only vice versa.
1713  Only the image formats PDF and EPS can directly be embedded to PDF and
1714  PostScript output files, respectively.
1715  SVG and WMF-images are recalculated to bitmaps when the output file is
1716  generated because there is currently no adequate WMF/SVG
1717 \begin_inset Formula $\to$
1718 \end_inset
1719
1720 PDF/EPS converter available.
1721 \end_layout
1722
1723 \begin_layout Chapter
1724 Tables
1725 \begin_inset Index idx
1726 status collapsed
1727
1728 \begin_layout Plain Layout
1729 Table
1730 \end_layout
1731
1732 \end_inset
1733
1734
1735 \end_layout
1736
1737 \begin_layout Section
1738 Introduction
1739 \begin_inset Index idx
1740 status collapsed
1741
1742 \begin_layout Plain Layout
1743 Table ! Introduction
1744 \end_layout
1745
1746 \end_inset
1747
1748
1749 \end_layout
1750
1751 \begin_layout Standard
1752 You can insert a table using either the toolbar button 
1753 \begin_inset Graphics
1754         filename ../images/tabular-insert.png
1755         scale 85
1756         scaleBeforeRotation
1757
1758 \end_inset
1759
1760  or the menu 
1761 \family sans
1762 Insert\SpecialChar \menuseparator
1763 Table
1764 \family default
1765 .
1766  The toolbar button offers you a graphical selection: move the mouse to
1767  set the column/row number of the table that should be created and then
1768  press a mouse button.
1769  When you use the menu to create a table, a dialog will appear, asking you
1770  for the number of rows and columns.
1771 \begin_inset Newline newline
1772 \end_inset
1773
1774  The default table has lines around any cell and the first row appears separated
1775  from the rest of the table.
1776  This separation occurs due to a double line: The cells of the first row
1777  have a line below them and the cells of the second row have a line above
1778  them.
1779  Here is an example table:
1780 \end_layout
1781
1782 \begin_layout Standard
1783 \align center
1784 \begin_inset Tabular
1785 <lyxtabular version="3" rows="4" columns="4">
1786 <features tabularvalignment="middle">
1787 <column alignment="center" valignment="top" width="0">
1788 <column alignment="center" valignment="top" width="0">
1789 <column alignment="center" valignment="top" width="0">
1790 <column alignment="center" valignment="top" width="0">
1791 <row>
1792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1793 \begin_inset Text
1794
1795 \begin_layout Plain Layout
1796
1797 \end_layout
1798
1799 \end_inset
1800 </cell>
1801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1802 \begin_inset Text
1803
1804 \begin_layout Plain Layout
1805
1806 \family roman
1807 \series medium
1808 \shape up
1809 \size normal
1810 \emph off
1811 \bar no
1812 \noun off
1813 \color none
1814 1
1815 \end_layout
1816
1817 \end_inset
1818 </cell>
1819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1820 \begin_inset Text
1821
1822 \begin_layout Plain Layout
1823 2
1824 \end_layout
1825
1826 \end_inset
1827 </cell>
1828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1829 \begin_inset Text
1830
1831 \begin_layout Plain Layout
1832 3
1833 \end_layout
1834
1835 \end_inset
1836 </cell>
1837 </row>
1838 <row>
1839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1840 \begin_inset Text
1841
1842 \begin_layout Plain Layout
1843
1844 \family roman
1845 \series medium
1846 \shape up
1847 \size normal
1848 \emph off
1849 \bar no
1850 \noun off
1851 \color none
1852 A
1853 \end_layout
1854
1855 \end_inset
1856 </cell>
1857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1858 \begin_inset Text
1859
1860 \begin_layout Plain Layout
1861
1862 \end_layout
1863
1864 \end_inset
1865 </cell>
1866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1867 \begin_inset Text
1868
1869 \begin_layout Plain Layout
1870
1871 \end_layout
1872
1873 \end_inset
1874 </cell>
1875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1876 \begin_inset Text
1877
1878 \begin_layout Plain Layout
1879
1880 \end_layout
1881
1882 \end_inset
1883 </cell>
1884 </row>
1885 <row>
1886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1887 \begin_inset Text
1888
1889 \begin_layout Plain Layout
1890
1891 \family roman
1892 \series medium
1893 \shape up
1894 \size normal
1895 \emph off
1896 \bar no
1897 \noun off
1898 \color none
1899 B
1900 \end_layout
1901
1902 \end_inset
1903 </cell>
1904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1905 \begin_inset Text
1906
1907 \begin_layout Plain Layout
1908
1909 \end_layout
1910
1911 \end_inset
1912 </cell>
1913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1914 \begin_inset Text
1915
1916 \begin_layout Plain Layout
1917
1918 \end_layout
1919
1920 \end_inset
1921 </cell>
1922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1923 \begin_inset Text
1924
1925 \begin_layout Plain Layout
1926
1927 \end_layout
1928
1929 \end_inset
1930 </cell>
1931 </row>
1932 <row>
1933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1934 \begin_inset Text
1935
1936 \begin_layout Plain Layout
1937
1938 \family roman
1939 \series medium
1940 \shape up
1941 \size normal
1942 \emph off
1943 \bar no
1944 \noun off
1945 \color none
1946 C
1947 \end_layout
1948
1949 \end_inset
1950 </cell>
1951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1952 \begin_inset Text
1953
1954 \begin_layout Plain Layout
1955
1956 \end_layout
1957
1958 \end_inset
1959 </cell>
1960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1961 \begin_inset Text
1962
1963 \begin_layout Plain Layout
1964
1965 \end_layout
1966
1967 \end_inset
1968 </cell>
1969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1970 \begin_inset Text
1971
1972 \begin_layout Plain Layout
1973
1974 \end_layout
1975
1976 \end_inset
1977 </cell>
1978 </row>
1979 </lyxtabular>
1980
1981 \end_inset
1982
1983
1984 \end_layout
1985
1986 \begin_layout Section
1987 Table Dialog
1988 \begin_inset Index idx
1989 status collapsed
1990
1991 \begin_layout Plain Layout
1992 Table ! Dialog
1993 \end_layout
1994
1995 \end_inset
1996
1997
1998 \end_layout
1999
2000 \begin_layout Standard
2001 You can alter a table by clicking on it with the right mouse button, which
2002  brings up the table dialog.
2003  Here you can adjust the settings of that cell and row/column respectively
2004  where the cursor is currently placed.
2005  Most of the dialog options also work on selections.
2006  This means if you select more cells, columns or rows, the action is done
2007  for the whole selection.
2008  Note that there is a difference between selecting the 
2009 \emph on
2010 contents
2011 \emph default
2012  of the cell, and the cell itself.
2013 \begin_inset Newline newline
2014 \end_inset
2015
2016 With the dialog option 
2017 \family sans
2018 Immediate
2019 \begin_inset space ~
2020 \end_inset
2021
2022 Apply
2023 \family default
2024  every change you make in the dialog is directly applied.
2025  If you move the cursor to another table cell the dialog will then also
2026  be updated with the parameters of the new cell.
2027  If you change length values in the dialog you must press return to get
2028  the change applied.
2029 \begin_inset Newline newline
2030 \end_inset
2031
2032 You can alter tables with the following tabs of the table dialog:
2033 \end_layout
2034
2035 \begin_layout Description
2036
2037 \family sans
2038 Table
2039 \begin_inset space ~
2040 \end_inset
2041
2042 Settings
2043 \family default
2044  Here you can set the table width
2045 \begin_inset Index idx
2046 status collapsed
2047
2048 \begin_layout Plain Layout
2049 Table ! Width
2050 \end_layout
2051
2052 \end_inset
2053
2054 , and the horizontal alignment and the width of the current column.
2055  The alignment 
2056 \family sans
2057 At
2058 \begin_inset space ~
2059 \end_inset
2060
2061 Decimal
2062 \begin_inset space ~
2063 \end_inset
2064
2065 Separator
2066 \family default
2067  is described in section
2068 \begin_inset space ~
2069 \end_inset
2070
2071
2072 \begin_inset CommandInset ref
2073 LatexCommand ref
2074 reference "sub:Special-Cell-Alignment"
2075
2076 \end_inset
2077
2078 .
2079  When you have set a width you can also adjust the vertical alignment of
2080  the current row.
2081  A given width will allow the cell to have line breaks and multiple paragraphs
2082  of text, see section
2083 \begin_inset space ~
2084 \end_inset
2085
2086
2087 \begin_inset CommandInset ref
2088 LatexCommand ref
2089 reference "sub:Multiple-Lines-in"
2090
2091 \end_inset
2092
2093 .
2094  If you set no width, the column is as wide as the content of its widest
2095  cell.
2096 \begin_inset Newline newline
2097 \end_inset
2098
2099 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2100  cell, see section
2101 \begin_inset space ~
2102 \end_inset
2103
2104
2105 \begin_inset CommandInset ref
2106 LatexCommand ref
2107 reference "sub:Multicolumns"
2108
2109 \end_inset
2110
2111  or the cells of one column as multirow cell, see section
2112 \begin_inset space ~
2113 \end_inset
2114
2115
2116 \begin_inset CommandInset ref
2117 LatexCommand ref
2118 reference "sub:Multirows"
2119
2120 \end_inset
2121
2122 .
2123 \begin_inset Newline newline
2124 \end_inset
2125
2126 The rotate check boxes rotate the current cell, a selection, or the whole
2127  table counter-clockwise by 90°.
2128  The rotation is not shown within LyX, only in the output.
2129 \begin_inset Newline newline
2130 \end_inset
2131
2132
2133 \begin_inset Note Greyedout
2134 status open
2135
2136 \begin_layout Plain Layout
2137
2138 \series bold
2139 Note:
2140 \series default
2141  Not all DVI-viewers are able to display rotations.
2142 \end_layout
2143
2144 \end_inset
2145
2146
2147 \begin_inset Newline newline
2148 \end_inset
2149
2150 The table-wide vertical alignment is used for tables within text lines:
2151 \begin_inset Newline newline
2152 \end_inset
2153
2154 A line with tables with different alignments: 
2155 \begin_inset Tabular
2156 <lyxtabular version="3" rows="2" columns="2">
2157 <features tabularvalignment="top">
2158 <column alignment="center" valignment="top" width="0pt">
2159 <column alignment="center" valignment="top" width="0">
2160 <row>
2161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2162 \begin_inset Text
2163
2164 \begin_layout Plain Layout
2165
2166 \end_layout
2167
2168 \end_inset
2169 </cell>
2170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2171 \begin_inset Text
2172
2173 \begin_layout Plain Layout
2174
2175 \family roman
2176 \series medium
2177 \shape up
2178 \size normal
2179 \emph off
2180 \bar no
2181 \noun off
2182 \color none
2183 1
2184 \end_layout
2185
2186 \end_inset
2187 </cell>
2188 </row>
2189 <row>
2190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2191 \begin_inset Text
2192
2193 \begin_layout Plain Layout
2194
2195 \family roman
2196 \series medium
2197 \shape up
2198 \size normal
2199 \emph off
2200 \bar no
2201 \noun off
2202 \color none
2203 A
2204 \end_layout
2205
2206 \end_inset
2207 </cell>
2208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2209 \begin_inset Text
2210
2211 \begin_layout Plain Layout
2212
2213 \end_layout
2214
2215 \end_inset
2216 </cell>
2217 </row>
2218 </lyxtabular>
2219
2220 \end_inset
2221
2222  
2223 \begin_inset Tabular
2224 <lyxtabular version="3" rows="2" columns="2">
2225 <features tabularvalignment="middle">
2226 <column alignment="center" valignment="top" width="0">
2227 <column alignment="center" valignment="top" width="0">
2228 <row>
2229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2230 \begin_inset Text
2231
2232 \begin_layout Plain Layout
2233
2234 \end_layout
2235
2236 \end_inset
2237 </cell>
2238 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2239 \begin_inset Text
2240
2241 \begin_layout Plain Layout
2242
2243 \family roman
2244 \series medium
2245 \shape up
2246 \size normal
2247 \emph off
2248 \bar no
2249 \noun off
2250 \color none
2251 1
2252 \end_layout
2253
2254 \end_inset
2255 </cell>
2256 </row>
2257 <row>
2258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2259 \begin_inset Text
2260
2261 \begin_layout Plain Layout
2262
2263 \family roman
2264 \series medium
2265 \shape up
2266 \size normal
2267 \emph off
2268 \bar no
2269 \noun off
2270 \color none
2271 A
2272 \end_layout
2273
2274 \end_inset
2275 </cell>
2276 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2277 \begin_inset Text
2278
2279 \begin_layout Plain Layout
2280
2281 \end_layout
2282
2283 \end_inset
2284 </cell>
2285 </row>
2286 </lyxtabular>
2287
2288 \end_inset
2289
2290  
2291 \begin_inset Tabular
2292 <lyxtabular version="3" rows="2" columns="2">
2293 <features tabularvalignment="bottom">
2294 <column alignment="center" valignment="top" width="0pt">
2295 <column alignment="center" valignment="top" width="0">
2296 <row>
2297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2298 \begin_inset Text
2299
2300 \begin_layout Plain Layout
2301
2302 \end_layout
2303
2304 \end_inset
2305 </cell>
2306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2307 \begin_inset Text
2308
2309 \begin_layout Plain Layout
2310
2311 \family roman
2312 \series medium
2313 \shape up
2314 \size normal
2315 \emph off
2316 \bar no
2317 \noun off
2318 \color none
2319 1
2320 \end_layout
2321
2322 \end_inset
2323 </cell>
2324 </row>
2325 <row>
2326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2327 \begin_inset Text
2328
2329 \begin_layout Plain Layout
2330
2331 \family roman
2332 \series medium
2333 \shape up
2334 \size normal
2335 \emph off
2336 \bar no
2337 \noun off
2338 \color none
2339 A
2340 \end_layout
2341
2342 \end_inset
2343 </cell>
2344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2345 \begin_inset Text
2346
2347 \begin_layout Plain Layout
2348
2349 \end_layout
2350
2351 \end_inset
2352 </cell>
2353 </row>
2354 </lyxtabular>
2355
2356 \end_inset
2357
2358
2359 \begin_inset Newline newline
2360 \end_inset
2361
2362 It is also possible to enter a LaTeX-argument which is needed for special
2363  table formattings, see section
2364 \begin_inset space ~
2365 \end_inset
2366
2367
2368 \begin_inset CommandInset ref
2369 LatexCommand ref
2370 reference "sub:Multicolumn-Calculations"
2371
2372 \end_inset
2373
2374  and 
2375 \begin_inset CommandInset ref
2376 LatexCommand ref
2377 reference "sec:Colored-Tables"
2378
2379 \end_inset
2380
2381 .
2382 \end_layout
2383
2384 \begin_layout Description
2385
2386 \family sans
2387 Borders
2388 \family default
2389  In this tab you can add and delete border lines for the current row/column.
2390 \begin_inset Newline newline
2391 \end_inset
2392
2393 Using the style option 
2394 \family sans
2395 Formal
2396 \family default
2397  will convert the table to a formal table as described in section
2398 \begin_inset space ~
2399 \end_inset
2400
2401
2402 \begin_inset CommandInset ref
2403 LatexCommand ref
2404 reference "sec:Formal-Tables"
2405
2406 \end_inset
2407
2408 .
2409 \begin_inset Newline newline
2410 \end_inset
2411
2412 You can also add here space to table rows as described in section
2413 \begin_inset space ~
2414 \end_inset
2415
2416
2417 \begin_inset CommandInset ref
2418 LatexCommand ref
2419 reference "sub:Row-Spacing"
2420
2421 \end_inset
2422
2423 .
2424 \end_layout
2425
2426 \begin_layout Description
2427
2428 \family sans
2429 Longtable
2430 \family default
2431  This tab is to make a table a so called 
2432 \begin_inset Quotes eld
2433 \end_inset
2434
2435
2436 \emph on
2437 longtable
2438 \emph default
2439
2440 \begin_inset Quotes erd
2441 \end_inset
2442
2443  that can run over several pages.
2444  Sections
2445 \begin_inset space ~
2446 \end_inset
2447
2448
2449 \begin_inset CommandInset ref
2450 LatexCommand ref
2451 reference "sec:Longtables"
2452
2453 \end_inset
2454
2455  and 
2456 \begin_inset CommandInset ref
2457 LatexCommand ref
2458 reference "sec:Special-Longtable-Issues"
2459
2460 \end_inset
2461
2462  describe the longtable features in detail.
2463 \end_layout
2464
2465 \begin_layout Section
2466 Table Toolbar
2467 \begin_inset Index idx
2468 status collapsed
2469
2470 \begin_layout Plain Layout
2471 Table ! Toolbar
2472 \end_layout
2473
2474 \end_inset
2475
2476
2477 \end_layout
2478
2479 \begin_layout Standard
2480 The table toolbar is an alternative to the table dialog to be able to alter
2481  tables faster.
2482  It should normally appear at the bottom of LyX's main window when the cursor
2483  is inside a table.
2484  You can alternatively switch it on to appear always, by right-clicking
2485  in LyX's main menu bar.
2486 \end_layout
2487
2488 \begin_layout Standard
2489 The toolbar has the following icons:
2490 \end_layout
2491
2492 \begin_layout Labeling
2493 \labelwidthstring 00.00.0000
2494 \begin_inset Graphics
2495         filename ../images/tabular-feature_append-row.png
2496         scaleBeforeRotation
2497
2498 \end_inset
2499
2500  adds a row below the current cell or selection
2501 \end_layout
2502
2503 \begin_layout Labeling
2504 \labelwidthstring 00.00.0000
2505 \begin_inset Graphics
2506         filename ../images/tabular-feature_append-column.png
2507         scaleBeforeRotation
2508
2509 \end_inset
2510
2511  adds a column right beside the current cell or selection
2512 \end_layout
2513
2514 \begin_layout Labeling
2515 \labelwidthstring 00.00.0000
2516 \begin_inset Graphics
2517         filename ../images/tabular-feature_delete-row.png
2518         scaleBeforeRotation
2519
2520 \end_inset
2521
2522  deletes the current row or selection
2523 \end_layout
2524
2525 \begin_layout Labeling
2526 \labelwidthstring 00.00.0000
2527 \begin_inset Graphics
2528         filename ../images/tabular-feature_delete-column.png
2529         scaleBeforeRotation
2530
2531 \end_inset
2532
2533  deletes the current column or selection
2534 \end_layout
2535
2536 \begin_layout Labeling
2537 \labelwidthstring 00.00.0000
2538 \begin_inset Graphics
2539         filename ../images/tabular-feature_toggle-line-top.png
2540         scaleBeforeRotation
2541
2542 \end_inset
2543
2544  adds a line at the top of the current cell / row or of a selection
2545 \end_layout
2546
2547 \begin_layout Labeling
2548 \labelwidthstring 00.00.0000
2549 \begin_inset Graphics
2550         filename ../images/tabular-feature_toggle-line-bottom.png
2551         scaleBeforeRotation
2552
2553 \end_inset
2554
2555  adds a line at the bottom of the current cell / row or of a selection
2556 \end_layout
2557
2558 \begin_layout Labeling
2559 \labelwidthstring 00.00.0000
2560 \begin_inset Graphics
2561         filename ../images/tabular-feature_toggle-line-left.png
2562         scaleBeforeRotation
2563
2564 \end_inset
2565
2566  adds a line at the left side of the current cell / row or of a selection
2567 \end_layout
2568
2569 \begin_layout Labeling
2570 \labelwidthstring 00.00.0000
2571 \begin_inset Graphics
2572         filename ../images/tabular-feature_toggle-line-right.png
2573         scaleBeforeRotation
2574
2575 \end_inset
2576
2577  adds a line at the right side of the current cell / row or of a selection
2578 \end_layout
2579
2580 \begin_layout Labeling
2581 \labelwidthstring 00.00.0000
2582 \begin_inset Graphics
2583         filename ../images/tabular-feature_set-all-lines.png
2584         scaleBeforeRotation
2585
2586 \end_inset
2587
2588  adds lines around the current or selected cells - if the current cell no
2589  multicolumn cell this also affects the current row and column
2590 \end_layout
2591
2592 \begin_layout Labeling
2593 \labelwidthstring 00.00.0000
2594 \begin_inset Graphics
2595         filename ../images/tabular-feature_unset-all-lines.png
2596         scaleBeforeRotation
2597
2598 \end_inset
2599
2600  deletes all lines of the current or selected cells - if the current cell
2601  no multicolumn cell this also affects the current row and column
2602 \end_layout
2603
2604 \begin_layout Labeling
2605 \labelwidthstring 00.00.0000
2606 \begin_inset Graphics
2607         filename ../images/tabular-feature_m-align-left.png
2608         scaleBeforeRotation
2609
2610 \end_inset
2611
2612  left-aligns the content of the current cell / column
2613 \end_layout
2614
2615 \begin_layout Labeling
2616 \labelwidthstring 00.00.0000
2617 \begin_inset Graphics
2618         filename ../images/tabular-feature_m-align-center.png
2619         scaleBeforeRotation
2620
2621 \end_inset
2622
2623  centers the content of the current cell / column horizontally
2624 \end_layout
2625
2626 \begin_layout Labeling
2627 \labelwidthstring 00.00.0000
2628 \begin_inset Graphics
2629         filename ../images/tabular-feature_m-align-right.png
2630         scaleBeforeRotation
2631
2632 \end_inset
2633
2634  right-aligns the content of the current cell / column
2635 \end_layout
2636
2637 \begin_layout Labeling
2638 \labelwidthstring 00.00.0000
2639 \begin_inset Graphics
2640         filename ../images/tabular-feature_align-decimal.png
2641         scaleBeforeRotation
2642
2643 \end_inset
2644
2645  aligns the content of the current column at a character
2646 \end_layout
2647
2648 \begin_layout Labeling
2649 \labelwidthstring 00.00.0000
2650 \begin_inset Graphics
2651         filename ../images/tabular-feature_m-valign-top.png
2652         scaleBeforeRotation
2653
2654 \end_inset
2655
2656  aligns the content of the current cell vertically to the top
2657 \end_layout
2658
2659 \begin_layout Labeling
2660 \labelwidthstring 00.00.0000
2661 \begin_inset Graphics
2662         filename ../images/tabular-feature_m-valign-middle.png
2663         scaleBeforeRotation
2664
2665 \end_inset
2666
2667  centers the content of the current cell vertically
2668 \end_layout
2669
2670 \begin_layout Labeling
2671 \labelwidthstring 00.00.0000
2672 \begin_inset Graphics
2673         filename ../images/tabular-feature_m-valign-bottom.png
2674         scaleBeforeRotation
2675
2676 \end_inset
2677
2678  aligns the content of the current cell vertically to the bottom
2679 \end_layout
2680
2681 \begin_layout Labeling
2682 \labelwidthstring 00.00.0000
2683 \begin_inset Graphics
2684         filename ../images/tabular-feature_set-rotate-cell.png
2685         scaleBeforeRotation
2686
2687 \end_inset
2688
2689  rotates the current cell or selection counter-clockwise by 90°
2690 \end_layout
2691
2692 \begin_layout Labeling
2693 \labelwidthstring 00.00.0000
2694 \begin_inset Graphics
2695         filename ../images/tabular-feature_set-rotate-tabular.png
2696         scaleBeforeRotation
2697
2698 \end_inset
2699
2700  rotates the whole table counter-clockwise by 90°
2701 \end_layout
2702
2703 \begin_layout Labeling
2704 \labelwidthstring 00.00.0000
2705 \begin_inset Graphics
2706         filename ../images/tabular-feature_multicolumn.png
2707         scaleBeforeRotation
2708
2709 \end_inset
2710
2711  sets the current cell or selection as a multicolumn
2712 \end_layout
2713
2714 \begin_layout Labeling
2715 \labelwidthstring 00.00.0000
2716 \begin_inset Graphics
2717         filename ../images/tabular-feature_multirow.png
2718         scaleBeforeRotation
2719
2720 \end_inset
2721
2722  sets the current cell or selection as a multirow
2723 \end_layout
2724
2725 \begin_layout Standard
2726 \begin_inset Note Greyedout
2727 status open
2728
2729 \begin_layout Plain Layout
2730
2731 \series bold
2732 Note:
2733 \series default
2734  For the output the vertical alignment of the first cell in a row is used
2735  for all following cells in the row.
2736 \end_layout
2737
2738 \end_inset
2739
2740
2741 \end_layout
2742
2743 \begin_layout Section
2744 Edit Table Menu
2745 \begin_inset Index idx
2746 status collapsed
2747
2748 \begin_layout Plain Layout
2749 Table ! Edit Menu
2750 \end_layout
2751
2752 \end_inset
2753
2754
2755 \end_layout
2756
2757 \begin_layout Standard
2758 Additionally to the table dialog and toolbar, the menu 
2759 \family sans
2760 Edit\SpecialChar \menuseparator
2761 Table
2762 \family default
2763  allows you to add and delete border lines for the current row/column and
2764  to set the current selection as multicolumn.
2765  The menu is only available when the cursor is inside a table.
2766 \end_layout
2767
2768 \begin_layout Section
2769 Table Floats
2770 \begin_inset CommandInset label
2771 LatexCommand label
2772 name "sec:Table-Floats"
2773
2774 \end_inset
2775
2776
2777 \begin_inset Index idx
2778 status collapsed
2779
2780 \begin_layout Plain Layout
2781 Floats ! Tables
2782 \end_layout
2783
2784 \end_inset
2785
2786
2787 \begin_inset Index idx
2788 status collapsed
2789
2790 \begin_layout Plain Layout
2791 Table ! Floats
2792 \end_layout
2793
2794 \end_inset
2795
2796
2797 \end_layout
2798
2799 \begin_layout Standard
2800 For general explanations about floats, have a look at section
2801 \begin_inset space ~
2802 \end_inset
2803
2804
2805 \begin_inset CommandInset ref
2806 LatexCommand ref
2807 reference "sec:FloatIntroduction"
2808
2809 \end_inset
2810
2811 .
2812 \end_layout
2813
2814 \begin_layout Standard
2815 \begin_inset Float table
2816 placement h
2817 wide false
2818 sideways false
2819 status open
2820
2821 \begin_layout Plain Layout
2822 \begin_inset Caption
2823
2824 \begin_layout Plain Layout
2825 \begin_inset CommandInset label
2826 LatexCommand label
2827 name "tab:a table float"
2828
2829 \end_inset
2830
2831 A table float.
2832 \end_layout
2833
2834 \end_inset
2835
2836
2837 \end_layout
2838
2839 \begin_layout Plain Layout
2840 \align center
2841 \begin_inset Tabular
2842 <lyxtabular version="3" rows="3" columns="3">
2843 <features tabularvalignment="middle">
2844 <column alignment="center" valignment="top" width="0pt">
2845 <column alignment="center" valignment="top" width="0pt">
2846 <column alignment="center" valignment="top" width="0pt">
2847 <row>
2848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2849 \begin_inset Text
2850
2851 \begin_layout Plain Layout
2852
2853 \family roman
2854 \series medium
2855 \shape up
2856 \size normal
2857 \emph off
2858 \bar no
2859 \noun off
2860 \color none
2861 1
2862 \end_layout
2863
2864 \end_inset
2865 </cell>
2866 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2867 \begin_inset Text
2868
2869 \begin_layout Plain Layout
2870
2871 \family roman
2872 \series medium
2873 \shape up
2874 \size normal
2875 \emph off
2876 \bar no
2877 \noun off
2878 \color none
2879 2
2880 \end_layout
2881
2882 \end_inset
2883 </cell>
2884 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2885 \begin_inset Text
2886
2887 \begin_layout Plain Layout
2888
2889 \family roman
2890 \series medium
2891 \shape up
2892 \size normal
2893 \emph off
2894 \bar no
2895 \noun off
2896 \color none
2897 3
2898 \end_layout
2899
2900 \end_inset
2901 </cell>
2902 </row>
2903 <row>
2904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2905 \begin_inset Text
2906
2907 \begin_layout Plain Layout
2908
2909 \family roman
2910 \series medium
2911 \shape up
2912 \size normal
2913 \emph off
2914 \bar no
2915 \noun off
2916 \color none
2917 Joe
2918 \end_layout
2919
2920 \end_inset
2921 </cell>
2922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2923 \begin_inset Text
2924
2925 \begin_layout Plain Layout
2926
2927 \family roman
2928 \series medium
2929 \shape up
2930 \size normal
2931 \emph off
2932 \bar no
2933 \noun off
2934 \color none
2935 Mary
2936 \end_layout
2937
2938 \end_inset
2939 </cell>
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Plain Layout
2944
2945 \family roman
2946 \series medium
2947 \shape up
2948 \size normal
2949 \emph off
2950 \bar no
2951 \noun off
2952 \color none
2953 Ted
2954 \end_layout
2955
2956 \end_inset
2957 </cell>
2958 </row>
2959 <row>
2960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2961 \begin_inset Text
2962
2963 \begin_layout Plain Layout
2964
2965 \family roman
2966 \series medium
2967 \shape up
2968 \size normal
2969 \emph off
2970 \bar no
2971 \noun off
2972 \color none
2973 \begin_inset Formula $\int x^{2}dx$
2974 \end_inset
2975
2976
2977 \end_layout
2978
2979 \end_inset
2980 </cell>
2981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2982 \begin_inset Text
2983
2984 \begin_layout Plain Layout
2985
2986 \family roman
2987 \series medium
2988 \shape up
2989 \size normal
2990 \emph off
2991 \bar no
2992 \noun off
2993 \color none
2994 \begin_inset Formula $\left[\begin{array}{cc}
2995 a & b\\
2996 c & d
2997 \end{array}\right]$
2998 \end_inset
2999
3000
3001 \end_layout
3002
3003 \end_inset
3004 </cell>
3005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3006 \begin_inset Text
3007
3008 \begin_layout Plain Layout
3009
3010 \family roman
3011 \series medium
3012 \shape up
3013 \size normal
3014 \emph off
3015 \bar no
3016 \noun off
3017 \color none
3018 \begin_inset Formula $1+1=2$
3019 \end_inset
3020
3021
3022 \end_layout
3023
3024 \end_inset
3025 </cell>
3026 </row>
3027 </lyxtabular>
3028
3029 \end_inset
3030
3031
3032 \end_layout
3033
3034 \end_inset
3035
3036
3037 \end_layout
3038
3039 \begin_layout Standard
3040 Table floats can be inserted using the menu 
3041 \family sans
3042 Insert\SpecialChar \menuseparator
3043 Float\SpecialChar \menuseparator
3044 Table
3045 \family default
3046  or the toolbar button 
3047 \begin_inset Graphics
3048         filename ../images/float-insert_table.png
3049         scale 85
3050         scaleBeforeRotation
3051
3052 \end_inset
3053
3054 .
3055 \end_layout
3056
3057 \begin_layout Standard
3058 The float appears as a collapsible box with a caption that has the label
3059  
3060 \begin_inset Quotes eld
3061 \end_inset
3062
3063 Table
3064 \begin_inset space ~
3065 \end_inset
3066
3067 #:
3068 \begin_inset Quotes erd
3069 \end_inset
3070
3071  (# is the actual table number).
3072  You can insert tables in the float above or below the caption.
3073 \end_layout
3074
3075 \begin_layout Standard
3076 Table
3077 \begin_inset space ~
3078 \end_inset
3079
3080
3081 \begin_inset CommandInset ref
3082 LatexCommand ref
3083 reference "tab:a table float"
3084
3085 \end_inset
3086
3087  is an example table within a table float.
3088 \end_layout
3089
3090 \begin_layout Standard
3091 Having the caption above the table is the common rule that is unfortunately
3092  not supported in LaTeX's standard classes.
3093  This means that, if you are using the document classes 
3094 \family sans
3095 article
3096 \family default
3097
3098 \family sans
3099 book
3100 \family default
3101
3102 \family sans
3103 letter
3104 \family default
3105 , or 
3106 \family sans
3107 report
3108 \family default
3109 , there will be no space between the caption and the table.
3110  To insert the needed space, add the following option to the load command
3111  of the LaTeX-package 
3112 \series bold
3113 caption
3114 \series default
3115
3116 \begin_inset Index idx
3117 status collapsed
3118
3119 \begin_layout Plain Layout
3120 LaTeX-packages ! caption
3121 \end_layout
3122
3123 \end_inset
3124
3125  in your document preamble
3126 \begin_inset Foot
3127 status collapsed
3128
3129 \begin_layout Plain Layout
3130 For more information have a look at section
3131 \begin_inset space ~
3132 \end_inset
3133
3134
3135 \begin_inset CommandInset ref
3136 LatexCommand ref
3137 reference "sec:Caption-Placement"
3138
3139 \end_inset
3140
3141 .
3142 \end_layout
3143
3144 \end_inset
3145
3146 :
3147 \end_layout
3148
3149 \begin_layout Standard
3150
3151 \series bold
3152 tableposition=top
3153 \end_layout
3154
3155 \begin_layout Standard
3156 The package 
3157 \series bold
3158 caption
3159 \series default
3160 , which is described in section
3161 \begin_inset space ~
3162 \end_inset
3163
3164
3165 \begin_inset CommandInset ref
3166 LatexCommand ref
3167 reference "sec:Caption-Formatting"
3168
3169 \end_inset
3170
3171 , is used to adjust the caption format.
3172 \end_layout
3173
3174 \begin_layout Standard
3175 \begin_inset Index idx
3176 status collapsed
3177
3178 \begin_layout Plain Layout
3179 References ! to Tables
3180 \end_layout
3181
3182 \end_inset
3183
3184 Tables can be cross-referenced in the text by referencing their label.
3185  To do this insert a label in the caption using the menu 
3186 \family sans
3187 Insert\SpecialChar \menuseparator
3188 Label
3189 \family default
3190  or the toolbar button 
3191 \begin_inset Graphics
3192         filename ../images/label-insert.png
3193         scale 85
3194         scaleBeforeRotation
3195
3196 \end_inset
3197
3198 .
3199  You can now refer to the label using the menu 
3200 \family sans
3201 Insert\SpecialChar \menuseparator
3202 Cross
3203 \begin_inset space ~
3204 \end_inset
3205
3206 reference
3207 \family default
3208  or the toolbar button 
3209 \begin_inset Graphics
3210         filename ../images/dialog-show-new-inset_ref.png
3211         scale 85
3212         scaleBeforeRotation
3213
3214 \end_inset
3215
3216 .
3217 \begin_inset Newline newline
3218 \end_inset
3219
3220 Referencing is explained in detail in section
3221 \begin_inset space ~
3222 \end_inset
3223
3224
3225 \begin_inset CommandInset ref
3226 LatexCommand ref
3227 reference "sec:Referencing-Floats"
3228
3229 \end_inset
3230
3231 .
3232 \end_layout
3233
3234 \begin_layout Section
3235 Longtables
3236 \begin_inset CommandInset label
3237 LatexCommand label
3238 name "sec:Longtables"
3239
3240 \end_inset
3241
3242
3243 \begin_inset Index idx
3244 status collapsed
3245
3246 \begin_layout Plain Layout
3247 Longtables
3248 \end_layout
3249
3250 \end_inset
3251
3252
3253 \begin_inset Index idx
3254 status collapsed
3255
3256 \begin_layout Plain Layout
3257 Table ! Longtables
3258 \end_layout
3259
3260 \end_inset
3261
3262
3263 \end_layout
3264
3265 \begin_layout Standard
3266 If the table is too long to fit on one page, you can use the option 
3267 \family sans
3268 Use
3269 \begin_inset space ~
3270 \end_inset
3271
3272 long
3273 \begin_inset space ~
3274 \end_inset
3275
3276 table
3277 \family default
3278  in the tab 
3279 \family sans
3280 Longtable
3281 \family default
3282  of the table dialog to split the table automatically over more pages.
3283  Doing this enables the following options:
3284 \end_layout
3285
3286 \begin_layout Description
3287 Header: The current row is defined to be a header row that appears on all
3288  pages of the longtable; except for the first page, if 
3289 \family sans
3290 First
3291 \begin_inset space ~
3292 \end_inset
3293
3294 header
3295 \family default
3296  is defined.
3297  This is therefore called the main header.
3298 \end_layout
3299
3300 \begin_layout Description
3301 First
3302 \begin_inset space ~
3303 \end_inset
3304
3305 header: The current row is defined to be a header row that appears on the
3306  first page of the longtable.
3307 \end_layout
3308
3309 \begin_layout Description
3310 Footer: The current row is defined to be a footer row that appears on all
3311  pages of the longtable; except for the last page, if 
3312 \family sans
3313 Last
3314 \begin_inset space ~
3315 \end_inset
3316
3317 footer
3318 \family default
3319  is defined.
3320 \end_layout
3321
3322 \begin_layout Description
3323 Last
3324 \begin_inset space ~
3325 \end_inset
3326
3327 footer: The current row is defined to be a footer row that appears on the
3328  last page of the longtable.
3329 \end_layout
3330
3331 \begin_layout Description
3332 Caption: The current row contains the table caption.
3333  The row is reset as single column and a caption is inserted.
3334  More about longtable captions is explained in sec.
3335 \begin_inset space \thinspace{}
3336 \end_inset
3337
3338
3339 \begin_inset CommandInset ref
3340 LatexCommand ref
3341 reference "sub:Longtable-Captions"
3342
3343 \end_inset
3344
3345 .
3346 \end_layout
3347
3348 \begin_layout Standard
3349 You can also specify a row where the table is split.
3350  See the following longtable to see how it works:
3351 \end_layout
3352
3353 \begin_layout Standard
3354 \align center
3355 \begin_inset Tabular
3356 <lyxtabular version="3" rows="69" columns="3">
3357 <features islongtable="true" longtabularalignment="center">
3358 <column alignment="left" valignment="top" width="0cm">
3359 <column alignment="left" valignment="top" width="0pt">
3360 <column alignment="center" valignment="top" width="0pt">
3361 <row endfirsthead="true">
3362 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3363 \begin_inset Text
3364
3365 \begin_layout Plain Layout
3366
3367 \series bold
3368 Example Phone List (ignore the names)
3369 \end_layout
3370
3371 \end_inset
3372 </cell>
3373 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3374 \begin_inset Text
3375
3376 \begin_layout Plain Layout
3377
3378 \end_layout
3379
3380 \end_inset
3381 </cell>
3382 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3383 \begin_inset Text
3384
3385 \begin_layout Plain Layout
3386
3387 \end_layout
3388
3389 \end_inset
3390 </cell>
3391 </row>
3392 <row endfirsthead="true">
3393 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3394 \begin_inset Text
3395
3396 \begin_layout Plain Layout
3397
3398 \series bold
3399 NAME
3400 \end_layout
3401
3402 \end_inset
3403 </cell>
3404 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3405 \begin_inset Text
3406
3407 \begin_layout Plain Layout
3408
3409 \end_layout
3410
3411 \end_inset
3412 </cell>
3413 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3414 \begin_inset Text
3415
3416 \begin_layout Plain Layout
3417
3418 \series bold
3419 TEL.
3420 \end_layout
3421
3422 \end_inset
3423 </cell>
3424 </row>
3425 <row endhead="true">
3426 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3427 \begin_inset Text
3428
3429 \begin_layout Plain Layout
3430
3431 \series bold
3432 Example Phone List
3433 \end_layout
3434
3435 \end_inset
3436 </cell>
3437 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3438 \begin_inset Text
3439
3440 \begin_layout Plain Layout
3441
3442 \end_layout
3443
3444 \end_inset
3445 </cell>
3446 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3447 \begin_inset Text
3448
3449 \begin_layout Plain Layout
3450
3451 \end_layout
3452
3453 \end_inset
3454 </cell>
3455 </row>
3456 <row endhead="true">
3457 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3458 \begin_inset Text
3459
3460 \begin_layout Plain Layout
3461
3462 \series bold
3463 NAME
3464 \end_layout
3465
3466 \end_inset
3467 </cell>
3468 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3469 \begin_inset Text
3470
3471 \begin_layout Plain Layout
3472
3473 \end_layout
3474
3475 \end_inset
3476 </cell>
3477 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3478 \begin_inset Text
3479
3480 \begin_layout Plain Layout
3481
3482 \series bold
3483 TEL.
3484 \end_layout
3485
3486 \end_inset
3487 </cell>
3488 </row>
3489 <row endfoot="true">
3490 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3491 \begin_inset Text
3492
3493 \begin_layout Plain Layout
3494  continued on next page
3495 \end_layout
3496
3497 \end_inset
3498 </cell>
3499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3500 \begin_inset Text
3501
3502 \begin_layout Plain Layout
3503
3504 \end_layout
3505
3506 \end_inset
3507 </cell>
3508 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3509 \begin_inset Text
3510
3511 \begin_layout Plain Layout
3512
3513 \end_layout
3514
3515 \end_inset
3516 </cell>
3517 </row>
3518 <row>
3519 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3520 \begin_inset Text
3521
3522 \begin_layout Plain Layout
3523
3524 \series bold
3525 Annovi
3526 \end_layout
3527
3528 \end_inset
3529 </cell>
3530 <cell alignment="center" valignment="top" usebox="none">
3531 \begin_inset Text
3532
3533 \begin_layout Plain Layout
3534 Silvia
3535 \end_layout
3536
3537 \end_inset
3538 </cell>
3539 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3540 \begin_inset Text
3541
3542 \begin_layout Plain Layout
3543 111
3544 \end_layout
3545
3546 \end_inset
3547 </cell>
3548 </row>
3549 <row>
3550 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3551 \begin_inset Text
3552
3553 \begin_layout Plain Layout
3554
3555 \series bold
3556 Bertoli
3557 \end_layout
3558
3559 \end_inset
3560 </cell>
3561 <cell alignment="center" valignment="top" usebox="none">
3562 \begin_inset Text
3563
3564 \begin_layout Plain Layout
3565 Stefano
3566 \end_layout
3567
3568 \end_inset
3569 </cell>
3570 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3571 \begin_inset Text
3572
3573 \begin_layout Plain Layout
3574 111
3575 \end_layout
3576
3577 \end_inset
3578 </cell>
3579 </row>
3580 <row>
3581 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3582 \begin_inset Text
3583
3584 \begin_layout Plain Layout
3585
3586 \series bold
3587 Bozzi
3588 \end_layout
3589
3590 \end_inset
3591 </cell>
3592 <cell alignment="center" valignment="top" usebox="none">
3593 \begin_inset Text
3594
3595 \begin_layout Plain Layout
3596 Walter
3597 \end_layout
3598
3599 \end_inset
3600 </cell>
3601 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3602 \begin_inset Text
3603
3604 \begin_layout Plain Layout
3605 111
3606 \end_layout
3607
3608 \end_inset
3609 </cell>
3610 </row>
3611 <row>
3612 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3613 \begin_inset Text
3614
3615 \begin_layout Plain Layout
3616
3617 \series bold
3618 Cachia
3619 \end_layout
3620
3621 \end_inset
3622 </cell>
3623 <cell alignment="center" valignment="top" usebox="none">
3624 \begin_inset Text
3625
3626 \begin_layout Plain Layout
3627 Maria
3628 \end_layout
3629
3630 \end_inset
3631 </cell>
3632 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3633 \begin_inset Text
3634
3635 \begin_layout Plain Layout
3636 111
3637 \end_layout
3638
3639 \end_inset
3640 </cell>
3641 </row>
3642 <row>
3643 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3644 \begin_inset Text
3645
3646 \begin_layout Plain Layout
3647
3648 \series bold
3649 Cachia
3650 \end_layout
3651
3652 \end_inset
3653 </cell>
3654 <cell alignment="center" valignment="top" usebox="none">
3655 \begin_inset Text
3656
3657 \begin_layout Plain Layout
3658 Maurizio
3659 \end_layout
3660
3661 \end_inset
3662 </cell>
3663 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3664 \begin_inset Text
3665
3666 \begin_layout Plain Layout
3667 111
3668 \end_layout
3669
3670 \end_inset
3671 </cell>
3672 </row>
3673 <row>
3674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3675 \begin_inset Text
3676
3677 \begin_layout Plain Layout
3678
3679 \series bold
3680 Cinquemani
3681 \end_layout
3682
3683 \end_inset
3684 </cell>
3685 <cell alignment="center" valignment="top" usebox="none">
3686 \begin_inset Text
3687
3688 \begin_layout Plain Layout
3689 Giusi
3690 \end_layout
3691
3692 \end_inset
3693 </cell>
3694 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3695 \begin_inset Text
3696
3697 \begin_layout Plain Layout
3698 111
3699 \end_layout
3700
3701 \end_inset
3702 </cell>
3703 </row>
3704 <row>
3705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3706 \begin_inset Text
3707
3708 \begin_layout Plain Layout
3709
3710 \series bold
3711 Colin
3712 \end_layout
3713
3714 \end_inset
3715 </cell>
3716 <cell alignment="center" valignment="top" usebox="none">
3717 \begin_inset Text
3718
3719 \begin_layout Plain Layout
3720 Bernard
3721 \end_layout
3722
3723 \end_inset
3724 </cell>
3725 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3726 \begin_inset Text
3727
3728 \begin_layout Plain Layout
3729 111
3730 \end_layout
3731
3732 \end_inset
3733 </cell>
3734 </row>
3735 <row>
3736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3737 \begin_inset Text
3738
3739 \begin_layout Plain Layout
3740
3741 \series bold
3742 Concli
3743 \end_layout
3744
3745 \end_inset
3746 </cell>
3747 <cell alignment="center" valignment="top" usebox="none">
3748 \begin_inset Text
3749
3750 \begin_layout Plain Layout
3751 Gianfranco
3752 \end_layout
3753
3754 \end_inset
3755 </cell>
3756 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3757 \begin_inset Text
3758
3759 \begin_layout Plain Layout
3760 111
3761 \end_layout
3762
3763 \end_inset
3764 </cell>
3765 </row>
3766 <row>
3767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3768 \begin_inset Text
3769
3770 \begin_layout Plain Layout
3771
3772 \series bold
3773 Dal Bosco
3774 \end_layout
3775
3776 \end_inset
3777 </cell>
3778 <cell alignment="center" valignment="top" usebox="none">
3779 \begin_inset Text
3780
3781 \begin_layout Plain Layout
3782 Carolina
3783 \end_layout
3784
3785 \end_inset
3786 </cell>
3787 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3788 \begin_inset Text
3789
3790 \begin_layout Plain Layout
3791 111
3792 \end_layout
3793
3794 \end_inset
3795 </cell>
3796 </row>
3797 <row>
3798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3799 \begin_inset Text
3800
3801 \begin_layout Plain Layout
3802
3803 \series bold
3804 Dalpiaz
3805 \end_layout
3806
3807 \end_inset
3808 </cell>
3809 <cell alignment="center" valignment="top" usebox="none">
3810 \begin_inset Text
3811
3812 \begin_layout Plain Layout
3813 Annamaria
3814 \end_layout
3815
3816 \end_inset
3817 </cell>
3818 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3819 \begin_inset Text
3820
3821 \begin_layout Plain Layout
3822 111
3823 \end_layout
3824
3825 \end_inset
3826 </cell>
3827 </row>
3828 <row>
3829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3830 \begin_inset Text
3831
3832 \begin_layout Plain Layout
3833
3834 \series bold
3835 Feliciello
3836 \end_layout
3837
3838 \end_inset
3839 </cell>
3840 <cell alignment="center" valignment="top" usebox="none">
3841 \begin_inset Text
3842
3843 \begin_layout Plain Layout
3844 Domenico
3845 \end_layout
3846
3847 \end_inset
3848 </cell>
3849 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3850 \begin_inset Text
3851
3852 \begin_layout Plain Layout
3853 111
3854 \end_layout
3855
3856 \end_inset
3857 </cell>
3858 </row>
3859 <row>
3860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3861 \begin_inset Text
3862
3863 \begin_layout Plain Layout
3864
3865 \series bold
3866 Focarelli
3867 \end_layout
3868
3869 \end_inset
3870 </cell>
3871 <cell alignment="center" valignment="top" usebox="none">
3872 \begin_inset Text
3873
3874 \begin_layout Plain Layout
3875 Paola
3876 \end_layout
3877
3878 \end_inset
3879 </cell>
3880 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3881 \begin_inset Text
3882
3883 \begin_layout Plain Layout
3884 111
3885 \end_layout
3886
3887 \end_inset
3888 </cell>
3889 </row>
3890 <row>
3891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3892 \begin_inset Text
3893
3894 \begin_layout Plain Layout
3895
3896 \series bold
3897 Galletti
3898 \end_layout
3899
3900 \end_inset
3901 </cell>
3902 <cell alignment="center" valignment="top" usebox="none">
3903 \begin_inset Text
3904
3905 \begin_layout Plain Layout
3906 Oreste
3907 \end_layout
3908
3909 \end_inset
3910 </cell>
3911 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3912 \begin_inset Text
3913
3914 \begin_layout Plain Layout
3915 111
3916 \end_layout
3917
3918 \end_inset
3919 </cell>
3920 </row>
3921 <row>
3922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3923 \begin_inset Text
3924
3925 \begin_layout Plain Layout
3926
3927 \series bold
3928 Gasparini
3929 \end_layout
3930
3931 \end_inset
3932 </cell>
3933 <cell alignment="center" valignment="top" usebox="none">
3934 \begin_inset Text
3935
3936 \begin_layout Plain Layout
3937 Franca
3938 \end_layout
3939
3940 \end_inset
3941 </cell>
3942 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3943 \begin_inset Text
3944
3945 \begin_layout Plain Layout
3946 111
3947 \end_layout
3948
3949 \end_inset
3950 </cell>
3951 </row>
3952 <row>
3953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3954 \begin_inset Text
3955
3956 \begin_layout Plain Layout
3957
3958 \series bold
3959 Rizzardi
3960 \end_layout
3961
3962 \end_inset
3963 </cell>
3964 <cell alignment="center" valignment="top" usebox="none">
3965 \begin_inset Text
3966
3967 \begin_layout Plain Layout
3968 Paola
3969 \end_layout
3970
3971 \end_inset
3972 </cell>
3973 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3974 \begin_inset Text
3975
3976 \begin_layout Plain Layout
3977 111
3978 \end_layout
3979
3980 \end_inset
3981 </cell>
3982 </row>
3983 <row>
3984 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3985 \begin_inset Text
3986
3987 \begin_layout Plain Layout
3988
3989 \series bold
3990 Lassini
3991 \end_layout
3992
3993 \end_inset
3994 </cell>
3995 <cell alignment="center" valignment="top" usebox="none">
3996 \begin_inset Text
3997
3998 \begin_layout Plain Layout
3999 Giancarlo
4000 \end_layout
4001
4002 \end_inset
4003 </cell>
4004 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4005 \begin_inset Text
4006
4007 \begin_layout Plain Layout
4008 111
4009 \end_layout
4010
4011 \end_inset
4012 </cell>
4013 </row>
4014 <row>
4015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4016 \begin_inset Text
4017
4018 \begin_layout Plain Layout
4019
4020 \series bold
4021 Malfatti
4022 \end_layout
4023
4024 \end_inset
4025 </cell>
4026 <cell alignment="center" valignment="top" usebox="none">
4027 \begin_inset Text
4028
4029 \begin_layout Plain Layout
4030 Luciano
4031 \end_layout
4032
4033 \end_inset
4034 </cell>
4035 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4036 \begin_inset Text
4037
4038 \begin_layout Plain Layout
4039 111
4040 \end_layout
4041
4042 \end_inset
4043 </cell>
4044 </row>
4045 <row>
4046 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4047 \begin_inset Text
4048
4049 \begin_layout Plain Layout
4050
4051 \series bold
4052 Malfatti
4053 \end_layout
4054
4055 \end_inset
4056 </cell>
4057 <cell alignment="center" valignment="top" usebox="none">
4058 \begin_inset Text
4059
4060 \begin_layout Plain Layout
4061 Valeriano
4062 \end_layout
4063
4064 \end_inset
4065 </cell>
4066 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4067 \begin_inset Text
4068
4069 \begin_layout Plain Layout
4070 111
4071 \end_layout
4072
4073 \end_inset
4074 </cell>
4075 </row>
4076 <row>
4077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4078 \begin_inset Text
4079
4080 \begin_layout Plain Layout
4081
4082 \series bold
4083 Meneguzzo
4084 \end_layout
4085
4086 \end_inset
4087 </cell>
4088 <cell alignment="center" valignment="top" usebox="none">
4089 \begin_inset Text
4090
4091 \begin_layout Plain Layout
4092 Roberto
4093 \end_layout
4094
4095 \end_inset
4096 </cell>
4097 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4098 \begin_inset Text
4099
4100 \begin_layout Plain Layout
4101 111
4102 \end_layout
4103
4104 \end_inset
4105 </cell>
4106 </row>
4107 <row>
4108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4109 \begin_inset Text
4110
4111 \begin_layout Plain Layout
4112
4113 \series bold
4114 Mezzadra
4115 \end_layout
4116
4117 \end_inset
4118 </cell>
4119 <cell alignment="center" valignment="top" usebox="none">
4120 \begin_inset Text
4121
4122 \begin_layout Plain Layout
4123 Roberto
4124 \end_layout
4125
4126 \end_inset
4127 </cell>
4128 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4129 \begin_inset Text
4130
4131 \begin_layout Plain Layout
4132 111
4133 \end_layout
4134
4135 \end_inset
4136 </cell>
4137 </row>
4138 <row>
4139 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4140 \begin_inset Text
4141
4142 \begin_layout Plain Layout
4143
4144 \series bold
4145 Pirpamer
4146 \end_layout
4147
4148 \end_inset
4149 </cell>
4150 <cell alignment="center" valignment="top" usebox="none">
4151 \begin_inset Text
4152
4153 \begin_layout Plain Layout
4154 Erich
4155 \end_layout
4156
4157 \end_inset
4158 </cell>
4159 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4160 \begin_inset Text
4161
4162 \begin_layout Plain Layout
4163 111
4164 \end_layout
4165
4166 \end_inset
4167 </cell>
4168 </row>
4169 <row>
4170 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4171 \begin_inset Text
4172
4173 \begin_layout Plain Layout
4174
4175 \series bold
4176 Pochiesa
4177 \end_layout
4178
4179 \end_inset
4180 </cell>
4181 <cell alignment="center" valignment="top" usebox="none">
4182 \begin_inset Text
4183
4184 \begin_layout Plain Layout
4185 Paolo
4186 \end_layout
4187
4188 \end_inset
4189 </cell>
4190 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4191 \begin_inset Text
4192
4193 \begin_layout Plain Layout
4194 111, 222
4195 \end_layout
4196
4197 \end_inset
4198 </cell>
4199 </row>
4200 <row>
4201 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4202 \begin_inset Text
4203
4204 \begin_layout Plain Layout
4205
4206 \series bold
4207 Radina
4208 \end_layout
4209
4210 \end_inset
4211 </cell>
4212 <cell alignment="center" valignment="top" usebox="none">
4213 \begin_inset Text
4214
4215 \begin_layout Plain Layout
4216 Claudio
4217 \end_layout
4218
4219 \end_inset
4220 </cell>
4221 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4222 \begin_inset Text
4223
4224 \begin_layout Plain Layout
4225 111
4226 \end_layout
4227
4228 \end_inset
4229 </cell>
4230 </row>
4231 <row>
4232 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4233 \begin_inset Text
4234
4235 \begin_layout Plain Layout
4236
4237 \series bold
4238 Stuffer
4239 \end_layout
4240
4241 \end_inset
4242 </cell>
4243 <cell alignment="center" valignment="top" usebox="none">
4244 \begin_inset Text
4245
4246 \begin_layout Plain Layout
4247 Oskar
4248 \end_layout
4249
4250 \end_inset
4251 </cell>
4252 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4253 \begin_inset Text
4254
4255 \begin_layout Plain Layout
4256 111
4257 \end_layout
4258
4259 \end_inset
4260 </cell>
4261 </row>
4262 <row>
4263 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4264 \begin_inset Text
4265
4266 \begin_layout Plain Layout
4267
4268 \series bold
4269 Tacchelli
4270 \end_layout
4271
4272 \end_inset
4273 </cell>
4274 <cell alignment="center" valignment="top" usebox="none">
4275 \begin_inset Text
4276
4277 \begin_layout Plain Layout
4278 Ugo
4279 \end_layout
4280
4281 \end_inset
4282 </cell>
4283 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4284 \begin_inset Text
4285
4286 \begin_layout Plain Layout
4287 111
4288 \end_layout
4289
4290 \end_inset
4291 </cell>
4292 </row>
4293 <row>
4294 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4295 \begin_inset Text
4296
4297 \begin_layout Plain Layout
4298
4299 \series bold
4300 Tezzele
4301 \end_layout
4302
4303 \end_inset
4304 </cell>
4305 <cell alignment="center" valignment="top" usebox="none">
4306 \begin_inset Text
4307
4308 \begin_layout Plain Layout
4309 Margit
4310 \end_layout
4311
4312 \end_inset
4313 </cell>
4314 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4315 \begin_inset Text
4316
4317 \begin_layout Plain Layout
4318 111
4319 \end_layout
4320
4321 \end_inset
4322 </cell>
4323 </row>
4324 <row>
4325 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4326 \begin_inset Text
4327
4328 \begin_layout Plain Layout
4329
4330 \series bold
4331 Unterkalmsteiner
4332 \end_layout
4333
4334 \end_inset
4335 </cell>
4336 <cell alignment="center" valignment="top" usebox="none">
4337 \begin_inset Text
4338
4339 \begin_layout Plain Layout
4340 Frieda
4341 \end_layout
4342
4343 \end_inset
4344 </cell>
4345 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4346 \begin_inset Text
4347
4348 \begin_layout Plain Layout
4349 111
4350 \end_layout
4351
4352 \end_inset
4353 </cell>
4354 </row>
4355 <row>
4356 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4357 \begin_inset Text
4358
4359 \begin_layout Plain Layout
4360
4361 \series bold
4362 Vieider
4363 \end_layout
4364
4365 \end_inset
4366 </cell>
4367 <cell alignment="center" valignment="top" usebox="none">
4368 \begin_inset Text
4369
4370 \begin_layout Plain Layout
4371 Hilde
4372 \end_layout
4373
4374 \end_inset
4375 </cell>
4376 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4377 \begin_inset Text
4378
4379 \begin_layout Plain Layout
4380 111
4381 \end_layout
4382
4383 \end_inset
4384 </cell>
4385 </row>
4386 <row>
4387 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4388 \begin_inset Text
4389
4390 \begin_layout Plain Layout
4391
4392 \series bold
4393 Vigna
4394 \end_layout
4395
4396 \end_inset
4397 </cell>
4398 <cell alignment="center" valignment="top" usebox="none">
4399 \begin_inset Text
4400
4401 \begin_layout Plain Layout
4402 Jürgen
4403 \end_layout
4404
4405 \end_inset
4406 </cell>
4407 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4408 \begin_inset Text
4409
4410 \begin_layout Plain Layout
4411 111
4412 \end_layout
4413
4414 \end_inset
4415 </cell>
4416 </row>
4417 <row>
4418 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4419 \begin_inset Text
4420
4421 \begin_layout Plain Layout
4422
4423 \series bold
4424 Weber
4425 \end_layout
4426
4427 \end_inset
4428 </cell>
4429 <cell alignment="center" valignment="top" usebox="none">
4430 \begin_inset Text
4431
4432 \begin_layout Plain Layout
4433 Maurizio
4434 \end_layout
4435
4436 \end_inset
4437 </cell>
4438 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4439 \begin_inset Text
4440
4441 \begin_layout Plain Layout
4442 111
4443 \end_layout
4444
4445 \end_inset
4446 </cell>
4447 </row>
4448 <row>
4449 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4450 \begin_inset Text
4451
4452 \begin_layout Plain Layout
4453
4454 \series bold
4455 Winkler
4456 \end_layout
4457
4458 \end_inset
4459 </cell>
4460 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4461 \begin_inset Text
4462
4463 \begin_layout Plain Layout
4464 Franz
4465 \end_layout
4466
4467 \end_inset
4468 </cell>
4469 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4470 \begin_inset Text
4471
4472 \begin_layout Plain Layout
4473 111
4474 \end_layout
4475
4476 \end_inset
4477 </cell>
4478 </row>
4479 <row>
4480 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4481 \begin_inset Text
4482
4483 \begin_layout Plain Layout
4484  
4485 \end_layout
4486
4487 \end_inset
4488 </cell>
4489 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4490 \begin_inset Text
4491
4492 \begin_layout Plain Layout
4493
4494 \end_layout
4495
4496 \end_inset
4497 </cell>
4498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4499 \begin_inset Text
4500
4501 \begin_layout Plain Layout
4502
4503 \end_layout
4504
4505 \end_inset
4506 </cell>
4507 </row>
4508 <row>
4509 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4510 \begin_inset Text
4511
4512 \begin_layout Plain Layout
4513
4514 \series bold
4515 Annovi
4516 \end_layout
4517
4518 \end_inset
4519 </cell>
4520 <cell alignment="center" valignment="top" usebox="none">
4521 \begin_inset Text
4522
4523 \begin_layout Plain Layout
4524 Silvia
4525 \end_layout
4526
4527 \end_inset
4528 </cell>
4529 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4530 \begin_inset Text
4531
4532 \begin_layout Plain Layout
4533 555
4534 \end_layout
4535
4536 \end_inset
4537 </cell>
4538 </row>
4539 <row>
4540 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4541 \begin_inset Text
4542
4543 \begin_layout Plain Layout
4544
4545 \series bold
4546 Bertoli
4547 \end_layout
4548
4549 \end_inset
4550 </cell>
4551 <cell alignment="center" valignment="top" usebox="none">
4552 \begin_inset Text
4553
4554 \begin_layout Plain Layout
4555 Stefano
4556 \end_layout
4557
4558 \end_inset
4559 </cell>
4560 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4561 \begin_inset Text
4562
4563 \begin_layout Plain Layout
4564 555
4565 \end_layout
4566
4567 \end_inset
4568 </cell>
4569 </row>
4570 <row>
4571 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4572 \begin_inset Text
4573
4574 \begin_layout Plain Layout
4575
4576 \series bold
4577 Bozzi
4578 \end_layout
4579
4580 \end_inset
4581 </cell>
4582 <cell alignment="center" valignment="top" usebox="none">
4583 \begin_inset Text
4584
4585 \begin_layout Plain Layout
4586 Walter
4587 \end_layout
4588
4589 \end_inset
4590 </cell>
4591 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4592 \begin_inset Text
4593
4594 \begin_layout Plain Layout
4595 555
4596 \end_layout
4597
4598 \end_inset
4599 </cell>
4600 </row>
4601 <row>
4602 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4603 \begin_inset Text
4604
4605 \begin_layout Plain Layout
4606
4607 \series bold
4608 Cachia
4609 \end_layout
4610
4611 \end_inset
4612 </cell>
4613 <cell alignment="center" valignment="top" usebox="none">
4614 \begin_inset Text
4615
4616 \begin_layout Plain Layout
4617 Maria
4618 \end_layout
4619
4620 \end_inset
4621 </cell>
4622 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4623 \begin_inset Text
4624
4625 \begin_layout Plain Layout
4626 555
4627 \end_layout
4628
4629 \end_inset
4630 </cell>
4631 </row>
4632 <row>
4633 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4634 \begin_inset Text
4635
4636 \begin_layout Plain Layout
4637
4638 \series bold
4639 Cachia
4640 \end_layout
4641
4642 \end_inset
4643 </cell>
4644 <cell alignment="center" valignment="top" usebox="none">
4645 \begin_inset Text
4646
4647 \begin_layout Plain Layout
4648 Maurizio
4649 \end_layout
4650
4651 \end_inset
4652 </cell>
4653 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4654 \begin_inset Text
4655
4656 \begin_layout Plain Layout
4657 555
4658 \end_layout
4659
4660 \end_inset
4661 </cell>
4662 </row>
4663 <row>
4664 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4665 \begin_inset Text
4666
4667 \begin_layout Plain Layout
4668
4669 \series bold
4670 Cinquemani
4671 \end_layout
4672
4673 \end_inset
4674 </cell>
4675 <cell alignment="center" valignment="top" usebox="none">
4676 \begin_inset Text
4677
4678 \begin_layout Plain Layout
4679 Giusi
4680 \end_layout
4681
4682 \end_inset
4683 </cell>
4684 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4685 \begin_inset Text
4686
4687 \begin_layout Plain Layout
4688 555
4689 \end_layout
4690
4691 \end_inset
4692 </cell>
4693 </row>
4694 <row>
4695 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4696 \begin_inset Text
4697
4698 \begin_layout Plain Layout
4699
4700 \series bold
4701 Colin
4702 \end_layout
4703
4704 \end_inset
4705 </cell>
4706 <cell alignment="center" valignment="top" usebox="none">
4707 \begin_inset Text
4708
4709 \begin_layout Plain Layout
4710 Bernard
4711 \end_layout
4712
4713 \end_inset
4714 </cell>
4715 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4716 \begin_inset Text
4717
4718 \begin_layout Plain Layout
4719 555
4720 \end_layout
4721
4722 \end_inset
4723 </cell>
4724 </row>
4725 <row>
4726 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4727 \begin_inset Text
4728
4729 \begin_layout Plain Layout
4730
4731 \series bold
4732 Concli
4733 \end_layout
4734
4735 \end_inset
4736 </cell>
4737 <cell alignment="center" valignment="top" usebox="none">
4738 \begin_inset Text
4739
4740 \begin_layout Plain Layout
4741 Gianfranco
4742 \end_layout
4743
4744 \end_inset
4745 </cell>
4746 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4747 \begin_inset Text
4748
4749 \begin_layout Plain Layout
4750 555
4751 \end_layout
4752
4753 \end_inset
4754 </cell>
4755 </row>
4756 <row>
4757 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4758 \begin_inset Text
4759
4760 \begin_layout Plain Layout
4761
4762 \series bold
4763 Dal Bosco
4764 \end_layout
4765
4766 \end_inset
4767 </cell>
4768 <cell alignment="center" valignment="top" usebox="none">
4769 \begin_inset Text
4770
4771 \begin_layout Plain Layout
4772 Carolina
4773 \end_layout
4774
4775 \end_inset
4776 </cell>
4777 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4778 \begin_inset Text
4779
4780 \begin_layout Plain Layout
4781 555
4782 \end_layout
4783
4784 \end_inset
4785 </cell>
4786 </row>
4787 <row>
4788 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4789 \begin_inset Text
4790
4791 \begin_layout Plain Layout
4792
4793 \series bold
4794 Dalpiaz
4795 \end_layout
4796
4797 \end_inset
4798 </cell>
4799 <cell alignment="center" valignment="top" usebox="none">
4800 \begin_inset Text
4801
4802 \begin_layout Plain Layout
4803 Annamaria
4804 \end_layout
4805
4806 \end_inset
4807 </cell>
4808 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4809 \begin_inset Text
4810
4811 \begin_layout Plain Layout
4812 555
4813 \end_layout
4814
4815 \end_inset
4816 </cell>
4817 </row>
4818 <row>
4819 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4820 \begin_inset Text
4821
4822 \begin_layout Plain Layout
4823
4824 \series bold
4825 Feliciello
4826 \end_layout
4827
4828 \end_inset
4829 </cell>
4830 <cell alignment="center" valignment="top" usebox="none">
4831 \begin_inset Text
4832
4833 \begin_layout Plain Layout
4834 Domenico
4835 \end_layout
4836
4837 \end_inset
4838 </cell>
4839 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4840 \begin_inset Text
4841
4842 \begin_layout Plain Layout
4843 555
4844 \end_layout
4845
4846 \end_inset
4847 </cell>
4848 </row>
4849 <row>
4850 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4851 \begin_inset Text
4852
4853 \begin_layout Plain Layout
4854
4855 \series bold
4856 Focarelli
4857 \end_layout
4858
4859 \end_inset
4860 </cell>
4861 <cell alignment="center" valignment="top" usebox="none">
4862 \begin_inset Text
4863
4864 \begin_layout Plain Layout
4865 Paola
4866 \end_layout
4867
4868 \end_inset
4869 </cell>
4870 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4871 \begin_inset Text
4872
4873 \begin_layout Plain Layout
4874 555
4875 \end_layout
4876
4877 \end_inset
4878 </cell>
4879 </row>
4880 <row>
4881 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4882 \begin_inset Text
4883
4884 \begin_layout Plain Layout
4885
4886 \series bold
4887 Galletti
4888 \end_layout
4889
4890 \end_inset
4891 </cell>
4892 <cell alignment="center" valignment="top" usebox="none">
4893 \begin_inset Text
4894
4895 \begin_layout Plain Layout
4896 Oreste
4897 \end_layout
4898
4899 \end_inset
4900 </cell>
4901 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4902 \begin_inset Text
4903
4904 \begin_layout Plain Layout
4905 555
4906 \end_layout
4907
4908 \end_inset
4909 </cell>
4910 </row>
4911 <row>
4912 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4913 \begin_inset Text
4914
4915 \begin_layout Plain Layout
4916
4917 \series bold
4918 Gasparini
4919 \end_layout
4920
4921 \end_inset
4922 </cell>
4923 <cell alignment="center" valignment="top" usebox="none">
4924 \begin_inset Text
4925
4926 \begin_layout Plain Layout
4927 Franca
4928 \end_layout
4929
4930 \end_inset
4931 </cell>
4932 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4933 \begin_inset Text
4934
4935 \begin_layout Plain Layout
4936 555
4937 \end_layout
4938
4939 \end_inset
4940 </cell>
4941 </row>
4942 <row>
4943 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4944 \begin_inset Text
4945
4946 \begin_layout Plain Layout
4947
4948 \series bold
4949 Rizzardi
4950 \end_layout
4951
4952 \end_inset
4953 </cell>
4954 <cell alignment="center" valignment="top" usebox="none">
4955 \begin_inset Text
4956
4957 \begin_layout Plain Layout
4958 Paola
4959 \end_layout
4960
4961 \end_inset
4962 </cell>
4963 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4964 \begin_inset Text
4965
4966 \begin_layout Plain Layout
4967 555
4968 \end_layout
4969
4970 \end_inset
4971 </cell>
4972 </row>
4973 <row>
4974 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4975 \begin_inset Text
4976
4977 \begin_layout Plain Layout
4978
4979 \series bold
4980 Lassini
4981 \end_layout
4982
4983 \end_inset
4984 </cell>
4985 <cell alignment="center" valignment="top" usebox="none">
4986 \begin_inset Text
4987
4988 \begin_layout Plain Layout
4989 Giancarlo
4990 \end_layout
4991
4992 \end_inset
4993 </cell>
4994 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4995 \begin_inset Text
4996
4997 \begin_layout Plain Layout
4998 555
4999 \end_layout
5000
5001 \end_inset
5002 </cell>
5003 </row>
5004 <row>
5005 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5006 \begin_inset Text
5007
5008 \begin_layout Plain Layout
5009
5010 \series bold
5011 Malfatti
5012 \end_layout
5013
5014 \end_inset
5015 </cell>
5016 <cell alignment="center" valignment="top" usebox="none">
5017 \begin_inset Text
5018
5019 \begin_layout Plain Layout
5020 Luciano
5021 \end_layout
5022
5023 \end_inset
5024 </cell>
5025 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5026 \begin_inset Text
5027
5028 \begin_layout Plain Layout
5029 555
5030 \end_layout
5031
5032 \end_inset
5033 </cell>
5034 </row>
5035 <row>
5036 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5037 \begin_inset Text
5038
5039 \begin_layout Plain Layout
5040
5041 \series bold
5042 Malfatti
5043 \end_layout
5044
5045 \end_inset
5046 </cell>
5047 <cell alignment="center" valignment="top" usebox="none">
5048 \begin_inset Text
5049
5050 \begin_layout Plain Layout
5051 Valeriano
5052 \end_layout
5053
5054 \end_inset
5055 </cell>
5056 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5057 \begin_inset Text
5058
5059 \begin_layout Plain Layout
5060 555
5061 \end_layout
5062
5063 \end_inset
5064 </cell>
5065 </row>
5066 <row>
5067 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5068 \begin_inset Text
5069
5070 \begin_layout Plain Layout
5071
5072 \series bold
5073 Meneguzzo
5074 \end_layout
5075
5076 \end_inset
5077 </cell>
5078 <cell alignment="center" valignment="top" usebox="none">
5079 \begin_inset Text
5080
5081 \begin_layout Plain Layout
5082 Roberto
5083 \end_layout
5084
5085 \end_inset
5086 </cell>
5087 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5088 \begin_inset Text
5089
5090 \begin_layout Plain Layout
5091 555
5092 \end_layout
5093
5094 \end_inset
5095 </cell>
5096 </row>
5097 <row>
5098 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5099 \begin_inset Text
5100
5101 \begin_layout Plain Layout
5102
5103 \series bold
5104 Mezzadra
5105 \end_layout
5106
5107 \end_inset
5108 </cell>
5109 <cell alignment="center" valignment="top" usebox="none">
5110 \begin_inset Text
5111
5112 \begin_layout Plain Layout
5113 Roberto
5114 \end_layout
5115
5116 \end_inset
5117 </cell>
5118 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5119 \begin_inset Text
5120
5121 \begin_layout Plain Layout
5122 555
5123 \end_layout
5124
5125 \end_inset
5126 </cell>
5127 </row>
5128 <row>
5129 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5130 \begin_inset Text
5131
5132 \begin_layout Plain Layout
5133
5134 \series bold
5135 Pirpamer
5136 \end_layout
5137
5138 \end_inset
5139 </cell>
5140 <cell alignment="center" valignment="top" usebox="none">
5141 \begin_inset Text
5142
5143 \begin_layout Plain Layout
5144 Erich
5145 \end_layout
5146
5147 \end_inset
5148 </cell>
5149 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5150 \begin_inset Text
5151
5152 \begin_layout Plain Layout
5153 555
5154 \end_layout
5155
5156 \end_inset
5157 </cell>
5158 </row>
5159 <row>
5160 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5161 \begin_inset Text
5162
5163 \begin_layout Plain Layout
5164
5165 \series bold
5166 Pochiesa
5167 \end_layout
5168
5169 \end_inset
5170 </cell>
5171 <cell alignment="center" valignment="top" usebox="none">
5172 \begin_inset Text
5173
5174 \begin_layout Plain Layout
5175 Paolo
5176 \end_layout
5177
5178 \end_inset
5179 </cell>
5180 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5181 \begin_inset Text
5182
5183 \begin_layout Plain Layout
5184 555, 222
5185 \end_layout
5186
5187 \end_inset
5188 </cell>
5189 </row>
5190 <row>
5191 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5192 \begin_inset Text
5193
5194 \begin_layout Plain Layout
5195
5196 \series bold
5197 Radina
5198 \end_layout
5199
5200 \end_inset
5201 </cell>
5202 <cell alignment="center" valignment="top" usebox="none">
5203 \begin_inset Text
5204
5205 \begin_layout Plain Layout
5206 Claudio
5207 \end_layout
5208
5209 \end_inset
5210 </cell>
5211 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5212 \begin_inset Text
5213
5214 \begin_layout Plain Layout
5215 555
5216 \end_layout
5217
5218 \end_inset
5219 </cell>
5220 </row>
5221 <row>
5222 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5223 \begin_inset Text
5224
5225 \begin_layout Plain Layout
5226
5227 \series bold
5228 Stuffer
5229 \end_layout
5230
5231 \end_inset
5232 </cell>
5233 <cell alignment="center" valignment="top" usebox="none">
5234 \begin_inset Text
5235
5236 \begin_layout Plain Layout
5237 Oskar
5238 \end_layout
5239
5240 \end_inset
5241 </cell>
5242 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5243 \begin_inset Text
5244
5245 \begin_layout Plain Layout
5246 555
5247 \end_layout
5248
5249 \end_inset
5250 </cell>
5251 </row>
5252 <row>
5253 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5254 \begin_inset Text
5255
5256 \begin_layout Plain Layout
5257
5258 \series bold
5259 Tacchelli
5260 \end_layout
5261
5262 \end_inset
5263 </cell>
5264 <cell alignment="center" valignment="top" usebox="none">
5265 \begin_inset Text
5266
5267 \begin_layout Plain Layout
5268 Ugo
5269 \end_layout
5270
5271 \end_inset
5272 </cell>
5273 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5274 \begin_inset Text
5275
5276 \begin_layout Plain Layout
5277 555
5278 \end_layout
5279
5280 \end_inset
5281 </cell>
5282 </row>
5283 <row>
5284 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5285 \begin_inset Text
5286
5287 \begin_layout Plain Layout
5288
5289 \series bold
5290 Tezzele
5291 \end_layout
5292
5293 \end_inset
5294 </cell>
5295 <cell alignment="center" valignment="top" usebox="none">
5296 \begin_inset Text
5297
5298 \begin_layout Plain Layout
5299 Margit
5300 \end_layout
5301
5302 \end_inset
5303 </cell>
5304 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5305 \begin_inset Text
5306
5307 \begin_layout Plain Layout
5308 555
5309 \end_layout
5310
5311 \end_inset
5312 </cell>
5313 </row>
5314 <row>
5315 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5316 \begin_inset Text
5317
5318 \begin_layout Plain Layout
5319
5320 \series bold
5321 Unterkalmsteiner
5322 \end_layout
5323
5324 \end_inset
5325 </cell>
5326 <cell alignment="center" valignment="top" usebox="none">
5327 \begin_inset Text
5328
5329 \begin_layout Plain Layout
5330 Frieda
5331 \end_layout
5332
5333 \end_inset
5334 </cell>
5335 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5336 \begin_inset Text
5337
5338 \begin_layout Plain Layout
5339 555
5340 \end_layout
5341
5342 \end_inset
5343 </cell>
5344 </row>
5345 <row>
5346 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5347 \begin_inset Text
5348
5349 \begin_layout Plain Layout
5350
5351 \series bold
5352 Vieider
5353 \end_layout
5354
5355 \end_inset
5356 </cell>
5357 <cell alignment="center" valignment="top" usebox="none">
5358 \begin_inset Text
5359
5360 \begin_layout Plain Layout
5361 Hilde
5362 \end_layout
5363
5364 \end_inset
5365 </cell>
5366 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5367 \begin_inset Text
5368
5369 \begin_layout Plain Layout
5370 555
5371 \end_layout
5372
5373 \end_inset
5374 </cell>
5375 </row>
5376 <row>
5377 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5378 \begin_inset Text
5379
5380 \begin_layout Plain Layout
5381
5382 \series bold
5383 Vigna
5384 \end_layout
5385
5386 \end_inset
5387 </cell>
5388 <cell alignment="center" valignment="top" usebox="none">
5389 \begin_inset Text
5390
5391 \begin_layout Plain Layout
5392 Jürgen
5393 \end_layout
5394
5395 \end_inset
5396 </cell>
5397 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5398 \begin_inset Text
5399
5400 \begin_layout Plain Layout
5401 999
5402 \end_layout
5403
5404 \end_inset
5405 </cell>
5406 </row>
5407 <row>
5408 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5409 \begin_inset Text
5410
5411 \begin_layout Plain Layout
5412
5413 \series bold
5414 Weber
5415 \end_layout
5416
5417 \end_inset
5418 </cell>
5419 <cell alignment="center" valignment="top" usebox="none">
5420 \begin_inset Text
5421
5422 \begin_layout Plain Layout
5423 Maurizio
5424 \end_layout
5425
5426 \end_inset
5427 </cell>
5428 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5429 \begin_inset Text
5430
5431 \begin_layout Plain Layout
5432 555
5433 \end_layout
5434
5435 \end_inset
5436 </cell>
5437 </row>
5438 <row>
5439 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5440 \begin_inset Text
5441
5442 \begin_layout Plain Layout
5443
5444 \series bold
5445 Winkler
5446 \end_layout
5447
5448 \end_inset
5449 </cell>
5450 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5451 \begin_inset Text
5452
5453 \begin_layout Plain Layout
5454 Franz
5455 \end_layout
5456
5457 \end_inset
5458 </cell>
5459 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5460 \begin_inset Text
5461
5462 \begin_layout Plain Layout
5463 555
5464 \end_layout
5465
5466 \end_inset
5467 </cell>
5468 </row>
5469 <row endlastfoot="true">
5470 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5471 \begin_inset Text
5472
5473 \begin_layout Plain Layout
5474 end
5475 \end_layout
5476
5477 \end_inset
5478 </cell>
5479 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5480 \begin_inset Text
5481
5482 \begin_layout Plain Layout
5483
5484 \end_layout
5485
5486 \end_inset
5487 </cell>
5488 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5489 \begin_inset Text
5490
5491 \begin_layout Plain Layout
5492
5493 \end_layout
5494
5495 \end_inset
5496 </cell>
5497 </row>
5498 </lyxtabular>
5499
5500 \end_inset
5501
5502
5503 \begin_inset ERT
5504 status collapsed
5505
5506 \begin_layout Plain Layout
5507
5508
5509 \backslash
5510 addtocounter{table}{-1}
5511 \end_layout
5512
5513 \end_inset
5514
5515
5516 \begin_inset Note Note
5517 status collapsed
5518
5519 \begin_layout Plain Layout
5520 See the first greyed-out note in section
5521 \begin_inset space ~
5522 \end_inset
5523
5524
5525 \begin_inset CommandInset ref
5526 LatexCommand ref
5527 reference "sub:Longtable-Captions"
5528
5529 \end_inset
5530
5531  for an explanation of this command.
5532 \end_layout
5533
5534 \end_inset
5535
5536
5537 \end_layout
5538
5539 \begin_layout Subsection
5540 Footnotes in Longtables
5541 \begin_inset CommandInset label
5542 LatexCommand label
5543 name "sub:Footnotes-in-Longtables"
5544
5545 \end_inset
5546
5547
5548 \begin_inset Index idx
5549 status collapsed
5550
5551 \begin_layout Plain Layout
5552 Longtables ! Footnotes
5553 \end_layout
5554
5555 \end_inset
5556
5557
5558 \end_layout
5559
5560 \begin_layout Standard
5561 Footnotes can be inserted to every longtable cell.
5562  They appear at the bottom of the page where the table cell with the footnote
5563  appears.
5564  Table
5565 \begin_inset space ~
5566 \end_inset
5567
5568
5569 \begin_inset CommandInset ref
5570 LatexCommand ref
5571 reference "tab:DiffCaptions"
5572
5573 \end_inset
5574
5575  has for example a footnote.
5576 \end_layout
5577
5578 \begin_layout Subsection
5579 Longtable Alignment
5580 \begin_inset Index idx
5581 status collapsed
5582
5583 \begin_layout Plain Layout
5584 Longtables ! Alignment
5585 \end_layout
5586
5587 \end_inset
5588
5589
5590 \end_layout
5591
5592 \begin_layout Standard
5593 The horizontal alignment of longtables can be set in the table settings
5594  dialog.
5595  For left- and right-alignment the table will be directly at the page border.
5596  To add space between the table and the border one has to set the alignment
5597  to center and change the value of the LaTeX-lengths 
5598 \series bold
5599
5600 \backslash
5601 LTleft 
5602 \series default
5603 or 
5604 \series bold
5605
5606 \backslash
5607 LTright
5608 \series default
5609  by inserting this line as TeX-Code before the longtable:
5610 \end_layout
5611
5612 \begin_layout Standard
5613
5614 \series bold
5615
5616 \backslash
5617 setlength{
5618 \backslash
5619 LTleft}{value}
5620 \end_layout
5621
5622 \begin_layout Standard
5623 The value can have any of the units listed in Table
5624 \begin_inset space ~
5625 \end_inset
5626
5627
5628 \begin_inset CommandInset ref
5629 LatexCommand ref
5630 reference "tab:Units"
5631
5632 \end_inset
5633
5634 .
5635  
5636 \series bold
5637
5638 \backslash
5639 LTleft
5640 \series default
5641  controls the horizontal distance from the left page border to the longtable,
5642  
5643 \series bold
5644
5645 \backslash
5646 LTright
5647 \series default
5648  the distance from the right side.
5649  The default value for both lengths is 
5650 \series bold
5651
5652 \backslash
5653 fill
5654 \series default
5655 , which is in this case the same as an horizontal fill in LyX.
5656 \end_layout
5657
5658 \begin_layout Standard
5659 The following longtable was centered and 
5660 \series bold
5661
5662 \backslash
5663 LTleft
5664 \series default
5665  set to 
5666 \family sans
5667 0.1
5668 \backslash
5669 columnwidth
5670 \family default
5671 :
5672 \begin_inset ERT
5673 status collapsed
5674
5675 \begin_layout Plain Layout
5676
5677
5678 \backslash
5679 setlength{
5680 \backslash
5681 LTleft}{0.1
5682 \backslash
5683 columnwidth}
5684 \end_layout
5685
5686 \end_inset
5687
5688
5689 \end_layout
5690
5691 \begin_layout Standard
5692 \begin_inset Tabular
5693 <lyxtabular version="3" rows="5" columns="5">
5694 <features islongtable="true" longtabularalignment="center">
5695 <column alignment="center" valignment="top" width="0">
5696 <column alignment="center" valignment="top" width="0pt">
5697 <column alignment="center" valignment="top" width="0">
5698 <column alignment="center" valignment="top" width="0">
5699 <column alignment="center" valignment="top" width="0">
5700 <row>
5701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5702 \begin_inset Text
5703
5704 \begin_layout Plain Layout
5705 1
5706 \end_layout
5707
5708 \end_inset
5709 </cell>
5710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5711 \begin_inset Text
5712
5713 \begin_layout Plain Layout
5714 2
5715 \end_layout
5716
5717 \end_inset
5718 </cell>
5719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5720 \begin_inset Text
5721
5722 \begin_layout Plain Layout
5723 3
5724 \end_layout
5725
5726 \end_inset
5727 </cell>
5728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5729 \begin_inset Text
5730
5731 \begin_layout Plain Layout
5732 4
5733 \end_layout
5734
5735 \end_inset
5736 </cell>
5737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5738 \begin_inset Text
5739
5740 \begin_layout Plain Layout
5741 5
5742 \end_layout
5743
5744 \end_inset
5745 </cell>
5746 </row>
5747 <row>
5748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5749 \begin_inset Text
5750
5751 \begin_layout Plain Layout
5752 asd
5753 \end_layout
5754
5755 \end_inset
5756 </cell>
5757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5758 \begin_inset Text
5759
5760 \begin_layout Plain Layout
5761 s
5762 \end_layout
5763
5764 \end_inset
5765 </cell>
5766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5767 \begin_inset Text
5768
5769 \begin_layout Plain Layout
5770 s
5771 \end_layout
5772
5773 \end_inset
5774 </cell>
5775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5776 \begin_inset Text
5777
5778 \begin_layout Plain Layout
5779 s
5780 \end_layout
5781
5782 \end_inset
5783 </cell>
5784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5785 \begin_inset Text
5786
5787 \begin_layout Plain Layout
5788 asd
5789 \end_layout
5790
5791 \end_inset
5792 </cell>
5793 </row>
5794 <row>
5795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5796 \begin_inset Text
5797
5798 \begin_layout Plain Layout
5799 asd
5800 \end_layout
5801
5802 \end_inset
5803 </cell>
5804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5805 \begin_inset Text
5806
5807 \begin_layout Plain Layout
5808 s
5809 \end_layout
5810
5811 \end_inset
5812 </cell>
5813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5814 \begin_inset Text
5815
5816 \begin_layout Plain Layout
5817 s
5818 \end_layout
5819
5820 \end_inset
5821 </cell>
5822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5823 \begin_inset Text
5824
5825 \begin_layout Plain Layout
5826 s
5827 \end_layout
5828
5829 \end_inset
5830 </cell>
5831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5832 \begin_inset Text
5833
5834 \begin_layout Plain Layout
5835 asd
5836 \end_layout
5837
5838 \end_inset
5839 </cell>
5840 </row>
5841 <row>
5842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5843 \begin_inset Text
5844
5845 \begin_layout Plain Layout
5846 asd
5847 \end_layout
5848
5849 \end_inset
5850 </cell>
5851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5852 \begin_inset Text
5853
5854 \begin_layout Plain Layout
5855 s
5856 \end_layout
5857
5858 \end_inset
5859 </cell>
5860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5861 \begin_inset Text
5862
5863 \begin_layout Plain Layout
5864 s
5865 \end_layout
5866
5867 \end_inset
5868 </cell>
5869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5870 \begin_inset Text
5871
5872 \begin_layout Plain Layout
5873 s
5874 \end_layout
5875
5876 \end_inset
5877 </cell>
5878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5879 \begin_inset Text
5880
5881 \begin_layout Plain Layout
5882 asd
5883 \end_layout
5884
5885 \end_inset
5886 </cell>
5887 </row>
5888 <row>
5889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5890 \begin_inset Text
5891
5892 \begin_layout Plain Layout
5893 asd
5894 \end_layout
5895
5896 \end_inset
5897 </cell>
5898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5899 \begin_inset Text
5900
5901 \begin_layout Plain Layout
5902 asd
5903 \end_layout
5904
5905 \end_inset
5906 </cell>
5907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5908 \begin_inset Text
5909
5910 \begin_layout Plain Layout
5911 asd
5912 \end_layout
5913
5914 \end_inset
5915 </cell>
5916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5917 \begin_inset Text
5918
5919 \begin_layout Plain Layout
5920 asd
5921 \end_layout
5922
5923 \end_inset
5924 </cell>
5925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5926 \begin_inset Text
5927
5928 \begin_layout Plain Layout
5929 asd
5930 \end_layout
5931
5932 \end_inset
5933 </cell>
5934 </row>
5935 </lyxtabular>
5936
5937 \end_inset
5938
5939
5940 \begin_inset ERT
5941 status collapsed
5942
5943 \begin_layout Plain Layout
5944
5945
5946 \backslash
5947 setlength{
5948 \backslash
5949 LTleft}{
5950 \backslash
5951 fill}
5952 \end_layout
5953
5954 \end_inset
5955
5956
5957 \begin_inset ERT
5958 status collapsed
5959
5960 \begin_layout Plain Layout
5961
5962
5963 \backslash
5964 addtocounter{table}{-1}
5965 \end_layout
5966
5967 \end_inset
5968
5969
5970 \begin_inset Note Note
5971 status collapsed
5972
5973 \begin_layout Plain Layout
5974 See the first greyed-out note in section
5975 \begin_inset space ~
5976 \end_inset
5977
5978
5979 \begin_inset CommandInset ref
5980 LatexCommand ref
5981 reference "sub:Longtable-Captions"
5982
5983 \end_inset
5984
5985  for an explanation of this command.
5986 \end_layout
5987
5988 \end_inset
5989
5990
5991 \end_layout
5992
5993 \begin_layout Subsection
5994 Longtable Captions
5995 \begin_inset Index idx
5996 status collapsed
5997
5998 \begin_layout Plain Layout
5999 Longtables ! Captions
6000 \end_layout
6001
6002 \end_inset
6003
6004
6005 \begin_inset CommandInset label
6006 LatexCommand label
6007 name "sub:Longtable-Captions"
6008
6009 \end_inset
6010
6011
6012 \end_layout
6013
6014 \begin_layout Standard
6015 A longtable cannot be put into a table float because floats can only be
6016  on one page.
6017  But the caption environment of floats can also be used for longtables when
6018  you use the longtable option 
6019 \family sans
6020 Caption
6021 \family default
6022  as described in sec.
6023 \begin_inset space \thinspace{}
6024 \end_inset
6025
6026
6027 \begin_inset CommandInset ref
6028 LatexCommand ref
6029 reference "sec:Longtables"
6030
6031 \end_inset
6032
6033 .
6034  Only one table row can contain the caption.
6035 \end_layout
6036
6037 \begin_layout Standard
6038 Here is a short longtable to see how it works:
6039 \end_layout
6040
6041 \begin_layout Standard
6042 \begin_inset Tabular
6043 <lyxtabular version="3" rows="6" columns="5">
6044 <features islongtable="true" longtabularalignment="center">
6045 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
6051 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6052 \begin_inset Text
6053
6054 \begin_layout Plain Layout
6055 \begin_inset Caption
6056
6057 \begin_layout Plain Layout
6058 Longtable with caption
6059 \begin_inset Argument
6060 status open
6061
6062 \begin_layout Plain Layout
6063 Longtable
6064 \end_layout
6065
6066 \end_inset
6067
6068
6069 \end_layout
6070
6071 \end_inset
6072
6073
6074 \end_layout
6075
6076 \end_inset
6077 </cell>
6078 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6079 \begin_inset Text
6080
6081 \begin_layout Plain Layout
6082
6083 \end_layout
6084
6085 \end_inset
6086 </cell>
6087 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6088 \begin_inset Text
6089
6090 \begin_layout Plain Layout
6091
6092 \end_layout
6093
6094 \end_inset
6095 </cell>
6096 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6097 \begin_inset Text
6098
6099 \begin_layout Plain Layout
6100
6101 \end_layout
6102
6103 \end_inset
6104 </cell>
6105 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6106 \begin_inset Text
6107
6108 \begin_layout Plain Layout
6109
6110 \end_layout
6111
6112 \end_inset
6113 </cell>
6114 </row>
6115 <row>
6116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6117 \begin_inset Text
6118
6119 \begin_layout Plain Layout
6120 1
6121 \end_layout
6122
6123 \end_inset
6124 </cell>
6125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6126 \begin_inset Text
6127
6128 \begin_layout Plain Layout
6129 2
6130 \end_layout
6131
6132 \end_inset
6133 </cell>
6134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6135 \begin_inset Text
6136
6137 \begin_layout Plain Layout
6138 3
6139 \end_layout
6140
6141 \end_inset
6142 </cell>
6143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6144 \begin_inset Text
6145
6146 \begin_layout Plain Layout
6147 4
6148 \end_layout
6149
6150 \end_inset
6151 </cell>
6152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6153 \begin_inset Text
6154
6155 \begin_layout Plain Layout
6156 5
6157 \end_layout
6158
6159 \end_inset
6160 </cell>
6161 </row>
6162 <row>
6163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6164 \begin_inset Text
6165
6166 \begin_layout Plain Layout
6167 asd
6168 \end_layout
6169
6170 \end_inset
6171 </cell>
6172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6173 \begin_inset Text
6174
6175 \begin_layout Plain Layout
6176 s
6177 \end_layout
6178
6179 \end_inset
6180 </cell>
6181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6182 \begin_inset Text
6183
6184 \begin_layout Plain Layout
6185 s
6186 \end_layout
6187
6188 \end_inset
6189 </cell>
6190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6191 \begin_inset Text
6192
6193 \begin_layout Plain Layout
6194 s
6195 \end_layout
6196
6197 \end_inset
6198 </cell>
6199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6200 \begin_inset Text
6201
6202 \begin_layout Plain Layout
6203 asd
6204 \end_layout
6205
6206 \end_inset
6207 </cell>
6208 </row>
6209 <row>
6210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6211 \begin_inset Text
6212
6213 \begin_layout Plain Layout
6214 asd
6215 \end_layout
6216
6217 \end_inset
6218 </cell>
6219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6220 \begin_inset Text
6221
6222 \begin_layout Plain Layout
6223 s
6224 \end_layout
6225
6226 \end_inset
6227 </cell>
6228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6229 \begin_inset Text
6230
6231 \begin_layout Plain Layout
6232 s
6233 \end_layout
6234
6235 \end_inset
6236 </cell>
6237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6238 \begin_inset Text
6239
6240 \begin_layout Plain Layout
6241 s
6242 \end_layout
6243
6244 \end_inset
6245 </cell>
6246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6247 \begin_inset Text
6248
6249 \begin_layout Plain Layout
6250 asd
6251 \end_layout
6252
6253 \end_inset
6254 </cell>
6255 </row>
6256 <row>
6257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6258 \begin_inset Text
6259
6260 \begin_layout Plain Layout
6261 asd
6262 \end_layout
6263
6264 \end_inset
6265 </cell>
6266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6267 \begin_inset Text
6268
6269 \begin_layout Plain Layout
6270 s
6271 \end_layout
6272
6273 \end_inset
6274 </cell>
6275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6276 \begin_inset Text
6277
6278 \begin_layout Plain Layout
6279 s
6280 \end_layout
6281
6282 \end_inset
6283 </cell>
6284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6285 \begin_inset Text
6286
6287 \begin_layout Plain Layout
6288 s
6289 \end_layout
6290
6291 \end_inset
6292 </cell>
6293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6294 \begin_inset Text
6295
6296 \begin_layout Plain Layout
6297 asd
6298 \end_layout
6299
6300 \end_inset
6301 </cell>
6302 </row>
6303 <row>
6304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6305 \begin_inset Text
6306
6307 \begin_layout Plain Layout
6308 asd
6309 \end_layout
6310
6311 \end_inset
6312 </cell>
6313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6314 \begin_inset Text
6315
6316 \begin_layout Plain Layout
6317 asd
6318 \end_layout
6319
6320 \end_inset
6321 </cell>
6322 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6323 \begin_inset Text
6324
6325 \begin_layout Plain Layout
6326 asd
6327 \end_layout
6328
6329 \end_inset
6330 </cell>
6331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6332 \begin_inset Text
6333
6334 \begin_layout Plain Layout
6335 asd
6336 \end_layout
6337
6338 \end_inset
6339 </cell>
6340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6341 \begin_inset Text
6342
6343 \begin_layout Plain Layout
6344 asd
6345 \end_layout
6346
6347 \end_inset
6348 </cell>
6349 </row>
6350 </lyxtabular>
6351
6352 \end_inset
6353
6354
6355 \end_layout
6356
6357 \begin_layout Standard
6358 \begin_inset VSpace medskip
6359 \end_inset
6360
6361
6362 \begin_inset Note Greyedout
6363 status open
6364
6365 \begin_layout Plain Layout
6366
6367 \series bold
6368 Note
6369 \begin_inset space ~
6370 \end_inset
6371
6372 1:
6373 \series default
6374  The table number is increased for for every longtable, even if you did
6375  not set a caption for it.
6376  For this reason you could have the case that e.
6377 \begin_inset space \thinspace{}
6378 \end_inset
6379
6380 g.
6381 \begin_inset space \space{}
6382 \end_inset
6383
6384 Table
6385 \begin_inset space ~
6386 \end_inset
6387
6388 2.4 follows Table
6389 \begin_inset space ~
6390 \end_inset
6391
6392 2.1 in the list of tables if there are two longtables without captions.
6393  To avoid this you can add the following command in TeX-Code after every
6394  longtable without a caption:
6395 \end_layout
6396
6397 \begin_layout Plain Layout
6398
6399 \series bold
6400
6401 \backslash
6402 addtocounter{table}{-1}
6403 \end_layout
6404
6405 \begin_layout Plain Layout
6406 This is not needed when none of your longtables have a caption and you add
6407  the following code to the document preamble:
6408 \end_layout
6409
6410 \begin_layout Plain Layout
6411
6412 \series bold
6413
6414 \backslash
6415 let
6416 \backslash
6417 myEnd
6418 \backslash
6419 endlongtable
6420 \begin_inset Newline newline
6421 \end_inset
6422
6423
6424 \backslash
6425 renewcommand{
6426 \backslash
6427 endlongtable}{
6428 \backslash
6429 myEnd
6430 \backslash
6431 addtocounter{table}{-1}}
6432 \end_layout
6433
6434 \end_inset
6435
6436
6437 \end_layout
6438
6439 \begin_layout Standard
6440 \begin_inset Note Greyedout
6441 status open
6442
6443 \begin_layout Plain Layout
6444
6445 \series bold
6446 Note
6447 \begin_inset space ~
6448 \end_inset
6449
6450 2:
6451 \series default
6452  If you are using
6453 \series bold
6454  hyperref
6455 \series default
6456
6457 \begin_inset Index idx
6458 status collapsed
6459
6460 \begin_layout Plain Layout
6461 LaTeX-packages ! hyperref
6462 \end_layout
6463
6464 \end_inset
6465
6466  in the 
6467 \family sans
6468 PDF Properties
6469 \family default
6470  of the 
6471 \family sans
6472 Document Settings
6473 \family default
6474  dialog to link cross-references, the link to a longtable caption will always
6475  point to the beginning of the document.
6476 \end_layout
6477
6478 \end_inset
6479
6480
6481 \end_layout
6482
6483 \begin_layout Subsubsection
6484 References to Longtables
6485 \begin_inset Index idx
6486 status collapsed
6487
6488 \begin_layout Plain Layout
6489 Longtables ! References
6490 \end_layout
6491
6492 \end_inset
6493
6494
6495 \end_layout
6496
6497 \begin_layout Standard
6498 \begin_inset Tabular
6499 <lyxtabular version="3" rows="6" columns="5">
6500 <features islongtable="true" longtabularalignment="center">
6501 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
6507 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6508 \begin_inset Text
6509
6510 \begin_layout Plain Layout
6511 \begin_inset Caption
6512
6513 \begin_layout Plain Layout
6514 Referenced longtable
6515 \begin_inset CommandInset label
6516 LatexCommand label
6517 name "tab:RefExample"
6518
6519 \end_inset
6520
6521
6522 \end_layout
6523
6524 \end_inset
6525
6526
6527 \end_layout
6528
6529 \end_inset
6530 </cell>
6531 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6532 \begin_inset Text
6533
6534 \begin_layout Plain Layout
6535
6536 \end_layout
6537
6538 \end_inset
6539 </cell>
6540 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6541 \begin_inset Text
6542
6543 \begin_layout Plain Layout
6544
6545 \end_layout
6546
6547 \end_inset
6548 </cell>
6549 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6550 \begin_inset Text
6551
6552 \begin_layout Plain Layout
6553
6554 \end_layout
6555
6556 \end_inset
6557 </cell>
6558 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6559 \begin_inset Text
6560
6561 \begin_layout Plain Layout
6562
6563 \end_layout
6564
6565 \end_inset
6566 </cell>
6567 </row>
6568 <row>
6569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6570 \begin_inset Text
6571
6572 \begin_layout Plain Layout
6573 1
6574 \end_layout
6575
6576 \end_inset
6577 </cell>
6578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6579 \begin_inset Text
6580
6581 \begin_layout Plain Layout
6582 2
6583 \end_layout
6584
6585 \end_inset
6586 </cell>
6587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6588 \begin_inset Text
6589
6590 \begin_layout Plain Layout
6591 3
6592 \end_layout
6593
6594 \end_inset
6595 </cell>
6596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6597 \begin_inset Text
6598
6599 \begin_layout Plain Layout
6600 4
6601 \end_layout
6602
6603 \end_inset
6604 </cell>
6605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6606 \begin_inset Text
6607
6608 \begin_layout Plain Layout
6609 5
6610 \end_layout
6611
6612 \end_inset
6613 </cell>
6614 </row>
6615 <row>
6616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6617 \begin_inset Text
6618
6619 \begin_layout Plain Layout
6620 asd
6621 \end_layout
6622
6623 \end_inset
6624 </cell>
6625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6626 \begin_inset Text
6627
6628 \begin_layout Plain Layout
6629 s
6630 \end_layout
6631
6632 \end_inset
6633 </cell>
6634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6635 \begin_inset Text
6636
6637 \begin_layout Plain Layout
6638 s
6639 \end_layout
6640
6641 \end_inset
6642 </cell>
6643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6644 \begin_inset Text
6645
6646 \begin_layout Plain Layout
6647 s
6648 \end_layout
6649
6650 \end_inset
6651 </cell>
6652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6653 \begin_inset Text
6654
6655 \begin_layout Plain Layout
6656 asd
6657 \end_layout
6658
6659 \end_inset
6660 </cell>
6661 </row>
6662 <row>
6663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6664 \begin_inset Text
6665
6666 \begin_layout Plain Layout
6667 asd
6668 \end_layout
6669
6670 \end_inset
6671 </cell>
6672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6673 \begin_inset Text
6674
6675 \begin_layout Plain Layout
6676 s
6677 \end_layout
6678
6679 \end_inset
6680 </cell>
6681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_inset Text
6683
6684 \begin_layout Plain Layout
6685 s
6686 \end_layout
6687
6688 \end_inset
6689 </cell>
6690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6691 \begin_inset Text
6692
6693 \begin_layout Plain Layout
6694 s
6695 \end_layout
6696
6697 \end_inset
6698 </cell>
6699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6700 \begin_inset Text
6701
6702 \begin_layout Plain Layout
6703 asd
6704 \end_layout
6705
6706 \end_inset
6707 </cell>
6708 </row>
6709 <row>
6710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6711 \begin_inset Text
6712
6713 \begin_layout Plain Layout
6714 asd
6715 \end_layout
6716
6717 \end_inset
6718 </cell>
6719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6720 \begin_inset Text
6721
6722 \begin_layout Plain Layout
6723 s
6724 \end_layout
6725
6726 \end_inset
6727 </cell>
6728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6729 \begin_inset Text
6730
6731 \begin_layout Plain Layout
6732 s
6733 \end_layout
6734
6735 \end_inset
6736 </cell>
6737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6738 \begin_inset Text
6739
6740 \begin_layout Plain Layout
6741 s
6742 \end_layout
6743
6744 \end_inset
6745 </cell>
6746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6747 \begin_inset Text
6748
6749 \begin_layout Plain Layout
6750 asd
6751 \end_layout
6752
6753 \end_inset
6754 </cell>
6755 </row>
6756 <row>
6757 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6758 \begin_inset Text
6759
6760 \begin_layout Plain Layout
6761 asd
6762 \end_layout
6763
6764 \end_inset
6765 </cell>
6766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6767 \begin_inset Text
6768
6769 \begin_layout Plain Layout
6770 sad
6771 \end_layout
6772
6773 \end_inset
6774 </cell>
6775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6776 \begin_inset Text
6777
6778 \begin_layout Plain Layout
6779 asd
6780 \end_layout
6781
6782 \end_inset
6783 </cell>
6784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6785 \begin_inset Text
6786
6787 \begin_layout Plain Layout
6788 asd
6789 \end_layout
6790
6791 \end_inset
6792 </cell>
6793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6794 \begin_inset Text
6795
6796 \begin_layout Plain Layout
6797 asd
6798 \end_layout
6799
6800 \end_inset
6801 </cell>
6802 </row>
6803 </lyxtabular>
6804
6805 \end_inset
6806
6807
6808 \end_layout
6809
6810 \begin_layout Standard
6811 To reference a longtable, insert a label into the caption.
6812 \end_layout
6813
6814 \begin_layout Standard
6815 This is a reference to Table
6816 \begin_inset space ~
6817 \end_inset
6818
6819
6820 \begin_inset CommandInset ref
6821 LatexCommand ref
6822 reference "tab:RefExample"
6823
6824 \end_inset
6825
6826 .
6827 \end_layout
6828
6829 \begin_layout Standard
6830 The caption layout can be set together with all other captions of your document
6831  using the LaTeX-package 
6832 \series bold
6833 caption
6834 \series default
6835
6836 \begin_inset Index idx
6837 status collapsed
6838
6839 \begin_layout Plain Layout
6840 LaTeX-packages ! caption
6841 \end_layout
6842
6843 \end_inset
6844
6845 , see section
6846 \begin_inset space ~
6847 \end_inset
6848
6849
6850 \begin_inset CommandInset ref
6851 LatexCommand ref
6852 reference "sec:Caption-Formatting"
6853
6854 \end_inset
6855
6856 .
6857 \end_layout
6858
6859 \begin_layout Subsubsection
6860 Caption Width
6861 \begin_inset Index idx
6862 status collapsed
6863
6864 \begin_layout Plain Layout
6865 Longtables ! Caption Width
6866 \end_layout
6867
6868 \end_inset
6869
6870
6871 \end_layout
6872
6873 \begin_layout Standard
6874 The maximal width of of caption lines is defined by the length 
6875 \series bold
6876
6877 \backslash
6878 LTcapwidth
6879 \series default
6880 .
6881  Its default value is 4
6882 \begin_inset space \thinspace{}
6883 \end_inset
6884
6885 in.
6886  To change it add the following command to your document preamble or as
6887  TeX-Code into your document before the longtable that should be affected
6888 \end_layout
6889
6890 \begin_layout Standard
6891
6892 \series bold
6893
6894 \backslash
6895 setlength{
6896 \backslash
6897 LTcapwidth}{width}
6898 \end_layout
6899
6900 \begin_layout Standard
6901 where the width could have one of the units listed in appendix
6902 \begin_inset space ~
6903 \end_inset
6904
6905
6906 \begin_inset CommandInset ref
6907 LatexCommand ref
6908 reference "cha:Units-available-in"
6909
6910 \end_inset
6911
6912 .
6913 \end_layout
6914
6915 \begin_layout Standard
6916 The following tables show the difference:
6917 \end_layout
6918
6919 \begin_layout Standard
6920 \begin_inset Tabular
6921 <lyxtabular version="3" rows="6" columns="5">
6922 <features islongtable="true" longtabularalignment="center">
6923 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
6929 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6930 \begin_inset Text
6931
6932 \begin_layout Plain Layout
6933 \begin_inset Caption
6934
6935 \begin_layout Plain Layout
6936 long full title with default width long full title with default width long
6937  full title with default width
6938 \begin_inset Argument
6939 status collapsed
6940
6941 \begin_layout Plain Layout
6942 caption with default width
6943 \end_layout
6944
6945 \end_inset
6946
6947
6948 \end_layout
6949
6950 \end_inset
6951
6952
6953 \end_layout
6954
6955 \end_inset
6956 </cell>
6957 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6958 \begin_inset Text
6959
6960 \begin_layout Plain Layout
6961
6962 \end_layout
6963
6964 \end_inset
6965 </cell>
6966 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6967 \begin_inset Text
6968
6969 \begin_layout Plain Layout
6970
6971 \end_layout
6972
6973 \end_inset
6974 </cell>
6975 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6976 \begin_inset Text
6977
6978 \begin_layout Plain Layout
6979
6980 \end_layout
6981
6982 \end_inset
6983 </cell>
6984 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6985 \begin_inset Text
6986
6987 \begin_layout Plain Layout
6988
6989 \end_layout
6990
6991 \end_inset
6992 </cell>
6993 </row>
6994 <row>
6995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6996 \begin_inset Text
6997
6998 \begin_layout Plain Layout
6999 1
7000 \end_layout
7001
7002 \end_inset
7003 </cell>
7004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7005 \begin_inset Text
7006
7007 \begin_layout Plain Layout
7008 2
7009 \end_layout
7010
7011 \end_inset
7012 </cell>
7013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7014 \begin_inset Text
7015
7016 \begin_layout Plain Layout
7017 3
7018 \end_layout
7019
7020 \end_inset
7021 </cell>
7022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7023 \begin_inset Text
7024
7025 \begin_layout Plain Layout
7026 4
7027 \end_layout
7028
7029 \end_inset
7030 </cell>
7031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7032 \begin_inset Text
7033
7034 \begin_layout Plain Layout
7035 5
7036 \end_layout
7037
7038 \end_inset
7039 </cell>
7040 </row>
7041 <row>
7042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7043 \begin_inset Text
7044
7045 \begin_layout Plain Layout
7046 asd
7047 \end_layout
7048
7049 \end_inset
7050 </cell>
7051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7052 \begin_inset Text
7053
7054 \begin_layout Plain Layout
7055 s
7056 \end_layout
7057
7058 \end_inset
7059 </cell>
7060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7061 \begin_inset Text
7062
7063 \begin_layout Plain Layout
7064 s
7065 \end_layout
7066
7067 \end_inset
7068 </cell>
7069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7070 \begin_inset Text
7071
7072 \begin_layout Plain Layout
7073 s
7074 \end_layout
7075
7076 \end_inset
7077 </cell>
7078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7079 \begin_inset Text
7080
7081 \begin_layout Plain Layout
7082 asd
7083 \end_layout
7084
7085 \end_inset
7086 </cell>
7087 </row>
7088 <row>
7089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7090 \begin_inset Text
7091
7092 \begin_layout Plain Layout
7093 asd
7094 \end_layout
7095
7096 \end_inset
7097 </cell>
7098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7099 \begin_inset Text
7100
7101 \begin_layout Plain Layout
7102 s
7103 \end_layout
7104
7105 \end_inset
7106 </cell>
7107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7108 \begin_inset Text
7109
7110 \begin_layout Plain Layout
7111 s
7112 \end_layout
7113
7114 \end_inset
7115 </cell>
7116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7117 \begin_inset Text
7118
7119 \begin_layout Plain Layout
7120 s
7121 \end_layout
7122
7123 \end_inset
7124 </cell>
7125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7126 \begin_inset Text
7127
7128 \begin_layout Plain Layout
7129 asd
7130 \end_layout
7131
7132 \end_inset
7133 </cell>
7134 </row>
7135 <row>
7136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7137 \begin_inset Text
7138
7139 \begin_layout Plain Layout
7140 asd
7141 \end_layout
7142
7143 \end_inset
7144 </cell>
7145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7146 \begin_inset Text
7147
7148 \begin_layout Plain Layout
7149 s
7150 \end_layout
7151
7152 \end_inset
7153 </cell>
7154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7155 \begin_inset Text
7156
7157 \begin_layout Plain Layout
7158 s
7159 \end_layout
7160
7161 \end_inset
7162 </cell>
7163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7164 \begin_inset Text
7165
7166 \begin_layout Plain Layout
7167 s
7168 \end_layout
7169
7170 \end_inset
7171 </cell>
7172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7173 \begin_inset Text
7174
7175 \begin_layout Plain Layout
7176 asd
7177 \end_layout
7178
7179 \end_inset
7180 </cell>
7181 </row>
7182 <row>
7183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7184 \begin_inset Text
7185
7186 \begin_layout Plain Layout
7187 asd
7188 \end_layout
7189
7190 \end_inset
7191 </cell>
7192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7193 \begin_inset Text
7194
7195 \begin_layout Plain Layout
7196 sad
7197 \end_layout
7198
7199 \end_inset
7200 </cell>
7201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7202 \begin_inset Text
7203
7204 \begin_layout Plain Layout
7205 asd
7206 \end_layout
7207
7208 \end_inset
7209 </cell>
7210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7211 \begin_inset Text
7212
7213 \begin_layout Plain Layout
7214 asd
7215 \end_layout
7216
7217 \end_inset
7218 </cell>
7219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7220 \begin_inset Text
7221
7222 \begin_layout Plain Layout
7223 asd
7224 \end_layout
7225
7226 \end_inset
7227 </cell>
7228 </row>
7229 </lyxtabular>
7230
7231 \end_inset
7232
7233
7234 \end_layout
7235
7236 \begin_layout Standard
7237 \begin_inset ERT
7238 status collapsed
7239
7240 \begin_layout Plain Layout
7241
7242
7243 \backslash
7244 setlength{
7245 \backslash
7246 LTcapwidth}{5cm}
7247 \end_layout
7248
7249 \end_inset
7250
7251
7252 \begin_inset Tabular
7253 <lyxtabular version="3" rows="6" columns="5">
7254 <features islongtable="true" longtabularalignment="center">
7255 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
7261 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7262 \begin_inset Text
7263
7264 \begin_layout Plain Layout
7265 \begin_inset Caption
7266
7267 \begin_layout Plain Layout
7268 long full title with width set to 5
7269 \begin_inset space \thinspace{}
7270 \end_inset
7271
7272 cm long full title with width set to 5
7273 \begin_inset space \thinspace{}
7274 \end_inset
7275
7276 cm long full title with width set to 5
7277 \begin_inset space \thinspace{}
7278 \end_inset
7279
7280 cm
7281 \begin_inset Argument
7282 status collapsed
7283
7284 \begin_layout Plain Layout
7285 caption with width
7286 \begin_inset space \thinspace{}
7287 \end_inset
7288
7289 =
7290 \begin_inset space \thinspace{}
7291 \end_inset
7292
7293 5
7294 \begin_inset space \thinspace{}
7295 \end_inset
7296
7297 cm
7298 \end_layout
7299
7300 \end_inset
7301
7302
7303 \end_layout
7304
7305 \end_inset
7306
7307
7308 \end_layout
7309
7310 \end_inset
7311 </cell>
7312 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7313 \begin_inset Text
7314
7315 \begin_layout Plain Layout
7316
7317 \end_layout
7318
7319 \end_inset
7320 </cell>
7321 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7322 \begin_inset Text
7323
7324 \begin_layout Plain Layout
7325
7326 \end_layout
7327
7328 \end_inset
7329 </cell>
7330 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7331 \begin_inset Text
7332
7333 \begin_layout Plain Layout
7334
7335 \end_layout
7336
7337 \end_inset
7338 </cell>
7339 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7340 \begin_inset Text
7341
7342 \begin_layout Plain Layout
7343
7344 \end_layout
7345
7346 \end_inset
7347 </cell>
7348 </row>
7349 <row>
7350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7351 \begin_inset Text
7352
7353 \begin_layout Plain Layout
7354 1
7355 \end_layout
7356
7357 \end_inset
7358 </cell>
7359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7360 \begin_inset Text
7361
7362 \begin_layout Plain Layout
7363 2
7364 \end_layout
7365
7366 \end_inset
7367 </cell>
7368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7369 \begin_inset Text
7370
7371 \begin_layout Plain Layout
7372 3
7373 \end_layout
7374
7375 \end_inset
7376 </cell>
7377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7378 \begin_inset Text
7379
7380 \begin_layout Plain Layout
7381 4
7382 \end_layout
7383
7384 \end_inset
7385 </cell>
7386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7387 \begin_inset Text
7388
7389 \begin_layout Plain Layout
7390 5
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 </row>
7396 <row>
7397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7398 \begin_inset Text
7399
7400 \begin_layout Plain Layout
7401 asd
7402 \end_layout
7403
7404 \end_inset
7405 </cell>
7406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7407 \begin_inset Text
7408
7409 \begin_layout Plain Layout
7410 s
7411 \end_layout
7412
7413 \end_inset
7414 </cell>
7415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7416 \begin_inset Text
7417
7418 \begin_layout Plain Layout
7419 s
7420 \end_layout
7421
7422 \end_inset
7423 </cell>
7424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7425 \begin_inset Text
7426
7427 \begin_layout Plain Layout
7428 s
7429 \end_layout
7430
7431 \end_inset
7432 </cell>
7433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7434 \begin_inset Text
7435
7436 \begin_layout Plain Layout
7437 asd
7438 \end_layout
7439
7440 \end_inset
7441 </cell>
7442 </row>
7443 <row>
7444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7445 \begin_inset Text
7446
7447 \begin_layout Plain Layout
7448 asd
7449 \end_layout
7450
7451 \end_inset
7452 </cell>
7453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7454 \begin_inset Text
7455
7456 \begin_layout Plain Layout
7457 s
7458 \end_layout
7459
7460 \end_inset
7461 </cell>
7462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7463 \begin_inset Text
7464
7465 \begin_layout Plain Layout
7466 s
7467 \end_layout
7468
7469 \end_inset
7470 </cell>
7471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7472 \begin_inset Text
7473
7474 \begin_layout Plain Layout
7475 s
7476 \end_layout
7477
7478 \end_inset
7479 </cell>
7480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7481 \begin_inset Text
7482
7483 \begin_layout Plain Layout
7484 asd
7485 \end_layout
7486
7487 \end_inset
7488 </cell>
7489 </row>
7490 <row>
7491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7492 \begin_inset Text
7493
7494 \begin_layout Plain Layout
7495 asd
7496 \end_layout
7497
7498 \end_inset
7499 </cell>
7500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7501 \begin_inset Text
7502
7503 \begin_layout Plain Layout
7504 s
7505 \end_layout
7506
7507 \end_inset
7508 </cell>
7509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7510 \begin_inset Text
7511
7512 \begin_layout Plain Layout
7513 s
7514 \end_layout
7515
7516 \end_inset
7517 </cell>
7518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7519 \begin_inset Text
7520
7521 \begin_layout Plain Layout
7522 s
7523 \end_layout
7524
7525 \end_inset
7526 </cell>
7527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7528 \begin_inset Text
7529
7530 \begin_layout Plain Layout
7531 asd
7532 \end_layout
7533
7534 \end_inset
7535 </cell>
7536 </row>
7537 <row>
7538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7539 \begin_inset Text
7540
7541 \begin_layout Plain Layout
7542 asd
7543 \end_layout
7544
7545 \end_inset
7546 </cell>
7547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7548 \begin_inset Text
7549
7550 \begin_layout Plain Layout
7551 sad
7552 \end_layout
7553
7554 \end_inset
7555 </cell>
7556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7557 \begin_inset Text
7558
7559 \begin_layout Plain Layout
7560 asd
7561 \end_layout
7562
7563 \end_inset
7564 </cell>
7565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7566 \begin_inset Text
7567
7568 \begin_layout Plain Layout
7569 asd
7570 \end_layout
7571
7572 \end_inset
7573 </cell>
7574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7575 \begin_inset Text
7576
7577 \begin_layout Plain Layout
7578 asd
7579 \end_layout
7580
7581 \end_inset
7582 </cell>
7583 </row>
7584 </lyxtabular>
7585
7586 \end_inset
7587
7588
7589 \end_layout
7590
7591 \begin_layout Standard
7592 \begin_inset ERT
7593 status collapsed
7594
7595 \begin_layout Plain Layout
7596
7597
7598 \backslash
7599 setlength{
7600 \backslash
7601 LTcapwidth}{4in}
7602 \end_layout
7603
7604 \end_inset
7605
7606
7607 \end_layout
7608
7609 \begin_layout Standard
7610 \begin_inset Note Greyedout
7611 status open
7612
7613 \begin_layout Plain Layout
7614
7615 \series bold
7616 Note:
7617 \series default
7618  When the LaTeX-package 
7619 \series bold
7620 caption
7621 \series default
7622
7623 \begin_inset Index idx
7624 status collapsed
7625
7626 \begin_layout Plain Layout
7627 LaTeX-packages ! caption
7628 \end_layout
7629
7630 \end_inset
7631
7632  is used, as in this document, the full page width is used for the caption
7633  when you use the default value of 4
7634 \begin_inset space \thinspace{}
7635 \end_inset
7636
7637 in for 
7638 \series bold
7639
7640 \backslash
7641 LTcapwidth
7642 \series default
7643 .
7644  To get in this case exactly a 4
7645 \begin_inset space \thinspace{}
7646 \end_inset
7647
7648 in wide caption, you can either use a value slightly different from 4.0
7649 \begin_inset space \thinspace{}
7650 \end_inset
7651
7652 in, e.
7653 \begin_inset space \thinspace{}
7654 \end_inset
7655
7656 g.
7657 \begin_inset space \space{}
7658 \end_inset
7659
7660 3.99
7661 \begin_inset space \thinspace{}
7662 \end_inset
7663
7664 in, or the LaTeX-command 
7665 \series bold
7666
7667 \backslash
7668 captionsetup{width=value}
7669 \series default
7670  that is provided by the 
7671 \series bold
7672 caption
7673 \series default
7674 -package.
7675 \end_layout
7676
7677 \end_inset
7678
7679
7680 \end_layout
7681
7682 \begin_layout Subsubsection
7683 Different Captions for Table Pages
7684 \begin_inset Index idx
7685 status collapsed
7686
7687 \begin_layout Plain Layout
7688 Longtables ! Different Captions for Pages
7689 \end_layout
7690
7691 \end_inset
7692
7693
7694 \end_layout
7695
7696 \begin_layout Standard
7697 When the table captions for the following pages should differ from the one
7698  of the first table page, insert a caption with the TeX code command
7699 \end_layout
7700
7701 \begin_layout Standard
7702
7703 \series bold
7704
7705 \backslash
7706 caption*{caption text}
7707 \backslash
7708
7709 \backslash
7710 %
7711 \end_layout
7712
7713 \begin_layout Standard
7714 in a dummy caption row that is marked as a header.
7715  Table
7716 \begin_inset space ~
7717 \end_inset
7718
7719
7720 \begin_inset CommandInset ref
7721 LatexCommand ref
7722 reference "tab:DiffCaptions"
7723
7724 \end_inset
7725
7726  is an example of a longtable with different heading where the second caption
7727  doesn't include the table number.
7728 \end_layout
7729
7730 \begin_layout Standard
7731 \align center
7732 \begin_inset Tabular
7733 <lyxtabular version="3" rows="59" columns="3">
7734 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7735 <column alignment="left" valignment="top" width="0cm">
7736 <column alignment="left" valignment="top" width="0pt">
7737 <column alignment="center" valignment="top" width="0pt">
7738 <row caption="true">
7739 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7740 \begin_inset Text
7741
7742 \begin_layout Plain Layout
7743 \begin_inset Caption
7744
7745 \begin_layout Plain Layout
7746 Example Phone List
7747 \begin_inset CommandInset label
7748 LatexCommand label
7749 name "tab:DiffCaptions"
7750
7751 \end_inset
7752
7753
7754 \begin_inset Argument
7755 status collapsed
7756
7757 \begin_layout Plain Layout
7758 Example Phone List
7759 \end_layout
7760
7761 \end_inset
7762
7763
7764 \end_layout
7765
7766 \end_inset
7767
7768
7769 \end_layout
7770
7771 \end_inset
7772 </cell>
7773 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7774 \begin_inset Text
7775
7776 \begin_layout Plain Layout
7777
7778 \end_layout
7779
7780 \end_inset
7781 </cell>
7782 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7783 \begin_inset Text
7784
7785 \begin_layout Plain Layout
7786
7787 \end_layout
7788
7789 \end_inset
7790 </cell>
7791 </row>
7792 <row endfirsthead="true">
7793 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7794 \begin_inset Text
7795
7796 \begin_layout Plain Layout
7797
7798 \series bold
7799 Example Phone List (ignore the names)
7800 \end_layout
7801
7802 \end_inset
7803 </cell>
7804 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7805 \begin_inset Text
7806
7807 \begin_layout Plain Layout
7808
7809 \end_layout
7810
7811 \end_inset
7812 </cell>
7813 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7814 \begin_inset Text
7815
7816 \begin_layout Plain Layout
7817
7818 \end_layout
7819
7820 \end_inset
7821 </cell>
7822 </row>
7823 <row endfirsthead="true">
7824 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7825 \begin_inset Text
7826
7827 \begin_layout Plain Layout
7828
7829 \series bold
7830 NAME
7831 \end_layout
7832
7833 \end_inset
7834 </cell>
7835 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7836 \begin_inset Text
7837
7838 \begin_layout Plain Layout
7839
7840 \end_layout
7841
7842 \end_inset
7843 </cell>
7844 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7845 \begin_inset Text
7846
7847 \begin_layout Plain Layout
7848
7849 \series bold
7850 TEL.
7851 \end_layout
7852
7853 \end_inset
7854 </cell>
7855 </row>
7856 <row endhead="true">
7857 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7858 \begin_inset Text
7859
7860 \begin_layout Plain Layout
7861 \begin_inset ERT
7862 status open
7863
7864 \begin_layout Plain Layout
7865
7866
7867 \backslash
7868 caption*{Continued Example Phone List}
7869 \backslash
7870
7871 \backslash
7872 %
7873 \end_layout
7874
7875 \end_inset
7876
7877
7878 \end_layout
7879
7880 \end_inset
7881 </cell>
7882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7883 \begin_inset Text
7884
7885 \begin_layout Plain Layout
7886
7887 \end_layout
7888
7889 \end_inset
7890 </cell>
7891 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7892 \begin_inset Text
7893
7894 \begin_layout Plain Layout
7895
7896 \end_layout
7897
7898 \end_inset
7899 </cell>
7900 </row>
7901 <row endhead="true">
7902 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7903 \begin_inset Text
7904
7905 \begin_layout Plain Layout
7906
7907 \series bold
7908 Example Phone List
7909 \end_layout
7910
7911 \end_inset
7912 </cell>
7913 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7914 \begin_inset Text
7915
7916 \begin_layout Plain Layout
7917
7918 \end_layout
7919
7920 \end_inset
7921 </cell>
7922 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7923 \begin_inset Text
7924
7925 \begin_layout Plain Layout
7926
7927 \end_layout
7928
7929 \end_inset
7930 </cell>
7931 </row>
7932 <row endhead="true">
7933 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7934 \begin_inset Text
7935
7936 \begin_layout Plain Layout
7937
7938 \series bold
7939 NAME
7940 \end_layout
7941
7942 \end_inset
7943 </cell>
7944 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7945 \begin_inset Text
7946
7947 \begin_layout Plain Layout
7948
7949 \end_layout
7950
7951 \end_inset
7952 </cell>
7953 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7954 \begin_inset Text
7955
7956 \begin_layout Plain Layout
7957
7958 \series bold
7959 TEL.
7960 \end_layout
7961
7962 \end_inset
7963 </cell>
7964 </row>
7965 <row endfoot="true">
7966 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7967 \begin_inset Text
7968
7969 \begin_layout Plain Layout
7970 continued on next page
7971 \end_layout
7972
7973 \end_inset
7974 </cell>
7975 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7976 \begin_inset Text
7977
7978 \begin_layout Plain Layout
7979
7980 \end_layout
7981
7982 \end_inset
7983 </cell>
7984 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7985 \begin_inset Text
7986
7987 \begin_layout Plain Layout
7988
7989 \end_layout
7990
7991 \end_inset
7992 </cell>
7993 </row>
7994 <row>
7995 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7996 \begin_inset Text
7997
7998 \begin_layout Plain Layout
7999
8000 \series bold
8001 Annovi
8002 \end_layout
8003
8004 \end_inset
8005 </cell>
8006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8007 \begin_inset Text
8008
8009 \begin_layout Plain Layout
8010 Silvia
8011 \end_layout
8012
8013 \end_inset
8014 </cell>
8015 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
8016 \begin_inset Text
8017
8018 \begin_layout Plain Layout
8019 111
8020 \end_layout
8021
8022 \end_inset
8023 </cell>
8024 </row>
8025 <row>
8026 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8027 \begin_inset Text
8028
8029 \begin_layout Plain Layout
8030
8031 \series bold
8032 Bertoli
8033 \end_layout
8034
8035 \end_inset
8036 </cell>
8037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8038 \begin_inset Text
8039
8040 \begin_layout Plain Layout
8041 Stefano
8042 \end_layout
8043
8044 \end_inset
8045 </cell>
8046 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8047 \begin_inset Text
8048
8049 \begin_layout Plain Layout
8050 111
8051 \end_layout
8052
8053 \end_inset
8054 </cell>
8055 </row>
8056 <row>
8057 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8058 \begin_inset Text
8059
8060 \begin_layout Plain Layout
8061
8062 \series bold
8063 Bozzi
8064 \end_layout
8065
8066 \end_inset
8067 </cell>
8068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8069 \begin_inset Text
8070
8071 \begin_layout Plain Layout
8072 Walter
8073 \end_layout
8074
8075 \end_inset
8076 </cell>
8077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8078 \begin_inset Text
8079
8080 \begin_layout Plain Layout
8081 111
8082 \end_layout
8083
8084 \end_inset
8085 </cell>
8086 </row>
8087 <row>
8088 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8089 \begin_inset Text
8090
8091 \begin_layout Plain Layout
8092
8093 \series bold
8094 Cachia
8095 \end_layout
8096
8097 \end_inset
8098 </cell>
8099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8100 \begin_inset Text
8101
8102 \begin_layout Plain Layout
8103 Maria
8104 \end_layout
8105
8106 \end_inset
8107 </cell>
8108 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8109 \begin_inset Text
8110
8111 \begin_layout Plain Layout
8112 111
8113 \end_layout
8114
8115 \end_inset
8116 </cell>
8117 </row>
8118 <row>
8119 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8120 \begin_inset Text
8121
8122 \begin_layout Plain Layout
8123
8124 \series bold
8125 Cachia
8126 \end_layout
8127
8128 \end_inset
8129 </cell>
8130 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8131 \begin_inset Text
8132
8133 \begin_layout Plain Layout
8134 Maurizio
8135 \end_layout
8136
8137 \end_inset
8138 </cell>
8139 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8140 \begin_inset Text
8141
8142 \begin_layout Plain Layout
8143 111
8144 \end_layout
8145
8146 \end_inset
8147 </cell>
8148 </row>
8149 <row>
8150 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8151 \begin_inset Text
8152
8153 \begin_layout Plain Layout
8154
8155 \series bold
8156 Cinquemani
8157 \end_layout
8158
8159 \end_inset
8160 </cell>
8161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8162 \begin_inset Text
8163
8164 \begin_layout Plain Layout
8165 Giusi
8166 \end_layout
8167
8168 \end_inset
8169 </cell>
8170 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8171 \begin_inset Text
8172
8173 \begin_layout Plain Layout
8174 111
8175 \end_layout
8176
8177 \end_inset
8178 </cell>
8179 </row>
8180 <row>
8181 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8182 \begin_inset Text
8183
8184 \begin_layout Plain Layout
8185
8186 \series bold
8187 Colin
8188 \end_layout
8189
8190 \end_inset
8191 </cell>
8192 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8193 \begin_inset Text
8194
8195 \begin_layout Plain Layout
8196 Bernard
8197 \end_layout
8198
8199 \end_inset
8200 </cell>
8201 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8202 \begin_inset Text
8203
8204 \begin_layout Plain Layout
8205 111
8206 \end_layout
8207
8208 \end_inset
8209 </cell>
8210 </row>
8211 <row>
8212 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8213 \begin_inset Text
8214
8215 \begin_layout Plain Layout
8216
8217 \series bold
8218 Concli
8219 \end_layout
8220
8221 \end_inset
8222 </cell>
8223 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8224 \begin_inset Text
8225
8226 \begin_layout Plain Layout
8227 Gianfranco
8228 \end_layout
8229
8230 \end_inset
8231 </cell>
8232 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8233 \begin_inset Text
8234
8235 \begin_layout Plain Layout
8236 111
8237 \end_layout
8238
8239 \end_inset
8240 </cell>
8241 </row>
8242 <row>
8243 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8244 \begin_inset Text
8245
8246 \begin_layout Plain Layout
8247
8248 \series bold
8249 Dal Bosco
8250 \end_layout
8251
8252 \end_inset
8253 </cell>
8254 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8255 \begin_inset Text
8256
8257 \begin_layout Plain Layout
8258 Carolina
8259 \end_layout
8260
8261 \end_inset
8262 </cell>
8263 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8264 \begin_inset Text
8265
8266 \begin_layout Plain Layout
8267 111
8268 \end_layout
8269
8270 \end_inset
8271 </cell>
8272 </row>
8273 <row>
8274 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8275 \begin_inset Text
8276
8277 \begin_layout Plain Layout
8278
8279 \series bold
8280 Dalpiaz
8281 \end_layout
8282
8283 \end_inset
8284 </cell>
8285 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8286 \begin_inset Text
8287
8288 \begin_layout Plain Layout
8289 Annamaria
8290 \end_layout
8291
8292 \end_inset
8293 </cell>
8294 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8295 \begin_inset Text
8296
8297 \begin_layout Plain Layout
8298 111
8299 \end_layout
8300
8301 \end_inset
8302 </cell>
8303 </row>
8304 <row>
8305 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8306 \begin_inset Text
8307
8308 \begin_layout Plain Layout
8309
8310 \series bold
8311 Feliciello
8312 \end_layout
8313
8314 \end_inset
8315 </cell>
8316 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8317 \begin_inset Text
8318
8319 \begin_layout Plain Layout
8320 Domenico
8321 \end_layout
8322
8323 \end_inset
8324 </cell>
8325 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8326 \begin_inset Text
8327
8328 \begin_layout Plain Layout
8329 111
8330 \end_layout
8331
8332 \end_inset
8333 </cell>
8334 </row>
8335 <row>
8336 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8337 \begin_inset Text
8338
8339 \begin_layout Plain Layout
8340
8341 \series bold
8342 Focarelli
8343 \end_layout
8344
8345 \end_inset
8346 </cell>
8347 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8348 \begin_inset Text
8349
8350 \begin_layout Plain Layout
8351 Paola
8352 \end_layout
8353
8354 \end_inset
8355 </cell>
8356 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8357 \begin_inset Text
8358
8359 \begin_layout Plain Layout
8360 111
8361 \end_layout
8362
8363 \end_inset
8364 </cell>
8365 </row>
8366 <row>
8367 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8368 \begin_inset Text
8369
8370 \begin_layout Plain Layout
8371
8372 \series bold
8373 Galletti
8374 \end_layout
8375
8376 \end_inset
8377 </cell>
8378 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8379 \begin_inset Text
8380
8381 \begin_layout Plain Layout
8382 Oreste
8383 \end_layout
8384
8385 \end_inset
8386 </cell>
8387 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8388 \begin_inset Text
8389
8390 \begin_layout Plain Layout
8391 111
8392 \end_layout
8393
8394 \end_inset
8395 </cell>
8396 </row>
8397 <row>
8398 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8399 \begin_inset Text
8400
8401 \begin_layout Plain Layout
8402
8403 \series bold
8404 Gasparini
8405 \end_layout
8406
8407 \end_inset
8408 </cell>
8409 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8410 \begin_inset Text
8411
8412 \begin_layout Plain Layout
8413 Franca
8414 \end_layout
8415
8416 \end_inset
8417 </cell>
8418 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8419 \begin_inset Text
8420
8421 \begin_layout Plain Layout
8422 111
8423 \end_layout
8424
8425 \end_inset
8426 </cell>
8427 </row>
8428 <row>
8429 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8430 \begin_inset Text
8431
8432 \begin_layout Plain Layout
8433
8434 \series bold
8435 Rizzardi
8436 \series default
8437
8438 \begin_inset Foot
8439 status open
8440
8441 \begin_layout Plain Layout
8442 Example footnote
8443 \end_layout
8444
8445 \end_inset
8446
8447
8448 \end_layout
8449
8450 \end_inset
8451 </cell>
8452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8453 \begin_inset Text
8454
8455 \begin_layout Plain Layout
8456 Paola
8457 \end_layout
8458
8459 \end_inset
8460 </cell>
8461 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8462 \begin_inset Text
8463
8464 \begin_layout Plain Layout
8465 111
8466 \end_layout
8467
8468 \end_inset
8469 </cell>
8470 </row>
8471 <row>
8472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8473 \begin_inset Text
8474
8475 \begin_layout Plain Layout
8476
8477 \series bold
8478 Lassini
8479 \end_layout
8480
8481 \end_inset
8482 </cell>
8483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8484 \begin_inset Text
8485
8486 \begin_layout Plain Layout
8487 Giancarlo
8488 \end_layout
8489
8490 \end_inset
8491 </cell>
8492 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8493 \begin_inset Text
8494
8495 \begin_layout Plain Layout
8496 111
8497 \end_layout
8498
8499 \end_inset
8500 </cell>
8501 </row>
8502 <row>
8503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8504 \begin_inset Text
8505
8506 \begin_layout Plain Layout
8507
8508 \series bold
8509 Malfatti
8510 \end_layout
8511
8512 \end_inset
8513 </cell>
8514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8515 \begin_inset Text
8516
8517 \begin_layout Plain Layout
8518 Luciano
8519 \end_layout
8520
8521 \end_inset
8522 </cell>
8523 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8524 \begin_inset Text
8525
8526 \begin_layout Plain Layout
8527 111
8528 \end_layout
8529
8530 \end_inset
8531 </cell>
8532 </row>
8533 <row>
8534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8535 \begin_inset Text
8536
8537 \begin_layout Plain Layout
8538
8539 \series bold
8540 Malfatti
8541 \end_layout
8542
8543 \end_inset
8544 </cell>
8545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8546 \begin_inset Text
8547
8548 \begin_layout Plain Layout
8549 Valeriano
8550 \end_layout
8551
8552 \end_inset
8553 </cell>
8554 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8555 \begin_inset Text
8556
8557 \begin_layout Plain Layout
8558 111
8559 \end_layout
8560
8561 \end_inset
8562 </cell>
8563 </row>
8564 <row>
8565 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8566 \begin_inset Text
8567
8568 \begin_layout Plain Layout
8569
8570 \series bold
8571 Meneguzzo
8572 \end_layout
8573
8574 \end_inset
8575 </cell>
8576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8577 \begin_inset Text
8578
8579 \begin_layout Plain Layout
8580 Roberto
8581 \end_layout
8582
8583 \end_inset
8584 </cell>
8585 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8586 \begin_inset Text
8587
8588 \begin_layout Plain Layout
8589 111
8590 \end_layout
8591
8592 \end_inset
8593 </cell>
8594 </row>
8595 <row>
8596 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8597 \begin_inset Text
8598
8599 \begin_layout Plain Layout
8600
8601 \series bold
8602 Mezzadra
8603 \end_layout
8604
8605 \end_inset
8606 </cell>
8607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8608 \begin_inset Text
8609
8610 \begin_layout Plain Layout
8611 Roberto
8612 \end_layout
8613
8614 \end_inset
8615 </cell>
8616 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8617 \begin_inset Text
8618
8619 \begin_layout Plain Layout
8620 111
8621 \end_layout
8622
8623 \end_inset
8624 </cell>
8625 </row>
8626 <row>
8627 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8628 \begin_inset Text
8629
8630 \begin_layout Plain Layout
8631
8632 \series bold
8633 Pirpamer
8634 \end_layout
8635
8636 \end_inset
8637 </cell>
8638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8639 \begin_inset Text
8640
8641 \begin_layout Plain Layout
8642 Erich
8643 \end_layout
8644
8645 \end_inset
8646 </cell>
8647 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8648 \begin_inset Text
8649
8650 \begin_layout Plain Layout
8651 111
8652 \end_layout
8653
8654 \end_inset
8655 </cell>
8656 </row>
8657 <row>
8658 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8659 \begin_inset Text
8660
8661 \begin_layout Plain Layout
8662
8663 \series bold
8664 Pochiesa
8665 \end_layout
8666
8667 \end_inset
8668 </cell>
8669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8670 \begin_inset Text
8671
8672 \begin_layout Plain Layout
8673 Paolo
8674 \end_layout
8675
8676 \end_inset
8677 </cell>
8678 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8679 \begin_inset Text
8680
8681 \begin_layout Plain Layout
8682 111, 222
8683 \end_layout
8684
8685 \end_inset
8686 </cell>
8687 </row>
8688 <row>
8689 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8690 \begin_inset Text
8691
8692 \begin_layout Plain Layout
8693
8694 \series bold
8695 Radina
8696 \end_layout
8697
8698 \end_inset
8699 </cell>
8700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8701 \begin_inset Text
8702
8703 \begin_layout Plain Layout
8704 Claudio
8705 \end_layout
8706
8707 \end_inset
8708 </cell>
8709 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8710 \begin_inset Text
8711
8712 \begin_layout Plain Layout
8713 111
8714 \end_layout
8715
8716 \end_inset
8717 </cell>
8718 </row>
8719 <row>
8720 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8721 \begin_inset Text
8722
8723 \begin_layout Plain Layout
8724
8725 \series bold
8726 Stuffer
8727 \end_layout
8728
8729 \end_inset
8730 </cell>
8731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8732 \begin_inset Text
8733
8734 \begin_layout Plain Layout
8735 Oskar
8736 \end_layout
8737
8738 \end_inset
8739 </cell>
8740 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8741 \begin_inset Text
8742
8743 \begin_layout Plain Layout
8744 111
8745 \end_layout
8746
8747 \end_inset
8748 </cell>
8749 </row>
8750 <row>
8751 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8752 \begin_inset Text
8753
8754 \begin_layout Plain Layout
8755
8756 \series bold
8757 Tacchelli
8758 \end_layout
8759
8760 \end_inset
8761 </cell>
8762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8763 \begin_inset Text
8764
8765 \begin_layout Plain Layout
8766 Ugo
8767 \end_layout
8768
8769 \end_inset
8770 </cell>
8771 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8772 \begin_inset Text
8773
8774 \begin_layout Plain Layout
8775 111
8776 \end_layout
8777
8778 \end_inset
8779 </cell>
8780 </row>
8781 <row>
8782 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8783 \begin_inset Text
8784
8785 \begin_layout Plain Layout
8786
8787 \series bold
8788 Tezzele
8789 \end_layout
8790
8791 \end_inset
8792 </cell>
8793 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8794 \begin_inset Text
8795
8796 \begin_layout Plain Layout
8797 Margit
8798 \end_layout
8799
8800 \end_inset
8801 </cell>
8802 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8803 \begin_inset Text
8804
8805 \begin_layout Plain Layout
8806 111
8807 \end_layout
8808
8809 \end_inset
8810 </cell>
8811 </row>
8812 <row>
8813 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8814 \begin_inset Text
8815
8816 \begin_layout Plain Layout
8817
8818 \series bold
8819 Unterkalmsteiner
8820 \end_layout
8821
8822 \end_inset
8823 </cell>
8824 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8825 \begin_inset Text
8826
8827 \begin_layout Plain Layout
8828 Frieda
8829 \end_layout
8830
8831 \end_inset
8832 </cell>
8833 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8834 \begin_inset Text
8835
8836 \begin_layout Plain Layout
8837 111
8838 \end_layout
8839
8840 \end_inset
8841 </cell>
8842 </row>
8843 <row>
8844 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8845 \begin_inset Text
8846
8847 \begin_layout Plain Layout
8848
8849 \series bold
8850 Vieider
8851 \end_layout
8852
8853 \end_inset
8854 </cell>
8855 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8856 \begin_inset Text
8857
8858 \begin_layout Plain Layout
8859 Hilde
8860 \end_layout
8861
8862 \end_inset
8863 </cell>
8864 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8865 \begin_inset Text
8866
8867 \begin_layout Plain Layout
8868 111
8869 \end_layout
8870
8871 \end_inset
8872 </cell>
8873 </row>
8874 <row>
8875 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8876 \begin_inset Text
8877
8878 \begin_layout Plain Layout
8879
8880 \series bold
8881 Vigna
8882 \end_layout
8883
8884 \end_inset
8885 </cell>
8886 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8887 \begin_inset Text
8888
8889 \begin_layout Plain Layout
8890 Jürgen
8891 \end_layout
8892
8893 \end_inset
8894 </cell>
8895 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8896 \begin_inset Text
8897
8898 \begin_layout Plain Layout
8899 111
8900 \end_layout
8901
8902 \end_inset
8903 </cell>
8904 </row>
8905 <row>
8906 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8907 \begin_inset Text
8908
8909 \begin_layout Plain Layout
8910
8911 \series bold
8912 Weber
8913 \end_layout
8914
8915 \end_inset
8916 </cell>
8917 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8918 \begin_inset Text
8919
8920 \begin_layout Plain Layout
8921 Maurizio
8922 \end_layout
8923
8924 \end_inset
8925 </cell>
8926 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8927 \begin_inset Text
8928
8929 \begin_layout Plain Layout
8930 111
8931 \end_layout
8932
8933 \end_inset
8934 </cell>
8935 </row>
8936 <row>
8937 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8938 \begin_inset Text
8939
8940 \begin_layout Plain Layout
8941
8942 \series bold
8943 Winkler
8944 \end_layout
8945
8946 \end_inset
8947 </cell>
8948 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8949 \begin_inset Text
8950
8951 \begin_layout Plain Layout
8952 Franz
8953 \end_layout
8954
8955 \end_inset
8956 </cell>
8957 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8958 \begin_inset Text
8959
8960 \begin_layout Plain Layout
8961 111
8962 \end_layout
8963
8964 \end_inset
8965 </cell>
8966 </row>
8967 <row>
8968 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8969 \begin_inset Text
8970
8971 \begin_layout Plain Layout
8972  
8973 \end_layout
8974
8975 \end_inset
8976 </cell>
8977 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Plain Layout
8981
8982 \end_layout
8983
8984 \end_inset
8985 </cell>
8986 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8987 \begin_inset Text
8988
8989 \begin_layout Plain Layout
8990
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 </row>
8996 <row>
8997 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8998 \begin_inset Text
8999
9000 \begin_layout Plain Layout
9001
9002 \series bold
9003 Annovi
9004 \end_layout
9005
9006 \end_inset
9007 </cell>
9008 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9009 \begin_inset Text
9010
9011 \begin_layout Plain Layout
9012 Silvia
9013 \end_layout
9014
9015 \end_inset
9016 </cell>
9017 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9018 \begin_inset Text
9019
9020 \begin_layout Plain Layout
9021 555
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 </row>
9027 <row>
9028 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9029 \begin_inset Text
9030
9031 \begin_layout Plain Layout
9032
9033 \series bold
9034 Bertoli
9035 \end_layout
9036
9037 \end_inset
9038 </cell>
9039 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9040 \begin_inset Text
9041
9042 \begin_layout Plain Layout
9043 Stefano
9044 \end_layout
9045
9046 \end_inset
9047 </cell>
9048 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9049 \begin_inset Text
9050
9051 \begin_layout Plain Layout
9052 555
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 </row>
9058 <row>
9059 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9060 \begin_inset Text
9061
9062 \begin_layout Plain Layout
9063
9064 \series bold
9065 Bozzi
9066 \end_layout
9067
9068 \end_inset
9069 </cell>
9070 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9071 \begin_inset Text
9072
9073 \begin_layout Plain Layout
9074 Walter
9075 \end_layout
9076
9077 \end_inset
9078 </cell>
9079 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9080 \begin_inset Text
9081
9082 \begin_layout Plain Layout
9083 555
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 </row>
9089 <row>
9090 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9091 \begin_inset Text
9092
9093 \begin_layout Plain Layout
9094
9095 \series bold
9096 Cachia
9097 \end_layout
9098
9099 \end_inset
9100 </cell>
9101 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9102 \begin_inset Text
9103
9104 \begin_layout Plain Layout
9105 Maria
9106 \end_layout
9107
9108 \end_inset
9109 </cell>
9110 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9111 \begin_inset Text
9112
9113 \begin_layout Plain Layout
9114 555
9115 \end_layout
9116
9117 \end_inset
9118 </cell>
9119 </row>
9120 <row>
9121 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Plain Layout
9125
9126 \series bold
9127 Cachia
9128 \end_layout
9129
9130 \end_inset
9131 </cell>
9132 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9133 \begin_inset Text
9134
9135 \begin_layout Plain Layout
9136 Maurizio
9137 \end_layout
9138
9139 \end_inset
9140 </cell>
9141 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Plain Layout
9145 555
9146 \end_layout
9147
9148 \end_inset
9149 </cell>
9150 </row>
9151 <row>
9152 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Plain Layout
9156
9157 \series bold
9158 Cinquemani
9159 \end_layout
9160
9161 \end_inset
9162 </cell>
9163 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9164 \begin_inset Text
9165
9166 \begin_layout Plain Layout
9167 Giusi
9168 \end_layout
9169
9170 \end_inset
9171 </cell>
9172 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Plain Layout
9176 555
9177 \end_layout
9178
9179 \end_inset
9180 </cell>
9181 </row>
9182 <row>
9183 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Plain Layout
9187
9188 \series bold
9189 Colin
9190 \end_layout
9191
9192 \end_inset
9193 </cell>
9194 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9195 \begin_inset Text
9196
9197 \begin_layout Plain Layout
9198 Bernard
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9204 \begin_inset Text
9205
9206 \begin_layout Plain Layout
9207 555
9208 \end_layout
9209
9210 \end_inset
9211 </cell>
9212 </row>
9213 <row>
9214 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Plain Layout
9218
9219 \series bold
9220 Concli
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9226 \begin_inset Text
9227
9228 \begin_layout Plain Layout
9229 Gianfranco
9230 \end_layout
9231
9232 \end_inset
9233 </cell>
9234 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Plain Layout
9238 555
9239 \end_layout
9240
9241 \end_inset
9242 </cell>
9243 </row>
9244 <row>
9245 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Plain Layout
9249
9250 \series bold
9251 Dal Bosco
9252 \end_layout
9253
9254 \end_inset
9255 </cell>
9256 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9257 \begin_inset Text
9258
9259 \begin_layout Plain Layout
9260 Carolina
9261 \end_layout
9262
9263 \end_inset
9264 </cell>
9265 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Plain Layout
9269 555
9270 \end_layout
9271
9272 \end_inset
9273 </cell>
9274 </row>
9275 <row>
9276 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Plain Layout
9280
9281 \series bold
9282 Dalpiaz
9283 \end_layout
9284
9285 \end_inset
9286 </cell>
9287 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9288 \begin_inset Text
9289
9290 \begin_layout Plain Layout
9291 Annamaria
9292 \end_layout
9293
9294 \end_inset
9295 </cell>
9296 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Plain Layout
9300 555
9301 \end_layout
9302
9303 \end_inset
9304 </cell>
9305 </row>
9306 <row>
9307 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9308 \begin_inset Text
9309
9310 \begin_layout Plain Layout
9311
9312 \series bold
9313 Feliciello
9314 \end_layout
9315
9316 \end_inset
9317 </cell>
9318 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9319 \begin_inset Text
9320
9321 \begin_layout Plain Layout
9322 Domenico
9323 \end_layout
9324
9325 \end_inset
9326 </cell>
9327 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9328 \begin_inset Text
9329
9330 \begin_layout Plain Layout
9331 555
9332 \end_layout
9333
9334 \end_inset
9335 </cell>
9336 </row>
9337 <row>
9338 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9339 \begin_inset Text
9340
9341 \begin_layout Plain Layout
9342
9343 \series bold
9344 Focarelli
9345 \end_layout
9346
9347 \end_inset
9348 </cell>
9349 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9350 \begin_inset Text
9351
9352 \begin_layout Plain Layout
9353 Paola
9354 \end_layout
9355
9356 \end_inset
9357 </cell>
9358 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9359 \begin_inset Text
9360
9361 \begin_layout Plain Layout
9362 555
9363 \end_layout
9364
9365 \end_inset
9366 </cell>
9367 </row>
9368 <row>
9369 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9370 \begin_inset Text
9371
9372 \begin_layout Plain Layout
9373
9374 \series bold
9375 Galletti
9376 \end_layout
9377
9378 \end_inset
9379 </cell>
9380 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9381 \begin_inset Text
9382
9383 \begin_layout Plain Layout
9384 Oreste
9385 \end_layout
9386
9387 \end_inset
9388 </cell>
9389 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9390 \begin_inset Text
9391
9392 \begin_layout Plain Layout
9393 555
9394 \end_layout
9395
9396 \end_inset
9397 </cell>
9398 </row>
9399 <row>
9400 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9401 \begin_inset Text
9402
9403 \begin_layout Plain Layout
9404
9405 \series bold
9406 Gasparini
9407 \end_layout
9408
9409 \end_inset
9410 </cell>
9411 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9412 \begin_inset Text
9413
9414 \begin_layout Plain Layout
9415 Franca
9416 \end_layout
9417
9418 \end_inset
9419 </cell>
9420 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9421 \begin_inset Text
9422
9423 \begin_layout Plain Layout
9424 555
9425 \end_layout
9426
9427 \end_inset
9428 </cell>
9429 </row>
9430 <row>
9431 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9432 \begin_inset Text
9433
9434 \begin_layout Plain Layout
9435
9436 \series bold
9437 Rizzardi
9438 \end_layout
9439
9440 \end_inset
9441 </cell>
9442 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9443 \begin_inset Text
9444
9445 \begin_layout Plain Layout
9446 Paola
9447 \end_layout
9448
9449 \end_inset
9450 </cell>
9451 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9452 \begin_inset Text
9453
9454 \begin_layout Plain Layout
9455 555
9456 \end_layout
9457
9458 \end_inset
9459 </cell>
9460 </row>
9461 <row>
9462 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9463 \begin_inset Text
9464
9465 \begin_layout Plain Layout
9466
9467 \series bold
9468 Lassini
9469 \end_layout
9470
9471 \end_inset
9472 </cell>
9473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9474 \begin_inset Text
9475
9476 \begin_layout Plain Layout
9477 Giancarlo
9478 \end_layout
9479
9480 \end_inset
9481 </cell>
9482 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9483 \begin_inset Text
9484
9485 \begin_layout Plain Layout
9486 555
9487 \end_layout
9488
9489 \end_inset
9490 </cell>
9491 </row>
9492 <row>
9493 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9494 \begin_inset Text
9495
9496 \begin_layout Plain Layout
9497
9498 \series bold
9499 Malfatti
9500 \end_layout
9501
9502 \end_inset
9503 </cell>
9504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9505 \begin_inset Text
9506
9507 \begin_layout Plain Layout
9508 Luciano
9509 \end_layout
9510
9511 \end_inset
9512 </cell>
9513 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9514 \begin_inset Text
9515
9516 \begin_layout Plain Layout
9517 555
9518 \end_layout
9519
9520 \end_inset
9521 </cell>
9522 </row>
9523 <row>
9524 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9525 \begin_inset Text
9526
9527 \begin_layout Plain Layout
9528
9529 \series bold
9530 Malfatti
9531 \end_layout
9532
9533 \end_inset
9534 </cell>
9535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9536 \begin_inset Text
9537
9538 \begin_layout Plain Layout
9539 Valeriano
9540 \end_layout
9541
9542 \end_inset
9543 </cell>
9544 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9545 \begin_inset Text
9546
9547 \begin_layout Plain Layout
9548 555
9549 \end_layout
9550
9551 \end_inset
9552 </cell>
9553 </row>
9554 <row>
9555 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9556 \begin_inset Text
9557
9558 \begin_layout Plain Layout
9559
9560 \series bold
9561 Meneguzzo
9562 \end_layout
9563
9564 \end_inset
9565 </cell>
9566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9567 \begin_inset Text
9568
9569 \begin_layout Plain Layout
9570 Roberto
9571 \end_layout
9572
9573 \end_inset
9574 </cell>
9575 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9576 \begin_inset Text
9577
9578 \begin_layout Plain Layout
9579 555
9580 \end_layout
9581
9582 \end_inset
9583 </cell>
9584 </row>
9585 <row>
9586 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9587 \begin_inset Text
9588
9589 \begin_layout Plain Layout
9590
9591 \series bold
9592 Mezzadra
9593 \end_layout
9594
9595 \end_inset
9596 </cell>
9597 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9598 \begin_inset Text
9599
9600 \begin_layout Plain Layout
9601 Roberto
9602 \end_layout
9603
9604 \end_inset
9605 </cell>
9606 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9607 \begin_inset Text
9608
9609 \begin_layout Plain Layout
9610 555
9611 \end_layout
9612
9613 \end_inset
9614 </cell>
9615 </row>
9616 </lyxtabular>
9617
9618 \end_inset
9619
9620
9621 \end_layout
9622
9623 \begin_layout Section
9624 Special Longtable Issues
9625 \begin_inset CommandInset label
9626 LatexCommand label
9627 name "sec:Special-Longtable-Issues"
9628
9629 \end_inset
9630
9631
9632 \end_layout
9633
9634 \begin_layout Subsection
9635 Longtable Calculation
9636 \begin_inset Index idx
9637 status collapsed
9638
9639 \begin_layout Plain Layout
9640 Longtables ! Calculation
9641 \end_layout
9642
9643 \end_inset
9644
9645
9646 \end_layout
9647
9648 \begin_layout Standard
9649 LaTeX calculates the height of table pages and their page breaks using so
9650  called chunks.
9651  Chunks are parts of tables that held at the same time in LaTeX's memory.
9652  The default value was historically set to only 20 table rows.
9653  If you are using longtables with many pages this may slow down the creation
9654  of your document.
9655  You can safely increase the chunk size to values of 100-1000 by adding
9656  this command line to your document preamble:
9657 \end_layout
9658
9659 \begin_layout Standard
9660
9661 \series bold
9662
9663 \backslash
9664 setcounter{LTchunksize}{100}
9665 \end_layout
9666
9667 \begin_layout Subsection
9668 Floats and Longtables
9669 \begin_inset Index idx
9670 status collapsed
9671
9672 \begin_layout Plain Layout
9673 Longtables ! Floats
9674 \end_layout
9675
9676 \end_inset
9677
9678
9679 \end_layout
9680
9681 \begin_layout Standard
9682 There might be problems when a float appears on the same page where a longtable
9683  starts.
9684  To avoid such a situation, insert a 
9685 \begin_inset Quotes eld
9686 \end_inset
9687
9688 clear page
9689 \begin_inset Quotes erd
9690 \end_inset
9691
9692  (menu 
9693 \family sans
9694 Insert\SpecialChar \menuseparator
9695 Formatting\SpecialChar \menuseparator
9696 Clear
9697 \begin_inset space ~
9698 \end_inset
9699
9700 Page
9701 \family default
9702 ) before your longtable.
9703 \end_layout
9704
9705 \begin_layout Subsection
9706 Forced Page Breaks
9707 \begin_inset Index idx
9708 status collapsed
9709
9710 \begin_layout Plain Layout
9711 Longtables ! Forced Page Breaks
9712 \end_layout
9713
9714 \end_inset
9715
9716
9717 \end_layout
9718
9719 \begin_layout Standard
9720 By default tables are only broken between rows.
9721  If you have a cell with multiples lines and want to have a page break within
9722  the cell, insert the new line command 
9723 \begin_inset Quotes eld
9724 \end_inset
9725
9726
9727 \series bold
9728
9729 \backslash
9730
9731 \backslash
9732
9733 \series default
9734
9735 \begin_inset Quotes erd
9736 \end_inset
9737
9738  as TeX-Code at the point of the cell where it can be broken.
9739  Before the 
9740 \series bold
9741
9742 \backslash
9743
9744 \backslash
9745
9746 \series default
9747  command you have to insert in TeX-Code as many 
9748 \begin_inset Quotes eld
9749 \end_inset
9750
9751
9752 \series bold
9753 &
9754 \series default
9755
9756 \begin_inset Quotes erd
9757 \end_inset
9758
9759  characters as the number of the following table columns.
9760  The 
9761 \series bold
9762 &
9763 \series default
9764  is the character to separate table cells.
9765  Write in TeX-Code after each 
9766 \series bold
9767 &
9768 \series default
9769  the content of the corresponding following cell and delete the content
9770  of these cells.
9771 \begin_inset Newline newline
9772 \end_inset
9773
9774 After the 
9775 \series bold
9776
9777 \backslash
9778
9779 \backslash
9780
9781 \series default
9782  command, insert as many 
9783 \series bold
9784 &
9785 \series default
9786  characters as the number of table columns before the current column.
9787  In Table
9788 \begin_inset space ~
9789 \end_inset
9790
9791
9792 \begin_inset CommandInset ref
9793 LatexCommand ref
9794 reference "tab:ForcedPagebreak"
9795
9796 \end_inset
9797
9798  the cell that should be broken is in the second column followed by another
9799  column.
9800  Therefore the following command was inserted in the cell as TeX-Code after
9801  
9802 \begin_inset Quotes eld
9803 \end_inset
9804
9805
9806 \emph on
9807 Castelchiodato,
9808 \emph default
9809
9810 \begin_inset Quotes erd
9811 \end_inset
9812
9813 :
9814 \end_layout
9815
9816 \begin_layout Standard
9817
9818 \series bold
9819 & 111
9820 \backslash
9821
9822 \backslash
9823  
9824 \backslash
9825 newpage
9826 \begin_inset Newline newline
9827 \end_inset
9828
9829 &
9830 \end_layout
9831
9832 \begin_layout Standard
9833 The 
9834 \begin_inset Quotes eld
9835 \end_inset
9836
9837 111
9838 \begin_inset Quotes erd
9839 \end_inset
9840
9841  in the third column of the row was deleted.
9842  
9843 \series bold
9844
9845 \backslash
9846 newpage
9847 \series default
9848  is only needed when a page break should definitely occur at this position,
9849  otherwise it would be a conditional break.
9850  If your footer row of the longtable has for a certain reason no upper line
9851  but you would have a horizontal line where the cell is broken, use this
9852  command instead:
9853 \end_layout
9854
9855 \begin_layout Standard
9856
9857 \series bold
9858 & 111
9859 \backslash
9860
9861 \backslash
9862
9863 \begin_inset Newline newline
9864 \end_inset
9865
9866
9867 \backslash
9868 hline &
9869 \end_layout
9870
9871 \begin_layout Standard
9872 When the cell to be broken is in the last column, the command
9873 \end_layout
9874
9875 \begin_layout Standard
9876
9877 \series bold
9878
9879 \backslash
9880 setlength{
9881 \backslash
9882 parfillskip}{0pt}
9883 \end_layout
9884
9885 \begin_layout Standard
9886 must be inserted as TeX-Code at the beginning of the cell.
9887  This ensures that the part of the cell that will be displayed on the new
9888  page appears with the full width.
9889 \end_layout
9890
9891 \begin_layout Standard
9892 \align center
9893 \begin_inset Tabular
9894 <lyxtabular version="3" rows="38" columns="3">
9895 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9896 <column alignment="left" valignment="top" width="0cm">
9897 <column alignment="left" valignment="top" width="3cm">
9898 <column alignment="center" valignment="top" width="0pt">
9899 <row caption="true">
9900 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9901 \begin_inset Text
9902
9903 \begin_layout Plain Layout
9904 \begin_inset Caption
9905
9906 \begin_layout Plain Layout
9907 Table with forced page break in table cell
9908 \begin_inset CommandInset label
9909 LatexCommand label
9910 name "tab:ForcedPagebreak"
9911
9912 \end_inset
9913
9914
9915 \begin_inset Argument
9916 status collapsed
9917
9918 \begin_layout Plain Layout
9919 Table with forced page break in table cell
9920 \end_layout
9921
9922 \end_inset
9923
9924
9925 \end_layout
9926
9927 \end_inset
9928
9929
9930 \end_layout
9931
9932 \end_inset
9933 </cell>
9934 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9935 \begin_inset Text
9936
9937 \begin_layout Plain Layout
9938
9939 \end_layout
9940
9941 \end_inset
9942 </cell>
9943 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9944 \begin_inset Text
9945
9946 \begin_layout Plain Layout
9947
9948 \end_layout
9949
9950 \end_inset
9951 </cell>
9952 </row>
9953 <row endfirsthead="true">
9954 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9955 \begin_inset Text
9956
9957 \begin_layout Plain Layout
9958
9959 \series bold
9960 Example Phone List (ignore the names)
9961 \end_layout
9962
9963 \end_inset
9964 </cell>
9965 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9966 \begin_inset Text
9967
9968 \begin_layout Plain Layout
9969
9970 \end_layout
9971
9972 \end_inset
9973 </cell>
9974 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9975 \begin_inset Text
9976
9977 \begin_layout Plain Layout
9978
9979 \end_layout
9980
9981 \end_inset
9982 </cell>
9983 </row>
9984 <row endfirsthead="true">
9985 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9986 \begin_inset Text
9987
9988 \begin_layout Plain Layout
9989
9990 \series bold
9991 NAME
9992 \end_layout
9993
9994 \end_inset
9995 </cell>
9996 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9997 \begin_inset Text
9998
9999 \begin_layout Plain Layout
10000
10001 \end_layout
10002
10003 \end_inset
10004 </cell>
10005 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10006 \begin_inset Text
10007
10008 \begin_layout Plain Layout
10009
10010 \series bold
10011 TEL.
10012 \end_layout
10013
10014 \end_inset
10015 </cell>
10016 </row>
10017 <row endhead="true">
10018 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10019 \begin_inset Text
10020
10021 \begin_layout Plain Layout
10022 \begin_inset ERT
10023 status collapsed
10024
10025 \begin_layout Plain Layout
10026
10027
10028 \backslash
10029 caption*{Continued Example Phone List}
10030 \backslash
10031
10032 \backslash
10033 %
10034 \end_layout
10035
10036 \end_inset
10037
10038
10039 \end_layout
10040
10041 \end_inset
10042 </cell>
10043 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10044 \begin_inset Text
10045
10046 \begin_layout Plain Layout
10047
10048 \end_layout
10049
10050 \end_inset
10051 </cell>
10052 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10053 \begin_inset Text
10054
10055 \begin_layout Plain Layout
10056
10057 \end_layout
10058
10059 \end_inset
10060 </cell>
10061 </row>
10062 <row endhead="true">
10063 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10064 \begin_inset Text
10065
10066 \begin_layout Plain Layout
10067
10068 \series bold
10069 Example Phone List
10070 \end_layout
10071
10072 \end_inset
10073 </cell>
10074 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10075 \begin_inset Text
10076
10077 \begin_layout Plain Layout
10078
10079 \end_layout
10080
10081 \end_inset
10082 </cell>
10083 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10084 \begin_inset Text
10085
10086 \begin_layout Plain Layout
10087
10088 \end_layout
10089
10090 \end_inset
10091 </cell>
10092 </row>
10093 <row endhead="true">
10094 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10095 \begin_inset Text
10096
10097 \begin_layout Plain Layout
10098
10099 \series bold
10100 NAME
10101 \end_layout
10102
10103 \end_inset
10104 </cell>
10105 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10106 \begin_inset Text
10107
10108 \begin_layout Plain Layout
10109
10110 \end_layout
10111
10112 \end_inset
10113 </cell>
10114 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10115 \begin_inset Text
10116
10117 \begin_layout Plain Layout
10118
10119 \series bold
10120 TEL.
10121 \end_layout
10122
10123 \end_inset
10124 </cell>
10125 </row>
10126 <row endfoot="true">
10127 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10128 \begin_inset Text
10129
10130 \begin_layout Plain Layout
10131 continued on next page
10132 \end_layout
10133
10134 \end_inset
10135 </cell>
10136 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10137 \begin_inset Text
10138
10139 \begin_layout Plain Layout
10140
10141 \end_layout
10142
10143 \end_inset
10144 </cell>
10145 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10146 \begin_inset Text
10147
10148 \begin_layout Plain Layout
10149
10150 \end_layout
10151
10152 \end_inset
10153 </cell>
10154 </row>
10155 <row>
10156 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10157 \begin_inset Text
10158
10159 \begin_layout Plain Layout
10160
10161 \series bold
10162 Annovi
10163 \end_layout
10164
10165 \end_inset
10166 </cell>
10167 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10168 \begin_inset Text
10169
10170 \begin_layout Plain Layout
10171 Silvia
10172 \end_layout
10173
10174 \end_inset
10175 </cell>
10176 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10177 \begin_inset Text
10178
10179 \begin_layout Plain Layout
10180 111
10181 \end_layout
10182
10183 \end_inset
10184 </cell>
10185 </row>
10186 <row>
10187 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10188 \begin_inset Text
10189
10190 \begin_layout Plain Layout
10191
10192 \series bold
10193 Bertoli
10194 \end_layout
10195
10196 \end_inset
10197 </cell>
10198 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10199 \begin_inset Text
10200
10201 \begin_layout Plain Layout
10202 Stefano
10203 \end_layout
10204
10205 \end_inset
10206 </cell>
10207 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10208 \begin_inset Text
10209
10210 \begin_layout Plain Layout
10211 111
10212 \end_layout
10213
10214 \end_inset
10215 </cell>
10216 </row>
10217 <row>
10218 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10219 \begin_inset Text
10220
10221 \begin_layout Plain Layout
10222
10223 \series bold
10224 Bozzi
10225 \end_layout
10226
10227 \end_inset
10228 </cell>
10229 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10230 \begin_inset Text
10231
10232 \begin_layout Plain Layout
10233 Walter
10234 \end_layout
10235
10236 \end_inset
10237 </cell>
10238 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10239 \begin_inset Text
10240
10241 \begin_layout Plain Layout
10242 111
10243 \end_layout
10244
10245 \end_inset
10246 </cell>
10247 </row>
10248 <row>
10249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10250 \begin_inset Text
10251
10252 \begin_layout Plain Layout
10253
10254 \series bold
10255 Cachia
10256 \end_layout
10257
10258 \end_inset
10259 </cell>
10260 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10261 \begin_inset Text
10262
10263 \begin_layout Plain Layout
10264 Maria
10265 \end_layout
10266
10267 \end_inset
10268 </cell>
10269 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10270 \begin_inset Text
10271
10272 \begin_layout Plain Layout
10273 111
10274 \end_layout
10275
10276 \end_inset
10277 </cell>
10278 </row>
10279 <row>
10280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10281 \begin_inset Text
10282
10283 \begin_layout Plain Layout
10284
10285 \series bold
10286 Cachia
10287 \end_layout
10288
10289 \end_inset
10290 </cell>
10291 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10292 \begin_inset Text
10293
10294 \begin_layout Plain Layout
10295 Maurizio
10296 \end_layout
10297
10298 \end_inset
10299 </cell>
10300 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10301 \begin_inset Text
10302
10303 \begin_layout Plain Layout
10304 111
10305 \end_layout
10306
10307 \end_inset
10308 </cell>
10309 </row>
10310 <row>
10311 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10312 \begin_inset Text
10313
10314 \begin_layout Plain Layout
10315
10316 \series bold
10317 Cinquemani
10318 \end_layout
10319
10320 \end_inset
10321 </cell>
10322 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10323 \begin_inset Text
10324
10325 \begin_layout Plain Layout
10326 Giusi
10327 \end_layout
10328
10329 \end_inset
10330 </cell>
10331 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10332 \begin_inset Text
10333
10334 \begin_layout Plain Layout
10335 111
10336 \end_layout
10337
10338 \end_inset
10339 </cell>
10340 </row>
10341 <row>
10342 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10343 \begin_inset Text
10344
10345 \begin_layout Plain Layout
10346
10347 \series bold
10348 Colin
10349 \end_layout
10350
10351 \end_inset
10352 </cell>
10353 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10354 \begin_inset Text
10355
10356 \begin_layout Plain Layout
10357 Bernard
10358 \end_layout
10359
10360 \end_inset
10361 </cell>
10362 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10363 \begin_inset Text
10364
10365 \begin_layout Plain Layout
10366 111
10367 \end_layout
10368
10369 \end_inset
10370 </cell>
10371 </row>
10372 <row>
10373 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10374 \begin_inset Text
10375
10376 \begin_layout Plain Layout
10377
10378 \series bold
10379 Concli
10380 \end_layout
10381
10382 \end_inset
10383 </cell>
10384 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10385 \begin_inset Text
10386
10387 \begin_layout Plain Layout
10388 Gianfranco
10389 \end_layout
10390
10391 \end_inset
10392 </cell>
10393 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10394 \begin_inset Text
10395
10396 \begin_layout Plain Layout
10397 111
10398 \end_layout
10399
10400 \end_inset
10401 </cell>
10402 </row>
10403 <row>
10404 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10405 \begin_inset Text
10406
10407 \begin_layout Plain Layout
10408
10409 \series bold
10410 Dal Bosco
10411 \end_layout
10412
10413 \end_inset
10414 </cell>
10415 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10416 \begin_inset Text
10417
10418 \begin_layout Plain Layout
10419 Carolina
10420 \end_layout
10421
10422 \end_inset
10423 </cell>
10424 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10425 \begin_inset Text
10426
10427 \begin_layout Plain Layout
10428 111
10429 \end_layout
10430
10431 \end_inset
10432 </cell>
10433 </row>
10434 <row>
10435 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10436 \begin_inset Text
10437
10438 \begin_layout Plain Layout
10439
10440 \series bold
10441 Dalpiaz
10442 \end_layout
10443
10444 \end_inset
10445 </cell>
10446 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10447 \begin_inset Text
10448
10449 \begin_layout Plain Layout
10450 Annamaria
10451 \end_layout
10452
10453 \end_inset
10454 </cell>
10455 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10456 \begin_inset Text
10457
10458 \begin_layout Plain Layout
10459 111
10460 \end_layout
10461
10462 \end_inset
10463 </cell>
10464 </row>
10465 <row>
10466 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10467 \begin_inset Text
10468
10469 \begin_layout Plain Layout
10470
10471 \series bold
10472 Feliciello
10473 \end_layout
10474
10475 \end_inset
10476 </cell>
10477 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10478 \begin_inset Text
10479
10480 \begin_layout Plain Layout
10481 Domenico
10482 \end_layout
10483
10484 \end_inset
10485 </cell>
10486 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10487 \begin_inset Text
10488
10489 \begin_layout Plain Layout
10490 111
10491 \end_layout
10492
10493 \end_inset
10494 </cell>
10495 </row>
10496 <row>
10497 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10498 \begin_inset Text
10499
10500 \begin_layout Plain Layout
10501
10502 \series bold
10503 Focarelli
10504 \end_layout
10505
10506 \end_inset
10507 </cell>
10508 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10509 \begin_inset Text
10510
10511 \begin_layout Plain Layout
10512 Paola
10513 \end_layout
10514
10515 \end_inset
10516 </cell>
10517 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10518 \begin_inset Text
10519
10520 \begin_layout Plain Layout
10521 111
10522 \end_layout
10523
10524 \end_inset
10525 </cell>
10526 </row>
10527 <row>
10528 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10529 \begin_inset Text
10530
10531 \begin_layout Plain Layout
10532
10533 \series bold
10534 Galletti
10535 \end_layout
10536
10537 \end_inset
10538 </cell>
10539 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10540 \begin_inset Text
10541
10542 \begin_layout Plain Layout
10543 Oreste
10544 \end_layout
10545
10546 \end_inset
10547 </cell>
10548 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10549 \begin_inset Text
10550
10551 \begin_layout Plain Layout
10552 111
10553 \end_layout
10554
10555 \end_inset
10556 </cell>
10557 </row>
10558 <row>
10559 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10560 \begin_inset Text
10561
10562 \begin_layout Plain Layout
10563
10564 \series bold
10565 Gasparini
10566 \end_layout
10567
10568 \end_inset
10569 </cell>
10570 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10571 \begin_inset Text
10572
10573 \begin_layout Plain Layout
10574 Franca
10575 \end_layout
10576
10577 \end_inset
10578 </cell>
10579 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10580 \begin_inset Text
10581
10582 \begin_layout Plain Layout
10583 111
10584 \end_layout
10585
10586 \end_inset
10587 </cell>
10588 </row>
10589 <row>
10590 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10591 \begin_inset Text
10592
10593 \begin_layout Plain Layout
10594
10595 \series bold
10596 Lassini
10597 \end_layout
10598
10599 \end_inset
10600 </cell>
10601 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10602 \begin_inset Text
10603
10604 \begin_layout Plain Layout
10605 Giancarlo
10606 \end_layout
10607
10608 \end_inset
10609 </cell>
10610 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10611 \begin_inset Text
10612
10613 \begin_layout Plain Layout
10614 111
10615 \end_layout
10616
10617 \end_inset
10618 </cell>
10619 </row>
10620 <row>
10621 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10622 \begin_inset Text
10623
10624 \begin_layout Plain Layout
10625
10626 \series bold
10627 Malfatti
10628 \end_layout
10629
10630 \end_inset
10631 </cell>
10632 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10633 \begin_inset Text
10634
10635 \begin_layout Plain Layout
10636 Luciano
10637 \end_layout
10638
10639 \end_inset
10640 </cell>
10641 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10642 \begin_inset Text
10643
10644 \begin_layout Plain Layout
10645 111
10646 \end_layout
10647
10648 \end_inset
10649 </cell>
10650 </row>
10651 <row>
10652 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10653 \begin_inset Text
10654
10655 \begin_layout Plain Layout
10656
10657 \series bold
10658 Malfatti
10659 \end_layout
10660
10661 \end_inset
10662 </cell>
10663 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10664 \begin_inset Text
10665
10666 \begin_layout Plain Layout
10667 Valeriano
10668 \end_layout
10669
10670 \end_inset
10671 </cell>
10672 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10673 \begin_inset Text
10674
10675 \begin_layout Plain Layout
10676 111
10677 \end_layout
10678
10679 \end_inset
10680 </cell>
10681 </row>
10682 <row>
10683 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10684 \begin_inset Text
10685
10686 \begin_layout Plain Layout
10687
10688 \series bold
10689 Meneguzzo
10690 \end_layout
10691
10692 \end_inset
10693 </cell>
10694 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10695 \begin_inset Text
10696
10697 \begin_layout Plain Layout
10698 Roberto
10699 \end_layout
10700
10701 \end_inset
10702 </cell>
10703 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10704 \begin_inset Text
10705
10706 \begin_layout Plain Layout
10707 111
10708 \end_layout
10709
10710 \end_inset
10711 </cell>
10712 </row>
10713 <row>
10714 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10715 \begin_inset Text
10716
10717 \begin_layout Plain Layout
10718
10719 \series bold
10720 Mezzadra
10721 \end_layout
10722
10723 \end_inset
10724 </cell>
10725 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10726 \begin_inset Text
10727
10728 \begin_layout Plain Layout
10729 Roberto
10730 \end_layout
10731
10732 \end_inset
10733 </cell>
10734 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10735 \begin_inset Text
10736
10737 \begin_layout Plain Layout
10738 111
10739 \end_layout
10740
10741 \end_inset
10742 </cell>
10743 </row>
10744 <row>
10745 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10746 \begin_inset Text
10747
10748 \begin_layout Plain Layout
10749
10750 \series bold
10751 Pirpamer
10752 \end_layout
10753
10754 \end_inset
10755 </cell>
10756 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10757 \begin_inset Text
10758
10759 \begin_layout Plain Layout
10760 Erich
10761 \end_layout
10762
10763 \end_inset
10764 </cell>
10765 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10766 \begin_inset Text
10767
10768 \begin_layout Plain Layout
10769 111
10770 \end_layout
10771
10772 \end_inset
10773 </cell>
10774 </row>
10775 <row>
10776 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10777 \begin_inset Text
10778
10779 \begin_layout Plain Layout
10780
10781 \series bold
10782 Pochiesa
10783 \end_layout
10784
10785 \end_inset
10786 </cell>
10787 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10788 \begin_inset Text
10789
10790 \begin_layout Plain Layout
10791 Paolo
10792 \end_layout
10793
10794 \end_inset
10795 </cell>
10796 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10797 \begin_inset Text
10798
10799 \begin_layout Plain Layout
10800 111, 222
10801 \end_layout
10802
10803 \end_inset
10804 </cell>
10805 </row>
10806 <row>
10807 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10808 \begin_inset Text
10809
10810 \begin_layout Plain Layout
10811
10812 \series bold
10813 Radina
10814 \end_layout
10815
10816 \end_inset
10817 </cell>
10818 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10819 \begin_inset Text
10820
10821 \begin_layout Plain Layout
10822 Claudio
10823 \end_layout
10824
10825 \end_inset
10826 </cell>
10827 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10828 \begin_inset Text
10829
10830 \begin_layout Plain Layout
10831 111
10832 \end_layout
10833
10834 \end_inset
10835 </cell>
10836 </row>
10837 <row>
10838 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10839 \begin_inset Text
10840
10841 \begin_layout Plain Layout
10842
10843 \series bold
10844 Rizzardi
10845 \end_layout
10846
10847 \end_inset
10848 </cell>
10849 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10850 \begin_inset Text
10851
10852 \begin_layout Plain Layout
10853 Paolo, 11.
10854  Fürst von Montecompatri, 11.
10855  Fürst von Sulmona und Vivaro, 10.
10856  Fürst von Rossano, 5.
10857  Herzog von Canemorte, 11.
10858  Herzog von Palombara, 5.
10859  Herzog von Castelchiodato,
10860 \begin_inset ERT
10861 status open
10862
10863 \begin_layout Plain Layout
10864
10865 & 111
10866 \backslash
10867
10868 \backslash
10869  
10870 \backslash
10871 newpage
10872 \end_layout
10873
10874 \begin_layout Plain Layout
10875
10876 &
10877 \end_layout
10878
10879 \end_inset
10880
10881  11.
10882  Herzog von Poggionativo, 11.
10883  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10884  Graf von Valinfreda, 11.
10885  Baron von Cropalati, 11.
10886  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10887 \end_layout
10888
10889 \end_inset
10890 </cell>
10891 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10892 \begin_inset Text
10893
10894 \begin_layout Plain Layout
10895
10896 \end_layout
10897
10898 \end_inset
10899 </cell>
10900 </row>
10901 <row>
10902 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10903 \begin_inset Text
10904
10905 \begin_layout Plain Layout
10906
10907 \series bold
10908 Stuffer
10909 \end_layout
10910
10911 \end_inset
10912 </cell>
10913 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10914 \begin_inset Text
10915
10916 \begin_layout Plain Layout
10917 Oskar
10918 \end_layout
10919
10920 \end_inset
10921 </cell>
10922 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10923 \begin_inset Text
10924
10925 \begin_layout Plain Layout
10926 111
10927 \end_layout
10928
10929 \end_inset
10930 </cell>
10931 </row>
10932 <row>
10933 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10934 \begin_inset Text
10935
10936 \begin_layout Plain Layout
10937
10938 \series bold
10939 Tacchelli
10940 \end_layout
10941
10942 \end_inset
10943 </cell>
10944 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10945 \begin_inset Text
10946
10947 \begin_layout Plain Layout
10948 Ugo
10949 \end_layout
10950
10951 \end_inset
10952 </cell>
10953 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10954 \begin_inset Text
10955
10956 \begin_layout Plain Layout
10957 111
10958 \end_layout
10959
10960 \end_inset
10961 </cell>
10962 </row>
10963 <row>
10964 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10965 \begin_inset Text
10966
10967 \begin_layout Plain Layout
10968
10969 \series bold
10970 Tezzele
10971 \end_layout
10972
10973 \end_inset
10974 </cell>
10975 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10976 \begin_inset Text
10977
10978 \begin_layout Plain Layout
10979 Margit
10980 \end_layout
10981
10982 \end_inset
10983 </cell>
10984 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10985 \begin_inset Text
10986
10987 \begin_layout Plain Layout
10988 111
10989 \end_layout
10990
10991 \end_inset
10992 </cell>
10993 </row>
10994 <row>
10995 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10996 \begin_inset Text
10997
10998 \begin_layout Plain Layout
10999
11000 \series bold
11001 Unterkalmsteiner
11002 \end_layout
11003
11004 \end_inset
11005 </cell>
11006 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11007 \begin_inset Text
11008
11009 \begin_layout Plain Layout
11010 Frieda
11011 \end_layout
11012
11013 \end_inset
11014 </cell>
11015 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11016 \begin_inset Text
11017
11018 \begin_layout Plain Layout
11019 111
11020 \end_layout
11021
11022 \end_inset
11023 </cell>
11024 </row>
11025 <row>
11026 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11027 \begin_inset Text
11028
11029 \begin_layout Plain Layout
11030
11031 \series bold
11032 Vieider
11033 \end_layout
11034
11035 \end_inset
11036 </cell>
11037 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11038 \begin_inset Text
11039
11040 \begin_layout Plain Layout
11041 Hilde
11042 \end_layout
11043
11044 \end_inset
11045 </cell>
11046 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11047 \begin_inset Text
11048
11049 \begin_layout Plain Layout
11050 111
11051 \end_layout
11052
11053 \end_inset
11054 </cell>
11055 </row>
11056 <row>
11057 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11058 \begin_inset Text
11059
11060 \begin_layout Plain Layout
11061
11062 \series bold
11063 Vigna
11064 \end_layout
11065
11066 \end_inset
11067 </cell>
11068 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11069 \begin_inset Text
11070
11071 \begin_layout Plain Layout
11072 Jürgen
11073 \end_layout
11074
11075 \end_inset
11076 </cell>
11077 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11078 \begin_inset Text
11079
11080 \begin_layout Plain Layout
11081 111
11082 \end_layout
11083
11084 \end_inset
11085 </cell>
11086 </row>
11087 <row>
11088 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11089 \begin_inset Text
11090
11091 \begin_layout Plain Layout
11092
11093 \series bold
11094 Weber
11095 \end_layout
11096
11097 \end_inset
11098 </cell>
11099 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11100 \begin_inset Text
11101
11102 \begin_layout Plain Layout
11103 Maurizio
11104 \end_layout
11105
11106 \end_inset
11107 </cell>
11108 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11109 \begin_inset Text
11110
11111 \begin_layout Plain Layout
11112 111
11113 \end_layout
11114
11115 \end_inset
11116 </cell>
11117 </row>
11118 <row>
11119 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11120 \begin_inset Text
11121
11122 \begin_layout Plain Layout
11123
11124 \series bold
11125 Winkler
11126 \end_layout
11127
11128 \end_inset
11129 </cell>
11130 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11131 \begin_inset Text
11132
11133 \begin_layout Plain Layout
11134 Franz
11135 \end_layout
11136
11137 \end_inset
11138 </cell>
11139 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11140 \begin_inset Text
11141
11142 \begin_layout Plain Layout
11143 111
11144 \end_layout
11145
11146 \end_inset
11147 </cell>
11148 </row>
11149 </lyxtabular>
11150
11151 \end_inset
11152
11153
11154 \end_layout
11155
11156 \begin_layout Section
11157 Multiple Lines Columns and Rows
11158 \end_layout
11159
11160 \begin_layout Subsection
11161 Multiple Lines in Table Cells
11162 \begin_inset CommandInset label
11163 LatexCommand label
11164 name "sub:Multiple-Lines-in"
11165
11166 \end_inset
11167
11168
11169 \begin_inset Index idx
11170 status collapsed
11171
11172 \begin_layout Plain Layout
11173 Multiple Lines in Table Cells
11174 \end_layout
11175
11176 \end_inset
11177
11178
11179 \begin_inset Index idx
11180 status collapsed
11181
11182 \begin_layout Plain Layout
11183 Table ! Linebreaks
11184 \end_layout
11185
11186 \end_inset
11187
11188
11189 \end_layout
11190
11191 \begin_layout Standard
11192 \noindent
11193 \begin_inset Float table
11194 placement H
11195 wide false
11196 sideways false
11197 status open
11198
11199 \begin_layout Plain Layout
11200 \begin_inset Caption
11201
11202 \begin_layout Plain Layout
11203 \begin_inset CommandInset label
11204 LatexCommand label
11205 name "tab:Table-with-multiple"
11206
11207 \end_inset
11208
11209 Table with multiple lines in cells
11210 \end_layout
11211
11212 \end_inset
11213
11214
11215 \end_layout
11216
11217 \begin_layout Plain Layout
11218 \align center
11219 \begin_inset Tabular
11220 <lyxtabular version="3" rows="3" columns="3">
11221 <features tabularvalignment="middle">
11222 <column alignment="center" valignment="middle" width="2.5cm">
11223 <column alignment="center" valignment="middle" width="0">
11224 <column alignment="center" valignment="middle" width="0">
11225 <row>
11226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11227 \begin_inset Text
11228
11229 \begin_layout Plain Layout
11230 multiple
11231 \begin_inset Newline linebreak
11232 \end_inset
11233
11234 lines
11235 \end_layout
11236
11237 \end_inset
11238 </cell>
11239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11240 \begin_inset Text
11241
11242 \begin_layout Plain Layout
11243 b
11244 \end_layout
11245
11246 \end_inset
11247 </cell>
11248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11249 \begin_inset Text
11250
11251 \begin_layout Plain Layout
11252 c
11253 \end_layout
11254
11255 \end_inset
11256 </cell>
11257 </row>
11258 <row>
11259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11260 \begin_inset Text
11261
11262 \begin_layout Plain Layout
11263 d
11264 \end_layout
11265
11266 \end_inset
11267 </cell>
11268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11269 \begin_inset Text
11270
11271 \begin_layout Plain Layout
11272 e
11273 \end_layout
11274
11275 \end_inset
11276 </cell>
11277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11278 \begin_inset Text
11279
11280 \begin_layout Plain Layout
11281 f
11282 \end_layout
11283
11284 \end_inset
11285 </cell>
11286 </row>
11287 <row>
11288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11289 \begin_inset Text
11290
11291 \begin_layout Plain Layout
11292 g
11293 \end_layout
11294
11295 \end_inset
11296 </cell>
11297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11298 \begin_inset Text
11299
11300 \begin_layout Plain Layout
11301 h
11302 \end_layout
11303
11304 \end_inset
11305 </cell>
11306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11307 \begin_inset Text
11308
11309 \begin_layout Plain Layout
11310 i
11311 \end_layout
11312
11313 \end_inset
11314 </cell>
11315 </row>
11316 </lyxtabular>
11317
11318 \end_inset
11319
11320
11321 \end_layout
11322
11323 \end_inset
11324
11325
11326 \end_layout
11327
11328 \begin_layout Standard
11329 Setting a fixed width for a column enables you to enter text as a paragraph
11330  with multiple lines and hyphenation.
11331 \end_layout
11332
11333 \begin_layout Standard
11334 To produce Table
11335 \begin_inset space ~
11336 \end_inset
11337
11338
11339 \begin_inset CommandInset ref
11340 LatexCommand ref
11341 reference "tab:Table-with-multiple"
11342
11343 \end_inset
11344
11345 , create a 3×3 table, mark the first cell and right-click on it.
11346  In the appearing table dialog we set a cell width of 2.5
11347 \begin_inset space \thinspace{}
11348 \end_inset
11349
11350 cm and choose centered for the vertical and horizontal alignment.
11351  The vertical alignment is used for all cells of the row.
11352  As our text is smaller than 2.5
11353 \begin_inset space \thinspace{}
11354 \end_inset
11355
11356 cm, only one line will appear.
11357  To get two lines, a justified line break (shortcut 
11358 \begin_inset Info
11359 type  "shortcut"
11360 arg   "newline-insert linebreak"
11361 \end_inset
11362
11363 ) was added.
11364  If the text is wider than the set cell width, it will automatically be
11365  broken to several lines.
11366 \end_layout
11367
11368 \begin_layout Standard
11369 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11370  by LaTeX if it is the first entry.
11371  Therefore you need to insert something to prevent the word not being the
11372  first entry.
11373  So add a horizontal space of 0
11374 \begin_inset space \thinspace{}
11375 \end_inset
11376
11377 pt before the word.
11378  As the space is zero, it doesn't change the output.
11379  Table
11380 \begin_inset space ~
11381 \end_inset
11382
11383
11384 \begin_inset CommandInset ref
11385 LatexCommand ref
11386 reference "tab:Table-with-and"
11387
11388 \end_inset
11389
11390  shows the effect.
11391 \end_layout
11392
11393 \begin_layout Standard
11394 \begin_inset Float table
11395 placement h
11396 wide false
11397 sideways false
11398 status open
11399
11400 \begin_layout Plain Layout
11401 \begin_inset Caption
11402
11403 \begin_layout Plain Layout
11404 \begin_inset CommandInset label
11405 LatexCommand label
11406 name "tab:Table-with-and"
11407
11408 \end_inset
11409
11410 Table with and without hyphenation
11411 \end_layout
11412
11413 \end_inset
11414
11415
11416 \end_layout
11417
11418 \begin_layout Plain Layout
11419 \begin_inset space \hfill{}
11420 \end_inset
11421
11422
11423 \begin_inset Tabular
11424 <lyxtabular version="3" rows="3" columns="3">
11425 <features tabularvalignment="middle">
11426 <column alignment="center" valignment="middle" width="2.5cm">
11427 <column alignment="center" valignment="middle" width="0">
11428 <column alignment="center" valignment="middle" width="0">
11429 <row>
11430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11431 \begin_inset Text
11432
11433 \begin_layout Plain Layout
11434 verylongtablecellword
11435 \end_layout
11436
11437 \end_inset
11438 </cell>
11439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11440 \begin_inset Text
11441
11442 \begin_layout Plain Layout
11443 b
11444 \end_layout
11445
11446 \end_inset
11447 </cell>
11448 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11449 \begin_inset Text
11450
11451 \begin_layout Plain Layout
11452 c
11453 \end_layout
11454
11455 \end_inset
11456 </cell>
11457 </row>
11458 <row>
11459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11460 \begin_inset Text
11461
11462 \begin_layout Plain Layout
11463 d
11464 \end_layout
11465
11466 \end_inset
11467 </cell>
11468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11469 \begin_inset Text
11470
11471 \begin_layout Plain Layout
11472 e
11473 \end_layout
11474
11475 \end_inset
11476 </cell>
11477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11478 \begin_inset Text
11479
11480 \begin_layout Plain Layout
11481 f
11482 \end_layout
11483
11484 \end_inset
11485 </cell>
11486 </row>
11487 <row>
11488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11489 \begin_inset Text
11490
11491 \begin_layout Plain Layout
11492 g
11493 \end_layout
11494
11495 \end_inset
11496 </cell>
11497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11498 \begin_inset Text
11499
11500 \begin_layout Plain Layout
11501 h
11502 \end_layout
11503
11504 \end_inset
11505 </cell>
11506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11507 \begin_inset Text
11508
11509 \begin_layout Plain Layout
11510 i
11511 \end_layout
11512
11513 \end_inset
11514 </cell>
11515 </row>
11516 </lyxtabular>
11517
11518 \end_inset
11519
11520
11521 \begin_inset space \hfill{}
11522 \end_inset
11523
11524
11525 \begin_inset Tabular
11526 <lyxtabular version="3" rows="3" columns="3">
11527 <features tabularvalignment="middle">
11528 <column alignment="center" valignment="middle" width="2.5cm">
11529 <column alignment="center" valignment="middle" width="0">
11530 <column alignment="center" valignment="middle" width="0">
11531 <row>
11532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11533 \begin_inset Text
11534
11535 \begin_layout Plain Layout
11536 \begin_inset space \hspace{}
11537 \length 0pt
11538 \end_inset
11539
11540 verylongtablecellword
11541 \end_layout
11542
11543 \end_inset
11544 </cell>
11545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11546 \begin_inset Text
11547
11548 \begin_layout Plain Layout
11549 b
11550 \end_layout
11551
11552 \end_inset
11553 </cell>
11554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11555 \begin_inset Text
11556
11557 \begin_layout Plain Layout
11558 c
11559 \end_layout
11560
11561 \end_inset
11562 </cell>
11563 </row>
11564 <row>
11565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11566 \begin_inset Text
11567
11568 \begin_layout Plain Layout
11569 d
11570 \end_layout
11571
11572 \end_inset
11573 </cell>
11574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11575 \begin_inset Text
11576
11577 \begin_layout Plain Layout
11578 e
11579 \end_layout
11580
11581 \end_inset
11582 </cell>
11583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11584 \begin_inset Text
11585
11586 \begin_layout Plain Layout
11587 f
11588 \end_layout
11589
11590 \end_inset
11591 </cell>
11592 </row>
11593 <row>
11594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11595 \begin_inset Text
11596
11597 \begin_layout Plain Layout
11598 g
11599 \end_layout
11600
11601 \end_inset
11602 </cell>
11603 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11604 \begin_inset Text
11605
11606 \begin_layout Plain Layout
11607 h
11608 \end_layout
11609
11610 \end_inset
11611 </cell>
11612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11613 \begin_inset Text
11614
11615 \begin_layout Plain Layout
11616 i
11617 \end_layout
11618
11619 \end_inset
11620 </cell>
11621 </row>
11622 </lyxtabular>
11623
11624 \end_inset
11625
11626
11627 \begin_inset space \hfill{}
11628 \end_inset
11629
11630
11631 \end_layout
11632
11633 \end_inset
11634
11635
11636 \end_layout
11637
11638 \begin_layout Subsection
11639 Multicolumns
11640 \begin_inset CommandInset label
11641 LatexCommand label
11642 name "sub:Multicolumns"
11643
11644 \end_inset
11645
11646
11647 \begin_inset Index idx
11648 status collapsed
11649
11650 \begin_layout Plain Layout
11651 Multicolumns
11652 \end_layout
11653
11654 \end_inset
11655
11656
11657 \begin_inset Index idx
11658 status collapsed
11659
11660 \begin_layout Plain Layout
11661 Table ! Multicolumns
11662 \end_layout
11663
11664 \end_inset
11665
11666
11667 \end_layout
11668
11669 \begin_layout Subsubsection
11670 Multicolumn Basics
11671 \end_layout
11672
11673 \begin_layout Standard
11674 To merge cells over multiple columns, select as many cells within a row
11675  as you want to merge and use either the table-toolbar button 
11676 \begin_inset Graphics
11677         filename ../images/tabular-feature_multicolumn.png
11678         scale 85
11679         scaleBeforeRotation
11680
11681 \end_inset
11682
11683 , or the menu 
11684 \family sans
11685 Edit\SpecialChar \menuseparator
11686 Table\SpecialChar \menuseparator
11687 Multicolumn
11688 \family default
11689 , or right click on the marked cells and choose 
11690 \family sans
11691 Multicolumn
11692 \family default
11693  in the context menu.
11694 \end_layout
11695
11696 \begin_layout Standard
11697 Multicolumns have there own cell settings.
11698  That means changing cell borders, cell alignment, and the width only affects
11699  the multicolumn.
11700  Here is an example table with a multicolumn cell in the first row and one
11701  in the last row without the upper border:
11702 \end_layout
11703
11704 \begin_layout Standard
11705 \align center
11706 \begin_inset Tabular
11707 <lyxtabular version="3" rows="3" columns="4">
11708 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11709 <column alignment="center" valignment="top" width="0pt">
11710 <column alignment="center" valignment="middle" width="0">
11711 <column alignment="center" valignment="top" width="0in">
11712 <column alignment="center" valignment="top" width="0pt">
11713 <row>
11714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11715 \begin_inset Text
11716
11717 \begin_layout Plain Layout
11718 abc
11719 \end_layout
11720
11721 \end_inset
11722 </cell>
11723 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11724 \begin_inset Text
11725
11726 \begin_layout Plain Layout
11727 def ghi
11728 \end_layout
11729
11730 \end_inset
11731 </cell>
11732 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11733 \begin_inset Text
11734
11735 \begin_layout Plain Layout
11736
11737 \end_layout
11738
11739 \end_inset
11740 </cell>
11741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11742 \begin_inset Text
11743
11744 \begin_layout Plain Layout
11745 jkl
11746 \end_layout
11747
11748 \end_inset
11749 </cell>
11750 </row>
11751 <row>
11752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11753 \begin_inset Text
11754
11755 \begin_layout Plain Layout
11756
11757 \family roman
11758 \series medium
11759 \shape up
11760 \size normal
11761 \emph off
11762 \bar no
11763 \noun off
11764 \color none
11765 A
11766 \end_layout
11767
11768 \end_inset
11769 </cell>
11770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11771 \begin_inset Text
11772
11773 \begin_layout Plain Layout
11774 B
11775 \end_layout
11776
11777 \end_inset
11778 </cell>
11779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11780 \begin_inset Text
11781
11782 \begin_layout Plain Layout
11783 C
11784 \end_layout
11785
11786 \end_inset
11787 </cell>
11788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11789 \begin_inset Text
11790
11791 \begin_layout Plain Layout
11792 D
11793 \end_layout
11794
11795 \end_inset
11796 </cell>
11797 </row>
11798 <row>
11799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11800 \begin_inset Text
11801
11802 \begin_layout Plain Layout
11803 1
11804 \end_layout
11805
11806 \end_inset
11807 </cell>
11808 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11809 \begin_inset Text
11810
11811 \begin_layout Plain Layout
11812 2
11813 \end_layout
11814
11815 \end_inset
11816 </cell>
11817 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11818 \begin_inset Text
11819
11820 \begin_layout Plain Layout
11821 3
11822 \end_layout
11823
11824 \end_inset
11825 </cell>
11826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11827 \begin_inset Text
11828
11829 \begin_layout Plain Layout
11830 4
11831 \end_layout
11832
11833 \end_inset
11834 </cell>
11835 </row>
11836 </lyxtabular>
11837
11838 \end_inset
11839
11840
11841 \end_layout
11842
11843 \begin_layout Subsubsection
11844 Multicolumn Calculations
11845 \begin_inset CommandInset label
11846 LatexCommand label
11847 name "sub:Multicolumn-Calculations"
11848
11849 \end_inset
11850
11851
11852 \begin_inset Index idx
11853 status collapsed
11854
11855 \begin_layout Plain Layout
11856 Multicolumns ! Calculations
11857 \end_layout
11858
11859 \end_inset
11860
11861
11862 \end_layout
11863
11864 \begin_layout Standard
11865 LyX supports multicolumns directly, but we have to take account of the cell
11866  width of the columns spanned by the multicolumn cell.
11867 \end_layout
11868
11869 \begin_layout Standard
11870 \begin_inset Float table
11871 placement h
11872 wide false
11873 sideways false
11874 status open
11875
11876 \begin_layout Plain Layout
11877 \begin_inset Caption
11878
11879 \begin_layout Plain Layout
11880 \begin_inset CommandInset label
11881 LatexCommand label
11882 name "tab:Table-with-centered"
11883
11884 \end_inset
11885
11886 Table with centered multicolumn text above two columns that have exactly
11887  half the width of the multicolumn cell
11888 \begin_inset Argument
11889 status collapsed
11890
11891 \begin_layout Plain Layout
11892 Perfect multicolumn table
11893 \end_layout
11894
11895 \end_inset
11896
11897
11898 \end_layout
11899
11900 \end_inset
11901
11902
11903 \end_layout
11904
11905 \begin_layout Plain Layout
11906 \align center
11907 \begin_inset Tabular
11908 <lyxtabular version="3" rows="3" columns="3">
11909 <features tabularvalignment="middle">
11910 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11911 <column alignment="center" valignment="middle" width="0">
11912 <column alignment="center" valignment="top" width="0">
11913 <row>
11914 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11915 \begin_inset Text
11916
11917 \begin_layout Plain Layout
11918 multiple lines multicolumn
11919 \end_layout
11920
11921 \end_inset
11922 </cell>
11923 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11924 \begin_inset Text
11925
11926 \begin_layout Plain Layout
11927
11928 \end_layout
11929
11930 \end_inset
11931 </cell>
11932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11933 \begin_inset Text
11934
11935 \begin_layout Plain Layout
11936 c
11937 \end_layout
11938
11939 \end_inset
11940 </cell>
11941 </row>
11942 <row>
11943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11944 \begin_inset Text
11945
11946 \begin_layout Plain Layout
11947 d
11948 \end_layout
11949
11950 \end_inset
11951 </cell>
11952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11953 \begin_inset Text
11954
11955 \begin_layout Plain Layout
11956 e
11957 \end_layout
11958
11959 \end_inset
11960 </cell>
11961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11962 \begin_inset Text
11963
11964 \begin_layout Plain Layout
11965 f
11966 \end_layout
11967
11968 \end_inset
11969 </cell>
11970 </row>
11971 <row>
11972 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11973 \begin_inset Text
11974
11975 \begin_layout Plain Layout
11976 g
11977 \end_layout
11978
11979 \end_inset
11980 </cell>
11981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11982 \begin_inset Text
11983
11984 \begin_layout Plain Layout
11985 h
11986 \end_layout
11987
11988 \end_inset
11989 </cell>
11990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11991 \begin_inset Text
11992
11993 \begin_layout Plain Layout
11994 i
11995 \end_layout
11996
11997 \end_inset
11998 </cell>
11999 </row>
12000 </lyxtabular>
12001
12002 \end_inset
12003
12004
12005 \end_layout
12006
12007 \end_inset
12008
12009
12010 \end_layout
12011
12012 \begin_layout Standard
12013 To create for example Table
12014 \begin_inset space ~
12015 \end_inset
12016
12017
12018 \begin_inset CommandInset ref
12019 LatexCommand ref
12020 reference "tab:Table-with-centered"
12021
12022 \end_inset
12023
12024 , mark the first two cells in the first row of a 3×3 table and right-click
12025  on them.
12026  Now choose for this cell 
12027 \emph on
12028 multicolumn
12029 \emph default
12030
12031 \emph on
12032 centered alignment
12033 \emph default
12034  and a width of 2.5
12035 \begin_inset space \thinspace{}
12036 \end_inset
12037
12038 cm in the table dialog.
12039  The merged columns should have exactly half the width of the multicolumn
12040  cell, so that you would set a width of 1.25
12041 \begin_inset space \thinspace{}
12042 \end_inset
12043
12044 cm for the first column.
12045  The second column has then automatically a width of 1.25
12046 \begin_inset space \thinspace{}
12047 \end_inset
12048
12049 cm (multicolumn width - width of first column).
12050  This was done for Table
12051 \begin_inset space ~
12052 \end_inset
12053
12054
12055 \begin_inset CommandInset ref
12056 LatexCommand ref
12057 reference "tab:Table-without-half"
12058
12059 \end_inset
12060
12061 .
12062 \end_layout
12063
12064 \begin_layout Standard
12065 \begin_inset Float table
12066 wide false
12067 sideways false
12068 status open
12069
12070 \begin_layout Plain Layout
12071 \begin_inset Caption
12072
12073 \begin_layout Plain Layout
12074 \begin_inset CommandInset label
12075 LatexCommand label
12076 name "tab:Table-without-half"
12077
12078 \end_inset
12079
12080 Table where the spanned table columns are not exactly half the width of
12081  the multicolumn cell
12082 \begin_inset Argument
12083 status collapsed
12084
12085 \begin_layout Plain Layout
12086 Imperfect multicolumn table
12087 \end_layout
12088
12089 \end_inset
12090
12091
12092 \end_layout
12093
12094 \end_inset
12095
12096
12097 \end_layout
12098
12099 \begin_layout Plain Layout
12100 \align center
12101 \begin_inset Tabular
12102 <lyxtabular version="3" rows="3" columns="3">
12103 <features tabularvalignment="middle">
12104 <column alignment="center" valignment="top" width="1.25cm">
12105 <column alignment="center" valignment="top" width="0">
12106 <column alignment="center" valignment="top" width="0">
12107 <row>
12108 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12109 \begin_inset Text
12110
12111 \begin_layout Plain Layout
12112 multiple lines multicolumn
12113 \end_layout
12114
12115 \end_inset
12116 </cell>
12117 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12118 \begin_inset Text
12119
12120 \begin_layout Plain Layout
12121
12122 \end_layout
12123
12124 \end_inset
12125 </cell>
12126 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12127 \begin_inset Text
12128
12129 \begin_layout Plain Layout
12130 c
12131 \end_layout
12132
12133 \end_inset
12134 </cell>
12135 </row>
12136 <row>
12137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12138 \begin_inset Text
12139
12140 \begin_layout Plain Layout
12141 d
12142 \end_layout
12143
12144 \end_inset
12145 </cell>
12146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12147 \begin_inset Text
12148
12149 \begin_layout Plain Layout
12150 e
12151 \end_layout
12152
12153 \end_inset
12154 </cell>
12155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12156 \begin_inset Text
12157
12158 \begin_layout Plain Layout
12159 f
12160 \end_layout
12161
12162 \end_inset
12163 </cell>
12164 </row>
12165 <row>
12166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12167 \begin_inset Text
12168
12169 \begin_layout Plain Layout
12170 g
12171 \end_layout
12172
12173 \end_inset
12174 </cell>
12175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12176 \begin_inset Text
12177
12178 \begin_layout Plain Layout
12179 h
12180 \end_layout
12181
12182 \end_inset
12183 </cell>
12184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12185 \begin_inset Text
12186
12187 \begin_layout Plain Layout
12188 i
12189 \end_layout
12190
12191 \end_inset
12192 </cell>
12193 </row>
12194 </lyxtabular>
12195
12196 \end_inset
12197
12198
12199 \end_layout
12200
12201 \end_inset
12202
12203
12204 \end_layout
12205
12206 \begin_layout Standard
12207 You can see that the first column is not half the width of the multicolumn
12208  cell, it is a bit bigger.
12209  The reason is that the specified width of a cell 
12210 \begin_inset Formula $W_{g}$
12211 \end_inset
12212
12213  is not its total width 
12214 \begin_inset Formula $W_{\mathrm{tot}}$
12215 \end_inset
12216
12217  because a cell is always a bit larger than specified.
12218  Appendix
12219 \begin_inset space ~
12220 \end_inset
12221
12222
12223 \begin_inset CommandInset ref
12224 LatexCommand eqref
12225 reference "cha:Explanation-of-Equation"
12226
12227 \end_inset
12228
12229  explains this in detail.
12230 \end_layout
12231
12232 \begin_layout Standard
12233 The width 
12234 \begin_inset Formula $W_{g\, n}$
12235 \end_inset
12236
12237  which the user needs to set when 
12238 \emph on
12239 n
12240 \emph default
12241  columns are spanned can be calculated, so that each column has a total
12242  width of 
12243 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
12244 \end_inset
12245
12246 :
12247 \begin_inset Formula 
12248 \begin{equation}
12249 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12250 \end{equation}
12251
12252 \end_inset
12253
12254
12255 \end_layout
12256
12257 \begin_layout Standard
12258 In our case we have 
12259 \begin_inset Formula $n=2$
12260 \end_inset
12261
12262
12263 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12264 \end_inset
12265
12266 cm and the default values for the lengths, so that equation 
12267 \begin_inset CommandInset ref
12268 LatexCommand ref
12269 reference "eq:Wgn"
12270
12271 \end_inset
12272
12273  becomes
12274 \begin_inset Formula 
12275 \begin{equation}
12276 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12277 \end{equation}
12278
12279 \end_inset
12280
12281
12282 \end_layout
12283
12284 \begin_layout Standard
12285 To enable calculations in LaTeX, the LaTeX-package 
12286 \series bold
12287 calc
12288 \series default
12289  must be loaded with the document preamble line
12290 \begin_inset Index idx
12291 status collapsed
12292
12293 \begin_layout Plain Layout
12294 LaTeX-packages ! calc
12295 \end_layout
12296
12297 \end_inset
12298
12299
12300 \end_layout
12301
12302 \begin_layout Standard
12303
12304 \series bold
12305
12306 \backslash
12307 usepackage{calc}
12308 \end_layout
12309
12310 \begin_layout Standard
12311 LyX does not allow you to calculate lengths in the 
12312 \family sans
12313 Width
12314 \family default
12315  field of the table dialog.
12316  Therefore you have to format the column by inserting a LaTeX-argument in
12317  the dialog.
12318  Here is an overview about the arguments:
12319 \end_layout
12320
12321 \begin_layout Itemize
12322
12323 \series bold
12324 p{width}
12325 \series default
12326  creates cell with a fixed width, its text is vertically top-aligned
12327 \end_layout
12328
12329 \begin_layout Itemize
12330
12331 \series bold
12332 m{width}
12333 \series default
12334  creates cell with a fixed width, its text is vertically centered
12335 \end_layout
12336
12337 \begin_layout Itemize
12338
12339 \series bold
12340 b{width}
12341 \series default
12342  creates cell with a fixed width, its text is vertically bottom-aligned
12343 \end_layout
12344
12345 \begin_layout Standard
12346 By entering a LaTeX-argument, all cell settings set in the table dialog
12347  are overwritten.
12348 \end_layout
12349
12350 \begin_layout Standard
12351 \begin_inset Note Greyedout
12352 status open
12353
12354 \begin_layout Plain Layout
12355
12356 \series bold
12357 Note:
12358 \series default
12359  Due to a bug, LyX shows the overwritten settings anyway.
12360 \end_layout
12361
12362 \end_inset
12363
12364
12365 \end_layout
12366
12367 \begin_layout Standard
12368 As the text should be horizontally centered, the command 
12369 \series bold
12370
12371 \backslash
12372 centering
12373 \series default
12374  is added.
12375  You can now enter the following LaTeX-argument for the first spanned column:
12376 \end_layout
12377
12378 \begin_layout Standard
12379
12380 \series bold
12381 >{
12382 \backslash
12383 centering}m{1.25cm-6.2pt}
12384 \end_layout
12385
12386 \begin_layout Standard
12387 The command 
12388 \series bold
12389 >{ }
12390 \series default
12391  means, that the commands inside the braces are applied before the cell
12392  is created.
12393 \end_layout
12394
12395 \begin_layout Standard
12396 Although we have chosen centered alignment for the text of the multicolumn
12397  cell, it is still left aligned.
12398  This is because LyX only applies the alignment to single columns.
12399  So for the multicolumn cell we have to use the LaTeX-argument
12400 \end_layout
12401
12402 \begin_layout Standard
12403
12404 \series bold
12405 >{
12406 \backslash
12407 centering}m{2.5cm}
12408 \end_layout
12409
12410 \begin_layout Subsection
12411 Multirows
12412 \begin_inset CommandInset label
12413 LatexCommand label
12414 name "sub:Multirows"
12415
12416 \end_inset
12417
12418
12419 \begin_inset Index idx
12420 status collapsed
12421
12422 \begin_layout Plain Layout
12423 Multirows
12424 \end_layout
12425
12426 \end_inset
12427
12428
12429 \begin_inset Index idx
12430 status collapsed
12431
12432 \begin_layout Plain Layout
12433 Table ! Multirows
12434 \end_layout
12435
12436 \end_inset
12437
12438
12439 \end_layout
12440
12441 \begin_layout Standard
12442 To merge cells over multiple rows, select as many cells within a column
12443  as you want to merge and use either the table-toolbar button 
12444 \begin_inset Graphics
12445         filename ../images/tabular-feature_multirow.png
12446         scale 85
12447         scaleBeforeRotation
12448
12449 \end_inset
12450
12451 , or the menu 
12452 \family sans
12453 Edit\SpecialChar \menuseparator
12454 Table\SpecialChar \menuseparator
12455 Multirow
12456 \family default
12457 , or right click on the marked cells and choose 
12458 \family sans
12459 Multirow
12460 \family default
12461  in the context menu.
12462 \end_layout
12463
12464 \begin_layout Standard
12465 Here is an example table with a multirow in the first column:
12466 \end_layout
12467
12468 \begin_layout Standard
12469 \align center
12470 \begin_inset Tabular
12471 <lyxtabular version="3" rows="3" columns="3">
12472 <features tabularvalignment="middle">
12473 <column alignment="center" valignment="top" width="0pt">
12474 <column alignment="center" valignment="top" width="0">
12475 <column alignment="center" valignment="top" width="0">
12476 <row>
12477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12478 \begin_inset Text
12479
12480 \begin_layout Plain Layout
12481 a long cell entry
12482 \end_layout
12483
12484 \end_inset
12485 </cell>
12486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12487 \begin_inset Text
12488
12489 \begin_layout Plain Layout
12490 b
12491 \end_layout
12492
12493 \end_inset
12494 </cell>
12495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12496 \begin_inset Text
12497
12498 \begin_layout Plain Layout
12499 c
12500 \end_layout
12501
12502 \end_inset
12503 </cell>
12504 </row>
12505 <row>
12506 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12507 \begin_inset Text
12508
12509 \begin_layout Plain Layout
12510 multirow
12511 \end_layout
12512
12513 \end_inset
12514 </cell>
12515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12516 \begin_inset Text
12517
12518 \begin_layout Plain Layout
12519 e
12520 \end_layout
12521
12522 \end_inset
12523 </cell>
12524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12525 \begin_inset Text
12526
12527 \begin_layout Plain Layout
12528 f
12529 \end_layout
12530
12531 \end_inset
12532 </cell>
12533 </row>
12534 <row>
12535 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12536 \begin_inset Text
12537
12538 \begin_layout Plain Layout
12539
12540 \end_layout
12541
12542 \end_inset
12543 </cell>
12544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12545 \begin_inset Text
12546
12547 \begin_layout Plain Layout
12548 h
12549 \end_layout
12550
12551 \end_inset
12552 </cell>
12553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12554 \begin_inset Text
12555
12556 \begin_layout Plain Layout
12557 i
12558 \end_layout
12559
12560 \end_inset
12561 </cell>
12562 </row>
12563 </lyxtabular>
12564
12565 \end_inset
12566
12567
12568 \end_layout
12569
12570 \begin_layout Standard
12571 The width of multirow cells is set by setting the width and alignment for
12572  the whole column.
12573  The 
12574 \family sans
12575 Vertical Offset
12576 \family default
12577  shifts the content of the multirow up/down if the offset is positive/negative.
12578 \end_layout
12579
12580 \begin_layout Standard
12581 If the column of a multirow cell has no explicit width, the multirow cell
12582  inherits the alignment of the column.
12583  Otherwise it is by default left-aligned.
12584  To override the default, renew the command 
12585 \series bold
12586
12587 \backslash
12588 multirowsetup
12589 \series default
12590  with the command
12591 \end_layout
12592
12593 \begin_layout Standard
12594
12595 \series bold
12596
12597 \backslash
12598 renewcommand{
12599 \backslash
12600 multirowsetup}{
12601 \backslash
12602 centering}
12603 \end_layout
12604
12605 \begin_layout Standard
12606 in the document preamble.
12607  Then all entries of multirow cells in the document are centered.
12608  If centering is only needed for several tables, you can renew the command
12609  in a TeX-Code box just before the table instead of the preamble.
12610  If the text should be right-aligned, replace 
12611 \series bold
12612
12613 \backslash
12614 centering
12615 \series default
12616  by 
12617 \series bold
12618
12619 \backslash
12620 raggedleft
12621 \series default
12622 .
12623  To return to left-alignment 
12624 \series bold
12625
12626 \backslash
12627 raggedright
12628 \series default
12629  is used.
12630 \end_layout
12631
12632 \begin_layout Standard
12633 This is an example table with a right-aligned multirow cell that has a vertical
12634  offset of -4
12635 \begin_inset space \thinspace{}
12636 \end_inset
12637
12638 mm and is in a 3
12639 \begin_inset space \thinspace{}
12640 \end_inset
12641
12642 cm wide column:
12643 \end_layout
12644
12645 \begin_layout Standard
12646 \noindent
12647 \align center
12648 \begin_inset ERT
12649 status collapsed
12650
12651 \begin_layout Plain Layout
12652
12653
12654 \backslash
12655 renewcommand{
12656 \backslash
12657 multirowsetup}{
12658 \backslash
12659 raggedleft}
12660 \end_layout
12661
12662 \end_inset
12663
12664
12665 \begin_inset Tabular
12666 <lyxtabular version="3" rows="4" columns="3">
12667 <features tabularvalignment="middle">
12668 <column alignment="center" valignment="top" width="3cm">
12669 <column alignment="center" valignment="top" width="0">
12670 <column alignment="center" valignment="top" width="0">
12671 <row>
12672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12673 \begin_inset Text
12674
12675 \begin_layout Plain Layout
12676 a long cell entry
12677 \end_layout
12678
12679 \end_inset
12680 </cell>
12681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12682 \begin_inset Text
12683
12684 \begin_layout Plain Layout
12685 b
12686 \end_layout
12687
12688 \end_inset
12689 </cell>
12690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12691 \begin_inset Text
12692
12693 \begin_layout Plain Layout
12694 c
12695 \end_layout
12696
12697 \end_inset
12698 </cell>
12699 </row>
12700 <row>
12701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12702 \begin_inset Text
12703
12704 \begin_layout Plain Layout
12705 t
12706 \end_layout
12707
12708 \end_inset
12709 </cell>
12710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12711 \begin_inset Text
12712
12713 \begin_layout Plain Layout
12714 n
12715 \end_layout
12716
12717 \end_inset
12718 </cell>
12719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12720 \begin_inset Text
12721
12722 \begin_layout Plain Layout
12723 m
12724 \end_layout
12725
12726 \end_inset
12727 </cell>
12728 </row>
12729 <row>
12730 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12731 \begin_inset Text
12732
12733 \begin_layout Plain Layout
12734 multirow
12735 \end_layout
12736
12737 \end_inset
12738 </cell>
12739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12740 \begin_inset Text
12741
12742 \begin_layout Plain Layout
12743 e
12744 \end_layout
12745
12746 \end_inset
12747 </cell>
12748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12749 \begin_inset Text
12750
12751 \begin_layout Plain Layout
12752 f
12753 \end_layout
12754
12755 \end_inset
12756 </cell>
12757 </row>
12758 <row>
12759 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12760 \begin_inset Text
12761
12762 \begin_layout Plain Layout
12763
12764 \end_layout
12765
12766 \end_inset
12767 </cell>
12768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12769 \begin_inset Text
12770
12771 \begin_layout Plain Layout
12772 h
12773 \end_layout
12774
12775 \end_inset
12776 </cell>
12777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12778 \begin_inset Text
12779
12780 \begin_layout Plain Layout
12781 i
12782 \end_layout
12783
12784 \end_inset
12785 </cell>
12786 </row>
12787 </lyxtabular>
12788
12789 \end_inset
12790
12791
12792 \begin_inset ERT
12793 status collapsed
12794
12795 \begin_layout Plain Layout
12796
12797
12798 \backslash
12799 renewcommand{
12800 \backslash
12801 multirowsetup}{
12802 \backslash
12803 raggedright}
12804 \end_layout
12805
12806 \end_inset
12807
12808
12809 \end_layout
12810
12811 \begin_layout Section
12812 Formal Tables
12813 \begin_inset CommandInset label
12814 LatexCommand label
12815 name "sec:Formal-Tables"
12816
12817 \end_inset
12818
12819
12820 \begin_inset Index idx
12821 status collapsed
12822
12823 \begin_layout Plain Layout
12824 Table ! Formal
12825 \end_layout
12826
12827 \end_inset
12828
12829
12830 \end_layout
12831
12832 \begin_layout Standard
12833 Tables are often typeset in books similar to Table
12834 \begin_inset space ~
12835 \end_inset
12836
12837
12838 \begin_inset CommandInset ref
12839 LatexCommand ref
12840 reference "tab:Example-booktabs-table"
12841
12842 \end_inset
12843
12844 .
12845  This kind of tables is called 
12846 \begin_inset Quotes eld
12847 \end_inset
12848
12849
12850 \emph on
12851 formal
12852 \emph default
12853
12854 \begin_inset Quotes erd
12855 \end_inset
12856
12857 .
12858  To make a table a formal table use the option 
12859 \family sans
12860 Formal
12861 \family default
12862  in the 
12863 \family sans
12864 Borders
12865 \family default
12866  tab of the table dialog.
12867 \end_layout
12868
12869 \begin_layout Standard
12870 \begin_inset Float table
12871 placement h
12872 wide false
12873 sideways false
12874 status open
12875
12876 \begin_layout Plain Layout
12877 \begin_inset Caption
12878
12879 \begin_layout Plain Layout
12880 \begin_inset CommandInset label
12881 LatexCommand label
12882 name "tab:Example-booktabs-table"
12883
12884 \end_inset
12885
12886 Example booktabs-table
12887 \end_layout
12888
12889 \end_inset
12890
12891
12892 \end_layout
12893
12894 \begin_layout Plain Layout
12895 \align center
12896 \begin_inset Tabular
12897 <lyxtabular version="3" rows="8" columns="4">
12898 <features booktabs="true" tabularvalignment="middle">
12899 <column alignment="center" valignment="top" width="0">
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 <row>
12904 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12905 \begin_inset Text
12906
12907 \begin_layout Plain Layout
12908 System
12909 \end_layout
12910
12911 \end_inset
12912 </cell>
12913 <cell alignment="center" valignment="top" topline="true" usebox="none">
12914 \begin_inset Text
12915
12916 \begin_layout Plain Layout
12917 Chip
12918 \begin_inset space \thinspace{}
12919 \end_inset
12920
12921 1
12922 \end_layout
12923
12924 \end_inset
12925 </cell>
12926 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12927 \begin_inset Text
12928
12929 \begin_layout Plain Layout
12930 Chip
12931 \begin_inset space \thinspace{}
12932 \end_inset
12933
12934 2
12935 \end_layout
12936
12937 \end_inset
12938 </cell>
12939 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12940 \begin_inset Text
12941
12942 \begin_layout Plain Layout
12943
12944 \end_layout
12945
12946 \end_inset
12947 </cell>
12948 </row>
12949 <row>
12950 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12951 \begin_inset Text
12952
12953 \begin_layout Plain Layout
12954 \begin_inset ERT
12955 status collapsed
12956
12957 \begin_layout Plain Layout
12958
12959
12960 \backslash
12961 cmidrule(r){2-2}
12962 \end_layout
12963
12964 \end_inset
12965
12966
12967 \begin_inset ERT
12968 status collapsed
12969
12970 \begin_layout Plain Layout
12971
12972
12973 \backslash
12974 cmidrule(l){3-4}
12975 \end_layout
12976
12977 \end_inset
12978
12979 Detector thickness in Âµm
12980 \end_layout
12981
12982 \end_inset
12983 </cell>
12984 <cell alignment="center" valignment="top" usebox="none">
12985 \begin_inset Text
12986
12987 \begin_layout Plain Layout
12988 300
12989 \end_layout
12990
12991 \end_inset
12992 </cell>
12993 <cell alignment="center" valignment="top" usebox="none">
12994 \begin_inset Text
12995
12996 \begin_layout Plain Layout
12997 300
12998 \end_layout
12999
13000 \end_inset
13001 </cell>
13002 <cell alignment="center" valignment="top" usebox="none">
13003 \begin_inset Text
13004
13005 \begin_layout Plain Layout
13006 700
13007 \end_layout
13008
13009 \end_inset
13010 </cell>
13011 </row>
13012 <row>
13013 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13014 \begin_inset Text
13015
13016 \begin_layout Plain Layout
13017 Edge angle in Â°
13018 \end_layout
13019
13020 \end_inset
13021 </cell>
13022 <cell alignment="center" valignment="top" topline="true" usebox="none">
13023 \begin_inset Text
13024
13025 \begin_layout Plain Layout
13026 3.55
13027 \end_layout
13028
13029 \end_inset
13030 </cell>
13031 <cell alignment="center" valignment="top" topline="true" usebox="none">
13032 \begin_inset Text
13033
13034 \begin_layout Plain Layout
13035 2.71
13036 \end_layout
13037
13038 \end_inset
13039 </cell>
13040 <cell alignment="center" valignment="top" topline="true" usebox="none">
13041 \begin_inset Text
13042
13043 \begin_layout Plain Layout
13044 7.99
13045 \end_layout
13046
13047 \end_inset
13048 </cell>
13049 </row>
13050 <row topspace="default">
13051 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13052 \begin_inset Text
13053
13054 \begin_layout Plain Layout
13055 Spatial resolution in Âµm
13056 \end_layout
13057
13058 \end_inset
13059 </cell>
13060 <cell alignment="center" valignment="top" usebox="none">
13061 \begin_inset Text
13062
13063 \begin_layout Plain Layout
13064 4.26
13065 \end_layout
13066
13067 \end_inset
13068 </cell>
13069 <cell alignment="center" valignment="top" usebox="none">
13070 \begin_inset Text
13071
13072 \begin_layout Plain Layout
13073 10.17
13074 \end_layout
13075
13076 \end_inset
13077 </cell>
13078 <cell alignment="center" valignment="top" usebox="none">
13079 \begin_inset Text
13080
13081 \begin_layout Plain Layout
13082 10.56
13083 \end_layout
13084
13085 \end_inset
13086 </cell>
13087 </row>
13088 <row topspace="default">
13089 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13090 \begin_inset Text
13091
13092 \begin_layout Plain Layout
13093 MTF at 
13094 \begin_inset Formula $f_{\mathrm{max}}$
13095 \end_inset
13096
13097
13098 \end_layout
13099
13100 \end_inset
13101 </cell>
13102 <cell alignment="center" valignment="top" usebox="none">
13103 \begin_inset Text
13104
13105 \begin_layout Plain Layout
13106 0.53
13107 \end_layout
13108
13109 \end_inset
13110 </cell>
13111 <cell alignment="center" valignment="top" usebox="none">
13112 \begin_inset Text
13113
13114 \begin_layout Plain Layout
13115 0.37
13116 \end_layout
13117
13118 \end_inset
13119 </cell>
13120 <cell alignment="center" valignment="top" usebox="none">
13121 \begin_inset Text
13122
13123 \begin_layout Plain Layout
13124 0.39
13125 \end_layout
13126
13127 \end_inset
13128 </cell>
13129 </row>
13130 <row topspace="default">
13131 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13132 \begin_inset Text
13133
13134 \begin_layout Plain Layout
13135 \begin_inset ERT
13136 status collapsed
13137
13138 \begin_layout Plain Layout
13139
13140
13141 \backslash
13142 cmidrule(l{10pt}){1-1}
13143 \end_layout
13144
13145 \end_inset
13146
13147 LSF-spatial resolution
13148 \end_layout
13149
13150 \end_inset
13151 </cell>
13152 <cell alignment="center" valignment="top" usebox="none">
13153 \begin_inset Text
13154
13155 \begin_layout Plain Layout
13156
13157 \end_layout
13158
13159 \end_inset
13160 </cell>
13161 <cell alignment="center" valignment="top" usebox="none">
13162 \begin_inset Text
13163
13164 \begin_layout Plain Layout
13165
13166 \end_layout
13167
13168 \end_inset
13169 </cell>
13170 <cell alignment="center" valignment="top" usebox="none">
13171 \begin_inset Text
13172
13173 \begin_layout Plain Layout
13174
13175 \end_layout
13176
13177 \end_inset
13178 </cell>
13179 </row>
13180 <row>
13181 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13182 \begin_inset Text
13183
13184 \begin_layout Plain Layout
13185 in Âµm
13186 \end_layout
13187
13188 \end_inset
13189 </cell>
13190 <cell alignment="center" valignment="top" usebox="none">
13191 \begin_inset Text
13192
13193 \begin_layout Plain Layout
13194 129.7
13195 \end_layout
13196
13197 \end_inset
13198 </cell>
13199 <cell alignment="center" valignment="top" usebox="none">
13200 \begin_inset Text
13201
13202 \begin_layout Plain Layout
13203 52.75
13204 \end_layout
13205
13206 \end_inset
13207 </cell>
13208 <cell alignment="center" valignment="top" usebox="none">
13209 \begin_inset Text
13210
13211 \begin_layout Plain Layout
13212 50.78
13213 \end_layout
13214
13215 \end_inset
13216 </cell>
13217 </row>
13218 <row>
13219 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
13220 \begin_inset Text
13221
13222 \begin_layout Plain Layout
13223 in % of pixel size
13224 \end_layout
13225
13226 \end_inset
13227 </cell>
13228 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13229 \begin_inset Text
13230
13231 \begin_layout Plain Layout
13232 76.3
13233 \end_layout
13234
13235 \end_inset
13236 </cell>
13237 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13238 \begin_inset Text
13239
13240 \begin_layout Plain Layout
13241 95.9
13242 \end_layout
13243
13244 \end_inset
13245 </cell>
13246 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13247 \begin_inset Text
13248
13249 \begin_layout Plain Layout
13250 92.3
13251 \end_layout
13252
13253 \end_inset
13254 </cell>
13255 </row>
13256 </lyxtabular>
13257
13258 \end_inset
13259
13260
13261 \end_layout
13262
13263 \end_inset
13264
13265
13266 \end_layout
13267
13268 \begin_layout Standard
13269 Spaces to table rows can be added using the 
13270 \family sans
13271 Borders
13272 \family default
13273  tab of the table dialog as described in section
13274 \begin_inset space ~
13275 \end_inset
13276
13277
13278 \begin_inset CommandInset ref
13279 LatexCommand ref
13280 reference "sub:Row-Spacing"
13281
13282 \end_inset
13283
13284 .
13285 \end_layout
13286
13287 \begin_layout Standard
13288 Unlike normal tables, formal tables have no vertical table lines.
13289  The horizontal table lines can be set as for normal tables but they appear
13290  with different widths in the output:
13291 \begin_inset Newline newline
13292 \end_inset
13293
13294 The first and the last table line have a default width of 0.08
13295 \begin_inset space \thinspace{}
13296 \end_inset
13297
13298 em while the other lines have a default width of 0.05
13299 \begin_inset space \thinspace{}
13300 \end_inset
13301
13302 em.
13303 \end_layout
13304
13305 \begin_layout Standard
13306 The default widths can be changed with the following preamble lines
13307 \end_layout
13308
13309 \begin_layout Standard
13310
13311 \series bold
13312
13313 \backslash
13314 let
13315 \backslash
13316 mytoprule
13317 \backslash
13318 toprule
13319 \begin_inset Newline newline
13320 \end_inset
13321
13322
13323 \backslash
13324 renewcommand{
13325 \backslash
13326 toprule}{
13327 \backslash
13328 mytoprule[width]}
13329 \end_layout
13330
13331 \begin_layout Standard
13332 This example is for the first line, the so called 
13333 \series bold
13334 toprule
13335 \series default
13336 .
13337  If you want to change the width for the last line, replace 
13338 \series bold
13339 toprule
13340 \series default
13341  by 
13342 \series bold
13343 bottomrule
13344 \series default
13345 .
13346  To change the width for the other lines replace 
13347 \series bold
13348 toprule
13349 \series default
13350  by 
13351 \series bold
13352 midrule
13353 \series default
13354 .
13355  You can use all units listed in appendix
13356 \begin_inset space ~
13357 \end_inset
13358
13359
13360 \begin_inset CommandInset ref
13361 LatexCommand ref
13362 reference "cha:Units-available-in"
13363
13364 \end_inset
13365
13366  to set the width.
13367 \end_layout
13368
13369 \begin_layout Standard
13370 Lines that do not span all table columns can be created by setting a table
13371  line for multicolumn cells.
13372  LyX will then internally use the command 
13373 \series bold
13374
13375 \backslash
13376 cmidrule
13377 \series default
13378  to create this line.
13379  Its full scheme is
13380 \end_layout
13381
13382 \begin_layout Standard
13383
13384 \series bold
13385
13386 \backslash
13387 cmidrule[width](trim){startcol-endcol}
13388 \end_layout
13389
13390 \begin_layout Standard
13391 The options of 
13392 \series bold
13393
13394 \backslash
13395 cmidrule
13396 \series default
13397  are currently not supported by LyX so you have to use TeX-Code to be able
13398  to use them.
13399  
13400 \series bold
13401
13402 \backslash
13403 cmidrule
13404 \series default
13405 s can manually be created by inserting the command as TeX-Code as the first
13406  cell entry of the first cell of a row.
13407  The line is then drawn in the output above the current row.
13408 \end_layout
13409
13410 \begin_layout Standard
13411 The default for the width is 0.03
13412 \begin_inset space \thinspace{}
13413 \end_inset
13414
13415 em.
13416  Startcol is the number of the column where the line starts and endcol the
13417  column number where the line ends.
13418  The endcol always needs to be specified, also when the line should span
13419  only one column.
13420  The optional parameter trim could be either 
13421 \emph on
13422 l{trimwidth}
13423 \emph default
13424 , or 
13425 \emph on
13426 r{trimwidth}
13427 \emph default
13428  where the trimwidth is also optional.
13429  Using for example the parameter 
13430 \emph on
13431 l{2pt}
13432 \emph default
13433  means that the line is trimmed from its left end by 2
13434 \begin_inset space \thinspace{}
13435 \end_inset
13436
13437 pt.
13438  If you don't specify the trimwidth the lines are trimmed by the default
13439  of 0.5
13440 \begin_inset space \thinspace{}
13441 \end_inset
13442
13443 em.
13444 \end_layout
13445
13446 \begin_layout Standard
13447 \begin_inset VSpace bigskip
13448 \end_inset
13449
13450 Table
13451 \begin_inset space ~
13452 \end_inset
13453
13454
13455 \begin_inset CommandInset ref
13456 LatexCommand ref
13457 reference "tab:Example-booktabs-table"
13458
13459 \end_inset
13460
13461  was created using the commands
13462 \end_layout
13463
13464 \begin_layout Standard
13465
13466 \series bold
13467
13468 \backslash
13469 cmidrule(r){2-2}
13470 \backslash
13471 cmidrule(l){3-4}
13472 \end_layout
13473
13474 \begin_layout Standard
13475 at the beginning of the second row and
13476 \end_layout
13477
13478 \begin_layout Standard
13479
13480 \series bold
13481
13482 \backslash
13483 cmidrule(l{10pt}){1-1}
13484 \end_layout
13485
13486 \begin_layout Standard
13487 in the sixth row.
13488 \end_layout
13489
13490 \begin_layout Standard
13491 \begin_inset VSpace bigskip
13492 \end_inset
13493
13494
13495 \end_layout
13496
13497 \begin_layout Standard
13498 You might want to have overlapping 
13499 \series bold
13500
13501 \backslash
13502 cmidrule
13503 \series default
13504 s as in in Table
13505 \begin_inset space ~
13506 \end_inset
13507
13508
13509 \begin_inset CommandInset ref
13510 LatexCommand ref
13511 reference "tab:Special-booktabs-table"
13512
13513 \end_inset
13514
13515 .
13516  This can be achieved with the TeX-Code command
13517 \end_layout
13518
13519 \begin_layout Standard
13520
13521 \series bold
13522
13523 \backslash
13524 morecmidrules
13525 \end_layout
13526
13527 \begin_layout Standard
13528 The command that was used for the second row of Table
13529 \begin_inset space ~
13530 \end_inset
13531
13532
13533 \begin_inset CommandInset ref
13534 LatexCommand ref
13535 reference "tab:Special-booktabs-table"
13536
13537 \end_inset
13538
13539  is
13540 \end_layout
13541
13542 \begin_layout Standard
13543
13544 \series bold
13545
13546 \backslash
13547 cmidrule(r){2-2}
13548 \backslash
13549 cmidrule(l){3-4}
13550 \backslash
13551 morecmidrules
13552 \backslash
13553 cmidrule{2-4}
13554 \end_layout
13555
13556 \begin_layout Standard
13557 The command for the sixth row is
13558 \end_layout
13559
13560 \begin_layout Standard
13561
13562 \series bold
13563
13564 \backslash
13565 midrule
13566 \backslash
13567 morecmidrules
13568 \backslash
13569 cmidrule{3-4}
13570 \end_layout
13571
13572 \begin_layout Standard
13573 \begin_inset VSpace bigskip
13574 \end_inset
13575
13576
13577 \end_layout
13578
13579 \begin_layout Standard
13580 If you are anyway not satisfied with the border line spacing, you can use
13581  the following command to produce lines that span over all table columns
13582 \series bold
13583 :
13584 \end_layout
13585
13586 \begin_layout Standard
13587
13588 \series bold
13589
13590 \backslash
13591 specialrule{width}{space above}{space below}
13592 \end_layout
13593
13594 \begin_layout Standard
13595 For more information about these features, refer to the manual of the LaTeX-pack
13596 age 
13597 \series bold
13598 booktabs
13599 \series default
13600  
13601 \begin_inset CommandInset citation
13602 LatexCommand cite
13603 key "booktabs"
13604
13605 \end_inset
13606
13607 .
13608 \begin_inset Index idx
13609 status collapsed
13610
13611 \begin_layout Plain Layout
13612 LaTeX-packages ! booktabs
13613 \end_layout
13614
13615 \end_inset
13616
13617
13618 \end_layout
13619
13620 \begin_layout Standard
13621 \begin_inset Float table
13622 placement h
13623 wide false
13624 sideways false
13625 status open
13626
13627 \begin_layout Plain Layout
13628 \begin_inset Caption
13629
13630 \begin_layout Plain Layout
13631 \begin_inset CommandInset label
13632 LatexCommand label
13633 name "tab:Special-booktabs-table"
13634
13635 \end_inset
13636
13637 Special booktabs-table
13638 \end_layout
13639
13640 \end_inset
13641
13642
13643 \end_layout
13644
13645 \begin_layout Plain Layout
13646 \align center
13647 \begin_inset Tabular
13648 <lyxtabular version="3" rows="8" columns="4">
13649 <features booktabs="true" tabularvalignment="middle">
13650 <column alignment="center" valignment="top" width="0">
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 <row>
13655 <cell alignment="center" valignment="top" topline="true" usebox="none">
13656 \begin_inset Text
13657
13658 \begin_layout Plain Layout
13659 System
13660 \end_layout
13661
13662 \end_inset
13663 </cell>
13664 <cell alignment="center" valignment="top" topline="true" usebox="none">
13665 \begin_inset Text
13666
13667 \begin_layout Plain Layout
13668 Chip
13669 \begin_inset space \thinspace{}
13670 \end_inset
13671
13672 1
13673 \end_layout
13674
13675 \end_inset
13676 </cell>
13677 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13678 \begin_inset Text
13679
13680 \begin_layout Plain Layout
13681 Chip
13682 \begin_inset space \thinspace{}
13683 \end_inset
13684
13685 2
13686 \end_layout
13687
13688 \end_inset
13689 </cell>
13690 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13691 \begin_inset Text
13692
13693 \begin_layout Plain Layout
13694
13695 \end_layout
13696
13697 \end_inset
13698 </cell>
13699 </row>
13700 <row>
13701 <cell alignment="center" valignment="top" usebox="none">
13702 \begin_inset Text
13703
13704 \begin_layout Plain Layout
13705 \begin_inset ERT
13706 status collapsed
13707
13708 \begin_layout Plain Layout
13709
13710
13711 \backslash
13712 cmidrule(r){2-2}
13713 \end_layout
13714
13715 \end_inset
13716
13717
13718 \begin_inset ERT
13719 status collapsed
13720
13721 \begin_layout Plain Layout
13722
13723
13724 \backslash
13725 cmidrule(l){3-4}
13726 \end_layout
13727
13728 \end_inset
13729
13730
13731 \begin_inset ERT
13732 status collapsed
13733
13734 \begin_layout Plain Layout
13735
13736
13737 \backslash
13738 morecmidrules 
13739 \end_layout
13740
13741 \end_inset
13742
13743
13744 \begin_inset ERT
13745 status collapsed
13746
13747 \begin_layout Plain Layout
13748
13749
13750 \backslash
13751 cmidrule{2-4}
13752 \end_layout
13753
13754 \end_inset
13755
13756 Detector thickness in Âµm
13757 \end_layout
13758
13759 \end_inset
13760 </cell>
13761 <cell alignment="center" valignment="top" usebox="none">
13762 \begin_inset Text
13763
13764 \begin_layout Plain Layout
13765 300
13766 \end_layout
13767
13768 \end_inset
13769 </cell>
13770 <cell alignment="center" valignment="top" usebox="none">
13771 \begin_inset Text
13772
13773 \begin_layout Plain Layout
13774 300
13775 \end_layout
13776
13777 \end_inset
13778 </cell>
13779 <cell alignment="center" valignment="top" usebox="none">
13780 \begin_inset Text
13781
13782 \begin_layout Plain Layout
13783 700
13784 \end_layout
13785
13786 \end_inset
13787 </cell>
13788 </row>
13789 <row>
13790 <cell alignment="center" valignment="top" topline="true" usebox="none">
13791 \begin_inset Text
13792
13793 \begin_layout Plain Layout
13794 Edge angle in Â°
13795 \end_layout
13796
13797 \end_inset
13798 </cell>
13799 <cell alignment="center" valignment="top" topline="true" usebox="none">
13800 \begin_inset Text
13801
13802 \begin_layout Plain Layout
13803 3.55
13804 \end_layout
13805
13806 \end_inset
13807 </cell>
13808 <cell alignment="center" valignment="top" topline="true" usebox="none">
13809 \begin_inset Text
13810
13811 \begin_layout Plain Layout
13812 2.71
13813 \end_layout
13814
13815 \end_inset
13816 </cell>
13817 <cell alignment="center" valignment="top" topline="true" usebox="none">
13818 \begin_inset Text
13819
13820 \begin_layout Plain Layout
13821 7.99
13822 \end_layout
13823
13824 \end_inset
13825 </cell>
13826 </row>
13827 <row topspace="default">
13828 <cell alignment="center" valignment="top" usebox="none">
13829 \begin_inset Text
13830
13831 \begin_layout Plain Layout
13832 Spatial resolution in Âµm
13833 \end_layout
13834
13835 \end_inset
13836 </cell>
13837 <cell alignment="center" valignment="top" usebox="none">
13838 \begin_inset Text
13839
13840 \begin_layout Plain Layout
13841 4.26
13842 \end_layout
13843
13844 \end_inset
13845 </cell>
13846 <cell alignment="center" valignment="top" usebox="none">
13847 \begin_inset Text
13848
13849 \begin_layout Plain Layout
13850 10.17
13851 \end_layout
13852
13853 \end_inset
13854 </cell>
13855 <cell alignment="center" valignment="top" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Plain Layout
13859 10.56
13860 \end_layout
13861
13862 \end_inset
13863 </cell>
13864 </row>
13865 <row topspace="default">
13866 <cell alignment="center" valignment="top" usebox="none">
13867 \begin_inset Text
13868
13869 \begin_layout Plain Layout
13870 MTF at 
13871 \begin_inset Formula $f_{\mathrm{max}}$
13872 \end_inset
13873
13874
13875 \end_layout
13876
13877 \end_inset
13878 </cell>
13879 <cell alignment="center" valignment="top" usebox="none">
13880 \begin_inset Text
13881
13882 \begin_layout Plain Layout
13883 0.53
13884 \end_layout
13885
13886 \end_inset
13887 </cell>
13888 <cell alignment="center" valignment="top" usebox="none">
13889 \begin_inset Text
13890
13891 \begin_layout Plain Layout
13892 0.37
13893 \end_layout
13894
13895 \end_inset
13896 </cell>
13897 <cell alignment="center" valignment="top" usebox="none">
13898 \begin_inset Text
13899
13900 \begin_layout Plain Layout
13901 0.39
13902 \end_layout
13903
13904 \end_inset
13905 </cell>
13906 </row>
13907 <row>
13908 <cell alignment="center" valignment="top" topline="true" usebox="none">
13909 \begin_inset Text
13910
13911 \begin_layout Plain Layout
13912 \begin_inset ERT
13913 status collapsed
13914
13915 \begin_layout Plain Layout
13916
13917
13918 \backslash
13919 morecmidrules 
13920 \end_layout
13921
13922 \end_inset
13923
13924
13925 \begin_inset ERT
13926 status collapsed
13927
13928 \begin_layout Plain Layout
13929
13930
13931 \backslash
13932 cmidrule{3-4}
13933 \end_layout
13934
13935 \end_inset
13936
13937 LSF-spatial resolution
13938 \end_layout
13939
13940 \end_inset
13941 </cell>
13942 <cell alignment="center" valignment="top" topline="true" usebox="none">
13943 \begin_inset Text
13944
13945 \begin_layout Plain Layout
13946
13947 \end_layout
13948
13949 \end_inset
13950 </cell>
13951 <cell alignment="center" valignment="top" topline="true" usebox="none">
13952 \begin_inset Text
13953
13954 \begin_layout Plain Layout
13955
13956 \end_layout
13957
13958 \end_inset
13959 </cell>
13960 <cell alignment="center" valignment="top" topline="true" usebox="none">
13961 \begin_inset Text
13962
13963 \begin_layout Plain Layout
13964
13965 \end_layout
13966
13967 \end_inset
13968 </cell>
13969 </row>
13970 <row>
13971 <cell alignment="center" valignment="top" usebox="none">
13972 \begin_inset Text
13973
13974 \begin_layout Plain Layout
13975 in Âµm
13976 \end_layout
13977
13978 \end_inset
13979 </cell>
13980 <cell alignment="center" valignment="top" usebox="none">
13981 \begin_inset Text
13982
13983 \begin_layout Plain Layout
13984 129.7
13985 \end_layout
13986
13987 \end_inset
13988 </cell>
13989 <cell alignment="center" valignment="top" usebox="none">
13990 \begin_inset Text
13991
13992 \begin_layout Plain Layout
13993 52.75
13994 \end_layout
13995
13996 \end_inset
13997 </cell>
13998 <cell alignment="center" valignment="top" usebox="none">
13999 \begin_inset Text
14000
14001 \begin_layout Plain Layout
14002 50.78
14003 \end_layout
14004
14005 \end_inset
14006 </cell>
14007 </row>
14008 <row>
14009 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14010 \begin_inset Text
14011
14012 \begin_layout Plain Layout
14013 in % of pixel size
14014 \end_layout
14015
14016 \end_inset
14017 </cell>
14018 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14019 \begin_inset Text
14020
14021 \begin_layout Plain Layout
14022 76.3
14023 \end_layout
14024
14025 \end_inset
14026 </cell>
14027 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14028 \begin_inset Text
14029
14030 \begin_layout Plain Layout
14031 95.9
14032 \end_layout
14033
14034 \end_inset
14035 </cell>
14036 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14037 \begin_inset Text
14038
14039 \begin_layout Plain Layout
14040 92.3
14041 \end_layout
14042
14043 \end_inset
14044 </cell>
14045 </row>
14046 </lyxtabular>
14047
14048 \end_inset
14049
14050
14051 \end_layout
14052
14053 \end_inset
14054
14055
14056 \end_layout
14057
14058 \begin_layout Section
14059 Vertical Table Alignment
14060 \begin_inset Index idx
14061 status collapsed
14062
14063 \begin_layout Plain Layout
14064 Table ! Alignment
14065 \end_layout
14066
14067 \end_inset
14068
14069
14070 \end_layout
14071
14072 \begin_layout Standard
14073 To align tables vertically in a text line the table must be inside a box.
14074  The box can then be vertically aligned as described in section
14075 \begin_inset space ~
14076 \end_inset
14077
14078
14079 \begin_inset CommandInset ref
14080 LatexCommand ref
14081 reference "sec:Box-Dialog"
14082
14083 \end_inset
14084
14085 .
14086 \end_layout
14087
14088 \begin_layout Standard
14089 In the following example the tables are inside a minipage
14090 \begin_inset Foot
14091 status collapsed
14092
14093 \begin_layout Plain Layout
14094 Minipages are described in section
14095 \begin_inset space ~
14096 \end_inset
14097
14098
14099 \begin_inset CommandInset ref
14100 LatexCommand ref
14101 reference "sec:Minipages"
14102
14103 \end_inset
14104
14105 .
14106 \end_layout
14107
14108 \end_inset
14109
14110  box that has a width of 15
14111 \begin_inset space \thinspace{}
14112 \end_inset
14113
14114 col%:
14115 \end_layout
14116
14117 \begin_layout Itemize
14118 test 
14119 \begin_inset Box Frameless
14120 position "t"
14121 hor_pos "c"
14122 has_inner_box 1
14123 inner_pos "c"
14124 use_parbox 0
14125 use_makebox 0
14126 width "15col%"
14127 special "none"
14128 height "1in"
14129 height_special "totalheight"
14130 status collapsed
14131
14132 \begin_layout Plain Layout
14133 \begin_inset Tabular
14134 <lyxtabular version="3" rows="3" columns="3">
14135 <features tabularvalignment="middle">
14136 <column alignment="center" valignment="top" width="0">
14137 <column alignment="center" valignment="top" width="0">
14138 <column alignment="center" valignment="top" width="0">
14139 <row>
14140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14141 \begin_inset Text
14142
14143 \begin_layout Plain Layout
14144 a
14145 \end_layout
14146
14147 \end_inset
14148 </cell>
14149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14150 \begin_inset Text
14151
14152 \begin_layout Plain Layout
14153 d
14154 \end_layout
14155
14156 \end_inset
14157 </cell>
14158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14159 \begin_inset Text
14160
14161 \begin_layout Plain Layout
14162 g
14163 \end_layout
14164
14165 \end_inset
14166 </cell>
14167 </row>
14168 <row>
14169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14170 \begin_inset Text
14171
14172 \begin_layout Plain Layout
14173 b
14174 \end_layout
14175
14176 \end_inset
14177 </cell>
14178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14179 \begin_inset Text
14180
14181 \begin_layout Plain Layout
14182 e
14183 \end_layout
14184
14185 \end_inset
14186 </cell>
14187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14188 \begin_inset Text
14189
14190 \begin_layout Plain Layout
14191 h
14192 \end_layout
14193
14194 \end_inset
14195 </cell>
14196 </row>
14197 <row>
14198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14199 \begin_inset Text
14200
14201 \begin_layout Plain Layout
14202 c
14203 \end_layout
14204
14205 \end_inset
14206 </cell>
14207 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14208 \begin_inset Text
14209
14210 \begin_layout Plain Layout
14211 f
14212 \end_layout
14213
14214 \end_inset
14215 </cell>
14216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14217 \begin_inset Text
14218
14219 \begin_layout Plain Layout
14220 i
14221 \end_layout
14222
14223 \end_inset
14224 </cell>
14225 </row>
14226 </lyxtabular>
14227
14228 \end_inset
14229
14230
14231 \end_layout
14232
14233 \end_inset
14234
14235  test 
14236 \begin_inset ERT
14237 status collapsed
14238
14239 \begin_layout Plain Layout
14240
14241
14242 \backslash
14243 raisebox{0.85
14244 \backslash
14245 baselineskip}{
14246 \end_layout
14247
14248 \end_inset
14249
14250
14251 \begin_inset Box Frameless
14252 position "t"
14253 hor_pos "c"
14254 has_inner_box 1
14255 inner_pos "c"
14256 use_parbox 0
14257 use_makebox 0
14258 width "15col%"
14259 special "none"
14260 height "1in"
14261 height_special "totalheight"
14262 status collapsed
14263
14264 \begin_layout Plain Layout
14265 \begin_inset Tabular
14266 <lyxtabular version="3" rows="3" columns="3">
14267 <features tabularvalignment="middle">
14268 <column alignment="center" valignment="top" width="0">
14269 <column alignment="center" valignment="top" width="0">
14270 <column alignment="center" valignment="top" width="0">
14271 <row>
14272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14273 \begin_inset Text
14274
14275 \begin_layout Plain Layout
14276 a
14277 \end_layout
14278
14279 \end_inset
14280 </cell>
14281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14282 \begin_inset Text
14283
14284 \begin_layout Plain Layout
14285 d
14286 \end_layout
14287
14288 \end_inset
14289 </cell>
14290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14291 \begin_inset Text
14292
14293 \begin_layout Plain Layout
14294 g
14295 \end_layout
14296
14297 \end_inset
14298 </cell>
14299 </row>
14300 <row>
14301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14302 \begin_inset Text
14303
14304 \begin_layout Plain Layout
14305 b
14306 \end_layout
14307
14308 \end_inset
14309 </cell>
14310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14311 \begin_inset Text
14312
14313 \begin_layout Plain Layout
14314 e
14315 \end_layout
14316
14317 \end_inset
14318 </cell>
14319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14320 \begin_inset Text
14321
14322 \begin_layout Plain Layout
14323 h
14324 \end_layout
14325
14326 \end_inset
14327 </cell>
14328 </row>
14329 <row>
14330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14331 \begin_inset Text
14332
14333 \begin_layout Plain Layout
14334 c
14335 \end_layout
14336
14337 \end_inset
14338 </cell>
14339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14340 \begin_inset Text
14341
14342 \begin_layout Plain Layout
14343 f
14344 \end_layout
14345
14346 \end_inset
14347 </cell>
14348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14349 \begin_inset Text
14350
14351 \begin_layout Plain Layout
14352 i
14353 \end_layout
14354
14355 \end_inset
14356 </cell>
14357 </row>
14358 </lyxtabular>
14359
14360 \end_inset
14361
14362
14363 \end_layout
14364
14365 \end_inset
14366
14367
14368 \begin_inset ERT
14369 status collapsed
14370
14371 \begin_layout Plain Layout
14372
14373 }
14374 \end_layout
14375
14376 \end_inset
14377
14378
14379 \end_layout
14380
14381 \begin_layout Itemize
14382 test 
14383 \begin_inset Box Frameless
14384 position "c"
14385 hor_pos "c"
14386 has_inner_box 1
14387 inner_pos "c"
14388 use_parbox 0
14389 use_makebox 0
14390 width "15col%"
14391 special "none"
14392 height "1in"
14393 height_special "totalheight"
14394 status collapsed
14395
14396 \begin_layout Plain Layout
14397 \begin_inset Tabular
14398 <lyxtabular version="3" rows="3" columns="3">
14399 <features tabularvalignment="middle">
14400 <column alignment="center" valignment="top" width="0">
14401 <column alignment="center" valignment="top" width="0">
14402 <column alignment="center" valignment="top" width="0">
14403 <row>
14404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14405 \begin_inset Text
14406
14407 \begin_layout Plain Layout
14408 a
14409 \end_layout
14410
14411 \end_inset
14412 </cell>
14413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14414 \begin_inset Text
14415
14416 \begin_layout Plain Layout
14417 d
14418 \end_layout
14419
14420 \end_inset
14421 </cell>
14422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14423 \begin_inset Text
14424
14425 \begin_layout Plain Layout
14426 g
14427 \end_layout
14428
14429 \end_inset
14430 </cell>
14431 </row>
14432 <row>
14433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14434 \begin_inset Text
14435
14436 \begin_layout Plain Layout
14437 b
14438 \end_layout
14439
14440 \end_inset
14441 </cell>
14442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14443 \begin_inset Text
14444
14445 \begin_layout Plain Layout
14446 e
14447 \end_layout
14448
14449 \end_inset
14450 </cell>
14451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14452 \begin_inset Text
14453
14454 \begin_layout Plain Layout
14455 h
14456 \end_layout
14457
14458 \end_inset
14459 </cell>
14460 </row>
14461 <row>
14462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14463 \begin_inset Text
14464
14465 \begin_layout Plain Layout
14466 c
14467 \end_layout
14468
14469 \end_inset
14470 </cell>
14471 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14472 \begin_inset Text
14473
14474 \begin_layout Plain Layout
14475 f
14476 \end_layout
14477
14478 \end_inset
14479 </cell>
14480 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14481 \begin_inset Text
14482
14483 \begin_layout Plain Layout
14484 i
14485 \end_layout
14486
14487 \end_inset
14488 </cell>
14489 </row>
14490 </lyxtabular>
14491
14492 \end_inset
14493
14494
14495 \end_layout
14496
14497 \end_inset
14498
14499
14500 \end_layout
14501
14502 \begin_layout Itemize
14503 test 
14504 \begin_inset Box Frameless
14505 position "b"
14506 hor_pos "c"
14507 has_inner_box 1
14508 inner_pos "c"
14509 use_parbox 0
14510 use_makebox 0
14511 width "15col%"
14512 special "none"
14513 height "1in"
14514 height_special "totalheight"
14515 status collapsed
14516
14517 \begin_layout Plain Layout
14518 \begin_inset Tabular
14519 <lyxtabular version="3" rows="3" columns="3">
14520 <features tabularvalignment="middle">
14521 <column alignment="center" valignment="top" width="0">
14522 <column alignment="center" valignment="top" width="0">
14523 <column alignment="center" valignment="top" width="0">
14524 <row>
14525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14526 \begin_inset Text
14527
14528 \begin_layout Plain Layout
14529 a
14530 \end_layout
14531
14532 \end_inset
14533 </cell>
14534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14535 \begin_inset Text
14536
14537 \begin_layout Plain Layout
14538 d
14539 \end_layout
14540
14541 \end_inset
14542 </cell>
14543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14544 \begin_inset Text
14545
14546 \begin_layout Plain Layout
14547 g
14548 \end_layout
14549
14550 \end_inset
14551 </cell>
14552 </row>
14553 <row>
14554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14555 \begin_inset Text
14556
14557 \begin_layout Plain Layout
14558 b
14559 \end_layout
14560
14561 \end_inset
14562 </cell>
14563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14564 \begin_inset Text
14565
14566 \begin_layout Plain Layout
14567 e
14568 \end_layout
14569
14570 \end_inset
14571 </cell>
14572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14573 \begin_inset Text
14574
14575 \begin_layout Plain Layout
14576 h
14577 \end_layout
14578
14579 \end_inset
14580 </cell>
14581 </row>
14582 <row>
14583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14584 \begin_inset Text
14585
14586 \begin_layout Plain Layout
14587 c
14588 \end_layout
14589
14590 \end_inset
14591 </cell>
14592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14593 \begin_inset Text
14594
14595 \begin_layout Plain Layout
14596 f
14597 \end_layout
14598
14599 \end_inset
14600 </cell>
14601 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14602 \begin_inset Text
14603
14604 \begin_layout Plain Layout
14605 i
14606 \end_layout
14607
14608 \end_inset
14609 </cell>
14610 </row>
14611 </lyxtabular>
14612
14613 \end_inset
14614
14615
14616 \end_layout
14617
14618 \end_inset
14619
14620  test 
14621 \begin_inset ERT
14622 status collapsed
14623
14624 \begin_layout Plain Layout
14625
14626
14627 \backslash
14628 raisebox{-0.32
14629 \backslash
14630 baselineskip}{
14631 \end_layout
14632
14633 \end_inset
14634
14635
14636 \begin_inset Box Frameless
14637 position "b"
14638 hor_pos "c"
14639 has_inner_box 1
14640 inner_pos "c"
14641 use_parbox 0
14642 use_makebox 0
14643 width "15col%"
14644 special "none"
14645 height "1in"
14646 height_special "totalheight"
14647 status collapsed
14648
14649 \begin_layout Plain Layout
14650 \begin_inset Tabular
14651 <lyxtabular version="3" rows="3" columns="3">
14652 <features tabularvalignment="middle">
14653 <column alignment="center" valignment="top" width="0">
14654 <column alignment="center" valignment="top" width="0">
14655 <column alignment="center" valignment="top" width="0">
14656 <row>
14657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14658 \begin_inset Text
14659
14660 \begin_layout Plain Layout
14661 a
14662 \end_layout
14663
14664 \end_inset
14665 </cell>
14666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14667 \begin_inset Text
14668
14669 \begin_layout Plain Layout
14670 d
14671 \end_layout
14672
14673 \end_inset
14674 </cell>
14675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14676 \begin_inset Text
14677
14678 \begin_layout Plain Layout
14679 g
14680 \end_layout
14681
14682 \end_inset
14683 </cell>
14684 </row>
14685 <row>
14686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14687 \begin_inset Text
14688
14689 \begin_layout Plain Layout
14690 b
14691 \end_layout
14692
14693 \end_inset
14694 </cell>
14695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14696 \begin_inset Text
14697
14698 \begin_layout Plain Layout
14699 e
14700 \end_layout
14701
14702 \end_inset
14703 </cell>
14704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14705 \begin_inset Text
14706
14707 \begin_layout Plain Layout
14708 h
14709 \end_layout
14710
14711 \end_inset
14712 </cell>
14713 </row>
14714 <row>
14715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14716 \begin_inset Text
14717
14718 \begin_layout Plain Layout
14719 c
14720 \end_layout
14721
14722 \end_inset
14723 </cell>
14724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14725 \begin_inset Text
14726
14727 \begin_layout Plain Layout
14728 f
14729 \end_layout
14730
14731 \end_inset
14732 </cell>
14733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14734 \begin_inset Text
14735
14736 \begin_layout Plain Layout
14737 i
14738 \end_layout
14739
14740 \end_inset
14741 </cell>
14742 </row>
14743 </lyxtabular>
14744
14745 \end_inset
14746
14747
14748 \end_layout
14749
14750 \end_inset
14751
14752
14753 \begin_inset ERT
14754 status collapsed
14755
14756 \begin_layout Plain Layout
14757
14758 }
14759 \end_layout
14760
14761 \end_inset
14762
14763
14764 \end_layout
14765
14766 \begin_layout Standard
14767 As you will see, the content of the first and last table row is not correctly
14768  aligned.
14769  To get this alignment, the minipage box must be set into a raisebox
14770 \begin_inset Foot
14771 status collapsed
14772
14773 \begin_layout Plain Layout
14774 Raiseboxes are described in section
14775 \begin_inset space ~
14776 \end_inset
14777
14778
14779 \begin_inset CommandInset ref
14780 LatexCommand ref
14781 reference "sub:Vertical-Alignment"
14782
14783 \end_inset
14784
14785 .
14786 \end_layout
14787
14788 \end_inset
14789
14790 .
14791  In the example above the second table in the first item is aligned using
14792  the TeX-Code-command
14793 \end_layout
14794
14795 \begin_layout Standard
14796
14797 \series bold
14798
14799 \backslash
14800 raisebox{0.85
14801 \backslash
14802 baselineskip}{
14803 \end_layout
14804
14805 \begin_layout Standard
14806 before the box.
14807  After the box the closing brace 
14808 \series bold
14809 }
14810 \series default
14811  is inserted as TeX-Code.
14812  For the second table in the last item the command
14813 \end_layout
14814
14815 \begin_layout Standard
14816
14817 \series bold
14818
14819 \backslash
14820 raisebox{-0.32
14821 \backslash
14822 baselineskip}{
14823 \end_layout
14824
14825 \begin_layout Standard
14826 is used.
14827 \end_layout
14828
14829 \begin_layout Standard
14830 \begin_inset Note Greyedout
14831 status open
14832
14833 \begin_layout Plain Layout
14834
14835 \series bold
14836 Note:
14837 \series default
14838  The alignment of the table row content to the surrounding text line is
14839  not exact.
14840  The required value for the 
14841 \series bold
14842
14843 \backslash
14844 raisebox
14845 \series default
14846  command for this alignment depends on the document font, the font size,
14847  and the table line thickness.
14848 \end_layout
14849
14850 \end_inset
14851
14852
14853 \end_layout
14854
14855 \begin_layout Section
14856 Colored Tables
14857 \begin_inset CommandInset label
14858 LatexCommand label
14859 name "sec:Colored-Tables"
14860
14861 \end_inset
14862
14863
14864 \begin_inset Index idx
14865 status collapsed
14866
14867 \begin_layout Plain Layout
14868 Table ! Color
14869 \end_layout
14870
14871 \end_inset
14872
14873
14874 \end_layout
14875
14876 \begin_layout Subsection
14877 Colored Cells
14878 \begin_inset Index idx
14879 status collapsed
14880
14881 \begin_layout Plain Layout
14882 Table Color ! for Cells
14883 \end_layout
14884
14885 \end_inset
14886
14887
14888 \begin_inset Index idx
14889 status collapsed
14890
14891 \begin_layout Plain Layout
14892 Color ! for Table Cells
14893 \end_layout
14894
14895 \end_inset
14896
14897
14898 \end_layout
14899
14900 \begin_layout Standard
14901 \begin_inset Float table
14902 placement h
14903 wide false
14904 sideways false
14905 status open
14906
14907 \begin_layout Plain Layout
14908 \begin_inset Caption
14909
14910 \begin_layout Plain Layout
14911 \begin_inset CommandInset label
14912 LatexCommand label
14913 name "tab:Table-colored-without"
14914
14915 \end_inset
14916
14917 Table colored without using the package 
14918 \series bold
14919 colortbl
14920 \series default
14921
14922 \begin_inset Argument
14923 status collapsed
14924
14925 \begin_layout Plain Layout
14926 Table without colortbl
14927 \end_layout
14928
14929 \end_inset
14930
14931
14932 \end_layout
14933
14934 \end_inset
14935
14936
14937 \end_layout
14938
14939 \begin_layout Plain Layout
14940 \align center
14941 \begin_inset Tabular
14942 <lyxtabular version="3" rows="3" columns="3">
14943 <features tabularvalignment="middle">
14944 <column alignment="center" valignment="top" width="0">
14945 <column alignment="center" valignment="top" width="0">
14946 <column alignment="center" valignment="top" width="0">
14947 <row>
14948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14949 \begin_inset Text
14950
14951 \begin_layout Plain Layout
14952
14953 \color green
14954 a
14955 \end_layout
14956
14957 \end_inset
14958 </cell>
14959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14960 \begin_inset Text
14961
14962 \begin_layout Plain Layout
14963
14964 \color red
14965 b
14966 \end_layout
14967
14968 \end_inset
14969 </cell>
14970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14971 \begin_inset Text
14972
14973 \begin_layout Plain Layout
14974
14975 \color red
14976 c
14977 \end_layout
14978
14979 \end_inset
14980 </cell>
14981 </row>
14982 <row>
14983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14984 \begin_inset Text
14985
14986 \begin_layout Plain Layout
14987
14988 \color green
14989 d
14990 \end_layout
14991
14992 \end_inset
14993 </cell>
14994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14995 \begin_inset Text
14996
14997 \begin_layout Plain Layout
14998
14999 \color blue
15000 e
15001 \end_layout
15002
15003 \end_inset
15004 </cell>
15005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15006 \begin_inset Text
15007
15008 \begin_layout Plain Layout
15009
15010 \color blue
15011 f
15012 \end_layout
15013
15014 \end_inset
15015 </cell>
15016 </row>
15017 <row>
15018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15019 \begin_inset Text
15020
15021 \begin_layout Plain Layout
15022
15023 \color green
15024 g
15025 \end_layout
15026
15027 \end_inset
15028 </cell>
15029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15030 \begin_inset Text
15031
15032 \begin_layout Plain Layout
15033
15034 \color blue
15035 h
15036 \end_layout
15037
15038 \end_inset
15039 </cell>
15040 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15041 \begin_inset Text
15042
15043 \begin_layout Plain Layout
15044
15045 \color blue
15046 i
15047 \end_layout
15048
15049 \end_inset
15050 </cell>
15051 </row>
15052 </lyxtabular>
15053
15054 \end_inset
15055
15056
15057 \end_layout
15058
15059 \end_inset
15060
15061
15062 \end_layout
15063
15064 \begin_layout Standard
15065 If you only need colored text, mark the cells and choose a color in the
15066  menu 
15067 \family sans
15068 Edit\SpecialChar \menuseparator
15069 Text
15070 \begin_inset space ~
15071 \end_inset
15072
15073 Style
15074 \family default
15075 .
15076  This was used to create Table
15077 \begin_inset space ~
15078 \end_inset
15079
15080
15081 \begin_inset CommandInset ref
15082 LatexCommand ref
15083 reference "tab:Table-colored-without"
15084
15085 \end_inset
15086
15087 .
15088  In any other case you have to use the LaTeX-package 
15089 \series bold
15090 colortbl
15091 \series default
15092 .
15093 \begin_inset Index idx
15094 status collapsed
15095
15096 \begin_layout Plain Layout
15097 LaTeX-packages ! colortbl
15098 \end_layout
15099
15100 \end_inset
15101
15102
15103 \end_layout
15104
15105 \begin_layout Standard
15106 \begin_inset ERT
15107 status collapsed
15108
15109 \begin_layout Plain Layout
15110
15111
15112 \backslash
15113 ifcolortbl
15114 \end_layout
15115
15116 \end_inset
15117
15118
15119 \begin_inset Note Note
15120 status open
15121
15122 \begin_layout Plain Layout
15123 The following section part will only be displayed when the LaTeX-package
15124  
15125 \series bold
15126 colortbl
15127 \series default
15128  is installed.
15129 \end_layout
15130
15131 \end_inset
15132
15133
15134 \end_layout
15135
15136 \begin_layout Standard
15137 To create colored tables, 
15138 \series bold
15139 colortbl
15140 \series default
15141  must be loaded in the preamble with the line
15142 \end_layout
15143
15144 \begin_layout Standard
15145
15146 \series bold
15147
15148 \backslash
15149 usepackage{colortbl}
15150 \end_layout
15151
15152 \begin_layout Standard
15153 The color of a column is adjusted with the command
15154 \end_layout
15155
15156 \begin_layout Standard
15157
15158 \series bold
15159
15160 \backslash
15161 columncolor{name of color}
15162 \end_layout
15163
15164 \begin_layout Standard
15165 inside the command 
15166 \series bold
15167 >{ }
15168 \series default
15169 .
15170  More about the command 
15171 \series bold
15172 >{}
15173 \series default
15174  is contained in section
15175 \begin_inset space ~
15176 \end_inset
15177
15178
15179 \begin_inset CommandInset ref
15180 LatexCommand ref
15181 reference "sub:Multicolumn-Calculations"
15182
15183 \end_inset
15184
15185 .
15186 \end_layout
15187
15188 \begin_layout Standard
15189 The following color names are predefined:
15190 \end_layout
15191
15192 \begin_layout Standard
15193
15194 \family sans
15195 red
15196 \family default
15197
15198 \family sans
15199 green
15200 \family default
15201
15202 \family sans
15203 yellow
15204 \family default
15205
15206 \family sans
15207 blue
15208 \family default
15209
15210 \family sans
15211 cyan
15212 \family default
15213
15214 \family sans
15215 magenta
15216 \family default
15217
15218 \family sans
15219 black
15220 \family default
15221  and 
15222 \family sans
15223 white
15224 \end_layout
15225
15226 \begin_layout Standard
15227 \begin_inset VSpace medskip
15228 \end_inset
15229
15230
15231 \end_layout
15232
15233 \begin_layout Standard
15234 You can also define your own color with the command
15235 \end_layout
15236
15237 \begin_layout Standard
15238
15239 \series bold
15240
15241 \backslash
15242 definecolor{color name}{color model}{color values}
15243 \end_layout
15244
15245 \begin_layout Standard
15246 The color model can be
15247 \end_layout
15248
15249 \begin_layout Labeling
15250 \labelwidthstring 00.00.0000
15251 cmyk: cyan, magenta, yellow, black
15252 \end_layout
15253
15254 \begin_layout Labeling
15255 \labelwidthstring 00.00.0000
15256 rgb: red, green blue
15257 \end_layout
15258
15259 \begin_layout Labeling
15260 \labelwidthstring 00.00.0000
15261 gray gray
15262 \end_layout
15263
15264 \begin_layout Standard
15265 and the color values are comma separated numbers between 0 and 1 describing
15266  the factor for the corresponding color of the color model.
15267 \end_layout
15268
15269 \begin_layout Standard
15270 You can e.
15271 \begin_inset space \thinspace{}
15272 \end_inset
15273
15274 g.
15275 \begin_inset space \space{}
15276 \end_inset
15277
15278 define the color "
15279 \emph on
15280 darkgreen
15281 \emph default
15282 " in the preamble with
15283 \end_layout
15284
15285 \begin_layout Standard
15286
15287 \series bold
15288
15289 \backslash
15290 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
15291 \end_layout
15292
15293 \begin_layout Standard
15294 and the color "
15295 \emph on
15296 lightgray
15297 \emph default
15298 " with
15299 \end_layout
15300
15301 \begin_layout Standard
15302
15303 \series bold
15304
15305 \backslash
15306 definecolor{lightgray}{gray}{0.8}
15307 \end_layout
15308
15309 \begin_layout Standard
15310 \begin_inset VSpace medskip
15311 \end_inset
15312
15313
15314 \end_layout
15315
15316 \begin_layout Standard
15317 Lines are colored with the command
15318 \end_layout
15319
15320 \begin_layout Standard
15321
15322 \series bold
15323
15324 \backslash
15325 rowcolor{name of color}
15326 \end_layout
15327
15328 \begin_layout Standard
15329 and cells are colored with the command
15330 \end_layout
15331
15332 \begin_layout Standard
15333
15334 \series bold
15335
15336 \backslash
15337 cellcolor{name of color}
15338 \end_layout
15339
15340 \begin_layout Standard
15341 Both commands are inserted at the beginning of a cell as TeX-Code.
15342 \end_layout
15343
15344 \begin_layout Standard
15345 To color characters in the table, mark the cells and use the LyX menu 
15346 \family sans
15347 Edit\SpecialChar \menuseparator
15348 Text
15349 \begin_inset space ~
15350 \end_inset
15351
15352 Style
15353 \family default
15354 .
15355  If a cell contains TeX-Code mark only the characters, otherwise the colored
15356  TeX-Code will cause LaTeX-errors.
15357 \end_layout
15358
15359 \begin_layout Standard
15360 \begin_inset Note Greyedout
15361 status open
15362
15363 \begin_layout Plain Layout
15364
15365 \series bold
15366 Note:
15367 \series default
15368  Not all DVI-viewers are able to display self-defined colors.
15369 \end_layout
15370
15371 \end_inset
15372
15373
15374 \end_layout
15375
15376 \begin_layout Standard
15377 \begin_inset VSpace bigskip
15378 \end_inset
15379
15380
15381 \end_layout
15382
15383 \begin_layout Standard
15384 To create Table
15385 \begin_inset space ~
15386 \end_inset
15387
15388
15389 \begin_inset CommandInset ref
15390 LatexCommand ref
15391 reference "tab:Table-colored-using"
15392
15393 \end_inset
15394
15395  do the following: The color of the first column should be 
15396 \emph on
15397 darkgreen
15398 \emph default
15399 .
15400  So insert
15401 \end_layout
15402
15403 \begin_layout Standard
15404
15405 \series bold
15406 >{
15407 \backslash
15408 columncolor{darkgreen}
15409 \backslash
15410 centering}c
15411 \end_layout
15412
15413 \begin_layout Standard
15414 as LaTeX-argument for this column.
15415  The first row should be blue, therefore the TeX-Code command
15416 \end_layout
15417
15418 \begin_layout Standard
15419
15420 \series bold
15421
15422 \backslash
15423 rowcolor{cyan}
15424 \end_layout
15425
15426 \begin_layout Standard
15427 is inserted to the first cell of this row.
15428  Note that this overwrites the column color for the first cell.
15429  The last cell of the last row is colored magenta by inserting the TeX-Code
15430  command
15431 \end_layout
15432
15433 \begin_layout Standard
15434
15435 \series bold
15436
15437 \backslash
15438 cellcolor{magenta}
15439 \end_layout
15440
15441 \begin_layout Standard
15442 The characters could now be colored using the menu 
15443 \family sans
15444 Edit\SpecialChar \menuseparator
15445 Text
15446 \begin_inset space ~
15447 \end_inset
15448
15449 Style
15450 \family default
15451 .
15452 \end_layout
15453
15454 \begin_layout Standard
15455 \begin_inset Float table
15456 placement h
15457 wide false
15458 sideways false
15459 status open
15460
15461 \begin_layout Plain Layout
15462 \begin_inset Caption
15463
15464 \begin_layout Plain Layout
15465 \begin_inset CommandInset label
15466 LatexCommand label
15467 name "tab:Table-colored-using"
15468
15469 \end_inset
15470
15471 Table colored using the package 
15472 \series bold
15473 colortbl
15474 \series default
15475
15476 \begin_inset Argument
15477 status collapsed
15478
15479 \begin_layout Plain Layout
15480 Table with colortbl
15481 \end_layout
15482
15483 \end_inset
15484
15485
15486 \end_layout
15487
15488 \end_inset
15489
15490
15491 \end_layout
15492
15493 \begin_layout Plain Layout
15494 \align center
15495 \begin_inset Tabular
15496 <lyxtabular version="3" rows="3" columns="3">
15497 <features tabularvalignment="middle">
15498 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15499 <column alignment="center" valignment="top" width="0">
15500 <column alignment="center" valignment="top" width="0">
15501 <row>
15502 <cell alignment="center" valignment="top" usebox="none">
15503 \begin_inset Text
15504
15505 \begin_layout Plain Layout
15506 \begin_inset ERT
15507 status collapsed
15508
15509 \begin_layout Plain Layout
15510
15511
15512 \backslash
15513 rowcolor{cyan}
15514 \end_layout
15515
15516 \end_inset
15517
15518
15519 \color magenta
15520 a
15521 \end_layout
15522
15523 \end_inset
15524 </cell>
15525 <cell alignment="center" valignment="top" usebox="none">
15526 \begin_inset Text
15527
15528 \begin_layout Plain Layout
15529
15530 \color red
15531 b
15532 \end_layout
15533
15534 \end_inset
15535 </cell>
15536 <cell alignment="center" valignment="top" usebox="none">
15537 \begin_inset Text
15538
15539 \begin_layout Plain Layout
15540
15541 \color red
15542 c
15543 \end_layout
15544
15545 \end_inset
15546 </cell>
15547 </row>
15548 <row>
15549 <cell alignment="center" valignment="top" usebox="none">
15550 \begin_inset Text
15551
15552 \begin_layout Plain Layout
15553
15554 \color yellow
15555 d
15556 \end_layout
15557
15558 \end_inset
15559 </cell>
15560 <cell alignment="center" valignment="top" usebox="none">
15561 \begin_inset Text
15562
15563 \begin_layout Plain Layout
15564
15565 \color blue
15566 e
15567 \end_layout
15568
15569 \end_inset
15570 </cell>
15571 <cell alignment="center" valignment="top" usebox="none">
15572 \begin_inset Text
15573
15574 \begin_layout Plain Layout
15575
15576 \color blue
15577 f
15578 \end_layout
15579
15580 \end_inset
15581 </cell>
15582 </row>
15583 <row>
15584 <cell alignment="center" valignment="top" usebox="none">
15585 \begin_inset Text
15586
15587 \begin_layout Plain Layout
15588
15589 \color yellow
15590 g
15591 \end_layout
15592
15593 \end_inset
15594 </cell>
15595 <cell alignment="center" valignment="top" usebox="none">
15596 \begin_inset Text
15597
15598 \begin_layout Plain Layout
15599
15600 \color blue
15601 h
15602 \end_layout
15603
15604 \end_inset
15605 </cell>
15606 <cell alignment="center" valignment="top" usebox="none">
15607 \begin_inset Text
15608
15609 \begin_layout Plain Layout
15610 \begin_inset ERT
15611 status collapsed
15612
15613 \begin_layout Plain Layout
15614
15615
15616 \backslash
15617 cellcolor{magenta}
15618 \end_layout
15619
15620 \end_inset
15621
15622
15623 \color green
15624 i
15625 \end_layout
15626
15627 \end_inset
15628 </cell>
15629 </row>
15630 </lyxtabular>
15631
15632 \end_inset
15633
15634
15635 \end_layout
15636
15637 \end_inset
15638
15639
15640 \end_layout
15641
15642 \begin_layout Standard
15643 \begin_inset ERT
15644 status collapsed
15645
15646 \begin_layout Plain Layout
15647
15648
15649 \backslash
15650 else
15651 \end_layout
15652
15653 \end_inset
15654
15655
15656 \begin_inset Note Note
15657 status open
15658
15659 \begin_layout Plain Layout
15660 The following will be displayed when the LaTeX-package 
15661 \series bold
15662 colortbl
15663 \series default
15664  is not installed:
15665 \end_layout
15666
15667 \end_inset
15668
15669
15670 \end_layout
15671
15672 \begin_layout Standard
15673 You need to install the package 
15674 \series bold
15675 colortbl
15676 \series default
15677  to see the content of this section in the output.
15678 \end_layout
15679
15680 \begin_layout Standard
15681 \begin_inset ERT
15682 status collapsed
15683
15684 \begin_layout Plain Layout
15685
15686
15687 \backslash
15688 fi
15689 \end_layout
15690
15691 \end_inset
15692
15693
15694 \end_layout
15695
15696 \begin_layout Subsection
15697 Colored Lines
15698 \begin_inset Index idx
15699 status collapsed
15700
15701 \begin_layout Plain Layout
15702 Table Color ! for Lines
15703 \end_layout
15704
15705 \end_inset
15706
15707
15708 \begin_inset Index idx
15709 status collapsed
15710
15711 \begin_layout Plain Layout
15712 Color ! for Table Lines
15713 \end_layout
15714
15715 \end_inset
15716
15717
15718 \end_layout
15719
15720 \begin_layout Standard
15721 As described in section
15722 \begin_inset space ~
15723 \end_inset
15724
15725
15726 \begin_inset CommandInset ref
15727 LatexCommand ref
15728 reference "sub:Line-Thickness"
15729
15730 \end_inset
15731
15732 , the line thickness for all lines in a table can be adjusted with the length
15733  
15734 \series bold
15735
15736 \backslash
15737 arrayrulewidth
15738 \series default
15739 .
15740  It is set to 1.5
15741 \begin_inset space \thinspace{}
15742 \end_inset
15743
15744 pt for all tables of this section.
15745 \begin_inset ERT
15746 status collapsed
15747
15748 \begin_layout Plain Layout
15749
15750
15751 \backslash
15752 setlength{
15753 \backslash
15754 arrayrulewidth}{1.5pt}
15755 \end_layout
15756
15757 \end_inset
15758
15759
15760 \end_layout
15761
15762 \begin_layout Standard
15763 To color vertical lines for example with green, create the following column
15764  format in the document preamble, according to the description in section
15765 \begin_inset space ~
15766 \end_inset
15767
15768
15769 \begin_inset CommandInset ref
15770 LatexCommand ref
15771 reference "sub:Customized-Format"
15772
15773 \end_inset
15774
15775 :
15776 \end_layout
15777
15778 \begin_layout Standard
15779
15780 \series bold
15781
15782 \backslash
15783 newcolumntype{W}{!{
15784 \backslash
15785 color{green}
15786 \backslash
15787 vline}}
15788 \end_layout
15789
15790 \begin_layout Standard
15791 For Table
15792 \begin_inset space ~
15793 \end_inset
15794
15795
15796 \begin_inset CommandInset ref
15797 LatexCommand ref
15798 reference "tab:Table-with-vertical-colored"
15799
15800 \end_inset
15801
15802  the LaTeX-argument
15803 \series bold
15804  WcW
15805 \series default
15806  was used for the last column and
15807 \series bold
15808  Wc
15809 \series default
15810  for the other columns.
15811 \end_layout
15812
15813 \begin_layout Standard
15814 If you want to have several colors, define more column formats.
15815 \end_layout
15816
15817 \begin_layout Standard
15818 \begin_inset Float table
15819 placement h
15820 wide false
15821 sideways false
15822 status open
15823
15824 \begin_layout Plain Layout
15825 \begin_inset Caption
15826
15827 \begin_layout Plain Layout
15828 \begin_inset CommandInset label
15829 LatexCommand label
15830 name "tab:Table-with-vertical-colored"
15831
15832 \end_inset
15833
15834 Table with colored vertical lines
15835 \end_layout
15836
15837 \end_inset
15838
15839
15840 \end_layout
15841
15842 \begin_layout Plain Layout
15843 \align center
15844 \begin_inset Tabular
15845 <lyxtabular version="3" rows="3" columns="3">
15846 <features tabularvalignment="middle">
15847 <column alignment="center" valignment="top" width="0" special="Wc">
15848 <column alignment="center" valignment="top" width="0" special="Wc">
15849 <column alignment="center" valignment="top" width="0" special="WcW">
15850 <row>
15851 <cell alignment="center" valignment="top" topline="true" usebox="none">
15852 \begin_inset Text
15853
15854 \begin_layout Plain Layout
15855 sd
15856 \end_layout
15857
15858 \end_inset
15859 </cell>
15860 <cell alignment="center" valignment="top" topline="true" usebox="none">
15861 \begin_inset Text
15862
15863 \begin_layout Plain Layout
15864
15865 \end_layout
15866
15867 \end_inset
15868 </cell>
15869 <cell alignment="center" valignment="top" topline="true" usebox="none">
15870 \begin_inset Text
15871
15872 \begin_layout Plain Layout
15873
15874 \end_layout
15875
15876 \end_inset
15877 </cell>
15878 </row>
15879 <row>
15880 <cell alignment="center" valignment="top" topline="true" usebox="none">
15881 \begin_inset Text
15882
15883 \begin_layout Plain Layout
15884
15885 \end_layout
15886
15887 \end_inset
15888 </cell>
15889 <cell alignment="center" valignment="top" topline="true" usebox="none">
15890 \begin_inset Text
15891
15892 \begin_layout Plain Layout
15893 sd
15894 \end_layout
15895
15896 \end_inset
15897 </cell>
15898 <cell alignment="center" valignment="top" topline="true" usebox="none">
15899 \begin_inset Text
15900
15901 \begin_layout Plain Layout
15902
15903 \end_layout
15904
15905 \end_inset
15906 </cell>
15907 </row>
15908 <row>
15909 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15910 \begin_inset Text
15911
15912 \begin_layout Plain Layout
15913
15914 \end_layout
15915
15916 \end_inset
15917 </cell>
15918 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15919 \begin_inset Text
15920
15921 \begin_layout Plain Layout
15922
15923 \end_layout
15924
15925 \end_inset
15926 </cell>
15927 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15928 \begin_inset Text
15929
15930 \begin_layout Plain Layout
15931 sd
15932 \end_layout
15933
15934 \end_inset
15935 </cell>
15936 </row>
15937 </lyxtabular>
15938
15939 \end_inset
15940
15941
15942 \end_layout
15943
15944 \end_inset
15945
15946
15947 \end_layout
15948
15949 \begin_layout Standard
15950 \begin_inset VSpace bigskip
15951 \end_inset
15952
15953 To color horizontal lines for example with red, as in Table
15954 \begin_inset space ~
15955 \end_inset
15956
15957
15958 \begin_inset CommandInset ref
15959 LatexCommand ref
15960 reference "tab:Table-with-horizontal-colored"
15961
15962 \end_inset
15963
15964 , insert these commands in TeX-Code before the table or table float:
15965 \end_layout
15966
15967 \begin_layout Standard
15968
15969 \series bold
15970
15971 \backslash
15972 let
15973 \backslash
15974 myHlineC
15975 \backslash
15976 hline
15977 \begin_inset Newline newline
15978 \end_inset
15979
15980
15981 \backslash
15982 renewcommand{
15983 \backslash
15984 hline}
15985 \begin_inset Newline newline
15986 \end_inset
15987
15988
15989 \begin_inset Phantom HPhantom
15990 status open
15991
15992 \begin_layout Plain Layout
15993
15994 \series bold
15995 \begin_inset space ~
15996 \end_inset
15997
15998
15999 \end_layout
16000
16001 \end_inset
16002
16003 {
16004 \backslash
16005 arrayrulecolor{red}
16006 \backslash
16007 myHlineC
16008 \backslash
16009 arrayrulecolor{black}}
16010 \end_layout
16011
16012 \begin_layout Standard
16013 \begin_inset ERT
16014 status collapsed
16015
16016 \begin_layout Plain Layout
16017
16018
16019 \backslash
16020 let
16021 \backslash
16022 myHlineC
16023 \backslash
16024 hline
16025 \end_layout
16026
16027 \begin_layout Plain Layout
16028
16029
16030 \backslash
16031 renewcommand{
16032 \backslash
16033 hline}
16034 \end_layout
16035
16036 \begin_layout Plain Layout
16037
16038  {
16039 \backslash
16040 arrayrulecolor{red}
16041 \backslash
16042 myHlineC
16043 \backslash
16044 arrayrulecolor{black}}
16045 \end_layout
16046
16047 \end_inset
16048
16049
16050 \begin_inset Float table
16051 placement h
16052 wide false
16053 sideways false
16054 status open
16055
16056 \begin_layout Plain Layout
16057 \begin_inset Caption
16058
16059 \begin_layout Plain Layout
16060 \begin_inset CommandInset label
16061 LatexCommand label
16062 name "tab:Table-with-horizontal-colored"
16063
16064 \end_inset
16065
16066 Table with colored horizontal lines
16067 \end_layout
16068
16069 \end_inset
16070
16071
16072 \end_layout
16073
16074 \begin_layout Plain Layout
16075 \align center
16076 \begin_inset Tabular
16077 <lyxtabular version="3" rows="3" columns="3">
16078 <features tabularvalignment="middle">
16079 <column alignment="center" valignment="top" width="0">
16080 <column alignment="center" valignment="top" width="0">
16081 <column alignment="center" valignment="top" width="0">
16082 <row>
16083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16084 \begin_inset Text
16085
16086 \begin_layout Plain Layout
16087 sd
16088 \end_layout
16089
16090 \end_inset
16091 </cell>
16092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16093 \begin_inset Text
16094
16095 \begin_layout Plain Layout
16096
16097 \end_layout
16098
16099 \end_inset
16100 </cell>
16101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16102 \begin_inset Text
16103
16104 \begin_layout Plain Layout
16105
16106 \end_layout
16107
16108 \end_inset
16109 </cell>
16110 </row>
16111 <row>
16112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16113 \begin_inset Text
16114
16115 \begin_layout Plain Layout
16116
16117 \end_layout
16118
16119 \end_inset
16120 </cell>
16121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16122 \begin_inset Text
16123
16124 \begin_layout Plain Layout
16125 sd
16126 \end_layout
16127
16128 \end_inset
16129 </cell>
16130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16131 \begin_inset Text
16132
16133 \begin_layout Plain Layout
16134
16135 \end_layout
16136
16137 \end_inset
16138 </cell>
16139 </row>
16140 <row>
16141 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16142 \begin_inset Text
16143
16144 \begin_layout Plain Layout
16145
16146 \end_layout
16147
16148 \end_inset
16149 </cell>
16150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16151 \begin_inset Text
16152
16153 \begin_layout Plain Layout
16154
16155 \end_layout
16156
16157 \end_inset
16158 </cell>
16159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16160 \begin_inset Text
16161
16162 \begin_layout Plain Layout
16163 sd
16164 \end_layout
16165
16166 \end_inset
16167 </cell>
16168 </row>
16169 </lyxtabular>
16170
16171 \end_inset
16172
16173
16174 \end_layout
16175
16176 \end_inset
16177
16178
16179 \end_layout
16180
16181 \begin_layout Standard
16182 To return to the default line color black, insert this command in TeX-Code
16183  after the table or table float:
16184 \end_layout
16185
16186 \begin_layout Standard
16187
16188 \series bold
16189
16190 \backslash
16191 renewcommand{
16192 \backslash
16193 hline}{
16194 \backslash
16195 myHlineC}
16196 \end_layout
16197
16198 \begin_layout Standard
16199 Table
16200 \begin_inset space ~
16201 \end_inset
16202
16203
16204 \begin_inset CommandInset ref
16205 LatexCommand ref
16206 reference "tab:Table-with-colored"
16207
16208 \end_inset
16209
16210  is an example with colored vertical and horizontal lines.
16211 \end_layout
16212
16213 \begin_layout Standard
16214 \begin_inset Float table
16215 placement h
16216 wide false
16217 sideways false
16218 status open
16219
16220 \begin_layout Plain Layout
16221 \begin_inset Caption
16222
16223 \begin_layout Plain Layout
16224 \begin_inset CommandInset label
16225 LatexCommand label
16226 name "tab:Table-with-colored"
16227
16228 \end_inset
16229
16230 Table with colored lines
16231 \end_layout
16232
16233 \end_inset
16234
16235
16236 \end_layout
16237
16238 \begin_layout Plain Layout
16239 \align center
16240 \begin_inset Tabular
16241 <lyxtabular version="3" rows="3" columns="3">
16242 <features tabularvalignment="middle">
16243 <column alignment="center" valignment="top" width="0" special="Wc">
16244 <column alignment="center" valignment="top" width="0" special="Wc">
16245 <column alignment="center" valignment="top" width="0" special="WcW">
16246 <row>
16247 <cell alignment="center" valignment="top" topline="true" usebox="none">
16248 \begin_inset Text
16249
16250 \begin_layout Plain Layout
16251 sd
16252 \end_layout
16253
16254 \end_inset
16255 </cell>
16256 <cell alignment="center" valignment="top" topline="true" usebox="none">
16257 \begin_inset Text
16258
16259 \begin_layout Plain Layout
16260
16261 \end_layout
16262
16263 \end_inset
16264 </cell>
16265 <cell alignment="center" valignment="top" topline="true" usebox="none">
16266 \begin_inset Text
16267
16268 \begin_layout Plain Layout
16269
16270 \end_layout
16271
16272 \end_inset
16273 </cell>
16274 </row>
16275 <row>
16276 <cell alignment="center" valignment="top" topline="true" usebox="none">
16277 \begin_inset Text
16278
16279 \begin_layout Plain Layout
16280
16281 \end_layout
16282
16283 \end_inset
16284 </cell>
16285 <cell alignment="center" valignment="top" topline="true" usebox="none">
16286 \begin_inset Text
16287
16288 \begin_layout Plain Layout
16289 sd
16290 \end_layout
16291
16292 \end_inset
16293 </cell>
16294 <cell alignment="center" valignment="top" topline="true" usebox="none">
16295 \begin_inset Text
16296
16297 \begin_layout Plain Layout
16298
16299 \end_layout
16300
16301 \end_inset
16302 </cell>
16303 </row>
16304 <row topspace="default">
16305 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16306 \begin_inset Text
16307
16308 \begin_layout Plain Layout
16309
16310 \end_layout
16311
16312 \end_inset
16313 </cell>
16314 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16315 \begin_inset Text
16316
16317 \begin_layout Plain Layout
16318
16319 \end_layout
16320
16321 \end_inset
16322 </cell>
16323 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16324 \begin_inset Text
16325
16326 \begin_layout Plain Layout
16327 sd
16328 \end_layout
16329
16330 \end_inset
16331 </cell>
16332 </row>
16333 </lyxtabular>
16334
16335 \end_inset
16336
16337
16338 \end_layout
16339
16340 \end_inset
16341
16342
16343 \end_layout
16344
16345 \begin_layout Standard
16346 \begin_inset ERT
16347 status collapsed
16348
16349 \begin_layout Plain Layout
16350
16351
16352 \backslash
16353 renewcommand{
16354 \backslash
16355 hline}{
16356 \backslash
16357 myHlineC}
16358 \end_layout
16359
16360 \end_inset
16361
16362
16363 \end_layout
16364
16365 \begin_layout Standard
16366 \begin_inset ERT
16367 status collapsed
16368
16369 \begin_layout Plain Layout
16370
16371
16372 \backslash
16373 setlength{
16374 \backslash
16375 arrayrulewidth}{0.4pt}
16376 \end_layout
16377
16378 \end_inset
16379
16380
16381 \end_layout
16382
16383 \begin_layout Section
16384 Table Customization
16385 \begin_inset Index idx
16386 status collapsed
16387
16388 \begin_layout Plain Layout
16389 Table Customization
16390 \end_layout
16391
16392 \end_inset
16393
16394
16395 \begin_inset Index idx
16396 status collapsed
16397
16398 \begin_layout Plain Layout
16399 Table ! Customization
16400 \end_layout
16401
16402 \end_inset
16403
16404
16405 \end_layout
16406
16407 \begin_layout Subsection
16408 Row Spacing
16409 \begin_inset CommandInset label
16410 LatexCommand label
16411 name "sub:Row-Spacing"
16412
16413 \end_inset
16414
16415
16416 \begin_inset Index idx
16417 status collapsed
16418
16419 \begin_layout Plain Layout
16420 Table Customization ! Row Spacing
16421 \end_layout
16422
16423 \end_inset
16424
16425
16426 \end_layout
16427
16428 \begin_layout Standard
16429 You can add vertical space to table rows in the 
16430 \family sans
16431 Borders
16432 \family default
16433  tab of the table dialog.
16434  You find there three possibilities:
16435 \end_layout
16436
16437 \begin_layout Description
16438 Top
16439 \begin_inset space ~
16440 \end_inset
16441
16442 of
16443 \begin_inset space ~
16444 \end_inset
16445
16446 row will add space above the characters of the table row.
16447  If the table is a formal table
16448 \begin_inset Foot
16449 status collapsed
16450
16451 \begin_layout Plain Layout
16452 Formal tables are explained in section
16453 \begin_inset space ~
16454 \end_inset
16455
16456
16457 \begin_inset CommandInset ref
16458 LatexCommand ref
16459 reference "sec:Formal-Tables"
16460
16461 \end_inset
16462
16463 .
16464 \end_layout
16465
16466 \end_inset
16467
16468  LyX will insert as default 0.5
16469 \begin_inset space \thinspace{}
16470 \end_inset
16471
16472 em space.
16473  For normal tables the inserted space will unfortunately destroy the vertical
16474  table lines as in the following table:
16475 \begin_inset VSpace medskip
16476 \end_inset
16477
16478
16479 \begin_inset Newline newline
16480 \end_inset
16481
16482
16483 \begin_inset space \hspace*{}
16484 \length 0pt
16485 \end_inset
16486
16487
16488 \begin_inset space \hfill{}
16489 \end_inset
16490
16491
16492 \begin_inset Tabular
16493 <lyxtabular version="3" rows="3" columns="1">
16494 <features tabularvalignment="middle">
16495 <column alignment="center" valignment="top" width="0">
16496 <row>
16497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16498 \begin_inset Text
16499
16500 \begin_layout Plain Layout
16501 A
16502 \end_layout
16503
16504 \end_inset
16505 </cell>
16506 </row>
16507 <row topspace="3mm">
16508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16509 \begin_inset Text
16510
16511 \begin_layout Plain Layout
16512 3
16513 \begin_inset space \thinspace{}
16514 \end_inset
16515
16516 mm space top of row
16517 \end_layout
16518
16519 \end_inset
16520 </cell>
16521 </row>
16522 <row>
16523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16524 \begin_inset Text
16525
16526 \begin_layout Plain Layout
16527 C
16528 \end_layout
16529
16530 \end_inset
16531 </cell>
16532 </row>
16533 </lyxtabular>
16534
16535 \end_inset
16536
16537
16538 \begin_inset space \hfill{}
16539 \end_inset
16540
16541
16542 \begin_inset space \hspace*{}
16543 \length 0pt
16544 \end_inset
16545
16546
16547 \begin_inset VSpace medskip
16548 \end_inset
16549
16550
16551 \begin_inset Newline newline
16552 \end_inset
16553
16554 So inserting space in the top of row for normal tables is only useful when
16555  you don't have vertical lines.
16556 \end_layout
16557
16558 \begin_layout Description
16559 Bottom
16560 \begin_inset space ~
16561 \end_inset
16562
16563 of
16564 \begin_inset space ~
16565 \end_inset
16566
16567 row will add space below the characters of the table row.
16568  If the table is a formal table LyX will insert as default 0.5
16569 \begin_inset space \thinspace{}
16570 \end_inset
16571
16572 em space, for normal tables the default size is 2
16573 \begin_inset space \thinspace{}
16574 \end_inset
16575
16576 pt.
16577 \end_layout
16578
16579 \begin_layout Description
16580 Between
16581 \begin_inset space ~
16582 \end_inset
16583
16584 rows adds space between the current and the following row.
16585  If the table is a formal table LyX will insert as default 0.5
16586 \begin_inset space \thinspace{}
16587 \end_inset
16588
16589 em space.
16590  For normal tables the inserted space will unfortunately destroy the vertical
16591  table lines as in the following table:
16592 \begin_inset VSpace medskip
16593 \end_inset
16594
16595
16596 \begin_inset Newline newline
16597 \end_inset
16598
16599
16600 \begin_inset space \hspace*{}
16601 \length 0pt
16602 \end_inset
16603
16604
16605 \begin_inset space \hfill{}
16606 \end_inset
16607
16608
16609 \begin_inset Tabular
16610 <lyxtabular version="3" rows="3" columns="1">
16611 <features tabularvalignment="middle">
16612 <column alignment="center" valignment="top" width="0">
16613 <row>
16614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16615 \begin_inset Text
16616
16617 \begin_layout Plain Layout
16618 A
16619 \end_layout
16620
16621 \end_inset
16622 </cell>
16623 </row>
16624 <row interlinespace="3mm">
16625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16626 \begin_inset Text
16627
16628 \begin_layout Plain Layout
16629 \begin_inset Formula $\downarrow$
16630 \end_inset
16631
16632  3
16633 \begin_inset space \thinspace{}
16634 \end_inset
16635
16636 mm space between row 
16637 \begin_inset Formula $\downarrow$
16638 \end_inset
16639
16640
16641 \end_layout
16642
16643 \end_inset
16644 </cell>
16645 </row>
16646 <row>
16647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16648 \begin_inset Text
16649
16650 \begin_layout Plain Layout
16651 \begin_inset Formula $\uparrow$
16652 \end_inset
16653
16654  3
16655 \begin_inset space \thinspace{}
16656 \end_inset
16657
16658 mm space between row 
16659 \begin_inset Formula $\uparrow$
16660 \end_inset
16661
16662
16663 \end_layout
16664
16665 \end_inset
16666 </cell>
16667 </row>
16668 </lyxtabular>
16669
16670 \end_inset
16671
16672
16673 \begin_inset space \hfill{}
16674 \end_inset
16675
16676
16677 \begin_inset space \hspace*{}
16678 \length 0pt
16679 \end_inset
16680
16681
16682 \begin_inset VSpace medskip
16683 \end_inset
16684
16685
16686 \begin_inset Newline newline
16687 \end_inset
16688
16689 So inserting space between rows for normal tables is only useful when you
16690  don't have vertical lines.
16691 \end_layout
16692
16693 \begin_layout Standard
16694 \begin_inset VSpace bigskip
16695 \end_inset
16696
16697 When you want to add extra height to all cells of all tables, you can do
16698  this with the following preamble lines:
16699 \end_layout
16700
16701 \begin_layout Standard
16702
16703 \series bold
16704
16705 \backslash
16706 @ifundefined{extrarowheight}
16707 \begin_inset Newline newline
16708 \end_inset
16709
16710
16711 \begin_inset Phantom HPhantom
16712 status open
16713
16714 \begin_layout Plain Layout
16715
16716 \series bold
16717 \begin_inset space ~
16718 \end_inset
16719
16720
16721 \end_layout
16722
16723 \end_inset
16724
16725 {
16726 \backslash
16727 usepackage{array}}{}
16728 \begin_inset Newline newline
16729 \end_inset
16730
16731
16732 \backslash
16733 setlength{
16734 \backslash
16735 extrarowheight}{height}
16736 \end_layout
16737
16738 \begin_layout Standard
16739 But this has the disadvantage that the cell texts are no longer exactly
16740  vertically centered.
16741  (The package 
16742 \series bold
16743 array
16744 \series default
16745  will be loaded automatically by LyX when you use self defined table formats.
16746  To avoid that it being loaded twice the command 
16747 \series bold
16748
16749 \backslash
16750 @ifundefined
16751 \series default
16752  is used in the above command.)
16753 \end_layout
16754
16755 \begin_layout Standard
16756 If you are using font sizes larger than the normal size, the table borders
16757  are often too close to the letters.
16758  This can be corrected by inserting the command 
16759 \series bold
16760
16761 \backslash
16762 strut
16763 \series default
16764  in TeX code at the beginning of a table row.
16765  Table
16766 \begin_inset space ~
16767 \end_inset
16768
16769
16770 \begin_inset CommandInset ref
16771 LatexCommand ref
16772 reference "tab:Vertical-alignment-of"
16773
16774 \end_inset
16775
16776  illustrates the effect.
16777 \end_layout
16778
16779 \begin_layout Standard
16780 \noindent
16781 \begin_inset Float table
16782 placement h
16783 wide false
16784 sideways false
16785 status open
16786
16787 \begin_layout Plain Layout
16788 \begin_inset Caption
16789
16790 \begin_layout Plain Layout
16791 \begin_inset CommandInset label
16792 LatexCommand label
16793 name "tab:Vertical-alignment-of"
16794
16795 \end_inset
16796
16797 Vertical alignment of text with large font sizes.
16798 \end_layout
16799
16800 \end_inset
16801
16802
16803 \end_layout
16804
16805 \begin_layout Plain Layout
16806 \begin_inset space \hfill{}
16807 \end_inset
16808
16809
16810 \begin_inset Float table
16811 wide false
16812 sideways false
16813 status collapsed
16814
16815 \begin_layout Plain Layout
16816 \begin_inset Caption
16817
16818 \begin_layout Plain Layout
16819 Normal table.
16820 \end_layout
16821
16822 \end_inset
16823
16824
16825 \end_layout
16826
16827 \begin_layout Plain Layout
16828 \noindent
16829 \align center
16830 \begin_inset Tabular
16831 <lyxtabular version="3" rows="6" columns="1">
16832 <features tabularvalignment="middle">
16833 <column alignment="left" valignment="top" width="0">
16834 <row>
16835 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16836 \begin_inset Text
16837
16838 \begin_layout Plain Layout
16839 Normal, g
16840 \end_layout
16841
16842 \end_inset
16843 </cell>
16844 </row>
16845 <row>
16846 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16847 \begin_inset Text
16848
16849 \begin_layout Plain Layout
16850
16851 \size large
16852 Large
16853 \end_layout
16854
16855 \end_inset
16856 </cell>
16857 </row>
16858 <row>
16859 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16860 \begin_inset Text
16861
16862 \begin_layout Plain Layout
16863
16864 \size larger
16865 Larger
16866 \end_layout
16867
16868 \end_inset
16869 </cell>
16870 </row>
16871 <row>
16872 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16873 \begin_inset Text
16874
16875 \begin_layout Plain Layout
16876
16877 \size largest
16878 Largest
16879 \end_layout
16880
16881 \end_inset
16882 </cell>
16883 </row>
16884 <row>
16885 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16886 \begin_inset Text
16887
16888 \begin_layout Plain Layout
16889
16890 \size huge
16891 Huge
16892 \end_layout
16893
16894 \end_inset
16895 </cell>
16896 </row>
16897 <row>
16898 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16899 \begin_inset Text
16900
16901 \begin_layout Plain Layout
16902
16903 \size huge
16904 Huger
16905 \end_layout
16906
16907 \end_inset
16908 </cell>
16909 </row>
16910 </lyxtabular>
16911
16912 \end_inset
16913
16914
16915 \end_layout
16916
16917 \end_inset
16918
16919
16920 \begin_inset space \hfill{}
16921 \end_inset
16922
16923
16924 \begin_inset Float table
16925 wide false
16926 sideways false
16927 status collapsed
16928
16929 \begin_layout Plain Layout
16930 \begin_inset Caption
16931
16932 \begin_layout Plain Layout
16933 Table using the command 
16934 \series bold
16935
16936 \backslash
16937 strut
16938 \series default
16939 .
16940 \end_layout
16941
16942 \end_inset
16943
16944
16945 \end_layout
16946
16947 \begin_layout Plain Layout
16948 \noindent
16949 \align center
16950 \begin_inset Tabular
16951 <lyxtabular version="3" rows="6" columns="1">
16952 <features tabularvalignment="middle">
16953 <column alignment="left" valignment="top" width="0">
16954 <row>
16955 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16956 \begin_inset Text
16957
16958 \begin_layout Plain Layout
16959 Normal, g
16960 \end_layout
16961
16962 \end_inset
16963 </cell>
16964 </row>
16965 <row>
16966 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16967 \begin_inset Text
16968
16969 \begin_layout Plain Layout
16970
16971 \size large
16972 \begin_inset ERT
16973 status collapsed
16974
16975 \begin_layout Plain Layout
16976
16977
16978 \backslash
16979 strut 
16980 \end_layout
16981
16982 \end_inset
16983
16984 Large
16985 \end_layout
16986
16987 \end_inset
16988 </cell>
16989 </row>
16990 <row>
16991 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16992 \begin_inset Text
16993
16994 \begin_layout Plain Layout
16995
16996 \size larger
16997 \begin_inset ERT
16998 status collapsed
16999
17000 \begin_layout Plain Layout
17001
17002
17003 \backslash
17004 strut 
17005 \end_layout
17006
17007 \end_inset
17008
17009 Larger
17010 \end_layout
17011
17012 \end_inset
17013 </cell>
17014 </row>
17015 <row>
17016 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17017 \begin_inset Text
17018
17019 \begin_layout Plain Layout
17020
17021 \size largest
17022 \begin_inset ERT
17023 status collapsed
17024
17025 \begin_layout Plain Layout
17026
17027
17028 \backslash
17029 strut 
17030 \end_layout
17031
17032 \end_inset
17033
17034 Largest
17035 \end_layout
17036
17037 \end_inset
17038 </cell>
17039 </row>
17040 <row>
17041 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17042 \begin_inset Text
17043
17044 \begin_layout Plain Layout
17045
17046 \size huge
17047 \begin_inset ERT
17048 status collapsed
17049
17050 \begin_layout Plain Layout
17051
17052
17053 \backslash
17054 strut 
17055 \end_layout
17056
17057 \end_inset
17058
17059 Huge
17060 \end_layout
17061
17062 \end_inset
17063 </cell>
17064 </row>
17065 <row>
17066 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17067 \begin_inset Text
17068
17069 \begin_layout Plain Layout
17070
17071 \size giant
17072 \begin_inset ERT
17073 status collapsed
17074
17075 \begin_layout Plain Layout
17076
17077
17078 \backslash
17079 strut 
17080 \end_layout
17081
17082 \end_inset
17083
17084
17085 \size huge
17086 Huger
17087 \end_layout
17088
17089 \end_inset
17090 </cell>
17091 </row>
17092 </lyxtabular>
17093
17094 \end_inset
17095
17096
17097 \end_layout
17098
17099 \end_inset
17100
17101
17102 \begin_inset space \hfill{}
17103 \end_inset
17104
17105
17106 \end_layout
17107
17108 \end_inset
17109
17110
17111 \end_layout
17112
17113 \begin_layout Subsection
17114 Special Cell Alignment
17115 \begin_inset CommandInset label
17116 LatexCommand label
17117 name "sub:Special-Cell-Alignment"
17118
17119 \end_inset
17120
17121
17122 \begin_inset Index idx
17123 status collapsed
17124
17125 \begin_layout Plain Layout
17126 Table Customization ! Special Cell Alignment
17127 \end_layout
17128
17129 \end_inset
17130
17131
17132 \end_layout
17133
17134 \begin_layout Standard
17135 Sometimes it looks better when the cell entries of a column are aligned
17136  with a special character, e.
17137 \begin_inset space \thinspace{}
17138 \end_inset
17139
17140 g.
17141 \begin_inset space \space{}
17142 \end_inset
17143
17144 with the decimal separator as in Table
17145 \begin_inset space ~
17146 \end_inset
17147
17148
17149 \begin_inset CommandInset ref
17150 LatexCommand ref
17151 reference "tab:Table-cells-align"
17152
17153 \end_inset
17154
17155 .
17156  This alignment is achieved by setting the cursor into the column and then
17157  either pressing the toolbar button 
17158 \begin_inset Graphics
17159         filename ../images/tabular-feature_align-decimal.png
17160         scale 85
17161         scaleBeforeRotation
17162
17163 \end_inset
17164
17165  or setting the alignment in the table settings to 
17166 \family sans
17167 At
17168 \begin_inset space ~
17169 \end_inset
17170
17171 Decimal
17172 \begin_inset space ~
17173 \end_inset
17174
17175 Separator
17176 \family default
17177 .
17178  The alignment character can be a character of your choice and is specified
17179  in the table settings.
17180 \end_layout
17181
17182 \begin_layout Standard
17183 \begin_inset Float table
17184 placement h
17185 wide false
17186 sideways false
17187 status open
17188
17189 \begin_layout Plain Layout
17190 \begin_inset Caption
17191
17192 \begin_layout Plain Layout
17193 \begin_inset CommandInset label
17194 LatexCommand label
17195 name "tab:Table-cells-align"
17196
17197 \end_inset
17198
17199 Table cells of a column aligned with the decimal separator.
17200 \end_layout
17201
17202 \end_inset
17203
17204
17205 \end_layout
17206
17207 \begin_layout Plain Layout
17208 \align center
17209 \begin_inset Tabular
17210 <lyxtabular version="3" rows="4" columns="1">
17211 <features booktabs="true" tabularvalignment="middle">
17212 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17213 <row>
17214 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17215 \begin_inset Text
17216
17217 \begin_layout Plain Layout
17218 heading
17219 \end_layout
17220
17221 \end_inset
17222 </cell>
17223 </row>
17224 <row>
17225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17226 \begin_inset Text
17227
17228 \begin_layout Plain Layout
17229 12.6
17230 \end_layout
17231
17232 \end_inset
17233 </cell>
17234 </row>
17235 <row>
17236 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17237 \begin_inset Text
17238
17239 \begin_layout Plain Layout
17240 0.68
17241 \end_layout
17242
17243 \end_inset
17244 </cell>
17245 </row>
17246 <row>
17247 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17248 \begin_inset Text
17249
17250 \begin_layout Plain Layout
17251 -123.0
17252 \end_layout
17253
17254 \end_inset
17255 </cell>
17256 </row>
17257 </lyxtabular>
17258
17259 \end_inset
17260
17261
17262 \end_layout
17263
17264 \end_inset
17265
17266
17267 \end_layout
17268
17269 \begin_layout Standard
17270 \begin_inset Float table
17271 placement h
17272 wide false
17273 sideways false
17274 status open
17275
17276 \begin_layout Plain Layout
17277 \begin_inset Caption
17278
17279 \begin_layout Plain Layout
17280 \begin_inset CommandInset label
17281 LatexCommand label
17282 name "tab:Table-align-operator"
17283
17284 \end_inset
17285
17286 Table cells of a column aligned with the operators.
17287 \end_layout
17288
17289 \end_inset
17290
17291
17292 \end_layout
17293
17294 \begin_layout Plain Layout
17295 \align center
17296 \begin_inset Tabular
17297 <lyxtabular version="3" rows="4" columns="2">
17298 <features booktabs="true" tabularvalignment="middle">
17299 <column alignment="right" valignment="top" width="0pt">
17300 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17301 <row>
17302 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17303 \begin_inset Text
17304
17305 \begin_layout Plain Layout
17306 heading
17307 \end_layout
17308
17309 \end_inset
17310 </cell>
17311 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17312 \begin_inset Text
17313
17314 \begin_layout Plain Layout
17315
17316 \end_layout
17317
17318 \end_inset
17319 </cell>
17320 </row>
17321 <row>
17322 <cell alignment="center" valignment="top" usebox="none">
17323 \begin_inset Text
17324
17325 \begin_layout Plain Layout
17326 \begin_inset Formula $12\,+$
17327 \end_inset
17328
17329
17330 \end_layout
17331
17332 \end_inset
17333 </cell>
17334 <cell alignment="center" valignment="top" usebox="none">
17335 \begin_inset Text
17336
17337 \begin_layout Plain Layout
17338 \begin_inset Formula $\,6$
17339 \end_inset
17340
17341
17342 \end_layout
17343
17344 \end_inset
17345 </cell>
17346 </row>
17347 <row>
17348 <cell alignment="center" valignment="top" usebox="none">
17349 \begin_inset Text
17350
17351 \begin_layout Plain Layout
17352 \begin_inset Formula $0\,-$
17353 \end_inset
17354
17355
17356 \end_layout
17357
17358 \end_inset
17359 </cell>
17360 <cell alignment="center" valignment="top" usebox="none">
17361 \begin_inset Text
17362
17363 \begin_layout Plain Layout
17364 \begin_inset Formula $\,68$
17365 \end_inset
17366
17367
17368 \end_layout
17369
17370 \end_inset
17371 </cell>
17372 </row>
17373 <row>
17374 <cell alignment="center" valignment="top" usebox="none">
17375 \begin_inset Text
17376
17377 \begin_layout Plain Layout
17378 \begin_inset Formula $-123\,/$
17379 \end_inset
17380
17381
17382 \end_layout
17383
17384 \end_inset
17385 </cell>
17386 <cell alignment="center" valignment="top" usebox="none">
17387 \begin_inset Text
17388
17389 \begin_layout Plain Layout
17390 \begin_inset Formula $\,0$
17391 \end_inset
17392
17393
17394 \end_layout
17395
17396 \end_inset
17397 </cell>
17398 </row>
17399 </lyxtabular>
17400
17401 \end_inset
17402
17403
17404 \end_layout
17405
17406 \end_inset
17407
17408
17409 \end_layout
17410
17411 \begin_layout Standard
17412 For alignments at characters in formulas this method does not work because
17413  the field to specify the alignment character does not allow formulas.
17414  In this case one need to use the method from Table
17415 \begin_inset space ~
17416 \end_inset
17417
17418
17419 \begin_inset CommandInset ref
17420 LatexCommand ref
17421 reference "tab:Table-align-operator"
17422
17423 \end_inset
17424
17425 .
17426  This table was created with a 4×2 table.
17427  The heading is a centered multicolumn.
17428  The first column is right-aligned and contains the first part including
17429  the operator.
17430  The second column is left aligned and contains the rest.
17431  A small space was added at the beginning of each cell of the second column
17432  to get the space that is usually around operators.
17433  To omit the space that is normally between two table columns, the following
17434  LaTeX-argument was used for the second column:
17435 \end_layout
17436
17437 \begin_layout Standard
17438
17439 \series bold
17440 @{}l
17441 \end_layout
17442
17443 \begin_layout Standard
17444 Table
17445 \begin_inset space ~
17446 \end_inset
17447
17448
17449 \begin_inset CommandInset ref
17450 LatexCommand ref
17451 reference "tab:Several-table-cell"
17452
17453 \end_inset
17454
17455  shows some example alignments.
17456  For the alignment with the relation sign, a small space was added like
17457  for the second column of Table
17458 \begin_inset space ~
17459 \end_inset
17460
17461
17462 \begin_inset CommandInset ref
17463 LatexCommand ref
17464 reference "tab:Table-align-operator"
17465
17466 \end_inset
17467
17468 .
17469 \end_layout
17470
17471 \begin_layout Standard
17472 \begin_inset Float table
17473 placement h
17474 wide false
17475 sideways false
17476 status open
17477
17478 \begin_layout Plain Layout
17479 \begin_inset Caption
17480
17481 \begin_layout Plain Layout
17482 \begin_inset CommandInset label
17483 LatexCommand label
17484 name "tab:Several-table-cell"
17485
17486 \end_inset
17487
17488 Several table cell alignments.
17489 \end_layout
17490
17491 \end_inset
17492
17493
17494 \end_layout
17495
17496 \begin_layout Plain Layout
17497 \align center
17498 \begin_inset Tabular
17499 <lyxtabular version="3" rows="4" columns="6">
17500 <features tabularvalignment="middle">
17501 <column alignment="right" valignment="top" width="0">
17502 <column alignment="left" valignment="top" width="0" special="@{}l">
17503 <column alignment="right" valignment="top" width="0">
17504 <column alignment="left" valignment="top" width="0" special="@{}l">
17505 <column alignment="right" valignment="top" width="0">
17506 <column alignment="left" valignment="top" width="0" special="@{}l">
17507 <row>
17508 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17509 \begin_inset Text
17510
17511 \begin_layout Plain Layout
17512 units
17513 \end_layout
17514
17515 \end_inset
17516 </cell>
17517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17518 \begin_inset Text
17519
17520 \begin_layout Plain Layout
17521
17522 \end_layout
17523
17524 \end_inset
17525 </cell>
17526 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17527 \begin_inset Text
17528
17529 \begin_layout Plain Layout
17530 exponents
17531 \end_layout
17532
17533 \end_inset
17534 </cell>
17535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17536 \begin_inset Text
17537
17538 \begin_layout Plain Layout
17539
17540 \end_layout
17541
17542 \end_inset
17543 </cell>
17544 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17545 \begin_inset Text
17546
17547 \begin_layout Plain Layout
17548 relations
17549 \end_layout
17550
17551 \end_inset
17552 </cell>
17553 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17554 \begin_inset Text
17555
17556 \begin_layout Plain Layout
17557
17558 \end_layout
17559
17560 \end_inset
17561 </cell>
17562 </row>
17563 <row>
17564 <cell alignment="center" valignment="top" usebox="none">
17565 \begin_inset Text
17566
17567 \begin_layout Plain Layout
17568 12×
17569 \end_layout
17570
17571 \end_inset
17572 </cell>
17573 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17574 \begin_inset Text
17575
17576 \begin_layout Plain Layout
17577 24
17578 \begin_inset space \thinspace{}
17579 \end_inset
17580
17581 bottles
17582 \end_layout
17583
17584 \end_inset
17585 </cell>
17586 <cell alignment="center" valignment="top" usebox="none">
17587 \begin_inset Text
17588
17589 \begin_layout Plain Layout
17590 \begin_inset Formula $10\cdot$
17591 \end_inset
17592
17593
17594 \end_layout
17595
17596 \end_inset
17597 </cell>
17598 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17599 \begin_inset Text
17600
17601 \begin_layout Plain Layout
17602 \begin_inset Formula $10^{\mbox{-}17}$
17603 \end_inset
17604
17605
17606 \end_layout
17607
17608 \end_inset
17609 </cell>
17610 <cell alignment="center" valignment="top" usebox="none">
17611 \begin_inset Text
17612
17613 \begin_layout Plain Layout
17614 \begin_inset Formula $\Gamma(t)\propto$
17615 \end_inset
17616
17617
17618 \end_layout
17619
17620 \end_inset
17621 </cell>
17622 <cell alignment="center" valignment="top" usebox="none">
17623 \begin_inset Text
17624
17625 \begin_layout Plain Layout
17626 \begin_inset Formula $\:\Upsilon(t)$
17627 \end_inset
17628
17629
17630 \end_layout
17631
17632 \end_inset
17633 </cell>
17634 </row>
17635 <row>
17636 <cell alignment="center" valignment="top" usebox="none">
17637 \begin_inset Text
17638
17639 \begin_layout Plain Layout
17640 1024×
17641 \end_layout
17642
17643 \end_inset
17644 </cell>
17645 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17646 \begin_inset Text
17647
17648 \begin_layout Plain Layout
17649 768
17650 \begin_inset space \thinspace{}
17651 \end_inset
17652
17653 Pixels
17654 \end_layout
17655
17656 \end_inset
17657 </cell>
17658 <cell alignment="center" valignment="top" usebox="none">
17659 \begin_inset Text
17660
17661 \begin_layout Plain Layout
17662 \begin_inset Formula $5.78\cdot$
17663 \end_inset
17664
17665
17666 \end_layout
17667
17668 \end_inset
17669 </cell>
17670 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17671 \begin_inset Text
17672
17673 \begin_layout Plain Layout
17674 \begin_inset Formula $10^{7}$
17675 \end_inset
17676
17677
17678 \end_layout
17679
17680 \end_inset
17681 </cell>
17682 <cell alignment="center" valignment="top" usebox="none">
17683 \begin_inset Text
17684
17685 \begin_layout Plain Layout
17686 \begin_inset Formula $A\ne$
17687 \end_inset
17688
17689
17690 \end_layout
17691
17692 \end_inset
17693 </cell>
17694 <cell alignment="center" valignment="top" usebox="none">
17695 \begin_inset Text
17696
17697 \begin_layout Plain Layout
17698 \begin_inset Formula $\: B_{\mathrm{red}}$
17699 \end_inset
17700
17701
17702 \end_layout
17703
17704 \end_inset
17705 </cell>
17706 </row>
17707 <row>
17708 <cell alignment="center" valignment="top" usebox="none">
17709 \begin_inset Text
17710
17711 \begin_layout Plain Layout
17712 32×
17713 \end_layout
17714
17715 \end_inset
17716 </cell>
17717 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17718 \begin_inset Text
17719
17720 \begin_layout Plain Layout
17721 6
17722 \begin_inset space \thinspace{}
17723 \end_inset
17724
17725 cm
17726 \end_layout
17727
17728 \end_inset
17729 </cell>
17730 <cell alignment="center" valignment="top" usebox="none">
17731 \begin_inset Text
17732
17733 \begin_layout Plain Layout
17734 -
17735 \begin_inset Formula $33.5\cdot$
17736 \end_inset
17737
17738
17739 \end_layout
17740
17741 \end_inset
17742 </cell>
17743 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17744 \begin_inset Text
17745
17746 \begin_layout Plain Layout
17747 \begin_inset Formula $10^{4}$
17748 \end_inset
17749
17750
17751 \end_layout
17752
17753 \end_inset
17754 </cell>
17755 <cell alignment="center" valignment="top" usebox="none">
17756 \begin_inset Text
17757
17758 \begin_layout Plain Layout
17759 \begin_inset Formula $\sin(\alpha)\ge$
17760 \end_inset
17761
17762
17763 \end_layout
17764
17765 \end_inset
17766 </cell>
17767 <cell alignment="center" valignment="top" usebox="none">
17768 \begin_inset Text
17769
17770 \begin_layout Plain Layout
17771 \begin_inset Formula $\:\sin(\beta)$
17772 \end_inset
17773
17774
17775 \end_layout
17776
17777 \end_inset
17778 </cell>
17779 </row>
17780 </lyxtabular>
17781
17782 \end_inset
17783
17784
17785 \end_layout
17786
17787 \end_inset
17788
17789
17790 \end_layout
17791
17792 \begin_layout Subsection
17793 Customized Cell/Column Format
17794 \begin_inset CommandInset label
17795 LatexCommand label
17796 name "sub:Customized-Format"
17797
17798 \end_inset
17799
17800
17801 \begin_inset Index idx
17802 status collapsed
17803
17804 \begin_layout Plain Layout
17805 Table Customization ! Cell/Column Format
17806 \end_layout
17807
17808 \end_inset
17809
17810
17811 \end_layout
17812
17813 \begin_layout Standard
17814 Calculating the required width for spanned columns as in section
17815 \begin_inset space ~
17816 \end_inset
17817
17818
17819 \begin_inset CommandInset ref
17820 LatexCommand ref
17821 reference "sub:Multicolumn-Calculations"
17822
17823 \end_inset
17824
17825  is very annoying if you have several tables with multicolumn cells.
17826  To make life easier, you can define a cell/column format in the preamble,
17827  so that it can be used in all tables of the document.
17828  The format is defined with the command
17829 \end_layout
17830
17831 \begin_layout Standard
17832
17833 \series bold
17834
17835 \backslash
17836 newcolumntype{name of format}[number of arguments]{commands}
17837 \end_layout
17838
17839 \begin_layout Standard
17840 The format name may only consist of one letter.
17841  The letters 
17842 \emph on
17843 b
17844 \emph default
17845
17846 \emph on
17847 c
17848 \emph default
17849
17850 \emph on
17851 l
17852 \emph default
17853
17854 \emph on
17855 m
17856 \emph default
17857
17858 \emph on
17859 p
17860 \emph default
17861  and 
17862 \emph on
17863 r
17864 \emph default
17865  are predefined and cannot be used.
17866  But all letters are allowed as capitals.
17867 \end_layout
17868
17869 \begin_layout Standard
17870 \begin_inset VSpace medskip
17871 \end_inset
17872
17873
17874 \end_layout
17875
17876 \begin_layout Standard
17877 For vertically and horizontally centered multicolumn cells with a fixed
17878  width you can define the cell format
17879 \end_layout
17880
17881 \begin_layout Standard
17882
17883 \series bold
17884
17885 \backslash
17886 newcolumntype{M}[1]{>{
17887 \backslash
17888 centering
17889 \backslash
17890 hspace{0pt}}m{#1}}
17891 \end_layout
17892
17893 \begin_layout Standard
17894 where 
17895 \series bold
17896
17897 \backslash
17898 hspace{0pt}
17899 \series default
17900  avoids the problem of hyphenating the first word, as described in section
17901 \begin_inset space ~
17902 \end_inset
17903
17904
17905 \begin_inset CommandInset ref
17906 LatexCommand ref
17907 reference "sub:Multiple-Lines-in"
17908
17909 \end_inset
17910
17911 .
17912  Now you can simply enter
17913 \end_layout
17914
17915 \begin_layout Standard
17916
17917 \series bold
17918 M{width}
17919 \end_layout
17920
17921 \begin_layout Standard
17922 as LaTeX-argument in the table dialog to create a multicolumn.
17923 \end_layout
17924
17925 \begin_layout Standard
17926 \begin_inset VSpace bigskip
17927 \end_inset
17928
17929
17930 \end_layout
17931
17932 \begin_layout Standard
17933 For cells spanned by a multicolumn cell, you can define the format
17934 \end_layout
17935
17936 \begin_layout Standard
17937
17938 \series bold
17939
17940 \backslash
17941 newcolumntype{S}[2]{>{
17942 \backslash
17943 centering
17944 \backslash
17945 hspace{0pt}}
17946 \begin_inset Newline newline
17947 \end_inset
17948
17949
17950 \begin_inset Phantom HPhantom
17951 status open
17952
17953 \begin_layout Plain Layout
17954
17955 \series bold
17956
17957 \backslash
17958 newcolumntype
17959 \end_layout
17960
17961 \end_inset
17962
17963 m{(#1+(2
17964 \backslash
17965 tabcolsep+
17966 \backslash
17967 arrayrulewidth)*(1-#2))/#2}}
17968 \end_layout
17969
17970 \begin_layout Standard
17971 This format uses equation 
17972 \begin_inset CommandInset ref
17973 LatexCommand eqref
17974 reference "eq:Wgn"
17975
17976 \end_inset
17977
17978  to calculate the required width so that each spanned cell has the same
17979  width.
17980 \end_layout
17981
17982 \begin_layout Standard
17983 You can now enter
17984 \end_layout
17985
17986 \begin_layout Standard
17987
17988 \series bold
17989 S{width of multicolumn cell}{number of spanned columns}
17990 \end_layout
17991
17992 \begin_layout Standard
17993 as LaTeX-argument of the column.
17994 \end_layout
17995
17996 \begin_layout Standard
17997 \begin_inset VSpace bigskip
17998 \end_inset
17999
18000
18001 \end_layout
18002
18003 \begin_layout Standard
18004 For colored columns, you can define
18005 \end_layout
18006
18007 \begin_layout Standard
18008
18009 \series bold
18010
18011 \backslash
18012 newcolumntype{K}[1]{>{
18013 \backslash
18014 columncolor{#1}
18015 \backslash
18016 hspace{0pt}}c}
18017 \end_layout
18018
18019 \begin_layout Standard
18020 The 
18021 \begin_inset Quotes eld
18022 \end_inset
18023
18024 c
18025 \begin_inset Quotes erd
18026 \end_inset
18027
18028  at the end creates a column with a flexible width whose text is horizontally
18029  centered.
18030  You can now enter
18031 \end_layout
18032
18033 \begin_layout Standard
18034
18035 \series bold
18036 K{color name}
18037 \end_layout
18038
18039 \begin_layout Standard
18040 as LaTeX-argument.
18041 \end_layout
18042
18043 \begin_layout Standard
18044 \begin_inset VSpace bigskip
18045 \end_inset
18046
18047
18048 \end_layout
18049
18050 \begin_layout Standard
18051 To create Table
18052 \begin_inset space ~
18053 \end_inset
18054
18055
18056 \begin_inset CommandInset ref
18057 LatexCommand ref
18058 reference "tab:Table-using-user-defined"
18059
18060 \end_inset
18061
18062  use the LaTeX-arguments
18063 \end_layout
18064
18065 \begin_layout Standard
18066
18067 \series bold
18068 M{2.5cm}
18069 \end_layout
18070
18071 \begin_layout Standard
18072 for the first column and the multicolumn,
18073 \end_layout
18074
18075 \begin_layout Standard
18076
18077 \series bold
18078 K{red}
18079 \end_layout
18080
18081 \begin_layout Standard
18082 for the last column, and
18083 \end_layout
18084
18085 \begin_layout Standard
18086
18087 \series bold
18088 S{2.5cm}{2}
18089 \end_layout
18090
18091 \begin_layout Standard
18092 for the cells in the second column.
18093 \end_layout
18094
18095 \begin_layout Standard
18096 \begin_inset Float table
18097 placement h
18098 wide false
18099 sideways false
18100 status open
18101
18102 \begin_layout Plain Layout
18103 \begin_inset Caption
18104
18105 \begin_layout Plain Layout
18106 \begin_inset CommandInset label
18107 LatexCommand label
18108 name "tab:Table-using-user-defined"
18109
18110 \end_inset
18111
18112 Table using user-defined table formats
18113 \end_layout
18114
18115 \end_inset
18116
18117
18118 \end_layout
18119
18120 \begin_layout Plain Layout
18121 \align center
18122 \begin_inset Tabular
18123 <lyxtabular version="3" rows="3" columns="4">
18124 <features tabularvalignment="middle">
18125 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18126 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18127 <column alignment="center" valignment="middle" width="0">
18128 <column alignment="center" valignment="middle" width="0" special="K{red}">
18129 <row>
18130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18131 \begin_inset Text
18132
18133 \begin_layout Plain Layout
18134 verylongtablecellword
18135 \end_layout
18136
18137 \end_inset
18138 </cell>
18139 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18140 \begin_inset Text
18141
18142 \begin_layout Plain Layout
18143 multiple lines multicolumn
18144 \end_layout
18145
18146 \end_inset
18147 </cell>
18148 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18149 \begin_inset Text
18150
18151 \begin_layout Plain Layout
18152
18153 \end_layout
18154
18155 \end_inset
18156 </cell>
18157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18158 \begin_inset Text
18159
18160 \begin_layout Plain Layout
18161 c
18162 \end_layout
18163
18164 \end_inset
18165 </cell>
18166 </row>
18167 <row>
18168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18169 \begin_inset Text
18170
18171 \begin_layout Plain Layout
18172 d
18173 \end_layout
18174
18175 \end_inset
18176 </cell>
18177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18178 \begin_inset Text
18179
18180 \begin_layout Plain Layout
18181 e
18182 \end_layout
18183
18184 \end_inset
18185 </cell>
18186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18187 \begin_inset Text
18188
18189 \begin_layout Plain Layout
18190 f
18191 \end_layout
18192
18193 \end_inset
18194 </cell>
18195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18196 \begin_inset Text
18197
18198 \begin_layout Plain Layout
18199 g
18200 \end_layout
18201
18202 \end_inset
18203 </cell>
18204 </row>
18205 <row>
18206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18207 \begin_inset Text
18208
18209 \begin_layout Plain Layout
18210 h
18211 \end_layout
18212
18213 \end_inset
18214 </cell>
18215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18216 \begin_inset Text
18217
18218 \begin_layout Plain Layout
18219 i
18220 \end_layout
18221
18222 \end_inset
18223 </cell>
18224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18225 \begin_inset Text
18226
18227 \begin_layout Plain Layout
18228 j
18229 \end_layout
18230
18231 \end_inset
18232 </cell>
18233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18234 \begin_inset Text
18235
18236 \begin_layout Plain Layout
18237 k
18238 \end_layout
18239
18240 \end_inset
18241 </cell>
18242 </row>
18243 </lyxtabular>
18244
18245 \end_inset
18246
18247
18248 \end_layout
18249
18250 \end_inset
18251
18252
18253 \end_layout
18254
18255 \begin_layout Subsection
18256 Line Thickness
18257 \begin_inset CommandInset label
18258 LatexCommand label
18259 name "sub:Line-Thickness"
18260
18261 \end_inset
18262
18263
18264 \begin_inset Index idx
18265 status collapsed
18266
18267 \begin_layout Plain Layout
18268 Table Customization ! Line Thickness
18269 \end_layout
18270
18271 \end_inset
18272
18273
18274 \end_layout
18275
18276 \begin_layout Standard
18277 The line thickness for all lines in a table can be adjusted with the length
18278  
18279 \series bold
18280
18281 \backslash
18282 arrayrulewidth
18283 \series default
18284 .
18285  To set for example a line thickness of 1.5
18286 \begin_inset space \thinspace{}
18287 \end_inset
18288
18289 pt, as in Table
18290 \begin_inset space ~
18291 \end_inset
18292
18293
18294 \begin_inset CommandInset ref
18295 LatexCommand ref
18296 reference "tab:Table-with-1.5"
18297
18298 \end_inset
18299
18300 , insert the command
18301 \end_layout
18302
18303 \begin_layout Standard
18304
18305 \series bold
18306
18307 \backslash
18308 setlength{
18309 \backslash
18310 arrayrulewidth}{1.5pt}
18311 \end_layout
18312
18313 \begin_layout Standard
18314 in TeX-Code before the table or table float.
18315  The changed thickness is valid for all subsequent tables.
18316  To use the default value again, set 
18317 \series bold
18318
18319 \backslash
18320 arrayrulewidth
18321 \series default
18322  to 0.4
18323 \begin_inset space \thinspace{}
18324 \end_inset
18325
18326 pt in TeX-Code after the table or table float.
18327 \end_layout
18328
18329 \begin_layout Standard
18330 \begin_inset ERT
18331 status collapsed
18332
18333 \begin_layout Plain Layout
18334
18335
18336 \backslash
18337 setlength{
18338 \backslash
18339 arrayrulewidth}{1.5pt}
18340 \end_layout
18341
18342 \end_inset
18343
18344
18345 \begin_inset Float table
18346 wide false
18347 sideways false
18348 status open
18349
18350 \begin_layout Plain Layout
18351 \begin_inset Caption
18352
18353 \begin_layout Plain Layout
18354 \begin_inset CommandInset label
18355 LatexCommand label
18356 name "tab:Table-with-1.5"
18357
18358 \end_inset
18359
18360 Table with 1.5
18361 \begin_inset space \thinspace{}
18362 \end_inset
18363
18364 pt thick lines
18365 \end_layout
18366
18367 \end_inset
18368
18369
18370 \end_layout
18371
18372 \begin_layout Plain Layout
18373 \align center
18374 \begin_inset Tabular
18375 <lyxtabular version="3" rows="3" columns="3">
18376 <features tabularvalignment="middle">
18377 <column alignment="center" valignment="top" width="0">
18378 <column alignment="center" valignment="top" width="0">
18379 <column alignment="center" valignment="top" width="0">
18380 <row>
18381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18382 \begin_inset Text
18383
18384 \begin_layout Plain Layout
18385 sd
18386 \end_layout
18387
18388 \end_inset
18389 </cell>
18390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18391 \begin_inset Text
18392
18393 \begin_layout Plain Layout
18394
18395 \end_layout
18396
18397 \end_inset
18398 </cell>
18399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18400 \begin_inset Text
18401
18402 \begin_layout Plain Layout
18403
18404 \end_layout
18405
18406 \end_inset
18407 </cell>
18408 </row>
18409 <row>
18410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18411 \begin_inset Text
18412
18413 \begin_layout Plain Layout
18414
18415 \end_layout
18416
18417 \end_inset
18418 </cell>
18419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18420 \begin_inset Text
18421
18422 \begin_layout Plain Layout
18423 sd
18424 \end_layout
18425
18426 \end_inset
18427 </cell>
18428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18429 \begin_inset Text
18430
18431 \begin_layout Plain Layout
18432
18433 \end_layout
18434
18435 \end_inset
18436 </cell>
18437 </row>
18438 <row>
18439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18440 \begin_inset Text
18441
18442 \begin_layout Plain Layout
18443
18444 \end_layout
18445
18446 \end_inset
18447 </cell>
18448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18449 \begin_inset Text
18450
18451 \begin_layout Plain Layout
18452
18453 \end_layout
18454
18455 \end_inset
18456 </cell>
18457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18458 \begin_inset Text
18459
18460 \begin_layout Plain Layout
18461 sd
18462 \end_layout
18463
18464 \end_inset
18465 </cell>
18466 </row>
18467 </lyxtabular>
18468
18469 \end_inset
18470
18471
18472 \end_layout
18473
18474 \end_inset
18475
18476
18477 \begin_inset ERT
18478 status collapsed
18479
18480 \begin_layout Plain Layout
18481
18482
18483 \backslash
18484 setlength{
18485 \backslash
18486 arrayrulewidth}{0.4pt}
18487 \end_layout
18488
18489 \end_inset
18490
18491
18492 \end_layout
18493
18494 \begin_layout Standard
18495 \begin_inset VSpace bigskip
18496 \end_inset
18497
18498 To set the line thickness to 1.5
18499 \begin_inset space \thinspace{}
18500 \end_inset
18501
18502 pt only for horizontal lines, as in Table
18503 \begin_inset space ~
18504 \end_inset
18505
18506
18507 \begin_inset CommandInset ref
18508 LatexCommand ref
18509 reference "tab:Table-with-horizontal"
18510
18511 \end_inset
18512
18513 , insert these commands in TeX-Code before the table or table float:
18514 \end_layout
18515
18516 \begin_layout Standard
18517
18518 \series bold
18519
18520 \backslash
18521 let
18522 \backslash
18523 myHline
18524 \backslash
18525 hline
18526 \begin_inset Newline newline
18527 \end_inset
18528
18529
18530 \backslash
18531 renewcommand{
18532 \backslash
18533 hline}
18534 \begin_inset Newline newline
18535 \end_inset
18536
18537  {
18538 \backslash
18539 noalign{
18540 \backslash
18541 global
18542 \backslash
18543 arrayrulewidth 1.5pt}
18544 \begin_inset Newline newline
18545 \end_inset
18546
18547  
18548 \backslash
18549 myHline
18550 \backslash
18551 noalign{
18552 \backslash
18553 global
18554 \backslash
18555 arrayrulewidth 0.4pt}}
18556 \end_layout
18557
18558 \begin_layout Standard
18559 To return to the default line thickness, insert this command in TeX-Code
18560  after the table or table float:
18561 \end_layout
18562
18563 \begin_layout Standard
18564
18565 \series bold
18566
18567 \backslash
18568 renewcommand{
18569 \backslash
18570 hline}{
18571 \backslash
18572 myHline}
18573 \end_layout
18574
18575 \begin_layout Standard
18576 \begin_inset ERT
18577 status collapsed
18578
18579 \begin_layout Plain Layout
18580
18581
18582 \backslash
18583 let
18584 \backslash
18585 myHline
18586 \backslash
18587 hline
18588 \end_layout
18589
18590 \begin_layout Plain Layout
18591
18592
18593 \backslash
18594 renewcommand{
18595 \backslash
18596 hline}
18597 \end_layout
18598
18599 \begin_layout Plain Layout
18600
18601  {
18602 \backslash
18603 noalign{
18604 \backslash
18605 global
18606 \backslash
18607 arrayrulewidth 1.5pt}
18608 \end_layout
18609
18610 \begin_layout Plain Layout
18611
18612   
18613 \backslash
18614 myHline
18615 \backslash
18616 noalign{
18617 \backslash
18618 global
18619 \backslash
18620 arrayrulewidth 0.4pt}}
18621 \end_layout
18622
18623 \end_inset
18624
18625
18626 \begin_inset Float table
18627 wide false
18628 sideways false
18629 status open
18630
18631 \begin_layout Plain Layout
18632 \begin_inset Caption
18633
18634 \begin_layout Plain Layout
18635 \begin_inset CommandInset label
18636 LatexCommand label
18637 name "tab:Table-with-horizontal"
18638
18639 \end_inset
18640
18641 Table with 1.5
18642 \begin_inset space \thinspace{}
18643 \end_inset
18644
18645 pt thick horizontal lines
18646 \end_layout
18647
18648 \end_inset
18649
18650
18651 \end_layout
18652
18653 \begin_layout Plain Layout
18654 \align center
18655 \begin_inset Tabular
18656 <lyxtabular version="3" rows="3" columns="3">
18657 <features tabularvalignment="middle">
18658 <column alignment="center" valignment="top" width="0">
18659 <column alignment="center" valignment="top" width="0">
18660 <column alignment="center" valignment="top" width="0">
18661 <row>
18662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18663 \begin_inset Text
18664
18665 \begin_layout Plain Layout
18666 sd
18667 \end_layout
18668
18669 \end_inset
18670 </cell>
18671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18672 \begin_inset Text
18673
18674 \begin_layout Plain Layout
18675
18676 \end_layout
18677
18678 \end_inset
18679 </cell>
18680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18681 \begin_inset Text
18682
18683 \begin_layout Plain Layout
18684
18685 \end_layout
18686
18687 \end_inset
18688 </cell>
18689 </row>
18690 <row>
18691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18692 \begin_inset Text
18693
18694 \begin_layout Plain Layout
18695
18696 \end_layout
18697
18698 \end_inset
18699 </cell>
18700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18701 \begin_inset Text
18702
18703 \begin_layout Plain Layout
18704 sd
18705 \end_layout
18706
18707 \end_inset
18708 </cell>
18709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18710 \begin_inset Text
18711
18712 \begin_layout Plain Layout
18713
18714 \end_layout
18715
18716 \end_inset
18717 </cell>
18718 </row>
18719 <row>
18720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18721 \begin_inset Text
18722
18723 \begin_layout Plain Layout
18724
18725 \end_layout
18726
18727 \end_inset
18728 </cell>
18729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18730 \begin_inset Text
18731
18732 \begin_layout Plain Layout
18733
18734 \end_layout
18735
18736 \end_inset
18737 </cell>
18738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18739 \begin_inset Text
18740
18741 \begin_layout Plain Layout
18742 sd
18743 \end_layout
18744
18745 \end_inset
18746 </cell>
18747 </row>
18748 </lyxtabular>
18749
18750 \end_inset
18751
18752
18753 \end_layout
18754
18755 \end_inset
18756
18757
18758 \begin_inset ERT
18759 status collapsed
18760
18761 \begin_layout Plain Layout
18762
18763
18764 \backslash
18765 renewcommand{
18766 \backslash
18767 hline}{
18768 \backslash
18769 myHline}
18770 \end_layout
18771
18772 \end_inset
18773
18774
18775 \end_layout
18776
18777 \begin_layout Standard
18778 \begin_inset VSpace bigskip
18779 \end_inset
18780
18781 To set the line thickness to 1.5
18782 \begin_inset space \thinspace{}
18783 \end_inset
18784
18785 pt only for vertical lines, create the following column format in the document
18786  preamble, according to the description in section
18787 \begin_inset space ~
18788 \end_inset
18789
18790
18791 \begin_inset CommandInset ref
18792 LatexCommand ref
18793 reference "sub:Customized-Format"
18794
18795 \end_inset
18796
18797 :
18798 \end_layout
18799
18800 \begin_layout Standard
18801
18802 \series bold
18803
18804 \backslash
18805 newcolumntype{V}{!{
18806 \backslash
18807 vrule width 1.5pt}}
18808 \end_layout
18809
18810 \begin_layout Standard
18811 For Table
18812 \begin_inset space ~
18813 \end_inset
18814
18815
18816 \begin_inset CommandInset ref
18817 LatexCommand ref
18818 reference "tab:Table-with-vertical"
18819
18820 \end_inset
18821
18822  the LaTeX-argument
18823 \end_layout
18824
18825 \begin_layout Standard
18826
18827 \series bold
18828 VcV
18829 \end_layout
18830
18831 \begin_layout Standard
18832 was used for the last column and
18833 \end_layout
18834
18835 \begin_layout Standard
18836
18837 \series bold
18838 Vc
18839 \end_layout
18840
18841 \begin_layout Standard
18842 for the other columns.
18843 \end_layout
18844
18845 \begin_layout Standard
18846 \begin_inset Float table
18847 wide false
18848 sideways false
18849 status open
18850
18851 \begin_layout Plain Layout
18852 \begin_inset Caption
18853
18854 \begin_layout Plain Layout
18855 \begin_inset CommandInset label
18856 LatexCommand label
18857 name "tab:Table-with-vertical"
18858
18859 \end_inset
18860
18861 Table with 1.5
18862 \begin_inset space \thinspace{}
18863 \end_inset
18864
18865 pt thick vertical lines
18866 \end_layout
18867
18868 \end_inset
18869
18870
18871 \end_layout
18872
18873 \begin_layout Plain Layout
18874 \align center
18875 \begin_inset Tabular
18876 <lyxtabular version="3" rows="3" columns="3">
18877 <features tabularvalignment="middle">
18878 <column alignment="center" valignment="top" width="0" special="Vc">
18879 <column alignment="center" valignment="top" width="0" special="Vc">
18880 <column alignment="center" valignment="top" width="0" special="VcV">
18881 <row>
18882 <cell alignment="center" valignment="top" topline="true" usebox="none">
18883 \begin_inset Text
18884
18885 \begin_layout Plain Layout
18886 sd
18887 \end_layout
18888
18889 \end_inset
18890 </cell>
18891 <cell alignment="center" valignment="top" topline="true" usebox="none">
18892 \begin_inset Text
18893
18894 \begin_layout Plain Layout
18895
18896 \end_layout
18897
18898 \end_inset
18899 </cell>
18900 <cell alignment="center" valignment="top" topline="true" usebox="none">
18901 \begin_inset Text
18902
18903 \begin_layout Plain Layout
18904
18905 \end_layout
18906
18907 \end_inset
18908 </cell>
18909 </row>
18910 <row>
18911 <cell alignment="center" valignment="top" topline="true" usebox="none">
18912 \begin_inset Text
18913
18914 \begin_layout Plain Layout
18915
18916 \end_layout
18917
18918 \end_inset
18919 </cell>
18920 <cell alignment="center" valignment="top" topline="true" usebox="none">
18921 \begin_inset Text
18922
18923 \begin_layout Plain Layout
18924 sd
18925 \end_layout
18926
18927 \end_inset
18928 </cell>
18929 <cell alignment="center" valignment="top" topline="true" usebox="none">
18930 \begin_inset Text
18931
18932 \begin_layout Plain Layout
18933
18934 \end_layout
18935
18936 \end_inset
18937 </cell>
18938 </row>
18939 <row>
18940 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18941 \begin_inset Text
18942
18943 \begin_layout Plain Layout
18944
18945 \end_layout
18946
18947 \end_inset
18948 </cell>
18949 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18950 \begin_inset Text
18951
18952 \begin_layout Plain Layout
18953
18954 \end_layout
18955
18956 \end_inset
18957 </cell>
18958 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18959 \begin_inset Text
18960
18961 \begin_layout Plain Layout
18962 sd
18963 \end_layout
18964
18965 \end_inset
18966 </cell>
18967 </row>
18968 </lyxtabular>
18969
18970 \end_inset
18971
18972
18973 \end_layout
18974
18975 \end_inset
18976
18977
18978 \end_layout
18979
18980 \begin_layout Subsection
18981 Dashed Lines
18982 \begin_inset Index idx
18983 status collapsed
18984
18985 \begin_layout Plain Layout
18986 Table Customization ! Dashed Lines
18987 \end_layout
18988
18989 \end_inset
18990
18991
18992 \end_layout
18993
18994 \begin_layout Standard
18995 \begin_inset ERT
18996 status collapsed
18997
18998 \begin_layout Plain Layout
18999
19000
19001 \backslash
19002 ifarydshln
19003 \end_layout
19004
19005 \end_inset
19006
19007
19008 \begin_inset Note Note
19009 status open
19010
19011 \begin_layout Plain Layout
19012 The following section will only be displayed when the LaTeX-package 
19013 \series bold
19014 arydshln
19015 \series default
19016  is installed.
19017 \end_layout
19018
19019 \end_inset
19020
19021
19022 \end_layout
19023
19024 \begin_layout Standard
19025 \begin_inset Float table
19026 placement H
19027 wide false
19028 sideways false
19029 status open
19030
19031 \begin_layout Plain Layout
19032 \begin_inset Caption
19033
19034 \begin_layout Plain Layout
19035 \begin_inset CommandInset label
19036 LatexCommand label
19037 name "tab:Table-with-dashed"
19038
19039 \end_inset
19040
19041 Table with dashed lines
19042 \end_layout
19043
19044 \end_inset
19045
19046
19047 \end_layout
19048
19049 \begin_layout Plain Layout
19050 \align center
19051 \begin_inset Tabular
19052 <lyxtabular version="3" rows="5" columns="5">
19053 <features tabularvalignment="middle">
19054 <column alignment="center" valignment="top" width="0">
19055 <column alignment="center" valignment="top" width="0">
19056 <column alignment="center" valignment="top" width="0" special=":c">
19057 <column alignment="center" valignment="top" width="0">
19058 <column alignment="center" valignment="top" width="0">
19059 <row>
19060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19061 \begin_inset Text
19062
19063 \begin_layout Plain Layout
19064 a
19065 \end_layout
19066
19067 \end_inset
19068 </cell>
19069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19070 \begin_inset Text
19071
19072 \begin_layout Plain Layout
19073 b
19074 \end_layout
19075
19076 \end_inset
19077 </cell>
19078 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19079 \begin_inset Text
19080
19081 \begin_layout Plain Layout
19082 c
19083 \end_layout
19084
19085 \end_inset
19086 </cell>
19087 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19088 \begin_inset Text
19089
19090 \begin_layout Plain Layout
19091 d
19092 \end_layout
19093
19094 \end_inset
19095 </cell>
19096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19097 \begin_inset Text
19098
19099 \begin_layout Plain Layout
19100 e
19101 \end_layout
19102
19103 \end_inset
19104 </cell>
19105 </row>
19106 <row>
19107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19108 \begin_inset Text
19109
19110 \begin_layout Plain Layout
19111 f
19112 \end_layout
19113
19114 \end_inset
19115 </cell>
19116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19117 \begin_inset Text
19118
19119 \begin_layout Plain Layout
19120 g
19121 \end_layout
19122
19123 \end_inset
19124 </cell>
19125 <cell alignment="center" valignment="top" topline="true" usebox="none">
19126 \begin_inset Text
19127
19128 \begin_layout Plain Layout
19129 h
19130 \end_layout
19131
19132 \end_inset
19133 </cell>
19134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19135 \begin_inset Text
19136
19137 \begin_layout Plain Layout
19138 i
19139 \end_layout
19140
19141 \end_inset
19142 </cell>
19143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19144 \begin_inset Text
19145
19146 \begin_layout Plain Layout
19147 j
19148 \end_layout
19149
19150 \end_inset
19151 </cell>
19152 </row>
19153 <row>
19154 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19155 \begin_inset Text
19156
19157 \begin_layout Plain Layout
19158 \begin_inset ERT
19159 status collapsed
19160
19161 \begin_layout Plain Layout
19162
19163
19164 \backslash
19165 hdashline 
19166 \end_layout
19167
19168 \end_inset
19169
19170 k
19171 \end_layout
19172
19173 \end_inset
19174 </cell>
19175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19176 \begin_inset Text
19177
19178 \begin_layout Plain Layout
19179 l
19180 \end_layout
19181
19182 \end_inset
19183 </cell>
19184 <cell alignment="center" valignment="top" usebox="none">
19185 \begin_inset Text
19186
19187 \begin_layout Plain Layout
19188 m
19189 \end_layout
19190
19191 \end_inset
19192 </cell>
19193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19194 \begin_inset Text
19195
19196 \begin_layout Plain Layout
19197 n
19198 \end_layout
19199
19200 \end_inset
19201 </cell>
19202 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19203 \begin_inset Text
19204
19205 \begin_layout Plain Layout
19206 o
19207 \end_layout
19208
19209 \end_inset
19210 </cell>
19211 </row>
19212 <row>
19213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19214 \begin_inset Text
19215
19216 \begin_layout Plain Layout
19217 \begin_inset ERT
19218 status collapsed
19219
19220 \begin_layout Plain Layout
19221
19222
19223 \backslash
19224 cdashline{4-5}
19225 \end_layout
19226
19227 \end_inset
19228
19229 p
19230 \end_layout
19231
19232 \end_inset
19233 </cell>
19234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19235 \begin_inset Text
19236
19237 \begin_layout Plain Layout
19238 q
19239 \end_layout
19240
19241 \end_inset
19242 </cell>
19243 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19244 \begin_inset Text
19245
19246 \begin_layout Plain Layout
19247 r
19248 \end_layout
19249
19250 \end_inset
19251 </cell>
19252 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19253 \begin_inset Text
19254
19255 \begin_layout Plain Layout
19256 s
19257 \end_layout
19258
19259 \end_inset
19260 </cell>
19261 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19262 \begin_inset Text
19263
19264 \begin_layout Plain Layout
19265
19266 \end_layout
19267
19268 \end_inset
19269 </cell>
19270 </row>
19271 <row>
19272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19273 \begin_inset Text
19274
19275 \begin_layout Plain Layout
19276 t
19277 \end_layout
19278
19279 \end_inset
19280 </cell>
19281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19282 \begin_inset Text
19283
19284 \begin_layout Plain Layout
19285 u
19286 \end_layout
19287
19288 \end_inset
19289 </cell>
19290 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19291 \begin_inset Text
19292
19293 \begin_layout Plain Layout
19294 v
19295 \end_layout
19296
19297 \end_inset
19298 </cell>
19299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19300 \begin_inset Text
19301
19302 \begin_layout Plain Layout
19303 w
19304 \end_layout
19305
19306 \end_inset
19307 </cell>
19308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19309 \begin_inset Text
19310
19311 \begin_layout Plain Layout
19312 x
19313 \end_layout
19314
19315 \end_inset
19316 </cell>
19317 </row>
19318 </lyxtabular>
19319
19320 \end_inset
19321
19322
19323 \end_layout
19324
19325 \end_inset
19326
19327
19328 \end_layout
19329
19330 \begin_layout Standard
19331 LyX does not natively support dashed lines, so you have to use TeX-Code.
19332  As a prerequisite the LaTeX-package 
19333 \series bold
19334 arydshln
19335 \series default
19336
19337 \begin_inset Index idx
19338 status collapsed
19339
19340 \begin_layout Plain Layout
19341 LaTeX-packages ! arydshln
19342 \end_layout
19343
19344 \end_inset
19345
19346  must be loaded in the document preamble with the command
19347 \end_layout
19348
19349 \begin_layout Standard
19350
19351 \series bold
19352
19353 \backslash
19354 usepackage{arydshln}
19355 \end_layout
19356
19357 \begin_layout Standard
19358 To make a vertical line dashed, enter the colon 
19359 \begin_inset Quotes eld
19360 \end_inset
19361
19362 :
19363 \begin_inset Quotes erd
19364 \end_inset
19365
19366  together with the character for the horizontal alignment as LaTeX-argument
19367  in the table cell dialog.
19368 \end_layout
19369
19370 \begin_layout Standard
19371 For a horizontal dashed line add the command
19372 \end_layout
19373
19374 \begin_layout Standard
19375
19376 \series bold
19377
19378 \backslash
19379 hdashline
19380 \end_layout
19381
19382 \begin_layout Standard
19383 in TeX-Code as first element of the first cell in the table row.
19384 \end_layout
19385
19386 \begin_layout Standard
19387 For dashed multicolumn lines use the command
19388 \end_layout
19389
19390 \begin_layout Standard
19391
19392 \series bold
19393
19394 \backslash
19395 cdashline{line number
19396 \series default
19397 }
19398 \end_layout
19399
19400 \begin_layout Standard
19401 in TeX-Code as the first element of the first cell in the table row.
19402  If you have for example a multicolumn spanning columns 2 to 4 and you want
19403  to have a dashed line above, add the command
19404 \end_layout
19405
19406 \begin_layout Standard
19407
19408 \series bold
19409
19410 \backslash
19411 cdashline{2-4}
19412 \end_layout
19413
19414 \begin_layout Standard
19415 as the first element of the first cell in the row of the multicolumn.
19416 \end_layout
19417
19418 \begin_layout Standard
19419 \begin_inset VSpace bigskip
19420 \end_inset
19421
19422
19423 \end_layout
19424
19425 \begin_layout Standard
19426 Table
19427 \begin_inset space ~
19428 \end_inset
19429
19430
19431 \begin_inset CommandInset ref
19432 LatexCommand ref
19433 reference "tab:Table-with-dashed"
19434
19435 \end_inset
19436
19437  was created using 
19438 \begin_inset Quotes eld
19439 \end_inset
19440
19441
19442 \series bold
19443 :c
19444 \series default
19445
19446 \begin_inset Quotes erd
19447 \end_inset
19448
19449  as LaTeX-argument of the third column.
19450  The TeX-Code command 
19451 \series bold
19452
19453 \backslash
19454 hdashline
19455 \series default
19456  was inserted in the first cell of the third row and the TeX-Code command
19457 \begin_inset Newline newline
19458 \end_inset
19459
19460  
19461 \series bold
19462
19463 \backslash
19464 cdashline{4-5}
19465 \series default
19466  was inserted in the first cell of the fourth row.
19467 \end_layout
19468
19469 \begin_layout Standard
19470 \begin_inset Note Greyedout
19471 status open
19472
19473 \begin_layout Plain Layout
19474
19475 \series bold
19476 Note:
19477 \series default
19478  The LaTeX-package 
19479 \series bold
19480 arydshln
19481 \series default
19482  is apparently not compatible with the LaTeX-package 
19483 \series bold
19484 colortbl
19485 \series default
19486
19487 \begin_inset Index idx
19488 status collapsed
19489
19490 \begin_layout Plain Layout
19491 LaTeX-packages ! colortbl
19492 \end_layout
19493
19494 \end_inset
19495
19496  that is used for colored tables in section
19497 \begin_inset space ~
19498 \end_inset
19499
19500
19501 \begin_inset CommandInset ref
19502 LatexCommand ref
19503 reference "sec:Colored-Tables"
19504
19505 \end_inset
19506
19507 .
19508  That means colored tables cannot have dashed lines.
19509 \end_layout
19510
19511 \end_inset
19512
19513
19514 \end_layout
19515
19516 \begin_layout Standard
19517 \begin_inset ERT
19518 status collapsed
19519
19520 \begin_layout Plain Layout
19521
19522
19523 \backslash
19524 else
19525 \end_layout
19526
19527 \end_inset
19528
19529
19530 \begin_inset Note Note
19531 status open
19532
19533 \begin_layout Plain Layout
19534 The following will be displayed when the LaTeX-package 
19535 \series bold
19536 arydshln
19537 \series default
19538  is not installed:
19539 \end_layout
19540
19541 \end_inset
19542
19543
19544 \end_layout
19545
19546 \begin_layout Standard
19547 You need to install the package 
19548 \series bold
19549 arydshln
19550 \series default
19551  to see the content of this section in the output.
19552 \end_layout
19553
19554 \begin_layout Standard
19555 \begin_inset ERT
19556 status collapsed
19557
19558 \begin_layout Plain Layout
19559
19560
19561 \backslash
19562 fi
19563 \end_layout
19564
19565 \end_inset
19566
19567
19568 \end_layout
19569
19570 \begin_layout Chapter
19571 Floats
19572 \begin_inset Index idx
19573 status collapsed
19574
19575 \begin_layout Plain Layout
19576 Floats
19577 \end_layout
19578
19579 \end_inset
19580
19581
19582 \end_layout
19583
19584 \begin_layout Section
19585 Introduction
19586 \begin_inset CommandInset label
19587 LatexCommand label
19588 name "sec:FloatIntroduction"
19589
19590 \end_inset
19591
19592
19593 \begin_inset Index idx
19594 status collapsed
19595
19596 \begin_layout Plain Layout
19597 Floats ! Introduction
19598 \end_layout
19599
19600 \end_inset
19601
19602
19603 \end_layout
19604
19605 \begin_layout Standard
19606 A float is a block of text associated with some sort of label, which doesn't
19607  have a fixed location.
19608  It can 
19609 \begin_inset Quotes eld
19610 \end_inset
19611
19612 float
19613 \begin_inset Quotes erd
19614 \end_inset
19615
19616  forward or backward a page or two, to wherever it fits best.
19617  
19618 \family sans
19619 Footnotes
19620 \family default
19621  and 
19622 \family sans
19623 Margin
19624 \begin_inset space ~
19625 \end_inset
19626
19627 Notes
19628 \family default
19629  are also floats, because they can float to the next page when there are
19630  too many notes on the page.
19631 \end_layout
19632
19633 \begin_layout Standard
19634 Floats allow a high quality layout.
19635  Images and tables can be spread evenly to the pages to avoid white space
19636  and pages without text.
19637  As the floating often destroys the context between the text and the image/table
19638 , every float can be referenced in the text.
19639  Floats are therefore numbered.
19640  Referencing is described in section
19641 \begin_inset space ~
19642 \end_inset
19643
19644
19645 \begin_inset CommandInset ref
19646 LatexCommand ref
19647 reference "sec:Referencing-Floats"
19648
19649 \end_inset
19650
19651 .
19652 \end_layout
19653
19654 \begin_layout Standard
19655 To insert a float, use the menu 
19656 \family sans
19657 Insert\SpecialChar \menuseparator
19658 Float
19659 \family default
19660 .
19661  This inserts the 
19662 \family sans
19663 Caption
19664 \family default
19665  inset, a box with a label.
19666  The label will automatically be translated to the document language in
19667  the output.
19668  After the label you can insert the caption text.
19669  The image or table is inserted above or below the caption in a separate
19670  paragraph within the float.
19671  More about the caption placement is contained in section
19672 \begin_inset space ~
19673 \end_inset
19674
19675
19676 \begin_inset CommandInset ref
19677 LatexCommand ref
19678 reference "sec:Caption-Placement"
19679
19680 \end_inset
19681
19682 .
19683  To keep your LyX-document readable, you can open and close the float box
19684  by left-clicking on the box label.
19685  A closed float box looks like this: 
19686 \begin_inset Graphics
19687         filename clipart/floatQt4.png
19688         scale 70
19689         scaleBeforeRotation
19690
19691 \end_inset
19692
19693  â€“ a gray button with a red label.
19694 \end_layout
19695
19696 \begin_layout Standard
19697 It is recommended that you insert floats as a separate standard paragraph
19698  to avoid possible LaTeX-errors that can occur when the surrounding text
19699  is specially formatted.
19700 \end_layout
19701
19702 \begin_layout Standard
19703 Existing figures or tables can be put into a float by highlighting them
19704  and then pressing the corresponding toolbar button for a new float.
19705 \end_layout
19706
19707 \begin_layout Section
19708 Float Types
19709 \end_layout
19710
19711 \begin_layout Standard
19712 Besides figure and table floats that are described in sections
19713 \begin_inset space ~
19714 \end_inset
19715
19716
19717 \begin_inset CommandInset ref
19718 LatexCommand ref
19719 reference "sec:Figure-Floats"
19720
19721 \end_inset
19722
19723  and 
19724 \begin_inset CommandInset ref
19725 LatexCommand ref
19726 reference "sec:Table-Floats"
19727
19728 \end_inset
19729
19730  respectively, LyX offers the float types 
19731 \series bold
19732 Algorithm
19733 \series default
19734  and 
19735 \series bold
19736 Wrap
19737 \series default
19738 .
19739 \end_layout
19740
19741 \begin_layout Subsection
19742 Algorithm Floats
19743 \begin_inset Index idx
19744 status collapsed
19745
19746 \begin_layout Plain Layout
19747 Floats ! Algorithms
19748 \end_layout
19749
19750 \end_inset
19751
19752
19753 \end_layout
19754
19755 \begin_layout Standard
19756 \begin_inset Float algorithm
19757 placement h
19758 wide false
19759 sideways false
19760 status open
19761
19762 \begin_layout Plain Layout
19763 \begin_inset Caption
19764
19765 \begin_layout Plain Layout
19766 \begin_inset CommandInset label
19767 LatexCommand label
19768 name "alg:Example-Algorithm-float"
19769
19770 \end_inset
19771
19772 Example Algorithm float
19773 \end_layout
19774
19775 \end_inset
19776
19777
19778 \end_layout
19779
19780 \begin_layout LyX-Code
19781 for I in 1..N loop
19782 \begin_inset Newline newline
19783 \end_inset
19784
19785  Sum:= Sum + A(I); /*comment*/
19786 \begin_inset Newline newline
19787 \end_inset
19788
19789 end loop
19790 \begin_inset VSpace -4mm
19791 \end_inset
19792
19793
19794 \end_layout
19795
19796 \end_inset
19797
19798
19799 \end_layout
19800
19801 \begin_layout Standard
19802 This float type is inserted with the menu 
19803 \family sans
19804 Insert\SpecialChar \menuseparator
19805 Floats\SpecialChar \menuseparator
19806 Algorithm
19807 \family default
19808 .
19809  It is used for program codes and descriptions of algorithms and can be
19810  seen as an alternative to program code listings that are explained in chapter
19811 \begin_inset space ~
19812 \end_inset
19813
19814
19815 \begin_inset CommandInset ref
19816 LatexCommand ref
19817 reference "cha:Program-Code-Listings"
19818
19819 \end_inset
19820
19821 .
19822  A possible environment for algorithms is the 
19823 \family sans
19824 LyX-Code
19825 \family default
19826 , described in LyX's 
19827 \emph on
19828 Userguide
19829 \emph default
19830 .
19831  Algorithm
19832 \begin_inset space ~
19833 \end_inset
19834
19835
19836 \begin_inset CommandInset ref
19837 LatexCommand ref
19838 reference "alg:Example-Algorithm-float"
19839
19840 \end_inset
19841
19842  is an example of an algorithm float where -4
19843 \begin_inset space \thinspace{}
19844 \end_inset
19845
19846 mm vertical space was added at the end of the float to have the bottom rule
19847  exactly below the last text line.
19848 \end_layout
19849
19850 \begin_layout Standard
19851 The float label is not automatically translated into the document language.
19852  If your document is not in English, you have to do this manually by adding
19853  the following line to the document preamble
19854 \series bold
19855 :
19856 \end_layout
19857
19858 \begin_layout Standard
19859
19860 \series bold
19861
19862 \backslash
19863 floatname{algorithm}{your
19864 \begin_inset space ~
19865 \end_inset
19866
19867 name}
19868 \end_layout
19869
19870 \begin_layout Standard
19871 where 
19872 \family sans
19873 your
19874 \begin_inset space ~
19875 \end_inset
19876
19877 name
19878 \family default
19879  is the word 
19880 \begin_inset Quotes eld
19881 \end_inset
19882
19883
19884 \emph on
19885 algorithm
19886 \emph default
19887
19888 \begin_inset Quotes erd
19889 \end_inset
19890
19891  in your language.
19892 \end_layout
19893
19894 \begin_layout Standard
19895 To insert the list of algorithms you can use the menu 
19896 \family sans
19897 Insert\SpecialChar \menuseparator
19898 List
19899 \begin_inset space \thinspace{}
19900 \end_inset
19901
19902 /
19903 \begin_inset space \thinspace{}
19904 \end_inset
19905
19906 TOC\SpecialChar \menuseparator
19907 List of Algorithms
19908 \family default
19909  when your document has the same language as LyX's menu names.
19910  In other cases use this command in TeX-Code instead:
19911 \end_layout
19912
19913 \begin_layout Standard
19914
19915 \series bold
19916
19917 \backslash
19918 listof{algorithm}{your
19919 \begin_inset space ~
19920 \end_inset
19921
19922 name}
19923 \end_layout
19924
19925 \begin_layout Standard
19926 where 
19927 \family sans
19928 your
19929 \begin_inset space ~
19930 \end_inset
19931
19932 name
19933 \family default
19934  is the word 
19935 \begin_inset Quotes eld
19936 \end_inset
19937
19938
19939 \emph on
19940 List of Algorithm
19941 \emph default
19942 s
19943 \begin_inset Quotes erd
19944 \end_inset
19945
19946  in your language.
19947 \end_layout
19948
19949 \begin_layout Standard
19950 Algorithm floats are not by default numbered in the scheme 
19951 \begin_inset Quotes eld
19952 \end_inset
19953
19954 chapter.algorithm
19955 \begin_inset Quotes erd
19956 \end_inset
19957
19958  as is the case for table and figure floats in many document-classes.
19959  To number algorithm floats in the same scheme, add this command to your
19960  document preamble:
19961 \end_layout
19962
19963 \begin_layout Standard
19964
19965 \series bold
19966
19967 \backslash
19968 numberwithin{algorithm}{chapter}
19969 \end_layout
19970
19971 \begin_layout Standard
19972 To be able to use the command 
19973 \series bold
19974
19975 \backslash
19976 numberwithin
19977 \series default
19978 , set in the tab 
19979 \family sans
19980 Math
19981 \begin_inset space ~
19982 \end_inset
19983
19984 Options
19985 \family default
19986  in the document settings the option 
19987 \family sans
19988 Use
19989 \begin_inset space ~
19990 \end_inset
19991
19992 AMS
19993 \begin_inset space ~
19994 \end_inset
19995
19996 math
19997 \begin_inset space ~
19998 \end_inset
19999
20000 package
20001 \family default
20002 .
20003 \end_layout
20004
20005 \begin_layout Subsection
20006 Wrap Floats
20007 \begin_inset Index idx
20008 status collapsed
20009
20010 \begin_layout Plain Layout
20011 Floats ! Wrap Floats
20012 \end_layout
20013
20014 \end_inset
20015
20016
20017 \end_layout
20018
20019 \begin_layout Standard
20020 \begin_inset Wrap figure
20021 lines 0
20022 placement l
20023 overhang 1cm
20024 width "40col%"
20025 status open
20026
20027 \begin_layout Plain Layout
20028 \begin_inset Graphics
20029         filename clipart/mobius.eps
20030         width 40col%
20031         scaleBeforeRotation
20032         rotateOrigin center
20033
20034 \end_inset
20035
20036
20037 \end_layout
20038
20039 \begin_layout Plain Layout
20040 \begin_inset Caption
20041
20042 \begin_layout Plain Layout
20043 \begin_inset CommandInset label
20044 LatexCommand label
20045 name "fig:This-is-a"
20046
20047 \end_inset
20048
20049 This is a figure wrap float.
20050 \end_layout
20051
20052 \end_inset
20053
20054
20055 \end_layout
20056
20057 \end_inset
20058
20059  This float type is used if you want to wrap text around a figure or table
20060  so that it only occupies some fraction of the column width.
20061  It can be inserted using the menu 
20062 \family sans
20063 Insert\SpecialChar \menuseparator
20064 Floats\SpecialChar \menuseparator
20065 Figure
20066 \begin_inset space ~
20067 \end_inset
20068
20069 Wrap
20070 \begin_inset space ~
20071 \end_inset
20072
20073 Float
20074 \family default
20075  or 
20076 \family sans
20077 Table
20078 \begin_inset space ~
20079 \end_inset
20080
20081 Wrap
20082 \begin_inset space ~
20083 \end_inset
20084
20085 Float
20086 \family default
20087  if the LaTeX-package 
20088 \series bold
20089 wrapfig
20090 \series default
20091
20092 \begin_inset Index idx
20093 status collapsed
20094
20095 \begin_layout Plain Layout
20096 LaTeX-packages ! wrapfig
20097 \begin_inset ERT
20098 status collapsed
20099
20100 \begin_layout Plain Layout
20101
20102
20103 \backslash
20104 vspace{4mm}
20105 \end_layout
20106
20107 \end_inset
20108
20109
20110 \end_layout
20111
20112 \end_inset
20113
20114  is installed.
20115 \begin_inset Foot
20116 status collapsed
20117
20118 \begin_layout Plain Layout
20119 Installing a LaTeX-package is explained it in the 
20120 \emph on
20121 LaTeX
20122 \begin_inset space ~
20123 \end_inset
20124
20125 Configuration
20126 \emph default
20127  manual.
20128 \end_layout
20129
20130 \end_inset
20131
20132  The settings of the float can be modified by right-clicking on the float
20133  box.
20134  The mandatory settings are the float 
20135 \family sans
20136 Placement
20137 \family default
20138  and its 
20139 \family sans
20140 Width
20141 \family default
20142 .
20143  Optional are the 
20144 \family sans
20145 Overhang
20146 \family default
20147  that specifies how much the float is set into the paragraph
20148 \begin_inset space \thinspace{}
20149 \end_inset
20150
20151 /
20152 \begin_inset space \thinspace{}
20153 \end_inset
20154
20155 page margin, and the 
20156 \family sans
20157 Line
20158 \begin_inset space ~
20159 \end_inset
20160
20161 span
20162 \family default
20163  that specifies how many text lines the float will approximately need.
20164  The line span is often hard to approximate; so it is better only to use
20165  it when you encounter float placement problems.
20166  You can furthermore decide if LaTeX is allowed to let the float float within
20167  the paragraph or to surrounding paragraphs.
20168  Figure
20169 \begin_inset space ~
20170 \end_inset
20171
20172
20173 \begin_inset CommandInset ref
20174 LatexCommand ref
20175 reference "fig:This-is-a"
20176
20177 \end_inset
20178
20179  is an example text wrap float with a width of 40
20180 \begin_inset space \thinspace{}
20181 \end_inset
20182
20183 col%, 1
20184 \begin_inset space \thinspace{}
20185 \end_inset
20186
20187 cm overhang, set to the left.
20188 \begin_inset Foot
20189 status collapsed
20190
20191 \begin_layout Plain Layout
20192 Available units are explained in appendix
20193 \begin_inset space ~
20194 \end_inset
20195
20196
20197 \begin_inset CommandInset ref
20198 LatexCommand ref
20199 reference "cha:Units-available-in"
20200
20201 \end_inset
20202
20203 .
20204 \end_layout
20205
20206 \end_inset
20207
20208
20209 \end_layout
20210
20211 \begin_layout Standard
20212 \begin_inset Note Greyedout
20213 status open
20214
20215 \begin_layout Plain Layout
20216
20217 \series bold
20218 Note:
20219 \series default
20220  Text
20221 \begin_inset space ~
20222 \end_inset
20223
20224 wrap float floats are fragile! E.
20225 \begin_inset space \thinspace{}
20226 \end_inset
20227
20228 g.
20229 \begin_inset space \space{}
20230 \end_inset
20231
20232 having a figure too close to the bottom of the page can mess things up in
20233  such a way that the float does not appear in the output or that it is placed
20234  over some other text.
20235 \end_layout
20236
20237 \end_inset
20238
20239
20240 \end_layout
20241
20242 \begin_layout Standard
20243 In general:
20244 \end_layout
20245
20246 \begin_layout Itemize
20247 Wrap floats should not be placed in paragraphs that run over a page break.
20248  That means that wrap floats are better inserted in their exact place when
20249  the document is almost finished and you are able to estimate where page
20250  breaks will appear.
20251 \end_layout
20252
20253 \begin_layout Itemize
20254 Wrap floats should either be placed in their own paragraph before the paragraph
20255  where they should wrap into or within a paragraph.
20256 \end_layout
20257
20258 \begin_layout Itemize
20259 Wrap floats in consecutive paragraphs may cause troubles, so ensure that
20260  there is a text paragraph between them as separator.
20261 \end_layout
20262
20263 \begin_layout Itemize
20264 Wrap floats are not allowed in section headings or tables.
20265 \end_layout
20266
20267 \begin_layout Section
20268 Float Numbering
20269 \begin_inset Index idx
20270 status collapsed
20271
20272 \begin_layout Plain Layout
20273 Floats ! Numbering
20274 \end_layout
20275
20276 \end_inset
20277
20278
20279 \end_layout
20280
20281 \begin_layout Standard
20282 Floats are usually numbered either independently from the sections the floats
20283  are in, or in the scheme 
20284 \begin_inset Quotes eld
20285 \end_inset
20286
20287 chapter.number
20288 \begin_inset Quotes erd
20289 \end_inset
20290
20291  or 
20292 \begin_inset Quotes eld
20293 \end_inset
20294
20295 section.number
20296 \begin_inset Quotes erd
20297 \end_inset
20298
20299 .
20300  This depends on the document class used.
20301 \end_layout
20302
20303 \begin_layout Standard
20304 To change section-independent numbering, you can use this command in the
20305  document preamble:
20306 \end_layout
20307
20308 \begin_layout Standard
20309
20310 \series bold
20311
20312 \backslash
20313 renewcommand{
20314 \backslash
20315 thetable}{
20316 \backslash
20317 roman{table}}
20318 \end_layout
20319
20320 \begin_layout Standard
20321
20322 \series bold
20323
20324 \backslash
20325 thetable
20326 \series default
20327  is the command that prints the table number, for figure floats, the command
20328  would be 
20329 \series bold
20330
20331 \backslash
20332 thefigure
20333 \series default
20334 .
20335  
20336 \series bold
20337
20338 \backslash
20339 roman
20340 \series default
20341  in the command above prints the table number as small roman number.
20342 \end_layout
20343
20344 \begin_layout Standard
20345 To change the numbering scheme for example to 
20346 \begin_inset Quotes eld
20347 \end_inset
20348
20349 subsection.number
20350 \begin_inset Quotes erd
20351 \end_inset
20352
20353 , use this command in the preamble:
20354 \end_layout
20355
20356 \begin_layout Standard
20357
20358 \series bold
20359
20360 \backslash
20361 numberwithin{table}{subsection}
20362 \end_layout
20363
20364 \begin_layout Standard
20365 To be able to use the command 
20366 \series bold
20367
20368 \backslash
20369 numberwithin
20370 \series default
20371 , set in the tab 
20372 \family sans
20373 Math
20374 \begin_inset space ~
20375 \end_inset
20376
20377 Options
20378 \family default
20379  in the document settings the option 
20380 \family sans
20381 Use
20382 \begin_inset space ~
20383 \end_inset
20384
20385 AMS
20386 \begin_inset space ~
20387 \end_inset
20388
20389 math
20390 \begin_inset space ~
20391 \end_inset
20392
20393 package
20394 \family default
20395 .
20396 \end_layout
20397
20398 \begin_layout Standard
20399 Please also have a look at section
20400 \begin_inset space ~
20401 \end_inset
20402
20403
20404 \begin_inset CommandInset ref
20405 LatexCommand ref
20406 reference "sub:Footnote-Numbering"
20407
20408 \end_inset
20409
20410  for the details and important notes about the numbering commands.
20411 \end_layout
20412
20413 \begin_layout Section
20414 Referencing Floats
20415 \begin_inset CommandInset label
20416 LatexCommand label
20417 name "sec:Referencing-Floats"
20418
20419 \end_inset
20420
20421
20422 \begin_inset Index idx
20423 status collapsed
20424
20425 \begin_layout Plain Layout
20426 Floats ! References
20427 \end_layout
20428
20429 \end_inset
20430
20431
20432 \begin_inset Index idx
20433 status collapsed
20434
20435 \begin_layout Plain Layout
20436 References ! to Floats
20437 \end_layout
20438
20439 \end_inset
20440
20441
20442 \end_layout
20443
20444 \begin_layout Standard
20445 To reference a float, insert a label into its caption using the menu 
20446 \family sans
20447 Insert\SpecialChar \menuseparator
20448 Label
20449 \family default
20450  or the toolbar button 
20451 \begin_inset Graphics
20452         filename ../images/label-insert.png
20453         scale 85
20454         scaleBeforeRotation
20455
20456 \end_inset
20457
20458 .
20459  A grey label box like this one: 
20460 \begin_inset Graphics
20461         filename clipart/labelQt4.png
20462         scale 85
20463         scaleBeforeRotation
20464
20465 \end_inset
20466
20467  will be inserted and the label window pops up asking for the label text.
20468  LyX offers as text the first words of the caption with a prefix.
20469  The prefix depends on the float type, e.
20470 \begin_inset space \thinspace{}
20471 \end_inset
20472
20473 g.
20474 \begin_inset space \space{}
20475 \end_inset
20476
20477 for figure floats the prefix will be "
20478 \family sans
20479 fig:
20480 \family default
20481 ".
20482 \end_layout
20483
20484 \begin_layout Standard
20485 The label is used as anchor and name for the reference.
20486  You can refer to the label using the menu 
20487 \family sans
20488 Insert\SpecialChar \menuseparator
20489 Cross-reference
20490 \family default
20491  or the toolbar button 
20492 \begin_inset Graphics
20493         filename ../images/dialog-show-new-inset_ref.png
20494         scale 85
20495         scaleBeforeRotation
20496
20497 \end_inset
20498
20499 .
20500  A grey cross-reference box like this one: 
20501 \begin_inset Graphics
20502         filename clipart/referenceQt4.png
20503         scale 85
20504         scaleBeforeRotation
20505
20506 \end_inset
20507
20508  will be inserted and the cross-reference window appear showing all labels
20509  of the document.
20510  If you have multiple LyX-documents opened, choose the one you are working
20511  on from the drop-list at the top of the dialog.
20512  You can now sort the labels alphabetically and then choose one.
20513  At the position of the cross-reference box the float number will appear
20514  in the output.
20515 \end_layout
20516
20517 \begin_layout Standard
20518 It is recommended that you use a protected space between the cross-reference
20519  name and its number to avoid line breaks between them.
20520  If a cross-reference refers to a non-existing label, you will see two question
20521  marks in the output instead of the reference.
20522 \end_layout
20523
20524 \begin_layout Standard
20525 You can change labels at any time by clicking on the label box.
20526  References to the changed label will automatically change its link to the
20527  new label text, so that you don't need to take care about this.
20528 \end_layout
20529
20530 \begin_layout Standard
20531 The button 
20532 \family sans
20533 Go
20534 \begin_inset space ~
20535 \end_inset
20536
20537 to
20538 \begin_inset space ~
20539 \end_inset
20540
20541 Label
20542 \family default
20543  in the cross-reference window sets the cursor before the referred label.
20544  The button text changes then to Go
20545 \begin_inset space ~
20546 \end_inset
20547
20548 Back and you can use it to set the cursor back to the cross-reference.
20549  Right-clicking on a cross-reference box also sets the cursor before the
20550  referenced label but without the possibility of going back.
20551 \end_layout
20552
20553 \begin_layout Subsection
20554 Cross-Reference Formats
20555 \begin_inset CommandInset label
20556 LatexCommand label
20557 name "sub:Cross-Reference-Formats"
20558
20559 \end_inset
20560
20561
20562 \begin_inset Index idx
20563 status collapsed
20564
20565 \begin_layout Plain Layout
20566 References ! Formats
20567 \end_layout
20568
20569 \end_inset
20570
20571
20572 \end_layout
20573
20574 \begin_layout Standard
20575 There are six varieties of cross-references:
20576 \end_layout
20577
20578 \begin_layout Description
20579 <reference>: prints the float number, this is the default: 
20580 \begin_inset CommandInset ref
20581 LatexCommand ref
20582 reference "fig:Two-distorted-images"
20583
20584 \end_inset
20585
20586
20587 \end_layout
20588
20589 \begin_layout Description
20590 (<reference>): prints the float number within two parentheses, this is the
20591  style normally used to reference formulas, especially when the reference
20592  name 
20593 \begin_inset Quotes eld
20594 \end_inset
20595
20596 Equation
20597 \begin_inset Quotes erd
20598 \end_inset
20599
20600  is omitted: 
20601 \begin_inset CommandInset ref
20602 LatexCommand eqref
20603 reference "eq:Wgn"
20604
20605 \end_inset
20606
20607
20608 \end_layout
20609
20610 \begin_layout Description
20611 <page>: prints the page number: Page
20612 \begin_inset space ~
20613 \end_inset
20614
20615
20616 \begin_inset CommandInset ref
20617 LatexCommand pageref
20618 reference "fig:Two-distorted-images"
20619
20620 \end_inset
20621
20622
20623 \end_layout
20624
20625 \begin_layout Description
20626 on
20627 \begin_inset space ~
20628 \end_inset
20629
20630 page
20631 \begin_inset space ~
20632 \end_inset
20633
20634 <page>: prints the text "on page" and the page number: 
20635 \begin_inset CommandInset ref
20636 LatexCommand vpageref
20637 reference "fig:Two-distorted-images"
20638
20639 \end_inset
20640
20641
20642 \end_layout
20643
20644 \begin_layout Description
20645 <reference>
20646 \begin_inset space ~
20647 \end_inset
20648
20649 on
20650 \begin_inset space ~
20651 \end_inset
20652
20653 page
20654 \begin_inset space ~
20655 \end_inset
20656
20657 <page>: prints the float number, the text "on page", and the page number:
20658  
20659 \begin_inset CommandInset ref
20660 LatexCommand vref
20661 reference "fig:Two-distorted-images"
20662
20663 \end_inset
20664
20665
20666 \end_layout
20667
20668 \begin_layout Description
20669 Formatted
20670 \begin_inset space ~
20671 \end_inset
20672
20673 reference: prints a self-defined cross-reference format.
20674 \begin_inset Newline newline
20675 \end_inset
20676
20677
20678 \begin_inset Note Greyedout
20679 status open
20680
20681 \begin_layout Plain Layout
20682
20683 \series bold
20684 Note:
20685 \series default
20686  This feature is only available when you have the LaTeX-package 
20687 \series bold
20688 prettyref
20689 \series default
20690  or 
20691 \series bold
20692 refstyle
20693 \series default
20694
20695 \begin_inset Index idx
20696 status collapsed
20697
20698 \begin_layout Plain Layout
20699 LaTeX-packages ! prettyref
20700 \end_layout
20701
20702 \end_inset
20703
20704
20705 \begin_inset Index idx
20706 status collapsed
20707
20708 \begin_layout Plain Layout
20709 LaTeX-packages ! refstyle
20710 \end_layout
20711
20712 \end_inset
20713
20714  installed.
20715 \end_layout
20716
20717 \end_inset
20718
20719
20720 \begin_inset Newline newline
20721 \end_inset
20722
20723 You can select which LaTeX-package should be used for this feature by setting
20724  the option 
20725 \family sans
20726 Use refstyle (not prettyref) for cross-references
20727 \family default
20728  in the menu 
20729 \family sans
20730 Document\SpecialChar \menuseparator
20731 Settings\SpecialChar \menuseparator
20732 Document Class
20733 \family default
20734 .
20735  The format is specified by adding the command 
20736 \series bold
20737
20738 \backslash
20739 newrefformat
20740 \series default
20741  (prettyref) or 
20742 \series bold
20743
20744 \backslash
20745 newref
20746 \series default
20747  (refstyle) to the preamble of the document.
20748  For example redefining all references to figures (which have the label
20749  shortcut 
20750 \begin_inset Quotes eld
20751 \end_inset
20752
20753
20754 \family sans
20755 fig
20756 \family default
20757
20758 \begin_inset Quotes erd
20759 \end_inset
20760
20761 ) can be done with this command
20762 \begin_inset Newline newline
20763 \end_inset
20764
20765
20766 \series bold
20767
20768 \backslash
20769 newref{fig}{refcmd={Image on page 
20770 \backslash
20771 pageref{#1}}}
20772 \series default
20773
20774 \begin_inset Newline newline
20775 \end_inset
20776
20777 For more information about the format, have a look at the package documentations
20778
20779 \begin_inset CommandInset citation
20780 LatexCommand cite
20781 key "prettyref,refstyle"
20782
20783 \end_inset
20784
20785 .
20786 \end_layout
20787
20788 \begin_layout Description
20789 Textual
20790 \begin_inset space ~
20791 \end_inset
20792
20793 reference: prints the caption of the reference: 
20794 \begin_inset CommandInset ref
20795 LatexCommand nameref
20796 reference "fig:Two-distorted-images"
20797
20798 \end_inset
20799
20800
20801 \end_layout
20802
20803 \begin_layout Standard
20804
20805 \family sans
20806 <page>
20807 \family default
20808  will not print the page number if the label is on the previous, the same,
20809  or the next page.
20810  You will e.
20811 \begin_inset space \thinspace{}
20812 \end_inset
20813
20814 g.
20815 \begin_inset space \space{}
20816 \end_inset
20817
20818 see the text 
20819 \begin_inset Quotes eld
20820 \end_inset
20821
20822
20823 \family sans
20824 on this page
20825 \family default
20826
20827 \begin_inset Quotes erd
20828 \end_inset
20829
20830  instead.
20831  The style 
20832 \family sans
20833 <reference> on page <page>
20834 \family default
20835  will not print anything about the page if the label is on the same page.
20836 \end_layout
20837
20838 \begin_layout Standard
20839 The number and current page of the part of the document referred to in the
20840  output is automatically calculated by LaTeX.
20841  The varieties are adjusted in the field 
20842 \family sans
20843 Format
20844 \family default
20845  of the cross-reference window that appears when you click on the cross-referenc
20846 e box.
20847 \end_layout
20848
20849 \begin_layout Standard
20850 \begin_inset Note Greyedout
20851 status open
20852
20853 \begin_layout Plain Layout
20854
20855 \series bold
20856 Note:
20857 \series default
20858  It is recommended to use the LaTeX-package 
20859 \series bold
20860 refstyle
20861 \series default
20862
20863 \begin_inset Index idx
20864 status collapsed
20865
20866 \begin_layout Plain Layout
20867 LaTeX-packages ! refstyle
20868 \end_layout
20869
20870 \end_inset
20871
20872  because 
20873 \series bold
20874 prettyref
20875 \series default
20876
20877 \begin_inset Index idx
20878 status collapsed
20879
20880 \begin_layout Plain Layout
20881 LaTeX-packages ! prettyref
20882 \end_layout
20883
20884 \end_inset
20885
20886  does not know all of LyX's possible label shortcuts
20887 \begin_inset Foot
20888 status collapsed
20889
20890 \begin_layout Plain Layout
20891 \begin_inset Quotes eld
20892 \end_inset
20893
20894 fig:
20895 \begin_inset Quotes erd
20896 \end_inset
20897
20898  is for example LyX's shortcut for labels in figure captions.
20899 \end_layout
20900
20901 \end_inset
20902
20903  and is not internationalized.
20904 \end_layout
20905
20906 \end_inset
20907
20908
20909 \end_layout
20910
20911 \begin_layout Standard
20912 \begin_inset Note Greyedout
20913 status open
20914
20915 \begin_layout Plain Layout
20916
20917 \series bold
20918 Note:
20919 \series default
20920  Due to a bug in the LaTeX-package 
20921 \series bold
20922 varioref
20923 \series default
20924  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20925  languages that make the period character active (like French).
20926  For a workaround, see
20927 \begin_inset Newline newline
20928 \end_inset
20929
20930
20931 \begin_inset CommandInset href
20932 LatexCommand href
20933 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20934
20935 \end_inset
20936
20937 .
20938 \end_layout
20939
20940 \end_inset
20941
20942
20943 \end_layout
20944
20945 \begin_layout Subsection
20946 Automatic Reference Naming
20947 \begin_inset Index idx
20948 status collapsed
20949
20950 \begin_layout Plain Layout
20951 References ! Automatic Reference Naming
20952 \end_layout
20953
20954 \end_inset
20955
20956
20957 \end_layout
20958
20959 \begin_layout Standard
20960 The LaTeX-package 
20961 \series bold
20962 hyperref
20963 \series default
20964
20965 \begin_inset Index idx
20966 status collapsed
20967
20968 \begin_layout Plain Layout
20969 LaTeX-packages ! hyperref
20970 \end_layout
20971
20972 \end_inset
20973
20974 , that is enabled in the 
20975 \family sans
20976 PDF Properties
20977 \family default
20978  of the 
20979 \family sans
20980 Document Settings
20981 \family default
20982  dialog, provides a very useful feature that cross-references automatically
20983  include the name of the referenced floats (or text parts like 
20984 \emph on
20985 section
20986 \emph default
20987 ).
20988  So you will save having to write e.
20989 \begin_inset space \thinspace{}
20990 \end_inset
20991
20992 g.
20993 \begin_inset space \space{}
20994 \end_inset
20995
20996 the name 
20997 \begin_inset Quotes eld
20998 \end_inset
20999
21000 Figure
21001 \begin_inset Quotes erd
21002 \end_inset
21003
21004  before every reference to a figure.
21005  To use this feature, enable 
21006 \series bold
21007 hyperref
21008 \series default
21009  and insert this line to the LaTeX preamble:
21010 \end_layout
21011
21012 \begin_layout Standard
21013
21014 \series bold
21015
21016 \backslash
21017 AtBeginDocument{
21018 \backslash
21019 renewcommand{
21020 \backslash
21021 ref}[1]{
21022 \backslash
21023 mbox{
21024 \backslash
21025 autoref{#1}}}}
21026 \end_layout
21027
21028 \begin_layout Standard
21029 When you prefer other reference names than the default ones, for example
21030  you want instead of 
21031 \begin_inset Quotes eld
21032 \end_inset
21033
21034 section
21035 \begin_inset Quotes erd
21036 \end_inset
21037
21038  the name 
21039 \begin_inset Quotes eld
21040 \end_inset
21041
21042 sec.
21043 \begin_inset space \thinspace{}
21044 \end_inset
21045
21046
21047 \begin_inset Quotes eld
21048 \end_inset
21049
21050 , you can redefine the name by inserting this in the preamble:
21051 \end_layout
21052
21053 \begin_layout Standard
21054
21055 \series bold
21056
21057 \backslash
21058 addto
21059 \backslash
21060 extrasenglish{
21061 \backslash
21062 renewcommand{
21063 \backslash
21064 sectionautorefname}
21065 \begin_inset Newline newline
21066 \end_inset
21067
21068
21069 \begin_inset Phantom HPhantom
21070 status open
21071
21072 \begin_layout Plain Layout
21073
21074 \series bold
21075 \begin_inset space ~
21076 \end_inset
21077
21078
21079 \end_layout
21080
21081 \end_inset
21082
21083 {sec.
21084 \backslash
21085 negthinspace}}
21086 \end_layout
21087
21088 \begin_layout Standard
21089 When you are using another document language than English, replace
21090 \begin_inset Newline newline
21091 \end_inset
21092
21093
21094 \series bold
21095
21096 \backslash
21097 extrasenglish
21098 \series default
21099  by 
21100 \series bold
21101
21102 \backslash
21103 extras***
21104 \series default
21105 , where *** is the name of the language used.
21106 \end_layout
21107
21108 \begin_layout Standard
21109 To get automatic names, but not for certain reference types, for example
21110  not for equations, use this preamble code:
21111 \end_layout
21112
21113 \begin_layout Standard
21114
21115 \series bold
21116
21117 \backslash
21118 newlength{
21119 \backslash
21120 abc}
21121 \begin_inset Newline newline
21122 \end_inset
21123
21124
21125 \backslash
21126 settowidth{
21127 \backslash
21128 abc}{
21129 \backslash
21130 space}
21131 \begin_inset Newline newline
21132 \end_inset
21133
21134
21135 \backslash
21136 addto
21137 \backslash
21138 extrasenglish{
21139 \backslash
21140 renewcommand{
21141 \backslash
21142 equationautorefname}
21143 \begin_inset Newline newline
21144 \end_inset
21145
21146
21147 \begin_inset Phantom HPhantom
21148 status open
21149
21150 \begin_layout Plain Layout
21151
21152 \series bold
21153 \begin_inset space ~
21154 \end_inset
21155
21156
21157 \end_layout
21158
21159 \end_inset
21160
21161 {
21162 \backslash
21163 hspace{-
21164 \backslash
21165 abc}}
21166 \end_layout
21167
21168 \begin_layout Standard
21169 More about this topic can be found in 
21170 \series bold
21171 hyperref
21172 \series default
21173 's documentation 
21174 \begin_inset CommandInset citation
21175 LatexCommand cite
21176 key "hyperref"
21177
21178 \end_inset
21179
21180 .
21181 \end_layout
21182
21183 \begin_layout Standard
21184 \begin_inset Note Greyedout
21185 status open
21186
21187 \begin_layout Plain Layout
21188
21189 \series bold
21190 Note:
21191 \series default
21192  Automatic reference naming cannot be used when you use cross-references
21193  in the 
21194 \family sans
21195 Formatted
21196 \begin_inset space ~
21197 \end_inset
21198
21199 reference
21200 \family default
21201  style, as described in section
21202 \begin_inset space ~
21203 \end_inset
21204
21205
21206 \begin_inset CommandInset ref
21207 LatexCommand ref
21208 reference "sub:Cross-Reference-Formats"
21209
21210 \end_inset
21211
21212 .
21213 \end_layout
21214
21215 \end_inset
21216
21217
21218 \end_layout
21219
21220 \begin_layout Standard
21221 The 
21222 \emph on
21223 Math
21224 \emph default
21225  manual is an example where automatic reference naming is used.
21226 \end_layout
21227
21228 \begin_layout Subsection
21229 Reference Position
21230 \begin_inset CommandInset label
21231 LatexCommand label
21232 name "sub:Reference-Position"
21233
21234 \end_inset
21235
21236
21237 \begin_inset Index idx
21238 status collapsed
21239
21240 \begin_layout Plain Layout
21241 References ! Reference Position
21242 \end_layout
21243
21244 \end_inset
21245
21246
21247 \end_layout
21248
21249 \begin_layout Standard
21250 If you use 
21251 \series bold
21252 hyperref
21253 \series default
21254
21255 \begin_inset Index idx
21256 status collapsed
21257
21258 \begin_layout Plain Layout
21259 LaTeX-packages ! hyperref
21260 \end_layout
21261
21262 \end_inset
21263
21264  in the 
21265 \family sans
21266 PDF Properties
21267 \family default
21268  of the 
21269 \family sans
21270 Document Settings
21271 \family default
21272  dialog to link cross-references in the output, you will see that clicking
21273  on an image float reference jumps to the image label.
21274  The caption will be the first text part on the screen, so that you cannot
21275  see the image without scrolling.
21276  This is because the reference link anchor is placed at the position of
21277  the label.
21278  With the use of the package 
21279 \series bold
21280 hypcap
21281 \series default
21282
21283 \begin_inset Index idx
21284 status collapsed
21285
21286 \begin_layout Plain Layout
21287 LaTeX-packages ! hypcap
21288 \end_layout
21289
21290 \end_inset
21291
21292 , which is part of the LaTeX-package 
21293 \series bold
21294 oberdiek
21295 \series default
21296
21297 \begin_inset Index idx
21298 status collapsed
21299
21300 \begin_layout Plain Layout
21301 LaTeX-packages ! oberdiek
21302 \end_layout
21303
21304 \end_inset
21305
21306 , the link anchor is placed at the beginning of a float.
21307  To use this feature for figure floats, load 
21308 \series bold
21309 hypcap
21310 \series default
21311  in the document preamble with the line
21312 \end_layout
21313
21314 \begin_layout Standard
21315
21316 \series bold
21317
21318 \backslash
21319 usepackage[figure]{hypcap}
21320 \end_layout
21321
21322 \begin_layout Standard
21323 You can also use 
21324 \series bold
21325 hypcap
21326 \series default
21327  for all float types but this is not recommended for stability reasons.
21328  For more information, have a look at 
21329 \series bold
21330 hypcap
21331 \series default
21332 's manual 
21333 \begin_inset CommandInset citation
21334 LatexCommand cite
21335 key "hypcap"
21336
21337 \end_inset
21338
21339 .
21340 \end_layout
21341
21342 \begin_layout Standard
21343 \begin_inset Note Greyedout
21344 status open
21345
21346 \begin_layout Plain Layout
21347
21348 \series bold
21349 Note:
21350 \series default
21351  
21352 \series bold
21353 hypcap
21354 \series default
21355  has no effect on references to subfigures.
21356 \end_layout
21357
21358 \end_inset
21359
21360
21361 \end_layout
21362
21363 \begin_layout Section
21364 Float Placement
21365 \begin_inset CommandInset label
21366 LatexCommand label
21367 name "sec:Float-Placement"
21368
21369 \end_inset
21370
21371
21372 \begin_inset Index idx
21373 status collapsed
21374
21375 \begin_layout Plain Layout
21376 Floats ! Placement
21377 \end_layout
21378
21379 \end_inset
21380
21381
21382 \end_layout
21383
21384 \begin_layout Standard
21385 Right-clicking on a float-box opens a dialog where you can alter the placement
21386  options that LaTeX uses for positioning the float.
21387 \begin_inset Newline newline
21388 \end_inset
21389
21390 The option 
21391 \family sans
21392 Span
21393 \begin_inset space ~
21394 \end_inset
21395
21396 columns
21397 \family default
21398  is only useful for two-column documents: If you select it, the float will
21399  span both columns on the page instead of being confined to just one.
21400 \begin_inset Newline newline
21401 \end_inset
21402
21403 The option 
21404 \family sans
21405 Rotate
21406 \begin_inset space ~
21407 \end_inset
21408
21409 sideways
21410 \family default
21411  is used to rotate floats, see section 
21412 \begin_inset CommandInset ref
21413 LatexCommand ref
21414 reference "sec:Rotated-Floats"
21415
21416 \end_inset
21417
21418 .
21419 \end_layout
21420
21421 \begin_layout Standard
21422 You can use one ore more of the following options in the float dialog to
21423  set the placement for a particular float when you uncheck the option 
21424 \family sans
21425 Use
21426 \begin_inset space ~
21427 \end_inset
21428
21429 default
21430 \begin_inset space ~
21431 \end_inset
21432
21433 placement
21434 \family default
21435 :
21436 \end_layout
21437
21438 \begin_layout Description
21439 Here
21440 \begin_inset space ~
21441 \end_inset
21442
21443 if
21444 \begin_inset space ~
21445 \end_inset
21446
21447 possible try to place the float on the position where it has been inserted
21448 \end_layout
21449
21450 \begin_layout Description
21451 Top
21452 \begin_inset space ~
21453 \end_inset
21454
21455 of
21456 \begin_inset space ~
21457 \end_inset
21458
21459 page try to place the float at the top of the current page
21460 \end_layout
21461
21462 \begin_layout Description
21463 Bottom
21464 \begin_inset space ~
21465 \end_inset
21466
21467 of
21468 \begin_inset space ~
21469 \end_inset
21470
21471 page try to place the float at the bottom of the current page
21472 \end_layout
21473
21474 \begin_layout Description
21475 Page
21476 \begin_inset space ~
21477 \end_inset
21478
21479 of
21480 \begin_inset space ~
21481 \end_inset
21482
21483 floats try to place the float on its own page 
21484 \end_layout
21485
21486 \begin_layout Standard
21487 The order of the above option is 
21488 \emph on
21489 always
21490 \emph default
21491  used by LaTeX.
21492  That means, if you use the default placement, LaTeX will first try out
21493  
21494 \family sans
21495 Here
21496 \begin_inset space ~
21497 \end_inset
21498
21499 if
21500 \begin_inset space ~
21501 \end_inset
21502
21503 possible
21504 \family default
21505 , then 
21506 \family sans
21507 Top
21508 \begin_inset space ~
21509 \end_inset
21510
21511 of
21512 \begin_inset space ~
21513 \end_inset
21514
21515 page
21516 \family default
21517 , and then the others.
21518  If you do not use the default, LaTeX will try only the checked options
21519  but in the same order.
21520  If none of the 4
21521 \begin_inset space ~
21522 \end_inset
21523
21524 placements are possible the procedure is internally repeated but it is tried
21525  to put the float on the following page.
21526 \end_layout
21527
21528 \begin_layout Standard
21529 By default, each option has its own rules:
21530 \end_layout
21531
21532 \begin_layout Labeling
21533 \labelwidthstring 00.00.0000
21534
21535 \family sans
21536 Top
21537 \begin_inset space ~
21538 \end_inset
21539
21540 of
21541 \begin_inset space ~
21542 \end_inset
21543
21544 page
21545 \family default
21546  only floats occupying less than 70
21547 \begin_inset space \thinspace{}
21548 \end_inset
21549
21550 % of the page can be placed at the top of a page (
21551 \series bold
21552
21553 \backslash
21554 topfraction
21555 \series default
21556 )
21557 \end_layout
21558
21559 \begin_layout Labeling
21560 \labelwidthstring 00.00.0000
21561
21562 \family sans
21563 Bottom
21564 \begin_inset space ~
21565 \end_inset
21566
21567 of
21568 \begin_inset space ~
21569 \end_inset
21570
21571 page
21572 \family default
21573 : only floats occupying less than 30
21574 \begin_inset space \thinspace{}
21575 \end_inset
21576
21577 % of the page can be placed at the bottom of a page.
21578  (
21579 \series bold
21580
21581 \backslash
21582 bottomfraction
21583 \series default
21584 )
21585 \end_layout
21586
21587 \begin_layout Labeling
21588 \labelwidthstring 00.00.0000
21589
21590 \family sans
21591 Page
21592 \begin_inset space ~
21593 \end_inset
21594
21595 of
21596 \begin_inset space ~
21597 \end_inset
21598
21599 floats
21600 \family default
21601 : only if more than 50
21602 \begin_inset space \thinspace{}
21603 \end_inset
21604
21605 % of the page are occupied by floats, several floats can be set together
21606  on a page.
21607  (
21608 \series bold
21609
21610 \backslash
21611 floatpagefraction
21612 \series default
21613 )
21614 \end_layout
21615
21616 \begin_layout Standard
21617 If you don't like these rules, you can ignore them by using the additional
21618  option 
21619 \family sans
21620 Ignore
21621 \begin_inset space ~
21622 \end_inset
21623
21624 LaTeX
21625 \begin_inset space ~
21626 \end_inset
21627
21628 rules
21629 \family default
21630 .
21631 \begin_inset Newline newline
21632 \end_inset
21633
21634 You can also redefine the rules with LaTeX-commands that are given in parenthese
21635 s after the rules description above.
21636  To increase for example the often too small default of the bottom-rule
21637  to 50
21638 \begin_inset space \thinspace{}
21639 \end_inset
21640
21641 % of the page, add this line to your document preamble:
21642 \end_layout
21643
21644 \begin_layout Standard
21645
21646 \series bold
21647
21648 \backslash
21649 renewcommand{
21650 \backslash
21651 bottomfraction}{0.5}
21652 \end_layout
21653
21654 \begin_layout Standard
21655 Sometimes you might need, under all circumstances, a float to be placed
21656  exactly at the position where it is inserted.
21657  For this case you can use the option 
21658 \family sans
21659 Here
21660 \begin_inset space ~
21661 \end_inset
21662
21663 definitely
21664 \family default
21665 .
21666  Use this option very rarely and only if the document is almost ready to
21667  be printed, because the float is then no longer able to 
21668 \begin_inset Quotes eld
21669 \end_inset
21670
21671 float
21672 \begin_inset Quotes erd
21673 \end_inset
21674
21675  when you change your document and this will often destroy the page layout.
21676 \end_layout
21677
21678 \begin_layout Standard
21679 There are no placement options for text wrap floats, because they are always
21680  surrounded by the text of a certain paragraph.
21681 \begin_inset VSpace bigskip
21682 \end_inset
21683
21684
21685 \end_layout
21686
21687 \begin_layout Standard
21688 Sometimes you have the problem that a float is placed at the top of a page
21689  while its corresponding section starts at the middle of the page, so that
21690  the reader could think the float is part of the previous section.
21691  To avoid this the LaTeX-command 
21692 \series bold
21693
21694 \backslash
21695 suppressfloats
21696 \series default
21697  can be used.
21698  It suppresses a given float placement for the page where it is inserted
21699  and can therefore be used to avoid floats being set before a section starts.
21700  To get this, add these commands to your document preamble:
21701 \end_layout
21702
21703 \begin_layout Standard
21704
21705 \series bold
21706
21707 \backslash
21708 let
21709 \backslash
21710 mySection
21711 \backslash
21712 section
21713 \begin_inset Newline newline
21714 \end_inset
21715
21716
21717 \backslash
21718 renewcommand{
21719 \backslash
21720 section}{
21721 \backslash
21722 suppressfloats[t]
21723 \backslash
21724 mySection}
21725 \end_layout
21726
21727 \begin_layout Standard
21728 You can define the same for all section headings, like chapters and subsections.
21729  This definition is not recommended to be used for small text parts like
21730  subsubsections because LaTeX may then have problems finding a suitable
21731  placement.
21732 \end_layout
21733
21734 \begin_layout Standard
21735 \begin_inset VSpace bigskip
21736 \end_inset
21737
21738 In some cases it is required to have all figures/tables at the end of the
21739  document.
21740  For this purpose the LaTeX-package 
21741 \series bold
21742 endfloat
21743 \series default
21744
21745 \begin_inset Index idx
21746 status collapsed
21747
21748 \begin_layout Plain Layout
21749 LaTeX-packages ! endfloat
21750 \end_layout
21751
21752 \end_inset
21753
21754  was developed.
21755  It puts all figure and table floats at the end of the document into their
21756  own sections.
21757  At the original float position a text hint like 
21758 \begin_inset Quotes eld
21759 \end_inset
21760
21761
21762 \family sans
21763 [Figure
21764 \begin_inset space ~
21765 \end_inset
21766
21767 3.2 about here.]
21768 \family default
21769
21770 \begin_inset Quotes erd
21771 \end_inset
21772
21773  is inserted.
21774  The endfloat-package is loaded in the preamble with the line
21775 \end_layout
21776
21777 \begin_layout Standard
21778
21779 \series bold
21780
21781 \backslash
21782 usepackage[options]{endfloat}
21783 \end_layout
21784
21785 \begin_layout Standard
21786 There are various package options to format the created figure/table sections.
21787  For more information we refer to the 
21788 \series bold
21789 endfloat
21790 \series default
21791  documentation 
21792 \begin_inset CommandInset citation
21793 LatexCommand cite
21794 key "endfloat"
21795
21796 \end_inset
21797
21798 .
21799 \begin_inset Newline newline
21800 \end_inset
21801
21802
21803 \begin_inset Note Greyedout
21804 status open
21805
21806 \begin_layout Plain Layout
21807
21808 \series bold
21809 Note: endfloat
21810 \series default
21811  doesn't provide an automatic translation for the text hint, you have to
21812  do this manually, see section
21813 \begin_inset space ~
21814 \end_inset
21815
21816 4 in 
21817 \begin_inset CommandInset citation
21818 LatexCommand cite
21819 key "endfloat"
21820
21821 \end_inset
21822
21823 .
21824 \end_layout
21825
21826 \end_inset
21827
21828
21829 \begin_inset Newline newline
21830 \end_inset
21831
21832
21833 \begin_inset Note Greyedout
21834 status open
21835
21836 \begin_layout Plain Layout
21837
21838 \series bold
21839 Note:
21840 \series default
21841  There is currently a bug in 
21842 \series bold
21843 endfloat
21844 \series default
21845  when the caption contains a German 
21846 \begin_inset Quotes eld
21847 \end_inset
21848
21849 ß
21850 \begin_inset Quotes erd
21851 \end_inset
21852
21853 .
21854  Use in this case the command 
21855 \begin_inset Quotes eld
21856 \end_inset
21857
21858
21859 \series bold
21860
21861 \backslash
21862 ss
21863 \series default
21864
21865 \begin_inset Quotes erd
21866 \end_inset
21867
21868  in TeX-Code instead of 
21869 \begin_inset Quotes eld
21870 \end_inset
21871
21872 ß
21873 \begin_inset Quotes erd
21874 \end_inset
21875
21876 .
21877 \end_layout
21878
21879 \end_inset
21880
21881
21882 \end_layout
21883
21884 \begin_layout Standard
21885 \begin_inset VSpace bigskip
21886 \end_inset
21887
21888 For more details about float placements, have a look at LaTeX books, 
21889 \begin_inset CommandInset citation
21890 LatexCommand cite
21891 key "latexcompanion,latexguide,latexbook"
21892
21893 \end_inset
21894
21895 .
21896 \end_layout
21897
21898 \begin_layout Section
21899 Rotated Floats
21900 \begin_inset CommandInset label
21901 LatexCommand label
21902 name "sec:Rotated-Floats"
21903
21904 \end_inset
21905
21906
21907 \begin_inset Index idx
21908 status collapsed
21909
21910 \begin_layout Plain Layout
21911 Floats ! Rotating
21912 \end_layout
21913
21914 \end_inset
21915
21916
21917 \end_layout
21918
21919 \begin_layout Standard
21920 Especially for wide tables you might have floats rotated.
21921  To rotate a whole float including the caption, right-click on the float-box
21922  and use the option 
21923 \family sans
21924 Rotate
21925 \begin_inset space ~
21926 \end_inset
21927
21928 sideways
21929 \family default
21930 .
21931 \end_layout
21932
21933 \begin_layout Standard
21934 Rotated floats are always placed on a page of their own (or column of their
21935  own; in case you have a multi-column document).
21936  You can let them span several columns using the float settings option 
21937 \family sans
21938 Span
21939 \begin_inset space ~
21940 \end_inset
21941
21942 columns
21943 \family default
21944 .
21945  Floats are rotated so that you can read them from the outside margin.
21946  To force a certain rotation direction for all pages, you can add either
21947  the option 
21948 \series bold
21949 figuresleft
21950 \series default
21951  or 
21952 \series bold
21953 figuresright
21954 \series default
21955  to the document class options.
21956 \end_layout
21957
21958 \begin_layout Standard
21959 Referencing rotated floats is the same as for normal floats, the caption
21960  format is also the same: Table
21961 \begin_inset space ~
21962 \end_inset
21963
21964
21965 \begin_inset CommandInset ref
21966 LatexCommand ref
21967 reference "tab:Rotated-table"
21968
21969 \end_inset
21970
21971  is an example of a rotated table float.
21972 \end_layout
21973
21974 \begin_layout Standard
21975 \begin_inset Note Greyedout
21976 status open
21977
21978 \begin_layout Plain Layout
21979
21980 \series bold
21981 Note:
21982 \series default
21983  Not all DVI-viewers are able to display rotated floats.
21984 \end_layout
21985
21986 \end_inset
21987
21988
21989 \end_layout
21990
21991 \begin_layout Standard
21992 \begin_inset Float table
21993 wide false
21994 sideways true
21995 status open
21996
21997 \begin_layout Plain Layout
21998 \begin_inset Caption
21999
22000 \begin_layout Plain Layout
22001 \begin_inset CommandInset label
22002 LatexCommand label
22003 name "tab:Rotated-table"
22004
22005 \end_inset
22006
22007  Rotated table
22008 \end_layout
22009
22010 \end_inset
22011
22012
22013 \end_layout
22014
22015 \begin_layout Plain Layout
22016 \align center
22017 \begin_inset Tabular
22018 <lyxtabular version="3" rows="1" columns="5">
22019 <features tabularvalignment="middle">
22020 <column alignment="center" valignment="top" width="0">
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 <row>
22026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22027 \begin_inset Text
22028
22029 \begin_layout Plain Layout
22030 test
22031 \end_layout
22032
22033 \end_inset
22034 </cell>
22035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22036 \begin_inset Text
22037
22038 \begin_layout Plain Layout
22039 b
22040 \end_layout
22041
22042 \end_inset
22043 </cell>
22044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22045 \begin_inset Text
22046
22047 \begin_layout Plain Layout
22048 c
22049 \end_layout
22050
22051 \end_inset
22052 </cell>
22053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22054 \begin_inset Text
22055
22056 \begin_layout Plain Layout
22057 d
22058 \end_layout
22059
22060 \end_inset
22061 </cell>
22062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22063 \begin_inset Text
22064
22065 \begin_layout Plain Layout
22066 e
22067 \end_layout
22068
22069 \end_inset
22070 </cell>
22071 </row>
22072 </lyxtabular>
22073
22074 \end_inset
22075
22076
22077 \end_layout
22078
22079 \end_inset
22080
22081
22082 \end_layout
22083
22084 \begin_layout Section
22085 Subfloats
22086 \begin_inset Index idx
22087 status collapsed
22088
22089 \begin_layout Plain Layout
22090 Floats ! Subfloats
22091 \end_layout
22092
22093 \end_inset
22094
22095
22096 \end_layout
22097
22098 \begin_layout Standard
22099 Subfloats are for example used when a figure consists of several images.
22100  They are created by inserting a float into an existing float.
22101  The placement of the subfloats can be controlled in the same way as for
22102  paragraphs as shown in table
22103 \begin_inset space ~
22104 \end_inset
22105
22106
22107 \begin_inset CommandInset ref
22108 LatexCommand ref
22109 reference "tab:Two-subtables-side"
22110
22111 \end_inset
22112
22113  and 
22114 \begin_inset CommandInset ref
22115 LatexCommand ref
22116 reference "tab:Two-subtables-upon"
22117
22118 \end_inset
22119
22120 .
22121 \end_layout
22122
22123 \begin_layout Standard
22124 Referencing subfloats works as for normal floats: Table
22125 \begin_inset space ~
22126 \end_inset
22127
22128
22129 \begin_inset CommandInset ref
22130 LatexCommand ref
22131 reference "tab:This-is-subtable-a"
22132
22133 \end_inset
22134
22135  and 
22136 \begin_inset CommandInset ref
22137 LatexCommand ref
22138 reference "tab:This-is-subtable-b"
22139
22140 \end_inset
22141
22142  are subtables of table
22143 \begin_inset space ~
22144 \end_inset
22145
22146
22147 \begin_inset CommandInset ref
22148 LatexCommand ref
22149 reference "tab:Two-subtables-side"
22150
22151 \end_inset
22152
22153 .
22154 \end_layout
22155
22156 \begin_layout Standard
22157 \begin_inset Float table
22158 wide false
22159 sideways false
22160 status open
22161
22162 \begin_layout Plain Layout
22163 \begin_inset Caption
22164
22165 \begin_layout Plain Layout
22166 \begin_inset CommandInset label
22167 LatexCommand label
22168 name "tab:Two-subtables-side"
22169
22170 \end_inset
22171
22172 Two subtables placed side by side.
22173 \end_layout
22174
22175 \end_inset
22176
22177
22178 \end_layout
22179
22180 \begin_layout Plain Layout
22181 \align center
22182 \begin_inset space \hfill{}
22183 \end_inset
22184
22185
22186 \begin_inset Float table
22187 wide false
22188 sideways false
22189 status collapsed
22190
22191 \begin_layout Plain Layout
22192 \begin_inset Caption
22193
22194 \begin_layout Plain Layout
22195 \begin_inset CommandInset label
22196 LatexCommand label
22197 name "tab:This-is-subtable-a"
22198
22199 \end_inset
22200
22201 This is subtable a.
22202 \end_layout
22203
22204 \end_inset
22205
22206
22207 \end_layout
22208
22209 \begin_layout Plain Layout
22210 \align center
22211 \begin_inset Tabular
22212 <lyxtabular version="3" rows="1" columns="5">
22213 <features tabularvalignment="middle">
22214 <column alignment="center" valignment="top" width="0">
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 <row>
22220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22221 \begin_inset Text
22222
22223 \begin_layout Plain Layout
22224 test
22225 \end_layout
22226
22227 \end_inset
22228 </cell>
22229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22230 \begin_inset Text
22231
22232 \begin_layout Plain Layout
22233 b
22234 \end_layout
22235
22236 \end_inset
22237 </cell>
22238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22239 \begin_inset Text
22240
22241 \begin_layout Plain Layout
22242 c
22243 \end_layout
22244
22245 \end_inset
22246 </cell>
22247 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22248 \begin_inset Text
22249
22250 \begin_layout Plain Layout
22251 d
22252 \end_layout
22253
22254 \end_inset
22255 </cell>
22256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22257 \begin_inset Text
22258
22259 \begin_layout Plain Layout
22260 e
22261 \end_layout
22262
22263 \end_inset
22264 </cell>
22265 </row>
22266 </lyxtabular>
22267
22268 \end_inset
22269
22270
22271 \end_layout
22272
22273 \end_inset
22274
22275
22276 \begin_inset space \hfill{}
22277 \end_inset
22278
22279
22280 \begin_inset Float table
22281 wide false
22282 sideways false
22283 status collapsed
22284
22285 \begin_layout Plain Layout
22286 \begin_inset Caption
22287
22288 \begin_layout Plain Layout
22289 \begin_inset CommandInset label
22290 LatexCommand label
22291 name "tab:This-is-subtable-b"
22292
22293 \end_inset
22294
22295 This is subtable b.
22296 \end_layout
22297
22298 \end_inset
22299
22300
22301 \end_layout
22302
22303 \begin_layout Plain Layout
22304 \align center
22305 \begin_inset Tabular
22306 <lyxtabular version="3" rows="1" columns="5">
22307 <features tabularvalignment="middle">
22308 <column alignment="center" valignment="top" width="0">
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 <row>
22314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22315 \begin_inset Text
22316
22317 \begin_layout Plain Layout
22318 e
22319 \end_layout
22320
22321 \end_inset
22322 </cell>
22323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22324 \begin_inset Text
22325
22326 \begin_layout Plain Layout
22327 d
22328 \end_layout
22329
22330 \end_inset
22331 </cell>
22332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22333 \begin_inset Text
22334
22335 \begin_layout Plain Layout
22336 c
22337 \end_layout
22338
22339 \end_inset
22340 </cell>
22341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22342 \begin_inset Text
22343
22344 \begin_layout Plain Layout
22345 b
22346 \end_layout
22347
22348 \end_inset
22349 </cell>
22350 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22351 \begin_inset Text
22352
22353 \begin_layout Plain Layout
22354 test
22355 \end_layout
22356
22357 \end_inset
22358 </cell>
22359 </row>
22360 </lyxtabular>
22361
22362 \end_inset
22363
22364
22365 \end_layout
22366
22367 \end_inset
22368
22369
22370 \begin_inset space \hfill{}
22371 \end_inset
22372
22373
22374 \end_layout
22375
22376 \end_inset
22377
22378
22379 \end_layout
22380
22381 \begin_layout Standard
22382 \begin_inset Float table
22383 wide false
22384 sideways false
22385 status open
22386
22387 \begin_layout Plain Layout
22388 \begin_inset Caption
22389
22390 \begin_layout Plain Layout
22391 \begin_inset CommandInset label
22392 LatexCommand label
22393 name "tab:Two-subtables-upon"
22394
22395 \end_inset
22396
22397 Two subtables placed one above the other.
22398  (a) table with 4 cells, (b) table with 5 cells.
22399 \end_layout
22400
22401 \end_inset
22402
22403
22404 \end_layout
22405
22406 \begin_layout Plain Layout
22407 \align center
22408 \begin_inset Float table
22409 wide false
22410 sideways false
22411 status collapsed
22412
22413 \begin_layout Plain Layout
22414 \begin_inset Caption
22415
22416 \begin_layout Plain Layout
22417
22418 \end_layout
22419
22420 \end_inset
22421
22422
22423 \end_layout
22424
22425 \begin_layout Plain Layout
22426 \align center
22427 \begin_inset Tabular
22428 <lyxtabular version="3" rows="1" columns="4">
22429 <features tabularvalignment="middle">
22430 <column alignment="center" valignment="top" width="0">
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 <row>
22435 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22436 \begin_inset Text
22437
22438 \begin_layout Plain Layout
22439 test
22440 \end_layout
22441
22442 \end_inset
22443 </cell>
22444 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22445 \begin_inset Text
22446
22447 \begin_layout Plain Layout
22448 test
22449 \end_layout
22450
22451 \end_inset
22452 </cell>
22453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22454 \begin_inset Text
22455
22456 \begin_layout Plain Layout
22457 test
22458 \end_layout
22459
22460 \end_inset
22461 </cell>
22462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22463 \begin_inset Text
22464
22465 \begin_layout Plain Layout
22466 test
22467 \end_layout
22468
22469 \end_inset
22470 </cell>
22471 </row>
22472 </lyxtabular>
22473
22474 \end_inset
22475
22476
22477 \end_layout
22478
22479 \end_inset
22480
22481
22482 \end_layout
22483
22484 \begin_layout Plain Layout
22485 \align center
22486 \begin_inset Float table
22487 wide false
22488 sideways false
22489 status collapsed
22490
22491 \begin_layout Plain Layout
22492 \begin_inset Caption
22493
22494 \begin_layout Plain Layout
22495
22496 \end_layout
22497
22498 \end_inset
22499
22500
22501 \end_layout
22502
22503 \begin_layout Plain Layout
22504 \align center
22505 \begin_inset Tabular
22506 <lyxtabular version="3" rows="1" columns="5">
22507 <features tabularvalignment="middle">
22508 <column alignment="center" valignment="top" width="0">
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 <row>
22514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22515 \begin_inset Text
22516
22517 \begin_layout Plain Layout
22518 a
22519 \end_layout
22520
22521 \end_inset
22522 </cell>
22523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22524 \begin_inset Text
22525
22526 \begin_layout Plain Layout
22527 b
22528 \end_layout
22529
22530 \end_inset
22531 </cell>
22532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22533 \begin_inset Text
22534
22535 \begin_layout Plain Layout
22536 c
22537 \end_layout
22538
22539 \end_inset
22540 </cell>
22541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22542 \begin_inset Text
22543
22544 \begin_layout Plain Layout
22545 d
22546 \end_layout
22547
22548 \end_inset
22549 </cell>
22550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22551 \begin_inset Text
22552
22553 \begin_layout Plain Layout
22554 e
22555 \end_layout
22556
22557 \end_inset
22558 </cell>
22559 </row>
22560 </lyxtabular>
22561
22562 \end_inset
22563
22564
22565 \end_layout
22566
22567 \end_inset
22568
22569
22570 \end_layout
22571
22572 \end_inset
22573
22574
22575 \end_layout
22576
22577 \begin_layout Section
22578 Floats Side by Side
22579 \begin_inset Index idx
22580 status collapsed
22581
22582 \begin_layout Plain Layout
22583 Floats ! Side by side
22584 \end_layout
22585
22586 \end_inset
22587
22588
22589 \end_layout
22590
22591 \begin_layout Standard
22592 To place floats side by side, as in Figures
22593 \begin_inset space ~
22594 \end_inset
22595
22596
22597 \begin_inset CommandInset ref
22598 LatexCommand ref
22599 reference "fig:Float-left"
22600
22601 \end_inset
22602
22603  and 
22604 \begin_inset CommandInset ref
22605 LatexCommand ref
22606 reference "fig:Float-right"
22607
22608 \end_inset
22609
22610 , only 
22611 \emph on
22612 one
22613 \emph default
22614  float is used.
22615  In it two minipage boxes are inserted.
22616 \begin_inset Foot
22617 status collapsed
22618
22619 \begin_layout Plain Layout
22620 Minipages are explained in section
22621 \begin_inset space ~
22622 \end_inset
22623
22624
22625 \begin_inset CommandInset ref
22626 LatexCommand ref
22627 reference "sec:Minipages"
22628
22629 \end_inset
22630
22631 .
22632 \end_layout
22633
22634 \end_inset
22635
22636  The width is set to 45
22637 \begin_inset space \thinspace{}
22638 \end_inset
22639
22640 -50
22641 \begin_inset space \thinspace{}
22642 \end_inset
22643
22644 column% and the box alignment to 
22645 \family sans
22646 Bottom
22647 \family default
22648  for each minipage.
22649  The minipage boxes contain the image and the caption in the same way as
22650  they are in a float.
22651  The only difference is that the image unit 
22652 \family sans
22653 Column
22654 \begin_inset space ~
22655 \end_inset
22656
22657 Width
22658 \begin_inset space ~
22659 \end_inset
22660
22661 %
22662 \family default
22663  is now calculated according to the width of the minipage boxes.
22664 \end_layout
22665
22666 \begin_layout Standard
22667 \begin_inset Float figure
22668 wide false
22669 sideways false
22670 status open
22671
22672 \begin_layout Plain Layout
22673 \begin_inset Box Frameless
22674 position "b"
22675 hor_pos "c"
22676 has_inner_box 1
22677 inner_pos "t"
22678 use_parbox 0
22679 use_makebox 0
22680 width "45col%"
22681 special "none"
22682 height "1in"
22683 height_special "totalheight"
22684 status open
22685
22686 \begin_layout Plain Layout
22687 \align center
22688 \begin_inset Graphics
22689         filename clipart/mobius.eps
22690         lyxscale 50
22691         width 100col%
22692         scaleBeforeRotation
22693
22694 \end_inset
22695
22696
22697 \end_layout
22698
22699 \begin_layout Plain Layout
22700 \begin_inset Caption
22701
22702 \begin_layout Plain Layout
22703 \begin_inset CommandInset label
22704 LatexCommand label
22705 name "fig:Float-left"
22706
22707 \end_inset
22708
22709 Float on the left side.
22710 \end_layout
22711
22712 \end_inset
22713
22714
22715 \end_layout
22716
22717 \end_inset
22718
22719
22720 \begin_inset space \hfill{}
22721 \end_inset
22722
22723
22724 \begin_inset Box Frameless
22725 position "b"
22726 hor_pos "c"
22727 has_inner_box 1
22728 inner_pos "t"
22729 use_parbox 0
22730 use_makebox 0
22731 width "45col%"
22732 special "none"
22733 height "1in"
22734 height_special "totalheight"
22735 status open
22736
22737 \begin_layout Plain Layout
22738 \align center
22739 \begin_inset Graphics
22740         filename clipart/platypus.eps
22741         lyxscale 50
22742         width 100col%
22743         scaleBeforeRotation
22744
22745 \end_inset
22746
22747
22748 \end_layout
22749
22750 \begin_layout Plain Layout
22751 \begin_inset Caption
22752
22753 \begin_layout Plain Layout
22754 \begin_inset CommandInset label
22755 LatexCommand label
22756 name "fig:Float-right"
22757
22758 \end_inset
22759
22760 Float on the right side.
22761 \end_layout
22762
22763 \end_inset
22764
22765
22766 \end_layout
22767
22768 \end_inset
22769
22770
22771 \end_layout
22772
22773 \begin_layout Plain Layout
22774
22775 \end_layout
22776
22777 \end_inset
22778
22779
22780 \end_layout
22781
22782 \begin_layout Section
22783 Caption Formatting
22784 \begin_inset Index idx
22785 status collapsed
22786
22787 \begin_layout Plain Layout
22788 Caption ! Formatting
22789 \end_layout
22790
22791 \end_inset
22792
22793
22794 \begin_inset Index idx
22795 status collapsed
22796
22797 \begin_layout Plain Layout
22798 Floats ! Caption Formatting
22799 \end_layout
22800
22801 \end_inset
22802
22803
22804 \begin_inset CommandInset label
22805 LatexCommand label
22806 name "sec:Caption-Formatting"
22807
22808 \end_inset
22809
22810
22811 \end_layout
22812
22813 \begin_layout Standard
22814 The 
22815 \family sans
22816 Caption
22817 \family default
22818  environment is the default paragraph environment for 
22819 \family sans
22820 Floats
22821 \family default
22822 .
22823  On the LyX screen captions appear as label, e.
22824 \begin_inset space \thinspace{}
22825 \end_inset
22826
22827 g.
22828 \begin_inset space \space{}
22829 \end_inset
22830
22831
22832 \begin_inset Quotes eld
22833 \end_inset
22834
22835
22836 \family sans
22837 Figure #:
22838 \family default
22839
22840 \begin_inset Quotes erd
22841 \end_inset
22842
22843  followed by the caption text.
22844  
22845 \begin_inset Quotes eld
22846 \end_inset
22847
22848 #
22849 \begin_inset Quotes erd
22850 \end_inset
22851
22852  is the actual reference number.
22853  By default the label and the number are in the same font as the caption
22854  text and a colon follows the number to divide the label from the text.
22855  This caption format is not suitable for all document formats.
22856  
22857 \end_layout
22858
22859 \begin_layout Standard
22860 To change the default caption format, load the LaTeX-package 
22861 \series bold
22862 caption
22863 \series default
22864
22865 \begin_inset Index idx
22866 status collapsed
22867
22868 \begin_layout Plain Layout
22869 LaTeX-packages ! caption
22870 \end_layout
22871
22872 \end_inset
22873
22874  in the document preamble with this line:
22875 \end_layout
22876
22877 \begin_layout Standard
22878
22879 \series bold
22880
22881 \backslash
22882 usepackage[format definition]{caption}
22883 \end_layout
22884
22885 \begin_layout Standard
22886 To have for example the label and the number in sans-serif bold font and
22887  the table captions always above the table as in this document, use the
22888  following command:
22889 \end_layout
22890
22891 \begin_layout Standard
22892
22893 \series bold
22894
22895 \backslash
22896 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22897 \end_layout
22898
22899 \begin_layout Standard
22900 You can also define different caption formats for the different float types.
22901  In this case load the 
22902 \series bold
22903 caption
22904 \series default
22905  package without format specific options and define the different formats
22906  with the help of the command
22907 \end_layout
22908
22909 \begin_layout Standard
22910
22911 \series bold
22912
22913 \backslash
22914 captionsetup[float type]{format definition}
22915 \end_layout
22916
22917 \begin_layout Standard
22918 in the document preamble.
22919  For example the caption formats of Figure
22920 \begin_inset space ~
22921 \end_inset
22922
22923
22924 \begin_inset CommandInset ref
22925 LatexCommand ref
22926 reference "fig:This-is-an-fig"
22927
22928 \end_inset
22929
22930  and Table
22931 \begin_inset space ~
22932 \end_inset
22933
22934
22935 \begin_inset CommandInset ref
22936 LatexCommand ref
22937 reference "tab:This-is-an-tab"
22938
22939 \end_inset
22940
22941  can be created using these commands in the document preamble:
22942 \end_layout
22943
22944 \begin_layout Standard
22945
22946 \series bold
22947
22948 \backslash
22949 usepackage[tableposition=top]{caption}
22950 \series default
22951
22952 \begin_inset Newline newline
22953 \end_inset
22954
22955
22956 \series bold
22957
22958 \backslash
22959 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22960 \begin_inset Newline newline
22961 \end_inset
22962
22963
22964 \begin_inset Phantom HPhantom
22965 status open
22966
22967 \begin_layout Plain Layout
22968
22969 \series bold
22970
22971 \backslash
22972 captionsetup[figure]{
22973 \end_layout
22974
22975 \end_inset
22976
22977 labelsep=period}
22978 \begin_inset Newline newline
22979 \end_inset
22980
22981
22982 \backslash
22983 captionsetup[table]{labelfont={bf,sf}}
22984 \end_layout
22985
22986 \begin_layout Standard
22987 \begin_inset Note Greyedout
22988 status open
22989
22990 \begin_layout Plain Layout
22991
22992 \series bold
22993 Note:
22994 \series default
22995  The option 
22996 \series bold
22997 tableposition=top
22998 \series default
22999  has no effect when a 
23000 \series bold
23001 KOMA-Script
23002 \series default
23003
23004 \begin_inset Index idx
23005 status collapsed
23006
23007 \begin_layout Plain Layout
23008 LaTeX-packages ! KOMA-Script
23009 \end_layout
23010
23011 \end_inset
23012
23013  document class is used.
23014  In this case the document class option 
23015 \series bold
23016 captions=tableheading
23017 \series default
23018  must be used.
23019 \end_layout
23020
23021 \end_inset
23022
23023
23024 \end_layout
23025
23026 \begin_layout Standard
23027 For more information about the package 
23028 \series bold
23029 caption
23030 \series default
23031  we refer to its documentation 
23032 \begin_inset CommandInset citation
23033 LatexCommand cite
23034 key "caption"
23035
23036 \end_inset
23037
23038 .
23039 \end_layout
23040
23041 \begin_layout Standard
23042 To change the label name from e.
23043 \begin_inset space \thinspace{}
23044 \end_inset
23045
23046 g.
23047 \begin_inset space \space{}
23048 \end_inset
23049
23050
23051 \begin_inset Quotes eld
23052 \end_inset
23053
23054 Figure
23055 \begin_inset Quotes erd
23056 \end_inset
23057
23058  to 
23059 \begin_inset Quotes eld
23060 \end_inset
23061
23062 Image
23063 \begin_inset Quotes erd
23064 \end_inset
23065
23066  use this preamble command:
23067 \end_layout
23068
23069 \begin_layout Standard
23070
23071 \series bold
23072
23073 \backslash
23074 renewcommand{
23075 \backslash
23076 fnum@figure}{Image~
23077 \backslash
23078 thefigure}
23079 \end_layout
23080
23081 \begin_layout Standard
23082 where 
23083 \series bold
23084
23085 \backslash
23086 thefigure
23087 \series default
23088  inserts the figure number and
23089 \series bold
23090  
23091 \begin_inset Quotes eld
23092 \end_inset
23093
23094 ~
23095 \series default
23096
23097 \begin_inset Quotes erd
23098 \end_inset
23099
23100  creates a protected space.
23101 \end_layout
23102
23103 \begin_layout Standard
23104 \begin_inset VSpace bigskip
23105 \end_inset
23106
23107 If you are using a 
23108 \series bold
23109 KOMA-Script
23110 \series default
23111
23112 \begin_inset Index idx
23113 status collapsed
23114
23115 \begin_layout Plain Layout
23116 LaTeX-packages ! KOMA-Script
23117 \end_layout
23118
23119 \end_inset
23120
23121  document class (
23122 \family sans
23123 article (KOMA-Script)
23124 \family default
23125
23126 \family sans
23127 book (KOMA-Script)
23128 \family default
23129
23130 \family sans
23131 letter (KOMA-Script)
23132 \family default
23133 , or 
23134 \family sans
23135 report (KOMA-Script)
23136 \family default
23137
23138 \begin_inset space \thinspace{}
23139 \end_inset
23140
23141 ), you can alternatively to the 
23142 \series bold
23143 caption
23144 \series default
23145  package use 
23146 \series bold
23147 KOMA-Script
23148 \series default
23149 's built-in command 
23150 \series bold
23151
23152 \backslash
23153 setkomafont
23154 \series default
23155 .
23156  For example, to have the caption label in bold, add this command to your
23157  document preamble:
23158 \end_layout
23159
23160 \begin_layout Standard
23161
23162 \series bold
23163
23164 \backslash
23165 setkomafont{captionlabel}{
23166 \backslash
23167 bfseries}
23168 \end_layout
23169
23170 \begin_layout Standard
23171 For more information about 
23172 \series bold
23173
23174 \backslash
23175 setkomafont
23176 \series default
23177  we refer to the 
23178 \series bold
23179 KOMA-Script
23180 \series default
23181  documentation 
23182 \begin_inset CommandInset citation
23183 LatexCommand cite
23184 key "KOMA-Script"
23185
23186 \end_inset
23187
23188 .
23189 \end_layout
23190
23191 \begin_layout Standard
23192 \begin_inset ERT
23193 status collapsed
23194
23195 \begin_layout Plain Layout
23196
23197
23198 \backslash
23199 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23200 }
23201 \end_layout
23202
23203 \end_inset
23204
23205
23206 \begin_inset Note Note
23207 status open
23208
23209 \begin_layout Plain Layout
23210 The caption format is changed only for this example.
23211 \end_layout
23212
23213 \end_inset
23214
23215
23216 \end_layout
23217
23218 \begin_layout Standard
23219 \begin_inset Float figure
23220 placement !p
23221 wide false
23222 sideways false
23223 status open
23224
23225 \begin_layout Plain Layout
23226 \align center
23227 \begin_inset Graphics
23228         filename clipart/mobius.eps
23229         lyxscale 50
23230         scale 50
23231         scaleBeforeRotation
23232
23233 \end_inset
23234
23235
23236 \end_layout
23237
23238 \begin_layout Plain Layout
23239 \begin_inset Caption
23240
23241 \begin_layout Plain Layout
23242 \begin_inset CommandInset label
23243 LatexCommand label
23244 name "fig:This-is-an-fig"
23245
23246 \end_inset
23247
23248 This is an example figure caption that is longer than one line to show the
23249  different caption format.
23250  Here a self-defined caption format is used.
23251 \end_layout
23252
23253 \end_inset
23254
23255
23256 \end_layout
23257
23258 \end_inset
23259
23260
23261 \end_layout
23262
23263 \begin_layout Standard
23264 \begin_inset ERT
23265 status collapsed
23266
23267 \begin_layout Plain Layout
23268
23269
23270 \backslash
23271 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23272 on}
23273 \end_layout
23274
23275 \end_inset
23276
23277
23278 \end_layout
23279
23280 \begin_layout Standard
23281 \begin_inset Float table
23282 placement !p
23283 wide false
23284 sideways false
23285 status open
23286
23287 \begin_layout Plain Layout
23288 \begin_inset Caption
23289
23290 \begin_layout Plain Layout
23291 \begin_inset CommandInset label
23292 LatexCommand label
23293 name "tab:This-is-an-tab"
23294
23295 \end_inset
23296
23297 This is an example table caption that is longer than one line to show the
23298  different caption format.
23299  Here the standard caption format for tables in this document is used.
23300 \end_layout
23301
23302 \end_inset
23303
23304
23305 \end_layout
23306
23307 \begin_layout Plain Layout
23308 \align center
23309 \begin_inset Tabular
23310 <lyxtabular version="3" rows="1" columns="5">
23311 <features tabularvalignment="middle">
23312 <column alignment="center" valignment="top" width="0">
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 <row>
23318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23319 \begin_inset Text
23320
23321 \begin_layout Plain Layout
23322 a
23323 \end_layout
23324
23325 \end_inset
23326 </cell>
23327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23328 \begin_inset Text
23329
23330 \begin_layout Plain Layout
23331 b
23332 \end_layout
23333
23334 \end_inset
23335 </cell>
23336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23337 \begin_inset Text
23338
23339 \begin_layout Plain Layout
23340 c
23341 \end_layout
23342
23343 \end_inset
23344 </cell>
23345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23346 \begin_inset Text
23347
23348 \begin_layout Plain Layout
23349 d
23350 \end_layout
23351
23352 \end_inset
23353 </cell>
23354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23355 \begin_inset Text
23356
23357 \begin_layout Plain Layout
23358 e
23359 \end_layout
23360
23361 \end_inset
23362 </cell>
23363 </row>
23364 </lyxtabular>
23365
23366 \end_inset
23367
23368
23369 \end_layout
23370
23371 \end_inset
23372
23373
23374 \end_layout
23375
23376 \begin_layout Section
23377 Caption Placement
23378 \begin_inset Index idx
23379 status collapsed
23380
23381 \begin_layout Plain Layout
23382 Caption ! Placement
23383 \end_layout
23384
23385 \end_inset
23386
23387
23388 \begin_inset Index idx
23389 status collapsed
23390
23391 \begin_layout Plain Layout
23392 Floats ! Caption Placement
23393 \end_layout
23394
23395 \end_inset
23396
23397
23398 \begin_inset CommandInset label
23399 LatexCommand label
23400 name "sec:Caption-Placement"
23401
23402 \end_inset
23403
23404
23405 \end_layout
23406
23407 \begin_layout Standard
23408 The common caption placement rule is:
23409 \end_layout
23410
23411 \begin_layout Description
23412 Figure: Caption is set below the figure
23413 \end_layout
23414
23415 \begin_layout Description
23416 Table: Caption is set above the table
23417 \end_layout
23418
23419 \begin_layout Standard
23420 Having the caption above the table is unfortunately not supported in LaTeX's
23421  standard classes.
23422  That means if you are using the document classes 
23423 \family sans
23424 article
23425 \family default
23426
23427 \family sans
23428 book
23429 \family default
23430
23431 \family sans
23432 letter
23433 \family default
23434 , or 
23435 \family sans
23436 report
23437 \family default
23438  there will be no space between the caption and the table.
23439  To insert the necessary space, add the following option to the load command
23440  of the LaTeX-package 
23441 \series bold
23442 caption
23443 \series default
23444  in your document preamble
23445 \begin_inset Foot
23446 status collapsed
23447
23448 \begin_layout Plain Layout
23449 See section
23450 \begin_inset space ~
23451 \end_inset
23452
23453
23454 \begin_inset CommandInset ref
23455 LatexCommand ref
23456 reference "sec:Caption-Formatting"
23457
23458 \end_inset
23459
23460  for more information of the package 
23461 \series bold
23462 caption
23463 \series default
23464 .
23465 \end_layout
23466
23467 \end_inset
23468
23469 :
23470 \end_layout
23471
23472 \begin_layout Standard
23473
23474 \series bold
23475 tableposition=top
23476 \end_layout
23477
23478 \begin_layout Standard
23479 If you are using a 
23480 \series bold
23481 KOMA-Script
23482 \series default
23483
23484 \begin_inset Index idx
23485 status collapsed
23486
23487 \begin_layout Plain Layout
23488 LaTeX-packages ! KOMA-Script
23489 \end_layout
23490
23491 \end_inset
23492
23493  document class (
23494 \family sans
23495 article (KOMA-Script)
23496 \family default
23497
23498 \family sans
23499 book (KOMA-Script)
23500 \family default
23501
23502 \family sans
23503 letter (KOMA-Script)
23504 \family default
23505 , or 
23506 \family sans
23507 report (KOMA-Script)
23508 \family default
23509
23510 \begin_inset space \thinspace{}
23511 \end_inset
23512
23513 ), you can alternatively to the 
23514 \series bold
23515 caption
23516 \series default
23517  package set the document class option 
23518 \series bold
23519 captions=tableheading
23520 \series default
23521 .
23522 \end_layout
23523
23524 \begin_layout Standard
23525 \begin_inset VSpace bigskip
23526 \end_inset
23527
23528 It is also possible to set the caption beside a figure or table.
23529  To get this the LaTeX-package 
23530 \series bold
23531 sidecap
23532 \series default
23533
23534 \begin_inset Index idx
23535 status collapsed
23536
23537 \begin_layout Plain Layout
23538 LaTeX-packages ! sidecap
23539 \end_layout
23540
23541 \end_inset
23542
23543  has to be loaded in the document preamble with the line
23544 \end_layout
23545
23546 \begin_layout Standard
23547
23548 \series bold
23549
23550 \backslash
23551 usepackage[option]{sidecap}
23552 \end_layout
23553
23554 \begin_layout Standard
23555 If you set no option, the caption is placed on the side of the outer page
23556  margin â€“ to the right on odd pages, to the left on even pages.
23557  You can change the placement to inner margin with the option 
23558 \series bold
23559 innercaption
23560 \series default
23561 .
23562  To force the placement always to the right or left, use the option 
23563 \series bold
23564 rightcaption
23565 \series default
23566  or 
23567 \series bold
23568 leftcaption
23569 \series default
23570 , respectively.
23571 \end_layout
23572
23573 \begin_layout Standard
23574 \begin_inset ERT
23575 status collapsed
23576
23577 \begin_layout Plain Layout
23578
23579
23580 \backslash
23581 ifsidecap
23582 \end_layout
23583
23584 \end_inset
23585
23586
23587 \begin_inset Note Note
23588 status open
23589
23590 \begin_layout Plain Layout
23591 The following section will only be displayed when the LaTeX-package 
23592 \series bold
23593 sidecap
23594 \series default
23595  is installed.
23596 \end_layout
23597
23598 \end_inset
23599
23600
23601 \end_layout
23602
23603 \begin_layout Standard
23604 To place in LyX the caption of a float on the side, it is necessary to add
23605  these commands to the document preamble:
23606 \end_layout
23607
23608 \begin_layout Standard
23609 \noindent
23610 \begin_inset CommandInset line
23611 LatexCommand rule
23612 offset "0.5ex"
23613 width "100line%"
23614 height "1pt"
23615
23616 \end_inset
23617
23618
23619 \end_layout
23620
23621 \begin_layout Standard
23622
23623 \series bold
23624
23625 \backslash
23626 newcommand{
23627 \backslash
23628 TabBesBeg}{%
23629 \begin_inset Newline newline
23630 \end_inset
23631
23632
23633 \begin_inset Phantom HPhantom
23634 status open
23635
23636 \begin_layout Plain Layout
23637
23638 \series bold
23639 \begin_inset space ~
23640 \end_inset
23641
23642
23643 \end_layout
23644
23645 \end_inset
23646
23647
23648 \backslash
23649 let
23650 \backslash
23651 MyTable
23652 \backslash
23653 table
23654 \begin_inset Newline newline
23655 \end_inset
23656
23657
23658 \begin_inset Phantom HPhantom
23659 status open
23660
23661 \begin_layout Plain Layout
23662
23663 \series bold
23664 \begin_inset space ~
23665 \end_inset
23666
23667
23668 \end_layout
23669
23670 \end_inset
23671
23672
23673 \backslash
23674 let
23675 \backslash
23676 MyEndtable
23677 \backslash
23678 endtable
23679 \begin_inset Newline newline
23680 \end_inset
23681
23682
23683 \begin_inset Phantom HPhantom
23684 status open
23685
23686 \begin_layout Plain Layout
23687
23688 \series bold
23689 \begin_inset space ~
23690 \end_inset
23691
23692
23693 \end_layout
23694
23695 \end_inset
23696
23697
23698 \backslash
23699 renewenvironment{table}{
23700 \backslash
23701 begin{SCtable}}{
23702 \backslash
23703 end{SCtable}}}
23704 \end_layout
23705
23706 \begin_layout Standard
23707
23708 \series bold
23709
23710 \backslash
23711 newcommand{
23712 \backslash
23713 TabBesEnd}{%
23714 \begin_inset Newline newline
23715 \end_inset
23716
23717
23718 \begin_inset Phantom HPhantom
23719 status open
23720
23721 \begin_layout Plain Layout
23722
23723 \series bold
23724 \begin_inset space ~
23725 \end_inset
23726
23727
23728 \end_layout
23729
23730 \end_inset
23731
23732
23733 \backslash
23734 let
23735 \backslash
23736 table
23737 \backslash
23738 MyTable
23739 \begin_inset Newline newline
23740 \end_inset
23741
23742
23743 \begin_inset Phantom HPhantom
23744 status open
23745
23746 \begin_layout Plain Layout
23747
23748 \series bold
23749 \begin_inset space ~
23750 \end_inset
23751
23752
23753 \end_layout
23754
23755 \end_inset
23756
23757
23758 \backslash
23759 let
23760 \backslash
23761 endtable
23762 \backslash
23763 MyEndtable
23764 \end_layout
23765
23766 \begin_layout Standard
23767
23768 \series bold
23769
23770 \backslash
23771 newcommand{
23772 \backslash
23773 FigBesBeg}{%
23774 \begin_inset Newline newline
23775 \end_inset
23776
23777
23778 \begin_inset Phantom HPhantom
23779 status open
23780
23781 \begin_layout Plain Layout
23782
23783 \series bold
23784 \begin_inset space ~
23785 \end_inset
23786
23787
23788 \end_layout
23789
23790 \end_inset
23791
23792
23793 \backslash
23794 let
23795 \backslash
23796 MyFigure
23797 \backslash
23798 figure
23799 \begin_inset Newline newline
23800 \end_inset
23801
23802
23803 \begin_inset Phantom HPhantom
23804 status open
23805
23806 \begin_layout Plain Layout
23807
23808 \series bold
23809 \begin_inset space ~
23810 \end_inset
23811
23812
23813 \end_layout
23814
23815 \end_inset
23816
23817
23818 \backslash
23819 let
23820 \backslash
23821 MyEndfigure
23822 \backslash
23823 endfigure
23824 \begin_inset Newline newline
23825 \end_inset
23826
23827
23828 \begin_inset Phantom HPhantom
23829 status open
23830
23831 \begin_layout Plain Layout
23832
23833 \series bold
23834 \begin_inset space ~
23835 \end_inset
23836
23837
23838 \end_layout
23839
23840 \end_inset
23841
23842
23843 \backslash
23844 renewenvironment{figure}{
23845 \backslash
23846 begin{SCfigure}}{
23847 \backslash
23848 end{SCfigure}}}
23849 \end_layout
23850
23851 \begin_layout Standard
23852
23853 \series bold
23854
23855 \backslash
23856 newcommand{
23857 \backslash
23858 FigBesEnd}{%
23859 \begin_inset Newline newline
23860 \end_inset
23861
23862
23863 \begin_inset Phantom HPhantom
23864 status open
23865
23866 \begin_layout Plain Layout
23867
23868 \series bold
23869 \begin_inset space ~
23870 \end_inset
23871
23872
23873 \end_layout
23874
23875 \end_inset
23876
23877
23878 \backslash
23879 let
23880 \backslash
23881 figure
23882 \backslash
23883 MyFigure
23884 \begin_inset Newline newline
23885 \end_inset
23886
23887
23888 \begin_inset Phantom HPhantom
23889 status open
23890
23891 \begin_layout Plain Layout
23892
23893 \series bold
23894 \begin_inset space ~
23895 \end_inset
23896
23897
23898 \end_layout
23899
23900 \end_inset
23901
23902
23903 \backslash
23904 let
23905 \backslash
23906 endfigure
23907 \backslash
23908 MyEndfigure}
23909 \end_layout
23910
23911 \begin_layout Standard
23912 \noindent
23913 \begin_inset CommandInset line
23914 LatexCommand rule
23915 offset "0.5ex"
23916 width "100line%"
23917 height "1pt"
23918
23919 \end_inset
23920
23921
23922 \end_layout
23923
23924 \begin_layout Standard
23925 The commands allow you to redefine the floats so that the caption is set
23926  on the side.
23927  For figure floats use the command
23928 \end_layout
23929
23930 \begin_layout Standard
23931
23932 \series bold
23933
23934 \backslash
23935 FigBesBeg
23936 \end_layout
23937
23938 \begin_layout Standard
23939 in TeX-Code before the float.
23940  After the float insert the command
23941 \end_layout
23942
23943 \begin_layout Standard
23944
23945 \series bold
23946
23947 \backslash
23948 FigBesEnd
23949 \end_layout
23950
23951 \begin_layout Standard
23952 in TeX-Code to get back to the original float definition.
23953 \end_layout
23954
23955 \begin_layout Standard
23956 For table floats use the corresponding commands
23957 \end_layout
23958
23959 \begin_layout Standard
23960
23961 \series bold
23962
23963 \backslash
23964 TabBesBeg
23965 \series default
23966  and 
23967 \series bold
23968
23969 \backslash
23970 TabBesEnd
23971 \end_layout
23972
23973 \begin_layout Standard
23974 Figure
23975 \begin_inset space ~
23976 \end_inset
23977
23978
23979 \begin_inset CommandInset ref
23980 LatexCommand ref
23981 reference "fig:cap-beside-fig"
23982
23983 \end_inset
23984
23985  and Table
23986 \begin_inset space ~
23987 \end_inset
23988
23989
23990 \begin_inset CommandInset ref
23991 LatexCommand ref
23992 reference "tab:cap-beside-tab"
23993
23994 \end_inset
23995
23996  are examples where the caption is set beside.
23997 \end_layout
23998
23999 \begin_layout Standard
24000 You can see in the examples that the caption text appears at the top of
24001  the floats for table floats and at the bottom for figure floats.
24002  To change this, you can use the command
24003 \end_layout
24004
24005 \begin_layout Standard
24006
24007 \series bold
24008
24009 \backslash
24010 sidecaptionvpos{float type}{placement}
24011 \end_layout
24012
24013 \begin_layout Standard
24014 in the document preamble or in TeX-Code before the float.
24015  The float type is either 
24016 \family sans
24017 figure
24018 \family default
24019  or 
24020 \family sans
24021 table
24022 \family default
24023 , the placement can be 
24024 \begin_inset Quotes eld
24025 \end_inset
24026
24027
24028 \family sans
24029 t
24030 \family default
24031
24032 \begin_inset Quotes erd
24033 \end_inset
24034
24035  for top, 
24036 \begin_inset Quotes eld
24037 \end_inset
24038
24039
24040 \family sans
24041 c
24042 \family default
24043
24044 \begin_inset Quotes erd
24045 \end_inset
24046
24047  for center, or 
24048 \begin_inset Quotes eld
24049 \end_inset
24050
24051
24052 \family sans
24053 b
24054 \family default
24055
24056 \begin_inset Quotes erd
24057 \end_inset
24058
24059  for bottom.
24060  To have for example the caption of figure floats vertically centered, use
24061  the command
24062 \end_layout
24063
24064 \begin_layout Standard
24065
24066 \series bold
24067
24068 \backslash
24069 sidecaptionvpos{figure}{c}
24070 \end_layout
24071
24072 \begin_layout Standard
24073 This was used for Figure
24074 \begin_inset space ~
24075 \end_inset
24076
24077
24078 \begin_inset CommandInset ref
24079 LatexCommand ref
24080 reference "fig:cap-beside-fig-2"
24081
24082 \end_inset
24083
24084 .
24085 \end_layout
24086
24087 \begin_layout Standard
24088 \begin_inset VSpace medskip
24089 \end_inset
24090
24091 For more information about the package 
24092 \series bold
24093 sidecap
24094 \series default
24095  we refer to its documentation 
24096 \begin_inset CommandInset citation
24097 LatexCommand cite
24098 key "sidecap"
24099
24100 \end_inset
24101
24102 .
24103 \end_layout
24104
24105 \begin_layout Standard
24106 \begin_inset Note Greyedout
24107 status open
24108
24109 \begin_layout Plain Layout
24110
24111 \series bold
24112 Note:
24113 \series default
24114  The LaTeX-package 
24115 \series bold
24116 hypcap
24117 \series default
24118
24119 \begin_inset Index idx
24120 status collapsed
24121
24122 \begin_layout Plain Layout
24123 LaTeX-packages ! hypcap
24124 \end_layout
24125
24126 \end_inset
24127
24128 , described in section
24129 \begin_inset space ~
24130 \end_inset
24131
24132
24133 \begin_inset CommandInset ref
24134 LatexCommand ref
24135 reference "sub:Reference-Position"
24136
24137 \end_inset
24138
24139 , has no effect on floats with the caption set beside.
24140 \end_layout
24141
24142 \end_inset
24143
24144
24145 \end_layout
24146
24147 \begin_layout Standard
24148 \begin_inset ERT
24149 status collapsed
24150
24151 \begin_layout Plain Layout
24152
24153
24154 \backslash
24155 FigBesBeg 
24156 \end_layout
24157
24158 \end_inset
24159
24160
24161 \end_layout
24162
24163 \begin_layout Standard
24164 \begin_inset Float figure
24165 wide false
24166 sideways false
24167 status open
24168
24169 \begin_layout Plain Layout
24170 \begin_inset Graphics
24171         filename clipart/escher-lsd.eps
24172         scale 75
24173         scaleBeforeRotation
24174
24175 \end_inset
24176
24177
24178 \end_layout
24179
24180 \begin_layout Plain Layout
24181 \begin_inset Caption
24182
24183 \begin_layout Plain Layout
24184 \begin_inset CommandInset label
24185 LatexCommand label
24186 name "fig:cap-beside-fig"
24187
24188 \end_inset
24189
24190 This is a caption beside a figure.
24191 \end_layout
24192
24193 \end_inset
24194
24195
24196 \end_layout
24197
24198 \end_inset
24199
24200
24201 \end_layout
24202
24203 \begin_layout Standard
24204 \begin_inset ERT
24205 status collapsed
24206
24207 \begin_layout Plain Layout
24208
24209
24210 \backslash
24211 TabBesBeg 
24212 \end_layout
24213
24214 \end_inset
24215
24216
24217 \end_layout
24218
24219 \begin_layout Standard
24220 \begin_inset Float table
24221 wide false
24222 sideways false
24223 status open
24224
24225 \begin_layout Plain Layout
24226 \begin_inset Caption
24227
24228 \begin_layout Plain Layout
24229 \begin_inset CommandInset label
24230 LatexCommand label
24231 name "tab:cap-beside-tab"
24232
24233 \end_inset
24234
24235 This is a caption beside a table.
24236 \end_layout
24237
24238 \end_inset
24239
24240
24241 \end_layout
24242
24243 \begin_layout Plain Layout
24244 \begin_inset Tabular
24245 <lyxtabular version="3" rows="4" columns="5">
24246 <features tabularvalignment="middle">
24247 <column alignment="center" valignment="top" width="0">
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 <row>
24253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24254 \begin_inset Text
24255
24256 \begin_layout Plain Layout
24257 a
24258 \end_layout
24259
24260 \end_inset
24261 </cell>
24262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24263 \begin_inset Text
24264
24265 \begin_layout Plain Layout
24266
24267 \end_layout
24268
24269 \end_inset
24270 </cell>
24271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24272 \begin_inset Text
24273
24274 \begin_layout Plain Layout
24275 b
24276 \end_layout
24277
24278 \end_inset
24279 </cell>
24280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24281 \begin_inset Text
24282
24283 \begin_layout Plain Layout
24284
24285 \end_layout
24286
24287 \end_inset
24288 </cell>
24289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24290 \begin_inset Text
24291
24292 \begin_layout Plain Layout
24293 c
24294 \end_layout
24295
24296 \end_inset
24297 </cell>
24298 </row>
24299 <row>
24300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24301 \begin_inset Text
24302
24303 \begin_layout Plain Layout
24304
24305 \end_layout
24306
24307 \end_inset
24308 </cell>
24309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24310 \begin_inset Text
24311
24312 \begin_layout Plain Layout
24313 d
24314 \end_layout
24315
24316 \end_inset
24317 </cell>
24318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24319 \begin_inset Text
24320
24321 \begin_layout Plain Layout
24322
24323 \end_layout
24324
24325 \end_inset
24326 </cell>
24327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24328 \begin_inset Text
24329
24330 \begin_layout Plain Layout
24331 e
24332 \end_layout
24333
24334 \end_inset
24335 </cell>
24336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24337 \begin_inset Text
24338
24339 \begin_layout Plain Layout
24340
24341 \end_layout
24342
24343 \end_inset
24344 </cell>
24345 </row>
24346 <row>
24347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24348 \begin_inset Text
24349
24350 \begin_layout Plain Layout
24351 f
24352 \end_layout
24353
24354 \end_inset
24355 </cell>
24356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24357 \begin_inset Text
24358
24359 \begin_layout Plain Layout
24360
24361 \end_layout
24362
24363 \end_inset
24364 </cell>
24365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24366 \begin_inset Text
24367
24368 \begin_layout Plain Layout
24369 g
24370 \end_layout
24371
24372 \end_inset
24373 </cell>
24374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24375 \begin_inset Text
24376
24377 \begin_layout Plain Layout
24378
24379 \end_layout
24380
24381 \end_inset
24382 </cell>
24383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24384 \begin_inset Text
24385
24386 \begin_layout Plain Layout
24387 h
24388 \end_layout
24389
24390 \end_inset
24391 </cell>
24392 </row>
24393 <row>
24394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24395 \begin_inset Text
24396
24397 \begin_layout Plain Layout
24398
24399 \end_layout
24400
24401 \end_inset
24402 </cell>
24403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24404 \begin_inset Text
24405
24406 \begin_layout Plain Layout
24407 i
24408 \end_layout
24409
24410 \end_inset
24411 </cell>
24412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24413 \begin_inset Text
24414
24415 \begin_layout Plain Layout
24416
24417 \end_layout
24418
24419 \end_inset
24420 </cell>
24421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24422 \begin_inset Text
24423
24424 \begin_layout Plain Layout
24425 j
24426 \end_layout
24427
24428 \end_inset
24429 </cell>
24430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24431 \begin_inset Text
24432
24433 \begin_layout Plain Layout
24434
24435 \end_layout
24436
24437 \end_inset
24438 </cell>
24439 </row>
24440 </lyxtabular>
24441
24442 \end_inset
24443
24444
24445 \end_layout
24446
24447 \end_inset
24448
24449
24450 \end_layout
24451
24452 \begin_layout Standard
24453 \begin_inset ERT
24454 status collapsed
24455
24456 \begin_layout Plain Layout
24457
24458
24459 \backslash
24460 TabBesEnd
24461 \end_layout
24462
24463 \end_inset
24464
24465
24466 \end_layout
24467
24468 \begin_layout Standard
24469 \begin_inset ERT
24470 status collapsed
24471
24472 \begin_layout Plain Layout
24473
24474
24475 \backslash
24476 sidecaptionvpos{figure}{c}
24477 \end_layout
24478
24479 \end_inset
24480
24481
24482 \begin_inset Float figure
24483 wide false
24484 sideways false
24485 status open
24486
24487 \begin_layout Plain Layout
24488 \begin_inset Graphics
24489         filename clipart/escher-lsd.eps
24490         scale 75
24491         scaleBeforeRotation
24492
24493 \end_inset
24494
24495
24496 \end_layout
24497
24498 \begin_layout Plain Layout
24499 \begin_inset Caption
24500
24501 \begin_layout Plain Layout
24502 \begin_inset CommandInset label
24503 LatexCommand label
24504 name "fig:cap-beside-fig-2"
24505
24506 \end_inset
24507
24508 This is a vertically centered caption beside a figure.
24509 \end_layout
24510
24511 \end_inset
24512
24513
24514 \end_layout
24515
24516 \end_inset
24517
24518
24519 \end_layout
24520
24521 \begin_layout Standard
24522 \begin_inset ERT
24523 status collapsed
24524
24525 \begin_layout Plain Layout
24526
24527
24528 \backslash
24529 FigBesEnd
24530 \end_layout
24531
24532 \end_inset
24533
24534
24535 \end_layout
24536
24537 \begin_layout Standard
24538 \begin_inset ERT
24539 status collapsed
24540
24541 \begin_layout Plain Layout
24542
24543
24544 \backslash
24545 else
24546 \end_layout
24547
24548 \end_inset
24549
24550
24551 \begin_inset Note Note
24552 status open
24553
24554 \begin_layout Plain Layout
24555 The following will be displayed when the LaTeX-package 
24556 \series bold
24557 sidecap
24558 \series default
24559  is not installed:
24560 \end_layout
24561
24562 \end_inset
24563
24564
24565 \end_layout
24566
24567 \begin_layout Standard
24568 You need to install the LaTeX-package 
24569 \series bold
24570 sidecap
24571 \series default
24572  to see the following part of this section in the output.
24573 \end_layout
24574
24575 \begin_layout Standard
24576 \begin_inset ERT
24577 status collapsed
24578
24579 \begin_layout Plain Layout
24580
24581
24582 \backslash
24583 fi
24584 \end_layout
24585
24586 \end_inset
24587
24588
24589 \end_layout
24590
24591 \begin_layout Section
24592 Listings of Floats
24593 \begin_inset Index idx
24594 status collapsed
24595
24596 \begin_layout Plain Layout
24597 Floats ! Float Lists
24598 \end_layout
24599
24600 \end_inset
24601
24602
24603 \end_layout
24604
24605 \begin_layout Standard
24606 Similar to the table of contents where the sections of the document are
24607  listed, there are listings for all float types, like the figures of the
24608  documents.
24609  You can insert them via the 
24610 \family sans
24611 Insert\SpecialChar \menuseparator
24612 List
24613 \begin_inset space ~
24614 \end_inset
24615
24616 /
24617 \begin_inset space ~
24618 \end_inset
24619
24620 TOC
24621 \family default
24622  sub menus.
24623 \end_layout
24624
24625 \begin_layout Standard
24626 The list entries are the float captions or its short title, the float number,
24627  and the page number where they appear in the document.
24628 \end_layout
24629
24630 \begin_layout Standard
24631 You can find the list of figures and tables at the end of this document.
24632 \end_layout
24633
24634 \begin_layout Chapter
24635 Notes
24636 \end_layout
24637
24638 \begin_layout Section
24639 LyX Notes
24640 \begin_inset Index idx
24641 status collapsed
24642
24643 \begin_layout Plain Layout
24644 Notes ! LyX Notes
24645 \end_layout
24646
24647 \end_inset
24648
24649
24650 \end_layout
24651
24652 \begin_layout Standard
24653 Notes are inserted with the toolbar button 
24654 \begin_inset Graphics
24655         filename ../images/note-insert.png
24656         scale 85
24657         scaleBeforeRotation
24658
24659 \end_inset
24660
24661  or the menu 
24662 \family sans
24663 Insert\SpecialChar \menuseparator
24664 Note
24665 \family default
24666 .
24667  There are three types of notes:
24668 \end_layout
24669
24670 \begin_layout Description
24671 LyX
24672 \begin_inset space ~
24673 \end_inset
24674
24675 Note This note type is for internal notes that won't appear in the output.
24676  Its note-box looks like this:
24677 \begin_inset Newline newline
24678 \end_inset
24679
24680
24681 \begin_inset Newline newline
24682 \end_inset
24683
24684
24685 \begin_inset Graphics
24686         filename clipart/LyXNoteImageQt4.png
24687         display false
24688         scale 85
24689         scaleBeforeRotation
24690
24691 \end_inset
24692
24693  
24694 \begin_inset Note Note
24695 status open
24696
24697 \begin_layout Plain Layout
24698 This is text in a note box that doesn't appear in the output.
24699 \end_layout
24700
24701 \end_inset
24702
24703
24704 \end_layout
24705
24706 \begin_layout Description
24707 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24708 ent, when you export the document to LaTeX via the menu 
24709 \family sans
24710 File\SpecialChar \menuseparator
24711 Export\SpecialChar \menuseparator
24712 LaTeX (pdflatex) / (plain)
24713 \family default
24714 .
24715  Its note-box looks like this:
24716 \begin_inset Newline newline
24717 \end_inset
24718
24719
24720 \begin_inset Newline newline
24721 \end_inset
24722
24723
24724 \begin_inset Graphics
24725         filename clipart/CommentNoteImageQt4.png
24726         display false
24727         scale 85
24728         scaleBeforeRotation
24729
24730 \end_inset
24731
24732  
24733 \begin_inset Note Comment
24734 status open
24735
24736 \begin_layout Plain Layout
24737 This is text in a note box that only appears as comment in LaTeX-files.
24738 \end_layout
24739
24740 \end_inset
24741
24742
24743 \end_layout
24744
24745 \begin_layout Description
24746 Greyed
24747 \begin_inset space ~
24748 \end_inset
24749
24750 Out This note will appear in the output as grey text.
24751  Its note-box looks like this:
24752 \begin_inset Newline newline
24753 \end_inset
24754
24755
24756 \begin_inset Newline newline
24757 \end_inset
24758
24759
24760 \begin_inset Graphics
24761         filename clipart/GreyedOutNoteImageQt4.png
24762         display false
24763         scale 85
24764         scaleBeforeRotation
24765
24766 \end_inset
24767
24768
24769 \begin_inset Newline newline
24770 \end_inset
24771
24772
24773 \begin_inset ERT
24774 status collapsed
24775
24776 \begin_layout Plain Layout
24777
24778
24779 \backslash
24780 renewenvironment{lyxgreyedout}
24781 \end_layout
24782
24783 \begin_layout Plain Layout
24784
24785 {
24786 \backslash
24787 textcolor[gray]{0.8}
24788 \backslash
24789 bgroup}{
24790 \backslash
24791 egroup}
24792 \end_layout
24793
24794 \end_inset
24795
24796
24797 \begin_inset Note Greyedout
24798 status open
24799
24800 \begin_layout Plain Layout
24801 This is text
24802 \begin_inset Foot
24803 status open
24804
24805 \begin_layout Plain Layout
24806 This is an example footnote within a greyed out note.
24807 \end_layout
24808
24809 \end_inset
24810
24811  of a comment that appears in the output as grey text.
24812 \end_layout
24813
24814 \end_inset
24815
24816
24817 \begin_inset ERT
24818 status collapsed
24819
24820 \begin_layout Plain Layout
24821
24822
24823 \backslash
24824 renewenvironment{lyxgreyedout}
24825 \end_layout
24826
24827 \begin_layout Plain Layout
24828
24829 {
24830 \backslash
24831 textcolor{blue}
24832 \backslash
24833 bgroup}{
24834 \backslash
24835 egroup}
24836 \end_layout
24837
24838 \end_inset
24839
24840
24841 \begin_inset Note Note
24842 status collapsed
24843
24844 \begin_layout Plain Layout
24845 The greyed out note is here redefined to show it with the original LyX definitio
24846 n because greyed out notes are redefined in the preamble of this document,
24847  as described below, to have blue text.
24848 \end_layout
24849
24850 \end_inset
24851
24852
24853 \begin_inset Newline newline
24854 \end_inset
24855
24856
24857 \begin_inset Newline newline
24858 \end_inset
24859
24860 As you can see in the example, the first line of greyed out notes is a bit
24861  indented and greyed out notes can have footnotes.
24862 \end_layout
24863
24864 \begin_layout Standard
24865 \begin_inset VSpace bigskip
24866 \end_inset
24867
24868 When you use the toolbar button 
24869 \begin_inset Graphics
24870         filename ../images/note-insert.png
24871         scale 85
24872         scaleBeforeRotation
24873
24874 \end_inset
24875
24876  to insert notes, a 
24877 \family sans
24878 LyX
24879 \begin_inset space ~
24880 \end_inset
24881
24882 Note
24883 \family default
24884  is inserted.
24885  You can switch between the five note types by right-clicking on the note-box.
24886  
24887 \family roman
24888 \series medium
24889 \bar no
24890 If you want to turn existing text into a note, mark it and click on the
24891  note
24892 \family default
24893 \series default
24894 \bar default
24895  toolbar 
24896 \family roman
24897 \series medium
24898 \bar no
24899 button
24900 \family default
24901 \series default
24902 \bar default
24903 .
24904  To change a note to text, press the backspace key when the cursor is in
24905  the first position of a note, or press the delete key when the cursor is
24906  in the very last position of the note, respectively.
24907 \end_layout
24908
24909 \begin_layout Standard
24910 \begin_inset VSpace bigskip
24911 \end_inset
24912
24913 You can change the text color of the greyed out notes in the preamble with
24914  the following command:
24915 \end_layout
24916
24917 \begin_layout Standard
24918
24919 \series bold
24920
24921 \backslash
24922 renewenvironment{lyxgreyedout}
24923 \begin_inset Newline newline
24924 \end_inset
24925
24926
24927 \begin_inset Phantom HPhantom
24928 status open
24929
24930 \begin_layout Plain Layout
24931
24932 \series bold
24933 \begin_inset space ~
24934 \end_inset
24935
24936
24937 \end_layout
24938
24939 \end_inset
24940
24941 {
24942 \backslash
24943 textcolor{color}
24944 \backslash
24945 bgroup}{
24946 \backslash
24947 egroup}
24948 \end_layout
24949
24950 \begin_layout Standard
24951 The available colors and the method to define colors is explained in section
24952 \begin_inset space ~
24953 \end_inset
24954
24955
24956 \begin_inset CommandInset ref
24957 LatexCommand ref
24958 reference "sec:Colored-Tables"
24959
24960 \end_inset
24961
24962 .
24963 \end_layout
24964
24965 \begin_layout Standard
24966 Notes that appear in blue in this document are set using greyed out notes
24967  with blue text.
24968 \end_layout
24969
24970 \begin_layout Section
24971 Footnotes
24972 \begin_inset CommandInset label
24973 LatexCommand label
24974 name "sec:Footnotes"
24975
24976 \end_inset
24977
24978
24979 \begin_inset Index idx
24980 status collapsed
24981
24982 \begin_layout Plain Layout
24983 Notes ! Footnotes
24984 \end_layout
24985
24986 \end_inset
24987
24988
24989 \begin_inset Index idx
24990 status collapsed
24991
24992 \begin_layout Plain Layout
24993 Footnotes
24994 \end_layout
24995
24996 \end_inset
24997
24998
24999 \end_layout
25000
25001 \begin_layout Standard
25002 Footnotes can be inserted using the toolbar button 
25003 \begin_inset Graphics
25004         filename ../images/footnote-insert.png
25005         scale 85
25006         scaleBeforeRotation
25007
25008 \end_inset
25009
25010  or the menu 
25011 \family sans
25012 Insert\SpecialChar \menuseparator
25013 Footnote
25014 \family default
25015 .
25016  
25017 \family roman
25018 \series medium
25019 \bar no
25020 You'll see
25021 \family default
25022 \series default
25023 \bar default
25024  then the following footnote-box: 
25025 \begin_inset Graphics
25026         filename clipart/footnoteQt4.png
25027         scale 80
25028         scaleBeforeRotation
25029
25030 \end_inset
25031
25032  
25033 \family roman
25034 \series medium
25035 \bar no
25036 where you can enter the footnote text.
25037  If you want to turn existing text into a footnote, mark it and click on
25038  the footnote
25039 \family default
25040 \series default
25041 \bar default
25042  toolbar 
25043 \family roman
25044 \series medium
25045 \bar no
25046 button
25047 \family default
25048 \series default
25049 \bar default
25050 .
25051  To change a 
25052 \family roman
25053 \series medium
25054 \bar no
25055 footnote
25056 \family default
25057 \series default
25058 \bar default
25059  to text, press the Backspace key when the cursor is in the first position
25060  of a 
25061 \family roman
25062 \series medium
25063 \bar no
25064 footnote
25065 \family default
25066 \series default
25067 \bar default
25068 , or press the Delete key when the cursor is in the very last position of
25069  the 
25070 \family roman
25071 \series medium
25072 \bar no
25073 footnote
25074 \family default
25075 \series default
25076 \bar default
25077 , respectively.
25078 \end_layout
25079
25080 \begin_layout Standard
25081 Here is an example footnote:
25082 \family roman
25083 \series medium
25084 \bar no
25085
25086 \begin_inset Foot
25087 status open
25088
25089 \begin_layout Plain Layout
25090 \begin_inset CommandInset label
25091 LatexCommand label
25092 name "foot:This-is-an"
25093
25094 \end_inset
25095
25096 This is an example footnote.
25097 \end_layout
25098
25099 \end_inset
25100
25101
25102 \family default
25103 \series default
25104 \bar default
25105
25106 \begin_inset ERT
25107 status collapsed
25108
25109 \begin_layout Plain Layout
25110
25111
25112 \backslash
25113 newcounter{MyRepeatFoot}
25114 \end_layout
25115
25116 \begin_layout Plain Layout
25117
25118
25119 \backslash
25120 setcounter{MyRepeatFoot}{
25121 \backslash
25122 thefootnote}
25123 \end_layout
25124
25125 \end_inset
25126
25127
25128 \end_layout
25129
25130 \begin_layout Standard
25131 The footnote will appear in the output as a superscript number at the text
25132  position where the footnote box is placed.
25133  The footnote text is placed at the bottom of the current page.
25134  The footnote number is calculated by LaTeX; the numbers are consecutive.
25135  It depends on your document-class, whether the footnote number is reset
25136  for every chapter.
25137 \end_layout
25138
25139 \begin_layout Standard
25140 Footnotes can be referenced like floats: Insert a label into the footnote
25141  and cross-reference this label in the text as described in section
25142 \begin_inset space ~
25143 \end_inset
25144
25145
25146 \begin_inset CommandInset ref
25147 LatexCommand ref
25148 reference "sec:Referencing-Floats"
25149
25150 \end_inset
25151
25152 .
25153 \begin_inset Newline newline
25154 \end_inset
25155
25156 This is a cross-reference of Footnote
25157 \begin_inset space ~
25158 \end_inset
25159
25160
25161 \begin_inset CommandInset ref
25162 LatexCommand ref
25163 reference "foot:This-is-an"
25164
25165 \end_inset
25166
25167 .
25168 \end_layout
25169
25170 \begin_layout Standard
25171 \begin_inset VSpace defskip
25172 \end_inset
25173
25174 Footnotes in tables are not printed by LaTeX due to technical reasons.
25175  However there exists another method to print them: Instead of the footnote
25176  the command 
25177 \series bold
25178
25179 \backslash
25180 footnotemark{}
25181 \series default
25182  is inserted as TeX-code.
25183  The text of the footnote is entered as an argument of the TeX-code command
25184  
25185 \series bold
25186
25187 \backslash
25188 footnotetext
25189 \series default
25190  after the table.
25191 \begin_inset Newline newline
25192 \end_inset
25193
25194 This was done for the following table with the command
25195 \end_layout
25196
25197 \begin_layout Standard
25198
25199 \series bold
25200
25201 \backslash
25202 footnotetext{
25203 \series default
25204 Printed table footnote.
25205 \series bold
25206 }
25207 \end_layout
25208
25209 \begin_layout Standard
25210 \begin_inset Tabular
25211 <lyxtabular version="3" rows="2" columns="1">
25212 <features tabularvalignment="middle">
25213 <column alignment="center" valignment="top" width="0">
25214 <row>
25215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25216 \begin_inset Text
25217
25218 \begin_layout Plain Layout
25219 This an example text.
25220 \begin_inset Foot
25221 status open
25222
25223 \begin_layout Plain Layout
25224 This footnote will not be printed!
25225 \end_layout
25226
25227 \end_inset
25228
25229
25230 \end_layout
25231
25232 \end_inset
25233 </cell>
25234 </row>
25235 <row>
25236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25237 \begin_inset Text
25238
25239 \begin_layout Plain Layout
25240 This an example text.
25241 \begin_inset ERT
25242 status collapsed
25243
25244 \begin_layout Plain Layout
25245
25246
25247 \backslash
25248 footnotemark{}
25249 \end_layout
25250
25251 \end_inset
25252
25253
25254 \end_layout
25255
25256 \end_inset
25257 </cell>
25258 </row>
25259 </lyxtabular>
25260
25261 \end_inset
25262
25263
25264 \begin_inset ERT
25265 status collapsed
25266
25267 \begin_layout Plain Layout
25268
25269
25270 \backslash
25271 footnotetext{
25272 \end_layout
25273
25274 \end_inset
25275
25276 Printed table footnote.
25277 \begin_inset ERT
25278 status collapsed
25279
25280 \begin_layout Plain Layout
25281
25282 }
25283 \end_layout
25284
25285 \end_inset
25286
25287
25288 \end_layout
25289
25290 \begin_layout Standard
25291 Footnotes in longtables are described in section
25292 \begin_inset space ~
25293 \end_inset
25294
25295
25296 \begin_inset CommandInset ref
25297 LatexCommand ref
25298 reference "sub:Footnotes-in-Longtables"
25299
25300 \end_inset
25301
25302 .
25303 \end_layout
25304
25305 \begin_layout Standard
25306 Footnotes in minipage boxes are printed, but inside the box and with a different
25307  numbering because a minipage box is like a page inside a page.
25308  (For more about minipages, see section
25309 \begin_inset space ~
25310 \end_inset
25311
25312
25313 \begin_inset CommandInset ref
25314 LatexCommand ref
25315 reference "sec:Minipages"
25316
25317 \end_inset
25318
25319 .) To get a footnote in the minipage that is output at the bottom of the
25320  page like normal footnotes, also use the method of 
25321 \series bold
25322
25323 \backslash
25324 footnotemark{}
25325 \series default
25326  and 
25327 \series bold
25328
25329 \backslash
25330 footnotetext
25331 \series default
25332 .
25333 \end_layout
25334
25335 \begin_layout Standard
25336 \begin_inset Box Frameless
25337 position "t"
25338 hor_pos "c"
25339 has_inner_box 1
25340 inner_pos "t"
25341 use_parbox 0
25342 use_makebox 0
25343 width "100col%"
25344 special "none"
25345 height "1in"
25346 height_special "totalheight"
25347 status open
25348
25349 \begin_layout Plain Layout
25350 This an example text in a minipage.
25351 \begin_inset Foot
25352 status open
25353
25354 \begin_layout Plain Layout
25355 Footnote in the minipage.
25356 \end_layout
25357
25358 \end_inset
25359
25360
25361 \end_layout
25362
25363 \begin_layout Plain Layout
25364 This an example text in a minipage.
25365 \begin_inset ERT
25366 status collapsed
25367
25368 \begin_layout Plain Layout
25369
25370
25371 \backslash
25372 footnotemark{}
25373 \end_layout
25374
25375 \end_inset
25376
25377
25378 \end_layout
25379
25380 \end_inset
25381
25382
25383 \end_layout
25384
25385 \begin_layout Standard
25386 \begin_inset ERT
25387 status collapsed
25388
25389 \begin_layout Plain Layout
25390
25391
25392 \backslash
25393 footnotetext{
25394 \end_layout
25395
25396 \end_inset
25397
25398 Footnote outside the minipage.
25399 \begin_inset ERT
25400 status collapsed
25401
25402 \begin_layout Plain Layout
25403
25404 }
25405 \end_layout
25406
25407 \end_inset
25408
25409
25410 \end_layout
25411
25412 \begin_layout Standard
25413 \begin_inset VSpace defskip
25414 \end_inset
25415
25416
25417 \end_layout
25418
25419 \begin_layout Standard
25420 To refer to the same footnote several times without printing the footnote
25421  text every time, use the command 
25422 \series bold
25423
25424 \backslash
25425 footnotemark[number]
25426 \series default
25427  in TeX-code.
25428 \begin_inset Newline newline
25429 \end_inset
25430
25431 As you do not know the number of the repeating footnote while you are writing
25432  the text, you have to store its number.
25433  For the following footnote mark example, these commands were inserted in
25434  TeX-code after Footnote
25435 \begin_inset space ~
25436 \end_inset
25437
25438
25439 \begin_inset CommandInset ref
25440 LatexCommand ref
25441 reference "foot:This-is-an"
25442
25443 \end_inset
25444
25445  to store the footnote number:
25446 \end_layout
25447
25448 \begin_layout Standard
25449
25450 \series bold
25451
25452 \backslash
25453 newcounter{MyRepeatFoot}
25454 \begin_inset Newline newline
25455 \end_inset
25456
25457
25458 \backslash
25459 setcounter{MyRepeatFoot}{
25460 \backslash
25461 thefootnote}
25462 \end_layout
25463
25464 \begin_layout Standard
25465 The footnote mark was then created with this command:
25466 \end_layout
25467
25468 \begin_layout Standard
25469
25470 \series bold
25471
25472 \backslash
25473 footnotemark[
25474 \backslash
25475 theMyRepeatFoot]
25476 \end_layout
25477
25478 \begin_layout Standard
25479 Here is a repeated footnote:
25480 \family roman
25481 \series medium
25482 \bar no
25483
25484 \begin_inset ERT
25485 status collapsed
25486
25487 \begin_layout Plain Layout
25488
25489
25490 \backslash
25491 footnotemark[
25492 \backslash
25493 theMyRepeatFoot]
25494 \end_layout
25495
25496 \end_inset
25497
25498
25499 \end_layout
25500
25501 \begin_layout Standard
25502 If you want to repeat the previous footnote, you can omit the storage of
25503  the footnote number and just use this command instead:
25504 \end_layout
25505
25506 \begin_layout Standard
25507
25508 \series bold
25509
25510 \backslash
25511 footnotemark[
25512 \backslash
25513 thefootnote]
25514 \end_layout
25515
25516 \begin_layout Standard
25517 Here is another repeated footnote:
25518 \family roman
25519 \series medium
25520 \bar no
25521
25522 \begin_inset ERT
25523 status collapsed
25524
25525 \begin_layout Plain Layout
25526
25527
25528 \backslash
25529 footnotemark[
25530 \backslash
25531 thefootnote]
25532 \end_layout
25533
25534 \end_inset
25535
25536
25537 \end_layout
25538
25539 \begin_layout Subsection
25540 Footnote Numbering
25541 \begin_inset CommandInset label
25542 LatexCommand label
25543 name "sub:Footnote-Numbering"
25544
25545 \end_inset
25546
25547
25548 \begin_inset Index idx
25549 status collapsed
25550
25551 \begin_layout Plain Layout
25552 Footnotes ! Numbering
25553 \end_layout
25554
25555 \end_inset
25556
25557
25558 \end_layout
25559
25560 \begin_layout Standard
25561 To reset the footnote number back to 1 after each section
25562 \family roman
25563 , add this command to your document preamble:
25564 \end_layout
25565
25566 \begin_layout Standard
25567
25568 \series bold
25569
25570 \backslash
25571 @addtoreset{footnote}{section}
25572 \end_layout
25573
25574 \begin_layout Standard
25575 \begin_inset VSpace bigskip
25576 \end_inset
25577
25578 The following preamble command changes the footnote numbering style to small
25579  roman numerals:
25580 \end_layout
25581
25582 \begin_layout Standard
25583
25584 \series bold
25585
25586 \backslash
25587 renewcommand{
25588 \backslash
25589 thefootnote}{
25590 \backslash
25591 roman{footnote}}
25592 \end_layout
25593
25594 \begin_layout Standard
25595 \begin_inset ERT
25596 status collapsed
25597
25598 \begin_layout Plain Layout
25599
25600
25601 \backslash
25602 renewcommand{
25603 \backslash
25604 thefootnote}{
25605 \backslash
25606 roman{footnote}}
25607 \end_layout
25608
25609 \end_inset
25610
25611  This is a footnote with roman numbering:
25612 \begin_inset Foot
25613 status open
25614
25615 \begin_layout Plain Layout
25616 This is an example footnote with roman numbering.
25617 \end_layout
25618
25619 \end_inset
25620
25621
25622 \end_layout
25623
25624 \begin_layout Standard
25625 To change the numbering style to capital roman numerals replace in the command
25626  above 
25627 \series bold
25628
25629 \backslash
25630 roman
25631 \series default
25632  by 
25633 \series bold
25634
25635 \backslash
25636 Roman
25637 \series default
25638 .
25639  To 
25640 \begin_inset Quotes eld
25641 \end_inset
25642
25643 number
25644 \begin_inset Quotes erd
25645 \end_inset
25646
25647  footnotes with capital or small Latin letters use 
25648 \series bold
25649
25650 \backslash
25651 Alph
25652 \series default
25653  or 
25654 \series bold
25655
25656 \backslash
25657 alph
25658 \series default
25659 , respectively.
25660  To 
25661 \begin_inset Quotes eld
25662 \end_inset
25663
25664 number
25665 \begin_inset Quotes erd
25666 \end_inset
25667
25668  footnotes with symbols use 
25669 \series bold
25670
25671 \backslash
25672 fnsymbol
25673 \series default
25674 .
25675 \end_layout
25676
25677 \begin_layout Standard
25678 \begin_inset Note Greyedout
25679 status open
25680
25681 \begin_layout Plain Layout
25682
25683 \series bold
25684 Note:
25685 \series default
25686  You can only number 26 footnotes with Latin letters, because this numbering
25687  is limited to single letters.
25688 \end_layout
25689
25690 \end_inset
25691
25692
25693 \begin_inset Newline newline
25694 \end_inset
25695
25696
25697 \begin_inset Note Greyedout
25698 status open
25699
25700 \begin_layout Plain Layout
25701
25702 \series bold
25703 Note:
25704 \series default
25705  You can only number 9 footnotes with symbols.
25706 \end_layout
25707
25708 \end_inset
25709
25710
25711 \end_layout
25712
25713 \begin_layout Standard
25714 To return to the default numbering style after you have changed to another
25715  one, use 
25716 \series bold
25717
25718 \backslash
25719 arabic
25720 \series default
25721  instead of 
25722 \series bold
25723
25724 \backslash
25725 roman
25726 \series default
25727  in the command above.
25728 \begin_inset ERT
25729 status collapsed
25730
25731 \begin_layout Plain Layout
25732
25733
25734 \backslash
25735 renewcommand{
25736 \backslash
25737 thefootnote}{
25738 \backslash
25739 arabic{footnote}}
25740 \end_layout
25741
25742 \end_inset
25743
25744
25745 \end_layout
25746
25747 \begin_layout Standard
25748 \begin_inset VSpace bigskip
25749 \end_inset
25750
25751
25752 \end_layout
25753
25754 \begin_layout Standard
25755 If you want to have footnotes numbered in the scheme 
25756 \begin_inset Quotes eld
25757 \end_inset
25758
25759 chapter.footnote
25760 \begin_inset Quotes erd
25761 \end_inset
25762
25763 , add the following command to your document preamble:
25764 \end_layout
25765
25766 \begin_layout Standard
25767
25768 \series bold
25769
25770 \backslash
25771 numberwithin{footnote}{chapter}
25772 \end_layout
25773
25774 \begin_layout Standard
25775 To be able to use the command 
25776 \series bold
25777
25778 \backslash
25779 numberwithin
25780 \series default
25781 , set in the tab 
25782 \family sans
25783 Math
25784 \begin_inset space ~
25785 \end_inset
25786
25787 Options
25788 \family default
25789  in the document settings the option 
25790 \family sans
25791 Use
25792 \begin_inset space ~
25793 \end_inset
25794
25795 AMS
25796 \begin_inset space ~
25797 \end_inset
25798
25799 math
25800 \begin_inset space ~
25801 \end_inset
25802
25803 package
25804 \family default
25805 .
25806 \end_layout
25807
25808 \begin_layout Standard
25809 \begin_inset ERT
25810 status collapsed
25811
25812 \begin_layout Plain Layout
25813
25814
25815 \backslash
25816 numberwithin{footnote}{chapter}
25817 \end_layout
25818
25819 \end_inset
25820
25821 This is another example footnote:
25822 \series bold
25823
25824 \begin_inset Foot
25825 status open
25826
25827 \begin_layout Plain Layout
25828 This is a footnote numbered in the scheme 
25829 \begin_inset Quotes eld
25830 \end_inset
25831
25832 chapter.footnote
25833 \begin_inset Quotes erd
25834 \end_inset
25835
25836 .
25837 \end_layout
25838
25839 \end_inset
25840
25841
25842 \series default
25843
25844 \begin_inset ERT
25845 status collapsed
25846
25847 \begin_layout Plain Layout
25848
25849
25850 \backslash
25851 renewcommand{
25852 \backslash
25853 thefootnote}{
25854 \backslash
25855 arabic{footnote}}
25856 \end_layout
25857
25858 \end_inset
25859
25860
25861 \end_layout
25862
25863 \begin_layout Standard
25864 \begin_inset Note Greyedout
25865 status open
25866
25867 \begin_layout Plain Layout
25868
25869 \series bold
25870 Note:
25871 \series default
25872  
25873 \series bold
25874
25875 \backslash
25876 numberwithin
25877 \series default
25878  always prints out the footnote number as arabic number; previous redefinitions
25879  to get non-arabic numbers are overwritten.
25880 \end_layout
25881
25882 \end_inset
25883
25884
25885 \end_layout
25886
25887 \begin_layout Standard
25888 So to get for example the scheme 
25889 \begin_inset Quotes eld
25890 \end_inset
25891
25892 chapter.
25893 \backslash
25894 Roman{footnote}
25895 \begin_inset Quotes erd
25896 \end_inset
25897
25898 , use this command instead of 
25899 \series bold
25900
25901 \backslash
25902 numberwithin
25903 \series default
25904 :
25905 \end_layout
25906
25907 \begin_layout Standard
25908
25909 \series bold
25910
25911 \backslash
25912 renewcommand{
25913 \backslash
25914 thefootnote}{
25915 \backslash
25916 thechapter.
25917 \backslash
25918 Roman{footnote}}
25919 \end_layout
25920
25921 \begin_layout Subsection
25922 Footnote Placement
25923 \begin_inset Index idx
25924 status collapsed
25925
25926 \begin_layout Plain Layout
25927 Footnotes ! Placement
25928 \end_layout
25929
25930 \end_inset
25931
25932
25933 \end_layout
25934
25935 \begin_layout Standard
25936 If you have several footnotes in one page, they appear without vertical
25937  space between them at the bottom of the page.
25938  To make them more readable you can e.
25939 \begin_inset space \thinspace{}
25940 \end_inset
25941
25942 g.
25943 \begin_inset space \space{}
25944 \end_inset
25945
25946 add 1.5
25947 \begin_inset space \thinspace{}
25948 \end_inset
25949
25950 mm space with the following preamble command:
25951 \end_layout
25952
25953 \begin_layout Standard
25954
25955 \series bold
25956
25957 \backslash
25958 let
25959 \backslash
25960 myFoot
25961 \backslash
25962 footnote
25963 \begin_inset Newline newline
25964 \end_inset
25965
25966
25967 \backslash
25968 renewcommand{
25969 \backslash
25970 footnote}[1]{
25971 \backslash
25972 myFoot{#1
25973 \backslash
25974 vspace{1.5mm}}}
25975 \end_layout
25976
25977 \begin_layout Standard
25978 \begin_inset VSpace bigskip
25979 \end_inset
25980
25981 In a two-column document the footnotes appear at the bottom of every column,
25982  see Figure
25983 \begin_inset space ~
25984 \end_inset
25985
25986
25987 \begin_inset CommandInset ref
25988 LatexCommand ref
25989 reference "fig:Standard-footnote-placement"
25990
25991 \end_inset
25992
25993 .
25994  If the footnotes should only appear at the bottom of the right column,
25995  as in Figure
25996 \begin_inset space ~
25997 \end_inset
25998
25999
26000 \begin_inset CommandInset ref
26001 LatexCommand ref
26002 reference "fig:Footnote-placement-in"
26003
26004 \end_inset
26005
26006 , use the LaTeX-package 
26007 \series bold
26008 ftnright
26009 \series default
26010
26011 \begin_inset Index idx
26012 status collapsed
26013
26014 \begin_layout Plain Layout
26015 LaTeX-packages ! ftnright
26016 \end_layout
26017
26018 \end_inset
26019
26020  with this command in the document preamble:
26021 \end_layout
26022
26023 \begin_layout Standard
26024
26025 \series bold
26026
26027 \backslash
26028 usepackage{ftnright}
26029 \end_layout
26030
26031 \begin_layout Standard
26032 \begin_inset Float figure
26033 placement !h
26034 wide false
26035 sideways false
26036 status open
26037
26038 \begin_layout Plain Layout
26039 \begin_inset ERT
26040 status collapsed
26041
26042 \begin_layout Plain Layout
26043
26044
26045 \backslash
26046 framebox{
26047 \end_layout
26048
26049 \end_inset
26050
26051
26052 \begin_inset Graphics
26053         filename clipart/without_fntright.pdf
26054         width 100col%
26055         scaleBeforeRotation
26056
26057 \end_inset
26058
26059
26060 \begin_inset ERT
26061 status collapsed
26062
26063 \begin_layout Plain Layout
26064
26065 }
26066 \end_layout
26067
26068 \end_inset
26069
26070
26071 \end_layout
26072
26073 \begin_layout Plain Layout
26074 \begin_inset Caption
26075
26076 \begin_layout Plain Layout
26077 \begin_inset CommandInset label
26078 LatexCommand label
26079 name "fig:Standard-footnote-placement"
26080
26081 \end_inset
26082
26083 Standard footnote placement in two-column documents.
26084 \end_layout
26085
26086 \end_inset
26087
26088
26089 \end_layout
26090
26091 \end_inset
26092
26093
26094 \end_layout
26095
26096 \begin_layout Standard
26097 \begin_inset Float figure
26098 placement !h
26099 wide false
26100 sideways false
26101 status open
26102
26103 \begin_layout Plain Layout
26104 \begin_inset ERT
26105 status collapsed
26106
26107 \begin_layout Plain Layout
26108
26109
26110 \backslash
26111 framebox{
26112 \end_layout
26113
26114 \end_inset
26115
26116
26117 \begin_inset Graphics
26118         filename clipart/with_fntright.pdf
26119         width 100col%
26120         scaleBeforeRotation
26121
26122 \end_inset
26123
26124
26125 \begin_inset ERT
26126 status collapsed
26127
26128 \begin_layout Plain Layout
26129
26130 }
26131 \end_layout
26132
26133 \end_inset
26134
26135
26136 \end_layout
26137
26138 \begin_layout Plain Layout
26139 \begin_inset Caption
26140
26141 \begin_layout Plain Layout
26142 \begin_inset CommandInset label
26143 LatexCommand label
26144 name "fig:Footnote-placement-in"
26145
26146 \end_inset
26147
26148 Footnote placement in two-column documents when the LaTeX-package 
26149 \series bold
26150 ftnright
26151 \series default
26152  is used.
26153 \end_layout
26154
26155 \end_inset
26156
26157
26158 \end_layout
26159
26160 \end_inset
26161
26162
26163 \end_layout
26164
26165 \begin_layout Standard
26166 \begin_inset VSpace bigskip
26167 \end_inset
26168
26169 In some scientific literature it is usual to collect the footnotes and print
26170  them in a separate paragraph at the end of a section, as in Figure
26171 \begin_inset space ~
26172 \end_inset
26173
26174
26175 \begin_inset CommandInset ref
26176 LatexCommand ref
26177 reference "fig:Endnotes"
26178
26179 \end_inset
26180
26181 .
26182  They are then called 
26183 \begin_inset Quotes eld
26184 \end_inset
26185
26186 endnotes
26187 \begin_inset Quotes erd
26188 \end_inset
26189
26190 .
26191 \begin_inset Index idx
26192 status collapsed
26193
26194 \begin_layout Plain Layout
26195 Endnotes
26196 \end_layout
26197
26198 \end_inset
26199
26200  To use endnotes instead of footnotes in your document, load in the menu
26201  
26202 \family sans
26203 Document\SpecialChar \menuseparator
26204 Settings\SpecialChar \menuseparator
26205 Modules 
26206 \family default
26207 the module 
26208 \family sans
26209 Foot
26210 \begin_inset space ~
26211 \end_inset
26212
26213 to
26214 \begin_inset space ~
26215 \end_inset
26216
26217 End
26218 \family default
26219 .
26220  To insert the collected footnotes, insert the command
26221 \end_layout
26222
26223 \begin_layout Standard
26224
26225 \series bold
26226
26227 \backslash
26228 theendnotes
26229 \end_layout
26230
26231 \begin_layout Standard
26232 in TeX-Code at the end of a section or chapter.
26233 \end_layout
26234
26235 \begin_layout Standard
26236 \begin_inset Float figure
26237 wide false
26238 sideways false
26239 status open
26240
26241 \begin_layout Plain Layout
26242 \align center
26243 \begin_inset ERT
26244 status collapsed
26245
26246 \begin_layout Plain Layout
26247
26248
26249 \backslash
26250 framebox{
26251 \end_layout
26252
26253 \end_inset
26254
26255
26256 \begin_inset Graphics
26257         filename clipart/endnotes.pdf
26258         scaleBeforeRotation
26259
26260 \end_inset
26261
26262
26263 \begin_inset ERT
26264 status collapsed
26265
26266 \begin_layout Plain Layout
26267
26268 }
26269 \end_layout
26270
26271 \end_inset
26272
26273
26274 \end_layout
26275
26276 \begin_layout Plain Layout
26277 \begin_inset Caption
26278
26279 \begin_layout Plain Layout
26280 \begin_inset CommandInset label
26281 LatexCommand label
26282 name "fig:Endnotes"
26283
26284 \end_inset
26285
26286 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
26287  or chapters.
26288 \end_layout
26289
26290 \end_inset
26291
26292
26293 \end_layout
26294
26295 \end_inset
26296
26297
26298 \end_layout
26299
26300 \begin_layout Standard
26301 \begin_inset VSpace medskip
26302 \end_inset
26303
26304 The paragraph heading for the endnotes isn't automatically translated into
26305  the document language, this must be done manually.
26306  The following preamble command translates the default English 
26307 \begin_inset Quotes eld
26308 \end_inset
26309
26310 Notes
26311 \begin_inset Quotes erd
26312 \end_inset
26313
26314  into the German 
26315 \begin_inset Quotes eld
26316 \end_inset
26317
26318 Anmerkungen
26319 \begin_inset Quotes erd
26320 \end_inset
26321
26322 :
26323 \end_layout
26324
26325 \begin_layout Standard
26326
26327 \series bold
26328
26329 \backslash
26330 renewcommand{
26331 \backslash
26332 notesname}{Anmerkungen}
26333 \end_layout
26334
26335 \begin_layout Standard
26336 \begin_inset VSpace medskip
26337 \end_inset
26338
26339 The numbering of endnotes can be changed like the footnote numbering as
26340  described in section
26341 \begin_inset space ~
26342 \end_inset
26343
26344
26345 \begin_inset CommandInset ref
26346 LatexCommand ref
26347 reference "sub:Footnote-Numbering"
26348
26349 \end_inset
26350
26351 ; just replace the command 
26352 \series bold
26353
26354 \backslash
26355 thefootnote
26356 \series default
26357  by 
26358 \series bold
26359
26360 \backslash
26361 theendnote
26362 \series default
26363 .
26364  To reset the endnote number use the command 
26365 \series bold
26366
26367 \backslash
26368 @addtoreset
26369 \series default
26370  as described in section
26371 \begin_inset space ~
26372 \end_inset
26373
26374
26375 \begin_inset CommandInset ref
26376 LatexCommand ref
26377 reference "sub:Footnote-Numbering"
26378
26379 \end_inset
26380
26381  and replace the command parameter 
26382 \series bold
26383 footnote
26384 \series default
26385  by 
26386 \series bold
26387 endnote
26388 \series default
26389 .
26390 \end_layout
26391
26392 \begin_layout Standard
26393 For endnotes there is the command 
26394 \series bold
26395
26396 \backslash
26397 endnotemark[number]
26398 \series default
26399  similar to the command 
26400 \series bold
26401
26402 \backslash
26403 footnotemark
26404 \series default
26405 , that is described in section
26406 \begin_inset space ~
26407 \end_inset
26408
26409
26410 \begin_inset CommandInset ref
26411 LatexCommand ref
26412 reference "sec:Footnotes"
26413
26414 \end_inset
26415
26416 .
26417 \end_layout
26418
26419 \begin_layout Standard
26420 \begin_inset VSpace bigskip
26421 \end_inset
26422
26423 Footnotes can also be placed in the page margin and the footnote text alignment
26424  can be changed, see the LaTeX-package 
26425 \series bold
26426 footmisc
26427 \series default
26428
26429 \begin_inset Index idx
26430 status collapsed
26431
26432 \begin_layout Plain Layout
26433 LaTeX-packages ! footmisc
26434 \end_layout
26435
26436 \end_inset
26437
26438
26439 \begin_inset CommandInset citation
26440 LatexCommand cite
26441 key "footmisc"
26442
26443 \end_inset
26444
26445  for more information about this.
26446 \end_layout
26447
26448 \begin_layout Standard
26449 For various further footnote formatting issues have a look at LaTeX-books,
26450  
26451 \begin_inset CommandInset citation
26452 LatexCommand cite
26453 key "latexcompanion,latexguide,latexbook"
26454
26455 \end_inset
26456
26457 .
26458 \end_layout
26459
26460 \begin_layout Section
26461 Margin Notes
26462 \begin_inset Index idx
26463 status collapsed
26464
26465 \begin_layout Plain Layout
26466 Notes ! Margin Notes
26467 \end_layout
26468
26469 \end_inset
26470
26471
26472 \end_layout
26473
26474 \begin_layout Standard
26475 Margin notes look and behave in LyX like footnotes.
26476  They are inserted via the menu 
26477 \family sans
26478 Insert\SpecialChar \menuseparator
26479 Marginal
26480 \begin_inset space ~
26481 \end_inset
26482
26483 Note
26484 \family default
26485  or the toolbar button 
26486 \begin_inset Graphics
26487         filename ../images/marginalnote-insert.png
26488         scale 85
26489         scaleBeforeRotation
26490
26491 \end_inset
26492
26493 .
26494  A grey 
26495 \family roman
26496 \series medium
26497 box with the
26498 \family default
26499 \series default
26500  red 
26501 \family roman
26502 \series medium
26503 label 
26504 \begin_inset Quotes eld
26505 \end_inset
26506
26507 margin
26508 \begin_inset Quotes erd
26509 \end_inset
26510
26511  appears where you can enter the text of the margin note.
26512 \end_layout
26513
26514 \begin_layout Standard
26515 At the side is an example margin note.
26516
26517 \family roman
26518 \series medium
26519  
26520 \begin_inset Marginal
26521 status open
26522
26523 \begin_layout Plain Layout
26524 This is a margin note.
26525 \end_layout
26526
26527 \end_inset
26528
26529
26530 \end_layout
26531
26532 \begin_layout Standard
26533 Margin notes appear at the right side in single-sided documents.
26534  In double-sided documents they appear in the outer margin â€“ left on even
26535  pages, right on odd pages.
26536  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
26537 d when the note appears in the left margin.
26538  The first line of the margin note is placed at the position of the text
26539  line where it is inserted in the document.
26540 \end_layout
26541
26542 \begin_layout Standard
26543 \begin_inset VSpace bigskip
26544 \end_inset
26545
26546 To place the margin note in the inner margin, add the command
26547 \end_layout
26548
26549 \begin_layout Standard
26550
26551 \series bold
26552
26553 \backslash
26554 reversemarginpar
26555 \end_layout
26556
26557 \begin_layout Standard
26558 in TeX-Code before a margin note.
26559  The new placement is valid for all subsequent margin notes.
26560  
26561 \begin_inset ERT
26562 status collapsed
26563
26564 \begin_layout Plain Layout
26565
26566
26567 \backslash
26568 reversemarginpar 
26569 \end_layout
26570
26571 \end_inset
26572
26573
26574 \begin_inset Marginal
26575 status open
26576
26577 \begin_layout Plain Layout
26578 This is a margin note in the inner margin.
26579 \end_layout
26580
26581 \end_inset
26582
26583
26584 \series bold
26585
26586 \begin_inset Newline newline
26587 \end_inset
26588
26589
26590 \series default
26591
26592 \begin_inset Note Greyedout
26593 status open
26594
26595 \begin_layout Plain Layout
26596
26597 \series bold
26598 Note:
26599 \series default
26600  There is often not enough space in the inner margin so that the notes are
26601  not correctly displayed in the output.
26602 \end_layout
26603
26604 \end_inset
26605
26606
26607 \end_layout
26608
26609 \begin_layout Standard
26610 To return to the default placement insert the command
26611 \end_layout
26612
26613 \begin_layout Standard
26614
26615 \series bold
26616
26617 \backslash
26618 normalmarginpar
26619 \end_layout
26620
26621 \begin_layout Standard
26622 in TeX-Code.
26623 \begin_inset ERT
26624 status collapsed
26625
26626 \begin_layout Plain Layout
26627
26628
26629 \backslash
26630 normalmarginpar 
26631 \end_layout
26632
26633 \end_inset
26634
26635  
26636 \begin_inset Note Greyedout
26637 status open
26638
26639 \begin_layout Plain Layout
26640
26641 \series bold
26642 Note:
26643 \series default
26644  The command is ignored when it is within a paragraph where also the command
26645  
26646 \series bold
26647
26648 \backslash
26649 reversemarginpar
26650 \series default
26651  is inserted.
26652 \end_layout
26653
26654 \end_inset
26655
26656
26657 \end_layout
26658
26659 \begin_layout Standard
26660 \begin_inset VSpace bigskip
26661 \end_inset
26662
26663
26664 \family roman
26665 \series medium
26666
26667 \begin_inset Marginal
26668 status open
26669
26670 \begin_layout Plain Layout
26671 AVeryLongMarginParWord that isn't hyphenated.
26672 \end_layout
26673
26674 \end_inset
26675
26676
26677 \family default
26678 \series default
26679  Similar to the case described in section
26680 \begin_inset space ~
26681 \end_inset
26682
26683
26684 \begin_inset CommandInset ref
26685 LatexCommand ref
26686 reference "sub:Multiple-Lines-in"
26687
26688 \end_inset
26689
26690 , long words cannot be hyphenated when they are the first word in a margin
26691  note.
26692  To avoid this, insert 0
26693 \begin_inset space \thinspace{}
26694 \end_inset
26695
26696 pt horizontal space before the word
26697 \family roman
26698 \series medium
26699 .
26700  
26701 \begin_inset Marginal
26702 status open
26703
26704 \begin_layout Plain Layout
26705 \begin_inset space \hspace*{}
26706 \length 0pt
26707 \end_inset
26708
26709 AVeryLongMarginParWord that is hyphenated.
26710 \end_layout
26711
26712 \end_inset
26713
26714
26715 \end_layout
26716
26717 \begin_layout Standard
26718 \begin_inset VSpace bigskip
26719 \end_inset
26720
26721
26722 \end_layout
26723
26724 \begin_layout Standard
26725 \begin_inset Note Greyedout
26726 status open
26727
26728 \begin_layout Plain Layout
26729
26730 \series bold
26731 Note:
26732 \series default
26733  Margin notes can normally not be used inside tables, floats, and footnotes.
26734 \end_layout
26735
26736 \end_inset
26737
26738
26739 \end_layout
26740
26741 \begin_layout Standard
26742 \begin_inset VSpace bigskip
26743 \end_inset
26744
26745
26746 \end_layout
26747
26748 \begin_layout Standard
26749 \begin_inset ERT
26750 status collapsed
26751
26752 \begin_layout Plain Layout
26753
26754
26755 \backslash
26756 ifmarginnote
26757 \end_layout
26758
26759 \end_inset
26760
26761
26762 \begin_inset Note Note
26763 status open
26764
26765 \begin_layout Plain Layout
26766 The following section will only be displayed when the LaTeX-package 
26767 \series bold
26768 marginnote
26769 \series default
26770  is installed.
26771 \end_layout
26772
26773 \end_inset
26774
26775
26776 \end_layout
26777
26778 \begin_layout Standard
26779 This restriction can be evaded by using the LaTeX-package 
26780 \series bold
26781 marginnote
26782 \series default
26783
26784 \begin_inset Index idx
26785 status collapsed
26786
26787 \begin_layout Plain Layout
26788 LaTeX-packages ! marginnote
26789 \end_layout
26790
26791 \end_inset
26792
26793 .
26794  By adding these two lines to your document preamble, the command used by
26795  LyX for margin notes is redefined to use the command provided by the 
26796 \series bold
26797 marginnote
26798 \series default
26799 -package:
26800 \end_layout
26801
26802 \begin_layout Standard
26803
26804 \series bold
26805
26806 \backslash
26807 usepackage{marginnote}
26808 \begin_inset Newline newline
26809 \end_inset
26810
26811
26812 \backslash
26813 let
26814 \backslash
26815 marginpar
26816 \backslash
26817 marginnote
26818 \end_layout
26819
26820 \begin_layout Standard
26821 This is also used in this document because 
26822 \series bold
26823 marginnote
26824 \series default
26825  has another useful feature: You can set a vertical offset for the note.
26826  This is often needed when too many margin notes are too close together
26827  or for a better page layout.
26828  The offset is set in LyX as TeX-Code directly after the margin note in
26829  the scheme
26830 \end_layout
26831
26832 \begin_layout Standard
26833
26834 \series bold
26835 [offset]
26836 \end_layout
26837
26838 \begin_layout Standard
26839 where the offset is a length with one of the units listed in Table
26840 \begin_inset space ~
26841 \end_inset
26842
26843
26844 \begin_inset CommandInset ref
26845 LatexCommand ref
26846 reference "tab:Units"
26847
26848 \end_inset
26849
26850 .
26851  A negative value shifts the note up, a positive value shifts it down.
26852  
26853 \family roman
26854 \series medium
26855 For example the margin note beside this text line is shifted up 1.5
26856 \begin_inset space \thinspace{}
26857 \end_inset
26858
26859 cm with the TeX-Code-command 
26860 \begin_inset Quotes eld
26861 \end_inset
26862
26863
26864 \family default
26865 \series bold
26866 [-1.5cm]
26867 \family roman
26868 \series medium
26869
26870 \begin_inset Quotes erd
26871 \end_inset
26872
26873
26874 \begin_inset Marginal
26875 status open
26876
26877 \begin_layout Plain Layout
26878 This margin note is shifted up 1.5
26879 \begin_inset space \thinspace{}
26880 \end_inset
26881
26882 cm from its original position.
26883 \end_layout
26884
26885 \end_inset
26886
26887
26888 \family default
26889 \series default
26890
26891 \begin_inset ERT
26892 status collapsed
26893
26894 \begin_layout Plain Layout
26895
26896 [-1.5cm]
26897 \end_layout
26898
26899 \end_inset
26900
26901
26902 \end_layout
26903
26904 \begin_layout Standard
26905 \begin_inset VSpace medskip
26906 \end_inset
26907
26908 With 
26909 \series bold
26910 marginnote
26911 \series default
26912  you can also change the alignment of the text in the margin note.
26913  For example the commands
26914 \end_layout
26915
26916 \begin_layout Standard
26917
26918 \series bold
26919
26920 \backslash
26921 renewcommand*{
26922 \backslash
26923 raggedleftmarginnote}{
26924 \backslash
26925 centering}
26926 \begin_inset Newline newline
26927 \end_inset
26928
26929
26930 \backslash
26931 renewcommand*{
26932 \backslash
26933 raggedrightmarginnote}{
26934 \backslash
26935 centering}
26936 \end_layout
26937
26938 \begin_layout Standard
26939 set the alignment to centered.
26940  
26941 \series bold
26942
26943 \backslash
26944 raggedleftmarginnote
26945 \series default
26946  denotes margin notes that appear at the left side.
26947 \family roman
26948 \series medium
26949
26950 \begin_inset ERT
26951 status collapsed
26952
26953 \begin_layout Plain Layout
26954
26955
26956 \backslash
26957 renewcommand*{
26958 \backslash
26959 raggedleftmarginnote}{
26960 \backslash
26961 centering}
26962 \end_layout
26963
26964 \begin_layout Plain Layout
26965
26966
26967 \backslash
26968 renewcommand*{
26969 \backslash
26970 raggedrightmarginnote}{
26971 \backslash
26972 centering}
26973 \end_layout
26974
26975 \end_inset
26976
26977
26978 \begin_inset Marginal
26979 status open
26980
26981 \begin_layout Plain Layout
26982 The text of this margin note is centered.
26983 \end_layout
26984
26985 \end_inset
26986
26987
26988 \family default
26989 \series default
26990  The default is
26991 \end_layout
26992
26993 \begin_layout Standard
26994
26995 \series bold
26996
26997 \backslash
26998 renewcommand*{
26999 \backslash
27000 raggedleftmarginnote}{
27001 \backslash
27002 raggedleft}
27003 \begin_inset Newline newline
27004 \end_inset
27005
27006
27007 \backslash
27008 renewcommand*{
27009 \backslash
27010 raggedrightmarginnote}{
27011 \backslash
27012 raggedright}
27013 \family roman
27014 \series medium
27015
27016 \begin_inset ERT
27017 status collapsed
27018
27019 \begin_layout Plain Layout
27020
27021
27022 \backslash
27023 renewcommand*{
27024 \backslash
27025 raggedleftmarginnote}{
27026 \backslash
27027 raggedleft}
27028 \end_layout
27029
27030 \begin_layout Plain Layout
27031
27032
27033 \backslash
27034 renewcommand*{
27035 \backslash
27036 raggedrightmarginnote}{
27037 \backslash
27038 raggedright}
27039 \end_layout
27040
27041 \end_inset
27042
27043
27044 \end_layout
27045
27046 \begin_layout Standard
27047 \begin_inset VSpace medskip
27048 \end_inset
27049
27050 For the other features of 
27051 \series bold
27052 marginnote
27053 \series default
27054  refer to its documentation 
27055 \begin_inset CommandInset citation
27056 LatexCommand cite
27057 key "marginnote"
27058
27059 \end_inset
27060
27061 .
27062 \end_layout
27063
27064 \begin_layout Standard
27065 \begin_inset VSpace bigskip
27066 \end_inset
27067
27068 You can adjust the layout of margin notes by changing its definition.
27069  To create for example a header for all margin notes with the underlined,
27070  sans-serif, and bold header text 
27071 \begin_inset Quotes eld
27072 \end_inset
27073
27074
27075 \family sans
27076 \series bold
27077 \bar under
27078 Attention!
27079 \family default
27080 \series default
27081 \bar default
27082
27083 \begin_inset Quotes erd
27084 \end_inset
27085
27086 , add this to your document preamble:
27087 \end_layout
27088
27089 \begin_layout Standard
27090
27091 \series bold
27092
27093 \backslash
27094 let
27095 \backslash
27096 myMarginpar
27097 \backslash
27098 marginpar
27099 \begin_inset Newline newline
27100 \end_inset
27101
27102
27103 \backslash
27104 renewcommand{
27105 \backslash
27106 marginpar}[1]{
27107 \backslash
27108 myMarginpar{%
27109 \begin_inset Newline newline
27110 \end_inset
27111
27112
27113 \begin_inset Phantom HPhantom
27114 status open
27115
27116 \begin_layout Plain Layout
27117
27118 \series bold
27119 \begin_inset space ~
27120 \end_inset
27121
27122
27123 \end_layout
27124
27125 \end_inset
27126
27127
27128 \backslash
27129 hspace{0pt}
27130 \backslash
27131 textsf{
27132 \backslash
27133 textbf{
27134 \backslash
27135 underbar{Attention!}}}%
27136 \begin_inset Newline newline
27137 \end_inset
27138
27139
27140 \begin_inset Phantom HPhantom
27141 status open
27142
27143 \begin_layout Plain Layout
27144
27145 \series bold
27146 \begin_inset space ~
27147 \end_inset
27148
27149
27150 \end_layout
27151
27152 \end_inset
27153
27154
27155 \backslash
27156 vspace{1.5mm}
27157 \backslash
27158
27159 \backslash
27160 #1}}
27161 \end_layout
27162
27163 \begin_layout Standard
27164
27165 \family roman
27166 \series medium
27167 \begin_inset ERT
27168 status collapsed
27169
27170 \begin_layout Plain Layout
27171
27172
27173 \backslash
27174 let
27175 \backslash
27176 myMarginpar
27177 \backslash
27178 marginpar
27179 \end_layout
27180
27181 \begin_layout Plain Layout
27182
27183
27184 \backslash
27185 renewcommand{
27186 \backslash
27187 marginpar}[1]{
27188 \backslash
27189 myMarginpar{%
27190 \end_layout
27191
27192 \begin_layout Plain Layout
27193
27194    
27195 \backslash
27196 textsf{
27197 \backslash
27198 textbf{
27199 \backslash
27200 underbar{Attention!}}}%
27201 \end_layout
27202
27203 \begin_layout Plain Layout
27204
27205    
27206 \backslash
27207 vspace{1.5mm}
27208 \backslash
27209
27210 \backslash
27211 #1}}
27212 \end_layout
27213
27214 \end_inset
27215
27216
27217 \begin_inset Marginal
27218 status open
27219
27220 \begin_layout Plain Layout
27221 This is a margin note with a defined heading.
27222 \end_layout
27223
27224 \end_inset
27225
27226
27227 \family default
27228 \series default
27229
27230 \begin_inset ERT
27231 status collapsed
27232
27233 \begin_layout Plain Layout
27234
27235 [-1.5cm]
27236 \end_layout
27237
27238 \end_inset
27239
27240
27241 \family roman
27242 \series medium
27243
27244 \begin_inset ERT
27245 status collapsed
27246
27247 \begin_layout Plain Layout
27248
27249
27250 \backslash
27251 renewcommand{
27252 \backslash
27253 marginpar}[1]{
27254 \backslash
27255 myMarginpar{#1}}
27256 \end_layout
27257
27258 \end_inset
27259
27260
27261 \family default
27262 \series default
27263
27264 \begin_inset Note Note
27265 status collapsed
27266
27267 \begin_layout Plain Layout
27268 The margin note format is changed only for this example.
27269 \end_layout
27270
27271 \end_inset
27272
27273
27274 \end_layout
27275
27276 \begin_layout Standard
27277 \begin_inset ERT
27278 status collapsed
27279
27280 \begin_layout Plain Layout
27281
27282
27283 \backslash
27284 else
27285 \end_layout
27286
27287 \end_inset
27288
27289
27290 \begin_inset Note Note
27291 status open
27292
27293 \begin_layout Plain Layout
27294 The following will be displayed when the LaTeX-package 
27295 \series bold
27296 marginnote
27297 \series default
27298  is not installed:
27299 \end_layout
27300
27301 \end_inset
27302
27303
27304 \end_layout
27305
27306 \begin_layout Standard
27307 You need to install the LaTeX-package 
27308 \series bold
27309 marginnote
27310 \series default
27311  to see the following part of this section in the output.
27312 \end_layout
27313
27314 \begin_layout Standard
27315 \begin_inset ERT
27316 status collapsed
27317
27318 \begin_layout Plain Layout
27319
27320
27321 \backslash
27322 fi
27323 \end_layout
27324
27325 \end_inset
27326
27327
27328 \end_layout
27329
27330 \begin_layout Chapter
27331 Boxes
27332 \end_layout
27333
27334 \begin_layout Section
27335 Introduction
27336 \begin_inset Index idx
27337 status collapsed
27338
27339 \begin_layout Plain Layout
27340 Boxes ! Introduction
27341 \end_layout
27342
27343 \end_inset
27344
27345
27346 \end_layout
27347
27348 \begin_layout Standard
27349 Boxes are used to format a block of text.
27350  Boxes can be used to write documents with multiple languages, see section
27351 \begin_inset space ~
27352 \end_inset
27353
27354
27355 \begin_inset CommandInset ref
27356 LatexCommand ref
27357 reference "sec:Minipages"
27358
27359 \end_inset
27360
27361 , to frame texts, see section
27362 \begin_inset space ~
27363 \end_inset
27364
27365
27366 \begin_inset CommandInset ref
27367 LatexCommand ref
27368 reference "sec:Decoration"
27369
27370 \end_inset
27371
27372 , to prevent words from being hyphenated, see section
27373 \begin_inset space ~
27374 \end_inset
27375
27376
27377 \begin_inset CommandInset ref
27378 LatexCommand ref
27379 reference "sec:Prevent-Hyphenation"
27380
27381 \end_inset
27382
27383 , to align text, see section
27384 \begin_inset space ~
27385 \end_inset
27386
27387
27388 \begin_inset CommandInset ref
27389 LatexCommand ref
27390 reference "sub:Vertical-Alignment"
27391
27392 \end_inset
27393
27394 , or to set the background color of texts, see section
27395 \begin_inset space ~
27396 \end_inset
27397
27398
27399 \begin_inset CommandInset ref
27400 LatexCommand ref
27401 reference "sec:Colored-Boxes"
27402
27403 \end_inset
27404
27405 .
27406 \end_layout
27407
27408 \begin_layout Standard
27409 Boxes can be inserted with the menu 
27410 \family sans
27411 Insert\SpecialChar \menuseparator
27412 Box
27413 \family default
27414  or the toolbar button 
27415 \begin_inset Graphics
27416         filename ../images/box-insert.png
27417         scale 85
27418         scaleBeforeRotation
27419
27420 \end_inset
27421
27422 .
27423  A grey box with the label 
27424 \family sans
27425 Box (Minipage)
27426 \family default
27427
27428 \begin_inset Graphics
27429         filename clipart/BoxInsetDefaultQt4.png
27430         scale 85
27431         scaleBeforeRotation
27432
27433 \end_inset
27434
27435  will be inserted.
27436  The box type can be specified by right-clicking on the box and selecting
27437  
27438 \family sans
27439 Settings
27440 \family default
27441 .
27442  The box dialog offers the 
27443 \family sans
27444 Inner
27445 \begin_inset space ~
27446 \end_inset
27447
27448 Box
27449 \family default
27450  types 
27451 \family sans
27452 Makebox
27453 \family default
27454
27455 \family sans
27456 Parbox
27457 \family default
27458  and 
27459 \family sans
27460 Minipage
27461 \family default
27462 .
27463  The type 
27464 \family sans
27465 Minipage
27466 \family default
27467  is the default for new boxes and is explained in section
27468 \begin_inset space ~
27469 \end_inset
27470
27471
27472 \begin_inset CommandInset ref
27473 LatexCommand ref
27474 reference "sec:Minipages"
27475
27476 \end_inset
27477
27478 ; the type 
27479 \family sans
27480 Parbox
27481 \family default
27482  is described in section
27483 \begin_inset space ~
27484 \end_inset
27485
27486
27487 \begin_inset CommandInset ref
27488 LatexCommand ref
27489 reference "sec:Parboxes"
27490
27491 \end_inset
27492
27493  and the type 
27494 \family sans
27495 Makebox
27496 \family default
27497  in 
27498 \begin_inset CommandInset ref
27499 LatexCommand ref
27500 reference "sec:Prevent-Hyphenation"
27501
27502 \end_inset
27503
27504 .
27505 \end_layout
27506
27507 \begin_layout Standard
27508 Boxes are not numbered and can therefore not be referenced like floats or
27509  footnotes.
27510 \end_layout
27511
27512 \begin_layout Standard
27513 \begin_inset Note Greyedout
27514 status open
27515
27516 \begin_layout Plain Layout
27517
27518 \series bold
27519 Note:
27520 \series default
27521  Boxes must not be the item in an 
27522 \family sans
27523 Itemize
27524 \family default
27525  or 
27526 \family sans
27527 Description
27528 \family default
27529  environment.
27530 \end_layout
27531
27532 \end_inset
27533
27534
27535 \end_layout
27536
27537 \begin_layout Standard
27538 \begin_inset Note Greyedout
27539 status open
27540
27541 \begin_layout Plain Layout
27542
27543 \series bold
27544 Note:
27545 \series default
27546  For an unknown reason you can only set the 
27547 \family sans
27548 Inner
27549 \begin_inset space ~
27550 \end_inset
27551
27552 Box
27553 \family default
27554  type to 
27555 \family sans
27556 None
27557 \family default
27558  when you use a framed box.
27559  Boxes without an 
27560 \family sans
27561 Inner
27562 \begin_inset space ~
27563 \end_inset
27564
27565 Box
27566 \family default
27567  type and without frames are explained in section
27568 \begin_inset space ~
27569 \end_inset
27570
27571
27572 \begin_inset CommandInset ref
27573 LatexCommand ref
27574 reference "sec:Prevent-Hyphenation"
27575
27576 \end_inset
27577
27578 .
27579 \end_layout
27580
27581 \end_inset
27582
27583
27584 \end_layout
27585
27586 \begin_layout Section
27587 Box Dialog
27588 \begin_inset CommandInset label
27589 LatexCommand label
27590 name "sec:Box-Dialog"
27591
27592 \end_inset
27593
27594
27595 \begin_inset Index idx
27596 status collapsed
27597
27598 \begin_layout Plain Layout
27599 Boxes ! Box Dialog
27600 \end_layout
27601
27602 \end_inset
27603
27604
27605 \end_layout
27606
27607 \begin_layout Subsection
27608 Size
27609 \begin_inset Index idx
27610 status collapsed
27611
27612 \begin_layout Plain Layout
27613 Boxes ! Size
27614 \end_layout
27615
27616 \end_inset
27617
27618
27619 \end_layout
27620
27621 \begin_layout Standard
27622 In the box dialog you can adjust the box geometry in the fields 
27623 \family sans
27624 Width
27625 \family default
27626  and 
27627 \family sans
27628 Height
27629 \family default
27630 .
27631  The available units for the geometry are explained in Table
27632 \begin_inset space ~
27633 \end_inset
27634
27635
27636 \begin_inset CommandInset ref
27637 LatexCommand ref
27638 reference "tab:Units"
27639
27640 \end_inset
27641
27642 .
27643  The field 
27644 \family sans
27645 Height
27646 \family default
27647  offers the following additional sizes:
27648 \end_layout
27649
27650 \begin_layout Description
27651 Depth This is the plain text 
27652 \begin_inset Quotes eld
27653 \end_inset
27654
27655 height
27656 \begin_inset Quotes erd
27657 \end_inset
27658
27659 .
27660  It ignores the total depth when there are multiple text lines in the box:
27661 \begin_inset Newline newline
27662 \end_inset
27663
27664
27665 \begin_inset Newline newline
27666 \end_inset
27667
27668
27669 \begin_inset Newline newline
27670 \end_inset
27671
27672
27673 \begin_inset Box Boxed
27674 position "c"
27675 hor_pos "c"
27676 has_inner_box 1
27677 inner_pos "c"
27678 use_parbox 0
27679 use_makebox 0
27680 width "12col%"
27681 special "none"
27682 height "1in"
27683 height_special "depth"
27684 status collapsed
27685
27686 \begin_layout Plain Layout
27687 \align center
27688 Box height set to 1
27689 \begin_inset space \thinspace{}
27690 \end_inset
27691
27692 Depth
27693 \end_layout
27694
27695 \end_inset
27696
27697
27698 \begin_inset Newline newline
27699 \end_inset
27700
27701
27702 \begin_inset Newline newline
27703 \end_inset
27704
27705
27706 \end_layout
27707
27708 \begin_layout Description
27709 Height This is the height of the text that is inside the box.
27710  A value of e.
27711 \begin_inset space \thinspace{}
27712 \end_inset
27713
27714 g.
27715 \begin_inset space \space{}
27716 \end_inset
27717
27718 2 for this size will set the box height to 2
27719 \begin_inset space ~
27720 \end_inset
27721
27722 times the text height: 
27723 \begin_inset Box Boxed
27724 position "c"
27725 hor_pos "c"
27726 has_inner_box 1
27727 inner_pos "c"
27728 use_parbox 0
27729 use_makebox 0
27730 width "20col%"
27731 special "none"
27732 height "2in"
27733 height_special "height"
27734 status collapsed
27735
27736 \begin_layout Plain Layout
27737 \align center
27738 Box height set to 2
27739 \begin_inset space \thinspace{}
27740 \end_inset
27741
27742 Height
27743 \end_layout
27744
27745 \end_inset
27746
27747
27748 \end_layout
27749
27750 \begin_layout Description
27751 Total
27752 \begin_inset space ~
27753 \end_inset
27754
27755 Height This is the Height
27756 \begin_inset space \thinspace{}
27757 \end_inset
27758
27759 +
27760 \begin_inset space \thinspace{}
27761 \end_inset
27762
27763 Depth: 
27764 \begin_inset Box Boxed
27765 position "c"
27766 hor_pos "c"
27767 has_inner_box 1
27768 inner_pos "c"
27769 use_parbox 0
27770 use_makebox 0
27771 width "20col%"
27772 special "none"
27773 height "1in"
27774 height_special "totalheight"
27775 status collapsed
27776
27777 \begin_layout Plain Layout
27778 \align center
27779 Box height set to 1
27780 \begin_inset space \thinspace{}
27781 \end_inset
27782
27783 Total
27784 \begin_inset space ~
27785 \end_inset
27786
27787 Height
27788 \end_layout
27789
27790 \end_inset
27791
27792
27793 \end_layout
27794
27795 \begin_layout Description
27796 Width This sets the width of the box as height: 
27797 \begin_inset Box Boxed
27798 position "c"
27799 hor_pos "c"
27800 has_inner_box 1
27801 inner_pos "c"
27802 use_parbox 0
27803 use_makebox 0
27804 width "12col%"
27805 special "none"
27806 height "1in"
27807 height_special "width"
27808 status collapsed
27809
27810 \begin_layout Plain Layout
27811 \align center
27812 Box height set to 1
27813 \begin_inset space \thinspace{}
27814 \end_inset
27815
27816 Width
27817 \end_layout
27818
27819 \end_inset
27820
27821
27822 \end_layout
27823
27824 \begin_layout Subsection
27825 Alignment
27826 \begin_inset Index idx
27827 status collapsed
27828
27829 \begin_layout Plain Layout
27830 Boxes ! Alignment
27831 \end_layout
27832
27833 \end_inset
27834
27835
27836 \end_layout
27837
27838 \begin_layout Standard
27839 When you have chosen an 
27840 \family sans
27841 Inner
27842 \begin_inset space ~
27843 \end_inset
27844
27845 Box
27846 \family default
27847 , the vertical box alignment can be:
27848 \end_layout
27849
27850 \begin_layout Description
27851 Top This is an example text line.
27852  
27853 \begin_inset Box Boxed
27854 position "t"
27855 hor_pos "c"
27856 has_inner_box 1
27857 inner_pos "c"
27858 use_parbox 0
27859 use_makebox 0
27860 width "12col%"
27861 special "none"
27862 height "1in"
27863 height_special "totalheight"
27864 status collapsed
27865
27866 \begin_layout Plain Layout
27867 \align center
27868 This box is top-aligned.
27869 \end_layout
27870
27871 \end_inset
27872
27873  This is an example text line.
27874 \end_layout
27875
27876 \begin_layout Description
27877 Middle This is an example text line.
27878  
27879 \begin_inset Box Boxed
27880 position "c"
27881 hor_pos "c"
27882 has_inner_box 1
27883 inner_pos "c"
27884 use_parbox 0
27885 use_makebox 0
27886 width "12col%"
27887 special "none"
27888 height "1in"
27889 height_special "totalheight"
27890 status collapsed
27891
27892 \begin_layout Plain Layout
27893 \align center
27894 This box is middle-aligned.
27895 \end_layout
27896
27897 \end_inset
27898
27899  This is an example text line.
27900 \end_layout
27901
27902 \begin_layout Description
27903 Bottom This is an example text line.
27904  
27905 \begin_inset Box Boxed
27906 position "b"
27907 hor_pos "c"
27908 has_inner_box 1
27909 inner_pos "c"
27910 use_parbox 0
27911 use_makebox 0
27912 width "12col%"
27913 special "none"
27914 height "1in"
27915 height_special "totalheight"
27916 status collapsed
27917
27918 \begin_layout Plain Layout
27919 \align center
27920 This box is bottom-aligned.
27921 \end_layout
27922
27923 \end_inset
27924
27925  This is an example text line.
27926 \end_layout
27927
27928 \begin_layout Standard
27929 \begin_inset Note Greyedout
27930 status open
27931
27932 \begin_layout Plain Layout
27933
27934 \series bold
27935 Note:
27936 \series default
27937  The vertical box alignment can be lost in the output when you have two
27938  boxes in a line and one has e.
27939 \begin_inset space \thinspace{}
27940 \end_inset
27941
27942 g.
27943 \begin_inset space \space{}
27944 \end_inset
27945
27946 a shadow and the other one not.
27947 \end_layout
27948
27949 \end_inset
27950
27951
27952 \end_layout
27953
27954 \begin_layout Standard
27955 The horizontal box alignment can be set via LyX's paragraph dialog when
27956  you set the box into its own paragraph.
27957 \end_layout
27958
27959 \begin_layout Standard
27960 \begin_inset VSpace bigskip
27961 \end_inset
27962
27963 When you have chosen an 
27964 \family sans
27965 Inner
27966 \begin_inset space ~
27967 \end_inset
27968
27969 Box
27970 \family default
27971 , the box content can be aligned vertically to:
27972 \end_layout
27973
27974 \begin_layout Description
27975 top This is an example text line.
27976  
27977 \begin_inset Box Boxed
27978 position "c"
27979 hor_pos "c"
27980 has_inner_box 1
27981 inner_pos "t"
27982 use_parbox 0
27983 use_makebox 0
27984 width "12col%"
27985 special "none"
27986 height "1.5in"
27987 height_special "totalheight"
27988 status collapsed
27989
27990 \begin_layout Plain Layout
27991 \align center
27992 This box text is top-aligned.
27993 \end_layout
27994
27995 \end_inset
27996
27997  This is an example text line.
27998 \end_layout
27999
28000 \begin_layout Description
28001 middle This is an example text line.
28002  
28003 \begin_inset Box Boxed
28004 position "c"
28005 hor_pos "c"
28006 has_inner_box 1
28007 inner_pos "c"
28008 use_parbox 0
28009 use_makebox 0
28010 width "12col%"
28011 special "none"
28012 height "1.5in"
28013 height_special "totalheight"
28014 status collapsed
28015
28016 \begin_layout Plain Layout
28017 \align center
28018 This box text is middle-aligned.
28019 \end_layout
28020
28021 \end_inset
28022
28023  This is an example text line.
28024 \end_layout
28025
28026 \begin_layout Description
28027 bottom This is an example text line.
28028  
28029 \begin_inset Box Boxed
28030 position "c"
28031 hor_pos "c"
28032 has_inner_box 1
28033 inner_pos "b"
28034 use_parbox 0
28035 use_makebox 0
28036 width "12col%"
28037 special "none"
28038 height "1.5in"
28039 height_special "totalheight"
28040 status collapsed
28041
28042 \begin_layout Plain Layout
28043 \align center
28044 This box text is bottom-aligned.
28045 \end_layout
28046
28047 \end_inset
28048
28049  This is an example text line.
28050 \end_layout
28051
28052 \begin_layout Description
28053 stretch This is an example text line.
28054  
28055 \begin_inset Box Boxed
28056 position "c"
28057 hor_pos "c"
28058 has_inner_box 1
28059 inner_pos "s"
28060 use_parbox 0
28061 use_makebox 0
28062 width "12col%"
28063 special "none"
28064 height "1.5in"
28065 height_special "totalheight"
28066 status collapsed
28067
28068 \begin_layout Plain Layout
28069 \align center
28070 This box
28071 \end_layout
28072
28073 \begin_layout Plain Layout
28074 \align center
28075 text is
28076 \end_layout
28077
28078 \begin_layout Plain Layout
28079 \align center
28080 stretched.
28081 \end_layout
28082
28083 \end_inset
28084
28085  This is an example text line.
28086 \end_layout
28087
28088 \begin_layout Standard
28089 To stretch the box content, it must consist of more than one paragraph.
28090  In the example above every text line is in an own paragraph.
28091 \end_layout
28092
28093 \begin_layout Standard
28094 \begin_inset VSpace bigskip
28095 \end_inset
28096
28097 To align the box content horizontally you can use LyX's paragraph dialog
28098  when you have chosen an 
28099 \family sans
28100 Inner
28101 \begin_inset space ~
28102 \end_inset
28103
28104 Box
28105 \family default
28106 .
28107 \end_layout
28108
28109 \begin_layout Standard
28110 \align center
28111 \begin_inset Box Boxed
28112 position "c"
28113 hor_pos "c"
28114 has_inner_box 1
28115 inner_pos "s"
28116 use_parbox 0
28117 use_makebox 0
28118 width "15col%"
28119 special "none"
28120 height "1.25in"
28121 height_special "totalheight"
28122 status collapsed
28123
28124 \begin_layout Plain Layout
28125 \align left
28126 This box
28127 \end_layout
28128
28129 \begin_layout Plain Layout
28130 \align center
28131 text is
28132 \end_layout
28133
28134 \begin_layout Plain Layout
28135 \align right
28136 stretched.
28137 \end_layout
28138
28139 \end_inset
28140
28141
28142 \end_layout
28143
28144 \begin_layout Standard
28145 If you have not set an 
28146 \family sans
28147 Inner
28148 \begin_inset space ~
28149 \end_inset
28150
28151 Box
28152 \family default
28153 , you can align the box content horizontally in the box dialog.
28154 \end_layout
28155
28156 \begin_layout Standard
28157 \align center
28158 \begin_inset Box Boxed
28159 position "c"
28160 hor_pos "s"
28161 has_inner_box 0
28162 inner_pos "s"
28163 use_parbox 0
28164 use_makebox 0
28165 width "90col%"
28166 special "none"
28167 height "1.25in"
28168 height_special "totalheight"
28169 status collapsed
28170
28171 \begin_layout Plain Layout
28172 This box text is horizontally stretched.
28173 \end_layout
28174
28175 \end_inset
28176
28177
28178 \end_layout
28179
28180 \begin_layout Subsection
28181 Decoration
28182 \begin_inset CommandInset label
28183 LatexCommand label
28184 name "sec:Decoration"
28185
28186 \end_inset
28187
28188
28189 \begin_inset Index idx
28190 status collapsed
28191
28192 \begin_layout Plain Layout
28193 Boxes ! Decoration
28194 \end_layout
28195
28196 \end_inset
28197
28198
28199 \end_layout
28200
28201 \begin_layout Standard
28202 The type of the box can be specified in the box dialog in the drop-down
28203  list 
28204 \family sans
28205 Decoration
28206 \family default
28207 .
28208  The following types are possible:
28209 \end_layout
28210
28211 \begin_layout Description
28212 No
28213 \begin_inset space ~
28214 \end_inset
28215
28216 frame Nothing is drawn.
28217 \end_layout
28218
28219 \begin_layout Description
28220 Simple
28221 \begin_inset space ~
28222 \end_inset
28223
28224 rectangular
28225 \begin_inset space ~
28226 \end_inset
28227
28228 frame This draws a rectangular frame around the box.
28229  The frame line thickness has the size of 
28230 \series bold
28231
28232 \backslash
28233 fboxrule
28234 \series default
28235 .
28236  
28237 \begin_inset Box Boxed
28238 position "c"
28239 hor_pos "c"
28240 has_inner_box 1
28241 inner_pos "c"
28242 use_parbox 0
28243 use_makebox 0
28244 width "20col%"
28245 special "none"
28246 height "1in"
28247 height_special "totalheight"
28248 status collapsed
28249
28250 \begin_layout Plain Layout
28251 \align center
28252 Rectangular box
28253 \end_layout
28254
28255 \end_inset
28256
28257
28258 \end_layout
28259
28260 \begin_layout Description
28261 Oval
28262 \begin_inset space ~
28263 \end_inset
28264
28265 box,
28266 \begin_inset space ~
28267 \end_inset
28268
28269 thin This draws an oval frame around the box.
28270  The frame line thickness has the size 0.4
28271 \begin_inset space \thinspace{}
28272 \end_inset
28273
28274 pt.
28275  
28276 \begin_inset Box ovalbox
28277 position "c"
28278 hor_pos "c"
28279 has_inner_box 1
28280 inner_pos "c"
28281 use_parbox 0
28282 use_makebox 0
28283 width "20col%"
28284 special "none"
28285 height "1in"
28286 height_special "totalheight"
28287 status collapsed
28288
28289 \begin_layout Plain Layout
28290 \align center
28291 Oval box, thin
28292 \end_layout
28293
28294 \end_inset
28295
28296
28297 \end_layout
28298
28299 \begin_layout Description
28300 Oval
28301 \begin_inset space ~
28302 \end_inset
28303
28304 box,
28305 \begin_inset space ~
28306 \end_inset
28307
28308 thick This draws an oval frame around the box.
28309  The frame line thickness has the size 0.8
28310 \begin_inset space \thinspace{}
28311 \end_inset
28312
28313 pt.
28314  
28315 \begin_inset Box Ovalbox
28316 position "c"
28317 hor_pos "c"
28318 has_inner_box 1
28319 inner_pos "c"
28320 use_parbox 0
28321 use_makebox 0
28322 width "20col%"
28323 special "none"
28324 height "1in"
28325 height_special "totalheight"
28326 status collapsed
28327
28328 \begin_layout Plain Layout
28329 \align center
28330 Oval box, thick
28331 \end_layout
28332
28333 \end_inset
28334
28335
28336 \end_layout
28337
28338 \begin_layout Description
28339 Drop
28340 \begin_inset space ~
28341 \end_inset
28342
28343 shadow This draws a rectangular frame with a shadow around the box.
28344  The frame line thickness has the size of 
28345 \series bold
28346
28347 \backslash
28348 fboxrule
28349 \series default
28350 , the shadow has a width of 4
28351 \begin_inset space \thinspace{}
28352 \end_inset
28353
28354 pt.
28355  
28356 \begin_inset Box Shadowbox
28357 position "c"
28358 hor_pos "c"
28359 has_inner_box 1
28360 inner_pos "c"
28361 use_parbox 0
28362 use_makebox 0
28363 width "20col%"
28364 special "none"
28365 height "1in"
28366 height_special "totalheight"
28367 status collapsed
28368
28369 \begin_layout Plain Layout
28370 \align center
28371 Shadow box
28372 \end_layout
28373
28374 \end_inset
28375
28376
28377 \end_layout
28378
28379 \begin_layout Description
28380 Shaded
28381 \begin_inset space ~
28382 \end_inset
28383
28384 background This draws a box with a red background.
28385  Unlike colored boxes
28386 \begin_inset Foot
28387 status collapsed
28388
28389 \begin_layout Plain Layout
28390 see sec.
28391 \begin_inset space \thinspace{}
28392 \end_inset
28393
28394
28395 \begin_inset CommandInset ref
28396 LatexCommand ref
28397 reference "sec:Colored-Boxes"
28398
28399 \end_inset
28400
28401
28402 \end_layout
28403
28404 \end_inset
28405
28406 , it always uses the whole column width and the box is set as its own paragraph.
28407  
28408 \begin_inset Box Shaded
28409 position "t"
28410 hor_pos "c"
28411 has_inner_box 0
28412 inner_pos "t"
28413 use_parbox 0
28414 use_makebox 0
28415 width "50col%"
28416 special "none"
28417 height "1in"
28418 height_special "totalheight"
28419 status collapsed
28420
28421 \begin_layout Plain Layout
28422 Shaded background box
28423 \end_layout
28424
28425 \end_inset
28426
28427
28428 \end_layout
28429
28430 \begin_layout Description
28431 Double
28432 \begin_inset space ~
28433 \end_inset
28434
28435 rectangular
28436 \begin_inset space ~
28437 \end_inset
28438
28439 frame This draws a double-line rectangular frame around the box.
28440  The line thickness of the inner frame is 0.75
28441 \begin_inset space \thinspace{}
28442 \end_inset
28443
28444
28445 \series bold
28446
28447 \backslash
28448 fboxrule
28449 \series default
28450 , the thickness of the outer frame is 1.5
28451 \begin_inset space \thinspace{}
28452 \end_inset
28453
28454
28455 \series bold
28456
28457 \backslash
28458 fboxrule
28459 \series default
28460 .
28461  The distance between the lines is 1.5
28462 \begin_inset space \thinspace{}
28463 \end_inset
28464
28465
28466 \series bold
28467
28468 \backslash
28469 fboxrule
28470 \series default
28471
28472 \begin_inset space \thinspace{}
28473 \end_inset
28474
28475 +
28476 \begin_inset space \thinspace{}
28477 \end_inset
28478
28479 0.5
28480 \begin_inset space \thinspace{}
28481 \end_inset
28482
28483 pt.
28484  
28485 \begin_inset Box Doublebox
28486 position "c"
28487 hor_pos "c"
28488 has_inner_box 1
28489 inner_pos "c"
28490 use_parbox 0
28491 use_makebox 0
28492 width "20col%"
28493 special "none"
28494 height "1in"
28495 height_special "totalheight"
28496 status collapsed
28497
28498 \begin_layout Plain Layout
28499 \align center
28500 Double rectangular box
28501 \end_layout
28502
28503 \end_inset
28504
28505
28506 \end_layout
28507
28508 \begin_layout Standard
28509 \begin_inset VSpace bigskip
28510 \end_inset
28511
28512 LyX's box label will reflect the different frame types.
28513  To be able to use all types, the LaTeX-package 
28514 \series bold
28515 fancybox
28516 \series default
28517
28518 \begin_inset Index idx
28519 status collapsed
28520
28521 \begin_layout Plain Layout
28522 LaTeX-packages ! fancybox
28523 \end_layout
28524
28525 \end_inset
28526
28527  must be installed.
28528 \end_layout
28529
28530 \begin_layout Standard
28531 \begin_inset VSpace bigskip
28532 \end_inset
28533
28534 When you use the decoration 
28535 \family sans
28536 simple rectangular frame
28537 \family default
28538  and no inner box, you can allow page breaks within a box.
28539  Note that then, unlike other framed boxes, the frame always uses the whole
28540  column width, the box is set as its own paragraph, and 
28541 \series bold
28542
28543 \backslash
28544 fboxrule
28545 \series default
28546  and 
28547 \series bold
28548
28549 \backslash
28550 fboxsep
28551 \series default
28552  have no effect on this box type.
28553  The frame line thickness has the size of 
28554 \series bold
28555
28556 \backslash
28557 FrameRule
28558 \series default
28559 .
28560  
28561 \begin_inset Box Framed
28562 position "t"
28563 hor_pos "c"
28564 has_inner_box 0
28565 inner_pos "t"
28566 use_parbox 0
28567 use_makebox 0
28568 width "100col%"
28569 special "none"
28570 height "1in"
28571 height_special "totalheight"
28572 status collapsed
28573
28574 \begin_layout Plain Layout
28575 Allow page break box
28576 \end_layout
28577
28578 \end_inset
28579
28580
28581 \end_layout
28582
28583 \begin_layout Section
28584 Box Customization
28585 \begin_inset Index idx
28586 status collapsed
28587
28588 \begin_layout Plain Layout
28589 Boxes ! Customization
28590 \end_layout
28591
28592 \end_inset
28593
28594
28595 \end_layout
28596
28597 \begin_layout Standard
28598 The default value for the size 
28599 \series bold
28600
28601 \backslash
28602 fboxrule
28603 \series default
28604  is 0.4
28605 \begin_inset space \thinspace{}
28606 \end_inset
28607
28608 pt.
28609  It can be changed with the following command in TeX-Code to e.
28610 \begin_inset space \thinspace{}
28611 \end_inset
28612
28613 g.
28614 \begin_inset space \space{}
28615 \end_inset
28616
28617 2
28618 \begin_inset space \thinspace{}
28619 \end_inset
28620
28621 pt:
28622 \end_layout
28623
28624 \begin_layout Standard
28625
28626 \series bold
28627
28628 \backslash
28629 setlength{
28630 \backslash
28631 fboxrule}{2pt}
28632 \end_layout
28633
28634 \begin_layout Standard
28635 \begin_inset ERT
28636 status collapsed
28637
28638 \begin_layout Plain Layout
28639
28640
28641 \backslash
28642 setlength{
28643 \backslash
28644 fboxrule}{2pt}
28645 \end_layout
28646
28647 \end_inset
28648
28649
28650 \begin_inset Box Boxed
28651 position "c"
28652 hor_pos "c"
28653 has_inner_box 1
28654 inner_pos "c"
28655 use_parbox 0
28656 use_makebox 0
28657 width "25col%"
28658 special "none"
28659 height "1in"
28660 height_special "totalheight"
28661 status open
28662
28663 \begin_layout Plain Layout
28664 \align center
28665 Rectangular box with 
28666 \series bold
28667
28668 \backslash
28669 fboxrule
28670 \series default
28671
28672 \begin_inset space \thinspace{}
28673 \end_inset
28674
28675 =
28676 \begin_inset space \thinspace{}
28677 \end_inset
28678
28679 2
28680 \begin_inset space \thinspace{}
28681 \end_inset
28682
28683 pt
28684 \end_layout
28685
28686 \end_inset
28687
28688
28689 \begin_inset ERT
28690 status collapsed
28691
28692 \begin_layout Plain Layout
28693
28694
28695 \backslash
28696 setlength{
28697 \backslash
28698 fboxrule}{0.4pt}
28699 \end_layout
28700
28701 \end_inset
28702
28703
28704 \end_layout
28705
28706 \begin_layout Standard
28707 \begin_inset VSpace bigskip
28708 \end_inset
28709
28710 The space between the frame and the box content is for all frame styles
28711  by default 3
28712 \begin_inset space \thinspace{}
28713 \end_inset
28714
28715 pt.
28716  You can change it by setting the length 
28717 \series bold
28718
28719 \backslash
28720 fboxsep
28721 \series default
28722  to another value.
28723  For example the command
28724 \end_layout
28725
28726 \begin_layout Standard
28727
28728 \series bold
28729
28730 \backslash
28731 setlength{
28732 \backslash
28733 fboxsep}{10pt}
28734 \end_layout
28735
28736 \begin_layout Standard
28737 sets the value to 10
28738 \begin_inset space \thinspace{}
28739 \end_inset
28740
28741 pt, as with the following box:
28742 \end_layout
28743
28744 \begin_layout Standard
28745 \begin_inset ERT
28746 status collapsed
28747
28748 \begin_layout Plain Layout
28749
28750
28751 \backslash
28752 setlength{
28753 \backslash
28754 fboxsep}{10pt}
28755 \end_layout
28756
28757 \end_inset
28758
28759
28760 \begin_inset Box Boxed
28761 position "c"
28762 hor_pos "c"
28763 has_inner_box 1
28764 inner_pos "c"
28765 use_parbox 0
28766 use_makebox 0
28767 width "25col%"
28768 special "none"
28769 height "1in"
28770 height_special "totalheight"
28771 status open
28772
28773 \begin_layout Plain Layout
28774 \align center
28775 Rectangular box with 
28776 \series bold
28777
28778 \backslash
28779 fboxsep
28780 \series default
28781
28782 \begin_inset space \thinspace{}
28783 \end_inset
28784
28785 =
28786 \begin_inset space \thinspace{}
28787 \end_inset
28788
28789 10
28790 \begin_inset space \thinspace{}
28791 \end_inset
28792
28793 pt
28794 \end_layout
28795
28796 \end_inset
28797
28798
28799 \begin_inset ERT
28800 status collapsed
28801
28802 \begin_layout Plain Layout
28803
28804
28805 \backslash
28806 setlength{
28807 \backslash
28808 fboxsep}{3pt}
28809 \end_layout
28810
28811 \end_inset
28812
28813
28814 \end_layout
28815
28816 \begin_layout Standard
28817 \begin_inset VSpace bigskip
28818 \end_inset
28819
28820 The diameter of the round corners of the oval boxes can be set with the
28821  command 
28822 \series bold
28823
28824 \backslash
28825 cornersize
28826 \series default
28827 .
28828  The command
28829 \end_layout
28830
28831 \begin_layout Standard
28832
28833 \series bold
28834
28835 \backslash
28836 cornersize*{1cm}
28837 \end_layout
28838
28839 \begin_layout Standard
28840 sets the diameter to 1
28841 \begin_inset space \thinspace{}
28842 \end_inset
28843
28844 cm.
28845  The command
28846 \end_layout
28847
28848 \begin_layout Standard
28849
28850 \series bold
28851
28852 \backslash
28853 cornersize{num}
28854 \end_layout
28855
28856 \begin_layout Standard
28857 sets the diameter to 
28858 \family sans
28859 num
28860 \begin_inset space \thinspace{}
28861 \end_inset
28862
28863 ×
28864 \begin_inset space \thinspace{}
28865 \end_inset
28866
28867 minimum(width and heigth of box)
28868 \family default
28869 .
28870  The default is 
28871 \series bold
28872
28873 \backslash
28874 cornersize{0.5}
28875 \series default
28876 .
28877 \end_layout
28878
28879 \begin_layout Standard
28880 \begin_inset ERT
28881 status collapsed
28882
28883 \begin_layout Plain Layout
28884
28885
28886 \backslash
28887 cornersize*{1.5cm}
28888 \end_layout
28889
28890 \end_inset
28891
28892
28893 \begin_inset Box Ovalbox
28894 position "c"
28895 hor_pos "c"
28896 has_inner_box 1
28897 inner_pos "c"
28898 use_parbox 0
28899 use_makebox 0
28900 width "25col%"
28901 special "none"
28902 height "1in"
28903 height_special "totalheight"
28904 status open
28905
28906 \begin_layout Plain Layout
28907 \align center
28908 Oval box with 
28909 \series bold
28910
28911 \backslash
28912 cornersize
28913 \series default
28914
28915 \begin_inset space \thinspace{}
28916 \end_inset
28917
28918 =
28919 \begin_inset space \thinspace{}
28920 \end_inset
28921
28922 1.5
28923 \begin_inset space \thinspace{}
28924 \end_inset
28925
28926 cm
28927 \end_layout
28928
28929 \end_inset
28930
28931
28932 \begin_inset ERT
28933 status collapsed
28934
28935 \begin_layout Plain Layout
28936
28937
28938 \backslash
28939 cornersize{0.5}
28940 \end_layout
28941
28942 \end_inset
28943
28944
28945 \end_layout
28946
28947 \begin_layout Standard
28948 \begin_inset VSpace bigskip
28949 \end_inset
28950
28951 The size of the shadow can be adjusted by changing the length 
28952 \series bold
28953
28954 \backslash
28955 shadowsize
28956 \series default
28957 .
28958  It it set to 2
28959 \begin_inset space \thinspace{}
28960 \end_inset
28961
28962 pt for the following box by this command:
28963 \end_layout
28964
28965 \begin_layout Standard
28966
28967 \series bold
28968
28969 \backslash
28970 setlength{
28971 \backslash
28972 shadowsize}{2pt}
28973 \end_layout
28974
28975 \begin_layout Standard
28976 \begin_inset ERT
28977 status collapsed
28978
28979 \begin_layout Plain Layout
28980
28981
28982 \backslash
28983 setlength{
28984 \backslash
28985 shadowsize}{2pt}
28986 \end_layout
28987
28988 \end_inset
28989
28990
28991 \begin_inset Box Shadowbox
28992 position "c"
28993 hor_pos "c"
28994 has_inner_box 1
28995 inner_pos "c"
28996 use_parbox 0
28997 use_makebox 0
28998 width "25col%"
28999 special "none"
29000 height "1in"
29001 height_special "totalheight"
29002 status open
29003
29004 \begin_layout Plain Layout
29005 \align center
29006 Shadow box with 
29007 \series bold
29008
29009 \backslash
29010 shadowsize
29011 \series default
29012
29013 \begin_inset space \thinspace{}
29014 \end_inset
29015
29016 =
29017 \begin_inset space \thinspace{}
29018 \end_inset
29019
29020 2
29021 \begin_inset space \thinspace{}
29022 \end_inset
29023
29024 pt
29025 \end_layout
29026
29027 \end_inset
29028
29029
29030 \begin_inset ERT
29031 status collapsed
29032
29033 \begin_layout Plain Layout
29034
29035
29036 \backslash
29037 setlength{
29038 \backslash
29039 shadowsize}{4pt}
29040 \end_layout
29041
29042 \end_inset
29043
29044
29045 \end_layout
29046
29047 \begin_layout Standard
29048 \begin_inset VSpace bigskip
29049 \end_inset
29050
29051
29052 \end_layout
29053
29054 \begin_layout Standard
29055 The default value for the size 
29056 \series bold
29057
29058 \backslash
29059 FrameRule
29060 \series default
29061  is 0.4
29062 \begin_inset space \thinspace{}
29063 \end_inset
29064
29065 pt.
29066  The default space between the note content and the frame is 9
29067 \begin_inset space \thinspace{}
29068 \end_inset
29069
29070 pt and can be changed with the value of 
29071 \series bold
29072
29073 \backslash
29074 FrameSep
29075 \series default
29076 .
29077  For example the frame appearance of the following 
29078 \family sans
29079 box
29080 \family default
29081  is set with the TeX-Code commands
29082 \end_layout
29083
29084 \begin_layout Standard
29085
29086 \series bold
29087
29088 \backslash
29089 setlength{
29090 \backslash
29091 FrameRule}{5pt}
29092 \begin_inset Newline newline
29093 \end_inset
29094
29095
29096 \backslash
29097 setlength{
29098 \backslash
29099 FrameSep}{0.5cm}
29100 \end_layout
29101
29102 \begin_layout Standard
29103 \begin_inset ERT
29104 status collapsed
29105
29106 \begin_layout Plain Layout
29107
29108
29109 \backslash
29110 setlength{
29111 \backslash
29112 FrameRule}{5pt}
29113 \end_layout
29114
29115 \begin_layout Plain Layout
29116
29117
29118 \backslash
29119 setlength{
29120 \backslash
29121 FrameSep}{0.5cm}
29122 \end_layout
29123
29124 \end_inset
29125
29126
29127 \begin_inset Box Framed
29128 position "t"
29129 hor_pos "c"
29130 has_inner_box 0
29131 inner_pos "t"
29132 use_parbox 0
29133 use_makebox 0
29134 width "100col%"
29135 special "none"
29136 height "1in"
29137 height_special "totalheight"
29138 status open
29139
29140 \begin_layout Plain Layout
29141 This is text in an 
29142 \family sans
29143 allow page break
29144 \family default
29145  box.
29146 \end_layout
29147
29148 \end_inset
29149
29150
29151 \begin_inset ERT
29152 status collapsed
29153
29154 \begin_layout Plain Layout
29155
29156
29157 \backslash
29158 setlength{
29159 \backslash
29160 FrameRule}{0.4pt}
29161 \end_layout
29162
29163 \begin_layout Plain Layout
29164
29165
29166 \backslash
29167 setlength{
29168 \backslash
29169 FrameSep}{9pt}
29170 \end_layout
29171
29172 \end_inset
29173
29174
29175 \end_layout
29176
29177 \begin_layout Standard
29178 \begin_inset VSpace bigskip
29179 \end_inset
29180
29181
29182 \end_layout
29183
29184 \begin_layout Standard
29185 For 
29186 \family sans
29187 shaded background
29188 \family default
29189  boxes the default space between the box content and the box border is 3
29190 \begin_inset space \thinspace{}
29191 \end_inset
29192
29193 pt and can be changed with the value of 
29194 \series bold
29195
29196 \backslash
29197 fboxsep
29198 \series default
29199 .
29200  The default background color red can either be changed locally with the
29201  command 
29202 \series bold
29203
29204 \backslash
29205 definecolor{shadecolor}
29206 \series default
29207  or globally with the menu 
29208 \family sans
29209 Tools\SpecialChar \menuseparator
29210 Preferences\SpecialChar \menuseparator
29211 Colors\SpecialChar \menuseparator
29212 shaded
29213 \begin_inset space ~
29214 \end_inset
29215
29216 box
29217 \family default
29218 .
29219  The scheme of the 
29220 \series bold
29221
29222 \backslash
29223 definecolor
29224 \series default
29225  command is explained in section
29226 \begin_inset space ~
29227 \end_inset
29228
29229
29230 \begin_inset CommandInset ref
29231 LatexCommand ref
29232 reference "sec:Colored-Tables"
29233
29234 \end_inset
29235
29236 .
29237 \begin_inset Foot
29238 status collapsed
29239
29240 \begin_layout Plain Layout
29241 Note that 
29242 \series bold
29243
29244 \backslash
29245 definecolor
29246 \series default
29247  requires the LaTeX-package 
29248 \series bold
29249 color
29250 \series default
29251  in the preamble, see section
29252 \begin_inset space ~
29253 \end_inset
29254
29255
29256 \begin_inset CommandInset ref
29257 LatexCommand ref
29258 reference "sec:Colored-Boxes"
29259
29260 \end_inset
29261
29262 .
29263 \end_layout
29264
29265 \end_inset
29266
29267  For example the appearance of the following shaded background box is set
29268  with the TeX-Code commands
29269 \end_layout
29270
29271 \begin_layout Standard
29272
29273 \series bold
29274
29275 \backslash
29276 setlength{
29277 \backslash
29278 fboxsep}{0.5cm}
29279 \series default
29280
29281 \begin_inset Newline newline
29282 \end_inset
29283
29284
29285 \series bold
29286
29287 \backslash
29288 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29289 \end_layout
29290
29291 \begin_layout Standard
29292 \begin_inset ERT
29293 status collapsed
29294
29295 \begin_layout Plain Layout
29296
29297
29298 \backslash
29299 setlength{
29300 \backslash
29301 fboxsep}{0.5cm}
29302 \end_layout
29303
29304 \begin_layout Plain Layout
29305
29306
29307 \backslash
29308 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29309 \end_layout
29310
29311 \end_inset
29312
29313
29314 \begin_inset Box Shaded
29315 position "t"
29316 hor_pos "c"
29317 has_inner_box 0
29318 inner_pos "t"
29319 use_parbox 0
29320 use_makebox 0
29321 width "100col%"
29322 special "none"
29323 height "1in"
29324 height_special "totalheight"
29325 status open
29326
29327 \begin_layout Plain Layout
29328
29329 \color yellow
29330 This is yellow text in a
29331 \color none
29332  
29333 \family sans
29334 \color yellow
29335 shaded background
29336 \family default
29337 \color none
29338  
29339 \color yellow
29340 box with dark green background.
29341 \end_layout
29342
29343 \end_inset
29344
29345
29346 \begin_inset ERT
29347 status collapsed
29348
29349 \begin_layout Plain Layout
29350
29351
29352 \backslash
29353 setlength{
29354 \backslash
29355 fboxsep}{3pt}
29356 \end_layout
29357
29358 \begin_layout Plain Layout
29359
29360
29361 \backslash
29362 definecolor{shadecolor}{rgb}{1,0,0}
29363 \end_layout
29364
29365 \end_inset
29366
29367
29368 \end_layout
29369
29370 \begin_layout Standard
29371 \begin_inset VSpace bigskip
29372 \end_inset
29373
29374 Changed lengths and widths are valid for all boxes following the commands
29375  that change them.
29376 \end_layout
29377
29378 \begin_layout Section
29379 Minipages
29380 \begin_inset CommandInset label
29381 LatexCommand label
29382 name "sec:Minipages"
29383
29384 \end_inset
29385
29386
29387 \begin_inset Index idx
29388 status collapsed
29389
29390 \begin_layout Plain Layout
29391 Boxes ! Minipages
29392 \end_layout
29393
29394 \end_inset
29395
29396
29397 \end_layout
29398
29399 \begin_layout Standard
29400 Minipages are treated by LaTeX as pages within pages and can therefore for
29401  example have their own footnotes.
29402 \end_layout
29403
29404 \begin_layout Standard
29405 Minipages are useful when you write documents with different languages.
29406 \end_layout
29407
29408 \begin_layout Standard
29409 Below are two example minipages side by side.
29410  Their width is set to 45
29411 \begin_inset space \thinspace{}
29412 \end_inset
29413
29414 col% and they are separated by a horizontal fill, that was inserted via
29415  the menu 
29416 \family sans
29417 Insert\SpecialChar \menuseparator
29418 Special
29419 \begin_inset space ~
29420 \end_inset
29421
29422 Formatting\SpecialChar \menuseparator
29423 Horizontal
29424 \begin_inset space ~
29425 \end_inset
29426
29427 Fill
29428 \family default
29429 .
29430 \begin_inset Newpage newpage
29431 \end_inset
29432
29433
29434 \end_layout
29435
29436 \begin_layout Standard
29437 \begin_inset Box Frameless
29438 position "t"
29439 hor_pos "c"
29440 has_inner_box 1
29441 inner_pos "c"
29442 use_parbox 0
29443 use_makebox 0
29444 width "45col%"
29445 special "none"
29446 height "1in"
29447 height_special "totalheight"
29448 status open
29449
29450 \begin_layout Plain Layout
29451
29452 \lang german
29453 Dies ist ein deutscher Text.
29454  Dies ist ein deutscher Text.
29455  Dies ist ein deutscher Text.
29456  Dies ist ein deutscher Text.
29457  Dies ist ein deutscher Text.
29458  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 \begin_inset Foot
29467 status collapsed
29468
29469 \begin_layout Plain Layout
29470
29471 \lang german
29472 Dies ist eine deutsche Fußnote.
29473 \end_layout
29474
29475 \end_inset
29476
29477 .
29478  Dies ist ein deutscher Text.
29479  Dies ist ein deutscher Text.
29480 \end_layout
29481
29482 \end_inset
29483
29484
29485 \begin_inset space \hfill{}
29486 \end_inset
29487
29488
29489 \begin_inset Box Frameless
29490 position "t"
29491 hor_pos "c"
29492 has_inner_box 1
29493 inner_pos "c"
29494 use_parbox 0
29495 use_makebox 0
29496 width "45col%"
29497 special "none"
29498 height "1in"
29499 height_special "totalheight"
29500 status open
29501
29502 \begin_layout Plain Layout
29503 This is an English Text.
29504  This is an English Text.
29505  This is an English Text.
29506  This is an English Text.
29507  This is an English Text.
29508  This is an English Text.
29509  This is an English Text.
29510  This is an English Text.
29511  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 \begin_inset Foot
29520 status collapsed
29521
29522 \begin_layout Plain Layout
29523 This is an English footnote.
29524 \end_layout
29525
29526 \end_inset
29527
29528  This is an English Text.
29529  
29530 \end_layout
29531
29532 \end_inset
29533
29534
29535 \end_layout
29536
29537 \begin_layout Standard
29538 \begin_inset VSpace bigskip
29539 \end_inset
29540
29541 The document-wide paragraph settings are ignored within minipages.
29542  That means that there will be no space between paragraphs in minipages
29543  although you set it to e.
29544 \begin_inset space \thinspace{}
29545 \end_inset
29546
29547 g.
29548 \begin_inset space \space{}
29549 \end_inset
29550
29551
29552 \family sans
29553 MedSkip
29554 \family default
29555  in the document settings.
29556 \end_layout
29557
29558 \begin_layout Standard
29559 Minipages can also be used to set a background color for text parts, see
29560  section
29561 \begin_inset space ~
29562 \end_inset
29563
29564
29565 \begin_inset CommandInset ref
29566 LatexCommand ref
29567 reference "sub:Color-for-Paragraphs"
29568
29569 \end_inset
29570
29571 .
29572 \end_layout
29573
29574 \begin_layout Standard
29575 \begin_inset Note Greyedout
29576 status open
29577
29578 \begin_layout Plain Layout
29579
29580 \series bold
29581 Note:
29582 \series default
29583  You cannot have floats or margin notes inside minipages but minipages can
29584  be used inside tables, floats, and other boxes.
29585 \end_layout
29586
29587 \end_inset
29588
29589
29590 \end_layout
29591
29592 \begin_layout Section
29593 Parboxes
29594 \begin_inset CommandInset label
29595 LatexCommand label
29596 name "sec:Parboxes"
29597
29598 \end_inset
29599
29600
29601 \begin_inset Index idx
29602 status collapsed
29603
29604 \begin_layout Plain Layout
29605 Boxes ! Parboxes
29606 \end_layout
29607
29608 \end_inset
29609
29610
29611 \end_layout
29612
29613 \begin_layout Standard
29614 Parboxes are very similar to minipages with the difference that they cannot
29615  have footnotes.
29616 \end_layout
29617
29618 \begin_layout Standard
29619 \align center
29620 \begin_inset Box Frameless
29621 position "t"
29622 hor_pos "c"
29623 has_inner_box 1
29624 inner_pos "t"
29625 use_parbox 1
29626 use_makebox 0
29627 width "33col%"
29628 special "none"
29629 height "1in"
29630 height_special "totalheight"
29631 status collapsed
29632
29633 \begin_layout Plain Layout
29634 This a text within a parbox.
29635  This a text within a parbox.
29636 \end_layout
29637
29638 \begin_layout Plain Layout
29639 This footnote won't appear:
29640 \begin_inset Foot
29641 status collapsed
29642
29643 \begin_layout Plain Layout
29644 This footnote is inside a parbox and will therefore not appear.
29645 \end_layout
29646
29647 \end_inset
29648
29649
29650 \end_layout
29651
29652 \end_inset
29653
29654
29655 \end_layout
29656
29657 \begin_layout Section
29658 Boxes for Words and Characters
29659 \begin_inset Index idx
29660 status collapsed
29661
29662 \begin_layout Plain Layout
29663 Boxes ! for Characters
29664 \end_layout
29665
29666 \end_inset
29667
29668
29669 \end_layout
29670
29671 \begin_layout Subsection
29672 Prevent Hyphenation
29673 \begin_inset CommandInset label
29674 LatexCommand label
29675 name "sec:Prevent-Hyphenation"
29676
29677 \end_inset
29678
29679
29680 \begin_inset Index idx
29681 status collapsed
29682
29683 \begin_layout Plain Layout
29684 Boxes ! to Prevent Hyphenation
29685 \end_layout
29686
29687 \end_inset
29688
29689
29690 \end_layout
29691
29692 \begin_layout Standard
29693 You can use the box type 
29694 \family sans
29695 Makebox
29696 \family default
29697  to prevent words or text from being hyphenated.
29698 \begin_inset Newline newline
29699 \end_inset
29700
29701 Here is an example text:
29702 \end_layout
29703
29704 \begin_layout Standard
29705 This line is an example to show how you can prevent the hyphenation of 
29706 \begin_inset Quotes eld
29707 \end_inset
29708
29709 veryverylongword
29710 \begin_inset Quotes erd
29711 \end_inset
29712
29713 .
29714 \end_layout
29715
29716 \begin_layout Standard
29717 To prevent the hyphenation of the word 
29718 \begin_inset Quotes eld
29719 \end_inset
29720
29721 veryverylongword
29722 \begin_inset Quotes erd
29723 \end_inset
29724
29725 , put the word into a box, set the 
29726 \family sans
29727 Inner
29728 \begin_inset space ~
29729 \end_inset
29730
29731 box
29732 \family default
29733  to 
29734 \family sans
29735 Makebox
29736 \family default
29737  and its width to 1
29738 \begin_inset space \thinspace{}
29739 \end_inset
29740
29741 Width.
29742 \end_layout
29743
29744 \begin_layout Standard
29745 This is the result:
29746 \end_layout
29747
29748 \begin_layout Standard
29749 This line is an example to show how you can prevent the hyphenation of 
29750 \begin_inset Box Frameless
29751 position "t"
29752 hor_pos "c"
29753 has_inner_box 1
29754 inner_pos "t"
29755 use_parbox 0
29756 use_makebox 1
29757 width "1in"
29758 special "width"
29759 height "1in"
29760 height_special "totalheight"
29761 status open
29762
29763 \begin_layout Plain Layout
29764 \begin_inset Quotes eld
29765 \end_inset
29766
29767 veryverylongword
29768 \begin_inset Quotes erd
29769 \end_inset
29770
29771
29772 \end_layout
29773
29774 \end_inset
29775
29776 .
29777 \end_layout
29778
29779 \begin_layout Standard
29780 You can alternatively set the command 
29781 \begin_inset Quotes eld
29782 \end_inset
29783
29784
29785 \series bold
29786
29787 \backslash
29788 -
29789 \series default
29790
29791 \begin_inset Quotes grd
29792 \end_inset
29793
29794  as TeX-Code directly before the word:
29795 \end_layout
29796
29797 \begin_layout Standard
29798 This line is an example to show how you can prevent the hyphenation of 
29799 \begin_inset Quotes eld
29800 \end_inset
29801
29802
29803 \begin_inset ERT
29804 status collapsed
29805
29806 \begin_layout Plain Layout
29807
29808
29809 \backslash
29810 -
29811 \end_layout
29812
29813 \end_inset
29814
29815 veryverylongword
29816 \begin_inset Quotes erd
29817 \end_inset
29818
29819 .
29820 \end_layout
29821
29822 \begin_layout Standard
29823 Of course the word now protrudes over the side margin.
29824  To avoid this, add via the menu 
29825 \family sans
29826 Insert\SpecialChar \menuseparator
29827 Special
29828 \begin_inset space ~
29829 \end_inset
29830
29831 Formatting\SpecialChar \menuseparator
29832 Line
29833 \begin_inset space ~
29834 \end_inset
29835
29836 Break
29837 \family default
29838  (shortcut 
29839 \begin_inset Info
29840 type  "shortcut"
29841 arg   "newline-insert newline"
29842 \end_inset
29843
29844 ) a line break before the word:
29845 \end_layout
29846
29847 \begin_layout Standard
29848 This line is an example to show how you can prevent the hyphenation of 
29849 \begin_inset Newline newline
29850 \end_inset
29851
29852
29853 \begin_inset Box Frameless
29854 position "t"
29855 hor_pos "c"
29856 has_inner_box 1
29857 inner_pos "t"
29858 use_parbox 0
29859 use_makebox 1
29860 width "1in"
29861 special "width"
29862 height "1in"
29863 height_special "totalheight"
29864 status open
29865
29866 \begin_layout Plain Layout
29867 \begin_inset Quotes eld
29868 \end_inset
29869
29870 veryverylongword
29871 \begin_inset Quotes erd
29872 \end_inset
29873
29874
29875 \end_layout
29876
29877 \end_inset
29878
29879 .
29880 \end_layout
29881
29882 \begin_layout Subsection
29883 Vertical Alignment
29884 \begin_inset CommandInset label
29885 LatexCommand label
29886 name "sub:Vertical-Alignment"
29887
29888 \end_inset
29889
29890
29891 \begin_inset Index idx
29892 status collapsed
29893
29894 \begin_layout Plain Layout
29895 Boxes ! for Vertical Alignment
29896 \end_layout
29897
29898 \end_inset
29899
29900
29901 \begin_inset Index idx
29902 status collapsed
29903
29904 \begin_layout Plain Layout
29905 Boxes ! Raiseboxes
29906 \end_layout
29907
29908 \end_inset
29909
29910
29911 \end_layout
29912
29913 \begin_layout Standard
29914 With the help of the command 
29915 \series bold
29916
29917 \backslash
29918 raisebox
29919 \series default
29920  you can align words, characters or other boxes vertically relative to the
29921  surrounding text.
29922  
29923 \series bold
29924
29925 \backslash
29926 raisebox
29927 \series default
29928  is used with the following scheme:
29929 \end_layout
29930
29931 \begin_layout Standard
29932
29933 \series bold
29934
29935 \backslash
29936 raisebox{lift}[height][depth]{box content}
29937 \end_layout
29938
29939 \begin_layout Standard
29940 The lift can be a positive value to raise the box or a negative value to
29941  lower the box.
29942 \end_layout
29943
29944 \begin_layout Standard
29945 To align for example the word 
29946 \begin_inset Quotes eld
29947 \end_inset
29948
29949 preventing
29950 \begin_inset Quotes erd
29951 \end_inset
29952
29953  so that the bottom of the 
29954 \begin_inset Quotes eld
29955 \end_inset
29956
29957 deepest
29958 \begin_inset Quotes erd
29959 \end_inset
29960
29961  character 
29962 \begin_inset Quotes eld
29963 \end_inset
29964
29965 p
29966 \begin_inset Quotes erd
29967 \end_inset
29968
29969  is at the baseline, insert the command
29970 \end_layout
29971
29972 \begin_layout Standard
29973
29974 \series bold
29975
29976 \backslash
29977 raisebox{
29978 \backslash
29979 depth}{
29980 \end_layout
29981
29982 \begin_layout Standard
29983 in TeX-Code before the word.
29984  After the word insert a closing brace 
29985 \begin_inset Quotes eld
29986 \end_inset
29987
29988
29989 \series bold
29990 }
29991 \series default
29992
29993 \begin_inset Quotes erd
29994 \end_inset
29995
29996  in TeX-Code.
29997 \begin_inset Newline newline
29998 \end_inset
29999
30000 This is the result:
30001 \end_layout
30002
30003 \begin_layout Standard
30004 This is a text line with the word 
30005 \begin_inset ERT
30006 status collapsed
30007
30008 \begin_layout Plain Layout
30009
30010
30011 \backslash
30012 raisebox{
30013 \backslash
30014 depth}{
30015 \end_layout
30016
30017 \end_inset
30018
30019
30020 \begin_inset Quotes eld
30021 \end_inset
30022
30023 preventing
30024 \begin_inset Quotes erd
30025 \end_inset
30026
30027
30028 \begin_inset ERT
30029 status collapsed
30030
30031 \begin_layout Plain Layout
30032
30033 }
30034 \end_layout
30035
30036 \end_inset
30037
30038  as a raised word.
30039 \end_layout
30040
30041 \begin_layout Standard
30042 \begin_inset VSpace bigskip
30043 \end_inset
30044
30045 When you raise or lower characters in a line, the line distance will be
30046  spread:
30047 \end_layout
30048
30049 \begin_layout Standard
30050 This is a text line with the word 
30051 \begin_inset ERT
30052 status collapsed
30053
30054 \begin_layout Plain Layout
30055
30056
30057 \backslash
30058 raisebox{-
30059 \backslash
30060 depth}{
30061 \end_layout
30062
30063 \end_inset
30064
30065
30066 \begin_inset Quotes eld
30067 \end_inset
30068
30069 preventing
30070 \begin_inset Quotes erd
30071 \end_inset
30072
30073
30074 \begin_inset ERT
30075 status collapsed
30076
30077 \begin_layout Plain Layout
30078
30079 }
30080 \end_layout
30081
30082 \end_inset
30083
30084  as a lowered word.
30085 \begin_inset Newline newline
30086 \end_inset
30087
30088 This is a text line with the word 
30089 \begin_inset ERT
30090 status collapsed
30091
30092 \begin_layout Plain Layout
30093
30094
30095 \backslash
30096 raisebox{0.5cm}{
30097 \end_layout
30098
30099 \end_inset
30100
30101
30102 \begin_inset Quotes eld
30103 \end_inset
30104
30105 testing
30106 \begin_inset Quotes erd
30107 \end_inset
30108
30109
30110 \begin_inset ERT
30111 status collapsed
30112
30113 \begin_layout Plain Layout
30114
30115 }
30116 \end_layout
30117
30118 \end_inset
30119
30120  as a raised word.
30121 \end_layout
30122
30123 \begin_layout Standard
30124 If you want to prevent this for a certain reason, set the box height to
30125  a zero value.
30126  For example use
30127 \end_layout
30128
30129 \begin_layout Standard
30130
30131 \series bold
30132
30133 \backslash
30134 raisebox{-
30135 \backslash
30136 depth}[0pt]{
30137 \end_layout
30138
30139 \begin_layout Standard
30140 This is a text line with the word 
30141 \begin_inset ERT
30142 status collapsed
30143
30144 \begin_layout Plain Layout
30145
30146
30147 \backslash
30148 raisebox{-
30149 \backslash
30150 depth}[0pt]{
30151 \end_layout
30152
30153 \end_inset
30154
30155
30156 \begin_inset Quotes eld
30157 \end_inset
30158
30159 preventing
30160 \begin_inset Quotes erd
30161 \end_inset
30162
30163
30164 \begin_inset ERT
30165 status collapsed
30166
30167 \begin_layout Plain Layout
30168
30169 }
30170 \end_layout
30171
30172 \end_inset
30173
30174  as a lowered word.
30175 \begin_inset Newline newline
30176 \end_inset
30177
30178 This is a text line with the word 
30179 \begin_inset ERT
30180 status collapsed
30181
30182 \begin_layout Plain Layout
30183
30184
30185 \backslash
30186 raisebox{0.5cm}[0pt]{
30187 \end_layout
30188
30189 \end_inset
30190
30191
30192 \begin_inset Quotes eld
30193 \end_inset
30194
30195 testing
30196 \begin_inset Quotes erd
30197 \end_inset
30198
30199
30200 \begin_inset ERT
30201 status collapsed
30202
30203 \begin_layout Plain Layout
30204
30205 }
30206 \end_layout
30207
30208 \end_inset
30209
30210  as a raised word.
30211 \end_layout
30212
30213 \begin_layout Section
30214 Colored Boxes
30215 \begin_inset CommandInset label
30216 LatexCommand label
30217 name "sec:Colored-Boxes"
30218
30219 \end_inset
30220
30221
30222 \begin_inset Index idx
30223 status collapsed
30224
30225 \begin_layout Plain Layout
30226 Boxes ! Color
30227 \end_layout
30228
30229 \end_inset
30230
30231
30232 \end_layout
30233
30234 \begin_layout Subsection
30235 Color for Text
30236 \begin_inset Index idx
30237 status collapsed
30238
30239 \begin_layout Plain Layout
30240 Color ! for Text
30241 \end_layout
30242
30243 \end_inset
30244
30245
30246 \end_layout
30247
30248 \begin_layout Standard
30249 To color the background of text the text must be put into a so called 
30250 \begin_inset Quotes eld
30251 \end_inset
30252
30253 colorbox
30254 \begin_inset Quotes erd
30255 \end_inset
30256
30257 .
30258  This requires that the LaTeX-package 
30259 \series bold
30260 color
30261 \series default
30262
30263 \begin_inset Index idx
30264 status collapsed
30265
30266 \begin_layout Plain Layout
30267 LaTeX-packages ! color
30268 \end_layout
30269
30270 \end_inset
30271
30272  is loaded in the document preamble with the command
30273 \end_layout
30274
30275 \begin_layout Standard
30276
30277 \series bold
30278
30279 \backslash
30280 @ifundefined{textcolor}
30281 \begin_inset Newline newline
30282 \end_inset
30283
30284
30285 \begin_inset Phantom HPhantom
30286 status open
30287
30288 \begin_layout Plain Layout
30289
30290 \series bold
30291 \begin_inset space ~
30292 \end_inset
30293
30294
30295 \end_layout
30296
30297 \end_inset
30298
30299 {
30300 \backslash
30301 usepackage{color}}{}
30302 \end_layout
30303
30304 \begin_layout Standard
30305 The package 
30306 \series bold
30307 color
30308 \series default
30309  will be loaded automatically by LyX when you color text.
30310 \begin_inset Foot
30311 status collapsed
30312
30313 \begin_layout Plain Layout
30314 To avoid it being loaded twice the command 
30315 \series bold
30316
30317 \backslash
30318 @ifundefined
30319 \series default
30320  is used.
30321 \end_layout
30322
30323 \end_inset
30324
30325
30326 \end_layout
30327
30328 \begin_layout Standard
30329 \begin_inset VSpace medskip
30330 \end_inset
30331
30332 Colorboxes are created with the command 
30333 \series bold
30334
30335 \backslash
30336 colorbox
30337 \series default
30338 .
30339  This will be used with the following scheme:
30340 \end_layout
30341
30342 \begin_layout Standard
30343
30344 \series bold
30345
30346 \backslash
30347 colorbox{color}{box content}
30348 \end_layout
30349
30350 \begin_layout Standard
30351 The box content can also be a box and colorboxes can also be within other
30352  boxes.
30353 \end_layout
30354
30355 \begin_layout Standard
30356 The following colors are predefined:
30357 \begin_inset Newline newline
30358 \end_inset
30359
30360
30361 \family sans
30362 black
30363 \family default
30364
30365 \family sans
30366 blue
30367 \family default
30368
30369 \family sans
30370 cyan
30371 \family default
30372 \series bold
30373 ,
30374 \series default
30375  
30376 \family sans
30377 green
30378 \family default
30379
30380 \family sans
30381 magenta
30382 \family default
30383
30384 \family sans
30385 red
30386 \family default
30387
30388 \family sans
30389 white
30390 \family default
30391 , and 
30392 \family sans
30393 yellow
30394 \family default
30395 .
30396 \begin_inset Newline newline
30397 \end_inset
30398
30399 You can also define your own color as described in section
30400 \begin_inset space ~
30401 \end_inset
30402
30403
30404 \begin_inset CommandInset ref
30405 LatexCommand ref
30406 reference "sec:Colored-Tables"
30407
30408 \end_inset
30409
30410 .
30411 \end_layout
30412
30413 \begin_layout Standard
30414 To have e.
30415 \begin_inset space \thinspace{}
30416 \end_inset
30417
30418 g.
30419 \begin_inset space \space{}
30420 \end_inset
30421
30422 a red background for a word, insert the command
30423 \end_layout
30424
30425 \begin_layout Standard
30426
30427 \series bold
30428
30429 \backslash
30430 colorbox{red}{
30431 \end_layout
30432
30433 \begin_layout Standard
30434 before the word in TeX-Code.
30435  After the word insert a closing brace 
30436 \begin_inset Quotes eld
30437 \end_inset
30438
30439
30440 \series bold
30441 }
30442 \series default
30443
30444 \begin_inset Quotes erd
30445 \end_inset
30446
30447  in TeX-Code.
30448 \begin_inset Newline newline
30449 \end_inset
30450
30451 This is the result:
30452 \end_layout
30453
30454 \begin_layout Standard
30455 This is a line where the word 
30456 \begin_inset ERT
30457 status collapsed
30458
30459 \begin_layout Plain Layout
30460
30461
30462 \backslash
30463 colorbox{red}{
30464 \end_layout
30465
30466 \end_inset
30467
30468
30469 \begin_inset Quotes eld
30470 \end_inset
30471
30472 Attention!
30473 \begin_inset Quotes erd
30474 \end_inset
30475
30476
30477 \begin_inset ERT
30478 status collapsed
30479
30480 \begin_layout Plain Layout
30481
30482 }
30483 \end_layout
30484
30485 \end_inset
30486
30487  has a red background.
30488 \end_layout
30489
30490 \begin_layout Standard
30491 \begin_inset VSpace bigskip
30492 \end_inset
30493
30494 If you would like the box frame in a different color, you can use the command
30495  
30496 \series bold
30497
30498 \backslash
30499 fcolorbox
30500 \series default
30501  with the following scheme:
30502 \end_layout
30503
30504 \begin_layout Standard
30505
30506 \series bold
30507
30508 \backslash
30509 fcolorbox{frame color}{box color}{box content}
30510 \end_layout
30511
30512 \begin_layout Standard
30513
30514 \series bold
30515
30516 \backslash
30517 fcolorbox
30518 \series default
30519  is an extension to 
30520 \series bold
30521
30522 \backslash
30523 colorbox
30524 \series default
30525 .
30526  The frame thickness and the space between the frame and the box content
30527  can be adjusted with the lengths 
30528 \series bold
30529
30530 \backslash
30531 fboxrule
30532 \series default
30533  and 
30534 \series bold
30535
30536 \backslash
30537 fboxsep
30538 \series default
30539 , respectively, as described in section
30540 \begin_inset space ~
30541 \end_inset
30542
30543
30544 \begin_inset CommandInset ref
30545 LatexCommand ref
30546 reference "sec:Decoration"
30547
30548 \end_inset
30549
30550 .
30551 \end_layout
30552
30553 \begin_layout Standard
30554 For the following example the command
30555 \end_layout
30556
30557 \begin_layout Standard
30558
30559 \series bold
30560
30561 \backslash
30562 fcolorbox{cyan}{magenta}{
30563 \end_layout
30564
30565 \begin_layout Standard
30566 was used.
30567 \end_layout
30568
30569 \begin_layout Standard
30570 Here is an example where the frame line thickness was set to 1
30571 \begin_inset space \thinspace{}
30572 \end_inset
30573
30574 mm:
30575 \begin_inset Newline newline
30576 \end_inset
30577
30578
30579 \begin_inset ERT
30580 status collapsed
30581
30582 \begin_layout Plain Layout
30583
30584
30585 \backslash
30586 fboxrule 1mm 
30587 \backslash
30588 fboxsep 1mm
30589 \end_layout
30590
30591 \end_inset
30592
30593
30594 \begin_inset ERT
30595 status collapsed
30596
30597 \begin_layout Plain Layout
30598
30599
30600 \backslash
30601 fcolorbox{cyan}{magenta}{
30602 \end_layout
30603
30604 \end_inset
30605
30606 This is text within a colored, framed box.
30607 \begin_inset ERT
30608 status collapsed
30609
30610 \begin_layout Plain Layout
30611
30612 }
30613 \end_layout
30614
30615 \end_inset
30616
30617
30618 \end_layout
30619
30620 \begin_layout Standard
30621 \begin_inset VSpace bigskip
30622 \end_inset
30623
30624 Of course you can also have colored text inside a colorbox:
30625 \begin_inset Newline newline
30626 \end_inset
30627
30628
30629 \begin_inset ERT
30630 status collapsed
30631
30632 \begin_layout Plain Layout
30633
30634
30635 \backslash
30636 fcolorbox{cyan}{magenta}{
30637 \end_layout
30638
30639 \end_inset
30640
30641
30642 \color yellow
30643 This is colored text within a colored, framed box.
30644 \color none
30645
30646 \begin_inset ERT
30647 status collapsed
30648
30649 \begin_layout Plain Layout
30650
30651 }
30652 \end_layout
30653
30654 \end_inset
30655
30656
30657 \begin_inset ERT
30658 status collapsed
30659
30660 \begin_layout Plain Layout
30661
30662
30663 \backslash
30664 fboxrule 0.4pt 
30665 \backslash
30666 fboxsep 3pt
30667 \end_layout
30668
30669 \end_inset
30670
30671
30672 \end_layout
30673
30674 \begin_layout Standard
30675 \begin_inset VSpace medskip
30676 \end_inset
30677
30678
30679 \end_layout
30680
30681 \begin_layout Standard
30682 \begin_inset Note Greyedout
30683 status open
30684
30685 \begin_layout Plain Layout
30686
30687 \series bold
30688 Note:
30689 \series default
30690  Text in colorboxes cannot have line breaks.
30691  To color multiple text lines or paragraphs, use a box inside a colorbox
30692  as described in the following.
30693 \end_layout
30694
30695 \end_inset
30696
30697
30698 \end_layout
30699
30700 \begin_layout Subsection
30701 Color for Paragraphs
30702 \begin_inset CommandInset label
30703 LatexCommand label
30704 name "sub:Color-for-Paragraphs"
30705
30706 \end_inset
30707
30708
30709 \begin_inset Index idx
30710 status collapsed
30711
30712 \begin_layout Plain Layout
30713 Color ! for Paragraphs
30714 \end_layout
30715
30716 \end_inset
30717
30718
30719 \end_layout
30720
30721 \begin_layout Standard
30722 To set the background color for more than one text line, put the text into
30723  a minipage.
30724  Before the minipage insert the 
30725 \series bold
30726
30727 \backslash
30728 colorbox
30729 \series default
30730  command
30731 \end_layout
30732
30733 \begin_layout Standard
30734
30735 \series bold
30736
30737 \backslash
30738 colorbox{color}{
30739 \end_layout
30740
30741 \begin_layout Standard
30742 in TeX-Code.
30743  After the minipage insert a closing brace 
30744 \begin_inset Quotes eld
30745 \end_inset
30746
30747
30748 \series bold
30749 }
30750 \series default
30751
30752 \begin_inset Quotes erd
30753 \end_inset
30754
30755  in TeX-Code.
30756 \end_layout
30757
30758 \begin_layout Standard
30759 \begin_inset ERT
30760 status collapsed
30761
30762 \begin_layout Plain Layout
30763
30764
30765 \backslash
30766 colorbox{lightgrey}{
30767 \end_layout
30768
30769 \end_inset
30770
30771
30772 \begin_inset Box Frameless
30773 position "t"
30774 hor_pos "c"
30775 has_inner_box 1
30776 inner_pos "t"
30777 use_parbox 0
30778 use_makebox 0
30779 width "100col%"
30780 special "none"
30781 height "1in"
30782 height_special "totalheight"
30783 status collapsed
30784
30785 \begin_layout Plain Layout
30786 This is text with background color.
30787  This is text with background color.
30788 \end_layout
30789
30790 \begin_layout Plain Layout
30791 \begin_inset VSpace defskip
30792 \end_inset
30793
30794 The text can have footnotes
30795 \begin_inset Foot
30796 status collapsed
30797
30798 \begin_layout Plain Layout
30799 Another example footnote
30800 \end_layout
30801
30802 \end_inset
30803
30804  and can include tables and figures.
30805 \end_layout
30806
30807 \begin_layout Plain Layout
30808 \align center
30809 \begin_inset Tabular
30810 <lyxtabular version="3" rows="3" columns="3">
30811 <features tabularvalignment="middle">
30812 <column alignment="center" valignment="top" width="0">
30813 <column alignment="center" valignment="top" width="0">
30814 <column alignment="center" valignment="top" width="0">
30815 <row>
30816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30817 \begin_inset Text
30818
30819 \begin_layout Plain Layout
30820 a
30821 \end_layout
30822
30823 \end_inset
30824 </cell>
30825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30826 \begin_inset Text
30827
30828 \begin_layout Plain Layout
30829 !
30830 \end_layout
30831
30832 \end_inset
30833 </cell>
30834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30835 \begin_inset Text
30836
30837 \begin_layout Plain Layout
30838 3
30839 \end_layout
30840
30841 \end_inset
30842 </cell>
30843 </row>
30844 <row>
30845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30846 \begin_inset Text
30847
30848 \begin_layout Plain Layout
30849 <
30850 \end_layout
30851
30852 \end_inset
30853 </cell>
30854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30855 \begin_inset Text
30856
30857 \begin_layout Plain Layout
30858 b2
30859 \begin_inset Quotes erd
30860 \end_inset
30861
30862 |
30863 \end_layout
30864
30865 \end_inset
30866 </cell>
30867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30868 \begin_inset Text
30869
30870 \begin_layout Plain Layout
30871 >
30872 \end_layout
30873
30874 \end_inset
30875 </cell>
30876 </row>
30877 <row>
30878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30879 \begin_inset Text
30880
30881 \begin_layout Plain Layout
30882 1
30883 \end_layout
30884
30885 \end_inset
30886 </cell>
30887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30888 \begin_inset Text
30889
30890 \begin_layout Plain Layout
30891 §
30892 \end_layout
30893
30894 \end_inset
30895 </cell>
30896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30897 \begin_inset Text
30898
30899 \begin_layout Plain Layout
30900 c
30901 \end_layout
30902
30903 \end_inset
30904 </cell>
30905 </row>
30906 </lyxtabular>
30907
30908 \end_inset
30909
30910
30911 \end_layout
30912
30913 \end_inset
30914
30915
30916 \begin_inset ERT
30917 status collapsed
30918
30919 \begin_layout Plain Layout
30920
30921 }
30922 \end_layout
30923
30924 \end_inset
30925
30926
30927 \end_layout
30928
30929 \begin_layout Section
30930 Rotated and Scaled Boxes
30931 \end_layout
30932
30933 \begin_layout Standard
30934 To use the commands described in this section, the LaTeX-package 
30935 \series bold
30936 graphicx
30937 \series default
30938
30939 \begin_inset Index idx
30940 status collapsed
30941
30942 \begin_layout Plain Layout
30943 LaTeX-packages ! graphicx
30944 \end_layout
30945
30946 \end_inset
30947
30948  needs to be loaded in the document preamble with the command
30949 \end_layout
30950
30951 \begin_layout Standard
30952
30953 \series bold
30954
30955 \backslash
30956 @ifundefined{rotatebox}
30957 \begin_inset Newline newline
30958 \end_inset
30959
30960
30961 \begin_inset Phantom HPhantom
30962 status open
30963
30964 \begin_layout Plain Layout
30965
30966 \series bold
30967 \begin_inset space ~
30968 \end_inset
30969
30970
30971 \end_layout
30972
30973 \end_inset
30974
30975 {
30976 \backslash
30977 usepackage{graphicx}}{}
30978 \end_layout
30979
30980 \begin_layout Standard
30981 \begin_inset Note Greyedout
30982 status open
30983
30984 \begin_layout Plain Layout
30985
30986 \series bold
30987 Note:
30988 \series default
30989  Some DVI-viewers can't display rotated or scaled material.
30990 \end_layout
30991
30992 \end_inset
30993
30994
30995 \end_layout
30996
30997 \begin_layout Standard
30998 \begin_inset Note Greyedout
30999 status open
31000
31001 \begin_layout Plain Layout
31002
31003 \series bold
31004 Note:
31005 \series default
31006  Floats mustn't be inside a rotated or scaled box.
31007 \end_layout
31008
31009 \end_inset
31010
31011
31012 \end_layout
31013
31014 \begin_layout Subsection
31015 Rotated Boxes
31016 \begin_inset Index idx
31017 status collapsed
31018
31019 \begin_layout Plain Layout
31020 Boxes ! rotated
31021 \end_layout
31022
31023 \end_inset
31024
31025
31026 \begin_inset Index idx
31027 status collapsed
31028
31029 \begin_layout Plain Layout
31030 Rotated material
31031 \end_layout
31032
31033 \end_inset
31034
31035
31036 \begin_inset Index idx
31037 status collapsed
31038
31039 \begin_layout Plain Layout
31040 Figures ! rotated
31041 \end_layout
31042
31043 \end_inset
31044
31045
31046 \begin_inset Index idx
31047 status collapsed
31048
31049 \begin_layout Plain Layout
31050 Table Customization ! Rotating
31051 \end_layout
31052
31053 \end_inset
31054
31055
31056 \end_layout
31057
31058 \begin_layout Standard
31059 To rotate material, you can put it into a rotated box.
31060  Such a box is created using the command 
31061 \series bold
31062
31063 \backslash
31064 rotatebox
31065 \series default
31066  in TeX-Code with the following scheme:
31067 \end_layout
31068
31069 \begin_layout Standard
31070
31071 \series bold
31072
31073 \backslash
31074 rotatebox[rotation origin]{rotation angle}{box content}
31075 \end_layout
31076
31077 \begin_layout Standard
31078 The rotation origin is specified in the form 
31079 \series bold
31080 origin=position
31081 \series default
31082 .
31083  The following positions are possible: 
31084 \emph on
31085 c
31086 \emph default
31087  (center), 
31088 \emph on
31089 l
31090 \emph default
31091  (left), 
31092 \emph on
31093 r
31094 \emph default
31095  (right), 
31096 \emph on
31097 b
31098 \emph default
31099  (bottom), 
31100 \emph on
31101 t
31102 \emph default
31103  (top), along with meaningful combinations of the four base positions.
31104  For example 
31105 \emph on
31106 lt
31107 \emph default
31108  means that the rotation origin is at the top left corner of the box.
31109  When no rotation origin is specified, the position 
31110 \emph on
31111 l
31112 \emph default
31113  will be used.
31114  The rotation angle is a number that can be negative that specifies the
31115  angle in degrees.
31116  The rotation direction is counterclockwise.
31117 \end_layout
31118
31119 \begin_layout Standard
31120 In the following example the command 
31121 \series bold
31122
31123 \backslash
31124 rotatebox[origin=c]{60}{
31125 \series default
31126  was inserted as TeX-Code before the text 
31127 \begin_inset Quotes eld
31128 \end_inset
31129
31130 with rotated
31131 \begin_inset Quotes erd
31132 \end_inset
31133
31134 ; after the text the box was closed by a closing brace 
31135 \series bold
31136 }
31137 \series default
31138  in TeX-Code.
31139 \end_layout
31140
31141 \begin_layout Standard
31142 This is a line 
31143 \begin_inset ERT
31144 status collapsed
31145
31146 \begin_layout Plain Layout
31147
31148
31149 \backslash
31150 rotatebox[origin=c]{60}{
31151 \end_layout
31152
31153 \end_inset
31154
31155 with rotated
31156 \begin_inset ERT
31157 status collapsed
31158
31159 \begin_layout Plain Layout
31160
31161 }
31162 \end_layout
31163
31164 \end_inset
31165
31166  text.
31167 \end_layout
31168
31169 \begin_layout Standard
31170 The box content can also be another box or an inline formula:
31171 \end_layout
31172
31173 \begin_layout Standard
31174 This is a line
31175 \begin_inset ERT
31176 status collapsed
31177
31178 \begin_layout Plain Layout
31179
31180
31181 \backslash
31182 rotatebox[origin=r]{-60}{
31183 \end_layout
31184
31185 \end_inset
31186
31187
31188 \begin_inset Box Doublebox
31189 position "c"
31190 hor_pos "c"
31191 has_inner_box 0
31192 inner_pos "c"
31193 use_parbox 0
31194 use_makebox 0
31195 width "1in"
31196 special "width"
31197 height "1in"
31198 height_special "totalheight"
31199 status collapsed
31200
31201 \begin_layout Plain Layout
31202 with rotated
31203 \end_layout
31204
31205 \end_inset
31206
31207
31208 \begin_inset ERT
31209 status collapsed
31210
31211 \begin_layout Plain Layout
31212
31213 }
31214 \end_layout
31215
31216 \end_inset
31217
31218  framed text 
31219 \begin_inset ERT
31220 status collapsed
31221
31222 \begin_layout Plain Layout
31223
31224
31225 \backslash
31226 rotatebox[origin=lb]{60}{
31227 \end_layout
31228
31229 \end_inset
31230
31231
31232 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31233 \end_inset
31234
31235
31236 \begin_inset ERT
31237 status collapsed
31238
31239 \begin_layout Plain Layout
31240
31241 }
31242 \end_layout
31243
31244 \end_inset
31245
31246  and a formula.
31247 \end_layout
31248
31249 \begin_layout Standard
31250 or an image or table:
31251 \end_layout
31252
31253 \begin_layout Standard
31254 This is a line
31255 \begin_inset ERT
31256 status collapsed
31257
31258 \begin_layout Plain Layout
31259
31260
31261 \backslash
31262 rotatebox[origin=lb]{90}{
31263 \end_layout
31264
31265 \end_inset
31266
31267
31268 \begin_inset Graphics
31269         filename clipart/platypus.eps
31270         lyxscale 50
31271         width 25col%
31272
31273 \end_inset
31274
31275
31276 \begin_inset ERT
31277 status collapsed
31278
31279 \begin_layout Plain Layout
31280
31281 }
31282 \end_layout
31283
31284 \end_inset
31285
31286  with a rotated image 
31287 \begin_inset ERT
31288 status collapsed
31289
31290 \begin_layout Plain Layout
31291
31292
31293 \backslash
31294 rotatebox[origin=l]{-90}{
31295 \end_layout
31296
31297 \end_inset
31298
31299
31300 \begin_inset Tabular
31301 <lyxtabular version="3" rows="2" columns="2">
31302 <features tabularvalignment="middle">
31303 <column alignment="center" valignment="top" width="0">
31304 <column alignment="center" valignment="top" width="0">
31305 <row>
31306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31307 \begin_inset Text
31308
31309 \begin_layout Plain Layout
31310 q
31311 \end_layout
31312
31313 \end_inset
31314 </cell>
31315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31316 \begin_inset Text
31317
31318 \begin_layout Plain Layout
31319 w
31320 \end_layout
31321
31322 \end_inset
31323 </cell>
31324 </row>
31325 <row>
31326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31327 \begin_inset Text
31328
31329 \begin_layout Plain Layout
31330 e
31331 \end_layout
31332
31333 \end_inset
31334 </cell>
31335 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31336 \begin_inset Text
31337
31338 \begin_layout Plain Layout
31339 r
31340 \end_layout
31341
31342 \end_inset
31343 </cell>
31344 </row>
31345 </lyxtabular>
31346
31347 \end_inset
31348
31349
31350 \begin_inset ERT
31351 status collapsed
31352
31353 \begin_layout Plain Layout
31354
31355 }
31356 \end_layout
31357
31358 \end_inset
31359
31360  and table.
31361 \end_layout
31362
31363 \begin_layout Subsection
31364 Scaled Boxes
31365 \begin_inset Index idx
31366 status collapsed
31367
31368 \begin_layout Plain Layout
31369 Boxes ! scaled
31370 \end_layout
31371
31372 \end_inset
31373
31374
31375 \begin_inset Index idx
31376 status collapsed
31377
31378 \begin_layout Plain Layout
31379 Scaled material
31380 \end_layout
31381
31382 \end_inset
31383
31384
31385 \begin_inset Index idx
31386 status collapsed
31387
31388 \begin_layout Plain Layout
31389 Figures ! scaled
31390 \end_layout
31391
31392 \end_inset
31393
31394
31395 \begin_inset Index idx
31396 status collapsed
31397
31398 \begin_layout Plain Layout
31399 Table Customization ! Scaling
31400 \end_layout
31401
31402 \end_inset
31403
31404
31405 \end_layout
31406
31407 \begin_layout Standard
31408 To scale material the commands 
31409 \series bold
31410
31411 \backslash
31412 scalebox
31413 \series default
31414  and 
31415 \series bold
31416
31417 \backslash
31418 resizebox
31419 \series default
31420  can be used as TeX-Code.
31421 \end_layout
31422
31423 \begin_layout Standard
31424
31425 \series bold
31426
31427 \backslash
31428 scalebox
31429 \series default
31430  is used with the following scheme:
31431 \end_layout
31432
31433 \begin_layout Standard
31434
31435 \series bold
31436
31437 \backslash
31438 scalebox{horizontal}[vertical]{box content}
31439 \end_layout
31440
31441 \begin_layout Standard
31442 Horizontal and vertical are the corresponding scaling factors.
31443  If no vertical scaling factor is given, the horizontal factor will also
31444  be used as the vertical one.
31445 \end_layout
31446
31447 \begin_layout Standard
31448 The command 
31449 \series bold
31450
31451 \backslash
31452 scalebox{2}{Hello}
31453 \series default
31454  creates for example a double size 
31455 \begin_inset ERT
31456 status collapsed
31457
31458 \begin_layout Plain Layout
31459
31460
31461 \backslash
31462 scalebox{2}{
31463 \end_layout
31464
31465 \end_inset
31466
31467 Hello
31468 \begin_inset ERT
31469 status collapsed
31470
31471 \begin_layout Plain Layout
31472
31473 }
31474 \end_layout
31475
31476 \end_inset
31477
31478 , compared with the document text size.
31479 \end_layout
31480
31481 \begin_layout Standard
31482
31483 \series bold
31484
31485 \backslash
31486 scalebox{2}[1]{Hello}
31487 \series default
31488  on the other hand distorts the 
31489 \begin_inset ERT
31490 status collapsed
31491
31492 \begin_layout Plain Layout
31493
31494
31495 \backslash
31496 scalebox{2}[1]{
31497 \end_layout
31498
31499 \end_inset
31500
31501 Hello
31502 \begin_inset ERT
31503 status collapsed
31504
31505 \begin_layout Plain Layout
31506
31507 }
31508 \end_layout
31509
31510 \end_inset
31511
31512 .
31513 \end_layout
31514
31515 \begin_layout Standard
31516 If the scaling factor is negative, the box content will be mirrored.
31517  Therefore the command 
31518 \series bold
31519
31520 \backslash
31521 scalebox{-1}[1]{Hello}
31522 \series default
31523  can be used to create mirror writing: 
31524 \begin_inset ERT
31525 status collapsed
31526
31527 \begin_layout Plain Layout
31528
31529
31530 \backslash
31531 scalebox{-1}[1]{
31532 \end_layout
31533
31534 \end_inset
31535
31536 Hello
31537 \begin_inset ERT
31538 status collapsed
31539
31540 \begin_layout Plain Layout
31541
31542 }
31543 \end_layout
31544
31545 \end_inset
31546
31547
31548 \end_layout
31549
31550 \begin_layout Standard
31551
31552 \series bold
31553
31554 \backslash
31555 scalebox{1}[-1]{Hello}
31556 \series default
31557  reflects the 
31558 \begin_inset ERT
31559 status collapsed
31560
31561 \begin_layout Plain Layout
31562
31563
31564 \backslash
31565 scalebox{1}[-1]{
31566 \end_layout
31567
31568 \end_inset
31569
31570 Hello
31571 \begin_inset ERT
31572 status collapsed
31573
31574 \begin_layout Plain Layout
31575
31576 }
31577 \end_layout
31578
31579 \end_inset
31580
31581  at the base line.
31582 \end_layout
31583
31584 \begin_layout Standard
31585 Equivalent to 
31586 \series bold
31587
31588 \backslash
31589 scalebox{-1}[1]{box content}
31590 \series default
31591  there exists the command
31592 \begin_inset Newline newline
31593 \end_inset
31594
31595
31596 \series bold
31597
31598 \backslash
31599 reflectbox{box content}
31600 \series default
31601 .
31602 \end_layout
31603
31604 \begin_layout Standard
31605 \begin_inset VSpace bigskip
31606 \end_inset
31607
31608 The command 
31609 \series bold
31610
31611 \backslash
31612 resizebox
31613 \series default
31614  is used to scale the box to a defined width and height.
31615  The command scheme is:
31616 \end_layout
31617
31618 \begin_layout Standard
31619
31620 \series bold
31621
31622 \backslash
31623 resizebox{width}{height}{box content}
31624 \end_layout
31625
31626 \begin_layout Standard
31627 If one of the two command arguments given is an exclamation mark 
31628 \series bold
31629 !
31630 \series default
31631 , the size is set so that the aspect ratio of the box content is kept.
31632 \end_layout
31633
31634 \begin_layout Standard
31635 The command 
31636 \series bold
31637
31638 \backslash
31639 resizebox{2cm}{1cm}{Hello}
31640 \series default
31641  produces: 
31642 \begin_inset ERT
31643 status collapsed
31644
31645 \begin_layout Plain Layout
31646
31647
31648 \backslash
31649 resizebox{2cm}{1cm}{
31650 \end_layout
31651
31652 \end_inset
31653
31654 Hello
31655 \begin_inset ERT
31656 status collapsed
31657
31658 \begin_layout Plain Layout
31659
31660 }
31661 \end_layout
31662
31663 \end_inset
31664
31665
31666 \begin_inset Newline newline
31667 \end_inset
31668
31669 The command 
31670 \series bold
31671
31672 \backslash
31673 resizebox{2cm}{!}{Hello}
31674 \series default
31675  produces: 
31676 \begin_inset ERT
31677 status collapsed
31678
31679 \begin_layout Plain Layout
31680
31681
31682 \backslash
31683 resizebox{2cm}{!}{
31684 \end_layout
31685
31686 \end_inset
31687
31688 Hello
31689 \begin_inset ERT
31690 status collapsed
31691
31692 \begin_layout Plain Layout
31693
31694 }
31695 \end_layout
31696
31697 \end_inset
31698
31699
31700 \end_layout
31701
31702 \begin_layout Standard
31703 \begin_inset VSpace bigskip
31704 \end_inset
31705
31706
31707 \begin_inset Note Greyedout
31708 status open
31709
31710 \begin_layout Plain Layout
31711
31712 \series bold
31713 Note:
31714 \series default
31715  When arguments of 
31716 \series bold
31717
31718 \backslash
31719 scalebox
31720 \series default
31721  or 
31722 \series bold
31723
31724 \backslash
31725 resizebox
31726 \series default
31727  are set to zero, no LaTeX-errors occur when exporting the document but
31728  the exported files can not or only partly be displayed.
31729 \end_layout
31730
31731 \end_inset
31732
31733
31734 \end_layout
31735
31736 \begin_layout Standard
31737 \begin_inset VSpace bigskip
31738 \end_inset
31739
31740
31741 \end_layout
31742
31743 \begin_layout Standard
31744 The boxes can be combined in any order.
31745  E.
31746 \begin_inset space \thinspace{}
31747 \end_inset
31748
31749 g.
31750 \begin_inset space \space{}
31751 \end_inset
31752
31753 the command
31754 \begin_inset Newline newline
31755 \end_inset
31756
31757
31758 \series bold
31759
31760 \backslash
31761 rotatebox[origin=c]{-45}{
31762 \backslash
31763 resizebox{2cm}{!}{
31764 \backslash
31765 reflectbox{Hello}}}
31766 \begin_inset Newline newline
31767 \end_inset
31768
31769
31770 \series default
31771 produces:
31772 \end_layout
31773
31774 \begin_layout Standard
31775 \align center
31776 \begin_inset ERT
31777 status collapsed
31778
31779 \begin_layout Plain Layout
31780
31781
31782 \backslash
31783 rotatebox[origin=c]{-45}{
31784 \backslash
31785 resizebox{2cm}{!}{
31786 \backslash
31787 reflectbox{
31788 \end_layout
31789
31790 \end_inset
31791
31792 Hello
31793 \begin_inset ERT
31794 status collapsed
31795
31796 \begin_layout Plain Layout
31797
31798 }}}
31799 \end_layout
31800
31801 \end_inset
31802
31803
31804 \end_layout
31805
31806 \begin_layout Standard
31807 \noindent
31808 Images, tables, and inline formulas are allowed as box content:
31809 \end_layout
31810
31811 \begin_layout Standard
31812 \align center
31813 \begin_inset ERT
31814 status collapsed
31815
31816 \begin_layout Plain Layout
31817
31818
31819 \backslash
31820 rotatebox[origin=c]{-30}{
31821 \backslash
31822 resizebox{2cm}{!}{
31823 \backslash
31824 reflectbox{
31825 \end_layout
31826
31827 \end_inset
31828
31829
31830 \begin_inset Graphics
31831         filename clipart/platypus.eps
31832         lyxscale 50
31833         width 25col%
31834
31835 \end_inset
31836
31837
31838 \begin_inset ERT
31839 status collapsed
31840
31841 \begin_layout Plain Layout
31842
31843 }}}
31844 \end_layout
31845
31846 \end_inset
31847
31848
31849 \begin_inset ERT
31850 status collapsed
31851
31852 \begin_layout Plain Layout
31853
31854
31855 \backslash
31856 rotatebox[origin=c]{-45}{
31857 \backslash
31858 resizebox{2cm}{!}{
31859 \backslash
31860 reflectbox{
31861 \end_layout
31862
31863 \end_inset
31864
31865
31866 \begin_inset Tabular
31867 <lyxtabular version="3" rows="2" columns="2">
31868 <features tabularvalignment="middle">
31869 <column alignment="center" valignment="top" width="0">
31870 <column alignment="center" valignment="top" width="0">
31871 <row>
31872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31873 \begin_inset Text
31874
31875 \begin_layout Plain Layout
31876 q
31877 \end_layout
31878
31879 \end_inset
31880 </cell>
31881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31882 \begin_inset Text
31883
31884 \begin_layout Plain Layout
31885 w
31886 \end_layout
31887
31888 \end_inset
31889 </cell>
31890 </row>
31891 <row>
31892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31893 \begin_inset Text
31894
31895 \begin_layout Plain Layout
31896 e
31897 \end_layout
31898
31899 \end_inset
31900 </cell>
31901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31902 \begin_inset Text
31903
31904 \begin_layout Plain Layout
31905 r
31906 \end_layout
31907
31908 \end_inset
31909 </cell>
31910 </row>
31911 </lyxtabular>
31912
31913 \end_inset
31914
31915
31916 \begin_inset ERT
31917 status collapsed
31918
31919 \begin_layout Plain Layout
31920
31921 }}}
31922 \end_layout
31923
31924 \end_inset
31925
31926
31927 \begin_inset ERT
31928 status collapsed
31929
31930 \begin_layout Plain Layout
31931
31932
31933 \backslash
31934 rotatebox[origin=c]{-45}{
31935 \backslash
31936 resizebox{2cm}{!}{
31937 \backslash
31938 reflectbox{
31939 \end_layout
31940
31941 \end_inset
31942
31943
31944 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31945 \end_inset
31946
31947
31948 \begin_inset ERT
31949 status collapsed
31950
31951 \begin_layout Plain Layout
31952
31953 }}}
31954 \end_layout
31955
31956 \end_inset
31957
31958
31959 \end_layout
31960
31961 \begin_layout Standard
31962 When the global formula style 
31963 \series bold
31964 fleqn
31965 \series default
31966  is used in the document
31967 \begin_inset Foot
31968 status collapsed
31969
31970 \begin_layout Plain Layout
31971 When 
31972 \begin_inset Quotes eld
31973 \end_inset
31974
31975 fleqn
31976 \begin_inset Quotes erd
31977 \end_inset
31978
31979  is added to the document class options.
31980 \end_layout
31981
31982 \end_inset
31983
31984 , display style formulas can also be scaled.
31985 \end_layout
31986
31987 \begin_layout Chapter
31988 External Document Parts
31989 \begin_inset Index idx
31990 status collapsed
31991
31992 \begin_layout Plain Layout
31993 External Document Parts
31994 \end_layout
31995
31996 \end_inset
31997
31998
31999 \end_layout
32000
32001 \begin_layout Standard
32002 With the menu 
32003 \family sans
32004 Insert\SpecialChar \menuseparator
32005 File
32006 \family default
32007  you can insert external material to your document.
32008  This can be:
32009 \end_layout
32010
32011 \begin_layout Description
32012 LyX
32013 \begin_inset space ~
32014 \end_inset
32015
32016 Document Another LyX document; its content is directly inserted to your
32017  document.
32018 \end_layout
32019
32020 \begin_layout Description
32021 Plain
32022 \begin_inset space ~
32023 \end_inset
32024
32025 Text A text document; each line is inserted in your document as a separate
32026  paragraph.
32027 \end_layout
32028
32029 \begin_layout Description
32030 Plain
32031 \begin_inset space ~
32032 \end_inset
32033
32034 Text,
32035 \begin_inset space ~
32036 \end_inset
32037
32038 Join
32039 \begin_inset space ~
32040 \end_inset
32041
32042 Lines A text document; text lines are inserted in your document continuously
32043  but an empty text line creates a new paragraph.
32044 \end_layout
32045
32046 \begin_layout Description
32047 External
32048 \begin_inset space ~
32049 \end_inset
32050
32051 Material Files in various formats.
32052 \end_layout
32053
32054 \begin_layout Description
32055 Child
32056 \begin_inset space ~
32057 \end_inset
32058
32059 Document LyX or LaTeX-documents.
32060 \end_layout
32061
32062 \begin_layout Section
32063 External Material
32064 \begin_inset Index idx
32065 status collapsed
32066
32067 \begin_layout Plain Layout
32068 External Document Parts ! External Material
32069 \end_layout
32070
32071 \end_inset
32072
32073
32074 \end_layout
32075
32076 \begin_layout Standard
32077 The external material feature allows you to insert files in to your document
32078  without converting them to a format that can be read by the document output
32079  format.
32080  LyX takes care of the necessary conversions.
32081  This is similar to images that can be inserted in various image formats
32082  in LyX documents.
32083  When you have enabled Instant Preview in LyX's preferences under 
32084 \family sans
32085 Look
32086 \begin_inset space ~
32087 \end_inset
32088
32089 and
32090 \begin_inset space ~
32091 \end_inset
32092
32093 feel\SpecialChar \menuseparator
32094 Graphics
32095 \family default
32096 , the external material types Dia and Xfig are directly shown in LyX.
32097 \end_layout
32098
32099 \begin_layout Standard
32100 External material can be inserted via the 
32101 \family sans
32102 External Material
32103 \family default
32104  dialog that is accessible with the menu 
32105 \family sans
32106 Insert\SpecialChar \menuseparator
32107 File\SpecialChar \menuseparator
32108 External
32109 \begin_inset space ~
32110 \end_inset
32111
32112 Material
32113 \family default
32114 .
32115  Currently the following file types (
32116 \family sans
32117 Templates
32118 \family default
32119 ) are allowed:
32120 \end_layout
32121
32122 \begin_layout Description
32123 ChessDiagram This template supports chess position diagrams made with the
32124  program 
32125 \series bold
32126
32127 \begin_inset CommandInset href
32128 LatexCommand href
32129 name "XBoard"
32130 target "http://en.wikipedia.org/wiki/XBoard"
32131
32132 \end_inset
32133
32134
32135 \series default
32136 .
32137 \end_layout
32138
32139 \begin_layout Description
32140 Date This inserts the date in the form 
32141 \emph on
32142 Day-Month-Year
32143 \emph default
32144 .
32145  This is a date inserted as external material: 
32146 \begin_inset External
32147         template Date
32148         filename .
32149
32150 \end_inset
32151
32152
32153 \begin_inset space ~
32154 \end_inset
32155
32156
32157 \begin_inset Note Note
32158 status open
32159
32160 \begin_layout Plain Layout
32161 Remove the protected space when bug 4398 is fixed!
32162 \end_layout
32163
32164 \end_inset
32165
32166
32167 \begin_inset Newline newline
32168 \end_inset
32169
32170 The date is not shown within LyX, only in the output.
32171  There are two other methods of inserting a date: Via menu 
32172 \family sans
32173 Insert\SpecialChar \menuseparator
32174 Date
32175 \family default
32176  and with the LaTeX command 
32177 \series bold
32178
32179 \backslash
32180 today
32181 \series default
32182  as TeX-Code.
32183  The different methods are compared in Table
32184 \begin_inset space ~
32185 \end_inset
32186
32187
32188 \begin_inset CommandInset ref
32189 LatexCommand ref
32190 reference "tab:Comparison-of-the"
32191
32192 \end_inset
32193
32194 .
32195 \end_layout
32196
32197 \begin_layout Description
32198 Dia This template supports diagrams created with the program 
32199 \series bold
32200
32201 \begin_inset CommandInset href
32202 LatexCommand href
32203 name "Dia"
32204 target "http://en.wikipedia.org/wiki/Dia_(software)"
32205
32206 \end_inset
32207
32208
32209 \series default
32210 .
32211 \end_layout
32212
32213 \begin_layout Description
32214 LilyPond This template is used for music notation typeset with the program
32215 \begin_inset Newline linebreak
32216 \end_inset
32217
32218
32219 \series bold
32220
32221 \begin_inset CommandInset href
32222 LatexCommand href
32223 name "LilyPond"
32224 target "http://en.wikipedia.org/wiki/LilyPond"
32225
32226 \end_inset
32227
32228
32229 \series default
32230 .
32231 \end_layout
32232
32233 \begin_layout Description
32234 PDFPages With this template you can insert PDF documents to your document.
32235  To insert certain or all pages of a PDF, use the 
32236 \emph on
32237 pages
32238 \emph default
32239  option in the 
32240 \family sans
32241 Option
32242 \family default
32243  field in the 
32244 \family sans
32245 LaTeX and LyX options
32246 \family default
32247  tab according to the template description in the dialog.
32248  When no 
32249 \emph on
32250 pages
32251 \emph default
32252  option is given, only the first page of the PDF will be inserted.
32253 \end_layout
32254
32255 \begin_layout Description
32256 RasterImage This can be used for bitmap images.
32257  Nearly all popular image formats are supported.
32258  The image can be treated in the 
32259 \family sans
32260 External material
32261 \family default
32262  dialog like the images that are usually included via the 
32263 \family sans
32264 Graphics
32265 \family default
32266  dialog as described in section
32267 \begin_inset space ~
32268 \end_inset
32269
32270
32271 \begin_inset CommandInset ref
32272 LatexCommand ref
32273 reference "sec:Graphics-Dialog"
32274
32275 \end_inset
32276
32277 .
32278  The difference is that only raster images are allowed; that means that
32279  PDF and EPS-images are not supported.
32280 \end_layout
32281
32282 \begin_layout Description
32283 XFig This template supports images created with the program 
32284 \series bold
32285
32286 \begin_inset CommandInset href
32287 LatexCommand href
32288 name "Xfig"
32289 target "http://en.wikipedia.org/wiki/Xfig"
32290
32291 \end_inset
32292
32293
32294 \series default
32295 .
32296 \end_layout
32297
32298 \begin_layout Standard
32299 \begin_inset Float table
32300 placement h
32301 wide false
32302 sideways false
32303 status open
32304
32305 \begin_layout Plain Layout
32306 \begin_inset Caption
32307
32308 \begin_layout Plain Layout
32309 \begin_inset CommandInset label
32310 LatexCommand label
32311 name "tab:Comparison-of-the"
32312
32313 \end_inset
32314
32315 Comparison of the date input methods.
32316 \end_layout
32317
32318 \end_inset
32319
32320
32321 \end_layout
32322
32323 \begin_layout Plain Layout
32324 \align center
32325 \begin_inset Tabular
32326 <lyxtabular version="3" rows="4" columns="4">
32327 <features tabularvalignment="middle">
32328 <column alignment="center" valignment="top" width="0">
32329 <column alignment="center" valignment="top" width="0">
32330 <column alignment="center" valignment="top" width="0">
32331 <column alignment="center" valignment="top" width="0">
32332 <row>
32333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32334 \begin_inset Text
32335
32336 \begin_layout Plain Layout
32337 Document format
32338 \end_layout
32339
32340 \end_inset
32341 </cell>
32342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32343 \begin_inset Text
32344
32345 \begin_layout Plain Layout
32346
32347 \family sans
32348 External Material\SpecialChar \menuseparator
32349 Date
32350 \end_layout
32351
32352 \end_inset
32353 </cell>
32354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32355 \begin_inset Text
32356
32357 \begin_layout Plain Layout
32358
32359 \family sans
32360 Insert\SpecialChar \menuseparator
32361 Date
32362 \end_layout
32363
32364 \end_inset
32365 </cell>
32366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32367 \begin_inset Text
32368
32369 \begin_layout Plain Layout
32370 command 
32371 \series bold
32372
32373 \backslash
32374 today
32375 \end_layout
32376
32377 \end_inset
32378 </cell>
32379 </row>
32380 <row>
32381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32382 \begin_inset Text
32383
32384 \begin_layout Plain Layout
32385 LyX
32386 \end_layout
32387
32388 \end_inset
32389 </cell>
32390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32391 \begin_inset Text
32392
32393 \begin_layout Plain Layout
32394 as inset box
32395 \end_layout
32396
32397 \end_inset
32398 </cell>
32399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32400 \begin_inset Text
32401
32402 \begin_layout Plain Layout
32403 as date
32404 \end_layout
32405
32406 \end_inset
32407 </cell>
32408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32409 \begin_inset Text
32410
32411 \begin_layout Plain Layout
32412 as TeX-Code inset box
32413 \end_layout
32414
32415 \end_inset
32416 </cell>
32417 </row>
32418 <row>
32419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32420 \begin_inset Text
32421
32422 \begin_layout Plain Layout
32423 LaTeX
32424 \end_layout
32425
32426 \end_inset
32427 </cell>
32428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32429 \begin_inset Text
32430
32431 \begin_layout Plain Layout
32432 as date
32433 \end_layout
32434
32435 \end_inset
32436 </cell>
32437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32438 \begin_inset Text
32439
32440 \begin_layout Plain Layout
32441 as date
32442 \end_layout
32443
32444 \end_inset
32445 </cell>
32446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32447 \begin_inset Text
32448
32449 \begin_layout Plain Layout
32450 as command
32451 \end_layout
32452
32453 \end_inset
32454 </cell>
32455 </row>
32456 <row>
32457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32458 \begin_inset Text
32459
32460 \begin_layout Plain Layout
32461 DVI, PDF, PS
32462 \end_layout
32463
32464 \end_inset
32465 </cell>
32466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32467 \begin_inset Text
32468
32469 \begin_layout Plain Layout
32470 as date
32471 \end_layout
32472
32473 \end_inset
32474 </cell>
32475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32476 \begin_inset Text
32477
32478 \begin_layout Plain Layout
32479 as date
32480 \end_layout
32481
32482 \end_inset
32483 </cell>
32484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32485 \begin_inset Text
32486
32487 \begin_layout Plain Layout
32488 as date
32489 \end_layout
32490
32491 \end_inset
32492 </cell>
32493 </row>
32494 </lyxtabular>
32495
32496 \end_inset
32497
32498
32499 \end_layout
32500
32501 \end_inset
32502
32503
32504 \end_layout
32505
32506 \begin_layout Standard
32507 When you use the option 
32508 \family sans
32509 Draft
32510 \family default
32511  in the 
32512 \family sans
32513 File
32514 \family default
32515  tab of the 
32516 \family sans
32517 External Material
32518 \family default
32519  dialog, only the path to the inserted file is shown in the output.
32520 \begin_inset Newline newline
32521 \end_inset
32522
32523 External material is displayed in LyX either as a box like this: 
32524 \begin_inset Graphics
32525         filename clipart/ExternalMaterialQt4.png
32526         scale 85
32527         scaleBeforeRotation
32528
32529 \end_inset
32530
32531  or as image, depending on the option 
32532 \family sans
32533 Show in LyX
32534 \family default
32535  in the 
32536 \family sans
32537 LaTeX and LyX options
32538 \family default
32539  tab of the dialog.
32540 \end_layout
32541
32542 \begin_layout Standard
32543 The 
32544 \family sans
32545 \emph on
32546 Customization
32547 \family default
32548 \emph default
32549  manual explains how you can define your own templates.
32550 \end_layout
32551
32552 \begin_layout Section
32553 Child Documents
32554 \begin_inset CommandInset label
32555 LatexCommand label
32556 name "sec:Child-Documents"
32557
32558 \end_inset
32559
32560
32561 \begin_inset Index idx
32562 status collapsed
32563
32564 \begin_layout Plain Layout
32565 External Document Parts ! Child Documents
32566 \end_layout
32567
32568 \end_inset
32569
32570
32571 \begin_inset Index idx
32572 status collapsed
32573
32574 \begin_layout Plain Layout
32575 Files ! Include
32576 \end_layout
32577
32578 \end_inset
32579
32580
32581 \end_layout
32582
32583 \begin_layout Standard
32584 Child documents are used if you have a long document consisting of several
32585  larger parts or sections.
32586  For maintenance it is often useful and sometimes even required to split
32587  the document into several files that can be revised separately.
32588  The different documents are then the so called 
32589 \begin_inset Quotes eld
32590 \end_inset
32591
32592 child documents
32593 \begin_inset Quotes erd
32594 \end_inset
32595
32596 , and a master document connects them to print the full document or parts
32597  of it.
32598  A child document inherits elements of its master, for example the LaTeX
32599  preamble, the bibliography, and labels for cross-references.
32600 \end_layout
32601
32602 \begin_layout Standard
32603 To be able to work on child documents without the need to open their master,
32604  specify in the child document the master in the menu
32605 \family sans
32606  Document\SpecialChar \menuseparator
32607 Settings\SpecialChar \menuseparator
32608 Document
32609 \begin_inset space ~
32610 \end_inset
32611
32612 Class
32613 \family default
32614 .
32615  This master document will then be used in the background by LyX when you
32616  edit the child document.
32617 \end_layout
32618
32619 \begin_layout Standard
32620 Included documents are displayed in LyX as a box like this: 
32621 \begin_inset Graphics
32622         filename clipart/ChildDocumentQt4.png
32623         scale 85
32624         scaleBeforeRotation
32625
32626 \end_inset
32627
32628  To include child documents in a master document use the menu 
32629 \family sans
32630 Insert\SpecialChar \menuseparator
32631 File\SpecialChar \menuseparator
32632 Child
32633 \begin_inset space ~
32634 \end_inset
32635
32636 Documents
32637 \family default
32638 .
32639  A dialog pops up where you can choose between four include methods:
32640 \end_layout
32641
32642 \begin_layout Description
32643 Include You can include LyX- and LaTeX-documents.
32644  When you press the 
32645 \family sans
32646 Load
32647 \family default
32648  button in the 
32649 \family sans
32650 Child Document
32651 \family default
32652  dialog, the included documents will be opened in LyX in a new file tab
32653  so that you can modify them.
32654 \begin_inset Newline newline
32655 \end_inset
32656
32657
32658 \end_layout
32659
32660 \begin_layout Standard
32661 Here is a child document inserted using 
32662 \family sans
32663 Include
32664 \family default
32665
32666 \begin_inset CommandInset include
32667 LatexCommand include
32668 filename "DummyDocument1.lyx"
32669
32670 \end_inset
32671
32672
32673 \end_layout
32674
32675 \begin_layout Standard
32676 The section numbering includes the sections of the included files in the
32677  order they are inserted in the master document.
32678  The included example document has for example a subsection that is numbered
32679  as a subsection of this section.
32680  Labels of included documents can be referenced: Subsection
32681 \begin_inset space ~
32682 \end_inset
32683
32684
32685 \begin_inset CommandInset ref
32686 LatexCommand ref
32687 reference "sub:External-Subsection-1"
32688
32689 \end_inset
32690
32691 .
32692 \end_layout
32693
32694 \begin_layout Standard
32695 The preamble of the child document is ignored; only the preamble of the
32696  master document is used.
32697  Branches in child documents will be ignored by the master document when
32698  the master document does not have a branch with the same name.
32699  Included documents are inserted starting on a new page and ending with
32700  a page break.
32701 \end_layout
32702
32703 \begin_layout Standard
32704 \begin_inset Note Greyedout
32705 status open
32706
32707 \begin_layout Plain Layout
32708
32709 \series bold
32710 Note:
32711 \series default
32712  If you have included a LyX- or LaTeX-file, you are warned when you export/view
32713  the document in case the child document uses another document class than
32714  the master document as this will lead to unexpected outputs.
32715 \end_layout
32716
32717 \end_inset
32718
32719
32720 \end_layout
32721
32722 \begin_layout Description
32723 Input This method is very similar to the Include method.
32724  The differences are:
32725 \end_layout
32726
32727 \begin_deeper
32728 \begin_layout Itemize
32729 Input files don't start with a new page and don't end with a page break.
32730 \end_layout
32731
32732 \begin_layout Itemize
32733 Input files can be previewed in LyX when 
32734 \family sans
32735 Instant
32736 \begin_inset space ~
32737 \end_inset
32738
32739 Preview
32740 \family default
32741  is enabled in LyX's preferences under 
32742 \family sans
32743 Look
32744 \begin_inset space ~
32745 \end_inset
32746
32747 and
32748 \begin_inset space ~
32749 \end_inset
32750
32751 feel\SpecialChar \menuseparator
32752 Graphics
32753 \family default
32754 .
32755 \end_layout
32756
32757 \begin_layout Itemize
32758 You cannot exclude Input files via the menu 
32759 \family sans
32760 Document\SpecialChar \menuseparator
32761 Settings\SpecialChar \menuseparator
32762 Child Documents
32763 \family default
32764 .
32765 \end_layout
32766
32767 \end_deeper
32768 \begin_layout Standard
32769 Here is a child document inserted using 
32770 \family sans
32771 Input
32772 \family default
32773
32774 \begin_inset CommandInset include
32775 LatexCommand input
32776 filename "DummyDocument2.lyx"
32777
32778 \end_inset
32779
32780
32781 \end_layout
32782
32783 \begin_layout Description
32784 Verbatim With this method any text file can be included.
32785  The file is shown in the output with its source code; no command used in
32786  the text is invoked.
32787  You can use the option 
32788 \family sans
32789 Mark spaces in output
32790 \family default
32791  that displays the character 
32792 \begin_inset Quotes eld
32793 \end_inset
32794
32795
32796 \begin_inset ERT
32797 status collapsed
32798
32799 \begin_layout Plain Layout
32800
32801
32802 \backslash
32803 textvisiblespace 
32804 \end_layout
32805
32806 \end_inset
32807
32808
32809 \begin_inset Quotes erd
32810 \end_inset
32811
32812  for every space character in the source code.
32813  The difference from the method via the menu 
32814 \family sans
32815 Insert\SpecialChar \menuseparator
32816 File\SpecialChar \menuseparator
32817 Plain
32818 \begin_inset space ~
32819 \end_inset
32820
32821 Text
32822 \family default
32823  is that the document content is not shown in LyX.
32824 \end_layout
32825
32826 \begin_layout Standard
32827 Here is a child document inserted as Verbatim: 
32828 \begin_inset CommandInset include
32829 LatexCommand verbatiminput
32830 filename "DummyTextDocument.txt"
32831
32832 \end_inset
32833
32834
32835 \begin_inset VSpace bigskip
32836 \end_inset
32837
32838  Here is a child document inserted as Verbatim using the 
32839 \family sans
32840 Mark spaces in output
32841 \family default
32842  option: 
32843 \begin_inset CommandInset include
32844 LatexCommand verbatiminput*
32845 filename "DummyTextDocument.txt"
32846
32847 \end_inset
32848
32849
32850 \end_layout
32851
32852 \begin_layout Standard
32853 \begin_inset VSpace bigskip
32854 \end_inset
32855
32856
32857 \end_layout
32858
32859 \begin_layout Standard
32860 \begin_inset Note Greyedout
32861 status open
32862
32863 \begin_layout Plain Layout
32864
32865 \series bold
32866 Note:
32867 \series default
32868  As you can see in the examples above, the text of the documents included
32869  as 
32870 \family sans
32871 verbatim
32872 \family default
32873  is not broken at the end of the document lines.
32874 \end_layout
32875
32876 \end_inset
32877
32878
32879 \end_layout
32880
32881 \begin_layout Description
32882 Listings This type is described in chapter
32883 \begin_inset space ~
32884 \end_inset
32885
32886
32887 \begin_inset CommandInset ref
32888 LatexCommand ref
32889 reference "cha:Program-Code-Listings"
32890
32891 \end_inset
32892
32893 .
32894 \end_layout
32895
32896 \begin_layout Standard
32897 \begin_inset Note Greyedout
32898 status open
32899
32900 \begin_layout Plain Layout
32901
32902 \series bold
32903 Note:
32904 \series default
32905  Including the same document twice in a document using different methods
32906  could cause LaTeX-problems.
32907 \end_layout
32908
32909 \end_inset
32910
32911
32912 \end_layout
32913
32914 \begin_layout Standard
32915 If you want to view/export only selected children of your master document,
32916  either because you want to save compiling time or because you want to distribut
32917 e single chapters of the book you are just writing, you can exclude children
32918  from the output.
32919  This is done via the menu 
32920 \family sans
32921 Document\SpecialChar \menuseparator
32922 Settings\SpecialChar \menuseparator
32923 Child Documents
32924 \family default
32925 .
32926  You can exclude\SpecialChar \slash{}
32927 include children by double-clicking on the 
32928 \family sans
32929 include to output
32930 \family default
32931  column of the respective child document in the list (note that this only
32932  works for documents embedded via 
32933 \begin_inset Quotes eld
32934 \end_inset
32935
32936 Include
32937 \begin_inset Quotes erd
32938 \end_inset
32939
32940 , not with 
32941 \begin_inset Quotes eld
32942 \end_inset
32943
32944 Input
32945 \begin_inset Quotes erd
32946 \end_inset
32947
32948 ).
32949  If the option 
32950 \family sans
32951 Maintain counters and references
32952 \family default
32953  is enabled, LyX will assure that all page numbers, references etc.
32954 \begin_inset space ~
32955 \end_inset
32956
32957 are correct as if the whole document was processed.
32958  This is useful if you want the selected sub-documents to look exactly as
32959  in the context of the whole document.
32960  However, LyX needs to process the whole document in the background for
32961  this feature.
32962  So if you want to save compile time and if counters and references do not
32963  need to be correct, disable this checkbox.
32964 \end_layout
32965
32966 \begin_layout Standard
32967 Alternatively, you can put each included file into a branch.
32968 \begin_inset Foot
32969 status collapsed
32970
32971 \begin_layout Plain Layout
32972 Branches are described in section 
32973 \emph on
32974 Branches
32975 \emph default
32976  of the LyX 
32977 \emph on
32978 Userguide
32979 \emph default
32980 .
32981 \end_layout
32982
32983 \end_inset
32984
32985  By enabling\SpecialChar \slash{}
32986 disabling branches you can decide which included files will
32987  appear in the output.
32988  This has the advantage that it also works with Input'ed sub-documents.
32989  However, counters and references will not be maintained with this approach.
32990 \end_layout
32991
32992 \begin_layout Chapter
32993 Program Code Listings
32994 \begin_inset CommandInset label
32995 LatexCommand label
32996 name "cha:Program-Code-Listings"
32997
32998 \end_inset
32999
33000
33001 \begin_inset Index idx
33002 status collapsed
33003
33004 \begin_layout Plain Layout
33005 Listings
33006 \end_layout
33007
33008 \end_inset
33009
33010
33011 \begin_inset Index idx
33012 status collapsed
33013
33014 \begin_layout Plain Layout
33015 Program Code
33016 \end_layout
33017
33018 \end_inset
33019
33020
33021 \begin_inset Index idx
33022 status collapsed
33023
33024 \begin_layout Plain Layout
33025 Floats ! Listings
33026 \end_layout
33027
33028 \end_inset
33029
33030
33031 \end_layout
33032
33033 \begin_layout Standard
33034 To include and typeset program code you can use the 
33035 \family sans
33036 Listings
33037 \family default
33038  inset that can be inserted via the menu 
33039 \family sans
33040 Insert\SpecialChar \menuseparator
33041 Program Listing
33042 \family default
33043 .
33044  The LaTeX-package 
33045 \series bold
33046 listings
33047 \series default
33048
33049 \begin_inset Index idx
33050 status collapsed
33051
33052 \begin_layout Plain Layout
33053 LaTeX-packages ! listings
33054 \end_layout
33055
33056 \end_inset
33057
33058  provides a powerful and flexible way to insert program source code into
33059  your document.
33060 \end_layout
33061
33062 \begin_layout Standard
33063 Right-clicking on a listings inset opens the context menu containing where
33064  you can set the listings format.
33065 \end_layout
33066
33067 \begin_layout Standard
33068 By default, a listing starts a new paragraph in the output.
33069  The placement option 
33070 \family sans
33071 Inline
33072 \begin_inset space ~
33073 \end_inset
33074
33075 listing
33076 \family default
33077  prints the listing inline like this: 
33078 \begin_inset listings
33079 lstparams "language={C++}"
33080 inline true
33081 status open
33082
33083 \begin_layout Plain Layout
33084
33085 int a=5;
33086 \end_layout
33087
33088 \end_inset
33089
33090
33091 \begin_inset Newline newline
33092 \end_inset
33093
33094 The option 
33095 \family sans
33096 Float
33097 \family default
33098  creates a listings float where you can specify the placement options 
33099 \begin_inset Quotes eld
33100 \end_inset
33101
33102
33103 \family sans
33104 h
33105 \family default
33106
33107 \begin_inset Quotes erd
33108 \end_inset
33109
33110
33111 \begin_inset Quotes eld
33112 \end_inset
33113
33114
33115 \family sans
33116 t
33117 \family default
33118
33119 \begin_inset Quotes erd
33120 \end_inset
33121
33122
33123 \begin_inset Quotes eld
33124 \end_inset
33125
33126
33127 \family sans
33128 b
33129 \family default
33130
33131 \begin_inset Quotes erd
33132 \end_inset
33133
33134 , and 
33135 \begin_inset Quotes eld
33136 \end_inset
33137
33138
33139 \family sans
33140 p
33141 \family default
33142
33143 \begin_inset Quotes erd
33144 \end_inset
33145
33146  corresponding to the float placement options described in section
33147 \begin_inset space ~
33148 \end_inset
33149
33150
33151 \begin_inset CommandInset ref
33152 LatexCommand ref
33153 reference "sec:Float-Placement"
33154
33155 \end_inset
33156
33157 .
33158  The placement options can be mixed and are inserted without any separation,
33159  e.
33160 \begin_inset space \thinspace{}
33161 \end_inset
33162
33163 g.
33164 \begin_inset space \space{}
33165 \end_inset
33166
33167
33168 \begin_inset Quotes eld
33169 \end_inset
33170
33171
33172 \family sans
33173 htbp
33174 \family default
33175
33176 \begin_inset Quotes erd
33177 \end_inset
33178
33179 .
33180  The option 
33181 \begin_inset Quotes eld
33182 \end_inset
33183
33184 h
33185 \begin_inset Quotes erd
33186 \end_inset
33187
33188  has sometimes no effect, but you don't need to use the 
33189 \family sans
33190 Float
33191 \family default
33192  option in this case as also non-float listings can have captions and be
33193  referenced.
33194 \end_layout
33195
33196 \begin_layout Standard
33197 You can add captions to listings with the menu 
33198 \family sans
33199 Insert\SpecialChar \menuseparator
33200 Caption
33201 \family default
33202 .
33203  Listings can be referenced like floats: Listing
33204 \begin_inset space ~
33205 \end_inset
33206
33207
33208 \begin_inset CommandInset ref
33209 LatexCommand ref
33210 reference "lst:Example-Listing"
33211
33212 \end_inset
33213
33214
33215 \end_layout
33216
33217 \begin_layout Standard
33218 \begin_inset listings
33219 lstparams "language=Python"
33220 inline false
33221 status open
33222
33223 \begin_layout Plain Layout
33224
33225 \begin_inset Caption
33226
33227 \begin_layout Plain Layout
33228 \begin_inset CommandInset label
33229 LatexCommand label
33230 name "lst:Example-Listing"
33231
33232 \end_inset
33233
33234 Example Listing float
33235 \end_layout
33236
33237 \end_inset
33238
33239 # Example listing float
33240 \end_layout
33241
33242 \begin_layout Plain Layout
33243
33244 def func(param):
33245 \end_layout
33246
33247 \begin_layout Plain Layout
33248
33249     'this is a python function'
33250 \end_layout
33251
33252 \begin_layout Plain Layout
33253
33254     pass
33255 \end_layout
33256
33257 \end_inset
33258
33259
33260 \end_layout
33261
33262 \begin_layout Standard
33263 When you have set a programming language in the listings dialog, the keywords
33264  of this language will be recognized and specially typeset in the output.
33265  In the example listings the Python keyword 
33266 \begin_inset Quotes eld
33267 \end_inset
33268
33269 def
33270 \begin_inset Quotes erd
33271 \end_inset
33272
33273  is recognized and printed bold in the output.
33274 \end_layout
33275
33276 \begin_layout Standard
33277 \begin_inset Note Greyedout
33278 status open
33279
33280 \begin_layout Plain Layout
33281
33282 \series bold
33283 Note:
33284 \series default
33285  If you don't get bold keywords when using typewriter fonts, your 
33286 \family typewriter
33287 typewriter
33288 \family default
33289  font probably doesn't provide a bold shape.
33290  In this case select a different one in the menu 
33291 \family sans
33292 Document\SpecialChar \menuseparator
33293 Settings\SpecialChar \menuseparator
33294 Fonts
33295 \family default
33296 .
33297  (The fonts 
33298 \emph on
33299 LuxiMono, BeraMono
33300 \emph default
33301  and 
33302 \emph on
33303 Courier
33304 \emph default
33305  provide bold shapes.)
33306 \end_layout
33307
33308 \end_inset
33309
33310
33311 \end_layout
33312
33313 \begin_layout Standard
33314 In section 
33315 \family sans
33316 Line
33317 \begin_inset space ~
33318 \end_inset
33319
33320 numbering
33321 \family default
33322  of the listings dialog you can specify the line numbering style.
33323  You can insert a number to specify which lines are numbered in the field
33324  
33325 \family sans
33326 Step
33327 \family default
33328 .
33329  When you insert e.
33330 \begin_inset space \thinspace{}
33331 \end_inset
33332
33333 g.
33334 \begin_inset space \space{}
33335 \end_inset
33336
33337
33338 \begin_inset Quotes eld
33339 \end_inset
33340
33341 3
33342 \begin_inset Quotes erd
33343 \end_inset
33344
33345 , only every 3rd line will be numbered.
33346 \end_layout
33347
33348 \begin_layout Standard
33349 You can furthermore specify a range of lines; only these will then appear
33350  in the output.
33351  The option 
33352 \family sans
33353 Extended character table
33354 \family default
33355  should be used when you use national characters like the German umlauts
33356  in the listing.
33357 \begin_inset Newline newline
33358 \end_inset
33359
33360 Here is an example listing with left line numbering, step 
33361 \begin_inset Quotes eld
33362 \end_inset
33363
33364 3
33365 \begin_inset Quotes erd
33366 \end_inset
33367
33368 , language 
33369 \begin_inset Quotes eld
33370 \end_inset
33371
33372 Python
33373 \begin_inset Quotes erd
33374 \end_inset
33375
33376 , options 
33377 \begin_inset Quotes eld
33378 \end_inset
33379
33380 Extended character table
33381 \begin_inset Quotes erd
33382 \end_inset
33383
33384  and 
33385 \begin_inset Quotes eld
33386 \end_inset
33387
33388 Space
33389 \begin_inset space ~
33390 \end_inset
33391
33392 as
33393 \begin_inset space ~
33394 \end_inset
33395
33396 symbol
33397 \begin_inset Quotes erd
33398 \end_inset
33399
33400 , range lines 3
33401 \begin_inset space \thinspace{}
33402 \end_inset
33403
33404 -
33405 \begin_inset space \thinspace{}
33406 \end_inset
33407
33408 8:
33409 \end_layout
33410
33411 \begin_layout Standard
33412 \begin_inset listings
33413 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
33414 inline false
33415 status open
33416
33417 \begin_layout Plain Layout
33418
33419 def func(param):
33420 \end_layout
33421
33422 \begin_layout Plain Layout
33423
33424     'this is a python function'
33425 \end_layout
33426
33427 \begin_layout Plain Layout
33428
33429     pass
33430 \end_layout
33431
33432 \begin_layout Plain Layout
33433
33434 def func(param):
33435 \end_layout
33436
33437 \begin_layout Plain Layout
33438
33439 'This is a German word: Tschüß'
33440 \end_layout
33441
33442 \begin_layout Plain Layout
33443
33444 pass
33445 \end_layout
33446
33447 \begin_layout Plain Layout
33448
33449 def func(param):
33450 \end_layout
33451
33452 \begin_layout Plain Layout
33453
33454 'this is a python function'
33455 \end_layout
33456
33457 \begin_layout Plain Layout
33458
33459 pass
33460 \end_layout
33461
33462 \end_inset
33463
33464
33465 \end_layout
33466
33467 \begin_layout Standard
33468 When you have tabulators in your listing, you can specify the number of
33469  characters that are spanned by a tabulator in the field 
33470 \family sans
33471 Tabulator
33472 \begin_inset space ~
33473 \end_inset
33474
33475 size
33476 \family default
33477 .
33478 \end_layout
33479
33480 \begin_layout Standard
33481 \begin_inset Note Greyedout
33482 status open
33483
33484 \begin_layout Plain Layout
33485
33486 \series bold
33487 Note:
33488 \series default
33489  Due to a bug in the 
33490 \series bold
33491 listings
33492 \series default
33493  package the line numbering is shifted by a line by every previous listing.
33494  That's the reason why the lines 2 and 5 are numbered in the above listing
33495  and not the lines 3 and 6.
33496 \end_layout
33497
33498 \end_inset
33499
33500
33501 \end_layout
33502
33503 \begin_layout Standard
33504 \begin_inset VSpace bigskip
33505 \end_inset
33506
33507
33508 \end_layout
33509
33510 \begin_layout Standard
33511 It is also possible to print lines from a file as listing.
33512  To do this, use the menu 
33513 \family sans
33514 Insert\SpecialChar \menuseparator
33515 File\SpecialChar \menuseparator
33516 Child Document
33517 \family default
33518  and choose the type 
33519 \family sans
33520 Listings
33521 \family default
33522 .
33523 \begin_inset Foot
33524 status collapsed
33525
33526 \begin_layout Plain Layout
33527 The other child document types are described in section
33528 \begin_inset space ~
33529 \end_inset
33530
33531
33532 \begin_inset CommandInset ref
33533 LatexCommand ref
33534 reference "sec:Child-Documents"
33535
33536 \end_inset
33537
33538 .
33539 \end_layout
33540
33541 \end_inset
33542
33543  In the child document dialog you can specify the listing parameters in
33544  a text box.
33545  To show a list of all available parameters, type in a question mark 
33546 \begin_inset Quotes eld
33547 \end_inset
33548
33549 ?
33550 \begin_inset Quotes erd
33551 \end_inset
33552
33553  in the text box.
33554 \end_layout
33555
33556 \begin_layout Standard
33557 To reference child document listings, write a label text into the corresponding
33558  field of the child document dialog.
33559  The label can then be referenced using the menu 
33560 \family sans
33561 Insert\SpecialChar \menuseparator
33562 Cross-Reference
33563 \family default
33564 .
33565 \end_layout
33566
33567 \begin_layout Standard
33568 Listing
33569 \begin_inset space ~
33570 \end_inset
33571
33572
33573 \begin_inset CommandInset ref
33574 LatexCommand ref
33575 reference "lst:file-listing"
33576
33577 \end_inset
33578
33579  is an example for a listing of a file; there the lines 10
33580 \begin_inset space \thinspace{}
33581 \end_inset
33582
33583 -
33584 \begin_inset space \thinspace{}
33585 \end_inset
33586
33587 15 of this LyX file are listed.
33588 \end_layout
33589
33590 \begin_layout Standard
33591 \begin_inset CommandInset include
33592 LatexCommand lstinputlisting
33593 filename "EmbeddedObjects.lyx"
33594 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
33595
33596 \end_inset
33597
33598
33599 \end_layout
33600
33601 \begin_layout Standard
33602 \begin_inset VSpace bigskip
33603 \end_inset
33604
33605
33606 \end_layout
33607
33608 \begin_layout Standard
33609 Inserting a formula into a listing can be done the following way:
33610 \end_layout
33611
33612 \begin_layout Enumerate
33613 Open the listings dialog and add
33614 \begin_inset Newline newline
33615 \end_inset
33616
33617
33618 \family sans
33619 mathescape=true
33620 \family default
33621
33622 \begin_inset Newline newline
33623 \end_inset
33624
33625 to the field of the 
33626 \family sans
33627 Advanced
33628 \family default
33629  tab.
33630 \end_layout
33631
33632 \begin_layout Enumerate
33633 Create a formula outside the listing
33634 \end_layout
33635
33636 \begin_layout Enumerate
33637 Copy the content of the formula (not the formula inset) to the clipboard
33638  (shortcut 
33639 \begin_inset Info
33640 type  "shortcut"
33641 arg   "copy"
33642 \end_inset
33643
33644 )
33645 \end_layout
33646
33647 \begin_layout Enumerate
33648 In the listing write 
33649 \begin_inset Quotes eld
33650 \end_inset
33651
33652
33653 \family sans
33654 $$
33655 \family default
33656
33657 \begin_inset Quotes erd
33658 \end_inset
33659
33660  and copy from the clipboard between the dollar-signs (shortcut 
33661 \begin_inset Info
33662 type  "shortcut"
33663 arg   "paste"
33664 \end_inset
33665
33666 )
33667 \end_layout
33668
33669 \begin_layout Standard
33670 \begin_inset listings
33671 lstparams "language=Python,mathescape=true"
33672 inline false
33673 status open
33674
33675 \begin_layout Plain Layout
33676
33677 \begin_inset Caption
33678
33679 \begin_layout Plain Layout
33680 Example Listing float containing a formula
33681 \end_layout
33682
33683 \end_inset
33684
33685 # Example listing float
33686 \end_layout
33687
33688 \begin_layout Plain Layout
33689
33690 def func(param):
33691 \end_layout
33692
33693 \begin_layout Plain Layout
33694
33695     # $
33696 \backslash
33697 prod_{n=1}^{
33698 \backslash
33699 infty}
33700 \backslash
33701 ,
33702 \backslash
33703 frac{1}{x^{2}}$
33704 \end_layout
33705
33706 \begin_layout Plain Layout
33707
33708     pass
33709 \end_layout
33710
33711 \end_inset
33712
33713
33714 \end_layout
33715
33716 \begin_layout Standard
33717 \begin_inset VSpace bigskip
33718 \end_inset
33719
33720
33721 \end_layout
33722
33723 \begin_layout Standard
33724 Global listings settings can be set in the 
33725 \family sans
33726 Document\SpecialChar \menuseparator
33727 Settings\SpecialChar \menuseparator
33728 Listings
33729 \family default
33730  dialog.
33731  To get there a list of available options, type in a question mark 
33732 \begin_inset Quotes eld
33733 \end_inset
33734
33735 ?
33736 \begin_inset Quotes erd
33737 \end_inset
33738
33739 .
33740 \end_layout
33741
33742 \begin_layout Standard
33743 For more information about the 
33744 \series bold
33745 listings
33746 \series default
33747  package, we refer to its documentation 
33748 \begin_inset CommandInset citation
33749 LatexCommand cite
33750 key "listings"
33751
33752 \end_inset
33753
33754 .
33755 \end_layout
33756
33757 \begin_layout Standard
33758 \begin_inset Newpage newpage
33759 \end_inset
33760
33761
33762 \end_layout
33763
33764 \begin_layout Chapter
33765 \start_of_appendix
33766 Units available in LyX
33767 \begin_inset Index idx
33768 status collapsed
33769
33770 \begin_layout Plain Layout
33771 Units
33772 \end_layout
33773
33774 \end_inset
33775
33776
33777 \begin_inset CommandInset label
33778 LatexCommand label
33779 name "cha:Units-available-in"
33780
33781 \end_inset
33782
33783
33784 \end_layout
33785
33786 \begin_layout Standard
33787 To understand the units described in this documentation, Table
33788 \begin_inset space ~
33789 \end_inset
33790
33791
33792 \begin_inset CommandInset ref
33793 LatexCommand ref
33794 reference "tab:Units"
33795
33796 \end_inset
33797
33798  explains all units available in LyX.
33799 \end_layout
33800
33801 \begin_layout Standard
33802 \begin_inset Float table
33803 placement h
33804 wide false
33805 sideways false
33806 status open
33807
33808 \begin_layout Plain Layout
33809 \begin_inset Caption
33810
33811 \begin_layout Plain Layout
33812 \begin_inset CommandInset label
33813 LatexCommand label
33814 name "tab:Units"
33815
33816 \end_inset
33817
33818 Units
33819 \end_layout
33820
33821 \end_inset
33822
33823
33824 \end_layout
33825
33826 \begin_layout Plain Layout
33827 \begin_inset VSpace medskip
33828 \end_inset
33829
33830
33831 \end_layout
33832
33833 \begin_layout Plain Layout
33834 \align center
33835 \begin_inset Tabular
33836 <lyxtabular version="3" rows="20" columns="2">
33837 <features tabularvalignment="middle">
33838 <column alignment="center" valignment="top" width="0">
33839 <column alignment="center" valignment="top" width="0">
33840 <row>
33841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33842 \begin_inset Text
33843
33844 \begin_layout Plain Layout
33845 unit
33846 \end_layout
33847
33848 \end_inset
33849 </cell>
33850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33851 \begin_inset Text
33852
33853 \begin_layout Plain Layout
33854 name/description
33855 \end_layout
33856
33857 \end_inset
33858 </cell>
33859 </row>
33860 <row>
33861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33862 \begin_inset Text
33863
33864 \begin_layout Plain Layout
33865 mm
33866 \end_layout
33867
33868 \end_inset
33869 </cell>
33870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33871 \begin_inset Text
33872
33873 \begin_layout Plain Layout
33874 millimeter
33875 \end_layout
33876
33877 \end_inset
33878 </cell>
33879 </row>
33880 <row>
33881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33882 \begin_inset Text
33883
33884 \begin_layout Plain Layout
33885 cm
33886 \end_layout
33887
33888 \end_inset
33889 </cell>
33890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33891 \begin_inset Text
33892
33893 \begin_layout Plain Layout
33894 centimeter
33895 \end_layout
33896
33897 \end_inset
33898 </cell>
33899 </row>
33900 <row>
33901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33902 \begin_inset Text
33903
33904 \begin_layout Plain Layout
33905 in
33906 \end_layout
33907
33908 \end_inset
33909 </cell>
33910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33911 \begin_inset Text
33912
33913 \begin_layout Plain Layout
33914 inch
33915 \end_layout
33916
33917 \end_inset
33918 </cell>
33919 </row>
33920 <row>
33921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33922 \begin_inset Text
33923
33924 \begin_layout Plain Layout
33925 pt
33926 \end_layout
33927
33928 \end_inset
33929 </cell>
33930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33931 \begin_inset Text
33932
33933 \begin_layout Plain Layout
33934 point (72.27
33935 \begin_inset space \thinspace{}
33936 \end_inset
33937
33938 pt = 1
33939 \begin_inset space \thinspace{}
33940 \end_inset
33941
33942 in)
33943 \end_layout
33944
33945 \end_inset
33946 </cell>
33947 </row>
33948 <row>
33949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33950 \begin_inset Text
33951
33952 \begin_layout Plain Layout
33953 pc
33954 \end_layout
33955
33956 \end_inset
33957 </cell>
33958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33959 \begin_inset Text
33960
33961 \begin_layout Plain Layout
33962 pica (1
33963 \begin_inset space \thinspace{}
33964 \end_inset
33965
33966 pc = 12
33967 \begin_inset space \thinspace{}
33968 \end_inset
33969
33970 pt)
33971 \end_layout
33972
33973 \end_inset
33974 </cell>
33975 </row>
33976 <row>
33977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33978 \begin_inset Text
33979
33980 \begin_layout Plain Layout
33981 sp
33982 \end_layout
33983
33984 \end_inset
33985 </cell>
33986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33987 \begin_inset Text
33988
33989 \begin_layout Plain Layout
33990 scaled point (65536
33991 \begin_inset space \thinspace{}
33992 \end_inset
33993
33994 sp = 1
33995 \begin_inset space \thinspace{}
33996 \end_inset
33997
33998 pt)
33999 \end_layout
34000
34001 \end_inset
34002 </cell>
34003 </row>
34004 <row>
34005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34006 \begin_inset Text
34007
34008 \begin_layout Plain Layout
34009 bp
34010 \end_layout
34011
34012 \end_inset
34013 </cell>
34014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34015 \begin_inset Text
34016
34017 \begin_layout Plain Layout
34018 big point (72
34019 \begin_inset space \thinspace{}
34020 \end_inset
34021
34022 bp = 1
34023 \begin_inset space \thinspace{}
34024 \end_inset
34025
34026 in)
34027 \end_layout
34028
34029 \end_inset
34030 </cell>
34031 </row>
34032 <row>
34033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34034 \begin_inset Text
34035
34036 \begin_layout Plain Layout
34037 dd
34038 \end_layout
34039
34040 \end_inset
34041 </cell>
34042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34043 \begin_inset Text
34044
34045 \begin_layout Plain Layout
34046 didot (1
34047 \begin_inset space \thinspace{}
34048 \end_inset
34049
34050 dd 
34051 \begin_inset Formula $\approx$
34052 \end_inset
34053
34054  0.376
34055 \begin_inset space \thinspace{}
34056 \end_inset
34057
34058 mm)
34059 \end_layout
34060
34061 \end_inset
34062 </cell>
34063 </row>
34064 <row>
34065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34066 \begin_inset Text
34067
34068 \begin_layout Plain Layout
34069 cc
34070 \end_layout
34071
34072 \end_inset
34073 </cell>
34074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34075 \begin_inset Text
34076
34077 \begin_layout Plain Layout
34078 cicero (1
34079 \begin_inset space \thinspace{}
34080 \end_inset
34081
34082 cc = 12
34083 \begin_inset space \thinspace{}
34084 \end_inset
34085
34086 dd)
34087 \end_layout
34088
34089 \end_inset
34090 </cell>
34091 </row>
34092 <row>
34093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34094 \begin_inset Text
34095
34096 \begin_layout Plain Layout
34097 Scale%
34098 \end_layout
34099
34100 \end_inset
34101 </cell>
34102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34103 \begin_inset Text
34104
34105 \begin_layout Plain Layout
34106 % of original image width
34107 \end_layout
34108
34109 \end_inset
34110 </cell>
34111 </row>
34112 <row>
34113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34114 \begin_inset Text
34115
34116 \begin_layout Plain Layout
34117 text%
34118 \end_layout
34119
34120 \end_inset
34121 </cell>
34122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34123 \begin_inset Text
34124
34125 \begin_layout Plain Layout
34126 % of text width
34127 \end_layout
34128
34129 \end_inset
34130 </cell>
34131 </row>
34132 <row>
34133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34134 \begin_inset Text
34135
34136 \begin_layout Plain Layout
34137 col%
34138 \end_layout
34139
34140 \end_inset
34141 </cell>
34142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34143 \begin_inset Text
34144
34145 \begin_layout Plain Layout
34146 % of column width
34147 \end_layout
34148
34149 \end_inset
34150 </cell>
34151 </row>
34152 <row>
34153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34154 \begin_inset Text
34155
34156 \begin_layout Plain Layout
34157 page%
34158 \end_layout
34159
34160 \end_inset
34161 </cell>
34162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34163 \begin_inset Text
34164
34165 \begin_layout Plain Layout
34166 % of paper width
34167 \end_layout
34168
34169 \end_inset
34170 </cell>
34171 </row>
34172 <row>
34173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34174 \begin_inset Text
34175
34176 \begin_layout Plain Layout
34177 line%
34178 \end_layout
34179
34180 \end_inset
34181 </cell>
34182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34183 \begin_inset Text
34184
34185 \begin_layout Plain Layout
34186 % of line width
34187 \end_layout
34188
34189 \end_inset
34190 </cell>
34191 </row>
34192 <row>
34193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34194 \begin_inset Text
34195
34196 \begin_layout Plain Layout
34197 theight%
34198 \end_layout
34199
34200 \end_inset
34201 </cell>
34202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34203 \begin_inset Text
34204
34205 \begin_layout Plain Layout
34206 % of text height
34207 \end_layout
34208
34209 \end_inset
34210 </cell>
34211 </row>
34212 <row>
34213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34214 \begin_inset Text
34215
34216 \begin_layout Plain Layout
34217 pheight%
34218 \end_layout
34219
34220 \end_inset
34221 </cell>
34222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34223 \begin_inset Text
34224
34225 \begin_layout Plain Layout
34226 % of paper height
34227 \end_layout
34228
34229 \end_inset
34230 </cell>
34231 </row>
34232 <row>
34233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34234 \begin_inset Text
34235
34236 \begin_layout Plain Layout
34237 ex
34238 \end_layout
34239
34240 \end_inset
34241 </cell>
34242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34243 \begin_inset Text
34244
34245 \begin_layout Plain Layout
34246 height of letter 
34247 \emph on
34248 x
34249 \emph default
34250  in current font
34251 \end_layout
34252
34253 \end_inset
34254 </cell>
34255 </row>
34256 <row>
34257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34258 \begin_inset Text
34259
34260 \begin_layout Plain Layout
34261 em
34262 \end_layout
34263
34264 \end_inset
34265 </cell>
34266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34267 \begin_inset Text
34268
34269 \begin_layout Plain Layout
34270 width of letter 
34271 \emph on
34272 M
34273 \emph default
34274  in current font
34275 \end_layout
34276
34277 \end_inset
34278 </cell>
34279 </row>
34280 <row>
34281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34282 \begin_inset Text
34283
34284 \begin_layout Plain Layout
34285 mu
34286 \end_layout
34287
34288 \end_inset
34289 </cell>
34290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34291 \begin_inset Text
34292
34293 \begin_layout Plain Layout
34294 math unit (1
34295 \begin_inset space \thinspace{}
34296 \end_inset
34297
34298 mu = 1/18
34299 \begin_inset space \thinspace{}
34300 \end_inset
34301
34302 em)
34303 \end_layout
34304
34305 \end_inset
34306 </cell>
34307 </row>
34308 </lyxtabular>
34309
34310 \end_inset
34311
34312
34313 \end_layout
34314
34315 \end_inset
34316
34317
34318 \end_layout
34319
34320 \begin_layout Chapter
34321 Output File Formats with Graphics
34322 \begin_inset CommandInset label
34323 LatexCommand label
34324 name "cha:Output-File-Formats"
34325
34326 \end_inset
34327
34328
34329 \end_layout
34330
34331 \begin_layout Section
34332 DVI
34333 \begin_inset Index idx
34334 status collapsed
34335
34336 \begin_layout Plain Layout
34337 File Formats ! DVI
34338 \end_layout
34339
34340 \end_inset
34341
34342
34343 \begin_inset Index idx
34344 status collapsed
34345
34346 \begin_layout Plain Layout
34347 DVI|see
34348 \begin_inset ERT
34349 status collapsed
34350
34351 \begin_layout Plain Layout
34352
34353 {
34354 \end_layout
34355
34356 \end_inset
34357
34358 File Formats
34359 \begin_inset ERT
34360 status collapsed
34361
34362 \begin_layout Plain Layout
34363
34364 }
34365 \end_layout
34366
34367 \end_inset
34368
34369
34370 \end_layout
34371
34372 \end_inset
34373
34374
34375 \end_layout
34376
34377 \begin_layout Standard
34378 This file type has the extension 
34379 \begin_inset Quotes eld
34380 \end_inset
34381
34382
34383 \family typewriter
34384 .dvi
34385 \family default
34386
34387 \begin_inset Quotes erd
34388 \end_inset
34389
34390 .
34391  It is called 
34392 \begin_inset Quotes eld
34393 \end_inset
34394
34395 device-independent
34396 \begin_inset Quotes erd
34397 \end_inset
34398
34399  (DVI), because it is completely portable; you can move them from one machine
34400  to another without needing to do any sort of conversion.
34401  At the time when this file-format was developed, this was no matter of
34402  course.
34403  DVIs are used for quick previews and as pre-stage for other output formats,
34404  like PostScript.
34405 \end_layout
34406
34407 \begin_layout Standard
34408 \begin_inset Note Greyedout
34409 status open
34410
34411 \begin_layout Plain Layout
34412
34413 \series bold
34414 Note:
34415 \series default
34416  DVI-files do not contain images; they will only be a linked.
34417 \end_layout
34418
34419 \end_inset
34420
34421  So don't forget this, if you move your 
34422 \family typewriter
34423 .dvi
34424 \family default
34425  file to another computer.
34426  This property can also slow down your computer when you view the DVI, because
34427  the DVI-viewer has to convert the image in the background to make it visible
34428  when you scroll in the DVI.
34429  So it is recommended that you use PDF for files with many images.
34430 \end_layout
34431
34432 \begin_layout Standard
34433 You can export your document to DVI by using the menu 
34434 \family sans
34435 File\SpecialChar \menuseparator
34436 Export\SpecialChar \menuseparator
34437 DVI
34438 \family default
34439 .
34440  You can view your document as DVI via the 
34441 \family sans
34442 View
34443 \family default
34444  menu or by using the toolbar button 
34445 \begin_inset Graphics
34446         filename ../images/buffer-view_dvi.png
34447         scale 85
34448         scaleBeforeRotation
34449
34450 \end_inset
34451
34452 .
34453 \end_layout
34454
34455 \begin_layout Section
34456 PostScript
34457 \begin_inset CommandInset label
34458 LatexCommand label
34459 name "sec:PostScript"
34460
34461 \end_inset
34462
34463
34464 \begin_inset Index idx
34465 status collapsed
34466
34467 \begin_layout Plain Layout
34468 File Formats ! PostScript
34469 \end_layout
34470
34471 \end_inset
34472
34473
34474 \begin_inset Index idx
34475 status collapsed
34476
34477 \begin_layout Plain Layout
34478 PostScript|see
34479 \begin_inset ERT
34480 status collapsed
34481
34482 \begin_layout Plain Layout
34483
34484 {
34485 \end_layout
34486
34487 \end_inset
34488
34489 File Formats
34490 \begin_inset ERT
34491 status collapsed
34492
34493 \begin_layout Plain Layout
34494
34495 }
34496 \end_layout
34497
34498 \end_inset
34499
34500
34501 \end_layout
34502
34503 \end_inset
34504
34505
34506 \end_layout
34507
34508 \begin_layout Standard
34509 This file type has the extension 
34510 \begin_inset Quotes eld
34511 \end_inset
34512
34513
34514 \family typewriter
34515 .ps
34516 \family default
34517
34518 \begin_inset Quotes erd
34519 \end_inset
34520
34521 .
34522  PostScript was developed by the company 
34523 \family typewriter
34524 Adobe
34525 \family default
34526  as a printer language.
34527  The file therefore contains commands that the printer uses to print the
34528  file.
34529  PostScript can be seen as a 
34530 \begin_inset Quotes eld
34531 \end_inset
34532
34533 programming language
34534 \begin_inset Quotes erd
34535 \end_inset
34536
34537 ; you can calculate with it and draw diagrams and images
34538 \begin_inset Foot
34539 status collapsed
34540
34541 \begin_layout Plain Layout
34542 If you are interested to learn more about this, have a look at the LaTeX-package
34543  
34544 \series bold
34545 PSTricks
34546 \series default
34547  
34548 \begin_inset CommandInset citation
34549 LatexCommand cite
34550 key "pstricks"
34551
34552 \end_inset
34553
34554 .
34555 \end_layout
34556
34557 \end_inset
34558
34559 .
34560  Due to this ability, the files are often bigger than PDFs.
34561 \end_layout
34562
34563 \begin_layout Standard
34564 PostScript can only contain images in the format 
34565 \begin_inset Quotes eld
34566 \end_inset
34567
34568 Encapsulated PostScript
34569 \begin_inset Quotes erd
34570 \end_inset
34571
34572  (EPS, file extension 
34573 \begin_inset Quotes eld
34574 \end_inset
34575
34576
34577 \family typewriter
34578 .eps
34579 \family default
34580
34581 \begin_inset Quotes erd
34582 \end_inset
34583
34584 ).
34585  As LyX allows you to use any known image format in your document, it has
34586  to convert images in the background to EPS.
34587  If you have e.g.
34588 \begin_inset space ~
34589 \end_inset
34590
34591 50
34592 \begin_inset space ~
34593 \end_inset
34594
34595 images in your document, LyX has to do 50
34596 \begin_inset space ~
34597 \end_inset
34598
34599 conversions whenever you view or export your document.
34600  This will slow down your work flow with LyX drastically.
34601  So if you plan to use PostScript, you can insert your images directly as
34602  EPS to avoid this problem.
34603 \end_layout
34604
34605 \begin_layout Standard
34606 You can export your document to PostScript using the menu 
34607 \family sans
34608 File\SpecialChar \menuseparator
34609 Export\SpecialChar \menuseparator
34610 Postscript
34611 \family default
34612 .
34613  You can view your document as PostScript via the 
34614 \family sans
34615 View
34616 \family default
34617  menu or by using the toolbar button 
34618 \begin_inset Graphics
34619         filename ../images/buffer-view_ps.png
34620         scale 85
34621         scaleBeforeRotation
34622
34623 \end_inset
34624
34625 .
34626 \end_layout
34627
34628 \begin_layout Section
34629 PDF
34630 \begin_inset Index idx
34631 status collapsed
34632
34633 \begin_layout Plain Layout
34634 File Formats ! PDF
34635 \end_layout
34636
34637 \end_inset
34638
34639
34640 \begin_inset Index idx
34641 status collapsed
34642
34643 \begin_layout Plain Layout
34644 PDF
34645 \end_layout
34646
34647 \end_inset
34648
34649
34650 \end_layout
34651
34652 \begin_layout Standard
34653 This file type has the extension 
34654 \begin_inset Quotes eld
34655 \end_inset
34656
34657
34658 \family typewriter
34659 .pdf
34660 \family default
34661
34662 \begin_inset Quotes erd
34663 \end_inset
34664
34665 .
34666  The 
34667 \begin_inset Quotes eld
34668 \end_inset
34669
34670 Portable Document Format
34671 \begin_inset Quotes erd
34672 \end_inset
34673
34674  (PDF) was developed by 
34675 \family typewriter
34676 Adobe
34677 \family default
34678  as a derivative of PostScript.
34679  It is more compressed and it uses fewer commands than PostScript.
34680  As the name 
34681 \begin_inset Quotes eld
34682 \end_inset
34683
34684 portable
34685 \begin_inset Quotes erd
34686 \end_inset
34687
34688  implies, it can be processed at any computer system and the printed output
34689  looks exactly the same.
34690 \end_layout
34691
34692 \begin_layout Standard
34693 PDF can contain images in its own PDF format, in the format 
34694 \begin_inset Quotes eld
34695 \end_inset
34696
34697 Joint Photographic Experts Group
34698 \begin_inset Quotes erd
34699 \end_inset
34700
34701  (JPG, file extension 
34702 \begin_inset Quotes eld
34703 \end_inset
34704
34705
34706 \family typewriter
34707 .jpg
34708 \family default
34709
34710 \begin_inset Quotes erd
34711 \end_inset
34712
34713  or 
34714 \begin_inset Quotes eld
34715 \end_inset
34716
34717
34718 \family typewriter
34719 .jpeg
34720 \family default
34721
34722 \begin_inset Quotes erd
34723 \end_inset
34724
34725 ), and in the format 
34726 \begin_inset Quotes eld
34727 \end_inset
34728
34729 Portable Network Graphics
34730 \begin_inset Quotes erd
34731 \end_inset
34732
34733  (PNG, file extension 
34734 \begin_inset Quotes eld
34735 \end_inset
34736
34737
34738 \family typewriter
34739 .png
34740 \family default
34741
34742 \begin_inset Quotes erd
34743 \end_inset
34744
34745 ).
34746  Nevertheless you can use any other image format, because LyX converts them
34747  in the background to one of these formats.
34748  But as described in the section about PostScript, the image conversion
34749  will slow down your work flow.
34750  So it is recommended that you use images in one of the three mentioned
34751  formats.
34752 \end_layout
34753
34754 \begin_layout Standard
34755 You can export your document to PDF via the menu 
34756 \family sans
34757 File\SpecialChar \menuseparator
34758 Export
34759 \family default
34760  in three different ways:
34761 \end_layout
34762
34763 \begin_layout Description
34764 PDF
34765 \begin_inset space ~
34766 \end_inset
34767
34768 (ps2pdf) This uses the program 
34769 \family typewriter
34770 ps2pdf
34771 \family default
34772  that creates a PDF from a PostScript-version of your file.
34773  The PostScript-version is produced by the program 
34774 \family typewriter
34775 dvips
34776 \family default
34777  which uses a DVI-version as intermediate step.
34778  So this export variant consists of three conversions.
34779 \end_layout
34780
34781 \begin_layout Description
34782 PDF
34783 \begin_inset space ~
34784 \end_inset
34785
34786 (dvipdfm) This uses the program 
34787 \family typewriter
34788 dvipdfm
34789 \family default
34790  that converts your file in the background to DVI and in a second step to
34791  PDF.
34792 \end_layout
34793
34794 \begin_layout Description
34795 PDF
34796 \begin_inset space ~
34797 \end_inset
34798
34799 (pdflatex) This uses the program 
34800 \family typewriter
34801 pdftex
34802 \family default
34803  that converts your file directly to PDF.
34804 \end_layout
34805
34806 \begin_layout Standard
34807 It is recommended that you use 
34808 \family sans
34809 PDF
34810 \begin_inset space ~
34811 \end_inset
34812
34813 (pdflatex)
34814 \family default
34815  because 
34816 \family typewriter
34817 pdftex
34818 \family default
34819  supports all features of actual PDF-versions, is quick and works stable.
34820  The program 
34821 \family typewriter
34822 dvipdfm
34823 \family default
34824  is not under development and therefore a bit outdated.
34825 \end_layout
34826
34827 \begin_layout Standard
34828 You can view your document as PDF via the 
34829 \family sans
34830 View
34831 \family default
34832  menu or by using the toolbar button 
34833 \begin_inset Graphics
34834         filename ../images/buffer-view_pdf2.png
34835         scale 85
34836         scaleBeforeRotation
34837
34838 \end_inset
34839
34840  
34841 \family sans
34842 (
34843 \family default
34844 that uses 
34845 \family sans
34846 PDF
34847 \begin_inset space ~
34848 \end_inset
34849
34850 (pdflatex)
34851 \family default
34852 ).
34853 \end_layout
34854
34855 \begin_layout Chapter
34856 Explanation of Equation
34857 \begin_inset space ~
34858 \end_inset
34859
34860 (
34861 \begin_inset CommandInset ref
34862 LatexCommand ref
34863 reference "eq:Wgn"
34864
34865 \end_inset
34866
34867 )
34868 \begin_inset CommandInset label
34869 LatexCommand label
34870 name "cha:Explanation-of-Equation"
34871
34872 \end_inset
34873
34874
34875 \end_layout
34876
34877 \begin_layout Standard
34878 We can calculate the total width of 
34879 \emph on
34880 n
34881 \emph default
34882  table cells 
34883 \begin_inset Formula $W_{\mathrm{tot\, n}}$
34884 \end_inset
34885
34886  as follows:
34887 \end_layout
34888
34889 \begin_layout Standard
34890 \begin_inset Formula 
34891 \begin{equation}
34892 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
34893 \end{equation}
34894
34895 \end_inset
34896
34897 where 
34898 \begin_inset Formula $W_{g\, n}$
34899 \end_inset
34900
34901  is the given width of all cells, 
34902 \series bold
34903
34904 \backslash
34905 tabcolsep
34906 \series default
34907  is the LaTeX-length between the cell text and the cell border (its default
34908  value is 6
34909 \begin_inset space \thinspace{}
34910 \end_inset
34911
34912 pt).
34913  
34914 \series bold
34915
34916 \backslash
34917 arrayrulewidth
34918 \series default
34919  is the thickness of the cell border line, the default is 0.4
34920 \begin_inset space \thinspace{}
34921 \end_inset
34922
34923 pt.
34924 \end_layout
34925
34926 \begin_layout Standard
34927 Following equation
34928 \begin_inset space ~
34929 \end_inset
34930
34931
34932 \begin_inset CommandInset ref
34933 LatexCommand eqref
34934 reference "eq:Wtot_n"
34935
34936 \end_inset
34937
34938 , the total width of a multicolumn 
34939 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
34940 \end_inset
34941
34942  is
34943 \end_layout
34944
34945 \begin_layout Standard
34946 \begin_inset Formula 
34947 \begin{equation}
34948 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
34949 \end{equation}
34950
34951 \end_inset
34952
34953
34954 \end_layout
34955
34956 \begin_layout Standard
34957 By setting equation
34958 \begin_inset space ~
34959 \end_inset
34960
34961
34962 \begin_inset CommandInset ref
34963 LatexCommand eqref
34964 reference "eq:Wtot_n"
34965
34966 \end_inset
34967
34968  and 
34969 \begin_inset CommandInset ref
34970 LatexCommand eqref
34971 reference "eq:Wtot_mult"
34972
34973 \end_inset
34974
34975  equal we can calculate the needed given width 
34976 \begin_inset Formula $W_{g\, n}$
34977 \end_inset
34978
34979  when 
34980 \emph on
34981 n
34982 \emph default
34983  columns are spanned, so that each column has a total width of 
34984 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34985 \end_inset
34986
34987 :
34988 \end_layout
34989
34990 \begin_layout Standard
34991 \begin_inset Formula 
34992 \begin{equation}
34993 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
34994 \end{equation}
34995
34996 \end_inset
34997
34998
34999 \end_layout
35000
35001 \begin_layout Bibliography
35002 \labelwidthstring Bibliography
35003 \begin_inset CommandInset bibitem
35004 LatexCommand bibitem
35005 key "latexcompanion"
35006
35007 \end_inset
35008
35009 Frank Mittelbach and Michel Goossens: 
35010 \emph on
35011 The LaTeX Companion Second Edition.
35012
35013 \emph default
35014  Addison-Wesley, 2004
35015 \end_layout
35016
35017 \begin_layout Bibliography
35018 \labelwidthstring Bibliography
35019 \begin_inset CommandInset bibitem
35020 LatexCommand bibitem
35021 key "latexguide"
35022
35023 \end_inset
35024
35025 Helmut Kopka and Patrick W.
35026  Daly: 
35027 \emph on
35028 A Guide to LaTeX Fourth Edition.
35029
35030 \emph default
35031  Addison-Wesley, 2003
35032 \end_layout
35033
35034 \begin_layout Bibliography
35035 \labelwidthstring Bibliography
35036 \begin_inset CommandInset bibitem
35037 LatexCommand bibitem
35038 key "latexbook"
35039
35040 \end_inset
35041
35042 Leslie Lamport: 
35043 \emph on
35044 LaTeX: A Document Preparation System.
35045
35046 \emph default
35047  Addison-Wesley, second edition, 1994
35048 \end_layout
35049
35050 \begin_layout Bibliography
35051 \labelwidthstring Bibliography
35052 \begin_inset CommandInset bibitem
35053 LatexCommand bibitem
35054 key "booktabs"
35055
35056 \end_inset
35057
35058 Documentation of the LaTeX-package 
35059 \series bold
35060
35061 \begin_inset CommandInset href
35062 LatexCommand href
35063 name "booktabs"
35064 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
35065
35066 \end_inset
35067
35068
35069 \series default
35070
35071 \begin_inset Index idx
35072 status collapsed
35073
35074 \begin_layout Plain Layout
35075 LaTeX-packages ! booktabs
35076 \end_layout
35077
35078 \end_inset
35079
35080
35081 \end_layout
35082
35083 \begin_layout Bibliography
35084 \labelwidthstring Bibliography
35085 \begin_inset CommandInset bibitem
35086 LatexCommand bibitem
35087 key "caption"
35088
35089 \end_inset
35090
35091 Documentation of the LaTeX-package 
35092 \series bold
35093
35094 \begin_inset CommandInset href
35095 LatexCommand href
35096 name "caption"
35097 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
35098
35099 \end_inset
35100
35101
35102 \series default
35103
35104 \begin_inset Index idx
35105 status collapsed
35106
35107 \begin_layout Plain Layout
35108 LaTeX-packages ! caption
35109 \end_layout
35110
35111 \end_inset
35112
35113
35114 \end_layout
35115
35116 \begin_layout Bibliography
35117 \labelwidthstring Bibliography
35118 \begin_inset CommandInset bibitem
35119 LatexCommand bibitem
35120 key "endfloat"
35121
35122 \end_inset
35123
35124 Documentation of the LaTeX-package 
35125 \series bold
35126
35127 \begin_inset CommandInset href
35128 LatexCommand href
35129 name "endfloat"
35130 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
35131
35132 \end_inset
35133
35134
35135 \series default
35136
35137 \begin_inset Index idx
35138 status collapsed
35139
35140 \begin_layout Plain Layout
35141 LaTeX-packages ! endfloat
35142 \end_layout
35143
35144 \end_inset
35145
35146
35147 \end_layout
35148
35149 \begin_layout Bibliography
35150 \labelwidthstring Bibliography
35151 \begin_inset CommandInset bibitem
35152 LatexCommand bibitem
35153 key "wrapfig"
35154
35155 \end_inset
35156
35157 Documentation of the LaTeX-package 
35158 \series bold
35159
35160 \begin_inset CommandInset href
35161 LatexCommand href
35162 name "wrapfig"
35163 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
35164
35165 \end_inset
35166
35167
35168 \series default
35169
35170 \begin_inset Index idx
35171 status collapsed
35172
35173 \begin_layout Plain Layout
35174 LaTeX-packages ! wrapfig
35175 \begin_inset ERT
35176 status collapsed
35177
35178 \begin_layout Plain Layout
35179
35180
35181 \backslash
35182 vspace{4mm}
35183 \end_layout
35184
35185 \end_inset
35186
35187
35188 \end_layout
35189
35190 \end_inset
35191
35192
35193 \end_layout
35194
35195 \begin_layout Bibliography
35196 \labelwidthstring Bibliography
35197 \begin_inset CommandInset bibitem
35198 LatexCommand bibitem
35199 key "footmisc"
35200
35201 \end_inset
35202
35203 Documentation of the LaTeX-package 
35204 \series bold
35205
35206 \begin_inset CommandInset href
35207 LatexCommand href
35208 name "footmisc"
35209 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
35210
35211 \end_inset
35212
35213
35214 \series default
35215
35216 \begin_inset Index idx
35217 status collapsed
35218
35219 \begin_layout Plain Layout
35220 LaTeX-packages ! footmisc
35221 \end_layout
35222
35223 \end_inset
35224
35225
35226 \end_layout
35227
35228 \begin_layout Bibliography
35229 \labelwidthstring Bibliography
35230 \begin_inset CommandInset bibitem
35231 LatexCommand bibitem
35232 key "hypcap"
35233
35234 \end_inset
35235
35236 Documentation of the LaTeX-package 
35237 \series bold
35238
35239 \begin_inset CommandInset href
35240 LatexCommand href
35241 name "hypcap"
35242 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
35243
35244 \end_inset
35245
35246
35247 \series default
35248
35249 \begin_inset Index idx
35250 status collapsed
35251
35252 \begin_layout Plain Layout
35253 LaTeX-packages ! hyperref
35254 \end_layout
35255
35256 \end_inset
35257
35258
35259 \end_layout
35260
35261 \begin_layout Bibliography
35262 \labelwidthstring Bibliography
35263 \begin_inset CommandInset bibitem
35264 LatexCommand bibitem
35265 key "hyperref"
35266
35267 \end_inset
35268
35269 Documentation of the LaTeX-package 
35270 \series bold
35271
35272 \begin_inset CommandInset href
35273 LatexCommand href
35274 name "hyperref"
35275 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
35276
35277 \end_inset
35278
35279
35280 \series default
35281
35282 \begin_inset Index idx
35283 status collapsed
35284
35285 \begin_layout Plain Layout
35286 LaTeX-packages ! hyperref
35287 \end_layout
35288
35289 \end_inset
35290
35291
35292 \end_layout
35293
35294 \begin_layout Bibliography
35295 \labelwidthstring Bibliography
35296 \begin_inset CommandInset bibitem
35297 LatexCommand bibitem
35298 key "KOMA-Script"
35299
35300 \end_inset
35301
35302 Documentation of the LaTeX-package 
35303 \series bold
35304
35305 \begin_inset CommandInset href
35306 LatexCommand href
35307 name "KOMA-Script"
35308 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
35309
35310 \end_inset
35311
35312
35313 \series default
35314
35315 \begin_inset Index idx
35316 status collapsed
35317
35318 \begin_layout Plain Layout
35319 LaTeX-packages ! KOMA-Script
35320 \end_layout
35321
35322 \end_inset
35323
35324
35325 \end_layout
35326
35327 \begin_layout Bibliography
35328 \labelwidthstring Bibliography
35329 \begin_inset CommandInset bibitem
35330 LatexCommand bibitem
35331 key "listings"
35332
35333 \end_inset
35334
35335 Documentation of the LaTeX-package 
35336 \series bold
35337
35338 \begin_inset CommandInset href
35339 LatexCommand href
35340 name "listings"
35341 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
35342
35343 \end_inset
35344
35345
35346 \series default
35347
35348 \begin_inset Index idx
35349 status collapsed
35350
35351 \begin_layout Plain Layout
35352 LaTeX-packages ! listings
35353 \end_layout
35354
35355 \end_inset
35356
35357
35358 \end_layout
35359
35360 \begin_layout Bibliography
35361 \labelwidthstring Bibliography
35362 \begin_inset CommandInset bibitem
35363 LatexCommand bibitem
35364 key "marginnote"
35365
35366 \end_inset
35367
35368 Documentation of the LaTeX-package 
35369 \series bold
35370
35371 \begin_inset CommandInset href
35372 LatexCommand href
35373 name "marginnote"
35374 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
35375
35376 \end_inset
35377
35378
35379 \series default
35380
35381 \begin_inset Index idx
35382 status collapsed
35383
35384 \begin_layout Plain Layout
35385 LaTeX-packages ! marginnote
35386 \end_layout
35387
35388 \end_inset
35389
35390
35391 \end_layout
35392
35393 \begin_layout Bibliography
35394 \labelwidthstring Bibliography
35395 \begin_inset CommandInset bibitem
35396 LatexCommand bibitem
35397 key "pstricks"
35398
35399 \end_inset
35400
35401 Web page of the LaTeX-package 
35402 \series bold
35403
35404 \begin_inset CommandInset href
35405 LatexCommand href
35406 name "PSTricks"
35407 target "http://tug.org/PSTricks/"
35408
35409 \end_inset
35410
35411
35412 \series default
35413
35414 \begin_inset Index idx
35415 status collapsed
35416
35417 \begin_layout Plain Layout
35418 LaTeX-packages ! PSTricks
35419 \end_layout
35420
35421 \end_inset
35422
35423
35424 \end_layout
35425
35426 \begin_layout Bibliography
35427 \labelwidthstring Bibliography
35428 \begin_inset CommandInset bibitem
35429 LatexCommand bibitem
35430 key "sidecap"
35431
35432 \end_inset
35433
35434 Documentation of the LaTeX-package 
35435 \series bold
35436
35437 \begin_inset CommandInset href
35438 LatexCommand href
35439 name "sidecap"
35440 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
35441
35442 \end_inset
35443
35444
35445 \series default
35446
35447 \begin_inset Index idx
35448 status collapsed
35449
35450 \begin_layout Plain Layout
35451 LaTeX-packages ! sidecap
35452 \end_layout
35453
35454 \end_inset
35455
35456
35457 \end_layout
35458
35459 \begin_layout Bibliography
35460 \labelwidthstring Bibliography
35461 \begin_inset CommandInset bibitem
35462 LatexCommand bibitem
35463 key "prettyref"
35464
35465 \end_inset
35466
35467 Documentation of the LaTeX-package 
35468 \series bold
35469
35470 \begin_inset CommandInset href
35471 LatexCommand href
35472 name "prettyref"
35473 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
35474
35475 \end_inset
35476
35477
35478 \series default
35479
35480 \begin_inset Index idx
35481 status collapsed
35482
35483 \begin_layout Plain Layout
35484 LaTeX-packages ! prettyref
35485 \end_layout
35486
35487 \end_inset
35488
35489
35490 \end_layout
35491
35492 \begin_layout Bibliography
35493 \labelwidthstring Bibliography
35494 \begin_inset CommandInset bibitem
35495 LatexCommand bibitem
35496 key "refstyle"
35497
35498 \end_inset
35499
35500 Documentation of the LaTeX-package 
35501 \series bold
35502
35503 \begin_inset CommandInset href
35504 LatexCommand href
35505 name "refstyle"
35506 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
35507
35508 \end_inset
35509
35510
35511 \series default
35512
35513 \begin_inset Index idx
35514 status collapsed
35515
35516 \begin_layout Plain Layout
35517 LaTeX-packages ! refstyle
35518 \end_layout
35519
35520 \end_inset
35521
35522
35523 \end_layout
35524
35525 \begin_layout Bibliography
35526 \labelwidthstring Bibliography
35527 \begin_inset CommandInset bibitem
35528 LatexCommand bibitem
35529 key "NewInLyX20"
35530
35531 \end_inset
35532
35533
35534 \begin_inset CommandInset href
35535 LatexCommand href
35536 name "Wiki page"
35537 target "http://wiki.lyx.org/LyX/NewInLyX20"
35538
35539 \end_inset
35540
35541  about new features in 
35542 \family sans
35543 LyX 2.0
35544 \family default
35545 .
35546 \end_layout
35547
35548 \begin_layout Standard
35549 \begin_inset CommandInset index_print
35550 LatexCommand printindex
35551 type "idx"
35552
35553 \end_inset
35554
35555
35556 \end_layout
35557
35558 \end_body
35559 \end_document