]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects.lyx: update a dialog description
[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 % check for picinpar
148 % used for surrounded fixed objects
149 \newboolean{picinpar}
150 \IfFileExists{picinpar.sty}
151  {\usepackage{picinpar}
152   \setboolean{picinpar}{true}}
153  {\setboolean{picinpar}{false}}
154 \end_preamble
155 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
156 \use_default_options false
157 \begin_modules
158 initials
159 \end_modules
160 \maintain_unincluded_children false
161 \language english
162 \language_package default
163 \inputencoding auto
164 \fontencoding global
165 \font_roman default
166 \font_sans default
167 \font_typewriter default
168 \font_default_family default
169 \use_non_tex_fonts false
170 \font_sc false
171 \font_osf false
172 \font_sf_scale 100
173 \font_tt_scale 100
174
175 \graphics default
176 \default_output_format default
177 \output_sync 0
178 \bibtex_command default
179 \index_command default
180 \paperfontsize 12
181 \spacing single
182 \use_hyperref true
183 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
184 \pdf_author "LyX Team, Uwe Stöhr"
185 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
186 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
187 \pdf_bookmarks true
188 \pdf_bookmarksnumbered true
189 \pdf_bookmarksopen true
190 \pdf_bookmarksopenlevel 1
191 \pdf_breaklinks false
192 \pdf_pdfborder false
193 \pdf_colorlinks true
194 \pdf_backref false
195 \pdf_pdfusetitle false
196 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
197 \papersize default
198 \use_geometry false
199 \use_amsmath 2
200 \use_esint 0
201 \use_mhchem 1
202 \use_mathdots 1
203 \cite_engine basic
204 \use_bibtopic false
205 \use_indices false
206 \paperorientation portrait
207 \suppress_date false
208 \use_refstyle 0
209 \notefontcolor #0000ff
210 \index Index
211 \shortcut idx
212 \color #008000
213 \end_index
214 \secnumdepth 3
215 \tocdepth 3
216 \paragraph_separation skip
217 \defskip medskip
218 \quotes_language english
219 \papercolumns 1
220 \papersides 2
221 \paperpagestyle default
222 \bullet 1 1 34 -1
223 \bullet 2 2 35 -1
224 \bullet 3 2 7 -1
225 \tracking_changes false
226 \output_changes false
227 \html_math_output 0
228 \html_css_as_file 0
229 \html_be_strict false
230 \end_header
231
232 \begin_body
233
234 \begin_layout Title
235 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
236  manual
237 \end_layout
238
239 \begin_layout Author
240 by the LyX Team
241 \begin_inset Foot
242 status collapsed
243
244 \begin_layout Plain Layout
245 \noindent
246 If you have comments or error corrections, please send them to the LyX Documenta
247 tion mailing list: 
248 \begin_inset CommandInset href
249 LatexCommand href
250 name "lyx-docs@lists.lyx.org"
251 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
252 type "mailto:"
253
254 \end_inset
255
256
257 \end_layout
258
259 \end_inset
260
261
262 \begin_inset Note Note
263 status collapsed
264
265 \begin_layout Plain Layout
266 author: Uwe Stöhr
267 \end_layout
268
269 \end_inset
270
271
272 \begin_inset Newline newline
273 \end_inset
274
275
276 \begin_inset Newline newline
277 \end_inset
278
279
280 \family sans
281 Version 2.0.x
282 \end_layout
283
284 \begin_layout Standard
285 \begin_inset CommandInset toc
286 LatexCommand tableofcontents
287
288 \end_inset
289
290
291 \end_layout
292
293 \begin_layout Standard
294 \begin_inset Note Note
295 status open
296
297 \begin_layout Plain Layout
298 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
299  
300 \series bold
301 arydshln
302 \series default
303
304 \series bold
305 colortbl
306 \series default
307
308 \series bold
309 lettrine, marginnote, picinpar
310 \series default
311  and 
312 \series bold
313 sidecap
314 \series default
315  must be installed.
316  If they are not installed you can export the document anyway but the sections
317  where the packages are required won't appear in the output.
318 \end_layout
319
320 \begin_layout Plain Layout
321 The latest PDF-version of this document can be found here:
322 \begin_inset Newline newline
323 \end_inset
324
325
326 \series bold
327 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
328 \end_layout
329
330 \end_inset
331
332
333 \end_layout
334
335 \begin_layout Chapter
336 Figures
337 \begin_inset Index idx
338 status collapsed
339
340 \begin_layout Plain Layout
341 Figures
342 \end_layout
343
344 \end_inset
345
346
347 \begin_inset Index idx
348 status collapsed
349
350 \begin_layout Plain Layout
351 Graphics|see
352 \begin_inset ERT
353 status collapsed
354
355 \begin_layout Plain Layout
356
357 {
358 \end_layout
359
360 \end_inset
361
362 Figures
363 \begin_inset ERT
364 status collapsed
365
366 \begin_layout Plain Layout
367
368 }
369 \end_layout
370
371 \end_inset
372
373
374 \end_layout
375
376 \end_inset
377
378
379 \end_layout
380
381 \begin_layout Section
382 Graphics Dialog
383 \begin_inset Index idx
384 status collapsed
385
386 \begin_layout Plain Layout
387 Figures ! Graphics Dialog
388 \end_layout
389
390 \end_inset
391
392
393 \begin_inset CommandInset label
394 LatexCommand label
395 name "sec:Graphics-Dialog"
396
397 \end_inset
398
399
400 \end_layout
401
402 \begin_layout Standard
403 To insert an image into your document, place the cursor at the text position
404  you want and click on the toolbar icon 
405 \begin_inset Graphics
406         filename ../images/dialog-show-new-inset_graphics.png
407         scale 85
408         scaleBeforeRotation
409
410 \end_inset
411
412  or use the menu 
413 \family sans
414 Insert\SpecialChar \menuseparator
415 Graphics
416 \family default
417 .
418  Then a dialog will appear to choose the file to load.
419  The image will appear in the output exactly at the position where it is
420  in the text.
421 \end_layout
422
423 \begin_layout Standard
424 The graphics dialog can be called at any time by clicking on an image.
425  This dialog has three tabs:
426 \end_layout
427
428 \begin_layout Description
429
430 \family sans
431 Graphics
432 \family default
433  Here you can choose an image file and adjust its appearance in the output.
434  The available units for the image size are explained in appendix
435 \begin_inset space ~
436 \end_inset
437
438
439 \begin_inset CommandInset ref
440 LatexCommand ref
441 reference "cha:Units-available-in"
442
443 \end_inset
444
445 .
446 \begin_inset Newline newline
447 \end_inset
448
449
450 \begin_inset Index idx
451 status collapsed
452
453 \begin_layout Plain Layout
454 Figures ! rotated
455 \end_layout
456
457 \end_inset
458
459 You can rotate images counter-clockwise by setting a rotation angle and
460  a rotation origin.
461  The image will also be rotated inside LyX.
462 \begin_inset Newline newline
463 \end_inset
464
465
466 \begin_inset Index idx
467 status collapsed
468
469 \begin_layout Plain Layout
470 Figures ! scaled
471 \end_layout
472
473 \end_inset
474
475 Images can be scaled by using a percentage value or by setting the width
476  and height explicitly.
477  If you set only the width or only the height, the other size will be determined
478  automatically.
479  If you set both, then the image will be transformed to the given size,
480  possibly distorting it.
481  To prevent the image from distortion, use the option 
482 \family sans
483 Maintain aspect ratio
484 \family default
485 .
486  The image will then be scaled so that its width and height don't exceed
487  the specified dimensions.
488 \begin_inset Newline newline
489 \end_inset
490
491 Images can be opened in a program of your choice by right-clicking on it
492  and choosing the entry 
493 \family sans
494 Edit
495 \begin_inset space ~
496 \end_inset
497
498 externally
499 \family default
500  in the context menu.
501  The program can be set for every image format in the file format settings
502  in LyX's preferences.
503 \end_layout
504
505 \begin_layout Description
506
507 \family sans
508 Clipping
509 \family default
510  Alternatively to the usage of scaling units it is possible to set image
511  coordinates to adjust the height and width of the image in the output.
512  The coordinates can also be calculated automatically by pressing the button
513  
514 \family sans
515 Get
516 \begin_inset space ~
517 \end_inset
518
519 from
520 \begin_inset space ~
521 \end_inset
522
523 File
524 \family default
525 .
526  The option 
527 \family sans
528 Clip
529 \begin_inset space ~
530 \end_inset
531
532 to
533 \begin_inset space ~
534 \end_inset
535
536 bounding
537 \begin_inset space ~
538 \end_inset
539
540 box
541 \family default
542  will only print the image region within the given coordinates.
543  Normally you don't need to take care about image coordinates and can ignore
544  this tab.
545 \end_layout
546
547 \begin_layout Description
548
549 \family sans
550 LaTeX
551 \begin_inset space ~
552 \end_inset
553
554 and
555 \begin_inset space ~
556 \end_inset
557
558 LyX
559 \begin_inset space ~
560 \end_inset
561
562 options
563 \family default
564  In this tab you can modify the appearance of the image within LyX and LaTeX
565  experts can specify additional LaTeX options.
566 \begin_inset Newline newline
567 \end_inset
568
569 The option 
570 \family sans
571 Draft
572 \begin_inset space ~
573 \end_inset
574
575 mode
576 \family default
577  makes the image appear in the output only as a frame with the size of the
578  image.
579 \begin_inset Newline newline
580 \end_inset
581
582 The 
583 \family sans
584 Don't
585 \begin_inset space ~
586 \end_inset
587
588 unzip
589 \begin_inset space ~
590 \end_inset
591
592 on
593 \begin_inset space ~
594 \end_inset
595
596 export
597 \family default
598  option only affects zipped EPS-graphics, e.
599 \begin_inset space \thinspace{}
600 \end_inset
601
602 g.
603 \begin_inset space \space{}
604 \end_inset
605
606
607 \emph on
608 x.eps.gz
609 \emph default
610 .
611  When the option is used the images will not be unzipped on export, since
612  LaTeX can handle them as they are.
613 \begin_inset Newline newline
614 \end_inset
615
616 Zipped EPS-graphics are useful to save disk space when you choose PostScript
617  as output format, see appendix
618 \begin_inset space ~
619 \end_inset
620
621
622 \begin_inset CommandInset ref
623 LatexCommand ref
624 reference "sec:PostScript"
625
626 \end_inset
627
628 .
629  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
630  console:
631 \begin_inset Newline newline
632 \end_inset
633
634
635 \series bold
636 gzip x.eps
637 \series default
638
639 \begin_inset Newline newline
640 \end_inset
641
642
643 \series bold
644 zgrep %%Bounding x.eps.gz > x.eps.bb
645 \series default
646
647 \begin_inset Newline newline
648 \end_inset
649
650 The second command creates the bounding box file 
651 \begin_inset Quotes eld
652 \end_inset
653
654 x.eps.bb
655 \begin_inset Quotes erd
656 \end_inset
657
658  that is needed by LaTeX for zipped graphics.
659 \begin_inset Newline newline
660 \end_inset
661
662 In the section 
663 \family sans
664 Graphics
665 \begin_inset space ~
666 \end_inset
667
668 Group
669 \family default
670  you can define or join an image settings group.
671 \begin_inset Index idx
672 status collapsed
673
674 \begin_layout Plain Layout
675 Figures ! Settings grouping
676 \end_layout
677
678 \end_inset
679
680  Images within such a group share their settings, so adjusting one image
681  of the group automatically also adjusts all other images of the group in
682  the same way.
683  So you can for example change the size for a bunch of images without the
684  need to manually change each of them.
685  Joining an existing group can also be done using the context menu of the
686  image by checking the name of the desired group.
687 \end_layout
688
689 \begin_layout Standard
690 \begin_inset VSpace bigskip
691 \end_inset
692
693
694 \end_layout
695
696 \begin_layout Standard
697 This is an example image in EPS format
698 \begin_inset Foot
699 status collapsed
700
701 \begin_layout Plain Layout
702 Image formats are explained in section
703 \begin_inset space ~
704 \end_inset
705
706
707 \begin_inset CommandInset ref
708 LatexCommand ref
709 reference "sec:Image-Formats"
710
711 \end_inset
712
713 .
714 \end_layout
715
716 \end_inset
717
718  within a separate, horizontally centered paragraph:
719 \end_layout
720
721 \begin_layout Standard
722 \align center
723 \begin_inset Graphics
724         filename clipart/mobius.eps
725         scale 70
726         scaleBeforeRotation
727         rotateOrigin center
728
729 \end_inset
730
731
732 \end_layout
733
734 \begin_layout Standard
735 This is the same image like the one above but in draft mode:
736 \end_layout
737
738 \begin_layout Standard
739 \align center
740 \begin_inset Graphics
741         filename clipart/mobius.eps
742         scale 70
743         draft
744         scaleBeforeRotation
745         rotateOrigin center
746
747 \end_inset
748
749
750 \end_layout
751
752 \begin_layout Standard
753 \begin_inset Newpage newpage
754 \end_inset
755
756
757 \end_layout
758
759 \begin_layout Section
760 Figure Floats
761 \begin_inset CommandInset label
762 LatexCommand label
763 name "sec:Figure-Floats"
764
765 \end_inset
766
767
768 \begin_inset Index idx
769 status collapsed
770
771 \begin_layout Plain Layout
772 Floats ! Figures
773 \end_layout
774
775 \end_inset
776
777
778 \begin_inset Index idx
779 status collapsed
780
781 \begin_layout Plain Layout
782 Figures ! Floats
783 \end_layout
784
785 \end_inset
786
787
788 \end_layout
789
790 \begin_layout Standard
791 For general explanations about floats, have a look at section
792 \begin_inset space ~
793 \end_inset
794
795
796 \begin_inset CommandInset ref
797 LatexCommand ref
798 reference "sec:FloatIntroduction"
799
800 \end_inset
801
802 .
803 \end_layout
804
805 \begin_layout Standard
806 The toolbar button 
807 \begin_inset Graphics
808         filename ../images/float-insert_figure.png
809         scale 85
810         scaleBeforeRotation
811
812 \end_inset
813
814  and the menu 
815 \family sans
816 Insert\SpecialChar \menuseparator
817 Float\SpecialChar \menuseparator
818 Figure
819 \family default
820  inserts a float with a caption that has the label 
821 \begin_inset Quotes eld
822 \end_inset
823
824 Figure
825 \begin_inset space ~
826 \end_inset
827
828 #:
829 \begin_inset Quotes erd
830 \end_inset
831
832  (# is the actual number).
833  You can insert the image above the caption, like in Figure
834 \begin_inset space ~
835 \end_inset
836
837
838 \begin_inset CommandInset ref
839 LatexCommand ref
840 reference "fig:kill-plat"
841
842 \end_inset
843
844  or below the caption, like in Figure
845 \begin_inset space ~
846 \end_inset
847
848
849 \begin_inset CommandInset ref
850 LatexCommand ref
851 reference "fig:escher"
852
853 \end_inset
854
855 .
856  More about caption placement is described in section
857 \begin_inset space ~
858 \end_inset
859
860
861 \begin_inset CommandInset ref
862 LatexCommand ref
863 reference "sec:Caption-Placement"
864
865 \end_inset
866
867 .
868 \end_layout
869
870 \begin_layout Standard
871 \begin_inset Float figure
872 wide false
873 sideways false
874 status open
875
876 \begin_layout Plain Layout
877 \align center
878 \begin_inset Graphics
879         filename clipart/platypus.eps
880         width 50col%
881         scaleBeforeRotation
882         rotateOrigin center
883
884 \end_inset
885
886
887 \end_layout
888
889 \begin_layout Plain Layout
890 \begin_inset Caption
891
892 \begin_layout Plain Layout
893 \begin_inset CommandInset label
894 LatexCommand label
895 name "fig:kill-plat"
896
897 \end_inset
898
899 A severely distorted platypus in a float.
900 \end_layout
901
902 \end_inset
903
904
905 \end_layout
906
907 \end_inset
908
909
910 \end_layout
911
912 \begin_layout Standard
913 \begin_inset Float figure
914 wide false
915 sideways false
916 status open
917
918 \begin_layout Plain Layout
919 \begin_inset Caption
920
921 \begin_layout Plain Layout
922 \begin_inset CommandInset label
923 LatexCommand label
924 name "fig:escher"
925
926 \end_inset
927
928 M.C.
929  Escher on acid.
930 \end_layout
931
932 \end_inset
933
934
935 \end_layout
936
937 \begin_layout Plain Layout
938 \align center
939 \begin_inset Graphics
940         filename clipart/escher-lsd.eps
941         scale 80
942         scaleBeforeRotation
943         rotateOrigin center
944
945 \end_inset
946
947
948 \end_layout
949
950 \end_inset
951
952
953 \end_layout
954
955 \begin_layout Standard
956 \begin_inset Index idx
957 status collapsed
958
959 \begin_layout Plain Layout
960 References ! to Figures
961 \end_layout
962
963 \end_inset
964
965 Figure
966 \begin_inset space ~
967 \end_inset
968
969
970 \begin_inset CommandInset ref
971 LatexCommand ref
972 reference "fig:kill-plat"
973
974 \end_inset
975
976  and 
977 \begin_inset CommandInset ref
978 LatexCommand ref
979 reference "fig:escher"
980
981 \end_inset
982
983  are examples of referenced figures.
984  Figures can be referenced in the text by referencing their label.
985  To do this insert a label in the caption using the menu 
986 \family sans
987 Insert\SpecialChar \menuseparator
988 Label
989 \family default
990  or the toolbar button 
991 \begin_inset Graphics
992         filename ../images/label-insert.png
993         scale 85
994         scaleBeforeRotation
995
996 \end_inset
997
998 .
999  You can now refer to the label using the menu 
1000 \family sans
1001 Insert\SpecialChar \menuseparator
1002 Cross
1003 \begin_inset space ~
1004 \end_inset
1005
1006 reference
1007 \family default
1008  or the toolbar button 
1009 \begin_inset Graphics
1010         filename ../images/dialog-show-new-inset_ref.png
1011         scale 85
1012         scaleBeforeRotation
1013
1014 \end_inset
1015
1016 .
1017  It is important to use references to floats, rather than using vague references
1018  like 
1019 \begin_inset Quotes eld
1020 \end_inset
1021
1022 the figure above
1023 \begin_inset Quotes erd
1024 \end_inset
1025
1026 , because LaTeX will reposition the floats in the final document and it
1027  might not be 
1028 \begin_inset Quotes eld
1029 \end_inset
1030
1031 above
1032 \begin_inset Quotes erd
1033 \end_inset
1034
1035  at all.
1036 \begin_inset Newline newline
1037 \end_inset
1038
1039 Referencing is explained in detail in section
1040 \begin_inset space ~
1041 \end_inset
1042
1043
1044 \begin_inset CommandInset ref
1045 LatexCommand ref
1046 reference "sec:Referencing-Floats"
1047
1048 \end_inset
1049
1050 .
1051 \end_layout
1052
1053 \begin_layout Standard
1054 Normally only one image is inserted to a figure float, but sometimes you
1055  might want to use two images with separate subcaptions.
1056  This can be done by inserting image floats into existing image floats.
1057  Note that only the main caption of the float is added to the List of Figures.
1058  Figure
1059 \begin_inset space ~
1060 \end_inset
1061
1062
1063 \begin_inset CommandInset ref
1064 LatexCommand ref
1065 reference "fig:Two-distorted-images"
1066
1067 \end_inset
1068
1069  is an example of a figure float with two images set side by side.
1070  You can also set the images one below the other.
1071  Figure
1072 \begin_inset space ~
1073 \end_inset
1074
1075
1076 \begin_inset CommandInset ref
1077 LatexCommand ref
1078 reference "fig:Undefinable-structure"
1079
1080 \end_inset
1081
1082  and 
1083 \begin_inset CommandInset ref
1084 LatexCommand ref
1085 reference "fig:A-Platypus"
1086
1087 \end_inset
1088
1089  are the subfigures.
1090 \end_layout
1091
1092 \begin_layout Standard
1093 \begin_inset Float figure
1094 wide false
1095 sideways false
1096 status open
1097
1098 \begin_layout Plain Layout
1099 \begin_inset space \hfill{}
1100 \end_inset
1101
1102
1103 \begin_inset Float figure
1104 wide false
1105 sideways false
1106 status collapsed
1107
1108 \begin_layout Plain Layout
1109 \begin_inset Caption
1110
1111 \begin_layout Plain Layout
1112 \begin_inset CommandInset label
1113 LatexCommand label
1114 name "fig:Undefinable-structure"
1115
1116 \end_inset
1117
1118 Undefinable structure.
1119 \end_layout
1120
1121 \end_inset
1122
1123
1124 \end_layout
1125
1126 \begin_layout Plain Layout
1127 \begin_inset Graphics
1128         filename clipart/escher-lsd.eps
1129         width 45col%
1130         scaleBeforeRotation
1131         groupId distorted
1132
1133 \end_inset
1134
1135
1136 \end_layout
1137
1138 \end_inset
1139
1140
1141 \begin_inset space \hfill{}
1142 \end_inset
1143
1144
1145 \begin_inset Float figure
1146 wide false
1147 sideways false
1148 status collapsed
1149
1150 \begin_layout Plain Layout
1151 \begin_inset Caption
1152
1153 \begin_layout Plain Layout
1154 \begin_inset CommandInset label
1155 LatexCommand label
1156 name "fig:A-Platypus"
1157
1158 \end_inset
1159
1160 A Platypus.
1161 \end_layout
1162
1163 \end_inset
1164
1165
1166 \end_layout
1167
1168 \begin_layout Plain Layout
1169 \begin_inset Graphics
1170         filename clipart/platypus.eps
1171         width 45col%
1172         scaleBeforeRotation
1173         groupId distorted
1174
1175 \end_inset
1176
1177
1178 \end_layout
1179
1180 \end_inset
1181
1182
1183 \begin_inset space \hfill{}
1184 \end_inset
1185
1186
1187 \end_layout
1188
1189 \begin_layout Plain Layout
1190 \begin_inset Caption
1191
1192 \begin_layout Plain Layout
1193 \begin_inset CommandInset label
1194 LatexCommand label
1195 name "fig:Two-distorted-images"
1196
1197 \end_inset
1198
1199
1200 \begin_inset CommandInset label
1201 LatexCommand label
1202 name "fig2:Two-distorted-images-2"
1203
1204 \end_inset
1205
1206 Two distorted images.
1207  Both images are in the image settings group named 
1208 \begin_inset Quotes eld
1209 \end_inset
1210
1211 distorted
1212 \begin_inset Quotes erd
1213 \end_inset
1214
1215 .
1216 \end_layout
1217
1218 \end_inset
1219
1220
1221 \end_layout
1222
1223 \end_inset
1224
1225
1226 \end_layout
1227
1228 \begin_layout Standard
1229 \begin_inset Newpage newpage
1230 \end_inset
1231
1232
1233 \end_layout
1234
1235 \begin_layout Section
1236 Image Formats
1237 \begin_inset CommandInset label
1238 LatexCommand label
1239 name "sec:Image-Formats"
1240
1241 \end_inset
1242
1243
1244 \begin_inset Index idx
1245 status collapsed
1246
1247 \begin_layout Plain Layout
1248 Image Formats
1249 \end_layout
1250
1251 \end_inset
1252
1253
1254 \begin_inset Index idx
1255 status collapsed
1256
1257 \begin_layout Plain Layout
1258 Figures ! Image Formats
1259 \end_layout
1260
1261 \end_inset
1262
1263
1264 \end_layout
1265
1266 \begin_layout Standard
1267 You can insert images in any known file format.
1268  But as explained in appendix
1269 \begin_inset space ~
1270 \end_inset
1271
1272
1273 \begin_inset CommandInset ref
1274 LatexCommand ref
1275 reference "cha:Output-File-Formats"
1276
1277 \end_inset
1278
1279 , each output document format allows only a few image formats.
1280  LyX uses therefore the program 
1281 \family typewriter
1282 ImageMagick
1283 \family default
1284  in the background to convert the images to the right format.
1285  To increase your work flow by avoiding these conversions in the background,
1286  you can use only the image formats that can directly be embedded in the
1287  output file format.
1288  The output file formats are explained in appendix
1289 \begin_inset space ~
1290 \end_inset
1291
1292
1293 \begin_inset CommandInset ref
1294 LatexCommand ref
1295 reference "cha:Output-File-Formats"
1296
1297 \end_inset
1298
1299 .
1300 \end_layout
1301
1302 \begin_layout Standard
1303 Similar to fonts there are two types of image formats:
1304 \end_layout
1305
1306 \begin_layout Description
1307 Bitmap
1308 \begin_inset space ~
1309 \end_inset
1310
1311 images consist of pixel values, often in a compressed form.
1312  They are therefore not fully scalable and look pixelated in large zooms.
1313  Well-known bitmap image formats are 
1314 \begin_inset Quotes eld
1315 \end_inset
1316
1317 Graphics Interchange Format
1318 \begin_inset Quotes erd
1319 \end_inset
1320
1321  (GIF, file extension 
1322 \begin_inset Quotes eld
1323 \end_inset
1324
1325
1326 \family typewriter
1327 .gif
1328 \family default
1329
1330 \begin_inset Quotes erd
1331 \end_inset
1332
1333 )
1334 \begin_inset Index idx
1335 status collapsed
1336
1337 \begin_layout Plain Layout
1338 GIF|see
1339 \begin_inset ERT
1340 status collapsed
1341
1342 \begin_layout Plain Layout
1343
1344 {
1345 \end_layout
1346
1347 \end_inset
1348
1349 Image formats
1350 \begin_inset ERT
1351 status collapsed
1352
1353 \begin_layout Plain Layout
1354
1355 }
1356 \end_layout
1357
1358 \end_inset
1359
1360
1361 \end_layout
1362
1363 \end_inset
1364
1365
1366 \begin_inset Quotes eld
1367 \end_inset
1368
1369 Portable Network Graphics
1370 \begin_inset Quotes erd
1371 \end_inset
1372
1373  (PNG, file extension 
1374 \begin_inset Quotes eld
1375 \end_inset
1376
1377
1378 \family typewriter
1379 .png
1380 \family default
1381
1382 \begin_inset Quotes erd
1383 \end_inset
1384
1385 )
1386 \begin_inset Index idx
1387 status collapsed
1388
1389 \begin_layout Plain Layout
1390 PNG|see
1391 \begin_inset ERT
1392 status collapsed
1393
1394 \begin_layout Plain Layout
1395
1396 {
1397 \end_layout
1398
1399 \end_inset
1400
1401 Image formats
1402 \begin_inset ERT
1403 status collapsed
1404
1405 \begin_layout Plain Layout
1406
1407 }
1408 \end_layout
1409
1410 \end_inset
1411
1412
1413 \end_layout
1414
1415 \end_inset
1416
1417 , and 
1418 \begin_inset Quotes eld
1419 \end_inset
1420
1421 Joint Photographic Experts Group
1422 \begin_inset Quotes erd
1423 \end_inset
1424
1425  (JPG, file extension 
1426 \begin_inset Quotes eld
1427 \end_inset
1428
1429
1430 \family typewriter
1431 .jpg
1432 \family default
1433
1434 \begin_inset Quotes erd
1435 \end_inset
1436
1437  or 
1438 \begin_inset Quotes eld
1439 \end_inset
1440
1441
1442 \family typewriter
1443 .jpeg
1444 \family default
1445
1446 \begin_inset Quotes erd
1447 \end_inset
1448
1449 )
1450 \begin_inset Index idx
1451 status collapsed
1452
1453 \begin_layout Plain Layout
1454 JPG|see
1455 \begin_inset ERT
1456 status collapsed
1457
1458 \begin_layout Plain Layout
1459
1460 {
1461 \end_layout
1462
1463 \end_inset
1464
1465 Image formats
1466 \begin_inset ERT
1467 status collapsed
1468
1469 \begin_layout Plain Layout
1470
1471 }
1472 \end_layout
1473
1474 \end_inset
1475
1476
1477 \end_layout
1478
1479 \end_inset
1480
1481 .
1482 \end_layout
1483
1484 \begin_layout Description
1485 Vector
1486 \begin_inset space ~
1487 \end_inset
1488
1489 images consist of vectors and can therefore be scaled to any size without
1490  data loss.
1491  The scaling ability is necessary if you want to create presentations, because
1492  presentations are always scaled by the video projector.
1493  Scaling is also useful for online documents to let the user zoom into diagrams.
1494 \begin_inset Newline newline
1495 \end_inset
1496
1497 Well-known scalable image formats are 
1498 \begin_inset Quotes eld
1499 \end_inset
1500
1501 Scalable Vector Graphics
1502 \begin_inset Quotes erd
1503 \end_inset
1504
1505  (SVG, file extension 
1506 \begin_inset Quotes eld
1507 \end_inset
1508
1509
1510 \family typewriter
1511 .svg
1512 \family default
1513
1514 \begin_inset Quotes erd
1515 \end_inset
1516
1517 )
1518 \begin_inset Index idx
1519 status collapsed
1520
1521 \begin_layout Plain Layout
1522 SVG|see
1523 \begin_inset ERT
1524 status collapsed
1525
1526 \begin_layout Plain Layout
1527
1528 {
1529 \end_layout
1530
1531 \end_inset
1532
1533 Image formats
1534 \begin_inset ERT
1535 status collapsed
1536
1537 \begin_layout Plain Layout
1538
1539 }
1540 \end_layout
1541
1542 \end_inset
1543
1544
1545 \end_layout
1546
1547 \end_inset
1548
1549
1550 \begin_inset Quotes eld
1551 \end_inset
1552
1553 Encapsulated PostScript
1554 \begin_inset Quotes erd
1555 \end_inset
1556
1557  (EPS, file extension 
1558 \begin_inset Quotes eld
1559 \end_inset
1560
1561
1562 \family typewriter
1563 .eps
1564 \family default
1565
1566 \begin_inset Quotes erd
1567 \end_inset
1568
1569 )
1570 \begin_inset Index idx
1571 status collapsed
1572
1573 \begin_layout Plain Layout
1574 EPS|see
1575 \begin_inset ERT
1576 status collapsed
1577
1578 \begin_layout Plain Layout
1579
1580 {
1581 \end_layout
1582
1583 \end_inset
1584
1585 Image formats
1586 \begin_inset ERT
1587 status collapsed
1588
1589 \begin_layout Plain Layout
1590
1591 }
1592 \end_layout
1593
1594 \end_inset
1595
1596
1597 \end_layout
1598
1599 \end_inset
1600
1601
1602 \begin_inset Quotes eld
1603 \end_inset
1604
1605 Portable Document Format
1606 \begin_inset Quotes erd
1607 \end_inset
1608
1609  (PDF, file extension 
1610 \begin_inset Quotes eld
1611 \end_inset
1612
1613
1614 \family typewriter
1615 .pdf
1616 \family default
1617
1618 \begin_inset Quotes erd
1619 \end_inset
1620
1621 )
1622 \begin_inset Index idx
1623 status collapsed
1624
1625 \begin_layout Plain Layout
1626 PDF
1627 \end_layout
1628
1629 \end_inset
1630
1631 , and 
1632 \begin_inset Quotes eld
1633 \end_inset
1634
1635 Windows Metafile
1636 \begin_inset Quotes erd
1637 \end_inset
1638
1639  (WMF, file extension 
1640 \begin_inset Quotes eld
1641 \end_inset
1642
1643
1644 \family typewriter
1645 .wmf
1646 \family default
1647
1648 \begin_inset Quotes erd
1649 \end_inset
1650
1651 )
1652 \begin_inset Index idx
1653 status collapsed
1654
1655 \begin_layout Plain Layout
1656 SVG|see
1657 \begin_inset ERT
1658 status collapsed
1659
1660 \begin_layout Plain Layout
1661
1662 {
1663 \end_layout
1664
1665 \end_inset
1666
1667 Image formats
1668 \begin_inset ERT
1669 status collapsed
1670
1671 \begin_layout Plain Layout
1672
1673 }
1674 \end_layout
1675
1676 \end_inset
1677
1678
1679 \end_layout
1680
1681 \end_inset
1682
1683 .
1684  We wrote 
1685 \begin_inset Quotes eld
1686 \end_inset
1687
1688 can be
1689 \begin_inset Quotes erd
1690 \end_inset
1691
1692 , because you can convert any bitmap image to a PDF or EPS-image and the
1693  result will still be a bitmap image.
1694  In such cases only a header with the image properties is added to the original
1695  image
1696 \begin_inset Foot
1697 status collapsed
1698
1699 \begin_layout Plain Layout
1700 In the case of PDF, the original image is additionally compressed.
1701 \end_layout
1702
1703 \end_inset
1704
1705 .
1706  The PDF-files generated by 
1707 \family typewriter
1708 Adobe Photoshop
1709 \family default
1710  are for example bitmap images.
1711 \end_layout
1712
1713 \begin_layout Standard
1714 Normally it is not possible to convert a bitmap image into a scalable one,
1715  only vice versa.
1716  Only the image formats PDF and EPS can directly be embedded to PDF and
1717  PostScript output files, respectively.
1718  SVG and WMF-images are recalculated to bitmaps when the output file is
1719  generated because there is currently no adequate WMF/SVG
1720 \begin_inset Formula $\to$
1721 \end_inset
1722
1723 PDF/EPS converter available.
1724 \end_layout
1725
1726 \begin_layout Chapter
1727 Tables
1728 \begin_inset Index idx
1729 status collapsed
1730
1731 \begin_layout Plain Layout
1732 Table
1733 \end_layout
1734
1735 \end_inset
1736
1737
1738 \end_layout
1739
1740 \begin_layout Section
1741 Introduction
1742 \begin_inset Index idx
1743 status collapsed
1744
1745 \begin_layout Plain Layout
1746 Table ! Introduction
1747 \end_layout
1748
1749 \end_inset
1750
1751
1752 \end_layout
1753
1754 \begin_layout Standard
1755 You can insert a table using either the toolbar button 
1756 \begin_inset Graphics
1757         filename ../images/tabular-insert.png
1758         scale 85
1759         scaleBeforeRotation
1760
1761 \end_inset
1762
1763  or the menu 
1764 \family sans
1765 Insert\SpecialChar \menuseparator
1766 Table
1767 \family default
1768 .
1769  The toolbar button offers you a graphical selection: move the mouse to
1770  set the column/row number of the table that should be created and then
1771  press a mouse button.
1772  When you use the menu to create a table, a dialog will appear, asking you
1773  for the number of rows and columns.
1774 \begin_inset Newline newline
1775 \end_inset
1776
1777  The default table has lines around any cell and the first row appears separated
1778  from the rest of the table.
1779  This separation occurs due to a double line: The cells of the first row
1780  have a line below them and the cells of the second row have a line above
1781  them.
1782  Here is an example table:
1783 \end_layout
1784
1785 \begin_layout Standard
1786 \align center
1787 \begin_inset Tabular
1788 <lyxtabular version="3" rows="4" columns="4">
1789 <features tabularvalignment="middle">
1790 <column alignment="center" valignment="top" width="0">
1791 <column alignment="center" valignment="top" width="0">
1792 <column alignment="center" valignment="top" width="0">
1793 <column alignment="center" valignment="top" width="0">
1794 <row>
1795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1796 \begin_inset Text
1797
1798 \begin_layout Plain Layout
1799
1800 \end_layout
1801
1802 \end_inset
1803 </cell>
1804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1805 \begin_inset Text
1806
1807 \begin_layout Plain Layout
1808
1809 \family roman
1810 \series medium
1811 \shape up
1812 \size normal
1813 \emph off
1814 \bar no
1815 \noun off
1816 \color none
1817 1
1818 \end_layout
1819
1820 \end_inset
1821 </cell>
1822 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1823 \begin_inset Text
1824
1825 \begin_layout Plain Layout
1826 2
1827 \end_layout
1828
1829 \end_inset
1830 </cell>
1831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1832 \begin_inset Text
1833
1834 \begin_layout Plain Layout
1835 3
1836 \end_layout
1837
1838 \end_inset
1839 </cell>
1840 </row>
1841 <row>
1842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1843 \begin_inset Text
1844
1845 \begin_layout Plain Layout
1846
1847 \family roman
1848 \series medium
1849 \shape up
1850 \size normal
1851 \emph off
1852 \bar no
1853 \noun off
1854 \color none
1855 A
1856 \end_layout
1857
1858 \end_inset
1859 </cell>
1860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1861 \begin_inset Text
1862
1863 \begin_layout Plain Layout
1864
1865 \end_layout
1866
1867 \end_inset
1868 </cell>
1869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1870 \begin_inset Text
1871
1872 \begin_layout Plain Layout
1873
1874 \end_layout
1875
1876 \end_inset
1877 </cell>
1878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1879 \begin_inset Text
1880
1881 \begin_layout Plain Layout
1882
1883 \end_layout
1884
1885 \end_inset
1886 </cell>
1887 </row>
1888 <row>
1889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1890 \begin_inset Text
1891
1892 \begin_layout Plain Layout
1893
1894 \family roman
1895 \series medium
1896 \shape up
1897 \size normal
1898 \emph off
1899 \bar no
1900 \noun off
1901 \color none
1902 B
1903 \end_layout
1904
1905 \end_inset
1906 </cell>
1907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1908 \begin_inset Text
1909
1910 \begin_layout Plain Layout
1911
1912 \end_layout
1913
1914 \end_inset
1915 </cell>
1916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1917 \begin_inset Text
1918
1919 \begin_layout Plain Layout
1920
1921 \end_layout
1922
1923 \end_inset
1924 </cell>
1925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1926 \begin_inset Text
1927
1928 \begin_layout Plain Layout
1929
1930 \end_layout
1931
1932 \end_inset
1933 </cell>
1934 </row>
1935 <row>
1936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1937 \begin_inset Text
1938
1939 \begin_layout Plain Layout
1940
1941 \family roman
1942 \series medium
1943 \shape up
1944 \size normal
1945 \emph off
1946 \bar no
1947 \noun off
1948 \color none
1949 C
1950 \end_layout
1951
1952 \end_inset
1953 </cell>
1954 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1955 \begin_inset Text
1956
1957 \begin_layout Plain Layout
1958
1959 \end_layout
1960
1961 \end_inset
1962 </cell>
1963 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1964 \begin_inset Text
1965
1966 \begin_layout Plain Layout
1967
1968 \end_layout
1969
1970 \end_inset
1971 </cell>
1972 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1973 \begin_inset Text
1974
1975 \begin_layout Plain Layout
1976
1977 \end_layout
1978
1979 \end_inset
1980 </cell>
1981 </row>
1982 </lyxtabular>
1983
1984 \end_inset
1985
1986
1987 \end_layout
1988
1989 \begin_layout Section
1990 Table Dialog
1991 \begin_inset Index idx
1992 status collapsed
1993
1994 \begin_layout Plain Layout
1995 Table ! Dialog
1996 \end_layout
1997
1998 \end_inset
1999
2000
2001 \end_layout
2002
2003 \begin_layout Standard
2004 You can alter a table by clicking on it with the right mouse button, which
2005  brings up the table dialog.
2006  Here you can adjust the settings of that cell and row/column respectively
2007  where the cursor is currently placed.
2008  Most of the dialog options also work on selections.
2009  This means if you select more cells, columns or rows, the action is done
2010  for the whole selection.
2011  Note that there is a difference between selecting the 
2012 \emph on
2013 contents
2014 \emph default
2015  of the cell, and the cell itself.
2016 \begin_inset Newline newline
2017 \end_inset
2018
2019 With the dialog option 
2020 \family sans
2021 Immediate
2022 \begin_inset space ~
2023 \end_inset
2024
2025 Apply
2026 \family default
2027  every change you make in the dialog is directly applied.
2028  If you move the cursor to another table cell the dialog will then also
2029  be updated with the parameters of the new cell.
2030  If you change length values in the dialog you must press return to get
2031  the change applied.
2032 \begin_inset Newline newline
2033 \end_inset
2034
2035 You can alter tables with the following tabs of the table dialog:
2036 \end_layout
2037
2038 \begin_layout Description
2039
2040 \family sans
2041 Table
2042 \begin_inset space ~
2043 \end_inset
2044
2045 Settings
2046 \family default
2047  Here you can set the table width
2048 \begin_inset Index idx
2049 status collapsed
2050
2051 \begin_layout Plain Layout
2052 Table ! Width
2053 \end_layout
2054
2055 \end_inset
2056
2057 , and the horizontal alignment and the width of the current column.
2058  The alignment 
2059 \family sans
2060 At
2061 \begin_inset space ~
2062 \end_inset
2063
2064 Decimal
2065 \begin_inset space ~
2066 \end_inset
2067
2068 Separator
2069 \family default
2070  is described in section
2071 \begin_inset space ~
2072 \end_inset
2073
2074
2075 \begin_inset CommandInset ref
2076 LatexCommand ref
2077 reference "sub:Special-Cell-Alignment"
2078
2079 \end_inset
2080
2081 .
2082  When you have set a width you can also adjust the vertical alignment of
2083  the current row.
2084  A given width will allow the cell to have line breaks and multiple paragraphs
2085  of text, see section
2086 \begin_inset space ~
2087 \end_inset
2088
2089
2090 \begin_inset CommandInset ref
2091 LatexCommand ref
2092 reference "sub:Multiple-Lines-in"
2093
2094 \end_inset
2095
2096 .
2097  If you set no width, the column is as wide as the content of its widest
2098  cell.
2099 \begin_inset Newline newline
2100 \end_inset
2101
2102 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2103  cell, see section
2104 \begin_inset space ~
2105 \end_inset
2106
2107
2108 \begin_inset CommandInset ref
2109 LatexCommand ref
2110 reference "sub:Multicolumns"
2111
2112 \end_inset
2113
2114  or the cells of one column as multirow cell, see section
2115 \begin_inset space ~
2116 \end_inset
2117
2118
2119 \begin_inset CommandInset ref
2120 LatexCommand ref
2121 reference "sub:Multirows"
2122
2123 \end_inset
2124
2125 .
2126 \begin_inset Newline newline
2127 \end_inset
2128
2129 The rotate check boxes rotate the current cell, a selection, or the whole
2130  table counter-clockwise by 90°.
2131  The rotation is not shown within LyX, only in the output.
2132 \begin_inset Newline newline
2133 \end_inset
2134
2135
2136 \begin_inset Note Greyedout
2137 status open
2138
2139 \begin_layout Plain Layout
2140
2141 \series bold
2142 Note:
2143 \series default
2144  Not all DVI-viewers are able to display rotations.
2145 \end_layout
2146
2147 \end_inset
2148
2149
2150 \begin_inset Newline newline
2151 \end_inset
2152
2153 The table-wide vertical alignment is used for tables within text lines:
2154 \begin_inset Newline newline
2155 \end_inset
2156
2157 A line with tables with different alignments: 
2158 \begin_inset Tabular
2159 <lyxtabular version="3" rows="2" columns="2">
2160 <features tabularvalignment="top">
2161 <column alignment="center" valignment="top" width="0pt">
2162 <column alignment="center" valignment="top" width="0">
2163 <row>
2164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2165 \begin_inset Text
2166
2167 \begin_layout Plain Layout
2168
2169 \end_layout
2170
2171 \end_inset
2172 </cell>
2173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2174 \begin_inset Text
2175
2176 \begin_layout Plain Layout
2177
2178 \family roman
2179 \series medium
2180 \shape up
2181 \size normal
2182 \emph off
2183 \bar no
2184 \noun off
2185 \color none
2186 1
2187 \end_layout
2188
2189 \end_inset
2190 </cell>
2191 </row>
2192 <row>
2193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2194 \begin_inset Text
2195
2196 \begin_layout Plain Layout
2197
2198 \family roman
2199 \series medium
2200 \shape up
2201 \size normal
2202 \emph off
2203 \bar no
2204 \noun off
2205 \color none
2206 A
2207 \end_layout
2208
2209 \end_inset
2210 </cell>
2211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2212 \begin_inset Text
2213
2214 \begin_layout Plain Layout
2215
2216 \end_layout
2217
2218 \end_inset
2219 </cell>
2220 </row>
2221 </lyxtabular>
2222
2223 \end_inset
2224
2225  
2226 \begin_inset Tabular
2227 <lyxtabular version="3" rows="2" columns="2">
2228 <features tabularvalignment="middle">
2229 <column alignment="center" valignment="top" width="0">
2230 <column alignment="center" valignment="top" width="0">
2231 <row>
2232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2233 \begin_inset Text
2234
2235 \begin_layout Plain Layout
2236
2237 \end_layout
2238
2239 \end_inset
2240 </cell>
2241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2242 \begin_inset Text
2243
2244 \begin_layout Plain Layout
2245
2246 \family roman
2247 \series medium
2248 \shape up
2249 \size normal
2250 \emph off
2251 \bar no
2252 \noun off
2253 \color none
2254 1
2255 \end_layout
2256
2257 \end_inset
2258 </cell>
2259 </row>
2260 <row>
2261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2262 \begin_inset Text
2263
2264 \begin_layout Plain Layout
2265
2266 \family roman
2267 \series medium
2268 \shape up
2269 \size normal
2270 \emph off
2271 \bar no
2272 \noun off
2273 \color none
2274 A
2275 \end_layout
2276
2277 \end_inset
2278 </cell>
2279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2280 \begin_inset Text
2281
2282 \begin_layout Plain Layout
2283
2284 \end_layout
2285
2286 \end_inset
2287 </cell>
2288 </row>
2289 </lyxtabular>
2290
2291 \end_inset
2292
2293  
2294 \begin_inset Tabular
2295 <lyxtabular version="3" rows="2" columns="2">
2296 <features tabularvalignment="bottom">
2297 <column alignment="center" valignment="top" width="0pt">
2298 <column alignment="center" valignment="top" width="0">
2299 <row>
2300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2301 \begin_inset Text
2302
2303 \begin_layout Plain Layout
2304
2305 \end_layout
2306
2307 \end_inset
2308 </cell>
2309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2310 \begin_inset Text
2311
2312 \begin_layout Plain Layout
2313
2314 \family roman
2315 \series medium
2316 \shape up
2317 \size normal
2318 \emph off
2319 \bar no
2320 \noun off
2321 \color none
2322 1
2323 \end_layout
2324
2325 \end_inset
2326 </cell>
2327 </row>
2328 <row>
2329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2330 \begin_inset Text
2331
2332 \begin_layout Plain Layout
2333
2334 \family roman
2335 \series medium
2336 \shape up
2337 \size normal
2338 \emph off
2339 \bar no
2340 \noun off
2341 \color none
2342 A
2343 \end_layout
2344
2345 \end_inset
2346 </cell>
2347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2348 \begin_inset Text
2349
2350 \begin_layout Plain Layout
2351
2352 \end_layout
2353
2354 \end_inset
2355 </cell>
2356 </row>
2357 </lyxtabular>
2358
2359 \end_inset
2360
2361
2362 \begin_inset Newline newline
2363 \end_inset
2364
2365 It is also possible to enter a LaTeX-argument which is needed for special
2366  table formattings, see section
2367 \begin_inset space ~
2368 \end_inset
2369
2370
2371 \begin_inset CommandInset ref
2372 LatexCommand ref
2373 reference "sub:Multicolumn-Calculations"
2374
2375 \end_inset
2376
2377  and 
2378 \begin_inset CommandInset ref
2379 LatexCommand ref
2380 reference "sec:Colored-Tables"
2381
2382 \end_inset
2383
2384 .
2385 \end_layout
2386
2387 \begin_layout Description
2388
2389 \family sans
2390 Borders
2391 \family default
2392  In this tab you can add and delete border lines for the current row/column.
2393 \begin_inset Newline newline
2394 \end_inset
2395
2396 Using the style option 
2397 \family sans
2398 Formal
2399 \family default
2400  will convert the table to a formal table as described in section
2401 \begin_inset space ~
2402 \end_inset
2403
2404
2405 \begin_inset CommandInset ref
2406 LatexCommand ref
2407 reference "sec:Formal-Tables"
2408
2409 \end_inset
2410
2411 .
2412 \begin_inset Newline newline
2413 \end_inset
2414
2415 You can also add here space to table rows as described in section
2416 \begin_inset space ~
2417 \end_inset
2418
2419
2420 \begin_inset CommandInset ref
2421 LatexCommand ref
2422 reference "sub:Row-Spacing"
2423
2424 \end_inset
2425
2426 .
2427 \end_layout
2428
2429 \begin_layout Description
2430
2431 \family sans
2432 Longtable
2433 \family default
2434  This tab is to make a table a so called 
2435 \begin_inset Quotes eld
2436 \end_inset
2437
2438
2439 \emph on
2440 longtable
2441 \emph default
2442
2443 \begin_inset Quotes erd
2444 \end_inset
2445
2446  that can run over several pages.
2447  Sections
2448 \begin_inset space ~
2449 \end_inset
2450
2451
2452 \begin_inset CommandInset ref
2453 LatexCommand ref
2454 reference "sec:Longtables"
2455
2456 \end_inset
2457
2458  and 
2459 \begin_inset CommandInset ref
2460 LatexCommand ref
2461 reference "sec:Special-Longtable-Issues"
2462
2463 \end_inset
2464
2465  describe the longtable features in detail.
2466 \end_layout
2467
2468 \begin_layout Section
2469 Table Toolbar
2470 \begin_inset Index idx
2471 status collapsed
2472
2473 \begin_layout Plain Layout
2474 Table ! Toolbar
2475 \end_layout
2476
2477 \end_inset
2478
2479
2480 \end_layout
2481
2482 \begin_layout Standard
2483 The table toolbar is an alternative to the table dialog to be able to alter
2484  tables faster.
2485  It should normally appear at the bottom of LyX's main window when the cursor
2486  is inside a table.
2487  You can alternatively switch it on to appear always, by right-clicking
2488  in LyX's main menu bar.
2489 \end_layout
2490
2491 \begin_layout Standard
2492 The toolbar has the following icons:
2493 \end_layout
2494
2495 \begin_layout Labeling
2496 \labelwidthstring 00.00.0000
2497 \begin_inset Graphics
2498         filename ../images/tabular-feature_append-row.png
2499         scaleBeforeRotation
2500
2501 \end_inset
2502
2503  adds a row below the current cell or selection
2504 \end_layout
2505
2506 \begin_layout Labeling
2507 \labelwidthstring 00.00.0000
2508 \begin_inset Graphics
2509         filename ../images/tabular-feature_append-column.png
2510         scaleBeforeRotation
2511
2512 \end_inset
2513
2514  adds a column right beside the current cell or selection
2515 \end_layout
2516
2517 \begin_layout Labeling
2518 \labelwidthstring 00.00.0000
2519 \begin_inset Graphics
2520         filename ../images/tabular-feature_delete-row.png
2521         scaleBeforeRotation
2522
2523 \end_inset
2524
2525  deletes the current row or selection
2526 \end_layout
2527
2528 \begin_layout Labeling
2529 \labelwidthstring 00.00.0000
2530 \begin_inset Graphics
2531         filename ../images/tabular-feature_delete-column.png
2532         scaleBeforeRotation
2533
2534 \end_inset
2535
2536  deletes the current column or selection
2537 \end_layout
2538
2539 \begin_layout Labeling
2540 \labelwidthstring 00.00.0000
2541 \begin_inset Graphics
2542         filename ../images/tabular-feature_toggle-line-top.png
2543         scaleBeforeRotation
2544
2545 \end_inset
2546
2547  adds a line at the top of the current cell / row or of a selection
2548 \end_layout
2549
2550 \begin_layout Labeling
2551 \labelwidthstring 00.00.0000
2552 \begin_inset Graphics
2553         filename ../images/tabular-feature_toggle-line-bottom.png
2554         scaleBeforeRotation
2555
2556 \end_inset
2557
2558  adds a line at the bottom of the current cell / row or of a selection
2559 \end_layout
2560
2561 \begin_layout Labeling
2562 \labelwidthstring 00.00.0000
2563 \begin_inset Graphics
2564         filename ../images/tabular-feature_toggle-line-left.png
2565         scaleBeforeRotation
2566
2567 \end_inset
2568
2569  adds a line at the left side of the current cell / row or of a selection
2570 \end_layout
2571
2572 \begin_layout Labeling
2573 \labelwidthstring 00.00.0000
2574 \begin_inset Graphics
2575         filename ../images/tabular-feature_toggle-line-right.png
2576         scaleBeforeRotation
2577
2578 \end_inset
2579
2580  adds a line at the right side of the current cell / row or of a selection
2581 \end_layout
2582
2583 \begin_layout Labeling
2584 \labelwidthstring 00.00.0000
2585 \begin_inset Graphics
2586         filename ../images/tabular-feature_set-all-lines.png
2587         scaleBeforeRotation
2588
2589 \end_inset
2590
2591  adds lines around the current or selected cells - if the current cell no
2592  multicolumn cell this also affects the current row and column
2593 \end_layout
2594
2595 \begin_layout Labeling
2596 \labelwidthstring 00.00.0000
2597 \begin_inset Graphics
2598         filename ../images/tabular-feature_unset-all-lines.png
2599         scaleBeforeRotation
2600
2601 \end_inset
2602
2603  deletes all lines of the current or selected cells - if the current cell
2604  no multicolumn cell this also affects the current row and column
2605 \end_layout
2606
2607 \begin_layout Labeling
2608 \labelwidthstring 00.00.0000
2609 \begin_inset Graphics
2610         filename ../images/tabular-feature_m-align-left.png
2611         scaleBeforeRotation
2612
2613 \end_inset
2614
2615  left-aligns the content of the current cell / column
2616 \end_layout
2617
2618 \begin_layout Labeling
2619 \labelwidthstring 00.00.0000
2620 \begin_inset Graphics
2621         filename ../images/tabular-feature_m-align-center.png
2622         scaleBeforeRotation
2623
2624 \end_inset
2625
2626  centers the content of the current cell / column horizontally
2627 \end_layout
2628
2629 \begin_layout Labeling
2630 \labelwidthstring 00.00.0000
2631 \begin_inset Graphics
2632         filename ../images/tabular-feature_m-align-right.png
2633         scaleBeforeRotation
2634
2635 \end_inset
2636
2637  right-aligns the content of the current cell / column
2638 \end_layout
2639
2640 \begin_layout Labeling
2641 \labelwidthstring 00.00.0000
2642 \begin_inset Graphics
2643         filename ../images/tabular-feature_align-decimal.png
2644         scaleBeforeRotation
2645
2646 \end_inset
2647
2648  aligns the content of the current column at a character
2649 \end_layout
2650
2651 \begin_layout Labeling
2652 \labelwidthstring 00.00.0000
2653 \begin_inset Graphics
2654         filename ../images/tabular-feature_m-valign-top.png
2655         scaleBeforeRotation
2656
2657 \end_inset
2658
2659  aligns the content of the current cell vertically to the top
2660 \end_layout
2661
2662 \begin_layout Labeling
2663 \labelwidthstring 00.00.0000
2664 \begin_inset Graphics
2665         filename ../images/tabular-feature_m-valign-middle.png
2666         scaleBeforeRotation
2667
2668 \end_inset
2669
2670  centers the content of the current cell vertically
2671 \end_layout
2672
2673 \begin_layout Labeling
2674 \labelwidthstring 00.00.0000
2675 \begin_inset Graphics
2676         filename ../images/tabular-feature_m-valign-bottom.png
2677         scaleBeforeRotation
2678
2679 \end_inset
2680
2681  aligns the content of the current cell vertically to the bottom
2682 \end_layout
2683
2684 \begin_layout Labeling
2685 \labelwidthstring 00.00.0000
2686 \begin_inset Graphics
2687         filename ../images/tabular-feature_set-rotate-cell.png
2688         scaleBeforeRotation
2689
2690 \end_inset
2691
2692  rotates the current cell or selection counter-clockwise by 90°
2693 \end_layout
2694
2695 \begin_layout Labeling
2696 \labelwidthstring 00.00.0000
2697 \begin_inset Graphics
2698         filename ../images/tabular-feature_set-rotate-tabular.png
2699         scaleBeforeRotation
2700
2701 \end_inset
2702
2703  rotates the whole table counter-clockwise by 90°
2704 \end_layout
2705
2706 \begin_layout Labeling
2707 \labelwidthstring 00.00.0000
2708 \begin_inset Graphics
2709         filename ../images/tabular-feature_multicolumn.png
2710         scaleBeforeRotation
2711
2712 \end_inset
2713
2714  sets the current cell or selection as a multicolumn
2715 \end_layout
2716
2717 \begin_layout Labeling
2718 \labelwidthstring 00.00.0000
2719 \begin_inset Graphics
2720         filename ../images/tabular-feature_multirow.png
2721         scaleBeforeRotation
2722
2723 \end_inset
2724
2725  sets the current cell or selection as a multirow
2726 \end_layout
2727
2728 \begin_layout Standard
2729 \begin_inset Note Greyedout
2730 status open
2731
2732 \begin_layout Plain Layout
2733
2734 \series bold
2735 Note:
2736 \series default
2737  For the output the vertical alignment of the first cell in a row is used
2738  for all following cells in the row.
2739 \end_layout
2740
2741 \end_inset
2742
2743
2744 \end_layout
2745
2746 \begin_layout Section
2747 Edit Table Menu
2748 \begin_inset Index idx
2749 status collapsed
2750
2751 \begin_layout Plain Layout
2752 Table ! Edit Menu
2753 \end_layout
2754
2755 \end_inset
2756
2757
2758 \end_layout
2759
2760 \begin_layout Standard
2761 Additionally to the table dialog and toolbar, the menu 
2762 \family sans
2763 Edit\SpecialChar \menuseparator
2764 Table
2765 \family default
2766  allows you to add and delete border lines for the current row/column and
2767  to set the current selection as multicolumn.
2768  The menu is only available when the cursor is inside a table.
2769 \end_layout
2770
2771 \begin_layout Section
2772 Table Floats
2773 \begin_inset CommandInset label
2774 LatexCommand label
2775 name "sec:Table-Floats"
2776
2777 \end_inset
2778
2779
2780 \begin_inset Index idx
2781 status collapsed
2782
2783 \begin_layout Plain Layout
2784 Floats ! Tables
2785 \end_layout
2786
2787 \end_inset
2788
2789
2790 \begin_inset Index idx
2791 status collapsed
2792
2793 \begin_layout Plain Layout
2794 Table ! Floats
2795 \end_layout
2796
2797 \end_inset
2798
2799
2800 \end_layout
2801
2802 \begin_layout Standard
2803 For general explanations about floats, have a look at section
2804 \begin_inset space ~
2805 \end_inset
2806
2807
2808 \begin_inset CommandInset ref
2809 LatexCommand ref
2810 reference "sec:FloatIntroduction"
2811
2812 \end_inset
2813
2814 .
2815 \end_layout
2816
2817 \begin_layout Standard
2818 \begin_inset Float table
2819 placement h
2820 wide false
2821 sideways false
2822 status open
2823
2824 \begin_layout Plain Layout
2825 \begin_inset Caption
2826
2827 \begin_layout Plain Layout
2828 \begin_inset CommandInset label
2829 LatexCommand label
2830 name "tab:a table float"
2831
2832 \end_inset
2833
2834 A table float.
2835 \end_layout
2836
2837 \end_inset
2838
2839
2840 \end_layout
2841
2842 \begin_layout Plain Layout
2843 \align center
2844 \begin_inset Tabular
2845 <lyxtabular version="3" rows="3" columns="3">
2846 <features tabularvalignment="middle">
2847 <column alignment="center" valignment="top" width="0pt">
2848 <column alignment="center" valignment="top" width="0pt">
2849 <column alignment="center" valignment="top" width="0pt">
2850 <row>
2851 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2852 \begin_inset Text
2853
2854 \begin_layout Plain Layout
2855
2856 \family roman
2857 \series medium
2858 \shape up
2859 \size normal
2860 \emph off
2861 \bar no
2862 \noun off
2863 \color none
2864 1
2865 \end_layout
2866
2867 \end_inset
2868 </cell>
2869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2870 \begin_inset Text
2871
2872 \begin_layout Plain Layout
2873
2874 \family roman
2875 \series medium
2876 \shape up
2877 \size normal
2878 \emph off
2879 \bar no
2880 \noun off
2881 \color none
2882 2
2883 \end_layout
2884
2885 \end_inset
2886 </cell>
2887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2888 \begin_inset Text
2889
2890 \begin_layout Plain Layout
2891
2892 \family roman
2893 \series medium
2894 \shape up
2895 \size normal
2896 \emph off
2897 \bar no
2898 \noun off
2899 \color none
2900 3
2901 \end_layout
2902
2903 \end_inset
2904 </cell>
2905 </row>
2906 <row>
2907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2908 \begin_inset Text
2909
2910 \begin_layout Plain Layout
2911
2912 \family roman
2913 \series medium
2914 \shape up
2915 \size normal
2916 \emph off
2917 \bar no
2918 \noun off
2919 \color none
2920 Joe
2921 \end_layout
2922
2923 \end_inset
2924 </cell>
2925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2926 \begin_inset Text
2927
2928 \begin_layout Plain Layout
2929
2930 \family roman
2931 \series medium
2932 \shape up
2933 \size normal
2934 \emph off
2935 \bar no
2936 \noun off
2937 \color none
2938 Mary
2939 \end_layout
2940
2941 \end_inset
2942 </cell>
2943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2944 \begin_inset Text
2945
2946 \begin_layout Plain Layout
2947
2948 \family roman
2949 \series medium
2950 \shape up
2951 \size normal
2952 \emph off
2953 \bar no
2954 \noun off
2955 \color none
2956 Ted
2957 \end_layout
2958
2959 \end_inset
2960 </cell>
2961 </row>
2962 <row>
2963 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2964 \begin_inset Text
2965
2966 \begin_layout Plain Layout
2967
2968 \family roman
2969 \series medium
2970 \shape up
2971 \size normal
2972 \emph off
2973 \bar no
2974 \noun off
2975 \color none
2976 \begin_inset Formula $\int x^{2}dx$
2977 \end_inset
2978
2979
2980 \end_layout
2981
2982 \end_inset
2983 </cell>
2984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2985 \begin_inset Text
2986
2987 \begin_layout Plain Layout
2988
2989 \family roman
2990 \series medium
2991 \shape up
2992 \size normal
2993 \emph off
2994 \bar no
2995 \noun off
2996 \color none
2997 \begin_inset Formula $\left[\begin{array}{cc}
2998 a & b\\
2999 c & d
3000 \end{array}\right]$
3001 \end_inset
3002
3003
3004 \end_layout
3005
3006 \end_inset
3007 </cell>
3008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3009 \begin_inset Text
3010
3011 \begin_layout Plain Layout
3012
3013 \family roman
3014 \series medium
3015 \shape up
3016 \size normal
3017 \emph off
3018 \bar no
3019 \noun off
3020 \color none
3021 \begin_inset Formula $1+1=2$
3022 \end_inset
3023
3024
3025 \end_layout
3026
3027 \end_inset
3028 </cell>
3029 </row>
3030 </lyxtabular>
3031
3032 \end_inset
3033
3034
3035 \end_layout
3036
3037 \end_inset
3038
3039
3040 \end_layout
3041
3042 \begin_layout Standard
3043 Table floats can be inserted using the menu 
3044 \family sans
3045 Insert\SpecialChar \menuseparator
3046 Float\SpecialChar \menuseparator
3047 Table
3048 \family default
3049  or the toolbar button 
3050 \begin_inset Graphics
3051         filename ../images/float-insert_table.png
3052         scale 85
3053         scaleBeforeRotation
3054
3055 \end_inset
3056
3057 .
3058 \end_layout
3059
3060 \begin_layout Standard
3061 The float appears as a collapsible box with a caption that has the label
3062  
3063 \begin_inset Quotes eld
3064 \end_inset
3065
3066 Table
3067 \begin_inset space ~
3068 \end_inset
3069
3070 #:
3071 \begin_inset Quotes erd
3072 \end_inset
3073
3074  (# is the actual table number).
3075  You can insert tables in the float above or below the caption.
3076 \end_layout
3077
3078 \begin_layout Standard
3079 Table
3080 \begin_inset space ~
3081 \end_inset
3082
3083
3084 \begin_inset CommandInset ref
3085 LatexCommand ref
3086 reference "tab:a table float"
3087
3088 \end_inset
3089
3090  is an example table within a table float.
3091 \end_layout
3092
3093 \begin_layout Standard
3094 Having the caption above the table is the common rule that is unfortunately
3095  not supported in LaTeX's standard classes.
3096  This means that, if you are using the document classes 
3097 \family sans
3098 article
3099 \family default
3100
3101 \family sans
3102 book
3103 \family default
3104
3105 \family sans
3106 letter
3107 \family default
3108 , or 
3109 \family sans
3110 report
3111 \family default
3112 , there will be no space between the caption and the table.
3113  To insert the needed space, add the following option to the load command
3114  of the LaTeX-package 
3115 \series bold
3116 caption
3117 \series default
3118
3119 \begin_inset Index idx
3120 status collapsed
3121
3122 \begin_layout Plain Layout
3123 LaTeX-packages ! caption
3124 \end_layout
3125
3126 \end_inset
3127
3128  in your document preamble
3129 \begin_inset Foot
3130 status collapsed
3131
3132 \begin_layout Plain Layout
3133 For more information have a look at section
3134 \begin_inset space ~
3135 \end_inset
3136
3137
3138 \begin_inset CommandInset ref
3139 LatexCommand ref
3140 reference "sec:Caption-Placement"
3141
3142 \end_inset
3143
3144 .
3145 \end_layout
3146
3147 \end_inset
3148
3149 :
3150 \end_layout
3151
3152 \begin_layout Standard
3153
3154 \series bold
3155 tableposition=top
3156 \end_layout
3157
3158 \begin_layout Standard
3159 The package 
3160 \series bold
3161 caption
3162 \series default
3163 , which is described in section
3164 \begin_inset space ~
3165 \end_inset
3166
3167
3168 \begin_inset CommandInset ref
3169 LatexCommand ref
3170 reference "sec:Caption-Formatting"
3171
3172 \end_inset
3173
3174 , is used to adjust the caption format.
3175 \end_layout
3176
3177 \begin_layout Standard
3178 \begin_inset Index idx
3179 status collapsed
3180
3181 \begin_layout Plain Layout
3182 References ! to Tables
3183 \end_layout
3184
3185 \end_inset
3186
3187 Tables can be cross-referenced in the text by referencing their label.
3188  To do this insert a label in the caption using the menu 
3189 \family sans
3190 Insert\SpecialChar \menuseparator
3191 Label
3192 \family default
3193  or the toolbar button 
3194 \begin_inset Graphics
3195         filename ../images/label-insert.png
3196         scale 85
3197         scaleBeforeRotation
3198
3199 \end_inset
3200
3201 .
3202  You can now refer to the label using the menu 
3203 \family sans
3204 Insert\SpecialChar \menuseparator
3205 Cross
3206 \begin_inset space ~
3207 \end_inset
3208
3209 reference
3210 \family default
3211  or the toolbar button 
3212 \begin_inset Graphics
3213         filename ../images/dialog-show-new-inset_ref.png
3214         scale 85
3215         scaleBeforeRotation
3216
3217 \end_inset
3218
3219 .
3220 \begin_inset Newline newline
3221 \end_inset
3222
3223 Referencing is explained in detail in section
3224 \begin_inset space ~
3225 \end_inset
3226
3227
3228 \begin_inset CommandInset ref
3229 LatexCommand ref
3230 reference "sec:Referencing-Floats"
3231
3232 \end_inset
3233
3234 .
3235 \end_layout
3236
3237 \begin_layout Section
3238 Longtables
3239 \begin_inset CommandInset label
3240 LatexCommand label
3241 name "sec:Longtables"
3242
3243 \end_inset
3244
3245
3246 \begin_inset Index idx
3247 status collapsed
3248
3249 \begin_layout Plain Layout
3250 Longtables
3251 \end_layout
3252
3253 \end_inset
3254
3255
3256 \begin_inset Index idx
3257 status collapsed
3258
3259 \begin_layout Plain Layout
3260 Table ! Longtables
3261 \end_layout
3262
3263 \end_inset
3264
3265
3266 \end_layout
3267
3268 \begin_layout Standard
3269 If the table is too long to fit on one page, you can use the option 
3270 \family sans
3271 Use
3272 \begin_inset space ~
3273 \end_inset
3274
3275 long
3276 \begin_inset space ~
3277 \end_inset
3278
3279 table
3280 \family default
3281  in the tab 
3282 \family sans
3283 Longtable
3284 \family default
3285  of the table dialog to split the table automatically over more pages.
3286  Doing this enables the following options:
3287 \end_layout
3288
3289 \begin_layout Description
3290 Header: The current row is defined to be a header row that appears on all
3291  pages of the longtable; except for the first page, if 
3292 \family sans
3293 First
3294 \begin_inset space ~
3295 \end_inset
3296
3297 header
3298 \family default
3299  is defined.
3300  This is therefore called the main header.
3301 \end_layout
3302
3303 \begin_layout Description
3304 First
3305 \begin_inset space ~
3306 \end_inset
3307
3308 header: The current row is defined to be a header row that appears on the
3309  first page of the longtable.
3310 \end_layout
3311
3312 \begin_layout Description
3313 Footer: The current row is defined to be a footer row that appears on all
3314  pages of the longtable; except for the last page, if 
3315 \family sans
3316 Last
3317 \begin_inset space ~
3318 \end_inset
3319
3320 footer
3321 \family default
3322  is defined.
3323 \end_layout
3324
3325 \begin_layout Description
3326 Last
3327 \begin_inset space ~
3328 \end_inset
3329
3330 footer: The current row is defined to be a footer row that appears on the
3331  last page of the longtable.
3332 \end_layout
3333
3334 \begin_layout Description
3335 Caption: The current row contains the table caption.
3336  The row is reset as single column and a caption is inserted.
3337  More about longtable captions is explained in sec.
3338 \begin_inset space \thinspace{}
3339 \end_inset
3340
3341
3342 \begin_inset CommandInset ref
3343 LatexCommand ref
3344 reference "sub:Longtable-Captions"
3345
3346 \end_inset
3347
3348 .
3349 \end_layout
3350
3351 \begin_layout Standard
3352 You can also specify a row where the table is split.
3353  See the following longtable to see how it works:
3354 \end_layout
3355
3356 \begin_layout Standard
3357 \align center
3358 \begin_inset Tabular
3359 <lyxtabular version="3" rows="69" columns="3">
3360 <features islongtable="true" longtabularalignment="center">
3361 <column alignment="left" valignment="top" width="0cm">
3362 <column alignment="left" valignment="top" width="0pt">
3363 <column alignment="center" valignment="top" width="0pt">
3364 <row endfirsthead="true">
3365 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3366 \begin_inset Text
3367
3368 \begin_layout Plain Layout
3369
3370 \series bold
3371 Example Phone List (ignore the names)
3372 \end_layout
3373
3374 \end_inset
3375 </cell>
3376 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3377 \begin_inset Text
3378
3379 \begin_layout Plain Layout
3380
3381 \end_layout
3382
3383 \end_inset
3384 </cell>
3385 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3386 \begin_inset Text
3387
3388 \begin_layout Plain Layout
3389
3390 \end_layout
3391
3392 \end_inset
3393 </cell>
3394 </row>
3395 <row endfirsthead="true">
3396 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3397 \begin_inset Text
3398
3399 \begin_layout Plain Layout
3400
3401 \series bold
3402 NAME
3403 \end_layout
3404
3405 \end_inset
3406 </cell>
3407 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3408 \begin_inset Text
3409
3410 \begin_layout Plain Layout
3411
3412 \end_layout
3413
3414 \end_inset
3415 </cell>
3416 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Plain Layout
3420
3421 \series bold
3422 TEL.
3423 \end_layout
3424
3425 \end_inset
3426 </cell>
3427 </row>
3428 <row endhead="true">
3429 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3430 \begin_inset Text
3431
3432 \begin_layout Plain Layout
3433
3434 \series bold
3435 Example Phone List
3436 \end_layout
3437
3438 \end_inset
3439 </cell>
3440 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3441 \begin_inset Text
3442
3443 \begin_layout Plain Layout
3444
3445 \end_layout
3446
3447 \end_inset
3448 </cell>
3449 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3450 \begin_inset Text
3451
3452 \begin_layout Plain Layout
3453
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 </row>
3459 <row endhead="true">
3460 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3461 \begin_inset Text
3462
3463 \begin_layout Plain Layout
3464
3465 \series bold
3466 NAME
3467 \end_layout
3468
3469 \end_inset
3470 </cell>
3471 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3472 \begin_inset Text
3473
3474 \begin_layout Plain Layout
3475
3476 \end_layout
3477
3478 \end_inset
3479 </cell>
3480 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3481 \begin_inset Text
3482
3483 \begin_layout Plain Layout
3484
3485 \series bold
3486 TEL.
3487 \end_layout
3488
3489 \end_inset
3490 </cell>
3491 </row>
3492 <row endfoot="true">
3493 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3494 \begin_inset Text
3495
3496 \begin_layout Plain Layout
3497  continued on next page
3498 \end_layout
3499
3500 \end_inset
3501 </cell>
3502 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3503 \begin_inset Text
3504
3505 \begin_layout Plain Layout
3506
3507 \end_layout
3508
3509 \end_inset
3510 </cell>
3511 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3512 \begin_inset Text
3513
3514 \begin_layout Plain Layout
3515
3516 \end_layout
3517
3518 \end_inset
3519 </cell>
3520 </row>
3521 <row>
3522 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3523 \begin_inset Text
3524
3525 \begin_layout Plain Layout
3526
3527 \series bold
3528 Annovi
3529 \end_layout
3530
3531 \end_inset
3532 </cell>
3533 <cell alignment="center" valignment="top" usebox="none">
3534 \begin_inset Text
3535
3536 \begin_layout Plain Layout
3537 Silvia
3538 \end_layout
3539
3540 \end_inset
3541 </cell>
3542 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3543 \begin_inset Text
3544
3545 \begin_layout Plain Layout
3546 111
3547 \end_layout
3548
3549 \end_inset
3550 </cell>
3551 </row>
3552 <row>
3553 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3554 \begin_inset Text
3555
3556 \begin_layout Plain Layout
3557
3558 \series bold
3559 Bertoli
3560 \end_layout
3561
3562 \end_inset
3563 </cell>
3564 <cell alignment="center" valignment="top" usebox="none">
3565 \begin_inset Text
3566
3567 \begin_layout Plain Layout
3568 Stefano
3569 \end_layout
3570
3571 \end_inset
3572 </cell>
3573 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3574 \begin_inset Text
3575
3576 \begin_layout Plain Layout
3577 111
3578 \end_layout
3579
3580 \end_inset
3581 </cell>
3582 </row>
3583 <row>
3584 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3585 \begin_inset Text
3586
3587 \begin_layout Plain Layout
3588
3589 \series bold
3590 Bozzi
3591 \end_layout
3592
3593 \end_inset
3594 </cell>
3595 <cell alignment="center" valignment="top" usebox="none">
3596 \begin_inset Text
3597
3598 \begin_layout Plain Layout
3599 Walter
3600 \end_layout
3601
3602 \end_inset
3603 </cell>
3604 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3605 \begin_inset Text
3606
3607 \begin_layout Plain Layout
3608 111
3609 \end_layout
3610
3611 \end_inset
3612 </cell>
3613 </row>
3614 <row>
3615 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3616 \begin_inset Text
3617
3618 \begin_layout Plain Layout
3619
3620 \series bold
3621 Cachia
3622 \end_layout
3623
3624 \end_inset
3625 </cell>
3626 <cell alignment="center" valignment="top" usebox="none">
3627 \begin_inset Text
3628
3629 \begin_layout Plain Layout
3630 Maria
3631 \end_layout
3632
3633 \end_inset
3634 </cell>
3635 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3636 \begin_inset Text
3637
3638 \begin_layout Plain Layout
3639 111
3640 \end_layout
3641
3642 \end_inset
3643 </cell>
3644 </row>
3645 <row>
3646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3647 \begin_inset Text
3648
3649 \begin_layout Plain Layout
3650
3651 \series bold
3652 Cachia
3653 \end_layout
3654
3655 \end_inset
3656 </cell>
3657 <cell alignment="center" valignment="top" usebox="none">
3658 \begin_inset Text
3659
3660 \begin_layout Plain Layout
3661 Maurizio
3662 \end_layout
3663
3664 \end_inset
3665 </cell>
3666 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3667 \begin_inset Text
3668
3669 \begin_layout Plain Layout
3670 111
3671 \end_layout
3672
3673 \end_inset
3674 </cell>
3675 </row>
3676 <row>
3677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3678 \begin_inset Text
3679
3680 \begin_layout Plain Layout
3681
3682 \series bold
3683 Cinquemani
3684 \end_layout
3685
3686 \end_inset
3687 </cell>
3688 <cell alignment="center" valignment="top" usebox="none">
3689 \begin_inset Text
3690
3691 \begin_layout Plain Layout
3692 Giusi
3693 \end_layout
3694
3695 \end_inset
3696 </cell>
3697 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3698 \begin_inset Text
3699
3700 \begin_layout Plain Layout
3701 111
3702 \end_layout
3703
3704 \end_inset
3705 </cell>
3706 </row>
3707 <row>
3708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3709 \begin_inset Text
3710
3711 \begin_layout Plain Layout
3712
3713 \series bold
3714 Colin
3715 \end_layout
3716
3717 \end_inset
3718 </cell>
3719 <cell alignment="center" valignment="top" usebox="none">
3720 \begin_inset Text
3721
3722 \begin_layout Plain Layout
3723 Bernard
3724 \end_layout
3725
3726 \end_inset
3727 </cell>
3728 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3729 \begin_inset Text
3730
3731 \begin_layout Plain Layout
3732 111
3733 \end_layout
3734
3735 \end_inset
3736 </cell>
3737 </row>
3738 <row>
3739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3740 \begin_inset Text
3741
3742 \begin_layout Plain Layout
3743
3744 \series bold
3745 Concli
3746 \end_layout
3747
3748 \end_inset
3749 </cell>
3750 <cell alignment="center" valignment="top" usebox="none">
3751 \begin_inset Text
3752
3753 \begin_layout Plain Layout
3754 Gianfranco
3755 \end_layout
3756
3757 \end_inset
3758 </cell>
3759 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3760 \begin_inset Text
3761
3762 \begin_layout Plain Layout
3763 111
3764 \end_layout
3765
3766 \end_inset
3767 </cell>
3768 </row>
3769 <row>
3770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3771 \begin_inset Text
3772
3773 \begin_layout Plain Layout
3774
3775 \series bold
3776 Dal Bosco
3777 \end_layout
3778
3779 \end_inset
3780 </cell>
3781 <cell alignment="center" valignment="top" usebox="none">
3782 \begin_inset Text
3783
3784 \begin_layout Plain Layout
3785 Carolina
3786 \end_layout
3787
3788 \end_inset
3789 </cell>
3790 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3791 \begin_inset Text
3792
3793 \begin_layout Plain Layout
3794 111
3795 \end_layout
3796
3797 \end_inset
3798 </cell>
3799 </row>
3800 <row>
3801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3802 \begin_inset Text
3803
3804 \begin_layout Plain Layout
3805
3806 \series bold
3807 Dalpiaz
3808 \end_layout
3809
3810 \end_inset
3811 </cell>
3812 <cell alignment="center" valignment="top" usebox="none">
3813 \begin_inset Text
3814
3815 \begin_layout Plain Layout
3816 Annamaria
3817 \end_layout
3818
3819 \end_inset
3820 </cell>
3821 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3822 \begin_inset Text
3823
3824 \begin_layout Plain Layout
3825 111
3826 \end_layout
3827
3828 \end_inset
3829 </cell>
3830 </row>
3831 <row>
3832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3833 \begin_inset Text
3834
3835 \begin_layout Plain Layout
3836
3837 \series bold
3838 Feliciello
3839 \end_layout
3840
3841 \end_inset
3842 </cell>
3843 <cell alignment="center" valignment="top" usebox="none">
3844 \begin_inset Text
3845
3846 \begin_layout Plain Layout
3847 Domenico
3848 \end_layout
3849
3850 \end_inset
3851 </cell>
3852 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3853 \begin_inset Text
3854
3855 \begin_layout Plain Layout
3856 111
3857 \end_layout
3858
3859 \end_inset
3860 </cell>
3861 </row>
3862 <row>
3863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3864 \begin_inset Text
3865
3866 \begin_layout Plain Layout
3867
3868 \series bold
3869 Focarelli
3870 \end_layout
3871
3872 \end_inset
3873 </cell>
3874 <cell alignment="center" valignment="top" usebox="none">
3875 \begin_inset Text
3876
3877 \begin_layout Plain Layout
3878 Paola
3879 \end_layout
3880
3881 \end_inset
3882 </cell>
3883 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3884 \begin_inset Text
3885
3886 \begin_layout Plain Layout
3887 111
3888 \end_layout
3889
3890 \end_inset
3891 </cell>
3892 </row>
3893 <row>
3894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3895 \begin_inset Text
3896
3897 \begin_layout Plain Layout
3898
3899 \series bold
3900 Galletti
3901 \end_layout
3902
3903 \end_inset
3904 </cell>
3905 <cell alignment="center" valignment="top" usebox="none">
3906 \begin_inset Text
3907
3908 \begin_layout Plain Layout
3909 Oreste
3910 \end_layout
3911
3912 \end_inset
3913 </cell>
3914 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3915 \begin_inset Text
3916
3917 \begin_layout Plain Layout
3918 111
3919 \end_layout
3920
3921 \end_inset
3922 </cell>
3923 </row>
3924 <row>
3925 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3926 \begin_inset Text
3927
3928 \begin_layout Plain Layout
3929
3930 \series bold
3931 Gasparini
3932 \end_layout
3933
3934 \end_inset
3935 </cell>
3936 <cell alignment="center" valignment="top" usebox="none">
3937 \begin_inset Text
3938
3939 \begin_layout Plain Layout
3940 Franca
3941 \end_layout
3942
3943 \end_inset
3944 </cell>
3945 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3946 \begin_inset Text
3947
3948 \begin_layout Plain Layout
3949 111
3950 \end_layout
3951
3952 \end_inset
3953 </cell>
3954 </row>
3955 <row>
3956 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3957 \begin_inset Text
3958
3959 \begin_layout Plain Layout
3960
3961 \series bold
3962 Rizzardi
3963 \end_layout
3964
3965 \end_inset
3966 </cell>
3967 <cell alignment="center" valignment="top" usebox="none">
3968 \begin_inset Text
3969
3970 \begin_layout Plain Layout
3971 Paola
3972 \end_layout
3973
3974 \end_inset
3975 </cell>
3976 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3977 \begin_inset Text
3978
3979 \begin_layout Plain Layout
3980 111
3981 \end_layout
3982
3983 \end_inset
3984 </cell>
3985 </row>
3986 <row>
3987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3988 \begin_inset Text
3989
3990 \begin_layout Plain Layout
3991
3992 \series bold
3993 Lassini
3994 \end_layout
3995
3996 \end_inset
3997 </cell>
3998 <cell alignment="center" valignment="top" usebox="none">
3999 \begin_inset Text
4000
4001 \begin_layout Plain Layout
4002 Giancarlo
4003 \end_layout
4004
4005 \end_inset
4006 </cell>
4007 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4008 \begin_inset Text
4009
4010 \begin_layout Plain Layout
4011 111
4012 \end_layout
4013
4014 \end_inset
4015 </cell>
4016 </row>
4017 <row>
4018 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4019 \begin_inset Text
4020
4021 \begin_layout Plain Layout
4022
4023 \series bold
4024 Malfatti
4025 \end_layout
4026
4027 \end_inset
4028 </cell>
4029 <cell alignment="center" valignment="top" usebox="none">
4030 \begin_inset Text
4031
4032 \begin_layout Plain Layout
4033 Luciano
4034 \end_layout
4035
4036 \end_inset
4037 </cell>
4038 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4039 \begin_inset Text
4040
4041 \begin_layout Plain Layout
4042 111
4043 \end_layout
4044
4045 \end_inset
4046 </cell>
4047 </row>
4048 <row>
4049 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4050 \begin_inset Text
4051
4052 \begin_layout Plain Layout
4053
4054 \series bold
4055 Malfatti
4056 \end_layout
4057
4058 \end_inset
4059 </cell>
4060 <cell alignment="center" valignment="top" usebox="none">
4061 \begin_inset Text
4062
4063 \begin_layout Plain Layout
4064 Valeriano
4065 \end_layout
4066
4067 \end_inset
4068 </cell>
4069 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4070 \begin_inset Text
4071
4072 \begin_layout Plain Layout
4073 111
4074 \end_layout
4075
4076 \end_inset
4077 </cell>
4078 </row>
4079 <row>
4080 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4081 \begin_inset Text
4082
4083 \begin_layout Plain Layout
4084
4085 \series bold
4086 Meneguzzo
4087 \end_layout
4088
4089 \end_inset
4090 </cell>
4091 <cell alignment="center" valignment="top" usebox="none">
4092 \begin_inset Text
4093
4094 \begin_layout Plain Layout
4095 Roberto
4096 \end_layout
4097
4098 \end_inset
4099 </cell>
4100 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4101 \begin_inset Text
4102
4103 \begin_layout Plain Layout
4104 111
4105 \end_layout
4106
4107 \end_inset
4108 </cell>
4109 </row>
4110 <row>
4111 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4112 \begin_inset Text
4113
4114 \begin_layout Plain Layout
4115
4116 \series bold
4117 Mezzadra
4118 \end_layout
4119
4120 \end_inset
4121 </cell>
4122 <cell alignment="center" valignment="top" usebox="none">
4123 \begin_inset Text
4124
4125 \begin_layout Plain Layout
4126 Roberto
4127 \end_layout
4128
4129 \end_inset
4130 </cell>
4131 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4132 \begin_inset Text
4133
4134 \begin_layout Plain Layout
4135 111
4136 \end_layout
4137
4138 \end_inset
4139 </cell>
4140 </row>
4141 <row>
4142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4143 \begin_inset Text
4144
4145 \begin_layout Plain Layout
4146
4147 \series bold
4148 Pirpamer
4149 \end_layout
4150
4151 \end_inset
4152 </cell>
4153 <cell alignment="center" valignment="top" usebox="none">
4154 \begin_inset Text
4155
4156 \begin_layout Plain Layout
4157 Erich
4158 \end_layout
4159
4160 \end_inset
4161 </cell>
4162 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4163 \begin_inset Text
4164
4165 \begin_layout Plain Layout
4166 111
4167 \end_layout
4168
4169 \end_inset
4170 </cell>
4171 </row>
4172 <row>
4173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4174 \begin_inset Text
4175
4176 \begin_layout Plain Layout
4177
4178 \series bold
4179 Pochiesa
4180 \end_layout
4181
4182 \end_inset
4183 </cell>
4184 <cell alignment="center" valignment="top" usebox="none">
4185 \begin_inset Text
4186
4187 \begin_layout Plain Layout
4188 Paolo
4189 \end_layout
4190
4191 \end_inset
4192 </cell>
4193 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4194 \begin_inset Text
4195
4196 \begin_layout Plain Layout
4197 111, 222
4198 \end_layout
4199
4200 \end_inset
4201 </cell>
4202 </row>
4203 <row>
4204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4205 \begin_inset Text
4206
4207 \begin_layout Plain Layout
4208
4209 \series bold
4210 Radina
4211 \end_layout
4212
4213 \end_inset
4214 </cell>
4215 <cell alignment="center" valignment="top" usebox="none">
4216 \begin_inset Text
4217
4218 \begin_layout Plain Layout
4219 Claudio
4220 \end_layout
4221
4222 \end_inset
4223 </cell>
4224 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4225 \begin_inset Text
4226
4227 \begin_layout Plain Layout
4228 111
4229 \end_layout
4230
4231 \end_inset
4232 </cell>
4233 </row>
4234 <row>
4235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4236 \begin_inset Text
4237
4238 \begin_layout Plain Layout
4239
4240 \series bold
4241 Stuffer
4242 \end_layout
4243
4244 \end_inset
4245 </cell>
4246 <cell alignment="center" valignment="top" usebox="none">
4247 \begin_inset Text
4248
4249 \begin_layout Plain Layout
4250 Oskar
4251 \end_layout
4252
4253 \end_inset
4254 </cell>
4255 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4256 \begin_inset Text
4257
4258 \begin_layout Plain Layout
4259 111
4260 \end_layout
4261
4262 \end_inset
4263 </cell>
4264 </row>
4265 <row>
4266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4267 \begin_inset Text
4268
4269 \begin_layout Plain Layout
4270
4271 \series bold
4272 Tacchelli
4273 \end_layout
4274
4275 \end_inset
4276 </cell>
4277 <cell alignment="center" valignment="top" usebox="none">
4278 \begin_inset Text
4279
4280 \begin_layout Plain Layout
4281 Ugo
4282 \end_layout
4283
4284 \end_inset
4285 </cell>
4286 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4287 \begin_inset Text
4288
4289 \begin_layout Plain Layout
4290 111
4291 \end_layout
4292
4293 \end_inset
4294 </cell>
4295 </row>
4296 <row>
4297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4298 \begin_inset Text
4299
4300 \begin_layout Plain Layout
4301
4302 \series bold
4303 Tezzele
4304 \end_layout
4305
4306 \end_inset
4307 </cell>
4308 <cell alignment="center" valignment="top" usebox="none">
4309 \begin_inset Text
4310
4311 \begin_layout Plain Layout
4312 Margit
4313 \end_layout
4314
4315 \end_inset
4316 </cell>
4317 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4318 \begin_inset Text
4319
4320 \begin_layout Plain Layout
4321 111
4322 \end_layout
4323
4324 \end_inset
4325 </cell>
4326 </row>
4327 <row>
4328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4329 \begin_inset Text
4330
4331 \begin_layout Plain Layout
4332
4333 \series bold
4334 Unterkalmsteiner
4335 \end_layout
4336
4337 \end_inset
4338 </cell>
4339 <cell alignment="center" valignment="top" usebox="none">
4340 \begin_inset Text
4341
4342 \begin_layout Plain Layout
4343 Frieda
4344 \end_layout
4345
4346 \end_inset
4347 </cell>
4348 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4349 \begin_inset Text
4350
4351 \begin_layout Plain Layout
4352 111
4353 \end_layout
4354
4355 \end_inset
4356 </cell>
4357 </row>
4358 <row>
4359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4360 \begin_inset Text
4361
4362 \begin_layout Plain Layout
4363
4364 \series bold
4365 Vieider
4366 \end_layout
4367
4368 \end_inset
4369 </cell>
4370 <cell alignment="center" valignment="top" usebox="none">
4371 \begin_inset Text
4372
4373 \begin_layout Plain Layout
4374 Hilde
4375 \end_layout
4376
4377 \end_inset
4378 </cell>
4379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4380 \begin_inset Text
4381
4382 \begin_layout Plain Layout
4383 111
4384 \end_layout
4385
4386 \end_inset
4387 </cell>
4388 </row>
4389 <row>
4390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4391 \begin_inset Text
4392
4393 \begin_layout Plain Layout
4394
4395 \series bold
4396 Vigna
4397 \end_layout
4398
4399 \end_inset
4400 </cell>
4401 <cell alignment="center" valignment="top" usebox="none">
4402 \begin_inset Text
4403
4404 \begin_layout Plain Layout
4405 Jürgen
4406 \end_layout
4407
4408 \end_inset
4409 </cell>
4410 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4411 \begin_inset Text
4412
4413 \begin_layout Plain Layout
4414 111
4415 \end_layout
4416
4417 \end_inset
4418 </cell>
4419 </row>
4420 <row>
4421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4422 \begin_inset Text
4423
4424 \begin_layout Plain Layout
4425
4426 \series bold
4427 Weber
4428 \end_layout
4429
4430 \end_inset
4431 </cell>
4432 <cell alignment="center" valignment="top" usebox="none">
4433 \begin_inset Text
4434
4435 \begin_layout Plain Layout
4436 Maurizio
4437 \end_layout
4438
4439 \end_inset
4440 </cell>
4441 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4442 \begin_inset Text
4443
4444 \begin_layout Plain Layout
4445 111
4446 \end_layout
4447
4448 \end_inset
4449 </cell>
4450 </row>
4451 <row>
4452 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4453 \begin_inset Text
4454
4455 \begin_layout Plain Layout
4456
4457 \series bold
4458 Winkler
4459 \end_layout
4460
4461 \end_inset
4462 </cell>
4463 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4464 \begin_inset Text
4465
4466 \begin_layout Plain Layout
4467 Franz
4468 \end_layout
4469
4470 \end_inset
4471 </cell>
4472 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4473 \begin_inset Text
4474
4475 \begin_layout Plain Layout
4476 111
4477 \end_layout
4478
4479 \end_inset
4480 </cell>
4481 </row>
4482 <row>
4483 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4484 \begin_inset Text
4485
4486 \begin_layout Plain Layout
4487  
4488 \end_layout
4489
4490 \end_inset
4491 </cell>
4492 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4493 \begin_inset Text
4494
4495 \begin_layout Plain Layout
4496
4497 \end_layout
4498
4499 \end_inset
4500 </cell>
4501 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4502 \begin_inset Text
4503
4504 \begin_layout Plain Layout
4505
4506 \end_layout
4507
4508 \end_inset
4509 </cell>
4510 </row>
4511 <row>
4512 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4513 \begin_inset Text
4514
4515 \begin_layout Plain Layout
4516
4517 \series bold
4518 Annovi
4519 \end_layout
4520
4521 \end_inset
4522 </cell>
4523 <cell alignment="center" valignment="top" usebox="none">
4524 \begin_inset Text
4525
4526 \begin_layout Plain Layout
4527 Silvia
4528 \end_layout
4529
4530 \end_inset
4531 </cell>
4532 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4533 \begin_inset Text
4534
4535 \begin_layout Plain Layout
4536 555
4537 \end_layout
4538
4539 \end_inset
4540 </cell>
4541 </row>
4542 <row>
4543 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4544 \begin_inset Text
4545
4546 \begin_layout Plain Layout
4547
4548 \series bold
4549 Bertoli
4550 \end_layout
4551
4552 \end_inset
4553 </cell>
4554 <cell alignment="center" valignment="top" usebox="none">
4555 \begin_inset Text
4556
4557 \begin_layout Plain Layout
4558 Stefano
4559 \end_layout
4560
4561 \end_inset
4562 </cell>
4563 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4564 \begin_inset Text
4565
4566 \begin_layout Plain Layout
4567 555
4568 \end_layout
4569
4570 \end_inset
4571 </cell>
4572 </row>
4573 <row>
4574 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4575 \begin_inset Text
4576
4577 \begin_layout Plain Layout
4578
4579 \series bold
4580 Bozzi
4581 \end_layout
4582
4583 \end_inset
4584 </cell>
4585 <cell alignment="center" valignment="top" usebox="none">
4586 \begin_inset Text
4587
4588 \begin_layout Plain Layout
4589 Walter
4590 \end_layout
4591
4592 \end_inset
4593 </cell>
4594 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4595 \begin_inset Text
4596
4597 \begin_layout Plain Layout
4598 555
4599 \end_layout
4600
4601 \end_inset
4602 </cell>
4603 </row>
4604 <row>
4605 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4606 \begin_inset Text
4607
4608 \begin_layout Plain Layout
4609
4610 \series bold
4611 Cachia
4612 \end_layout
4613
4614 \end_inset
4615 </cell>
4616 <cell alignment="center" valignment="top" usebox="none">
4617 \begin_inset Text
4618
4619 \begin_layout Plain Layout
4620 Maria
4621 \end_layout
4622
4623 \end_inset
4624 </cell>
4625 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4626 \begin_inset Text
4627
4628 \begin_layout Plain Layout
4629 555
4630 \end_layout
4631
4632 \end_inset
4633 </cell>
4634 </row>
4635 <row>
4636 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4637 \begin_inset Text
4638
4639 \begin_layout Plain Layout
4640
4641 \series bold
4642 Cachia
4643 \end_layout
4644
4645 \end_inset
4646 </cell>
4647 <cell alignment="center" valignment="top" usebox="none">
4648 \begin_inset Text
4649
4650 \begin_layout Plain Layout
4651 Maurizio
4652 \end_layout
4653
4654 \end_inset
4655 </cell>
4656 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4657 \begin_inset Text
4658
4659 \begin_layout Plain Layout
4660 555
4661 \end_layout
4662
4663 \end_inset
4664 </cell>
4665 </row>
4666 <row>
4667 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4668 \begin_inset Text
4669
4670 \begin_layout Plain Layout
4671
4672 \series bold
4673 Cinquemani
4674 \end_layout
4675
4676 \end_inset
4677 </cell>
4678 <cell alignment="center" valignment="top" usebox="none">
4679 \begin_inset Text
4680
4681 \begin_layout Plain Layout
4682 Giusi
4683 \end_layout
4684
4685 \end_inset
4686 </cell>
4687 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4688 \begin_inset Text
4689
4690 \begin_layout Plain Layout
4691 555
4692 \end_layout
4693
4694 \end_inset
4695 </cell>
4696 </row>
4697 <row>
4698 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4699 \begin_inset Text
4700
4701 \begin_layout Plain Layout
4702
4703 \series bold
4704 Colin
4705 \end_layout
4706
4707 \end_inset
4708 </cell>
4709 <cell alignment="center" valignment="top" usebox="none">
4710 \begin_inset Text
4711
4712 \begin_layout Plain Layout
4713 Bernard
4714 \end_layout
4715
4716 \end_inset
4717 </cell>
4718 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4719 \begin_inset Text
4720
4721 \begin_layout Plain Layout
4722 555
4723 \end_layout
4724
4725 \end_inset
4726 </cell>
4727 </row>
4728 <row>
4729 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4730 \begin_inset Text
4731
4732 \begin_layout Plain Layout
4733
4734 \series bold
4735 Concli
4736 \end_layout
4737
4738 \end_inset
4739 </cell>
4740 <cell alignment="center" valignment="top" usebox="none">
4741 \begin_inset Text
4742
4743 \begin_layout Plain Layout
4744 Gianfranco
4745 \end_layout
4746
4747 \end_inset
4748 </cell>
4749 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4750 \begin_inset Text
4751
4752 \begin_layout Plain Layout
4753 555
4754 \end_layout
4755
4756 \end_inset
4757 </cell>
4758 </row>
4759 <row>
4760 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4761 \begin_inset Text
4762
4763 \begin_layout Plain Layout
4764
4765 \series bold
4766 Dal Bosco
4767 \end_layout
4768
4769 \end_inset
4770 </cell>
4771 <cell alignment="center" valignment="top" usebox="none">
4772 \begin_inset Text
4773
4774 \begin_layout Plain Layout
4775 Carolina
4776 \end_layout
4777
4778 \end_inset
4779 </cell>
4780 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4781 \begin_inset Text
4782
4783 \begin_layout Plain Layout
4784 555
4785 \end_layout
4786
4787 \end_inset
4788 </cell>
4789 </row>
4790 <row>
4791 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4792 \begin_inset Text
4793
4794 \begin_layout Plain Layout
4795
4796 \series bold
4797 Dalpiaz
4798 \end_layout
4799
4800 \end_inset
4801 </cell>
4802 <cell alignment="center" valignment="top" usebox="none">
4803 \begin_inset Text
4804
4805 \begin_layout Plain Layout
4806 Annamaria
4807 \end_layout
4808
4809 \end_inset
4810 </cell>
4811 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4812 \begin_inset Text
4813
4814 \begin_layout Plain Layout
4815 555
4816 \end_layout
4817
4818 \end_inset
4819 </cell>
4820 </row>
4821 <row>
4822 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4823 \begin_inset Text
4824
4825 \begin_layout Plain Layout
4826
4827 \series bold
4828 Feliciello
4829 \end_layout
4830
4831 \end_inset
4832 </cell>
4833 <cell alignment="center" valignment="top" usebox="none">
4834 \begin_inset Text
4835
4836 \begin_layout Plain Layout
4837 Domenico
4838 \end_layout
4839
4840 \end_inset
4841 </cell>
4842 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4843 \begin_inset Text
4844
4845 \begin_layout Plain Layout
4846 555
4847 \end_layout
4848
4849 \end_inset
4850 </cell>
4851 </row>
4852 <row>
4853 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4854 \begin_inset Text
4855
4856 \begin_layout Plain Layout
4857
4858 \series bold
4859 Focarelli
4860 \end_layout
4861
4862 \end_inset
4863 </cell>
4864 <cell alignment="center" valignment="top" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Plain Layout
4868 Paola
4869 \end_layout
4870
4871 \end_inset
4872 </cell>
4873 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4874 \begin_inset Text
4875
4876 \begin_layout Plain Layout
4877 555
4878 \end_layout
4879
4880 \end_inset
4881 </cell>
4882 </row>
4883 <row>
4884 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4885 \begin_inset Text
4886
4887 \begin_layout Plain Layout
4888
4889 \series bold
4890 Galletti
4891 \end_layout
4892
4893 \end_inset
4894 </cell>
4895 <cell alignment="center" valignment="top" usebox="none">
4896 \begin_inset Text
4897
4898 \begin_layout Plain Layout
4899 Oreste
4900 \end_layout
4901
4902 \end_inset
4903 </cell>
4904 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4905 \begin_inset Text
4906
4907 \begin_layout Plain Layout
4908 555
4909 \end_layout
4910
4911 \end_inset
4912 </cell>
4913 </row>
4914 <row>
4915 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4916 \begin_inset Text
4917
4918 \begin_layout Plain Layout
4919
4920 \series bold
4921 Gasparini
4922 \end_layout
4923
4924 \end_inset
4925 </cell>
4926 <cell alignment="center" valignment="top" usebox="none">
4927 \begin_inset Text
4928
4929 \begin_layout Plain Layout
4930 Franca
4931 \end_layout
4932
4933 \end_inset
4934 </cell>
4935 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4936 \begin_inset Text
4937
4938 \begin_layout Plain Layout
4939 555
4940 \end_layout
4941
4942 \end_inset
4943 </cell>
4944 </row>
4945 <row>
4946 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4947 \begin_inset Text
4948
4949 \begin_layout Plain Layout
4950
4951 \series bold
4952 Rizzardi
4953 \end_layout
4954
4955 \end_inset
4956 </cell>
4957 <cell alignment="center" valignment="top" usebox="none">
4958 \begin_inset Text
4959
4960 \begin_layout Plain Layout
4961 Paola
4962 \end_layout
4963
4964 \end_inset
4965 </cell>
4966 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4967 \begin_inset Text
4968
4969 \begin_layout Plain Layout
4970 555
4971 \end_layout
4972
4973 \end_inset
4974 </cell>
4975 </row>
4976 <row>
4977 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4978 \begin_inset Text
4979
4980 \begin_layout Plain Layout
4981
4982 \series bold
4983 Lassini
4984 \end_layout
4985
4986 \end_inset
4987 </cell>
4988 <cell alignment="center" valignment="top" usebox="none">
4989 \begin_inset Text
4990
4991 \begin_layout Plain Layout
4992 Giancarlo
4993 \end_layout
4994
4995 \end_inset
4996 </cell>
4997 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4998 \begin_inset Text
4999
5000 \begin_layout Plain Layout
5001 555
5002 \end_layout
5003
5004 \end_inset
5005 </cell>
5006 </row>
5007 <row>
5008 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5009 \begin_inset Text
5010
5011 \begin_layout Plain Layout
5012
5013 \series bold
5014 Malfatti
5015 \end_layout
5016
5017 \end_inset
5018 </cell>
5019 <cell alignment="center" valignment="top" usebox="none">
5020 \begin_inset Text
5021
5022 \begin_layout Plain Layout
5023 Luciano
5024 \end_layout
5025
5026 \end_inset
5027 </cell>
5028 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5029 \begin_inset Text
5030
5031 \begin_layout Plain Layout
5032 555
5033 \end_layout
5034
5035 \end_inset
5036 </cell>
5037 </row>
5038 <row>
5039 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5040 \begin_inset Text
5041
5042 \begin_layout Plain Layout
5043
5044 \series bold
5045 Malfatti
5046 \end_layout
5047
5048 \end_inset
5049 </cell>
5050 <cell alignment="center" valignment="top" usebox="none">
5051 \begin_inset Text
5052
5053 \begin_layout Plain Layout
5054 Valeriano
5055 \end_layout
5056
5057 \end_inset
5058 </cell>
5059 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5060 \begin_inset Text
5061
5062 \begin_layout Plain Layout
5063 555
5064 \end_layout
5065
5066 \end_inset
5067 </cell>
5068 </row>
5069 <row>
5070 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5071 \begin_inset Text
5072
5073 \begin_layout Plain Layout
5074
5075 \series bold
5076 Meneguzzo
5077 \end_layout
5078
5079 \end_inset
5080 </cell>
5081 <cell alignment="center" valignment="top" usebox="none">
5082 \begin_inset Text
5083
5084 \begin_layout Plain Layout
5085 Roberto
5086 \end_layout
5087
5088 \end_inset
5089 </cell>
5090 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5091 \begin_inset Text
5092
5093 \begin_layout Plain Layout
5094 555
5095 \end_layout
5096
5097 \end_inset
5098 </cell>
5099 </row>
5100 <row>
5101 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5102 \begin_inset Text
5103
5104 \begin_layout Plain Layout
5105
5106 \series bold
5107 Mezzadra
5108 \end_layout
5109
5110 \end_inset
5111 </cell>
5112 <cell alignment="center" valignment="top" usebox="none">
5113 \begin_inset Text
5114
5115 \begin_layout Plain Layout
5116 Roberto
5117 \end_layout
5118
5119 \end_inset
5120 </cell>
5121 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5122 \begin_inset Text
5123
5124 \begin_layout Plain Layout
5125 555
5126 \end_layout
5127
5128 \end_inset
5129 </cell>
5130 </row>
5131 <row>
5132 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5133 \begin_inset Text
5134
5135 \begin_layout Plain Layout
5136
5137 \series bold
5138 Pirpamer
5139 \end_layout
5140
5141 \end_inset
5142 </cell>
5143 <cell alignment="center" valignment="top" usebox="none">
5144 \begin_inset Text
5145
5146 \begin_layout Plain Layout
5147 Erich
5148 \end_layout
5149
5150 \end_inset
5151 </cell>
5152 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5153 \begin_inset Text
5154
5155 \begin_layout Plain Layout
5156 555
5157 \end_layout
5158
5159 \end_inset
5160 </cell>
5161 </row>
5162 <row>
5163 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5164 \begin_inset Text
5165
5166 \begin_layout Plain Layout
5167
5168 \series bold
5169 Pochiesa
5170 \end_layout
5171
5172 \end_inset
5173 </cell>
5174 <cell alignment="center" valignment="top" usebox="none">
5175 \begin_inset Text
5176
5177 \begin_layout Plain Layout
5178 Paolo
5179 \end_layout
5180
5181 \end_inset
5182 </cell>
5183 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5184 \begin_inset Text
5185
5186 \begin_layout Plain Layout
5187 555, 222
5188 \end_layout
5189
5190 \end_inset
5191 </cell>
5192 </row>
5193 <row>
5194 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5195 \begin_inset Text
5196
5197 \begin_layout Plain Layout
5198
5199 \series bold
5200 Radina
5201 \end_layout
5202
5203 \end_inset
5204 </cell>
5205 <cell alignment="center" valignment="top" usebox="none">
5206 \begin_inset Text
5207
5208 \begin_layout Plain Layout
5209 Claudio
5210 \end_layout
5211
5212 \end_inset
5213 </cell>
5214 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5215 \begin_inset Text
5216
5217 \begin_layout Plain Layout
5218 555
5219 \end_layout
5220
5221 \end_inset
5222 </cell>
5223 </row>
5224 <row>
5225 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5226 \begin_inset Text
5227
5228 \begin_layout Plain Layout
5229
5230 \series bold
5231 Stuffer
5232 \end_layout
5233
5234 \end_inset
5235 </cell>
5236 <cell alignment="center" valignment="top" usebox="none">
5237 \begin_inset Text
5238
5239 \begin_layout Plain Layout
5240 Oskar
5241 \end_layout
5242
5243 \end_inset
5244 </cell>
5245 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5246 \begin_inset Text
5247
5248 \begin_layout Plain Layout
5249 555
5250 \end_layout
5251
5252 \end_inset
5253 </cell>
5254 </row>
5255 <row>
5256 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5257 \begin_inset Text
5258
5259 \begin_layout Plain Layout
5260
5261 \series bold
5262 Tacchelli
5263 \end_layout
5264
5265 \end_inset
5266 </cell>
5267 <cell alignment="center" valignment="top" usebox="none">
5268 \begin_inset Text
5269
5270 \begin_layout Plain Layout
5271 Ugo
5272 \end_layout
5273
5274 \end_inset
5275 </cell>
5276 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5277 \begin_inset Text
5278
5279 \begin_layout Plain Layout
5280 555
5281 \end_layout
5282
5283 \end_inset
5284 </cell>
5285 </row>
5286 <row>
5287 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5288 \begin_inset Text
5289
5290 \begin_layout Plain Layout
5291
5292 \series bold
5293 Tezzele
5294 \end_layout
5295
5296 \end_inset
5297 </cell>
5298 <cell alignment="center" valignment="top" usebox="none">
5299 \begin_inset Text
5300
5301 \begin_layout Plain Layout
5302 Margit
5303 \end_layout
5304
5305 \end_inset
5306 </cell>
5307 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5308 \begin_inset Text
5309
5310 \begin_layout Plain Layout
5311 555
5312 \end_layout
5313
5314 \end_inset
5315 </cell>
5316 </row>
5317 <row>
5318 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5319 \begin_inset Text
5320
5321 \begin_layout Plain Layout
5322
5323 \series bold
5324 Unterkalmsteiner
5325 \end_layout
5326
5327 \end_inset
5328 </cell>
5329 <cell alignment="center" valignment="top" usebox="none">
5330 \begin_inset Text
5331
5332 \begin_layout Plain Layout
5333 Frieda
5334 \end_layout
5335
5336 \end_inset
5337 </cell>
5338 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5339 \begin_inset Text
5340
5341 \begin_layout Plain Layout
5342 555
5343 \end_layout
5344
5345 \end_inset
5346 </cell>
5347 </row>
5348 <row>
5349 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5350 \begin_inset Text
5351
5352 \begin_layout Plain Layout
5353
5354 \series bold
5355 Vieider
5356 \end_layout
5357
5358 \end_inset
5359 </cell>
5360 <cell alignment="center" valignment="top" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Plain Layout
5364 Hilde
5365 \end_layout
5366
5367 \end_inset
5368 </cell>
5369 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5370 \begin_inset Text
5371
5372 \begin_layout Plain Layout
5373 555
5374 \end_layout
5375
5376 \end_inset
5377 </cell>
5378 </row>
5379 <row>
5380 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5381 \begin_inset Text
5382
5383 \begin_layout Plain Layout
5384
5385 \series bold
5386 Vigna
5387 \end_layout
5388
5389 \end_inset
5390 </cell>
5391 <cell alignment="center" valignment="top" usebox="none">
5392 \begin_inset Text
5393
5394 \begin_layout Plain Layout
5395 Jürgen
5396 \end_layout
5397
5398 \end_inset
5399 </cell>
5400 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5401 \begin_inset Text
5402
5403 \begin_layout Plain Layout
5404 999
5405 \end_layout
5406
5407 \end_inset
5408 </cell>
5409 </row>
5410 <row>
5411 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5412 \begin_inset Text
5413
5414 \begin_layout Plain Layout
5415
5416 \series bold
5417 Weber
5418 \end_layout
5419
5420 \end_inset
5421 </cell>
5422 <cell alignment="center" valignment="top" usebox="none">
5423 \begin_inset Text
5424
5425 \begin_layout Plain Layout
5426 Maurizio
5427 \end_layout
5428
5429 \end_inset
5430 </cell>
5431 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5432 \begin_inset Text
5433
5434 \begin_layout Plain Layout
5435 555
5436 \end_layout
5437
5438 \end_inset
5439 </cell>
5440 </row>
5441 <row>
5442 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5443 \begin_inset Text
5444
5445 \begin_layout Plain Layout
5446
5447 \series bold
5448 Winkler
5449 \end_layout
5450
5451 \end_inset
5452 </cell>
5453 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5454 \begin_inset Text
5455
5456 \begin_layout Plain Layout
5457 Franz
5458 \end_layout
5459
5460 \end_inset
5461 </cell>
5462 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5463 \begin_inset Text
5464
5465 \begin_layout Plain Layout
5466 555
5467 \end_layout
5468
5469 \end_inset
5470 </cell>
5471 </row>
5472 <row endlastfoot="true">
5473 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5474 \begin_inset Text
5475
5476 \begin_layout Plain Layout
5477 end
5478 \end_layout
5479
5480 \end_inset
5481 </cell>
5482 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5483 \begin_inset Text
5484
5485 \begin_layout Plain Layout
5486
5487 \end_layout
5488
5489 \end_inset
5490 </cell>
5491 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5492 \begin_inset Text
5493
5494 \begin_layout Plain Layout
5495
5496 \end_layout
5497
5498 \end_inset
5499 </cell>
5500 </row>
5501 </lyxtabular>
5502
5503 \end_inset
5504
5505
5506 \begin_inset ERT
5507 status collapsed
5508
5509 \begin_layout Plain Layout
5510
5511
5512 \backslash
5513 addtocounter{table}{-1}
5514 \end_layout
5515
5516 \end_inset
5517
5518
5519 \begin_inset Note Note
5520 status collapsed
5521
5522 \begin_layout Plain Layout
5523 See the first greyed-out note in section
5524 \begin_inset space ~
5525 \end_inset
5526
5527
5528 \begin_inset CommandInset ref
5529 LatexCommand ref
5530 reference "sub:Longtable-Captions"
5531
5532 \end_inset
5533
5534  for an explanation of this command.
5535 \end_layout
5536
5537 \end_inset
5538
5539
5540 \end_layout
5541
5542 \begin_layout Subsection
5543 Footnotes in Longtables
5544 \begin_inset CommandInset label
5545 LatexCommand label
5546 name "sub:Footnotes-in-Longtables"
5547
5548 \end_inset
5549
5550
5551 \begin_inset Index idx
5552 status collapsed
5553
5554 \begin_layout Plain Layout
5555 Longtables ! Footnotes
5556 \end_layout
5557
5558 \end_inset
5559
5560
5561 \end_layout
5562
5563 \begin_layout Standard
5564 Footnotes can be inserted to every longtable cell.
5565  They appear at the bottom of the page where the table cell with the footnote
5566  appears.
5567  Table
5568 \begin_inset space ~
5569 \end_inset
5570
5571
5572 \begin_inset CommandInset ref
5573 LatexCommand ref
5574 reference "tab:DiffCaptions"
5575
5576 \end_inset
5577
5578  has for example a footnote.
5579 \end_layout
5580
5581 \begin_layout Subsection
5582 Longtable Alignment
5583 \begin_inset Index idx
5584 status collapsed
5585
5586 \begin_layout Plain Layout
5587 Longtables ! Alignment
5588 \end_layout
5589
5590 \end_inset
5591
5592
5593 \end_layout
5594
5595 \begin_layout Standard
5596 The horizontal alignment of longtables can be set in the table settings
5597  dialog.
5598  For left- and right-alignment the table will be directly at the page border.
5599  To add space between the table and the border one has to set the alignment
5600  to center and change the value of the LaTeX-lengths 
5601 \series bold
5602
5603 \backslash
5604 LTleft 
5605 \series default
5606 or 
5607 \series bold
5608
5609 \backslash
5610 LTright
5611 \series default
5612  by inserting this line as TeX-Code before the longtable:
5613 \end_layout
5614
5615 \begin_layout Standard
5616
5617 \series bold
5618
5619 \backslash
5620 setlength{
5621 \backslash
5622 LTleft}{value}
5623 \end_layout
5624
5625 \begin_layout Standard
5626 The value can have any of the units listed in Table
5627 \begin_inset space ~
5628 \end_inset
5629
5630
5631 \begin_inset CommandInset ref
5632 LatexCommand ref
5633 reference "tab:Units"
5634
5635 \end_inset
5636
5637 .
5638  
5639 \series bold
5640
5641 \backslash
5642 LTleft
5643 \series default
5644  controls the horizontal distance from the left page border to the longtable,
5645  
5646 \series bold
5647
5648 \backslash
5649 LTright
5650 \series default
5651  the distance from the right side.
5652  The default value for both lengths is 
5653 \series bold
5654
5655 \backslash
5656 fill
5657 \series default
5658 , which is in this case the same as an horizontal fill in LyX.
5659 \end_layout
5660
5661 \begin_layout Standard
5662 The following longtable was centered and 
5663 \series bold
5664
5665 \backslash
5666 LTleft
5667 \series default
5668  set to 
5669 \family sans
5670 0.1
5671 \backslash
5672 columnwidth
5673 \family default
5674 :
5675 \begin_inset ERT
5676 status collapsed
5677
5678 \begin_layout Plain Layout
5679
5680
5681 \backslash
5682 setlength{
5683 \backslash
5684 LTleft}{0.1
5685 \backslash
5686 columnwidth}
5687 \end_layout
5688
5689 \end_inset
5690
5691
5692 \end_layout
5693
5694 \begin_layout Standard
5695 \begin_inset Tabular
5696 <lyxtabular version="3" rows="5" columns="5">
5697 <features islongtable="true" longtabularalignment="center">
5698 <column alignment="center" valignment="top" width="0">
5699 <column alignment="center" valignment="top" width="0pt">
5700 <column alignment="center" valignment="top" width="0">
5701 <column alignment="center" valignment="top" width="0">
5702 <column alignment="center" valignment="top" width="0">
5703 <row>
5704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5705 \begin_inset Text
5706
5707 \begin_layout Plain Layout
5708 1
5709 \end_layout
5710
5711 \end_inset
5712 </cell>
5713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5714 \begin_inset Text
5715
5716 \begin_layout Plain Layout
5717 2
5718 \end_layout
5719
5720 \end_inset
5721 </cell>
5722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5723 \begin_inset Text
5724
5725 \begin_layout Plain Layout
5726 3
5727 \end_layout
5728
5729 \end_inset
5730 </cell>
5731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5732 \begin_inset Text
5733
5734 \begin_layout Plain Layout
5735 4
5736 \end_layout
5737
5738 \end_inset
5739 </cell>
5740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5741 \begin_inset Text
5742
5743 \begin_layout Plain Layout
5744 5
5745 \end_layout
5746
5747 \end_inset
5748 </cell>
5749 </row>
5750 <row>
5751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5752 \begin_inset Text
5753
5754 \begin_layout Plain Layout
5755 asd
5756 \end_layout
5757
5758 \end_inset
5759 </cell>
5760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5761 \begin_inset Text
5762
5763 \begin_layout Plain Layout
5764 s
5765 \end_layout
5766
5767 \end_inset
5768 </cell>
5769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5770 \begin_inset Text
5771
5772 \begin_layout Plain Layout
5773 s
5774 \end_layout
5775
5776 \end_inset
5777 </cell>
5778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5779 \begin_inset Text
5780
5781 \begin_layout Plain Layout
5782 s
5783 \end_layout
5784
5785 \end_inset
5786 </cell>
5787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5788 \begin_inset Text
5789
5790 \begin_layout Plain Layout
5791 asd
5792 \end_layout
5793
5794 \end_inset
5795 </cell>
5796 </row>
5797 <row>
5798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5799 \begin_inset Text
5800
5801 \begin_layout Plain Layout
5802 asd
5803 \end_layout
5804
5805 \end_inset
5806 </cell>
5807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5808 \begin_inset Text
5809
5810 \begin_layout Plain Layout
5811 s
5812 \end_layout
5813
5814 \end_inset
5815 </cell>
5816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5817 \begin_inset Text
5818
5819 \begin_layout Plain Layout
5820 s
5821 \end_layout
5822
5823 \end_inset
5824 </cell>
5825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5826 \begin_inset Text
5827
5828 \begin_layout Plain Layout
5829 s
5830 \end_layout
5831
5832 \end_inset
5833 </cell>
5834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5835 \begin_inset Text
5836
5837 \begin_layout Plain Layout
5838 asd
5839 \end_layout
5840
5841 \end_inset
5842 </cell>
5843 </row>
5844 <row>
5845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5846 \begin_inset Text
5847
5848 \begin_layout Plain Layout
5849 asd
5850 \end_layout
5851
5852 \end_inset
5853 </cell>
5854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5855 \begin_inset Text
5856
5857 \begin_layout Plain Layout
5858 s
5859 \end_layout
5860
5861 \end_inset
5862 </cell>
5863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5864 \begin_inset Text
5865
5866 \begin_layout Plain Layout
5867 s
5868 \end_layout
5869
5870 \end_inset
5871 </cell>
5872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5873 \begin_inset Text
5874
5875 \begin_layout Plain Layout
5876 s
5877 \end_layout
5878
5879 \end_inset
5880 </cell>
5881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5882 \begin_inset Text
5883
5884 \begin_layout Plain Layout
5885 asd
5886 \end_layout
5887
5888 \end_inset
5889 </cell>
5890 </row>
5891 <row>
5892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5893 \begin_inset Text
5894
5895 \begin_layout Plain Layout
5896 asd
5897 \end_layout
5898
5899 \end_inset
5900 </cell>
5901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5902 \begin_inset Text
5903
5904 \begin_layout Plain Layout
5905 asd
5906 \end_layout
5907
5908 \end_inset
5909 </cell>
5910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5911 \begin_inset Text
5912
5913 \begin_layout Plain Layout
5914 asd
5915 \end_layout
5916
5917 \end_inset
5918 </cell>
5919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5920 \begin_inset Text
5921
5922 \begin_layout Plain Layout
5923 asd
5924 \end_layout
5925
5926 \end_inset
5927 </cell>
5928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5929 \begin_inset Text
5930
5931 \begin_layout Plain Layout
5932 asd
5933 \end_layout
5934
5935 \end_inset
5936 </cell>
5937 </row>
5938 </lyxtabular>
5939
5940 \end_inset
5941
5942
5943 \begin_inset ERT
5944 status collapsed
5945
5946 \begin_layout Plain Layout
5947
5948
5949 \backslash
5950 setlength{
5951 \backslash
5952 LTleft}{
5953 \backslash
5954 fill}
5955 \end_layout
5956
5957 \end_inset
5958
5959
5960 \begin_inset ERT
5961 status collapsed
5962
5963 \begin_layout Plain Layout
5964
5965
5966 \backslash
5967 addtocounter{table}{-1}
5968 \end_layout
5969
5970 \end_inset
5971
5972
5973 \begin_inset Note Note
5974 status collapsed
5975
5976 \begin_layout Plain Layout
5977 See the first greyed-out note in section
5978 \begin_inset space ~
5979 \end_inset
5980
5981
5982 \begin_inset CommandInset ref
5983 LatexCommand ref
5984 reference "sub:Longtable-Captions"
5985
5986 \end_inset
5987
5988  for an explanation of this command.
5989 \end_layout
5990
5991 \end_inset
5992
5993
5994 \end_layout
5995
5996 \begin_layout Subsection
5997 Longtable Captions
5998 \begin_inset Index idx
5999 status collapsed
6000
6001 \begin_layout Plain Layout
6002 Longtables ! Captions
6003 \end_layout
6004
6005 \end_inset
6006
6007
6008 \begin_inset CommandInset label
6009 LatexCommand label
6010 name "sub:Longtable-Captions"
6011
6012 \end_inset
6013
6014
6015 \end_layout
6016
6017 \begin_layout Standard
6018 A longtable cannot be put into a table float because floats can only be
6019  on one page.
6020  But the caption environment of floats can also be used for longtables when
6021  you use the longtable option 
6022 \family sans
6023 Caption
6024 \family default
6025  as described in sec.
6026 \begin_inset space \thinspace{}
6027 \end_inset
6028
6029
6030 \begin_inset CommandInset ref
6031 LatexCommand ref
6032 reference "sec:Longtables"
6033
6034 \end_inset
6035
6036 .
6037  Only one table row can contain the caption.
6038 \end_layout
6039
6040 \begin_layout Standard
6041 Here is a short longtable to see how it works:
6042 \end_layout
6043
6044 \begin_layout Standard
6045 \begin_inset Tabular
6046 <lyxtabular version="3" rows="6" columns="5">
6047 <features islongtable="true" longtabularalignment="center">
6048 <column alignment="center" valignment="top" width="0">
6049 <column alignment="center" valignment="top" width="0">
6050 <column alignment="center" valignment="top" width="0">
6051 <column alignment="center" valignment="top" width="0">
6052 <column alignment="center" valignment="top" width="0">
6053 <row caption="true">
6054 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6055 \begin_inset Text
6056
6057 \begin_layout Plain Layout
6058 \begin_inset Caption
6059
6060 \begin_layout Plain Layout
6061 Longtable with caption
6062 \begin_inset Argument
6063 status open
6064
6065 \begin_layout Plain Layout
6066 Longtable
6067 \end_layout
6068
6069 \end_inset
6070
6071
6072 \end_layout
6073
6074 \end_inset
6075
6076
6077 \end_layout
6078
6079 \end_inset
6080 </cell>
6081 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6082 \begin_inset Text
6083
6084 \begin_layout Plain Layout
6085
6086 \end_layout
6087
6088 \end_inset
6089 </cell>
6090 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6091 \begin_inset Text
6092
6093 \begin_layout Plain Layout
6094
6095 \end_layout
6096
6097 \end_inset
6098 </cell>
6099 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6100 \begin_inset Text
6101
6102 \begin_layout Plain Layout
6103
6104 \end_layout
6105
6106 \end_inset
6107 </cell>
6108 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6109 \begin_inset Text
6110
6111 \begin_layout Plain Layout
6112
6113 \end_layout
6114
6115 \end_inset
6116 </cell>
6117 </row>
6118 <row>
6119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6120 \begin_inset Text
6121
6122 \begin_layout Plain Layout
6123 1
6124 \end_layout
6125
6126 \end_inset
6127 </cell>
6128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6129 \begin_inset Text
6130
6131 \begin_layout Plain Layout
6132 2
6133 \end_layout
6134
6135 \end_inset
6136 </cell>
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6138 \begin_inset Text
6139
6140 \begin_layout Plain Layout
6141 3
6142 \end_layout
6143
6144 \end_inset
6145 </cell>
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6147 \begin_inset Text
6148
6149 \begin_layout Plain Layout
6150 4
6151 \end_layout
6152
6153 \end_inset
6154 </cell>
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6156 \begin_inset Text
6157
6158 \begin_layout Plain Layout
6159 5
6160 \end_layout
6161
6162 \end_inset
6163 </cell>
6164 </row>
6165 <row>
6166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6167 \begin_inset Text
6168
6169 \begin_layout Plain Layout
6170 asd
6171 \end_layout
6172
6173 \end_inset
6174 </cell>
6175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6176 \begin_inset Text
6177
6178 \begin_layout Plain Layout
6179 s
6180 \end_layout
6181
6182 \end_inset
6183 </cell>
6184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6185 \begin_inset Text
6186
6187 \begin_layout Plain Layout
6188 s
6189 \end_layout
6190
6191 \end_inset
6192 </cell>
6193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6194 \begin_inset Text
6195
6196 \begin_layout Plain Layout
6197 s
6198 \end_layout
6199
6200 \end_inset
6201 </cell>
6202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6203 \begin_inset Text
6204
6205 \begin_layout Plain Layout
6206 asd
6207 \end_layout
6208
6209 \end_inset
6210 </cell>
6211 </row>
6212 <row>
6213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6214 \begin_inset Text
6215
6216 \begin_layout Plain Layout
6217 asd
6218 \end_layout
6219
6220 \end_inset
6221 </cell>
6222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6223 \begin_inset Text
6224
6225 \begin_layout Plain Layout
6226 s
6227 \end_layout
6228
6229 \end_inset
6230 </cell>
6231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6232 \begin_inset Text
6233
6234 \begin_layout Plain Layout
6235 s
6236 \end_layout
6237
6238 \end_inset
6239 </cell>
6240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6241 \begin_inset Text
6242
6243 \begin_layout Plain Layout
6244 s
6245 \end_layout
6246
6247 \end_inset
6248 </cell>
6249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6250 \begin_inset Text
6251
6252 \begin_layout Plain Layout
6253 asd
6254 \end_layout
6255
6256 \end_inset
6257 </cell>
6258 </row>
6259 <row>
6260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6261 \begin_inset Text
6262
6263 \begin_layout Plain Layout
6264 asd
6265 \end_layout
6266
6267 \end_inset
6268 </cell>
6269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6270 \begin_inset Text
6271
6272 \begin_layout Plain Layout
6273 s
6274 \end_layout
6275
6276 \end_inset
6277 </cell>
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6279 \begin_inset Text
6280
6281 \begin_layout Plain Layout
6282 s
6283 \end_layout
6284
6285 \end_inset
6286 </cell>
6287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6288 \begin_inset Text
6289
6290 \begin_layout Plain Layout
6291 s
6292 \end_layout
6293
6294 \end_inset
6295 </cell>
6296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6297 \begin_inset Text
6298
6299 \begin_layout Plain Layout
6300 asd
6301 \end_layout
6302
6303 \end_inset
6304 </cell>
6305 </row>
6306 <row>
6307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6308 \begin_inset Text
6309
6310 \begin_layout Plain Layout
6311 asd
6312 \end_layout
6313
6314 \end_inset
6315 </cell>
6316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6317 \begin_inset Text
6318
6319 \begin_layout Plain Layout
6320 asd
6321 \end_layout
6322
6323 \end_inset
6324 </cell>
6325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6326 \begin_inset Text
6327
6328 \begin_layout Plain Layout
6329 asd
6330 \end_layout
6331
6332 \end_inset
6333 </cell>
6334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6335 \begin_inset Text
6336
6337 \begin_layout Plain Layout
6338 asd
6339 \end_layout
6340
6341 \end_inset
6342 </cell>
6343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6344 \begin_inset Text
6345
6346 \begin_layout Plain Layout
6347 asd
6348 \end_layout
6349
6350 \end_inset
6351 </cell>
6352 </row>
6353 </lyxtabular>
6354
6355 \end_inset
6356
6357
6358 \end_layout
6359
6360 \begin_layout Standard
6361 \begin_inset VSpace medskip
6362 \end_inset
6363
6364
6365 \begin_inset Note Greyedout
6366 status open
6367
6368 \begin_layout Plain Layout
6369
6370 \series bold
6371 Note
6372 \begin_inset space ~
6373 \end_inset
6374
6375 1:
6376 \series default
6377  The table number is increased for for every longtable, even if you did
6378  not set a caption for it.
6379  For this reason you could have the case that e.
6380 \begin_inset space \thinspace{}
6381 \end_inset
6382
6383 g.
6384 \begin_inset space \space{}
6385 \end_inset
6386
6387 Table
6388 \begin_inset space ~
6389 \end_inset
6390
6391 2.4 follows Table
6392 \begin_inset space ~
6393 \end_inset
6394
6395 2.1 in the list of tables if there are two longtables without captions.
6396  To avoid this you can add the following command in TeX-Code after every
6397  longtable without a caption:
6398 \end_layout
6399
6400 \begin_layout Plain Layout
6401
6402 \series bold
6403
6404 \backslash
6405 addtocounter{table}{-1}
6406 \end_layout
6407
6408 \begin_layout Plain Layout
6409 This is not needed when none of your longtables have a caption and you add
6410  the following code to the document preamble:
6411 \end_layout
6412
6413 \begin_layout Plain Layout
6414
6415 \series bold
6416
6417 \backslash
6418 let
6419 \backslash
6420 myEnd
6421 \backslash
6422 endlongtable
6423 \begin_inset Newline newline
6424 \end_inset
6425
6426
6427 \backslash
6428 renewcommand{
6429 \backslash
6430 endlongtable}{
6431 \backslash
6432 myEnd
6433 \backslash
6434 addtocounter{table}{-1}}
6435 \end_layout
6436
6437 \end_inset
6438
6439
6440 \end_layout
6441
6442 \begin_layout Standard
6443 \begin_inset Note Greyedout
6444 status open
6445
6446 \begin_layout Plain Layout
6447
6448 \series bold
6449 Note
6450 \begin_inset space ~
6451 \end_inset
6452
6453 2:
6454 \series default
6455  If you are using
6456 \series bold
6457  hyperref
6458 \series default
6459
6460 \begin_inset Index idx
6461 status collapsed
6462
6463 \begin_layout Plain Layout
6464 LaTeX-packages ! hyperref
6465 \end_layout
6466
6467 \end_inset
6468
6469  in the 
6470 \family sans
6471 PDF Properties
6472 \family default
6473  of the 
6474 \family sans
6475 Document Settings
6476 \family default
6477  dialog to link cross-references, the link to a longtable caption will always
6478  point to the beginning of the document.
6479 \end_layout
6480
6481 \end_inset
6482
6483
6484 \end_layout
6485
6486 \begin_layout Subsubsection
6487 References to Longtables
6488 \begin_inset Index idx
6489 status collapsed
6490
6491 \begin_layout Plain Layout
6492 Longtables ! References
6493 \end_layout
6494
6495 \end_inset
6496
6497
6498 \end_layout
6499
6500 \begin_layout Standard
6501 \begin_inset Tabular
6502 <lyxtabular version="3" rows="6" columns="5">
6503 <features islongtable="true" longtabularalignment="center">
6504 <column alignment="center" valignment="top" width="0">
6505 <column alignment="center" valignment="top" width="0">
6506 <column alignment="center" valignment="top" width="0">
6507 <column alignment="center" valignment="top" width="0">
6508 <column alignment="center" valignment="top" width="0">
6509 <row caption="true">
6510 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6511 \begin_inset Text
6512
6513 \begin_layout Plain Layout
6514 \begin_inset Caption
6515
6516 \begin_layout Plain Layout
6517 Referenced longtable
6518 \begin_inset CommandInset label
6519 LatexCommand label
6520 name "tab:RefExample"
6521
6522 \end_inset
6523
6524
6525 \end_layout
6526
6527 \end_inset
6528
6529
6530 \end_layout
6531
6532 \end_inset
6533 </cell>
6534 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6535 \begin_inset Text
6536
6537 \begin_layout Plain Layout
6538
6539 \end_layout
6540
6541 \end_inset
6542 </cell>
6543 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6544 \begin_inset Text
6545
6546 \begin_layout Plain Layout
6547
6548 \end_layout
6549
6550 \end_inset
6551 </cell>
6552 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6553 \begin_inset Text
6554
6555 \begin_layout Plain Layout
6556
6557 \end_layout
6558
6559 \end_inset
6560 </cell>
6561 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6562 \begin_inset Text
6563
6564 \begin_layout Plain Layout
6565
6566 \end_layout
6567
6568 \end_inset
6569 </cell>
6570 </row>
6571 <row>
6572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6573 \begin_inset Text
6574
6575 \begin_layout Plain Layout
6576 1
6577 \end_layout
6578
6579 \end_inset
6580 </cell>
6581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6582 \begin_inset Text
6583
6584 \begin_layout Plain Layout
6585 2
6586 \end_layout
6587
6588 \end_inset
6589 </cell>
6590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6591 \begin_inset Text
6592
6593 \begin_layout Plain Layout
6594 3
6595 \end_layout
6596
6597 \end_inset
6598 </cell>
6599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6600 \begin_inset Text
6601
6602 \begin_layout Plain Layout
6603 4
6604 \end_layout
6605
6606 \end_inset
6607 </cell>
6608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6609 \begin_inset Text
6610
6611 \begin_layout Plain Layout
6612 5
6613 \end_layout
6614
6615 \end_inset
6616 </cell>
6617 </row>
6618 <row>
6619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Plain Layout
6623 asd
6624 \end_layout
6625
6626 \end_inset
6627 </cell>
6628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6629 \begin_inset Text
6630
6631 \begin_layout Plain Layout
6632 s
6633 \end_layout
6634
6635 \end_inset
6636 </cell>
6637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6638 \begin_inset Text
6639
6640 \begin_layout Plain Layout
6641 s
6642 \end_layout
6643
6644 \end_inset
6645 </cell>
6646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6647 \begin_inset Text
6648
6649 \begin_layout Plain Layout
6650 s
6651 \end_layout
6652
6653 \end_inset
6654 </cell>
6655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6656 \begin_inset Text
6657
6658 \begin_layout Plain Layout
6659 asd
6660 \end_layout
6661
6662 \end_inset
6663 </cell>
6664 </row>
6665 <row>
6666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6667 \begin_inset Text
6668
6669 \begin_layout Plain Layout
6670 asd
6671 \end_layout
6672
6673 \end_inset
6674 </cell>
6675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6676 \begin_inset Text
6677
6678 \begin_layout Plain Layout
6679 s
6680 \end_layout
6681
6682 \end_inset
6683 </cell>
6684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6685 \begin_inset Text
6686
6687 \begin_layout Plain Layout
6688 s
6689 \end_layout
6690
6691 \end_inset
6692 </cell>
6693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6694 \begin_inset Text
6695
6696 \begin_layout Plain Layout
6697 s
6698 \end_layout
6699
6700 \end_inset
6701 </cell>
6702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6703 \begin_inset Text
6704
6705 \begin_layout Plain Layout
6706 asd
6707 \end_layout
6708
6709 \end_inset
6710 </cell>
6711 </row>
6712 <row>
6713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_inset Text
6715
6716 \begin_layout Plain Layout
6717 asd
6718 \end_layout
6719
6720 \end_inset
6721 </cell>
6722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6723 \begin_inset Text
6724
6725 \begin_layout Plain Layout
6726 s
6727 \end_layout
6728
6729 \end_inset
6730 </cell>
6731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6732 \begin_inset Text
6733
6734 \begin_layout Plain Layout
6735 s
6736 \end_layout
6737
6738 \end_inset
6739 </cell>
6740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6741 \begin_inset Text
6742
6743 \begin_layout Plain Layout
6744 s
6745 \end_layout
6746
6747 \end_inset
6748 </cell>
6749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6750 \begin_inset Text
6751
6752 \begin_layout Plain Layout
6753 asd
6754 \end_layout
6755
6756 \end_inset
6757 </cell>
6758 </row>
6759 <row>
6760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6761 \begin_inset Text
6762
6763 \begin_layout Plain Layout
6764 asd
6765 \end_layout
6766
6767 \end_inset
6768 </cell>
6769 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6770 \begin_inset Text
6771
6772 \begin_layout Plain Layout
6773 sad
6774 \end_layout
6775
6776 \end_inset
6777 </cell>
6778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6779 \begin_inset Text
6780
6781 \begin_layout Plain Layout
6782 asd
6783 \end_layout
6784
6785 \end_inset
6786 </cell>
6787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6788 \begin_inset Text
6789
6790 \begin_layout Plain Layout
6791 asd
6792 \end_layout
6793
6794 \end_inset
6795 </cell>
6796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6797 \begin_inset Text
6798
6799 \begin_layout Plain Layout
6800 asd
6801 \end_layout
6802
6803 \end_inset
6804 </cell>
6805 </row>
6806 </lyxtabular>
6807
6808 \end_inset
6809
6810
6811 \end_layout
6812
6813 \begin_layout Standard
6814 To reference a longtable, insert a label into the caption.
6815 \end_layout
6816
6817 \begin_layout Standard
6818 This is a reference to Table
6819 \begin_inset space ~
6820 \end_inset
6821
6822
6823 \begin_inset CommandInset ref
6824 LatexCommand ref
6825 reference "tab:RefExample"
6826
6827 \end_inset
6828
6829 .
6830 \end_layout
6831
6832 \begin_layout Standard
6833 The caption layout can be set together with all other captions of your document
6834  using the LaTeX-package 
6835 \series bold
6836 caption
6837 \series default
6838
6839 \begin_inset Index idx
6840 status collapsed
6841
6842 \begin_layout Plain Layout
6843 LaTeX-packages ! caption
6844 \end_layout
6845
6846 \end_inset
6847
6848 , see section
6849 \begin_inset space ~
6850 \end_inset
6851
6852
6853 \begin_inset CommandInset ref
6854 LatexCommand ref
6855 reference "sec:Caption-Formatting"
6856
6857 \end_inset
6858
6859 .
6860 \end_layout
6861
6862 \begin_layout Subsubsection
6863 Caption Width
6864 \begin_inset Index idx
6865 status collapsed
6866
6867 \begin_layout Plain Layout
6868 Longtables ! Caption Width
6869 \end_layout
6870
6871 \end_inset
6872
6873
6874 \end_layout
6875
6876 \begin_layout Standard
6877 The maximal width of of caption lines is defined by the length 
6878 \series bold
6879
6880 \backslash
6881 LTcapwidth
6882 \series default
6883 .
6884  Its default value is 4
6885 \begin_inset space \thinspace{}
6886 \end_inset
6887
6888 in.
6889  To change it add the following command to your document preamble or as
6890  TeX-Code into your document before the longtable that should be affected
6891 \end_layout
6892
6893 \begin_layout Standard
6894
6895 \series bold
6896
6897 \backslash
6898 setlength{
6899 \backslash
6900 LTcapwidth}{width}
6901 \end_layout
6902
6903 \begin_layout Standard
6904 where the width could have one of the units listed in appendix
6905 \begin_inset space ~
6906 \end_inset
6907
6908
6909 \begin_inset CommandInset ref
6910 LatexCommand ref
6911 reference "cha:Units-available-in"
6912
6913 \end_inset
6914
6915 .
6916 \end_layout
6917
6918 \begin_layout Standard
6919 The following tables show the difference:
6920 \end_layout
6921
6922 \begin_layout Standard
6923 \begin_inset Tabular
6924 <lyxtabular version="3" rows="6" columns="5">
6925 <features islongtable="true" longtabularalignment="center">
6926 <column alignment="center" valignment="top" width="0">
6927 <column alignment="center" valignment="top" width="0">
6928 <column alignment="center" valignment="top" width="0">
6929 <column alignment="center" valignment="top" width="0">
6930 <column alignment="center" valignment="top" width="0">
6931 <row caption="true">
6932 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6933 \begin_inset Text
6934
6935 \begin_layout Plain Layout
6936 \begin_inset Caption
6937
6938 \begin_layout Plain Layout
6939 long full title with default width long full title with default width long
6940  full title with default width
6941 \begin_inset Argument
6942 status collapsed
6943
6944 \begin_layout Plain Layout
6945 caption with default width
6946 \end_layout
6947
6948 \end_inset
6949
6950
6951 \end_layout
6952
6953 \end_inset
6954
6955
6956 \end_layout
6957
6958 \end_inset
6959 </cell>
6960 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6961 \begin_inset Text
6962
6963 \begin_layout Plain Layout
6964
6965 \end_layout
6966
6967 \end_inset
6968 </cell>
6969 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6970 \begin_inset Text
6971
6972 \begin_layout Plain Layout
6973
6974 \end_layout
6975
6976 \end_inset
6977 </cell>
6978 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6979 \begin_inset Text
6980
6981 \begin_layout Plain Layout
6982
6983 \end_layout
6984
6985 \end_inset
6986 </cell>
6987 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6988 \begin_inset Text
6989
6990 \begin_layout Plain Layout
6991
6992 \end_layout
6993
6994 \end_inset
6995 </cell>
6996 </row>
6997 <row>
6998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6999 \begin_inset Text
7000
7001 \begin_layout Plain Layout
7002 1
7003 \end_layout
7004
7005 \end_inset
7006 </cell>
7007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7008 \begin_inset Text
7009
7010 \begin_layout Plain Layout
7011 2
7012 \end_layout
7013
7014 \end_inset
7015 </cell>
7016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7017 \begin_inset Text
7018
7019 \begin_layout Plain Layout
7020 3
7021 \end_layout
7022
7023 \end_inset
7024 </cell>
7025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7026 \begin_inset Text
7027
7028 \begin_layout Plain Layout
7029 4
7030 \end_layout
7031
7032 \end_inset
7033 </cell>
7034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7035 \begin_inset Text
7036
7037 \begin_layout Plain Layout
7038 5
7039 \end_layout
7040
7041 \end_inset
7042 </cell>
7043 </row>
7044 <row>
7045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7046 \begin_inset Text
7047
7048 \begin_layout Plain Layout
7049 asd
7050 \end_layout
7051
7052 \end_inset
7053 </cell>
7054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Plain Layout
7058 s
7059 \end_layout
7060
7061 \end_inset
7062 </cell>
7063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7064 \begin_inset Text
7065
7066 \begin_layout Plain Layout
7067 s
7068 \end_layout
7069
7070 \end_inset
7071 </cell>
7072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7073 \begin_inset Text
7074
7075 \begin_layout Plain Layout
7076 s
7077 \end_layout
7078
7079 \end_inset
7080 </cell>
7081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7082 \begin_inset Text
7083
7084 \begin_layout Plain Layout
7085 asd
7086 \end_layout
7087
7088 \end_inset
7089 </cell>
7090 </row>
7091 <row>
7092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7093 \begin_inset Text
7094
7095 \begin_layout Plain Layout
7096 asd
7097 \end_layout
7098
7099 \end_inset
7100 </cell>
7101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7102 \begin_inset Text
7103
7104 \begin_layout Plain Layout
7105 s
7106 \end_layout
7107
7108 \end_inset
7109 </cell>
7110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7111 \begin_inset Text
7112
7113 \begin_layout Plain Layout
7114 s
7115 \end_layout
7116
7117 \end_inset
7118 </cell>
7119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7120 \begin_inset Text
7121
7122 \begin_layout Plain Layout
7123 s
7124 \end_layout
7125
7126 \end_inset
7127 </cell>
7128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7129 \begin_inset Text
7130
7131 \begin_layout Plain Layout
7132 asd
7133 \end_layout
7134
7135 \end_inset
7136 </cell>
7137 </row>
7138 <row>
7139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7140 \begin_inset Text
7141
7142 \begin_layout Plain Layout
7143 asd
7144 \end_layout
7145
7146 \end_inset
7147 </cell>
7148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7149 \begin_inset Text
7150
7151 \begin_layout Plain Layout
7152 s
7153 \end_layout
7154
7155 \end_inset
7156 </cell>
7157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7158 \begin_inset Text
7159
7160 \begin_layout Plain Layout
7161 s
7162 \end_layout
7163
7164 \end_inset
7165 </cell>
7166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7167 \begin_inset Text
7168
7169 \begin_layout Plain Layout
7170 s
7171 \end_layout
7172
7173 \end_inset
7174 </cell>
7175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7176 \begin_inset Text
7177
7178 \begin_layout Plain Layout
7179 asd
7180 \end_layout
7181
7182 \end_inset
7183 </cell>
7184 </row>
7185 <row>
7186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7187 \begin_inset Text
7188
7189 \begin_layout Plain Layout
7190 asd
7191 \end_layout
7192
7193 \end_inset
7194 </cell>
7195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7196 \begin_inset Text
7197
7198 \begin_layout Plain Layout
7199 sad
7200 \end_layout
7201
7202 \end_inset
7203 </cell>
7204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7205 \begin_inset Text
7206
7207 \begin_layout Plain Layout
7208 asd
7209 \end_layout
7210
7211 \end_inset
7212 </cell>
7213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7214 \begin_inset Text
7215
7216 \begin_layout Plain Layout
7217 asd
7218 \end_layout
7219
7220 \end_inset
7221 </cell>
7222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7223 \begin_inset Text
7224
7225 \begin_layout Plain Layout
7226 asd
7227 \end_layout
7228
7229 \end_inset
7230 </cell>
7231 </row>
7232 </lyxtabular>
7233
7234 \end_inset
7235
7236
7237 \end_layout
7238
7239 \begin_layout Standard
7240 \begin_inset ERT
7241 status collapsed
7242
7243 \begin_layout Plain Layout
7244
7245
7246 \backslash
7247 setlength{
7248 \backslash
7249 LTcapwidth}{5cm}
7250 \end_layout
7251
7252 \end_inset
7253
7254
7255 \begin_inset Tabular
7256 <lyxtabular version="3" rows="6" columns="5">
7257 <features islongtable="true" longtabularalignment="center">
7258 <column alignment="center" valignment="top" width="0">
7259 <column alignment="center" valignment="top" width="0">
7260 <column alignment="center" valignment="top" width="0">
7261 <column alignment="center" valignment="top" width="0">
7262 <column alignment="center" valignment="top" width="0">
7263 <row caption="true">
7264 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7265 \begin_inset Text
7266
7267 \begin_layout Plain Layout
7268 \begin_inset Caption
7269
7270 \begin_layout Plain Layout
7271 long full title with width set to 5
7272 \begin_inset space \thinspace{}
7273 \end_inset
7274
7275 cm long full title with width set to 5
7276 \begin_inset space \thinspace{}
7277 \end_inset
7278
7279 cm long full title with width set to 5
7280 \begin_inset space \thinspace{}
7281 \end_inset
7282
7283 cm
7284 \begin_inset Argument
7285 status collapsed
7286
7287 \begin_layout Plain Layout
7288 caption with width
7289 \begin_inset space \thinspace{}
7290 \end_inset
7291
7292 =
7293 \begin_inset space \thinspace{}
7294 \end_inset
7295
7296 5
7297 \begin_inset space \thinspace{}
7298 \end_inset
7299
7300 cm
7301 \end_layout
7302
7303 \end_inset
7304
7305
7306 \end_layout
7307
7308 \end_inset
7309
7310
7311 \end_layout
7312
7313 \end_inset
7314 </cell>
7315 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7316 \begin_inset Text
7317
7318 \begin_layout Plain Layout
7319
7320 \end_layout
7321
7322 \end_inset
7323 </cell>
7324 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7325 \begin_inset Text
7326
7327 \begin_layout Plain Layout
7328
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Plain Layout
7337
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7343 \begin_inset Text
7344
7345 \begin_layout Plain Layout
7346
7347 \end_layout
7348
7349 \end_inset
7350 </cell>
7351 </row>
7352 <row>
7353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7354 \begin_inset Text
7355
7356 \begin_layout Plain Layout
7357 1
7358 \end_layout
7359
7360 \end_inset
7361 </cell>
7362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7363 \begin_inset Text
7364
7365 \begin_layout Plain Layout
7366 2
7367 \end_layout
7368
7369 \end_inset
7370 </cell>
7371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7372 \begin_inset Text
7373
7374 \begin_layout Plain Layout
7375 3
7376 \end_layout
7377
7378 \end_inset
7379 </cell>
7380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7381 \begin_inset Text
7382
7383 \begin_layout Plain Layout
7384 4
7385 \end_layout
7386
7387 \end_inset
7388 </cell>
7389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7390 \begin_inset Text
7391
7392 \begin_layout Plain Layout
7393 5
7394 \end_layout
7395
7396 \end_inset
7397 </cell>
7398 </row>
7399 <row>
7400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7401 \begin_inset Text
7402
7403 \begin_layout Plain Layout
7404 asd
7405 \end_layout
7406
7407 \end_inset
7408 </cell>
7409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7410 \begin_inset Text
7411
7412 \begin_layout Plain Layout
7413 s
7414 \end_layout
7415
7416 \end_inset
7417 </cell>
7418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7419 \begin_inset Text
7420
7421 \begin_layout Plain Layout
7422 s
7423 \end_layout
7424
7425 \end_inset
7426 </cell>
7427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7428 \begin_inset Text
7429
7430 \begin_layout Plain Layout
7431 s
7432 \end_layout
7433
7434 \end_inset
7435 </cell>
7436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7437 \begin_inset Text
7438
7439 \begin_layout Plain Layout
7440 asd
7441 \end_layout
7442
7443 \end_inset
7444 </cell>
7445 </row>
7446 <row>
7447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7448 \begin_inset Text
7449
7450 \begin_layout Plain Layout
7451 asd
7452 \end_layout
7453
7454 \end_inset
7455 </cell>
7456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7457 \begin_inset Text
7458
7459 \begin_layout Plain Layout
7460 s
7461 \end_layout
7462
7463 \end_inset
7464 </cell>
7465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7466 \begin_inset Text
7467
7468 \begin_layout Plain Layout
7469 s
7470 \end_layout
7471
7472 \end_inset
7473 </cell>
7474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7475 \begin_inset Text
7476
7477 \begin_layout Plain Layout
7478 s
7479 \end_layout
7480
7481 \end_inset
7482 </cell>
7483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7484 \begin_inset Text
7485
7486 \begin_layout Plain Layout
7487 asd
7488 \end_layout
7489
7490 \end_inset
7491 </cell>
7492 </row>
7493 <row>
7494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7495 \begin_inset Text
7496
7497 \begin_layout Plain Layout
7498 asd
7499 \end_layout
7500
7501 \end_inset
7502 </cell>
7503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7504 \begin_inset Text
7505
7506 \begin_layout Plain Layout
7507 s
7508 \end_layout
7509
7510 \end_inset
7511 </cell>
7512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7513 \begin_inset Text
7514
7515 \begin_layout Plain Layout
7516 s
7517 \end_layout
7518
7519 \end_inset
7520 </cell>
7521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7522 \begin_inset Text
7523
7524 \begin_layout Plain Layout
7525 s
7526 \end_layout
7527
7528 \end_inset
7529 </cell>
7530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7531 \begin_inset Text
7532
7533 \begin_layout Plain Layout
7534 asd
7535 \end_layout
7536
7537 \end_inset
7538 </cell>
7539 </row>
7540 <row>
7541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7542 \begin_inset Text
7543
7544 \begin_layout Plain Layout
7545 asd
7546 \end_layout
7547
7548 \end_inset
7549 </cell>
7550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7551 \begin_inset Text
7552
7553 \begin_layout Plain Layout
7554 sad
7555 \end_layout
7556
7557 \end_inset
7558 </cell>
7559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7560 \begin_inset Text
7561
7562 \begin_layout Plain Layout
7563 asd
7564 \end_layout
7565
7566 \end_inset
7567 </cell>
7568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7569 \begin_inset Text
7570
7571 \begin_layout Plain Layout
7572 asd
7573 \end_layout
7574
7575 \end_inset
7576 </cell>
7577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7578 \begin_inset Text
7579
7580 \begin_layout Plain Layout
7581 asd
7582 \end_layout
7583
7584 \end_inset
7585 </cell>
7586 </row>
7587 </lyxtabular>
7588
7589 \end_inset
7590
7591
7592 \end_layout
7593
7594 \begin_layout Standard
7595 \begin_inset ERT
7596 status collapsed
7597
7598 \begin_layout Plain Layout
7599
7600
7601 \backslash
7602 setlength{
7603 \backslash
7604 LTcapwidth}{4in}
7605 \end_layout
7606
7607 \end_inset
7608
7609
7610 \end_layout
7611
7612 \begin_layout Standard
7613 \begin_inset Note Greyedout
7614 status open
7615
7616 \begin_layout Plain Layout
7617
7618 \series bold
7619 Note:
7620 \series default
7621  When the LaTeX-package 
7622 \series bold
7623 caption
7624 \series default
7625
7626 \begin_inset Index idx
7627 status collapsed
7628
7629 \begin_layout Plain Layout
7630 LaTeX-packages ! caption
7631 \end_layout
7632
7633 \end_inset
7634
7635  is used, as in this document, the full page width is used for the caption
7636  when you use the default value of 4
7637 \begin_inset space \thinspace{}
7638 \end_inset
7639
7640 in for 
7641 \series bold
7642
7643 \backslash
7644 LTcapwidth
7645 \series default
7646 .
7647  To get in this case exactly a 4
7648 \begin_inset space \thinspace{}
7649 \end_inset
7650
7651 in wide caption, you can either use a value slightly different from 4.0
7652 \begin_inset space \thinspace{}
7653 \end_inset
7654
7655 in, e.
7656 \begin_inset space \thinspace{}
7657 \end_inset
7658
7659 g.
7660 \begin_inset space \space{}
7661 \end_inset
7662
7663 3.99
7664 \begin_inset space \thinspace{}
7665 \end_inset
7666
7667 in, or the LaTeX-command 
7668 \series bold
7669
7670 \backslash
7671 captionsetup{width=value}
7672 \series default
7673  that is provided by the 
7674 \series bold
7675 caption
7676 \series default
7677 -package.
7678 \end_layout
7679
7680 \end_inset
7681
7682
7683 \end_layout
7684
7685 \begin_layout Subsubsection
7686 Different Captions for Table Pages
7687 \begin_inset Index idx
7688 status collapsed
7689
7690 \begin_layout Plain Layout
7691 Longtables ! Different Captions for Pages
7692 \end_layout
7693
7694 \end_inset
7695
7696
7697 \end_layout
7698
7699 \begin_layout Standard
7700 When the table captions for the following pages should differ from the one
7701  of the first table page, insert a caption with the TeX code command
7702 \end_layout
7703
7704 \begin_layout Standard
7705
7706 \series bold
7707
7708 \backslash
7709 caption*{caption text}
7710 \backslash
7711
7712 \backslash
7713 %
7714 \end_layout
7715
7716 \begin_layout Standard
7717 in a dummy caption row that is marked as a header.
7718  Table
7719 \begin_inset space ~
7720 \end_inset
7721
7722
7723 \begin_inset CommandInset ref
7724 LatexCommand ref
7725 reference "tab:DiffCaptions"
7726
7727 \end_inset
7728
7729  is an example of a longtable with different heading where the second caption
7730  doesn't include the table number.
7731 \end_layout
7732
7733 \begin_layout Standard
7734 \align center
7735 \begin_inset Tabular
7736 <lyxtabular version="3" rows="59" columns="3">
7737 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7738 <column alignment="left" valignment="top" width="0cm">
7739 <column alignment="left" valignment="top" width="0pt">
7740 <column alignment="center" valignment="top" width="0pt">
7741 <row caption="true">
7742 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7743 \begin_inset Text
7744
7745 \begin_layout Plain Layout
7746 \begin_inset Caption
7747
7748 \begin_layout Plain Layout
7749 Example Phone List
7750 \begin_inset CommandInset label
7751 LatexCommand label
7752 name "tab:DiffCaptions"
7753
7754 \end_inset
7755
7756
7757 \begin_inset Argument
7758 status collapsed
7759
7760 \begin_layout Plain Layout
7761 Example Phone List
7762 \end_layout
7763
7764 \end_inset
7765
7766
7767 \end_layout
7768
7769 \end_inset
7770
7771
7772 \end_layout
7773
7774 \end_inset
7775 </cell>
7776 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7777 \begin_inset Text
7778
7779 \begin_layout Plain Layout
7780
7781 \end_layout
7782
7783 \end_inset
7784 </cell>
7785 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7786 \begin_inset Text
7787
7788 \begin_layout Plain Layout
7789
7790 \end_layout
7791
7792 \end_inset
7793 </cell>
7794 </row>
7795 <row endfirsthead="true">
7796 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7797 \begin_inset Text
7798
7799 \begin_layout Plain Layout
7800
7801 \series bold
7802 Example Phone List (ignore the names)
7803 \end_layout
7804
7805 \end_inset
7806 </cell>
7807 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7808 \begin_inset Text
7809
7810 \begin_layout Plain Layout
7811
7812 \end_layout
7813
7814 \end_inset
7815 </cell>
7816 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7817 \begin_inset Text
7818
7819 \begin_layout Plain Layout
7820
7821 \end_layout
7822
7823 \end_inset
7824 </cell>
7825 </row>
7826 <row endfirsthead="true">
7827 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7828 \begin_inset Text
7829
7830 \begin_layout Plain Layout
7831
7832 \series bold
7833 NAME
7834 \end_layout
7835
7836 \end_inset
7837 </cell>
7838 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7839 \begin_inset Text
7840
7841 \begin_layout Plain Layout
7842
7843 \end_layout
7844
7845 \end_inset
7846 </cell>
7847 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7848 \begin_inset Text
7849
7850 \begin_layout Plain Layout
7851
7852 \series bold
7853 TEL.
7854 \end_layout
7855
7856 \end_inset
7857 </cell>
7858 </row>
7859 <row endhead="true">
7860 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7861 \begin_inset Text
7862
7863 \begin_layout Plain Layout
7864 \begin_inset ERT
7865 status open
7866
7867 \begin_layout Plain Layout
7868
7869
7870 \backslash
7871 caption*{Continued Example Phone List}
7872 \backslash
7873
7874 \backslash
7875 %
7876 \end_layout
7877
7878 \end_inset
7879
7880
7881 \end_layout
7882
7883 \end_inset
7884 </cell>
7885 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7886 \begin_inset Text
7887
7888 \begin_layout Plain Layout
7889
7890 \end_layout
7891
7892 \end_inset
7893 </cell>
7894 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7895 \begin_inset Text
7896
7897 \begin_layout Plain Layout
7898
7899 \end_layout
7900
7901 \end_inset
7902 </cell>
7903 </row>
7904 <row endhead="true">
7905 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7906 \begin_inset Text
7907
7908 \begin_layout Plain Layout
7909
7910 \series bold
7911 Example Phone List
7912 \end_layout
7913
7914 \end_inset
7915 </cell>
7916 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7917 \begin_inset Text
7918
7919 \begin_layout Plain Layout
7920
7921 \end_layout
7922
7923 \end_inset
7924 </cell>
7925 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7926 \begin_inset Text
7927
7928 \begin_layout Plain Layout
7929
7930 \end_layout
7931
7932 \end_inset
7933 </cell>
7934 </row>
7935 <row endhead="true">
7936 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7937 \begin_inset Text
7938
7939 \begin_layout Plain Layout
7940
7941 \series bold
7942 NAME
7943 \end_layout
7944
7945 \end_inset
7946 </cell>
7947 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7948 \begin_inset Text
7949
7950 \begin_layout Plain Layout
7951
7952 \end_layout
7953
7954 \end_inset
7955 </cell>
7956 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7957 \begin_inset Text
7958
7959 \begin_layout Plain Layout
7960
7961 \series bold
7962 TEL.
7963 \end_layout
7964
7965 \end_inset
7966 </cell>
7967 </row>
7968 <row endfoot="true">
7969 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7970 \begin_inset Text
7971
7972 \begin_layout Plain Layout
7973 continued on next page
7974 \end_layout
7975
7976 \end_inset
7977 </cell>
7978 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7979 \begin_inset Text
7980
7981 \begin_layout Plain Layout
7982
7983 \end_layout
7984
7985 \end_inset
7986 </cell>
7987 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7988 \begin_inset Text
7989
7990 \begin_layout Plain Layout
7991
7992 \end_layout
7993
7994 \end_inset
7995 </cell>
7996 </row>
7997 <row>
7998 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7999 \begin_inset Text
8000
8001 \begin_layout Plain Layout
8002
8003 \series bold
8004 Annovi
8005 \end_layout
8006
8007 \end_inset
8008 </cell>
8009 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8010 \begin_inset Text
8011
8012 \begin_layout Plain Layout
8013 Silvia
8014 \end_layout
8015
8016 \end_inset
8017 </cell>
8018 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
8019 \begin_inset Text
8020
8021 \begin_layout Plain Layout
8022 111
8023 \end_layout
8024
8025 \end_inset
8026 </cell>
8027 </row>
8028 <row>
8029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8030 \begin_inset Text
8031
8032 \begin_layout Plain Layout
8033
8034 \series bold
8035 Bertoli
8036 \end_layout
8037
8038 \end_inset
8039 </cell>
8040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8041 \begin_inset Text
8042
8043 \begin_layout Plain Layout
8044 Stefano
8045 \end_layout
8046
8047 \end_inset
8048 </cell>
8049 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8050 \begin_inset Text
8051
8052 \begin_layout Plain Layout
8053 111
8054 \end_layout
8055
8056 \end_inset
8057 </cell>
8058 </row>
8059 <row>
8060 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8061 \begin_inset Text
8062
8063 \begin_layout Plain Layout
8064
8065 \series bold
8066 Bozzi
8067 \end_layout
8068
8069 \end_inset
8070 </cell>
8071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8072 \begin_inset Text
8073
8074 \begin_layout Plain Layout
8075 Walter
8076 \end_layout
8077
8078 \end_inset
8079 </cell>
8080 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8081 \begin_inset Text
8082
8083 \begin_layout Plain Layout
8084 111
8085 \end_layout
8086
8087 \end_inset
8088 </cell>
8089 </row>
8090 <row>
8091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8092 \begin_inset Text
8093
8094 \begin_layout Plain Layout
8095
8096 \series bold
8097 Cachia
8098 \end_layout
8099
8100 \end_inset
8101 </cell>
8102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8103 \begin_inset Text
8104
8105 \begin_layout Plain Layout
8106 Maria
8107 \end_layout
8108
8109 \end_inset
8110 </cell>
8111 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8112 \begin_inset Text
8113
8114 \begin_layout Plain Layout
8115 111
8116 \end_layout
8117
8118 \end_inset
8119 </cell>
8120 </row>
8121 <row>
8122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8123 \begin_inset Text
8124
8125 \begin_layout Plain Layout
8126
8127 \series bold
8128 Cachia
8129 \end_layout
8130
8131 \end_inset
8132 </cell>
8133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8134 \begin_inset Text
8135
8136 \begin_layout Plain Layout
8137 Maurizio
8138 \end_layout
8139
8140 \end_inset
8141 </cell>
8142 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8143 \begin_inset Text
8144
8145 \begin_layout Plain Layout
8146 111
8147 \end_layout
8148
8149 \end_inset
8150 </cell>
8151 </row>
8152 <row>
8153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8154 \begin_inset Text
8155
8156 \begin_layout Plain Layout
8157
8158 \series bold
8159 Cinquemani
8160 \end_layout
8161
8162 \end_inset
8163 </cell>
8164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8165 \begin_inset Text
8166
8167 \begin_layout Plain Layout
8168 Giusi
8169 \end_layout
8170
8171 \end_inset
8172 </cell>
8173 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8174 \begin_inset Text
8175
8176 \begin_layout Plain Layout
8177 111
8178 \end_layout
8179
8180 \end_inset
8181 </cell>
8182 </row>
8183 <row>
8184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8185 \begin_inset Text
8186
8187 \begin_layout Plain Layout
8188
8189 \series bold
8190 Colin
8191 \end_layout
8192
8193 \end_inset
8194 </cell>
8195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8196 \begin_inset Text
8197
8198 \begin_layout Plain Layout
8199 Bernard
8200 \end_layout
8201
8202 \end_inset
8203 </cell>
8204 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8205 \begin_inset Text
8206
8207 \begin_layout Plain Layout
8208 111
8209 \end_layout
8210
8211 \end_inset
8212 </cell>
8213 </row>
8214 <row>
8215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8216 \begin_inset Text
8217
8218 \begin_layout Plain Layout
8219
8220 \series bold
8221 Concli
8222 \end_layout
8223
8224 \end_inset
8225 </cell>
8226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8227 \begin_inset Text
8228
8229 \begin_layout Plain Layout
8230 Gianfranco
8231 \end_layout
8232
8233 \end_inset
8234 </cell>
8235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8236 \begin_inset Text
8237
8238 \begin_layout Plain Layout
8239 111
8240 \end_layout
8241
8242 \end_inset
8243 </cell>
8244 </row>
8245 <row>
8246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8247 \begin_inset Text
8248
8249 \begin_layout Plain Layout
8250
8251 \series bold
8252 Dal Bosco
8253 \end_layout
8254
8255 \end_inset
8256 </cell>
8257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8258 \begin_inset Text
8259
8260 \begin_layout Plain Layout
8261 Carolina
8262 \end_layout
8263
8264 \end_inset
8265 </cell>
8266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8267 \begin_inset Text
8268
8269 \begin_layout Plain Layout
8270 111
8271 \end_layout
8272
8273 \end_inset
8274 </cell>
8275 </row>
8276 <row>
8277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8278 \begin_inset Text
8279
8280 \begin_layout Plain Layout
8281
8282 \series bold
8283 Dalpiaz
8284 \end_layout
8285
8286 \end_inset
8287 </cell>
8288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8289 \begin_inset Text
8290
8291 \begin_layout Plain Layout
8292 Annamaria
8293 \end_layout
8294
8295 \end_inset
8296 </cell>
8297 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8298 \begin_inset Text
8299
8300 \begin_layout Plain Layout
8301 111
8302 \end_layout
8303
8304 \end_inset
8305 </cell>
8306 </row>
8307 <row>
8308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8309 \begin_inset Text
8310
8311 \begin_layout Plain Layout
8312
8313 \series bold
8314 Feliciello
8315 \end_layout
8316
8317 \end_inset
8318 </cell>
8319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8320 \begin_inset Text
8321
8322 \begin_layout Plain Layout
8323 Domenico
8324 \end_layout
8325
8326 \end_inset
8327 </cell>
8328 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8329 \begin_inset Text
8330
8331 \begin_layout Plain Layout
8332 111
8333 \end_layout
8334
8335 \end_inset
8336 </cell>
8337 </row>
8338 <row>
8339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8340 \begin_inset Text
8341
8342 \begin_layout Plain Layout
8343
8344 \series bold
8345 Focarelli
8346 \end_layout
8347
8348 \end_inset
8349 </cell>
8350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8351 \begin_inset Text
8352
8353 \begin_layout Plain Layout
8354 Paola
8355 \end_layout
8356
8357 \end_inset
8358 </cell>
8359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8360 \begin_inset Text
8361
8362 \begin_layout Plain Layout
8363 111
8364 \end_layout
8365
8366 \end_inset
8367 </cell>
8368 </row>
8369 <row>
8370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8371 \begin_inset Text
8372
8373 \begin_layout Plain Layout
8374
8375 \series bold
8376 Galletti
8377 \end_layout
8378
8379 \end_inset
8380 </cell>
8381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8382 \begin_inset Text
8383
8384 \begin_layout Plain Layout
8385 Oreste
8386 \end_layout
8387
8388 \end_inset
8389 </cell>
8390 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8391 \begin_inset Text
8392
8393 \begin_layout Plain Layout
8394 111
8395 \end_layout
8396
8397 \end_inset
8398 </cell>
8399 </row>
8400 <row>
8401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8402 \begin_inset Text
8403
8404 \begin_layout Plain Layout
8405
8406 \series bold
8407 Gasparini
8408 \end_layout
8409
8410 \end_inset
8411 </cell>
8412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8413 \begin_inset Text
8414
8415 \begin_layout Plain Layout
8416 Franca
8417 \end_layout
8418
8419 \end_inset
8420 </cell>
8421 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8422 \begin_inset Text
8423
8424 \begin_layout Plain Layout
8425 111
8426 \end_layout
8427
8428 \end_inset
8429 </cell>
8430 </row>
8431 <row>
8432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8433 \begin_inset Text
8434
8435 \begin_layout Plain Layout
8436
8437 \series bold
8438 Rizzardi
8439 \series default
8440
8441 \begin_inset Foot
8442 status open
8443
8444 \begin_layout Plain Layout
8445 Example footnote
8446 \end_layout
8447
8448 \end_inset
8449
8450
8451 \end_layout
8452
8453 \end_inset
8454 </cell>
8455 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8456 \begin_inset Text
8457
8458 \begin_layout Plain Layout
8459 Paola
8460 \end_layout
8461
8462 \end_inset
8463 </cell>
8464 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8465 \begin_inset Text
8466
8467 \begin_layout Plain Layout
8468 111
8469 \end_layout
8470
8471 \end_inset
8472 </cell>
8473 </row>
8474 <row>
8475 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8476 \begin_inset Text
8477
8478 \begin_layout Plain Layout
8479
8480 \series bold
8481 Lassini
8482 \end_layout
8483
8484 \end_inset
8485 </cell>
8486 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8487 \begin_inset Text
8488
8489 \begin_layout Plain Layout
8490 Giancarlo
8491 \end_layout
8492
8493 \end_inset
8494 </cell>
8495 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8496 \begin_inset Text
8497
8498 \begin_layout Plain Layout
8499 111
8500 \end_layout
8501
8502 \end_inset
8503 </cell>
8504 </row>
8505 <row>
8506 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8507 \begin_inset Text
8508
8509 \begin_layout Plain Layout
8510
8511 \series bold
8512 Malfatti
8513 \end_layout
8514
8515 \end_inset
8516 </cell>
8517 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8518 \begin_inset Text
8519
8520 \begin_layout Plain Layout
8521 Luciano
8522 \end_layout
8523
8524 \end_inset
8525 </cell>
8526 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8527 \begin_inset Text
8528
8529 \begin_layout Plain Layout
8530 111
8531 \end_layout
8532
8533 \end_inset
8534 </cell>
8535 </row>
8536 <row>
8537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8538 \begin_inset Text
8539
8540 \begin_layout Plain Layout
8541
8542 \series bold
8543 Malfatti
8544 \end_layout
8545
8546 \end_inset
8547 </cell>
8548 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8549 \begin_inset Text
8550
8551 \begin_layout Plain Layout
8552 Valeriano
8553 \end_layout
8554
8555 \end_inset
8556 </cell>
8557 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8558 \begin_inset Text
8559
8560 \begin_layout Plain Layout
8561 111
8562 \end_layout
8563
8564 \end_inset
8565 </cell>
8566 </row>
8567 <row>
8568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8569 \begin_inset Text
8570
8571 \begin_layout Plain Layout
8572
8573 \series bold
8574 Meneguzzo
8575 \end_layout
8576
8577 \end_inset
8578 </cell>
8579 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8580 \begin_inset Text
8581
8582 \begin_layout Plain Layout
8583 Roberto
8584 \end_layout
8585
8586 \end_inset
8587 </cell>
8588 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8589 \begin_inset Text
8590
8591 \begin_layout Plain Layout
8592 111
8593 \end_layout
8594
8595 \end_inset
8596 </cell>
8597 </row>
8598 <row>
8599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8600 \begin_inset Text
8601
8602 \begin_layout Plain Layout
8603
8604 \series bold
8605 Mezzadra
8606 \end_layout
8607
8608 \end_inset
8609 </cell>
8610 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8611 \begin_inset Text
8612
8613 \begin_layout Plain Layout
8614 Roberto
8615 \end_layout
8616
8617 \end_inset
8618 </cell>
8619 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8620 \begin_inset Text
8621
8622 \begin_layout Plain Layout
8623 111
8624 \end_layout
8625
8626 \end_inset
8627 </cell>
8628 </row>
8629 <row>
8630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8631 \begin_inset Text
8632
8633 \begin_layout Plain Layout
8634
8635 \series bold
8636 Pirpamer
8637 \end_layout
8638
8639 \end_inset
8640 </cell>
8641 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8642 \begin_inset Text
8643
8644 \begin_layout Plain Layout
8645 Erich
8646 \end_layout
8647
8648 \end_inset
8649 </cell>
8650 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8651 \begin_inset Text
8652
8653 \begin_layout Plain Layout
8654 111
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 </row>
8660 <row>
8661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8662 \begin_inset Text
8663
8664 \begin_layout Plain Layout
8665
8666 \series bold
8667 Pochiesa
8668 \end_layout
8669
8670 \end_inset
8671 </cell>
8672 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8673 \begin_inset Text
8674
8675 \begin_layout Plain Layout
8676 Paolo
8677 \end_layout
8678
8679 \end_inset
8680 </cell>
8681 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8682 \begin_inset Text
8683
8684 \begin_layout Plain Layout
8685 111, 222
8686 \end_layout
8687
8688 \end_inset
8689 </cell>
8690 </row>
8691 <row>
8692 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8693 \begin_inset Text
8694
8695 \begin_layout Plain Layout
8696
8697 \series bold
8698 Radina
8699 \end_layout
8700
8701 \end_inset
8702 </cell>
8703 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8704 \begin_inset Text
8705
8706 \begin_layout Plain Layout
8707 Claudio
8708 \end_layout
8709
8710 \end_inset
8711 </cell>
8712 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8713 \begin_inset Text
8714
8715 \begin_layout Plain Layout
8716 111
8717 \end_layout
8718
8719 \end_inset
8720 </cell>
8721 </row>
8722 <row>
8723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8724 \begin_inset Text
8725
8726 \begin_layout Plain Layout
8727
8728 \series bold
8729 Stuffer
8730 \end_layout
8731
8732 \end_inset
8733 </cell>
8734 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8735 \begin_inset Text
8736
8737 \begin_layout Plain Layout
8738 Oskar
8739 \end_layout
8740
8741 \end_inset
8742 </cell>
8743 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8744 \begin_inset Text
8745
8746 \begin_layout Plain Layout
8747 111
8748 \end_layout
8749
8750 \end_inset
8751 </cell>
8752 </row>
8753 <row>
8754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8755 \begin_inset Text
8756
8757 \begin_layout Plain Layout
8758
8759 \series bold
8760 Tacchelli
8761 \end_layout
8762
8763 \end_inset
8764 </cell>
8765 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8766 \begin_inset Text
8767
8768 \begin_layout Plain Layout
8769 Ugo
8770 \end_layout
8771
8772 \end_inset
8773 </cell>
8774 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8775 \begin_inset Text
8776
8777 \begin_layout Plain Layout
8778 111
8779 \end_layout
8780
8781 \end_inset
8782 </cell>
8783 </row>
8784 <row>
8785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8786 \begin_inset Text
8787
8788 \begin_layout Plain Layout
8789
8790 \series bold
8791 Tezzele
8792 \end_layout
8793
8794 \end_inset
8795 </cell>
8796 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8797 \begin_inset Text
8798
8799 \begin_layout Plain Layout
8800 Margit
8801 \end_layout
8802
8803 \end_inset
8804 </cell>
8805 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8806 \begin_inset Text
8807
8808 \begin_layout Plain Layout
8809 111
8810 \end_layout
8811
8812 \end_inset
8813 </cell>
8814 </row>
8815 <row>
8816 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8817 \begin_inset Text
8818
8819 \begin_layout Plain Layout
8820
8821 \series bold
8822 Unterkalmsteiner
8823 \end_layout
8824
8825 \end_inset
8826 </cell>
8827 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8828 \begin_inset Text
8829
8830 \begin_layout Plain Layout
8831 Frieda
8832 \end_layout
8833
8834 \end_inset
8835 </cell>
8836 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8837 \begin_inset Text
8838
8839 \begin_layout Plain Layout
8840 111
8841 \end_layout
8842
8843 \end_inset
8844 </cell>
8845 </row>
8846 <row>
8847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8848 \begin_inset Text
8849
8850 \begin_layout Plain Layout
8851
8852 \series bold
8853 Vieider
8854 \end_layout
8855
8856 \end_inset
8857 </cell>
8858 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8859 \begin_inset Text
8860
8861 \begin_layout Plain Layout
8862 Hilde
8863 \end_layout
8864
8865 \end_inset
8866 </cell>
8867 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8868 \begin_inset Text
8869
8870 \begin_layout Plain Layout
8871 111
8872 \end_layout
8873
8874 \end_inset
8875 </cell>
8876 </row>
8877 <row>
8878 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8879 \begin_inset Text
8880
8881 \begin_layout Plain Layout
8882
8883 \series bold
8884 Vigna
8885 \end_layout
8886
8887 \end_inset
8888 </cell>
8889 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8890 \begin_inset Text
8891
8892 \begin_layout Plain Layout
8893 Jürgen
8894 \end_layout
8895
8896 \end_inset
8897 </cell>
8898 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8899 \begin_inset Text
8900
8901 \begin_layout Plain Layout
8902 111
8903 \end_layout
8904
8905 \end_inset
8906 </cell>
8907 </row>
8908 <row>
8909 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8910 \begin_inset Text
8911
8912 \begin_layout Plain Layout
8913
8914 \series bold
8915 Weber
8916 \end_layout
8917
8918 \end_inset
8919 </cell>
8920 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8921 \begin_inset Text
8922
8923 \begin_layout Plain Layout
8924 Maurizio
8925 \end_layout
8926
8927 \end_inset
8928 </cell>
8929 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8930 \begin_inset Text
8931
8932 \begin_layout Plain Layout
8933 111
8934 \end_layout
8935
8936 \end_inset
8937 </cell>
8938 </row>
8939 <row>
8940 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8941 \begin_inset Text
8942
8943 \begin_layout Plain Layout
8944
8945 \series bold
8946 Winkler
8947 \end_layout
8948
8949 \end_inset
8950 </cell>
8951 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8952 \begin_inset Text
8953
8954 \begin_layout Plain Layout
8955 Franz
8956 \end_layout
8957
8958 \end_inset
8959 </cell>
8960 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8961 \begin_inset Text
8962
8963 \begin_layout Plain Layout
8964 111
8965 \end_layout
8966
8967 \end_inset
8968 </cell>
8969 </row>
8970 <row>
8971 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8972 \begin_inset Text
8973
8974 \begin_layout Plain Layout
8975  
8976 \end_layout
8977
8978 \end_inset
8979 </cell>
8980 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8981 \begin_inset Text
8982
8983 \begin_layout Plain Layout
8984
8985 \end_layout
8986
8987 \end_inset
8988 </cell>
8989 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8990 \begin_inset Text
8991
8992 \begin_layout Plain Layout
8993
8994 \end_layout
8995
8996 \end_inset
8997 </cell>
8998 </row>
8999 <row>
9000 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9001 \begin_inset Text
9002
9003 \begin_layout Plain Layout
9004
9005 \series bold
9006 Annovi
9007 \end_layout
9008
9009 \end_inset
9010 </cell>
9011 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9012 \begin_inset Text
9013
9014 \begin_layout Plain Layout
9015 Silvia
9016 \end_layout
9017
9018 \end_inset
9019 </cell>
9020 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9021 \begin_inset Text
9022
9023 \begin_layout Plain Layout
9024 555
9025 \end_layout
9026
9027 \end_inset
9028 </cell>
9029 </row>
9030 <row>
9031 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9032 \begin_inset Text
9033
9034 \begin_layout Plain Layout
9035
9036 \series bold
9037 Bertoli
9038 \end_layout
9039
9040 \end_inset
9041 </cell>
9042 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9043 \begin_inset Text
9044
9045 \begin_layout Plain Layout
9046 Stefano
9047 \end_layout
9048
9049 \end_inset
9050 </cell>
9051 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9052 \begin_inset Text
9053
9054 \begin_layout Plain Layout
9055 555
9056 \end_layout
9057
9058 \end_inset
9059 </cell>
9060 </row>
9061 <row>
9062 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9063 \begin_inset Text
9064
9065 \begin_layout Plain Layout
9066
9067 \series bold
9068 Bozzi
9069 \end_layout
9070
9071 \end_inset
9072 </cell>
9073 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9074 \begin_inset Text
9075
9076 \begin_layout Plain Layout
9077 Walter
9078 \end_layout
9079
9080 \end_inset
9081 </cell>
9082 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9083 \begin_inset Text
9084
9085 \begin_layout Plain Layout
9086 555
9087 \end_layout
9088
9089 \end_inset
9090 </cell>
9091 </row>
9092 <row>
9093 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9094 \begin_inset Text
9095
9096 \begin_layout Plain Layout
9097
9098 \series bold
9099 Cachia
9100 \end_layout
9101
9102 \end_inset
9103 </cell>
9104 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9105 \begin_inset Text
9106
9107 \begin_layout Plain Layout
9108 Maria
9109 \end_layout
9110
9111 \end_inset
9112 </cell>
9113 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9114 \begin_inset Text
9115
9116 \begin_layout Plain Layout
9117 555
9118 \end_layout
9119
9120 \end_inset
9121 </cell>
9122 </row>
9123 <row>
9124 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9125 \begin_inset Text
9126
9127 \begin_layout Plain Layout
9128
9129 \series bold
9130 Cachia
9131 \end_layout
9132
9133 \end_inset
9134 </cell>
9135 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9136 \begin_inset Text
9137
9138 \begin_layout Plain Layout
9139 Maurizio
9140 \end_layout
9141
9142 \end_inset
9143 </cell>
9144 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9145 \begin_inset Text
9146
9147 \begin_layout Plain Layout
9148 555
9149 \end_layout
9150
9151 \end_inset
9152 </cell>
9153 </row>
9154 <row>
9155 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9156 \begin_inset Text
9157
9158 \begin_layout Plain Layout
9159
9160 \series bold
9161 Cinquemani
9162 \end_layout
9163
9164 \end_inset
9165 </cell>
9166 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9167 \begin_inset Text
9168
9169 \begin_layout Plain Layout
9170 Giusi
9171 \end_layout
9172
9173 \end_inset
9174 </cell>
9175 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9176 \begin_inset Text
9177
9178 \begin_layout Plain Layout
9179 555
9180 \end_layout
9181
9182 \end_inset
9183 </cell>
9184 </row>
9185 <row>
9186 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9187 \begin_inset Text
9188
9189 \begin_layout Plain Layout
9190
9191 \series bold
9192 Colin
9193 \end_layout
9194
9195 \end_inset
9196 </cell>
9197 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9198 \begin_inset Text
9199
9200 \begin_layout Plain Layout
9201 Bernard
9202 \end_layout
9203
9204 \end_inset
9205 </cell>
9206 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9207 \begin_inset Text
9208
9209 \begin_layout Plain Layout
9210 555
9211 \end_layout
9212
9213 \end_inset
9214 </cell>
9215 </row>
9216 <row>
9217 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9218 \begin_inset Text
9219
9220 \begin_layout Plain Layout
9221
9222 \series bold
9223 Concli
9224 \end_layout
9225
9226 \end_inset
9227 </cell>
9228 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9229 \begin_inset Text
9230
9231 \begin_layout Plain Layout
9232 Gianfranco
9233 \end_layout
9234
9235 \end_inset
9236 </cell>
9237 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9238 \begin_inset Text
9239
9240 \begin_layout Plain Layout
9241 555
9242 \end_layout
9243
9244 \end_inset
9245 </cell>
9246 </row>
9247 <row>
9248 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9249 \begin_inset Text
9250
9251 \begin_layout Plain Layout
9252
9253 \series bold
9254 Dal Bosco
9255 \end_layout
9256
9257 \end_inset
9258 </cell>
9259 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9260 \begin_inset Text
9261
9262 \begin_layout Plain Layout
9263 Carolina
9264 \end_layout
9265
9266 \end_inset
9267 </cell>
9268 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9269 \begin_inset Text
9270
9271 \begin_layout Plain Layout
9272 555
9273 \end_layout
9274
9275 \end_inset
9276 </cell>
9277 </row>
9278 <row>
9279 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9280 \begin_inset Text
9281
9282 \begin_layout Plain Layout
9283
9284 \series bold
9285 Dalpiaz
9286 \end_layout
9287
9288 \end_inset
9289 </cell>
9290 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9291 \begin_inset Text
9292
9293 \begin_layout Plain Layout
9294 Annamaria
9295 \end_layout
9296
9297 \end_inset
9298 </cell>
9299 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9300 \begin_inset Text
9301
9302 \begin_layout Plain Layout
9303 555
9304 \end_layout
9305
9306 \end_inset
9307 </cell>
9308 </row>
9309 <row>
9310 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9311 \begin_inset Text
9312
9313 \begin_layout Plain Layout
9314
9315 \series bold
9316 Feliciello
9317 \end_layout
9318
9319 \end_inset
9320 </cell>
9321 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9322 \begin_inset Text
9323
9324 \begin_layout Plain Layout
9325 Domenico
9326 \end_layout
9327
9328 \end_inset
9329 </cell>
9330 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9331 \begin_inset Text
9332
9333 \begin_layout Plain Layout
9334 555
9335 \end_layout
9336
9337 \end_inset
9338 </cell>
9339 </row>
9340 <row>
9341 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9342 \begin_inset Text
9343
9344 \begin_layout Plain Layout
9345
9346 \series bold
9347 Focarelli
9348 \end_layout
9349
9350 \end_inset
9351 </cell>
9352 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9353 \begin_inset Text
9354
9355 \begin_layout Plain Layout
9356 Paola
9357 \end_layout
9358
9359 \end_inset
9360 </cell>
9361 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9362 \begin_inset Text
9363
9364 \begin_layout Plain Layout
9365 555
9366 \end_layout
9367
9368 \end_inset
9369 </cell>
9370 </row>
9371 <row>
9372 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9373 \begin_inset Text
9374
9375 \begin_layout Plain Layout
9376
9377 \series bold
9378 Galletti
9379 \end_layout
9380
9381 \end_inset
9382 </cell>
9383 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9384 \begin_inset Text
9385
9386 \begin_layout Plain Layout
9387 Oreste
9388 \end_layout
9389
9390 \end_inset
9391 </cell>
9392 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9393 \begin_inset Text
9394
9395 \begin_layout Plain Layout
9396 555
9397 \end_layout
9398
9399 \end_inset
9400 </cell>
9401 </row>
9402 <row>
9403 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9404 \begin_inset Text
9405
9406 \begin_layout Plain Layout
9407
9408 \series bold
9409 Gasparini
9410 \end_layout
9411
9412 \end_inset
9413 </cell>
9414 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9415 \begin_inset Text
9416
9417 \begin_layout Plain Layout
9418 Franca
9419 \end_layout
9420
9421 \end_inset
9422 </cell>
9423 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9424 \begin_inset Text
9425
9426 \begin_layout Plain Layout
9427 555
9428 \end_layout
9429
9430 \end_inset
9431 </cell>
9432 </row>
9433 <row>
9434 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9435 \begin_inset Text
9436
9437 \begin_layout Plain Layout
9438
9439 \series bold
9440 Rizzardi
9441 \end_layout
9442
9443 \end_inset
9444 </cell>
9445 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9446 \begin_inset Text
9447
9448 \begin_layout Plain Layout
9449 Paola
9450 \end_layout
9451
9452 \end_inset
9453 </cell>
9454 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9455 \begin_inset Text
9456
9457 \begin_layout Plain Layout
9458 555
9459 \end_layout
9460
9461 \end_inset
9462 </cell>
9463 </row>
9464 <row>
9465 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9466 \begin_inset Text
9467
9468 \begin_layout Plain Layout
9469
9470 \series bold
9471 Lassini
9472 \end_layout
9473
9474 \end_inset
9475 </cell>
9476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9477 \begin_inset Text
9478
9479 \begin_layout Plain Layout
9480 Giancarlo
9481 \end_layout
9482
9483 \end_inset
9484 </cell>
9485 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9486 \begin_inset Text
9487
9488 \begin_layout Plain Layout
9489 555
9490 \end_layout
9491
9492 \end_inset
9493 </cell>
9494 </row>
9495 <row>
9496 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9497 \begin_inset Text
9498
9499 \begin_layout Plain Layout
9500
9501 \series bold
9502 Malfatti
9503 \end_layout
9504
9505 \end_inset
9506 </cell>
9507 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9508 \begin_inset Text
9509
9510 \begin_layout Plain Layout
9511 Luciano
9512 \end_layout
9513
9514 \end_inset
9515 </cell>
9516 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9517 \begin_inset Text
9518
9519 \begin_layout Plain Layout
9520 555
9521 \end_layout
9522
9523 \end_inset
9524 </cell>
9525 </row>
9526 <row>
9527 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9528 \begin_inset Text
9529
9530 \begin_layout Plain Layout
9531
9532 \series bold
9533 Malfatti
9534 \end_layout
9535
9536 \end_inset
9537 </cell>
9538 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9539 \begin_inset Text
9540
9541 \begin_layout Plain Layout
9542 Valeriano
9543 \end_layout
9544
9545 \end_inset
9546 </cell>
9547 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9548 \begin_inset Text
9549
9550 \begin_layout Plain Layout
9551 555
9552 \end_layout
9553
9554 \end_inset
9555 </cell>
9556 </row>
9557 <row>
9558 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9559 \begin_inset Text
9560
9561 \begin_layout Plain Layout
9562
9563 \series bold
9564 Meneguzzo
9565 \end_layout
9566
9567 \end_inset
9568 </cell>
9569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9570 \begin_inset Text
9571
9572 \begin_layout Plain Layout
9573 Roberto
9574 \end_layout
9575
9576 \end_inset
9577 </cell>
9578 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9579 \begin_inset Text
9580
9581 \begin_layout Plain Layout
9582 555
9583 \end_layout
9584
9585 \end_inset
9586 </cell>
9587 </row>
9588 <row>
9589 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9590 \begin_inset Text
9591
9592 \begin_layout Plain Layout
9593
9594 \series bold
9595 Mezzadra
9596 \end_layout
9597
9598 \end_inset
9599 </cell>
9600 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9601 \begin_inset Text
9602
9603 \begin_layout Plain Layout
9604 Roberto
9605 \end_layout
9606
9607 \end_inset
9608 </cell>
9609 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9610 \begin_inset Text
9611
9612 \begin_layout Plain Layout
9613 555
9614 \end_layout
9615
9616 \end_inset
9617 </cell>
9618 </row>
9619 </lyxtabular>
9620
9621 \end_inset
9622
9623
9624 \end_layout
9625
9626 \begin_layout Section
9627 Special Longtable Issues
9628 \begin_inset CommandInset label
9629 LatexCommand label
9630 name "sec:Special-Longtable-Issues"
9631
9632 \end_inset
9633
9634
9635 \end_layout
9636
9637 \begin_layout Subsection
9638 Longtable Calculation
9639 \begin_inset Index idx
9640 status collapsed
9641
9642 \begin_layout Plain Layout
9643 Longtables ! Calculation
9644 \end_layout
9645
9646 \end_inset
9647
9648
9649 \end_layout
9650
9651 \begin_layout Standard
9652 LaTeX calculates the height of table pages and their page breaks using so
9653  called chunks.
9654  Chunks are parts of tables that held at the same time in LaTeX's memory.
9655  The default value was historically set to only 20 table rows.
9656  If you are using longtables with many pages this may slow down the creation
9657  of your document.
9658  You can safely increase the chunk size to values of 100-1000 by adding
9659  this command line to your document preamble:
9660 \end_layout
9661
9662 \begin_layout Standard
9663
9664 \series bold
9665
9666 \backslash
9667 setcounter{LTchunksize}{100}
9668 \end_layout
9669
9670 \begin_layout Subsection
9671 Floats and Longtables
9672 \begin_inset Index idx
9673 status collapsed
9674
9675 \begin_layout Plain Layout
9676 Longtables ! Floats
9677 \end_layout
9678
9679 \end_inset
9680
9681
9682 \end_layout
9683
9684 \begin_layout Standard
9685 There might be problems when a float appears on the same page where a longtable
9686  starts.
9687  To avoid such a situation, insert a 
9688 \begin_inset Quotes eld
9689 \end_inset
9690
9691 clear page
9692 \begin_inset Quotes erd
9693 \end_inset
9694
9695  (menu 
9696 \family sans
9697 Insert\SpecialChar \menuseparator
9698 Formatting\SpecialChar \menuseparator
9699 Clear
9700 \begin_inset space ~
9701 \end_inset
9702
9703 Page
9704 \family default
9705 ) before your longtable.
9706 \end_layout
9707
9708 \begin_layout Subsection
9709 Forced Page Breaks
9710 \begin_inset Index idx
9711 status collapsed
9712
9713 \begin_layout Plain Layout
9714 Longtables ! Forced Page Breaks
9715 \end_layout
9716
9717 \end_inset
9718
9719
9720 \end_layout
9721
9722 \begin_layout Standard
9723 By default tables are only broken between rows.
9724  If you have a cell with multiples lines and want to have a page break within
9725  the cell, insert the new line command 
9726 \begin_inset Quotes eld
9727 \end_inset
9728
9729
9730 \series bold
9731
9732 \backslash
9733
9734 \backslash
9735
9736 \series default
9737
9738 \begin_inset Quotes erd
9739 \end_inset
9740
9741  as TeX-Code at the point of the cell where it can be broken.
9742  Before the 
9743 \series bold
9744
9745 \backslash
9746
9747 \backslash
9748
9749 \series default
9750  command you have to insert in TeX-Code as many 
9751 \begin_inset Quotes eld
9752 \end_inset
9753
9754
9755 \series bold
9756 &
9757 \series default
9758
9759 \begin_inset Quotes erd
9760 \end_inset
9761
9762  characters as the number of the following table columns.
9763  The 
9764 \series bold
9765 &
9766 \series default
9767  is the character to separate table cells.
9768  Write in TeX-Code after each 
9769 \series bold
9770 &
9771 \series default
9772  the content of the corresponding following cell and delete the content
9773  of these cells.
9774 \begin_inset Newline newline
9775 \end_inset
9776
9777 After the 
9778 \series bold
9779
9780 \backslash
9781
9782 \backslash
9783
9784 \series default
9785  command, insert as many 
9786 \series bold
9787 &
9788 \series default
9789  characters as the number of table columns before the current column.
9790  In Table
9791 \begin_inset space ~
9792 \end_inset
9793
9794
9795 \begin_inset CommandInset ref
9796 LatexCommand ref
9797 reference "tab:ForcedPagebreak"
9798
9799 \end_inset
9800
9801  the cell that should be broken is in the second column followed by another
9802  column.
9803  Therefore the following command was inserted in the cell as TeX-Code after
9804  
9805 \begin_inset Quotes eld
9806 \end_inset
9807
9808
9809 \emph on
9810 Castelchiodato,
9811 \emph default
9812
9813 \begin_inset Quotes erd
9814 \end_inset
9815
9816 :
9817 \end_layout
9818
9819 \begin_layout Standard
9820
9821 \series bold
9822 & 111
9823 \backslash
9824
9825 \backslash
9826  
9827 \backslash
9828 newpage
9829 \begin_inset Newline newline
9830 \end_inset
9831
9832 &
9833 \end_layout
9834
9835 \begin_layout Standard
9836 The 
9837 \begin_inset Quotes eld
9838 \end_inset
9839
9840 111
9841 \begin_inset Quotes erd
9842 \end_inset
9843
9844  in the third column of the row was deleted.
9845  
9846 \series bold
9847
9848 \backslash
9849 newpage
9850 \series default
9851  is only needed when a page break should definitely occur at this position,
9852  otherwise it would be a conditional break.
9853  If your footer row of the longtable has for a certain reason no upper line
9854  but you would have a horizontal line where the cell is broken, use this
9855  command instead:
9856 \end_layout
9857
9858 \begin_layout Standard
9859
9860 \series bold
9861 & 111
9862 \backslash
9863
9864 \backslash
9865
9866 \begin_inset Newline newline
9867 \end_inset
9868
9869
9870 \backslash
9871 hline &
9872 \end_layout
9873
9874 \begin_layout Standard
9875 When the cell to be broken is in the last column, the command
9876 \end_layout
9877
9878 \begin_layout Standard
9879
9880 \series bold
9881
9882 \backslash
9883 setlength{
9884 \backslash
9885 parfillskip}{0pt}
9886 \end_layout
9887
9888 \begin_layout Standard
9889 must be inserted as TeX-Code at the beginning of the cell.
9890  This ensures that the part of the cell that will be displayed on the new
9891  page appears with the full width.
9892 \end_layout
9893
9894 \begin_layout Standard
9895 \align center
9896 \begin_inset Tabular
9897 <lyxtabular version="3" rows="38" columns="3">
9898 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9899 <column alignment="left" valignment="top" width="0cm">
9900 <column alignment="left" valignment="top" width="3cm">
9901 <column alignment="center" valignment="top" width="0pt">
9902 <row caption="true">
9903 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9904 \begin_inset Text
9905
9906 \begin_layout Plain Layout
9907 \begin_inset Caption
9908
9909 \begin_layout Plain Layout
9910 Table with forced page break in table cell
9911 \begin_inset CommandInset label
9912 LatexCommand label
9913 name "tab:ForcedPagebreak"
9914
9915 \end_inset
9916
9917
9918 \begin_inset Argument
9919 status collapsed
9920
9921 \begin_layout Plain Layout
9922 Table with forced page break in table cell
9923 \end_layout
9924
9925 \end_inset
9926
9927
9928 \end_layout
9929
9930 \end_inset
9931
9932
9933 \end_layout
9934
9935 \end_inset
9936 </cell>
9937 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9938 \begin_inset Text
9939
9940 \begin_layout Plain Layout
9941
9942 \end_layout
9943
9944 \end_inset
9945 </cell>
9946 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9947 \begin_inset Text
9948
9949 \begin_layout Plain Layout
9950
9951 \end_layout
9952
9953 \end_inset
9954 </cell>
9955 </row>
9956 <row endfirsthead="true">
9957 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9958 \begin_inset Text
9959
9960 \begin_layout Plain Layout
9961
9962 \series bold
9963 Example Phone List (ignore the names)
9964 \end_layout
9965
9966 \end_inset
9967 </cell>
9968 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9969 \begin_inset Text
9970
9971 \begin_layout Plain Layout
9972
9973 \end_layout
9974
9975 \end_inset
9976 </cell>
9977 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9978 \begin_inset Text
9979
9980 \begin_layout Plain Layout
9981
9982 \end_layout
9983
9984 \end_inset
9985 </cell>
9986 </row>
9987 <row endfirsthead="true">
9988 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9989 \begin_inset Text
9990
9991 \begin_layout Plain Layout
9992
9993 \series bold
9994 NAME
9995 \end_layout
9996
9997 \end_inset
9998 </cell>
9999 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10000 \begin_inset Text
10001
10002 \begin_layout Plain Layout
10003
10004 \end_layout
10005
10006 \end_inset
10007 </cell>
10008 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10009 \begin_inset Text
10010
10011 \begin_layout Plain Layout
10012
10013 \series bold
10014 TEL.
10015 \end_layout
10016
10017 \end_inset
10018 </cell>
10019 </row>
10020 <row endhead="true">
10021 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10022 \begin_inset Text
10023
10024 \begin_layout Plain Layout
10025 \begin_inset ERT
10026 status collapsed
10027
10028 \begin_layout Plain Layout
10029
10030
10031 \backslash
10032 caption*{Continued Example Phone List}
10033 \backslash
10034
10035 \backslash
10036 %
10037 \end_layout
10038
10039 \end_inset
10040
10041
10042 \end_layout
10043
10044 \end_inset
10045 </cell>
10046 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10047 \begin_inset Text
10048
10049 \begin_layout Plain Layout
10050
10051 \end_layout
10052
10053 \end_inset
10054 </cell>
10055 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10056 \begin_inset Text
10057
10058 \begin_layout Plain Layout
10059
10060 \end_layout
10061
10062 \end_inset
10063 </cell>
10064 </row>
10065 <row endhead="true">
10066 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10067 \begin_inset Text
10068
10069 \begin_layout Plain Layout
10070
10071 \series bold
10072 Example Phone List
10073 \end_layout
10074
10075 \end_inset
10076 </cell>
10077 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10078 \begin_inset Text
10079
10080 \begin_layout Plain Layout
10081
10082 \end_layout
10083
10084 \end_inset
10085 </cell>
10086 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10087 \begin_inset Text
10088
10089 \begin_layout Plain Layout
10090
10091 \end_layout
10092
10093 \end_inset
10094 </cell>
10095 </row>
10096 <row endhead="true">
10097 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10098 \begin_inset Text
10099
10100 \begin_layout Plain Layout
10101
10102 \series bold
10103 NAME
10104 \end_layout
10105
10106 \end_inset
10107 </cell>
10108 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10109 \begin_inset Text
10110
10111 \begin_layout Plain Layout
10112
10113 \end_layout
10114
10115 \end_inset
10116 </cell>
10117 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10118 \begin_inset Text
10119
10120 \begin_layout Plain Layout
10121
10122 \series bold
10123 TEL.
10124 \end_layout
10125
10126 \end_inset
10127 </cell>
10128 </row>
10129 <row endfoot="true">
10130 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10131 \begin_inset Text
10132
10133 \begin_layout Plain Layout
10134 continued on next page
10135 \end_layout
10136
10137 \end_inset
10138 </cell>
10139 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10140 \begin_inset Text
10141
10142 \begin_layout Plain Layout
10143
10144 \end_layout
10145
10146 \end_inset
10147 </cell>
10148 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10149 \begin_inset Text
10150
10151 \begin_layout Plain Layout
10152
10153 \end_layout
10154
10155 \end_inset
10156 </cell>
10157 </row>
10158 <row>
10159 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10160 \begin_inset Text
10161
10162 \begin_layout Plain Layout
10163
10164 \series bold
10165 Annovi
10166 \end_layout
10167
10168 \end_inset
10169 </cell>
10170 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10171 \begin_inset Text
10172
10173 \begin_layout Plain Layout
10174 Silvia
10175 \end_layout
10176
10177 \end_inset
10178 </cell>
10179 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10180 \begin_inset Text
10181
10182 \begin_layout Plain Layout
10183 111
10184 \end_layout
10185
10186 \end_inset
10187 </cell>
10188 </row>
10189 <row>
10190 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10191 \begin_inset Text
10192
10193 \begin_layout Plain Layout
10194
10195 \series bold
10196 Bertoli
10197 \end_layout
10198
10199 \end_inset
10200 </cell>
10201 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10202 \begin_inset Text
10203
10204 \begin_layout Plain Layout
10205 Stefano
10206 \end_layout
10207
10208 \end_inset
10209 </cell>
10210 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10211 \begin_inset Text
10212
10213 \begin_layout Plain Layout
10214 111
10215 \end_layout
10216
10217 \end_inset
10218 </cell>
10219 </row>
10220 <row>
10221 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10222 \begin_inset Text
10223
10224 \begin_layout Plain Layout
10225
10226 \series bold
10227 Bozzi
10228 \end_layout
10229
10230 \end_inset
10231 </cell>
10232 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10233 \begin_inset Text
10234
10235 \begin_layout Plain Layout
10236 Walter
10237 \end_layout
10238
10239 \end_inset
10240 </cell>
10241 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10242 \begin_inset Text
10243
10244 \begin_layout Plain Layout
10245 111
10246 \end_layout
10247
10248 \end_inset
10249 </cell>
10250 </row>
10251 <row>
10252 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10253 \begin_inset Text
10254
10255 \begin_layout Plain Layout
10256
10257 \series bold
10258 Cachia
10259 \end_layout
10260
10261 \end_inset
10262 </cell>
10263 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10264 \begin_inset Text
10265
10266 \begin_layout Plain Layout
10267 Maria
10268 \end_layout
10269
10270 \end_inset
10271 </cell>
10272 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10273 \begin_inset Text
10274
10275 \begin_layout Plain Layout
10276 111
10277 \end_layout
10278
10279 \end_inset
10280 </cell>
10281 </row>
10282 <row>
10283 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10284 \begin_inset Text
10285
10286 \begin_layout Plain Layout
10287
10288 \series bold
10289 Cachia
10290 \end_layout
10291
10292 \end_inset
10293 </cell>
10294 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10295 \begin_inset Text
10296
10297 \begin_layout Plain Layout
10298 Maurizio
10299 \end_layout
10300
10301 \end_inset
10302 </cell>
10303 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10304 \begin_inset Text
10305
10306 \begin_layout Plain Layout
10307 111
10308 \end_layout
10309
10310 \end_inset
10311 </cell>
10312 </row>
10313 <row>
10314 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10315 \begin_inset Text
10316
10317 \begin_layout Plain Layout
10318
10319 \series bold
10320 Cinquemani
10321 \end_layout
10322
10323 \end_inset
10324 </cell>
10325 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10326 \begin_inset Text
10327
10328 \begin_layout Plain Layout
10329 Giusi
10330 \end_layout
10331
10332 \end_inset
10333 </cell>
10334 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10335 \begin_inset Text
10336
10337 \begin_layout Plain Layout
10338 111
10339 \end_layout
10340
10341 \end_inset
10342 </cell>
10343 </row>
10344 <row>
10345 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10346 \begin_inset Text
10347
10348 \begin_layout Plain Layout
10349
10350 \series bold
10351 Colin
10352 \end_layout
10353
10354 \end_inset
10355 </cell>
10356 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10357 \begin_inset Text
10358
10359 \begin_layout Plain Layout
10360 Bernard
10361 \end_layout
10362
10363 \end_inset
10364 </cell>
10365 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10366 \begin_inset Text
10367
10368 \begin_layout Plain Layout
10369 111
10370 \end_layout
10371
10372 \end_inset
10373 </cell>
10374 </row>
10375 <row>
10376 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10377 \begin_inset Text
10378
10379 \begin_layout Plain Layout
10380
10381 \series bold
10382 Concli
10383 \end_layout
10384
10385 \end_inset
10386 </cell>
10387 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10388 \begin_inset Text
10389
10390 \begin_layout Plain Layout
10391 Gianfranco
10392 \end_layout
10393
10394 \end_inset
10395 </cell>
10396 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10397 \begin_inset Text
10398
10399 \begin_layout Plain Layout
10400 111
10401 \end_layout
10402
10403 \end_inset
10404 </cell>
10405 </row>
10406 <row>
10407 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10408 \begin_inset Text
10409
10410 \begin_layout Plain Layout
10411
10412 \series bold
10413 Dal Bosco
10414 \end_layout
10415
10416 \end_inset
10417 </cell>
10418 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10419 \begin_inset Text
10420
10421 \begin_layout Plain Layout
10422 Carolina
10423 \end_layout
10424
10425 \end_inset
10426 </cell>
10427 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10428 \begin_inset Text
10429
10430 \begin_layout Plain Layout
10431 111
10432 \end_layout
10433
10434 \end_inset
10435 </cell>
10436 </row>
10437 <row>
10438 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10439 \begin_inset Text
10440
10441 \begin_layout Plain Layout
10442
10443 \series bold
10444 Dalpiaz
10445 \end_layout
10446
10447 \end_inset
10448 </cell>
10449 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10450 \begin_inset Text
10451
10452 \begin_layout Plain Layout
10453 Annamaria
10454 \end_layout
10455
10456 \end_inset
10457 </cell>
10458 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10459 \begin_inset Text
10460
10461 \begin_layout Plain Layout
10462 111
10463 \end_layout
10464
10465 \end_inset
10466 </cell>
10467 </row>
10468 <row>
10469 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10470 \begin_inset Text
10471
10472 \begin_layout Plain Layout
10473
10474 \series bold
10475 Feliciello
10476 \end_layout
10477
10478 \end_inset
10479 </cell>
10480 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10481 \begin_inset Text
10482
10483 \begin_layout Plain Layout
10484 Domenico
10485 \end_layout
10486
10487 \end_inset
10488 </cell>
10489 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10490 \begin_inset Text
10491
10492 \begin_layout Plain Layout
10493 111
10494 \end_layout
10495
10496 \end_inset
10497 </cell>
10498 </row>
10499 <row>
10500 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10501 \begin_inset Text
10502
10503 \begin_layout Plain Layout
10504
10505 \series bold
10506 Focarelli
10507 \end_layout
10508
10509 \end_inset
10510 </cell>
10511 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10512 \begin_inset Text
10513
10514 \begin_layout Plain Layout
10515 Paola
10516 \end_layout
10517
10518 \end_inset
10519 </cell>
10520 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10521 \begin_inset Text
10522
10523 \begin_layout Plain Layout
10524 111
10525 \end_layout
10526
10527 \end_inset
10528 </cell>
10529 </row>
10530 <row>
10531 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10532 \begin_inset Text
10533
10534 \begin_layout Plain Layout
10535
10536 \series bold
10537 Galletti
10538 \end_layout
10539
10540 \end_inset
10541 </cell>
10542 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10543 \begin_inset Text
10544
10545 \begin_layout Plain Layout
10546 Oreste
10547 \end_layout
10548
10549 \end_inset
10550 </cell>
10551 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10552 \begin_inset Text
10553
10554 \begin_layout Plain Layout
10555 111
10556 \end_layout
10557
10558 \end_inset
10559 </cell>
10560 </row>
10561 <row>
10562 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10563 \begin_inset Text
10564
10565 \begin_layout Plain Layout
10566
10567 \series bold
10568 Gasparini
10569 \end_layout
10570
10571 \end_inset
10572 </cell>
10573 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10574 \begin_inset Text
10575
10576 \begin_layout Plain Layout
10577 Franca
10578 \end_layout
10579
10580 \end_inset
10581 </cell>
10582 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10583 \begin_inset Text
10584
10585 \begin_layout Plain Layout
10586 111
10587 \end_layout
10588
10589 \end_inset
10590 </cell>
10591 </row>
10592 <row>
10593 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10594 \begin_inset Text
10595
10596 \begin_layout Plain Layout
10597
10598 \series bold
10599 Lassini
10600 \end_layout
10601
10602 \end_inset
10603 </cell>
10604 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10605 \begin_inset Text
10606
10607 \begin_layout Plain Layout
10608 Giancarlo
10609 \end_layout
10610
10611 \end_inset
10612 </cell>
10613 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10614 \begin_inset Text
10615
10616 \begin_layout Plain Layout
10617 111
10618 \end_layout
10619
10620 \end_inset
10621 </cell>
10622 </row>
10623 <row>
10624 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10625 \begin_inset Text
10626
10627 \begin_layout Plain Layout
10628
10629 \series bold
10630 Malfatti
10631 \end_layout
10632
10633 \end_inset
10634 </cell>
10635 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10636 \begin_inset Text
10637
10638 \begin_layout Plain Layout
10639 Luciano
10640 \end_layout
10641
10642 \end_inset
10643 </cell>
10644 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10645 \begin_inset Text
10646
10647 \begin_layout Plain Layout
10648 111
10649 \end_layout
10650
10651 \end_inset
10652 </cell>
10653 </row>
10654 <row>
10655 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10656 \begin_inset Text
10657
10658 \begin_layout Plain Layout
10659
10660 \series bold
10661 Malfatti
10662 \end_layout
10663
10664 \end_inset
10665 </cell>
10666 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10667 \begin_inset Text
10668
10669 \begin_layout Plain Layout
10670 Valeriano
10671 \end_layout
10672
10673 \end_inset
10674 </cell>
10675 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10676 \begin_inset Text
10677
10678 \begin_layout Plain Layout
10679 111
10680 \end_layout
10681
10682 \end_inset
10683 </cell>
10684 </row>
10685 <row>
10686 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10687 \begin_inset Text
10688
10689 \begin_layout Plain Layout
10690
10691 \series bold
10692 Meneguzzo
10693 \end_layout
10694
10695 \end_inset
10696 </cell>
10697 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10698 \begin_inset Text
10699
10700 \begin_layout Plain Layout
10701 Roberto
10702 \end_layout
10703
10704 \end_inset
10705 </cell>
10706 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10707 \begin_inset Text
10708
10709 \begin_layout Plain Layout
10710 111
10711 \end_layout
10712
10713 \end_inset
10714 </cell>
10715 </row>
10716 <row>
10717 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10718 \begin_inset Text
10719
10720 \begin_layout Plain Layout
10721
10722 \series bold
10723 Mezzadra
10724 \end_layout
10725
10726 \end_inset
10727 </cell>
10728 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10729 \begin_inset Text
10730
10731 \begin_layout Plain Layout
10732 Roberto
10733 \end_layout
10734
10735 \end_inset
10736 </cell>
10737 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10738 \begin_inset Text
10739
10740 \begin_layout Plain Layout
10741 111
10742 \end_layout
10743
10744 \end_inset
10745 </cell>
10746 </row>
10747 <row>
10748 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10749 \begin_inset Text
10750
10751 \begin_layout Plain Layout
10752
10753 \series bold
10754 Pirpamer
10755 \end_layout
10756
10757 \end_inset
10758 </cell>
10759 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10760 \begin_inset Text
10761
10762 \begin_layout Plain Layout
10763 Erich
10764 \end_layout
10765
10766 \end_inset
10767 </cell>
10768 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10769 \begin_inset Text
10770
10771 \begin_layout Plain Layout
10772 111
10773 \end_layout
10774
10775 \end_inset
10776 </cell>
10777 </row>
10778 <row>
10779 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10780 \begin_inset Text
10781
10782 \begin_layout Plain Layout
10783
10784 \series bold
10785 Pochiesa
10786 \end_layout
10787
10788 \end_inset
10789 </cell>
10790 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10791 \begin_inset Text
10792
10793 \begin_layout Plain Layout
10794 Paolo
10795 \end_layout
10796
10797 \end_inset
10798 </cell>
10799 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10800 \begin_inset Text
10801
10802 \begin_layout Plain Layout
10803 111, 222
10804 \end_layout
10805
10806 \end_inset
10807 </cell>
10808 </row>
10809 <row>
10810 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10811 \begin_inset Text
10812
10813 \begin_layout Plain Layout
10814
10815 \series bold
10816 Radina
10817 \end_layout
10818
10819 \end_inset
10820 </cell>
10821 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10822 \begin_inset Text
10823
10824 \begin_layout Plain Layout
10825 Claudio
10826 \end_layout
10827
10828 \end_inset
10829 </cell>
10830 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10831 \begin_inset Text
10832
10833 \begin_layout Plain Layout
10834 111
10835 \end_layout
10836
10837 \end_inset
10838 </cell>
10839 </row>
10840 <row>
10841 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10842 \begin_inset Text
10843
10844 \begin_layout Plain Layout
10845
10846 \series bold
10847 Rizzardi
10848 \end_layout
10849
10850 \end_inset
10851 </cell>
10852 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10853 \begin_inset Text
10854
10855 \begin_layout Plain Layout
10856 Paolo, 11.
10857  Fürst von Montecompatri, 11.
10858  Fürst von Sulmona und Vivaro, 10.
10859  Fürst von Rossano, 5.
10860  Herzog von Canemorte, 11.
10861  Herzog von Palombara, 5.
10862  Herzog von Castelchiodato,
10863 \begin_inset ERT
10864 status open
10865
10866 \begin_layout Plain Layout
10867
10868 & 111
10869 \backslash
10870
10871 \backslash
10872  
10873 \backslash
10874 newpage
10875 \end_layout
10876
10877 \begin_layout Plain Layout
10878
10879 &
10880 \end_layout
10881
10882 \end_inset
10883
10884  11.
10885  Herzog von Poggionativo, 11.
10886  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10887  Graf von Valinfreda, 11.
10888  Baron von Cropalati, 11.
10889  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10890 \end_layout
10891
10892 \end_inset
10893 </cell>
10894 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10895 \begin_inset Text
10896
10897 \begin_layout Plain Layout
10898
10899 \end_layout
10900
10901 \end_inset
10902 </cell>
10903 </row>
10904 <row>
10905 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10906 \begin_inset Text
10907
10908 \begin_layout Plain Layout
10909
10910 \series bold
10911 Stuffer
10912 \end_layout
10913
10914 \end_inset
10915 </cell>
10916 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10917 \begin_inset Text
10918
10919 \begin_layout Plain Layout
10920 Oskar
10921 \end_layout
10922
10923 \end_inset
10924 </cell>
10925 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10926 \begin_inset Text
10927
10928 \begin_layout Plain Layout
10929 111
10930 \end_layout
10931
10932 \end_inset
10933 </cell>
10934 </row>
10935 <row>
10936 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10937 \begin_inset Text
10938
10939 \begin_layout Plain Layout
10940
10941 \series bold
10942 Tacchelli
10943 \end_layout
10944
10945 \end_inset
10946 </cell>
10947 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10948 \begin_inset Text
10949
10950 \begin_layout Plain Layout
10951 Ugo
10952 \end_layout
10953
10954 \end_inset
10955 </cell>
10956 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10957 \begin_inset Text
10958
10959 \begin_layout Plain Layout
10960 111
10961 \end_layout
10962
10963 \end_inset
10964 </cell>
10965 </row>
10966 <row>
10967 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10968 \begin_inset Text
10969
10970 \begin_layout Plain Layout
10971
10972 \series bold
10973 Tezzele
10974 \end_layout
10975
10976 \end_inset
10977 </cell>
10978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10979 \begin_inset Text
10980
10981 \begin_layout Plain Layout
10982 Margit
10983 \end_layout
10984
10985 \end_inset
10986 </cell>
10987 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10988 \begin_inset Text
10989
10990 \begin_layout Plain Layout
10991 111
10992 \end_layout
10993
10994 \end_inset
10995 </cell>
10996 </row>
10997 <row>
10998 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10999 \begin_inset Text
11000
11001 \begin_layout Plain Layout
11002
11003 \series bold
11004 Unterkalmsteiner
11005 \end_layout
11006
11007 \end_inset
11008 </cell>
11009 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11010 \begin_inset Text
11011
11012 \begin_layout Plain Layout
11013 Frieda
11014 \end_layout
11015
11016 \end_inset
11017 </cell>
11018 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11019 \begin_inset Text
11020
11021 \begin_layout Plain Layout
11022 111
11023 \end_layout
11024
11025 \end_inset
11026 </cell>
11027 </row>
11028 <row>
11029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11030 \begin_inset Text
11031
11032 \begin_layout Plain Layout
11033
11034 \series bold
11035 Vieider
11036 \end_layout
11037
11038 \end_inset
11039 </cell>
11040 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11041 \begin_inset Text
11042
11043 \begin_layout Plain Layout
11044 Hilde
11045 \end_layout
11046
11047 \end_inset
11048 </cell>
11049 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11050 \begin_inset Text
11051
11052 \begin_layout Plain Layout
11053 111
11054 \end_layout
11055
11056 \end_inset
11057 </cell>
11058 </row>
11059 <row>
11060 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11061 \begin_inset Text
11062
11063 \begin_layout Plain Layout
11064
11065 \series bold
11066 Vigna
11067 \end_layout
11068
11069 \end_inset
11070 </cell>
11071 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11072 \begin_inset Text
11073
11074 \begin_layout Plain Layout
11075 Jürgen
11076 \end_layout
11077
11078 \end_inset
11079 </cell>
11080 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11081 \begin_inset Text
11082
11083 \begin_layout Plain Layout
11084 111
11085 \end_layout
11086
11087 \end_inset
11088 </cell>
11089 </row>
11090 <row>
11091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11092 \begin_inset Text
11093
11094 \begin_layout Plain Layout
11095
11096 \series bold
11097 Weber
11098 \end_layout
11099
11100 \end_inset
11101 </cell>
11102 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11103 \begin_inset Text
11104
11105 \begin_layout Plain Layout
11106 Maurizio
11107 \end_layout
11108
11109 \end_inset
11110 </cell>
11111 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11112 \begin_inset Text
11113
11114 \begin_layout Plain Layout
11115 111
11116 \end_layout
11117
11118 \end_inset
11119 </cell>
11120 </row>
11121 <row>
11122 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11123 \begin_inset Text
11124
11125 \begin_layout Plain Layout
11126
11127 \series bold
11128 Winkler
11129 \end_layout
11130
11131 \end_inset
11132 </cell>
11133 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11134 \begin_inset Text
11135
11136 \begin_layout Plain Layout
11137 Franz
11138 \end_layout
11139
11140 \end_inset
11141 </cell>
11142 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11143 \begin_inset Text
11144
11145 \begin_layout Plain Layout
11146 111
11147 \end_layout
11148
11149 \end_inset
11150 </cell>
11151 </row>
11152 </lyxtabular>
11153
11154 \end_inset
11155
11156
11157 \end_layout
11158
11159 \begin_layout Section
11160 Multiple Lines Columns and Rows
11161 \end_layout
11162
11163 \begin_layout Subsection
11164 Multiple Lines in Table Cells
11165 \begin_inset CommandInset label
11166 LatexCommand label
11167 name "sub:Multiple-Lines-in"
11168
11169 \end_inset
11170
11171
11172 \begin_inset Index idx
11173 status collapsed
11174
11175 \begin_layout Plain Layout
11176 Multiple Lines in Table Cells
11177 \end_layout
11178
11179 \end_inset
11180
11181
11182 \begin_inset Index idx
11183 status collapsed
11184
11185 \begin_layout Plain Layout
11186 Table ! Linebreaks
11187 \end_layout
11188
11189 \end_inset
11190
11191
11192 \end_layout
11193
11194 \begin_layout Standard
11195 \noindent
11196 \begin_inset Float table
11197 placement H
11198 wide false
11199 sideways false
11200 status open
11201
11202 \begin_layout Plain Layout
11203 \begin_inset Caption
11204
11205 \begin_layout Plain Layout
11206 \begin_inset CommandInset label
11207 LatexCommand label
11208 name "tab:Table-with-multiple"
11209
11210 \end_inset
11211
11212 Table with multiple lines in cells
11213 \end_layout
11214
11215 \end_inset
11216
11217
11218 \end_layout
11219
11220 \begin_layout Plain Layout
11221 \align center
11222 \begin_inset Tabular
11223 <lyxtabular version="3" rows="3" columns="3">
11224 <features tabularvalignment="middle">
11225 <column alignment="center" valignment="middle" width="2.5cm">
11226 <column alignment="center" valignment="middle" width="0">
11227 <column alignment="center" valignment="middle" width="0">
11228 <row>
11229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11230 \begin_inset Text
11231
11232 \begin_layout Plain Layout
11233 multiple
11234 \begin_inset Newline linebreak
11235 \end_inset
11236
11237 lines
11238 \end_layout
11239
11240 \end_inset
11241 </cell>
11242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11243 \begin_inset Text
11244
11245 \begin_layout Plain Layout
11246 b
11247 \end_layout
11248
11249 \end_inset
11250 </cell>
11251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11252 \begin_inset Text
11253
11254 \begin_layout Plain Layout
11255 c
11256 \end_layout
11257
11258 \end_inset
11259 </cell>
11260 </row>
11261 <row>
11262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11263 \begin_inset Text
11264
11265 \begin_layout Plain Layout
11266 d
11267 \end_layout
11268
11269 \end_inset
11270 </cell>
11271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11272 \begin_inset Text
11273
11274 \begin_layout Plain Layout
11275 e
11276 \end_layout
11277
11278 \end_inset
11279 </cell>
11280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11281 \begin_inset Text
11282
11283 \begin_layout Plain Layout
11284 f
11285 \end_layout
11286
11287 \end_inset
11288 </cell>
11289 </row>
11290 <row>
11291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11292 \begin_inset Text
11293
11294 \begin_layout Plain Layout
11295 g
11296 \end_layout
11297
11298 \end_inset
11299 </cell>
11300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11301 \begin_inset Text
11302
11303 \begin_layout Plain Layout
11304 h
11305 \end_layout
11306
11307 \end_inset
11308 </cell>
11309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11310 \begin_inset Text
11311
11312 \begin_layout Plain Layout
11313 i
11314 \end_layout
11315
11316 \end_inset
11317 </cell>
11318 </row>
11319 </lyxtabular>
11320
11321 \end_inset
11322
11323
11324 \end_layout
11325
11326 \end_inset
11327
11328
11329 \end_layout
11330
11331 \begin_layout Standard
11332 Setting a fixed width for a column enables you to enter text as a paragraph
11333  with multiple lines and hyphenation.
11334 \end_layout
11335
11336 \begin_layout Standard
11337 To produce Table
11338 \begin_inset space ~
11339 \end_inset
11340
11341
11342 \begin_inset CommandInset ref
11343 LatexCommand ref
11344 reference "tab:Table-with-multiple"
11345
11346 \end_inset
11347
11348 , create a 3×3 table, mark the first cell and right-click on it.
11349  In the appearing table dialog we set a cell width of 2.5
11350 \begin_inset space \thinspace{}
11351 \end_inset
11352
11353 cm and choose centered for the vertical and horizontal alignment.
11354  The vertical alignment is used for all cells of the row.
11355  As our text is smaller than 2.5
11356 \begin_inset space \thinspace{}
11357 \end_inset
11358
11359 cm, only one line will appear.
11360  To get two lines, a justified line break (shortcut 
11361 \begin_inset Info
11362 type  "shortcut"
11363 arg   "newline-insert linebreak"
11364 \end_inset
11365
11366 ) was added.
11367  If the text is wider than the set cell width, it will automatically be
11368  broken to several lines.
11369 \end_layout
11370
11371 \begin_layout Standard
11372 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11373  by LaTeX if it is the first entry.
11374  Therefore you need to insert something to prevent the word not being the
11375  first entry.
11376  So add a horizontal space of 0
11377 \begin_inset space \thinspace{}
11378 \end_inset
11379
11380 pt before the word.
11381  As the space is zero, it doesn't change the output.
11382  Table
11383 \begin_inset space ~
11384 \end_inset
11385
11386
11387 \begin_inset CommandInset ref
11388 LatexCommand ref
11389 reference "tab:Table-with-and"
11390
11391 \end_inset
11392
11393  shows the effect.
11394 \end_layout
11395
11396 \begin_layout Standard
11397 \begin_inset Float table
11398 placement h
11399 wide false
11400 sideways false
11401 status open
11402
11403 \begin_layout Plain Layout
11404 \begin_inset Caption
11405
11406 \begin_layout Plain Layout
11407 \begin_inset CommandInset label
11408 LatexCommand label
11409 name "tab:Table-with-and"
11410
11411 \end_inset
11412
11413 Table with and without hyphenation
11414 \end_layout
11415
11416 \end_inset
11417
11418
11419 \end_layout
11420
11421 \begin_layout Plain Layout
11422 \begin_inset space \hfill{}
11423 \end_inset
11424
11425
11426 \begin_inset Tabular
11427 <lyxtabular version="3" rows="3" columns="3">
11428 <features tabularvalignment="middle">
11429 <column alignment="center" valignment="middle" width="2.5cm">
11430 <column alignment="center" valignment="middle" width="0">
11431 <column alignment="center" valignment="middle" width="0">
11432 <row>
11433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11434 \begin_inset Text
11435
11436 \begin_layout Plain Layout
11437 verylongtablecellword
11438 \end_layout
11439
11440 \end_inset
11441 </cell>
11442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11443 \begin_inset Text
11444
11445 \begin_layout Plain Layout
11446 b
11447 \end_layout
11448
11449 \end_inset
11450 </cell>
11451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11452 \begin_inset Text
11453
11454 \begin_layout Plain Layout
11455 c
11456 \end_layout
11457
11458 \end_inset
11459 </cell>
11460 </row>
11461 <row>
11462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11463 \begin_inset Text
11464
11465 \begin_layout Plain Layout
11466 d
11467 \end_layout
11468
11469 \end_inset
11470 </cell>
11471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11472 \begin_inset Text
11473
11474 \begin_layout Plain Layout
11475 e
11476 \end_layout
11477
11478 \end_inset
11479 </cell>
11480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11481 \begin_inset Text
11482
11483 \begin_layout Plain Layout
11484 f
11485 \end_layout
11486
11487 \end_inset
11488 </cell>
11489 </row>
11490 <row>
11491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11492 \begin_inset Text
11493
11494 \begin_layout Plain Layout
11495 g
11496 \end_layout
11497
11498 \end_inset
11499 </cell>
11500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11501 \begin_inset Text
11502
11503 \begin_layout Plain Layout
11504 h
11505 \end_layout
11506
11507 \end_inset
11508 </cell>
11509 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11510 \begin_inset Text
11511
11512 \begin_layout Plain Layout
11513 i
11514 \end_layout
11515
11516 \end_inset
11517 </cell>
11518 </row>
11519 </lyxtabular>
11520
11521 \end_inset
11522
11523
11524 \begin_inset space \hfill{}
11525 \end_inset
11526
11527
11528 \begin_inset Tabular
11529 <lyxtabular version="3" rows="3" columns="3">
11530 <features tabularvalignment="middle">
11531 <column alignment="center" valignment="middle" width="2.5cm">
11532 <column alignment="center" valignment="middle" width="0">
11533 <column alignment="center" valignment="middle" width="0">
11534 <row>
11535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11536 \begin_inset Text
11537
11538 \begin_layout Plain Layout
11539 \begin_inset space \hspace{}
11540 \length 0pt
11541 \end_inset
11542
11543 verylongtablecellword
11544 \end_layout
11545
11546 \end_inset
11547 </cell>
11548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11549 \begin_inset Text
11550
11551 \begin_layout Plain Layout
11552 b
11553 \end_layout
11554
11555 \end_inset
11556 </cell>
11557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11558 \begin_inset Text
11559
11560 \begin_layout Plain Layout
11561 c
11562 \end_layout
11563
11564 \end_inset
11565 </cell>
11566 </row>
11567 <row>
11568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11569 \begin_inset Text
11570
11571 \begin_layout Plain Layout
11572 d
11573 \end_layout
11574
11575 \end_inset
11576 </cell>
11577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11578 \begin_inset Text
11579
11580 \begin_layout Plain Layout
11581 e
11582 \end_layout
11583
11584 \end_inset
11585 </cell>
11586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11587 \begin_inset Text
11588
11589 \begin_layout Plain Layout
11590 f
11591 \end_layout
11592
11593 \end_inset
11594 </cell>
11595 </row>
11596 <row>
11597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11598 \begin_inset Text
11599
11600 \begin_layout Plain Layout
11601 g
11602 \end_layout
11603
11604 \end_inset
11605 </cell>
11606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11607 \begin_inset Text
11608
11609 \begin_layout Plain Layout
11610 h
11611 \end_layout
11612
11613 \end_inset
11614 </cell>
11615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11616 \begin_inset Text
11617
11618 \begin_layout Plain Layout
11619 i
11620 \end_layout
11621
11622 \end_inset
11623 </cell>
11624 </row>
11625 </lyxtabular>
11626
11627 \end_inset
11628
11629
11630 \begin_inset space \hfill{}
11631 \end_inset
11632
11633
11634 \end_layout
11635
11636 \end_inset
11637
11638
11639 \end_layout
11640
11641 \begin_layout Subsection
11642 Multicolumns
11643 \begin_inset CommandInset label
11644 LatexCommand label
11645 name "sub:Multicolumns"
11646
11647 \end_inset
11648
11649
11650 \begin_inset Index idx
11651 status collapsed
11652
11653 \begin_layout Plain Layout
11654 Multicolumns
11655 \end_layout
11656
11657 \end_inset
11658
11659
11660 \begin_inset Index idx
11661 status collapsed
11662
11663 \begin_layout Plain Layout
11664 Table ! Multicolumns
11665 \end_layout
11666
11667 \end_inset
11668
11669
11670 \end_layout
11671
11672 \begin_layout Subsubsection
11673 Multicolumn Basics
11674 \end_layout
11675
11676 \begin_layout Standard
11677 To merge cells over multiple columns, select as many cells within a row
11678  as you want to merge and use either the table-toolbar button 
11679 \begin_inset Graphics
11680         filename ../images/tabular-feature_multicolumn.png
11681         scale 85
11682         scaleBeforeRotation
11683
11684 \end_inset
11685
11686 , or the menu 
11687 \family sans
11688 Edit\SpecialChar \menuseparator
11689 Table\SpecialChar \menuseparator
11690 Multicolumn
11691 \family default
11692 , or right click on the marked cells and choose 
11693 \family sans
11694 Multicolumn
11695 \family default
11696  in the context menu.
11697 \end_layout
11698
11699 \begin_layout Standard
11700 Multicolumns have there own cell settings.
11701  That means changing cell borders, cell alignment, and the width only affects
11702  the multicolumn.
11703  Here is an example table with a multicolumn cell in the first row and one
11704  in the last row without the upper border:
11705 \end_layout
11706
11707 \begin_layout Standard
11708 \align center
11709 \begin_inset Tabular
11710 <lyxtabular version="3" rows="3" columns="4">
11711 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11712 <column alignment="center" valignment="top" width="0pt">
11713 <column alignment="center" valignment="middle" width="0">
11714 <column alignment="center" valignment="top" width="0in">
11715 <column alignment="center" valignment="top" width="0pt">
11716 <row>
11717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11718 \begin_inset Text
11719
11720 \begin_layout Plain Layout
11721 abc
11722 \end_layout
11723
11724 \end_inset
11725 </cell>
11726 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11727 \begin_inset Text
11728
11729 \begin_layout Plain Layout
11730 def ghi
11731 \end_layout
11732
11733 \end_inset
11734 </cell>
11735 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11736 \begin_inset Text
11737
11738 \begin_layout Plain Layout
11739
11740 \end_layout
11741
11742 \end_inset
11743 </cell>
11744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11745 \begin_inset Text
11746
11747 \begin_layout Plain Layout
11748 jkl
11749 \end_layout
11750
11751 \end_inset
11752 </cell>
11753 </row>
11754 <row>
11755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11756 \begin_inset Text
11757
11758 \begin_layout Plain Layout
11759
11760 \family roman
11761 \series medium
11762 \shape up
11763 \size normal
11764 \emph off
11765 \bar no
11766 \noun off
11767 \color none
11768 A
11769 \end_layout
11770
11771 \end_inset
11772 </cell>
11773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11774 \begin_inset Text
11775
11776 \begin_layout Plain Layout
11777 B
11778 \end_layout
11779
11780 \end_inset
11781 </cell>
11782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11783 \begin_inset Text
11784
11785 \begin_layout Plain Layout
11786 C
11787 \end_layout
11788
11789 \end_inset
11790 </cell>
11791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11792 \begin_inset Text
11793
11794 \begin_layout Plain Layout
11795 D
11796 \end_layout
11797
11798 \end_inset
11799 </cell>
11800 </row>
11801 <row>
11802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11803 \begin_inset Text
11804
11805 \begin_layout Plain Layout
11806 1
11807 \end_layout
11808
11809 \end_inset
11810 </cell>
11811 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11812 \begin_inset Text
11813
11814 \begin_layout Plain Layout
11815 2
11816 \end_layout
11817
11818 \end_inset
11819 </cell>
11820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11821 \begin_inset Text
11822
11823 \begin_layout Plain Layout
11824 3
11825 \end_layout
11826
11827 \end_inset
11828 </cell>
11829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11830 \begin_inset Text
11831
11832 \begin_layout Plain Layout
11833 4
11834 \end_layout
11835
11836 \end_inset
11837 </cell>
11838 </row>
11839 </lyxtabular>
11840
11841 \end_inset
11842
11843
11844 \end_layout
11845
11846 \begin_layout Subsubsection
11847 Multicolumn Calculations
11848 \begin_inset CommandInset label
11849 LatexCommand label
11850 name "sub:Multicolumn-Calculations"
11851
11852 \end_inset
11853
11854
11855 \begin_inset Index idx
11856 status collapsed
11857
11858 \begin_layout Plain Layout
11859 Multicolumns ! Calculations
11860 \end_layout
11861
11862 \end_inset
11863
11864
11865 \end_layout
11866
11867 \begin_layout Standard
11868 LyX supports multicolumns directly, but we have to take account of the cell
11869  width of the columns spanned by the multicolumn cell.
11870 \end_layout
11871
11872 \begin_layout Standard
11873 \begin_inset Float table
11874 placement h
11875 wide false
11876 sideways false
11877 status open
11878
11879 \begin_layout Plain Layout
11880 \begin_inset Caption
11881
11882 \begin_layout Plain Layout
11883 \begin_inset CommandInset label
11884 LatexCommand label
11885 name "tab:Table-with-centered"
11886
11887 \end_inset
11888
11889 Table with centered multicolumn text above two columns that have exactly
11890  half the width of the multicolumn cell
11891 \begin_inset Argument
11892 status collapsed
11893
11894 \begin_layout Plain Layout
11895 Perfect multicolumn table
11896 \end_layout
11897
11898 \end_inset
11899
11900
11901 \end_layout
11902
11903 \end_inset
11904
11905
11906 \end_layout
11907
11908 \begin_layout Plain Layout
11909 \align center
11910 \begin_inset Tabular
11911 <lyxtabular version="3" rows="3" columns="3">
11912 <features tabularvalignment="middle">
11913 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11914 <column alignment="center" valignment="middle" width="0">
11915 <column alignment="center" valignment="top" width="0">
11916 <row>
11917 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11918 \begin_inset Text
11919
11920 \begin_layout Plain Layout
11921 multiple lines multicolumn
11922 \end_layout
11923
11924 \end_inset
11925 </cell>
11926 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11927 \begin_inset Text
11928
11929 \begin_layout Plain Layout
11930
11931 \end_layout
11932
11933 \end_inset
11934 </cell>
11935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11936 \begin_inset Text
11937
11938 \begin_layout Plain Layout
11939 c
11940 \end_layout
11941
11942 \end_inset
11943 </cell>
11944 </row>
11945 <row>
11946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11947 \begin_inset Text
11948
11949 \begin_layout Plain Layout
11950 d
11951 \end_layout
11952
11953 \end_inset
11954 </cell>
11955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11956 \begin_inset Text
11957
11958 \begin_layout Plain Layout
11959 e
11960 \end_layout
11961
11962 \end_inset
11963 </cell>
11964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11965 \begin_inset Text
11966
11967 \begin_layout Plain Layout
11968 f
11969 \end_layout
11970
11971 \end_inset
11972 </cell>
11973 </row>
11974 <row>
11975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11976 \begin_inset Text
11977
11978 \begin_layout Plain Layout
11979 g
11980 \end_layout
11981
11982 \end_inset
11983 </cell>
11984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11985 \begin_inset Text
11986
11987 \begin_layout Plain Layout
11988 h
11989 \end_layout
11990
11991 \end_inset
11992 </cell>
11993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11994 \begin_inset Text
11995
11996 \begin_layout Plain Layout
11997 i
11998 \end_layout
11999
12000 \end_inset
12001 </cell>
12002 </row>
12003 </lyxtabular>
12004
12005 \end_inset
12006
12007
12008 \end_layout
12009
12010 \end_inset
12011
12012
12013 \end_layout
12014
12015 \begin_layout Standard
12016 To create for example Table
12017 \begin_inset space ~
12018 \end_inset
12019
12020
12021 \begin_inset CommandInset ref
12022 LatexCommand ref
12023 reference "tab:Table-with-centered"
12024
12025 \end_inset
12026
12027 , mark the first two cells in the first row of a 3×3 table and right-click
12028  on them.
12029  Now choose for this cell 
12030 \emph on
12031 multicolumn
12032 \emph default
12033
12034 \emph on
12035 centered alignment
12036 \emph default
12037  and a width of 2.5
12038 \begin_inset space \thinspace{}
12039 \end_inset
12040
12041 cm in the table dialog.
12042  The merged columns should have exactly half the width of the multicolumn
12043  cell, so that you would set a width of 1.25
12044 \begin_inset space \thinspace{}
12045 \end_inset
12046
12047 cm for the first column.
12048  The second column has then automatically a width of 1.25
12049 \begin_inset space \thinspace{}
12050 \end_inset
12051
12052 cm (multicolumn width - width of first column).
12053  This was done for Table
12054 \begin_inset space ~
12055 \end_inset
12056
12057
12058 \begin_inset CommandInset ref
12059 LatexCommand ref
12060 reference "tab:Table-without-half"
12061
12062 \end_inset
12063
12064 .
12065 \end_layout
12066
12067 \begin_layout Standard
12068 \begin_inset Float table
12069 wide false
12070 sideways false
12071 status open
12072
12073 \begin_layout Plain Layout
12074 \begin_inset Caption
12075
12076 \begin_layout Plain Layout
12077 \begin_inset CommandInset label
12078 LatexCommand label
12079 name "tab:Table-without-half"
12080
12081 \end_inset
12082
12083 Table where the spanned table columns are not exactly half the width of
12084  the multicolumn cell
12085 \begin_inset Argument
12086 status collapsed
12087
12088 \begin_layout Plain Layout
12089 Imperfect multicolumn table
12090 \end_layout
12091
12092 \end_inset
12093
12094
12095 \end_layout
12096
12097 \end_inset
12098
12099
12100 \end_layout
12101
12102 \begin_layout Plain Layout
12103 \align center
12104 \begin_inset Tabular
12105 <lyxtabular version="3" rows="3" columns="3">
12106 <features tabularvalignment="middle">
12107 <column alignment="center" valignment="top" width="1.25cm">
12108 <column alignment="center" valignment="top" width="0">
12109 <column alignment="center" valignment="top" width="0">
12110 <row>
12111 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12112 \begin_inset Text
12113
12114 \begin_layout Plain Layout
12115 multiple lines multicolumn
12116 \end_layout
12117
12118 \end_inset
12119 </cell>
12120 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12121 \begin_inset Text
12122
12123 \begin_layout Plain Layout
12124
12125 \end_layout
12126
12127 \end_inset
12128 </cell>
12129 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12130 \begin_inset Text
12131
12132 \begin_layout Plain Layout
12133 c
12134 \end_layout
12135
12136 \end_inset
12137 </cell>
12138 </row>
12139 <row>
12140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12141 \begin_inset Text
12142
12143 \begin_layout Plain Layout
12144 d
12145 \end_layout
12146
12147 \end_inset
12148 </cell>
12149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12150 \begin_inset Text
12151
12152 \begin_layout Plain Layout
12153 e
12154 \end_layout
12155
12156 \end_inset
12157 </cell>
12158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12159 \begin_inset Text
12160
12161 \begin_layout Plain Layout
12162 f
12163 \end_layout
12164
12165 \end_inset
12166 </cell>
12167 </row>
12168 <row>
12169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12170 \begin_inset Text
12171
12172 \begin_layout Plain Layout
12173 g
12174 \end_layout
12175
12176 \end_inset
12177 </cell>
12178 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12179 \begin_inset Text
12180
12181 \begin_layout Plain Layout
12182 h
12183 \end_layout
12184
12185 \end_inset
12186 </cell>
12187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12188 \begin_inset Text
12189
12190 \begin_layout Plain Layout
12191 i
12192 \end_layout
12193
12194 \end_inset
12195 </cell>
12196 </row>
12197 </lyxtabular>
12198
12199 \end_inset
12200
12201
12202 \end_layout
12203
12204 \end_inset
12205
12206
12207 \end_layout
12208
12209 \begin_layout Standard
12210 You can see that the first column is not half the width of the multicolumn
12211  cell, it is a bit bigger.
12212  The reason is that the specified width of a cell 
12213 \begin_inset Formula $W_{g}$
12214 \end_inset
12215
12216  is not its total width 
12217 \begin_inset Formula $W_{\mathrm{tot}}$
12218 \end_inset
12219
12220  because a cell is always a bit larger than specified.
12221  Appendix
12222 \begin_inset space ~
12223 \end_inset
12224
12225
12226 \begin_inset CommandInset ref
12227 LatexCommand eqref
12228 reference "cha:Explanation-of-Equation"
12229
12230 \end_inset
12231
12232  explains this in detail.
12233 \end_layout
12234
12235 \begin_layout Standard
12236 The width 
12237 \begin_inset Formula $W_{g\, n}$
12238 \end_inset
12239
12240  which the user needs to set when 
12241 \emph on
12242 n
12243 \emph default
12244  columns are spanned can be calculated, so that each column has a total
12245  width of 
12246 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
12247 \end_inset
12248
12249 :
12250 \begin_inset Formula 
12251 \begin{equation}
12252 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12253 \end{equation}
12254
12255 \end_inset
12256
12257
12258 \end_layout
12259
12260 \begin_layout Standard
12261 In our case we have 
12262 \begin_inset Formula $n=2$
12263 \end_inset
12264
12265
12266 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12267 \end_inset
12268
12269 cm and the default values for the lengths, so that equation 
12270 \begin_inset CommandInset ref
12271 LatexCommand ref
12272 reference "eq:Wgn"
12273
12274 \end_inset
12275
12276  becomes
12277 \begin_inset Formula 
12278 \begin{equation}
12279 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12280 \end{equation}
12281
12282 \end_inset
12283
12284
12285 \end_layout
12286
12287 \begin_layout Standard
12288 To enable calculations in LaTeX, the LaTeX-package 
12289 \series bold
12290 calc
12291 \series default
12292  must be loaded with the document preamble line
12293 \begin_inset Index idx
12294 status collapsed
12295
12296 \begin_layout Plain Layout
12297 LaTeX-packages ! calc
12298 \end_layout
12299
12300 \end_inset
12301
12302
12303 \end_layout
12304
12305 \begin_layout Standard
12306
12307 \series bold
12308
12309 \backslash
12310 usepackage{calc}
12311 \end_layout
12312
12313 \begin_layout Standard
12314 LyX does not allow you to calculate lengths in the 
12315 \family sans
12316 Width
12317 \family default
12318  field of the table dialog.
12319  Therefore you have to format the column by inserting a LaTeX-argument in
12320  the dialog.
12321  Here is an overview about the arguments:
12322 \end_layout
12323
12324 \begin_layout Itemize
12325
12326 \series bold
12327 p{width}
12328 \series default
12329  creates cell with a fixed width, its text is vertically top-aligned
12330 \end_layout
12331
12332 \begin_layout Itemize
12333
12334 \series bold
12335 m{width}
12336 \series default
12337  creates cell with a fixed width, its text is vertically centered
12338 \end_layout
12339
12340 \begin_layout Itemize
12341
12342 \series bold
12343 b{width}
12344 \series default
12345  creates cell with a fixed width, its text is vertically bottom-aligned
12346 \end_layout
12347
12348 \begin_layout Standard
12349 By entering a LaTeX-argument, all cell settings set in the table dialog
12350  are overwritten.
12351 \end_layout
12352
12353 \begin_layout Standard
12354 \begin_inset Note Greyedout
12355 status open
12356
12357 \begin_layout Plain Layout
12358
12359 \series bold
12360 Note:
12361 \series default
12362  Due to a bug, LyX shows the overwritten settings anyway.
12363 \end_layout
12364
12365 \end_inset
12366
12367
12368 \end_layout
12369
12370 \begin_layout Standard
12371 As the text should be horizontally centered, the command 
12372 \series bold
12373
12374 \backslash
12375 centering
12376 \series default
12377  is added.
12378  You can now enter the following LaTeX-argument for the first spanned column:
12379 \end_layout
12380
12381 \begin_layout Standard
12382
12383 \series bold
12384 >{
12385 \backslash
12386 centering}m{1.25cm-6.2pt}
12387 \end_layout
12388
12389 \begin_layout Standard
12390 The command 
12391 \series bold
12392 >{ }
12393 \series default
12394  means, that the commands inside the braces are applied before the cell
12395  is created.
12396 \end_layout
12397
12398 \begin_layout Standard
12399 Although we have chosen centered alignment for the text of the multicolumn
12400  cell, it is still left aligned.
12401  This is because LyX only applies the alignment to single columns.
12402  So for the multicolumn cell we have to use the LaTeX-argument
12403 \end_layout
12404
12405 \begin_layout Standard
12406
12407 \series bold
12408 >{
12409 \backslash
12410 centering}m{2.5cm}
12411 \end_layout
12412
12413 \begin_layout Subsection
12414 Multirows
12415 \begin_inset CommandInset label
12416 LatexCommand label
12417 name "sub:Multirows"
12418
12419 \end_inset
12420
12421
12422 \begin_inset Index idx
12423 status collapsed
12424
12425 \begin_layout Plain Layout
12426 Multirows
12427 \end_layout
12428
12429 \end_inset
12430
12431
12432 \begin_inset Index idx
12433 status collapsed
12434
12435 \begin_layout Plain Layout
12436 Table ! Multirows
12437 \end_layout
12438
12439 \end_inset
12440
12441
12442 \end_layout
12443
12444 \begin_layout Standard
12445 To merge cells over multiple rows, select as many cells within a column
12446  as you want to merge and use either the table-toolbar button 
12447 \begin_inset Graphics
12448         filename ../images/tabular-feature_multirow.png
12449         scale 85
12450         scaleBeforeRotation
12451
12452 \end_inset
12453
12454 , or the menu 
12455 \family sans
12456 Edit\SpecialChar \menuseparator
12457 Table\SpecialChar \menuseparator
12458 Multirow
12459 \family default
12460 , or right click on the marked cells and choose 
12461 \family sans
12462 Multirow
12463 \family default
12464  in the context menu.
12465 \end_layout
12466
12467 \begin_layout Standard
12468 Here is an example table with a multirow in the first column:
12469 \end_layout
12470
12471 \begin_layout Standard
12472 \align center
12473 \begin_inset Tabular
12474 <lyxtabular version="3" rows="3" columns="3">
12475 <features tabularvalignment="middle">
12476 <column alignment="center" valignment="top" width="0pt">
12477 <column alignment="center" valignment="top" width="0">
12478 <column alignment="center" valignment="top" width="0">
12479 <row>
12480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12481 \begin_inset Text
12482
12483 \begin_layout Plain Layout
12484 a long cell entry
12485 \end_layout
12486
12487 \end_inset
12488 </cell>
12489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12490 \begin_inset Text
12491
12492 \begin_layout Plain Layout
12493 b
12494 \end_layout
12495
12496 \end_inset
12497 </cell>
12498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12499 \begin_inset Text
12500
12501 \begin_layout Plain Layout
12502 c
12503 \end_layout
12504
12505 \end_inset
12506 </cell>
12507 </row>
12508 <row>
12509 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12510 \begin_inset Text
12511
12512 \begin_layout Plain Layout
12513 multirow
12514 \end_layout
12515
12516 \end_inset
12517 </cell>
12518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12519 \begin_inset Text
12520
12521 \begin_layout Plain Layout
12522 e
12523 \end_layout
12524
12525 \end_inset
12526 </cell>
12527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12528 \begin_inset Text
12529
12530 \begin_layout Plain Layout
12531 f
12532 \end_layout
12533
12534 \end_inset
12535 </cell>
12536 </row>
12537 <row>
12538 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12539 \begin_inset Text
12540
12541 \begin_layout Plain Layout
12542
12543 \end_layout
12544
12545 \end_inset
12546 </cell>
12547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12548 \begin_inset Text
12549
12550 \begin_layout Plain Layout
12551 h
12552 \end_layout
12553
12554 \end_inset
12555 </cell>
12556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12557 \begin_inset Text
12558
12559 \begin_layout Plain Layout
12560 i
12561 \end_layout
12562
12563 \end_inset
12564 </cell>
12565 </row>
12566 </lyxtabular>
12567
12568 \end_inset
12569
12570
12571 \end_layout
12572
12573 \begin_layout Standard
12574 The width of multirow cells is set by setting the width and alignment for
12575  the whole column.
12576  The 
12577 \family sans
12578 Vertical Offset
12579 \family default
12580  shifts the content of the multirow up/down if the offset is positive/negative.
12581 \end_layout
12582
12583 \begin_layout Standard
12584 If the column of a multirow cell has no explicit width, the multirow cell
12585  inherits the alignment of the column.
12586  Otherwise it is by default left-aligned.
12587  To override the default, renew the command 
12588 \series bold
12589
12590 \backslash
12591 multirowsetup
12592 \series default
12593  with the command
12594 \end_layout
12595
12596 \begin_layout Standard
12597
12598 \series bold
12599
12600 \backslash
12601 renewcommand{
12602 \backslash
12603 multirowsetup}{
12604 \backslash
12605 centering}
12606 \end_layout
12607
12608 \begin_layout Standard
12609 in the document preamble.
12610  Then all entries of multirow cells in the document are centered.
12611  If centering is only needed for several tables, you can renew the command
12612  in a TeX-Code box just before the table instead of the preamble.
12613  If the text should be right-aligned, replace 
12614 \series bold
12615
12616 \backslash
12617 centering
12618 \series default
12619  by 
12620 \series bold
12621
12622 \backslash
12623 raggedleft
12624 \series default
12625 .
12626  To return to left-alignment 
12627 \series bold
12628
12629 \backslash
12630 raggedright
12631 \series default
12632  is used.
12633 \end_layout
12634
12635 \begin_layout Standard
12636 This is an example table with a right-aligned multirow cell that has a vertical
12637  offset of -4
12638 \begin_inset space \thinspace{}
12639 \end_inset
12640
12641 mm and is in a 3
12642 \begin_inset space \thinspace{}
12643 \end_inset
12644
12645 cm wide column:
12646 \end_layout
12647
12648 \begin_layout Standard
12649 \noindent
12650 \align center
12651 \begin_inset ERT
12652 status collapsed
12653
12654 \begin_layout Plain Layout
12655
12656
12657 \backslash
12658 renewcommand{
12659 \backslash
12660 multirowsetup}{
12661 \backslash
12662 raggedleft}
12663 \end_layout
12664
12665 \end_inset
12666
12667
12668 \begin_inset Tabular
12669 <lyxtabular version="3" rows="4" columns="3">
12670 <features tabularvalignment="middle">
12671 <column alignment="center" valignment="top" width="3cm">
12672 <column alignment="center" valignment="top" width="0">
12673 <column alignment="center" valignment="top" width="0">
12674 <row>
12675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12676 \begin_inset Text
12677
12678 \begin_layout Plain Layout
12679 a long cell entry
12680 \end_layout
12681
12682 \end_inset
12683 </cell>
12684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12685 \begin_inset Text
12686
12687 \begin_layout Plain Layout
12688 b
12689 \end_layout
12690
12691 \end_inset
12692 </cell>
12693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12694 \begin_inset Text
12695
12696 \begin_layout Plain Layout
12697 c
12698 \end_layout
12699
12700 \end_inset
12701 </cell>
12702 </row>
12703 <row>
12704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12705 \begin_inset Text
12706
12707 \begin_layout Plain Layout
12708 t
12709 \end_layout
12710
12711 \end_inset
12712 </cell>
12713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12714 \begin_inset Text
12715
12716 \begin_layout Plain Layout
12717 n
12718 \end_layout
12719
12720 \end_inset
12721 </cell>
12722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12723 \begin_inset Text
12724
12725 \begin_layout Plain Layout
12726 m
12727 \end_layout
12728
12729 \end_inset
12730 </cell>
12731 </row>
12732 <row>
12733 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12734 \begin_inset Text
12735
12736 \begin_layout Plain Layout
12737 multirow
12738 \end_layout
12739
12740 \end_inset
12741 </cell>
12742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12743 \begin_inset Text
12744
12745 \begin_layout Plain Layout
12746 e
12747 \end_layout
12748
12749 \end_inset
12750 </cell>
12751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12752 \begin_inset Text
12753
12754 \begin_layout Plain Layout
12755 f
12756 \end_layout
12757
12758 \end_inset
12759 </cell>
12760 </row>
12761 <row>
12762 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12763 \begin_inset Text
12764
12765 \begin_layout Plain Layout
12766
12767 \end_layout
12768
12769 \end_inset
12770 </cell>
12771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12772 \begin_inset Text
12773
12774 \begin_layout Plain Layout
12775 h
12776 \end_layout
12777
12778 \end_inset
12779 </cell>
12780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12781 \begin_inset Text
12782
12783 \begin_layout Plain Layout
12784 i
12785 \end_layout
12786
12787 \end_inset
12788 </cell>
12789 </row>
12790 </lyxtabular>
12791
12792 \end_inset
12793
12794
12795 \begin_inset ERT
12796 status collapsed
12797
12798 \begin_layout Plain Layout
12799
12800
12801 \backslash
12802 renewcommand{
12803 \backslash
12804 multirowsetup}{
12805 \backslash
12806 raggedright}
12807 \end_layout
12808
12809 \end_inset
12810
12811
12812 \end_layout
12813
12814 \begin_layout Standard
12815 To start a new line in a multirow you can use a forced line break (shortcut
12816  
12817 \begin_inset Info
12818 type  "shortcut"
12819 arg   "newline-insert newline"
12820 \end_inset
12821
12822 ) but this will not respect the cell lines as demonstrated in this table:
12823 \end_layout
12824
12825 \begin_layout Standard
12826 \noindent
12827 \align center
12828 \begin_inset Tabular
12829 <lyxtabular version="3" rows="3" columns="2">
12830 <features tabularvalignment="middle">
12831 <column alignment="left" valignment="middle" width="2cm">
12832 <column alignment="center" valignment="top" width="0">
12833 <row>
12834 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12835 \begin_inset Text
12836
12837 \begin_layout Plain Layout
12838 aaa
12839 \begin_inset Newline newline
12840 \end_inset
12841
12842 aaa
12843 \begin_inset Newline newline
12844 \end_inset
12845
12846 wrong cell
12847 \end_layout
12848
12849 \end_inset
12850 </cell>
12851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12852 \begin_inset Text
12853
12854 \begin_layout Plain Layout
12855 ccc
12856 \end_layout
12857
12858 \end_inset
12859 </cell>
12860 </row>
12861 <row>
12862 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12863 \begin_inset Text
12864
12865 \begin_layout Plain Layout
12866
12867 \end_layout
12868
12869 \end_inset
12870 </cell>
12871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12872 \begin_inset Text
12873
12874 \begin_layout Plain Layout
12875 ddd
12876 \end_layout
12877
12878 \end_inset
12879 </cell>
12880 </row>
12881 <row>
12882 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12883 \begin_inset Text
12884
12885 \begin_layout Plain Layout
12886 bbb
12887 \end_layout
12888
12889 \end_inset
12890 </cell>
12891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12892 \begin_inset Text
12893
12894 \begin_layout Plain Layout
12895 eee
12896 \end_layout
12897
12898 \end_inset
12899 </cell>
12900 </row>
12901 </lyxtabular>
12902
12903 \end_inset
12904
12905
12906 \end_layout
12907
12908 \begin_layout Standard
12909 Therefore be careful with forced line breaks.
12910 \end_layout
12911
12912 \begin_layout Section
12913 Formal Tables
12914 \begin_inset CommandInset label
12915 LatexCommand label
12916 name "sec:Formal-Tables"
12917
12918 \end_inset
12919
12920
12921 \begin_inset Index idx
12922 status collapsed
12923
12924 \begin_layout Plain Layout
12925 Table ! Formal
12926 \end_layout
12927
12928 \end_inset
12929
12930
12931 \end_layout
12932
12933 \begin_layout Standard
12934 Tables are often typeset in books similar to Table
12935 \begin_inset space ~
12936 \end_inset
12937
12938
12939 \begin_inset CommandInset ref
12940 LatexCommand ref
12941 reference "tab:Example-booktabs-table"
12942
12943 \end_inset
12944
12945 .
12946  This kind of tables is called 
12947 \begin_inset Quotes eld
12948 \end_inset
12949
12950
12951 \emph on
12952 formal
12953 \emph default
12954
12955 \begin_inset Quotes erd
12956 \end_inset
12957
12958 .
12959  To make a table a formal table use the option 
12960 \family sans
12961 Formal
12962 \family default
12963  in the 
12964 \family sans
12965 Borders
12966 \family default
12967  tab of the table dialog.
12968 \end_layout
12969
12970 \begin_layout Standard
12971 \begin_inset Float table
12972 placement h
12973 wide false
12974 sideways false
12975 status open
12976
12977 \begin_layout Plain Layout
12978 \begin_inset Caption
12979
12980 \begin_layout Plain Layout
12981 \begin_inset CommandInset label
12982 LatexCommand label
12983 name "tab:Example-booktabs-table"
12984
12985 \end_inset
12986
12987 Example booktabs-table
12988 \end_layout
12989
12990 \end_inset
12991
12992
12993 \end_layout
12994
12995 \begin_layout Plain Layout
12996 \align center
12997 \begin_inset Tabular
12998 <lyxtabular version="3" rows="8" columns="4">
12999 <features booktabs="true" tabularvalignment="middle">
13000 <column alignment="center" valignment="top" width="0">
13001 <column alignment="center" valignment="top" width="0">
13002 <column alignment="center" valignment="top" width="0">
13003 <column alignment="center" valignment="top" width="0">
13004 <row>
13005 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13006 \begin_inset Text
13007
13008 \begin_layout Plain Layout
13009 System
13010 \end_layout
13011
13012 \end_inset
13013 </cell>
13014 <cell alignment="center" valignment="top" topline="true" usebox="none">
13015 \begin_inset Text
13016
13017 \begin_layout Plain Layout
13018 Chip
13019 \begin_inset space \thinspace{}
13020 \end_inset
13021
13022 1
13023 \end_layout
13024
13025 \end_inset
13026 </cell>
13027 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13028 \begin_inset Text
13029
13030 \begin_layout Plain Layout
13031 Chip
13032 \begin_inset space \thinspace{}
13033 \end_inset
13034
13035 2
13036 \end_layout
13037
13038 \end_inset
13039 </cell>
13040 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13041 \begin_inset Text
13042
13043 \begin_layout Plain Layout
13044
13045 \end_layout
13046
13047 \end_inset
13048 </cell>
13049 </row>
13050 <row>
13051 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13052 \begin_inset Text
13053
13054 \begin_layout Plain Layout
13055 \begin_inset ERT
13056 status collapsed
13057
13058 \begin_layout Plain Layout
13059
13060
13061 \backslash
13062 cmidrule(r){2-2}
13063 \end_layout
13064
13065 \end_inset
13066
13067
13068 \begin_inset ERT
13069 status collapsed
13070
13071 \begin_layout Plain Layout
13072
13073
13074 \backslash
13075 cmidrule(l){3-4}
13076 \end_layout
13077
13078 \end_inset
13079
13080 Detector thickness in µm
13081 \end_layout
13082
13083 \end_inset
13084 </cell>
13085 <cell alignment="center" valignment="top" usebox="none">
13086 \begin_inset Text
13087
13088 \begin_layout Plain Layout
13089 300
13090 \end_layout
13091
13092 \end_inset
13093 </cell>
13094 <cell alignment="center" valignment="top" usebox="none">
13095 \begin_inset Text
13096
13097 \begin_layout Plain Layout
13098 300
13099 \end_layout
13100
13101 \end_inset
13102 </cell>
13103 <cell alignment="center" valignment="top" usebox="none">
13104 \begin_inset Text
13105
13106 \begin_layout Plain Layout
13107 700
13108 \end_layout
13109
13110 \end_inset
13111 </cell>
13112 </row>
13113 <row>
13114 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13115 \begin_inset Text
13116
13117 \begin_layout Plain Layout
13118 Edge angle in °
13119 \end_layout
13120
13121 \end_inset
13122 </cell>
13123 <cell alignment="center" valignment="top" topline="true" usebox="none">
13124 \begin_inset Text
13125
13126 \begin_layout Plain Layout
13127 3.55
13128 \end_layout
13129
13130 \end_inset
13131 </cell>
13132 <cell alignment="center" valignment="top" topline="true" usebox="none">
13133 \begin_inset Text
13134
13135 \begin_layout Plain Layout
13136 2.71
13137 \end_layout
13138
13139 \end_inset
13140 </cell>
13141 <cell alignment="center" valignment="top" topline="true" usebox="none">
13142 \begin_inset Text
13143
13144 \begin_layout Plain Layout
13145 7.99
13146 \end_layout
13147
13148 \end_inset
13149 </cell>
13150 </row>
13151 <row topspace="default">
13152 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13153 \begin_inset Text
13154
13155 \begin_layout Plain Layout
13156 Spatial resolution in µm
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 4.26
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 10.17
13175 \end_layout
13176
13177 \end_inset
13178 </cell>
13179 <cell alignment="center" valignment="top" usebox="none">
13180 \begin_inset Text
13181
13182 \begin_layout Plain Layout
13183 10.56
13184 \end_layout
13185
13186 \end_inset
13187 </cell>
13188 </row>
13189 <row topspace="default">
13190 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13191 \begin_inset Text
13192
13193 \begin_layout Plain Layout
13194 MTF at 
13195 \begin_inset Formula $f_{\mathrm{max}}$
13196 \end_inset
13197
13198
13199 \end_layout
13200
13201 \end_inset
13202 </cell>
13203 <cell alignment="center" valignment="top" usebox="none">
13204 \begin_inset Text
13205
13206 \begin_layout Plain Layout
13207 0.53
13208 \end_layout
13209
13210 \end_inset
13211 </cell>
13212 <cell alignment="center" valignment="top" usebox="none">
13213 \begin_inset Text
13214
13215 \begin_layout Plain Layout
13216 0.37
13217 \end_layout
13218
13219 \end_inset
13220 </cell>
13221 <cell alignment="center" valignment="top" usebox="none">
13222 \begin_inset Text
13223
13224 \begin_layout Plain Layout
13225 0.39
13226 \end_layout
13227
13228 \end_inset
13229 </cell>
13230 </row>
13231 <row topspace="default">
13232 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13233 \begin_inset Text
13234
13235 \begin_layout Plain Layout
13236 \begin_inset ERT
13237 status collapsed
13238
13239 \begin_layout Plain Layout
13240
13241
13242 \backslash
13243 cmidrule(l{10pt}){1-1}
13244 \end_layout
13245
13246 \end_inset
13247
13248 LSF-spatial resolution
13249 \end_layout
13250
13251 \end_inset
13252 </cell>
13253 <cell alignment="center" valignment="top" usebox="none">
13254 \begin_inset Text
13255
13256 \begin_layout Plain Layout
13257
13258 \end_layout
13259
13260 \end_inset
13261 </cell>
13262 <cell alignment="center" valignment="top" usebox="none">
13263 \begin_inset Text
13264
13265 \begin_layout Plain Layout
13266
13267 \end_layout
13268
13269 \end_inset
13270 </cell>
13271 <cell alignment="center" valignment="top" usebox="none">
13272 \begin_inset Text
13273
13274 \begin_layout Plain Layout
13275
13276 \end_layout
13277
13278 \end_inset
13279 </cell>
13280 </row>
13281 <row>
13282 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13283 \begin_inset Text
13284
13285 \begin_layout Plain Layout
13286 in µm
13287 \end_layout
13288
13289 \end_inset
13290 </cell>
13291 <cell alignment="center" valignment="top" usebox="none">
13292 \begin_inset Text
13293
13294 \begin_layout Plain Layout
13295 129.7
13296 \end_layout
13297
13298 \end_inset
13299 </cell>
13300 <cell alignment="center" valignment="top" usebox="none">
13301 \begin_inset Text
13302
13303 \begin_layout Plain Layout
13304 52.75
13305 \end_layout
13306
13307 \end_inset
13308 </cell>
13309 <cell alignment="center" valignment="top" usebox="none">
13310 \begin_inset Text
13311
13312 \begin_layout Plain Layout
13313 50.78
13314 \end_layout
13315
13316 \end_inset
13317 </cell>
13318 </row>
13319 <row>
13320 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
13321 \begin_inset Text
13322
13323 \begin_layout Plain Layout
13324 in % of pixel size
13325 \end_layout
13326
13327 \end_inset
13328 </cell>
13329 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13330 \begin_inset Text
13331
13332 \begin_layout Plain Layout
13333 76.3
13334 \end_layout
13335
13336 \end_inset
13337 </cell>
13338 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13339 \begin_inset Text
13340
13341 \begin_layout Plain Layout
13342 95.9
13343 \end_layout
13344
13345 \end_inset
13346 </cell>
13347 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13348 \begin_inset Text
13349
13350 \begin_layout Plain Layout
13351 92.3
13352 \end_layout
13353
13354 \end_inset
13355 </cell>
13356 </row>
13357 </lyxtabular>
13358
13359 \end_inset
13360
13361
13362 \end_layout
13363
13364 \end_inset
13365
13366
13367 \end_layout
13368
13369 \begin_layout Standard
13370 Spaces to table rows can be added using the 
13371 \family sans
13372 Borders
13373 \family default
13374  tab of the table dialog as described in section
13375 \begin_inset space ~
13376 \end_inset
13377
13378
13379 \begin_inset CommandInset ref
13380 LatexCommand ref
13381 reference "sub:Row-Spacing"
13382
13383 \end_inset
13384
13385 .
13386 \end_layout
13387
13388 \begin_layout Standard
13389 Unlike normal tables, formal tables have no vertical table lines.
13390  The horizontal table lines can be set as for normal tables but they appear
13391  with different widths in the output:
13392 \begin_inset Newline newline
13393 \end_inset
13394
13395 The first and the last table line have a default width of 0.08
13396 \begin_inset space \thinspace{}
13397 \end_inset
13398
13399 em while the other lines have a default width of 0.05
13400 \begin_inset space \thinspace{}
13401 \end_inset
13402
13403 em.
13404 \end_layout
13405
13406 \begin_layout Standard
13407 The default widths can be changed with the following preamble lines
13408 \end_layout
13409
13410 \begin_layout Standard
13411
13412 \series bold
13413
13414 \backslash
13415 let
13416 \backslash
13417 mytoprule
13418 \backslash
13419 toprule
13420 \begin_inset Newline newline
13421 \end_inset
13422
13423
13424 \backslash
13425 renewcommand{
13426 \backslash
13427 toprule}{
13428 \backslash
13429 mytoprule[width]}
13430 \end_layout
13431
13432 \begin_layout Standard
13433 This example is for the first line, the so called 
13434 \series bold
13435 toprule
13436 \series default
13437 .
13438  If you want to change the width for the last line, replace 
13439 \series bold
13440 toprule
13441 \series default
13442  by 
13443 \series bold
13444 bottomrule
13445 \series default
13446 .
13447  To change the width for the other lines replace 
13448 \series bold
13449 toprule
13450 \series default
13451  by 
13452 \series bold
13453 midrule
13454 \series default
13455 .
13456  You can use all units listed in appendix
13457 \begin_inset space ~
13458 \end_inset
13459
13460
13461 \begin_inset CommandInset ref
13462 LatexCommand ref
13463 reference "cha:Units-available-in"
13464
13465 \end_inset
13466
13467  to set the width.
13468 \end_layout
13469
13470 \begin_layout Standard
13471 Lines that do not span all table columns can be created by setting a table
13472  line for multicolumn cells.
13473  LyX will then internally use the command 
13474 \series bold
13475
13476 \backslash
13477 cmidrule
13478 \series default
13479  to create this line.
13480  Its full scheme is
13481 \end_layout
13482
13483 \begin_layout Standard
13484
13485 \series bold
13486
13487 \backslash
13488 cmidrule[width](trim){startcol-endcol}
13489 \end_layout
13490
13491 \begin_layout Standard
13492 The options of 
13493 \series bold
13494
13495 \backslash
13496 cmidrule
13497 \series default
13498  are currently not supported by LyX so you have to use TeX-Code to be able
13499  to use them.
13500  
13501 \series bold
13502
13503 \backslash
13504 cmidrule
13505 \series default
13506 s can manually be created by inserting the command as TeX-Code as the first
13507  cell entry of the first cell of a row.
13508  The line is then drawn in the output above the current row.
13509 \end_layout
13510
13511 \begin_layout Standard
13512 The default for the width is 0.03
13513 \begin_inset space \thinspace{}
13514 \end_inset
13515
13516 em.
13517  Startcol is the number of the column where the line starts and endcol the
13518  column number where the line ends.
13519  The endcol always needs to be specified, also when the line should span
13520  only one column.
13521  The optional parameter trim could be either 
13522 \emph on
13523 l{trimwidth}
13524 \emph default
13525 , or 
13526 \emph on
13527 r{trimwidth}
13528 \emph default
13529  where the trimwidth is also optional.
13530  Using for example the parameter 
13531 \emph on
13532 l{2pt}
13533 \emph default
13534  means that the line is trimmed from its left end by 2
13535 \begin_inset space \thinspace{}
13536 \end_inset
13537
13538 pt.
13539  If you don't specify the trimwidth the lines are trimmed by the default
13540  of 0.5
13541 \begin_inset space \thinspace{}
13542 \end_inset
13543
13544 em.
13545 \end_layout
13546
13547 \begin_layout Standard
13548 \begin_inset VSpace bigskip
13549 \end_inset
13550
13551 Table
13552 \begin_inset space ~
13553 \end_inset
13554
13555
13556 \begin_inset CommandInset ref
13557 LatexCommand ref
13558 reference "tab:Example-booktabs-table"
13559
13560 \end_inset
13561
13562  was created using the commands
13563 \end_layout
13564
13565 \begin_layout Standard
13566
13567 \series bold
13568
13569 \backslash
13570 cmidrule(r){2-2}
13571 \backslash
13572 cmidrule(l){3-4}
13573 \end_layout
13574
13575 \begin_layout Standard
13576 at the beginning of the second row and
13577 \end_layout
13578
13579 \begin_layout Standard
13580
13581 \series bold
13582
13583 \backslash
13584 cmidrule(l{10pt}){1-1}
13585 \end_layout
13586
13587 \begin_layout Standard
13588 in the sixth row.
13589 \end_layout
13590
13591 \begin_layout Standard
13592 \begin_inset VSpace bigskip
13593 \end_inset
13594
13595
13596 \end_layout
13597
13598 \begin_layout Standard
13599 You might want to have overlapping 
13600 \series bold
13601
13602 \backslash
13603 cmidrule
13604 \series default
13605 s as in in Table
13606 \begin_inset space ~
13607 \end_inset
13608
13609
13610 \begin_inset CommandInset ref
13611 LatexCommand ref
13612 reference "tab:Special-booktabs-table"
13613
13614 \end_inset
13615
13616 .
13617  This can be achieved with the TeX-Code command
13618 \end_layout
13619
13620 \begin_layout Standard
13621
13622 \series bold
13623
13624 \backslash
13625 morecmidrules
13626 \end_layout
13627
13628 \begin_layout Standard
13629 The command that was used for the second row of Table
13630 \begin_inset space ~
13631 \end_inset
13632
13633
13634 \begin_inset CommandInset ref
13635 LatexCommand ref
13636 reference "tab:Special-booktabs-table"
13637
13638 \end_inset
13639
13640  is
13641 \end_layout
13642
13643 \begin_layout Standard
13644
13645 \series bold
13646
13647 \backslash
13648 cmidrule(r){2-2}
13649 \backslash
13650 cmidrule(l){3-4}
13651 \backslash
13652 morecmidrules
13653 \backslash
13654 cmidrule{2-4}
13655 \end_layout
13656
13657 \begin_layout Standard
13658 The command for the sixth row is
13659 \end_layout
13660
13661 \begin_layout Standard
13662
13663 \series bold
13664
13665 \backslash
13666 midrule
13667 \backslash
13668 morecmidrules
13669 \backslash
13670 cmidrule{3-4}
13671 \end_layout
13672
13673 \begin_layout Standard
13674 \begin_inset VSpace bigskip
13675 \end_inset
13676
13677
13678 \end_layout
13679
13680 \begin_layout Standard
13681 If you are anyway not satisfied with the border line spacing, you can use
13682  the following command to produce lines that span over all table columns
13683 \series bold
13684 :
13685 \end_layout
13686
13687 \begin_layout Standard
13688
13689 \series bold
13690
13691 \backslash
13692 specialrule{width}{space above}{space below}
13693 \end_layout
13694
13695 \begin_layout Standard
13696 For more information about these features, refer to the manual of the LaTeX-pack
13697 age 
13698 \series bold
13699 booktabs
13700 \series default
13701  
13702 \begin_inset CommandInset citation
13703 LatexCommand cite
13704 key "booktabs"
13705
13706 \end_inset
13707
13708 .
13709 \begin_inset Index idx
13710 status collapsed
13711
13712 \begin_layout Plain Layout
13713 LaTeX-packages ! booktabs
13714 \end_layout
13715
13716 \end_inset
13717
13718
13719 \end_layout
13720
13721 \begin_layout Standard
13722 \begin_inset Float table
13723 placement h
13724 wide false
13725 sideways false
13726 status open
13727
13728 \begin_layout Plain Layout
13729 \begin_inset Caption
13730
13731 \begin_layout Plain Layout
13732 \begin_inset CommandInset label
13733 LatexCommand label
13734 name "tab:Special-booktabs-table"
13735
13736 \end_inset
13737
13738 Special booktabs-table
13739 \end_layout
13740
13741 \end_inset
13742
13743
13744 \end_layout
13745
13746 \begin_layout Plain Layout
13747 \align center
13748 \begin_inset Tabular
13749 <lyxtabular version="3" rows="8" columns="4">
13750 <features booktabs="true" tabularvalignment="middle">
13751 <column alignment="center" valignment="top" width="0">
13752 <column alignment="center" valignment="top" width="0">
13753 <column alignment="center" valignment="top" width="0">
13754 <column alignment="center" valignment="top" width="0">
13755 <row>
13756 <cell alignment="center" valignment="top" topline="true" usebox="none">
13757 \begin_inset Text
13758
13759 \begin_layout Plain Layout
13760 System
13761 \end_layout
13762
13763 \end_inset
13764 </cell>
13765 <cell alignment="center" valignment="top" topline="true" usebox="none">
13766 \begin_inset Text
13767
13768 \begin_layout Plain Layout
13769 Chip
13770 \begin_inset space \thinspace{}
13771 \end_inset
13772
13773 1
13774 \end_layout
13775
13776 \end_inset
13777 </cell>
13778 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13779 \begin_inset Text
13780
13781 \begin_layout Plain Layout
13782 Chip
13783 \begin_inset space \thinspace{}
13784 \end_inset
13785
13786 2
13787 \end_layout
13788
13789 \end_inset
13790 </cell>
13791 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13792 \begin_inset Text
13793
13794 \begin_layout Plain Layout
13795
13796 \end_layout
13797
13798 \end_inset
13799 </cell>
13800 </row>
13801 <row>
13802 <cell alignment="center" valignment="top" usebox="none">
13803 \begin_inset Text
13804
13805 \begin_layout Plain Layout
13806 \begin_inset ERT
13807 status collapsed
13808
13809 \begin_layout Plain Layout
13810
13811
13812 \backslash
13813 cmidrule(r){2-2}
13814 \end_layout
13815
13816 \end_inset
13817
13818
13819 \begin_inset ERT
13820 status collapsed
13821
13822 \begin_layout Plain Layout
13823
13824
13825 \backslash
13826 cmidrule(l){3-4}
13827 \end_layout
13828
13829 \end_inset
13830
13831
13832 \begin_inset ERT
13833 status collapsed
13834
13835 \begin_layout Plain Layout
13836
13837
13838 \backslash
13839 morecmidrules 
13840 \end_layout
13841
13842 \end_inset
13843
13844
13845 \begin_inset ERT
13846 status collapsed
13847
13848 \begin_layout Plain Layout
13849
13850
13851 \backslash
13852 cmidrule{2-4}
13853 \end_layout
13854
13855 \end_inset
13856
13857 Detector thickness in µm
13858 \end_layout
13859
13860 \end_inset
13861 </cell>
13862 <cell alignment="center" valignment="top" usebox="none">
13863 \begin_inset Text
13864
13865 \begin_layout Plain Layout
13866 300
13867 \end_layout
13868
13869 \end_inset
13870 </cell>
13871 <cell alignment="center" valignment="top" usebox="none">
13872 \begin_inset Text
13873
13874 \begin_layout Plain Layout
13875 300
13876 \end_layout
13877
13878 \end_inset
13879 </cell>
13880 <cell alignment="center" valignment="top" usebox="none">
13881 \begin_inset Text
13882
13883 \begin_layout Plain Layout
13884 700
13885 \end_layout
13886
13887 \end_inset
13888 </cell>
13889 </row>
13890 <row>
13891 <cell alignment="center" valignment="top" topline="true" usebox="none">
13892 \begin_inset Text
13893
13894 \begin_layout Plain Layout
13895 Edge angle in °
13896 \end_layout
13897
13898 \end_inset
13899 </cell>
13900 <cell alignment="center" valignment="top" topline="true" usebox="none">
13901 \begin_inset Text
13902
13903 \begin_layout Plain Layout
13904 3.55
13905 \end_layout
13906
13907 \end_inset
13908 </cell>
13909 <cell alignment="center" valignment="top" topline="true" usebox="none">
13910 \begin_inset Text
13911
13912 \begin_layout Plain Layout
13913 2.71
13914 \end_layout
13915
13916 \end_inset
13917 </cell>
13918 <cell alignment="center" valignment="top" topline="true" usebox="none">
13919 \begin_inset Text
13920
13921 \begin_layout Plain Layout
13922 7.99
13923 \end_layout
13924
13925 \end_inset
13926 </cell>
13927 </row>
13928 <row topspace="default">
13929 <cell alignment="center" valignment="top" usebox="none">
13930 \begin_inset Text
13931
13932 \begin_layout Plain Layout
13933 Spatial resolution in µm
13934 \end_layout
13935
13936 \end_inset
13937 </cell>
13938 <cell alignment="center" valignment="top" usebox="none">
13939 \begin_inset Text
13940
13941 \begin_layout Plain Layout
13942 4.26
13943 \end_layout
13944
13945 \end_inset
13946 </cell>
13947 <cell alignment="center" valignment="top" usebox="none">
13948 \begin_inset Text
13949
13950 \begin_layout Plain Layout
13951 10.17
13952 \end_layout
13953
13954 \end_inset
13955 </cell>
13956 <cell alignment="center" valignment="top" usebox="none">
13957 \begin_inset Text
13958
13959 \begin_layout Plain Layout
13960 10.56
13961 \end_layout
13962
13963 \end_inset
13964 </cell>
13965 </row>
13966 <row topspace="default">
13967 <cell alignment="center" valignment="top" usebox="none">
13968 \begin_inset Text
13969
13970 \begin_layout Plain Layout
13971 MTF at 
13972 \begin_inset Formula $f_{\mathrm{max}}$
13973 \end_inset
13974
13975
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 0.53
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 0.37
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 0.39
14003 \end_layout
14004
14005 \end_inset
14006 </cell>
14007 </row>
14008 <row>
14009 <cell alignment="center" valignment="top" topline="true" usebox="none">
14010 \begin_inset Text
14011
14012 \begin_layout Plain Layout
14013 \begin_inset ERT
14014 status collapsed
14015
14016 \begin_layout Plain Layout
14017
14018
14019 \backslash
14020 morecmidrules 
14021 \end_layout
14022
14023 \end_inset
14024
14025
14026 \begin_inset ERT
14027 status collapsed
14028
14029 \begin_layout Plain Layout
14030
14031
14032 \backslash
14033 cmidrule{3-4}
14034 \end_layout
14035
14036 \end_inset
14037
14038 LSF-spatial resolution
14039 \end_layout
14040
14041 \end_inset
14042 </cell>
14043 <cell alignment="center" valignment="top" topline="true" usebox="none">
14044 \begin_inset Text
14045
14046 \begin_layout Plain Layout
14047
14048 \end_layout
14049
14050 \end_inset
14051 </cell>
14052 <cell alignment="center" valignment="top" topline="true" usebox="none">
14053 \begin_inset Text
14054
14055 \begin_layout Plain Layout
14056
14057 \end_layout
14058
14059 \end_inset
14060 </cell>
14061 <cell alignment="center" valignment="top" topline="true" usebox="none">
14062 \begin_inset Text
14063
14064 \begin_layout Plain Layout
14065
14066 \end_layout
14067
14068 \end_inset
14069 </cell>
14070 </row>
14071 <row>
14072 <cell alignment="center" valignment="top" usebox="none">
14073 \begin_inset Text
14074
14075 \begin_layout Plain Layout
14076 in µm
14077 \end_layout
14078
14079 \end_inset
14080 </cell>
14081 <cell alignment="center" valignment="top" usebox="none">
14082 \begin_inset Text
14083
14084 \begin_layout Plain Layout
14085 129.7
14086 \end_layout
14087
14088 \end_inset
14089 </cell>
14090 <cell alignment="center" valignment="top" usebox="none">
14091 \begin_inset Text
14092
14093 \begin_layout Plain Layout
14094 52.75
14095 \end_layout
14096
14097 \end_inset
14098 </cell>
14099 <cell alignment="center" valignment="top" usebox="none">
14100 \begin_inset Text
14101
14102 \begin_layout Plain Layout
14103 50.78
14104 \end_layout
14105
14106 \end_inset
14107 </cell>
14108 </row>
14109 <row>
14110 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14111 \begin_inset Text
14112
14113 \begin_layout Plain Layout
14114 in % of pixel size
14115 \end_layout
14116
14117 \end_inset
14118 </cell>
14119 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14120 \begin_inset Text
14121
14122 \begin_layout Plain Layout
14123 76.3
14124 \end_layout
14125
14126 \end_inset
14127 </cell>
14128 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14129 \begin_inset Text
14130
14131 \begin_layout Plain Layout
14132 95.9
14133 \end_layout
14134
14135 \end_inset
14136 </cell>
14137 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14138 \begin_inset Text
14139
14140 \begin_layout Plain Layout
14141 92.3
14142 \end_layout
14143
14144 \end_inset
14145 </cell>
14146 </row>
14147 </lyxtabular>
14148
14149 \end_inset
14150
14151
14152 \end_layout
14153
14154 \end_inset
14155
14156
14157 \end_layout
14158
14159 \begin_layout Section
14160 Vertical Table Alignment
14161 \begin_inset Index idx
14162 status collapsed
14163
14164 \begin_layout Plain Layout
14165 Table ! Alignment
14166 \end_layout
14167
14168 \end_inset
14169
14170
14171 \end_layout
14172
14173 \begin_layout Standard
14174 To align tables vertically in a text line the table must be inside a box.
14175  The box can then be vertically aligned as described in section
14176 \begin_inset space ~
14177 \end_inset
14178
14179
14180 \begin_inset CommandInset ref
14181 LatexCommand ref
14182 reference "sec:Box-Dialog"
14183
14184 \end_inset
14185
14186 .
14187 \end_layout
14188
14189 \begin_layout Standard
14190 In the following example the tables are inside a minipage
14191 \begin_inset Foot
14192 status collapsed
14193
14194 \begin_layout Plain Layout
14195 Minipages are described in section
14196 \begin_inset space ~
14197 \end_inset
14198
14199
14200 \begin_inset CommandInset ref
14201 LatexCommand ref
14202 reference "sec:Minipages"
14203
14204 \end_inset
14205
14206 .
14207 \end_layout
14208
14209 \end_inset
14210
14211  box that has a width of 15
14212 \begin_inset space \thinspace{}
14213 \end_inset
14214
14215 col%:
14216 \end_layout
14217
14218 \begin_layout Itemize
14219 test 
14220 \begin_inset Box Frameless
14221 position "t"
14222 hor_pos "c"
14223 has_inner_box 1
14224 inner_pos "c"
14225 use_parbox 0
14226 use_makebox 0
14227 width "15col%"
14228 special "none"
14229 height "1in"
14230 height_special "totalheight"
14231 status collapsed
14232
14233 \begin_layout Plain Layout
14234 \begin_inset Tabular
14235 <lyxtabular version="3" rows="3" columns="3">
14236 <features tabularvalignment="middle">
14237 <column alignment="center" valignment="top" width="0">
14238 <column alignment="center" valignment="top" width="0">
14239 <column alignment="center" valignment="top" width="0">
14240 <row>
14241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14242 \begin_inset Text
14243
14244 \begin_layout Plain Layout
14245 a
14246 \end_layout
14247
14248 \end_inset
14249 </cell>
14250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14251 \begin_inset Text
14252
14253 \begin_layout Plain Layout
14254 d
14255 \end_layout
14256
14257 \end_inset
14258 </cell>
14259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14260 \begin_inset Text
14261
14262 \begin_layout Plain Layout
14263 g
14264 \end_layout
14265
14266 \end_inset
14267 </cell>
14268 </row>
14269 <row>
14270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14271 \begin_inset Text
14272
14273 \begin_layout Plain Layout
14274 b
14275 \end_layout
14276
14277 \end_inset
14278 </cell>
14279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14280 \begin_inset Text
14281
14282 \begin_layout Plain Layout
14283 e
14284 \end_layout
14285
14286 \end_inset
14287 </cell>
14288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14289 \begin_inset Text
14290
14291 \begin_layout Plain Layout
14292 h
14293 \end_layout
14294
14295 \end_inset
14296 </cell>
14297 </row>
14298 <row>
14299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14300 \begin_inset Text
14301
14302 \begin_layout Plain Layout
14303 c
14304 \end_layout
14305
14306 \end_inset
14307 </cell>
14308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14309 \begin_inset Text
14310
14311 \begin_layout Plain Layout
14312 f
14313 \end_layout
14314
14315 \end_inset
14316 </cell>
14317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14318 \begin_inset Text
14319
14320 \begin_layout Plain Layout
14321 i
14322 \end_layout
14323
14324 \end_inset
14325 </cell>
14326 </row>
14327 </lyxtabular>
14328
14329 \end_inset
14330
14331
14332 \end_layout
14333
14334 \end_inset
14335
14336  test 
14337 \begin_inset ERT
14338 status collapsed
14339
14340 \begin_layout Plain Layout
14341
14342
14343 \backslash
14344 raisebox{0.85
14345 \backslash
14346 baselineskip}{
14347 \end_layout
14348
14349 \end_inset
14350
14351
14352 \begin_inset Box Frameless
14353 position "t"
14354 hor_pos "c"
14355 has_inner_box 1
14356 inner_pos "c"
14357 use_parbox 0
14358 use_makebox 0
14359 width "15col%"
14360 special "none"
14361 height "1in"
14362 height_special "totalheight"
14363 status collapsed
14364
14365 \begin_layout Plain Layout
14366 \begin_inset Tabular
14367 <lyxtabular version="3" rows="3" columns="3">
14368 <features tabularvalignment="middle">
14369 <column alignment="center" valignment="top" width="0">
14370 <column alignment="center" valignment="top" width="0">
14371 <column alignment="center" valignment="top" width="0">
14372 <row>
14373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14374 \begin_inset Text
14375
14376 \begin_layout Plain Layout
14377 a
14378 \end_layout
14379
14380 \end_inset
14381 </cell>
14382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14383 \begin_inset Text
14384
14385 \begin_layout Plain Layout
14386 d
14387 \end_layout
14388
14389 \end_inset
14390 </cell>
14391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14392 \begin_inset Text
14393
14394 \begin_layout Plain Layout
14395 g
14396 \end_layout
14397
14398 \end_inset
14399 </cell>
14400 </row>
14401 <row>
14402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14403 \begin_inset Text
14404
14405 \begin_layout Plain Layout
14406 b
14407 \end_layout
14408
14409 \end_inset
14410 </cell>
14411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14412 \begin_inset Text
14413
14414 \begin_layout Plain Layout
14415 e
14416 \end_layout
14417
14418 \end_inset
14419 </cell>
14420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14421 \begin_inset Text
14422
14423 \begin_layout Plain Layout
14424 h
14425 \end_layout
14426
14427 \end_inset
14428 </cell>
14429 </row>
14430 <row>
14431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14432 \begin_inset Text
14433
14434 \begin_layout Plain Layout
14435 c
14436 \end_layout
14437
14438 \end_inset
14439 </cell>
14440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14441 \begin_inset Text
14442
14443 \begin_layout Plain Layout
14444 f
14445 \end_layout
14446
14447 \end_inset
14448 </cell>
14449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14450 \begin_inset Text
14451
14452 \begin_layout Plain Layout
14453 i
14454 \end_layout
14455
14456 \end_inset
14457 </cell>
14458 </row>
14459 </lyxtabular>
14460
14461 \end_inset
14462
14463
14464 \end_layout
14465
14466 \end_inset
14467
14468
14469 \begin_inset ERT
14470 status collapsed
14471
14472 \begin_layout Plain Layout
14473
14474 }
14475 \end_layout
14476
14477 \end_inset
14478
14479
14480 \end_layout
14481
14482 \begin_layout Itemize
14483 test 
14484 \begin_inset Box Frameless
14485 position "c"
14486 hor_pos "c"
14487 has_inner_box 1
14488 inner_pos "c"
14489 use_parbox 0
14490 use_makebox 0
14491 width "15col%"
14492 special "none"
14493 height "1in"
14494 height_special "totalheight"
14495 status collapsed
14496
14497 \begin_layout Plain Layout
14498 \begin_inset Tabular
14499 <lyxtabular version="3" rows="3" columns="3">
14500 <features tabularvalignment="middle">
14501 <column alignment="center" valignment="top" width="0">
14502 <column alignment="center" valignment="top" width="0">
14503 <column alignment="center" valignment="top" width="0">
14504 <row>
14505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14506 \begin_inset Text
14507
14508 \begin_layout Plain Layout
14509 a
14510 \end_layout
14511
14512 \end_inset
14513 </cell>
14514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14515 \begin_inset Text
14516
14517 \begin_layout Plain Layout
14518 d
14519 \end_layout
14520
14521 \end_inset
14522 </cell>
14523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14524 \begin_inset Text
14525
14526 \begin_layout Plain Layout
14527 g
14528 \end_layout
14529
14530 \end_inset
14531 </cell>
14532 </row>
14533 <row>
14534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14535 \begin_inset Text
14536
14537 \begin_layout Plain Layout
14538 b
14539 \end_layout
14540
14541 \end_inset
14542 </cell>
14543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14544 \begin_inset Text
14545
14546 \begin_layout Plain Layout
14547 e
14548 \end_layout
14549
14550 \end_inset
14551 </cell>
14552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14553 \begin_inset Text
14554
14555 \begin_layout Plain Layout
14556 h
14557 \end_layout
14558
14559 \end_inset
14560 </cell>
14561 </row>
14562 <row>
14563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14564 \begin_inset Text
14565
14566 \begin_layout Plain Layout
14567 c
14568 \end_layout
14569
14570 \end_inset
14571 </cell>
14572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14573 \begin_inset Text
14574
14575 \begin_layout Plain Layout
14576 f
14577 \end_layout
14578
14579 \end_inset
14580 </cell>
14581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14582 \begin_inset Text
14583
14584 \begin_layout Plain Layout
14585 i
14586 \end_layout
14587
14588 \end_inset
14589 </cell>
14590 </row>
14591 </lyxtabular>
14592
14593 \end_inset
14594
14595
14596 \end_layout
14597
14598 \end_inset
14599
14600
14601 \end_layout
14602
14603 \begin_layout Itemize
14604 test 
14605 \begin_inset Box Frameless
14606 position "b"
14607 hor_pos "c"
14608 has_inner_box 1
14609 inner_pos "c"
14610 use_parbox 0
14611 use_makebox 0
14612 width "15col%"
14613 special "none"
14614 height "1in"
14615 height_special "totalheight"
14616 status collapsed
14617
14618 \begin_layout Plain Layout
14619 \begin_inset Tabular
14620 <lyxtabular version="3" rows="3" columns="3">
14621 <features tabularvalignment="middle">
14622 <column alignment="center" valignment="top" width="0">
14623 <column alignment="center" valignment="top" width="0">
14624 <column alignment="center" valignment="top" width="0">
14625 <row>
14626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14627 \begin_inset Text
14628
14629 \begin_layout Plain Layout
14630 a
14631 \end_layout
14632
14633 \end_inset
14634 </cell>
14635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14636 \begin_inset Text
14637
14638 \begin_layout Plain Layout
14639 d
14640 \end_layout
14641
14642 \end_inset
14643 </cell>
14644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14645 \begin_inset Text
14646
14647 \begin_layout Plain Layout
14648 g
14649 \end_layout
14650
14651 \end_inset
14652 </cell>
14653 </row>
14654 <row>
14655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14656 \begin_inset Text
14657
14658 \begin_layout Plain Layout
14659 b
14660 \end_layout
14661
14662 \end_inset
14663 </cell>
14664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14665 \begin_inset Text
14666
14667 \begin_layout Plain Layout
14668 e
14669 \end_layout
14670
14671 \end_inset
14672 </cell>
14673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14674 \begin_inset Text
14675
14676 \begin_layout Plain Layout
14677 h
14678 \end_layout
14679
14680 \end_inset
14681 </cell>
14682 </row>
14683 <row>
14684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14685 \begin_inset Text
14686
14687 \begin_layout Plain Layout
14688 c
14689 \end_layout
14690
14691 \end_inset
14692 </cell>
14693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14694 \begin_inset Text
14695
14696 \begin_layout Plain Layout
14697 f
14698 \end_layout
14699
14700 \end_inset
14701 </cell>
14702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14703 \begin_inset Text
14704
14705 \begin_layout Plain Layout
14706 i
14707 \end_layout
14708
14709 \end_inset
14710 </cell>
14711 </row>
14712 </lyxtabular>
14713
14714 \end_inset
14715
14716
14717 \end_layout
14718
14719 \end_inset
14720
14721  test 
14722 \begin_inset ERT
14723 status collapsed
14724
14725 \begin_layout Plain Layout
14726
14727
14728 \backslash
14729 raisebox{-0.32
14730 \backslash
14731 baselineskip}{
14732 \end_layout
14733
14734 \end_inset
14735
14736
14737 \begin_inset Box Frameless
14738 position "b"
14739 hor_pos "c"
14740 has_inner_box 1
14741 inner_pos "c"
14742 use_parbox 0
14743 use_makebox 0
14744 width "15col%"
14745 special "none"
14746 height "1in"
14747 height_special "totalheight"
14748 status collapsed
14749
14750 \begin_layout Plain Layout
14751 \begin_inset Tabular
14752 <lyxtabular version="3" rows="3" columns="3">
14753 <features tabularvalignment="middle">
14754 <column alignment="center" valignment="top" width="0">
14755 <column alignment="center" valignment="top" width="0">
14756 <column alignment="center" valignment="top" width="0">
14757 <row>
14758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14759 \begin_inset Text
14760
14761 \begin_layout Plain Layout
14762 a
14763 \end_layout
14764
14765 \end_inset
14766 </cell>
14767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14768 \begin_inset Text
14769
14770 \begin_layout Plain Layout
14771 d
14772 \end_layout
14773
14774 \end_inset
14775 </cell>
14776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14777 \begin_inset Text
14778
14779 \begin_layout Plain Layout
14780 g
14781 \end_layout
14782
14783 \end_inset
14784 </cell>
14785 </row>
14786 <row>
14787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14788 \begin_inset Text
14789
14790 \begin_layout Plain Layout
14791 b
14792 \end_layout
14793
14794 \end_inset
14795 </cell>
14796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14797 \begin_inset Text
14798
14799 \begin_layout Plain Layout
14800 e
14801 \end_layout
14802
14803 \end_inset
14804 </cell>
14805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14806 \begin_inset Text
14807
14808 \begin_layout Plain Layout
14809 h
14810 \end_layout
14811
14812 \end_inset
14813 </cell>
14814 </row>
14815 <row>
14816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14817 \begin_inset Text
14818
14819 \begin_layout Plain Layout
14820 c
14821 \end_layout
14822
14823 \end_inset
14824 </cell>
14825 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14826 \begin_inset Text
14827
14828 \begin_layout Plain Layout
14829 f
14830 \end_layout
14831
14832 \end_inset
14833 </cell>
14834 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14835 \begin_inset Text
14836
14837 \begin_layout Plain Layout
14838 i
14839 \end_layout
14840
14841 \end_inset
14842 </cell>
14843 </row>
14844 </lyxtabular>
14845
14846 \end_inset
14847
14848
14849 \end_layout
14850
14851 \end_inset
14852
14853
14854 \begin_inset ERT
14855 status collapsed
14856
14857 \begin_layout Plain Layout
14858
14859 }
14860 \end_layout
14861
14862 \end_inset
14863
14864
14865 \end_layout
14866
14867 \begin_layout Standard
14868 As you will see, the content of the first and last table row is not correctly
14869  aligned.
14870  To get this alignment, the minipage box must be set into a raisebox
14871 \begin_inset Foot
14872 status collapsed
14873
14874 \begin_layout Plain Layout
14875 Raiseboxes are described in section
14876 \begin_inset space ~
14877 \end_inset
14878
14879
14880 \begin_inset CommandInset ref
14881 LatexCommand ref
14882 reference "sub:Vertical-Alignment"
14883
14884 \end_inset
14885
14886 .
14887 \end_layout
14888
14889 \end_inset
14890
14891 .
14892  In the example above the second table in the first item is aligned using
14893  the TeX-Code-command
14894 \end_layout
14895
14896 \begin_layout Standard
14897
14898 \series bold
14899
14900 \backslash
14901 raisebox{0.85
14902 \backslash
14903 baselineskip}{
14904 \end_layout
14905
14906 \begin_layout Standard
14907 before the box.
14908  After the box the closing brace 
14909 \series bold
14910 }
14911 \series default
14912  is inserted as TeX-Code.
14913  For the second table in the last item the command
14914 \end_layout
14915
14916 \begin_layout Standard
14917
14918 \series bold
14919
14920 \backslash
14921 raisebox{-0.32
14922 \backslash
14923 baselineskip}{
14924 \end_layout
14925
14926 \begin_layout Standard
14927 is used.
14928 \end_layout
14929
14930 \begin_layout Standard
14931 \begin_inset Note Greyedout
14932 status open
14933
14934 \begin_layout Plain Layout
14935
14936 \series bold
14937 Note:
14938 \series default
14939  The alignment of the table row content to the surrounding text line is
14940  not exact.
14941  The required value for the 
14942 \series bold
14943
14944 \backslash
14945 raisebox
14946 \series default
14947  command for this alignment depends on the document font, the font size,
14948  and the table line thickness.
14949 \end_layout
14950
14951 \end_inset
14952
14953
14954 \end_layout
14955
14956 \begin_layout Section
14957 Colored Tables
14958 \begin_inset CommandInset label
14959 LatexCommand label
14960 name "sec:Colored-Tables"
14961
14962 \end_inset
14963
14964
14965 \begin_inset Index idx
14966 status collapsed
14967
14968 \begin_layout Plain Layout
14969 Table ! Color
14970 \end_layout
14971
14972 \end_inset
14973
14974
14975 \end_layout
14976
14977 \begin_layout Subsection
14978 Colored Cells
14979 \begin_inset Index idx
14980 status collapsed
14981
14982 \begin_layout Plain Layout
14983 Table Color ! for Cells
14984 \end_layout
14985
14986 \end_inset
14987
14988
14989 \begin_inset Index idx
14990 status collapsed
14991
14992 \begin_layout Plain Layout
14993 Color ! for Table Cells
14994 \end_layout
14995
14996 \end_inset
14997
14998
14999 \end_layout
15000
15001 \begin_layout Standard
15002 \begin_inset Float table
15003 placement h
15004 wide false
15005 sideways false
15006 status open
15007
15008 \begin_layout Plain Layout
15009 \begin_inset Caption
15010
15011 \begin_layout Plain Layout
15012 \begin_inset CommandInset label
15013 LatexCommand label
15014 name "tab:Table-colored-without"
15015
15016 \end_inset
15017
15018 Table colored without using the package 
15019 \series bold
15020 colortbl
15021 \series default
15022
15023 \begin_inset Argument
15024 status collapsed
15025
15026 \begin_layout Plain Layout
15027 Table without colortbl
15028 \end_layout
15029
15030 \end_inset
15031
15032
15033 \end_layout
15034
15035 \end_inset
15036
15037
15038 \end_layout
15039
15040 \begin_layout Plain Layout
15041 \align center
15042 \begin_inset Tabular
15043 <lyxtabular version="3" rows="3" columns="3">
15044 <features tabularvalignment="middle">
15045 <column alignment="center" valignment="top" width="0">
15046 <column alignment="center" valignment="top" width="0">
15047 <column alignment="center" valignment="top" width="0">
15048 <row>
15049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15050 \begin_inset Text
15051
15052 \begin_layout Plain Layout
15053
15054 \color green
15055 a
15056 \end_layout
15057
15058 \end_inset
15059 </cell>
15060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15061 \begin_inset Text
15062
15063 \begin_layout Plain Layout
15064
15065 \color red
15066 b
15067 \end_layout
15068
15069 \end_inset
15070 </cell>
15071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15072 \begin_inset Text
15073
15074 \begin_layout Plain Layout
15075
15076 \color red
15077 c
15078 \end_layout
15079
15080 \end_inset
15081 </cell>
15082 </row>
15083 <row>
15084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15085 \begin_inset Text
15086
15087 \begin_layout Plain Layout
15088
15089 \color green
15090 d
15091 \end_layout
15092
15093 \end_inset
15094 </cell>
15095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15096 \begin_inset Text
15097
15098 \begin_layout Plain Layout
15099
15100 \color blue
15101 e
15102 \end_layout
15103
15104 \end_inset
15105 </cell>
15106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15107 \begin_inset Text
15108
15109 \begin_layout Plain Layout
15110
15111 \color blue
15112 f
15113 \end_layout
15114
15115 \end_inset
15116 </cell>
15117 </row>
15118 <row>
15119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15120 \begin_inset Text
15121
15122 \begin_layout Plain Layout
15123
15124 \color green
15125 g
15126 \end_layout
15127
15128 \end_inset
15129 </cell>
15130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15131 \begin_inset Text
15132
15133 \begin_layout Plain Layout
15134
15135 \color blue
15136 h
15137 \end_layout
15138
15139 \end_inset
15140 </cell>
15141 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15142 \begin_inset Text
15143
15144 \begin_layout Plain Layout
15145
15146 \color blue
15147 i
15148 \end_layout
15149
15150 \end_inset
15151 </cell>
15152 </row>
15153 </lyxtabular>
15154
15155 \end_inset
15156
15157
15158 \end_layout
15159
15160 \end_inset
15161
15162
15163 \end_layout
15164
15165 \begin_layout Standard
15166 If you only need colored text, mark the cells and choose a color in the
15167  menu 
15168 \family sans
15169 Edit\SpecialChar \menuseparator
15170 Text
15171 \begin_inset space ~
15172 \end_inset
15173
15174 Style
15175 \family default
15176 .
15177  This was used to create Table
15178 \begin_inset space ~
15179 \end_inset
15180
15181
15182 \begin_inset CommandInset ref
15183 LatexCommand ref
15184 reference "tab:Table-colored-without"
15185
15186 \end_inset
15187
15188 .
15189  In any other case you have to use the LaTeX-package 
15190 \series bold
15191 colortbl
15192 \series default
15193 .
15194 \begin_inset Index idx
15195 status collapsed
15196
15197 \begin_layout Plain Layout
15198 LaTeX-packages ! colortbl
15199 \end_layout
15200
15201 \end_inset
15202
15203
15204 \end_layout
15205
15206 \begin_layout Standard
15207 \begin_inset ERT
15208 status collapsed
15209
15210 \begin_layout Plain Layout
15211
15212
15213 \backslash
15214 ifcolortbl
15215 \end_layout
15216
15217 \end_inset
15218
15219
15220 \begin_inset Note Note
15221 status open
15222
15223 \begin_layout Plain Layout
15224 The following section part will only be displayed when the LaTeX-package
15225  
15226 \series bold
15227 colortbl
15228 \series default
15229  is installed.
15230 \end_layout
15231
15232 \end_inset
15233
15234
15235 \end_layout
15236
15237 \begin_layout Standard
15238 To create colored tables, 
15239 \series bold
15240 colortbl
15241 \series default
15242  must be loaded in the preamble with the line
15243 \end_layout
15244
15245 \begin_layout Standard
15246
15247 \series bold
15248
15249 \backslash
15250 usepackage{colortbl}
15251 \end_layout
15252
15253 \begin_layout Standard
15254 The color of a column is adjusted with the command
15255 \end_layout
15256
15257 \begin_layout Standard
15258
15259 \series bold
15260
15261 \backslash
15262 columncolor{name of color}
15263 \end_layout
15264
15265 \begin_layout Standard
15266 inside the command 
15267 \series bold
15268 >{ }
15269 \series default
15270 .
15271  More about the command 
15272 \series bold
15273 >{}
15274 \series default
15275  is contained in section
15276 \begin_inset space ~
15277 \end_inset
15278
15279
15280 \begin_inset CommandInset ref
15281 LatexCommand ref
15282 reference "sub:Multicolumn-Calculations"
15283
15284 \end_inset
15285
15286 .
15287 \end_layout
15288
15289 \begin_layout Standard
15290 The following color names are predefined:
15291 \end_layout
15292
15293 \begin_layout Standard
15294
15295 \family sans
15296 red
15297 \family default
15298
15299 \family sans
15300 green
15301 \family default
15302
15303 \family sans
15304 yellow
15305 \family default
15306
15307 \family sans
15308 blue
15309 \family default
15310
15311 \family sans
15312 cyan
15313 \family default
15314
15315 \family sans
15316 magenta
15317 \family default
15318
15319 \family sans
15320 black
15321 \family default
15322  and 
15323 \family sans
15324 white
15325 \end_layout
15326
15327 \begin_layout Standard
15328 \begin_inset VSpace medskip
15329 \end_inset
15330
15331
15332 \end_layout
15333
15334 \begin_layout Standard
15335 You can also define your own color with the command
15336 \end_layout
15337
15338 \begin_layout Standard
15339
15340 \series bold
15341
15342 \backslash
15343 definecolor{color name}{color model}{color values}
15344 \end_layout
15345
15346 \begin_layout Standard
15347 The color model can be
15348 \end_layout
15349
15350 \begin_layout Labeling
15351 \labelwidthstring 00.00.0000
15352 cmyk: cyan, magenta, yellow, black
15353 \end_layout
15354
15355 \begin_layout Labeling
15356 \labelwidthstring 00.00.0000
15357 rgb: red, green blue
15358 \end_layout
15359
15360 \begin_layout Labeling
15361 \labelwidthstring 00.00.0000
15362 gray gray
15363 \end_layout
15364
15365 \begin_layout Standard
15366 and the color values are comma separated numbers between 0 and 1 describing
15367  the factor for the corresponding color of the color model.
15368 \end_layout
15369
15370 \begin_layout Standard
15371 You can e.
15372 \begin_inset space \thinspace{}
15373 \end_inset
15374
15375 g.
15376 \begin_inset space \space{}
15377 \end_inset
15378
15379 define the color "
15380 \emph on
15381 darkgreen
15382 \emph default
15383 " in the preamble with
15384 \end_layout
15385
15386 \begin_layout Standard
15387
15388 \series bold
15389
15390 \backslash
15391 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
15392 \end_layout
15393
15394 \begin_layout Standard
15395 and the color "
15396 \emph on
15397 lightgray
15398 \emph default
15399 " with
15400 \end_layout
15401
15402 \begin_layout Standard
15403
15404 \series bold
15405
15406 \backslash
15407 definecolor{lightgray}{gray}{0.8}
15408 \end_layout
15409
15410 \begin_layout Standard
15411 \begin_inset VSpace medskip
15412 \end_inset
15413
15414
15415 \end_layout
15416
15417 \begin_layout Standard
15418 Lines are colored with the command
15419 \end_layout
15420
15421 \begin_layout Standard
15422
15423 \series bold
15424
15425 \backslash
15426 rowcolor{name of color}
15427 \end_layout
15428
15429 \begin_layout Standard
15430 and cells are colored with the command
15431 \end_layout
15432
15433 \begin_layout Standard
15434
15435 \series bold
15436
15437 \backslash
15438 cellcolor{name of color}
15439 \end_layout
15440
15441 \begin_layout Standard
15442 Both commands are inserted at the beginning of a cell as TeX-Code.
15443 \end_layout
15444
15445 \begin_layout Standard
15446 To color characters in the table, mark the cells and use the LyX menu 
15447 \family sans
15448 Edit\SpecialChar \menuseparator
15449 Text
15450 \begin_inset space ~
15451 \end_inset
15452
15453 Style
15454 \family default
15455 .
15456  If a cell contains TeX-Code mark only the characters, otherwise the colored
15457  TeX-Code will cause LaTeX-errors.
15458 \end_layout
15459
15460 \begin_layout Standard
15461 \begin_inset Note Greyedout
15462 status open
15463
15464 \begin_layout Plain Layout
15465
15466 \series bold
15467 Note:
15468 \series default
15469  Not all DVI-viewers are able to display self-defined colors.
15470 \end_layout
15471
15472 \end_inset
15473
15474
15475 \end_layout
15476
15477 \begin_layout Standard
15478 \begin_inset VSpace bigskip
15479 \end_inset
15480
15481
15482 \end_layout
15483
15484 \begin_layout Standard
15485 To create Table
15486 \begin_inset space ~
15487 \end_inset
15488
15489
15490 \begin_inset CommandInset ref
15491 LatexCommand ref
15492 reference "tab:Table-colored-using"
15493
15494 \end_inset
15495
15496  do the following: The color of the first column should be 
15497 \emph on
15498 darkgreen
15499 \emph default
15500 .
15501  So insert
15502 \end_layout
15503
15504 \begin_layout Standard
15505
15506 \series bold
15507 >{
15508 \backslash
15509 columncolor{darkgreen}
15510 \backslash
15511 centering}c
15512 \end_layout
15513
15514 \begin_layout Standard
15515 as LaTeX-argument for this column.
15516  The first row should be blue, therefore the TeX-Code command
15517 \end_layout
15518
15519 \begin_layout Standard
15520
15521 \series bold
15522
15523 \backslash
15524 rowcolor{cyan}
15525 \end_layout
15526
15527 \begin_layout Standard
15528 is inserted to the first cell of this row.
15529  Note that this overwrites the column color for the first cell.
15530  The last cell of the last row is colored magenta by inserting the TeX-Code
15531  command
15532 \end_layout
15533
15534 \begin_layout Standard
15535
15536 \series bold
15537
15538 \backslash
15539 cellcolor{magenta}
15540 \end_layout
15541
15542 \begin_layout Standard
15543 The characters could now be colored using the menu 
15544 \family sans
15545 Edit\SpecialChar \menuseparator
15546 Text
15547 \begin_inset space ~
15548 \end_inset
15549
15550 Style
15551 \family default
15552 .
15553 \end_layout
15554
15555 \begin_layout Standard
15556 \begin_inset Float table
15557 placement h
15558 wide false
15559 sideways false
15560 status open
15561
15562 \begin_layout Plain Layout
15563 \begin_inset Caption
15564
15565 \begin_layout Plain Layout
15566 \begin_inset CommandInset label
15567 LatexCommand label
15568 name "tab:Table-colored-using"
15569
15570 \end_inset
15571
15572 Table colored using the package 
15573 \series bold
15574 colortbl
15575 \series default
15576
15577 \begin_inset Argument
15578 status collapsed
15579
15580 \begin_layout Plain Layout
15581 Table with colortbl
15582 \end_layout
15583
15584 \end_inset
15585
15586
15587 \end_layout
15588
15589 \end_inset
15590
15591
15592 \end_layout
15593
15594 \begin_layout Plain Layout
15595 \align center
15596 \begin_inset Tabular
15597 <lyxtabular version="3" rows="3" columns="3">
15598 <features tabularvalignment="middle">
15599 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15600 <column alignment="center" valignment="top" width="0">
15601 <column alignment="center" valignment="top" width="0">
15602 <row>
15603 <cell alignment="center" valignment="top" usebox="none">
15604 \begin_inset Text
15605
15606 \begin_layout Plain Layout
15607 \begin_inset ERT
15608 status collapsed
15609
15610 \begin_layout Plain Layout
15611
15612
15613 \backslash
15614 rowcolor{cyan}
15615 \end_layout
15616
15617 \end_inset
15618
15619
15620 \color magenta
15621 a
15622 \end_layout
15623
15624 \end_inset
15625 </cell>
15626 <cell alignment="center" valignment="top" usebox="none">
15627 \begin_inset Text
15628
15629 \begin_layout Plain Layout
15630
15631 \color red
15632 b
15633 \end_layout
15634
15635 \end_inset
15636 </cell>
15637 <cell alignment="center" valignment="top" usebox="none">
15638 \begin_inset Text
15639
15640 \begin_layout Plain Layout
15641
15642 \color red
15643 c
15644 \end_layout
15645
15646 \end_inset
15647 </cell>
15648 </row>
15649 <row>
15650 <cell alignment="center" valignment="top" usebox="none">
15651 \begin_inset Text
15652
15653 \begin_layout Plain Layout
15654
15655 \color yellow
15656 d
15657 \end_layout
15658
15659 \end_inset
15660 </cell>
15661 <cell alignment="center" valignment="top" usebox="none">
15662 \begin_inset Text
15663
15664 \begin_layout Plain Layout
15665
15666 \color blue
15667 e
15668 \end_layout
15669
15670 \end_inset
15671 </cell>
15672 <cell alignment="center" valignment="top" usebox="none">
15673 \begin_inset Text
15674
15675 \begin_layout Plain Layout
15676
15677 \color blue
15678 f
15679 \end_layout
15680
15681 \end_inset
15682 </cell>
15683 </row>
15684 <row>
15685 <cell alignment="center" valignment="top" usebox="none">
15686 \begin_inset Text
15687
15688 \begin_layout Plain Layout
15689
15690 \color yellow
15691 g
15692 \end_layout
15693
15694 \end_inset
15695 </cell>
15696 <cell alignment="center" valignment="top" usebox="none">
15697 \begin_inset Text
15698
15699 \begin_layout Plain Layout
15700
15701 \color blue
15702 h
15703 \end_layout
15704
15705 \end_inset
15706 </cell>
15707 <cell alignment="center" valignment="top" usebox="none">
15708 \begin_inset Text
15709
15710 \begin_layout Plain Layout
15711 \begin_inset ERT
15712 status collapsed
15713
15714 \begin_layout Plain Layout
15715
15716
15717 \backslash
15718 cellcolor{magenta}
15719 \end_layout
15720
15721 \end_inset
15722
15723
15724 \color green
15725 i
15726 \end_layout
15727
15728 \end_inset
15729 </cell>
15730 </row>
15731 </lyxtabular>
15732
15733 \end_inset
15734
15735
15736 \end_layout
15737
15738 \end_inset
15739
15740
15741 \end_layout
15742
15743 \begin_layout Standard
15744 \begin_inset ERT
15745 status collapsed
15746
15747 \begin_layout Plain Layout
15748
15749
15750 \backslash
15751 else
15752 \end_layout
15753
15754 \end_inset
15755
15756
15757 \begin_inset Note Note
15758 status open
15759
15760 \begin_layout Plain Layout
15761 The following will be displayed when the LaTeX-package 
15762 \series bold
15763 colortbl
15764 \series default
15765  is not installed:
15766 \end_layout
15767
15768 \end_inset
15769
15770
15771 \end_layout
15772
15773 \begin_layout Standard
15774 You need to install the package 
15775 \series bold
15776 colortbl
15777 \series default
15778  to see the content of this section in the output.
15779 \end_layout
15780
15781 \begin_layout Standard
15782 \begin_inset ERT
15783 status collapsed
15784
15785 \begin_layout Plain Layout
15786
15787
15788 \backslash
15789 fi
15790 \end_layout
15791
15792 \end_inset
15793
15794
15795 \end_layout
15796
15797 \begin_layout Subsection
15798 Colored Lines
15799 \begin_inset Index idx
15800 status collapsed
15801
15802 \begin_layout Plain Layout
15803 Table Color ! for Lines
15804 \end_layout
15805
15806 \end_inset
15807
15808
15809 \begin_inset Index idx
15810 status collapsed
15811
15812 \begin_layout Plain Layout
15813 Color ! for Table Lines
15814 \end_layout
15815
15816 \end_inset
15817
15818
15819 \end_layout
15820
15821 \begin_layout Standard
15822 As described in section
15823 \begin_inset space ~
15824 \end_inset
15825
15826
15827 \begin_inset CommandInset ref
15828 LatexCommand ref
15829 reference "sub:Line-Thickness"
15830
15831 \end_inset
15832
15833 , the line thickness for all lines in a table can be adjusted with the length
15834  
15835 \series bold
15836
15837 \backslash
15838 arrayrulewidth
15839 \series default
15840 .
15841  It is set to 1.5
15842 \begin_inset space \thinspace{}
15843 \end_inset
15844
15845 pt for all tables of this section.
15846 \begin_inset ERT
15847 status collapsed
15848
15849 \begin_layout Plain Layout
15850
15851
15852 \backslash
15853 setlength{
15854 \backslash
15855 arrayrulewidth}{1.5pt}
15856 \end_layout
15857
15858 \end_inset
15859
15860
15861 \end_layout
15862
15863 \begin_layout Standard
15864 To color vertical lines for example with green, create the following column
15865  format in the document preamble, according to the description in section
15866 \begin_inset space ~
15867 \end_inset
15868
15869
15870 \begin_inset CommandInset ref
15871 LatexCommand ref
15872 reference "sub:Customized-Format"
15873
15874 \end_inset
15875
15876 :
15877 \end_layout
15878
15879 \begin_layout Standard
15880
15881 \series bold
15882
15883 \backslash
15884 newcolumntype{W}{!{
15885 \backslash
15886 color{green}
15887 \backslash
15888 vline}}
15889 \end_layout
15890
15891 \begin_layout Standard
15892 For Table
15893 \begin_inset space ~
15894 \end_inset
15895
15896
15897 \begin_inset CommandInset ref
15898 LatexCommand ref
15899 reference "tab:Table-with-vertical-colored"
15900
15901 \end_inset
15902
15903  the LaTeX-argument
15904 \series bold
15905  WcW
15906 \series default
15907  was used for the last column and
15908 \series bold
15909  Wc
15910 \series default
15911  for the other columns.
15912 \end_layout
15913
15914 \begin_layout Standard
15915 If you want to have several colors, define more column formats.
15916 \end_layout
15917
15918 \begin_layout Standard
15919 \begin_inset Float table
15920 placement h
15921 wide false
15922 sideways false
15923 status open
15924
15925 \begin_layout Plain Layout
15926 \begin_inset Caption
15927
15928 \begin_layout Plain Layout
15929 \begin_inset CommandInset label
15930 LatexCommand label
15931 name "tab:Table-with-vertical-colored"
15932
15933 \end_inset
15934
15935 Table with colored vertical lines
15936 \end_layout
15937
15938 \end_inset
15939
15940
15941 \end_layout
15942
15943 \begin_layout Plain Layout
15944 \align center
15945 \begin_inset Tabular
15946 <lyxtabular version="3" rows="3" columns="3">
15947 <features tabularvalignment="middle">
15948 <column alignment="center" valignment="top" width="0" special="Wc">
15949 <column alignment="center" valignment="top" width="0" special="Wc">
15950 <column alignment="center" valignment="top" width="0" special="WcW">
15951 <row>
15952 <cell alignment="center" valignment="top" topline="true" usebox="none">
15953 \begin_inset Text
15954
15955 \begin_layout Plain Layout
15956 sd
15957 \end_layout
15958
15959 \end_inset
15960 </cell>
15961 <cell alignment="center" valignment="top" topline="true" usebox="none">
15962 \begin_inset Text
15963
15964 \begin_layout Plain Layout
15965
15966 \end_layout
15967
15968 \end_inset
15969 </cell>
15970 <cell alignment="center" valignment="top" topline="true" usebox="none">
15971 \begin_inset Text
15972
15973 \begin_layout Plain Layout
15974
15975 \end_layout
15976
15977 \end_inset
15978 </cell>
15979 </row>
15980 <row>
15981 <cell alignment="center" valignment="top" topline="true" usebox="none">
15982 \begin_inset Text
15983
15984 \begin_layout Plain Layout
15985
15986 \end_layout
15987
15988 \end_inset
15989 </cell>
15990 <cell alignment="center" valignment="top" topline="true" usebox="none">
15991 \begin_inset Text
15992
15993 \begin_layout Plain Layout
15994 sd
15995 \end_layout
15996
15997 \end_inset
15998 </cell>
15999 <cell alignment="center" valignment="top" topline="true" usebox="none">
16000 \begin_inset Text
16001
16002 \begin_layout Plain Layout
16003
16004 \end_layout
16005
16006 \end_inset
16007 </cell>
16008 </row>
16009 <row>
16010 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16011 \begin_inset Text
16012
16013 \begin_layout Plain Layout
16014
16015 \end_layout
16016
16017 \end_inset
16018 </cell>
16019 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16020 \begin_inset Text
16021
16022 \begin_layout Plain Layout
16023
16024 \end_layout
16025
16026 \end_inset
16027 </cell>
16028 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16029 \begin_inset Text
16030
16031 \begin_layout Plain Layout
16032 sd
16033 \end_layout
16034
16035 \end_inset
16036 </cell>
16037 </row>
16038 </lyxtabular>
16039
16040 \end_inset
16041
16042
16043 \end_layout
16044
16045 \end_inset
16046
16047
16048 \end_layout
16049
16050 \begin_layout Standard
16051 \begin_inset VSpace bigskip
16052 \end_inset
16053
16054 To color horizontal lines for example with red, as in Table
16055 \begin_inset space ~
16056 \end_inset
16057
16058
16059 \begin_inset CommandInset ref
16060 LatexCommand ref
16061 reference "tab:Table-with-horizontal-colored"
16062
16063 \end_inset
16064
16065 , insert these commands in TeX-Code before the table or table float:
16066 \end_layout
16067
16068 \begin_layout Standard
16069
16070 \series bold
16071
16072 \backslash
16073 let
16074 \backslash
16075 myHlineC
16076 \backslash
16077 hline
16078 \begin_inset Newline newline
16079 \end_inset
16080
16081
16082 \backslash
16083 renewcommand{
16084 \backslash
16085 hline}
16086 \begin_inset Newline newline
16087 \end_inset
16088
16089
16090 \begin_inset Phantom HPhantom
16091 status open
16092
16093 \begin_layout Plain Layout
16094
16095 \series bold
16096 \begin_inset space ~
16097 \end_inset
16098
16099
16100 \end_layout
16101
16102 \end_inset
16103
16104 {
16105 \backslash
16106 arrayrulecolor{red}
16107 \backslash
16108 myHlineC
16109 \backslash
16110 arrayrulecolor{black}}
16111 \end_layout
16112
16113 \begin_layout Standard
16114 \begin_inset ERT
16115 status collapsed
16116
16117 \begin_layout Plain Layout
16118
16119
16120 \backslash
16121 let
16122 \backslash
16123 myHlineC
16124 \backslash
16125 hline
16126 \end_layout
16127
16128 \begin_layout Plain Layout
16129
16130
16131 \backslash
16132 renewcommand{
16133 \backslash
16134 hline}
16135 \end_layout
16136
16137 \begin_layout Plain Layout
16138
16139  {
16140 \backslash
16141 arrayrulecolor{red}
16142 \backslash
16143 myHlineC
16144 \backslash
16145 arrayrulecolor{black}}
16146 \end_layout
16147
16148 \end_inset
16149
16150
16151 \begin_inset Float table
16152 placement h
16153 wide false
16154 sideways false
16155 status open
16156
16157 \begin_layout Plain Layout
16158 \begin_inset Caption
16159
16160 \begin_layout Plain Layout
16161 \begin_inset CommandInset label
16162 LatexCommand label
16163 name "tab:Table-with-horizontal-colored"
16164
16165 \end_inset
16166
16167 Table with colored horizontal lines
16168 \end_layout
16169
16170 \end_inset
16171
16172
16173 \end_layout
16174
16175 \begin_layout Plain Layout
16176 \align center
16177 \begin_inset Tabular
16178 <lyxtabular version="3" rows="3" columns="3">
16179 <features tabularvalignment="middle">
16180 <column alignment="center" valignment="top" width="0">
16181 <column alignment="center" valignment="top" width="0">
16182 <column alignment="center" valignment="top" width="0">
16183 <row>
16184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16185 \begin_inset Text
16186
16187 \begin_layout Plain Layout
16188 sd
16189 \end_layout
16190
16191 \end_inset
16192 </cell>
16193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16194 \begin_inset Text
16195
16196 \begin_layout Plain Layout
16197
16198 \end_layout
16199
16200 \end_inset
16201 </cell>
16202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16203 \begin_inset Text
16204
16205 \begin_layout Plain Layout
16206
16207 \end_layout
16208
16209 \end_inset
16210 </cell>
16211 </row>
16212 <row>
16213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16214 \begin_inset Text
16215
16216 \begin_layout Plain Layout
16217
16218 \end_layout
16219
16220 \end_inset
16221 </cell>
16222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16223 \begin_inset Text
16224
16225 \begin_layout Plain Layout
16226 sd
16227 \end_layout
16228
16229 \end_inset
16230 </cell>
16231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16232 \begin_inset Text
16233
16234 \begin_layout Plain Layout
16235
16236 \end_layout
16237
16238 \end_inset
16239 </cell>
16240 </row>
16241 <row>
16242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16243 \begin_inset Text
16244
16245 \begin_layout Plain Layout
16246
16247 \end_layout
16248
16249 \end_inset
16250 </cell>
16251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16252 \begin_inset Text
16253
16254 \begin_layout Plain Layout
16255
16256 \end_layout
16257
16258 \end_inset
16259 </cell>
16260 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16261 \begin_inset Text
16262
16263 \begin_layout Plain Layout
16264 sd
16265 \end_layout
16266
16267 \end_inset
16268 </cell>
16269 </row>
16270 </lyxtabular>
16271
16272 \end_inset
16273
16274
16275 \end_layout
16276
16277 \end_inset
16278
16279
16280 \end_layout
16281
16282 \begin_layout Standard
16283 To return to the default line color black, insert this command in TeX-Code
16284  after the table or table float:
16285 \end_layout
16286
16287 \begin_layout Standard
16288
16289 \series bold
16290
16291 \backslash
16292 renewcommand{
16293 \backslash
16294 hline}{
16295 \backslash
16296 myHlineC}
16297 \end_layout
16298
16299 \begin_layout Standard
16300 Table
16301 \begin_inset space ~
16302 \end_inset
16303
16304
16305 \begin_inset CommandInset ref
16306 LatexCommand ref
16307 reference "tab:Table-with-colored"
16308
16309 \end_inset
16310
16311  is an example with colored vertical and horizontal lines.
16312 \end_layout
16313
16314 \begin_layout Standard
16315 \begin_inset Float table
16316 placement h
16317 wide false
16318 sideways false
16319 status open
16320
16321 \begin_layout Plain Layout
16322 \begin_inset Caption
16323
16324 \begin_layout Plain Layout
16325 \begin_inset CommandInset label
16326 LatexCommand label
16327 name "tab:Table-with-colored"
16328
16329 \end_inset
16330
16331 Table with colored lines
16332 \end_layout
16333
16334 \end_inset
16335
16336
16337 \end_layout
16338
16339 \begin_layout Plain Layout
16340 \align center
16341 \begin_inset Tabular
16342 <lyxtabular version="3" rows="3" columns="3">
16343 <features tabularvalignment="middle">
16344 <column alignment="center" valignment="top" width="0" special="Wc">
16345 <column alignment="center" valignment="top" width="0" special="Wc">
16346 <column alignment="center" valignment="top" width="0" special="WcW">
16347 <row>
16348 <cell alignment="center" valignment="top" topline="true" usebox="none">
16349 \begin_inset Text
16350
16351 \begin_layout Plain Layout
16352 sd
16353 \end_layout
16354
16355 \end_inset
16356 </cell>
16357 <cell alignment="center" valignment="top" topline="true" usebox="none">
16358 \begin_inset Text
16359
16360 \begin_layout Plain Layout
16361
16362 \end_layout
16363
16364 \end_inset
16365 </cell>
16366 <cell alignment="center" valignment="top" topline="true" usebox="none">
16367 \begin_inset Text
16368
16369 \begin_layout Plain Layout
16370
16371 \end_layout
16372
16373 \end_inset
16374 </cell>
16375 </row>
16376 <row>
16377 <cell alignment="center" valignment="top" topline="true" usebox="none">
16378 \begin_inset Text
16379
16380 \begin_layout Plain Layout
16381
16382 \end_layout
16383
16384 \end_inset
16385 </cell>
16386 <cell alignment="center" valignment="top" topline="true" usebox="none">
16387 \begin_inset Text
16388
16389 \begin_layout Plain Layout
16390 sd
16391 \end_layout
16392
16393 \end_inset
16394 </cell>
16395 <cell alignment="center" valignment="top" topline="true" usebox="none">
16396 \begin_inset Text
16397
16398 \begin_layout Plain Layout
16399
16400 \end_layout
16401
16402 \end_inset
16403 </cell>
16404 </row>
16405 <row topspace="default">
16406 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16407 \begin_inset Text
16408
16409 \begin_layout Plain Layout
16410
16411 \end_layout
16412
16413 \end_inset
16414 </cell>
16415 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16416 \begin_inset Text
16417
16418 \begin_layout Plain Layout
16419
16420 \end_layout
16421
16422 \end_inset
16423 </cell>
16424 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16425 \begin_inset Text
16426
16427 \begin_layout Plain Layout
16428 sd
16429 \end_layout
16430
16431 \end_inset
16432 </cell>
16433 </row>
16434 </lyxtabular>
16435
16436 \end_inset
16437
16438
16439 \end_layout
16440
16441 \end_inset
16442
16443
16444 \end_layout
16445
16446 \begin_layout Standard
16447 \begin_inset ERT
16448 status collapsed
16449
16450 \begin_layout Plain Layout
16451
16452
16453 \backslash
16454 renewcommand{
16455 \backslash
16456 hline}{
16457 \backslash
16458 myHlineC}
16459 \end_layout
16460
16461 \end_inset
16462
16463
16464 \end_layout
16465
16466 \begin_layout Standard
16467 \begin_inset ERT
16468 status collapsed
16469
16470 \begin_layout Plain Layout
16471
16472
16473 \backslash
16474 setlength{
16475 \backslash
16476 arrayrulewidth}{0.4pt}
16477 \end_layout
16478
16479 \end_inset
16480
16481
16482 \end_layout
16483
16484 \begin_layout Section
16485 Table Customization
16486 \begin_inset Index idx
16487 status collapsed
16488
16489 \begin_layout Plain Layout
16490 Table Customization
16491 \end_layout
16492
16493 \end_inset
16494
16495
16496 \begin_inset Index idx
16497 status collapsed
16498
16499 \begin_layout Plain Layout
16500 Table ! Customization
16501 \end_layout
16502
16503 \end_inset
16504
16505
16506 \end_layout
16507
16508 \begin_layout Subsection
16509 Row Spacing
16510 \begin_inset CommandInset label
16511 LatexCommand label
16512 name "sub:Row-Spacing"
16513
16514 \end_inset
16515
16516
16517 \begin_inset Index idx
16518 status collapsed
16519
16520 \begin_layout Plain Layout
16521 Table Customization ! Row Spacing
16522 \end_layout
16523
16524 \end_inset
16525
16526
16527 \end_layout
16528
16529 \begin_layout Standard
16530 You can add vertical space to table rows in the 
16531 \family sans
16532 Borders
16533 \family default
16534  tab of the table dialog.
16535  You find there three possibilities:
16536 \end_layout
16537
16538 \begin_layout Description
16539 Top
16540 \begin_inset space ~
16541 \end_inset
16542
16543 of
16544 \begin_inset space ~
16545 \end_inset
16546
16547 row will add space above the characters of the table row.
16548  If the table is a formal table
16549 \begin_inset Foot
16550 status collapsed
16551
16552 \begin_layout Plain Layout
16553 Formal tables are explained in section
16554 \begin_inset space ~
16555 \end_inset
16556
16557
16558 \begin_inset CommandInset ref
16559 LatexCommand ref
16560 reference "sec:Formal-Tables"
16561
16562 \end_inset
16563
16564 .
16565 \end_layout
16566
16567 \end_inset
16568
16569  LyX will insert as default 0.5
16570 \begin_inset space \thinspace{}
16571 \end_inset
16572
16573 em space.
16574  For normal tables the inserted space will unfortunately destroy the vertical
16575  table lines as in the following table:
16576 \begin_inset VSpace medskip
16577 \end_inset
16578
16579
16580 \begin_inset Newline newline
16581 \end_inset
16582
16583
16584 \begin_inset space \hspace*{}
16585 \length 0pt
16586 \end_inset
16587
16588
16589 \begin_inset space \hfill{}
16590 \end_inset
16591
16592
16593 \begin_inset Tabular
16594 <lyxtabular version="3" rows="3" columns="1">
16595 <features tabularvalignment="middle">
16596 <column alignment="center" valignment="top" width="0">
16597 <row>
16598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16599 \begin_inset Text
16600
16601 \begin_layout Plain Layout
16602 A
16603 \end_layout
16604
16605 \end_inset
16606 </cell>
16607 </row>
16608 <row topspace="3mm">
16609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16610 \begin_inset Text
16611
16612 \begin_layout Plain Layout
16613 3
16614 \begin_inset space \thinspace{}
16615 \end_inset
16616
16617 mm space top of row
16618 \end_layout
16619
16620 \end_inset
16621 </cell>
16622 </row>
16623 <row>
16624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16625 \begin_inset Text
16626
16627 \begin_layout Plain Layout
16628 C
16629 \end_layout
16630
16631 \end_inset
16632 </cell>
16633 </row>
16634 </lyxtabular>
16635
16636 \end_inset
16637
16638
16639 \begin_inset space \hfill{}
16640 \end_inset
16641
16642
16643 \begin_inset space \hspace*{}
16644 \length 0pt
16645 \end_inset
16646
16647
16648 \begin_inset VSpace medskip
16649 \end_inset
16650
16651
16652 \begin_inset Newline newline
16653 \end_inset
16654
16655 So inserting space in the top of row for normal tables is only useful when
16656  you don't have vertical lines.
16657 \end_layout
16658
16659 \begin_layout Description
16660 Bottom
16661 \begin_inset space ~
16662 \end_inset
16663
16664 of
16665 \begin_inset space ~
16666 \end_inset
16667
16668 row will add space below the characters of the table row.
16669  If the table is a formal table LyX will insert as default 0.5
16670 \begin_inset space \thinspace{}
16671 \end_inset
16672
16673 em space, for normal tables the default size is 2
16674 \begin_inset space \thinspace{}
16675 \end_inset
16676
16677 pt.
16678 \end_layout
16679
16680 \begin_layout Description
16681 Between
16682 \begin_inset space ~
16683 \end_inset
16684
16685 rows adds space between the current and the following row.
16686  If the table is a formal table LyX will insert as default 0.5
16687 \begin_inset space \thinspace{}
16688 \end_inset
16689
16690 em space.
16691  For normal tables the inserted space will unfortunately destroy the vertical
16692  table lines as in the following table:
16693 \begin_inset VSpace medskip
16694 \end_inset
16695
16696
16697 \begin_inset Newline newline
16698 \end_inset
16699
16700
16701 \begin_inset space \hspace*{}
16702 \length 0pt
16703 \end_inset
16704
16705
16706 \begin_inset space \hfill{}
16707 \end_inset
16708
16709
16710 \begin_inset Tabular
16711 <lyxtabular version="3" rows="3" columns="1">
16712 <features tabularvalignment="middle">
16713 <column alignment="center" valignment="top" width="0">
16714 <row>
16715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16716 \begin_inset Text
16717
16718 \begin_layout Plain Layout
16719 A
16720 \end_layout
16721
16722 \end_inset
16723 </cell>
16724 </row>
16725 <row interlinespace="3mm">
16726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16727 \begin_inset Text
16728
16729 \begin_layout Plain Layout
16730 \begin_inset Formula $\downarrow$
16731 \end_inset
16732
16733  3
16734 \begin_inset space \thinspace{}
16735 \end_inset
16736
16737 mm space between row 
16738 \begin_inset Formula $\downarrow$
16739 \end_inset
16740
16741
16742 \end_layout
16743
16744 \end_inset
16745 </cell>
16746 </row>
16747 <row>
16748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16749 \begin_inset Text
16750
16751 \begin_layout Plain Layout
16752 \begin_inset Formula $\uparrow$
16753 \end_inset
16754
16755  3
16756 \begin_inset space \thinspace{}
16757 \end_inset
16758
16759 mm space between row 
16760 \begin_inset Formula $\uparrow$
16761 \end_inset
16762
16763
16764 \end_layout
16765
16766 \end_inset
16767 </cell>
16768 </row>
16769 </lyxtabular>
16770
16771 \end_inset
16772
16773
16774 \begin_inset space \hfill{}
16775 \end_inset
16776
16777
16778 \begin_inset space \hspace*{}
16779 \length 0pt
16780 \end_inset
16781
16782
16783 \begin_inset VSpace medskip
16784 \end_inset
16785
16786
16787 \begin_inset Newline newline
16788 \end_inset
16789
16790 So inserting space between rows for normal tables is only useful when you
16791  don't have vertical lines.
16792 \end_layout
16793
16794 \begin_layout Standard
16795 \begin_inset VSpace bigskip
16796 \end_inset
16797
16798 When you want to add extra height to all cells of all tables, you can do
16799  this with the following preamble lines:
16800 \end_layout
16801
16802 \begin_layout Standard
16803
16804 \series bold
16805
16806 \backslash
16807 @ifundefined{extrarowheight}
16808 \begin_inset Newline newline
16809 \end_inset
16810
16811
16812 \begin_inset Phantom HPhantom
16813 status open
16814
16815 \begin_layout Plain Layout
16816
16817 \series bold
16818 \begin_inset space ~
16819 \end_inset
16820
16821
16822 \end_layout
16823
16824 \end_inset
16825
16826 {
16827 \backslash
16828 usepackage{array}}{}
16829 \begin_inset Newline newline
16830 \end_inset
16831
16832
16833 \backslash
16834 setlength{
16835 \backslash
16836 extrarowheight}{height}
16837 \end_layout
16838
16839 \begin_layout Standard
16840 But this has the disadvantage that the cell texts are no longer exactly
16841  vertically centered.
16842  (The package 
16843 \series bold
16844 array
16845 \series default
16846  will be loaded automatically by LyX when you use self defined table formats.
16847  To avoid that it being loaded twice the command 
16848 \series bold
16849
16850 \backslash
16851 @ifundefined
16852 \series default
16853  is used in the above command.)
16854 \end_layout
16855
16856 \begin_layout Standard
16857 If you are using font sizes larger than the normal size, the table borders
16858  are often too close to the letters.
16859  This can be corrected by inserting the command 
16860 \series bold
16861
16862 \backslash
16863 strut
16864 \series default
16865  in TeX code at the beginning of a table row.
16866  Table
16867 \begin_inset space ~
16868 \end_inset
16869
16870
16871 \begin_inset CommandInset ref
16872 LatexCommand ref
16873 reference "tab:Vertical-alignment-of"
16874
16875 \end_inset
16876
16877  illustrates the effect.
16878 \end_layout
16879
16880 \begin_layout Standard
16881 \noindent
16882 \begin_inset Float table
16883 placement h
16884 wide false
16885 sideways false
16886 status open
16887
16888 \begin_layout Plain Layout
16889 \begin_inset Caption
16890
16891 \begin_layout Plain Layout
16892 \begin_inset CommandInset label
16893 LatexCommand label
16894 name "tab:Vertical-alignment-of"
16895
16896 \end_inset
16897
16898 Vertical alignment of text with large font sizes.
16899 \end_layout
16900
16901 \end_inset
16902
16903
16904 \end_layout
16905
16906 \begin_layout Plain Layout
16907 \begin_inset space \hfill{}
16908 \end_inset
16909
16910
16911 \begin_inset Float table
16912 wide false
16913 sideways false
16914 status collapsed
16915
16916 \begin_layout Plain Layout
16917 \begin_inset Caption
16918
16919 \begin_layout Plain Layout
16920 Normal table.
16921 \end_layout
16922
16923 \end_inset
16924
16925
16926 \end_layout
16927
16928 \begin_layout Plain Layout
16929 \noindent
16930 \align center
16931 \begin_inset Tabular
16932 <lyxtabular version="3" rows="6" columns="1">
16933 <features tabularvalignment="middle">
16934 <column alignment="left" valignment="top" width="0">
16935 <row>
16936 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16937 \begin_inset Text
16938
16939 \begin_layout Plain Layout
16940 Normal, g
16941 \end_layout
16942
16943 \end_inset
16944 </cell>
16945 </row>
16946 <row>
16947 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16948 \begin_inset Text
16949
16950 \begin_layout Plain Layout
16951
16952 \size large
16953 Large
16954 \end_layout
16955
16956 \end_inset
16957 </cell>
16958 </row>
16959 <row>
16960 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16961 \begin_inset Text
16962
16963 \begin_layout Plain Layout
16964
16965 \size larger
16966 Larger
16967 \end_layout
16968
16969 \end_inset
16970 </cell>
16971 </row>
16972 <row>
16973 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16974 \begin_inset Text
16975
16976 \begin_layout Plain Layout
16977
16978 \size largest
16979 Largest
16980 \end_layout
16981
16982 \end_inset
16983 </cell>
16984 </row>
16985 <row>
16986 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16987 \begin_inset Text
16988
16989 \begin_layout Plain Layout
16990
16991 \size huge
16992 Huge
16993 \end_layout
16994
16995 \end_inset
16996 </cell>
16997 </row>
16998 <row>
16999 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17000 \begin_inset Text
17001
17002 \begin_layout Plain Layout
17003
17004 \size huge
17005 Huger
17006 \end_layout
17007
17008 \end_inset
17009 </cell>
17010 </row>
17011 </lyxtabular>
17012
17013 \end_inset
17014
17015
17016 \end_layout
17017
17018 \end_inset
17019
17020
17021 \begin_inset space \hfill{}
17022 \end_inset
17023
17024
17025 \begin_inset Float table
17026 wide false
17027 sideways false
17028 status collapsed
17029
17030 \begin_layout Plain Layout
17031 \begin_inset Caption
17032
17033 \begin_layout Plain Layout
17034 Table using the command 
17035 \series bold
17036
17037 \backslash
17038 strut
17039 \series default
17040 .
17041 \end_layout
17042
17043 \end_inset
17044
17045
17046 \end_layout
17047
17048 \begin_layout Plain Layout
17049 \noindent
17050 \align center
17051 \begin_inset Tabular
17052 <lyxtabular version="3" rows="6" columns="1">
17053 <features tabularvalignment="middle">
17054 <column alignment="left" valignment="top" width="0">
17055 <row>
17056 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17057 \begin_inset Text
17058
17059 \begin_layout Plain Layout
17060 Normal, g
17061 \end_layout
17062
17063 \end_inset
17064 </cell>
17065 </row>
17066 <row>
17067 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17068 \begin_inset Text
17069
17070 \begin_layout Plain Layout
17071
17072 \size large
17073 \begin_inset ERT
17074 status collapsed
17075
17076 \begin_layout Plain Layout
17077
17078
17079 \backslash
17080 strut 
17081 \end_layout
17082
17083 \end_inset
17084
17085 Large
17086 \end_layout
17087
17088 \end_inset
17089 </cell>
17090 </row>
17091 <row>
17092 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17093 \begin_inset Text
17094
17095 \begin_layout Plain Layout
17096
17097 \size larger
17098 \begin_inset ERT
17099 status collapsed
17100
17101 \begin_layout Plain Layout
17102
17103
17104 \backslash
17105 strut 
17106 \end_layout
17107
17108 \end_inset
17109
17110 Larger
17111 \end_layout
17112
17113 \end_inset
17114 </cell>
17115 </row>
17116 <row>
17117 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17118 \begin_inset Text
17119
17120 \begin_layout Plain Layout
17121
17122 \size largest
17123 \begin_inset ERT
17124 status collapsed
17125
17126 \begin_layout Plain Layout
17127
17128
17129 \backslash
17130 strut 
17131 \end_layout
17132
17133 \end_inset
17134
17135 Largest
17136 \end_layout
17137
17138 \end_inset
17139 </cell>
17140 </row>
17141 <row>
17142 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17143 \begin_inset Text
17144
17145 \begin_layout Plain Layout
17146
17147 \size huge
17148 \begin_inset ERT
17149 status collapsed
17150
17151 \begin_layout Plain Layout
17152
17153
17154 \backslash
17155 strut 
17156 \end_layout
17157
17158 \end_inset
17159
17160 Huge
17161 \end_layout
17162
17163 \end_inset
17164 </cell>
17165 </row>
17166 <row>
17167 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17168 \begin_inset Text
17169
17170 \begin_layout Plain Layout
17171
17172 \size giant
17173 \begin_inset ERT
17174 status collapsed
17175
17176 \begin_layout Plain Layout
17177
17178
17179 \backslash
17180 strut 
17181 \end_layout
17182
17183 \end_inset
17184
17185
17186 \size huge
17187 Huger
17188 \end_layout
17189
17190 \end_inset
17191 </cell>
17192 </row>
17193 </lyxtabular>
17194
17195 \end_inset
17196
17197
17198 \end_layout
17199
17200 \end_inset
17201
17202
17203 \begin_inset space \hfill{}
17204 \end_inset
17205
17206
17207 \end_layout
17208
17209 \end_inset
17210
17211
17212 \end_layout
17213
17214 \begin_layout Subsection
17215 Special Cell Alignment
17216 \begin_inset CommandInset label
17217 LatexCommand label
17218 name "sub:Special-Cell-Alignment"
17219
17220 \end_inset
17221
17222
17223 \begin_inset Index idx
17224 status collapsed
17225
17226 \begin_layout Plain Layout
17227 Table Customization ! Special Cell Alignment
17228 \end_layout
17229
17230 \end_inset
17231
17232
17233 \end_layout
17234
17235 \begin_layout Standard
17236 Sometimes it looks better when the cell entries of a column are aligned
17237  with a special character, e.
17238 \begin_inset space \thinspace{}
17239 \end_inset
17240
17241 g.
17242 \begin_inset space \space{}
17243 \end_inset
17244
17245 with the decimal separator as in Table
17246 \begin_inset space ~
17247 \end_inset
17248
17249
17250 \begin_inset CommandInset ref
17251 LatexCommand ref
17252 reference "tab:Table-cells-align"
17253
17254 \end_inset
17255
17256 .
17257  This alignment is achieved by setting the cursor into the column and then
17258  either pressing the toolbar button 
17259 \begin_inset Graphics
17260         filename ../images/tabular-feature_align-decimal.png
17261         scale 85
17262         scaleBeforeRotation
17263
17264 \end_inset
17265
17266  or setting the alignment in the table settings to 
17267 \family sans
17268 At
17269 \begin_inset space ~
17270 \end_inset
17271
17272 Decimal
17273 \begin_inset space ~
17274 \end_inset
17275
17276 Separator
17277 \family default
17278 .
17279  The alignment character can be a character of your choice and is specified
17280  in the table settings.
17281 \end_layout
17282
17283 \begin_layout Standard
17284 \begin_inset Float table
17285 placement h
17286 wide false
17287 sideways false
17288 status open
17289
17290 \begin_layout Plain Layout
17291 \begin_inset Caption
17292
17293 \begin_layout Plain Layout
17294 \begin_inset CommandInset label
17295 LatexCommand label
17296 name "tab:Table-cells-align"
17297
17298 \end_inset
17299
17300 Table cells of a column aligned with the decimal separator.
17301 \end_layout
17302
17303 \end_inset
17304
17305
17306 \end_layout
17307
17308 \begin_layout Plain Layout
17309 \align center
17310 \begin_inset Tabular
17311 <lyxtabular version="3" rows="4" columns="1">
17312 <features booktabs="true" tabularvalignment="middle">
17313 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17314 <row>
17315 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17316 \begin_inset Text
17317
17318 \begin_layout Plain Layout
17319 heading
17320 \end_layout
17321
17322 \end_inset
17323 </cell>
17324 </row>
17325 <row>
17326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17327 \begin_inset Text
17328
17329 \begin_layout Plain Layout
17330 12.6
17331 \end_layout
17332
17333 \end_inset
17334 </cell>
17335 </row>
17336 <row>
17337 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17338 \begin_inset Text
17339
17340 \begin_layout Plain Layout
17341 0.68
17342 \end_layout
17343
17344 \end_inset
17345 </cell>
17346 </row>
17347 <row>
17348 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17349 \begin_inset Text
17350
17351 \begin_layout Plain Layout
17352 -123.0
17353 \end_layout
17354
17355 \end_inset
17356 </cell>
17357 </row>
17358 </lyxtabular>
17359
17360 \end_inset
17361
17362
17363 \end_layout
17364
17365 \end_inset
17366
17367
17368 \end_layout
17369
17370 \begin_layout Standard
17371 \begin_inset Float table
17372 placement h
17373 wide false
17374 sideways false
17375 status open
17376
17377 \begin_layout Plain Layout
17378 \begin_inset Caption
17379
17380 \begin_layout Plain Layout
17381 \begin_inset CommandInset label
17382 LatexCommand label
17383 name "tab:Table-align-operator"
17384
17385 \end_inset
17386
17387 Table cells of a column aligned with the operators.
17388 \end_layout
17389
17390 \end_inset
17391
17392
17393 \end_layout
17394
17395 \begin_layout Plain Layout
17396 \align center
17397 \begin_inset Tabular
17398 <lyxtabular version="3" rows="4" columns="2">
17399 <features booktabs="true" tabularvalignment="middle">
17400 <column alignment="right" valignment="top" width="0pt">
17401 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17402 <row>
17403 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17404 \begin_inset Text
17405
17406 \begin_layout Plain Layout
17407 heading
17408 \end_layout
17409
17410 \end_inset
17411 </cell>
17412 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17413 \begin_inset Text
17414
17415 \begin_layout Plain Layout
17416
17417 \end_layout
17418
17419 \end_inset
17420 </cell>
17421 </row>
17422 <row>
17423 <cell alignment="center" valignment="top" usebox="none">
17424 \begin_inset Text
17425
17426 \begin_layout Plain Layout
17427 \begin_inset Formula $12\,+$
17428 \end_inset
17429
17430
17431 \end_layout
17432
17433 \end_inset
17434 </cell>
17435 <cell alignment="center" valignment="top" usebox="none">
17436 \begin_inset Text
17437
17438 \begin_layout Plain Layout
17439 \begin_inset Formula $\,6$
17440 \end_inset
17441
17442
17443 \end_layout
17444
17445 \end_inset
17446 </cell>
17447 </row>
17448 <row>
17449 <cell alignment="center" valignment="top" usebox="none">
17450 \begin_inset Text
17451
17452 \begin_layout Plain Layout
17453 \begin_inset Formula $0\,-$
17454 \end_inset
17455
17456
17457 \end_layout
17458
17459 \end_inset
17460 </cell>
17461 <cell alignment="center" valignment="top" usebox="none">
17462 \begin_inset Text
17463
17464 \begin_layout Plain Layout
17465 \begin_inset Formula $\,68$
17466 \end_inset
17467
17468
17469 \end_layout
17470
17471 \end_inset
17472 </cell>
17473 </row>
17474 <row>
17475 <cell alignment="center" valignment="top" usebox="none">
17476 \begin_inset Text
17477
17478 \begin_layout Plain Layout
17479 \begin_inset Formula $-123\,/$
17480 \end_inset
17481
17482
17483 \end_layout
17484
17485 \end_inset
17486 </cell>
17487 <cell alignment="center" valignment="top" usebox="none">
17488 \begin_inset Text
17489
17490 \begin_layout Plain Layout
17491 \begin_inset Formula $\,0$
17492 \end_inset
17493
17494
17495 \end_layout
17496
17497 \end_inset
17498 </cell>
17499 </row>
17500 </lyxtabular>
17501
17502 \end_inset
17503
17504
17505 \end_layout
17506
17507 \end_inset
17508
17509
17510 \end_layout
17511
17512 \begin_layout Standard
17513 For alignments at characters in formulas this method does not work because
17514  the field to specify the alignment character does not allow formulas.
17515  In this case one need to use the method from Table
17516 \begin_inset space ~
17517 \end_inset
17518
17519
17520 \begin_inset CommandInset ref
17521 LatexCommand ref
17522 reference "tab:Table-align-operator"
17523
17524 \end_inset
17525
17526 .
17527  This table was created with a 4×2 table.
17528  The heading is a centered multicolumn.
17529  The first column is right-aligned and contains the first part including
17530  the operator.
17531  The second column is left aligned and contains the rest.
17532  A small space was added at the beginning of each cell of the second column
17533  to get the space that is usually around operators.
17534  To omit the space that is normally between two table columns, the following
17535  LaTeX-argument was used for the second column:
17536 \end_layout
17537
17538 \begin_layout Standard
17539
17540 \series bold
17541 @{}l
17542 \end_layout
17543
17544 \begin_layout Standard
17545 Table
17546 \begin_inset space ~
17547 \end_inset
17548
17549
17550 \begin_inset CommandInset ref
17551 LatexCommand ref
17552 reference "tab:Several-table-cell"
17553
17554 \end_inset
17555
17556  shows some example alignments.
17557  For the alignment with the relation sign, a small space was added like
17558  for the second column of Table
17559 \begin_inset space ~
17560 \end_inset
17561
17562
17563 \begin_inset CommandInset ref
17564 LatexCommand ref
17565 reference "tab:Table-align-operator"
17566
17567 \end_inset
17568
17569 .
17570 \end_layout
17571
17572 \begin_layout Standard
17573 \begin_inset Float table
17574 placement h
17575 wide false
17576 sideways false
17577 status open
17578
17579 \begin_layout Plain Layout
17580 \begin_inset Caption
17581
17582 \begin_layout Plain Layout
17583 \begin_inset CommandInset label
17584 LatexCommand label
17585 name "tab:Several-table-cell"
17586
17587 \end_inset
17588
17589 Several table cell alignments.
17590 \end_layout
17591
17592 \end_inset
17593
17594
17595 \end_layout
17596
17597 \begin_layout Plain Layout
17598 \align center
17599 \begin_inset Tabular
17600 <lyxtabular version="3" rows="4" columns="6">
17601 <features tabularvalignment="middle">
17602 <column alignment="right" valignment="top" width="0">
17603 <column alignment="left" valignment="top" width="0" special="@{}l">
17604 <column alignment="right" valignment="top" width="0">
17605 <column alignment="left" valignment="top" width="0" special="@{}l">
17606 <column alignment="right" valignment="top" width="0">
17607 <column alignment="left" valignment="top" width="0" special="@{}l">
17608 <row>
17609 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17610 \begin_inset Text
17611
17612 \begin_layout Plain Layout
17613 units
17614 \end_layout
17615
17616 \end_inset
17617 </cell>
17618 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17619 \begin_inset Text
17620
17621 \begin_layout Plain Layout
17622
17623 \end_layout
17624
17625 \end_inset
17626 </cell>
17627 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17628 \begin_inset Text
17629
17630 \begin_layout Plain Layout
17631 exponents
17632 \end_layout
17633
17634 \end_inset
17635 </cell>
17636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17637 \begin_inset Text
17638
17639 \begin_layout Plain Layout
17640
17641 \end_layout
17642
17643 \end_inset
17644 </cell>
17645 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17646 \begin_inset Text
17647
17648 \begin_layout Plain Layout
17649 relations
17650 \end_layout
17651
17652 \end_inset
17653 </cell>
17654 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17655 \begin_inset Text
17656
17657 \begin_layout Plain Layout
17658
17659 \end_layout
17660
17661 \end_inset
17662 </cell>
17663 </row>
17664 <row>
17665 <cell alignment="center" valignment="top" usebox="none">
17666 \begin_inset Text
17667
17668 \begin_layout Plain Layout
17669 12×
17670 \end_layout
17671
17672 \end_inset
17673 </cell>
17674 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17675 \begin_inset Text
17676
17677 \begin_layout Plain Layout
17678 24
17679 \begin_inset space \thinspace{}
17680 \end_inset
17681
17682 bottles
17683 \end_layout
17684
17685 \end_inset
17686 </cell>
17687 <cell alignment="center" valignment="top" usebox="none">
17688 \begin_inset Text
17689
17690 \begin_layout Plain Layout
17691 \begin_inset Formula $10\cdot$
17692 \end_inset
17693
17694
17695 \end_layout
17696
17697 \end_inset
17698 </cell>
17699 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17700 \begin_inset Text
17701
17702 \begin_layout Plain Layout
17703 \begin_inset Formula $10^{\mbox{-}17}$
17704 \end_inset
17705
17706
17707 \end_layout
17708
17709 \end_inset
17710 </cell>
17711 <cell alignment="center" valignment="top" usebox="none">
17712 \begin_inset Text
17713
17714 \begin_layout Plain Layout
17715 \begin_inset Formula $\Gamma(t)\propto$
17716 \end_inset
17717
17718
17719 \end_layout
17720
17721 \end_inset
17722 </cell>
17723 <cell alignment="center" valignment="top" usebox="none">
17724 \begin_inset Text
17725
17726 \begin_layout Plain Layout
17727 \begin_inset Formula $\:\Upsilon(t)$
17728 \end_inset
17729
17730
17731 \end_layout
17732
17733 \end_inset
17734 </cell>
17735 </row>
17736 <row>
17737 <cell alignment="center" valignment="top" usebox="none">
17738 \begin_inset Text
17739
17740 \begin_layout Plain Layout
17741 1024×
17742 \end_layout
17743
17744 \end_inset
17745 </cell>
17746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17747 \begin_inset Text
17748
17749 \begin_layout Plain Layout
17750 768
17751 \begin_inset space \thinspace{}
17752 \end_inset
17753
17754 Pixels
17755 \end_layout
17756
17757 \end_inset
17758 </cell>
17759 <cell alignment="center" valignment="top" usebox="none">
17760 \begin_inset Text
17761
17762 \begin_layout Plain Layout
17763 \begin_inset Formula $5.78\cdot$
17764 \end_inset
17765
17766
17767 \end_layout
17768
17769 \end_inset
17770 </cell>
17771 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17772 \begin_inset Text
17773
17774 \begin_layout Plain Layout
17775 \begin_inset Formula $10^{7}$
17776 \end_inset
17777
17778
17779 \end_layout
17780
17781 \end_inset
17782 </cell>
17783 <cell alignment="center" valignment="top" usebox="none">
17784 \begin_inset Text
17785
17786 \begin_layout Plain Layout
17787 \begin_inset Formula $A\ne$
17788 \end_inset
17789
17790
17791 \end_layout
17792
17793 \end_inset
17794 </cell>
17795 <cell alignment="center" valignment="top" usebox="none">
17796 \begin_inset Text
17797
17798 \begin_layout Plain Layout
17799 \begin_inset Formula $\: B_{\mathrm{red}}$
17800 \end_inset
17801
17802
17803 \end_layout
17804
17805 \end_inset
17806 </cell>
17807 </row>
17808 <row>
17809 <cell alignment="center" valignment="top" usebox="none">
17810 \begin_inset Text
17811
17812 \begin_layout Plain Layout
17813 32×
17814 \end_layout
17815
17816 \end_inset
17817 </cell>
17818 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17819 \begin_inset Text
17820
17821 \begin_layout Plain Layout
17822 6
17823 \begin_inset space \thinspace{}
17824 \end_inset
17825
17826 cm
17827 \end_layout
17828
17829 \end_inset
17830 </cell>
17831 <cell alignment="center" valignment="top" usebox="none">
17832 \begin_inset Text
17833
17834 \begin_layout Plain Layout
17835 -
17836 \begin_inset Formula $33.5\cdot$
17837 \end_inset
17838
17839
17840 \end_layout
17841
17842 \end_inset
17843 </cell>
17844 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17845 \begin_inset Text
17846
17847 \begin_layout Plain Layout
17848 \begin_inset Formula $10^{4}$
17849 \end_inset
17850
17851
17852 \end_layout
17853
17854 \end_inset
17855 </cell>
17856 <cell alignment="center" valignment="top" usebox="none">
17857 \begin_inset Text
17858
17859 \begin_layout Plain Layout
17860 \begin_inset Formula $\sin(\alpha)\ge$
17861 \end_inset
17862
17863
17864 \end_layout
17865
17866 \end_inset
17867 </cell>
17868 <cell alignment="center" valignment="top" usebox="none">
17869 \begin_inset Text
17870
17871 \begin_layout Plain Layout
17872 \begin_inset Formula $\:\sin(\beta)$
17873 \end_inset
17874
17875
17876 \end_layout
17877
17878 \end_inset
17879 </cell>
17880 </row>
17881 </lyxtabular>
17882
17883 \end_inset
17884
17885
17886 \end_layout
17887
17888 \end_inset
17889
17890
17891 \end_layout
17892
17893 \begin_layout Subsection
17894 Customized Cell/Column Format
17895 \begin_inset CommandInset label
17896 LatexCommand label
17897 name "sub:Customized-Format"
17898
17899 \end_inset
17900
17901
17902 \begin_inset Index idx
17903 status collapsed
17904
17905 \begin_layout Plain Layout
17906 Table Customization ! Cell/Column Format
17907 \end_layout
17908
17909 \end_inset
17910
17911
17912 \end_layout
17913
17914 \begin_layout Standard
17915 Calculating the required width for spanned columns as in section
17916 \begin_inset space ~
17917 \end_inset
17918
17919
17920 \begin_inset CommandInset ref
17921 LatexCommand ref
17922 reference "sub:Multicolumn-Calculations"
17923
17924 \end_inset
17925
17926  is very annoying if you have several tables with multicolumn cells.
17927  To make life easier, you can define a cell/column format in the preamble,
17928  so that it can be used in all tables of the document.
17929  The format is defined with the command
17930 \end_layout
17931
17932 \begin_layout Standard
17933
17934 \series bold
17935
17936 \backslash
17937 newcolumntype{name of format}[number of arguments]{commands}
17938 \end_layout
17939
17940 \begin_layout Standard
17941 The format name may only consist of one letter.
17942  The letters 
17943 \emph on
17944 b
17945 \emph default
17946
17947 \emph on
17948 c
17949 \emph default
17950
17951 \emph on
17952 l
17953 \emph default
17954
17955 \emph on
17956 m
17957 \emph default
17958
17959 \emph on
17960 p
17961 \emph default
17962  and 
17963 \emph on
17964 r
17965 \emph default
17966  are predefined and cannot be used.
17967  But all letters are allowed as capitals.
17968 \end_layout
17969
17970 \begin_layout Standard
17971 \begin_inset VSpace medskip
17972 \end_inset
17973
17974
17975 \end_layout
17976
17977 \begin_layout Standard
17978 For vertically and horizontally centered multicolumn cells with a fixed
17979  width you can define the cell format
17980 \end_layout
17981
17982 \begin_layout Standard
17983
17984 \series bold
17985
17986 \backslash
17987 newcolumntype{M}[1]{>{
17988 \backslash
17989 centering
17990 \backslash
17991 hspace{0pt}}m{#1}}
17992 \end_layout
17993
17994 \begin_layout Standard
17995 where 
17996 \series bold
17997
17998 \backslash
17999 hspace{0pt}
18000 \series default
18001  avoids the problem of hyphenating the first word, as described in section
18002 \begin_inset space ~
18003 \end_inset
18004
18005
18006 \begin_inset CommandInset ref
18007 LatexCommand ref
18008 reference "sub:Multiple-Lines-in"
18009
18010 \end_inset
18011
18012 .
18013  Now you can simply enter
18014 \end_layout
18015
18016 \begin_layout Standard
18017
18018 \series bold
18019 M{width}
18020 \end_layout
18021
18022 \begin_layout Standard
18023 as LaTeX-argument in the table dialog to create a multicolumn.
18024 \end_layout
18025
18026 \begin_layout Standard
18027 \begin_inset VSpace bigskip
18028 \end_inset
18029
18030
18031 \end_layout
18032
18033 \begin_layout Standard
18034 For cells spanned by a multicolumn cell, you can define the format
18035 \end_layout
18036
18037 \begin_layout Standard
18038
18039 \series bold
18040
18041 \backslash
18042 newcolumntype{S}[2]{>{
18043 \backslash
18044 centering
18045 \backslash
18046 hspace{0pt}}
18047 \begin_inset Newline newline
18048 \end_inset
18049
18050
18051 \begin_inset Phantom HPhantom
18052 status open
18053
18054 \begin_layout Plain Layout
18055
18056 \series bold
18057
18058 \backslash
18059 newcolumntype
18060 \end_layout
18061
18062 \end_inset
18063
18064 m{(#1+(2
18065 \backslash
18066 tabcolsep+
18067 \backslash
18068 arrayrulewidth)*(1-#2))/#2}}
18069 \end_layout
18070
18071 \begin_layout Standard
18072 This format uses equation 
18073 \begin_inset CommandInset ref
18074 LatexCommand eqref
18075 reference "eq:Wgn"
18076
18077 \end_inset
18078
18079  to calculate the required width so that each spanned cell has the same
18080  width.
18081 \end_layout
18082
18083 \begin_layout Standard
18084 You can now enter
18085 \end_layout
18086
18087 \begin_layout Standard
18088
18089 \series bold
18090 S{width of multicolumn cell}{number of spanned columns}
18091 \end_layout
18092
18093 \begin_layout Standard
18094 as LaTeX-argument of the column.
18095 \end_layout
18096
18097 \begin_layout Standard
18098 \begin_inset VSpace bigskip
18099 \end_inset
18100
18101
18102 \end_layout
18103
18104 \begin_layout Standard
18105 For colored columns, you can define
18106 \end_layout
18107
18108 \begin_layout Standard
18109
18110 \series bold
18111
18112 \backslash
18113 newcolumntype{K}[1]{>{
18114 \backslash
18115 columncolor{#1}
18116 \backslash
18117 hspace{0pt}}c}
18118 \end_layout
18119
18120 \begin_layout Standard
18121 The 
18122 \begin_inset Quotes eld
18123 \end_inset
18124
18125 c
18126 \begin_inset Quotes erd
18127 \end_inset
18128
18129  at the end creates a column with a flexible width whose text is horizontally
18130  centered.
18131  You can now enter
18132 \end_layout
18133
18134 \begin_layout Standard
18135
18136 \series bold
18137 K{color name}
18138 \end_layout
18139
18140 \begin_layout Standard
18141 as LaTeX-argument.
18142 \end_layout
18143
18144 \begin_layout Standard
18145 \begin_inset VSpace bigskip
18146 \end_inset
18147
18148
18149 \end_layout
18150
18151 \begin_layout Standard
18152 To create Table
18153 \begin_inset space ~
18154 \end_inset
18155
18156
18157 \begin_inset CommandInset ref
18158 LatexCommand ref
18159 reference "tab:Table-using-user-defined"
18160
18161 \end_inset
18162
18163  use the LaTeX-arguments
18164 \end_layout
18165
18166 \begin_layout Standard
18167
18168 \series bold
18169 M{2.5cm}
18170 \end_layout
18171
18172 \begin_layout Standard
18173 for the first column and the multicolumn,
18174 \end_layout
18175
18176 \begin_layout Standard
18177
18178 \series bold
18179 K{red}
18180 \end_layout
18181
18182 \begin_layout Standard
18183 for the last column, and
18184 \end_layout
18185
18186 \begin_layout Standard
18187
18188 \series bold
18189 S{2.5cm}{2}
18190 \end_layout
18191
18192 \begin_layout Standard
18193 for the cells in the second column.
18194 \end_layout
18195
18196 \begin_layout Standard
18197 \begin_inset Float table
18198 placement h
18199 wide false
18200 sideways false
18201 status open
18202
18203 \begin_layout Plain Layout
18204 \begin_inset Caption
18205
18206 \begin_layout Plain Layout
18207 \begin_inset CommandInset label
18208 LatexCommand label
18209 name "tab:Table-using-user-defined"
18210
18211 \end_inset
18212
18213 Table using user-defined table formats
18214 \end_layout
18215
18216 \end_inset
18217
18218
18219 \end_layout
18220
18221 \begin_layout Plain Layout
18222 \align center
18223 \begin_inset Tabular
18224 <lyxtabular version="3" rows="3" columns="4">
18225 <features tabularvalignment="middle">
18226 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18227 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18228 <column alignment="center" valignment="middle" width="0">
18229 <column alignment="center" valignment="middle" width="0" special="K{red}">
18230 <row>
18231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18232 \begin_inset Text
18233
18234 \begin_layout Plain Layout
18235 verylongtablecellword
18236 \end_layout
18237
18238 \end_inset
18239 </cell>
18240 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18241 \begin_inset Text
18242
18243 \begin_layout Plain Layout
18244 multiple lines multicolumn
18245 \end_layout
18246
18247 \end_inset
18248 </cell>
18249 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18250 \begin_inset Text
18251
18252 \begin_layout Plain Layout
18253
18254 \end_layout
18255
18256 \end_inset
18257 </cell>
18258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18259 \begin_inset Text
18260
18261 \begin_layout Plain Layout
18262 c
18263 \end_layout
18264
18265 \end_inset
18266 </cell>
18267 </row>
18268 <row>
18269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18270 \begin_inset Text
18271
18272 \begin_layout Plain Layout
18273 d
18274 \end_layout
18275
18276 \end_inset
18277 </cell>
18278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18279 \begin_inset Text
18280
18281 \begin_layout Plain Layout
18282 e
18283 \end_layout
18284
18285 \end_inset
18286 </cell>
18287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18288 \begin_inset Text
18289
18290 \begin_layout Plain Layout
18291 f
18292 \end_layout
18293
18294 \end_inset
18295 </cell>
18296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18297 \begin_inset Text
18298
18299 \begin_layout Plain Layout
18300 g
18301 \end_layout
18302
18303 \end_inset
18304 </cell>
18305 </row>
18306 <row>
18307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18308 \begin_inset Text
18309
18310 \begin_layout Plain Layout
18311 h
18312 \end_layout
18313
18314 \end_inset
18315 </cell>
18316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18317 \begin_inset Text
18318
18319 \begin_layout Plain Layout
18320 i
18321 \end_layout
18322
18323 \end_inset
18324 </cell>
18325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18326 \begin_inset Text
18327
18328 \begin_layout Plain Layout
18329 j
18330 \end_layout
18331
18332 \end_inset
18333 </cell>
18334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18335 \begin_inset Text
18336
18337 \begin_layout Plain Layout
18338 k
18339 \end_layout
18340
18341 \end_inset
18342 </cell>
18343 </row>
18344 </lyxtabular>
18345
18346 \end_inset
18347
18348
18349 \end_layout
18350
18351 \end_inset
18352
18353
18354 \end_layout
18355
18356 \begin_layout Subsection
18357 Line Thickness
18358 \begin_inset CommandInset label
18359 LatexCommand label
18360 name "sub:Line-Thickness"
18361
18362 \end_inset
18363
18364
18365 \begin_inset Index idx
18366 status collapsed
18367
18368 \begin_layout Plain Layout
18369 Table Customization ! Line Thickness
18370 \end_layout
18371
18372 \end_inset
18373
18374
18375 \end_layout
18376
18377 \begin_layout Standard
18378 The line thickness for all lines in a table can be adjusted with the length
18379  
18380 \series bold
18381
18382 \backslash
18383 arrayrulewidth
18384 \series default
18385 .
18386  To set for example a line thickness of 1.5
18387 \begin_inset space \thinspace{}
18388 \end_inset
18389
18390 pt, as in Table
18391 \begin_inset space ~
18392 \end_inset
18393
18394
18395 \begin_inset CommandInset ref
18396 LatexCommand ref
18397 reference "tab:Table-with-1.5"
18398
18399 \end_inset
18400
18401 , insert the command
18402 \end_layout
18403
18404 \begin_layout Standard
18405
18406 \series bold
18407
18408 \backslash
18409 setlength{
18410 \backslash
18411 arrayrulewidth}{1.5pt}
18412 \end_layout
18413
18414 \begin_layout Standard
18415 in TeX-Code before the table or table float.
18416  The changed thickness is valid for all subsequent tables.
18417  To use the default value again, set 
18418 \series bold
18419
18420 \backslash
18421 arrayrulewidth
18422 \series default
18423  to 0.4
18424 \begin_inset space \thinspace{}
18425 \end_inset
18426
18427 pt in TeX-Code after the table or table float.
18428 \end_layout
18429
18430 \begin_layout Standard
18431 \begin_inset ERT
18432 status collapsed
18433
18434 \begin_layout Plain Layout
18435
18436
18437 \backslash
18438 setlength{
18439 \backslash
18440 arrayrulewidth}{1.5pt}
18441 \end_layout
18442
18443 \end_inset
18444
18445
18446 \begin_inset Float table
18447 wide false
18448 sideways false
18449 status open
18450
18451 \begin_layout Plain Layout
18452 \begin_inset Caption
18453
18454 \begin_layout Plain Layout
18455 \begin_inset CommandInset label
18456 LatexCommand label
18457 name "tab:Table-with-1.5"
18458
18459 \end_inset
18460
18461 Table with 1.5
18462 \begin_inset space \thinspace{}
18463 \end_inset
18464
18465 pt thick lines
18466 \end_layout
18467
18468 \end_inset
18469
18470
18471 \end_layout
18472
18473 \begin_layout Plain Layout
18474 \align center
18475 \begin_inset Tabular
18476 <lyxtabular version="3" rows="3" columns="3">
18477 <features tabularvalignment="middle">
18478 <column alignment="center" valignment="top" width="0">
18479 <column alignment="center" valignment="top" width="0">
18480 <column alignment="center" valignment="top" width="0">
18481 <row>
18482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18483 \begin_inset Text
18484
18485 \begin_layout Plain Layout
18486 sd
18487 \end_layout
18488
18489 \end_inset
18490 </cell>
18491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18492 \begin_inset Text
18493
18494 \begin_layout Plain Layout
18495
18496 \end_layout
18497
18498 \end_inset
18499 </cell>
18500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18501 \begin_inset Text
18502
18503 \begin_layout Plain Layout
18504
18505 \end_layout
18506
18507 \end_inset
18508 </cell>
18509 </row>
18510 <row>
18511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18512 \begin_inset Text
18513
18514 \begin_layout Plain Layout
18515
18516 \end_layout
18517
18518 \end_inset
18519 </cell>
18520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18521 \begin_inset Text
18522
18523 \begin_layout Plain Layout
18524 sd
18525 \end_layout
18526
18527 \end_inset
18528 </cell>
18529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18530 \begin_inset Text
18531
18532 \begin_layout Plain Layout
18533
18534 \end_layout
18535
18536 \end_inset
18537 </cell>
18538 </row>
18539 <row>
18540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18541 \begin_inset Text
18542
18543 \begin_layout Plain Layout
18544
18545 \end_layout
18546
18547 \end_inset
18548 </cell>
18549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18550 \begin_inset Text
18551
18552 \begin_layout Plain Layout
18553
18554 \end_layout
18555
18556 \end_inset
18557 </cell>
18558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18559 \begin_inset Text
18560
18561 \begin_layout Plain Layout
18562 sd
18563 \end_layout
18564
18565 \end_inset
18566 </cell>
18567 </row>
18568 </lyxtabular>
18569
18570 \end_inset
18571
18572
18573 \end_layout
18574
18575 \end_inset
18576
18577
18578 \begin_inset ERT
18579 status collapsed
18580
18581 \begin_layout Plain Layout
18582
18583
18584 \backslash
18585 setlength{
18586 \backslash
18587 arrayrulewidth}{0.4pt}
18588 \end_layout
18589
18590 \end_inset
18591
18592
18593 \end_layout
18594
18595 \begin_layout Standard
18596 \begin_inset VSpace bigskip
18597 \end_inset
18598
18599 To set the line thickness to 1.5
18600 \begin_inset space \thinspace{}
18601 \end_inset
18602
18603 pt only for horizontal lines, as in Table
18604 \begin_inset space ~
18605 \end_inset
18606
18607
18608 \begin_inset CommandInset ref
18609 LatexCommand ref
18610 reference "tab:Table-with-horizontal"
18611
18612 \end_inset
18613
18614 , insert these commands in TeX-Code before the table or table float:
18615 \end_layout
18616
18617 \begin_layout Standard
18618
18619 \series bold
18620
18621 \backslash
18622 let
18623 \backslash
18624 myHline
18625 \backslash
18626 hline
18627 \begin_inset Newline newline
18628 \end_inset
18629
18630
18631 \backslash
18632 renewcommand{
18633 \backslash
18634 hline}
18635 \begin_inset Newline newline
18636 \end_inset
18637
18638  {
18639 \backslash
18640 noalign{
18641 \backslash
18642 global
18643 \backslash
18644 arrayrulewidth 1.5pt}
18645 \begin_inset Newline newline
18646 \end_inset
18647
18648  
18649 \backslash
18650 myHline
18651 \backslash
18652 noalign{
18653 \backslash
18654 global
18655 \backslash
18656 arrayrulewidth 0.4pt}}
18657 \end_layout
18658
18659 \begin_layout Standard
18660 To return to the default line thickness, insert this command in TeX-Code
18661  after the table or table float:
18662 \end_layout
18663
18664 \begin_layout Standard
18665
18666 \series bold
18667
18668 \backslash
18669 renewcommand{
18670 \backslash
18671 hline}{
18672 \backslash
18673 myHline}
18674 \end_layout
18675
18676 \begin_layout Standard
18677 \begin_inset ERT
18678 status collapsed
18679
18680 \begin_layout Plain Layout
18681
18682
18683 \backslash
18684 let
18685 \backslash
18686 myHline
18687 \backslash
18688 hline
18689 \end_layout
18690
18691 \begin_layout Plain Layout
18692
18693
18694 \backslash
18695 renewcommand{
18696 \backslash
18697 hline}
18698 \end_layout
18699
18700 \begin_layout Plain Layout
18701
18702  {
18703 \backslash
18704 noalign{
18705 \backslash
18706 global
18707 \backslash
18708 arrayrulewidth 1.5pt}
18709 \end_layout
18710
18711 \begin_layout Plain Layout
18712
18713   
18714 \backslash
18715 myHline
18716 \backslash
18717 noalign{
18718 \backslash
18719 global
18720 \backslash
18721 arrayrulewidth 0.4pt}}
18722 \end_layout
18723
18724 \end_inset
18725
18726
18727 \begin_inset Float table
18728 wide false
18729 sideways false
18730 status open
18731
18732 \begin_layout Plain Layout
18733 \begin_inset Caption
18734
18735 \begin_layout Plain Layout
18736 \begin_inset CommandInset label
18737 LatexCommand label
18738 name "tab:Table-with-horizontal"
18739
18740 \end_inset
18741
18742 Table with 1.5
18743 \begin_inset space \thinspace{}
18744 \end_inset
18745
18746 pt thick horizontal lines
18747 \end_layout
18748
18749 \end_inset
18750
18751
18752 \end_layout
18753
18754 \begin_layout Plain Layout
18755 \align center
18756 \begin_inset Tabular
18757 <lyxtabular version="3" rows="3" columns="3">
18758 <features tabularvalignment="middle">
18759 <column alignment="center" valignment="top" width="0">
18760 <column alignment="center" valignment="top" width="0">
18761 <column alignment="center" valignment="top" width="0">
18762 <row>
18763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18764 \begin_inset Text
18765
18766 \begin_layout Plain Layout
18767 sd
18768 \end_layout
18769
18770 \end_inset
18771 </cell>
18772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18773 \begin_inset Text
18774
18775 \begin_layout Plain Layout
18776
18777 \end_layout
18778
18779 \end_inset
18780 </cell>
18781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18782 \begin_inset Text
18783
18784 \begin_layout Plain Layout
18785
18786 \end_layout
18787
18788 \end_inset
18789 </cell>
18790 </row>
18791 <row>
18792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18793 \begin_inset Text
18794
18795 \begin_layout Plain Layout
18796
18797 \end_layout
18798
18799 \end_inset
18800 </cell>
18801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18802 \begin_inset Text
18803
18804 \begin_layout Plain Layout
18805 sd
18806 \end_layout
18807
18808 \end_inset
18809 </cell>
18810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18811 \begin_inset Text
18812
18813 \begin_layout Plain Layout
18814
18815 \end_layout
18816
18817 \end_inset
18818 </cell>
18819 </row>
18820 <row>
18821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18822 \begin_inset Text
18823
18824 \begin_layout Plain Layout
18825
18826 \end_layout
18827
18828 \end_inset
18829 </cell>
18830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18831 \begin_inset Text
18832
18833 \begin_layout Plain Layout
18834
18835 \end_layout
18836
18837 \end_inset
18838 </cell>
18839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18840 \begin_inset Text
18841
18842 \begin_layout Plain Layout
18843 sd
18844 \end_layout
18845
18846 \end_inset
18847 </cell>
18848 </row>
18849 </lyxtabular>
18850
18851 \end_inset
18852
18853
18854 \end_layout
18855
18856 \end_inset
18857
18858
18859 \begin_inset ERT
18860 status collapsed
18861
18862 \begin_layout Plain Layout
18863
18864
18865 \backslash
18866 renewcommand{
18867 \backslash
18868 hline}{
18869 \backslash
18870 myHline}
18871 \end_layout
18872
18873 \end_inset
18874
18875
18876 \end_layout
18877
18878 \begin_layout Standard
18879 \begin_inset VSpace bigskip
18880 \end_inset
18881
18882 To set the line thickness to 1.5
18883 \begin_inset space \thinspace{}
18884 \end_inset
18885
18886 pt only for vertical lines, create the following column format in the document
18887  preamble, according to the description in section
18888 \begin_inset space ~
18889 \end_inset
18890
18891
18892 \begin_inset CommandInset ref
18893 LatexCommand ref
18894 reference "sub:Customized-Format"
18895
18896 \end_inset
18897
18898 :
18899 \end_layout
18900
18901 \begin_layout Standard
18902
18903 \series bold
18904
18905 \backslash
18906 newcolumntype{V}{!{
18907 \backslash
18908 vrule width 1.5pt}}
18909 \end_layout
18910
18911 \begin_layout Standard
18912 For Table
18913 \begin_inset space ~
18914 \end_inset
18915
18916
18917 \begin_inset CommandInset ref
18918 LatexCommand ref
18919 reference "tab:Table-with-vertical"
18920
18921 \end_inset
18922
18923  the LaTeX-argument
18924 \end_layout
18925
18926 \begin_layout Standard
18927
18928 \series bold
18929 VcV
18930 \end_layout
18931
18932 \begin_layout Standard
18933 was used for the last column and
18934 \end_layout
18935
18936 \begin_layout Standard
18937
18938 \series bold
18939 Vc
18940 \end_layout
18941
18942 \begin_layout Standard
18943 for the other columns.
18944 \end_layout
18945
18946 \begin_layout Standard
18947 \begin_inset Float table
18948 wide false
18949 sideways false
18950 status open
18951
18952 \begin_layout Plain Layout
18953 \begin_inset Caption
18954
18955 \begin_layout Plain Layout
18956 \begin_inset CommandInset label
18957 LatexCommand label
18958 name "tab:Table-with-vertical"
18959
18960 \end_inset
18961
18962 Table with 1.5
18963 \begin_inset space \thinspace{}
18964 \end_inset
18965
18966 pt thick vertical lines
18967 \end_layout
18968
18969 \end_inset
18970
18971
18972 \end_layout
18973
18974 \begin_layout Plain Layout
18975 \align center
18976 \begin_inset Tabular
18977 <lyxtabular version="3" rows="3" columns="3">
18978 <features tabularvalignment="middle">
18979 <column alignment="center" valignment="top" width="0" special="Vc">
18980 <column alignment="center" valignment="top" width="0" special="Vc">
18981 <column alignment="center" valignment="top" width="0" special="VcV">
18982 <row>
18983 <cell alignment="center" valignment="top" topline="true" usebox="none">
18984 \begin_inset Text
18985
18986 \begin_layout Plain Layout
18987 sd
18988 \end_layout
18989
18990 \end_inset
18991 </cell>
18992 <cell alignment="center" valignment="top" topline="true" usebox="none">
18993 \begin_inset Text
18994
18995 \begin_layout Plain Layout
18996
18997 \end_layout
18998
18999 \end_inset
19000 </cell>
19001 <cell alignment="center" valignment="top" topline="true" usebox="none">
19002 \begin_inset Text
19003
19004 \begin_layout Plain Layout
19005
19006 \end_layout
19007
19008 \end_inset
19009 </cell>
19010 </row>
19011 <row>
19012 <cell alignment="center" valignment="top" topline="true" usebox="none">
19013 \begin_inset Text
19014
19015 \begin_layout Plain Layout
19016
19017 \end_layout
19018
19019 \end_inset
19020 </cell>
19021 <cell alignment="center" valignment="top" topline="true" usebox="none">
19022 \begin_inset Text
19023
19024 \begin_layout Plain Layout
19025 sd
19026 \end_layout
19027
19028 \end_inset
19029 </cell>
19030 <cell alignment="center" valignment="top" topline="true" usebox="none">
19031 \begin_inset Text
19032
19033 \begin_layout Plain Layout
19034
19035 \end_layout
19036
19037 \end_inset
19038 </cell>
19039 </row>
19040 <row>
19041 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19042 \begin_inset Text
19043
19044 \begin_layout Plain Layout
19045
19046 \end_layout
19047
19048 \end_inset
19049 </cell>
19050 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19051 \begin_inset Text
19052
19053 \begin_layout Plain Layout
19054
19055 \end_layout
19056
19057 \end_inset
19058 </cell>
19059 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19060 \begin_inset Text
19061
19062 \begin_layout Plain Layout
19063 sd
19064 \end_layout
19065
19066 \end_inset
19067 </cell>
19068 </row>
19069 </lyxtabular>
19070
19071 \end_inset
19072
19073
19074 \end_layout
19075
19076 \end_inset
19077
19078
19079 \end_layout
19080
19081 \begin_layout Subsection
19082 Dashed Lines
19083 \begin_inset Index idx
19084 status collapsed
19085
19086 \begin_layout Plain Layout
19087 Table Customization ! Dashed Lines
19088 \end_layout
19089
19090 \end_inset
19091
19092
19093 \end_layout
19094
19095 \begin_layout Standard
19096 \begin_inset ERT
19097 status collapsed
19098
19099 \begin_layout Plain Layout
19100
19101
19102 \backslash
19103 ifarydshln
19104 \end_layout
19105
19106 \end_inset
19107
19108
19109 \begin_inset Note Note
19110 status open
19111
19112 \begin_layout Plain Layout
19113 The following section will only be displayed when the LaTeX-package 
19114 \series bold
19115 arydshln
19116 \series default
19117  is installed.
19118 \end_layout
19119
19120 \end_inset
19121
19122
19123 \end_layout
19124
19125 \begin_layout Standard
19126 \begin_inset Float table
19127 placement H
19128 wide false
19129 sideways false
19130 status open
19131
19132 \begin_layout Plain Layout
19133 \begin_inset Caption
19134
19135 \begin_layout Plain Layout
19136 \begin_inset CommandInset label
19137 LatexCommand label
19138 name "tab:Table-with-dashed"
19139
19140 \end_inset
19141
19142 Table with dashed lines
19143 \end_layout
19144
19145 \end_inset
19146
19147
19148 \end_layout
19149
19150 \begin_layout Plain Layout
19151 \align center
19152 \begin_inset Tabular
19153 <lyxtabular version="3" rows="5" columns="5">
19154 <features tabularvalignment="middle">
19155 <column alignment="center" valignment="top" width="0">
19156 <column alignment="center" valignment="top" width="0">
19157 <column alignment="center" valignment="top" width="0" special=":c">
19158 <column alignment="center" valignment="top" width="0">
19159 <column alignment="center" valignment="top" width="0">
19160 <row>
19161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19162 \begin_inset Text
19163
19164 \begin_layout Plain Layout
19165 a
19166 \end_layout
19167
19168 \end_inset
19169 </cell>
19170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19171 \begin_inset Text
19172
19173 \begin_layout Plain Layout
19174 b
19175 \end_layout
19176
19177 \end_inset
19178 </cell>
19179 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19180 \begin_inset Text
19181
19182 \begin_layout Plain Layout
19183 c
19184 \end_layout
19185
19186 \end_inset
19187 </cell>
19188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19189 \begin_inset Text
19190
19191 \begin_layout Plain Layout
19192 d
19193 \end_layout
19194
19195 \end_inset
19196 </cell>
19197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19198 \begin_inset Text
19199
19200 \begin_layout Plain Layout
19201 e
19202 \end_layout
19203
19204 \end_inset
19205 </cell>
19206 </row>
19207 <row>
19208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19209 \begin_inset Text
19210
19211 \begin_layout Plain Layout
19212 f
19213 \end_layout
19214
19215 \end_inset
19216 </cell>
19217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19218 \begin_inset Text
19219
19220 \begin_layout Plain Layout
19221 g
19222 \end_layout
19223
19224 \end_inset
19225 </cell>
19226 <cell alignment="center" valignment="top" topline="true" usebox="none">
19227 \begin_inset Text
19228
19229 \begin_layout Plain Layout
19230 h
19231 \end_layout
19232
19233 \end_inset
19234 </cell>
19235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19236 \begin_inset Text
19237
19238 \begin_layout Plain Layout
19239 i
19240 \end_layout
19241
19242 \end_inset
19243 </cell>
19244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19245 \begin_inset Text
19246
19247 \begin_layout Plain Layout
19248 j
19249 \end_layout
19250
19251 \end_inset
19252 </cell>
19253 </row>
19254 <row>
19255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19256 \begin_inset Text
19257
19258 \begin_layout Plain Layout
19259 \begin_inset ERT
19260 status collapsed
19261
19262 \begin_layout Plain Layout
19263
19264
19265 \backslash
19266 hdashline 
19267 \end_layout
19268
19269 \end_inset
19270
19271 k
19272 \end_layout
19273
19274 \end_inset
19275 </cell>
19276 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19277 \begin_inset Text
19278
19279 \begin_layout Plain Layout
19280 l
19281 \end_layout
19282
19283 \end_inset
19284 </cell>
19285 <cell alignment="center" valignment="top" usebox="none">
19286 \begin_inset Text
19287
19288 \begin_layout Plain Layout
19289 m
19290 \end_layout
19291
19292 \end_inset
19293 </cell>
19294 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19295 \begin_inset Text
19296
19297 \begin_layout Plain Layout
19298 n
19299 \end_layout
19300
19301 \end_inset
19302 </cell>
19303 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19304 \begin_inset Text
19305
19306 \begin_layout Plain Layout
19307 o
19308 \end_layout
19309
19310 \end_inset
19311 </cell>
19312 </row>
19313 <row>
19314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19315 \begin_inset Text
19316
19317 \begin_layout Plain Layout
19318 \begin_inset ERT
19319 status collapsed
19320
19321 \begin_layout Plain Layout
19322
19323
19324 \backslash
19325 cdashline{4-5}
19326 \end_layout
19327
19328 \end_inset
19329
19330 p
19331 \end_layout
19332
19333 \end_inset
19334 </cell>
19335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19336 \begin_inset Text
19337
19338 \begin_layout Plain Layout
19339 q
19340 \end_layout
19341
19342 \end_inset
19343 </cell>
19344 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19345 \begin_inset Text
19346
19347 \begin_layout Plain Layout
19348 r
19349 \end_layout
19350
19351 \end_inset
19352 </cell>
19353 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19354 \begin_inset Text
19355
19356 \begin_layout Plain Layout
19357 s
19358 \end_layout
19359
19360 \end_inset
19361 </cell>
19362 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19363 \begin_inset Text
19364
19365 \begin_layout Plain Layout
19366
19367 \end_layout
19368
19369 \end_inset
19370 </cell>
19371 </row>
19372 <row>
19373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19374 \begin_inset Text
19375
19376 \begin_layout Plain Layout
19377 t
19378 \end_layout
19379
19380 \end_inset
19381 </cell>
19382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19383 \begin_inset Text
19384
19385 \begin_layout Plain Layout
19386 u
19387 \end_layout
19388
19389 \end_inset
19390 </cell>
19391 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19392 \begin_inset Text
19393
19394 \begin_layout Plain Layout
19395 v
19396 \end_layout
19397
19398 \end_inset
19399 </cell>
19400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19401 \begin_inset Text
19402
19403 \begin_layout Plain Layout
19404 w
19405 \end_layout
19406
19407 \end_inset
19408 </cell>
19409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19410 \begin_inset Text
19411
19412 \begin_layout Plain Layout
19413 x
19414 \end_layout
19415
19416 \end_inset
19417 </cell>
19418 </row>
19419 </lyxtabular>
19420
19421 \end_inset
19422
19423
19424 \end_layout
19425
19426 \end_inset
19427
19428
19429 \end_layout
19430
19431 \begin_layout Standard
19432 LyX does not natively support dashed lines, so you have to use TeX-Code.
19433  As a prerequisite the LaTeX-package 
19434 \series bold
19435 arydshln
19436 \series default
19437
19438 \begin_inset Index idx
19439 status collapsed
19440
19441 \begin_layout Plain Layout
19442 LaTeX-packages ! arydshln
19443 \end_layout
19444
19445 \end_inset
19446
19447  must be loaded in the document preamble with the command
19448 \end_layout
19449
19450 \begin_layout Standard
19451
19452 \series bold
19453
19454 \backslash
19455 usepackage{arydshln}
19456 \end_layout
19457
19458 \begin_layout Standard
19459 To make a vertical line dashed, enter the colon 
19460 \begin_inset Quotes eld
19461 \end_inset
19462
19463 :
19464 \begin_inset Quotes erd
19465 \end_inset
19466
19467  together with the character for the horizontal alignment as LaTeX-argument
19468  in the table cell dialog.
19469 \end_layout
19470
19471 \begin_layout Standard
19472 For a horizontal dashed line add the command
19473 \end_layout
19474
19475 \begin_layout Standard
19476
19477 \series bold
19478
19479 \backslash
19480 hdashline
19481 \end_layout
19482
19483 \begin_layout Standard
19484 in TeX-Code as first element of the first cell in the table row.
19485 \end_layout
19486
19487 \begin_layout Standard
19488 For dashed multicolumn lines use the command
19489 \end_layout
19490
19491 \begin_layout Standard
19492
19493 \series bold
19494
19495 \backslash
19496 cdashline{line number
19497 \series default
19498 }
19499 \end_layout
19500
19501 \begin_layout Standard
19502 in TeX-Code as the first element of the first cell in the table row.
19503  If you have for example a multicolumn spanning columns 2 to 4 and you want
19504  to have a dashed line above, add the command
19505 \end_layout
19506
19507 \begin_layout Standard
19508
19509 \series bold
19510
19511 \backslash
19512 cdashline{2-4}
19513 \end_layout
19514
19515 \begin_layout Standard
19516 as the first element of the first cell in the row of the multicolumn.
19517 \end_layout
19518
19519 \begin_layout Standard
19520 \begin_inset VSpace bigskip
19521 \end_inset
19522
19523
19524 \end_layout
19525
19526 \begin_layout Standard
19527 Table
19528 \begin_inset space ~
19529 \end_inset
19530
19531
19532 \begin_inset CommandInset ref
19533 LatexCommand ref
19534 reference "tab:Table-with-dashed"
19535
19536 \end_inset
19537
19538  was created using 
19539 \begin_inset Quotes eld
19540 \end_inset
19541
19542
19543 \series bold
19544 :c
19545 \series default
19546
19547 \begin_inset Quotes erd
19548 \end_inset
19549
19550  as LaTeX-argument of the third column.
19551  The TeX-Code command 
19552 \series bold
19553
19554 \backslash
19555 hdashline
19556 \series default
19557  was inserted in the first cell of the third row and the TeX-Code command
19558 \begin_inset Newline newline
19559 \end_inset
19560
19561  
19562 \series bold
19563
19564 \backslash
19565 cdashline{4-5}
19566 \series default
19567  was inserted in the first cell of the fourth row.
19568 \end_layout
19569
19570 \begin_layout Standard
19571 \begin_inset Note Greyedout
19572 status open
19573
19574 \begin_layout Plain Layout
19575
19576 \series bold
19577 Note:
19578 \series default
19579  The LaTeX-package 
19580 \series bold
19581 arydshln
19582 \series default
19583  is apparently not compatible with the LaTeX-package 
19584 \series bold
19585 colortbl
19586 \series default
19587
19588 \begin_inset Index idx
19589 status collapsed
19590
19591 \begin_layout Plain Layout
19592 LaTeX-packages ! colortbl
19593 \end_layout
19594
19595 \end_inset
19596
19597  that is used for colored tables in section
19598 \begin_inset space ~
19599 \end_inset
19600
19601
19602 \begin_inset CommandInset ref
19603 LatexCommand ref
19604 reference "sec:Colored-Tables"
19605
19606 \end_inset
19607
19608 .
19609  That means colored tables cannot have dashed lines.
19610 \end_layout
19611
19612 \end_inset
19613
19614
19615 \end_layout
19616
19617 \begin_layout Standard
19618 \begin_inset ERT
19619 status collapsed
19620
19621 \begin_layout Plain Layout
19622
19623
19624 \backslash
19625 else
19626 \end_layout
19627
19628 \end_inset
19629
19630
19631 \begin_inset Note Note
19632 status open
19633
19634 \begin_layout Plain Layout
19635 The following will be displayed when the LaTeX-package 
19636 \series bold
19637 arydshln
19638 \series default
19639  is not installed:
19640 \end_layout
19641
19642 \end_inset
19643
19644
19645 \end_layout
19646
19647 \begin_layout Standard
19648 You need to install the package 
19649 \series bold
19650 arydshln
19651 \series default
19652  to see the content of this section in the output.
19653 \end_layout
19654
19655 \begin_layout Standard
19656 \begin_inset ERT
19657 status collapsed
19658
19659 \begin_layout Plain Layout
19660
19661
19662 \backslash
19663 fi
19664 \end_layout
19665
19666 \end_inset
19667
19668
19669 \end_layout
19670
19671 \begin_layout Chapter
19672 Floats
19673 \begin_inset CommandInset label
19674 LatexCommand label
19675 name "chap:Floats"
19676
19677 \end_inset
19678
19679
19680 \begin_inset Index idx
19681 status collapsed
19682
19683 \begin_layout Plain Layout
19684 Floats
19685 \end_layout
19686
19687 \end_inset
19688
19689
19690 \end_layout
19691
19692 \begin_layout Section
19693 Introduction
19694 \begin_inset CommandInset label
19695 LatexCommand label
19696 name "sec:FloatIntroduction"
19697
19698 \end_inset
19699
19700
19701 \begin_inset Index idx
19702 status collapsed
19703
19704 \begin_layout Plain Layout
19705 Floats ! Introduction
19706 \end_layout
19707
19708 \end_inset
19709
19710
19711 \end_layout
19712
19713 \begin_layout Standard
19714 A float is a block of text associated with some sort of label, which doesn't
19715  have a fixed location.
19716  It can 
19717 \begin_inset Quotes eld
19718 \end_inset
19719
19720 float
19721 \begin_inset Quotes erd
19722 \end_inset
19723
19724  forward or backward a page or two, to wherever it fits best.
19725  
19726 \family sans
19727 Footnotes
19728 \family default
19729  and 
19730 \family sans
19731 Margin
19732 \begin_inset space ~
19733 \end_inset
19734
19735 Notes
19736 \family default
19737  are also floats, because they can float to the next page when there are
19738  too many notes on the page.
19739 \end_layout
19740
19741 \begin_layout Standard
19742 Floats allow a high quality layout.
19743  Images and tables can be spread evenly to the pages to avoid white space
19744  and pages without text.
19745  As the floating often destroys the context between the text and the image/table
19746 , every float can be referenced in the text.
19747  Floats are therefore numbered.
19748  Referencing is described in section
19749 \begin_inset space ~
19750 \end_inset
19751
19752
19753 \begin_inset CommandInset ref
19754 LatexCommand ref
19755 reference "sec:Referencing-Floats"
19756
19757 \end_inset
19758
19759 .
19760 \end_layout
19761
19762 \begin_layout Standard
19763 To insert a float, use the menu 
19764 \family sans
19765 Insert\SpecialChar \menuseparator
19766 Float
19767 \family default
19768 .
19769  This inserts the 
19770 \family sans
19771 Caption
19772 \family default
19773  inset, a box with a label.
19774  The label will automatically be translated to the document language in
19775  the output.
19776  After the label you can insert the caption text.
19777  The image or table is inserted above or below the caption in a separate
19778  paragraph within the float.
19779  More about the caption placement is contained in section
19780 \begin_inset space ~
19781 \end_inset
19782
19783
19784 \begin_inset CommandInset ref
19785 LatexCommand ref
19786 reference "sec:Caption-Placement"
19787
19788 \end_inset
19789
19790 .
19791  To keep your LyX-document readable, you can open and close the float box
19792  by left-clicking on the box label.
19793  A closed float box looks like this: 
19794 \begin_inset Graphics
19795         filename clipart/floatQt4.png
19796         scale 70
19797         scaleBeforeRotation
19798
19799 \end_inset
19800
19801  – a gray button with a red label.
19802 \end_layout
19803
19804 \begin_layout Standard
19805 It is recommended that you insert floats as a separate standard paragraph
19806  to avoid possible LaTeX-errors that can occur when the surrounding text
19807  is specially formatted.
19808 \end_layout
19809
19810 \begin_layout Standard
19811 Existing figures or tables can be put into a float by highlighting them
19812  and then pressing the corresponding toolbar button for a new float.
19813 \end_layout
19814
19815 \begin_layout Section
19816 Float Types
19817 \end_layout
19818
19819 \begin_layout Standard
19820 Besides figure and table floats that are described in sections
19821 \begin_inset space ~
19822 \end_inset
19823
19824
19825 \begin_inset CommandInset ref
19826 LatexCommand ref
19827 reference "sec:Figure-Floats"
19828
19829 \end_inset
19830
19831  and 
19832 \begin_inset CommandInset ref
19833 LatexCommand ref
19834 reference "sec:Table-Floats"
19835
19836 \end_inset
19837
19838  respectively, LyX offers the float types 
19839 \family sans
19840 Algorithm
19841 \family default
19842  and 
19843 \family sans
19844 Wrap
19845 \family default
19846 .
19847  The latter are explained in sec.
19848 \begin_inset space \thinspace{}
19849 \end_inset
19850
19851
19852 \begin_inset CommandInset ref
19853 LatexCommand ref
19854 reference "sec:Wrap-Floats"
19855
19856 \end_inset
19857
19858 .
19859 \end_layout
19860
19861 \begin_layout Subsection
19862 Algorithm Floats
19863 \begin_inset Index idx
19864 status collapsed
19865
19866 \begin_layout Plain Layout
19867 Floats ! Algorithms
19868 \end_layout
19869
19870 \end_inset
19871
19872
19873 \end_layout
19874
19875 \begin_layout Standard
19876 \begin_inset Float algorithm
19877 placement h
19878 wide false
19879 sideways false
19880 status open
19881
19882 \begin_layout Plain Layout
19883 \begin_inset Caption
19884
19885 \begin_layout Plain Layout
19886 \begin_inset CommandInset label
19887 LatexCommand label
19888 name "alg:Example-Algorithm-float"
19889
19890 \end_inset
19891
19892 Example Algorithm float
19893 \end_layout
19894
19895 \end_inset
19896
19897
19898 \end_layout
19899
19900 \begin_layout LyX-Code
19901 for I in 1..N loop
19902 \begin_inset Newline newline
19903 \end_inset
19904
19905  Sum:= Sum + A(I); /*comment*/
19906 \begin_inset Newline newline
19907 \end_inset
19908
19909 end loop
19910 \begin_inset VSpace -4mm
19911 \end_inset
19912
19913
19914 \end_layout
19915
19916 \end_inset
19917
19918
19919 \end_layout
19920
19921 \begin_layout Standard
19922 This float type is inserted with the menu 
19923 \family sans
19924 Insert\SpecialChar \menuseparator
19925 Floats\SpecialChar \menuseparator
19926 Algorithm
19927 \family default
19928 .
19929  It is used for program codes and descriptions of algorithms and can be
19930  seen as an alternative to program code listings that are explained in chapter
19931 \begin_inset space ~
19932 \end_inset
19933
19934
19935 \begin_inset CommandInset ref
19936 LatexCommand ref
19937 reference "cha:Program-Code-Listings"
19938
19939 \end_inset
19940
19941 .
19942  A possible environment for algorithms is the 
19943 \family sans
19944 LyX-Code
19945 \family default
19946 , described in LyX's 
19947 \emph on
19948 Userguide
19949 \emph default
19950 .
19951  Algorithm
19952 \begin_inset space ~
19953 \end_inset
19954
19955
19956 \begin_inset CommandInset ref
19957 LatexCommand ref
19958 reference "alg:Example-Algorithm-float"
19959
19960 \end_inset
19961
19962  is an example of an algorithm float where -4
19963 \begin_inset space \thinspace{}
19964 \end_inset
19965
19966 mm vertical space was added at the end of the float to have the bottom rule
19967  exactly below the last text line.
19968 \end_layout
19969
19970 \begin_layout Standard
19971 The float label is not automatically translated into the document language.
19972  If your document is not in English, you have to do this manually by adding
19973  the following line to the document preamble
19974 \series bold
19975 :
19976 \end_layout
19977
19978 \begin_layout Standard
19979
19980 \series bold
19981
19982 \backslash
19983 floatname{algorithm}{your
19984 \begin_inset space ~
19985 \end_inset
19986
19987 name}
19988 \end_layout
19989
19990 \begin_layout Standard
19991 where 
19992 \family sans
19993 your
19994 \begin_inset space ~
19995 \end_inset
19996
19997 name
19998 \family default
19999  is the word 
20000 \begin_inset Quotes eld
20001 \end_inset
20002
20003
20004 \emph on
20005 algorithm
20006 \emph default
20007
20008 \begin_inset Quotes erd
20009 \end_inset
20010
20011  in your language.
20012 \end_layout
20013
20014 \begin_layout Standard
20015 To insert the list of algorithms you can use the menu 
20016 \family sans
20017 Insert\SpecialChar \menuseparator
20018 List
20019 \begin_inset space \thinspace{}
20020 \end_inset
20021
20022 /
20023 \begin_inset space \thinspace{}
20024 \end_inset
20025
20026 TOC\SpecialChar \menuseparator
20027 List of Algorithms
20028 \family default
20029  when your document has the same language as LyX's menu names.
20030  In other cases use this command in TeX-Code instead:
20031 \end_layout
20032
20033 \begin_layout Standard
20034
20035 \series bold
20036
20037 \backslash
20038 listof{algorithm}{your
20039 \begin_inset space ~
20040 \end_inset
20041
20042 name}
20043 \end_layout
20044
20045 \begin_layout Standard
20046 where 
20047 \family sans
20048 your
20049 \begin_inset space ~
20050 \end_inset
20051
20052 name
20053 \family default
20054  is the word 
20055 \begin_inset Quotes eld
20056 \end_inset
20057
20058
20059 \emph on
20060 List of Algorithm
20061 \emph default
20062 s
20063 \begin_inset Quotes erd
20064 \end_inset
20065
20066  in your language.
20067 \end_layout
20068
20069 \begin_layout Standard
20070 Algorithm floats are not by default numbered in the scheme 
20071 \begin_inset Quotes eld
20072 \end_inset
20073
20074 chapter.algorithm
20075 \begin_inset Quotes erd
20076 \end_inset
20077
20078  as is the case for table and figure floats in many document-classes.
20079  To number algorithm floats in the same scheme, add this command to your
20080  document preamble:
20081 \end_layout
20082
20083 \begin_layout Standard
20084
20085 \series bold
20086
20087 \backslash
20088 numberwithin{algorithm}{chapter}
20089 \end_layout
20090
20091 \begin_layout Standard
20092 To be able to use the command 
20093 \series bold
20094
20095 \backslash
20096 numberwithin
20097 \series default
20098 , set in the tab 
20099 \family sans
20100 Math
20101 \begin_inset space ~
20102 \end_inset
20103
20104 Options
20105 \family default
20106  in the document settings the option 
20107 \family sans
20108 Use
20109 \begin_inset space ~
20110 \end_inset
20111
20112 AMS
20113 \begin_inset space ~
20114 \end_inset
20115
20116 math
20117 \begin_inset space ~
20118 \end_inset
20119
20120 package
20121 \family default
20122 .
20123 \end_layout
20124
20125 \begin_layout Section
20126 Float Numbering
20127 \begin_inset Index idx
20128 status collapsed
20129
20130 \begin_layout Plain Layout
20131 Floats ! Numbering
20132 \end_layout
20133
20134 \end_inset
20135
20136
20137 \end_layout
20138
20139 \begin_layout Standard
20140 Floats are usually numbered either independently from the sections the floats
20141  are in, or in the scheme 
20142 \begin_inset Quotes eld
20143 \end_inset
20144
20145 chapter.number
20146 \begin_inset Quotes erd
20147 \end_inset
20148
20149  or 
20150 \begin_inset Quotes eld
20151 \end_inset
20152
20153 section.number
20154 \begin_inset Quotes erd
20155 \end_inset
20156
20157 .
20158  This depends on the document class used.
20159 \end_layout
20160
20161 \begin_layout Standard
20162 To change section-independent numbering, you can use this command in the
20163  document preamble:
20164 \end_layout
20165
20166 \begin_layout Standard
20167
20168 \series bold
20169
20170 \backslash
20171 renewcommand{
20172 \backslash
20173 thetable}{
20174 \backslash
20175 roman{table}}
20176 \end_layout
20177
20178 \begin_layout Standard
20179
20180 \series bold
20181
20182 \backslash
20183 thetable
20184 \series default
20185  is the command that prints the table number, for figure floats, the command
20186  would be 
20187 \series bold
20188
20189 \backslash
20190 thefigure
20191 \series default
20192 .
20193  
20194 \series bold
20195
20196 \backslash
20197 roman
20198 \series default
20199  in the command above prints the table number as small roman number.
20200 \end_layout
20201
20202 \begin_layout Standard
20203 To change the numbering scheme for example to 
20204 \begin_inset Quotes eld
20205 \end_inset
20206
20207 subsection.number
20208 \begin_inset Quotes erd
20209 \end_inset
20210
20211 , use this command in the preamble:
20212 \end_layout
20213
20214 \begin_layout Standard
20215
20216 \series bold
20217
20218 \backslash
20219 numberwithin{table}{subsection}
20220 \end_layout
20221
20222 \begin_layout Standard
20223 To be able to use the command 
20224 \series bold
20225
20226 \backslash
20227 numberwithin
20228 \series default
20229 , set in the tab 
20230 \family sans
20231 Math
20232 \begin_inset space ~
20233 \end_inset
20234
20235 Options
20236 \family default
20237  in the document settings the option 
20238 \family sans
20239 Use
20240 \begin_inset space ~
20241 \end_inset
20242
20243 AMS
20244 \begin_inset space ~
20245 \end_inset
20246
20247 math
20248 \begin_inset space ~
20249 \end_inset
20250
20251 package
20252 \family default
20253 .
20254 \end_layout
20255
20256 \begin_layout Standard
20257 Please also have a look at section
20258 \begin_inset space ~
20259 \end_inset
20260
20261
20262 \begin_inset CommandInset ref
20263 LatexCommand ref
20264 reference "sub:Footnote-Numbering"
20265
20266 \end_inset
20267
20268  for the details and important notes about the numbering commands.
20269 \end_layout
20270
20271 \begin_layout Section
20272 Referencing Floats
20273 \begin_inset CommandInset label
20274 LatexCommand label
20275 name "sec:Referencing-Floats"
20276
20277 \end_inset
20278
20279
20280 \begin_inset Index idx
20281 status collapsed
20282
20283 \begin_layout Plain Layout
20284 Floats ! References
20285 \end_layout
20286
20287 \end_inset
20288
20289
20290 \begin_inset Index idx
20291 status collapsed
20292
20293 \begin_layout Plain Layout
20294 References ! to Floats
20295 \end_layout
20296
20297 \end_inset
20298
20299
20300 \end_layout
20301
20302 \begin_layout Standard
20303 To reference a float, insert a label into its caption using the menu 
20304 \family sans
20305 Insert\SpecialChar \menuseparator
20306 Label
20307 \family default
20308  or the toolbar button 
20309 \begin_inset Graphics
20310         filename ../images/label-insert.png
20311         scale 85
20312         scaleBeforeRotation
20313
20314 \end_inset
20315
20316 .
20317  A grey label box like this one: 
20318 \begin_inset Graphics
20319         filename clipart/labelQt4.png
20320         scale 85
20321         scaleBeforeRotation
20322
20323 \end_inset
20324
20325  will be inserted and the label window pops up asking for the label text.
20326  LyX offers as text the first words of the caption with a prefix.
20327  The prefix depends on the float type, e.
20328 \begin_inset space \thinspace{}
20329 \end_inset
20330
20331 g.
20332 \begin_inset space \space{}
20333 \end_inset
20334
20335 for figure floats the prefix will be "
20336 \family sans
20337 fig:
20338 \family default
20339 ".
20340 \end_layout
20341
20342 \begin_layout Standard
20343 The label is used as anchor and name for the reference.
20344  You can refer to the label using the menu 
20345 \family sans
20346 Insert\SpecialChar \menuseparator
20347 Cross-reference
20348 \family default
20349  or the toolbar button 
20350 \begin_inset Graphics
20351         filename ../images/dialog-show-new-inset_ref.png
20352         scale 85
20353         scaleBeforeRotation
20354
20355 \end_inset
20356
20357 .
20358  A grey cross-reference box like this one: 
20359 \begin_inset Graphics
20360         filename clipart/referenceQt4.png
20361         scale 85
20362         scaleBeforeRotation
20363
20364 \end_inset
20365
20366  will be inserted and the cross-reference window appear showing all labels
20367  of the document.
20368  If you have multiple LyX-documents opened, choose the one you are working
20369  on from the drop-list at the top of the dialog.
20370  You can now sort the labels alphabetically and then choose one.
20371  At the position of the cross-reference box the float number will appear
20372  in the output.
20373 \end_layout
20374
20375 \begin_layout Standard
20376 It is recommended that you use a protected space between the cross-reference
20377  name and its number to avoid line breaks between them.
20378  If a cross-reference refers to a non-existing label, you will see two question
20379  marks in the output instead of the reference.
20380 \end_layout
20381
20382 \begin_layout Standard
20383 You can change labels at any time by clicking on the label box.
20384  References to the changed label will automatically change its link to the
20385  new label text, so that you don't need to take care about this.
20386 \end_layout
20387
20388 \begin_layout Standard
20389 The button 
20390 \family sans
20391 Go
20392 \begin_inset space ~
20393 \end_inset
20394
20395 to
20396 \begin_inset space ~
20397 \end_inset
20398
20399 Label
20400 \family default
20401  in the cross-reference window sets the cursor before the referred label.
20402  The button text changes then to Go
20403 \begin_inset space ~
20404 \end_inset
20405
20406 Back and you can use it to set the cursor back to the cross-reference.
20407  Right-clicking on a cross-reference box also sets the cursor before the
20408  referenced label but without the possibility of going back.
20409 \end_layout
20410
20411 \begin_layout Subsection
20412 Cross-Reference Formats
20413 \begin_inset CommandInset label
20414 LatexCommand label
20415 name "sub:Cross-Reference-Formats"
20416
20417 \end_inset
20418
20419
20420 \begin_inset Index idx
20421 status collapsed
20422
20423 \begin_layout Plain Layout
20424 References ! Formats
20425 \end_layout
20426
20427 \end_inset
20428
20429
20430 \end_layout
20431
20432 \begin_layout Standard
20433 There are six varieties of cross-references:
20434 \end_layout
20435
20436 \begin_layout Description
20437 <reference>: prints the float number, this is the default: 
20438 \begin_inset CommandInset ref
20439 LatexCommand ref
20440 reference "fig:Two-distorted-images"
20441
20442 \end_inset
20443
20444
20445 \end_layout
20446
20447 \begin_layout Description
20448 (<reference>): prints the float number within two parentheses, this is the
20449  style normally used to reference formulas, especially when the reference
20450  name 
20451 \begin_inset Quotes eld
20452 \end_inset
20453
20454 Equation
20455 \begin_inset Quotes erd
20456 \end_inset
20457
20458  is omitted: 
20459 \begin_inset CommandInset ref
20460 LatexCommand eqref
20461 reference "eq:Wgn"
20462
20463 \end_inset
20464
20465
20466 \end_layout
20467
20468 \begin_layout Description
20469 <page>: prints the page number: Page
20470 \begin_inset space ~
20471 \end_inset
20472
20473
20474 \begin_inset CommandInset ref
20475 LatexCommand pageref
20476 reference "fig:Two-distorted-images"
20477
20478 \end_inset
20479
20480
20481 \end_layout
20482
20483 \begin_layout Description
20484 on
20485 \begin_inset space ~
20486 \end_inset
20487
20488 page
20489 \begin_inset space ~
20490 \end_inset
20491
20492 <page>: prints the text "on page" and the page number: 
20493 \begin_inset CommandInset ref
20494 LatexCommand vpageref
20495 reference "fig:Two-distorted-images"
20496
20497 \end_inset
20498
20499
20500 \end_layout
20501
20502 \begin_layout Description
20503 <reference>
20504 \begin_inset space ~
20505 \end_inset
20506
20507 on
20508 \begin_inset space ~
20509 \end_inset
20510
20511 page
20512 \begin_inset space ~
20513 \end_inset
20514
20515 <page>: prints the float number, the text "on page", and the page number:
20516  
20517 \begin_inset CommandInset ref
20518 LatexCommand vref
20519 reference "fig:Two-distorted-images"
20520
20521 \end_inset
20522
20523
20524 \end_layout
20525
20526 \begin_layout Description
20527 Formatted
20528 \begin_inset space ~
20529 \end_inset
20530
20531 reference: prints a self-defined cross-reference format.
20532 \begin_inset Newline newline
20533 \end_inset
20534
20535
20536 \begin_inset Note Greyedout
20537 status open
20538
20539 \begin_layout Plain Layout
20540
20541 \series bold
20542 Note:
20543 \series default
20544  This feature is only available when you have the LaTeX-package 
20545 \series bold
20546 prettyref
20547 \series default
20548  or 
20549 \series bold
20550 refstyle
20551 \series default
20552
20553 \begin_inset Index idx
20554 status collapsed
20555
20556 \begin_layout Plain Layout
20557 LaTeX-packages ! prettyref
20558 \end_layout
20559
20560 \end_inset
20561
20562
20563 \begin_inset Index idx
20564 status collapsed
20565
20566 \begin_layout Plain Layout
20567 LaTeX-packages ! refstyle
20568 \end_layout
20569
20570 \end_inset
20571
20572  installed.
20573 \end_layout
20574
20575 \end_inset
20576
20577
20578 \begin_inset Newline newline
20579 \end_inset
20580
20581 You can select which LaTeX-package should be used for this feature by setting
20582  the option 
20583 \family sans
20584 Use refstyle (not prettyref) for cross-references
20585 \family default
20586  in the menu 
20587 \family sans
20588 Document\SpecialChar \menuseparator
20589 Settings\SpecialChar \menuseparator
20590 Document Class
20591 \family default
20592 .
20593  The format is specified by adding the command 
20594 \series bold
20595
20596 \backslash
20597 newrefformat
20598 \series default
20599  (prettyref) or 
20600 \series bold
20601
20602 \backslash
20603 newref
20604 \series default
20605  (refstyle) to the preamble of the document.
20606  For example redefining all references to figures (which have the label
20607  shortcut 
20608 \begin_inset Quotes eld
20609 \end_inset
20610
20611
20612 \family sans
20613 fig
20614 \family default
20615
20616 \begin_inset Quotes erd
20617 \end_inset
20618
20619 ) can be done with this command
20620 \begin_inset Newline newline
20621 \end_inset
20622
20623
20624 \series bold
20625
20626 \backslash
20627 newref{fig}{refcmd={Image on page 
20628 \backslash
20629 pageref{#1}}}
20630 \series default
20631
20632 \begin_inset Newline newline
20633 \end_inset
20634
20635 For more information about the format, have a look at the package documentations
20636
20637 \begin_inset CommandInset citation
20638 LatexCommand cite
20639 key "prettyref,refstyle"
20640
20641 \end_inset
20642
20643 .
20644 \end_layout
20645
20646 \begin_layout Description
20647 Textual
20648 \begin_inset space ~
20649 \end_inset
20650
20651 reference: prints the caption of the reference: 
20652 \begin_inset CommandInset ref
20653 LatexCommand nameref
20654 reference "fig:Two-distorted-images"
20655
20656 \end_inset
20657
20658
20659 \end_layout
20660
20661 \begin_layout Standard
20662
20663 \family sans
20664 <page>
20665 \family default
20666  will not print the page number if the label is on the previous, the same,
20667  or the next page.
20668  You will e.
20669 \begin_inset space \thinspace{}
20670 \end_inset
20671
20672 g.
20673 \begin_inset space \space{}
20674 \end_inset
20675
20676 see the text 
20677 \begin_inset Quotes eld
20678 \end_inset
20679
20680
20681 \family sans
20682 on this page
20683 \family default
20684
20685 \begin_inset Quotes erd
20686 \end_inset
20687
20688  instead.
20689  The style 
20690 \family sans
20691 <reference> on page <page>
20692 \family default
20693  will not print anything about the page if the label is on the same page.
20694 \end_layout
20695
20696 \begin_layout Standard
20697 The number and current page of the part of the document referred to in the
20698  output is automatically calculated by LaTeX.
20699  The varieties are adjusted in the field 
20700 \family sans
20701 Format
20702 \family default
20703  of the cross-reference window that appears when you click on the cross-referenc
20704 e box.
20705 \end_layout
20706
20707 \begin_layout Standard
20708 \begin_inset Note Greyedout
20709 status open
20710
20711 \begin_layout Plain Layout
20712
20713 \series bold
20714 Note:
20715 \series default
20716  It is recommended to use the LaTeX-package 
20717 \series bold
20718 refstyle
20719 \series default
20720
20721 \begin_inset Index idx
20722 status collapsed
20723
20724 \begin_layout Plain Layout
20725 LaTeX-packages ! refstyle
20726 \end_layout
20727
20728 \end_inset
20729
20730  because 
20731 \series bold
20732 prettyref
20733 \series default
20734
20735 \begin_inset Index idx
20736 status collapsed
20737
20738 \begin_layout Plain Layout
20739 LaTeX-packages ! prettyref
20740 \end_layout
20741
20742 \end_inset
20743
20744  does not know all of LyX's possible label shortcuts
20745 \begin_inset Foot
20746 status collapsed
20747
20748 \begin_layout Plain Layout
20749 \begin_inset Quotes eld
20750 \end_inset
20751
20752 fig:
20753 \begin_inset Quotes erd
20754 \end_inset
20755
20756  is for example LyX's shortcut for labels in figure captions.
20757 \end_layout
20758
20759 \end_inset
20760
20761  and is not internationalized.
20762 \end_layout
20763
20764 \end_inset
20765
20766
20767 \end_layout
20768
20769 \begin_layout Standard
20770 \begin_inset Note Greyedout
20771 status open
20772
20773 \begin_layout Plain Layout
20774
20775 \series bold
20776 Note:
20777 \series default
20778  Due to a bug in the LaTeX-package 
20779 \series bold
20780 varioref
20781 \series default
20782  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20783  languages that make the period character active (like French).
20784  For a workaround, see
20785 \begin_inset Newline newline
20786 \end_inset
20787
20788
20789 \begin_inset CommandInset href
20790 LatexCommand href
20791 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20792
20793 \end_inset
20794
20795 .
20796 \end_layout
20797
20798 \end_inset
20799
20800
20801 \end_layout
20802
20803 \begin_layout Subsection
20804 Automatic Reference Naming
20805 \begin_inset Index idx
20806 status collapsed
20807
20808 \begin_layout Plain Layout
20809 References ! Automatic Reference Naming
20810 \end_layout
20811
20812 \end_inset
20813
20814
20815 \end_layout
20816
20817 \begin_layout Standard
20818 The LaTeX-package 
20819 \series bold
20820 hyperref
20821 \series default
20822
20823 \begin_inset Index idx
20824 status collapsed
20825
20826 \begin_layout Plain Layout
20827 LaTeX-packages ! hyperref
20828 \end_layout
20829
20830 \end_inset
20831
20832 , that is enabled in the 
20833 \family sans
20834 PDF Properties
20835 \family default
20836  of the 
20837 \family sans
20838 Document Settings
20839 \family default
20840  dialog, provides a very useful feature that cross-references automatically
20841  include the name of the referenced floats (or text parts like 
20842 \emph on
20843 section
20844 \emph default
20845 ).
20846  So you will save having to write e.
20847 \begin_inset space \thinspace{}
20848 \end_inset
20849
20850 g.
20851 \begin_inset space \space{}
20852 \end_inset
20853
20854 the name 
20855 \begin_inset Quotes eld
20856 \end_inset
20857
20858 Figure
20859 \begin_inset Quotes erd
20860 \end_inset
20861
20862  before every reference to a figure.
20863  To use this feature, enable 
20864 \series bold
20865 hyperref
20866 \series default
20867  and insert this line to the LaTeX preamble:
20868 \end_layout
20869
20870 \begin_layout Standard
20871
20872 \series bold
20873
20874 \backslash
20875 AtBeginDocument{
20876 \backslash
20877 renewcommand{
20878 \backslash
20879 ref}[1]{
20880 \backslash
20881 mbox{
20882 \backslash
20883 autoref{#1}}}}
20884 \end_layout
20885
20886 \begin_layout Standard
20887 When you prefer other reference names than the default ones, for example
20888  you want instead of 
20889 \begin_inset Quotes eld
20890 \end_inset
20891
20892 section
20893 \begin_inset Quotes erd
20894 \end_inset
20895
20896  the name 
20897 \begin_inset Quotes eld
20898 \end_inset
20899
20900 sec.
20901 \begin_inset space \thinspace{}
20902 \end_inset
20903
20904
20905 \begin_inset Quotes eld
20906 \end_inset
20907
20908 , you can redefine the name by inserting this in the preamble:
20909 \end_layout
20910
20911 \begin_layout Standard
20912
20913 \series bold
20914
20915 \backslash
20916 addto
20917 \backslash
20918 extrasenglish{
20919 \backslash
20920 renewcommand{
20921 \backslash
20922 sectionautorefname}
20923 \begin_inset Newline newline
20924 \end_inset
20925
20926
20927 \begin_inset Phantom HPhantom
20928 status open
20929
20930 \begin_layout Plain Layout
20931
20932 \series bold
20933 \begin_inset space ~
20934 \end_inset
20935
20936
20937 \end_layout
20938
20939 \end_inset
20940
20941 {sec.
20942 \backslash
20943 negthinspace}}
20944 \end_layout
20945
20946 \begin_layout Standard
20947 When you are using another document language than English, replace
20948 \begin_inset Newline newline
20949 \end_inset
20950
20951
20952 \series bold
20953
20954 \backslash
20955 extrasenglish
20956 \series default
20957  by 
20958 \series bold
20959
20960 \backslash
20961 extras***
20962 \series default
20963 , where *** is the name of the language used.
20964 \end_layout
20965
20966 \begin_layout Standard
20967 To get automatic names, but not for certain reference types, for example
20968  not for equations, use this preamble code:
20969 \end_layout
20970
20971 \begin_layout Standard
20972
20973 \series bold
20974
20975 \backslash
20976 newlength{
20977 \backslash
20978 abc}
20979 \begin_inset Newline newline
20980 \end_inset
20981
20982
20983 \backslash
20984 settowidth{
20985 \backslash
20986 abc}{
20987 \backslash
20988 space}
20989 \begin_inset Newline newline
20990 \end_inset
20991
20992
20993 \backslash
20994 addto
20995 \backslash
20996 extrasenglish{
20997 \backslash
20998 renewcommand{
20999 \backslash
21000 equationautorefname}
21001 \begin_inset Newline newline
21002 \end_inset
21003
21004
21005 \begin_inset Phantom HPhantom
21006 status open
21007
21008 \begin_layout Plain Layout
21009
21010 \series bold
21011 \begin_inset space ~
21012 \end_inset
21013
21014
21015 \end_layout
21016
21017 \end_inset
21018
21019 {
21020 \backslash
21021 hspace{-
21022 \backslash
21023 abc}}
21024 \end_layout
21025
21026 \begin_layout Standard
21027 More about this topic can be found in 
21028 \series bold
21029 hyperref
21030 \series default
21031 's documentation 
21032 \begin_inset CommandInset citation
21033 LatexCommand cite
21034 key "hyperref"
21035
21036 \end_inset
21037
21038 .
21039 \end_layout
21040
21041 \begin_layout Standard
21042 \begin_inset Note Greyedout
21043 status open
21044
21045 \begin_layout Plain Layout
21046
21047 \series bold
21048 Note:
21049 \series default
21050  Automatic reference naming cannot be used when you use cross-references
21051  in the 
21052 \family sans
21053 Formatted
21054 \begin_inset space ~
21055 \end_inset
21056
21057 reference
21058 \family default
21059  style, as described in section
21060 \begin_inset space ~
21061 \end_inset
21062
21063
21064 \begin_inset CommandInset ref
21065 LatexCommand ref
21066 reference "sub:Cross-Reference-Formats"
21067
21068 \end_inset
21069
21070 .
21071 \end_layout
21072
21073 \end_inset
21074
21075
21076 \end_layout
21077
21078 \begin_layout Standard
21079 The 
21080 \emph on
21081 Math
21082 \emph default
21083  manual is an example where automatic reference naming is used.
21084 \end_layout
21085
21086 \begin_layout Subsection
21087 Reference Position
21088 \begin_inset CommandInset label
21089 LatexCommand label
21090 name "sub:Reference-Position"
21091
21092 \end_inset
21093
21094
21095 \begin_inset Index idx
21096 status collapsed
21097
21098 \begin_layout Plain Layout
21099 References ! Reference Position
21100 \end_layout
21101
21102 \end_inset
21103
21104
21105 \end_layout
21106
21107 \begin_layout Standard
21108 If you use 
21109 \series bold
21110 hyperref
21111 \series default
21112
21113 \begin_inset Index idx
21114 status collapsed
21115
21116 \begin_layout Plain Layout
21117 LaTeX-packages ! hyperref
21118 \end_layout
21119
21120 \end_inset
21121
21122  in the 
21123 \family sans
21124 PDF Properties
21125 \family default
21126  of the 
21127 \family sans
21128 Document Settings
21129 \family default
21130  dialog to link cross-references in the output, you will see that clicking
21131  on an image float reference jumps to the image label.
21132  The caption will be the first text part on the screen, so that you cannot
21133  see the image without scrolling.
21134  This is because the reference link anchor is placed at the position of
21135  the label.
21136  With the use of the package 
21137 \series bold
21138 hypcap
21139 \series default
21140
21141 \begin_inset Index idx
21142 status collapsed
21143
21144 \begin_layout Plain Layout
21145 LaTeX-packages ! hypcap
21146 \end_layout
21147
21148 \end_inset
21149
21150 , which is part of the LaTeX-package 
21151 \series bold
21152 oberdiek
21153 \series default
21154
21155 \begin_inset Index idx
21156 status collapsed
21157
21158 \begin_layout Plain Layout
21159 LaTeX-packages ! oberdiek
21160 \end_layout
21161
21162 \end_inset
21163
21164 , the link anchor is placed at the beginning of a float.
21165  To use this feature for figure floats, load 
21166 \series bold
21167 hypcap
21168 \series default
21169  in the document preamble with the line
21170 \end_layout
21171
21172 \begin_layout Standard
21173
21174 \series bold
21175
21176 \backslash
21177 usepackage[figure]{hypcap}
21178 \end_layout
21179
21180 \begin_layout Standard
21181 You can also use 
21182 \series bold
21183 hypcap
21184 \series default
21185  for all float types but this is not recommended for stability reasons.
21186  For more information, have a look at 
21187 \series bold
21188 hypcap
21189 \series default
21190 's manual 
21191 \begin_inset CommandInset citation
21192 LatexCommand cite
21193 key "hypcap"
21194
21195 \end_inset
21196
21197 .
21198 \end_layout
21199
21200 \begin_layout Standard
21201 \begin_inset Note Greyedout
21202 status open
21203
21204 \begin_layout Plain Layout
21205
21206 \series bold
21207 Note:
21208 \series default
21209  
21210 \series bold
21211 hypcap
21212 \series default
21213  has no effect on references to subfigures.
21214 \end_layout
21215
21216 \end_inset
21217
21218
21219 \end_layout
21220
21221 \begin_layout Section
21222 Float Placement
21223 \begin_inset CommandInset label
21224 LatexCommand label
21225 name "sec:Float-Placement"
21226
21227 \end_inset
21228
21229
21230 \begin_inset Index idx
21231 status collapsed
21232
21233 \begin_layout Plain Layout
21234 Floats ! Placement
21235 \end_layout
21236
21237 \end_inset
21238
21239
21240 \end_layout
21241
21242 \begin_layout Standard
21243 Right-clicking on a float-box opens a dialog where you can alter the placement
21244  options that LaTeX uses for positioning the float.
21245 \begin_inset Newline newline
21246 \end_inset
21247
21248 The option 
21249 \family sans
21250 Span
21251 \begin_inset space ~
21252 \end_inset
21253
21254 columns
21255 \family default
21256  is only useful for two-column documents: If you select it, the float will
21257  span both columns on the page instead of being confined to just one.
21258 \begin_inset Newline newline
21259 \end_inset
21260
21261 The option 
21262 \family sans
21263 Rotate
21264 \begin_inset space ~
21265 \end_inset
21266
21267 sideways
21268 \family default
21269  is used to rotate floats, see section 
21270 \begin_inset CommandInset ref
21271 LatexCommand ref
21272 reference "sec:Rotated-Floats"
21273
21274 \end_inset
21275
21276 .
21277 \end_layout
21278
21279 \begin_layout Standard
21280 You can use one ore more of the following options in the float dialog to
21281  set the placement for a particular float when you uncheck the option 
21282 \family sans
21283 Use
21284 \begin_inset space ~
21285 \end_inset
21286
21287 default
21288 \begin_inset space ~
21289 \end_inset
21290
21291 placement
21292 \family default
21293 :
21294 \end_layout
21295
21296 \begin_layout Description
21297 Here
21298 \begin_inset space ~
21299 \end_inset
21300
21301 if
21302 \begin_inset space ~
21303 \end_inset
21304
21305 possible try to place the float on the position where it has been inserted
21306 \end_layout
21307
21308 \begin_layout Description
21309 Top
21310 \begin_inset space ~
21311 \end_inset
21312
21313 of
21314 \begin_inset space ~
21315 \end_inset
21316
21317 page try to place the float at the top of the current page
21318 \end_layout
21319
21320 \begin_layout Description
21321 Bottom
21322 \begin_inset space ~
21323 \end_inset
21324
21325 of
21326 \begin_inset space ~
21327 \end_inset
21328
21329 page try to place the float at the bottom of the current page
21330 \end_layout
21331
21332 \begin_layout Description
21333 Page
21334 \begin_inset space ~
21335 \end_inset
21336
21337 of
21338 \begin_inset space ~
21339 \end_inset
21340
21341 floats try to place the float on its own page 
21342 \end_layout
21343
21344 \begin_layout Standard
21345 The order of the above option is 
21346 \emph on
21347 always
21348 \emph default
21349  used by LaTeX.
21350  That means, if you use the default placement, LaTeX will first try out
21351  
21352 \family sans
21353 Here
21354 \begin_inset space ~
21355 \end_inset
21356
21357 if
21358 \begin_inset space ~
21359 \end_inset
21360
21361 possible
21362 \family default
21363 , then 
21364 \family sans
21365 Top
21366 \begin_inset space ~
21367 \end_inset
21368
21369 of
21370 \begin_inset space ~
21371 \end_inset
21372
21373 page
21374 \family default
21375 , and then the others.
21376  If you do not use the default, LaTeX will try only the checked options
21377  but in the same order.
21378  If none of the 4
21379 \begin_inset space ~
21380 \end_inset
21381
21382 placements are possible the procedure is internally repeated but it is tried
21383  to put the float on the following page.
21384 \end_layout
21385
21386 \begin_layout Standard
21387 By default, each option has its own rules:
21388 \end_layout
21389
21390 \begin_layout Labeling
21391 \labelwidthstring 00.00.0000
21392
21393 \family sans
21394 Top
21395 \begin_inset space ~
21396 \end_inset
21397
21398 of
21399 \begin_inset space ~
21400 \end_inset
21401
21402 page
21403 \family default
21404  only floats occupying less than 70
21405 \begin_inset space \thinspace{}
21406 \end_inset
21407
21408 % of the page can be placed at the top of a page (
21409 \series bold
21410
21411 \backslash
21412 topfraction
21413 \series default
21414 )
21415 \end_layout
21416
21417 \begin_layout Labeling
21418 \labelwidthstring 00.00.0000
21419
21420 \family sans
21421 Bottom
21422 \begin_inset space ~
21423 \end_inset
21424
21425 of
21426 \begin_inset space ~
21427 \end_inset
21428
21429 page
21430 \family default
21431 : only floats occupying less than 30
21432 \begin_inset space \thinspace{}
21433 \end_inset
21434
21435 % of the page can be placed at the bottom of a page.
21436  (
21437 \series bold
21438
21439 \backslash
21440 bottomfraction
21441 \series default
21442 )
21443 \end_layout
21444
21445 \begin_layout Labeling
21446 \labelwidthstring 00.00.0000
21447
21448 \family sans
21449 Page
21450 \begin_inset space ~
21451 \end_inset
21452
21453 of
21454 \begin_inset space ~
21455 \end_inset
21456
21457 floats
21458 \family default
21459 : only if more than 50
21460 \begin_inset space \thinspace{}
21461 \end_inset
21462
21463 % of the page are occupied by floats, several floats can be set together
21464  on a page.
21465  (
21466 \series bold
21467
21468 \backslash
21469 floatpagefraction
21470 \series default
21471 )
21472 \end_layout
21473
21474 \begin_layout Standard
21475 If you don't like these rules, you can ignore them by using the additional
21476  option 
21477 \family sans
21478 Ignore
21479 \begin_inset space ~
21480 \end_inset
21481
21482 LaTeX
21483 \begin_inset space ~
21484 \end_inset
21485
21486 rules
21487 \family default
21488 .
21489 \begin_inset Newline newline
21490 \end_inset
21491
21492 You can also redefine the rules with LaTeX-commands that are given in parenthese
21493 s after the rules description above.
21494  To increase for example the often too small default of the bottom-rule
21495  to 50
21496 \begin_inset space \thinspace{}
21497 \end_inset
21498
21499 % of the page, add this line to your document preamble:
21500 \end_layout
21501
21502 \begin_layout Standard
21503
21504 \series bold
21505
21506 \backslash
21507 renewcommand{
21508 \backslash
21509 bottomfraction}{0.5}
21510 \end_layout
21511
21512 \begin_layout Standard
21513 Sometimes you might need, under all circumstances, a float to be placed
21514  exactly at the position where it is inserted.
21515  For this case you can use the option 
21516 \family sans
21517 Here
21518 \begin_inset space ~
21519 \end_inset
21520
21521 definitely
21522 \family default
21523 .
21524  Use this option very rarely and only if the document is almost ready to
21525  be printed, because the float is then no longer able to 
21526 \begin_inset Quotes eld
21527 \end_inset
21528
21529 float
21530 \begin_inset Quotes erd
21531 \end_inset
21532
21533  when you change your document and this will often destroy the page layout.
21534 \end_layout
21535
21536 \begin_layout Standard
21537 There are no placement options for text wrap floats, because they are always
21538  surrounded by the text of a certain paragraph.
21539 \begin_inset VSpace bigskip
21540 \end_inset
21541
21542
21543 \end_layout
21544
21545 \begin_layout Standard
21546 Sometimes you have the problem that a float is placed at the top of a page
21547  while its corresponding section starts at the middle of the page, so that
21548  the reader could think the float is part of the previous section.
21549  To avoid this the LaTeX-command 
21550 \series bold
21551
21552 \backslash
21553 suppressfloats
21554 \series default
21555  can be used.
21556  It suppresses a given float placement for the page where it is inserted
21557  and can therefore be used to avoid floats being set before a section starts.
21558  To get this, add these commands to your document preamble:
21559 \end_layout
21560
21561 \begin_layout Standard
21562
21563 \series bold
21564
21565 \backslash
21566 let
21567 \backslash
21568 mySection
21569 \backslash
21570 section
21571 \begin_inset Newline newline
21572 \end_inset
21573
21574
21575 \backslash
21576 renewcommand{
21577 \backslash
21578 section}{
21579 \backslash
21580 suppressfloats[t]
21581 \backslash
21582 mySection}
21583 \end_layout
21584
21585 \begin_layout Standard
21586 You can define the same for all section headings, like chapters and subsections.
21587  This definition is not recommended to be used for small text parts like
21588  subsubsections because LaTeX may then have problems finding a suitable
21589  placement.
21590 \end_layout
21591
21592 \begin_layout Standard
21593 \begin_inset VSpace bigskip
21594 \end_inset
21595
21596 In some cases it is required to have all figures/tables at the end of the
21597  document.
21598  For this purpose the LaTeX-package 
21599 \series bold
21600 endfloat
21601 \series default
21602
21603 \begin_inset Index idx
21604 status collapsed
21605
21606 \begin_layout Plain Layout
21607 LaTeX-packages ! endfloat
21608 \end_layout
21609
21610 \end_inset
21611
21612  was developed.
21613  It puts all figure and table floats at the end of the document into their
21614  own sections.
21615  At the original float position a text hint like 
21616 \begin_inset Quotes eld
21617 \end_inset
21618
21619
21620 \family sans
21621 [Figure
21622 \begin_inset space ~
21623 \end_inset
21624
21625 3.2 about here.]
21626 \family default
21627
21628 \begin_inset Quotes erd
21629 \end_inset
21630
21631  is inserted.
21632  The endfloat-package is loaded in the preamble with the line
21633 \end_layout
21634
21635 \begin_layout Standard
21636
21637 \series bold
21638
21639 \backslash
21640 usepackage[options]{endfloat}
21641 \end_layout
21642
21643 \begin_layout Standard
21644 There are various package options to format the created figure/table sections.
21645  For more information we refer to the 
21646 \series bold
21647 endfloat
21648 \series default
21649  documentation 
21650 \begin_inset CommandInset citation
21651 LatexCommand cite
21652 key "endfloat"
21653
21654 \end_inset
21655
21656 .
21657 \begin_inset Newline newline
21658 \end_inset
21659
21660
21661 \begin_inset Note Greyedout
21662 status open
21663
21664 \begin_layout Plain Layout
21665
21666 \series bold
21667 Note: endfloat
21668 \series default
21669  doesn't provide an automatic translation for the text hint, you have to
21670  do this manually, see section
21671 \begin_inset space ~
21672 \end_inset
21673
21674 4 in 
21675 \begin_inset CommandInset citation
21676 LatexCommand cite
21677 key "endfloat"
21678
21679 \end_inset
21680
21681 .
21682 \end_layout
21683
21684 \end_inset
21685
21686
21687 \begin_inset Newline newline
21688 \end_inset
21689
21690
21691 \begin_inset Note Greyedout
21692 status open
21693
21694 \begin_layout Plain Layout
21695
21696 \series bold
21697 Note:
21698 \series default
21699  There is currently a bug in 
21700 \series bold
21701 endfloat
21702 \series default
21703  when the caption contains a German 
21704 \begin_inset Quotes eld
21705 \end_inset
21706
21707 ß
21708 \begin_inset Quotes erd
21709 \end_inset
21710
21711 .
21712  Use in this case the command 
21713 \begin_inset Quotes eld
21714 \end_inset
21715
21716
21717 \series bold
21718
21719 \backslash
21720 ss
21721 \series default
21722
21723 \begin_inset Quotes erd
21724 \end_inset
21725
21726  in TeX-Code instead of 
21727 \begin_inset Quotes eld
21728 \end_inset
21729
21730 ß
21731 \begin_inset Quotes erd
21732 \end_inset
21733
21734 .
21735 \end_layout
21736
21737 \end_inset
21738
21739
21740 \end_layout
21741
21742 \begin_layout Standard
21743 \begin_inset VSpace bigskip
21744 \end_inset
21745
21746 For more details about float placements, have a look at LaTeX books, 
21747 \begin_inset CommandInset citation
21748 LatexCommand cite
21749 key "latexcompanion,latexguide,latexbook"
21750
21751 \end_inset
21752
21753 .
21754 \end_layout
21755
21756 \begin_layout Section
21757 Rotated Floats
21758 \begin_inset CommandInset label
21759 LatexCommand label
21760 name "sec:Rotated-Floats"
21761
21762 \end_inset
21763
21764
21765 \begin_inset Index idx
21766 status collapsed
21767
21768 \begin_layout Plain Layout
21769 Floats ! Rotating
21770 \end_layout
21771
21772 \end_inset
21773
21774
21775 \end_layout
21776
21777 \begin_layout Standard
21778 Especially for wide tables you might have floats rotated.
21779  To rotate a whole float including the caption, right-click on the float-box
21780  and use the option 
21781 \family sans
21782 Rotate
21783 \begin_inset space ~
21784 \end_inset
21785
21786 sideways
21787 \family default
21788 .
21789 \end_layout
21790
21791 \begin_layout Standard
21792 Rotated floats are always placed on a page of their own (or column of their
21793  own; in case you have a multi-column document).
21794  You can let them span several columns using the float settings option 
21795 \family sans
21796 Span
21797 \begin_inset space ~
21798 \end_inset
21799
21800 columns
21801 \family default
21802 .
21803  Floats are rotated so that you can read them from the outside margin.
21804  To force a certain rotation direction for all pages, you can add either
21805  the option 
21806 \series bold
21807 figuresleft
21808 \series default
21809  or 
21810 \series bold
21811 figuresright
21812 \series default
21813  to the document class options.
21814 \end_layout
21815
21816 \begin_layout Standard
21817 Referencing rotated floats is the same as for normal floats, the caption
21818  format is also the same: Table
21819 \begin_inset space ~
21820 \end_inset
21821
21822
21823 \begin_inset CommandInset ref
21824 LatexCommand ref
21825 reference "tab:Rotated-table"
21826
21827 \end_inset
21828
21829  is an example of a rotated table float.
21830 \end_layout
21831
21832 \begin_layout Standard
21833 \begin_inset Note Greyedout
21834 status open
21835
21836 \begin_layout Plain Layout
21837
21838 \series bold
21839 Note:
21840 \series default
21841  Not all DVI-viewers are able to display rotated floats.
21842 \end_layout
21843
21844 \end_inset
21845
21846
21847 \end_layout
21848
21849 \begin_layout Standard
21850 \begin_inset Float table
21851 wide false
21852 sideways true
21853 status open
21854
21855 \begin_layout Plain Layout
21856 \begin_inset Caption
21857
21858 \begin_layout Plain Layout
21859 \begin_inset CommandInset label
21860 LatexCommand label
21861 name "tab:Rotated-table"
21862
21863 \end_inset
21864
21865  Rotated table
21866 \end_layout
21867
21868 \end_inset
21869
21870
21871 \end_layout
21872
21873 \begin_layout Plain Layout
21874 \align center
21875 \begin_inset Tabular
21876 <lyxtabular version="3" rows="1" columns="5">
21877 <features tabularvalignment="middle">
21878 <column alignment="center" valignment="top" width="0">
21879 <column alignment="center" valignment="top" width="0">
21880 <column alignment="center" valignment="top" width="0">
21881 <column alignment="center" valignment="top" width="0">
21882 <column alignment="center" valignment="top" width="0">
21883 <row>
21884 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21885 \begin_inset Text
21886
21887 \begin_layout Plain Layout
21888 test
21889 \end_layout
21890
21891 \end_inset
21892 </cell>
21893 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21894 \begin_inset Text
21895
21896 \begin_layout Plain Layout
21897 b
21898 \end_layout
21899
21900 \end_inset
21901 </cell>
21902 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21903 \begin_inset Text
21904
21905 \begin_layout Plain Layout
21906 c
21907 \end_layout
21908
21909 \end_inset
21910 </cell>
21911 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21912 \begin_inset Text
21913
21914 \begin_layout Plain Layout
21915 d
21916 \end_layout
21917
21918 \end_inset
21919 </cell>
21920 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21921 \begin_inset Text
21922
21923 \begin_layout Plain Layout
21924 e
21925 \end_layout
21926
21927 \end_inset
21928 </cell>
21929 </row>
21930 </lyxtabular>
21931
21932 \end_inset
21933
21934
21935 \end_layout
21936
21937 \end_inset
21938
21939
21940 \end_layout
21941
21942 \begin_layout Section
21943 Subfloats
21944 \begin_inset Index idx
21945 status collapsed
21946
21947 \begin_layout Plain Layout
21948 Floats ! Subfloats
21949 \end_layout
21950
21951 \end_inset
21952
21953
21954 \end_layout
21955
21956 \begin_layout Standard
21957 Subfloats are for example used when a figure consists of several images.
21958  They are created by inserting a float into an existing float.
21959  The placement of the subfloats can be controlled in the same way as for
21960  paragraphs as shown in table
21961 \begin_inset space ~
21962 \end_inset
21963
21964
21965 \begin_inset CommandInset ref
21966 LatexCommand ref
21967 reference "tab:Two-subtables-side"
21968
21969 \end_inset
21970
21971  and 
21972 \begin_inset CommandInset ref
21973 LatexCommand ref
21974 reference "tab:Two-subtables-upon"
21975
21976 \end_inset
21977
21978 .
21979 \end_layout
21980
21981 \begin_layout Standard
21982 Referencing subfloats works as for normal floats: Table
21983 \begin_inset space ~
21984 \end_inset
21985
21986
21987 \begin_inset CommandInset ref
21988 LatexCommand ref
21989 reference "tab:This-is-subtable-a"
21990
21991 \end_inset
21992
21993  and 
21994 \begin_inset CommandInset ref
21995 LatexCommand ref
21996 reference "tab:This-is-subtable-b"
21997
21998 \end_inset
21999
22000  are subtables of table
22001 \begin_inset space ~
22002 \end_inset
22003
22004
22005 \begin_inset CommandInset ref
22006 LatexCommand ref
22007 reference "tab:Two-subtables-side"
22008
22009 \end_inset
22010
22011 .
22012 \end_layout
22013
22014 \begin_layout Standard
22015 \begin_inset Float table
22016 wide false
22017 sideways false
22018 status open
22019
22020 \begin_layout Plain Layout
22021 \begin_inset Caption
22022
22023 \begin_layout Plain Layout
22024 \begin_inset CommandInset label
22025 LatexCommand label
22026 name "tab:Two-subtables-side"
22027
22028 \end_inset
22029
22030 Two subtables placed side by side.
22031 \end_layout
22032
22033 \end_inset
22034
22035
22036 \end_layout
22037
22038 \begin_layout Plain Layout
22039 \align center
22040 \begin_inset space \hfill{}
22041 \end_inset
22042
22043
22044 \begin_inset Float table
22045 wide false
22046 sideways false
22047 status collapsed
22048
22049 \begin_layout Plain Layout
22050 \begin_inset Caption
22051
22052 \begin_layout Plain Layout
22053 \begin_inset CommandInset label
22054 LatexCommand label
22055 name "tab:This-is-subtable-a"
22056
22057 \end_inset
22058
22059 This is subtable a.
22060 \end_layout
22061
22062 \end_inset
22063
22064
22065 \end_layout
22066
22067 \begin_layout Plain Layout
22068 \align center
22069 \begin_inset Tabular
22070 <lyxtabular version="3" rows="1" columns="5">
22071 <features tabularvalignment="middle">
22072 <column alignment="center" valignment="top" width="0">
22073 <column alignment="center" valignment="top" width="0">
22074 <column alignment="center" valignment="top" width="0">
22075 <column alignment="center" valignment="top" width="0">
22076 <column alignment="center" valignment="top" width="0">
22077 <row>
22078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22079 \begin_inset Text
22080
22081 \begin_layout Plain Layout
22082 test
22083 \end_layout
22084
22085 \end_inset
22086 </cell>
22087 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22088 \begin_inset Text
22089
22090 \begin_layout Plain Layout
22091 b
22092 \end_layout
22093
22094 \end_inset
22095 </cell>
22096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22097 \begin_inset Text
22098
22099 \begin_layout Plain Layout
22100 c
22101 \end_layout
22102
22103 \end_inset
22104 </cell>
22105 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22106 \begin_inset Text
22107
22108 \begin_layout Plain Layout
22109 d
22110 \end_layout
22111
22112 \end_inset
22113 </cell>
22114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22115 \begin_inset Text
22116
22117 \begin_layout Plain Layout
22118 e
22119 \end_layout
22120
22121 \end_inset
22122 </cell>
22123 </row>
22124 </lyxtabular>
22125
22126 \end_inset
22127
22128
22129 \end_layout
22130
22131 \end_inset
22132
22133
22134 \begin_inset space \hfill{}
22135 \end_inset
22136
22137
22138 \begin_inset Float table
22139 wide false
22140 sideways false
22141 status collapsed
22142
22143 \begin_layout Plain Layout
22144 \begin_inset Caption
22145
22146 \begin_layout Plain Layout
22147 \begin_inset CommandInset label
22148 LatexCommand label
22149 name "tab:This-is-subtable-b"
22150
22151 \end_inset
22152
22153 This is subtable b.
22154 \end_layout
22155
22156 \end_inset
22157
22158
22159 \end_layout
22160
22161 \begin_layout Plain Layout
22162 \align center
22163 \begin_inset Tabular
22164 <lyxtabular version="3" rows="1" columns="5">
22165 <features tabularvalignment="middle">
22166 <column alignment="center" valignment="top" width="0">
22167 <column alignment="center" valignment="top" width="0">
22168 <column alignment="center" valignment="top" width="0">
22169 <column alignment="center" valignment="top" width="0">
22170 <column alignment="center" valignment="top" width="0">
22171 <row>
22172 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22173 \begin_inset Text
22174
22175 \begin_layout Plain Layout
22176 e
22177 \end_layout
22178
22179 \end_inset
22180 </cell>
22181 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22182 \begin_inset Text
22183
22184 \begin_layout Plain Layout
22185 d
22186 \end_layout
22187
22188 \end_inset
22189 </cell>
22190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22191 \begin_inset Text
22192
22193 \begin_layout Plain Layout
22194 c
22195 \end_layout
22196
22197 \end_inset
22198 </cell>
22199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22200 \begin_inset Text
22201
22202 \begin_layout Plain Layout
22203 b
22204 \end_layout
22205
22206 \end_inset
22207 </cell>
22208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22209 \begin_inset Text
22210
22211 \begin_layout Plain Layout
22212 test
22213 \end_layout
22214
22215 \end_inset
22216 </cell>
22217 </row>
22218 </lyxtabular>
22219
22220 \end_inset
22221
22222
22223 \end_layout
22224
22225 \end_inset
22226
22227
22228 \begin_inset space \hfill{}
22229 \end_inset
22230
22231
22232 \end_layout
22233
22234 \end_inset
22235
22236
22237 \end_layout
22238
22239 \begin_layout Standard
22240 \begin_inset Float table
22241 wide false
22242 sideways false
22243 status open
22244
22245 \begin_layout Plain Layout
22246 \begin_inset Caption
22247
22248 \begin_layout Plain Layout
22249 \begin_inset CommandInset label
22250 LatexCommand label
22251 name "tab:Two-subtables-upon"
22252
22253 \end_inset
22254
22255 Two subtables placed one above the other.
22256  (a) table with 4 cells, (b) table with 5 cells.
22257 \end_layout
22258
22259 \end_inset
22260
22261
22262 \end_layout
22263
22264 \begin_layout Plain Layout
22265 \align center
22266 \begin_inset Float table
22267 wide false
22268 sideways false
22269 status collapsed
22270
22271 \begin_layout Plain Layout
22272 \begin_inset Caption
22273
22274 \begin_layout Plain Layout
22275
22276 \end_layout
22277
22278 \end_inset
22279
22280
22281 \end_layout
22282
22283 \begin_layout Plain Layout
22284 \align center
22285 \begin_inset Tabular
22286 <lyxtabular version="3" rows="1" columns="4">
22287 <features tabularvalignment="middle">
22288 <column alignment="center" valignment="top" width="0">
22289 <column alignment="center" valignment="top" width="0">
22290 <column alignment="center" valignment="top" width="0">
22291 <column alignment="center" valignment="top" width="0">
22292 <row>
22293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22294 \begin_inset Text
22295
22296 \begin_layout Plain Layout
22297 test
22298 \end_layout
22299
22300 \end_inset
22301 </cell>
22302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22303 \begin_inset Text
22304
22305 \begin_layout Plain Layout
22306 test
22307 \end_layout
22308
22309 \end_inset
22310 </cell>
22311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22312 \begin_inset Text
22313
22314 \begin_layout Plain Layout
22315 test
22316 \end_layout
22317
22318 \end_inset
22319 </cell>
22320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22321 \begin_inset Text
22322
22323 \begin_layout Plain Layout
22324 test
22325 \end_layout
22326
22327 \end_inset
22328 </cell>
22329 </row>
22330 </lyxtabular>
22331
22332 \end_inset
22333
22334
22335 \end_layout
22336
22337 \end_inset
22338
22339
22340 \end_layout
22341
22342 \begin_layout Plain Layout
22343 \align center
22344 \begin_inset Float table
22345 wide false
22346 sideways false
22347 status collapsed
22348
22349 \begin_layout Plain Layout
22350 \begin_inset Caption
22351
22352 \begin_layout Plain Layout
22353
22354 \end_layout
22355
22356 \end_inset
22357
22358
22359 \end_layout
22360
22361 \begin_layout Plain Layout
22362 \align center
22363 \begin_inset Tabular
22364 <lyxtabular version="3" rows="1" columns="5">
22365 <features tabularvalignment="middle">
22366 <column alignment="center" valignment="top" width="0">
22367 <column alignment="center" valignment="top" width="0">
22368 <column alignment="center" valignment="top" width="0">
22369 <column alignment="center" valignment="top" width="0">
22370 <column alignment="center" valignment="top" width="0">
22371 <row>
22372 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22373 \begin_inset Text
22374
22375 \begin_layout Plain Layout
22376 a
22377 \end_layout
22378
22379 \end_inset
22380 </cell>
22381 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22382 \begin_inset Text
22383
22384 \begin_layout Plain Layout
22385 b
22386 \end_layout
22387
22388 \end_inset
22389 </cell>
22390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22391 \begin_inset Text
22392
22393 \begin_layout Plain Layout
22394 c
22395 \end_layout
22396
22397 \end_inset
22398 </cell>
22399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22400 \begin_inset Text
22401
22402 \begin_layout Plain Layout
22403 d
22404 \end_layout
22405
22406 \end_inset
22407 </cell>
22408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22409 \begin_inset Text
22410
22411 \begin_layout Plain Layout
22412 e
22413 \end_layout
22414
22415 \end_inset
22416 </cell>
22417 </row>
22418 </lyxtabular>
22419
22420 \end_inset
22421
22422
22423 \end_layout
22424
22425 \end_inset
22426
22427
22428 \end_layout
22429
22430 \end_inset
22431
22432
22433 \end_layout
22434
22435 \begin_layout Section
22436 Floats Side by Side
22437 \begin_inset Index idx
22438 status collapsed
22439
22440 \begin_layout Plain Layout
22441 Floats ! Side by side
22442 \end_layout
22443
22444 \end_inset
22445
22446
22447 \end_layout
22448
22449 \begin_layout Standard
22450 To place floats side by side, as in Figures
22451 \begin_inset space ~
22452 \end_inset
22453
22454
22455 \begin_inset CommandInset ref
22456 LatexCommand ref
22457 reference "fig:Float-left"
22458
22459 \end_inset
22460
22461  and 
22462 \begin_inset CommandInset ref
22463 LatexCommand ref
22464 reference "fig:Float-right"
22465
22466 \end_inset
22467
22468 , only 
22469 \emph on
22470 one
22471 \emph default
22472  float is used.
22473  In it two minipage boxes are inserted.
22474 \begin_inset Foot
22475 status collapsed
22476
22477 \begin_layout Plain Layout
22478 Minipages are explained in section
22479 \begin_inset space ~
22480 \end_inset
22481
22482
22483 \begin_inset CommandInset ref
22484 LatexCommand ref
22485 reference "sec:Minipages"
22486
22487 \end_inset
22488
22489 .
22490 \end_layout
22491
22492 \end_inset
22493
22494  The width is set to 45
22495 \begin_inset space \thinspace{}
22496 \end_inset
22497
22498 -50
22499 \begin_inset space \thinspace{}
22500 \end_inset
22501
22502 column% and the box alignment to 
22503 \family sans
22504 Bottom
22505 \family default
22506  for each minipage.
22507  The minipage boxes contain the image and the caption in the same way as
22508  they are in a float.
22509  The only difference is that the image unit 
22510 \family sans
22511 Column
22512 \begin_inset space ~
22513 \end_inset
22514
22515 Width
22516 \begin_inset space ~
22517 \end_inset
22518
22519 %
22520 \family default
22521  is now calculated according to the width of the minipage boxes.
22522 \end_layout
22523
22524 \begin_layout Standard
22525 \begin_inset Float figure
22526 wide false
22527 sideways false
22528 status open
22529
22530 \begin_layout Plain Layout
22531 \begin_inset Box Frameless
22532 position "b"
22533 hor_pos "c"
22534 has_inner_box 1
22535 inner_pos "t"
22536 use_parbox 0
22537 use_makebox 0
22538 width "45col%"
22539 special "none"
22540 height "1in"
22541 height_special "totalheight"
22542 status open
22543
22544 \begin_layout Plain Layout
22545 \align center
22546 \begin_inset Graphics
22547         filename clipart/mobius.eps
22548         lyxscale 50
22549         width 100col%
22550         scaleBeforeRotation
22551
22552 \end_inset
22553
22554
22555 \end_layout
22556
22557 \begin_layout Plain Layout
22558 \begin_inset Caption
22559
22560 \begin_layout Plain Layout
22561 \begin_inset CommandInset label
22562 LatexCommand label
22563 name "fig:Float-left"
22564
22565 \end_inset
22566
22567 Float on the left side.
22568 \end_layout
22569
22570 \end_inset
22571
22572
22573 \end_layout
22574
22575 \end_inset
22576
22577
22578 \begin_inset space \hfill{}
22579 \end_inset
22580
22581
22582 \begin_inset Box Frameless
22583 position "b"
22584 hor_pos "c"
22585 has_inner_box 1
22586 inner_pos "t"
22587 use_parbox 0
22588 use_makebox 0
22589 width "45col%"
22590 special "none"
22591 height "1in"
22592 height_special "totalheight"
22593 status open
22594
22595 \begin_layout Plain Layout
22596 \align center
22597 \begin_inset Graphics
22598         filename clipart/platypus.eps
22599         lyxscale 50
22600         width 100col%
22601         scaleBeforeRotation
22602
22603 \end_inset
22604
22605
22606 \end_layout
22607
22608 \begin_layout Plain Layout
22609 \begin_inset Caption
22610
22611 \begin_layout Plain Layout
22612 \begin_inset CommandInset label
22613 LatexCommand label
22614 name "fig:Float-right"
22615
22616 \end_inset
22617
22618 Float on the right side.
22619 \end_layout
22620
22621 \end_inset
22622
22623
22624 \end_layout
22625
22626 \end_inset
22627
22628
22629 \end_layout
22630
22631 \begin_layout Plain Layout
22632
22633 \end_layout
22634
22635 \end_inset
22636
22637
22638 \end_layout
22639
22640 \begin_layout Section
22641 Caption Formatting
22642 \begin_inset Index idx
22643 status collapsed
22644
22645 \begin_layout Plain Layout
22646 Caption ! Formatting
22647 \end_layout
22648
22649 \end_inset
22650
22651
22652 \begin_inset Index idx
22653 status collapsed
22654
22655 \begin_layout Plain Layout
22656 Floats ! Caption Formatting
22657 \end_layout
22658
22659 \end_inset
22660
22661
22662 \begin_inset CommandInset label
22663 LatexCommand label
22664 name "sec:Caption-Formatting"
22665
22666 \end_inset
22667
22668
22669 \end_layout
22670
22671 \begin_layout Standard
22672 The 
22673 \family sans
22674 Caption
22675 \family default
22676  environment is the default paragraph environment for 
22677 \family sans
22678 Floats
22679 \family default
22680 .
22681  On the LyX screen captions appear as label, e.
22682 \begin_inset space \thinspace{}
22683 \end_inset
22684
22685 g.
22686 \begin_inset space \space{}
22687 \end_inset
22688
22689
22690 \begin_inset Quotes eld
22691 \end_inset
22692
22693
22694 \family sans
22695 Figure #:
22696 \family default
22697
22698 \begin_inset Quotes erd
22699 \end_inset
22700
22701  followed by the caption text.
22702  
22703 \begin_inset Quotes eld
22704 \end_inset
22705
22706 #
22707 \begin_inset Quotes erd
22708 \end_inset
22709
22710  is the actual reference number.
22711  By default the label and the number are in the same font as the caption
22712  text and a colon follows the number to divide the label from the text.
22713  This caption format is not suitable for all document formats.
22714  
22715 \end_layout
22716
22717 \begin_layout Standard
22718 To change the default caption format, load the LaTeX-package 
22719 \series bold
22720 caption
22721 \series default
22722
22723 \begin_inset Index idx
22724 status collapsed
22725
22726 \begin_layout Plain Layout
22727 LaTeX-packages ! caption
22728 \end_layout
22729
22730 \end_inset
22731
22732  in the document preamble with this line:
22733 \end_layout
22734
22735 \begin_layout Standard
22736
22737 \series bold
22738
22739 \backslash
22740 usepackage[format definition]{caption}
22741 \end_layout
22742
22743 \begin_layout Standard
22744 To have for example the label and the number in sans-serif bold font and
22745  the table captions always above the table as in this document, use the
22746  following command:
22747 \end_layout
22748
22749 \begin_layout Standard
22750
22751 \series bold
22752
22753 \backslash
22754 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22755 \end_layout
22756
22757 \begin_layout Standard
22758 You can also define different caption formats for the different float types.
22759  In this case load the 
22760 \series bold
22761 caption
22762 \series default
22763  package without format specific options and define the different formats
22764  with the help of the command
22765 \end_layout
22766
22767 \begin_layout Standard
22768
22769 \series bold
22770
22771 \backslash
22772 captionsetup[float type]{format definition}
22773 \end_layout
22774
22775 \begin_layout Standard
22776 in the document preamble.
22777  For example the caption formats of Figure
22778 \begin_inset space ~
22779 \end_inset
22780
22781
22782 \begin_inset CommandInset ref
22783 LatexCommand ref
22784 reference "fig:This-is-an-fig"
22785
22786 \end_inset
22787
22788  and Table
22789 \begin_inset space ~
22790 \end_inset
22791
22792
22793 \begin_inset CommandInset ref
22794 LatexCommand ref
22795 reference "tab:This-is-an-tab"
22796
22797 \end_inset
22798
22799  can be created using these commands in the document preamble:
22800 \end_layout
22801
22802 \begin_layout Standard
22803
22804 \series bold
22805
22806 \backslash
22807 usepackage[tableposition=top]{caption}
22808 \series default
22809
22810 \begin_inset Newline newline
22811 \end_inset
22812
22813
22814 \series bold
22815
22816 \backslash
22817 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22818 \begin_inset Newline newline
22819 \end_inset
22820
22821
22822 \begin_inset Phantom HPhantom
22823 status open
22824
22825 \begin_layout Plain Layout
22826
22827 \series bold
22828
22829 \backslash
22830 captionsetup[figure]{
22831 \end_layout
22832
22833 \end_inset
22834
22835 labelsep=period}
22836 \begin_inset Newline newline
22837 \end_inset
22838
22839
22840 \backslash
22841 captionsetup[table]{labelfont={bf,sf}}
22842 \end_layout
22843
22844 \begin_layout Standard
22845 \begin_inset Note Greyedout
22846 status open
22847
22848 \begin_layout Plain Layout
22849
22850 \series bold
22851 Note:
22852 \series default
22853  The option 
22854 \series bold
22855 tableposition=top
22856 \series default
22857  has no effect when a 
22858 \series bold
22859 KOMA-Script
22860 \series default
22861
22862 \begin_inset Index idx
22863 status collapsed
22864
22865 \begin_layout Plain Layout
22866 LaTeX-packages ! KOMA-Script
22867 \end_layout
22868
22869 \end_inset
22870
22871  document class is used.
22872  In this case the document class option 
22873 \series bold
22874 captions=tableheading
22875 \series default
22876  must be used.
22877 \end_layout
22878
22879 \end_inset
22880
22881
22882 \end_layout
22883
22884 \begin_layout Standard
22885 For more information about the package 
22886 \series bold
22887 caption
22888 \series default
22889  we refer to its documentation 
22890 \begin_inset CommandInset citation
22891 LatexCommand cite
22892 key "caption"
22893
22894 \end_inset
22895
22896 .
22897 \end_layout
22898
22899 \begin_layout Standard
22900 To change the label name from e.
22901 \begin_inset space \thinspace{}
22902 \end_inset
22903
22904 g.
22905 \begin_inset space \space{}
22906 \end_inset
22907
22908
22909 \begin_inset Quotes eld
22910 \end_inset
22911
22912 Figure
22913 \begin_inset Quotes erd
22914 \end_inset
22915
22916  to 
22917 \begin_inset Quotes eld
22918 \end_inset
22919
22920 Image
22921 \begin_inset Quotes erd
22922 \end_inset
22923
22924  use this preamble command:
22925 \end_layout
22926
22927 \begin_layout Standard
22928
22929 \series bold
22930
22931 \backslash
22932 renewcommand{
22933 \backslash
22934 fnum@figure}{Image~
22935 \backslash
22936 thefigure}
22937 \end_layout
22938
22939 \begin_layout Standard
22940 where 
22941 \series bold
22942
22943 \backslash
22944 thefigure
22945 \series default
22946  inserts the figure number and
22947 \series bold
22948  
22949 \begin_inset Quotes eld
22950 \end_inset
22951
22952 ~
22953 \series default
22954
22955 \begin_inset Quotes erd
22956 \end_inset
22957
22958  creates a protected space.
22959 \end_layout
22960
22961 \begin_layout Standard
22962 \begin_inset VSpace bigskip
22963 \end_inset
22964
22965 If you are using a 
22966 \series bold
22967 KOMA-Script
22968 \series default
22969
22970 \begin_inset Index idx
22971 status collapsed
22972
22973 \begin_layout Plain Layout
22974 LaTeX-packages ! KOMA-Script
22975 \end_layout
22976
22977 \end_inset
22978
22979  document class (
22980 \family sans
22981 article (KOMA-Script)
22982 \family default
22983
22984 \family sans
22985 book (KOMA-Script)
22986 \family default
22987
22988 \family sans
22989 letter (KOMA-Script)
22990 \family default
22991 , or 
22992 \family sans
22993 report (KOMA-Script)
22994 \family default
22995
22996 \begin_inset space \thinspace{}
22997 \end_inset
22998
22999 ), you can alternatively to the 
23000 \series bold
23001 caption
23002 \series default
23003  package use 
23004 \series bold
23005 KOMA-Script
23006 \series default
23007 's built-in command 
23008 \series bold
23009
23010 \backslash
23011 setkomafont
23012 \series default
23013 .
23014  For example, to have the caption label in bold, add this command to your
23015  document preamble:
23016 \end_layout
23017
23018 \begin_layout Standard
23019
23020 \series bold
23021
23022 \backslash
23023 setkomafont{captionlabel}{
23024 \backslash
23025 bfseries}
23026 \end_layout
23027
23028 \begin_layout Standard
23029 For more information about 
23030 \series bold
23031
23032 \backslash
23033 setkomafont
23034 \series default
23035  we refer to the 
23036 \series bold
23037 KOMA-Script
23038 \series default
23039  documentation 
23040 \begin_inset CommandInset citation
23041 LatexCommand cite
23042 key "KOMA-Script"
23043
23044 \end_inset
23045
23046 .
23047 \end_layout
23048
23049 \begin_layout Standard
23050 \begin_inset ERT
23051 status collapsed
23052
23053 \begin_layout Plain Layout
23054
23055
23056 \backslash
23057 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23058 }
23059 \end_layout
23060
23061 \end_inset
23062
23063
23064 \begin_inset Note Note
23065 status open
23066
23067 \begin_layout Plain Layout
23068 The caption format is changed only for this example.
23069 \end_layout
23070
23071 \end_inset
23072
23073
23074 \end_layout
23075
23076 \begin_layout Standard
23077 \begin_inset Float figure
23078 placement !p
23079 wide false
23080 sideways false
23081 status open
23082
23083 \begin_layout Plain Layout
23084 \align center
23085 \begin_inset Graphics
23086         filename clipart/mobius.eps
23087         lyxscale 50
23088         scale 50
23089         scaleBeforeRotation
23090
23091 \end_inset
23092
23093
23094 \end_layout
23095
23096 \begin_layout Plain Layout
23097 \begin_inset Caption
23098
23099 \begin_layout Plain Layout
23100 \begin_inset CommandInset label
23101 LatexCommand label
23102 name "fig:This-is-an-fig"
23103
23104 \end_inset
23105
23106 This is an example figure caption that is longer than one line to show the
23107  different caption format.
23108  Here a self-defined caption format is used.
23109 \end_layout
23110
23111 \end_inset
23112
23113
23114 \end_layout
23115
23116 \end_inset
23117
23118
23119 \end_layout
23120
23121 \begin_layout Standard
23122 \begin_inset ERT
23123 status collapsed
23124
23125 \begin_layout Plain Layout
23126
23127
23128 \backslash
23129 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23130 on}
23131 \end_layout
23132
23133 \end_inset
23134
23135
23136 \end_layout
23137
23138 \begin_layout Standard
23139 \begin_inset Float table
23140 placement !p
23141 wide false
23142 sideways false
23143 status open
23144
23145 \begin_layout Plain Layout
23146 \begin_inset Caption
23147
23148 \begin_layout Plain Layout
23149 \begin_inset CommandInset label
23150 LatexCommand label
23151 name "tab:This-is-an-tab"
23152
23153 \end_inset
23154
23155 This is an example table caption that is longer than one line to show the
23156  different caption format.
23157  Here the standard caption format for tables in this document is used.
23158 \end_layout
23159
23160 \end_inset
23161
23162
23163 \end_layout
23164
23165 \begin_layout Plain Layout
23166 \align center
23167 \begin_inset Tabular
23168 <lyxtabular version="3" rows="1" columns="5">
23169 <features tabularvalignment="middle">
23170 <column alignment="center" valignment="top" width="0">
23171 <column alignment="center" valignment="top" width="0">
23172 <column alignment="center" valignment="top" width="0">
23173 <column alignment="center" valignment="top" width="0">
23174 <column alignment="center" valignment="top" width="0">
23175 <row>
23176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23177 \begin_inset Text
23178
23179 \begin_layout Plain Layout
23180 a
23181 \end_layout
23182
23183 \end_inset
23184 </cell>
23185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23186 \begin_inset Text
23187
23188 \begin_layout Plain Layout
23189 b
23190 \end_layout
23191
23192 \end_inset
23193 </cell>
23194 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23195 \begin_inset Text
23196
23197 \begin_layout Plain Layout
23198 c
23199 \end_layout
23200
23201 \end_inset
23202 </cell>
23203 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23204 \begin_inset Text
23205
23206 \begin_layout Plain Layout
23207 d
23208 \end_layout
23209
23210 \end_inset
23211 </cell>
23212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23213 \begin_inset Text
23214
23215 \begin_layout Plain Layout
23216 e
23217 \end_layout
23218
23219 \end_inset
23220 </cell>
23221 </row>
23222 </lyxtabular>
23223
23224 \end_inset
23225
23226
23227 \end_layout
23228
23229 \end_inset
23230
23231
23232 \end_layout
23233
23234 \begin_layout Section
23235 Caption Placement
23236 \begin_inset Index idx
23237 status collapsed
23238
23239 \begin_layout Plain Layout
23240 Caption ! Placement
23241 \end_layout
23242
23243 \end_inset
23244
23245
23246 \begin_inset Index idx
23247 status collapsed
23248
23249 \begin_layout Plain Layout
23250 Floats ! Caption Placement
23251 \end_layout
23252
23253 \end_inset
23254
23255
23256 \begin_inset CommandInset label
23257 LatexCommand label
23258 name "sec:Caption-Placement"
23259
23260 \end_inset
23261
23262
23263 \end_layout
23264
23265 \begin_layout Standard
23266 The common caption placement rule is:
23267 \end_layout
23268
23269 \begin_layout Description
23270 Figure: Caption is set below the figure
23271 \end_layout
23272
23273 \begin_layout Description
23274 Table: Caption is set above the table
23275 \end_layout
23276
23277 \begin_layout Standard
23278 Having the caption above the table is unfortunately not supported in LaTeX's
23279  standard classes.
23280  That means if you are using the document classes 
23281 \family sans
23282 article
23283 \family default
23284
23285 \family sans
23286 book
23287 \family default
23288
23289 \family sans
23290 letter
23291 \family default
23292 , or 
23293 \family sans
23294 report
23295 \family default
23296  there will be no space between the caption and the table.
23297  To insert the necessary space, add the following option to the load command
23298  of the LaTeX-package 
23299 \series bold
23300 caption
23301 \series default
23302  in your document preamble
23303 \begin_inset Foot
23304 status collapsed
23305
23306 \begin_layout Plain Layout
23307 See section
23308 \begin_inset space ~
23309 \end_inset
23310
23311
23312 \begin_inset CommandInset ref
23313 LatexCommand ref
23314 reference "sec:Caption-Formatting"
23315
23316 \end_inset
23317
23318  for more information of the package 
23319 \series bold
23320 caption
23321 \series default
23322 .
23323 \end_layout
23324
23325 \end_inset
23326
23327 :
23328 \end_layout
23329
23330 \begin_layout Standard
23331
23332 \series bold
23333 tableposition=top
23334 \end_layout
23335
23336 \begin_layout Standard
23337 If you are using a 
23338 \series bold
23339 KOMA-Script
23340 \series default
23341
23342 \begin_inset Index idx
23343 status collapsed
23344
23345 \begin_layout Plain Layout
23346 LaTeX-packages ! KOMA-Script
23347 \end_layout
23348
23349 \end_inset
23350
23351  document class (
23352 \family sans
23353 article (KOMA-Script)
23354 \family default
23355
23356 \family sans
23357 book (KOMA-Script)
23358 \family default
23359
23360 \family sans
23361 letter (KOMA-Script)
23362 \family default
23363 , or 
23364 \family sans
23365 report (KOMA-Script)
23366 \family default
23367
23368 \begin_inset space \thinspace{}
23369 \end_inset
23370
23371 ), you can alternatively to the 
23372 \series bold
23373 caption
23374 \series default
23375  package set the document class option 
23376 \series bold
23377 captions=tableheading
23378 \series default
23379 .
23380 \end_layout
23381
23382 \begin_layout Standard
23383 \begin_inset VSpace bigskip
23384 \end_inset
23385
23386 It is also possible to set the caption beside a figure or table.
23387  To get this the LaTeX-package 
23388 \series bold
23389 sidecap
23390 \series default
23391
23392 \begin_inset Index idx
23393 status collapsed
23394
23395 \begin_layout Plain Layout
23396 LaTeX-packages ! sidecap
23397 \end_layout
23398
23399 \end_inset
23400
23401  has to be loaded in the document preamble with the line
23402 \end_layout
23403
23404 \begin_layout Standard
23405
23406 \series bold
23407
23408 \backslash
23409 usepackage[option]{sidecap}
23410 \end_layout
23411
23412 \begin_layout Standard
23413 If you set no option, the caption is placed on the side of the outer page
23414  margin – to the right on odd pages, to the left on even pages.
23415  You can change the placement to inner margin with the option 
23416 \series bold
23417 innercaption
23418 \series default
23419 .
23420  To force the placement always to the right or left, use the option 
23421 \series bold
23422 rightcaption
23423 \series default
23424  or 
23425 \series bold
23426 leftcaption
23427 \series default
23428 , respectively.
23429 \end_layout
23430
23431 \begin_layout Standard
23432 \begin_inset ERT
23433 status collapsed
23434
23435 \begin_layout Plain Layout
23436
23437
23438 \backslash
23439 ifsidecap
23440 \end_layout
23441
23442 \end_inset
23443
23444
23445 \begin_inset Note Note
23446 status open
23447
23448 \begin_layout Plain Layout
23449 The following section will only be displayed when the LaTeX-package 
23450 \series bold
23451 sidecap
23452 \series default
23453  is installed.
23454 \end_layout
23455
23456 \end_inset
23457
23458
23459 \end_layout
23460
23461 \begin_layout Standard
23462 To place in LyX the caption of a float on the side, it is necessary to add
23463  these commands to the document preamble:
23464 \end_layout
23465
23466 \begin_layout Standard
23467 \noindent
23468 \begin_inset CommandInset line
23469 LatexCommand rule
23470 offset "0.5ex"
23471 width "100line%"
23472 height "1pt"
23473
23474 \end_inset
23475
23476
23477 \end_layout
23478
23479 \begin_layout Standard
23480
23481 \series bold
23482
23483 \backslash
23484 newcommand{
23485 \backslash
23486 TabBesBeg}{%
23487 \begin_inset Newline newline
23488 \end_inset
23489
23490
23491 \begin_inset Phantom HPhantom
23492 status open
23493
23494 \begin_layout Plain Layout
23495
23496 \series bold
23497 \begin_inset space ~
23498 \end_inset
23499
23500
23501 \end_layout
23502
23503 \end_inset
23504
23505
23506 \backslash
23507 let
23508 \backslash
23509 MyTable
23510 \backslash
23511 table
23512 \begin_inset Newline newline
23513 \end_inset
23514
23515
23516 \begin_inset Phantom HPhantom
23517 status open
23518
23519 \begin_layout Plain Layout
23520
23521 \series bold
23522 \begin_inset space ~
23523 \end_inset
23524
23525
23526 \end_layout
23527
23528 \end_inset
23529
23530
23531 \backslash
23532 let
23533 \backslash
23534 MyEndtable
23535 \backslash
23536 endtable
23537 \begin_inset Newline newline
23538 \end_inset
23539
23540
23541 \begin_inset Phantom HPhantom
23542 status open
23543
23544 \begin_layout Plain Layout
23545
23546 \series bold
23547 \begin_inset space ~
23548 \end_inset
23549
23550
23551 \end_layout
23552
23553 \end_inset
23554
23555
23556 \backslash
23557 renewenvironment{table}{
23558 \backslash
23559 begin{SCtable}}{
23560 \backslash
23561 end{SCtable}}}
23562 \end_layout
23563
23564 \begin_layout Standard
23565
23566 \series bold
23567
23568 \backslash
23569 newcommand{
23570 \backslash
23571 TabBesEnd}{%
23572 \begin_inset Newline newline
23573 \end_inset
23574
23575
23576 \begin_inset Phantom HPhantom
23577 status open
23578
23579 \begin_layout Plain Layout
23580
23581 \series bold
23582 \begin_inset space ~
23583 \end_inset
23584
23585
23586 \end_layout
23587
23588 \end_inset
23589
23590
23591 \backslash
23592 let
23593 \backslash
23594 table
23595 \backslash
23596 MyTable
23597 \begin_inset Newline newline
23598 \end_inset
23599
23600
23601 \begin_inset Phantom HPhantom
23602 status open
23603
23604 \begin_layout Plain Layout
23605
23606 \series bold
23607 \begin_inset space ~
23608 \end_inset
23609
23610
23611 \end_layout
23612
23613 \end_inset
23614
23615
23616 \backslash
23617 let
23618 \backslash
23619 endtable
23620 \backslash
23621 MyEndtable
23622 \end_layout
23623
23624 \begin_layout Standard
23625
23626 \series bold
23627
23628 \backslash
23629 newcommand{
23630 \backslash
23631 FigBesBeg}{%
23632 \begin_inset Newline newline
23633 \end_inset
23634
23635
23636 \begin_inset Phantom HPhantom
23637 status open
23638
23639 \begin_layout Plain Layout
23640
23641 \series bold
23642 \begin_inset space ~
23643 \end_inset
23644
23645
23646 \end_layout
23647
23648 \end_inset
23649
23650
23651 \backslash
23652 let
23653 \backslash
23654 MyFigure
23655 \backslash
23656 figure
23657 \begin_inset Newline newline
23658 \end_inset
23659
23660
23661 \begin_inset Phantom HPhantom
23662 status open
23663
23664 \begin_layout Plain Layout
23665
23666 \series bold
23667 \begin_inset space ~
23668 \end_inset
23669
23670
23671 \end_layout
23672
23673 \end_inset
23674
23675
23676 \backslash
23677 let
23678 \backslash
23679 MyEndfigure
23680 \backslash
23681 endfigure
23682 \begin_inset Newline newline
23683 \end_inset
23684
23685
23686 \begin_inset Phantom HPhantom
23687 status open
23688
23689 \begin_layout Plain Layout
23690
23691 \series bold
23692 \begin_inset space ~
23693 \end_inset
23694
23695
23696 \end_layout
23697
23698 \end_inset
23699
23700
23701 \backslash
23702 renewenvironment{figure}{
23703 \backslash
23704 begin{SCfigure}}{
23705 \backslash
23706 end{SCfigure}}}
23707 \end_layout
23708
23709 \begin_layout Standard
23710
23711 \series bold
23712
23713 \backslash
23714 newcommand{
23715 \backslash
23716 FigBesEnd}{%
23717 \begin_inset Newline newline
23718 \end_inset
23719
23720
23721 \begin_inset Phantom HPhantom
23722 status open
23723
23724 \begin_layout Plain Layout
23725
23726 \series bold
23727 \begin_inset space ~
23728 \end_inset
23729
23730
23731 \end_layout
23732
23733 \end_inset
23734
23735
23736 \backslash
23737 let
23738 \backslash
23739 figure
23740 \backslash
23741 MyFigure
23742 \begin_inset Newline newline
23743 \end_inset
23744
23745
23746 \begin_inset Phantom HPhantom
23747 status open
23748
23749 \begin_layout Plain Layout
23750
23751 \series bold
23752 \begin_inset space ~
23753 \end_inset
23754
23755
23756 \end_layout
23757
23758 \end_inset
23759
23760
23761 \backslash
23762 let
23763 \backslash
23764 endfigure
23765 \backslash
23766 MyEndfigure}
23767 \end_layout
23768
23769 \begin_layout Standard
23770 \noindent
23771 \begin_inset CommandInset line
23772 LatexCommand rule
23773 offset "0.5ex"
23774 width "100line%"
23775 height "1pt"
23776
23777 \end_inset
23778
23779
23780 \end_layout
23781
23782 \begin_layout Standard
23783 The commands allow you to redefine the floats so that the caption is set
23784  on the side.
23785  For figure floats use the command
23786 \end_layout
23787
23788 \begin_layout Standard
23789
23790 \series bold
23791
23792 \backslash
23793 FigBesBeg
23794 \end_layout
23795
23796 \begin_layout Standard
23797 in TeX-Code before the float.
23798  After the float insert the command
23799 \end_layout
23800
23801 \begin_layout Standard
23802
23803 \series bold
23804
23805 \backslash
23806 FigBesEnd
23807 \end_layout
23808
23809 \begin_layout Standard
23810 in TeX-Code to get back to the original float definition.
23811 \end_layout
23812
23813 \begin_layout Standard
23814 For table floats use the corresponding commands
23815 \end_layout
23816
23817 \begin_layout Standard
23818
23819 \series bold
23820
23821 \backslash
23822 TabBesBeg
23823 \series default
23824  and 
23825 \series bold
23826
23827 \backslash
23828 TabBesEnd
23829 \end_layout
23830
23831 \begin_layout Standard
23832 Figure
23833 \begin_inset space ~
23834 \end_inset
23835
23836
23837 \begin_inset CommandInset ref
23838 LatexCommand ref
23839 reference "fig:cap-beside-fig"
23840
23841 \end_inset
23842
23843  and Table
23844 \begin_inset space ~
23845 \end_inset
23846
23847
23848 \begin_inset CommandInset ref
23849 LatexCommand ref
23850 reference "tab:cap-beside-tab"
23851
23852 \end_inset
23853
23854  are examples where the caption is set beside.
23855 \end_layout
23856
23857 \begin_layout Standard
23858 You can see in the examples that the caption text appears at the top of
23859  the floats for table floats and at the bottom for figure floats.
23860  To change this, you can use the command
23861 \end_layout
23862
23863 \begin_layout Standard
23864
23865 \series bold
23866
23867 \backslash
23868 sidecaptionvpos{float type}{placement}
23869 \end_layout
23870
23871 \begin_layout Standard
23872 in the document preamble or in TeX-Code before the float.
23873  The float type is either 
23874 \family sans
23875 figure
23876 \family default
23877  or 
23878 \family sans
23879 table
23880 \family default
23881 , the placement can be 
23882 \begin_inset Quotes eld
23883 \end_inset
23884
23885
23886 \family sans
23887 t
23888 \family default
23889
23890 \begin_inset Quotes erd
23891 \end_inset
23892
23893  for top, 
23894 \begin_inset Quotes eld
23895 \end_inset
23896
23897
23898 \family sans
23899 c
23900 \family default
23901
23902 \begin_inset Quotes erd
23903 \end_inset
23904
23905  for center, or 
23906 \begin_inset Quotes eld
23907 \end_inset
23908
23909
23910 \family sans
23911 b
23912 \family default
23913
23914 \begin_inset Quotes erd
23915 \end_inset
23916
23917  for bottom.
23918  To have for example the caption of figure floats vertically centered, use
23919  the command
23920 \end_layout
23921
23922 \begin_layout Standard
23923
23924 \series bold
23925
23926 \backslash
23927 sidecaptionvpos{figure}{c}
23928 \end_layout
23929
23930 \begin_layout Standard
23931 This was used for Figure
23932 \begin_inset space ~
23933 \end_inset
23934
23935
23936 \begin_inset CommandInset ref
23937 LatexCommand ref
23938 reference "fig:cap-beside-fig-2"
23939
23940 \end_inset
23941
23942 .
23943 \end_layout
23944
23945 \begin_layout Standard
23946 \begin_inset VSpace medskip
23947 \end_inset
23948
23949 For more information about the package 
23950 \series bold
23951 sidecap
23952 \series default
23953  we refer to its documentation 
23954 \begin_inset CommandInset citation
23955 LatexCommand cite
23956 key "sidecap"
23957
23958 \end_inset
23959
23960 .
23961 \end_layout
23962
23963 \begin_layout Standard
23964 \begin_inset Note Greyedout
23965 status open
23966
23967 \begin_layout Plain Layout
23968
23969 \series bold
23970 Note:
23971 \series default
23972  The LaTeX-package 
23973 \series bold
23974 hypcap
23975 \series default
23976
23977 \begin_inset Index idx
23978 status collapsed
23979
23980 \begin_layout Plain Layout
23981 LaTeX-packages ! hypcap
23982 \end_layout
23983
23984 \end_inset
23985
23986 , described in section
23987 \begin_inset space ~
23988 \end_inset
23989
23990
23991 \begin_inset CommandInset ref
23992 LatexCommand ref
23993 reference "sub:Reference-Position"
23994
23995 \end_inset
23996
23997 , has no effect on floats with the caption set beside.
23998 \end_layout
23999
24000 \end_inset
24001
24002
24003 \end_layout
24004
24005 \begin_layout Standard
24006 \begin_inset ERT
24007 status collapsed
24008
24009 \begin_layout Plain Layout
24010
24011
24012 \backslash
24013 FigBesBeg 
24014 \end_layout
24015
24016 \end_inset
24017
24018
24019 \end_layout
24020
24021 \begin_layout Standard
24022 \begin_inset Float figure
24023 wide false
24024 sideways false
24025 status open
24026
24027 \begin_layout Plain Layout
24028 \begin_inset Graphics
24029         filename clipart/escher-lsd.eps
24030         scale 75
24031         scaleBeforeRotation
24032
24033 \end_inset
24034
24035
24036 \end_layout
24037
24038 \begin_layout Plain Layout
24039 \begin_inset Caption
24040
24041 \begin_layout Plain Layout
24042 \begin_inset CommandInset label
24043 LatexCommand label
24044 name "fig:cap-beside-fig"
24045
24046 \end_inset
24047
24048 This is a caption beside a figure.
24049 \end_layout
24050
24051 \end_inset
24052
24053
24054 \end_layout
24055
24056 \end_inset
24057
24058
24059 \end_layout
24060
24061 \begin_layout Standard
24062 \begin_inset ERT
24063 status collapsed
24064
24065 \begin_layout Plain Layout
24066
24067
24068 \backslash
24069 TabBesBeg 
24070 \end_layout
24071
24072 \end_inset
24073
24074
24075 \end_layout
24076
24077 \begin_layout Standard
24078 \begin_inset Float table
24079 wide false
24080 sideways false
24081 status open
24082
24083 \begin_layout Plain Layout
24084 \begin_inset Caption
24085
24086 \begin_layout Plain Layout
24087 \begin_inset CommandInset label
24088 LatexCommand label
24089 name "tab:cap-beside-tab"
24090
24091 \end_inset
24092
24093 This is a caption beside a table.
24094 \end_layout
24095
24096 \end_inset
24097
24098
24099 \end_layout
24100
24101 \begin_layout Plain Layout
24102 \begin_inset Tabular
24103 <lyxtabular version="3" rows="4" columns="5">
24104 <features tabularvalignment="middle">
24105 <column alignment="center" valignment="top" width="0">
24106 <column alignment="center" valignment="top" width="0">
24107 <column alignment="center" valignment="top" width="0">
24108 <column alignment="center" valignment="top" width="0">
24109 <column alignment="center" valignment="top" width="0">
24110 <row>
24111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24112 \begin_inset Text
24113
24114 \begin_layout Plain Layout
24115 a
24116 \end_layout
24117
24118 \end_inset
24119 </cell>
24120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24121 \begin_inset Text
24122
24123 \begin_layout Plain Layout
24124
24125 \end_layout
24126
24127 \end_inset
24128 </cell>
24129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24130 \begin_inset Text
24131
24132 \begin_layout Plain Layout
24133 b
24134 \end_layout
24135
24136 \end_inset
24137 </cell>
24138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24139 \begin_inset Text
24140
24141 \begin_layout Plain Layout
24142
24143 \end_layout
24144
24145 \end_inset
24146 </cell>
24147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24148 \begin_inset Text
24149
24150 \begin_layout Plain Layout
24151 c
24152 \end_layout
24153
24154 \end_inset
24155 </cell>
24156 </row>
24157 <row>
24158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24159 \begin_inset Text
24160
24161 \begin_layout Plain Layout
24162
24163 \end_layout
24164
24165 \end_inset
24166 </cell>
24167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24168 \begin_inset Text
24169
24170 \begin_layout Plain Layout
24171 d
24172 \end_layout
24173
24174 \end_inset
24175 </cell>
24176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24177 \begin_inset Text
24178
24179 \begin_layout Plain Layout
24180
24181 \end_layout
24182
24183 \end_inset
24184 </cell>
24185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24186 \begin_inset Text
24187
24188 \begin_layout Plain Layout
24189 e
24190 \end_layout
24191
24192 \end_inset
24193 </cell>
24194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24195 \begin_inset Text
24196
24197 \begin_layout Plain Layout
24198
24199 \end_layout
24200
24201 \end_inset
24202 </cell>
24203 </row>
24204 <row>
24205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24206 \begin_inset Text
24207
24208 \begin_layout Plain Layout
24209 f
24210 \end_layout
24211
24212 \end_inset
24213 </cell>
24214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24215 \begin_inset Text
24216
24217 \begin_layout Plain Layout
24218
24219 \end_layout
24220
24221 \end_inset
24222 </cell>
24223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24224 \begin_inset Text
24225
24226 \begin_layout Plain Layout
24227 g
24228 \end_layout
24229
24230 \end_inset
24231 </cell>
24232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24233 \begin_inset Text
24234
24235 \begin_layout Plain Layout
24236
24237 \end_layout
24238
24239 \end_inset
24240 </cell>
24241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24242 \begin_inset Text
24243
24244 \begin_layout Plain Layout
24245 h
24246 \end_layout
24247
24248 \end_inset
24249 </cell>
24250 </row>
24251 <row>
24252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24253 \begin_inset Text
24254
24255 \begin_layout Plain Layout
24256
24257 \end_layout
24258
24259 \end_inset
24260 </cell>
24261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24262 \begin_inset Text
24263
24264 \begin_layout Plain Layout
24265 i
24266 \end_layout
24267
24268 \end_inset
24269 </cell>
24270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24271 \begin_inset Text
24272
24273 \begin_layout Plain Layout
24274
24275 \end_layout
24276
24277 \end_inset
24278 </cell>
24279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24280 \begin_inset Text
24281
24282 \begin_layout Plain Layout
24283 j
24284 \end_layout
24285
24286 \end_inset
24287 </cell>
24288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24289 \begin_inset Text
24290
24291 \begin_layout Plain Layout
24292
24293 \end_layout
24294
24295 \end_inset
24296 </cell>
24297 </row>
24298 </lyxtabular>
24299
24300 \end_inset
24301
24302
24303 \end_layout
24304
24305 \end_inset
24306
24307
24308 \end_layout
24309
24310 \begin_layout Standard
24311 \begin_inset ERT
24312 status collapsed
24313
24314 \begin_layout Plain Layout
24315
24316
24317 \backslash
24318 TabBesEnd
24319 \end_layout
24320
24321 \end_inset
24322
24323
24324 \end_layout
24325
24326 \begin_layout Standard
24327 \begin_inset ERT
24328 status collapsed
24329
24330 \begin_layout Plain Layout
24331
24332
24333 \backslash
24334 sidecaptionvpos{figure}{c}
24335 \end_layout
24336
24337 \end_inset
24338
24339
24340 \begin_inset Float figure
24341 wide false
24342 sideways false
24343 status open
24344
24345 \begin_layout Plain Layout
24346 \begin_inset Graphics
24347         filename clipart/escher-lsd.eps
24348         scale 75
24349         scaleBeforeRotation
24350
24351 \end_inset
24352
24353
24354 \end_layout
24355
24356 \begin_layout Plain Layout
24357 \begin_inset Caption
24358
24359 \begin_layout Plain Layout
24360 \begin_inset CommandInset label
24361 LatexCommand label
24362 name "fig:cap-beside-fig-2"
24363
24364 \end_inset
24365
24366 This is a vertically centered caption beside a figure.
24367 \end_layout
24368
24369 \end_inset
24370
24371
24372 \end_layout
24373
24374 \end_inset
24375
24376
24377 \end_layout
24378
24379 \begin_layout Standard
24380 \begin_inset ERT
24381 status collapsed
24382
24383 \begin_layout Plain Layout
24384
24385
24386 \backslash
24387 FigBesEnd
24388 \end_layout
24389
24390 \end_inset
24391
24392
24393 \end_layout
24394
24395 \begin_layout Standard
24396 \begin_inset ERT
24397 status collapsed
24398
24399 \begin_layout Plain Layout
24400
24401
24402 \backslash
24403 else
24404 \end_layout
24405
24406 \end_inset
24407
24408
24409 \begin_inset Note Note
24410 status open
24411
24412 \begin_layout Plain Layout
24413 The following will be displayed when the LaTeX-package 
24414 \series bold
24415 sidecap
24416 \series default
24417  is not installed:
24418 \end_layout
24419
24420 \end_inset
24421
24422
24423 \end_layout
24424
24425 \begin_layout Standard
24426 You need to install the LaTeX-package 
24427 \series bold
24428 sidecap
24429 \series default
24430  to see the following part of this section in the output.
24431 \end_layout
24432
24433 \begin_layout Standard
24434 \begin_inset ERT
24435 status collapsed
24436
24437 \begin_layout Plain Layout
24438
24439
24440 \backslash
24441 fi
24442 \end_layout
24443
24444 \end_inset
24445
24446
24447 \end_layout
24448
24449 \begin_layout Section
24450 Listings of Floats
24451 \begin_inset Index idx
24452 status collapsed
24453
24454 \begin_layout Plain Layout
24455 Floats ! Float Lists
24456 \end_layout
24457
24458 \end_inset
24459
24460
24461 \end_layout
24462
24463 \begin_layout Standard
24464 Similar to the table of contents where the sections of the document are
24465  listed, there are listings for all float types, like the figures of the
24466  documents.
24467  You can insert them via the 
24468 \family sans
24469 Insert\SpecialChar \menuseparator
24470 List
24471 \begin_inset space ~
24472 \end_inset
24473
24474 /
24475 \begin_inset space ~
24476 \end_inset
24477
24478 TOC
24479 \family default
24480  sub menus.
24481 \end_layout
24482
24483 \begin_layout Standard
24484 The list entries are the float captions or its short title, the float number,
24485  and the page number where they appear in the document.
24486 \end_layout
24487
24488 \begin_layout Standard
24489 You can find the list of figures and tables at the end of this document.
24490 \end_layout
24491
24492 \begin_layout Chapter
24493 Notes
24494 \end_layout
24495
24496 \begin_layout Section
24497 LyX Notes
24498 \begin_inset Index idx
24499 status collapsed
24500
24501 \begin_layout Plain Layout
24502 Notes ! LyX Notes
24503 \end_layout
24504
24505 \end_inset
24506
24507
24508 \end_layout
24509
24510 \begin_layout Standard
24511 Notes are inserted with the toolbar button 
24512 \begin_inset Graphics
24513         filename ../images/note-insert.png
24514         scale 85
24515         scaleBeforeRotation
24516
24517 \end_inset
24518
24519  or the menu 
24520 \family sans
24521 Insert\SpecialChar \menuseparator
24522 Note
24523 \family default
24524 .
24525  There are three types of notes:
24526 \end_layout
24527
24528 \begin_layout Description
24529 LyX
24530 \begin_inset space ~
24531 \end_inset
24532
24533 Note This note type is for internal notes that won't appear in the output.
24534  Its note-box looks like this:
24535 \begin_inset Newline newline
24536 \end_inset
24537
24538
24539 \begin_inset Newline newline
24540 \end_inset
24541
24542
24543 \begin_inset Graphics
24544         filename clipart/LyXNoteImageQt4.png
24545         display false
24546         scale 85
24547         scaleBeforeRotation
24548
24549 \end_inset
24550
24551  
24552 \begin_inset Note Note
24553 status open
24554
24555 \begin_layout Plain Layout
24556 This is text in a note box that doesn't appear in the output.
24557 \end_layout
24558
24559 \end_inset
24560
24561
24562 \end_layout
24563
24564 \begin_layout Description
24565 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24566 ent, when you export the document to LaTeX via the menu 
24567 \family sans
24568 File\SpecialChar \menuseparator
24569 Export\SpecialChar \menuseparator
24570 LaTeX (pdflatex) / (plain)
24571 \family default
24572 .
24573  Its note-box looks like this:
24574 \begin_inset Newline newline
24575 \end_inset
24576
24577
24578 \begin_inset Newline newline
24579 \end_inset
24580
24581
24582 \begin_inset Graphics
24583         filename clipart/CommentNoteImageQt4.png
24584         display false
24585         scale 85
24586         scaleBeforeRotation
24587
24588 \end_inset
24589
24590  
24591 \begin_inset Note Comment
24592 status open
24593
24594 \begin_layout Plain Layout
24595 This is text in a note box that only appears as comment in LaTeX-files.
24596 \end_layout
24597
24598 \end_inset
24599
24600
24601 \end_layout
24602
24603 \begin_layout Description
24604 Greyed
24605 \begin_inset space ~
24606 \end_inset
24607
24608 Out This note will appear in the output as grey text.
24609  Its note-box looks like this:
24610 \begin_inset Newline newline
24611 \end_inset
24612
24613
24614 \begin_inset Newline newline
24615 \end_inset
24616
24617
24618 \begin_inset Graphics
24619         filename clipart/GreyedOutNoteImageQt4.png
24620         display false
24621         scale 85
24622         scaleBeforeRotation
24623
24624 \end_inset
24625
24626
24627 \begin_inset Newline newline
24628 \end_inset
24629
24630
24631 \begin_inset ERT
24632 status collapsed
24633
24634 \begin_layout Plain Layout
24635
24636
24637 \backslash
24638 renewenvironment{lyxgreyedout}
24639 \end_layout
24640
24641 \begin_layout Plain Layout
24642
24643 {
24644 \backslash
24645 textcolor[gray]{0.8}
24646 \backslash
24647 bgroup}{
24648 \backslash
24649 egroup}
24650 \end_layout
24651
24652 \end_inset
24653
24654
24655 \begin_inset Note Greyedout
24656 status open
24657
24658 \begin_layout Plain Layout
24659 This is text
24660 \begin_inset Foot
24661 status open
24662
24663 \begin_layout Plain Layout
24664 This is an example footnote within a greyed out note.
24665 \end_layout
24666
24667 \end_inset
24668
24669  of a comment that appears in the output as grey text.
24670 \end_layout
24671
24672 \end_inset
24673
24674
24675 \begin_inset ERT
24676 status collapsed
24677
24678 \begin_layout Plain Layout
24679
24680
24681 \backslash
24682 renewenvironment{lyxgreyedout}
24683 \end_layout
24684
24685 \begin_layout Plain Layout
24686
24687 {
24688 \backslash
24689 textcolor{blue}
24690 \backslash
24691 bgroup}{
24692 \backslash
24693 egroup}
24694 \end_layout
24695
24696 \end_inset
24697
24698
24699 \begin_inset Note Note
24700 status collapsed
24701
24702 \begin_layout Plain Layout
24703 The greyed out note is here redefined to show it with the original LyX definitio
24704 n because greyed out notes are redefined in the preamble of this document,
24705  as described below, to have blue text.
24706 \end_layout
24707
24708 \end_inset
24709
24710
24711 \begin_inset Newline newline
24712 \end_inset
24713
24714
24715 \begin_inset Newline newline
24716 \end_inset
24717
24718 As you can see in the example, the first line of greyed out notes is a bit
24719  indented and greyed out notes can have footnotes.
24720 \end_layout
24721
24722 \begin_layout Standard
24723 \begin_inset VSpace bigskip
24724 \end_inset
24725
24726 When you use the toolbar button 
24727 \begin_inset Graphics
24728         filename ../images/note-insert.png
24729         scale 85
24730         scaleBeforeRotation
24731
24732 \end_inset
24733
24734  to insert notes, a 
24735 \family sans
24736 LyX
24737 \begin_inset space ~
24738 \end_inset
24739
24740 Note
24741 \family default
24742  is inserted.
24743  You can switch between the five note types by right-clicking on the note-box.
24744  
24745 \family roman
24746 \series medium
24747 \bar no
24748 If you want to turn existing text into a note, mark it and click on the
24749  note
24750 \family default
24751 \series default
24752 \bar default
24753  toolbar 
24754 \family roman
24755 \series medium
24756 \bar no
24757 button
24758 \family default
24759 \series default
24760 \bar default
24761 .
24762  To change a note to text, press the backspace key when the cursor is in
24763  the first position of a note, or press the delete key when the cursor is
24764  in the very last position of the note, respectively.
24765 \end_layout
24766
24767 \begin_layout Standard
24768 \begin_inset VSpace bigskip
24769 \end_inset
24770
24771 You can change the text color of the greyed out notes in the menu 
24772 \family sans
24773 Document\SpecialChar \menuseparator
24774 Settings\SpecialChar \menuseparator
24775 Colors
24776 \family default
24777 .
24778 \end_layout
24779
24780 \begin_layout Section
24781 Footnotes
24782 \begin_inset CommandInset label
24783 LatexCommand label
24784 name "sec:Footnotes"
24785
24786 \end_inset
24787
24788
24789 \begin_inset Index idx
24790 status collapsed
24791
24792 \begin_layout Plain Layout
24793 Notes ! Footnotes
24794 \end_layout
24795
24796 \end_inset
24797
24798
24799 \begin_inset Index idx
24800 status collapsed
24801
24802 \begin_layout Plain Layout
24803 Footnotes
24804 \end_layout
24805
24806 \end_inset
24807
24808
24809 \end_layout
24810
24811 \begin_layout Standard
24812 Footnotes can be inserted using the toolbar button 
24813 \begin_inset Graphics
24814         filename ../images/footnote-insert.png
24815         scale 85
24816         scaleBeforeRotation
24817
24818 \end_inset
24819
24820  or the menu 
24821 \family sans
24822 Insert\SpecialChar \menuseparator
24823 Footnote
24824 \family default
24825 .
24826  
24827 \family roman
24828 \series medium
24829 \bar no
24830 You'll see
24831 \family default
24832 \series default
24833 \bar default
24834  then the following footnote-box: 
24835 \begin_inset Graphics
24836         filename clipart/footnoteQt4.png
24837         scale 80
24838         scaleBeforeRotation
24839
24840 \end_inset
24841
24842  
24843 \family roman
24844 \series medium
24845 \bar no
24846 where you can enter the footnote text.
24847  If you want to turn existing text into a footnote, mark it and click on
24848  the footnote
24849 \family default
24850 \series default
24851 \bar default
24852  toolbar 
24853 \family roman
24854 \series medium
24855 \bar no
24856 button
24857 \family default
24858 \series default
24859 \bar default
24860 .
24861  To change a 
24862 \family roman
24863 \series medium
24864 \bar no
24865 footnote
24866 \family default
24867 \series default
24868 \bar default
24869  to text, press the Backspace key when the cursor is in the first position
24870  of a 
24871 \family roman
24872 \series medium
24873 \bar no
24874 footnote
24875 \family default
24876 \series default
24877 \bar default
24878 , or press the Delete key when the cursor is in the very last position of
24879  the 
24880 \family roman
24881 \series medium
24882 \bar no
24883 footnote
24884 \family default
24885 \series default
24886 \bar default
24887 , respectively.
24888 \end_layout
24889
24890 \begin_layout Standard
24891 Here is an example footnote:
24892 \family roman
24893 \series medium
24894 \bar no
24895
24896 \begin_inset Foot
24897 status open
24898
24899 \begin_layout Plain Layout
24900 \begin_inset CommandInset label
24901 LatexCommand label
24902 name "foot:This-is-an"
24903
24904 \end_inset
24905
24906 This is an example footnote.
24907 \end_layout
24908
24909 \end_inset
24910
24911
24912 \family default
24913 \series default
24914 \bar default
24915
24916 \begin_inset ERT
24917 status collapsed
24918
24919 \begin_layout Plain Layout
24920
24921
24922 \backslash
24923 newcounter{MyRepeatFoot}
24924 \end_layout
24925
24926 \begin_layout Plain Layout
24927
24928
24929 \backslash
24930 setcounter{MyRepeatFoot}{
24931 \backslash
24932 thefootnote}
24933 \end_layout
24934
24935 \end_inset
24936
24937
24938 \end_layout
24939
24940 \begin_layout Standard
24941 The footnote will appear in the output as a superscript number at the text
24942  position where the footnote box is placed.
24943  The footnote text is placed at the bottom of the current page.
24944  The footnote number is calculated by LaTeX; the numbers are consecutive.
24945  It depends on your document-class, whether the footnote number is reset
24946  for every chapter.
24947 \end_layout
24948
24949 \begin_layout Standard
24950 Footnotes can be referenced like floats: Insert a label into the footnote
24951  and cross-reference this label in the text as described in section
24952 \begin_inset space ~
24953 \end_inset
24954
24955
24956 \begin_inset CommandInset ref
24957 LatexCommand ref
24958 reference "sec:Referencing-Floats"
24959
24960 \end_inset
24961
24962 .
24963 \begin_inset Newline newline
24964 \end_inset
24965
24966 This is a cross-reference of Footnote
24967 \begin_inset space ~
24968 \end_inset
24969
24970
24971 \begin_inset CommandInset ref
24972 LatexCommand ref
24973 reference "foot:This-is-an"
24974
24975 \end_inset
24976
24977 .
24978 \end_layout
24979
24980 \begin_layout Standard
24981 \begin_inset VSpace defskip
24982 \end_inset
24983
24984 Footnotes in tables are not printed by LaTeX due to technical reasons.
24985  However there exists another method to print them: Instead of the footnote
24986  the command 
24987 \series bold
24988
24989 \backslash
24990 footnotemark{}
24991 \series default
24992  is inserted as TeX-code.
24993  The text of the footnote is entered as an argument of the TeX-code command
24994  
24995 \series bold
24996
24997 \backslash
24998 footnotetext
24999 \series default
25000  after the table.
25001 \begin_inset Newline newline
25002 \end_inset
25003
25004 This was done for the following table with the command
25005 \end_layout
25006
25007 \begin_layout Standard
25008
25009 \series bold
25010
25011 \backslash
25012 footnotetext{
25013 \series default
25014 Printed table footnote.
25015 \series bold
25016 }
25017 \end_layout
25018
25019 \begin_layout Standard
25020 \begin_inset Tabular
25021 <lyxtabular version="3" rows="2" columns="1">
25022 <features tabularvalignment="middle">
25023 <column alignment="center" valignment="top" width="0">
25024 <row>
25025 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25026 \begin_inset Text
25027
25028 \begin_layout Plain Layout
25029 This an example text.
25030 \begin_inset Foot
25031 status open
25032
25033 \begin_layout Plain Layout
25034 This footnote will not be printed!
25035 \end_layout
25036
25037 \end_inset
25038
25039
25040 \end_layout
25041
25042 \end_inset
25043 </cell>
25044 </row>
25045 <row>
25046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25047 \begin_inset Text
25048
25049 \begin_layout Plain Layout
25050 This an example text.
25051 \begin_inset ERT
25052 status collapsed
25053
25054 \begin_layout Plain Layout
25055
25056
25057 \backslash
25058 footnotemark{}
25059 \end_layout
25060
25061 \end_inset
25062
25063
25064 \end_layout
25065
25066 \end_inset
25067 </cell>
25068 </row>
25069 </lyxtabular>
25070
25071 \end_inset
25072
25073
25074 \begin_inset ERT
25075 status collapsed
25076
25077 \begin_layout Plain Layout
25078
25079
25080 \backslash
25081 footnotetext{
25082 \end_layout
25083
25084 \end_inset
25085
25086 Printed table footnote.
25087 \begin_inset ERT
25088 status collapsed
25089
25090 \begin_layout Plain Layout
25091
25092 }
25093 \end_layout
25094
25095 \end_inset
25096
25097
25098 \end_layout
25099
25100 \begin_layout Standard
25101 Footnotes in longtables are described in section
25102 \begin_inset space ~
25103 \end_inset
25104
25105
25106 \begin_inset CommandInset ref
25107 LatexCommand ref
25108 reference "sub:Footnotes-in-Longtables"
25109
25110 \end_inset
25111
25112 .
25113 \end_layout
25114
25115 \begin_layout Standard
25116 Footnotes in minipage boxes are printed, but inside the box and with a different
25117  numbering because a minipage box is like a page inside a page.
25118  (For more about minipages, see section
25119 \begin_inset space ~
25120 \end_inset
25121
25122
25123 \begin_inset CommandInset ref
25124 LatexCommand ref
25125 reference "sec:Minipages"
25126
25127 \end_inset
25128
25129 .) To get a footnote in the minipage that is output at the bottom of the
25130  page like normal footnotes, also use the method of 
25131 \series bold
25132
25133 \backslash
25134 footnotemark{}
25135 \series default
25136  and 
25137 \series bold
25138
25139 \backslash
25140 footnotetext
25141 \series default
25142 .
25143 \end_layout
25144
25145 \begin_layout Standard
25146 \begin_inset Box Frameless
25147 position "t"
25148 hor_pos "c"
25149 has_inner_box 1
25150 inner_pos "t"
25151 use_parbox 0
25152 use_makebox 0
25153 width "100col%"
25154 special "none"
25155 height "1in"
25156 height_special "totalheight"
25157 status open
25158
25159 \begin_layout Plain Layout
25160 This an example text in a minipage.
25161 \begin_inset Foot
25162 status open
25163
25164 \begin_layout Plain Layout
25165 Footnote in the minipage.
25166 \end_layout
25167
25168 \end_inset
25169
25170
25171 \end_layout
25172
25173 \begin_layout Plain Layout
25174 This an example text in a minipage.
25175 \begin_inset ERT
25176 status collapsed
25177
25178 \begin_layout Plain Layout
25179
25180
25181 \backslash
25182 footnotemark{}
25183 \end_layout
25184
25185 \end_inset
25186
25187
25188 \end_layout
25189
25190 \end_inset
25191
25192
25193 \end_layout
25194
25195 \begin_layout Standard
25196 \begin_inset ERT
25197 status collapsed
25198
25199 \begin_layout Plain Layout
25200
25201
25202 \backslash
25203 footnotetext{
25204 \end_layout
25205
25206 \end_inset
25207
25208 Footnote outside the minipage.
25209 \begin_inset ERT
25210 status collapsed
25211
25212 \begin_layout Plain Layout
25213
25214 }
25215 \end_layout
25216
25217 \end_inset
25218
25219
25220 \end_layout
25221
25222 \begin_layout Standard
25223 \begin_inset VSpace defskip
25224 \end_inset
25225
25226
25227 \end_layout
25228
25229 \begin_layout Standard
25230 To refer to the same footnote several times without printing the footnote
25231  text every time, use the command 
25232 \series bold
25233
25234 \backslash
25235 footnotemark[number]
25236 \series default
25237  in TeX-code.
25238 \begin_inset Newline newline
25239 \end_inset
25240
25241 As you do not know the number of the repeating footnote while you are writing
25242  the text, you have to store its number.
25243  For the following footnote mark example, these commands were inserted in
25244  TeX-code after Footnote
25245 \begin_inset space ~
25246 \end_inset
25247
25248
25249 \begin_inset CommandInset ref
25250 LatexCommand ref
25251 reference "foot:This-is-an"
25252
25253 \end_inset
25254
25255  to store the footnote number:
25256 \end_layout
25257
25258 \begin_layout Standard
25259
25260 \series bold
25261
25262 \backslash
25263 newcounter{MyRepeatFoot}
25264 \begin_inset Newline newline
25265 \end_inset
25266
25267
25268 \backslash
25269 setcounter{MyRepeatFoot}{
25270 \backslash
25271 thefootnote}
25272 \end_layout
25273
25274 \begin_layout Standard
25275 The footnote mark was then created with this command:
25276 \end_layout
25277
25278 \begin_layout Standard
25279
25280 \series bold
25281
25282 \backslash
25283 footnotemark[
25284 \backslash
25285 theMyRepeatFoot]
25286 \end_layout
25287
25288 \begin_layout Standard
25289 Here is a repeated footnote:
25290 \family roman
25291 \series medium
25292 \bar no
25293
25294 \begin_inset ERT
25295 status collapsed
25296
25297 \begin_layout Plain Layout
25298
25299
25300 \backslash
25301 footnotemark[
25302 \backslash
25303 theMyRepeatFoot]
25304 \end_layout
25305
25306 \end_inset
25307
25308
25309 \end_layout
25310
25311 \begin_layout Standard
25312 If you want to repeat the previous footnote, you can omit the storage of
25313  the footnote number and just use this command instead:
25314 \end_layout
25315
25316 \begin_layout Standard
25317
25318 \series bold
25319
25320 \backslash
25321 footnotemark[
25322 \backslash
25323 thefootnote]
25324 \end_layout
25325
25326 \begin_layout Standard
25327 Here is another repeated footnote:
25328 \family roman
25329 \series medium
25330 \bar no
25331
25332 \begin_inset ERT
25333 status collapsed
25334
25335 \begin_layout Plain Layout
25336
25337
25338 \backslash
25339 footnotemark[
25340 \backslash
25341 thefootnote]
25342 \end_layout
25343
25344 \end_inset
25345
25346
25347 \end_layout
25348
25349 \begin_layout Subsection
25350 Footnote Numbering
25351 \begin_inset CommandInset label
25352 LatexCommand label
25353 name "sub:Footnote-Numbering"
25354
25355 \end_inset
25356
25357
25358 \begin_inset Index idx
25359 status collapsed
25360
25361 \begin_layout Plain Layout
25362 Footnotes ! Numbering
25363 \end_layout
25364
25365 \end_inset
25366
25367
25368 \end_layout
25369
25370 \begin_layout Standard
25371 To reset the footnote number back to 1 after each section
25372 \family roman
25373 , add this command to your document preamble:
25374 \end_layout
25375
25376 \begin_layout Standard
25377
25378 \series bold
25379
25380 \backslash
25381 @addtoreset{footnote}{section}
25382 \end_layout
25383
25384 \begin_layout Standard
25385 \begin_inset VSpace bigskip
25386 \end_inset
25387
25388 The following preamble command changes the footnote numbering style to small
25389  roman numerals:
25390 \end_layout
25391
25392 \begin_layout Standard
25393
25394 \series bold
25395
25396 \backslash
25397 renewcommand{
25398 \backslash
25399 thefootnote}{
25400 \backslash
25401 roman{footnote}}
25402 \end_layout
25403
25404 \begin_layout Standard
25405 \begin_inset ERT
25406 status collapsed
25407
25408 \begin_layout Plain Layout
25409
25410
25411 \backslash
25412 renewcommand{
25413 \backslash
25414 thefootnote}{
25415 \backslash
25416 roman{footnote}}
25417 \end_layout
25418
25419 \end_inset
25420
25421  This is a footnote with roman numbering:
25422 \begin_inset Foot
25423 status open
25424
25425 \begin_layout Plain Layout
25426 This is an example footnote with roman numbering.
25427 \end_layout
25428
25429 \end_inset
25430
25431
25432 \end_layout
25433
25434 \begin_layout Standard
25435 To change the numbering style to capital roman numerals replace in the command
25436  above 
25437 \series bold
25438
25439 \backslash
25440 roman
25441 \series default
25442  by 
25443 \series bold
25444
25445 \backslash
25446 Roman
25447 \series default
25448 .
25449  To 
25450 \begin_inset Quotes eld
25451 \end_inset
25452
25453 number
25454 \begin_inset Quotes erd
25455 \end_inset
25456
25457  footnotes with capital or small Latin letters use 
25458 \series bold
25459
25460 \backslash
25461 Alph
25462 \series default
25463  or 
25464 \series bold
25465
25466 \backslash
25467 alph
25468 \series default
25469 , respectively.
25470  To 
25471 \begin_inset Quotes eld
25472 \end_inset
25473
25474 number
25475 \begin_inset Quotes erd
25476 \end_inset
25477
25478  footnotes with symbols use 
25479 \series bold
25480
25481 \backslash
25482 fnsymbol
25483 \series default
25484 .
25485 \end_layout
25486
25487 \begin_layout Standard
25488 \begin_inset Note Greyedout
25489 status open
25490
25491 \begin_layout Plain Layout
25492
25493 \series bold
25494 Note:
25495 \series default
25496  You can only number 26 footnotes with Latin letters, because this numbering
25497  is limited to single letters.
25498 \end_layout
25499
25500 \end_inset
25501
25502
25503 \begin_inset Newline newline
25504 \end_inset
25505
25506
25507 \begin_inset Note Greyedout
25508 status open
25509
25510 \begin_layout Plain Layout
25511
25512 \series bold
25513 Note:
25514 \series default
25515  You can only number 9 footnotes with symbols.
25516 \end_layout
25517
25518 \end_inset
25519
25520
25521 \end_layout
25522
25523 \begin_layout Standard
25524 To return to the default numbering style after you have changed to another
25525  one, use 
25526 \series bold
25527
25528 \backslash
25529 arabic
25530 \series default
25531  instead of 
25532 \series bold
25533
25534 \backslash
25535 roman
25536 \series default
25537  in the command above.
25538 \begin_inset ERT
25539 status collapsed
25540
25541 \begin_layout Plain Layout
25542
25543
25544 \backslash
25545 renewcommand{
25546 \backslash
25547 thefootnote}{
25548 \backslash
25549 arabic{footnote}}
25550 \end_layout
25551
25552 \end_inset
25553
25554
25555 \end_layout
25556
25557 \begin_layout Standard
25558 \begin_inset VSpace bigskip
25559 \end_inset
25560
25561
25562 \end_layout
25563
25564 \begin_layout Standard
25565 If you want to have footnotes numbered in the scheme 
25566 \begin_inset Quotes eld
25567 \end_inset
25568
25569 chapter.footnote
25570 \begin_inset Quotes erd
25571 \end_inset
25572
25573 , add the following command to your document preamble:
25574 \end_layout
25575
25576 \begin_layout Standard
25577
25578 \series bold
25579
25580 \backslash
25581 numberwithin{footnote}{chapter}
25582 \end_layout
25583
25584 \begin_layout Standard
25585 To be able to use the command 
25586 \series bold
25587
25588 \backslash
25589 numberwithin
25590 \series default
25591 , set in the tab 
25592 \family sans
25593 Math
25594 \begin_inset space ~
25595 \end_inset
25596
25597 Options
25598 \family default
25599  in the document settings the option 
25600 \family sans
25601 Use
25602 \begin_inset space ~
25603 \end_inset
25604
25605 AMS
25606 \begin_inset space ~
25607 \end_inset
25608
25609 math
25610 \begin_inset space ~
25611 \end_inset
25612
25613 package
25614 \family default
25615 .
25616 \end_layout
25617
25618 \begin_layout Standard
25619 \begin_inset ERT
25620 status collapsed
25621
25622 \begin_layout Plain Layout
25623
25624
25625 \backslash
25626 numberwithin{footnote}{chapter}
25627 \end_layout
25628
25629 \end_inset
25630
25631 This is another example footnote:
25632 \series bold
25633
25634 \begin_inset Foot
25635 status open
25636
25637 \begin_layout Plain Layout
25638 This is a footnote numbered in the scheme 
25639 \begin_inset Quotes eld
25640 \end_inset
25641
25642 chapter.footnote
25643 \begin_inset Quotes erd
25644 \end_inset
25645
25646 .
25647 \end_layout
25648
25649 \end_inset
25650
25651
25652 \series default
25653
25654 \begin_inset ERT
25655 status collapsed
25656
25657 \begin_layout Plain Layout
25658
25659
25660 \backslash
25661 renewcommand{
25662 \backslash
25663 thefootnote}{
25664 \backslash
25665 arabic{footnote}}
25666 \end_layout
25667
25668 \end_inset
25669
25670
25671 \end_layout
25672
25673 \begin_layout Standard
25674 \begin_inset Note Greyedout
25675 status open
25676
25677 \begin_layout Plain Layout
25678
25679 \series bold
25680 Note:
25681 \series default
25682  
25683 \series bold
25684
25685 \backslash
25686 numberwithin
25687 \series default
25688  always prints out the footnote number as arabic number; previous redefinitions
25689  to get non-arabic numbers are overwritten.
25690 \end_layout
25691
25692 \end_inset
25693
25694
25695 \end_layout
25696
25697 \begin_layout Standard
25698 So to get for example the scheme 
25699 \begin_inset Quotes eld
25700 \end_inset
25701
25702 chapter.
25703 \backslash
25704 Roman{footnote}
25705 \begin_inset Quotes erd
25706 \end_inset
25707
25708 , use this command instead of 
25709 \series bold
25710
25711 \backslash
25712 numberwithin
25713 \series default
25714 :
25715 \end_layout
25716
25717 \begin_layout Standard
25718
25719 \series bold
25720
25721 \backslash
25722 renewcommand{
25723 \backslash
25724 thefootnote}{
25725 \backslash
25726 thechapter.
25727 \backslash
25728 Roman{footnote}}
25729 \end_layout
25730
25731 \begin_layout Subsection
25732 Footnote Placement
25733 \begin_inset Index idx
25734 status collapsed
25735
25736 \begin_layout Plain Layout
25737 Footnotes ! Placement
25738 \end_layout
25739
25740 \end_inset
25741
25742
25743 \end_layout
25744
25745 \begin_layout Standard
25746 If you have several footnotes in one page, they appear without vertical
25747  space between them at the bottom of the page.
25748  To make them more readable you can e.
25749 \begin_inset space \thinspace{}
25750 \end_inset
25751
25752 g.
25753 \begin_inset space \space{}
25754 \end_inset
25755
25756 add 1.5
25757 \begin_inset space \thinspace{}
25758 \end_inset
25759
25760 mm space with the following preamble command:
25761 \end_layout
25762
25763 \begin_layout Standard
25764
25765 \series bold
25766
25767 \backslash
25768 let
25769 \backslash
25770 myFoot
25771 \backslash
25772 footnote
25773 \begin_inset Newline newline
25774 \end_inset
25775
25776
25777 \backslash
25778 renewcommand{
25779 \backslash
25780 footnote}[1]{
25781 \backslash
25782 myFoot{#1
25783 \backslash
25784 vspace{1.5mm}}}
25785 \end_layout
25786
25787 \begin_layout Standard
25788 \begin_inset VSpace bigskip
25789 \end_inset
25790
25791 In a two-column document the footnotes appear at the bottom of every column,
25792  see Figure
25793 \begin_inset space ~
25794 \end_inset
25795
25796
25797 \begin_inset CommandInset ref
25798 LatexCommand ref
25799 reference "fig:Standard-footnote-placement"
25800
25801 \end_inset
25802
25803 .
25804  If the footnotes should only appear at the bottom of the right column,
25805  as in Figure
25806 \begin_inset space ~
25807 \end_inset
25808
25809
25810 \begin_inset CommandInset ref
25811 LatexCommand ref
25812 reference "fig:Footnote-placement-in"
25813
25814 \end_inset
25815
25816 , use the LaTeX-package 
25817 \series bold
25818 ftnright
25819 \series default
25820
25821 \begin_inset Index idx
25822 status collapsed
25823
25824 \begin_layout Plain Layout
25825 LaTeX-packages ! ftnright
25826 \end_layout
25827
25828 \end_inset
25829
25830  with this command in the document preamble:
25831 \end_layout
25832
25833 \begin_layout Standard
25834
25835 \series bold
25836
25837 \backslash
25838 usepackage{ftnright}
25839 \end_layout
25840
25841 \begin_layout Standard
25842 \begin_inset Float figure
25843 placement !h
25844 wide false
25845 sideways false
25846 status open
25847
25848 \begin_layout Plain Layout
25849 \begin_inset ERT
25850 status collapsed
25851
25852 \begin_layout Plain Layout
25853
25854
25855 \backslash
25856 framebox{
25857 \end_layout
25858
25859 \end_inset
25860
25861
25862 \begin_inset Graphics
25863         filename clipart/without_fntright.pdf
25864         width 100col%
25865         scaleBeforeRotation
25866
25867 \end_inset
25868
25869
25870 \begin_inset ERT
25871 status collapsed
25872
25873 \begin_layout Plain Layout
25874
25875 }
25876 \end_layout
25877
25878 \end_inset
25879
25880
25881 \end_layout
25882
25883 \begin_layout Plain Layout
25884 \begin_inset Caption
25885
25886 \begin_layout Plain Layout
25887 \begin_inset CommandInset label
25888 LatexCommand label
25889 name "fig:Standard-footnote-placement"
25890
25891 \end_inset
25892
25893 Standard footnote placement in two-column documents.
25894 \end_layout
25895
25896 \end_inset
25897
25898
25899 \end_layout
25900
25901 \end_inset
25902
25903
25904 \end_layout
25905
25906 \begin_layout Standard
25907 \begin_inset Float figure
25908 placement !h
25909 wide false
25910 sideways false
25911 status open
25912
25913 \begin_layout Plain Layout
25914 \begin_inset ERT
25915 status collapsed
25916
25917 \begin_layout Plain Layout
25918
25919
25920 \backslash
25921 framebox{
25922 \end_layout
25923
25924 \end_inset
25925
25926
25927 \begin_inset Graphics
25928         filename clipart/with_fntright.pdf
25929         width 100col%
25930         scaleBeforeRotation
25931
25932 \end_inset
25933
25934
25935 \begin_inset ERT
25936 status collapsed
25937
25938 \begin_layout Plain Layout
25939
25940 }
25941 \end_layout
25942
25943 \end_inset
25944
25945
25946 \end_layout
25947
25948 \begin_layout Plain Layout
25949 \begin_inset Caption
25950
25951 \begin_layout Plain Layout
25952 \begin_inset CommandInset label
25953 LatexCommand label
25954 name "fig:Footnote-placement-in"
25955
25956 \end_inset
25957
25958 Footnote placement in two-column documents when the LaTeX-package 
25959 \series bold
25960 ftnright
25961 \series default
25962  is used.
25963 \end_layout
25964
25965 \end_inset
25966
25967
25968 \end_layout
25969
25970 \end_inset
25971
25972
25973 \end_layout
25974
25975 \begin_layout Standard
25976 \begin_inset VSpace bigskip
25977 \end_inset
25978
25979 In some scientific literature it is usual to collect the footnotes and print
25980  them in a separate paragraph at the end of a section, as in Figure
25981 \begin_inset space ~
25982 \end_inset
25983
25984
25985 \begin_inset CommandInset ref
25986 LatexCommand ref
25987 reference "fig:Endnotes"
25988
25989 \end_inset
25990
25991 .
25992  They are then called 
25993 \begin_inset Quotes eld
25994 \end_inset
25995
25996 endnotes
25997 \begin_inset Quotes erd
25998 \end_inset
25999
26000 .
26001 \begin_inset Index idx
26002 status collapsed
26003
26004 \begin_layout Plain Layout
26005 Endnotes
26006 \end_layout
26007
26008 \end_inset
26009
26010  To use endnotes instead of footnotes in your document, load in the menu
26011  
26012 \family sans
26013 Document\SpecialChar \menuseparator
26014 Settings\SpecialChar \menuseparator
26015 Modules 
26016 \family default
26017 the module 
26018 \family sans
26019 Foot
26020 \begin_inset space ~
26021 \end_inset
26022
26023 to
26024 \begin_inset space ~
26025 \end_inset
26026
26027 End
26028 \family default
26029 .
26030  To insert the collected footnotes, insert the command
26031 \end_layout
26032
26033 \begin_layout Standard
26034
26035 \series bold
26036
26037 \backslash
26038 theendnotes
26039 \end_layout
26040
26041 \begin_layout Standard
26042 in TeX-Code at the end of a section or chapter.
26043 \end_layout
26044
26045 \begin_layout Standard
26046 \begin_inset Float figure
26047 wide false
26048 sideways false
26049 status open
26050
26051 \begin_layout Plain Layout
26052 \align center
26053 \begin_inset ERT
26054 status collapsed
26055
26056 \begin_layout Plain Layout
26057
26058
26059 \backslash
26060 framebox{
26061 \end_layout
26062
26063 \end_inset
26064
26065
26066 \begin_inset Graphics
26067         filename clipart/endnotes.pdf
26068         scaleBeforeRotation
26069
26070 \end_inset
26071
26072
26073 \begin_inset ERT
26074 status collapsed
26075
26076 \begin_layout Plain Layout
26077
26078 }
26079 \end_layout
26080
26081 \end_inset
26082
26083
26084 \end_layout
26085
26086 \begin_layout Plain Layout
26087 \begin_inset Caption
26088
26089 \begin_layout Plain Layout
26090 \begin_inset CommandInset label
26091 LatexCommand label
26092 name "fig:Endnotes"
26093
26094 \end_inset
26095
26096 Endnotes – footnotes are printed in a separate paragraph at the end of sections
26097  or chapters.
26098 \end_layout
26099
26100 \end_inset
26101
26102
26103 \end_layout
26104
26105 \end_inset
26106
26107
26108 \end_layout
26109
26110 \begin_layout Standard
26111 \begin_inset VSpace medskip
26112 \end_inset
26113
26114 The paragraph heading for the endnotes isn't automatically translated into
26115  the document language, this must be done manually.
26116  The following preamble command translates the default English 
26117 \begin_inset Quotes eld
26118 \end_inset
26119
26120 Notes
26121 \begin_inset Quotes erd
26122 \end_inset
26123
26124  into the German 
26125 \begin_inset Quotes eld
26126 \end_inset
26127
26128 Anmerkungen
26129 \begin_inset Quotes erd
26130 \end_inset
26131
26132 :
26133 \end_layout
26134
26135 \begin_layout Standard
26136
26137 \series bold
26138
26139 \backslash
26140 renewcommand{
26141 \backslash
26142 notesname}{Anmerkungen}
26143 \end_layout
26144
26145 \begin_layout Standard
26146 \begin_inset VSpace medskip
26147 \end_inset
26148
26149 The numbering of endnotes can be changed like the footnote numbering as
26150  described in section
26151 \begin_inset space ~
26152 \end_inset
26153
26154
26155 \begin_inset CommandInset ref
26156 LatexCommand ref
26157 reference "sub:Footnote-Numbering"
26158
26159 \end_inset
26160
26161 ; just replace the command 
26162 \series bold
26163
26164 \backslash
26165 thefootnote
26166 \series default
26167  by 
26168 \series bold
26169
26170 \backslash
26171 theendnote
26172 \series default
26173 .
26174  To reset the endnote number use the command 
26175 \series bold
26176
26177 \backslash
26178 @addtoreset
26179 \series default
26180  as described in section
26181 \begin_inset space ~
26182 \end_inset
26183
26184
26185 \begin_inset CommandInset ref
26186 LatexCommand ref
26187 reference "sub:Footnote-Numbering"
26188
26189 \end_inset
26190
26191  and replace the command parameter 
26192 \series bold
26193 footnote
26194 \series default
26195  by 
26196 \series bold
26197 endnote
26198 \series default
26199 .
26200 \end_layout
26201
26202 \begin_layout Standard
26203 For endnotes there is the command 
26204 \series bold
26205
26206 \backslash
26207 endnotemark[number]
26208 \series default
26209  similar to the command 
26210 \series bold
26211
26212 \backslash
26213 footnotemark
26214 \series default
26215 , that is described in section
26216 \begin_inset space ~
26217 \end_inset
26218
26219
26220 \begin_inset CommandInset ref
26221 LatexCommand ref
26222 reference "sec:Footnotes"
26223
26224 \end_inset
26225
26226 .
26227 \end_layout
26228
26229 \begin_layout Standard
26230 \begin_inset VSpace bigskip
26231 \end_inset
26232
26233 Footnotes can also be placed in the page margin and the footnote text alignment
26234  can be changed, see the LaTeX-package 
26235 \series bold
26236 footmisc
26237 \series default
26238
26239 \begin_inset Index idx
26240 status collapsed
26241
26242 \begin_layout Plain Layout
26243 LaTeX-packages ! footmisc
26244 \end_layout
26245
26246 \end_inset
26247
26248
26249 \begin_inset CommandInset citation
26250 LatexCommand cite
26251 key "footmisc"
26252
26253 \end_inset
26254
26255  for more information about this.
26256 \end_layout
26257
26258 \begin_layout Standard
26259 For various further footnote formatting issues have a look at LaTeX-books,
26260  
26261 \begin_inset CommandInset citation
26262 LatexCommand cite
26263 key "latexcompanion,latexguide,latexbook"
26264
26265 \end_inset
26266
26267 .
26268  If you are using a 
26269 \series bold
26270 KOMA-Script
26271 \series default
26272
26273 \begin_inset Index idx
26274 status collapsed
26275
26276 \begin_layout Plain Layout
26277 LaTeX-packages ! KOMA-Script
26278 \end_layout
26279
26280 \end_inset
26281
26282  document class, you can adjust all footnote settings using class-specific
26283  commands, see 
26284 \begin_inset CommandInset citation
26285 LatexCommand cite
26286 key "KOMA-Script"
26287
26288 \end_inset
26289
26290 .
26291 \end_layout
26292
26293 \begin_layout Section
26294 Margin Notes
26295 \begin_inset Index idx
26296 status collapsed
26297
26298 \begin_layout Plain Layout
26299 Notes ! Margin Notes
26300 \end_layout
26301
26302 \end_inset
26303
26304
26305 \end_layout
26306
26307 \begin_layout Standard
26308 Margin notes look and behave in LyX like footnotes.
26309  They are inserted via the menu 
26310 \family sans
26311 Insert\SpecialChar \menuseparator
26312 Marginal
26313 \begin_inset space ~
26314 \end_inset
26315
26316 Note
26317 \family default
26318  or the toolbar button 
26319 \begin_inset Graphics
26320         filename ../images/marginalnote-insert.png
26321         scale 85
26322         scaleBeforeRotation
26323
26324 \end_inset
26325
26326 .
26327  A grey 
26328 \family roman
26329 \series medium
26330 box with the
26331 \family default
26332 \series default
26333  red 
26334 \family roman
26335 \series medium
26336 label 
26337 \begin_inset Quotes eld
26338 \end_inset
26339
26340 margin
26341 \begin_inset Quotes erd
26342 \end_inset
26343
26344  appears where you can enter the text of the margin note.
26345 \end_layout
26346
26347 \begin_layout Standard
26348 At the side is an example margin note.
26349
26350 \family roman
26351 \series medium
26352  
26353 \begin_inset Marginal
26354 status open
26355
26356 \begin_layout Plain Layout
26357 This is a margin note.
26358 \end_layout
26359
26360 \end_inset
26361
26362
26363 \end_layout
26364
26365 \begin_layout Standard
26366 Margin notes appear at the right side in single-sided documents.
26367  In double-sided documents they appear in the outer margin – left on even
26368  pages, right on odd pages.
26369  The text of margin notes is aligned opposite to the outer margin – right-aligne
26370 d when the note appears in the left margin.
26371  The first line of the margin note is placed at the position of the text
26372  line where it is inserted in the document.
26373 \end_layout
26374
26375 \begin_layout Standard
26376 \begin_inset VSpace bigskip
26377 \end_inset
26378
26379 To place the margin note in the inner margin, add the command
26380 \end_layout
26381
26382 \begin_layout Standard
26383
26384 \series bold
26385
26386 \backslash
26387 reversemarginpar
26388 \end_layout
26389
26390 \begin_layout Standard
26391 in TeX-Code before a margin note.
26392  The new placement is valid for all subsequent margin notes.
26393  
26394 \begin_inset ERT
26395 status collapsed
26396
26397 \begin_layout Plain Layout
26398
26399
26400 \backslash
26401 reversemarginpar 
26402 \end_layout
26403
26404 \end_inset
26405
26406
26407 \begin_inset Marginal
26408 status open
26409
26410 \begin_layout Plain Layout
26411 This is a margin note in the inner margin.
26412 \end_layout
26413
26414 \end_inset
26415
26416
26417 \series bold
26418
26419 \begin_inset Newline newline
26420 \end_inset
26421
26422
26423 \series default
26424
26425 \begin_inset Note Greyedout
26426 status open
26427
26428 \begin_layout Plain Layout
26429
26430 \series bold
26431 Note:
26432 \series default
26433  There is often not enough space in the inner margin so that the notes are
26434  not correctly displayed in the output.
26435 \end_layout
26436
26437 \end_inset
26438
26439
26440 \end_layout
26441
26442 \begin_layout Standard
26443 To return to the default placement insert the command
26444 \end_layout
26445
26446 \begin_layout Standard
26447
26448 \series bold
26449
26450 \backslash
26451 normalmarginpar
26452 \end_layout
26453
26454 \begin_layout Standard
26455 in TeX-Code.
26456 \begin_inset ERT
26457 status collapsed
26458
26459 \begin_layout Plain Layout
26460
26461
26462 \backslash
26463 normalmarginpar 
26464 \end_layout
26465
26466 \end_inset
26467
26468  
26469 \begin_inset Note Greyedout
26470 status open
26471
26472 \begin_layout Plain Layout
26473
26474 \series bold
26475 Note:
26476 \series default
26477  The command is ignored when it is within a paragraph where also the command
26478  
26479 \series bold
26480
26481 \backslash
26482 reversemarginpar
26483 \series default
26484  is inserted.
26485 \end_layout
26486
26487 \end_inset
26488
26489
26490 \end_layout
26491
26492 \begin_layout Standard
26493 \begin_inset VSpace bigskip
26494 \end_inset
26495
26496
26497 \family roman
26498 \series medium
26499
26500 \begin_inset Marginal
26501 status open
26502
26503 \begin_layout Plain Layout
26504 AVeryLongMarginParWord that isn't hyphenated.
26505 \end_layout
26506
26507 \end_inset
26508
26509
26510 \family default
26511 \series default
26512  Similar to the case described in section
26513 \begin_inset space ~
26514 \end_inset
26515
26516
26517 \begin_inset CommandInset ref
26518 LatexCommand ref
26519 reference "sub:Multiple-Lines-in"
26520
26521 \end_inset
26522
26523 , long words cannot be hyphenated when they are the first word in a margin
26524  note.
26525  To avoid this, insert 0
26526 \begin_inset space \thinspace{}
26527 \end_inset
26528
26529 pt horizontal space before the word
26530 \family roman
26531 \series medium
26532 .
26533  
26534 \begin_inset Marginal
26535 status open
26536
26537 \begin_layout Plain Layout
26538 \begin_inset space \hspace*{}
26539 \length 0pt
26540 \end_inset
26541
26542 AVeryLongMarginParWord that is hyphenated.
26543 \end_layout
26544
26545 \end_inset
26546
26547
26548 \end_layout
26549
26550 \begin_layout Standard
26551 \begin_inset VSpace bigskip
26552 \end_inset
26553
26554
26555 \end_layout
26556
26557 \begin_layout Standard
26558 \begin_inset Note Greyedout
26559 status open
26560
26561 \begin_layout Plain Layout
26562
26563 \series bold
26564 Note:
26565 \series default
26566  Margin notes can normally not be used inside tables, floats, and footnotes.
26567 \end_layout
26568
26569 \end_inset
26570
26571
26572 \end_layout
26573
26574 \begin_layout Standard
26575 \begin_inset VSpace bigskip
26576 \end_inset
26577
26578
26579 \end_layout
26580
26581 \begin_layout Standard
26582 \begin_inset ERT
26583 status collapsed
26584
26585 \begin_layout Plain Layout
26586
26587
26588 \backslash
26589 ifmarginnote
26590 \end_layout
26591
26592 \end_inset
26593
26594
26595 \begin_inset Note Note
26596 status open
26597
26598 \begin_layout Plain Layout
26599 The following section will only be displayed when the LaTeX-package 
26600 \series bold
26601 marginnote
26602 \series default
26603  is installed.
26604 \end_layout
26605
26606 \end_inset
26607
26608
26609 \end_layout
26610
26611 \begin_layout Standard
26612 This restriction can be evaded by using the LaTeX-package 
26613 \series bold
26614 marginnote
26615 \series default
26616
26617 \begin_inset Index idx
26618 status collapsed
26619
26620 \begin_layout Plain Layout
26621 LaTeX-packages ! marginnote
26622 \end_layout
26623
26624 \end_inset
26625
26626 .
26627  By adding these two lines to your document preamble, the command used by
26628  LyX for margin notes is redefined to use the command provided by the 
26629 \series bold
26630 marginnote
26631 \series default
26632 -package:
26633 \end_layout
26634
26635 \begin_layout Standard
26636
26637 \series bold
26638
26639 \backslash
26640 usepackage{marginnote}
26641 \begin_inset Newline newline
26642 \end_inset
26643
26644
26645 \backslash
26646 let
26647 \backslash
26648 marginpar
26649 \backslash
26650 marginnote
26651 \end_layout
26652
26653 \begin_layout Standard
26654 This is also used in this document because 
26655 \series bold
26656 marginnote
26657 \series default
26658  has another useful feature: You can set a vertical offset for the note.
26659  This is often needed when too many margin notes are too close together
26660  or for a better page layout.
26661  The offset is set in LyX as TeX-Code directly after the margin note in
26662  the scheme
26663 \end_layout
26664
26665 \begin_layout Standard
26666
26667 \series bold
26668 [offset]
26669 \end_layout
26670
26671 \begin_layout Standard
26672 where the offset is a length with one of the units listed in Table
26673 \begin_inset space ~
26674 \end_inset
26675
26676
26677 \begin_inset CommandInset ref
26678 LatexCommand ref
26679 reference "tab:Units"
26680
26681 \end_inset
26682
26683 .
26684  A negative value shifts the note up, a positive value shifts it down.
26685  
26686 \family roman
26687 \series medium
26688 For example the margin note beside this text line is shifted up 1.5
26689 \begin_inset space \thinspace{}
26690 \end_inset
26691
26692 cm with the TeX-Code-command 
26693 \begin_inset Quotes eld
26694 \end_inset
26695
26696
26697 \family default
26698 \series bold
26699 [-1.5cm]
26700 \family roman
26701 \series medium
26702
26703 \begin_inset Quotes erd
26704 \end_inset
26705
26706
26707 \begin_inset Marginal
26708 status open
26709
26710 \begin_layout Plain Layout
26711 This margin note is shifted up 1.5
26712 \begin_inset space \thinspace{}
26713 \end_inset
26714
26715 cm from its original position.
26716 \end_layout
26717
26718 \end_inset
26719
26720
26721 \family default
26722 \series default
26723
26724 \begin_inset ERT
26725 status collapsed
26726
26727 \begin_layout Plain Layout
26728
26729 [-1.5cm]
26730 \end_layout
26731
26732 \end_inset
26733
26734
26735 \end_layout
26736
26737 \begin_layout Standard
26738 \begin_inset VSpace medskip
26739 \end_inset
26740
26741 With 
26742 \series bold
26743 marginnote
26744 \series default
26745  you can also change the alignment of the text in the margin note.
26746  For example the commands
26747 \end_layout
26748
26749 \begin_layout Standard
26750
26751 \series bold
26752
26753 \backslash
26754 renewcommand*{
26755 \backslash
26756 raggedleftmarginnote}{
26757 \backslash
26758 centering}
26759 \begin_inset Newline newline
26760 \end_inset
26761
26762
26763 \backslash
26764 renewcommand*{
26765 \backslash
26766 raggedrightmarginnote}{
26767 \backslash
26768 centering}
26769 \end_layout
26770
26771 \begin_layout Standard
26772 set the alignment to centered.
26773  
26774 \series bold
26775
26776 \backslash
26777 raggedleftmarginnote
26778 \series default
26779  denotes margin notes that appear at the left side.
26780 \family roman
26781 \series medium
26782
26783 \begin_inset ERT
26784 status collapsed
26785
26786 \begin_layout Plain Layout
26787
26788
26789 \backslash
26790 renewcommand*{
26791 \backslash
26792 raggedleftmarginnote}{
26793 \backslash
26794 centering}
26795 \end_layout
26796
26797 \begin_layout Plain Layout
26798
26799
26800 \backslash
26801 renewcommand*{
26802 \backslash
26803 raggedrightmarginnote}{
26804 \backslash
26805 centering}
26806 \end_layout
26807
26808 \end_inset
26809
26810
26811 \begin_inset Marginal
26812 status open
26813
26814 \begin_layout Plain Layout
26815 The text of this margin note is centered.
26816 \end_layout
26817
26818 \end_inset
26819
26820
26821 \family default
26822 \series default
26823  The default is
26824 \end_layout
26825
26826 \begin_layout Standard
26827
26828 \series bold
26829
26830 \backslash
26831 renewcommand*{
26832 \backslash
26833 raggedleftmarginnote}{
26834 \backslash
26835 raggedleft}
26836 \begin_inset Newline newline
26837 \end_inset
26838
26839
26840 \backslash
26841 renewcommand*{
26842 \backslash
26843 raggedrightmarginnote}{
26844 \backslash
26845 raggedright}
26846 \family roman
26847 \series medium
26848
26849 \begin_inset ERT
26850 status collapsed
26851
26852 \begin_layout Plain Layout
26853
26854
26855 \backslash
26856 renewcommand*{
26857 \backslash
26858 raggedleftmarginnote}{
26859 \backslash
26860 raggedleft}
26861 \end_layout
26862
26863 \begin_layout Plain Layout
26864
26865
26866 \backslash
26867 renewcommand*{
26868 \backslash
26869 raggedrightmarginnote}{
26870 \backslash
26871 raggedright}
26872 \end_layout
26873
26874 \end_inset
26875
26876
26877 \end_layout
26878
26879 \begin_layout Standard
26880 \begin_inset VSpace medskip
26881 \end_inset
26882
26883 For the other features of 
26884 \series bold
26885 marginnote
26886 \series default
26887  refer to its documentation 
26888 \begin_inset CommandInset citation
26889 LatexCommand cite
26890 key "marginnote"
26891
26892 \end_inset
26893
26894 .
26895 \end_layout
26896
26897 \begin_layout Standard
26898 \begin_inset VSpace bigskip
26899 \end_inset
26900
26901 You can adjust the layout of margin notes by changing its definition.
26902  To create for example a header for all margin notes with the underlined,
26903  sans-serif, and bold header text 
26904 \begin_inset Quotes eld
26905 \end_inset
26906
26907
26908 \family sans
26909 \series bold
26910 \bar under
26911 Attention!
26912 \family default
26913 \series default
26914 \bar default
26915
26916 \begin_inset Quotes erd
26917 \end_inset
26918
26919 , add this to your document preamble:
26920 \end_layout
26921
26922 \begin_layout Standard
26923
26924 \series bold
26925
26926 \backslash
26927 let
26928 \backslash
26929 myMarginpar
26930 \backslash
26931 marginpar
26932 \begin_inset Newline newline
26933 \end_inset
26934
26935
26936 \backslash
26937 renewcommand{
26938 \backslash
26939 marginpar}[1]{
26940 \backslash
26941 myMarginpar{%
26942 \begin_inset Newline newline
26943 \end_inset
26944
26945
26946 \begin_inset Phantom HPhantom
26947 status open
26948
26949 \begin_layout Plain Layout
26950
26951 \series bold
26952 \begin_inset space ~
26953 \end_inset
26954
26955
26956 \end_layout
26957
26958 \end_inset
26959
26960
26961 \backslash
26962 hspace{0pt}
26963 \backslash
26964 textsf{
26965 \backslash
26966 textbf{
26967 \backslash
26968 underbar{Attention!}}}%
26969 \begin_inset Newline newline
26970 \end_inset
26971
26972
26973 \begin_inset Phantom HPhantom
26974 status open
26975
26976 \begin_layout Plain Layout
26977
26978 \series bold
26979 \begin_inset space ~
26980 \end_inset
26981
26982
26983 \end_layout
26984
26985 \end_inset
26986
26987
26988 \backslash
26989 vspace{1.5mm}
26990 \backslash
26991
26992 \backslash
26993 #1}}
26994 \end_layout
26995
26996 \begin_layout Standard
26997
26998 \family roman
26999 \series medium
27000 \begin_inset ERT
27001 status collapsed
27002
27003 \begin_layout Plain Layout
27004
27005
27006 \backslash
27007 let
27008 \backslash
27009 myMarginpar
27010 \backslash
27011 marginpar
27012 \end_layout
27013
27014 \begin_layout Plain Layout
27015
27016
27017 \backslash
27018 renewcommand{
27019 \backslash
27020 marginpar}[1]{
27021 \backslash
27022 myMarginpar{%
27023 \end_layout
27024
27025 \begin_layout Plain Layout
27026
27027    
27028 \backslash
27029 textsf{
27030 \backslash
27031 textbf{
27032 \backslash
27033 underbar{Attention!}}}%
27034 \end_layout
27035
27036 \begin_layout Plain Layout
27037
27038    
27039 \backslash
27040 vspace{1.5mm}
27041 \backslash
27042
27043 \backslash
27044 #1}}
27045 \end_layout
27046
27047 \end_inset
27048
27049
27050 \begin_inset Marginal
27051 status open
27052
27053 \begin_layout Plain Layout
27054 This is a margin note with a defined heading.
27055 \end_layout
27056
27057 \end_inset
27058
27059
27060 \family default
27061 \series default
27062
27063 \begin_inset ERT
27064 status collapsed
27065
27066 \begin_layout Plain Layout
27067
27068 [-1.5cm]
27069 \end_layout
27070
27071 \end_inset
27072
27073
27074 \family roman
27075 \series medium
27076
27077 \begin_inset ERT
27078 status collapsed
27079
27080 \begin_layout Plain Layout
27081
27082
27083 \backslash
27084 renewcommand{
27085 \backslash
27086 marginpar}[1]{
27087 \backslash
27088 myMarginpar{#1}}
27089 \end_layout
27090
27091 \end_inset
27092
27093
27094 \family default
27095 \series default
27096
27097 \begin_inset Note Note
27098 status collapsed
27099
27100 \begin_layout Plain Layout
27101 The margin note format is changed only for this example.
27102 \end_layout
27103
27104 \end_inset
27105
27106
27107 \end_layout
27108
27109 \begin_layout Standard
27110 \begin_inset ERT
27111 status collapsed
27112
27113 \begin_layout Plain Layout
27114
27115
27116 \backslash
27117 else
27118 \end_layout
27119
27120 \end_inset
27121
27122
27123 \begin_inset Note Note
27124 status open
27125
27126 \begin_layout Plain Layout
27127 The following will be displayed when the LaTeX-package 
27128 \series bold
27129 marginnote
27130 \series default
27131  is not installed:
27132 \end_layout
27133
27134 \end_inset
27135
27136
27137 \end_layout
27138
27139 \begin_layout Standard
27140 You need to install the LaTeX-package 
27141 \series bold
27142 marginnote
27143 \series default
27144  to see the following part of this section in the output.
27145 \end_layout
27146
27147 \begin_layout Standard
27148 \begin_inset ERT
27149 status collapsed
27150
27151 \begin_layout Plain Layout
27152
27153
27154 \backslash
27155 fi
27156 \end_layout
27157
27158 \end_inset
27159
27160
27161 \end_layout
27162
27163 \begin_layout Chapter
27164 Boxes
27165 \end_layout
27166
27167 \begin_layout Section
27168 Introduction
27169 \begin_inset Index idx
27170 status collapsed
27171
27172 \begin_layout Plain Layout
27173 Boxes ! Introduction
27174 \end_layout
27175
27176 \end_inset
27177
27178
27179 \end_layout
27180
27181 \begin_layout Standard
27182 Boxes are used to format a block of text.
27183  Boxes can be used to write documents with multiple languages, see section
27184 \begin_inset space ~
27185 \end_inset
27186
27187
27188 \begin_inset CommandInset ref
27189 LatexCommand ref
27190 reference "sec:Minipages"
27191
27192 \end_inset
27193
27194 , to frame texts, see section
27195 \begin_inset space ~
27196 \end_inset
27197
27198
27199 \begin_inset CommandInset ref
27200 LatexCommand ref
27201 reference "sec:Decoration"
27202
27203 \end_inset
27204
27205 , to prevent words from being hyphenated, see section
27206 \begin_inset space ~
27207 \end_inset
27208
27209
27210 \begin_inset CommandInset ref
27211 LatexCommand ref
27212 reference "sec:Prevent-Hyphenation"
27213
27214 \end_inset
27215
27216 , to align text, see section
27217 \begin_inset space ~
27218 \end_inset
27219
27220
27221 \begin_inset CommandInset ref
27222 LatexCommand ref
27223 reference "sub:Vertical-Alignment"
27224
27225 \end_inset
27226
27227 , or to set the background color of texts, see section
27228 \begin_inset space ~
27229 \end_inset
27230
27231
27232 \begin_inset CommandInset ref
27233 LatexCommand ref
27234 reference "sec:Colored-Boxes"
27235
27236 \end_inset
27237
27238 .
27239 \end_layout
27240
27241 \begin_layout Standard
27242 Boxes can be inserted with the menu 
27243 \family sans
27244 Insert\SpecialChar \menuseparator
27245 Box
27246 \family default
27247  or the toolbar button 
27248 \begin_inset Graphics
27249         filename ../images/box-insert.png
27250         scale 85
27251         scaleBeforeRotation
27252
27253 \end_inset
27254
27255 .
27256  A grey box with the label 
27257 \family sans
27258 Box (Minipage)
27259 \family default
27260
27261 \begin_inset Graphics
27262         filename clipart/BoxInsetDefaultQt4.png
27263         scale 85
27264         scaleBeforeRotation
27265
27266 \end_inset
27267
27268  will be inserted.
27269  The box type can be specified by right-clicking on the box and selecting
27270  
27271 \family sans
27272 Settings
27273 \family default
27274 .
27275  The box dialog offers the 
27276 \family sans
27277 Inner
27278 \begin_inset space ~
27279 \end_inset
27280
27281 Box
27282 \family default
27283  types 
27284 \family sans
27285 Makebox
27286 \family default
27287
27288 \family sans
27289 Parbox
27290 \family default
27291  and 
27292 \family sans
27293 Minipage
27294 \family default
27295 .
27296  The type 
27297 \family sans
27298 Minipage
27299 \family default
27300  is the default for new boxes and is explained in section
27301 \begin_inset space ~
27302 \end_inset
27303
27304
27305 \begin_inset CommandInset ref
27306 LatexCommand ref
27307 reference "sec:Minipages"
27308
27309 \end_inset
27310
27311 ; the type 
27312 \family sans
27313 Parbox
27314 \family default
27315  is described in section
27316 \begin_inset space ~
27317 \end_inset
27318
27319
27320 \begin_inset CommandInset ref
27321 LatexCommand ref
27322 reference "sec:Parboxes"
27323
27324 \end_inset
27325
27326  and the type 
27327 \family sans
27328 Makebox
27329 \family default
27330  in 
27331 \begin_inset CommandInset ref
27332 LatexCommand ref
27333 reference "sec:Prevent-Hyphenation"
27334
27335 \end_inset
27336
27337 .
27338 \end_layout
27339
27340 \begin_layout Standard
27341 Boxes are not numbered and can therefore not be referenced like floats or
27342  footnotes.
27343 \end_layout
27344
27345 \begin_layout Standard
27346 \begin_inset Note Greyedout
27347 status open
27348
27349 \begin_layout Plain Layout
27350
27351 \series bold
27352 Note:
27353 \series default
27354  Boxes must not be the item in an 
27355 \family sans
27356 Itemize
27357 \family default
27358  or 
27359 \family sans
27360 Description
27361 \family default
27362  environment.
27363 \end_layout
27364
27365 \end_inset
27366
27367
27368 \end_layout
27369
27370 \begin_layout Standard
27371 \begin_inset Note Greyedout
27372 status open
27373
27374 \begin_layout Plain Layout
27375
27376 \series bold
27377 Note:
27378 \series default
27379  For an unknown reason you can only set the 
27380 \family sans
27381 Inner
27382 \begin_inset space ~
27383 \end_inset
27384
27385 Box
27386 \family default
27387  type to 
27388 \family sans
27389 None
27390 \family default
27391  when you use a framed box.
27392  Boxes without an 
27393 \family sans
27394 Inner
27395 \begin_inset space ~
27396 \end_inset
27397
27398 Box
27399 \family default
27400  type and without frames are explained in section
27401 \begin_inset space ~
27402 \end_inset
27403
27404
27405 \begin_inset CommandInset ref
27406 LatexCommand ref
27407 reference "sec:Prevent-Hyphenation"
27408
27409 \end_inset
27410
27411 .
27412 \end_layout
27413
27414 \end_inset
27415
27416
27417 \end_layout
27418
27419 \begin_layout Section
27420 Box Dialog
27421 \begin_inset CommandInset label
27422 LatexCommand label
27423 name "sec:Box-Dialog"
27424
27425 \end_inset
27426
27427
27428 \begin_inset Index idx
27429 status collapsed
27430
27431 \begin_layout Plain Layout
27432 Boxes ! Box Dialog
27433 \end_layout
27434
27435 \end_inset
27436
27437
27438 \end_layout
27439
27440 \begin_layout Subsection
27441 Size
27442 \begin_inset Index idx
27443 status collapsed
27444
27445 \begin_layout Plain Layout
27446 Boxes ! Size
27447 \end_layout
27448
27449 \end_inset
27450
27451
27452 \end_layout
27453
27454 \begin_layout Standard
27455 In the box dialog you can adjust the box geometry in the fields 
27456 \family sans
27457 Width
27458 \family default
27459  and 
27460 \family sans
27461 Height
27462 \family default
27463 .
27464  The available units for the geometry are explained in Table
27465 \begin_inset space ~
27466 \end_inset
27467
27468
27469 \begin_inset CommandInset ref
27470 LatexCommand ref
27471 reference "tab:Units"
27472
27473 \end_inset
27474
27475 .
27476  The field 
27477 \family sans
27478 Height
27479 \family default
27480  offers the following additional sizes:
27481 \end_layout
27482
27483 \begin_layout Description
27484 Depth This is the plain text 
27485 \begin_inset Quotes eld
27486 \end_inset
27487
27488 height
27489 \begin_inset Quotes erd
27490 \end_inset
27491
27492 .
27493  It ignores the total depth when there are multiple text lines in the box:
27494 \begin_inset Newline newline
27495 \end_inset
27496
27497
27498 \begin_inset Newline newline
27499 \end_inset
27500
27501
27502 \begin_inset Newline newline
27503 \end_inset
27504
27505
27506 \begin_inset Box Boxed
27507 position "c"
27508 hor_pos "c"
27509 has_inner_box 1
27510 inner_pos "c"
27511 use_parbox 0
27512 use_makebox 0
27513 width "12col%"
27514 special "none"
27515 height "1in"
27516 height_special "depth"
27517 status collapsed
27518
27519 \begin_layout Plain Layout
27520 \align center
27521 Box height set to 1
27522 \begin_inset space \thinspace{}
27523 \end_inset
27524
27525 Depth
27526 \end_layout
27527
27528 \end_inset
27529
27530
27531 \begin_inset Newline newline
27532 \end_inset
27533
27534
27535 \begin_inset Newline newline
27536 \end_inset
27537
27538
27539 \end_layout
27540
27541 \begin_layout Description
27542 Height This is the height of the text that is inside the box.
27543  A value of e.
27544 \begin_inset space \thinspace{}
27545 \end_inset
27546
27547 g.
27548 \begin_inset space \space{}
27549 \end_inset
27550
27551 2 for this size will set the box height to 2
27552 \begin_inset space ~
27553 \end_inset
27554
27555 times the text height: 
27556 \begin_inset Box Boxed
27557 position "c"
27558 hor_pos "c"
27559 has_inner_box 1
27560 inner_pos "c"
27561 use_parbox 0
27562 use_makebox 0
27563 width "20col%"
27564 special "none"
27565 height "2in"
27566 height_special "height"
27567 status collapsed
27568
27569 \begin_layout Plain Layout
27570 \align center
27571 Box height set to 2
27572 \begin_inset space \thinspace{}
27573 \end_inset
27574
27575 Height
27576 \end_layout
27577
27578 \end_inset
27579
27580
27581 \end_layout
27582
27583 \begin_layout Description
27584 Total
27585 \begin_inset space ~
27586 \end_inset
27587
27588 Height This is the Height
27589 \begin_inset space \thinspace{}
27590 \end_inset
27591
27592 +
27593 \begin_inset space \thinspace{}
27594 \end_inset
27595
27596 Depth: 
27597 \begin_inset Box Boxed
27598 position "c"
27599 hor_pos "c"
27600 has_inner_box 1
27601 inner_pos "c"
27602 use_parbox 0
27603 use_makebox 0
27604 width "20col%"
27605 special "none"
27606 height "1in"
27607 height_special "totalheight"
27608 status collapsed
27609
27610 \begin_layout Plain Layout
27611 \align center
27612 Box height set to 1
27613 \begin_inset space \thinspace{}
27614 \end_inset
27615
27616 Total
27617 \begin_inset space ~
27618 \end_inset
27619
27620 Height
27621 \end_layout
27622
27623 \end_inset
27624
27625
27626 \end_layout
27627
27628 \begin_layout Description
27629 Width This sets the width of the box as height: 
27630 \begin_inset Box Boxed
27631 position "c"
27632 hor_pos "c"
27633 has_inner_box 1
27634 inner_pos "c"
27635 use_parbox 0
27636 use_makebox 0
27637 width "12col%"
27638 special "none"
27639 height "1in"
27640 height_special "width"
27641 status collapsed
27642
27643 \begin_layout Plain Layout
27644 \align center
27645 Box height set to 1
27646 \begin_inset space \thinspace{}
27647 \end_inset
27648
27649 Width
27650 \end_layout
27651
27652 \end_inset
27653
27654
27655 \end_layout
27656
27657 \begin_layout Subsection
27658 Alignment
27659 \begin_inset Index idx
27660 status collapsed
27661
27662 \begin_layout Plain Layout
27663 Boxes ! Alignment
27664 \end_layout
27665
27666 \end_inset
27667
27668
27669 \end_layout
27670
27671 \begin_layout Standard
27672 When you have chosen an 
27673 \family sans
27674 Inner
27675 \begin_inset space ~
27676 \end_inset
27677
27678 Box
27679 \family default
27680 , the vertical box alignment can be:
27681 \end_layout
27682
27683 \begin_layout Description
27684 Top This is an example text line.
27685  
27686 \begin_inset Box Boxed
27687 position "t"
27688 hor_pos "c"
27689 has_inner_box 1
27690 inner_pos "c"
27691 use_parbox 0
27692 use_makebox 0
27693 width "12col%"
27694 special "none"
27695 height "1in"
27696 height_special "totalheight"
27697 status collapsed
27698
27699 \begin_layout Plain Layout
27700 \align center
27701 This box is top-aligned.
27702 \end_layout
27703
27704 \end_inset
27705
27706  This is an example text line.
27707 \end_layout
27708
27709 \begin_layout Description
27710 Middle This is an example text line.
27711  
27712 \begin_inset Box Boxed
27713 position "c"
27714 hor_pos "c"
27715 has_inner_box 1
27716 inner_pos "c"
27717 use_parbox 0
27718 use_makebox 0
27719 width "12col%"
27720 special "none"
27721 height "1in"
27722 height_special "totalheight"
27723 status collapsed
27724
27725 \begin_layout Plain Layout
27726 \align center
27727 This box is middle-aligned.
27728 \end_layout
27729
27730 \end_inset
27731
27732  This is an example text line.
27733 \end_layout
27734
27735 \begin_layout Description
27736 Bottom This is an example text line.
27737  
27738 \begin_inset Box Boxed
27739 position "b"
27740 hor_pos "c"
27741 has_inner_box 1
27742 inner_pos "c"
27743 use_parbox 0
27744 use_makebox 0
27745 width "12col%"
27746 special "none"
27747 height "1in"
27748 height_special "totalheight"
27749 status collapsed
27750
27751 \begin_layout Plain Layout
27752 \align center
27753 This box is bottom-aligned.
27754 \end_layout
27755
27756 \end_inset
27757
27758  This is an example text line.
27759 \end_layout
27760
27761 \begin_layout Standard
27762 \begin_inset Note Greyedout
27763 status open
27764
27765 \begin_layout Plain Layout
27766
27767 \series bold
27768 Note:
27769 \series default
27770  The vertical box alignment can be lost in the output when you have two
27771  boxes in a line and one has e.
27772 \begin_inset space \thinspace{}
27773 \end_inset
27774
27775 g.
27776 \begin_inset space \space{}
27777 \end_inset
27778
27779 a shadow and the other one not.
27780 \end_layout
27781
27782 \end_inset
27783
27784
27785 \end_layout
27786
27787 \begin_layout Standard
27788 The horizontal box alignment can be set via LyX's paragraph dialog when
27789  you set the box into its own paragraph.
27790 \end_layout
27791
27792 \begin_layout Standard
27793 \begin_inset VSpace bigskip
27794 \end_inset
27795
27796 When you have chosen an 
27797 \family sans
27798 Inner
27799 \begin_inset space ~
27800 \end_inset
27801
27802 Box
27803 \family default
27804 , the box content can be aligned vertically to:
27805 \end_layout
27806
27807 \begin_layout Description
27808 top This is an example text line.
27809  
27810 \begin_inset Box Boxed
27811 position "c"
27812 hor_pos "c"
27813 has_inner_box 1
27814 inner_pos "t"
27815 use_parbox 0
27816 use_makebox 0
27817 width "12col%"
27818 special "none"
27819 height "1.5in"
27820 height_special "totalheight"
27821 status collapsed
27822
27823 \begin_layout Plain Layout
27824 \align center
27825 This box text is top-aligned.
27826 \end_layout
27827
27828 \end_inset
27829
27830  This is an example text line.
27831 \end_layout
27832
27833 \begin_layout Description
27834 middle This is an example text line.
27835  
27836 \begin_inset Box Boxed
27837 position "c"
27838 hor_pos "c"
27839 has_inner_box 1
27840 inner_pos "c"
27841 use_parbox 0
27842 use_makebox 0
27843 width "12col%"
27844 special "none"
27845 height "1.5in"
27846 height_special "totalheight"
27847 status collapsed
27848
27849 \begin_layout Plain Layout
27850 \align center
27851 This box text is middle-aligned.
27852 \end_layout
27853
27854 \end_inset
27855
27856  This is an example text line.
27857 \end_layout
27858
27859 \begin_layout Description
27860 bottom This is an example text line.
27861  
27862 \begin_inset Box Boxed
27863 position "c"
27864 hor_pos "c"
27865 has_inner_box 1
27866 inner_pos "b"
27867 use_parbox 0
27868 use_makebox 0
27869 width "12col%"
27870 special "none"
27871 height "1.5in"
27872 height_special "totalheight"
27873 status collapsed
27874
27875 \begin_layout Plain Layout
27876 \align center
27877 This box text is bottom-aligned.
27878 \end_layout
27879
27880 \end_inset
27881
27882  This is an example text line.
27883 \end_layout
27884
27885 \begin_layout Description
27886 stretch This is an example text line.
27887  
27888 \begin_inset Box Boxed
27889 position "c"
27890 hor_pos "c"
27891 has_inner_box 1
27892 inner_pos "s"
27893 use_parbox 0
27894 use_makebox 0
27895 width "12col%"
27896 special "none"
27897 height "1.5in"
27898 height_special "totalheight"
27899 status collapsed
27900
27901 \begin_layout Plain Layout
27902 \align center
27903 This box
27904 \end_layout
27905
27906 \begin_layout Plain Layout
27907 \align center
27908 text is
27909 \end_layout
27910
27911 \begin_layout Plain Layout
27912 \align center
27913 stretched.
27914 \end_layout
27915
27916 \end_inset
27917
27918  This is an example text line.
27919 \end_layout
27920
27921 \begin_layout Standard
27922 To stretch the box content, it must consist of more than one paragraph.
27923  In the example above every text line is in an own paragraph.
27924 \end_layout
27925
27926 \begin_layout Standard
27927 \begin_inset VSpace bigskip
27928 \end_inset
27929
27930 To align the box content horizontally you can use LyX's paragraph dialog
27931  when you have chosen an 
27932 \family sans
27933 Inner
27934 \begin_inset space ~
27935 \end_inset
27936
27937 Box
27938 \family default
27939 .
27940 \end_layout
27941
27942 \begin_layout Standard
27943 \align center
27944 \begin_inset Box Boxed
27945 position "c"
27946 hor_pos "c"
27947 has_inner_box 1
27948 inner_pos "s"
27949 use_parbox 0
27950 use_makebox 0
27951 width "15col%"
27952 special "none"
27953 height "1.25in"
27954 height_special "totalheight"
27955 status collapsed
27956
27957 \begin_layout Plain Layout
27958 \align left
27959 This box
27960 \end_layout
27961
27962 \begin_layout Plain Layout
27963 \align center
27964 text is
27965 \end_layout
27966
27967 \begin_layout Plain Layout
27968 \align right
27969 stretched.
27970 \end_layout
27971
27972 \end_inset
27973
27974
27975 \end_layout
27976
27977 \begin_layout Standard
27978 If you have not set an 
27979 \family sans
27980 Inner
27981 \begin_inset space ~
27982 \end_inset
27983
27984 Box
27985 \family default
27986 , you can align the box content horizontally in the box dialog.
27987 \end_layout
27988
27989 \begin_layout Standard
27990 \align center
27991 \begin_inset Box Boxed
27992 position "c"
27993 hor_pos "s"
27994 has_inner_box 0
27995 inner_pos "s"
27996 use_parbox 0
27997 use_makebox 0
27998 width "90col%"
27999 special "none"
28000 height "1.25in"
28001 height_special "totalheight"
28002 status collapsed
28003
28004 \begin_layout Plain Layout
28005 This box text is horizontally stretched.
28006 \end_layout
28007
28008 \end_inset
28009
28010
28011 \end_layout
28012
28013 \begin_layout Subsection
28014 Decoration
28015 \begin_inset CommandInset label
28016 LatexCommand label
28017 name "sec:Decoration"
28018
28019 \end_inset
28020
28021
28022 \begin_inset Index idx
28023 status collapsed
28024
28025 \begin_layout Plain Layout
28026 Boxes ! Decoration
28027 \end_layout
28028
28029 \end_inset
28030
28031
28032 \end_layout
28033
28034 \begin_layout Standard
28035 The type of the box can be specified in the box dialog in the drop-down
28036  list 
28037 \family sans
28038 Decoration
28039 \family default
28040 .
28041  The following types are possible:
28042 \end_layout
28043
28044 \begin_layout Description
28045 No
28046 \begin_inset space ~
28047 \end_inset
28048
28049 frame Nothing is drawn.
28050 \end_layout
28051
28052 \begin_layout Description
28053 Simple
28054 \begin_inset space ~
28055 \end_inset
28056
28057 rectangular
28058 \begin_inset space ~
28059 \end_inset
28060
28061 frame This draws a rectangular frame around the box.
28062  The frame line thickness has the size of 
28063 \series bold
28064
28065 \backslash
28066 fboxrule
28067 \series default
28068 .
28069  
28070 \begin_inset Box Boxed
28071 position "c"
28072 hor_pos "c"
28073 has_inner_box 1
28074 inner_pos "c"
28075 use_parbox 0
28076 use_makebox 0
28077 width "20col%"
28078 special "none"
28079 height "1in"
28080 height_special "totalheight"
28081 status collapsed
28082
28083 \begin_layout Plain Layout
28084 \align center
28085 Rectangular box
28086 \end_layout
28087
28088 \end_inset
28089
28090
28091 \end_layout
28092
28093 \begin_layout Description
28094 Oval
28095 \begin_inset space ~
28096 \end_inset
28097
28098 box,
28099 \begin_inset space ~
28100 \end_inset
28101
28102 thin This draws an oval frame around the box.
28103  The frame line thickness has the size 0.4
28104 \begin_inset space \thinspace{}
28105 \end_inset
28106
28107 pt.
28108  
28109 \begin_inset Box ovalbox
28110 position "c"
28111 hor_pos "c"
28112 has_inner_box 1
28113 inner_pos "c"
28114 use_parbox 0
28115 use_makebox 0
28116 width "20col%"
28117 special "none"
28118 height "1in"
28119 height_special "totalheight"
28120 status collapsed
28121
28122 \begin_layout Plain Layout
28123 \align center
28124 Oval box, thin
28125 \end_layout
28126
28127 \end_inset
28128
28129
28130 \end_layout
28131
28132 \begin_layout Description
28133 Oval
28134 \begin_inset space ~
28135 \end_inset
28136
28137 box,
28138 \begin_inset space ~
28139 \end_inset
28140
28141 thick This draws an oval frame around the box.
28142  The frame line thickness has the size 0.8
28143 \begin_inset space \thinspace{}
28144 \end_inset
28145
28146 pt.
28147  
28148 \begin_inset Box Ovalbox
28149 position "c"
28150 hor_pos "c"
28151 has_inner_box 1
28152 inner_pos "c"
28153 use_parbox 0
28154 use_makebox 0
28155 width "20col%"
28156 special "none"
28157 height "1in"
28158 height_special "totalheight"
28159 status collapsed
28160
28161 \begin_layout Plain Layout
28162 \align center
28163 Oval box, thick
28164 \end_layout
28165
28166 \end_inset
28167
28168
28169 \end_layout
28170
28171 \begin_layout Description
28172 Drop
28173 \begin_inset space ~
28174 \end_inset
28175
28176 shadow This draws a rectangular frame with a shadow around the box.
28177  The frame line thickness has the size of 
28178 \series bold
28179
28180 \backslash
28181 fboxrule
28182 \series default
28183 , the shadow has a width of 4
28184 \begin_inset space \thinspace{}
28185 \end_inset
28186
28187 pt.
28188  
28189 \begin_inset Box Shadowbox
28190 position "c"
28191 hor_pos "c"
28192 has_inner_box 1
28193 inner_pos "c"
28194 use_parbox 0
28195 use_makebox 0
28196 width "20col%"
28197 special "none"
28198 height "1in"
28199 height_special "totalheight"
28200 status collapsed
28201
28202 \begin_layout Plain Layout
28203 \align center
28204 Shadow box
28205 \end_layout
28206
28207 \end_inset
28208
28209
28210 \end_layout
28211
28212 \begin_layout Description
28213 Shaded
28214 \begin_inset space ~
28215 \end_inset
28216
28217 background This draws a box with a red background.
28218  Unlike colored boxes
28219 \begin_inset Foot
28220 status collapsed
28221
28222 \begin_layout Plain Layout
28223 see sec.
28224 \begin_inset space \thinspace{}
28225 \end_inset
28226
28227
28228 \begin_inset CommandInset ref
28229 LatexCommand ref
28230 reference "sec:Colored-Boxes"
28231
28232 \end_inset
28233
28234
28235 \end_layout
28236
28237 \end_inset
28238
28239 , it always uses the whole column width and the box is set as its own paragraph.
28240  
28241 \begin_inset Box Shaded
28242 position "t"
28243 hor_pos "c"
28244 has_inner_box 0
28245 inner_pos "t"
28246 use_parbox 0
28247 use_makebox 0
28248 width "50col%"
28249 special "none"
28250 height "1in"
28251 height_special "totalheight"
28252 status collapsed
28253
28254 \begin_layout Plain Layout
28255 Shaded background box
28256 \end_layout
28257
28258 \end_inset
28259
28260
28261 \end_layout
28262
28263 \begin_layout Description
28264 Double
28265 \begin_inset space ~
28266 \end_inset
28267
28268 rectangular
28269 \begin_inset space ~
28270 \end_inset
28271
28272 frame This draws a double-line rectangular frame around the box.
28273  The line thickness of the inner frame is 0.75
28274 \begin_inset space \thinspace{}
28275 \end_inset
28276
28277
28278 \series bold
28279
28280 \backslash
28281 fboxrule
28282 \series default
28283 , the thickness of the outer frame is 1.5
28284 \begin_inset space \thinspace{}
28285 \end_inset
28286
28287
28288 \series bold
28289
28290 \backslash
28291 fboxrule
28292 \series default
28293 .
28294  The distance between the lines is 1.5
28295 \begin_inset space \thinspace{}
28296 \end_inset
28297
28298
28299 \series bold
28300
28301 \backslash
28302 fboxrule
28303 \series default
28304
28305 \begin_inset space \thinspace{}
28306 \end_inset
28307
28308 +
28309 \begin_inset space \thinspace{}
28310 \end_inset
28311
28312 0.5
28313 \begin_inset space \thinspace{}
28314 \end_inset
28315
28316 pt.
28317  
28318 \begin_inset Box Doublebox
28319 position "c"
28320 hor_pos "c"
28321 has_inner_box 1
28322 inner_pos "c"
28323 use_parbox 0
28324 use_makebox 0
28325 width "20col%"
28326 special "none"
28327 height "1in"
28328 height_special "totalheight"
28329 status collapsed
28330
28331 \begin_layout Plain Layout
28332 \align center
28333 Double rectangular box
28334 \end_layout
28335
28336 \end_inset
28337
28338
28339 \end_layout
28340
28341 \begin_layout Standard
28342 \begin_inset VSpace bigskip
28343 \end_inset
28344
28345 LyX's box label will reflect the different frame types.
28346  To be able to use all types, the LaTeX-package 
28347 \series bold
28348 fancybox
28349 \series default
28350
28351 \begin_inset Index idx
28352 status collapsed
28353
28354 \begin_layout Plain Layout
28355 LaTeX-packages ! fancybox
28356 \end_layout
28357
28358 \end_inset
28359
28360  must be installed.
28361 \end_layout
28362
28363 \begin_layout Standard
28364 \begin_inset VSpace bigskip
28365 \end_inset
28366
28367 When you use the decoration 
28368 \family sans
28369 simple rectangular frame
28370 \family default
28371  and no inner box, you can allow page breaks within a box.
28372  Note that then, unlike other framed boxes, the frame always uses the whole
28373  column width, the box is set as its own paragraph, and 
28374 \series bold
28375
28376 \backslash
28377 fboxrule
28378 \series default
28379  and 
28380 \series bold
28381
28382 \backslash
28383 fboxsep
28384 \series default
28385  have no effect on this box type.
28386  The frame line thickness has the size of 
28387 \series bold
28388
28389 \backslash
28390 FrameRule
28391 \series default
28392 .
28393  
28394 \begin_inset Box Framed
28395 position "t"
28396 hor_pos "c"
28397 has_inner_box 0
28398 inner_pos "t"
28399 use_parbox 0
28400 use_makebox 0
28401 width "100col%"
28402 special "none"
28403 height "1in"
28404 height_special "totalheight"
28405 status collapsed
28406
28407 \begin_layout Plain Layout
28408 Allow page break box
28409 \end_layout
28410
28411 \end_inset
28412
28413
28414 \end_layout
28415
28416 \begin_layout Section
28417 Box Customization
28418 \begin_inset Index idx
28419 status collapsed
28420
28421 \begin_layout Plain Layout
28422 Boxes ! Customization
28423 \end_layout
28424
28425 \end_inset
28426
28427
28428 \end_layout
28429
28430 \begin_layout Standard
28431 The default value for the size 
28432 \series bold
28433
28434 \backslash
28435 fboxrule
28436 \series default
28437  is 0.4
28438 \begin_inset space \thinspace{}
28439 \end_inset
28440
28441 pt.
28442  It can be changed with the following command in TeX-code to e.
28443 \begin_inset space \thinspace{}
28444 \end_inset
28445
28446 g.
28447 \begin_inset space \space{}
28448 \end_inset
28449
28450 2
28451 \begin_inset space \thinspace{}
28452 \end_inset
28453
28454 pt:
28455 \end_layout
28456
28457 \begin_layout Standard
28458
28459 \series bold
28460
28461 \backslash
28462 setlength{
28463 \backslash
28464 fboxrule}{2pt}
28465 \end_layout
28466
28467 \begin_layout Standard
28468 \begin_inset ERT
28469 status collapsed
28470
28471 \begin_layout Plain Layout
28472
28473
28474 \backslash
28475 setlength{
28476 \backslash
28477 fboxrule}{2pt}
28478 \end_layout
28479
28480 \end_inset
28481
28482
28483 \begin_inset Box Boxed
28484 position "c"
28485 hor_pos "c"
28486 has_inner_box 1
28487 inner_pos "c"
28488 use_parbox 0
28489 use_makebox 0
28490 width "25col%"
28491 special "none"
28492 height "1in"
28493 height_special "totalheight"
28494 status open
28495
28496 \begin_layout Plain Layout
28497 \align center
28498 Rectangular box with 
28499 \series bold
28500
28501 \backslash
28502 fboxrule
28503 \series default
28504
28505 \begin_inset space \thinspace{}
28506 \end_inset
28507
28508 =
28509 \begin_inset space \thinspace{}
28510 \end_inset
28511
28512 2
28513 \begin_inset space \thinspace{}
28514 \end_inset
28515
28516 pt
28517 \end_layout
28518
28519 \end_inset
28520
28521
28522 \begin_inset ERT
28523 status collapsed
28524
28525 \begin_layout Plain Layout
28526
28527
28528 \backslash
28529 setlength{
28530 \backslash
28531 fboxrule}{0.4pt}
28532 \end_layout
28533
28534 \end_inset
28535
28536
28537 \end_layout
28538
28539 \begin_layout Standard
28540 \begin_inset VSpace bigskip
28541 \end_inset
28542
28543 The space between the frame and the box content is for all frame styles
28544  by default 3
28545 \begin_inset space \thinspace{}
28546 \end_inset
28547
28548 pt.
28549  You can change it by setting the length 
28550 \series bold
28551
28552 \backslash
28553 fboxsep
28554 \series default
28555  to another value.
28556  For example the command
28557 \end_layout
28558
28559 \begin_layout Standard
28560
28561 \series bold
28562
28563 \backslash
28564 setlength{
28565 \backslash
28566 fboxsep}{10pt}
28567 \end_layout
28568
28569 \begin_layout Standard
28570 sets the value to 10
28571 \begin_inset space \thinspace{}
28572 \end_inset
28573
28574 pt, as with the following box:
28575 \end_layout
28576
28577 \begin_layout Standard
28578 \begin_inset ERT
28579 status collapsed
28580
28581 \begin_layout Plain Layout
28582
28583
28584 \backslash
28585 setlength{
28586 \backslash
28587 fboxsep}{10pt}
28588 \end_layout
28589
28590 \end_inset
28591
28592
28593 \begin_inset Box Boxed
28594 position "c"
28595 hor_pos "c"
28596 has_inner_box 1
28597 inner_pos "c"
28598 use_parbox 0
28599 use_makebox 0
28600 width "25col%"
28601 special "none"
28602 height "1in"
28603 height_special "totalheight"
28604 status open
28605
28606 \begin_layout Plain Layout
28607 \align center
28608 Rectangular box with 
28609 \series bold
28610
28611 \backslash
28612 fboxsep
28613 \series default
28614
28615 \begin_inset space \thinspace{}
28616 \end_inset
28617
28618 =
28619 \begin_inset space \thinspace{}
28620 \end_inset
28621
28622 10
28623 \begin_inset space \thinspace{}
28624 \end_inset
28625
28626 pt
28627 \end_layout
28628
28629 \end_inset
28630
28631
28632 \begin_inset ERT
28633 status collapsed
28634
28635 \begin_layout Plain Layout
28636
28637
28638 \backslash
28639 setlength{
28640 \backslash
28641 fboxsep}{3pt}
28642 \end_layout
28643
28644 \end_inset
28645
28646
28647 \end_layout
28648
28649 \begin_layout Standard
28650 \begin_inset VSpace bigskip
28651 \end_inset
28652
28653 The diameter of the round corners of the oval boxes can be set with the
28654  command 
28655 \series bold
28656
28657 \backslash
28658 cornersize
28659 \series default
28660 .
28661  The command
28662 \end_layout
28663
28664 \begin_layout Standard
28665
28666 \series bold
28667
28668 \backslash
28669 cornersize*{1cm}
28670 \end_layout
28671
28672 \begin_layout Standard
28673 sets the diameter to 1
28674 \begin_inset space \thinspace{}
28675 \end_inset
28676
28677 cm.
28678  The command
28679 \end_layout
28680
28681 \begin_layout Standard
28682
28683 \series bold
28684
28685 \backslash
28686 cornersize{num}
28687 \end_layout
28688
28689 \begin_layout Standard
28690 sets the diameter to 
28691 \family sans
28692 num
28693 \begin_inset space \thinspace{}
28694 \end_inset
28695
28696 ×
28697 \begin_inset space \thinspace{}
28698 \end_inset
28699
28700 minimum(width and height of box)
28701 \family default
28702 .
28703  The default is 
28704 \series bold
28705
28706 \backslash
28707 cornersize{0.5}
28708 \series default
28709 .
28710 \end_layout
28711
28712 \begin_layout Standard
28713 \begin_inset ERT
28714 status collapsed
28715
28716 \begin_layout Plain Layout
28717
28718
28719 \backslash
28720 cornersize*{1.5cm}
28721 \end_layout
28722
28723 \end_inset
28724
28725
28726 \begin_inset Box Ovalbox
28727 position "c"
28728 hor_pos "c"
28729 has_inner_box 1
28730 inner_pos "c"
28731 use_parbox 0
28732 use_makebox 0
28733 width "25col%"
28734 special "none"
28735 height "1in"
28736 height_special "totalheight"
28737 status open
28738
28739 \begin_layout Plain Layout
28740 \align center
28741 Oval box with 
28742 \series bold
28743
28744 \backslash
28745 cornersize
28746 \series default
28747
28748 \begin_inset space \thinspace{}
28749 \end_inset
28750
28751 =
28752 \begin_inset space \thinspace{}
28753 \end_inset
28754
28755 1.5
28756 \begin_inset space \thinspace{}
28757 \end_inset
28758
28759 cm
28760 \end_layout
28761
28762 \end_inset
28763
28764
28765 \begin_inset ERT
28766 status collapsed
28767
28768 \begin_layout Plain Layout
28769
28770
28771 \backslash
28772 cornersize{0.5}
28773 \end_layout
28774
28775 \end_inset
28776
28777
28778 \end_layout
28779
28780 \begin_layout Standard
28781 \begin_inset VSpace bigskip
28782 \end_inset
28783
28784 The size of the shadow can be adjusted by changing the length 
28785 \series bold
28786
28787 \backslash
28788 shadowsize
28789 \series default
28790 .
28791  It it set to 2
28792 \begin_inset space \thinspace{}
28793 \end_inset
28794
28795 pt for the following box by this command:
28796 \end_layout
28797
28798 \begin_layout Standard
28799
28800 \series bold
28801
28802 \backslash
28803 setlength{
28804 \backslash
28805 shadowsize}{2pt}
28806 \end_layout
28807
28808 \begin_layout Standard
28809 \begin_inset ERT
28810 status collapsed
28811
28812 \begin_layout Plain Layout
28813
28814
28815 \backslash
28816 setlength{
28817 \backslash
28818 shadowsize}{2pt}
28819 \end_layout
28820
28821 \end_inset
28822
28823
28824 \begin_inset Box Shadowbox
28825 position "c"
28826 hor_pos "c"
28827 has_inner_box 1
28828 inner_pos "c"
28829 use_parbox 0
28830 use_makebox 0
28831 width "25col%"
28832 special "none"
28833 height "1in"
28834 height_special "totalheight"
28835 status open
28836
28837 \begin_layout Plain Layout
28838 \align center
28839 Shadow box with 
28840 \series bold
28841
28842 \backslash
28843 shadowsize
28844 \series default
28845
28846 \begin_inset space \thinspace{}
28847 \end_inset
28848
28849 =
28850 \begin_inset space \thinspace{}
28851 \end_inset
28852
28853 2
28854 \begin_inset space \thinspace{}
28855 \end_inset
28856
28857 pt
28858 \end_layout
28859
28860 \end_inset
28861
28862
28863 \begin_inset ERT
28864 status collapsed
28865
28866 \begin_layout Plain Layout
28867
28868
28869 \backslash
28870 setlength{
28871 \backslash
28872 shadowsize}{4pt}
28873 \end_layout
28874
28875 \end_inset
28876
28877
28878 \end_layout
28879
28880 \begin_layout Standard
28881 \begin_inset VSpace bigskip
28882 \end_inset
28883
28884
28885 \end_layout
28886
28887 \begin_layout Standard
28888 The default value for the size 
28889 \series bold
28890
28891 \backslash
28892 FrameRule
28893 \series default
28894  is 0.4
28895 \begin_inset space \thinspace{}
28896 \end_inset
28897
28898 pt.
28899  The default space between the note content and the frame is 9
28900 \begin_inset space \thinspace{}
28901 \end_inset
28902
28903 pt and can be changed with the value of 
28904 \series bold
28905
28906 \backslash
28907 FrameSep
28908 \series default
28909 .
28910  For example the frame appearance of the following 
28911 \family sans
28912 box
28913 \family default
28914  is set with the TeX-Code commands
28915 \end_layout
28916
28917 \begin_layout Standard
28918
28919 \series bold
28920
28921 \backslash
28922 setlength{
28923 \backslash
28924 FrameRule}{5pt}
28925 \begin_inset Newline newline
28926 \end_inset
28927
28928
28929 \backslash
28930 setlength{
28931 \backslash
28932 FrameSep}{0.5cm}
28933 \end_layout
28934
28935 \begin_layout Standard
28936 \begin_inset ERT
28937 status collapsed
28938
28939 \begin_layout Plain Layout
28940
28941
28942 \backslash
28943 setlength{
28944 \backslash
28945 FrameRule}{5pt}
28946 \end_layout
28947
28948 \begin_layout Plain Layout
28949
28950
28951 \backslash
28952 setlength{
28953 \backslash
28954 FrameSep}{0.5cm}
28955 \end_layout
28956
28957 \end_inset
28958
28959
28960 \begin_inset Box Framed
28961 position "t"
28962 hor_pos "c"
28963 has_inner_box 0
28964 inner_pos "t"
28965 use_parbox 0
28966 use_makebox 0
28967 width "100col%"
28968 special "none"
28969 height "1in"
28970 height_special "totalheight"
28971 status open
28972
28973 \begin_layout Plain Layout
28974 This is text in an 
28975 \family sans
28976 allow page break
28977 \family default
28978  box.
28979 \end_layout
28980
28981 \end_inset
28982
28983
28984 \begin_inset ERT
28985 status collapsed
28986
28987 \begin_layout Plain Layout
28988
28989
28990 \backslash
28991 setlength{
28992 \backslash
28993 FrameRule}{0.4pt}
28994 \end_layout
28995
28996 \begin_layout Plain Layout
28997
28998
28999 \backslash
29000 setlength{
29001 \backslash
29002 FrameSep}{9pt}
29003 \end_layout
29004
29005 \end_inset
29006
29007
29008 \end_layout
29009
29010 \begin_layout Standard
29011 \begin_inset VSpace bigskip
29012 \end_inset
29013
29014
29015 \end_layout
29016
29017 \begin_layout Standard
29018 For 
29019 \family sans
29020 shaded background
29021 \family default
29022  boxes the default space between the box content and the box border is 3
29023 \begin_inset space \thinspace{}
29024 \end_inset
29025
29026 pt and can be changed with the value of 
29027 \series bold
29028
29029 \backslash
29030 fboxsep
29031 \series default
29032 .
29033  The default background color red can either be changed locally with the
29034  command 
29035 \series bold
29036
29037 \backslash
29038 definecolor{shadecolor}
29039 \series default
29040  or globally with the menu 
29041 \family sans
29042 Tools\SpecialChar \menuseparator
29043 Preferences\SpecialChar \menuseparator
29044 Colors\SpecialChar \menuseparator
29045 shaded
29046 \begin_inset space ~
29047 \end_inset
29048
29049 box
29050 \family default
29051 .
29052  The scheme of the 
29053 \series bold
29054
29055 \backslash
29056 definecolor
29057 \series default
29058  command is explained in section
29059 \begin_inset space ~
29060 \end_inset
29061
29062
29063 \begin_inset CommandInset ref
29064 LatexCommand ref
29065 reference "sec:Colored-Tables"
29066
29067 \end_inset
29068
29069 .
29070 \begin_inset Foot
29071 status collapsed
29072
29073 \begin_layout Plain Layout
29074 Note that 
29075 \series bold
29076
29077 \backslash
29078 definecolor
29079 \series default
29080  requires the LaTeX-package 
29081 \series bold
29082 color
29083 \series default
29084  in the preamble, see section
29085 \begin_inset space ~
29086 \end_inset
29087
29088
29089 \begin_inset CommandInset ref
29090 LatexCommand ref
29091 reference "sec:Colored-Boxes"
29092
29093 \end_inset
29094
29095 .
29096 \end_layout
29097
29098 \end_inset
29099
29100  For example the appearance of the following shaded background box is set
29101  with the TeX-Code commands
29102 \end_layout
29103
29104 \begin_layout Standard
29105
29106 \series bold
29107
29108 \backslash
29109 setlength{
29110 \backslash
29111 fboxsep}{0.5cm}
29112 \series default
29113
29114 \begin_inset Newline newline
29115 \end_inset
29116
29117
29118 \series bold
29119
29120 \backslash
29121 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29122 \end_layout
29123
29124 \begin_layout Standard
29125 \begin_inset ERT
29126 status collapsed
29127
29128 \begin_layout Plain Layout
29129
29130
29131 \backslash
29132 setlength{
29133 \backslash
29134 fboxsep}{0.5cm}
29135 \end_layout
29136
29137 \begin_layout Plain Layout
29138
29139
29140 \backslash
29141 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29142 \end_layout
29143
29144 \end_inset
29145
29146
29147 \begin_inset Box Shaded
29148 position "t"
29149 hor_pos "c"
29150 has_inner_box 0
29151 inner_pos "t"
29152 use_parbox 0
29153 use_makebox 0
29154 width "100col%"
29155 special "none"
29156 height "1in"
29157 height_special "totalheight"
29158 status open
29159
29160 \begin_layout Plain Layout
29161
29162 \color yellow
29163 This is yellow text in a
29164 \color none
29165  
29166 \family sans
29167 \color yellow
29168 shaded background
29169 \family default
29170 \color none
29171  
29172 \color yellow
29173 box with dark green background.
29174 \end_layout
29175
29176 \end_inset
29177
29178
29179 \begin_inset ERT
29180 status collapsed
29181
29182 \begin_layout Plain Layout
29183
29184
29185 \backslash
29186 setlength{
29187 \backslash
29188 fboxsep}{3pt}
29189 \end_layout
29190
29191 \begin_layout Plain Layout
29192
29193
29194 \backslash
29195 definecolor{shadecolor}{rgb}{1,0,0}
29196 \end_layout
29197
29198 \end_inset
29199
29200
29201 \end_layout
29202
29203 \begin_layout Standard
29204 \begin_inset VSpace bigskip
29205 \end_inset
29206
29207 Changed lengths and widths are valid for all boxes following the commands
29208  that change them.
29209 \end_layout
29210
29211 \begin_layout Section
29212 Minipages
29213 \begin_inset CommandInset label
29214 LatexCommand label
29215 name "sec:Minipages"
29216
29217 \end_inset
29218
29219
29220 \begin_inset Index idx
29221 status collapsed
29222
29223 \begin_layout Plain Layout
29224 Boxes ! Minipages
29225 \end_layout
29226
29227 \end_inset
29228
29229
29230 \end_layout
29231
29232 \begin_layout Standard
29233 Minipages are treated by LaTeX as pages within pages and can therefore for
29234  example have their own footnotes.
29235 \end_layout
29236
29237 \begin_layout Standard
29238 Minipages are useful when you write documents with different languages.
29239 \end_layout
29240
29241 \begin_layout Standard
29242 Below are two example minipages side by side.
29243  Their width is set to 45
29244 \begin_inset space \thinspace{}
29245 \end_inset
29246
29247 col% and they are separated by a horizontal fill, that was inserted via
29248  the menu 
29249 \family sans
29250 Insert\SpecialChar \menuseparator
29251 Special
29252 \begin_inset space ~
29253 \end_inset
29254
29255 Formatting\SpecialChar \menuseparator
29256 Horizontal
29257 \begin_inset space ~
29258 \end_inset
29259
29260 Fill
29261 \family default
29262 .
29263 \begin_inset Newpage newpage
29264 \end_inset
29265
29266
29267 \end_layout
29268
29269 \begin_layout Standard
29270 \begin_inset Box Frameless
29271 position "t"
29272 hor_pos "c"
29273 has_inner_box 1
29274 inner_pos "c"
29275 use_parbox 0
29276 use_makebox 0
29277 width "45col%"
29278 special "none"
29279 height "1in"
29280 height_special "totalheight"
29281 status open
29282
29283 \begin_layout Plain Layout
29284
29285 \lang german
29286 Dies ist ein deutscher Text.
29287  Dies ist ein deutscher Text.
29288  Dies ist ein deutscher Text.
29289  Dies ist ein deutscher Text.
29290  Dies ist ein deutscher Text.
29291  Dies ist ein deutscher Text.
29292  Dies ist ein deutscher Text.
29293  Dies ist ein deutscher Text.
29294  Dies ist ein deutscher Text.
29295  Dies ist ein deutscher Text.
29296  Dies ist ein deutscher Text.
29297  Dies ist ein deutscher Text.
29298  Dies ist ein deutscher Text
29299 \begin_inset Foot
29300 status collapsed
29301
29302 \begin_layout Plain Layout
29303
29304 \lang german
29305 Dies ist eine deutsche Fußnote.
29306 \end_layout
29307
29308 \end_inset
29309
29310 .
29311  Dies ist ein deutscher Text.
29312  Dies ist ein deutscher Text.
29313 \end_layout
29314
29315 \end_inset
29316
29317
29318 \begin_inset space \hfill{}
29319 \end_inset
29320
29321
29322 \begin_inset Box Frameless
29323 position "t"
29324 hor_pos "c"
29325 has_inner_box 1
29326 inner_pos "c"
29327 use_parbox 0
29328 use_makebox 0
29329 width "45col%"
29330 special "none"
29331 height "1in"
29332 height_special "totalheight"
29333 status open
29334
29335 \begin_layout Plain Layout
29336 This is an English Text.
29337  This is an English Text.
29338  This is an English Text.
29339  This is an English Text.
29340  This is an English Text.
29341  This is an English Text.
29342  This is an English Text.
29343  This is an English Text.
29344  This is an English Text.
29345  This is an English Text.
29346  This is an English Text.
29347  This is an English Text.
29348  This is an English Text.
29349  This is an English Text.
29350  This is an English Text.
29351  This is an English Text.
29352 \begin_inset Foot
29353 status collapsed
29354
29355 \begin_layout Plain Layout
29356 This is an English footnote.
29357 \end_layout
29358
29359 \end_inset
29360
29361  This is an English Text.
29362  
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 The document-wide paragraph settings are ignored within minipages.
29375  That means that there will be no space between paragraphs in minipages
29376  although you set it to e.
29377 \begin_inset space \thinspace{}
29378 \end_inset
29379
29380 g.
29381 \begin_inset space \space{}
29382 \end_inset
29383
29384
29385 \family sans
29386 MedSkip
29387 \family default
29388  in the document settings.
29389 \end_layout
29390
29391 \begin_layout Standard
29392 Minipages can also be used to set a background color for text parts, see
29393  section
29394 \begin_inset space ~
29395 \end_inset
29396
29397
29398 \begin_inset CommandInset ref
29399 LatexCommand ref
29400 reference "sub:Color-for-Paragraphs"
29401
29402 \end_inset
29403
29404 .
29405 \end_layout
29406
29407 \begin_layout Standard
29408 \begin_inset Note Greyedout
29409 status open
29410
29411 \begin_layout Plain Layout
29412
29413 \series bold
29414 Note:
29415 \series default
29416  You cannot have floats or margin notes inside minipages but minipages can
29417  be used inside tables, floats, and other boxes.
29418 \end_layout
29419
29420 \end_inset
29421
29422
29423 \end_layout
29424
29425 \begin_layout Section
29426 Parboxes
29427 \begin_inset CommandInset label
29428 LatexCommand label
29429 name "sec:Parboxes"
29430
29431 \end_inset
29432
29433
29434 \begin_inset Index idx
29435 status collapsed
29436
29437 \begin_layout Plain Layout
29438 Boxes ! Parboxes
29439 \end_layout
29440
29441 \end_inset
29442
29443
29444 \end_layout
29445
29446 \begin_layout Standard
29447 Parboxes are very similar to minipages with the difference that they cannot
29448  have footnotes.
29449 \end_layout
29450
29451 \begin_layout Standard
29452 \align center
29453 \begin_inset Box Frameless
29454 position "t"
29455 hor_pos "c"
29456 has_inner_box 1
29457 inner_pos "t"
29458 use_parbox 1
29459 use_makebox 0
29460 width "33col%"
29461 special "none"
29462 height "1in"
29463 height_special "totalheight"
29464 status collapsed
29465
29466 \begin_layout Plain Layout
29467 This a text within a parbox.
29468  This a text within a parbox.
29469 \end_layout
29470
29471 \begin_layout Plain Layout
29472 This footnote won't appear:
29473 \begin_inset Foot
29474 status collapsed
29475
29476 \begin_layout Plain Layout
29477 This footnote is inside a parbox and will therefore not appear.
29478 \end_layout
29479
29480 \end_inset
29481
29482
29483 \end_layout
29484
29485 \end_inset
29486
29487
29488 \end_layout
29489
29490 \begin_layout Section
29491 Boxes for Words and Characters
29492 \begin_inset Index idx
29493 status collapsed
29494
29495 \begin_layout Plain Layout
29496 Boxes ! for Characters
29497 \end_layout
29498
29499 \end_inset
29500
29501
29502 \end_layout
29503
29504 \begin_layout Subsection
29505 Prevent Hyphenation
29506 \begin_inset CommandInset label
29507 LatexCommand label
29508 name "sec:Prevent-Hyphenation"
29509
29510 \end_inset
29511
29512
29513 \begin_inset Index idx
29514 status collapsed
29515
29516 \begin_layout Plain Layout
29517 Boxes ! to Prevent Hyphenation
29518 \end_layout
29519
29520 \end_inset
29521
29522
29523 \end_layout
29524
29525 \begin_layout Standard
29526 You can use the box type 
29527 \family sans
29528 Makebox
29529 \family default
29530  to prevent words or text from being hyphenated.
29531 \begin_inset Newline newline
29532 \end_inset
29533
29534 Here is an example text:
29535 \end_layout
29536
29537 \begin_layout Standard
29538 This line is an example to show how you can prevent the hyphenation of 
29539 \begin_inset Quotes eld
29540 \end_inset
29541
29542 veryverylongword
29543 \begin_inset Quotes erd
29544 \end_inset
29545
29546 .
29547 \end_layout
29548
29549 \begin_layout Standard
29550 To prevent the hyphenation of the word 
29551 \begin_inset Quotes eld
29552 \end_inset
29553
29554 veryverylongword
29555 \begin_inset Quotes erd
29556 \end_inset
29557
29558 , put the word into a box, set the 
29559 \family sans
29560 Inner
29561 \begin_inset space ~
29562 \end_inset
29563
29564 box
29565 \family default
29566  to 
29567 \family sans
29568 Makebox
29569 \family default
29570  and its width to 1
29571 \begin_inset space \thinspace{}
29572 \end_inset
29573
29574 Width.
29575 \end_layout
29576
29577 \begin_layout Standard
29578 This is the result:
29579 \end_layout
29580
29581 \begin_layout Standard
29582 This line is an example to show how you can prevent the hyphenation of 
29583 \begin_inset Box Frameless
29584 position "t"
29585 hor_pos "c"
29586 has_inner_box 1
29587 inner_pos "t"
29588 use_parbox 0
29589 use_makebox 1
29590 width "1in"
29591 special "width"
29592 height "1in"
29593 height_special "totalheight"
29594 status open
29595
29596 \begin_layout Plain Layout
29597 \begin_inset Quotes eld
29598 \end_inset
29599
29600 veryverylongword
29601 \begin_inset Quotes erd
29602 \end_inset
29603
29604
29605 \end_layout
29606
29607 \end_inset
29608
29609 .
29610 \end_layout
29611
29612 \begin_layout Standard
29613 You can alternatively set the command 
29614 \begin_inset Quotes eld
29615 \end_inset
29616
29617
29618 \series bold
29619
29620 \backslash
29621 -
29622 \series default
29623
29624 \begin_inset Quotes grd
29625 \end_inset
29626
29627  as TeX-Code directly before the word:
29628 \end_layout
29629
29630 \begin_layout Standard
29631 This line is an example to show how you can prevent the hyphenation of 
29632 \begin_inset Quotes eld
29633 \end_inset
29634
29635
29636 \begin_inset ERT
29637 status collapsed
29638
29639 \begin_layout Plain Layout
29640
29641
29642 \backslash
29643 -
29644 \end_layout
29645
29646 \end_inset
29647
29648 veryverylongword
29649 \begin_inset Quotes erd
29650 \end_inset
29651
29652 .
29653 \end_layout
29654
29655 \begin_layout Standard
29656 Of course the word now protrudes over the side margin.
29657  To avoid this, add via the menu 
29658 \family sans
29659 Insert\SpecialChar \menuseparator
29660 Formatting\SpecialChar \menuseparator
29661 Ragged
29662 \begin_inset space ~
29663 \end_inset
29664
29665 Line
29666 \begin_inset space ~
29667 \end_inset
29668
29669 Break
29670 \family default
29671  (shortcut 
29672 \begin_inset Info
29673 type  "shortcut"
29674 arg   "newline-insert newline"
29675 \end_inset
29676
29677 ) a line break before the word:
29678 \end_layout
29679
29680 \begin_layout Standard
29681 This line is an example to show how you can prevent the hyphenation of 
29682 \begin_inset Newline newline
29683 \end_inset
29684
29685
29686 \begin_inset Box Frameless
29687 position "t"
29688 hor_pos "c"
29689 has_inner_box 1
29690 inner_pos "t"
29691 use_parbox 0
29692 use_makebox 1
29693 width "1in"
29694 special "width"
29695 height "1in"
29696 height_special "totalheight"
29697 status open
29698
29699 \begin_layout Plain Layout
29700 \begin_inset Quotes eld
29701 \end_inset
29702
29703 veryverylongword
29704 \begin_inset Quotes erd
29705 \end_inset
29706
29707
29708 \end_layout
29709
29710 \end_inset
29711
29712 .
29713 \end_layout
29714
29715 \begin_layout Subsection
29716 Vertical Alignment
29717 \begin_inset CommandInset label
29718 LatexCommand label
29719 name "sub:Vertical-Alignment"
29720
29721 \end_inset
29722
29723
29724 \begin_inset Index idx
29725 status collapsed
29726
29727 \begin_layout Plain Layout
29728 Boxes ! for Vertical Alignment
29729 \end_layout
29730
29731 \end_inset
29732
29733
29734 \begin_inset Index idx
29735 status collapsed
29736
29737 \begin_layout Plain Layout
29738 Boxes ! Raiseboxes
29739 \end_layout
29740
29741 \end_inset
29742
29743
29744 \end_layout
29745
29746 \begin_layout Standard
29747 With the help of the command 
29748 \series bold
29749
29750 \backslash
29751 raisebox
29752 \series default
29753  you can align words, characters or other boxes vertically relative to the
29754  surrounding text.
29755  
29756 \series bold
29757
29758 \backslash
29759 raisebox
29760 \series default
29761  is used with the following scheme:
29762 \end_layout
29763
29764 \begin_layout Standard
29765
29766 \series bold
29767
29768 \backslash
29769 raisebox{lift}[height][depth]{box content}
29770 \end_layout
29771
29772 \begin_layout Standard
29773 The lift can be a positive value to raise the box or a negative value to
29774  lower the box.
29775 \end_layout
29776
29777 \begin_layout Standard
29778 To align for example the word 
29779 \begin_inset Quotes eld
29780 \end_inset
29781
29782 preventing
29783 \begin_inset Quotes erd
29784 \end_inset
29785
29786  so that the bottom of the 
29787 \begin_inset Quotes eld
29788 \end_inset
29789
29790 deepest
29791 \begin_inset Quotes erd
29792 \end_inset
29793
29794  character 
29795 \begin_inset Quotes eld
29796 \end_inset
29797
29798 p
29799 \begin_inset Quotes erd
29800 \end_inset
29801
29802  is at the baseline, insert the command
29803 \end_layout
29804
29805 \begin_layout Standard
29806
29807 \series bold
29808
29809 \backslash
29810 raisebox{
29811 \backslash
29812 depth}{
29813 \end_layout
29814
29815 \begin_layout Standard
29816 in TeX-Code before the word.
29817  After the word insert a closing brace 
29818 \begin_inset Quotes eld
29819 \end_inset
29820
29821
29822 \series bold
29823 }
29824 \series default
29825
29826 \begin_inset Quotes erd
29827 \end_inset
29828
29829  in TeX-Code.
29830 \begin_inset Newline newline
29831 \end_inset
29832
29833 This is the result:
29834 \end_layout
29835
29836 \begin_layout Standard
29837 This is a text line with the word 
29838 \begin_inset ERT
29839 status collapsed
29840
29841 \begin_layout Plain Layout
29842
29843
29844 \backslash
29845 raisebox{
29846 \backslash
29847 depth}{
29848 \end_layout
29849
29850 \end_inset
29851
29852
29853 \begin_inset Quotes eld
29854 \end_inset
29855
29856 preventing
29857 \begin_inset Quotes erd
29858 \end_inset
29859
29860
29861 \begin_inset ERT
29862 status collapsed
29863
29864 \begin_layout Plain Layout
29865
29866 }
29867 \end_layout
29868
29869 \end_inset
29870
29871  as a raised word.
29872 \end_layout
29873
29874 \begin_layout Standard
29875 \begin_inset VSpace bigskip
29876 \end_inset
29877
29878 When you raise or lower characters in a line, the line distance will be
29879  spread:
29880 \end_layout
29881
29882 \begin_layout Standard
29883 This is a text line with the word 
29884 \begin_inset ERT
29885 status collapsed
29886
29887 \begin_layout Plain Layout
29888
29889
29890 \backslash
29891 raisebox{-
29892 \backslash
29893 depth}{
29894 \end_layout
29895
29896 \end_inset
29897
29898
29899 \begin_inset Quotes eld
29900 \end_inset
29901
29902 preventing
29903 \begin_inset Quotes erd
29904 \end_inset
29905
29906
29907 \begin_inset ERT
29908 status collapsed
29909
29910 \begin_layout Plain Layout
29911
29912 }
29913 \end_layout
29914
29915 \end_inset
29916
29917  as a lowered word.
29918 \begin_inset Newline newline
29919 \end_inset
29920
29921 This is a text line with the word 
29922 \begin_inset ERT
29923 status collapsed
29924
29925 \begin_layout Plain Layout
29926
29927
29928 \backslash
29929 raisebox{0.5cm}{
29930 \end_layout
29931
29932 \end_inset
29933
29934
29935 \begin_inset Quotes eld
29936 \end_inset
29937
29938 testing
29939 \begin_inset Quotes erd
29940 \end_inset
29941
29942
29943 \begin_inset ERT
29944 status collapsed
29945
29946 \begin_layout Plain Layout
29947
29948 }
29949 \end_layout
29950
29951 \end_inset
29952
29953  as a raised word.
29954 \end_layout
29955
29956 \begin_layout Standard
29957 If you want to prevent this for a certain reason, set the box height to
29958  a zero value.
29959  For example use
29960 \end_layout
29961
29962 \begin_layout Standard
29963
29964 \series bold
29965
29966 \backslash
29967 raisebox{-
29968 \backslash
29969 depth}[0pt]{
29970 \end_layout
29971
29972 \begin_layout Standard
29973 This is a text line with the word 
29974 \begin_inset ERT
29975 status collapsed
29976
29977 \begin_layout Plain Layout
29978
29979
29980 \backslash
29981 raisebox{-
29982 \backslash
29983 depth}[0pt]{
29984 \end_layout
29985
29986 \end_inset
29987
29988
29989 \begin_inset Quotes eld
29990 \end_inset
29991
29992 preventing
29993 \begin_inset Quotes erd
29994 \end_inset
29995
29996
29997 \begin_inset ERT
29998 status collapsed
29999
30000 \begin_layout Plain Layout
30001
30002 }
30003 \end_layout
30004
30005 \end_inset
30006
30007  as a lowered word.
30008 \begin_inset Newline newline
30009 \end_inset
30010
30011 This is a text line with the word 
30012 \begin_inset ERT
30013 status collapsed
30014
30015 \begin_layout Plain Layout
30016
30017
30018 \backslash
30019 raisebox{0.5cm}[0pt]{
30020 \end_layout
30021
30022 \end_inset
30023
30024
30025 \begin_inset Quotes eld
30026 \end_inset
30027
30028 testing
30029 \begin_inset Quotes erd
30030 \end_inset
30031
30032
30033 \begin_inset ERT
30034 status collapsed
30035
30036 \begin_layout Plain Layout
30037
30038 }
30039 \end_layout
30040
30041 \end_inset
30042
30043  as a raised word.
30044 \end_layout
30045
30046 \begin_layout Section
30047 Colored Boxes
30048 \begin_inset CommandInset label
30049 LatexCommand label
30050 name "sec:Colored-Boxes"
30051
30052 \end_inset
30053
30054
30055 \begin_inset Index idx
30056 status collapsed
30057
30058 \begin_layout Plain Layout
30059 Boxes ! Color
30060 \end_layout
30061
30062 \end_inset
30063
30064
30065 \end_layout
30066
30067 \begin_layout Subsection
30068 Color for Text
30069 \begin_inset Index idx
30070 status collapsed
30071
30072 \begin_layout Plain Layout
30073 Color ! for Text
30074 \end_layout
30075
30076 \end_inset
30077
30078
30079 \end_layout
30080
30081 \begin_layout Standard
30082 To color the background of text the text must be put into a so called 
30083 \begin_inset Quotes eld
30084 \end_inset
30085
30086 colorbox
30087 \begin_inset Quotes erd
30088 \end_inset
30089
30090 .
30091  This requires that the LaTeX-package 
30092 \series bold
30093 color
30094 \series default
30095
30096 \begin_inset Index idx
30097 status collapsed
30098
30099 \begin_layout Plain Layout
30100 LaTeX-packages ! color
30101 \end_layout
30102
30103 \end_inset
30104
30105  is loaded in the document preamble with the command
30106 \end_layout
30107
30108 \begin_layout Standard
30109
30110 \series bold
30111
30112 \backslash
30113 @ifundefined{textcolor}
30114 \begin_inset Newline newline
30115 \end_inset
30116
30117
30118 \begin_inset Phantom HPhantom
30119 status open
30120
30121 \begin_layout Plain Layout
30122
30123 \series bold
30124 \begin_inset space ~
30125 \end_inset
30126
30127
30128 \end_layout
30129
30130 \end_inset
30131
30132 {
30133 \backslash
30134 usepackage{color}}{}
30135 \end_layout
30136
30137 \begin_layout Standard
30138 The package 
30139 \series bold
30140 color
30141 \series default
30142  will be loaded automatically by LyX when you color text.
30143 \begin_inset Foot
30144 status collapsed
30145
30146 \begin_layout Plain Layout
30147 To avoid it being loaded twice the command 
30148 \series bold
30149
30150 \backslash
30151 @ifundefined
30152 \series default
30153  is used.
30154 \end_layout
30155
30156 \end_inset
30157
30158
30159 \end_layout
30160
30161 \begin_layout Standard
30162 \begin_inset VSpace medskip
30163 \end_inset
30164
30165 Colorboxes are created with the command 
30166 \series bold
30167
30168 \backslash
30169 colorbox
30170 \series default
30171 .
30172  This will be used with the following scheme:
30173 \end_layout
30174
30175 \begin_layout Standard
30176
30177 \series bold
30178
30179 \backslash
30180 colorbox{color}{box content}
30181 \end_layout
30182
30183 \begin_layout Standard
30184 The box content can also be a box and colorboxes can also be within other
30185  boxes.
30186 \end_layout
30187
30188 \begin_layout Standard
30189 The following colors are predefined:
30190 \begin_inset Newline newline
30191 \end_inset
30192
30193
30194 \family sans
30195 black
30196 \family default
30197
30198 \family sans
30199 blue
30200 \family default
30201
30202 \family sans
30203 cyan
30204 \family default
30205 \series bold
30206 ,
30207 \series default
30208  
30209 \family sans
30210 green
30211 \family default
30212
30213 \family sans
30214 magenta
30215 \family default
30216
30217 \family sans
30218 red
30219 \family default
30220
30221 \family sans
30222 white
30223 \family default
30224 , and 
30225 \family sans
30226 yellow
30227 \family default
30228 .
30229 \begin_inset Newline newline
30230 \end_inset
30231
30232 You can also define your own color as described in section
30233 \begin_inset space ~
30234 \end_inset
30235
30236
30237 \begin_inset CommandInset ref
30238 LatexCommand ref
30239 reference "sec:Colored-Tables"
30240
30241 \end_inset
30242
30243 .
30244 \end_layout
30245
30246 \begin_layout Standard
30247 To have e.
30248 \begin_inset space \thinspace{}
30249 \end_inset
30250
30251 g.
30252 \begin_inset space \space{}
30253 \end_inset
30254
30255 a red background for a word, insert the command
30256 \end_layout
30257
30258 \begin_layout Standard
30259
30260 \series bold
30261
30262 \backslash
30263 colorbox{red}{
30264 \end_layout
30265
30266 \begin_layout Standard
30267 before the word in TeX-Code.
30268  After the word insert a closing brace 
30269 \begin_inset Quotes eld
30270 \end_inset
30271
30272
30273 \series bold
30274 }
30275 \series default
30276
30277 \begin_inset Quotes erd
30278 \end_inset
30279
30280  in TeX-Code.
30281 \begin_inset Newline newline
30282 \end_inset
30283
30284 This is the result:
30285 \end_layout
30286
30287 \begin_layout Standard
30288 This is a line where the word 
30289 \begin_inset ERT
30290 status collapsed
30291
30292 \begin_layout Plain Layout
30293
30294
30295 \backslash
30296 colorbox{red}{
30297 \end_layout
30298
30299 \end_inset
30300
30301
30302 \begin_inset Quotes eld
30303 \end_inset
30304
30305 Attention!
30306 \begin_inset Quotes erd
30307 \end_inset
30308
30309
30310 \begin_inset ERT
30311 status collapsed
30312
30313 \begin_layout Plain Layout
30314
30315 }
30316 \end_layout
30317
30318 \end_inset
30319
30320  has a red background.
30321 \end_layout
30322
30323 \begin_layout Standard
30324 \begin_inset VSpace bigskip
30325 \end_inset
30326
30327 If you would like the box frame in a different color, you can use the command
30328  
30329 \series bold
30330
30331 \backslash
30332 fcolorbox
30333 \series default
30334  with the following scheme:
30335 \end_layout
30336
30337 \begin_layout Standard
30338
30339 \series bold
30340
30341 \backslash
30342 fcolorbox{frame color}{box color}{box content}
30343 \end_layout
30344
30345 \begin_layout Standard
30346
30347 \series bold
30348
30349 \backslash
30350 fcolorbox
30351 \series default
30352  is an extension to 
30353 \series bold
30354
30355 \backslash
30356 colorbox
30357 \series default
30358 .
30359  The frame thickness and the space between the frame and the box content
30360  can be adjusted with the lengths 
30361 \series bold
30362
30363 \backslash
30364 fboxrule
30365 \series default
30366  and 
30367 \series bold
30368
30369 \backslash
30370 fboxsep
30371 \series default
30372 , respectively, as described in section
30373 \begin_inset space ~
30374 \end_inset
30375
30376
30377 \begin_inset CommandInset ref
30378 LatexCommand ref
30379 reference "sec:Decoration"
30380
30381 \end_inset
30382
30383 .
30384 \end_layout
30385
30386 \begin_layout Standard
30387 For the following example the command
30388 \end_layout
30389
30390 \begin_layout Standard
30391
30392 \series bold
30393
30394 \backslash
30395 fcolorbox{cyan}{magenta}{
30396 \end_layout
30397
30398 \begin_layout Standard
30399 was used.
30400 \end_layout
30401
30402 \begin_layout Standard
30403 Here is an example where the frame line thickness was set to 1
30404 \begin_inset space \thinspace{}
30405 \end_inset
30406
30407 mm:
30408 \begin_inset Newline newline
30409 \end_inset
30410
30411
30412 \begin_inset ERT
30413 status collapsed
30414
30415 \begin_layout Plain Layout
30416
30417
30418 \backslash
30419 fboxrule 1mm 
30420 \backslash
30421 fboxsep 1mm
30422 \end_layout
30423
30424 \end_inset
30425
30426
30427 \begin_inset ERT
30428 status collapsed
30429
30430 \begin_layout Plain Layout
30431
30432
30433 \backslash
30434 fcolorbox{cyan}{magenta}{
30435 \end_layout
30436
30437 \end_inset
30438
30439 This is text within a colored, framed box.
30440 \begin_inset ERT
30441 status collapsed
30442
30443 \begin_layout Plain Layout
30444
30445 }
30446 \end_layout
30447
30448 \end_inset
30449
30450
30451 \end_layout
30452
30453 \begin_layout Standard
30454 \begin_inset VSpace bigskip
30455 \end_inset
30456
30457 Of course you can also have colored text inside a colorbox:
30458 \begin_inset Newline newline
30459 \end_inset
30460
30461
30462 \begin_inset ERT
30463 status collapsed
30464
30465 \begin_layout Plain Layout
30466
30467
30468 \backslash
30469 fcolorbox{cyan}{magenta}{
30470 \end_layout
30471
30472 \end_inset
30473
30474
30475 \color yellow
30476 This is colored text within a colored, framed box.
30477 \color none
30478
30479 \begin_inset ERT
30480 status collapsed
30481
30482 \begin_layout Plain Layout
30483
30484 }
30485 \end_layout
30486
30487 \end_inset
30488
30489
30490 \begin_inset ERT
30491 status collapsed
30492
30493 \begin_layout Plain Layout
30494
30495
30496 \backslash
30497 fboxrule 0.4pt 
30498 \backslash
30499 fboxsep 3pt
30500 \end_layout
30501
30502 \end_inset
30503
30504
30505 \end_layout
30506
30507 \begin_layout Standard
30508 \begin_inset VSpace medskip
30509 \end_inset
30510
30511
30512 \end_layout
30513
30514 \begin_layout Standard
30515 \begin_inset Note Greyedout
30516 status open
30517
30518 \begin_layout Plain Layout
30519
30520 \series bold
30521 Note:
30522 \series default
30523  Text in colorboxes cannot have line breaks.
30524  To color multiple text lines or paragraphs, use a box inside a colorbox
30525  as described in the following.
30526 \end_layout
30527
30528 \end_inset
30529
30530
30531 \end_layout
30532
30533 \begin_layout Subsection
30534 Color for Paragraphs
30535 \begin_inset CommandInset label
30536 LatexCommand label
30537 name "sub:Color-for-Paragraphs"
30538
30539 \end_inset
30540
30541
30542 \begin_inset Index idx
30543 status collapsed
30544
30545 \begin_layout Plain Layout
30546 Color ! for Paragraphs
30547 \end_layout
30548
30549 \end_inset
30550
30551
30552 \end_layout
30553
30554 \begin_layout Standard
30555 To set the background color for more than one text line, put the text into
30556  a minipage.
30557  Before the minipage insert the 
30558 \series bold
30559
30560 \backslash
30561 colorbox
30562 \series default
30563  command
30564 \end_layout
30565
30566 \begin_layout Standard
30567
30568 \series bold
30569
30570 \backslash
30571 colorbox{color}{
30572 \end_layout
30573
30574 \begin_layout Standard
30575 in TeX-Code.
30576  After the minipage insert a closing brace 
30577 \begin_inset Quotes eld
30578 \end_inset
30579
30580
30581 \series bold
30582 }
30583 \series default
30584
30585 \begin_inset Quotes erd
30586 \end_inset
30587
30588  in TeX-Code.
30589 \end_layout
30590
30591 \begin_layout Standard
30592 \begin_inset ERT
30593 status collapsed
30594
30595 \begin_layout Plain Layout
30596
30597
30598 \backslash
30599 colorbox{lightgrey}{
30600 \end_layout
30601
30602 \end_inset
30603
30604
30605 \begin_inset Box Frameless
30606 position "t"
30607 hor_pos "c"
30608 has_inner_box 1
30609 inner_pos "t"
30610 use_parbox 0
30611 use_makebox 0
30612 width "100col%"
30613 special "none"
30614 height "1in"
30615 height_special "totalheight"
30616 status collapsed
30617
30618 \begin_layout Plain Layout
30619 This is text with background color.
30620  This is text with background color.
30621 \end_layout
30622
30623 \begin_layout Plain Layout
30624 \begin_inset VSpace defskip
30625 \end_inset
30626
30627 The text can have footnotes
30628 \begin_inset Foot
30629 status collapsed
30630
30631 \begin_layout Plain Layout
30632 Another example footnote
30633 \end_layout
30634
30635 \end_inset
30636
30637  and can include tables and figures.
30638 \end_layout
30639
30640 \begin_layout Plain Layout
30641 \align center
30642 \begin_inset Tabular
30643 <lyxtabular version="3" rows="3" columns="3">
30644 <features tabularvalignment="middle">
30645 <column alignment="center" valignment="top" width="0">
30646 <column alignment="center" valignment="top" width="0">
30647 <column alignment="center" valignment="top" width="0">
30648 <row>
30649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30650 \begin_inset Text
30651
30652 \begin_layout Plain Layout
30653 a
30654 \end_layout
30655
30656 \end_inset
30657 </cell>
30658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30659 \begin_inset Text
30660
30661 \begin_layout Plain Layout
30662 !
30663 \end_layout
30664
30665 \end_inset
30666 </cell>
30667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30668 \begin_inset Text
30669
30670 \begin_layout Plain Layout
30671 3
30672 \end_layout
30673
30674 \end_inset
30675 </cell>
30676 </row>
30677 <row>
30678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30679 \begin_inset Text
30680
30681 \begin_layout Plain Layout
30682 <
30683 \end_layout
30684
30685 \end_inset
30686 </cell>
30687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30688 \begin_inset Text
30689
30690 \begin_layout Plain Layout
30691 b2
30692 \begin_inset Quotes erd
30693 \end_inset
30694
30695 |
30696 \end_layout
30697
30698 \end_inset
30699 </cell>
30700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30701 \begin_inset Text
30702
30703 \begin_layout Plain Layout
30704 >
30705 \end_layout
30706
30707 \end_inset
30708 </cell>
30709 </row>
30710 <row>
30711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30712 \begin_inset Text
30713
30714 \begin_layout Plain Layout
30715 1
30716 \end_layout
30717
30718 \end_inset
30719 </cell>
30720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30721 \begin_inset Text
30722
30723 \begin_layout Plain Layout
30724 §
30725 \end_layout
30726
30727 \end_inset
30728 </cell>
30729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30730 \begin_inset Text
30731
30732 \begin_layout Plain Layout
30733 c
30734 \end_layout
30735
30736 \end_inset
30737 </cell>
30738 </row>
30739 </lyxtabular>
30740
30741 \end_inset
30742
30743
30744 \end_layout
30745
30746 \end_inset
30747
30748
30749 \begin_inset ERT
30750 status collapsed
30751
30752 \begin_layout Plain Layout
30753
30754 }
30755 \end_layout
30756
30757 \end_inset
30758
30759
30760 \end_layout
30761
30762 \begin_layout Section
30763 Rotated and Scaled Boxes
30764 \end_layout
30765
30766 \begin_layout Standard
30767 To use the commands described in this section, the LaTeX-package 
30768 \series bold
30769 graphicx
30770 \series default
30771
30772 \begin_inset Index idx
30773 status collapsed
30774
30775 \begin_layout Plain Layout
30776 LaTeX-packages ! graphicx
30777 \end_layout
30778
30779 \end_inset
30780
30781  needs to be loaded in the document preamble with the command
30782 \end_layout
30783
30784 \begin_layout Standard
30785
30786 \series bold
30787
30788 \backslash
30789 @ifundefined{rotatebox}
30790 \begin_inset Newline newline
30791 \end_inset
30792
30793
30794 \begin_inset Phantom HPhantom
30795 status open
30796
30797 \begin_layout Plain Layout
30798
30799 \series bold
30800 \begin_inset space ~
30801 \end_inset
30802
30803
30804 \end_layout
30805
30806 \end_inset
30807
30808 {
30809 \backslash
30810 usepackage{graphicx}}{}
30811 \end_layout
30812
30813 \begin_layout Standard
30814 \begin_inset Note Greyedout
30815 status open
30816
30817 \begin_layout Plain Layout
30818
30819 \series bold
30820 Note:
30821 \series default
30822  Some DVI-viewers can't display rotated or scaled material.
30823 \end_layout
30824
30825 \end_inset
30826
30827
30828 \end_layout
30829
30830 \begin_layout Standard
30831 \begin_inset Note Greyedout
30832 status open
30833
30834 \begin_layout Plain Layout
30835
30836 \series bold
30837 Note:
30838 \series default
30839  Floats mustn't be inside a rotated or scaled box.
30840 \end_layout
30841
30842 \end_inset
30843
30844
30845 \end_layout
30846
30847 \begin_layout Subsection
30848 Rotated Boxes
30849 \begin_inset Index idx
30850 status collapsed
30851
30852 \begin_layout Plain Layout
30853 Boxes ! rotated
30854 \end_layout
30855
30856 \end_inset
30857
30858
30859 \begin_inset Index idx
30860 status collapsed
30861
30862 \begin_layout Plain Layout
30863 Rotated material
30864 \end_layout
30865
30866 \end_inset
30867
30868
30869 \begin_inset Index idx
30870 status collapsed
30871
30872 \begin_layout Plain Layout
30873 Figures ! rotated
30874 \end_layout
30875
30876 \end_inset
30877
30878
30879 \begin_inset Index idx
30880 status collapsed
30881
30882 \begin_layout Plain Layout
30883 Table Customization ! Rotating
30884 \end_layout
30885
30886 \end_inset
30887
30888
30889 \end_layout
30890
30891 \begin_layout Standard
30892 To rotate material, you can put it into a rotated box.
30893  Such a box is created using the command 
30894 \series bold
30895
30896 \backslash
30897 rotatebox
30898 \series default
30899  in TeX-Code with the following scheme:
30900 \end_layout
30901
30902 \begin_layout Standard
30903
30904 \series bold
30905
30906 \backslash
30907 rotatebox[rotation origin]{rotation angle}{box content}
30908 \end_layout
30909
30910 \begin_layout Standard
30911 The rotation origin is specified in the form 
30912 \series bold
30913 origin=position
30914 \series default
30915 .
30916  The following positions are possible: 
30917 \emph on
30918 c
30919 \emph default
30920  (center), 
30921 \emph on
30922 l
30923 \emph default
30924  (left), 
30925 \emph on
30926 r
30927 \emph default
30928  (right), 
30929 \emph on
30930 b
30931 \emph default
30932  (bottom), 
30933 \emph on
30934 t
30935 \emph default
30936  (top), along with meaningful combinations of the four base positions.
30937  For example 
30938 \emph on
30939 lt
30940 \emph default
30941  means that the rotation origin is at the top left corner of the box.
30942  When no rotation origin is specified, the position 
30943 \emph on
30944 l
30945 \emph default
30946  will be used.
30947  The rotation angle is a number that can be negative that specifies the
30948  angle in degrees.
30949  The rotation direction is counterclockwise.
30950 \end_layout
30951
30952 \begin_layout Standard
30953 In the following example the command 
30954 \series bold
30955
30956 \backslash
30957 rotatebox[origin=c]{60}{
30958 \series default
30959  was inserted as TeX-Code before the text 
30960 \begin_inset Quotes eld
30961 \end_inset
30962
30963 with rotated
30964 \begin_inset Quotes erd
30965 \end_inset
30966
30967 ; after the text the box was closed by a closing brace 
30968 \series bold
30969 }
30970 \series default
30971  in TeX-Code.
30972 \end_layout
30973
30974 \begin_layout Standard
30975 This is a line 
30976 \begin_inset ERT
30977 status collapsed
30978
30979 \begin_layout Plain Layout
30980
30981
30982 \backslash
30983 rotatebox[origin=c]{60}{
30984 \end_layout
30985
30986 \end_inset
30987
30988 with rotated
30989 \begin_inset ERT
30990 status collapsed
30991
30992 \begin_layout Plain Layout
30993
30994 }
30995 \end_layout
30996
30997 \end_inset
30998
30999  text.
31000 \end_layout
31001
31002 \begin_layout Standard
31003 The box content can also be another box or an inline formula:
31004 \end_layout
31005
31006 \begin_layout Standard
31007 This is a line
31008 \begin_inset ERT
31009 status collapsed
31010
31011 \begin_layout Plain Layout
31012
31013
31014 \backslash
31015 rotatebox[origin=r]{-60}{
31016 \end_layout
31017
31018 \end_inset
31019
31020
31021 \begin_inset Box Doublebox
31022 position "c"
31023 hor_pos "c"
31024 has_inner_box 0
31025 inner_pos "c"
31026 use_parbox 0
31027 use_makebox 0
31028 width "1in"
31029 special "width"
31030 height "1in"
31031 height_special "totalheight"
31032 status collapsed
31033
31034 \begin_layout Plain Layout
31035 with rotated
31036 \end_layout
31037
31038 \end_inset
31039
31040
31041 \begin_inset ERT
31042 status collapsed
31043
31044 \begin_layout Plain Layout
31045
31046 }
31047 \end_layout
31048
31049 \end_inset
31050
31051  framed text 
31052 \begin_inset ERT
31053 status collapsed
31054
31055 \begin_layout Plain Layout
31056
31057
31058 \backslash
31059 rotatebox[origin=lb]{60}{
31060 \end_layout
31061
31062 \end_inset
31063
31064
31065 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31066 \end_inset
31067
31068
31069 \begin_inset ERT
31070 status collapsed
31071
31072 \begin_layout Plain Layout
31073
31074 }
31075 \end_layout
31076
31077 \end_inset
31078
31079  and a formula.
31080 \end_layout
31081
31082 \begin_layout Standard
31083 or an image or table:
31084 \end_layout
31085
31086 \begin_layout Standard
31087 This is a line
31088 \begin_inset ERT
31089 status collapsed
31090
31091 \begin_layout Plain Layout
31092
31093
31094 \backslash
31095 rotatebox[origin=lb]{90}{
31096 \end_layout
31097
31098 \end_inset
31099
31100
31101 \begin_inset Graphics
31102         filename clipart/platypus.eps
31103         lyxscale 50
31104         width 25col%
31105
31106 \end_inset
31107
31108
31109 \begin_inset ERT
31110 status collapsed
31111
31112 \begin_layout Plain Layout
31113
31114 }
31115 \end_layout
31116
31117 \end_inset
31118
31119  with a rotated image 
31120 \begin_inset ERT
31121 status collapsed
31122
31123 \begin_layout Plain Layout
31124
31125
31126 \backslash
31127 rotatebox[origin=l]{-90}{
31128 \end_layout
31129
31130 \end_inset
31131
31132
31133 \begin_inset Tabular
31134 <lyxtabular version="3" rows="2" columns="2">
31135 <features tabularvalignment="middle">
31136 <column alignment="center" valignment="top" width="0">
31137 <column alignment="center" valignment="top" width="0">
31138 <row>
31139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31140 \begin_inset Text
31141
31142 \begin_layout Plain Layout
31143 q
31144 \end_layout
31145
31146 \end_inset
31147 </cell>
31148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31149 \begin_inset Text
31150
31151 \begin_layout Plain Layout
31152 w
31153 \end_layout
31154
31155 \end_inset
31156 </cell>
31157 </row>
31158 <row>
31159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31160 \begin_inset Text
31161
31162 \begin_layout Plain Layout
31163 e
31164 \end_layout
31165
31166 \end_inset
31167 </cell>
31168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31169 \begin_inset Text
31170
31171 \begin_layout Plain Layout
31172 r
31173 \end_layout
31174
31175 \end_inset
31176 </cell>
31177 </row>
31178 </lyxtabular>
31179
31180 \end_inset
31181
31182
31183 \begin_inset ERT
31184 status collapsed
31185
31186 \begin_layout Plain Layout
31187
31188 }
31189 \end_layout
31190
31191 \end_inset
31192
31193  and table.
31194 \end_layout
31195
31196 \begin_layout Subsection
31197 Scaled Boxes
31198 \begin_inset Index idx
31199 status collapsed
31200
31201 \begin_layout Plain Layout
31202 Boxes ! scaled
31203 \end_layout
31204
31205 \end_inset
31206
31207
31208 \begin_inset Index idx
31209 status collapsed
31210
31211 \begin_layout Plain Layout
31212 Scaled material
31213 \end_layout
31214
31215 \end_inset
31216
31217
31218 \begin_inset Index idx
31219 status collapsed
31220
31221 \begin_layout Plain Layout
31222 Figures ! scaled
31223 \end_layout
31224
31225 \end_inset
31226
31227
31228 \begin_inset Index idx
31229 status collapsed
31230
31231 \begin_layout Plain Layout
31232 Table Customization ! Scaling
31233 \end_layout
31234
31235 \end_inset
31236
31237
31238 \end_layout
31239
31240 \begin_layout Standard
31241 To scale material the commands 
31242 \series bold
31243
31244 \backslash
31245 scalebox
31246 \series default
31247  and 
31248 \series bold
31249
31250 \backslash
31251 resizebox
31252 \series default
31253  can be used as TeX-Code.
31254 \end_layout
31255
31256 \begin_layout Standard
31257
31258 \series bold
31259
31260 \backslash
31261 scalebox
31262 \series default
31263  is used with the following scheme:
31264 \end_layout
31265
31266 \begin_layout Standard
31267
31268 \series bold
31269
31270 \backslash
31271 scalebox{horizontal}[vertical]{box content}
31272 \end_layout
31273
31274 \begin_layout Standard
31275 Horizontal and vertical are the corresponding scaling factors.
31276  If no vertical scaling factor is given, the horizontal factor will also
31277  be used as the vertical one.
31278 \end_layout
31279
31280 \begin_layout Standard
31281 The command 
31282 \series bold
31283
31284 \backslash
31285 scalebox{2}{Hello}
31286 \series default
31287  creates for example a double size 
31288 \begin_inset ERT
31289 status collapsed
31290
31291 \begin_layout Plain Layout
31292
31293
31294 \backslash
31295 scalebox{2}{
31296 \end_layout
31297
31298 \end_inset
31299
31300 Hello
31301 \begin_inset ERT
31302 status collapsed
31303
31304 \begin_layout Plain Layout
31305
31306 }
31307 \end_layout
31308
31309 \end_inset
31310
31311 , compared with the document text size.
31312 \end_layout
31313
31314 \begin_layout Standard
31315
31316 \series bold
31317
31318 \backslash
31319 scalebox{2}[1]{Hello}
31320 \series default
31321  on the other hand distorts the 
31322 \begin_inset ERT
31323 status collapsed
31324
31325 \begin_layout Plain Layout
31326
31327
31328 \backslash
31329 scalebox{2}[1]{
31330 \end_layout
31331
31332 \end_inset
31333
31334 Hello
31335 \begin_inset ERT
31336 status collapsed
31337
31338 \begin_layout Plain Layout
31339
31340 }
31341 \end_layout
31342
31343 \end_inset
31344
31345 .
31346 \end_layout
31347
31348 \begin_layout Standard
31349 If the scaling factor is negative, the box content will be mirrored.
31350  Therefore the command 
31351 \series bold
31352
31353 \backslash
31354 scalebox{-1}[1]{Hello}
31355 \series default
31356  can be used to create mirror writing: 
31357 \begin_inset ERT
31358 status collapsed
31359
31360 \begin_layout Plain Layout
31361
31362
31363 \backslash
31364 scalebox{-1}[1]{
31365 \end_layout
31366
31367 \end_inset
31368
31369 Hello
31370 \begin_inset ERT
31371 status collapsed
31372
31373 \begin_layout Plain Layout
31374
31375 }
31376 \end_layout
31377
31378 \end_inset
31379
31380
31381 \end_layout
31382
31383 \begin_layout Standard
31384
31385 \series bold
31386
31387 \backslash
31388 scalebox{1}[-1]{Hello}
31389 \series default
31390  reflects the 
31391 \begin_inset ERT
31392 status collapsed
31393
31394 \begin_layout Plain Layout
31395
31396
31397 \backslash
31398 scalebox{1}[-1]{
31399 \end_layout
31400
31401 \end_inset
31402
31403 Hello
31404 \begin_inset ERT
31405 status collapsed
31406
31407 \begin_layout Plain Layout
31408
31409 }
31410 \end_layout
31411
31412 \end_inset
31413
31414  at the base line.
31415 \end_layout
31416
31417 \begin_layout Standard
31418 Equivalent to 
31419 \series bold
31420
31421 \backslash
31422 scalebox{-1}[1]{box content}
31423 \series default
31424  there exists the command
31425 \begin_inset Newline newline
31426 \end_inset
31427
31428
31429 \series bold
31430
31431 \backslash
31432 reflectbox{box content}
31433 \series default
31434 .
31435 \end_layout
31436
31437 \begin_layout Standard
31438 \begin_inset VSpace bigskip
31439 \end_inset
31440
31441 The command 
31442 \series bold
31443
31444 \backslash
31445 resizebox
31446 \series default
31447  is used to scale the box to a defined width and height.
31448  The command scheme is:
31449 \end_layout
31450
31451 \begin_layout Standard
31452
31453 \series bold
31454
31455 \backslash
31456 resizebox{width}{height}{box content}
31457 \end_layout
31458
31459 \begin_layout Standard
31460 If one of the two command arguments given is an exclamation mark 
31461 \series bold
31462 !
31463 \series default
31464 , the size is set so that the aspect ratio of the box content is kept.
31465 \end_layout
31466
31467 \begin_layout Standard
31468 The command 
31469 \series bold
31470
31471 \backslash
31472 resizebox{2cm}{1cm}{Hello}
31473 \series default
31474  produces: 
31475 \begin_inset ERT
31476 status collapsed
31477
31478 \begin_layout Plain Layout
31479
31480
31481 \backslash
31482 resizebox{2cm}{1cm}{
31483 \end_layout
31484
31485 \end_inset
31486
31487 Hello
31488 \begin_inset ERT
31489 status collapsed
31490
31491 \begin_layout Plain Layout
31492
31493 }
31494 \end_layout
31495
31496 \end_inset
31497
31498
31499 \begin_inset Newline newline
31500 \end_inset
31501
31502 The command 
31503 \series bold
31504
31505 \backslash
31506 resizebox{2cm}{!}{Hello}
31507 \series default
31508  produces: 
31509 \begin_inset ERT
31510 status collapsed
31511
31512 \begin_layout Plain Layout
31513
31514
31515 \backslash
31516 resizebox{2cm}{!}{
31517 \end_layout
31518
31519 \end_inset
31520
31521 Hello
31522 \begin_inset ERT
31523 status collapsed
31524
31525 \begin_layout Plain Layout
31526
31527 }
31528 \end_layout
31529
31530 \end_inset
31531
31532
31533 \end_layout
31534
31535 \begin_layout Standard
31536 \begin_inset VSpace bigskip
31537 \end_inset
31538
31539
31540 \begin_inset Note Greyedout
31541 status open
31542
31543 \begin_layout Plain Layout
31544
31545 \series bold
31546 Note:
31547 \series default
31548  When arguments of 
31549 \series bold
31550
31551 \backslash
31552 scalebox
31553 \series default
31554  or 
31555 \series bold
31556
31557 \backslash
31558 resizebox
31559 \series default
31560  are set to zero, no LaTeX-errors occur when exporting the document but
31561  the exported files can not or only partly be displayed.
31562 \end_layout
31563
31564 \end_inset
31565
31566
31567 \end_layout
31568
31569 \begin_layout Standard
31570 \begin_inset VSpace bigskip
31571 \end_inset
31572
31573
31574 \end_layout
31575
31576 \begin_layout Standard
31577 The boxes can be combined in any order.
31578  E.
31579 \begin_inset space \thinspace{}
31580 \end_inset
31581
31582 g.
31583 \begin_inset space \space{}
31584 \end_inset
31585
31586 the command
31587 \begin_inset Newline newline
31588 \end_inset
31589
31590
31591 \series bold
31592
31593 \backslash
31594 rotatebox[origin=c]{-45}{
31595 \backslash
31596 resizebox{2cm}{!}{
31597 \backslash
31598 reflectbox{Hello}}}
31599 \begin_inset Newline newline
31600 \end_inset
31601
31602
31603 \series default
31604 produces:
31605 \end_layout
31606
31607 \begin_layout Standard
31608 \align center
31609 \begin_inset ERT
31610 status collapsed
31611
31612 \begin_layout Plain Layout
31613
31614
31615 \backslash
31616 rotatebox[origin=c]{-45}{
31617 \backslash
31618 resizebox{2cm}{!}{
31619 \backslash
31620 reflectbox{
31621 \end_layout
31622
31623 \end_inset
31624
31625 Hello
31626 \begin_inset ERT
31627 status collapsed
31628
31629 \begin_layout Plain Layout
31630
31631 }}}
31632 \end_layout
31633
31634 \end_inset
31635
31636
31637 \end_layout
31638
31639 \begin_layout Standard
31640 \noindent
31641 Images, tables, and inline formulas are allowed as box content:
31642 \end_layout
31643
31644 \begin_layout Standard
31645 \align center
31646 \begin_inset ERT
31647 status collapsed
31648
31649 \begin_layout Plain Layout
31650
31651
31652 \backslash
31653 rotatebox[origin=c]{-30}{
31654 \backslash
31655 resizebox{2cm}{!}{
31656 \backslash
31657 reflectbox{
31658 \end_layout
31659
31660 \end_inset
31661
31662
31663 \begin_inset Graphics
31664         filename clipart/platypus.eps
31665         lyxscale 50
31666         width 25col%
31667
31668 \end_inset
31669
31670
31671 \begin_inset ERT
31672 status collapsed
31673
31674 \begin_layout Plain Layout
31675
31676 }}}
31677 \end_layout
31678
31679 \end_inset
31680
31681
31682 \begin_inset ERT
31683 status collapsed
31684
31685 \begin_layout Plain Layout
31686
31687
31688 \backslash
31689 rotatebox[origin=c]{-45}{
31690 \backslash
31691 resizebox{2cm}{!}{
31692 \backslash
31693 reflectbox{
31694 \end_layout
31695
31696 \end_inset
31697
31698
31699 \begin_inset Tabular
31700 <lyxtabular version="3" rows="2" columns="2">
31701 <features tabularvalignment="middle">
31702 <column alignment="center" valignment="top" width="0">
31703 <column alignment="center" valignment="top" width="0">
31704 <row>
31705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31706 \begin_inset Text
31707
31708 \begin_layout Plain Layout
31709 q
31710 \end_layout
31711
31712 \end_inset
31713 </cell>
31714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31715 \begin_inset Text
31716
31717 \begin_layout Plain Layout
31718 w
31719 \end_layout
31720
31721 \end_inset
31722 </cell>
31723 </row>
31724 <row>
31725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31726 \begin_inset Text
31727
31728 \begin_layout Plain Layout
31729 e
31730 \end_layout
31731
31732 \end_inset
31733 </cell>
31734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31735 \begin_inset Text
31736
31737 \begin_layout Plain Layout
31738 r
31739 \end_layout
31740
31741 \end_inset
31742 </cell>
31743 </row>
31744 </lyxtabular>
31745
31746 \end_inset
31747
31748
31749 \begin_inset ERT
31750 status collapsed
31751
31752 \begin_layout Plain Layout
31753
31754 }}}
31755 \end_layout
31756
31757 \end_inset
31758
31759
31760 \begin_inset ERT
31761 status collapsed
31762
31763 \begin_layout Plain Layout
31764
31765
31766 \backslash
31767 rotatebox[origin=c]{-45}{
31768 \backslash
31769 resizebox{2cm}{!}{
31770 \backslash
31771 reflectbox{
31772 \end_layout
31773
31774 \end_inset
31775
31776
31777 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31778 \end_inset
31779
31780
31781 \begin_inset ERT
31782 status collapsed
31783
31784 \begin_layout Plain Layout
31785
31786 }}}
31787 \end_layout
31788
31789 \end_inset
31790
31791
31792 \end_layout
31793
31794 \begin_layout Standard
31795 When the global formula style 
31796 \series bold
31797 fleqn
31798 \series default
31799  is used in the document
31800 \begin_inset Foot
31801 status collapsed
31802
31803 \begin_layout Plain Layout
31804 When 
31805 \begin_inset Quotes eld
31806 \end_inset
31807
31808 fleqn
31809 \begin_inset Quotes erd
31810 \end_inset
31811
31812  is added to the document class options.
31813 \end_layout
31814
31815 \end_inset
31816
31817 , display style formulas can also be scaled.
31818 \end_layout
31819
31820 \begin_layout Chapter
31821 Objects Surrounded by Text
31822 \begin_inset Index idx
31823 status collapsed
31824
31825 \begin_layout Plain Layout
31826 Surrounded by text
31827 \end_layout
31828
31829 \end_inset
31830
31831
31832 \end_layout
31833
31834 \begin_layout Section
31835 Wrap Floats
31836 \begin_inset CommandInset label
31837 LatexCommand label
31838 name "sec:Wrap-Floats"
31839
31840 \end_inset
31841
31842
31843 \begin_inset Index idx
31844 status collapsed
31845
31846 \begin_layout Plain Layout
31847 Floats ! Wrap Floats
31848 \end_layout
31849
31850 \end_inset
31851
31852
31853 \begin_inset Index idx
31854 status collapsed
31855
31856 \begin_layout Plain Layout
31857 Surrounded by text ! Wrap Floats
31858 \end_layout
31859
31860 \end_inset
31861
31862
31863 \end_layout
31864
31865 \begin_layout Standard
31866 \begin_inset Wrap figure
31867 lines 0
31868 placement l
31869 overhang 1cm
31870 width "40col%"
31871 status open
31872
31873 \begin_layout Plain Layout
31874 \begin_inset Graphics
31875         filename clipart/mobius.eps
31876         width 40col%
31877         scaleBeforeRotation
31878         rotateOrigin center
31879
31880 \end_inset
31881
31882
31883 \end_layout
31884
31885 \begin_layout Plain Layout
31886 \begin_inset Caption
31887
31888 \begin_layout Plain Layout
31889 \begin_inset CommandInset label
31890 LatexCommand label
31891 name "fig:This-is-a"
31892
31893 \end_inset
31894
31895 This is a figure wrap float.
31896 \end_layout
31897
31898 \end_inset
31899
31900
31901 \end_layout
31902
31903 \end_inset
31904
31905  This float type is used if you want to wrap text around a figure or table
31906  so that it only occupies some fraction of the column width.
31907  It can be inserted using the menu 
31908 \family sans
31909 Insert\SpecialChar \menuseparator
31910 Floats\SpecialChar \menuseparator
31911 Figure
31912 \begin_inset space ~
31913 \end_inset
31914
31915 Wrap
31916 \begin_inset space ~
31917 \end_inset
31918
31919 Float
31920 \family default
31921  or 
31922 \family sans
31923 Table
31924 \begin_inset space ~
31925 \end_inset
31926
31927 Wrap
31928 \begin_inset space ~
31929 \end_inset
31930
31931 Float
31932 \family default
31933  if the LaTeX-package 
31934 \series bold
31935 wrapfig
31936 \series default
31937
31938 \begin_inset Index idx
31939 status collapsed
31940
31941 \begin_layout Plain Layout
31942 LaTeX-packages ! wrapfig
31943 \begin_inset ERT
31944 status collapsed
31945
31946 \begin_layout Plain Layout
31947
31948
31949 \backslash
31950 vspace{4mm}
31951 \end_layout
31952
31953 \end_inset
31954
31955
31956 \end_layout
31957
31958 \end_inset
31959
31960  is installed.
31961 \begin_inset Foot
31962 status collapsed
31963
31964 \begin_layout Plain Layout
31965 Installing a LaTeX-package is explained it in the 
31966 \emph on
31967 LaTeX
31968 \begin_inset space ~
31969 \end_inset
31970
31971 Configuration
31972 \emph default
31973  manual.
31974 \end_layout
31975
31976 \end_inset
31977
31978  The settings of the float can be modified by right-clicking on the float
31979  box.
31980  The mandatory settings are the float 
31981 \family sans
31982 Placement
31983 \family default
31984  and its 
31985 \family sans
31986 Width
31987 \family default
31988 .
31989  Optional are the 
31990 \family sans
31991 Overhang
31992 \family default
31993  that specifies how much the float is set into the paragraph
31994 \begin_inset space \thinspace{}
31995 \end_inset
31996
31997 /
31998 \begin_inset space \thinspace{}
31999 \end_inset
32000
32001 page margin, and the 
32002 \family sans
32003 Line
32004 \begin_inset space ~
32005 \end_inset
32006
32007 span
32008 \family default
32009  that specifies how many text lines the float will approximately need.
32010  The line span is often hard to approximate; so it is better only to use
32011  it when you encounter float placement problems.
32012  You can furthermore decide if LaTeX is allowed to let the float float within
32013  the paragraph or to surrounding paragraphs.
32014  Figure
32015 \begin_inset space ~
32016 \end_inset
32017
32018
32019 \begin_inset CommandInset ref
32020 LatexCommand ref
32021 reference "fig:This-is-a"
32022
32023 \end_inset
32024
32025  is an example text wrap float with a width of 40
32026 \begin_inset space \thinspace{}
32027 \end_inset
32028
32029 col%, 1
32030 \begin_inset space \thinspace{}
32031 \end_inset
32032
32033 cm overhang, set to the left.
32034 \end_layout
32035
32036 \begin_layout Standard
32037 \begin_inset Note Greyedout
32038 status open
32039
32040 \begin_layout Plain Layout
32041
32042 \series bold
32043 Note:
32044 \series default
32045  Text
32046 \begin_inset space ~
32047 \end_inset
32048
32049 wrap float floats are fragile! E.
32050 \begin_inset space \thinspace{}
32051 \end_inset
32052
32053 g.
32054 \begin_inset space \space{}
32055 \end_inset
32056
32057 having a figure too close to the bottom of the page can mess things up in
32058  such a way that the float does not appear in the output or that it is placed
32059  over some other text.
32060 \end_layout
32061
32062 \end_inset
32063
32064
32065 \end_layout
32066
32067 \begin_layout Standard
32068 In general, the following applies for wrap floats:
32069 \end_layout
32070
32071 \begin_layout Itemize
32072 They should not be placed in paragraphs that run over a page break.
32073  That means that wrap floats are better inserted in their exact place when
32074  the document is almost finished and you are able to estimate where page
32075  breaks will appear.
32076 \end_layout
32077
32078 \begin_layout Itemize
32079 They should either be placed in their own paragraph before the paragraph
32080  where they should wrap into or within a paragraph.
32081 \end_layout
32082
32083 \begin_layout Itemize
32084 In consecutive paragraphs they may cause troubles, so ensure that there
32085  is a text paragraph between them as separator.
32086 \end_layout
32087
32088 \begin_layout Itemize
32089 They are not allowed in section headings or tables.
32090 \end_layout
32091
32092 \begin_layout Itemize
32093 Their numbering and referencing works as described in chap.
32094 \begin_inset space \thinspace{}
32095 \end_inset
32096
32097
32098 \begin_inset CommandInset ref
32099 LatexCommand ref
32100 reference "chap:Floats"
32101
32102 \end_inset
32103
32104 .
32105 \end_layout
32106
32107 \begin_layout Section
32108 Surrounded Fixed Objects
32109 \begin_inset Index idx
32110 status collapsed
32111
32112 \begin_layout Plain Layout
32113 Surrounded by text ! Fixed objects
32114 \end_layout
32115
32116 \end_inset
32117
32118
32119 \end_layout
32120
32121 \begin_layout Standard
32122 The wrap floats described in sec.
32123 \begin_inset space \thinspace{}
32124 \end_inset
32125
32126
32127 \begin_inset CommandInset ref
32128 LatexCommand ref
32129 reference "sec:Wrap-Floats"
32130
32131 \end_inset
32132
32133  have these positions in the paragraph:
32134 \end_layout
32135
32136 \begin_layout Standard
32137 \noindent
32138 \align center
32139 \begin_inset Tabular
32140 <lyxtabular version="3" rows="2" columns="2">
32141 <features tabularvalignment="middle">
32142 <column alignment="center" valignment="top" width="0">
32143 <column alignment="center" valignment="top" width="0">
32144 <row>
32145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32146 \begin_inset Text
32147
32148 \begin_layout Plain Layout
32149 \begin_inset Graphics
32150         filename ../images/dialog-show-new-inset_graphics.png
32151         scale 70
32152         scaleBeforeRotation
32153         BoundingBox 0bp 6bp 22bp 22bp
32154
32155 \end_inset
32156
32157
32158 \end_layout
32159
32160 \end_inset
32161 </cell>
32162 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32163 \begin_inset Text
32164
32165 \begin_layout Plain Layout
32166 text
32167 \end_layout
32168
32169 \end_inset
32170 </cell>
32171 </row>
32172 <row>
32173 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32174 \begin_inset Text
32175
32176 \begin_layout Plain Layout
32177 text
32178 \end_layout
32179
32180 \end_inset
32181 </cell>
32182 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32183 \begin_inset Text
32184
32185 \begin_layout Plain Layout
32186 text
32187 \end_layout
32188
32189 \end_inset
32190 </cell>
32191 </row>
32192 </lyxtabular>
32193
32194 \end_inset
32195
32196  or 
32197 \begin_inset Tabular
32198 <lyxtabular version="3" rows="2" columns="2">
32199 <features tabularvalignment="middle">
32200 <column alignment="center" valignment="top" width="0">
32201 <column alignment="center" valignment="top" width="0">
32202 <row>
32203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32204 \begin_inset Text
32205
32206 \begin_layout Plain Layout
32207 text
32208 \end_layout
32209
32210 \end_inset
32211 </cell>
32212 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32213 \begin_inset Text
32214
32215 \begin_layout Plain Layout
32216 \begin_inset Graphics
32217         filename ../images/dialog-show-new-inset_graphics.png
32218         scale 70
32219         scaleBeforeRotation
32220         BoundingBox 0bp 6bp 22bp 22bp
32221
32222 \end_inset
32223
32224
32225 \end_layout
32226
32227 \end_inset
32228 </cell>
32229 </row>
32230 <row>
32231 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32232 \begin_inset Text
32233
32234 \begin_layout Plain Layout
32235 text
32236 \end_layout
32237
32238 \end_inset
32239 </cell>
32240 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32241 \begin_inset Text
32242
32243 \begin_layout Plain Layout
32244 text
32245 \end_layout
32246
32247 \end_inset
32248 </cell>
32249 </row>
32250 </lyxtabular>
32251
32252 \end_inset
32253
32254
32255 \end_layout
32256
32257 \begin_layout Standard
32258 To get an object exactly at the position where it is inserted, for example
32259  to get one of these positions:
32260 \begin_inset VSpace defskip
32261 \end_inset
32262
32263
32264 \end_layout
32265
32266 \begin_layout Standard
32267 \noindent
32268 \align center
32269 \begin_inset Tabular
32270 <lyxtabular version="3" rows="2" columns="2">
32271 <features tabularvalignment="middle">
32272 <column alignment="center" valignment="top" width="0">
32273 <column alignment="center" valignment="top" width="0">
32274 <row>
32275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32276 \begin_inset Text
32277
32278 \begin_layout Plain Layout
32279 text
32280 \end_layout
32281
32282 \end_inset
32283 </cell>
32284 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32285 \begin_inset Text
32286
32287 \begin_layout Plain Layout
32288 text
32289 \end_layout
32290
32291 \end_inset
32292 </cell>
32293 </row>
32294 <row>
32295 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32296 \begin_inset Text
32297
32298 \begin_layout Plain Layout
32299 \begin_inset Graphics
32300         filename ../images/dialog-show-new-inset_graphics.png
32301         scale 70
32302         scaleBeforeRotation
32303         BoundingBox 0bp 6bp 22bp 22bp
32304
32305 \end_inset
32306
32307
32308 \end_layout
32309
32310 \end_inset
32311 </cell>
32312 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32313 \begin_inset Text
32314
32315 \begin_layout Plain Layout
32316 text
32317 \end_layout
32318
32319 \end_inset
32320 </cell>
32321 </row>
32322 </lyxtabular>
32323
32324 \end_inset
32325
32326  
32327 \begin_inset Tabular
32328 <lyxtabular version="3" rows="2" columns="2">
32329 <features tabularvalignment="middle">
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 text
32338 \end_layout
32339
32340 \end_inset
32341 </cell>
32342 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32343 \begin_inset Text
32344
32345 \begin_layout Plain Layout
32346 text
32347 \end_layout
32348
32349 \end_inset
32350 </cell>
32351 </row>
32352 <row>
32353 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32354 \begin_inset Text
32355
32356 \begin_layout Plain Layout
32357 text
32358 \end_layout
32359
32360 \end_inset
32361 </cell>
32362 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32363 \begin_inset Text
32364
32365 \begin_layout Plain Layout
32366 \begin_inset Graphics
32367         filename ../images/dialog-show-new-inset_graphics.png
32368         scale 70
32369         scaleBeforeRotation
32370         BoundingBox 0bp 6bp 22bp 22bp
32371
32372 \end_inset
32373
32374
32375 \end_layout
32376
32377 \end_inset
32378 </cell>
32379 </row>
32380 </lyxtabular>
32381
32382 \end_inset
32383
32384  
32385 \begin_inset Tabular
32386 <lyxtabular version="3" rows="2" columns="3">
32387 <features tabularvalignment="middle">
32388 <column alignment="center" valignment="top" width="0">
32389 <column alignment="center" valignment="top" width="0">
32390 <column alignment="center" valignment="top" width="0">
32391 <row>
32392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32393 \begin_inset Text
32394
32395 \begin_layout Plain Layout
32396 text
32397 \end_layout
32398
32399 \end_inset
32400 </cell>
32401 <cell alignment="center" valignment="top" topline="true" usebox="none">
32402 \begin_inset Text
32403
32404 \begin_layout Plain Layout
32405 \begin_inset Graphics
32406         filename ../images/dialog-show-new-inset_graphics.png
32407         scale 70
32408         scaleBeforeRotation
32409         BoundingBox 0bp 6bp 22bp 22bp
32410
32411 \end_inset
32412
32413
32414 \end_layout
32415
32416 \end_inset
32417 </cell>
32418 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32419 \begin_inset Text
32420
32421 \begin_layout Plain Layout
32422 text
32423 \end_layout
32424
32425 \end_inset
32426 </cell>
32427 </row>
32428 <row>
32429 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32430 \begin_inset Text
32431
32432 \begin_layout Plain Layout
32433 text
32434 \end_layout
32435
32436 \end_inset
32437 </cell>
32438 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32439 \begin_inset Text
32440
32441 \begin_layout Plain Layout
32442 text
32443 \end_layout
32444
32445 \end_inset
32446 </cell>
32447 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32448 \begin_inset Text
32449
32450 \begin_layout Plain Layout
32451 text
32452 \end_layout
32453
32454 \end_inset
32455 </cell>
32456 </row>
32457 </lyxtabular>
32458
32459 \end_inset
32460
32461  
32462 \begin_inset Tabular
32463 <lyxtabular version="3" rows="2" columns="3">
32464 <features tabularvalignment="middle">
32465 <column alignment="center" valignment="top" width="0">
32466 <column alignment="center" valignment="top" width="0">
32467 <column alignment="center" valignment="top" width="0">
32468 <row>
32469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32470 \begin_inset Text
32471
32472 \begin_layout Plain Layout
32473 text
32474 \end_layout
32475
32476 \end_inset
32477 </cell>
32478 <cell alignment="center" valignment="top" topline="true" usebox="none">
32479 \begin_inset Text
32480
32481 \begin_layout Plain Layout
32482 text
32483 \end_layout
32484
32485 \end_inset
32486 </cell>
32487 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32488 \begin_inset Text
32489
32490 \begin_layout Plain Layout
32491 text
32492 \end_layout
32493
32494 \end_inset
32495 </cell>
32496 </row>
32497 <row>
32498 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32499 \begin_inset Text
32500
32501 \begin_layout Plain Layout
32502 text
32503 \end_layout
32504
32505 \end_inset
32506 </cell>
32507 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32508 \begin_inset Text
32509
32510 \begin_layout Plain Layout
32511 \begin_inset Graphics
32512         filename ../images/dialog-show-new-inset_graphics.png
32513         scale 70
32514         scaleBeforeRotation
32515         BoundingBox 0bp 6bp 22bp 22bp
32516
32517 \end_inset
32518
32519
32520 \end_layout
32521
32522 \end_inset
32523 </cell>
32524 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32525 \begin_inset Text
32526
32527 \begin_layout Plain Layout
32528 text
32529 \end_layout
32530
32531 \end_inset
32532 </cell>
32533 </row>
32534 </lyxtabular>
32535
32536 \end_inset
32537
32538
32539 \end_layout
32540
32541 \begin_layout Standard
32542 \noindent
32543 \align center
32544 \begin_inset Tabular
32545 <lyxtabular version="3" rows="3" columns="2">
32546 <features tabularvalignment="middle">
32547 <column alignment="center" valignment="top" width="0">
32548 <column alignment="center" valignment="top" width="0">
32549 <row>
32550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32551 \begin_inset Text
32552
32553 \begin_layout Plain Layout
32554 text
32555 \end_layout
32556
32557 \end_inset
32558 </cell>
32559 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32560 \begin_inset Text
32561
32562 \begin_layout Plain Layout
32563 text
32564 \end_layout
32565
32566 \end_inset
32567 </cell>
32568 </row>
32569 <row>
32570 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32571 \begin_inset Text
32572
32573 \begin_layout Plain Layout
32574 \begin_inset Graphics
32575         filename ../images/dialog-show-new-inset_graphics.png
32576         scale 70
32577         scaleBeforeRotation
32578         BoundingBox 0bp 6bp 22bp 22bp
32579
32580 \end_inset
32581
32582
32583 \end_layout
32584
32585 \end_inset
32586 </cell>
32587 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32588 \begin_inset Text
32589
32590 \begin_layout Plain Layout
32591 text
32592 \end_layout
32593
32594 \end_inset
32595 </cell>
32596 </row>
32597 <row>
32598 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32599 \begin_inset Text
32600
32601 \begin_layout Plain Layout
32602 text
32603 \end_layout
32604
32605 \end_inset
32606 </cell>
32607 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32608 \begin_inset Text
32609
32610 \begin_layout Plain Layout
32611 text
32612 \end_layout
32613
32614 \end_inset
32615 </cell>
32616 </row>
32617 </lyxtabular>
32618
32619 \end_inset
32620
32621  
32622 \begin_inset Tabular
32623 <lyxtabular version="3" rows="3" columns="3">
32624 <features tabularvalignment="middle">
32625 <column alignment="center" valignment="top" width="0">
32626 <column alignment="center" valignment="top" width="0">
32627 <column alignment="center" valignment="top" width="0">
32628 <row>
32629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32630 \begin_inset Text
32631
32632 \begin_layout Plain Layout
32633 text
32634 \end_layout
32635
32636 \end_inset
32637 </cell>
32638 <cell alignment="center" valignment="top" topline="true" usebox="none">
32639 \begin_inset Text
32640
32641 \begin_layout Plain Layout
32642 text
32643 \end_layout
32644
32645 \end_inset
32646 </cell>
32647 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32648 \begin_inset Text
32649
32650 \begin_layout Plain Layout
32651 text
32652 \end_layout
32653
32654 \end_inset
32655 </cell>
32656 </row>
32657 <row>
32658 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32659 \begin_inset Text
32660
32661 \begin_layout Plain Layout
32662 text
32663 \end_layout
32664
32665 \end_inset
32666 </cell>
32667 <cell alignment="center" valignment="top" usebox="none">
32668 \begin_inset Text
32669
32670 \begin_layout Plain Layout
32671 \begin_inset Graphics
32672         filename ../images/dialog-show-new-inset_graphics.png
32673         scale 70
32674         scaleBeforeRotation
32675         BoundingBox 0bp 6bp 22bp 22bp
32676
32677 \end_inset
32678
32679
32680 \end_layout
32681
32682 \end_inset
32683 </cell>
32684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32685 \begin_inset Text
32686
32687 \begin_layout Plain Layout
32688 text
32689 \end_layout
32690
32691 \end_inset
32692 </cell>
32693 </row>
32694 <row>
32695 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32696 \begin_inset Text
32697
32698 \begin_layout Plain Layout
32699 text
32700 \end_layout
32701
32702 \end_inset
32703 </cell>
32704 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32705 \begin_inset Text
32706
32707 \begin_layout Plain Layout
32708 text
32709 \end_layout
32710
32711 \end_inset
32712 </cell>
32713 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32714 \begin_inset Text
32715
32716 \begin_layout Plain Layout
32717 text
32718 \end_layout
32719
32720 \end_inset
32721 </cell>
32722 </row>
32723 </lyxtabular>
32724
32725 \end_inset
32726
32727  
32728 \begin_inset Tabular
32729 <lyxtabular version="3" rows="3" columns="2">
32730 <features tabularvalignment="middle">
32731 <column alignment="center" valignment="top" width="0">
32732 <column alignment="center" valignment="top" width="0">
32733 <row>
32734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32735 \begin_inset Text
32736
32737 \begin_layout Plain Layout
32738 text
32739 \end_layout
32740
32741 \end_inset
32742 </cell>
32743 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32744 \begin_inset Text
32745
32746 \begin_layout Plain Layout
32747 text
32748 \end_layout
32749
32750 \end_inset
32751 </cell>
32752 </row>
32753 <row>
32754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32755 \begin_inset Text
32756
32757 \begin_layout Plain Layout
32758 text
32759 \end_layout
32760
32761 \end_inset
32762 </cell>
32763 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32764 \begin_inset Text
32765
32766 \begin_layout Plain Layout
32767 \begin_inset Graphics
32768         filename ../images/dialog-show-new-inset_graphics.png
32769         scale 70
32770         scaleBeforeRotation
32771         BoundingBox 0bp 6bp 22bp 22bp
32772
32773 \end_inset
32774
32775
32776 \end_layout
32777
32778 \end_inset
32779 </cell>
32780 </row>
32781 <row>
32782 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32783 \begin_inset Text
32784
32785 \begin_layout Plain Layout
32786 text
32787 \end_layout
32788
32789 \end_inset
32790 </cell>
32791 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32792 \begin_inset Text
32793
32794 \begin_layout Plain Layout
32795 text
32796 \end_layout
32797
32798 \end_inset
32799 </cell>
32800 </row>
32801 </lyxtabular>
32802
32803 \end_inset
32804
32805
32806 \end_layout
32807
32808 \begin_layout Standard
32809 \noindent
32810 you can use the LaTeX-package 
32811 \series bold
32812 picinpar
32813 \series default
32814
32815 \begin_inset Index idx
32816 status collapsed
32817
32818 \begin_layout Plain Layout
32819 LaTeX-packages ! picinpar
32820 \end_layout
32821
32822 \end_inset
32823
32824 .
32825  Here is an example:
32826 \end_layout
32827
32828 \begin_layout Standard
32829 \begin_inset ERT
32830 status collapsed
32831
32832 \begin_layout Plain Layout
32833
32834
32835 \backslash
32836 ifpicinpar
32837 \end_layout
32838
32839 \end_inset
32840
32841
32842 \begin_inset Note Note
32843 status open
32844
32845 \begin_layout Plain Layout
32846 The following section will only be displayed when the LaTeX-package 
32847 \series bold
32848 picinpar
32849 \series default
32850  is installed.
32851 \end_layout
32852
32853 \end_inset
32854
32855
32856 \end_layout
32857
32858 \begin_layout Standard
32859 \begin_inset ERT
32860 status collapsed
32861
32862 \begin_layout Plain Layout
32863
32864
32865 \backslash
32866 begin{window}[2,c,{
32867 \end_layout
32868
32869 \end_inset
32870
32871
32872 \begin_inset Graphics
32873         filename clipart/mobius.eps
32874         lyxscale 60
32875         width 40col%
32876         scaleBeforeRotation
32877         rotateOrigin center
32878
32879 \end_inset
32880
32881
32882 \begin_inset ERT
32883 status collapsed
32884
32885 \begin_layout Plain Layout
32886
32887 },]
32888 \end_layout
32889
32890 \begin_layout Plain Layout
32891
32892 {}
32893 \end_layout
32894
32895 \end_inset
32896
32897
32898 \size small
32899 It was in the spring of the year 1894 that all London was interested, and
32900  the fashionable world dismayed, by the murder of the Honourable Ronald
32901  Adair under most unusual and inexplicable circumstances.
32902  The public has already learned those particulars of the crime which
32903 \size default
32904
32905 \begin_inset ERT
32906 status collapsed
32907
32908 \begin_layout Plain Layout
32909
32910
32911 \backslash
32912 footnotemark{}
32913 \end_layout
32914
32915 \end_inset
32916
32917
32918 \size small
32919  came out in the police investigation, but a good deal was suppressed upon
32920  that occasion, since the case for the prosecution was so overwhelmingly
32921  strong that it was not necessary to bring forward all the facts.
32922  Only now, at the end of nearly ten years, am I allowed to supply those
32923  missing links which make up the whole of that remarkable chain.
32924 \size default
32925
32926 \begin_inset ERT
32927 status collapsed
32928
32929 \begin_layout Plain Layout
32930
32931
32932 \backslash
32933 end{window}
32934 \end_layout
32935
32936 \end_inset
32937
32938
32939 \end_layout
32940
32941 \begin_layout Standard
32942 \begin_inset ERT
32943 status collapsed
32944
32945 \begin_layout Plain Layout
32946
32947
32948 \backslash
32949 footnotetext{
32950 \end_layout
32951
32952 \end_inset
32953
32954 Footnote of the paragraph with the fixed object.
32955 \begin_inset ERT
32956 status collapsed
32957
32958 \begin_layout Plain Layout
32959
32960 }
32961 \end_layout
32962
32963 \end_inset
32964
32965
32966 \end_layout
32967
32968 \begin_layout Standard
32969 Surrounded fixed objects are used to let text float around them, at which
32970  the object's position in the paragraph can be determined by the number
32971  of lines above it.
32972  In contrary to floats is it not possible to have a numbered caption.
32973 \end_layout
32974
32975 \begin_layout Standard
32976 A fixed object is inserted by adding the command
32977 \end_layout
32978
32979 \begin_layout Standard
32980
32981 \series bold
32982
32983 \backslash
32984 begin{window}[2,c,{
32985 \end_layout
32986
32987 \begin_layout Standard
32988 as TeX Code at the beginning of the paragraph.
32989  The first parameter in the bracket, here '2', defines the number of lines
32990  above the object, the second, here 'c', the position of the object.
32991  The positions 'l', 'c' and 'r' (for left, center, right) are possible.
32992  Behind the command you insert the object.
32993  In this example an image with a width of 40
32994 \begin_inset space \thinspace{}
32995 \end_inset
32996
32997 % of the text column width was inserted.
32998  The object can also be a table, a box or an equation.
32999  Behind the object the command
33000 \end_layout
33001
33002 \begin_layout Standard
33003
33004 \series bold
33005 },description text]
33006 \begin_inset Newline newline
33007 \end_inset
33008
33009 {}
33010 \end_layout
33011
33012 \begin_layout Standard
33013 is inserted.
33014  Note that the 
33015 \begin_inset Quotes eld
33016 \end_inset
33017
33018
33019 \series bold
33020 {}
33021 \series default
33022
33023 \begin_inset Quotes erd
33024 \end_inset
33025
33026  is in the second line.
33027  The description text is optional.
33028  The text surrounding the object must be in the same paragraph as the object,
33029  so it must begin directly after the 
33030 \series bold
33031 {}
33032 \series default
33033 .
33034  At the end of the paragraph insert the command:
33035 \end_layout
33036
33037 \begin_layout Standard
33038
33039 \series bold
33040
33041 \backslash
33042 end{window}
33043 \end_layout
33044
33045 \begin_layout Standard
33046 Within a paragraph with a fixed object, you cannot insert footnotes in the
33047  normal way.
33048  You have to use instead the command 
33049 \series bold
33050
33051 \backslash
33052 footnotemark
33053 \series default
33054  inside the paragraph and outside the command 
33055 \series bold
33056
33057 \backslash
33058 footnotetext
33059 \series default
33060  as described in sec.
33061 \begin_inset space \thinspace{}
33062 \end_inset
33063
33064
33065 \begin_inset CommandInset ref
33066 LatexCommand ref
33067 reference "sec:Footnotes"
33068
33069 \end_inset
33070
33071 .
33072 \end_layout
33073
33074 \begin_layout Standard
33075 \begin_inset ERT
33076 status collapsed
33077
33078 \begin_layout Plain Layout
33079
33080
33081 \backslash
33082 else
33083 \end_layout
33084
33085 \end_inset
33086
33087
33088 \begin_inset Note Note
33089 status open
33090
33091 \begin_layout Plain Layout
33092 The following will be displayed when the LaTeX-package 
33093 \series bold
33094 picinpar
33095 \series default
33096  is not installed:
33097 \end_layout
33098
33099 \end_inset
33100
33101
33102 \end_layout
33103
33104 \begin_layout Standard
33105 You need to install the LaTeX-package 
33106 \series bold
33107 picinpar
33108 \series default
33109  to see the following part of this section in the output.
33110 \end_layout
33111
33112 \begin_layout Standard
33113 \begin_inset ERT
33114 status collapsed
33115
33116 \begin_layout Plain Layout
33117
33118
33119 \backslash
33120 fi
33121 \end_layout
33122
33123 \end_inset
33124
33125
33126 \end_layout
33127
33128 \begin_layout Section
33129 Initials
33130 \begin_inset Index idx
33131 status collapsed
33132
33133 \begin_layout Plain Layout
33134 Initials
33135 \end_layout
33136
33137 \end_inset
33138
33139
33140 \begin_inset Index idx
33141 status collapsed
33142
33143 \begin_layout Plain Layout
33144 Surrounded by text ! Initials
33145 \end_layout
33146
33147 \end_inset
33148
33149
33150 \end_layout
33151
33152 \begin_layout Standard
33153 To use initials, you must have the LaTeX-package 
33154 \series bold
33155 lettrine
33156 \series default
33157
33158 \begin_inset Index idx
33159 status collapsed
33160
33161 \begin_layout Plain Layout
33162 LaTeX-packages ! lettrine
33163 \end_layout
33164
33165 \end_inset
33166
33167  installed and use the module 
33168 \family sans
33169 Initials
33170 \family default
33171  in your document (menu 
33172 \family sans
33173 Document\SpecialChar \menuseparator
33174 Settings\SpecialChar \menuseparator
33175 Modules
33176 \family default
33177 ).
33178  To insert an initial, use the style 
33179 \family sans
33180 Initial
33181 \family default
33182 .
33183  This style has a mandatory and an optional argument.
33184  The mandatory argument is inserted via the menu 
33185 \family sans
33186 Insert\SpecialChar \menuseparator
33187 Short
33188 \begin_inset space ~
33189 \end_inset
33190
33191 Title
33192 \family default
33193  and contains the letter that is the initial.
33194  To use the also the optional argument, insert another argument in front
33195  of the mandatory argument.
33196  This one contains parameters to modify the initial.
33197  For more information about the possible parameters see the documentation
33198  of 
33199 \series bold
33200 lettrine
33201 \series default
33202
33203 \begin_inset CommandInset citation
33204 LatexCommand cite
33205 key "lettrine"
33206
33207 \end_inset
33208
33209 .
33210  The style itself contains the text that is surrounding the initial.
33211  The usual style is hereby that the word whose first letter is the initial,
33212  is printed with 
33213 \shape smallcaps
33214 small caps
33215 \shape default
33216 .
33217  To tell LaTeX where this word is finished, add a closing brace '
33218 \series bold
33219 }
33220 \series default
33221 ' as TeX Code behind it.
33222  At the end of the style there must be an opening brace '
33223 \series bold
33224 {
33225 \series default
33226 ' as TeX Code.
33227 \end_layout
33228
33229 \begin_layout Standard
33230 Here are some examples:
33231 \end_layout
33232
33233 \begin_layout Enumerate
33234 No optional argument, the initial is the letter 'I' in the math font 
33235 \begin_inset Formula $\mathfrak{Fraktur}$
33236 \end_inset
33237
33238 :
33239 \end_layout
33240
33241 \begin_deeper
33242 \begin_layout Initial
33243 \begin_inset Argument
33244 status open
33245
33246 \begin_layout Plain Layout
33247 \begin_inset Formula $\mathfrak{I}$
33248 \end_inset
33249
33250
33251 \end_layout
33252
33253 \end_inset
33254
33255 t
33256 \begin_inset ERT
33257 status collapsed
33258
33259 \begin_layout Plain Layout
33260
33261 }
33262 \end_layout
33263
33264 \end_inset
33265
33266  was in the spring of the year 1894 that all London was interested, and
33267  the fashionable world dismayed, by the murder of the Honourable Ronald
33268  Adair under most unusual and inexplicable circumstances.
33269  The public has already learned those particulars of the crime which came
33270  out in the police investigation, but a good deal was suppressed upon that
33271  occasion, since the case for the prosecution was so overwhelmingly strong
33272  that it was not necessary to bring forward all the facts.
33273 \begin_inset ERT
33274 status collapsed
33275
33276 \begin_layout Plain Layout
33277
33278 {
33279 \end_layout
33280
33281 \end_inset
33282
33283
33284 \begin_inset Newpage newpage
33285 \end_inset
33286
33287
33288 \end_layout
33289
33290 \end_deeper
33291 \begin_layout Enumerate
33292 Only one line is surrounding the initial, which is formed by two letters
33293  in standard font and no text is printed in small caps:
33294 \end_layout
33295
33296 \begin_deeper
33297 \begin_layout Initial
33298 \begin_inset Argument
33299 status open
33300
33301 \begin_layout Plain Layout
33302 lines=1
33303 \end_layout
33304
33305 \end_inset
33306
33307
33308 \begin_inset Argument
33309 status open
33310
33311 \begin_layout Plain Layout
33312 It
33313 \end_layout
33314
33315 \end_inset
33316
33317
33318 \begin_inset ERT
33319 status collapsed
33320
33321 \begin_layout Plain Layout
33322
33323 }
33324 \end_layout
33325
33326 \end_inset
33327
33328  was in the spring of the year 1894 that all London was interested, and
33329  the fashionable world dismayed, by the murder of the Honourable Ronald
33330  Adair under most unusual and inexplicable circumstances.
33331  The public has already learned those particulars of the crime which came
33332  out in the police investigation, but a good deal was suppressed upon that
33333  occasion, since the case for the prosecution was so overwhelmingly strong
33334  that it was not necessary to bring forward all the facts.
33335 \begin_inset ERT
33336 status collapsed
33337
33338 \begin_layout Plain Layout
33339
33340 {
33341 \end_layout
33342
33343 \end_inset
33344
33345
33346 \end_layout
33347
33348 \end_deeper
33349 \begin_layout Enumerate
33350 Magenta, hanging initial over 3
33351 \begin_inset space ~
33352 \end_inset
33353
33354 lines in the math font 
33355 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
33356 \end_inset
33357
33358 , the text 
33359 \begin_inset Quotes eld
33360 \end_inset
33361
33362 t was in the spring
33363 \begin_inset Quotes erd
33364 \end_inset
33365
33366  is in 
33367 \shape smallcaps
33368 small caps
33369 \shape default
33370 ; to color the initial, you must insert this command before the initial:
33371 \begin_inset Newline newline
33372 \end_inset
33373
33374
33375 \series bold
33376
33377 \backslash
33378 renewcommand{
33379 \backslash
33380 LettrineFontHook}{
33381 \backslash
33382 color{color}}
33383 \series default
33384
33385 \begin_inset Newline newline
33386 \end_inset
33387
33388 where the second 
33389 \emph on
33390 color
33391 \emph default
33392  can be 
33393 \begin_inset Quotes eld
33394 \end_inset
33395
33396 red
33397 \begin_inset Quotes erd
33398 \end_inset
33399
33400
33401 \begin_inset Quotes eld
33402 \end_inset
33403
33404 blue
33405 \begin_inset Quotes erd
33406 \end_inset
33407
33408
33409 \begin_inset Quotes eld
33410 \end_inset
33411
33412 green
33413 \begin_inset Quotes erd
33414 \end_inset
33415
33416
33417 \begin_inset Quotes eld
33418 \end_inset
33419
33420 yellow
33421 \begin_inset Quotes erd
33422 \end_inset
33423
33424
33425 \begin_inset Quotes eld
33426 \end_inset
33427
33428 cyan
33429 \begin_inset Quotes erd
33430 \end_inset
33431
33432
33433 \begin_inset Quotes eld
33434 \end_inset
33435
33436 magenta
33437 \begin_inset Quotes erd
33438 \end_inset
33439
33440
33441 \begin_inset Quotes eld
33442 \end_inset
33443
33444 black
33445 \begin_inset Quotes erd
33446 \end_inset
33447
33448  or 
33449 \begin_inset Quotes eld
33450 \end_inset
33451
33452 white
33453 \begin_inset Quotes erd
33454 \end_inset
33455
33456 , and add this command to the document preamble:
33457 \begin_inset Newline newline
33458 \end_inset
33459
33460
33461 \series bold
33462
33463 \backslash
33464 @ifundefined{textcolor}
33465 \begin_inset Newline newline
33466 \end_inset
33467
33468
33469 \begin_inset space ~
33470 \end_inset
33471
33472 {
33473 \backslash
33474 usepackage{color}}{}
33475 \end_layout
33476
33477 \begin_deeper
33478 \begin_layout Standard
33479 \begin_inset ERT
33480 status collapsed
33481
33482 \begin_layout Plain Layout
33483
33484
33485 \backslash
33486 renewcommand{
33487 \backslash
33488 LettrineFontHook}{
33489 \backslash
33490 color{magenta}}
33491 \end_layout
33492
33493 \end_inset
33494
33495
33496 \begin_inset Note Note
33497 status collapsed
33498
33499 \begin_layout Plain Layout
33500 makes the initial magenta
33501 \end_layout
33502
33503 \end_inset
33504
33505
33506 \end_layout
33507
33508 \begin_layout Initial
33509 \begin_inset Argument
33510 status open
33511
33512 \begin_layout Plain Layout
33513 lines=3, lhang=0.33, loversize=0.25
33514 \end_layout
33515
33516 \end_inset
33517
33518
33519 \begin_inset Argument
33520 status open
33521
33522 \begin_layout Plain Layout
33523 \begin_inset Formula $\mathcal{I}$
33524 \end_inset
33525
33526
33527 \end_layout
33528
33529 \end_inset
33530
33531 t was in the spring
33532 \begin_inset ERT
33533 status collapsed
33534
33535 \begin_layout Plain Layout
33536
33537 }
33538 \end_layout
33539
33540 \end_inset
33541
33542  of the year 1894 that all London was interested, and the fashionable world
33543  dismayed, by the murder of the Honourable Ronald Adair under most unusual
33544  and inexplicable circumstances.
33545  The public has already learned those particulars of the crime which came
33546  out in the police investigation, but a good deal was suppressed upon that
33547  occasion, since the case for the prosecution was so overwhelmingly strong
33548  that it was not necessary to bring forward all the facts.
33549 \begin_inset ERT
33550 status collapsed
33551
33552 \begin_layout Plain Layout
33553
33554 {
33555 \end_layout
33556
33557 \end_inset
33558
33559
33560 \end_layout
33561
33562 \end_deeper
33563 \begin_layout Chapter
33564 External Document Parts
33565 \begin_inset Index idx
33566 status collapsed
33567
33568 \begin_layout Plain Layout
33569 External Document Parts
33570 \end_layout
33571
33572 \end_inset
33573
33574
33575 \end_layout
33576
33577 \begin_layout Standard
33578 With the menu 
33579 \family sans
33580 Insert\SpecialChar \menuseparator
33581 File
33582 \family default
33583  you can insert external material to your document.
33584  This can be:
33585 \end_layout
33586
33587 \begin_layout Description
33588 LyX
33589 \begin_inset space ~
33590 \end_inset
33591
33592 Document Another LyX document; its content is directly inserted to your
33593  document.
33594 \end_layout
33595
33596 \begin_layout Description
33597 Plain
33598 \begin_inset space ~
33599 \end_inset
33600
33601 Text A text document; each line is inserted in your document as a separate
33602  paragraph.
33603 \end_layout
33604
33605 \begin_layout Description
33606 Plain
33607 \begin_inset space ~
33608 \end_inset
33609
33610 Text,
33611 \begin_inset space ~
33612 \end_inset
33613
33614 Join
33615 \begin_inset space ~
33616 \end_inset
33617
33618 Lines A text document; text lines are inserted in your document continuously
33619  but an empty text line creates a new paragraph.
33620 \end_layout
33621
33622 \begin_layout Description
33623 External
33624 \begin_inset space ~
33625 \end_inset
33626
33627 Material Files in various formats.
33628 \end_layout
33629
33630 \begin_layout Description
33631 Child
33632 \begin_inset space ~
33633 \end_inset
33634
33635 Document LyX or LaTeX-documents.
33636 \end_layout
33637
33638 \begin_layout Section
33639 External Material
33640 \begin_inset Index idx
33641 status collapsed
33642
33643 \begin_layout Plain Layout
33644 External Document Parts ! External Material
33645 \end_layout
33646
33647 \end_inset
33648
33649
33650 \end_layout
33651
33652 \begin_layout Standard
33653 The external material feature allows you to insert files in to your document
33654  without converting them to a format that can be read by the document output
33655  format.
33656  LyX takes care of the necessary conversions.
33657  This is similar to images that can be inserted in various image formats
33658  in LyX documents.
33659  When you have enabled Instant Preview in LyX's preferences under 
33660 \family sans
33661 Look
33662 \begin_inset space ~
33663 \end_inset
33664
33665 and
33666 \begin_inset space ~
33667 \end_inset
33668
33669 feel\SpecialChar \menuseparator
33670 Graphics
33671 \family default
33672 , the external material types Dia and Xfig are directly shown in LyX.
33673 \end_layout
33674
33675 \begin_layout Standard
33676 External material can be inserted via the 
33677 \family sans
33678 External Material
33679 \family default
33680  dialog that is accessible with the menu 
33681 \family sans
33682 Insert\SpecialChar \menuseparator
33683 File\SpecialChar \menuseparator
33684 External
33685 \begin_inset space ~
33686 \end_inset
33687
33688 Material
33689 \family default
33690 .
33691  Currently the following file types (
33692 \family sans
33693 Templates
33694 \family default
33695 ) are allowed:
33696 \end_layout
33697
33698 \begin_layout Description
33699 ChessDiagram This template supports chess position diagrams made with the
33700  program 
33701 \series bold
33702
33703 \begin_inset CommandInset href
33704 LatexCommand href
33705 name "XBoard"
33706 target "http://en.wikipedia.org/wiki/XBoard"
33707
33708 \end_inset
33709
33710
33711 \series default
33712 .
33713 \end_layout
33714
33715 \begin_layout Description
33716 Date This inserts the date in the form 
33717 \emph on
33718 Day-Month-Year
33719 \emph default
33720 .
33721  This is a date inserted as external material: 
33722 \begin_inset External
33723         template Date
33724         filename .
33725
33726 \end_inset
33727
33728
33729 \begin_inset space ~
33730 \end_inset
33731
33732
33733 \begin_inset Note Note
33734 status open
33735
33736 \begin_layout Plain Layout
33737 Remove the protected space when bug 4398 is fixed!
33738 \end_layout
33739
33740 \end_inset
33741
33742
33743 \begin_inset Newline newline
33744 \end_inset
33745
33746 The date is not shown within LyX, only in the output.
33747  There are two other methods of inserting a date: Via menu 
33748 \family sans
33749 Insert\SpecialChar \menuseparator
33750 Date
33751 \family default
33752  and with the LaTeX command 
33753 \series bold
33754
33755 \backslash
33756 today
33757 \series default
33758  as TeX-Code.
33759  The different methods are compared in Table
33760 \begin_inset space ~
33761 \end_inset
33762
33763
33764 \begin_inset CommandInset ref
33765 LatexCommand ref
33766 reference "tab:Comparison-of-the"
33767
33768 \end_inset
33769
33770 .
33771 \end_layout
33772
33773 \begin_layout Description
33774 Dia This template supports diagrams created with the program 
33775 \series bold
33776
33777 \begin_inset CommandInset href
33778 LatexCommand href
33779 name "Dia"
33780 target "http://en.wikipedia.org/wiki/Dia_(software)"
33781
33782 \end_inset
33783
33784
33785 \series default
33786 .
33787 \end_layout
33788
33789 \begin_layout Description
33790 LilyPond This template is used for music notation typeset with the program
33791 \begin_inset Newline linebreak
33792 \end_inset
33793
33794
33795 \series bold
33796
33797 \begin_inset CommandInset href
33798 LatexCommand href
33799 name "LilyPond"
33800 target "http://en.wikipedia.org/wiki/LilyPond"
33801
33802 \end_inset
33803
33804
33805 \series default
33806 .
33807 \end_layout
33808
33809 \begin_layout Description
33810 PDFPages With this template you can insert PDF documents to your document.
33811  To insert certain or all pages of a PDF, use the 
33812 \emph on
33813 pages
33814 \emph default
33815  option in the 
33816 \family sans
33817 Option
33818 \family default
33819  field in the 
33820 \family sans
33821 LaTeX and LyX options
33822 \family default
33823  tab according to the template description in the dialog.
33824  When no 
33825 \emph on
33826 pages
33827 \emph default
33828  option is given, only the first page of the PDF will be inserted.
33829 \end_layout
33830
33831 \begin_layout Description
33832 RasterImage This can be used for bitmap images.
33833  Nearly all popular image formats are supported.
33834  The image can be treated in the 
33835 \family sans
33836 External material
33837 \family default
33838  dialog like the images that are usually included via the 
33839 \family sans
33840 Graphics
33841 \family default
33842  dialog as described in section
33843 \begin_inset space ~
33844 \end_inset
33845
33846
33847 \begin_inset CommandInset ref
33848 LatexCommand ref
33849 reference "sec:Graphics-Dialog"
33850
33851 \end_inset
33852
33853 .
33854  The difference is that only raster images are allowed; that means that
33855  PDF and EPS-images are not supported.
33856 \end_layout
33857
33858 \begin_layout Description
33859 XFig This template supports images created with the program 
33860 \series bold
33861
33862 \begin_inset CommandInset href
33863 LatexCommand href
33864 name "Xfig"
33865 target "http://en.wikipedia.org/wiki/Xfig"
33866
33867 \end_inset
33868
33869
33870 \series default
33871 .
33872 \end_layout
33873
33874 \begin_layout Standard
33875 \begin_inset Float table
33876 placement h
33877 wide false
33878 sideways false
33879 status open
33880
33881 \begin_layout Plain Layout
33882 \begin_inset Caption
33883
33884 \begin_layout Plain Layout
33885 \begin_inset CommandInset label
33886 LatexCommand label
33887 name "tab:Comparison-of-the"
33888
33889 \end_inset
33890
33891 Comparison of the date input methods.
33892 \end_layout
33893
33894 \end_inset
33895
33896
33897 \end_layout
33898
33899 \begin_layout Plain Layout
33900 \align center
33901 \begin_inset Tabular
33902 <lyxtabular version="3" rows="4" columns="4">
33903 <features tabularvalignment="middle">
33904 <column alignment="center" valignment="top" width="0">
33905 <column alignment="center" valignment="top" width="0">
33906 <column alignment="center" valignment="top" width="0">
33907 <column alignment="center" valignment="top" width="0">
33908 <row>
33909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33910 \begin_inset Text
33911
33912 \begin_layout Plain Layout
33913 Document format
33914 \end_layout
33915
33916 \end_inset
33917 </cell>
33918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33919 \begin_inset Text
33920
33921 \begin_layout Plain Layout
33922
33923 \family sans
33924 External Material\SpecialChar \menuseparator
33925 Date
33926 \end_layout
33927
33928 \end_inset
33929 </cell>
33930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33931 \begin_inset Text
33932
33933 \begin_layout Plain Layout
33934
33935 \family sans
33936 Insert\SpecialChar \menuseparator
33937 Date
33938 \end_layout
33939
33940 \end_inset
33941 </cell>
33942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33943 \begin_inset Text
33944
33945 \begin_layout Plain Layout
33946 command 
33947 \series bold
33948
33949 \backslash
33950 today
33951 \end_layout
33952
33953 \end_inset
33954 </cell>
33955 </row>
33956 <row>
33957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33958 \begin_inset Text
33959
33960 \begin_layout Plain Layout
33961 LyX
33962 \end_layout
33963
33964 \end_inset
33965 </cell>
33966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33967 \begin_inset Text
33968
33969 \begin_layout Plain Layout
33970 as inset box
33971 \end_layout
33972
33973 \end_inset
33974 </cell>
33975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33976 \begin_inset Text
33977
33978 \begin_layout Plain Layout
33979 as date
33980 \end_layout
33981
33982 \end_inset
33983 </cell>
33984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33985 \begin_inset Text
33986
33987 \begin_layout Plain Layout
33988 as TeX-Code inset box
33989 \end_layout
33990
33991 \end_inset
33992 </cell>
33993 </row>
33994 <row>
33995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33996 \begin_inset Text
33997
33998 \begin_layout Plain Layout
33999 LaTeX
34000 \end_layout
34001
34002 \end_inset
34003 </cell>
34004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34005 \begin_inset Text
34006
34007 \begin_layout Plain Layout
34008 as date
34009 \end_layout
34010
34011 \end_inset
34012 </cell>
34013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34014 \begin_inset Text
34015
34016 \begin_layout Plain Layout
34017 as date
34018 \end_layout
34019
34020 \end_inset
34021 </cell>
34022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34023 \begin_inset Text
34024
34025 \begin_layout Plain Layout
34026 as command
34027 \end_layout
34028
34029 \end_inset
34030 </cell>
34031 </row>
34032 <row>
34033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34034 \begin_inset Text
34035
34036 \begin_layout Plain Layout
34037 DVI, PDF, PS
34038 \end_layout
34039
34040 \end_inset
34041 </cell>
34042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34043 \begin_inset Text
34044
34045 \begin_layout Plain Layout
34046 as date
34047 \end_layout
34048
34049 \end_inset
34050 </cell>
34051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34052 \begin_inset Text
34053
34054 \begin_layout Plain Layout
34055 as date
34056 \end_layout
34057
34058 \end_inset
34059 </cell>
34060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34061 \begin_inset Text
34062
34063 \begin_layout Plain Layout
34064 as date
34065 \end_layout
34066
34067 \end_inset
34068 </cell>
34069 </row>
34070 </lyxtabular>
34071
34072 \end_inset
34073
34074
34075 \end_layout
34076
34077 \end_inset
34078
34079
34080 \end_layout
34081
34082 \begin_layout Standard
34083 When you use the option 
34084 \family sans
34085 Draft
34086 \family default
34087  in the 
34088 \family sans
34089 File
34090 \family default
34091  tab of the 
34092 \family sans
34093 External Material
34094 \family default
34095  dialog, only the path to the inserted file is shown in the output.
34096 \begin_inset Newline newline
34097 \end_inset
34098
34099 External material is displayed in LyX either as a box like this: 
34100 \begin_inset Graphics
34101         filename clipart/ExternalMaterialQt4.png
34102         scale 85
34103         scaleBeforeRotation
34104
34105 \end_inset
34106
34107  or as image, depending on the option 
34108 \family sans
34109 Show in LyX
34110 \family default
34111  in the 
34112 \family sans
34113 LaTeX and LyX options
34114 \family default
34115  tab of the dialog.
34116 \end_layout
34117
34118 \begin_layout Standard
34119 The 
34120 \family sans
34121 \emph on
34122 Customization
34123 \family default
34124 \emph default
34125  manual explains how you can define your own templates.
34126 \end_layout
34127
34128 \begin_layout Section
34129 Child Documents
34130 \begin_inset CommandInset label
34131 LatexCommand label
34132 name "sec:Child-Documents"
34133
34134 \end_inset
34135
34136
34137 \begin_inset Index idx
34138 status collapsed
34139
34140 \begin_layout Plain Layout
34141 External Document Parts ! Child Documents
34142 \end_layout
34143
34144 \end_inset
34145
34146
34147 \begin_inset Index idx
34148 status collapsed
34149
34150 \begin_layout Plain Layout
34151 Files ! Include
34152 \end_layout
34153
34154 \end_inset
34155
34156
34157 \end_layout
34158
34159 \begin_layout Standard
34160 Child documents are used if you have a long document consisting of several
34161  larger parts or sections.
34162  For maintenance it is often useful and sometimes even required to split
34163  the document into several files that can be revised separately.
34164  The different documents are then the so called 
34165 \begin_inset Quotes eld
34166 \end_inset
34167
34168 child documents
34169 \begin_inset Quotes erd
34170 \end_inset
34171
34172 , and a master document connects them to print the full document or parts
34173  of it.
34174  A child document inherits elements of its master, for example the LaTeX
34175  preamble, the bibliography, and labels for cross-references.
34176 \end_layout
34177
34178 \begin_layout Standard
34179 To be able to work on child documents without the need to open their master,
34180  specify in the child document the master in the menu
34181 \family sans
34182  Document\SpecialChar \menuseparator
34183 Settings\SpecialChar \menuseparator
34184 Document
34185 \begin_inset space ~
34186 \end_inset
34187
34188 Class
34189 \family default
34190 .
34191  This master document will then be used in the background by LyX when you
34192  edit the child document.
34193 \end_layout
34194
34195 \begin_layout Standard
34196 Included documents are displayed in LyX as a box like this: 
34197 \begin_inset Graphics
34198         filename clipart/ChildDocumentQt4.png
34199         scale 85
34200         scaleBeforeRotation
34201
34202 \end_inset
34203
34204  To include child documents in a master document use the menu 
34205 \family sans
34206 Insert\SpecialChar \menuseparator
34207 File\SpecialChar \menuseparator
34208 Child
34209 \begin_inset space ~
34210 \end_inset
34211
34212 Documents
34213 \family default
34214 .
34215  A dialog pops up where you can choose between four include methods:
34216 \end_layout
34217
34218 \begin_layout Description
34219 Include You can include LyX- and LaTeX-documents.
34220  When you press the 
34221 \family sans
34222 Load
34223 \family default
34224  button in the 
34225 \family sans
34226 Child Document
34227 \family default
34228  dialog, the included documents will be opened in LyX in a new file tab
34229  so that you can modify them.
34230 \begin_inset Newline newline
34231 \end_inset
34232
34233
34234 \end_layout
34235
34236 \begin_layout Standard
34237 Here is a child document inserted using 
34238 \family sans
34239 Include
34240 \family default
34241
34242 \begin_inset CommandInset include
34243 LatexCommand include
34244 filename "DummyDocument1.lyx"
34245
34246 \end_inset
34247
34248
34249 \end_layout
34250
34251 \begin_layout Standard
34252 The section numbering includes the sections of the included files in the
34253  order they are inserted in the master document.
34254  The included example document has for example a subsection that is numbered
34255  as a subsection of this section.
34256  Labels of included documents can be referenced: Subsection
34257 \begin_inset space ~
34258 \end_inset
34259
34260
34261 \begin_inset CommandInset ref
34262 LatexCommand ref
34263 reference "sub:External-Subsection-1"
34264
34265 \end_inset
34266
34267 .
34268 \end_layout
34269
34270 \begin_layout Standard
34271 The preamble of the child document is ignored; only the preamble of the
34272  master document is used.
34273  Branches in child documents will be ignored by the master document when
34274  the master document does not have a branch with the same name.
34275  Included documents are inserted starting on a new page and ending with
34276  a page break.
34277 \end_layout
34278
34279 \begin_layout Standard
34280 \begin_inset Note Greyedout
34281 status open
34282
34283 \begin_layout Plain Layout
34284
34285 \series bold
34286 Note:
34287 \series default
34288  If you have included a LyX- or LaTeX-file, you are warned when you export/view
34289  the document in case the child document uses another document class than
34290  the master document as this will lead to unexpected outputs.
34291 \end_layout
34292
34293 \end_inset
34294
34295
34296 \end_layout
34297
34298 \begin_layout Description
34299 Input This method is very similar to the Include method.
34300  The differences are:
34301 \end_layout
34302
34303 \begin_deeper
34304 \begin_layout Itemize
34305 Input files don't start with a new page and don't end with a page break.
34306 \end_layout
34307
34308 \begin_layout Itemize
34309 Input files can be previewed in LyX when 
34310 \family sans
34311 Instant
34312 \begin_inset space ~
34313 \end_inset
34314
34315 Preview
34316 \family default
34317  is enabled in LyX's preferences under 
34318 \family sans
34319 Look
34320 \begin_inset space ~
34321 \end_inset
34322
34323 and
34324 \begin_inset space ~
34325 \end_inset
34326
34327 feel\SpecialChar \menuseparator
34328 Graphics
34329 \family default
34330 .
34331 \end_layout
34332
34333 \begin_layout Itemize
34334 You cannot exclude Input files via the menu 
34335 \family sans
34336 Document\SpecialChar \menuseparator
34337 Settings\SpecialChar \menuseparator
34338 Child Documents
34339 \family default
34340 .
34341 \end_layout
34342
34343 \end_deeper
34344 \begin_layout Standard
34345 Here is a child document inserted using 
34346 \family sans
34347 Input
34348 \family default
34349
34350 \begin_inset CommandInset include
34351 LatexCommand input
34352 filename "DummyDocument2.lyx"
34353
34354 \end_inset
34355
34356
34357 \end_layout
34358
34359 \begin_layout Description
34360 Verbatim With this method any text file can be included.
34361  The file is shown in the output with its source code; no command used in
34362  the text is invoked.
34363  You can use the option 
34364 \family sans
34365 Mark spaces in output
34366 \family default
34367  that displays the character 
34368 \begin_inset Quotes eld
34369 \end_inset
34370
34371
34372 \begin_inset ERT
34373 status collapsed
34374
34375 \begin_layout Plain Layout
34376
34377
34378 \backslash
34379 textvisiblespace 
34380 \end_layout
34381
34382 \end_inset
34383
34384
34385 \begin_inset Quotes erd
34386 \end_inset
34387
34388  for every space character in the source code.
34389  The difference from the method via the menu 
34390 \family sans
34391 Insert\SpecialChar \menuseparator
34392 File\SpecialChar \menuseparator
34393 Plain
34394 \begin_inset space ~
34395 \end_inset
34396
34397 Text
34398 \family default
34399  is that the document content is not shown in LyX.
34400 \end_layout
34401
34402 \begin_layout Standard
34403 Here is a child document inserted as Verbatim: 
34404 \begin_inset CommandInset include
34405 LatexCommand verbatiminput
34406 filename "DummyTextDocument.txt"
34407
34408 \end_inset
34409
34410
34411 \begin_inset VSpace bigskip
34412 \end_inset
34413
34414  Here is a child document inserted as Verbatim using the 
34415 \family sans
34416 Mark spaces in output
34417 \family default
34418  option: 
34419 \begin_inset CommandInset include
34420 LatexCommand verbatiminput*
34421 filename "DummyTextDocument.txt"
34422
34423 \end_inset
34424
34425
34426 \end_layout
34427
34428 \begin_layout Standard
34429 \begin_inset VSpace bigskip
34430 \end_inset
34431
34432
34433 \end_layout
34434
34435 \begin_layout Standard
34436 \begin_inset Note Greyedout
34437 status open
34438
34439 \begin_layout Plain Layout
34440
34441 \series bold
34442 Note:
34443 \series default
34444  As you can see in the examples above, the text of the documents included
34445  as 
34446 \family sans
34447 verbatim
34448 \family default
34449  is not broken at the end of the document lines.
34450 \end_layout
34451
34452 \end_inset
34453
34454
34455 \end_layout
34456
34457 \begin_layout Description
34458 Listings This type is described in chapter
34459 \begin_inset space ~
34460 \end_inset
34461
34462
34463 \begin_inset CommandInset ref
34464 LatexCommand ref
34465 reference "cha:Program-Code-Listings"
34466
34467 \end_inset
34468
34469 .
34470 \end_layout
34471
34472 \begin_layout Standard
34473 \begin_inset Note Greyedout
34474 status open
34475
34476 \begin_layout Plain Layout
34477
34478 \series bold
34479 Note:
34480 \series default
34481  Including the same document twice in a document using different methods
34482  could cause LaTeX-problems.
34483 \end_layout
34484
34485 \end_inset
34486
34487
34488 \end_layout
34489
34490 \begin_layout Standard
34491 If you want to view/export only selected children of your master document,
34492  either because you want to save compiling time or because you want to distribut
34493 e single chapters of the book you are just writing, you can exclude children
34494  from the output.
34495  This is done via the menu 
34496 \family sans
34497 Document\SpecialChar \menuseparator
34498 Settings\SpecialChar \menuseparator
34499 Child Documents
34500 \family default
34501 .
34502  You can exclude\SpecialChar \slash{}
34503 include children by double-clicking on the 
34504 \family sans
34505 include to output
34506 \family default
34507  column of the respective child document in the list (note that this only
34508  works for documents embedded via 
34509 \begin_inset Quotes eld
34510 \end_inset
34511
34512 Include
34513 \begin_inset Quotes erd
34514 \end_inset
34515
34516 , not with 
34517 \begin_inset Quotes eld
34518 \end_inset
34519
34520 Input
34521 \begin_inset Quotes erd
34522 \end_inset
34523
34524 ).
34525  If the option 
34526 \family sans
34527 Maintain counters and references
34528 \family default
34529  is enabled, LyX will assure that all page numbers, references etc.
34530 \begin_inset space ~
34531 \end_inset
34532
34533 are correct as if the whole document was processed.
34534  This is useful if you want the selected sub-documents to look exactly as
34535  in the context of the whole document.
34536  However, LyX needs to process the whole document in the background for
34537  this feature.
34538  So if you want to save compile time and if counters and references do not
34539  need to be correct, disable this checkbox.
34540 \end_layout
34541
34542 \begin_layout Standard
34543 Alternatively, you can put each included file into a branch.
34544 \begin_inset Foot
34545 status collapsed
34546
34547 \begin_layout Plain Layout
34548 Branches are described in section 
34549 \emph on
34550 Branches
34551 \emph default
34552  of the LyX 
34553 \emph on
34554 Userguide
34555 \emph default
34556 .
34557 \end_layout
34558
34559 \end_inset
34560
34561  By enabling\SpecialChar \slash{}
34562 disabling branches you can decide which included files will
34563  appear in the output.
34564  This has the advantage that it also works with Input'ed sub-documents.
34565  However, counters and references will not be maintained with this approach.
34566 \end_layout
34567
34568 \begin_layout Chapter
34569 Program Code Listings
34570 \begin_inset CommandInset label
34571 LatexCommand label
34572 name "cha:Program-Code-Listings"
34573
34574 \end_inset
34575
34576
34577 \begin_inset Index idx
34578 status collapsed
34579
34580 \begin_layout Plain Layout
34581 Listings
34582 \end_layout
34583
34584 \end_inset
34585
34586
34587 \begin_inset Index idx
34588 status collapsed
34589
34590 \begin_layout Plain Layout
34591 Program Code
34592 \end_layout
34593
34594 \end_inset
34595
34596
34597 \begin_inset Index idx
34598 status collapsed
34599
34600 \begin_layout Plain Layout
34601 Floats ! Listings
34602 \end_layout
34603
34604 \end_inset
34605
34606
34607 \end_layout
34608
34609 \begin_layout Standard
34610 To include and typeset program code you can use the 
34611 \family sans
34612 Listings
34613 \family default
34614  inset that can be inserted via the menu 
34615 \family sans
34616 Insert\SpecialChar \menuseparator
34617 Program Listing
34618 \family default
34619 .
34620  The LaTeX-package 
34621 \series bold
34622 listings
34623 \series default
34624
34625 \begin_inset Index idx
34626 status collapsed
34627
34628 \begin_layout Plain Layout
34629 LaTeX-packages ! listings
34630 \end_layout
34631
34632 \end_inset
34633
34634  provides a powerful and flexible way to insert program source code into
34635  your document.
34636 \end_layout
34637
34638 \begin_layout Standard
34639 Right-clicking on a listings inset opens the context menu containing where
34640  you can set the listings format.
34641 \end_layout
34642
34643 \begin_layout Standard
34644 By default, a listing starts a new paragraph in the output.
34645  The placement option 
34646 \family sans
34647 Inline
34648 \begin_inset space ~
34649 \end_inset
34650
34651 listing
34652 \family default
34653  prints the listing inline like this: 
34654 \begin_inset listings
34655 lstparams "language={C++}"
34656 inline true
34657 status open
34658
34659 \begin_layout Plain Layout
34660
34661 int a=5;
34662 \end_layout
34663
34664 \end_inset
34665
34666
34667 \begin_inset Newline newline
34668 \end_inset
34669
34670 The option 
34671 \family sans
34672 Float
34673 \family default
34674  creates a listings float where you can specify the placement options 
34675 \begin_inset Quotes eld
34676 \end_inset
34677
34678
34679 \family sans
34680 h
34681 \family default
34682
34683 \begin_inset Quotes erd
34684 \end_inset
34685
34686
34687 \begin_inset Quotes eld
34688 \end_inset
34689
34690
34691 \family sans
34692 t
34693 \family default
34694
34695 \begin_inset Quotes erd
34696 \end_inset
34697
34698
34699 \begin_inset Quotes eld
34700 \end_inset
34701
34702
34703 \family sans
34704 b
34705 \family default
34706
34707 \begin_inset Quotes erd
34708 \end_inset
34709
34710 , and 
34711 \begin_inset Quotes eld
34712 \end_inset
34713
34714
34715 \family sans
34716 p
34717 \family default
34718
34719 \begin_inset Quotes erd
34720 \end_inset
34721
34722  corresponding to the float placement options described in section
34723 \begin_inset space ~
34724 \end_inset
34725
34726
34727 \begin_inset CommandInset ref
34728 LatexCommand ref
34729 reference "sec:Float-Placement"
34730
34731 \end_inset
34732
34733 .
34734  The placement options can be mixed and are inserted without any separation,
34735  e.
34736 \begin_inset space \thinspace{}
34737 \end_inset
34738
34739 g.
34740 \begin_inset space \space{}
34741 \end_inset
34742
34743
34744 \begin_inset Quotes eld
34745 \end_inset
34746
34747
34748 \family sans
34749 htbp
34750 \family default
34751
34752 \begin_inset Quotes erd
34753 \end_inset
34754
34755 .
34756  The option 
34757 \begin_inset Quotes eld
34758 \end_inset
34759
34760 h
34761 \begin_inset Quotes erd
34762 \end_inset
34763
34764  has sometimes no effect, but you don't need to use the 
34765 \family sans
34766 Float
34767 \family default
34768  option in this case as also non-float listings can have captions and be
34769  referenced.
34770 \end_layout
34771
34772 \begin_layout Standard
34773 You can add captions to listings with the menu 
34774 \family sans
34775 Insert\SpecialChar \menuseparator
34776 Caption
34777 \family default
34778 .
34779  Listings can be referenced like floats: Listing
34780 \begin_inset space ~
34781 \end_inset
34782
34783
34784 \begin_inset CommandInset ref
34785 LatexCommand ref
34786 reference "lst:Example-Listing"
34787
34788 \end_inset
34789
34790
34791 \end_layout
34792
34793 \begin_layout Standard
34794 \begin_inset listings
34795 lstparams "language=Python"
34796 inline false
34797 status open
34798
34799 \begin_layout Plain Layout
34800
34801 \begin_inset Caption
34802
34803 \begin_layout Plain Layout
34804 \begin_inset CommandInset label
34805 LatexCommand label
34806 name "lst:Example-Listing"
34807
34808 \end_inset
34809
34810 Example Listing float
34811 \end_layout
34812
34813 \end_inset
34814
34815 # Example listing float
34816 \end_layout
34817
34818 \begin_layout Plain Layout
34819
34820 def func(param):
34821 \end_layout
34822
34823 \begin_layout Plain Layout
34824
34825     'this is a python function'
34826 \end_layout
34827
34828 \begin_layout Plain Layout
34829
34830     pass
34831 \end_layout
34832
34833 \end_inset
34834
34835
34836 \end_layout
34837
34838 \begin_layout Standard
34839 When you have set a programming language in the listings dialog, the keywords
34840  of this language will be recognized and specially typeset in the output.
34841  In the example listings the Python keyword 
34842 \begin_inset Quotes eld
34843 \end_inset
34844
34845 def
34846 \begin_inset Quotes erd
34847 \end_inset
34848
34849  is recognized and printed bold in the output.
34850 \end_layout
34851
34852 \begin_layout Standard
34853 \begin_inset Note Greyedout
34854 status open
34855
34856 \begin_layout Plain Layout
34857
34858 \series bold
34859 Note:
34860 \series default
34861  If you don't get bold keywords when using typewriter fonts, your 
34862 \family typewriter
34863 typewriter
34864 \family default
34865  font probably doesn't provide a bold shape.
34866  In this case select a different one in the menu 
34867 \family sans
34868 Document\SpecialChar \menuseparator
34869 Settings\SpecialChar \menuseparator
34870 Fonts
34871 \family default
34872 .
34873  (The fonts 
34874 \emph on
34875 LuxiMono, BeraMono
34876 \emph default
34877  and 
34878 \emph on
34879 Courier
34880 \emph default
34881  provide bold shapes.)
34882 \end_layout
34883
34884 \end_inset
34885
34886
34887 \end_layout
34888
34889 \begin_layout Standard
34890 In section 
34891 \family sans
34892 Line
34893 \begin_inset space ~
34894 \end_inset
34895
34896 numbering
34897 \family default
34898  of the listings dialog you can specify the line numbering style.
34899  You can insert a number to specify which lines are numbered in the field
34900  
34901 \family sans
34902 Step
34903 \family default
34904 .
34905  When you insert e.
34906 \begin_inset space \thinspace{}
34907 \end_inset
34908
34909 g.
34910 \begin_inset space \space{}
34911 \end_inset
34912
34913
34914 \begin_inset Quotes eld
34915 \end_inset
34916
34917 3
34918 \begin_inset Quotes erd
34919 \end_inset
34920
34921 , only every 3rd line will be numbered.
34922 \end_layout
34923
34924 \begin_layout Standard
34925 You can furthermore specify a range of lines; only these will then appear
34926  in the output.
34927  The option 
34928 \family sans
34929 Extended character table
34930 \family default
34931  should be used when you use national characters like the German umlauts
34932  in the listing.
34933 \begin_inset Newline newline
34934 \end_inset
34935
34936 Here is an example listing with left line numbering, step 
34937 \begin_inset Quotes eld
34938 \end_inset
34939
34940 3
34941 \begin_inset Quotes erd
34942 \end_inset
34943
34944 , language 
34945 \begin_inset Quotes eld
34946 \end_inset
34947
34948 Python
34949 \begin_inset Quotes erd
34950 \end_inset
34951
34952 , options 
34953 \begin_inset Quotes eld
34954 \end_inset
34955
34956 Extended character table
34957 \begin_inset Quotes erd
34958 \end_inset
34959
34960  and 
34961 \begin_inset Quotes eld
34962 \end_inset
34963
34964 Space
34965 \begin_inset space ~
34966 \end_inset
34967
34968 as
34969 \begin_inset space ~
34970 \end_inset
34971
34972 symbol
34973 \begin_inset Quotes erd
34974 \end_inset
34975
34976 , range lines 3
34977 \begin_inset space \thinspace{}
34978 \end_inset
34979
34980 -
34981 \begin_inset space \thinspace{}
34982 \end_inset
34983
34984 8:
34985 \end_layout
34986
34987 \begin_layout Standard
34988 \begin_inset listings
34989 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
34990 inline false
34991 status open
34992
34993 \begin_layout Plain Layout
34994
34995 def func(param):
34996 \end_layout
34997
34998 \begin_layout Plain Layout
34999
35000     'this is a python function'
35001 \end_layout
35002
35003 \begin_layout Plain Layout
35004
35005     pass
35006 \end_layout
35007
35008 \begin_layout Plain Layout
35009
35010 def func(param):
35011 \end_layout
35012
35013 \begin_layout Plain Layout
35014
35015 'This is a German word: Tschüß'
35016 \end_layout
35017
35018 \begin_layout Plain Layout
35019
35020 pass
35021 \end_layout
35022
35023 \begin_layout Plain Layout
35024
35025 def func(param):
35026 \end_layout
35027
35028 \begin_layout Plain Layout
35029
35030 'this is a python function'
35031 \end_layout
35032
35033 \begin_layout Plain Layout
35034
35035 pass
35036 \end_layout
35037
35038 \end_inset
35039
35040
35041 \end_layout
35042
35043 \begin_layout Standard
35044 When you have tabulators in your listing, you can specify the number of
35045  characters that are spanned by a tabulator in the field 
35046 \family sans
35047 Tabulator
35048 \begin_inset space ~
35049 \end_inset
35050
35051 size
35052 \family default
35053 .
35054 \end_layout
35055
35056 \begin_layout Standard
35057 \begin_inset Note Greyedout
35058 status open
35059
35060 \begin_layout Plain Layout
35061
35062 \series bold
35063 Note:
35064 \series default
35065  Due to a bug in the 
35066 \series bold
35067 listings
35068 \series default
35069  package the line numbering is shifted by a line by every previous listing.
35070  That's the reason why the lines 2 and 5 are numbered in the above listing
35071  and not the lines 3 and 6.
35072 \end_layout
35073
35074 \end_inset
35075
35076
35077 \end_layout
35078
35079 \begin_layout Standard
35080 \begin_inset VSpace bigskip
35081 \end_inset
35082
35083
35084 \end_layout
35085
35086 \begin_layout Standard
35087 It is also possible to print lines from a file as listing.
35088  To do this, use the menu 
35089 \family sans
35090 Insert\SpecialChar \menuseparator
35091 File\SpecialChar \menuseparator
35092 Child Document
35093 \family default
35094  and choose the type 
35095 \family sans
35096 Listings
35097 \family default
35098 .
35099 \begin_inset Foot
35100 status collapsed
35101
35102 \begin_layout Plain Layout
35103 The other child document types are described in section
35104 \begin_inset space ~
35105 \end_inset
35106
35107
35108 \begin_inset CommandInset ref
35109 LatexCommand ref
35110 reference "sec:Child-Documents"
35111
35112 \end_inset
35113
35114 .
35115 \end_layout
35116
35117 \end_inset
35118
35119  In the child document dialog you can specify the listing parameters in
35120  a text box.
35121  To show a list of all available parameters, type in a question mark 
35122 \begin_inset Quotes eld
35123 \end_inset
35124
35125 ?
35126 \begin_inset Quotes erd
35127 \end_inset
35128
35129  in the text box.
35130 \end_layout
35131
35132 \begin_layout Standard
35133 To reference child document listings, write a label text into the corresponding
35134  field of the child document dialog.
35135  The label can then be referenced using the menu 
35136 \family sans
35137 Insert\SpecialChar \menuseparator
35138 Cross-Reference
35139 \family default
35140 .
35141 \end_layout
35142
35143 \begin_layout Standard
35144 Listing
35145 \begin_inset space ~
35146 \end_inset
35147
35148
35149 \begin_inset CommandInset ref
35150 LatexCommand ref
35151 reference "lst:file-listing"
35152
35153 \end_inset
35154
35155  is an example for a listing of a file; there the lines 10
35156 \begin_inset space \thinspace{}
35157 \end_inset
35158
35159 -
35160 \begin_inset space \thinspace{}
35161 \end_inset
35162
35163 15 of this LyX file are listed.
35164 \end_layout
35165
35166 \begin_layout Standard
35167 \begin_inset CommandInset include
35168 LatexCommand lstinputlisting
35169 filename "EmbeddedObjects.lyx"
35170 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
35171
35172 \end_inset
35173
35174
35175 \end_layout
35176
35177 \begin_layout Standard
35178 \begin_inset VSpace bigskip
35179 \end_inset
35180
35181
35182 \end_layout
35183
35184 \begin_layout Standard
35185 Inserting a formula into a listing can be done the following way:
35186 \end_layout
35187
35188 \begin_layout Enumerate
35189 Open the listings dialog and add
35190 \begin_inset Newline newline
35191 \end_inset
35192
35193
35194 \family sans
35195 mathescape=true
35196 \family default
35197
35198 \begin_inset Newline newline
35199 \end_inset
35200
35201 to the field of the 
35202 \family sans
35203 Advanced
35204 \family default
35205  tab.
35206 \end_layout
35207
35208 \begin_layout Enumerate
35209 Create a formula outside the listing
35210 \end_layout
35211
35212 \begin_layout Enumerate
35213 Copy the content of the formula (not the formula inset) to the clipboard
35214  (shortcut 
35215 \begin_inset Info
35216 type  "shortcut"
35217 arg   "copy"
35218 \end_inset
35219
35220 )
35221 \end_layout
35222
35223 \begin_layout Enumerate
35224 In the listing write 
35225 \begin_inset Quotes eld
35226 \end_inset
35227
35228
35229 \family sans
35230 $$
35231 \family default
35232
35233 \begin_inset Quotes erd
35234 \end_inset
35235
35236  and copy from the clipboard between the dollar-signs (shortcut 
35237 \begin_inset Info
35238 type  "shortcut"
35239 arg   "paste"
35240 \end_inset
35241
35242 )
35243 \end_layout
35244
35245 \begin_layout Standard
35246 \begin_inset listings
35247 lstparams "language=Python,mathescape=true"
35248 inline false
35249 status open
35250
35251 \begin_layout Plain Layout
35252
35253 \begin_inset Caption
35254
35255 \begin_layout Plain Layout
35256 Example Listing float containing a formula
35257 \end_layout
35258
35259 \end_inset
35260
35261 # Example listing float
35262 \end_layout
35263
35264 \begin_layout Plain Layout
35265
35266 def func(param):
35267 \end_layout
35268
35269 \begin_layout Plain Layout
35270
35271     # $
35272 \backslash
35273 prod_{n=1}^{
35274 \backslash
35275 infty}
35276 \backslash
35277 ,
35278 \backslash
35279 frac{1}{x^{2}}$
35280 \end_layout
35281
35282 \begin_layout Plain Layout
35283
35284     pass
35285 \end_layout
35286
35287 \end_inset
35288
35289
35290 \end_layout
35291
35292 \begin_layout Standard
35293 \begin_inset VSpace bigskip
35294 \end_inset
35295
35296
35297 \end_layout
35298
35299 \begin_layout Standard
35300 Global listings settings can be set in the 
35301 \family sans
35302 Document\SpecialChar \menuseparator
35303 Settings\SpecialChar \menuseparator
35304 Listings
35305 \family default
35306  dialog.
35307  To get there a list of available options, type in a question mark 
35308 \begin_inset Quotes eld
35309 \end_inset
35310
35311 ?
35312 \begin_inset Quotes erd
35313 \end_inset
35314
35315 .
35316 \end_layout
35317
35318 \begin_layout Standard
35319 For more information about the 
35320 \series bold
35321 listings
35322 \series default
35323  package, we refer to its documentation 
35324 \begin_inset CommandInset citation
35325 LatexCommand cite
35326 key "listings"
35327
35328 \end_inset
35329
35330 .
35331 \end_layout
35332
35333 \begin_layout Standard
35334 \begin_inset Newpage newpage
35335 \end_inset
35336
35337
35338 \end_layout
35339
35340 \begin_layout Chapter
35341 \start_of_appendix
35342 Units available in LyX
35343 \begin_inset Index idx
35344 status collapsed
35345
35346 \begin_layout Plain Layout
35347 Units
35348 \end_layout
35349
35350 \end_inset
35351
35352
35353 \begin_inset CommandInset label
35354 LatexCommand label
35355 name "cha:Units-available-in"
35356
35357 \end_inset
35358
35359
35360 \end_layout
35361
35362 \begin_layout Standard
35363 To understand the units described in this documentation, Table
35364 \begin_inset space ~
35365 \end_inset
35366
35367
35368 \begin_inset CommandInset ref
35369 LatexCommand ref
35370 reference "tab:Units"
35371
35372 \end_inset
35373
35374  explains all units available in LyX.
35375 \end_layout
35376
35377 \begin_layout Standard
35378 \begin_inset Float table
35379 placement h
35380 wide false
35381 sideways false
35382 status open
35383
35384 \begin_layout Plain Layout
35385 \begin_inset Caption
35386
35387 \begin_layout Plain Layout
35388 \begin_inset CommandInset label
35389 LatexCommand label
35390 name "tab:Units"
35391
35392 \end_inset
35393
35394 Units
35395 \end_layout
35396
35397 \end_inset
35398
35399
35400 \end_layout
35401
35402 \begin_layout Plain Layout
35403 \begin_inset VSpace medskip
35404 \end_inset
35405
35406
35407 \end_layout
35408
35409 \begin_layout Plain Layout
35410 \align center
35411 \begin_inset Tabular
35412 <lyxtabular version="3" rows="20" columns="2">
35413 <features tabularvalignment="middle">
35414 <column alignment="center" valignment="top" width="0">
35415 <column alignment="center" valignment="top" width="0">
35416 <row>
35417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
35418 \begin_inset Text
35419
35420 \begin_layout Plain Layout
35421 unit
35422 \end_layout
35423
35424 \end_inset
35425 </cell>
35426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
35427 \begin_inset Text
35428
35429 \begin_layout Plain Layout
35430 name/description
35431 \end_layout
35432
35433 \end_inset
35434 </cell>
35435 </row>
35436 <row>
35437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35438 \begin_inset Text
35439
35440 \begin_layout Plain Layout
35441 mm
35442 \end_layout
35443
35444 \end_inset
35445 </cell>
35446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35447 \begin_inset Text
35448
35449 \begin_layout Plain Layout
35450 millimeter
35451 \end_layout
35452
35453 \end_inset
35454 </cell>
35455 </row>
35456 <row>
35457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35458 \begin_inset Text
35459
35460 \begin_layout Plain Layout
35461 cm
35462 \end_layout
35463
35464 \end_inset
35465 </cell>
35466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35467 \begin_inset Text
35468
35469 \begin_layout Plain Layout
35470 centimeter
35471 \end_layout
35472
35473 \end_inset
35474 </cell>
35475 </row>
35476 <row>
35477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35478 \begin_inset Text
35479
35480 \begin_layout Plain Layout
35481 in
35482 \end_layout
35483
35484 \end_inset
35485 </cell>
35486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35487 \begin_inset Text
35488
35489 \begin_layout Plain Layout
35490 inch
35491 \end_layout
35492
35493 \end_inset
35494 </cell>
35495 </row>
35496 <row>
35497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35498 \begin_inset Text
35499
35500 \begin_layout Plain Layout
35501 pt
35502 \end_layout
35503
35504 \end_inset
35505 </cell>
35506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35507 \begin_inset Text
35508
35509 \begin_layout Plain Layout
35510 point (72.27
35511 \begin_inset space \thinspace{}
35512 \end_inset
35513
35514 pt = 1
35515 \begin_inset space \thinspace{}
35516 \end_inset
35517
35518 in)
35519 \end_layout
35520
35521 \end_inset
35522 </cell>
35523 </row>
35524 <row>
35525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35526 \begin_inset Text
35527
35528 \begin_layout Plain Layout
35529 pc
35530 \end_layout
35531
35532 \end_inset
35533 </cell>
35534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35535 \begin_inset Text
35536
35537 \begin_layout Plain Layout
35538 pica (1
35539 \begin_inset space \thinspace{}
35540 \end_inset
35541
35542 pc = 12
35543 \begin_inset space \thinspace{}
35544 \end_inset
35545
35546 pt)
35547 \end_layout
35548
35549 \end_inset
35550 </cell>
35551 </row>
35552 <row>
35553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35554 \begin_inset Text
35555
35556 \begin_layout Plain Layout
35557 sp
35558 \end_layout
35559
35560 \end_inset
35561 </cell>
35562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35563 \begin_inset Text
35564
35565 \begin_layout Plain Layout
35566 scaled point (65536
35567 \begin_inset space \thinspace{}
35568 \end_inset
35569
35570 sp = 1
35571 \begin_inset space \thinspace{}
35572 \end_inset
35573
35574 pt)
35575 \end_layout
35576
35577 \end_inset
35578 </cell>
35579 </row>
35580 <row>
35581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35582 \begin_inset Text
35583
35584 \begin_layout Plain Layout
35585 bp
35586 \end_layout
35587
35588 \end_inset
35589 </cell>
35590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35591 \begin_inset Text
35592
35593 \begin_layout Plain Layout
35594 big point (72
35595 \begin_inset space \thinspace{}
35596 \end_inset
35597
35598 bp = 1
35599 \begin_inset space \thinspace{}
35600 \end_inset
35601
35602 in)
35603 \end_layout
35604
35605 \end_inset
35606 </cell>
35607 </row>
35608 <row>
35609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35610 \begin_inset Text
35611
35612 \begin_layout Plain Layout
35613 dd
35614 \end_layout
35615
35616 \end_inset
35617 </cell>
35618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35619 \begin_inset Text
35620
35621 \begin_layout Plain Layout
35622 didot (1
35623 \begin_inset space \thinspace{}
35624 \end_inset
35625
35626 dd 
35627 \begin_inset Formula $\approx$
35628 \end_inset
35629
35630  0.376
35631 \begin_inset space \thinspace{}
35632 \end_inset
35633
35634 mm)
35635 \end_layout
35636
35637 \end_inset
35638 </cell>
35639 </row>
35640 <row>
35641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35642 \begin_inset Text
35643
35644 \begin_layout Plain Layout
35645 cc
35646 \end_layout
35647
35648 \end_inset
35649 </cell>
35650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35651 \begin_inset Text
35652
35653 \begin_layout Plain Layout
35654 cicero (1
35655 \begin_inset space \thinspace{}
35656 \end_inset
35657
35658 cc = 12
35659 \begin_inset space \thinspace{}
35660 \end_inset
35661
35662 dd)
35663 \end_layout
35664
35665 \end_inset
35666 </cell>
35667 </row>
35668 <row>
35669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35670 \begin_inset Text
35671
35672 \begin_layout Plain Layout
35673 Scale%
35674 \end_layout
35675
35676 \end_inset
35677 </cell>
35678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35679 \begin_inset Text
35680
35681 \begin_layout Plain Layout
35682 % of original image width
35683 \end_layout
35684
35685 \end_inset
35686 </cell>
35687 </row>
35688 <row>
35689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35690 \begin_inset Text
35691
35692 \begin_layout Plain Layout
35693 text%
35694 \end_layout
35695
35696 \end_inset
35697 </cell>
35698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35699 \begin_inset Text
35700
35701 \begin_layout Plain Layout
35702 % of text width
35703 \end_layout
35704
35705 \end_inset
35706 </cell>
35707 </row>
35708 <row>
35709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35710 \begin_inset Text
35711
35712 \begin_layout Plain Layout
35713 col%
35714 \end_layout
35715
35716 \end_inset
35717 </cell>
35718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35719 \begin_inset Text
35720
35721 \begin_layout Plain Layout
35722 % of column width
35723 \end_layout
35724
35725 \end_inset
35726 </cell>
35727 </row>
35728 <row>
35729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35730 \begin_inset Text
35731
35732 \begin_layout Plain Layout
35733 page%
35734 \end_layout
35735
35736 \end_inset
35737 </cell>
35738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35739 \begin_inset Text
35740
35741 \begin_layout Plain Layout
35742 % of paper width
35743 \end_layout
35744
35745 \end_inset
35746 </cell>
35747 </row>
35748 <row>
35749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35750 \begin_inset Text
35751
35752 \begin_layout Plain Layout
35753 line%
35754 \end_layout
35755
35756 \end_inset
35757 </cell>
35758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35759 \begin_inset Text
35760
35761 \begin_layout Plain Layout
35762 % of line width
35763 \end_layout
35764
35765 \end_inset
35766 </cell>
35767 </row>
35768 <row>
35769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35770 \begin_inset Text
35771
35772 \begin_layout Plain Layout
35773 theight%
35774 \end_layout
35775
35776 \end_inset
35777 </cell>
35778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35779 \begin_inset Text
35780
35781 \begin_layout Plain Layout
35782 % of text height
35783 \end_layout
35784
35785 \end_inset
35786 </cell>
35787 </row>
35788 <row>
35789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35790 \begin_inset Text
35791
35792 \begin_layout Plain Layout
35793 pheight%
35794 \end_layout
35795
35796 \end_inset
35797 </cell>
35798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35799 \begin_inset Text
35800
35801 \begin_layout Plain Layout
35802 % of paper height
35803 \end_layout
35804
35805 \end_inset
35806 </cell>
35807 </row>
35808 <row>
35809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35810 \begin_inset Text
35811
35812 \begin_layout Plain Layout
35813 ex
35814 \end_layout
35815
35816 \end_inset
35817 </cell>
35818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35819 \begin_inset Text
35820
35821 \begin_layout Plain Layout
35822 height of letter 
35823 \emph on
35824 x
35825 \emph default
35826  in current font
35827 \end_layout
35828
35829 \end_inset
35830 </cell>
35831 </row>
35832 <row>
35833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35834 \begin_inset Text
35835
35836 \begin_layout Plain Layout
35837 em
35838 \end_layout
35839
35840 \end_inset
35841 </cell>
35842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35843 \begin_inset Text
35844
35845 \begin_layout Plain Layout
35846 width of letter 
35847 \emph on
35848 M
35849 \emph default
35850  in current font
35851 \end_layout
35852
35853 \end_inset
35854 </cell>
35855 </row>
35856 <row>
35857 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
35858 \begin_inset Text
35859
35860 \begin_layout Plain Layout
35861 mu
35862 \end_layout
35863
35864 \end_inset
35865 </cell>
35866 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
35867 \begin_inset Text
35868
35869 \begin_layout Plain Layout
35870 math unit (1
35871 \begin_inset space \thinspace{}
35872 \end_inset
35873
35874 mu = 1/18
35875 \begin_inset space \thinspace{}
35876 \end_inset
35877
35878 em)
35879 \end_layout
35880
35881 \end_inset
35882 </cell>
35883 </row>
35884 </lyxtabular>
35885
35886 \end_inset
35887
35888
35889 \end_layout
35890
35891 \end_inset
35892
35893
35894 \end_layout
35895
35896 \begin_layout Chapter
35897 Output File Formats with Graphics
35898 \begin_inset CommandInset label
35899 LatexCommand label
35900 name "cha:Output-File-Formats"
35901
35902 \end_inset
35903
35904
35905 \end_layout
35906
35907 \begin_layout Section
35908 DVI
35909 \begin_inset Index idx
35910 status collapsed
35911
35912 \begin_layout Plain Layout
35913 File Formats ! DVI
35914 \end_layout
35915
35916 \end_inset
35917
35918
35919 \begin_inset Index idx
35920 status collapsed
35921
35922 \begin_layout Plain Layout
35923 DVI|see
35924 \begin_inset ERT
35925 status collapsed
35926
35927 \begin_layout Plain Layout
35928
35929 {
35930 \end_layout
35931
35932 \end_inset
35933
35934 File Formats
35935 \begin_inset ERT
35936 status collapsed
35937
35938 \begin_layout Plain Layout
35939
35940 }
35941 \end_layout
35942
35943 \end_inset
35944
35945
35946 \end_layout
35947
35948 \end_inset
35949
35950
35951 \end_layout
35952
35953 \begin_layout Standard
35954 This file type has the extension 
35955 \begin_inset Quotes eld
35956 \end_inset
35957
35958
35959 \family typewriter
35960 .dvi
35961 \family default
35962
35963 \begin_inset Quotes erd
35964 \end_inset
35965
35966 .
35967  It is called 
35968 \begin_inset Quotes eld
35969 \end_inset
35970
35971 device-independent
35972 \begin_inset Quotes erd
35973 \end_inset
35974
35975  (DVI), because it is completely portable; you can move them from one machine
35976  to another without needing to do any sort of conversion.
35977  At the time when this file-format was developed, this was no matter of
35978  course.
35979  DVIs are used for quick previews and as pre-stage for other output formats,
35980  like PostScript.
35981 \end_layout
35982
35983 \begin_layout Standard
35984 \begin_inset Note Greyedout
35985 status open
35986
35987 \begin_layout Plain Layout
35988
35989 \series bold
35990 Note:
35991 \series default
35992  DVI-files do not contain images; they will only be a linked.
35993 \end_layout
35994
35995 \end_inset
35996
35997  So don't forget this, if you move your 
35998 \family typewriter
35999 .dvi
36000 \family default
36001  file to another computer.
36002  This property can also slow down your computer when you view the DVI, because
36003  the DVI-viewer has to convert the image in the background to make it visible
36004  when you scroll in the DVI.
36005  So it is recommended that you use PDF for files with many images.
36006 \end_layout
36007
36008 \begin_layout Standard
36009 You can export your document to DVI by using the menu 
36010 \family sans
36011 File\SpecialChar \menuseparator
36012 Export\SpecialChar \menuseparator
36013 DVI
36014 \family default
36015 .
36016  You can view your document as DVI via the 
36017 \family sans
36018 View
36019 \family default
36020  menu or by using the toolbar button 
36021 \begin_inset Graphics
36022         filename ../images/buffer-view_dvi.png
36023         scale 85
36024         scaleBeforeRotation
36025
36026 \end_inset
36027
36028 .
36029 \end_layout
36030
36031 \begin_layout Section
36032 PostScript
36033 \begin_inset CommandInset label
36034 LatexCommand label
36035 name "sec:PostScript"
36036
36037 \end_inset
36038
36039
36040 \begin_inset Index idx
36041 status collapsed
36042
36043 \begin_layout Plain Layout
36044 File Formats ! PostScript
36045 \end_layout
36046
36047 \end_inset
36048
36049
36050 \begin_inset Index idx
36051 status collapsed
36052
36053 \begin_layout Plain Layout
36054 PostScript|see
36055 \begin_inset ERT
36056 status collapsed
36057
36058 \begin_layout Plain Layout
36059
36060 {
36061 \end_layout
36062
36063 \end_inset
36064
36065 File Formats
36066 \begin_inset ERT
36067 status collapsed
36068
36069 \begin_layout Plain Layout
36070
36071 }
36072 \end_layout
36073
36074 \end_inset
36075
36076
36077 \end_layout
36078
36079 \end_inset
36080
36081
36082 \end_layout
36083
36084 \begin_layout Standard
36085 This file type has the extension 
36086 \begin_inset Quotes eld
36087 \end_inset
36088
36089
36090 \family typewriter
36091 .ps
36092 \family default
36093
36094 \begin_inset Quotes erd
36095 \end_inset
36096
36097 .
36098  PostScript was developed by the company 
36099 \family typewriter
36100 Adobe
36101 \family default
36102  as a printer language.
36103  The file therefore contains commands that the printer uses to print the
36104  file.
36105  PostScript can be seen as a 
36106 \begin_inset Quotes eld
36107 \end_inset
36108
36109 programming language
36110 \begin_inset Quotes erd
36111 \end_inset
36112
36113 ; you can calculate with it and draw diagrams and images
36114 \begin_inset Foot
36115 status collapsed
36116
36117 \begin_layout Plain Layout
36118 If you are interested to learn more about this, have a look at the LaTeX-package
36119  
36120 \series bold
36121 PSTricks
36122 \series default
36123  
36124 \begin_inset CommandInset citation
36125 LatexCommand cite
36126 key "pstricks"
36127
36128 \end_inset
36129
36130 .
36131 \end_layout
36132
36133 \end_inset
36134
36135 .
36136  Due to this ability, the files are often bigger than PDFs.
36137 \end_layout
36138
36139 \begin_layout Standard
36140 PostScript can only contain images in the format 
36141 \begin_inset Quotes eld
36142 \end_inset
36143
36144 Encapsulated PostScript
36145 \begin_inset Quotes erd
36146 \end_inset
36147
36148  (EPS, file extension 
36149 \begin_inset Quotes eld
36150 \end_inset
36151
36152
36153 \family typewriter
36154 .eps
36155 \family default
36156
36157 \begin_inset Quotes erd
36158 \end_inset
36159
36160 ).
36161  As LyX allows you to use any known image format in your document, it has
36162  to convert images in the background to EPS.
36163  If you have e.g.
36164 \begin_inset space ~
36165 \end_inset
36166
36167 50
36168 \begin_inset space ~
36169 \end_inset
36170
36171 images in your document, LyX has to do 50
36172 \begin_inset space ~
36173 \end_inset
36174
36175 conversions whenever you view or export your document.
36176  This will slow down your work flow with LyX drastically.
36177  So if you plan to use PostScript, you can insert your images directly as
36178  EPS to avoid this problem.
36179 \end_layout
36180
36181 \begin_layout Standard
36182 You can export your document to PostScript using the menu 
36183 \family sans
36184 File\SpecialChar \menuseparator
36185 Export\SpecialChar \menuseparator
36186 Postscript
36187 \family default
36188 .
36189  You can view your document as PostScript via the 
36190 \family sans
36191 View
36192 \family default
36193  menu or by using the toolbar button 
36194 \begin_inset Graphics
36195         filename ../images/buffer-view_ps.png
36196         scale 85
36197         scaleBeforeRotation
36198
36199 \end_inset
36200
36201 .
36202 \end_layout
36203
36204 \begin_layout Section
36205 PDF
36206 \begin_inset Index idx
36207 status collapsed
36208
36209 \begin_layout Plain Layout
36210 File Formats ! PDF
36211 \end_layout
36212
36213 \end_inset
36214
36215
36216 \begin_inset Index idx
36217 status collapsed
36218
36219 \begin_layout Plain Layout
36220 PDF
36221 \end_layout
36222
36223 \end_inset
36224
36225
36226 \end_layout
36227
36228 \begin_layout Standard
36229 This file type has the extension 
36230 \begin_inset Quotes eld
36231 \end_inset
36232
36233
36234 \family typewriter
36235 .pdf
36236 \family default
36237
36238 \begin_inset Quotes erd
36239 \end_inset
36240
36241 .
36242  The 
36243 \begin_inset Quotes eld
36244 \end_inset
36245
36246 Portable Document Format
36247 \begin_inset Quotes erd
36248 \end_inset
36249
36250  (PDF) was developed by 
36251 \family typewriter
36252 Adobe
36253 \family default
36254  as a derivative of PostScript.
36255  It is more compressed and it uses fewer commands than PostScript.
36256  As the name 
36257 \begin_inset Quotes eld
36258 \end_inset
36259
36260 portable
36261 \begin_inset Quotes erd
36262 \end_inset
36263
36264  implies, it can be processed at any computer system and the printed output
36265  looks exactly the same.
36266 \end_layout
36267
36268 \begin_layout Standard
36269 PDF can contain images in its own PDF format, in the format 
36270 \begin_inset Quotes eld
36271 \end_inset
36272
36273 Joint Photographic Experts Group
36274 \begin_inset Quotes erd
36275 \end_inset
36276
36277  (JPG, file extension 
36278 \begin_inset Quotes eld
36279 \end_inset
36280
36281
36282 \family typewriter
36283 .jpg
36284 \family default
36285
36286 \begin_inset Quotes erd
36287 \end_inset
36288
36289  or 
36290 \begin_inset Quotes eld
36291 \end_inset
36292
36293
36294 \family typewriter
36295 .jpeg
36296 \family default
36297
36298 \begin_inset Quotes erd
36299 \end_inset
36300
36301 ), and in the format 
36302 \begin_inset Quotes eld
36303 \end_inset
36304
36305 Portable Network Graphics
36306 \begin_inset Quotes erd
36307 \end_inset
36308
36309  (PNG, file extension 
36310 \begin_inset Quotes eld
36311 \end_inset
36312
36313
36314 \family typewriter
36315 .png
36316 \family default
36317
36318 \begin_inset Quotes erd
36319 \end_inset
36320
36321 ).
36322  Nevertheless you can use any other image format, because LyX converts them
36323  in the background to one of these formats.
36324  But as described in the section about PostScript, the image conversion
36325  will slow down your work flow.
36326  So it is recommended that you use images in one of the three mentioned
36327  formats.
36328 \end_layout
36329
36330 \begin_layout Standard
36331 You can export your document to PDF via the menu 
36332 \family sans
36333 File\SpecialChar \menuseparator
36334 Export
36335 \family default
36336  in three different ways:
36337 \end_layout
36338
36339 \begin_layout Description
36340 PDF
36341 \begin_inset space ~
36342 \end_inset
36343
36344 (ps2pdf) This uses the program 
36345 \family typewriter
36346 ps2pdf
36347 \family default
36348  that creates a PDF from a PostScript-version of your file.
36349  The PostScript-version is produced by the program 
36350 \family typewriter
36351 dvips
36352 \family default
36353  which uses a DVI-version as intermediate step.
36354  So this export variant consists of three conversions.
36355 \end_layout
36356
36357 \begin_layout Description
36358 PDF
36359 \begin_inset space ~
36360 \end_inset
36361
36362 (dvipdfm) This uses the program 
36363 \family typewriter
36364 dvipdfm
36365 \family default
36366  that converts your file in the background to DVI and in a second step to
36367  PDF.
36368 \end_layout
36369
36370 \begin_layout Description
36371 PDF
36372 \begin_inset space ~
36373 \end_inset
36374
36375 (pdflatex) This uses the program 
36376 \family typewriter
36377 pdftex
36378 \family default
36379  that converts your file directly to PDF.
36380 \end_layout
36381
36382 \begin_layout Standard
36383 It is recommended that you use 
36384 \family sans
36385 PDF
36386 \begin_inset space ~
36387 \end_inset
36388
36389 (pdflatex)
36390 \family default
36391  because 
36392 \family typewriter
36393 pdftex
36394 \family default
36395  supports all features of actual PDF-versions, is quick and works stable.
36396  The program 
36397 \family typewriter
36398 dvipdfm
36399 \family default
36400  is not under development and therefore a bit outdated.
36401 \end_layout
36402
36403 \begin_layout Standard
36404 You can view your document as PDF via the 
36405 \family sans
36406 View
36407 \family default
36408  menu or by using the toolbar button 
36409 \begin_inset Graphics
36410         filename ../images/buffer-view_pdf2.png
36411         scale 85
36412         scaleBeforeRotation
36413
36414 \end_inset
36415
36416  
36417 \family sans
36418 (
36419 \family default
36420 that uses 
36421 \family sans
36422 PDF
36423 \begin_inset space ~
36424 \end_inset
36425
36426 (pdflatex)
36427 \family default
36428 ).
36429 \end_layout
36430
36431 \begin_layout Chapter
36432 Explanation of Equation
36433 \begin_inset space ~
36434 \end_inset
36435
36436 (
36437 \begin_inset CommandInset ref
36438 LatexCommand ref
36439 reference "eq:Wgn"
36440
36441 \end_inset
36442
36443 )
36444 \begin_inset CommandInset label
36445 LatexCommand label
36446 name "cha:Explanation-of-Equation"
36447
36448 \end_inset
36449
36450
36451 \end_layout
36452
36453 \begin_layout Standard
36454 We can calculate the total width of 
36455 \emph on
36456 n
36457 \emph default
36458  table cells 
36459 \begin_inset Formula $W_{\mathrm{tot\, n}}$
36460 \end_inset
36461
36462  as follows:
36463 \end_layout
36464
36465 \begin_layout Standard
36466 \begin_inset Formula 
36467 \begin{equation}
36468 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
36469 \end{equation}
36470
36471 \end_inset
36472
36473 where 
36474 \begin_inset Formula $W_{g\, n}$
36475 \end_inset
36476
36477  is the given width of all cells, 
36478 \series bold
36479
36480 \backslash
36481 tabcolsep
36482 \series default
36483  is the LaTeX-length between the cell text and the cell border (its default
36484  value is 6
36485 \begin_inset space \thinspace{}
36486 \end_inset
36487
36488 pt).
36489  
36490 \series bold
36491
36492 \backslash
36493 arrayrulewidth
36494 \series default
36495  is the thickness of the cell border line, the default is 0.4
36496 \begin_inset space \thinspace{}
36497 \end_inset
36498
36499 pt.
36500 \end_layout
36501
36502 \begin_layout Standard
36503 Following equation
36504 \begin_inset space ~
36505 \end_inset
36506
36507
36508 \begin_inset CommandInset ref
36509 LatexCommand eqref
36510 reference "eq:Wtot_n"
36511
36512 \end_inset
36513
36514 , the total width of a multicolumn 
36515 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
36516 \end_inset
36517
36518  is
36519 \end_layout
36520
36521 \begin_layout Standard
36522 \begin_inset Formula 
36523 \begin{equation}
36524 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
36525 \end{equation}
36526
36527 \end_inset
36528
36529
36530 \end_layout
36531
36532 \begin_layout Standard
36533 By setting equation
36534 \begin_inset space ~
36535 \end_inset
36536
36537
36538 \begin_inset CommandInset ref
36539 LatexCommand eqref
36540 reference "eq:Wtot_n"
36541
36542 \end_inset
36543
36544  and 
36545 \begin_inset CommandInset ref
36546 LatexCommand eqref
36547 reference "eq:Wtot_mult"
36548
36549 \end_inset
36550
36551  equal we can calculate the needed given width 
36552 \begin_inset Formula $W_{g\, n}$
36553 \end_inset
36554
36555  when 
36556 \emph on
36557 n
36558 \emph default
36559  columns are spanned, so that each column has a total width of 
36560 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
36561 \end_inset
36562
36563 :
36564 \end_layout
36565
36566 \begin_layout Standard
36567 \begin_inset Formula 
36568 \begin{equation}
36569 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
36570 \end{equation}
36571
36572 \end_inset
36573
36574
36575 \end_layout
36576
36577 \begin_layout Bibliography
36578 \labelwidthstring Bibliography
36579 \begin_inset CommandInset bibitem
36580 LatexCommand bibitem
36581 key "latexcompanion"
36582
36583 \end_inset
36584
36585 Frank Mittelbach and Michel Goossens: 
36586 \emph on
36587 The LaTeX Companion Second Edition.
36588
36589 \emph default
36590  Addison-Wesley, 2004
36591 \end_layout
36592
36593 \begin_layout Bibliography
36594 \labelwidthstring Bibliography
36595 \begin_inset CommandInset bibitem
36596 LatexCommand bibitem
36597 key "latexguide"
36598
36599 \end_inset
36600
36601 Helmut Kopka and Patrick W.
36602  Daly: 
36603 \emph on
36604 A Guide to LaTeX Fourth Edition.
36605
36606 \emph default
36607  Addison-Wesley, 2003
36608 \end_layout
36609
36610 \begin_layout Bibliography
36611 \labelwidthstring Bibliography
36612 \begin_inset CommandInset bibitem
36613 LatexCommand bibitem
36614 key "latexbook"
36615
36616 \end_inset
36617
36618 Leslie Lamport: 
36619 \emph on
36620 LaTeX: A Document Preparation System.
36621
36622 \emph default
36623  Addison-Wesley, second edition, 1994
36624 \end_layout
36625
36626 \begin_layout Bibliography
36627 \labelwidthstring Bibliography
36628 \begin_inset CommandInset bibitem
36629 LatexCommand bibitem
36630 key "booktabs"
36631
36632 \end_inset
36633
36634 Documentation of the LaTeX-package 
36635 \series bold
36636
36637 \begin_inset CommandInset href
36638 LatexCommand href
36639 name "booktabs"
36640 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
36641
36642 \end_inset
36643
36644
36645 \series default
36646
36647 \begin_inset Index idx
36648 status collapsed
36649
36650 \begin_layout Plain Layout
36651 LaTeX-packages ! booktabs
36652 \end_layout
36653
36654 \end_inset
36655
36656
36657 \end_layout
36658
36659 \begin_layout Bibliography
36660 \labelwidthstring Bibliography
36661 \begin_inset CommandInset bibitem
36662 LatexCommand bibitem
36663 key "caption"
36664
36665 \end_inset
36666
36667 Documentation of the LaTeX-package 
36668 \series bold
36669
36670 \begin_inset CommandInset href
36671 LatexCommand href
36672 name "caption"
36673 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
36674
36675 \end_inset
36676
36677
36678 \series default
36679
36680 \begin_inset Index idx
36681 status collapsed
36682
36683 \begin_layout Plain Layout
36684 LaTeX-packages ! caption
36685 \end_layout
36686
36687 \end_inset
36688
36689
36690 \end_layout
36691
36692 \begin_layout Bibliography
36693 \labelwidthstring Bibliography
36694 \begin_inset CommandInset bibitem
36695 LatexCommand bibitem
36696 key "endfloat"
36697
36698 \end_inset
36699
36700 Documentation of the LaTeX-package 
36701 \series bold
36702
36703 \begin_inset CommandInset href
36704 LatexCommand href
36705 name "endfloat"
36706 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
36707
36708 \end_inset
36709
36710
36711 \series default
36712
36713 \begin_inset Index idx
36714 status collapsed
36715
36716 \begin_layout Plain Layout
36717 LaTeX-packages ! endfloat
36718 \end_layout
36719
36720 \end_inset
36721
36722
36723 \end_layout
36724
36725 \begin_layout Bibliography
36726 \labelwidthstring Bibliography
36727 \begin_inset CommandInset bibitem
36728 LatexCommand bibitem
36729 key "wrapfig"
36730
36731 \end_inset
36732
36733 Documentation of the LaTeX-package 
36734 \series bold
36735
36736 \begin_inset CommandInset href
36737 LatexCommand href
36738 name "wrapfig"
36739 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
36740
36741 \end_inset
36742
36743
36744 \series default
36745
36746 \begin_inset Index idx
36747 status collapsed
36748
36749 \begin_layout Plain Layout
36750 LaTeX-packages ! wrapfig
36751 \begin_inset ERT
36752 status collapsed
36753
36754 \begin_layout Plain Layout
36755
36756
36757 \backslash
36758 vspace{4mm}
36759 \end_layout
36760
36761 \end_inset
36762
36763
36764 \end_layout
36765
36766 \end_inset
36767
36768
36769 \end_layout
36770
36771 \begin_layout Bibliography
36772 \labelwidthstring Bibliography
36773 \begin_inset CommandInset bibitem
36774 LatexCommand bibitem
36775 key "footmisc"
36776
36777 \end_inset
36778
36779 Documentation of the LaTeX-package 
36780 \series bold
36781
36782 \begin_inset CommandInset href
36783 LatexCommand href
36784 name "footmisc"
36785 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
36786
36787 \end_inset
36788
36789
36790 \series default
36791
36792 \begin_inset Index idx
36793 status collapsed
36794
36795 \begin_layout Plain Layout
36796 LaTeX-packages ! footmisc
36797 \end_layout
36798
36799 \end_inset
36800
36801
36802 \end_layout
36803
36804 \begin_layout Bibliography
36805 \labelwidthstring Bibliography
36806 \begin_inset CommandInset bibitem
36807 LatexCommand bibitem
36808 key "hypcap"
36809
36810 \end_inset
36811
36812 Documentation of the LaTeX-package 
36813 \series bold
36814
36815 \begin_inset CommandInset href
36816 LatexCommand href
36817 name "hypcap"
36818 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
36819
36820 \end_inset
36821
36822
36823 \series default
36824
36825 \begin_inset Index idx
36826 status collapsed
36827
36828 \begin_layout Plain Layout
36829 LaTeX-packages ! hyperref
36830 \end_layout
36831
36832 \end_inset
36833
36834
36835 \end_layout
36836
36837 \begin_layout Bibliography
36838 \labelwidthstring Bibliography
36839 \begin_inset CommandInset bibitem
36840 LatexCommand bibitem
36841 key "hyperref"
36842
36843 \end_inset
36844
36845 Documentation of the LaTeX-package 
36846 \series bold
36847
36848 \begin_inset CommandInset href
36849 LatexCommand href
36850 name "hyperref"
36851 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
36852
36853 \end_inset
36854
36855
36856 \series default
36857
36858 \begin_inset Index idx
36859 status collapsed
36860
36861 \begin_layout Plain Layout
36862 LaTeX-packages ! hyperref
36863 \end_layout
36864
36865 \end_inset
36866
36867
36868 \end_layout
36869
36870 \begin_layout Bibliography
36871 \labelwidthstring Bibliography
36872 \begin_inset CommandInset bibitem
36873 LatexCommand bibitem
36874 key "KOMA-Script"
36875
36876 \end_inset
36877
36878 Documentation of the LaTeX-package 
36879 \series bold
36880
36881 \begin_inset CommandInset href
36882 LatexCommand href
36883 name "KOMA-Script"
36884 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
36885
36886 \end_inset
36887
36888
36889 \series default
36890
36891 \begin_inset Index idx
36892 status collapsed
36893
36894 \begin_layout Plain Layout
36895 LaTeX-packages ! KOMA-Script
36896 \end_layout
36897
36898 \end_inset
36899
36900
36901 \end_layout
36902
36903 \begin_layout Bibliography
36904 \labelwidthstring Bibliography
36905 \begin_inset CommandInset bibitem
36906 LatexCommand bibitem
36907 key "listings"
36908
36909 \end_inset
36910
36911 Documentation of the LaTeX-package 
36912 \series bold
36913
36914 \begin_inset CommandInset href
36915 LatexCommand href
36916 name "listings"
36917 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
36918
36919 \end_inset
36920
36921
36922 \series default
36923
36924 \begin_inset Index idx
36925 status collapsed
36926
36927 \begin_layout Plain Layout
36928 LaTeX-packages ! listings
36929 \end_layout
36930
36931 \end_inset
36932
36933
36934 \end_layout
36935
36936 \begin_layout Bibliography
36937 \labelwidthstring Bibliography
36938 \begin_inset CommandInset bibitem
36939 LatexCommand bibitem
36940 key "marginnote"
36941
36942 \end_inset
36943
36944 Documentation of the LaTeX-package 
36945 \series bold
36946
36947 \begin_inset CommandInset href
36948 LatexCommand href
36949 name "marginnote"
36950 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
36951
36952 \end_inset
36953
36954
36955 \series default
36956
36957 \begin_inset Index idx
36958 status collapsed
36959
36960 \begin_layout Plain Layout
36961 LaTeX-packages ! marginnote
36962 \end_layout
36963
36964 \end_inset
36965
36966
36967 \end_layout
36968
36969 \begin_layout Bibliography
36970 \labelwidthstring Bibliography
36971 \begin_inset CommandInset bibitem
36972 LatexCommand bibitem
36973 key "lettrine"
36974
36975 \end_inset
36976
36977 Documentation of the LaTeX-package 
36978 \series bold
36979
36980 \begin_inset CommandInset href
36981 LatexCommand href
36982 name "lettrine"
36983 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
36984
36985 \end_inset
36986
36987
36988 \series default
36989  and an 
36990 \begin_inset CommandInset href
36991 LatexCommand href
36992 name "example"
36993 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
36994
36995 \end_inset
36996
36997
36998 \begin_inset Index idx
36999 status collapsed
37000
37001 \begin_layout Plain Layout
37002 LaTeX-packages ! lettrine
37003 \end_layout
37004
37005 \end_inset
37006
37007
37008 \end_layout
37009
37010 \begin_layout Bibliography
37011 \labelwidthstring Bibliography
37012 \begin_inset CommandInset bibitem
37013 LatexCommand bibitem
37014 key "pstricks"
37015
37016 \end_inset
37017
37018 Web page of the LaTeX-package 
37019 \series bold
37020
37021 \begin_inset CommandInset href
37022 LatexCommand href
37023 name "PSTricks"
37024 target "http://tug.org/PSTricks/"
37025
37026 \end_inset
37027
37028
37029 \series default
37030
37031 \begin_inset Index idx
37032 status collapsed
37033
37034 \begin_layout Plain Layout
37035 LaTeX-packages ! PSTricks
37036 \end_layout
37037
37038 \end_inset
37039
37040
37041 \end_layout
37042
37043 \begin_layout Bibliography
37044 \labelwidthstring Bibliography
37045 \begin_inset CommandInset bibitem
37046 LatexCommand bibitem
37047 key "sidecap"
37048
37049 \end_inset
37050
37051 Documentation of the LaTeX-package 
37052 \series bold
37053
37054 \begin_inset CommandInset href
37055 LatexCommand href
37056 name "sidecap"
37057 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
37058
37059 \end_inset
37060
37061
37062 \series default
37063
37064 \begin_inset Index idx
37065 status collapsed
37066
37067 \begin_layout Plain Layout
37068 LaTeX-packages ! sidecap
37069 \end_layout
37070
37071 \end_inset
37072
37073
37074 \end_layout
37075
37076 \begin_layout Bibliography
37077 \labelwidthstring Bibliography
37078 \begin_inset CommandInset bibitem
37079 LatexCommand bibitem
37080 key "prettyref"
37081
37082 \end_inset
37083
37084 Documentation of the LaTeX-package 
37085 \series bold
37086
37087 \begin_inset CommandInset href
37088 LatexCommand href
37089 name "prettyref"
37090 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
37091
37092 \end_inset
37093
37094
37095 \series default
37096
37097 \begin_inset Index idx
37098 status collapsed
37099
37100 \begin_layout Plain Layout
37101 LaTeX-packages ! prettyref
37102 \end_layout
37103
37104 \end_inset
37105
37106
37107 \end_layout
37108
37109 \begin_layout Bibliography
37110 \labelwidthstring Bibliography
37111 \begin_inset CommandInset bibitem
37112 LatexCommand bibitem
37113 key "refstyle"
37114
37115 \end_inset
37116
37117 Documentation of the LaTeX-package 
37118 \series bold
37119
37120 \begin_inset CommandInset href
37121 LatexCommand href
37122 name "refstyle"
37123 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
37124
37125 \end_inset
37126
37127
37128 \series default
37129
37130 \begin_inset Index idx
37131 status collapsed
37132
37133 \begin_layout Plain Layout
37134 LaTeX-packages ! refstyle
37135 \end_layout
37136
37137 \end_inset
37138
37139
37140 \end_layout
37141
37142 \begin_layout Bibliography
37143 \labelwidthstring Bibliography
37144 \begin_inset CommandInset bibitem
37145 LatexCommand bibitem
37146 key "NewInLyX20"
37147
37148 \end_inset
37149
37150
37151 \begin_inset CommandInset href
37152 LatexCommand href
37153 name "Wiki page"
37154 target "http://wiki.lyx.org/LyX/NewInLyX20"
37155
37156 \end_inset
37157
37158  about new features in 
37159 \family sans
37160 LyX 2.0
37161 \family default
37162 .
37163 \end_layout
37164
37165 \begin_layout Standard
37166 \begin_inset CommandInset index_print
37167 LatexCommand printindex
37168 type "idx"
37169
37170 \end_inset
37171
37172
37173 \end_layout
37174
37175 \end_body
37176 \end_document