]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
- EmbeddedObjects.lyx: fix broken link and remove unreferenced and unnecessary biblio...
[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 \newcommand{\TabBesBeg}[1][1.0]{%
37  \let\MyTable\table
38  \let\MyEndtable\endtable
39  \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
40
41 \newcommand{\TabBesEnd}{%
42  \let\table\MyTable
43  \let\endtable\MyEndtable}
44
45 \newcommand{\FigBesBeg}[1][1.0]{%
46  \let\MyFigure\figure
47  \let\MyEndfigure\endfigure
48  \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
49
50 \newcommand{\FigBesEnd}{%
51  \let\figure\MyFigure
52  \let\endfigure\MyEndfigure}
53
54 % enables calculation of values,
55 \usepackage{calc}
56
57 % increase the bottom float placement fraction
58 \renewcommand{\bottomfraction}{0.5}
59
60 % avoids that floats are placed before their
61 % corresponding section starts
62 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
63
64 % speed up the longtable calculation
65 \setcounter{LTchunksize}{100}
66
67 % used for scaled and rotated boxes
68 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
69
70 % used for colored tables
71 \@ifundefined{textcolor}
72  {\usepackage{color}}{}
73 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
74 \definecolor{lightgrey}{gray}{0.8}
75
76 % check for package colortbl
77 % used for colored table cells
78 \newboolean{colortbl}
79 \IfFileExists{colortbl.sty}
80  {\usepackage{colortbl}
81   \setboolean{colortbl}{true}}
82  {\setboolean{colortbl}{false}}
83
84 % used for book-style tables
85 \usepackage{booktabs}
86
87 % used to have extra space in table cells
88 \@ifundefined{extrarowheight}
89  {\usepackage{array}}{}
90 \setlength{\extrarowheight}{2pt}
91
92 % used for customized tables
93 % ---
94 \newcolumntype{M}[1]
95  {>{\centering\hspace{0pt}}m{#1}}
96
97 \newcolumntype{S}[2]
98  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
99
100 \newcolumntype{K}[1]
101  {>{\columncolor{#1}\hspace{0pt}}c}
102
103 \newcolumntype{V}{!{\vrule width 1.5pt}}
104
105 \newcolumntype{W}{!{\color{green}\vline}}
106 % ---
107
108 % insert additional vertical space of
109 % 1.5 mm between footnotes
110 \let\myFoot\footnote
111 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
112
113 % number algorithm floats within chapters
114 \numberwithin{algorithm}{chapter}
115
116 % ------------------------------------
117 % used to check for needed LaTeX packages
118 \usepackage{ifthen}
119
120 % check for package arydshln
121 % used for tables with dashed lines
122 \newboolean{arydshln}
123 \IfFileExists{arydshln.sty}
124  {\usepackage{arydshln}
125   \setboolean{arydshln}{true}}
126  {\setboolean{arydshln}{false}}
127
128 % check for package marginnote
129 % used for margin notes
130 \newboolean{marginnote}
131 \IfFileExists{marginnote.sty}
132  {\usepackage{marginnote}
133   \let\marginpar\marginnote
134   \setboolean{marginnote}{true}}
135  {\setboolean{marginnote}{false}}
136
137 % check for package sidecap
138 % used for captions on the side
139 \newboolean{sidecap}
140 \IfFileExists{sidecap.sty}
141  {\usepackage{sidecap}
142   \setboolean{sidecap}{true}}
143  {\setboolean{sidecap}{false}}
144
145 % check for picinpar
146 % used for surrounded fixed objects
147 \newboolean{picinpar}
148 \IfFileExists{picinpar.sty}
149  {\usepackage{picinpar}
150   \setboolean{picinpar}{true}}
151  {\setboolean{picinpar}{false}}
152 \end_preamble
153 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
154 \use_default_options false
155 \begin_modules
156 initials
157 \end_modules
158 \maintain_unincluded_children false
159 \language english
160 \language_package default
161 \inputencoding auto
162 \fontencoding global
163 \font_roman default
164 \font_sans default
165 \font_typewriter default
166 \font_default_family default
167 \use_non_tex_fonts false
168 \font_sc false
169 \font_osf false
170 \font_sf_scale 100
171 \font_tt_scale 100
172
173 \graphics default
174 \default_output_format default
175 \output_sync 0
176 \bibtex_command default
177 \index_command default
178 \paperfontsize 12
179 \spacing single
180 \use_hyperref true
181 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
182 \pdf_author "LyX Team, Uwe Stöhr"
183 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
184 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
185 \pdf_bookmarks true
186 \pdf_bookmarksnumbered true
187 \pdf_bookmarksopen true
188 \pdf_bookmarksopenlevel 1
189 \pdf_breaklinks false
190 \pdf_pdfborder false
191 \pdf_colorlinks true
192 \pdf_backref false
193 \pdf_pdfusetitle false
194 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
195 \papersize default
196 \use_geometry false
197 \use_amsmath 2
198 \use_esint 0
199 \use_mhchem 1
200 \use_mathdots 1
201 \cite_engine basic
202 \use_bibtopic false
203 \use_indices false
204 \paperorientation portrait
205 \suppress_date false
206 \use_refstyle 0
207 \notefontcolor #0000ff
208 \index Index
209 \shortcut idx
210 \color #008000
211 \end_index
212 \secnumdepth 3
213 \tocdepth 3
214 \paragraph_separation skip
215 \defskip medskip
216 \quotes_language english
217 \papercolumns 1
218 \papersides 2
219 \paperpagestyle default
220 \bullet 1 1 34 -1
221 \bullet 2 2 35 -1
222 \bullet 3 2 7 -1
223 \tracking_changes false
224 \output_changes false
225 \html_math_output 0
226 \html_css_as_file 0
227 \html_be_strict false
228 \end_header
229
230 \begin_body
231
232 \begin_layout Title
233 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
234  manual
235 \end_layout
236
237 \begin_layout Author
238 by the LyX Team
239 \begin_inset Foot
240 status collapsed
241
242 \begin_layout Plain Layout
243 \noindent
244 If you have comments or error corrections, please send them to the LyX Documenta
245 tion mailing list: 
246 \begin_inset CommandInset href
247 LatexCommand href
248 name "lyx-docs@lists.lyx.org"
249 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
250 type "mailto:"
251
252 \end_inset
253
254
255 \end_layout
256
257 \end_inset
258
259
260 \begin_inset Note Note
261 status collapsed
262
263 \begin_layout Plain Layout
264 author: Uwe Stöhr
265 \end_layout
266
267 \end_inset
268
269
270 \begin_inset Newline newline
271 \end_inset
272
273
274 \begin_inset Newline newline
275 \end_inset
276
277
278 \family sans
279 Version 2.0.x
280 \end_layout
281
282 \begin_layout Standard
283 \begin_inset CommandInset toc
284 LatexCommand tableofcontents
285
286 \end_inset
287
288
289 \end_layout
290
291 \begin_layout Standard
292 \begin_inset Note Note
293 status open
294
295 \begin_layout Plain Layout
296 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
297  
298 \series bold
299 arydshln
300 \series default
301
302 \series bold
303 colortbl
304 \series default
305
306 \series bold
307 lettrine, marginnote, picinpar
308 \series default
309  and 
310 \series bold
311 sidecap
312 \series default
313  must be installed.
314  If they are not installed you can export the document anyway but the sections
315  where the packages are required won't appear in the output.
316 \end_layout
317
318 \begin_layout Plain Layout
319 The latest PDF-version of this document can be found here:
320 \begin_inset Newline newline
321 \end_inset
322
323
324 \series bold
325 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
326 \end_layout
327
328 \end_inset
329
330
331 \end_layout
332
333 \begin_layout Chapter
334 Figures
335 \begin_inset Index idx
336 status collapsed
337
338 \begin_layout Plain Layout
339 Figures
340 \end_layout
341
342 \end_inset
343
344
345 \begin_inset Index idx
346 status collapsed
347
348 \begin_layout Plain Layout
349 Graphics|see
350 \begin_inset ERT
351 status collapsed
352
353 \begin_layout Plain Layout
354
355 {
356 \end_layout
357
358 \end_inset
359
360 Figures
361 \begin_inset ERT
362 status collapsed
363
364 \begin_layout Plain Layout
365
366 }
367 \end_layout
368
369 \end_inset
370
371
372 \end_layout
373
374 \end_inset
375
376
377 \end_layout
378
379 \begin_layout Section
380 Graphics Dialog
381 \begin_inset Index idx
382 status collapsed
383
384 \begin_layout Plain Layout
385 Figures ! Graphics Dialog
386 \end_layout
387
388 \end_inset
389
390
391 \begin_inset CommandInset label
392 LatexCommand label
393 name "sec:Graphics-Dialog"
394
395 \end_inset
396
397
398 \end_layout
399
400 \begin_layout Standard
401 To insert an image into your document, place the cursor at the text position
402  you want and click on the toolbar icon 
403 \begin_inset Graphics
404         filename ../images/dialog-show-new-inset_graphics.png
405         scale 85
406         scaleBeforeRotation
407
408 \end_inset
409
410  or use the menu 
411 \family sans
412 Insert\SpecialChar \menuseparator
413 Graphics
414 \family default
415 .
416  Then a dialog will appear to choose the file to load.
417  The image will appear in the output exactly at the position where it is
418  in the text.
419 \end_layout
420
421 \begin_layout Standard
422 The graphics dialog can be called at any time by clicking on an image.
423  This dialog has three tabs:
424 \end_layout
425
426 \begin_layout Description
427
428 \family sans
429 Graphics
430 \family default
431  Here you can choose an image file and adjust its appearance in the output.
432  The available units for the image size are explained in appendix
433 \begin_inset space ~
434 \end_inset
435
436
437 \begin_inset CommandInset ref
438 LatexCommand ref
439 reference "cha:Units-available-in"
440
441 \end_inset
442
443 .
444 \begin_inset Newline newline
445 \end_inset
446
447
448 \begin_inset Index idx
449 status collapsed
450
451 \begin_layout Plain Layout
452 Figures ! rotated
453 \end_layout
454
455 \end_inset
456
457 You can rotate images counter-clockwise by setting a rotation angle and
458  a rotation origin.
459  The image will also be rotated inside LyX.
460 \begin_inset Newline newline
461 \end_inset
462
463
464 \begin_inset Index idx
465 status collapsed
466
467 \begin_layout Plain Layout
468 Figures ! scaled
469 \end_layout
470
471 \end_inset
472
473 Images can be scaled by using a percentage value or by setting the width
474  and height explicitly.
475  If you set only the width or only the height, the other size will be determined
476  automatically.
477  If you set both, then the image will be transformed to the given size,
478  possibly distorting it.
479  To prevent the image from distortion, use the option 
480 \family sans
481 Maintain aspect ratio
482 \family default
483 .
484  The image will then be scaled so that its width and height don't exceed
485  the specified dimensions.
486 \begin_inset Newline newline
487 \end_inset
488
489 Images can be opened in a program of your choice by right-clicking on it
490  and choosing the entry 
491 \family sans
492 Edit
493 \begin_inset space ~
494 \end_inset
495
496 externally
497 \family default
498  in the context menu.
499  The program can be set for every image format in the file format settings
500  in LyX's preferences.
501 \end_layout
502
503 \begin_layout Description
504
505 \family sans
506 Clipping
507 \family default
508  Alternatively to the usage of scaling units it is possible to set image
509  coordinates to adjust the height and width of the image in the output.
510  The coordinates can also be calculated automatically by pressing the button
511  
512 \family sans
513 Get
514 \begin_inset space ~
515 \end_inset
516
517 from
518 \begin_inset space ~
519 \end_inset
520
521 File
522 \family default
523 .
524  The option 
525 \family sans
526 Clip
527 \begin_inset space ~
528 \end_inset
529
530 to
531 \begin_inset space ~
532 \end_inset
533
534 bounding
535 \begin_inset space ~
536 \end_inset
537
538 box
539 \family default
540  will only print the image region within the given coordinates.
541  Normally you don't need to take care about image coordinates and can ignore
542  this tab.
543 \end_layout
544
545 \begin_layout Description
546
547 \family sans
548 LaTeX
549 \begin_inset space ~
550 \end_inset
551
552 and
553 \begin_inset space ~
554 \end_inset
555
556 LyX
557 \begin_inset space ~
558 \end_inset
559
560 options
561 \family default
562  In this tab you can modify the appearance of the image within LyX and LaTeX
563  experts can specify additional LaTeX options.
564 \begin_inset Newline newline
565 \end_inset
566
567 The option 
568 \family sans
569 Draft
570 \begin_inset space ~
571 \end_inset
572
573 mode
574 \family default
575  makes the image appear in the output only as a frame with the size of the
576  image.
577 \begin_inset Newline newline
578 \end_inset
579
580 The 
581 \family sans
582 Don't
583 \begin_inset space ~
584 \end_inset
585
586 unzip
587 \begin_inset space ~
588 \end_inset
589
590 on
591 \begin_inset space ~
592 \end_inset
593
594 export
595 \family default
596  option only affects zipped EPS-graphics, e.
597 \begin_inset space \thinspace{}
598 \end_inset
599
600 g.
601 \begin_inset space \space{}
602 \end_inset
603
604
605 \emph on
606 x.eps.gz
607 \emph default
608 .
609  When the option is used the images will not be unzipped on export, since
610  LaTeX can handle them as they are.
611 \begin_inset Newline newline
612 \end_inset
613
614 Zipped EPS-graphics are useful to save disk space when you choose PostScript
615  as output format, see appendix
616 \begin_inset space ~
617 \end_inset
618
619
620 \begin_inset CommandInset ref
621 LatexCommand ref
622 reference "sec:PostScript"
623
624 \end_inset
625
626 .
627  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
628  console:
629 \begin_inset Newline newline
630 \end_inset
631
632
633 \series bold
634 gzip x.eps
635 \series default
636
637 \begin_inset Newline newline
638 \end_inset
639
640
641 \series bold
642 zgrep %%Bounding x.eps.gz > x.eps.bb
643 \series default
644
645 \begin_inset Newline newline
646 \end_inset
647
648 The second command creates the bounding box file 
649 \begin_inset Quotes eld
650 \end_inset
651
652 x.eps.bb
653 \begin_inset Quotes erd
654 \end_inset
655
656  that is needed by LaTeX for zipped graphics.
657 \begin_inset Newline newline
658 \end_inset
659
660 In the section 
661 \family sans
662 Graphics
663 \begin_inset space ~
664 \end_inset
665
666 Group
667 \family default
668  you can define or join an image settings group.
669 \begin_inset Index idx
670 status collapsed
671
672 \begin_layout Plain Layout
673 Figures ! Settings grouping
674 \end_layout
675
676 \end_inset
677
678  Images within such a group share their settings, so adjusting one image
679  of the group automatically also adjusts all other images of the group in
680  the same way.
681  So you can for example change the size for a bunch of images without the
682  need to manually change each of them.
683  Joining an existing group can also be done using the context menu of the
684  image by checking the name of the desired group.
685 \end_layout
686
687 \begin_layout Standard
688 \begin_inset VSpace bigskip
689 \end_inset
690
691
692 \end_layout
693
694 \begin_layout Standard
695 This is an example image in EPS format
696 \begin_inset Foot
697 status collapsed
698
699 \begin_layout Plain Layout
700 Image formats are explained in section
701 \begin_inset space ~
702 \end_inset
703
704
705 \begin_inset CommandInset ref
706 LatexCommand ref
707 reference "sec:Image-Formats"
708
709 \end_inset
710
711 .
712 \end_layout
713
714 \end_inset
715
716  within a separate, horizontally centered paragraph:
717 \end_layout
718
719 \begin_layout Standard
720 \align center
721 \begin_inset Graphics
722         filename clipart/mobius.eps
723         scale 70
724         scaleBeforeRotation
725         rotateOrigin center
726
727 \end_inset
728
729
730 \end_layout
731
732 \begin_layout Standard
733 This is the same image like the one above but in draft mode:
734 \end_layout
735
736 \begin_layout Standard
737 \align center
738 \begin_inset Graphics
739         filename clipart/mobius.eps
740         scale 70
741         draft
742         scaleBeforeRotation
743         rotateOrigin center
744
745 \end_inset
746
747
748 \end_layout
749
750 \begin_layout Standard
751 \begin_inset Newpage newpage
752 \end_inset
753
754
755 \end_layout
756
757 \begin_layout Section
758 Figure Floats
759 \begin_inset CommandInset label
760 LatexCommand label
761 name "sec:Figure-Floats"
762
763 \end_inset
764
765
766 \begin_inset Index idx
767 status collapsed
768
769 \begin_layout Plain Layout
770 Floats ! Figures
771 \end_layout
772
773 \end_inset
774
775
776 \begin_inset Index idx
777 status collapsed
778
779 \begin_layout Plain Layout
780 Figures ! Floats
781 \end_layout
782
783 \end_inset
784
785
786 \end_layout
787
788 \begin_layout Standard
789 For general explanations about floats, have a look at section
790 \begin_inset space ~
791 \end_inset
792
793
794 \begin_inset CommandInset ref
795 LatexCommand ref
796 reference "sec:FloatIntroduction"
797
798 \end_inset
799
800 .
801 \end_layout
802
803 \begin_layout Standard
804 The toolbar button 
805 \begin_inset Graphics
806         filename ../images/float-insert_figure.png
807         scale 85
808         scaleBeforeRotation
809
810 \end_inset
811
812  and the menu 
813 \family sans
814 Insert\SpecialChar \menuseparator
815 Float\SpecialChar \menuseparator
816 Figure
817 \family default
818  inserts a float with a caption that has the label 
819 \begin_inset Quotes eld
820 \end_inset
821
822 Figure
823 \begin_inset space ~
824 \end_inset
825
826 #:
827 \begin_inset Quotes erd
828 \end_inset
829
830  (# is the actual number).
831  You can insert the image above the caption, like in Figure
832 \begin_inset space ~
833 \end_inset
834
835
836 \begin_inset CommandInset ref
837 LatexCommand ref
838 reference "fig:kill-plat"
839
840 \end_inset
841
842  or below the caption, like in Figure
843 \begin_inset space ~
844 \end_inset
845
846
847 \begin_inset CommandInset ref
848 LatexCommand ref
849 reference "fig:escher"
850
851 \end_inset
852
853 .
854  More about caption placement is described in section
855 \begin_inset space ~
856 \end_inset
857
858
859 \begin_inset CommandInset ref
860 LatexCommand ref
861 reference "sec:Caption-Placement"
862
863 \end_inset
864
865 .
866 \end_layout
867
868 \begin_layout Standard
869 \begin_inset Float figure
870 wide false
871 sideways false
872 status open
873
874 \begin_layout Plain Layout
875 \align center
876 \begin_inset Graphics
877         filename clipart/platypus.eps
878         width 50col%
879         scaleBeforeRotation
880         rotateOrigin center
881
882 \end_inset
883
884
885 \end_layout
886
887 \begin_layout Plain Layout
888 \begin_inset Caption
889
890 \begin_layout Plain Layout
891 \begin_inset CommandInset label
892 LatexCommand label
893 name "fig:kill-plat"
894
895 \end_inset
896
897 A severely distorted platypus in a float.
898 \end_layout
899
900 \end_inset
901
902
903 \end_layout
904
905 \end_inset
906
907
908 \end_layout
909
910 \begin_layout Standard
911 \begin_inset Float figure
912 wide false
913 sideways false
914 status open
915
916 \begin_layout Plain Layout
917 \begin_inset Caption
918
919 \begin_layout Plain Layout
920 \begin_inset CommandInset label
921 LatexCommand label
922 name "fig:escher"
923
924 \end_inset
925
926 M.C.
927  Escher on acid.
928 \end_layout
929
930 \end_inset
931
932
933 \end_layout
934
935 \begin_layout Plain Layout
936 \align center
937 \begin_inset Graphics
938         filename clipart/escher-lsd.eps
939         scale 80
940         scaleBeforeRotation
941         rotateOrigin center
942
943 \end_inset
944
945
946 \end_layout
947
948 \end_inset
949
950
951 \end_layout
952
953 \begin_layout Standard
954 \begin_inset Index idx
955 status collapsed
956
957 \begin_layout Plain Layout
958 References ! to Figures
959 \end_layout
960
961 \end_inset
962
963 Figure
964 \begin_inset space ~
965 \end_inset
966
967
968 \begin_inset CommandInset ref
969 LatexCommand ref
970 reference "fig:kill-plat"
971
972 \end_inset
973
974  and 
975 \begin_inset CommandInset ref
976 LatexCommand ref
977 reference "fig:escher"
978
979 \end_inset
980
981  are examples of referenced figures.
982  Figures can be referenced in the text by referencing their label.
983  To do this insert a label in the caption using the menu 
984 \family sans
985 Insert\SpecialChar \menuseparator
986 Label
987 \family default
988  or the toolbar button 
989 \begin_inset Graphics
990         filename ../images/label-insert.png
991         scale 85
992         scaleBeforeRotation
993
994 \end_inset
995
996 .
997  You can now refer to the label using the menu 
998 \family sans
999 Insert\SpecialChar \menuseparator
1000 Cross
1001 \begin_inset space ~
1002 \end_inset
1003
1004 reference
1005 \family default
1006  or the toolbar button 
1007 \begin_inset Graphics
1008         filename ../images/dialog-show-new-inset_ref.png
1009         scale 85
1010         scaleBeforeRotation
1011
1012 \end_inset
1013
1014 .
1015  It is important to use references to floats, rather than using vague references
1016  like 
1017 \begin_inset Quotes eld
1018 \end_inset
1019
1020 the figure above
1021 \begin_inset Quotes erd
1022 \end_inset
1023
1024 , because LaTeX will reposition the floats in the final document and it
1025  might not be 
1026 \begin_inset Quotes eld
1027 \end_inset
1028
1029 above
1030 \begin_inset Quotes erd
1031 \end_inset
1032
1033  at all.
1034 \begin_inset Newline newline
1035 \end_inset
1036
1037 Referencing is explained in detail in section
1038 \begin_inset space ~
1039 \end_inset
1040
1041
1042 \begin_inset CommandInset ref
1043 LatexCommand ref
1044 reference "sec:Referencing-Floats"
1045
1046 \end_inset
1047
1048 .
1049 \end_layout
1050
1051 \begin_layout Standard
1052 Normally only one image is inserted to a figure float, but sometimes you
1053  might want to use two images with separate subcaptions.
1054  This can be done by inserting image floats into existing image floats.
1055  Note that only the main caption of the float is added to the List of Figures.
1056  Figure
1057 \begin_inset space ~
1058 \end_inset
1059
1060
1061 \begin_inset CommandInset ref
1062 LatexCommand ref
1063 reference "fig:Two-distorted-images"
1064
1065 \end_inset
1066
1067  is an example of a figure float with two images set side by side.
1068  You can also set the images one below the other.
1069  Figure
1070 \begin_inset space ~
1071 \end_inset
1072
1073
1074 \begin_inset CommandInset ref
1075 LatexCommand ref
1076 reference "fig:Undefinable-structure"
1077
1078 \end_inset
1079
1080  and 
1081 \begin_inset CommandInset ref
1082 LatexCommand ref
1083 reference "fig:A-Platypus"
1084
1085 \end_inset
1086
1087  are the subfigures.
1088 \end_layout
1089
1090 \begin_layout Standard
1091 \begin_inset Float figure
1092 wide false
1093 sideways false
1094 status open
1095
1096 \begin_layout Plain Layout
1097 \begin_inset space \hfill{}
1098 \end_inset
1099
1100
1101 \begin_inset Float figure
1102 wide false
1103 sideways false
1104 status collapsed
1105
1106 \begin_layout Plain Layout
1107 \begin_inset Caption
1108
1109 \begin_layout Plain Layout
1110 \begin_inset CommandInset label
1111 LatexCommand label
1112 name "fig:Undefinable-structure"
1113
1114 \end_inset
1115
1116 Undefinable structure.
1117 \end_layout
1118
1119 \end_inset
1120
1121
1122 \end_layout
1123
1124 \begin_layout Plain Layout
1125 \begin_inset Graphics
1126         filename clipart/escher-lsd.eps
1127         width 45col%
1128         scaleBeforeRotation
1129         groupId distorted
1130
1131 \end_inset
1132
1133
1134 \end_layout
1135
1136 \end_inset
1137
1138
1139 \begin_inset space \hfill{}
1140 \end_inset
1141
1142
1143 \begin_inset Float figure
1144 wide false
1145 sideways false
1146 status collapsed
1147
1148 \begin_layout Plain Layout
1149 \begin_inset Caption
1150
1151 \begin_layout Plain Layout
1152 \begin_inset CommandInset label
1153 LatexCommand label
1154 name "fig:A-Platypus"
1155
1156 \end_inset
1157
1158 A Platypus.
1159 \end_layout
1160
1161 \end_inset
1162
1163
1164 \end_layout
1165
1166 \begin_layout Plain Layout
1167 \begin_inset Graphics
1168         filename clipart/platypus.eps
1169         width 45col%
1170         scaleBeforeRotation
1171         groupId distorted
1172
1173 \end_inset
1174
1175
1176 \end_layout
1177
1178 \end_inset
1179
1180
1181 \begin_inset space \hfill{}
1182 \end_inset
1183
1184
1185 \end_layout
1186
1187 \begin_layout Plain Layout
1188 \begin_inset Caption
1189
1190 \begin_layout Plain Layout
1191 \begin_inset CommandInset label
1192 LatexCommand label
1193 name "fig:Two-distorted-images"
1194
1195 \end_inset
1196
1197
1198 \begin_inset CommandInset label
1199 LatexCommand label
1200 name "fig2:Two-distorted-images-2"
1201
1202 \end_inset
1203
1204 Two distorted images.
1205  Both images are in the image settings group named 
1206 \begin_inset Quotes eld
1207 \end_inset
1208
1209 distorted
1210 \begin_inset Quotes erd
1211 \end_inset
1212
1213 .
1214 \end_layout
1215
1216 \end_inset
1217
1218
1219 \end_layout
1220
1221 \end_inset
1222
1223
1224 \end_layout
1225
1226 \begin_layout Standard
1227 \begin_inset Newpage newpage
1228 \end_inset
1229
1230
1231 \end_layout
1232
1233 \begin_layout Section
1234 Image Formats
1235 \begin_inset CommandInset label
1236 LatexCommand label
1237 name "sec:Image-Formats"
1238
1239 \end_inset
1240
1241
1242 \begin_inset Index idx
1243 status collapsed
1244
1245 \begin_layout Plain Layout
1246 Image Formats
1247 \end_layout
1248
1249 \end_inset
1250
1251
1252 \begin_inset Index idx
1253 status collapsed
1254
1255 \begin_layout Plain Layout
1256 Figures ! Image Formats
1257 \end_layout
1258
1259 \end_inset
1260
1261
1262 \end_layout
1263
1264 \begin_layout Standard
1265 You can insert images in any known file format.
1266  But as explained in appendix
1267 \begin_inset space ~
1268 \end_inset
1269
1270
1271 \begin_inset CommandInset ref
1272 LatexCommand ref
1273 reference "cha:Output-File-Formats"
1274
1275 \end_inset
1276
1277 , each output document format allows only a few image formats.
1278  LyX uses therefore the program 
1279 \family typewriter
1280 ImageMagick
1281 \family default
1282  in the background to convert the images to the right format.
1283  To increase your work flow by avoiding these conversions in the background,
1284  you can use only the image formats that can directly be embedded in the
1285  output file format.
1286  The output file formats are explained in appendix
1287 \begin_inset space ~
1288 \end_inset
1289
1290
1291 \begin_inset CommandInset ref
1292 LatexCommand ref
1293 reference "cha:Output-File-Formats"
1294
1295 \end_inset
1296
1297 .
1298 \end_layout
1299
1300 \begin_layout Standard
1301 Similar to fonts there are two types of image formats:
1302 \end_layout
1303
1304 \begin_layout Description
1305 Bitmap
1306 \begin_inset space ~
1307 \end_inset
1308
1309 images consist of pixel values, often in a compressed form.
1310  They are therefore not fully scalable and look pixelated in large zooms.
1311  Well-known bitmap image formats are 
1312 \begin_inset Quotes eld
1313 \end_inset
1314
1315 Graphics Interchange Format
1316 \begin_inset Quotes erd
1317 \end_inset
1318
1319  (GIF, file extension 
1320 \begin_inset Quotes eld
1321 \end_inset
1322
1323
1324 \family typewriter
1325 .gif
1326 \family default
1327
1328 \begin_inset Quotes erd
1329 \end_inset
1330
1331 )
1332 \begin_inset Index idx
1333 status collapsed
1334
1335 \begin_layout Plain Layout
1336 GIF|see
1337 \begin_inset ERT
1338 status collapsed
1339
1340 \begin_layout Plain Layout
1341
1342 {
1343 \end_layout
1344
1345 \end_inset
1346
1347 Image formats
1348 \begin_inset ERT
1349 status collapsed
1350
1351 \begin_layout Plain Layout
1352
1353 }
1354 \end_layout
1355
1356 \end_inset
1357
1358
1359 \end_layout
1360
1361 \end_inset
1362
1363
1364 \begin_inset Quotes eld
1365 \end_inset
1366
1367 Portable Network Graphics
1368 \begin_inset Quotes erd
1369 \end_inset
1370
1371  (PNG, file extension 
1372 \begin_inset Quotes eld
1373 \end_inset
1374
1375
1376 \family typewriter
1377 .png
1378 \family default
1379
1380 \begin_inset Quotes erd
1381 \end_inset
1382
1383 )
1384 \begin_inset Index idx
1385 status collapsed
1386
1387 \begin_layout Plain Layout
1388 PNG|see
1389 \begin_inset ERT
1390 status collapsed
1391
1392 \begin_layout Plain Layout
1393
1394 {
1395 \end_layout
1396
1397 \end_inset
1398
1399 Image formats
1400 \begin_inset ERT
1401 status collapsed
1402
1403 \begin_layout Plain Layout
1404
1405 }
1406 \end_layout
1407
1408 \end_inset
1409
1410
1411 \end_layout
1412
1413 \end_inset
1414
1415 , and 
1416 \begin_inset Quotes eld
1417 \end_inset
1418
1419 Joint Photographic Experts Group
1420 \begin_inset Quotes erd
1421 \end_inset
1422
1423  (JPG, file extension 
1424 \begin_inset Quotes eld
1425 \end_inset
1426
1427
1428 \family typewriter
1429 .jpg
1430 \family default
1431
1432 \begin_inset Quotes erd
1433 \end_inset
1434
1435  or 
1436 \begin_inset Quotes eld
1437 \end_inset
1438
1439
1440 \family typewriter
1441 .jpeg
1442 \family default
1443
1444 \begin_inset Quotes erd
1445 \end_inset
1446
1447 )
1448 \begin_inset Index idx
1449 status collapsed
1450
1451 \begin_layout Plain Layout
1452 JPG|see
1453 \begin_inset ERT
1454 status collapsed
1455
1456 \begin_layout Plain Layout
1457
1458 {
1459 \end_layout
1460
1461 \end_inset
1462
1463 Image formats
1464 \begin_inset ERT
1465 status collapsed
1466
1467 \begin_layout Plain Layout
1468
1469 }
1470 \end_layout
1471
1472 \end_inset
1473
1474
1475 \end_layout
1476
1477 \end_inset
1478
1479 .
1480 \end_layout
1481
1482 \begin_layout Description
1483 Vector
1484 \begin_inset space ~
1485 \end_inset
1486
1487 images consist of vectors and can therefore be scaled to any size without
1488  data loss.
1489  The scaling ability is necessary if you want to create presentations, because
1490  presentations are always scaled by the video projector.
1491  Scaling is also useful for online documents to let the user zoom into diagrams.
1492 \begin_inset Newline newline
1493 \end_inset
1494
1495 Well-known scalable image formats are 
1496 \begin_inset Quotes eld
1497 \end_inset
1498
1499 Scalable Vector Graphics
1500 \begin_inset Quotes erd
1501 \end_inset
1502
1503  (SVG, file extension 
1504 \begin_inset Quotes eld
1505 \end_inset
1506
1507
1508 \family typewriter
1509 .svg
1510 \family default
1511
1512 \begin_inset Quotes erd
1513 \end_inset
1514
1515 )
1516 \begin_inset Index idx
1517 status collapsed
1518
1519 \begin_layout Plain Layout
1520 SVG|see
1521 \begin_inset ERT
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525
1526 {
1527 \end_layout
1528
1529 \end_inset
1530
1531 Image formats
1532 \begin_inset ERT
1533 status collapsed
1534
1535 \begin_layout Plain Layout
1536
1537 }
1538 \end_layout
1539
1540 \end_inset
1541
1542
1543 \end_layout
1544
1545 \end_inset
1546
1547
1548 \begin_inset Quotes eld
1549 \end_inset
1550
1551 Encapsulated PostScript
1552 \begin_inset Quotes erd
1553 \end_inset
1554
1555  (EPS, file extension 
1556 \begin_inset Quotes eld
1557 \end_inset
1558
1559
1560 \family typewriter
1561 .eps
1562 \family default
1563
1564 \begin_inset Quotes erd
1565 \end_inset
1566
1567 )
1568 \begin_inset Index idx
1569 status collapsed
1570
1571 \begin_layout Plain Layout
1572 EPS|see
1573 \begin_inset ERT
1574 status collapsed
1575
1576 \begin_layout Plain Layout
1577
1578 {
1579 \end_layout
1580
1581 \end_inset
1582
1583 Image formats
1584 \begin_inset ERT
1585 status collapsed
1586
1587 \begin_layout Plain Layout
1588
1589 }
1590 \end_layout
1591
1592 \end_inset
1593
1594
1595 \end_layout
1596
1597 \end_inset
1598
1599
1600 \begin_inset Quotes eld
1601 \end_inset
1602
1603 Portable Document Format
1604 \begin_inset Quotes erd
1605 \end_inset
1606
1607  (PDF, file extension 
1608 \begin_inset Quotes eld
1609 \end_inset
1610
1611
1612 \family typewriter
1613 .pdf
1614 \family default
1615
1616 \begin_inset Quotes erd
1617 \end_inset
1618
1619 )
1620 \begin_inset Index idx
1621 status collapsed
1622
1623 \begin_layout Plain Layout
1624 PDF
1625 \end_layout
1626
1627 \end_inset
1628
1629 , and 
1630 \begin_inset Quotes eld
1631 \end_inset
1632
1633 Windows Metafile
1634 \begin_inset Quotes erd
1635 \end_inset
1636
1637  (WMF, file extension 
1638 \begin_inset Quotes eld
1639 \end_inset
1640
1641
1642 \family typewriter
1643 .wmf
1644 \family default
1645
1646 \begin_inset Quotes erd
1647 \end_inset
1648
1649 )
1650 \begin_inset Index idx
1651 status collapsed
1652
1653 \begin_layout Plain Layout
1654 SVG|see
1655 \begin_inset ERT
1656 status collapsed
1657
1658 \begin_layout Plain Layout
1659
1660 {
1661 \end_layout
1662
1663 \end_inset
1664
1665 Image formats
1666 \begin_inset ERT
1667 status collapsed
1668
1669 \begin_layout Plain Layout
1670
1671 }
1672 \end_layout
1673
1674 \end_inset
1675
1676
1677 \end_layout
1678
1679 \end_inset
1680
1681 .
1682  We wrote 
1683 \begin_inset Quotes eld
1684 \end_inset
1685
1686 can be
1687 \begin_inset Quotes erd
1688 \end_inset
1689
1690 , because you can convert any bitmap image to a PDF or EPS-image and the
1691  result will still be a bitmap image.
1692  In such cases only a header with the image properties is added to the original
1693  image
1694 \begin_inset Foot
1695 status collapsed
1696
1697 \begin_layout Plain Layout
1698 In the case of PDF, the original image is additionally compressed.
1699 \end_layout
1700
1701 \end_inset
1702
1703 .
1704  The PDF-files generated by 
1705 \family typewriter
1706 Adobe Photoshop
1707 \family default
1708  are for example bitmap images.
1709 \end_layout
1710
1711 \begin_layout Standard
1712 Normally it is not possible to convert a bitmap image into a scalable one,
1713  only vice versa.
1714  Only the image formats PDF and EPS can directly be embedded to PDF and
1715  PostScript output files, respectively.
1716  SVG and WMF-images are recalculated to bitmaps when the output file is
1717  generated because there is currently no adequate WMF/SVG
1718 \begin_inset Formula $\to$
1719 \end_inset
1720
1721 PDF/EPS converter available.
1722 \end_layout
1723
1724 \begin_layout Chapter
1725 Tables
1726 \begin_inset Index idx
1727 status collapsed
1728
1729 \begin_layout Plain Layout
1730 Table
1731 \end_layout
1732
1733 \end_inset
1734
1735
1736 \end_layout
1737
1738 \begin_layout Section
1739 Introduction
1740 \begin_inset Index idx
1741 status collapsed
1742
1743 \begin_layout Plain Layout
1744 Table ! Introduction
1745 \end_layout
1746
1747 \end_inset
1748
1749
1750 \end_layout
1751
1752 \begin_layout Standard
1753 You can insert a table using either the toolbar button 
1754 \begin_inset Graphics
1755         filename ../images/tabular-insert.png
1756         scale 85
1757         scaleBeforeRotation
1758
1759 \end_inset
1760
1761  or the menu 
1762 \family sans
1763 Insert\SpecialChar \menuseparator
1764 Table
1765 \family default
1766 .
1767  The toolbar button offers you a graphical selection: move the mouse to
1768  set the column/row number of the table that should be created and then
1769  press a mouse button.
1770  When you use the menu to create a table, a dialog will appear, asking you
1771  for the number of rows and columns.
1772 \begin_inset Newline newline
1773 \end_inset
1774
1775  The default table has lines around any cell and the first row appears separated
1776  from the rest of the table.
1777  This separation occurs due to a double line: The cells of the first row
1778  have a line below them and the cells of the second row have a line above
1779  them.
1780  Here is an example table:
1781 \end_layout
1782
1783 \begin_layout Standard
1784 \align center
1785 \begin_inset Tabular
1786 <lyxtabular version="3" rows="4" columns="4">
1787 <features tabularvalignment="middle">
1788 <column alignment="center" valignment="top" width="0">
1789 <column alignment="center" valignment="top" width="0">
1790 <column alignment="center" valignment="top" width="0">
1791 <column alignment="center" valignment="top" width="0">
1792 <row>
1793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1794 \begin_inset Text
1795
1796 \begin_layout Plain Layout
1797
1798 \end_layout
1799
1800 \end_inset
1801 </cell>
1802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1803 \begin_inset Text
1804
1805 \begin_layout Plain Layout
1806
1807 \family roman
1808 \series medium
1809 \shape up
1810 \size normal
1811 \emph off
1812 \bar no
1813 \noun off
1814 \color none
1815 1
1816 \end_layout
1817
1818 \end_inset
1819 </cell>
1820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1821 \begin_inset Text
1822
1823 \begin_layout Plain Layout
1824 2
1825 \end_layout
1826
1827 \end_inset
1828 </cell>
1829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1830 \begin_inset Text
1831
1832 \begin_layout Plain Layout
1833 3
1834 \end_layout
1835
1836 \end_inset
1837 </cell>
1838 </row>
1839 <row>
1840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1841 \begin_inset Text
1842
1843 \begin_layout Plain Layout
1844
1845 \family roman
1846 \series medium
1847 \shape up
1848 \size normal
1849 \emph off
1850 \bar no
1851 \noun off
1852 \color none
1853 A
1854 \end_layout
1855
1856 \end_inset
1857 </cell>
1858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1859 \begin_inset Text
1860
1861 \begin_layout Plain Layout
1862
1863 \end_layout
1864
1865 \end_inset
1866 </cell>
1867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1868 \begin_inset Text
1869
1870 \begin_layout Plain Layout
1871
1872 \end_layout
1873
1874 \end_inset
1875 </cell>
1876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1877 \begin_inset Text
1878
1879 \begin_layout Plain Layout
1880
1881 \end_layout
1882
1883 \end_inset
1884 </cell>
1885 </row>
1886 <row>
1887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1888 \begin_inset Text
1889
1890 \begin_layout Plain Layout
1891
1892 \family roman
1893 \series medium
1894 \shape up
1895 \size normal
1896 \emph off
1897 \bar no
1898 \noun off
1899 \color none
1900 B
1901 \end_layout
1902
1903 \end_inset
1904 </cell>
1905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1906 \begin_inset Text
1907
1908 \begin_layout Plain Layout
1909
1910 \end_layout
1911
1912 \end_inset
1913 </cell>
1914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1915 \begin_inset Text
1916
1917 \begin_layout Plain Layout
1918
1919 \end_layout
1920
1921 \end_inset
1922 </cell>
1923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1924 \begin_inset Text
1925
1926 \begin_layout Plain Layout
1927
1928 \end_layout
1929
1930 \end_inset
1931 </cell>
1932 </row>
1933 <row>
1934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1935 \begin_inset Text
1936
1937 \begin_layout Plain Layout
1938
1939 \family roman
1940 \series medium
1941 \shape up
1942 \size normal
1943 \emph off
1944 \bar no
1945 \noun off
1946 \color none
1947 C
1948 \end_layout
1949
1950 \end_inset
1951 </cell>
1952 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1953 \begin_inset Text
1954
1955 \begin_layout Plain Layout
1956
1957 \end_layout
1958
1959 \end_inset
1960 </cell>
1961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1962 \begin_inset Text
1963
1964 \begin_layout Plain Layout
1965
1966 \end_layout
1967
1968 \end_inset
1969 </cell>
1970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1971 \begin_inset Text
1972
1973 \begin_layout Plain Layout
1974
1975 \end_layout
1976
1977 \end_inset
1978 </cell>
1979 </row>
1980 </lyxtabular>
1981
1982 \end_inset
1983
1984
1985 \end_layout
1986
1987 \begin_layout Section
1988 Table Dialog
1989 \begin_inset Index idx
1990 status collapsed
1991
1992 \begin_layout Plain Layout
1993 Table ! Dialog
1994 \end_layout
1995
1996 \end_inset
1997
1998
1999 \end_layout
2000
2001 \begin_layout Standard
2002 You can alter a table by clicking on it with the right mouse button, which
2003  brings up the table dialog.
2004  Here you can adjust the settings of that cell and row/column respectively
2005  where the cursor is currently placed.
2006  Most of the dialog options also work on selections.
2007  This means if you select more cells, columns or rows, the action is done
2008  for the whole selection.
2009  Note that there is a difference between selecting the 
2010 \emph on
2011 contents
2012 \emph default
2013  of the cell, and the cell itself.
2014 \begin_inset Newline newline
2015 \end_inset
2016
2017 With the dialog option 
2018 \family sans
2019 Immediate
2020 \begin_inset space ~
2021 \end_inset
2022
2023 Apply
2024 \family default
2025  every change you make in the dialog is directly applied.
2026  If you move the cursor to another table cell the dialog will then also
2027  be updated with the parameters of the new cell.
2028  If you change length values in the dialog you must press return to get
2029  the change applied.
2030 \begin_inset Newline newline
2031 \end_inset
2032
2033 You can alter tables with the following tabs of the table dialog:
2034 \end_layout
2035
2036 \begin_layout Description
2037
2038 \family sans
2039 Table
2040 \begin_inset space ~
2041 \end_inset
2042
2043 Settings
2044 \family default
2045  Here you can set the table width
2046 \begin_inset Index idx
2047 status collapsed
2048
2049 \begin_layout Plain Layout
2050 Table ! Width
2051 \end_layout
2052
2053 \end_inset
2054
2055 , and the horizontal alignment and the width of the current column.
2056  The alignment 
2057 \family sans
2058 At
2059 \begin_inset space ~
2060 \end_inset
2061
2062 Decimal
2063 \begin_inset space ~
2064 \end_inset
2065
2066 Separator
2067 \family default
2068  is described in section
2069 \begin_inset space ~
2070 \end_inset
2071
2072
2073 \begin_inset CommandInset ref
2074 LatexCommand ref
2075 reference "sub:Special-Cell-Alignment"
2076
2077 \end_inset
2078
2079 .
2080  When you have set a width you can also adjust the vertical alignment of
2081  the current row.
2082  A given width will allow the cell to have line breaks and multiple paragraphs
2083  of text, see section
2084 \begin_inset space ~
2085 \end_inset
2086
2087
2088 \begin_inset CommandInset ref
2089 LatexCommand ref
2090 reference "sub:Multiple-Lines-in"
2091
2092 \end_inset
2093
2094 .
2095  If you set no width, the column is as wide as the content of its widest
2096  cell.
2097 \begin_inset Newline newline
2098 \end_inset
2099
2100 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2101  cell, see section
2102 \begin_inset space ~
2103 \end_inset
2104
2105
2106 \begin_inset CommandInset ref
2107 LatexCommand ref
2108 reference "sub:Multicolumns"
2109
2110 \end_inset
2111
2112  or the cells of one column as multirow cell, see section
2113 \begin_inset space ~
2114 \end_inset
2115
2116
2117 \begin_inset CommandInset ref
2118 LatexCommand ref
2119 reference "sub:Multirows"
2120
2121 \end_inset
2122
2123 .
2124 \begin_inset Newline newline
2125 \end_inset
2126
2127 The rotate check boxes rotate the current cell, a selection, or the whole
2128  table counter-clockwise by 90°.
2129  The rotation is not shown within LyX, only in the output.
2130 \begin_inset Newline newline
2131 \end_inset
2132
2133
2134 \begin_inset Note Greyedout
2135 status open
2136
2137 \begin_layout Plain Layout
2138
2139 \series bold
2140 Note:
2141 \series default
2142  Not all DVI-viewers are able to display rotations.
2143 \end_layout
2144
2145 \end_inset
2146
2147
2148 \begin_inset Newline newline
2149 \end_inset
2150
2151 The table-wide vertical alignment is used for tables within text lines:
2152 \begin_inset Newline newline
2153 \end_inset
2154
2155 A line with tables with different alignments: 
2156 \begin_inset Tabular
2157 <lyxtabular version="3" rows="2" columns="2">
2158 <features tabularvalignment="top">
2159 <column alignment="center" valignment="top" width="0pt">
2160 <column alignment="center" valignment="top" width="0">
2161 <row>
2162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2163 \begin_inset Text
2164
2165 \begin_layout Plain Layout
2166
2167 \end_layout
2168
2169 \end_inset
2170 </cell>
2171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2172 \begin_inset Text
2173
2174 \begin_layout Plain Layout
2175
2176 \family roman
2177 \series medium
2178 \shape up
2179 \size normal
2180 \emph off
2181 \bar no
2182 \noun off
2183 \color none
2184 1
2185 \end_layout
2186
2187 \end_inset
2188 </cell>
2189 </row>
2190 <row>
2191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2192 \begin_inset Text
2193
2194 \begin_layout Plain Layout
2195
2196 \family roman
2197 \series medium
2198 \shape up
2199 \size normal
2200 \emph off
2201 \bar no
2202 \noun off
2203 \color none
2204 A
2205 \end_layout
2206
2207 \end_inset
2208 </cell>
2209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2210 \begin_inset Text
2211
2212 \begin_layout Plain Layout
2213
2214 \end_layout
2215
2216 \end_inset
2217 </cell>
2218 </row>
2219 </lyxtabular>
2220
2221 \end_inset
2222
2223  
2224 \begin_inset Tabular
2225 <lyxtabular version="3" rows="2" columns="2">
2226 <features tabularvalignment="middle">
2227 <column alignment="center" valignment="top" width="0">
2228 <column alignment="center" valignment="top" width="0">
2229 <row>
2230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2231 \begin_inset Text
2232
2233 \begin_layout Plain Layout
2234
2235 \end_layout
2236
2237 \end_inset
2238 </cell>
2239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2240 \begin_inset Text
2241
2242 \begin_layout Plain Layout
2243
2244 \family roman
2245 \series medium
2246 \shape up
2247 \size normal
2248 \emph off
2249 \bar no
2250 \noun off
2251 \color none
2252 1
2253 \end_layout
2254
2255 \end_inset
2256 </cell>
2257 </row>
2258 <row>
2259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2260 \begin_inset Text
2261
2262 \begin_layout Plain Layout
2263
2264 \family roman
2265 \series medium
2266 \shape up
2267 \size normal
2268 \emph off
2269 \bar no
2270 \noun off
2271 \color none
2272 A
2273 \end_layout
2274
2275 \end_inset
2276 </cell>
2277 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2278 \begin_inset Text
2279
2280 \begin_layout Plain Layout
2281
2282 \end_layout
2283
2284 \end_inset
2285 </cell>
2286 </row>
2287 </lyxtabular>
2288
2289 \end_inset
2290
2291  
2292 \begin_inset Tabular
2293 <lyxtabular version="3" rows="2" columns="2">
2294 <features tabularvalignment="bottom">
2295 <column alignment="center" valignment="top" width="0pt">
2296 <column alignment="center" valignment="top" width="0">
2297 <row>
2298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2299 \begin_inset Text
2300
2301 \begin_layout Plain Layout
2302
2303 \end_layout
2304
2305 \end_inset
2306 </cell>
2307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2308 \begin_inset Text
2309
2310 \begin_layout Plain Layout
2311
2312 \family roman
2313 \series medium
2314 \shape up
2315 \size normal
2316 \emph off
2317 \bar no
2318 \noun off
2319 \color none
2320 1
2321 \end_layout
2322
2323 \end_inset
2324 </cell>
2325 </row>
2326 <row>
2327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2328 \begin_inset Text
2329
2330 \begin_layout Plain Layout
2331
2332 \family roman
2333 \series medium
2334 \shape up
2335 \size normal
2336 \emph off
2337 \bar no
2338 \noun off
2339 \color none
2340 A
2341 \end_layout
2342
2343 \end_inset
2344 </cell>
2345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2346 \begin_inset Text
2347
2348 \begin_layout Plain Layout
2349
2350 \end_layout
2351
2352 \end_inset
2353 </cell>
2354 </row>
2355 </lyxtabular>
2356
2357 \end_inset
2358
2359
2360 \begin_inset Newline newline
2361 \end_inset
2362
2363 It is also possible to enter a LaTeX-argument which is needed for special
2364  table formattings, see section
2365 \begin_inset space ~
2366 \end_inset
2367
2368
2369 \begin_inset CommandInset ref
2370 LatexCommand ref
2371 reference "sub:Multicolumn-Calculations"
2372
2373 \end_inset
2374
2375  and 
2376 \begin_inset CommandInset ref
2377 LatexCommand ref
2378 reference "sec:Colored-Tables"
2379
2380 \end_inset
2381
2382 .
2383 \end_layout
2384
2385 \begin_layout Description
2386
2387 \family sans
2388 Borders
2389 \family default
2390  In this tab you can add and delete border lines for the current row/column.
2391 \begin_inset Newline newline
2392 \end_inset
2393
2394 Using the style option 
2395 \family sans
2396 Formal
2397 \family default
2398  will convert the table to a formal table as described in section
2399 \begin_inset space ~
2400 \end_inset
2401
2402
2403 \begin_inset CommandInset ref
2404 LatexCommand ref
2405 reference "sec:Formal-Tables"
2406
2407 \end_inset
2408
2409 .
2410 \begin_inset Newline newline
2411 \end_inset
2412
2413 You can also add here space to table rows as described in section
2414 \begin_inset space ~
2415 \end_inset
2416
2417
2418 \begin_inset CommandInset ref
2419 LatexCommand ref
2420 reference "sub:Row-Spacing"
2421
2422 \end_inset
2423
2424 .
2425 \end_layout
2426
2427 \begin_layout Description
2428
2429 \family sans
2430 Longtable
2431 \family default
2432  This tab is to make a table a so called 
2433 \begin_inset Quotes eld
2434 \end_inset
2435
2436
2437 \emph on
2438 longtable
2439 \emph default
2440
2441 \begin_inset Quotes erd
2442 \end_inset
2443
2444  that can run over several pages.
2445  Sections
2446 \begin_inset space ~
2447 \end_inset
2448
2449
2450 \begin_inset CommandInset ref
2451 LatexCommand ref
2452 reference "sec:Longtables"
2453
2454 \end_inset
2455
2456  and 
2457 \begin_inset CommandInset ref
2458 LatexCommand ref
2459 reference "sec:Special-Longtable-Issues"
2460
2461 \end_inset
2462
2463  describe the longtable features in detail.
2464 \end_layout
2465
2466 \begin_layout Section
2467 Table Toolbar
2468 \begin_inset Index idx
2469 status collapsed
2470
2471 \begin_layout Plain Layout
2472 Table ! Toolbar
2473 \end_layout
2474
2475 \end_inset
2476
2477
2478 \end_layout
2479
2480 \begin_layout Standard
2481 The table toolbar is an alternative to the table dialog to be able to alter
2482  tables faster.
2483  It should normally appear at the bottom of LyX's main window when the cursor
2484  is inside a table.
2485  You can alternatively switch it on to appear always, by right-clicking
2486  in LyX's main menu bar.
2487 \end_layout
2488
2489 \begin_layout Standard
2490 The toolbar has the following icons:
2491 \end_layout
2492
2493 \begin_layout Labeling
2494 \labelwidthstring 00.00.0000
2495 \begin_inset Graphics
2496         filename ../images/tabular-feature_append-row.png
2497         scaleBeforeRotation
2498
2499 \end_inset
2500
2501  adds a row below the current cell or selection
2502 \end_layout
2503
2504 \begin_layout Labeling
2505 \labelwidthstring 00.00.0000
2506 \begin_inset Graphics
2507         filename ../images/tabular-feature_append-column.png
2508         scaleBeforeRotation
2509
2510 \end_inset
2511
2512  adds a column right beside the current cell or selection
2513 \end_layout
2514
2515 \begin_layout Labeling
2516 \labelwidthstring 00.00.0000
2517 \begin_inset Graphics
2518         filename ../images/tabular-feature_delete-row.png
2519         scaleBeforeRotation
2520
2521 \end_inset
2522
2523  deletes the current row or selection
2524 \end_layout
2525
2526 \begin_layout Labeling
2527 \labelwidthstring 00.00.0000
2528 \begin_inset Graphics
2529         filename ../images/tabular-feature_delete-column.png
2530         scaleBeforeRotation
2531
2532 \end_inset
2533
2534  deletes the current column or selection
2535 \end_layout
2536
2537 \begin_layout Labeling
2538 \labelwidthstring 00.00.0000
2539 \begin_inset Graphics
2540         filename ../images/tabular-feature_toggle-line-top.png
2541         scaleBeforeRotation
2542
2543 \end_inset
2544
2545  adds a line at the top of the current cell / row or of a selection
2546 \end_layout
2547
2548 \begin_layout Labeling
2549 \labelwidthstring 00.00.0000
2550 \begin_inset Graphics
2551         filename ../images/tabular-feature_toggle-line-bottom.png
2552         scaleBeforeRotation
2553
2554 \end_inset
2555
2556  adds a line at the bottom of the current cell / row or of a selection
2557 \end_layout
2558
2559 \begin_layout Labeling
2560 \labelwidthstring 00.00.0000
2561 \begin_inset Graphics
2562         filename ../images/tabular-feature_toggle-line-left.png
2563         scaleBeforeRotation
2564
2565 \end_inset
2566
2567  adds a line at the left side of the current cell / row or of a selection
2568 \end_layout
2569
2570 \begin_layout Labeling
2571 \labelwidthstring 00.00.0000
2572 \begin_inset Graphics
2573         filename ../images/tabular-feature_toggle-line-right.png
2574         scaleBeforeRotation
2575
2576 \end_inset
2577
2578  adds a line at the right side of the current cell / row or of a selection
2579 \end_layout
2580
2581 \begin_layout Labeling
2582 \labelwidthstring 00.00.0000
2583 \begin_inset Graphics
2584         filename ../images/tabular-feature_set-all-lines.png
2585         scaleBeforeRotation
2586
2587 \end_inset
2588
2589  adds lines around the current or selected cells - if the current cell no
2590  multicolumn cell this also affects the current row and column
2591 \end_layout
2592
2593 \begin_layout Labeling
2594 \labelwidthstring 00.00.0000
2595 \begin_inset Graphics
2596         filename ../images/tabular-feature_unset-all-lines.png
2597         scaleBeforeRotation
2598
2599 \end_inset
2600
2601  deletes all lines of the current or selected cells - if the current cell
2602  no multicolumn cell this also affects the current row and column
2603 \end_layout
2604
2605 \begin_layout Labeling
2606 \labelwidthstring 00.00.0000
2607 \begin_inset Graphics
2608         filename ../images/tabular-feature_m-align-left.png
2609         scaleBeforeRotation
2610
2611 \end_inset
2612
2613  left-aligns the content of the current cell / column
2614 \end_layout
2615
2616 \begin_layout Labeling
2617 \labelwidthstring 00.00.0000
2618 \begin_inset Graphics
2619         filename ../images/tabular-feature_m-align-center.png
2620         scaleBeforeRotation
2621
2622 \end_inset
2623
2624  centers the content of the current cell / column horizontally
2625 \end_layout
2626
2627 \begin_layout Labeling
2628 \labelwidthstring 00.00.0000
2629 \begin_inset Graphics
2630         filename ../images/tabular-feature_m-align-right.png
2631         scaleBeforeRotation
2632
2633 \end_inset
2634
2635  right-aligns the content of the current cell / column
2636 \end_layout
2637
2638 \begin_layout Labeling
2639 \labelwidthstring 00.00.0000
2640 \begin_inset Graphics
2641         filename ../images/tabular-feature_align-decimal.png
2642         scaleBeforeRotation
2643
2644 \end_inset
2645
2646  aligns the content of the current column at a character
2647 \end_layout
2648
2649 \begin_layout Labeling
2650 \labelwidthstring 00.00.0000
2651 \begin_inset Graphics
2652         filename ../images/tabular-feature_m-valign-top.png
2653         scaleBeforeRotation
2654
2655 \end_inset
2656
2657  aligns the content of the current cell vertically to the top
2658 \end_layout
2659
2660 \begin_layout Labeling
2661 \labelwidthstring 00.00.0000
2662 \begin_inset Graphics
2663         filename ../images/tabular-feature_m-valign-middle.png
2664         scaleBeforeRotation
2665
2666 \end_inset
2667
2668  centers the content of the current cell vertically
2669 \end_layout
2670
2671 \begin_layout Labeling
2672 \labelwidthstring 00.00.0000
2673 \begin_inset Graphics
2674         filename ../images/tabular-feature_m-valign-bottom.png
2675         scaleBeforeRotation
2676
2677 \end_inset
2678
2679  aligns the content of the current cell vertically to the bottom
2680 \end_layout
2681
2682 \begin_layout Labeling
2683 \labelwidthstring 00.00.0000
2684 \begin_inset Graphics
2685         filename ../images/tabular-feature_set-rotate-cell.png
2686         scaleBeforeRotation
2687
2688 \end_inset
2689
2690  rotates the current cell or selection counter-clockwise by 90°
2691 \end_layout
2692
2693 \begin_layout Labeling
2694 \labelwidthstring 00.00.0000
2695 \begin_inset Graphics
2696         filename ../images/tabular-feature_set-rotate-tabular.png
2697         scaleBeforeRotation
2698
2699 \end_inset
2700
2701  rotates the whole table counter-clockwise by 90°
2702 \end_layout
2703
2704 \begin_layout Labeling
2705 \labelwidthstring 00.00.0000
2706 \begin_inset Graphics
2707         filename ../images/tabular-feature_multicolumn.png
2708         scaleBeforeRotation
2709
2710 \end_inset
2711
2712  sets the current cell or selection as a multicolumn
2713 \end_layout
2714
2715 \begin_layout Labeling
2716 \labelwidthstring 00.00.0000
2717 \begin_inset Graphics
2718         filename ../images/tabular-feature_multirow.png
2719         scaleBeforeRotation
2720
2721 \end_inset
2722
2723  sets the current cell or selection as a multirow
2724 \end_layout
2725
2726 \begin_layout Standard
2727 \begin_inset Note Greyedout
2728 status open
2729
2730 \begin_layout Plain Layout
2731
2732 \series bold
2733 Note:
2734 \series default
2735  For the output the vertical alignment of the first cell in a row is used
2736  for all following cells in the row.
2737 \end_layout
2738
2739 \end_inset
2740
2741
2742 \end_layout
2743
2744 \begin_layout Section
2745 Edit Table Menu
2746 \begin_inset Index idx
2747 status collapsed
2748
2749 \begin_layout Plain Layout
2750 Table ! Edit Menu
2751 \end_layout
2752
2753 \end_inset
2754
2755
2756 \end_layout
2757
2758 \begin_layout Standard
2759 Additionally to the table dialog and toolbar, the menu 
2760 \family sans
2761 Edit\SpecialChar \menuseparator
2762 Table
2763 \family default
2764  allows you to add and delete border lines for the current row/column and
2765  to set the current selection as multicolumn.
2766  The menu is only available when the cursor is inside a table.
2767 \end_layout
2768
2769 \begin_layout Section
2770 Table Floats
2771 \begin_inset CommandInset label
2772 LatexCommand label
2773 name "sec:Table-Floats"
2774
2775 \end_inset
2776
2777
2778 \begin_inset Index idx
2779 status collapsed
2780
2781 \begin_layout Plain Layout
2782 Floats ! Tables
2783 \end_layout
2784
2785 \end_inset
2786
2787
2788 \begin_inset Index idx
2789 status collapsed
2790
2791 \begin_layout Plain Layout
2792 Table ! Floats
2793 \end_layout
2794
2795 \end_inset
2796
2797
2798 \end_layout
2799
2800 \begin_layout Standard
2801 For general explanations about floats, have a look at section
2802 \begin_inset space ~
2803 \end_inset
2804
2805
2806 \begin_inset CommandInset ref
2807 LatexCommand ref
2808 reference "sec:FloatIntroduction"
2809
2810 \end_inset
2811
2812 .
2813 \end_layout
2814
2815 \begin_layout Standard
2816 \begin_inset Float table
2817 placement h
2818 wide false
2819 sideways false
2820 status open
2821
2822 \begin_layout Plain Layout
2823 \begin_inset Caption
2824
2825 \begin_layout Plain Layout
2826 \begin_inset CommandInset label
2827 LatexCommand label
2828 name "tab:a table float"
2829
2830 \end_inset
2831
2832 A table float.
2833 \end_layout
2834
2835 \end_inset
2836
2837
2838 \end_layout
2839
2840 \begin_layout Plain Layout
2841 \align center
2842 \begin_inset Tabular
2843 <lyxtabular version="3" rows="3" columns="3">
2844 <features tabularvalignment="middle">
2845 <column alignment="center" valignment="top" width="0pt">
2846 <column alignment="center" valignment="top" width="0pt">
2847 <column alignment="center" valignment="top" width="0pt">
2848 <row>
2849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2850 \begin_inset Text
2851
2852 \begin_layout Plain Layout
2853
2854 \family roman
2855 \series medium
2856 \shape up
2857 \size normal
2858 \emph off
2859 \bar no
2860 \noun off
2861 \color none
2862 1
2863 \end_layout
2864
2865 \end_inset
2866 </cell>
2867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Plain Layout
2871
2872 \family roman
2873 \series medium
2874 \shape up
2875 \size normal
2876 \emph off
2877 \bar no
2878 \noun off
2879 \color none
2880 2
2881 \end_layout
2882
2883 \end_inset
2884 </cell>
2885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2886 \begin_inset Text
2887
2888 \begin_layout Plain Layout
2889
2890 \family roman
2891 \series medium
2892 \shape up
2893 \size normal
2894 \emph off
2895 \bar no
2896 \noun off
2897 \color none
2898 3
2899 \end_layout
2900
2901 \end_inset
2902 </cell>
2903 </row>
2904 <row>
2905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2906 \begin_inset Text
2907
2908 \begin_layout Plain Layout
2909
2910 \family roman
2911 \series medium
2912 \shape up
2913 \size normal
2914 \emph off
2915 \bar no
2916 \noun off
2917 \color none
2918 Joe
2919 \end_layout
2920
2921 \end_inset
2922 </cell>
2923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2924 \begin_inset Text
2925
2926 \begin_layout Plain Layout
2927
2928 \family roman
2929 \series medium
2930 \shape up
2931 \size normal
2932 \emph off
2933 \bar no
2934 \noun off
2935 \color none
2936 Mary
2937 \end_layout
2938
2939 \end_inset
2940 </cell>
2941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2942 \begin_inset Text
2943
2944 \begin_layout Plain Layout
2945
2946 \family roman
2947 \series medium
2948 \shape up
2949 \size normal
2950 \emph off
2951 \bar no
2952 \noun off
2953 \color none
2954 Ted
2955 \end_layout
2956
2957 \end_inset
2958 </cell>
2959 </row>
2960 <row>
2961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2962 \begin_inset Text
2963
2964 \begin_layout Plain Layout
2965
2966 \family roman
2967 \series medium
2968 \shape up
2969 \size normal
2970 \emph off
2971 \bar no
2972 \noun off
2973 \color none
2974 \begin_inset Formula $\int x^{2}dx$
2975 \end_inset
2976
2977
2978 \end_layout
2979
2980 \end_inset
2981 </cell>
2982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Plain Layout
2986
2987 \family roman
2988 \series medium
2989 \shape up
2990 \size normal
2991 \emph off
2992 \bar no
2993 \noun off
2994 \color none
2995 \begin_inset Formula $\left[\begin{array}{cc}
2996 a & b\\
2997 c & d
2998 \end{array}\right]$
2999 \end_inset
3000
3001
3002 \end_layout
3003
3004 \end_inset
3005 </cell>
3006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3007 \begin_inset Text
3008
3009 \begin_layout Plain Layout
3010
3011 \family roman
3012 \series medium
3013 \shape up
3014 \size normal
3015 \emph off
3016 \bar no
3017 \noun off
3018 \color none
3019 \begin_inset Formula $1+1=2$
3020 \end_inset
3021
3022
3023 \end_layout
3024
3025 \end_inset
3026 </cell>
3027 </row>
3028 </lyxtabular>
3029
3030 \end_inset
3031
3032
3033 \end_layout
3034
3035 \end_inset
3036
3037
3038 \end_layout
3039
3040 \begin_layout Standard
3041 Table floats can be inserted using the menu 
3042 \family sans
3043 Insert\SpecialChar \menuseparator
3044 Float\SpecialChar \menuseparator
3045 Table
3046 \family default
3047  or the toolbar button 
3048 \begin_inset Graphics
3049         filename ../images/float-insert_table.png
3050         scale 85
3051         scaleBeforeRotation
3052
3053 \end_inset
3054
3055 .
3056 \end_layout
3057
3058 \begin_layout Standard
3059 The float appears as a collapsible box with a caption that has the label
3060  
3061 \begin_inset Quotes eld
3062 \end_inset
3063
3064 Table
3065 \begin_inset space ~
3066 \end_inset
3067
3068 #:
3069 \begin_inset Quotes erd
3070 \end_inset
3071
3072  (# is the actual table number).
3073  You can insert tables in the float above or below the caption.
3074 \end_layout
3075
3076 \begin_layout Standard
3077 Table
3078 \begin_inset space ~
3079 \end_inset
3080
3081
3082 \begin_inset CommandInset ref
3083 LatexCommand ref
3084 reference "tab:a table float"
3085
3086 \end_inset
3087
3088  is an example table within a table float.
3089 \end_layout
3090
3091 \begin_layout Standard
3092 Having the caption above the table is the common rule that is unfortunately
3093  not supported in LaTeX's standard classes.
3094  This means that, if you are using the document classes 
3095 \family sans
3096 article
3097 \family default
3098
3099 \family sans
3100 book
3101 \family default
3102
3103 \family sans
3104 letter
3105 \family default
3106 , or 
3107 \family sans
3108 report
3109 \family default
3110 , there will be no space between the caption and the table.
3111  To insert the needed space, add the following option to the load command
3112  of the LaTeX-package 
3113 \series bold
3114 caption
3115 \series default
3116
3117 \begin_inset Index idx
3118 status collapsed
3119
3120 \begin_layout Plain Layout
3121 LaTeX-packages ! caption
3122 \end_layout
3123
3124 \end_inset
3125
3126  in your document preamble
3127 \begin_inset Foot
3128 status collapsed
3129
3130 \begin_layout Plain Layout
3131 For more information have a look at section
3132 \begin_inset space ~
3133 \end_inset
3134
3135
3136 \begin_inset CommandInset ref
3137 LatexCommand ref
3138 reference "sec:Caption-Placement"
3139
3140 \end_inset
3141
3142 .
3143 \end_layout
3144
3145 \end_inset
3146
3147 :
3148 \end_layout
3149
3150 \begin_layout Standard
3151
3152 \series bold
3153 tableposition=top
3154 \end_layout
3155
3156 \begin_layout Standard
3157 The package 
3158 \series bold
3159 caption
3160 \series default
3161 , which is described in section
3162 \begin_inset space ~
3163 \end_inset
3164
3165
3166 \begin_inset CommandInset ref
3167 LatexCommand ref
3168 reference "sec:Caption-Formatting"
3169
3170 \end_inset
3171
3172 , is used to adjust the caption format.
3173 \end_layout
3174
3175 \begin_layout Standard
3176 \begin_inset Index idx
3177 status collapsed
3178
3179 \begin_layout Plain Layout
3180 References ! to Tables
3181 \end_layout
3182
3183 \end_inset
3184
3185 Tables can be cross-referenced in the text by referencing their label.
3186  To do this insert a label in the caption using the menu 
3187 \family sans
3188 Insert\SpecialChar \menuseparator
3189 Label
3190 \family default
3191  or the toolbar button 
3192 \begin_inset Graphics
3193         filename ../images/label-insert.png
3194         scale 85
3195         scaleBeforeRotation
3196
3197 \end_inset
3198
3199 .
3200  You can now refer to the label using the menu 
3201 \family sans
3202 Insert\SpecialChar \menuseparator
3203 Cross
3204 \begin_inset space ~
3205 \end_inset
3206
3207 reference
3208 \family default
3209  or the toolbar button 
3210 \begin_inset Graphics
3211         filename ../images/dialog-show-new-inset_ref.png
3212         scale 85
3213         scaleBeforeRotation
3214
3215 \end_inset
3216
3217 .
3218 \begin_inset Newline newline
3219 \end_inset
3220
3221 Referencing is explained in detail in section
3222 \begin_inset space ~
3223 \end_inset
3224
3225
3226 \begin_inset CommandInset ref
3227 LatexCommand ref
3228 reference "sec:Referencing-Floats"
3229
3230 \end_inset
3231
3232 .
3233 \end_layout
3234
3235 \begin_layout Section
3236 Longtables
3237 \begin_inset CommandInset label
3238 LatexCommand label
3239 name "sec:Longtables"
3240
3241 \end_inset
3242
3243
3244 \begin_inset Index idx
3245 status collapsed
3246
3247 \begin_layout Plain Layout
3248 Longtables
3249 \end_layout
3250
3251 \end_inset
3252
3253
3254 \begin_inset Index idx
3255 status collapsed
3256
3257 \begin_layout Plain Layout
3258 Table ! Longtables
3259 \end_layout
3260
3261 \end_inset
3262
3263
3264 \end_layout
3265
3266 \begin_layout Standard
3267 If the table is too long to fit on one page, you can use the option 
3268 \family sans
3269 Use
3270 \begin_inset space ~
3271 \end_inset
3272
3273 long
3274 \begin_inset space ~
3275 \end_inset
3276
3277 table
3278 \family default
3279  in the tab 
3280 \family sans
3281 Longtable
3282 \family default
3283  of the table dialog to split the table automatically over more pages.
3284  Doing this enables the following options:
3285 \end_layout
3286
3287 \begin_layout Description
3288 Header: The current row is defined to be a header row that appears on all
3289  pages of the longtable; except for the first page, if 
3290 \family sans
3291 First
3292 \begin_inset space ~
3293 \end_inset
3294
3295 header
3296 \family default
3297  is defined.
3298  This is therefore called the main header.
3299 \end_layout
3300
3301 \begin_layout Description
3302 First
3303 \begin_inset space ~
3304 \end_inset
3305
3306 header: The current row is defined to be a header row that appears on the
3307  first page of the longtable.
3308 \end_layout
3309
3310 \begin_layout Description
3311 Footer: The current row is defined to be a footer row that appears on all
3312  pages of the longtable; except for the last page, if 
3313 \family sans
3314 Last
3315 \begin_inset space ~
3316 \end_inset
3317
3318 footer
3319 \family default
3320  is defined.
3321 \end_layout
3322
3323 \begin_layout Description
3324 Last
3325 \begin_inset space ~
3326 \end_inset
3327
3328 footer: The current row is defined to be a footer row that appears on the
3329  last page of the longtable.
3330 \end_layout
3331
3332 \begin_layout Description
3333 Caption: The current row contains the table caption.
3334  The row is reset as single column and a caption is inserted.
3335  More about longtable captions is explained in sec.
3336 \begin_inset space \thinspace{}
3337 \end_inset
3338
3339
3340 \begin_inset CommandInset ref
3341 LatexCommand ref
3342 reference "sub:Longtable-Captions"
3343
3344 \end_inset
3345
3346 .
3347 \end_layout
3348
3349 \begin_layout Standard
3350 You can also specify a row where the table is split.
3351  See the following longtable to see how it works:
3352 \end_layout
3353
3354 \begin_layout Standard
3355 \align center
3356 \begin_inset Tabular
3357 <lyxtabular version="3" rows="69" columns="3">
3358 <features islongtable="true" longtabularalignment="center">
3359 <column alignment="left" valignment="top" width="0cm">
3360 <column alignment="left" valignment="top" width="0pt">
3361 <column alignment="center" valignment="top" width="0pt">
3362 <row endfirsthead="true">
3363 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Plain Layout
3367
3368 \series bold
3369 Example Phone List (ignore the names)
3370 \end_layout
3371
3372 \end_inset
3373 </cell>
3374 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Plain Layout
3378
3379 \end_layout
3380
3381 \end_inset
3382 </cell>
3383 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3384 \begin_inset Text
3385
3386 \begin_layout Plain Layout
3387
3388 \end_layout
3389
3390 \end_inset
3391 </cell>
3392 </row>
3393 <row endfirsthead="true">
3394 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Plain Layout
3398
3399 \series bold
3400 NAME
3401 \end_layout
3402
3403 \end_inset
3404 </cell>
3405 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Plain Layout
3409
3410 \end_layout
3411
3412 \end_inset
3413 </cell>
3414 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3415 \begin_inset Text
3416
3417 \begin_layout Plain Layout
3418
3419 \series bold
3420 TEL.
3421 \end_layout
3422
3423 \end_inset
3424 </cell>
3425 </row>
3426 <row endhead="true">
3427 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3428 \begin_inset Text
3429
3430 \begin_layout Plain Layout
3431
3432 \series bold
3433 Example Phone List
3434 \end_layout
3435
3436 \end_inset
3437 </cell>
3438 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3439 \begin_inset Text
3440
3441 \begin_layout Plain Layout
3442
3443 \end_layout
3444
3445 \end_inset
3446 </cell>
3447 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Plain Layout
3451
3452 \end_layout
3453
3454 \end_inset
3455 </cell>
3456 </row>
3457 <row endhead="true">
3458 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3459 \begin_inset Text
3460
3461 \begin_layout Plain Layout
3462
3463 \series bold
3464 NAME
3465 \end_layout
3466
3467 \end_inset
3468 </cell>
3469 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3470 \begin_inset Text
3471
3472 \begin_layout Plain Layout
3473
3474 \end_layout
3475
3476 \end_inset
3477 </cell>
3478 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Plain Layout
3482
3483 \series bold
3484 TEL.
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 </row>
3490 <row endfoot="true">
3491 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3492 \begin_inset Text
3493
3494 \begin_layout Plain Layout
3495  continued on next page
3496 \end_layout
3497
3498 \end_inset
3499 </cell>
3500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3501 \begin_inset Text
3502
3503 \begin_layout Plain Layout
3504
3505 \end_layout
3506
3507 \end_inset
3508 </cell>
3509 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Plain Layout
3513
3514 \end_layout
3515
3516 \end_inset
3517 </cell>
3518 </row>
3519 <row>
3520 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3521 \begin_inset Text
3522
3523 \begin_layout Plain Layout
3524
3525 \series bold
3526 Annovi
3527 \end_layout
3528
3529 \end_inset
3530 </cell>
3531 <cell alignment="center" valignment="top" usebox="none">
3532 \begin_inset Text
3533
3534 \begin_layout Plain Layout
3535 Silvia
3536 \end_layout
3537
3538 \end_inset
3539 </cell>
3540 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Plain Layout
3544 111
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 </row>
3550 <row>
3551 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3552 \begin_inset Text
3553
3554 \begin_layout Plain Layout
3555
3556 \series bold
3557 Bertoli
3558 \end_layout
3559
3560 \end_inset
3561 </cell>
3562 <cell alignment="center" valignment="top" usebox="none">
3563 \begin_inset Text
3564
3565 \begin_layout Plain Layout
3566 Stefano
3567 \end_layout
3568
3569 \end_inset
3570 </cell>
3571 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Plain Layout
3575 111
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 </row>
3581 <row>
3582 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3583 \begin_inset Text
3584
3585 \begin_layout Plain Layout
3586
3587 \series bold
3588 Bozzi
3589 \end_layout
3590
3591 \end_inset
3592 </cell>
3593 <cell alignment="center" valignment="top" usebox="none">
3594 \begin_inset Text
3595
3596 \begin_layout Plain Layout
3597 Walter
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Plain Layout
3606 111
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 </row>
3612 <row>
3613 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3614 \begin_inset Text
3615
3616 \begin_layout Plain Layout
3617
3618 \series bold
3619 Cachia
3620 \end_layout
3621
3622 \end_inset
3623 </cell>
3624 <cell alignment="center" valignment="top" usebox="none">
3625 \begin_inset Text
3626
3627 \begin_layout Plain Layout
3628 Maria
3629 \end_layout
3630
3631 \end_inset
3632 </cell>
3633 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3634 \begin_inset Text
3635
3636 \begin_layout Plain Layout
3637 111
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 </row>
3643 <row>
3644 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Plain Layout
3648
3649 \series bold
3650 Cachia
3651 \end_layout
3652
3653 \end_inset
3654 </cell>
3655 <cell alignment="center" valignment="top" usebox="none">
3656 \begin_inset Text
3657
3658 \begin_layout Plain Layout
3659 Maurizio
3660 \end_layout
3661
3662 \end_inset
3663 </cell>
3664 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3665 \begin_inset Text
3666
3667 \begin_layout Plain Layout
3668 111
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 </row>
3674 <row>
3675 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3676 \begin_inset Text
3677
3678 \begin_layout Plain Layout
3679
3680 \series bold
3681 Cinquemani
3682 \end_layout
3683
3684 \end_inset
3685 </cell>
3686 <cell alignment="center" valignment="top" usebox="none">
3687 \begin_inset Text
3688
3689 \begin_layout Plain Layout
3690 Giusi
3691 \end_layout
3692
3693 \end_inset
3694 </cell>
3695 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3696 \begin_inset Text
3697
3698 \begin_layout Plain Layout
3699 111
3700 \end_layout
3701
3702 \end_inset
3703 </cell>
3704 </row>
3705 <row>
3706 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3707 \begin_inset Text
3708
3709 \begin_layout Plain Layout
3710
3711 \series bold
3712 Colin
3713 \end_layout
3714
3715 \end_inset
3716 </cell>
3717 <cell alignment="center" valignment="top" usebox="none">
3718 \begin_inset Text
3719
3720 \begin_layout Plain Layout
3721 Bernard
3722 \end_layout
3723
3724 \end_inset
3725 </cell>
3726 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3727 \begin_inset Text
3728
3729 \begin_layout Plain Layout
3730 111
3731 \end_layout
3732
3733 \end_inset
3734 </cell>
3735 </row>
3736 <row>
3737 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3738 \begin_inset Text
3739
3740 \begin_layout Plain Layout
3741
3742 \series bold
3743 Concli
3744 \end_layout
3745
3746 \end_inset
3747 </cell>
3748 <cell alignment="center" valignment="top" usebox="none">
3749 \begin_inset Text
3750
3751 \begin_layout Plain Layout
3752 Gianfranco
3753 \end_layout
3754
3755 \end_inset
3756 </cell>
3757 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3758 \begin_inset Text
3759
3760 \begin_layout Plain Layout
3761 111
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 </row>
3767 <row>
3768 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3769 \begin_inset Text
3770
3771 \begin_layout Plain Layout
3772
3773 \series bold
3774 Dal Bosco
3775 \end_layout
3776
3777 \end_inset
3778 </cell>
3779 <cell alignment="center" valignment="top" usebox="none">
3780 \begin_inset Text
3781
3782 \begin_layout Plain Layout
3783 Carolina
3784 \end_layout
3785
3786 \end_inset
3787 </cell>
3788 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3789 \begin_inset Text
3790
3791 \begin_layout Plain Layout
3792 111
3793 \end_layout
3794
3795 \end_inset
3796 </cell>
3797 </row>
3798 <row>
3799 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3800 \begin_inset Text
3801
3802 \begin_layout Plain Layout
3803
3804 \series bold
3805 Dalpiaz
3806 \end_layout
3807
3808 \end_inset
3809 </cell>
3810 <cell alignment="center" valignment="top" usebox="none">
3811 \begin_inset Text
3812
3813 \begin_layout Plain Layout
3814 Annamaria
3815 \end_layout
3816
3817 \end_inset
3818 </cell>
3819 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3820 \begin_inset Text
3821
3822 \begin_layout Plain Layout
3823 111
3824 \end_layout
3825
3826 \end_inset
3827 </cell>
3828 </row>
3829 <row>
3830 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3831 \begin_inset Text
3832
3833 \begin_layout Plain Layout
3834
3835 \series bold
3836 Feliciello
3837 \end_layout
3838
3839 \end_inset
3840 </cell>
3841 <cell alignment="center" valignment="top" usebox="none">
3842 \begin_inset Text
3843
3844 \begin_layout Plain Layout
3845 Domenico
3846 \end_layout
3847
3848 \end_inset
3849 </cell>
3850 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3851 \begin_inset Text
3852
3853 \begin_layout Plain Layout
3854 111
3855 \end_layout
3856
3857 \end_inset
3858 </cell>
3859 </row>
3860 <row>
3861 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3862 \begin_inset Text
3863
3864 \begin_layout Plain Layout
3865
3866 \series bold
3867 Focarelli
3868 \end_layout
3869
3870 \end_inset
3871 </cell>
3872 <cell alignment="center" valignment="top" usebox="none">
3873 \begin_inset Text
3874
3875 \begin_layout Plain Layout
3876 Paola
3877 \end_layout
3878
3879 \end_inset
3880 </cell>
3881 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3882 \begin_inset Text
3883
3884 \begin_layout Plain Layout
3885 111
3886 \end_layout
3887
3888 \end_inset
3889 </cell>
3890 </row>
3891 <row>
3892 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3893 \begin_inset Text
3894
3895 \begin_layout Plain Layout
3896
3897 \series bold
3898 Galletti
3899 \end_layout
3900
3901 \end_inset
3902 </cell>
3903 <cell alignment="center" valignment="top" usebox="none">
3904 \begin_inset Text
3905
3906 \begin_layout Plain Layout
3907 Oreste
3908 \end_layout
3909
3910 \end_inset
3911 </cell>
3912 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3913 \begin_inset Text
3914
3915 \begin_layout Plain Layout
3916 111
3917 \end_layout
3918
3919 \end_inset
3920 </cell>
3921 </row>
3922 <row>
3923 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3924 \begin_inset Text
3925
3926 \begin_layout Plain Layout
3927
3928 \series bold
3929 Gasparini
3930 \end_layout
3931
3932 \end_inset
3933 </cell>
3934 <cell alignment="center" valignment="top" usebox="none">
3935 \begin_inset Text
3936
3937 \begin_layout Plain Layout
3938 Franca
3939 \end_layout
3940
3941 \end_inset
3942 </cell>
3943 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3944 \begin_inset Text
3945
3946 \begin_layout Plain Layout
3947 111
3948 \end_layout
3949
3950 \end_inset
3951 </cell>
3952 </row>
3953 <row>
3954 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3955 \begin_inset Text
3956
3957 \begin_layout Plain Layout
3958
3959 \series bold
3960 Rizzardi
3961 \end_layout
3962
3963 \end_inset
3964 </cell>
3965 <cell alignment="center" valignment="top" usebox="none">
3966 \begin_inset Text
3967
3968 \begin_layout Plain Layout
3969 Paola
3970 \end_layout
3971
3972 \end_inset
3973 </cell>
3974 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3975 \begin_inset Text
3976
3977 \begin_layout Plain Layout
3978 111
3979 \end_layout
3980
3981 \end_inset
3982 </cell>
3983 </row>
3984 <row>
3985 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3986 \begin_inset Text
3987
3988 \begin_layout Plain Layout
3989
3990 \series bold
3991 Lassini
3992 \end_layout
3993
3994 \end_inset
3995 </cell>
3996 <cell alignment="center" valignment="top" usebox="none">
3997 \begin_inset Text
3998
3999 \begin_layout Plain Layout
4000 Giancarlo
4001 \end_layout
4002
4003 \end_inset
4004 </cell>
4005 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4006 \begin_inset Text
4007
4008 \begin_layout Plain Layout
4009 111
4010 \end_layout
4011
4012 \end_inset
4013 </cell>
4014 </row>
4015 <row>
4016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4017 \begin_inset Text
4018
4019 \begin_layout Plain Layout
4020
4021 \series bold
4022 Malfatti
4023 \end_layout
4024
4025 \end_inset
4026 </cell>
4027 <cell alignment="center" valignment="top" usebox="none">
4028 \begin_inset Text
4029
4030 \begin_layout Plain Layout
4031 Luciano
4032 \end_layout
4033
4034 \end_inset
4035 </cell>
4036 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4037 \begin_inset Text
4038
4039 \begin_layout Plain Layout
4040 111
4041 \end_layout
4042
4043 \end_inset
4044 </cell>
4045 </row>
4046 <row>
4047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4048 \begin_inset Text
4049
4050 \begin_layout Plain Layout
4051
4052 \series bold
4053 Malfatti
4054 \end_layout
4055
4056 \end_inset
4057 </cell>
4058 <cell alignment="center" valignment="top" usebox="none">
4059 \begin_inset Text
4060
4061 \begin_layout Plain Layout
4062 Valeriano
4063 \end_layout
4064
4065 \end_inset
4066 </cell>
4067 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4068 \begin_inset Text
4069
4070 \begin_layout Plain Layout
4071 111
4072 \end_layout
4073
4074 \end_inset
4075 </cell>
4076 </row>
4077 <row>
4078 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4079 \begin_inset Text
4080
4081 \begin_layout Plain Layout
4082
4083 \series bold
4084 Meneguzzo
4085 \end_layout
4086
4087 \end_inset
4088 </cell>
4089 <cell alignment="center" valignment="top" usebox="none">
4090 \begin_inset Text
4091
4092 \begin_layout Plain Layout
4093 Roberto
4094 \end_layout
4095
4096 \end_inset
4097 </cell>
4098 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4099 \begin_inset Text
4100
4101 \begin_layout Plain Layout
4102 111
4103 \end_layout
4104
4105 \end_inset
4106 </cell>
4107 </row>
4108 <row>
4109 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4110 \begin_inset Text
4111
4112 \begin_layout Plain Layout
4113
4114 \series bold
4115 Mezzadra
4116 \end_layout
4117
4118 \end_inset
4119 </cell>
4120 <cell alignment="center" valignment="top" usebox="none">
4121 \begin_inset Text
4122
4123 \begin_layout Plain Layout
4124 Roberto
4125 \end_layout
4126
4127 \end_inset
4128 </cell>
4129 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4130 \begin_inset Text
4131
4132 \begin_layout Plain Layout
4133 111
4134 \end_layout
4135
4136 \end_inset
4137 </cell>
4138 </row>
4139 <row>
4140 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4141 \begin_inset Text
4142
4143 \begin_layout Plain Layout
4144
4145 \series bold
4146 Pirpamer
4147 \end_layout
4148
4149 \end_inset
4150 </cell>
4151 <cell alignment="center" valignment="top" usebox="none">
4152 \begin_inset Text
4153
4154 \begin_layout Plain Layout
4155 Erich
4156 \end_layout
4157
4158 \end_inset
4159 </cell>
4160 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4161 \begin_inset Text
4162
4163 \begin_layout Plain Layout
4164 111
4165 \end_layout
4166
4167 \end_inset
4168 </cell>
4169 </row>
4170 <row>
4171 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4172 \begin_inset Text
4173
4174 \begin_layout Plain Layout
4175
4176 \series bold
4177 Pochiesa
4178 \end_layout
4179
4180 \end_inset
4181 </cell>
4182 <cell alignment="center" valignment="top" usebox="none">
4183 \begin_inset Text
4184
4185 \begin_layout Plain Layout
4186 Paolo
4187 \end_layout
4188
4189 \end_inset
4190 </cell>
4191 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4192 \begin_inset Text
4193
4194 \begin_layout Plain Layout
4195 111, 222
4196 \end_layout
4197
4198 \end_inset
4199 </cell>
4200 </row>
4201 <row>
4202 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4203 \begin_inset Text
4204
4205 \begin_layout Plain Layout
4206
4207 \series bold
4208 Radina
4209 \end_layout
4210
4211 \end_inset
4212 </cell>
4213 <cell alignment="center" valignment="top" usebox="none">
4214 \begin_inset Text
4215
4216 \begin_layout Plain Layout
4217 Claudio
4218 \end_layout
4219
4220 \end_inset
4221 </cell>
4222 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4223 \begin_inset Text
4224
4225 \begin_layout Plain Layout
4226 111
4227 \end_layout
4228
4229 \end_inset
4230 </cell>
4231 </row>
4232 <row>
4233 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4234 \begin_inset Text
4235
4236 \begin_layout Plain Layout
4237
4238 \series bold
4239 Stuffer
4240 \end_layout
4241
4242 \end_inset
4243 </cell>
4244 <cell alignment="center" valignment="top" usebox="none">
4245 \begin_inset Text
4246
4247 \begin_layout Plain Layout
4248 Oskar
4249 \end_layout
4250
4251 \end_inset
4252 </cell>
4253 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4254 \begin_inset Text
4255
4256 \begin_layout Plain Layout
4257 111
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 </row>
4263 <row>
4264 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4265 \begin_inset Text
4266
4267 \begin_layout Plain Layout
4268
4269 \series bold
4270 Tacchelli
4271 \end_layout
4272
4273 \end_inset
4274 </cell>
4275 <cell alignment="center" valignment="top" usebox="none">
4276 \begin_inset Text
4277
4278 \begin_layout Plain Layout
4279 Ugo
4280 \end_layout
4281
4282 \end_inset
4283 </cell>
4284 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4285 \begin_inset Text
4286
4287 \begin_layout Plain Layout
4288 111
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 </row>
4294 <row>
4295 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4296 \begin_inset Text
4297
4298 \begin_layout Plain Layout
4299
4300 \series bold
4301 Tezzele
4302 \end_layout
4303
4304 \end_inset
4305 </cell>
4306 <cell alignment="center" valignment="top" usebox="none">
4307 \begin_inset Text
4308
4309 \begin_layout Plain Layout
4310 Margit
4311 \end_layout
4312
4313 \end_inset
4314 </cell>
4315 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4316 \begin_inset Text
4317
4318 \begin_layout Plain Layout
4319 111
4320 \end_layout
4321
4322 \end_inset
4323 </cell>
4324 </row>
4325 <row>
4326 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4327 \begin_inset Text
4328
4329 \begin_layout Plain Layout
4330
4331 \series bold
4332 Unterkalmsteiner
4333 \end_layout
4334
4335 \end_inset
4336 </cell>
4337 <cell alignment="center" valignment="top" usebox="none">
4338 \begin_inset Text
4339
4340 \begin_layout Plain Layout
4341 Frieda
4342 \end_layout
4343
4344 \end_inset
4345 </cell>
4346 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4347 \begin_inset Text
4348
4349 \begin_layout Plain Layout
4350 111
4351 \end_layout
4352
4353 \end_inset
4354 </cell>
4355 </row>
4356 <row>
4357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4358 \begin_inset Text
4359
4360 \begin_layout Plain Layout
4361
4362 \series bold
4363 Vieider
4364 \end_layout
4365
4366 \end_inset
4367 </cell>
4368 <cell alignment="center" valignment="top" usebox="none">
4369 \begin_inset Text
4370
4371 \begin_layout Plain Layout
4372 Hilde
4373 \end_layout
4374
4375 \end_inset
4376 </cell>
4377 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4378 \begin_inset Text
4379
4380 \begin_layout Plain Layout
4381 111
4382 \end_layout
4383
4384 \end_inset
4385 </cell>
4386 </row>
4387 <row>
4388 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4389 \begin_inset Text
4390
4391 \begin_layout Plain Layout
4392
4393 \series bold
4394 Vigna
4395 \end_layout
4396
4397 \end_inset
4398 </cell>
4399 <cell alignment="center" valignment="top" usebox="none">
4400 \begin_inset Text
4401
4402 \begin_layout Plain Layout
4403 Jürgen
4404 \end_layout
4405
4406 \end_inset
4407 </cell>
4408 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4409 \begin_inset Text
4410
4411 \begin_layout Plain Layout
4412 111
4413 \end_layout
4414
4415 \end_inset
4416 </cell>
4417 </row>
4418 <row>
4419 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4420 \begin_inset Text
4421
4422 \begin_layout Plain Layout
4423
4424 \series bold
4425 Weber
4426 \end_layout
4427
4428 \end_inset
4429 </cell>
4430 <cell alignment="center" valignment="top" usebox="none">
4431 \begin_inset Text
4432
4433 \begin_layout Plain Layout
4434 Maurizio
4435 \end_layout
4436
4437 \end_inset
4438 </cell>
4439 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4440 \begin_inset Text
4441
4442 \begin_layout Plain Layout
4443 111
4444 \end_layout
4445
4446 \end_inset
4447 </cell>
4448 </row>
4449 <row>
4450 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4451 \begin_inset Text
4452
4453 \begin_layout Plain Layout
4454
4455 \series bold
4456 Winkler
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4462 \begin_inset Text
4463
4464 \begin_layout Plain Layout
4465 Franz
4466 \end_layout
4467
4468 \end_inset
4469 </cell>
4470 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4471 \begin_inset Text
4472
4473 \begin_layout Plain Layout
4474 111
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 </row>
4480 <row>
4481 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4482 \begin_inset Text
4483
4484 \begin_layout Plain Layout
4485  
4486 \end_layout
4487
4488 \end_inset
4489 </cell>
4490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4491 \begin_inset Text
4492
4493 \begin_layout Plain Layout
4494
4495 \end_layout
4496
4497 \end_inset
4498 </cell>
4499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Plain Layout
4503
4504 \end_layout
4505
4506 \end_inset
4507 </cell>
4508 </row>
4509 <row>
4510 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4511 \begin_inset Text
4512
4513 \begin_layout Plain Layout
4514
4515 \series bold
4516 Annovi
4517 \end_layout
4518
4519 \end_inset
4520 </cell>
4521 <cell alignment="center" valignment="top" usebox="none">
4522 \begin_inset Text
4523
4524 \begin_layout Plain Layout
4525 Silvia
4526 \end_layout
4527
4528 \end_inset
4529 </cell>
4530 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Plain Layout
4534 555
4535 \end_layout
4536
4537 \end_inset
4538 </cell>
4539 </row>
4540 <row>
4541 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4542 \begin_inset Text
4543
4544 \begin_layout Plain Layout
4545
4546 \series bold
4547 Bertoli
4548 \end_layout
4549
4550 \end_inset
4551 </cell>
4552 <cell alignment="center" valignment="top" usebox="none">
4553 \begin_inset Text
4554
4555 \begin_layout Plain Layout
4556 Stefano
4557 \end_layout
4558
4559 \end_inset
4560 </cell>
4561 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Plain Layout
4565 555
4566 \end_layout
4567
4568 \end_inset
4569 </cell>
4570 </row>
4571 <row>
4572 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4573 \begin_inset Text
4574
4575 \begin_layout Plain Layout
4576
4577 \series bold
4578 Bozzi
4579 \end_layout
4580
4581 \end_inset
4582 </cell>
4583 <cell alignment="center" valignment="top" usebox="none">
4584 \begin_inset Text
4585
4586 \begin_layout Plain Layout
4587 Walter
4588 \end_layout
4589
4590 \end_inset
4591 </cell>
4592 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4593 \begin_inset Text
4594
4595 \begin_layout Plain Layout
4596 555
4597 \end_layout
4598
4599 \end_inset
4600 </cell>
4601 </row>
4602 <row>
4603 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4604 \begin_inset Text
4605
4606 \begin_layout Plain Layout
4607
4608 \series bold
4609 Cachia
4610 \end_layout
4611
4612 \end_inset
4613 </cell>
4614 <cell alignment="center" valignment="top" usebox="none">
4615 \begin_inset Text
4616
4617 \begin_layout Plain Layout
4618 Maria
4619 \end_layout
4620
4621 \end_inset
4622 </cell>
4623 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4624 \begin_inset Text
4625
4626 \begin_layout Plain Layout
4627 555
4628 \end_layout
4629
4630 \end_inset
4631 </cell>
4632 </row>
4633 <row>
4634 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4635 \begin_inset Text
4636
4637 \begin_layout Plain Layout
4638
4639 \series bold
4640 Cachia
4641 \end_layout
4642
4643 \end_inset
4644 </cell>
4645 <cell alignment="center" valignment="top" usebox="none">
4646 \begin_inset Text
4647
4648 \begin_layout Plain Layout
4649 Maurizio
4650 \end_layout
4651
4652 \end_inset
4653 </cell>
4654 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4655 \begin_inset Text
4656
4657 \begin_layout Plain Layout
4658 555
4659 \end_layout
4660
4661 \end_inset
4662 </cell>
4663 </row>
4664 <row>
4665 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4666 \begin_inset Text
4667
4668 \begin_layout Plain Layout
4669
4670 \series bold
4671 Cinquemani
4672 \end_layout
4673
4674 \end_inset
4675 </cell>
4676 <cell alignment="center" valignment="top" usebox="none">
4677 \begin_inset Text
4678
4679 \begin_layout Plain Layout
4680 Giusi
4681 \end_layout
4682
4683 \end_inset
4684 </cell>
4685 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4686 \begin_inset Text
4687
4688 \begin_layout Plain Layout
4689 555
4690 \end_layout
4691
4692 \end_inset
4693 </cell>
4694 </row>
4695 <row>
4696 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4697 \begin_inset Text
4698
4699 \begin_layout Plain Layout
4700
4701 \series bold
4702 Colin
4703 \end_layout
4704
4705 \end_inset
4706 </cell>
4707 <cell alignment="center" valignment="top" usebox="none">
4708 \begin_inset Text
4709
4710 \begin_layout Plain Layout
4711 Bernard
4712 \end_layout
4713
4714 \end_inset
4715 </cell>
4716 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4717 \begin_inset Text
4718
4719 \begin_layout Plain Layout
4720 555
4721 \end_layout
4722
4723 \end_inset
4724 </cell>
4725 </row>
4726 <row>
4727 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4728 \begin_inset Text
4729
4730 \begin_layout Plain Layout
4731
4732 \series bold
4733 Concli
4734 \end_layout
4735
4736 \end_inset
4737 </cell>
4738 <cell alignment="center" valignment="top" usebox="none">
4739 \begin_inset Text
4740
4741 \begin_layout Plain Layout
4742 Gianfranco
4743 \end_layout
4744
4745 \end_inset
4746 </cell>
4747 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4748 \begin_inset Text
4749
4750 \begin_layout Plain Layout
4751 555
4752 \end_layout
4753
4754 \end_inset
4755 </cell>
4756 </row>
4757 <row>
4758 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4759 \begin_inset Text
4760
4761 \begin_layout Plain Layout
4762
4763 \series bold
4764 Dal Bosco
4765 \end_layout
4766
4767 \end_inset
4768 </cell>
4769 <cell alignment="center" valignment="top" usebox="none">
4770 \begin_inset Text
4771
4772 \begin_layout Plain Layout
4773 Carolina
4774 \end_layout
4775
4776 \end_inset
4777 </cell>
4778 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4779 \begin_inset Text
4780
4781 \begin_layout Plain Layout
4782 555
4783 \end_layout
4784
4785 \end_inset
4786 </cell>
4787 </row>
4788 <row>
4789 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4790 \begin_inset Text
4791
4792 \begin_layout Plain Layout
4793
4794 \series bold
4795 Dalpiaz
4796 \end_layout
4797
4798 \end_inset
4799 </cell>
4800 <cell alignment="center" valignment="top" usebox="none">
4801 \begin_inset Text
4802
4803 \begin_layout Plain Layout
4804 Annamaria
4805 \end_layout
4806
4807 \end_inset
4808 </cell>
4809 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4810 \begin_inset Text
4811
4812 \begin_layout Plain Layout
4813 555
4814 \end_layout
4815
4816 \end_inset
4817 </cell>
4818 </row>
4819 <row>
4820 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4821 \begin_inset Text
4822
4823 \begin_layout Plain Layout
4824
4825 \series bold
4826 Feliciello
4827 \end_layout
4828
4829 \end_inset
4830 </cell>
4831 <cell alignment="center" valignment="top" usebox="none">
4832 \begin_inset Text
4833
4834 \begin_layout Plain Layout
4835 Domenico
4836 \end_layout
4837
4838 \end_inset
4839 </cell>
4840 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4841 \begin_inset Text
4842
4843 \begin_layout Plain Layout
4844 555
4845 \end_layout
4846
4847 \end_inset
4848 </cell>
4849 </row>
4850 <row>
4851 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4852 \begin_inset Text
4853
4854 \begin_layout Plain Layout
4855
4856 \series bold
4857 Focarelli
4858 \end_layout
4859
4860 \end_inset
4861 </cell>
4862 <cell alignment="center" valignment="top" usebox="none">
4863 \begin_inset Text
4864
4865 \begin_layout Plain Layout
4866 Paola
4867 \end_layout
4868
4869 \end_inset
4870 </cell>
4871 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4872 \begin_inset Text
4873
4874 \begin_layout Plain Layout
4875 555
4876 \end_layout
4877
4878 \end_inset
4879 </cell>
4880 </row>
4881 <row>
4882 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4883 \begin_inset Text
4884
4885 \begin_layout Plain Layout
4886
4887 \series bold
4888 Galletti
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 <cell alignment="center" valignment="top" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Plain Layout
4897 Oreste
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Plain Layout
4906 555
4907 \end_layout
4908
4909 \end_inset
4910 </cell>
4911 </row>
4912 <row>
4913 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4914 \begin_inset Text
4915
4916 \begin_layout Plain Layout
4917
4918 \series bold
4919 Gasparini
4920 \end_layout
4921
4922 \end_inset
4923 </cell>
4924 <cell alignment="center" valignment="top" usebox="none">
4925 \begin_inset Text
4926
4927 \begin_layout Plain Layout
4928 Franca
4929 \end_layout
4930
4931 \end_inset
4932 </cell>
4933 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4934 \begin_inset Text
4935
4936 \begin_layout Plain Layout
4937 555
4938 \end_layout
4939
4940 \end_inset
4941 </cell>
4942 </row>
4943 <row>
4944 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4945 \begin_inset Text
4946
4947 \begin_layout Plain Layout
4948
4949 \series bold
4950 Rizzardi
4951 \end_layout
4952
4953 \end_inset
4954 </cell>
4955 <cell alignment="center" valignment="top" usebox="none">
4956 \begin_inset Text
4957
4958 \begin_layout Plain Layout
4959 Paola
4960 \end_layout
4961
4962 \end_inset
4963 </cell>
4964 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4965 \begin_inset Text
4966
4967 \begin_layout Plain Layout
4968 555
4969 \end_layout
4970
4971 \end_inset
4972 </cell>
4973 </row>
4974 <row>
4975 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4976 \begin_inset Text
4977
4978 \begin_layout Plain Layout
4979
4980 \series bold
4981 Lassini
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 <cell alignment="center" valignment="top" usebox="none">
4987 \begin_inset Text
4988
4989 \begin_layout Plain Layout
4990 Giancarlo
4991 \end_layout
4992
4993 \end_inset
4994 </cell>
4995 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4996 \begin_inset Text
4997
4998 \begin_layout Plain Layout
4999 555
5000 \end_layout
5001
5002 \end_inset
5003 </cell>
5004 </row>
5005 <row>
5006 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5007 \begin_inset Text
5008
5009 \begin_layout Plain Layout
5010
5011 \series bold
5012 Malfatti
5013 \end_layout
5014
5015 \end_inset
5016 </cell>
5017 <cell alignment="center" valignment="top" usebox="none">
5018 \begin_inset Text
5019
5020 \begin_layout Plain Layout
5021 Luciano
5022 \end_layout
5023
5024 \end_inset
5025 </cell>
5026 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5027 \begin_inset Text
5028
5029 \begin_layout Plain Layout
5030 555
5031 \end_layout
5032
5033 \end_inset
5034 </cell>
5035 </row>
5036 <row>
5037 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5038 \begin_inset Text
5039
5040 \begin_layout Plain Layout
5041
5042 \series bold
5043 Malfatti
5044 \end_layout
5045
5046 \end_inset
5047 </cell>
5048 <cell alignment="center" valignment="top" usebox="none">
5049 \begin_inset Text
5050
5051 \begin_layout Plain Layout
5052 Valeriano
5053 \end_layout
5054
5055 \end_inset
5056 </cell>
5057 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5058 \begin_inset Text
5059
5060 \begin_layout Plain Layout
5061 555
5062 \end_layout
5063
5064 \end_inset
5065 </cell>
5066 </row>
5067 <row>
5068 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5069 \begin_inset Text
5070
5071 \begin_layout Plain Layout
5072
5073 \series bold
5074 Meneguzzo
5075 \end_layout
5076
5077 \end_inset
5078 </cell>
5079 <cell alignment="center" valignment="top" usebox="none">
5080 \begin_inset Text
5081
5082 \begin_layout Plain Layout
5083 Roberto
5084 \end_layout
5085
5086 \end_inset
5087 </cell>
5088 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5089 \begin_inset Text
5090
5091 \begin_layout Plain Layout
5092 555
5093 \end_layout
5094
5095 \end_inset
5096 </cell>
5097 </row>
5098 <row>
5099 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5100 \begin_inset Text
5101
5102 \begin_layout Plain Layout
5103
5104 \series bold
5105 Mezzadra
5106 \end_layout
5107
5108 \end_inset
5109 </cell>
5110 <cell alignment="center" valignment="top" usebox="none">
5111 \begin_inset Text
5112
5113 \begin_layout Plain Layout
5114 Roberto
5115 \end_layout
5116
5117 \end_inset
5118 </cell>
5119 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5120 \begin_inset Text
5121
5122 \begin_layout Plain Layout
5123 555
5124 \end_layout
5125
5126 \end_inset
5127 </cell>
5128 </row>
5129 <row>
5130 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5131 \begin_inset Text
5132
5133 \begin_layout Plain Layout
5134
5135 \series bold
5136 Pirpamer
5137 \end_layout
5138
5139 \end_inset
5140 </cell>
5141 <cell alignment="center" valignment="top" usebox="none">
5142 \begin_inset Text
5143
5144 \begin_layout Plain Layout
5145 Erich
5146 \end_layout
5147
5148 \end_inset
5149 </cell>
5150 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5151 \begin_inset Text
5152
5153 \begin_layout Plain Layout
5154 555
5155 \end_layout
5156
5157 \end_inset
5158 </cell>
5159 </row>
5160 <row>
5161 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5162 \begin_inset Text
5163
5164 \begin_layout Plain Layout
5165
5166 \series bold
5167 Pochiesa
5168 \end_layout
5169
5170 \end_inset
5171 </cell>
5172 <cell alignment="center" valignment="top" usebox="none">
5173 \begin_inset Text
5174
5175 \begin_layout Plain Layout
5176 Paolo
5177 \end_layout
5178
5179 \end_inset
5180 </cell>
5181 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5182 \begin_inset Text
5183
5184 \begin_layout Plain Layout
5185 555, 222
5186 \end_layout
5187
5188 \end_inset
5189 </cell>
5190 </row>
5191 <row>
5192 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Plain Layout
5196
5197 \series bold
5198 Radina
5199 \end_layout
5200
5201 \end_inset
5202 </cell>
5203 <cell alignment="center" valignment="top" usebox="none">
5204 \begin_inset Text
5205
5206 \begin_layout Plain Layout
5207 Claudio
5208 \end_layout
5209
5210 \end_inset
5211 </cell>
5212 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5213 \begin_inset Text
5214
5215 \begin_layout Plain Layout
5216 555
5217 \end_layout
5218
5219 \end_inset
5220 </cell>
5221 </row>
5222 <row>
5223 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5224 \begin_inset Text
5225
5226 \begin_layout Plain Layout
5227
5228 \series bold
5229 Stuffer
5230 \end_layout
5231
5232 \end_inset
5233 </cell>
5234 <cell alignment="center" valignment="top" usebox="none">
5235 \begin_inset Text
5236
5237 \begin_layout Plain Layout
5238 Oskar
5239 \end_layout
5240
5241 \end_inset
5242 </cell>
5243 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5244 \begin_inset Text
5245
5246 \begin_layout Plain Layout
5247 555
5248 \end_layout
5249
5250 \end_inset
5251 </cell>
5252 </row>
5253 <row>
5254 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5255 \begin_inset Text
5256
5257 \begin_layout Plain Layout
5258
5259 \series bold
5260 Tacchelli
5261 \end_layout
5262
5263 \end_inset
5264 </cell>
5265 <cell alignment="center" valignment="top" usebox="none">
5266 \begin_inset Text
5267
5268 \begin_layout Plain Layout
5269 Ugo
5270 \end_layout
5271
5272 \end_inset
5273 </cell>
5274 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5275 \begin_inset Text
5276
5277 \begin_layout Plain Layout
5278 555
5279 \end_layout
5280
5281 \end_inset
5282 </cell>
5283 </row>
5284 <row>
5285 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5286 \begin_inset Text
5287
5288 \begin_layout Plain Layout
5289
5290 \series bold
5291 Tezzele
5292 \end_layout
5293
5294 \end_inset
5295 </cell>
5296 <cell alignment="center" valignment="top" usebox="none">
5297 \begin_inset Text
5298
5299 \begin_layout Plain Layout
5300 Margit
5301 \end_layout
5302
5303 \end_inset
5304 </cell>
5305 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5306 \begin_inset Text
5307
5308 \begin_layout Plain Layout
5309 555
5310 \end_layout
5311
5312 \end_inset
5313 </cell>
5314 </row>
5315 <row>
5316 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5317 \begin_inset Text
5318
5319 \begin_layout Plain Layout
5320
5321 \series bold
5322 Unterkalmsteiner
5323 \end_layout
5324
5325 \end_inset
5326 </cell>
5327 <cell alignment="center" valignment="top" usebox="none">
5328 \begin_inset Text
5329
5330 \begin_layout Plain Layout
5331 Frieda
5332 \end_layout
5333
5334 \end_inset
5335 </cell>
5336 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5337 \begin_inset Text
5338
5339 \begin_layout Plain Layout
5340 555
5341 \end_layout
5342
5343 \end_inset
5344 </cell>
5345 </row>
5346 <row>
5347 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5348 \begin_inset Text
5349
5350 \begin_layout Plain Layout
5351
5352 \series bold
5353 Vieider
5354 \end_layout
5355
5356 \end_inset
5357 </cell>
5358 <cell alignment="center" valignment="top" usebox="none">
5359 \begin_inset Text
5360
5361 \begin_layout Plain Layout
5362 Hilde
5363 \end_layout
5364
5365 \end_inset
5366 </cell>
5367 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5368 \begin_inset Text
5369
5370 \begin_layout Plain Layout
5371 555
5372 \end_layout
5373
5374 \end_inset
5375 </cell>
5376 </row>
5377 <row>
5378 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5379 \begin_inset Text
5380
5381 \begin_layout Plain Layout
5382
5383 \series bold
5384 Vigna
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 <cell alignment="center" valignment="top" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Plain Layout
5393 Jürgen
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Plain Layout
5402 999
5403 \end_layout
5404
5405 \end_inset
5406 </cell>
5407 </row>
5408 <row>
5409 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5410 \begin_inset Text
5411
5412 \begin_layout Plain Layout
5413
5414 \series bold
5415 Weber
5416 \end_layout
5417
5418 \end_inset
5419 </cell>
5420 <cell alignment="center" valignment="top" usebox="none">
5421 \begin_inset Text
5422
5423 \begin_layout Plain Layout
5424 Maurizio
5425 \end_layout
5426
5427 \end_inset
5428 </cell>
5429 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5430 \begin_inset Text
5431
5432 \begin_layout Plain Layout
5433 555
5434 \end_layout
5435
5436 \end_inset
5437 </cell>
5438 </row>
5439 <row>
5440 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5441 \begin_inset Text
5442
5443 \begin_layout Plain Layout
5444
5445 \series bold
5446 Winkler
5447 \end_layout
5448
5449 \end_inset
5450 </cell>
5451 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5452 \begin_inset Text
5453
5454 \begin_layout Plain Layout
5455 Franz
5456 \end_layout
5457
5458 \end_inset
5459 </cell>
5460 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5461 \begin_inset Text
5462
5463 \begin_layout Plain Layout
5464 555
5465 \end_layout
5466
5467 \end_inset
5468 </cell>
5469 </row>
5470 <row endlastfoot="true">
5471 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5472 \begin_inset Text
5473
5474 \begin_layout Plain Layout
5475 end
5476 \end_layout
5477
5478 \end_inset
5479 </cell>
5480 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5481 \begin_inset Text
5482
5483 \begin_layout Plain Layout
5484
5485 \end_layout
5486
5487 \end_inset
5488 </cell>
5489 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5490 \begin_inset Text
5491
5492 \begin_layout Plain Layout
5493
5494 \end_layout
5495
5496 \end_inset
5497 </cell>
5498 </row>
5499 </lyxtabular>
5500
5501 \end_inset
5502
5503
5504 \begin_inset ERT
5505 status collapsed
5506
5507 \begin_layout Plain Layout
5508
5509
5510 \backslash
5511 addtocounter{table}{-1}
5512 \end_layout
5513
5514 \end_inset
5515
5516
5517 \begin_inset Note Note
5518 status collapsed
5519
5520 \begin_layout Plain Layout
5521 See the first greyed-out note in section
5522 \begin_inset space ~
5523 \end_inset
5524
5525
5526 \begin_inset CommandInset ref
5527 LatexCommand ref
5528 reference "sub:Longtable-Captions"
5529
5530 \end_inset
5531
5532  for an explanation of this command.
5533 \end_layout
5534
5535 \end_inset
5536
5537
5538 \end_layout
5539
5540 \begin_layout Subsection
5541 Footnotes in Longtables
5542 \begin_inset CommandInset label
5543 LatexCommand label
5544 name "sub:Footnotes-in-Longtables"
5545
5546 \end_inset
5547
5548
5549 \begin_inset Index idx
5550 status collapsed
5551
5552 \begin_layout Plain Layout
5553 Longtables ! Footnotes
5554 \end_layout
5555
5556 \end_inset
5557
5558
5559 \end_layout
5560
5561 \begin_layout Standard
5562 Footnotes can be inserted to every longtable cell.
5563  They appear at the bottom of the page where the table cell with the footnote
5564  appears.
5565  Table
5566 \begin_inset space ~
5567 \end_inset
5568
5569
5570 \begin_inset CommandInset ref
5571 LatexCommand ref
5572 reference "tab:DiffCaptions"
5573
5574 \end_inset
5575
5576  has for example a footnote.
5577 \end_layout
5578
5579 \begin_layout Subsection
5580 Longtable Alignment
5581 \begin_inset Index idx
5582 status collapsed
5583
5584 \begin_layout Plain Layout
5585 Longtables ! Alignment
5586 \end_layout
5587
5588 \end_inset
5589
5590
5591 \end_layout
5592
5593 \begin_layout Standard
5594 The horizontal alignment of longtables can be set in the table settings
5595  dialog.
5596  For left- and right-alignment the table will be directly at the page border.
5597  To add space between the table and the border one has to set the alignment
5598  to center and change the value of the LaTeX-lengths 
5599 \series bold
5600
5601 \backslash
5602 LTleft 
5603 \series default
5604 or 
5605 \series bold
5606
5607 \backslash
5608 LTright
5609 \series default
5610  by inserting this line as TeX-Code before the longtable:
5611 \end_layout
5612
5613 \begin_layout Standard
5614
5615 \series bold
5616
5617 \backslash
5618 setlength{
5619 \backslash
5620 LTleft}{value}
5621 \end_layout
5622
5623 \begin_layout Standard
5624 The value can have any of the units listed in Table
5625 \begin_inset space ~
5626 \end_inset
5627
5628
5629 \begin_inset CommandInset ref
5630 LatexCommand ref
5631 reference "tab:Units"
5632
5633 \end_inset
5634
5635 .
5636  
5637 \series bold
5638
5639 \backslash
5640 LTleft
5641 \series default
5642  controls the horizontal distance from the left page border to the longtable,
5643  
5644 \series bold
5645
5646 \backslash
5647 LTright
5648 \series default
5649  the distance from the right side.
5650  The default value for both lengths is 
5651 \series bold
5652
5653 \backslash
5654 fill
5655 \series default
5656 , which is in this case the same as an horizontal fill in LyX.
5657 \end_layout
5658
5659 \begin_layout Standard
5660 The following longtable was centered and 
5661 \series bold
5662
5663 \backslash
5664 LTleft
5665 \series default
5666  set to 
5667 \family sans
5668 0.1
5669 \backslash
5670 columnwidth
5671 \family default
5672 :
5673 \begin_inset ERT
5674 status collapsed
5675
5676 \begin_layout Plain Layout
5677
5678
5679 \backslash
5680 setlength{
5681 \backslash
5682 LTleft}{0.1
5683 \backslash
5684 columnwidth}
5685 \end_layout
5686
5687 \end_inset
5688
5689
5690 \end_layout
5691
5692 \begin_layout Standard
5693 \begin_inset Tabular
5694 <lyxtabular version="3" rows="5" columns="5">
5695 <features islongtable="true" longtabularalignment="center">
5696 <column alignment="center" valignment="top" width="0">
5697 <column alignment="center" valignment="top" width="0pt">
5698 <column alignment="center" valignment="top" width="0">
5699 <column alignment="center" valignment="top" width="0">
5700 <column alignment="center" valignment="top" width="0">
5701 <row>
5702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5703 \begin_inset Text
5704
5705 \begin_layout Plain Layout
5706 1
5707 \end_layout
5708
5709 \end_inset
5710 </cell>
5711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5712 \begin_inset Text
5713
5714 \begin_layout Plain Layout
5715 2
5716 \end_layout
5717
5718 \end_inset
5719 </cell>
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5721 \begin_inset Text
5722
5723 \begin_layout Plain Layout
5724 3
5725 \end_layout
5726
5727 \end_inset
5728 </cell>
5729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5730 \begin_inset Text
5731
5732 \begin_layout Plain Layout
5733 4
5734 \end_layout
5735
5736 \end_inset
5737 </cell>
5738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5739 \begin_inset Text
5740
5741 \begin_layout Plain Layout
5742 5
5743 \end_layout
5744
5745 \end_inset
5746 </cell>
5747 </row>
5748 <row>
5749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5750 \begin_inset Text
5751
5752 \begin_layout Plain Layout
5753 asd
5754 \end_layout
5755
5756 \end_inset
5757 </cell>
5758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5759 \begin_inset Text
5760
5761 \begin_layout Plain Layout
5762 s
5763 \end_layout
5764
5765 \end_inset
5766 </cell>
5767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5768 \begin_inset Text
5769
5770 \begin_layout Plain Layout
5771 s
5772 \end_layout
5773
5774 \end_inset
5775 </cell>
5776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5777 \begin_inset Text
5778
5779 \begin_layout Plain Layout
5780 s
5781 \end_layout
5782
5783 \end_inset
5784 </cell>
5785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5786 \begin_inset Text
5787
5788 \begin_layout Plain Layout
5789 asd
5790 \end_layout
5791
5792 \end_inset
5793 </cell>
5794 </row>
5795 <row>
5796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5797 \begin_inset Text
5798
5799 \begin_layout Plain Layout
5800 asd
5801 \end_layout
5802
5803 \end_inset
5804 </cell>
5805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5806 \begin_inset Text
5807
5808 \begin_layout Plain Layout
5809 s
5810 \end_layout
5811
5812 \end_inset
5813 </cell>
5814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5815 \begin_inset Text
5816
5817 \begin_layout Plain Layout
5818 s
5819 \end_layout
5820
5821 \end_inset
5822 </cell>
5823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5824 \begin_inset Text
5825
5826 \begin_layout Plain Layout
5827 s
5828 \end_layout
5829
5830 \end_inset
5831 </cell>
5832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5833 \begin_inset Text
5834
5835 \begin_layout Plain Layout
5836 asd
5837 \end_layout
5838
5839 \end_inset
5840 </cell>
5841 </row>
5842 <row>
5843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5844 \begin_inset Text
5845
5846 \begin_layout Plain Layout
5847 asd
5848 \end_layout
5849
5850 \end_inset
5851 </cell>
5852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5853 \begin_inset Text
5854
5855 \begin_layout Plain Layout
5856 s
5857 \end_layout
5858
5859 \end_inset
5860 </cell>
5861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5862 \begin_inset Text
5863
5864 \begin_layout Plain Layout
5865 s
5866 \end_layout
5867
5868 \end_inset
5869 </cell>
5870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5871 \begin_inset Text
5872
5873 \begin_layout Plain Layout
5874 s
5875 \end_layout
5876
5877 \end_inset
5878 </cell>
5879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5880 \begin_inset Text
5881
5882 \begin_layout Plain Layout
5883 asd
5884 \end_layout
5885
5886 \end_inset
5887 </cell>
5888 </row>
5889 <row>
5890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5891 \begin_inset Text
5892
5893 \begin_layout Plain Layout
5894 asd
5895 \end_layout
5896
5897 \end_inset
5898 </cell>
5899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5900 \begin_inset Text
5901
5902 \begin_layout Plain Layout
5903 asd
5904 \end_layout
5905
5906 \end_inset
5907 </cell>
5908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5909 \begin_inset Text
5910
5911 \begin_layout Plain Layout
5912 asd
5913 \end_layout
5914
5915 \end_inset
5916 </cell>
5917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5918 \begin_inset Text
5919
5920 \begin_layout Plain Layout
5921 asd
5922 \end_layout
5923
5924 \end_inset
5925 </cell>
5926 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5927 \begin_inset Text
5928
5929 \begin_layout Plain Layout
5930 asd
5931 \end_layout
5932
5933 \end_inset
5934 </cell>
5935 </row>
5936 </lyxtabular>
5937
5938 \end_inset
5939
5940
5941 \begin_inset ERT
5942 status collapsed
5943
5944 \begin_layout Plain Layout
5945
5946
5947 \backslash
5948 setlength{
5949 \backslash
5950 LTleft}{
5951 \backslash
5952 fill}
5953 \end_layout
5954
5955 \end_inset
5956
5957
5958 \begin_inset ERT
5959 status collapsed
5960
5961 \begin_layout Plain Layout
5962
5963
5964 \backslash
5965 addtocounter{table}{-1}
5966 \end_layout
5967
5968 \end_inset
5969
5970
5971 \begin_inset Note Note
5972 status collapsed
5973
5974 \begin_layout Plain Layout
5975 See the first greyed-out note in section
5976 \begin_inset space ~
5977 \end_inset
5978
5979
5980 \begin_inset CommandInset ref
5981 LatexCommand ref
5982 reference "sub:Longtable-Captions"
5983
5984 \end_inset
5985
5986  for an explanation of this command.
5987 \end_layout
5988
5989 \end_inset
5990
5991
5992 \end_layout
5993
5994 \begin_layout Subsection
5995 Longtable Captions
5996 \begin_inset Index idx
5997 status collapsed
5998
5999 \begin_layout Plain Layout
6000 Longtables ! Captions
6001 \end_layout
6002
6003 \end_inset
6004
6005
6006 \begin_inset CommandInset label
6007 LatexCommand label
6008 name "sub:Longtable-Captions"
6009
6010 \end_inset
6011
6012
6013 \end_layout
6014
6015 \begin_layout Standard
6016 A longtable cannot be put into a table float because floats can only be
6017  on one page.
6018  But the caption environment of floats can also be used for longtables when
6019  you use the longtable option 
6020 \family sans
6021 Caption
6022 \family default
6023  as described in sec.
6024 \begin_inset space \thinspace{}
6025 \end_inset
6026
6027
6028 \begin_inset CommandInset ref
6029 LatexCommand ref
6030 reference "sec:Longtables"
6031
6032 \end_inset
6033
6034 .
6035  Only one table row can contain the caption.
6036 \end_layout
6037
6038 \begin_layout Standard
6039 Here is a short longtable to see how it works:
6040 \end_layout
6041
6042 \begin_layout Standard
6043 \begin_inset Tabular
6044 <lyxtabular version="3" rows="6" columns="5">
6045 <features islongtable="true" longtabularalignment="center">
6046 <column alignment="center" valignment="top" width="0">
6047 <column alignment="center" valignment="top" width="0">
6048 <column alignment="center" valignment="top" width="0">
6049 <column alignment="center" valignment="top" width="0">
6050 <column alignment="center" valignment="top" width="0">
6051 <row caption="true">
6052 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6053 \begin_inset Text
6054
6055 \begin_layout Plain Layout
6056 \begin_inset Caption
6057
6058 \begin_layout Plain Layout
6059 Longtable with caption
6060 \begin_inset Argument
6061 status open
6062
6063 \begin_layout Plain Layout
6064 Longtable
6065 \end_layout
6066
6067 \end_inset
6068
6069
6070 \end_layout
6071
6072 \end_inset
6073
6074
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Plain Layout
6083
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6089 \begin_inset Text
6090
6091 \begin_layout Plain Layout
6092
6093 \end_layout
6094
6095 \end_inset
6096 </cell>
6097 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6098 \begin_inset Text
6099
6100 \begin_layout Plain Layout
6101
6102 \end_layout
6103
6104 \end_inset
6105 </cell>
6106 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6107 \begin_inset Text
6108
6109 \begin_layout Plain Layout
6110
6111 \end_layout
6112
6113 \end_inset
6114 </cell>
6115 </row>
6116 <row>
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Plain Layout
6121 1
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Plain Layout
6130 2
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6136 \begin_inset Text
6137
6138 \begin_layout Plain Layout
6139 3
6140 \end_layout
6141
6142 \end_inset
6143 </cell>
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6145 \begin_inset Text
6146
6147 \begin_layout Plain Layout
6148 4
6149 \end_layout
6150
6151 \end_inset
6152 </cell>
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6154 \begin_inset Text
6155
6156 \begin_layout Plain Layout
6157 5
6158 \end_layout
6159
6160 \end_inset
6161 </cell>
6162 </row>
6163 <row>
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Plain Layout
6168 asd
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Plain Layout
6177 s
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6183 \begin_inset Text
6184
6185 \begin_layout Plain Layout
6186 s
6187 \end_layout
6188
6189 \end_inset
6190 </cell>
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6192 \begin_inset Text
6193
6194 \begin_layout Plain Layout
6195 s
6196 \end_layout
6197
6198 \end_inset
6199 </cell>
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6201 \begin_inset Text
6202
6203 \begin_layout Plain Layout
6204 asd
6205 \end_layout
6206
6207 \end_inset
6208 </cell>
6209 </row>
6210 <row>
6211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6212 \begin_inset Text
6213
6214 \begin_layout Plain Layout
6215 asd
6216 \end_layout
6217
6218 \end_inset
6219 </cell>
6220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6221 \begin_inset Text
6222
6223 \begin_layout Plain Layout
6224 s
6225 \end_layout
6226
6227 \end_inset
6228 </cell>
6229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6230 \begin_inset Text
6231
6232 \begin_layout Plain Layout
6233 s
6234 \end_layout
6235
6236 \end_inset
6237 </cell>
6238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6239 \begin_inset Text
6240
6241 \begin_layout Plain Layout
6242 s
6243 \end_layout
6244
6245 \end_inset
6246 </cell>
6247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6248 \begin_inset Text
6249
6250 \begin_layout Plain Layout
6251 asd
6252 \end_layout
6253
6254 \end_inset
6255 </cell>
6256 </row>
6257 <row>
6258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6259 \begin_inset Text
6260
6261 \begin_layout Plain Layout
6262 asd
6263 \end_layout
6264
6265 \end_inset
6266 </cell>
6267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6268 \begin_inset Text
6269
6270 \begin_layout Plain Layout
6271 s
6272 \end_layout
6273
6274 \end_inset
6275 </cell>
6276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6277 \begin_inset Text
6278
6279 \begin_layout Plain Layout
6280 s
6281 \end_layout
6282
6283 \end_inset
6284 </cell>
6285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6286 \begin_inset Text
6287
6288 \begin_layout Plain Layout
6289 s
6290 \end_layout
6291
6292 \end_inset
6293 </cell>
6294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6295 \begin_inset Text
6296
6297 \begin_layout Plain Layout
6298 asd
6299 \end_layout
6300
6301 \end_inset
6302 </cell>
6303 </row>
6304 <row>
6305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6306 \begin_inset Text
6307
6308 \begin_layout Plain Layout
6309 asd
6310 \end_layout
6311
6312 \end_inset
6313 </cell>
6314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6315 \begin_inset Text
6316
6317 \begin_layout Plain Layout
6318 asd
6319 \end_layout
6320
6321 \end_inset
6322 </cell>
6323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6324 \begin_inset Text
6325
6326 \begin_layout Plain Layout
6327 asd
6328 \end_layout
6329
6330 \end_inset
6331 </cell>
6332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6333 \begin_inset Text
6334
6335 \begin_layout Plain Layout
6336 asd
6337 \end_layout
6338
6339 \end_inset
6340 </cell>
6341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6342 \begin_inset Text
6343
6344 \begin_layout Plain Layout
6345 asd
6346 \end_layout
6347
6348 \end_inset
6349 </cell>
6350 </row>
6351 </lyxtabular>
6352
6353 \end_inset
6354
6355
6356 \end_layout
6357
6358 \begin_layout Standard
6359 \begin_inset VSpace medskip
6360 \end_inset
6361
6362
6363 \begin_inset Note Greyedout
6364 status open
6365
6366 \begin_layout Plain Layout
6367
6368 \series bold
6369 Note
6370 \begin_inset space ~
6371 \end_inset
6372
6373 1:
6374 \series default
6375  The table number is increased for for every longtable, even if you did
6376  not set a caption for it.
6377  For this reason you could have the case that e.
6378 \begin_inset space \thinspace{}
6379 \end_inset
6380
6381 g.
6382 \begin_inset space \space{}
6383 \end_inset
6384
6385 Table
6386 \begin_inset space ~
6387 \end_inset
6388
6389 2.4 follows Table
6390 \begin_inset space ~
6391 \end_inset
6392
6393 2.1 in the list of tables if there are two longtables without captions.
6394  To avoid this you can add the following command in TeX-Code after every
6395  longtable without a caption:
6396 \end_layout
6397
6398 \begin_layout Plain Layout
6399
6400 \series bold
6401
6402 \backslash
6403 addtocounter{table}{-1}
6404 \end_layout
6405
6406 \begin_layout Plain Layout
6407 This is not needed when none of your longtables have a caption and you add
6408  the following code to the document preamble:
6409 \end_layout
6410
6411 \begin_layout Plain Layout
6412
6413 \series bold
6414
6415 \backslash
6416 let
6417 \backslash
6418 myEnd
6419 \backslash
6420 endlongtable
6421 \begin_inset Newline newline
6422 \end_inset
6423
6424
6425 \backslash
6426 renewcommand{
6427 \backslash
6428 endlongtable}{
6429 \backslash
6430 myEnd
6431 \backslash
6432 addtocounter{table}{-1}}
6433 \end_layout
6434
6435 \end_inset
6436
6437
6438 \end_layout
6439
6440 \begin_layout Standard
6441 \begin_inset Note Greyedout
6442 status open
6443
6444 \begin_layout Plain Layout
6445
6446 \series bold
6447 Note
6448 \begin_inset space ~
6449 \end_inset
6450
6451 2:
6452 \series default
6453  If you are using
6454 \series bold
6455  hyperref
6456 \series default
6457
6458 \begin_inset Index idx
6459 status collapsed
6460
6461 \begin_layout Plain Layout
6462 LaTeX-packages ! hyperref
6463 \end_layout
6464
6465 \end_inset
6466
6467  in the 
6468 \family sans
6469 PDF Properties
6470 \family default
6471  of the 
6472 \family sans
6473 Document Settings
6474 \family default
6475  dialog to link cross-references, the link to a longtable caption will always
6476  point to the beginning of the document.
6477 \end_layout
6478
6479 \end_inset
6480
6481
6482 \end_layout
6483
6484 \begin_layout Subsubsection
6485 References to Longtables
6486 \begin_inset Index idx
6487 status collapsed
6488
6489 \begin_layout Plain Layout
6490 Longtables ! References
6491 \end_layout
6492
6493 \end_inset
6494
6495
6496 \end_layout
6497
6498 \begin_layout Standard
6499 \begin_inset Tabular
6500 <lyxtabular version="3" rows="6" columns="5">
6501 <features islongtable="true" longtabularalignment="center">
6502 <column alignment="center" valignment="top" width="0">
6503 <column alignment="center" valignment="top" width="0">
6504 <column alignment="center" valignment="top" width="0">
6505 <column alignment="center" valignment="top" width="0">
6506 <column alignment="center" valignment="top" width="0">
6507 <row caption="true">
6508 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6509 \begin_inset Text
6510
6511 \begin_layout Plain Layout
6512 \begin_inset Caption
6513
6514 \begin_layout Plain Layout
6515 Referenced longtable
6516 \begin_inset CommandInset label
6517 LatexCommand label
6518 name "tab:RefExample"
6519
6520 \end_inset
6521
6522
6523 \end_layout
6524
6525 \end_inset
6526
6527
6528 \end_layout
6529
6530 \end_inset
6531 </cell>
6532 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6533 \begin_inset Text
6534
6535 \begin_layout Plain Layout
6536
6537 \end_layout
6538
6539 \end_inset
6540 </cell>
6541 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6542 \begin_inset Text
6543
6544 \begin_layout Plain Layout
6545
6546 \end_layout
6547
6548 \end_inset
6549 </cell>
6550 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6551 \begin_inset Text
6552
6553 \begin_layout Plain Layout
6554
6555 \end_layout
6556
6557 \end_inset
6558 </cell>
6559 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6560 \begin_inset Text
6561
6562 \begin_layout Plain Layout
6563
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 </row>
6569 <row>
6570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6571 \begin_inset Text
6572
6573 \begin_layout Plain Layout
6574 1
6575 \end_layout
6576
6577 \end_inset
6578 </cell>
6579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6580 \begin_inset Text
6581
6582 \begin_layout Plain Layout
6583 2
6584 \end_layout
6585
6586 \end_inset
6587 </cell>
6588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6589 \begin_inset Text
6590
6591 \begin_layout Plain Layout
6592 3
6593 \end_layout
6594
6595 \end_inset
6596 </cell>
6597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6598 \begin_inset Text
6599
6600 \begin_layout Plain Layout
6601 4
6602 \end_layout
6603
6604 \end_inset
6605 </cell>
6606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6607 \begin_inset Text
6608
6609 \begin_layout Plain Layout
6610 5
6611 \end_layout
6612
6613 \end_inset
6614 </cell>
6615 </row>
6616 <row>
6617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6618 \begin_inset Text
6619
6620 \begin_layout Plain Layout
6621 asd
6622 \end_layout
6623
6624 \end_inset
6625 </cell>
6626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6627 \begin_inset Text
6628
6629 \begin_layout Plain Layout
6630 s
6631 \end_layout
6632
6633 \end_inset
6634 </cell>
6635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6636 \begin_inset Text
6637
6638 \begin_layout Plain Layout
6639 s
6640 \end_layout
6641
6642 \end_inset
6643 </cell>
6644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6645 \begin_inset Text
6646
6647 \begin_layout Plain Layout
6648 s
6649 \end_layout
6650
6651 \end_inset
6652 </cell>
6653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6654 \begin_inset Text
6655
6656 \begin_layout Plain Layout
6657 asd
6658 \end_layout
6659
6660 \end_inset
6661 </cell>
6662 </row>
6663 <row>
6664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6665 \begin_inset Text
6666
6667 \begin_layout Plain Layout
6668 asd
6669 \end_layout
6670
6671 \end_inset
6672 </cell>
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6674 \begin_inset Text
6675
6676 \begin_layout Plain Layout
6677 s
6678 \end_layout
6679
6680 \end_inset
6681 </cell>
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6683 \begin_inset Text
6684
6685 \begin_layout Plain Layout
6686 s
6687 \end_layout
6688
6689 \end_inset
6690 </cell>
6691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6692 \begin_inset Text
6693
6694 \begin_layout Plain Layout
6695 s
6696 \end_layout
6697
6698 \end_inset
6699 </cell>
6700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6701 \begin_inset Text
6702
6703 \begin_layout Plain Layout
6704 asd
6705 \end_layout
6706
6707 \end_inset
6708 </cell>
6709 </row>
6710 <row>
6711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6712 \begin_inset Text
6713
6714 \begin_layout Plain Layout
6715 asd
6716 \end_layout
6717
6718 \end_inset
6719 </cell>
6720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6721 \begin_inset Text
6722
6723 \begin_layout Plain Layout
6724 s
6725 \end_layout
6726
6727 \end_inset
6728 </cell>
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6730 \begin_inset Text
6731
6732 \begin_layout Plain Layout
6733 s
6734 \end_layout
6735
6736 \end_inset
6737 </cell>
6738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6739 \begin_inset Text
6740
6741 \begin_layout Plain Layout
6742 s
6743 \end_layout
6744
6745 \end_inset
6746 </cell>
6747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6748 \begin_inset Text
6749
6750 \begin_layout Plain Layout
6751 asd
6752 \end_layout
6753
6754 \end_inset
6755 </cell>
6756 </row>
6757 <row>
6758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6759 \begin_inset Text
6760
6761 \begin_layout Plain Layout
6762 asd
6763 \end_layout
6764
6765 \end_inset
6766 </cell>
6767 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6768 \begin_inset Text
6769
6770 \begin_layout Plain Layout
6771 sad
6772 \end_layout
6773
6774 \end_inset
6775 </cell>
6776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6777 \begin_inset Text
6778
6779 \begin_layout Plain Layout
6780 asd
6781 \end_layout
6782
6783 \end_inset
6784 </cell>
6785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6786 \begin_inset Text
6787
6788 \begin_layout Plain Layout
6789 asd
6790 \end_layout
6791
6792 \end_inset
6793 </cell>
6794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6795 \begin_inset Text
6796
6797 \begin_layout Plain Layout
6798 asd
6799 \end_layout
6800
6801 \end_inset
6802 </cell>
6803 </row>
6804 </lyxtabular>
6805
6806 \end_inset
6807
6808
6809 \end_layout
6810
6811 \begin_layout Standard
6812 To reference a longtable, insert a label into the caption.
6813 \end_layout
6814
6815 \begin_layout Standard
6816 This is a reference to Table
6817 \begin_inset space ~
6818 \end_inset
6819
6820
6821 \begin_inset CommandInset ref
6822 LatexCommand ref
6823 reference "tab:RefExample"
6824
6825 \end_inset
6826
6827 .
6828 \end_layout
6829
6830 \begin_layout Standard
6831 The caption layout can be set together with all other captions of your document
6832  using the LaTeX-package 
6833 \series bold
6834 caption
6835 \series default
6836
6837 \begin_inset Index idx
6838 status collapsed
6839
6840 \begin_layout Plain Layout
6841 LaTeX-packages ! caption
6842 \end_layout
6843
6844 \end_inset
6845
6846 , see section
6847 \begin_inset space ~
6848 \end_inset
6849
6850
6851 \begin_inset CommandInset ref
6852 LatexCommand ref
6853 reference "sec:Caption-Formatting"
6854
6855 \end_inset
6856
6857 .
6858 \end_layout
6859
6860 \begin_layout Subsubsection
6861 Caption Width
6862 \begin_inset Index idx
6863 status collapsed
6864
6865 \begin_layout Plain Layout
6866 Longtables ! Caption Width
6867 \end_layout
6868
6869 \end_inset
6870
6871
6872 \end_layout
6873
6874 \begin_layout Standard
6875 The maximal width of of caption lines is defined by the length 
6876 \series bold
6877
6878 \backslash
6879 LTcapwidth
6880 \series default
6881 .
6882  Its default value is 4
6883 \begin_inset space \thinspace{}
6884 \end_inset
6885
6886 in.
6887  To change it add the following command to your document preamble or as
6888  TeX-Code into your document before the longtable that should be affected
6889 \end_layout
6890
6891 \begin_layout Standard
6892
6893 \series bold
6894
6895 \backslash
6896 setlength{
6897 \backslash
6898 LTcapwidth}{width}
6899 \end_layout
6900
6901 \begin_layout Standard
6902 where the width could have one of the units listed in appendix
6903 \begin_inset space ~
6904 \end_inset
6905
6906
6907 \begin_inset CommandInset ref
6908 LatexCommand ref
6909 reference "cha:Units-available-in"
6910
6911 \end_inset
6912
6913 .
6914 \end_layout
6915
6916 \begin_layout Standard
6917 The following tables show the difference:
6918 \end_layout
6919
6920 \begin_layout Standard
6921 \begin_inset Tabular
6922 <lyxtabular version="3" rows="6" columns="5">
6923 <features islongtable="true" longtabularalignment="center">
6924 <column alignment="center" valignment="top" width="0">
6925 <column alignment="center" valignment="top" width="0">
6926 <column alignment="center" valignment="top" width="0">
6927 <column alignment="center" valignment="top" width="0">
6928 <column alignment="center" valignment="top" width="0">
6929 <row caption="true">
6930 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6931 \begin_inset Text
6932
6933 \begin_layout Plain Layout
6934 \begin_inset Caption
6935
6936 \begin_layout Plain Layout
6937 long full title with default width long full title with default width long
6938  full title with default width
6939 \begin_inset Argument
6940 status collapsed
6941
6942 \begin_layout Plain Layout
6943 caption with default width
6944 \end_layout
6945
6946 \end_inset
6947
6948
6949 \end_layout
6950
6951 \end_inset
6952
6953
6954 \end_layout
6955
6956 \end_inset
6957 </cell>
6958 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6959 \begin_inset Text
6960
6961 \begin_layout Plain Layout
6962
6963 \end_layout
6964
6965 \end_inset
6966 </cell>
6967 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6968 \begin_inset Text
6969
6970 \begin_layout Plain Layout
6971
6972 \end_layout
6973
6974 \end_inset
6975 </cell>
6976 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6977 \begin_inset Text
6978
6979 \begin_layout Plain Layout
6980
6981 \end_layout
6982
6983 \end_inset
6984 </cell>
6985 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6986 \begin_inset Text
6987
6988 \begin_layout Plain Layout
6989
6990 \end_layout
6991
6992 \end_inset
6993 </cell>
6994 </row>
6995 <row>
6996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6997 \begin_inset Text
6998
6999 \begin_layout Plain Layout
7000 1
7001 \end_layout
7002
7003 \end_inset
7004 </cell>
7005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7006 \begin_inset Text
7007
7008 \begin_layout Plain Layout
7009 2
7010 \end_layout
7011
7012 \end_inset
7013 </cell>
7014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7015 \begin_inset Text
7016
7017 \begin_layout Plain Layout
7018 3
7019 \end_layout
7020
7021 \end_inset
7022 </cell>
7023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Plain Layout
7027 4
7028 \end_layout
7029
7030 \end_inset
7031 </cell>
7032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7033 \begin_inset Text
7034
7035 \begin_layout Plain Layout
7036 5
7037 \end_layout
7038
7039 \end_inset
7040 </cell>
7041 </row>
7042 <row>
7043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7044 \begin_inset Text
7045
7046 \begin_layout Plain Layout
7047 asd
7048 \end_layout
7049
7050 \end_inset
7051 </cell>
7052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7053 \begin_inset Text
7054
7055 \begin_layout Plain Layout
7056 s
7057 \end_layout
7058
7059 \end_inset
7060 </cell>
7061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7062 \begin_inset Text
7063
7064 \begin_layout Plain Layout
7065 s
7066 \end_layout
7067
7068 \end_inset
7069 </cell>
7070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7071 \begin_inset Text
7072
7073 \begin_layout Plain Layout
7074 s
7075 \end_layout
7076
7077 \end_inset
7078 </cell>
7079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7080 \begin_inset Text
7081
7082 \begin_layout Plain Layout
7083 asd
7084 \end_layout
7085
7086 \end_inset
7087 </cell>
7088 </row>
7089 <row>
7090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7091 \begin_inset Text
7092
7093 \begin_layout Plain Layout
7094 asd
7095 \end_layout
7096
7097 \end_inset
7098 </cell>
7099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7100 \begin_inset Text
7101
7102 \begin_layout Plain Layout
7103 s
7104 \end_layout
7105
7106 \end_inset
7107 </cell>
7108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7109 \begin_inset Text
7110
7111 \begin_layout Plain Layout
7112 s
7113 \end_layout
7114
7115 \end_inset
7116 </cell>
7117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7118 \begin_inset Text
7119
7120 \begin_layout Plain Layout
7121 s
7122 \end_layout
7123
7124 \end_inset
7125 </cell>
7126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7127 \begin_inset Text
7128
7129 \begin_layout Plain Layout
7130 asd
7131 \end_layout
7132
7133 \end_inset
7134 </cell>
7135 </row>
7136 <row>
7137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7138 \begin_inset Text
7139
7140 \begin_layout Plain Layout
7141 asd
7142 \end_layout
7143
7144 \end_inset
7145 </cell>
7146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7147 \begin_inset Text
7148
7149 \begin_layout Plain Layout
7150 s
7151 \end_layout
7152
7153 \end_inset
7154 </cell>
7155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7156 \begin_inset Text
7157
7158 \begin_layout Plain Layout
7159 s
7160 \end_layout
7161
7162 \end_inset
7163 </cell>
7164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7165 \begin_inset Text
7166
7167 \begin_layout Plain Layout
7168 s
7169 \end_layout
7170
7171 \end_inset
7172 </cell>
7173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7174 \begin_inset Text
7175
7176 \begin_layout Plain Layout
7177 asd
7178 \end_layout
7179
7180 \end_inset
7181 </cell>
7182 </row>
7183 <row>
7184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7185 \begin_inset Text
7186
7187 \begin_layout Plain Layout
7188 asd
7189 \end_layout
7190
7191 \end_inset
7192 </cell>
7193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7194 \begin_inset Text
7195
7196 \begin_layout Plain Layout
7197 sad
7198 \end_layout
7199
7200 \end_inset
7201 </cell>
7202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7203 \begin_inset Text
7204
7205 \begin_layout Plain Layout
7206 asd
7207 \end_layout
7208
7209 \end_inset
7210 </cell>
7211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7212 \begin_inset Text
7213
7214 \begin_layout Plain Layout
7215 asd
7216 \end_layout
7217
7218 \end_inset
7219 </cell>
7220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7221 \begin_inset Text
7222
7223 \begin_layout Plain Layout
7224 asd
7225 \end_layout
7226
7227 \end_inset
7228 </cell>
7229 </row>
7230 </lyxtabular>
7231
7232 \end_inset
7233
7234
7235 \end_layout
7236
7237 \begin_layout Standard
7238 \begin_inset ERT
7239 status collapsed
7240
7241 \begin_layout Plain Layout
7242
7243
7244 \backslash
7245 setlength{
7246 \backslash
7247 LTcapwidth}{5cm}
7248 \end_layout
7249
7250 \end_inset
7251
7252
7253 \begin_inset Tabular
7254 <lyxtabular version="3" rows="6" columns="5">
7255 <features islongtable="true" longtabularalignment="center">
7256 <column alignment="center" valignment="top" width="0">
7257 <column alignment="center" valignment="top" width="0">
7258 <column alignment="center" valignment="top" width="0">
7259 <column alignment="center" valignment="top" width="0">
7260 <column alignment="center" valignment="top" width="0">
7261 <row caption="true">
7262 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7263 \begin_inset Text
7264
7265 \begin_layout Plain Layout
7266 \begin_inset Caption
7267
7268 \begin_layout Plain Layout
7269 long full title with width set to 5
7270 \begin_inset space \thinspace{}
7271 \end_inset
7272
7273 cm long full title with width set to 5
7274 \begin_inset space \thinspace{}
7275 \end_inset
7276
7277 cm long full title with width set to 5
7278 \begin_inset space \thinspace{}
7279 \end_inset
7280
7281 cm
7282 \begin_inset Argument
7283 status collapsed
7284
7285 \begin_layout Plain Layout
7286 caption with width
7287 \begin_inset space \thinspace{}
7288 \end_inset
7289
7290 =
7291 \begin_inset space \thinspace{}
7292 \end_inset
7293
7294 5
7295 \begin_inset space \thinspace{}
7296 \end_inset
7297
7298 cm
7299 \end_layout
7300
7301 \end_inset
7302
7303
7304 \end_layout
7305
7306 \end_inset
7307
7308
7309 \end_layout
7310
7311 \end_inset
7312 </cell>
7313 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7314 \begin_inset Text
7315
7316 \begin_layout Plain Layout
7317
7318 \end_layout
7319
7320 \end_inset
7321 </cell>
7322 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7323 \begin_inset Text
7324
7325 \begin_layout Plain Layout
7326
7327 \end_layout
7328
7329 \end_inset
7330 </cell>
7331 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7332 \begin_inset Text
7333
7334 \begin_layout Plain Layout
7335
7336 \end_layout
7337
7338 \end_inset
7339 </cell>
7340 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7341 \begin_inset Text
7342
7343 \begin_layout Plain Layout
7344
7345 \end_layout
7346
7347 \end_inset
7348 </cell>
7349 </row>
7350 <row>
7351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7352 \begin_inset Text
7353
7354 \begin_layout Plain Layout
7355 1
7356 \end_layout
7357
7358 \end_inset
7359 </cell>
7360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7361 \begin_inset Text
7362
7363 \begin_layout Plain Layout
7364 2
7365 \end_layout
7366
7367 \end_inset
7368 </cell>
7369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7370 \begin_inset Text
7371
7372 \begin_layout Plain Layout
7373 3
7374 \end_layout
7375
7376 \end_inset
7377 </cell>
7378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7379 \begin_inset Text
7380
7381 \begin_layout Plain Layout
7382 4
7383 \end_layout
7384
7385 \end_inset
7386 </cell>
7387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7388 \begin_inset Text
7389
7390 \begin_layout Plain Layout
7391 5
7392 \end_layout
7393
7394 \end_inset
7395 </cell>
7396 </row>
7397 <row>
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7399 \begin_inset Text
7400
7401 \begin_layout Plain Layout
7402 asd
7403 \end_layout
7404
7405 \end_inset
7406 </cell>
7407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7408 \begin_inset Text
7409
7410 \begin_layout Plain Layout
7411 s
7412 \end_layout
7413
7414 \end_inset
7415 </cell>
7416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7417 \begin_inset Text
7418
7419 \begin_layout Plain Layout
7420 s
7421 \end_layout
7422
7423 \end_inset
7424 </cell>
7425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7426 \begin_inset Text
7427
7428 \begin_layout Plain Layout
7429 s
7430 \end_layout
7431
7432 \end_inset
7433 </cell>
7434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7435 \begin_inset Text
7436
7437 \begin_layout Plain Layout
7438 asd
7439 \end_layout
7440
7441 \end_inset
7442 </cell>
7443 </row>
7444 <row>
7445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7446 \begin_inset Text
7447
7448 \begin_layout Plain Layout
7449 asd
7450 \end_layout
7451
7452 \end_inset
7453 </cell>
7454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7455 \begin_inset Text
7456
7457 \begin_layout Plain Layout
7458 s
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7464 \begin_inset Text
7465
7466 \begin_layout Plain Layout
7467 s
7468 \end_layout
7469
7470 \end_inset
7471 </cell>
7472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7473 \begin_inset Text
7474
7475 \begin_layout Plain Layout
7476 s
7477 \end_layout
7478
7479 \end_inset
7480 </cell>
7481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7482 \begin_inset Text
7483
7484 \begin_layout Plain Layout
7485 asd
7486 \end_layout
7487
7488 \end_inset
7489 </cell>
7490 </row>
7491 <row>
7492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7493 \begin_inset Text
7494
7495 \begin_layout Plain Layout
7496 asd
7497 \end_layout
7498
7499 \end_inset
7500 </cell>
7501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7502 \begin_inset Text
7503
7504 \begin_layout Plain Layout
7505 s
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Plain Layout
7514 s
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7520 \begin_inset Text
7521
7522 \begin_layout Plain Layout
7523 s
7524 \end_layout
7525
7526 \end_inset
7527 </cell>
7528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7529 \begin_inset Text
7530
7531 \begin_layout Plain Layout
7532 asd
7533 \end_layout
7534
7535 \end_inset
7536 </cell>
7537 </row>
7538 <row>
7539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7540 \begin_inset Text
7541
7542 \begin_layout Plain Layout
7543 asd
7544 \end_layout
7545
7546 \end_inset
7547 </cell>
7548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7549 \begin_inset Text
7550
7551 \begin_layout Plain Layout
7552 sad
7553 \end_layout
7554
7555 \end_inset
7556 </cell>
7557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7558 \begin_inset Text
7559
7560 \begin_layout Plain Layout
7561 asd
7562 \end_layout
7563
7564 \end_inset
7565 </cell>
7566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7567 \begin_inset Text
7568
7569 \begin_layout Plain Layout
7570 asd
7571 \end_layout
7572
7573 \end_inset
7574 </cell>
7575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7576 \begin_inset Text
7577
7578 \begin_layout Plain Layout
7579 asd
7580 \end_layout
7581
7582 \end_inset
7583 </cell>
7584 </row>
7585 </lyxtabular>
7586
7587 \end_inset
7588
7589
7590 \end_layout
7591
7592 \begin_layout Standard
7593 \begin_inset ERT
7594 status collapsed
7595
7596 \begin_layout Plain Layout
7597
7598
7599 \backslash
7600 setlength{
7601 \backslash
7602 LTcapwidth}{4in}
7603 \end_layout
7604
7605 \end_inset
7606
7607
7608 \end_layout
7609
7610 \begin_layout Standard
7611 \begin_inset Note Greyedout
7612 status open
7613
7614 \begin_layout Plain Layout
7615
7616 \series bold
7617 Note:
7618 \series default
7619  When the LaTeX-package 
7620 \series bold
7621 caption
7622 \series default
7623
7624 \begin_inset Index idx
7625 status collapsed
7626
7627 \begin_layout Plain Layout
7628 LaTeX-packages ! caption
7629 \end_layout
7630
7631 \end_inset
7632
7633  is used, as in this document, the full page width is used for the caption
7634  when you use the default value of 4
7635 \begin_inset space \thinspace{}
7636 \end_inset
7637
7638 in for 
7639 \series bold
7640
7641 \backslash
7642 LTcapwidth
7643 \series default
7644 .
7645  To get in this case exactly a 4
7646 \begin_inset space \thinspace{}
7647 \end_inset
7648
7649 in wide caption, you can either use a value slightly different from 4.0
7650 \begin_inset space \thinspace{}
7651 \end_inset
7652
7653 in, e.
7654 \begin_inset space \thinspace{}
7655 \end_inset
7656
7657 g.
7658 \begin_inset space \space{}
7659 \end_inset
7660
7661 3.99
7662 \begin_inset space \thinspace{}
7663 \end_inset
7664
7665 in, or the LaTeX-command 
7666 \series bold
7667
7668 \backslash
7669 captionsetup{width=value}
7670 \series default
7671  that is provided by the 
7672 \series bold
7673 caption
7674 \series default
7675 -package.
7676 \end_layout
7677
7678 \end_inset
7679
7680
7681 \end_layout
7682
7683 \begin_layout Subsubsection
7684 Different Captions for Table Pages
7685 \begin_inset Index idx
7686 status collapsed
7687
7688 \begin_layout Plain Layout
7689 Longtables ! Different Captions for Pages
7690 \end_layout
7691
7692 \end_inset
7693
7694
7695 \end_layout
7696
7697 \begin_layout Standard
7698 When the table captions for the following pages should differ from the one
7699  of the first table page, insert a caption with the TeX code command
7700 \end_layout
7701
7702 \begin_layout Standard
7703
7704 \series bold
7705
7706 \backslash
7707 caption*{caption text}
7708 \backslash
7709
7710 \backslash
7711 %
7712 \end_layout
7713
7714 \begin_layout Standard
7715 in a dummy caption row that is marked as a header.
7716  Table
7717 \begin_inset space ~
7718 \end_inset
7719
7720
7721 \begin_inset CommandInset ref
7722 LatexCommand ref
7723 reference "tab:DiffCaptions"
7724
7725 \end_inset
7726
7727  is an example of a longtable with different heading where the second caption
7728  doesn't include the table number.
7729 \end_layout
7730
7731 \begin_layout Standard
7732 \align center
7733 \begin_inset Tabular
7734 <lyxtabular version="3" rows="59" columns="3">
7735 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7736 <column alignment="left" valignment="top" width="0cm">
7737 <column alignment="left" valignment="top" width="0pt">
7738 <column alignment="center" valignment="top" width="0pt">
7739 <row caption="true">
7740 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7741 \begin_inset Text
7742
7743 \begin_layout Plain Layout
7744 \begin_inset Caption
7745
7746 \begin_layout Plain Layout
7747 Example Phone List
7748 \begin_inset CommandInset label
7749 LatexCommand label
7750 name "tab:DiffCaptions"
7751
7752 \end_inset
7753
7754
7755 \begin_inset Argument
7756 status collapsed
7757
7758 \begin_layout Plain Layout
7759 Example Phone List
7760 \end_layout
7761
7762 \end_inset
7763
7764
7765 \end_layout
7766
7767 \end_inset
7768
7769
7770 \end_layout
7771
7772 \end_inset
7773 </cell>
7774 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7775 \begin_inset Text
7776
7777 \begin_layout Plain Layout
7778
7779 \end_layout
7780
7781 \end_inset
7782 </cell>
7783 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7784 \begin_inset Text
7785
7786 \begin_layout Plain Layout
7787
7788 \end_layout
7789
7790 \end_inset
7791 </cell>
7792 </row>
7793 <row endfirsthead="true">
7794 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7795 \begin_inset Text
7796
7797 \begin_layout Plain Layout
7798
7799 \series bold
7800 Example Phone List (ignore the names)
7801 \end_layout
7802
7803 \end_inset
7804 </cell>
7805 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7806 \begin_inset Text
7807
7808 \begin_layout Plain Layout
7809
7810 \end_layout
7811
7812 \end_inset
7813 </cell>
7814 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7815 \begin_inset Text
7816
7817 \begin_layout Plain Layout
7818
7819 \end_layout
7820
7821 \end_inset
7822 </cell>
7823 </row>
7824 <row endfirsthead="true">
7825 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7826 \begin_inset Text
7827
7828 \begin_layout Plain Layout
7829
7830 \series bold
7831 NAME
7832 \end_layout
7833
7834 \end_inset
7835 </cell>
7836 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7837 \begin_inset Text
7838
7839 \begin_layout Plain Layout
7840
7841 \end_layout
7842
7843 \end_inset
7844 </cell>
7845 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7846 \begin_inset Text
7847
7848 \begin_layout Plain Layout
7849
7850 \series bold
7851 TEL.
7852 \end_layout
7853
7854 \end_inset
7855 </cell>
7856 </row>
7857 <row endhead="true">
7858 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7859 \begin_inset Text
7860
7861 \begin_layout Plain Layout
7862 \begin_inset ERT
7863 status open
7864
7865 \begin_layout Plain Layout
7866
7867
7868 \backslash
7869 caption*{Continued Example Phone List}
7870 \backslash
7871
7872 \backslash
7873 %
7874 \end_layout
7875
7876 \end_inset
7877
7878
7879 \end_layout
7880
7881 \end_inset
7882 </cell>
7883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7884 \begin_inset Text
7885
7886 \begin_layout Plain Layout
7887
7888 \end_layout
7889
7890 \end_inset
7891 </cell>
7892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Plain Layout
7896
7897 \end_layout
7898
7899 \end_inset
7900 </cell>
7901 </row>
7902 <row endhead="true">
7903 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Plain Layout
7907
7908 \series bold
7909 Example Phone List
7910 \end_layout
7911
7912 \end_inset
7913 </cell>
7914 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7915 \begin_inset Text
7916
7917 \begin_layout Plain Layout
7918
7919 \end_layout
7920
7921 \end_inset
7922 </cell>
7923 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Plain Layout
7927
7928 \end_layout
7929
7930 \end_inset
7931 </cell>
7932 </row>
7933 <row endhead="true">
7934 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Plain Layout
7938
7939 \series bold
7940 NAME
7941 \end_layout
7942
7943 \end_inset
7944 </cell>
7945 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7946 \begin_inset Text
7947
7948 \begin_layout Plain Layout
7949
7950 \end_layout
7951
7952 \end_inset
7953 </cell>
7954 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Plain Layout
7958
7959 \series bold
7960 TEL.
7961 \end_layout
7962
7963 \end_inset
7964 </cell>
7965 </row>
7966 <row endfoot="true">
7967 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7968 \begin_inset Text
7969
7970 \begin_layout Plain Layout
7971 continued on next page
7972 \end_layout
7973
7974 \end_inset
7975 </cell>
7976 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7977 \begin_inset Text
7978
7979 \begin_layout Plain Layout
7980
7981 \end_layout
7982
7983 \end_inset
7984 </cell>
7985 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Plain Layout
7989
7990 \end_layout
7991
7992 \end_inset
7993 </cell>
7994 </row>
7995 <row>
7996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Plain Layout
8000
8001 \series bold
8002 Annovi
8003 \end_layout
8004
8005 \end_inset
8006 </cell>
8007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8008 \begin_inset Text
8009
8010 \begin_layout Plain Layout
8011 Silvia
8012 \end_layout
8013
8014 \end_inset
8015 </cell>
8016 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Plain Layout
8020 111
8021 \end_layout
8022
8023 \end_inset
8024 </cell>
8025 </row>
8026 <row>
8027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Plain Layout
8031
8032 \series bold
8033 Bertoli
8034 \end_layout
8035
8036 \end_inset
8037 </cell>
8038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8039 \begin_inset Text
8040
8041 \begin_layout Plain Layout
8042 Stefano
8043 \end_layout
8044
8045 \end_inset
8046 </cell>
8047 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Plain Layout
8051 111
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 </row>
8057 <row>
8058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8059 \begin_inset Text
8060
8061 \begin_layout Plain Layout
8062
8063 \series bold
8064 Bozzi
8065 \end_layout
8066
8067 \end_inset
8068 </cell>
8069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8070 \begin_inset Text
8071
8072 \begin_layout Plain Layout
8073 Walter
8074 \end_layout
8075
8076 \end_inset
8077 </cell>
8078 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Plain Layout
8082 111
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 </row>
8088 <row>
8089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8090 \begin_inset Text
8091
8092 \begin_layout Plain Layout
8093
8094 \series bold
8095 Cachia
8096 \end_layout
8097
8098 \end_inset
8099 </cell>
8100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8101 \begin_inset Text
8102
8103 \begin_layout Plain Layout
8104 Maria
8105 \end_layout
8106
8107 \end_inset
8108 </cell>
8109 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Plain Layout
8113 111
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 </row>
8119 <row>
8120 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8121 \begin_inset Text
8122
8123 \begin_layout Plain Layout
8124
8125 \series bold
8126 Cachia
8127 \end_layout
8128
8129 \end_inset
8130 </cell>
8131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8132 \begin_inset Text
8133
8134 \begin_layout Plain Layout
8135 Maurizio
8136 \end_layout
8137
8138 \end_inset
8139 </cell>
8140 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Plain Layout
8144 111
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 </row>
8150 <row>
8151 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Plain Layout
8155
8156 \series bold
8157 Cinquemani
8158 \end_layout
8159
8160 \end_inset
8161 </cell>
8162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8163 \begin_inset Text
8164
8165 \begin_layout Plain Layout
8166 Giusi
8167 \end_layout
8168
8169 \end_inset
8170 </cell>
8171 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8172 \begin_inset Text
8173
8174 \begin_layout Plain Layout
8175 111
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 </row>
8181 <row>
8182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8183 \begin_inset Text
8184
8185 \begin_layout Plain Layout
8186
8187 \series bold
8188 Colin
8189 \end_layout
8190
8191 \end_inset
8192 </cell>
8193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8194 \begin_inset Text
8195
8196 \begin_layout Plain Layout
8197 Bernard
8198 \end_layout
8199
8200 \end_inset
8201 </cell>
8202 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8203 \begin_inset Text
8204
8205 \begin_layout Plain Layout
8206 111
8207 \end_layout
8208
8209 \end_inset
8210 </cell>
8211 </row>
8212 <row>
8213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8214 \begin_inset Text
8215
8216 \begin_layout Plain Layout
8217
8218 \series bold
8219 Concli
8220 \end_layout
8221
8222 \end_inset
8223 </cell>
8224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8225 \begin_inset Text
8226
8227 \begin_layout Plain Layout
8228 Gianfranco
8229 \end_layout
8230
8231 \end_inset
8232 </cell>
8233 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8234 \begin_inset Text
8235
8236 \begin_layout Plain Layout
8237 111
8238 \end_layout
8239
8240 \end_inset
8241 </cell>
8242 </row>
8243 <row>
8244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8245 \begin_inset Text
8246
8247 \begin_layout Plain Layout
8248
8249 \series bold
8250 Dal Bosco
8251 \end_layout
8252
8253 \end_inset
8254 </cell>
8255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8256 \begin_inset Text
8257
8258 \begin_layout Plain Layout
8259 Carolina
8260 \end_layout
8261
8262 \end_inset
8263 </cell>
8264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8265 \begin_inset Text
8266
8267 \begin_layout Plain Layout
8268 111
8269 \end_layout
8270
8271 \end_inset
8272 </cell>
8273 </row>
8274 <row>
8275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8276 \begin_inset Text
8277
8278 \begin_layout Plain Layout
8279
8280 \series bold
8281 Dalpiaz
8282 \end_layout
8283
8284 \end_inset
8285 </cell>
8286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8287 \begin_inset Text
8288
8289 \begin_layout Plain Layout
8290 Annamaria
8291 \end_layout
8292
8293 \end_inset
8294 </cell>
8295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8296 \begin_inset Text
8297
8298 \begin_layout Plain Layout
8299 111
8300 \end_layout
8301
8302 \end_inset
8303 </cell>
8304 </row>
8305 <row>
8306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8307 \begin_inset Text
8308
8309 \begin_layout Plain Layout
8310
8311 \series bold
8312 Feliciello
8313 \end_layout
8314
8315 \end_inset
8316 </cell>
8317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8318 \begin_inset Text
8319
8320 \begin_layout Plain Layout
8321 Domenico
8322 \end_layout
8323
8324 \end_inset
8325 </cell>
8326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8327 \begin_inset Text
8328
8329 \begin_layout Plain Layout
8330 111
8331 \end_layout
8332
8333 \end_inset
8334 </cell>
8335 </row>
8336 <row>
8337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8338 \begin_inset Text
8339
8340 \begin_layout Plain Layout
8341
8342 \series bold
8343 Focarelli
8344 \end_layout
8345
8346 \end_inset
8347 </cell>
8348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8349 \begin_inset Text
8350
8351 \begin_layout Plain Layout
8352 Paola
8353 \end_layout
8354
8355 \end_inset
8356 </cell>
8357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8358 \begin_inset Text
8359
8360 \begin_layout Plain Layout
8361 111
8362 \end_layout
8363
8364 \end_inset
8365 </cell>
8366 </row>
8367 <row>
8368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8369 \begin_inset Text
8370
8371 \begin_layout Plain Layout
8372
8373 \series bold
8374 Galletti
8375 \end_layout
8376
8377 \end_inset
8378 </cell>
8379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8380 \begin_inset Text
8381
8382 \begin_layout Plain Layout
8383 Oreste
8384 \end_layout
8385
8386 \end_inset
8387 </cell>
8388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8389 \begin_inset Text
8390
8391 \begin_layout Plain Layout
8392 111
8393 \end_layout
8394
8395 \end_inset
8396 </cell>
8397 </row>
8398 <row>
8399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8400 \begin_inset Text
8401
8402 \begin_layout Plain Layout
8403
8404 \series bold
8405 Gasparini
8406 \end_layout
8407
8408 \end_inset
8409 </cell>
8410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8411 \begin_inset Text
8412
8413 \begin_layout Plain Layout
8414 Franca
8415 \end_layout
8416
8417 \end_inset
8418 </cell>
8419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8420 \begin_inset Text
8421
8422 \begin_layout Plain Layout
8423 111
8424 \end_layout
8425
8426 \end_inset
8427 </cell>
8428 </row>
8429 <row>
8430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8431 \begin_inset Text
8432
8433 \begin_layout Plain Layout
8434
8435 \series bold
8436 Rizzardi
8437 \series default
8438
8439 \begin_inset Foot
8440 status open
8441
8442 \begin_layout Plain Layout
8443 Example footnote
8444 \end_layout
8445
8446 \end_inset
8447
8448
8449 \end_layout
8450
8451 \end_inset
8452 </cell>
8453 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8454 \begin_inset Text
8455
8456 \begin_layout Plain Layout
8457 Paola
8458 \end_layout
8459
8460 \end_inset
8461 </cell>
8462 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8463 \begin_inset Text
8464
8465 \begin_layout Plain Layout
8466 111
8467 \end_layout
8468
8469 \end_inset
8470 </cell>
8471 </row>
8472 <row>
8473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8474 \begin_inset Text
8475
8476 \begin_layout Plain Layout
8477
8478 \series bold
8479 Lassini
8480 \end_layout
8481
8482 \end_inset
8483 </cell>
8484 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8485 \begin_inset Text
8486
8487 \begin_layout Plain Layout
8488 Giancarlo
8489 \end_layout
8490
8491 \end_inset
8492 </cell>
8493 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8494 \begin_inset Text
8495
8496 \begin_layout Plain Layout
8497 111
8498 \end_layout
8499
8500 \end_inset
8501 </cell>
8502 </row>
8503 <row>
8504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8505 \begin_inset Text
8506
8507 \begin_layout Plain Layout
8508
8509 \series bold
8510 Malfatti
8511 \end_layout
8512
8513 \end_inset
8514 </cell>
8515 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8516 \begin_inset Text
8517
8518 \begin_layout Plain Layout
8519 Luciano
8520 \end_layout
8521
8522 \end_inset
8523 </cell>
8524 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8525 \begin_inset Text
8526
8527 \begin_layout Plain Layout
8528 111
8529 \end_layout
8530
8531 \end_inset
8532 </cell>
8533 </row>
8534 <row>
8535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8536 \begin_inset Text
8537
8538 \begin_layout Plain Layout
8539
8540 \series bold
8541 Malfatti
8542 \end_layout
8543
8544 \end_inset
8545 </cell>
8546 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8547 \begin_inset Text
8548
8549 \begin_layout Plain Layout
8550 Valeriano
8551 \end_layout
8552
8553 \end_inset
8554 </cell>
8555 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8556 \begin_inset Text
8557
8558 \begin_layout Plain Layout
8559 111
8560 \end_layout
8561
8562 \end_inset
8563 </cell>
8564 </row>
8565 <row>
8566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8567 \begin_inset Text
8568
8569 \begin_layout Plain Layout
8570
8571 \series bold
8572 Meneguzzo
8573 \end_layout
8574
8575 \end_inset
8576 </cell>
8577 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8578 \begin_inset Text
8579
8580 \begin_layout Plain Layout
8581 Roberto
8582 \end_layout
8583
8584 \end_inset
8585 </cell>
8586 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8587 \begin_inset Text
8588
8589 \begin_layout Plain Layout
8590 111
8591 \end_layout
8592
8593 \end_inset
8594 </cell>
8595 </row>
8596 <row>
8597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8598 \begin_inset Text
8599
8600 \begin_layout Plain Layout
8601
8602 \series bold
8603 Mezzadra
8604 \end_layout
8605
8606 \end_inset
8607 </cell>
8608 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8609 \begin_inset Text
8610
8611 \begin_layout Plain Layout
8612 Roberto
8613 \end_layout
8614
8615 \end_inset
8616 </cell>
8617 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Plain Layout
8621 111
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 </row>
8627 <row>
8628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Plain Layout
8632
8633 \series bold
8634 Pirpamer
8635 \end_layout
8636
8637 \end_inset
8638 </cell>
8639 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Plain Layout
8643 Erich
8644 \end_layout
8645
8646 \end_inset
8647 </cell>
8648 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8649 \begin_inset Text
8650
8651 \begin_layout Plain Layout
8652 111
8653 \end_layout
8654
8655 \end_inset
8656 </cell>
8657 </row>
8658 <row>
8659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Plain Layout
8663
8664 \series bold
8665 Pochiesa
8666 \end_layout
8667
8668 \end_inset
8669 </cell>
8670 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8671 \begin_inset Text
8672
8673 \begin_layout Plain Layout
8674 Paolo
8675 \end_layout
8676
8677 \end_inset
8678 </cell>
8679 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8680 \begin_inset Text
8681
8682 \begin_layout Plain Layout
8683 111, 222
8684 \end_layout
8685
8686 \end_inset
8687 </cell>
8688 </row>
8689 <row>
8690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Plain Layout
8694
8695 \series bold
8696 Radina
8697 \end_layout
8698
8699 \end_inset
8700 </cell>
8701 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8702 \begin_inset Text
8703
8704 \begin_layout Plain Layout
8705 Claudio
8706 \end_layout
8707
8708 \end_inset
8709 </cell>
8710 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8711 \begin_inset Text
8712
8713 \begin_layout Plain Layout
8714 111
8715 \end_layout
8716
8717 \end_inset
8718 </cell>
8719 </row>
8720 <row>
8721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8722 \begin_inset Text
8723
8724 \begin_layout Plain Layout
8725
8726 \series bold
8727 Stuffer
8728 \end_layout
8729
8730 \end_inset
8731 </cell>
8732 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8733 \begin_inset Text
8734
8735 \begin_layout Plain Layout
8736 Oskar
8737 \end_layout
8738
8739 \end_inset
8740 </cell>
8741 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8742 \begin_inset Text
8743
8744 \begin_layout Plain Layout
8745 111
8746 \end_layout
8747
8748 \end_inset
8749 </cell>
8750 </row>
8751 <row>
8752 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8753 \begin_inset Text
8754
8755 \begin_layout Plain Layout
8756
8757 \series bold
8758 Tacchelli
8759 \end_layout
8760
8761 \end_inset
8762 </cell>
8763 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8764 \begin_inset Text
8765
8766 \begin_layout Plain Layout
8767 Ugo
8768 \end_layout
8769
8770 \end_inset
8771 </cell>
8772 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8773 \begin_inset Text
8774
8775 \begin_layout Plain Layout
8776 111
8777 \end_layout
8778
8779 \end_inset
8780 </cell>
8781 </row>
8782 <row>
8783 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8784 \begin_inset Text
8785
8786 \begin_layout Plain Layout
8787
8788 \series bold
8789 Tezzele
8790 \end_layout
8791
8792 \end_inset
8793 </cell>
8794 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8795 \begin_inset Text
8796
8797 \begin_layout Plain Layout
8798 Margit
8799 \end_layout
8800
8801 \end_inset
8802 </cell>
8803 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8804 \begin_inset Text
8805
8806 \begin_layout Plain Layout
8807 111
8808 \end_layout
8809
8810 \end_inset
8811 </cell>
8812 </row>
8813 <row>
8814 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8815 \begin_inset Text
8816
8817 \begin_layout Plain Layout
8818
8819 \series bold
8820 Unterkalmsteiner
8821 \end_layout
8822
8823 \end_inset
8824 </cell>
8825 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8826 \begin_inset Text
8827
8828 \begin_layout Plain Layout
8829 Frieda
8830 \end_layout
8831
8832 \end_inset
8833 </cell>
8834 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8835 \begin_inset Text
8836
8837 \begin_layout Plain Layout
8838 111
8839 \end_layout
8840
8841 \end_inset
8842 </cell>
8843 </row>
8844 <row>
8845 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8846 \begin_inset Text
8847
8848 \begin_layout Plain Layout
8849
8850 \series bold
8851 Vieider
8852 \end_layout
8853
8854 \end_inset
8855 </cell>
8856 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8857 \begin_inset Text
8858
8859 \begin_layout Plain Layout
8860 Hilde
8861 \end_layout
8862
8863 \end_inset
8864 </cell>
8865 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8866 \begin_inset Text
8867
8868 \begin_layout Plain Layout
8869 111
8870 \end_layout
8871
8872 \end_inset
8873 </cell>
8874 </row>
8875 <row>
8876 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8877 \begin_inset Text
8878
8879 \begin_layout Plain Layout
8880
8881 \series bold
8882 Vigna
8883 \end_layout
8884
8885 \end_inset
8886 </cell>
8887 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8888 \begin_inset Text
8889
8890 \begin_layout Plain Layout
8891 Jürgen
8892 \end_layout
8893
8894 \end_inset
8895 </cell>
8896 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8897 \begin_inset Text
8898
8899 \begin_layout Plain Layout
8900 111
8901 \end_layout
8902
8903 \end_inset
8904 </cell>
8905 </row>
8906 <row>
8907 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8908 \begin_inset Text
8909
8910 \begin_layout Plain Layout
8911
8912 \series bold
8913 Weber
8914 \end_layout
8915
8916 \end_inset
8917 </cell>
8918 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8919 \begin_inset Text
8920
8921 \begin_layout Plain Layout
8922 Maurizio
8923 \end_layout
8924
8925 \end_inset
8926 </cell>
8927 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8928 \begin_inset Text
8929
8930 \begin_layout Plain Layout
8931 111
8932 \end_layout
8933
8934 \end_inset
8935 </cell>
8936 </row>
8937 <row>
8938 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8939 \begin_inset Text
8940
8941 \begin_layout Plain Layout
8942
8943 \series bold
8944 Winkler
8945 \end_layout
8946
8947 \end_inset
8948 </cell>
8949 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8950 \begin_inset Text
8951
8952 \begin_layout Plain Layout
8953 Franz
8954 \end_layout
8955
8956 \end_inset
8957 </cell>
8958 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8959 \begin_inset Text
8960
8961 \begin_layout Plain Layout
8962 111
8963 \end_layout
8964
8965 \end_inset
8966 </cell>
8967 </row>
8968 <row>
8969 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8970 \begin_inset Text
8971
8972 \begin_layout Plain Layout
8973  
8974 \end_layout
8975
8976 \end_inset
8977 </cell>
8978 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8979 \begin_inset Text
8980
8981 \begin_layout Plain Layout
8982
8983 \end_layout
8984
8985 \end_inset
8986 </cell>
8987 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8988 \begin_inset Text
8989
8990 \begin_layout Plain Layout
8991
8992 \end_layout
8993
8994 \end_inset
8995 </cell>
8996 </row>
8997 <row>
8998 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8999 \begin_inset Text
9000
9001 \begin_layout Plain Layout
9002
9003 \series bold
9004 Annovi
9005 \end_layout
9006
9007 \end_inset
9008 </cell>
9009 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9010 \begin_inset Text
9011
9012 \begin_layout Plain Layout
9013 Silvia
9014 \end_layout
9015
9016 \end_inset
9017 </cell>
9018 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9019 \begin_inset Text
9020
9021 \begin_layout Plain Layout
9022 555
9023 \end_layout
9024
9025 \end_inset
9026 </cell>
9027 </row>
9028 <row>
9029 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9030 \begin_inset Text
9031
9032 \begin_layout Plain Layout
9033
9034 \series bold
9035 Bertoli
9036 \end_layout
9037
9038 \end_inset
9039 </cell>
9040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9041 \begin_inset Text
9042
9043 \begin_layout Plain Layout
9044 Stefano
9045 \end_layout
9046
9047 \end_inset
9048 </cell>
9049 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9050 \begin_inset Text
9051
9052 \begin_layout Plain Layout
9053 555
9054 \end_layout
9055
9056 \end_inset
9057 </cell>
9058 </row>
9059 <row>
9060 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9061 \begin_inset Text
9062
9063 \begin_layout Plain Layout
9064
9065 \series bold
9066 Bozzi
9067 \end_layout
9068
9069 \end_inset
9070 </cell>
9071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9072 \begin_inset Text
9073
9074 \begin_layout Plain Layout
9075 Walter
9076 \end_layout
9077
9078 \end_inset
9079 </cell>
9080 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9081 \begin_inset Text
9082
9083 \begin_layout Plain Layout
9084 555
9085 \end_layout
9086
9087 \end_inset
9088 </cell>
9089 </row>
9090 <row>
9091 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9092 \begin_inset Text
9093
9094 \begin_layout Plain Layout
9095
9096 \series bold
9097 Cachia
9098 \end_layout
9099
9100 \end_inset
9101 </cell>
9102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9103 \begin_inset Text
9104
9105 \begin_layout Plain Layout
9106 Maria
9107 \end_layout
9108
9109 \end_inset
9110 </cell>
9111 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9112 \begin_inset Text
9113
9114 \begin_layout Plain Layout
9115 555
9116 \end_layout
9117
9118 \end_inset
9119 </cell>
9120 </row>
9121 <row>
9122 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9123 \begin_inset Text
9124
9125 \begin_layout Plain Layout
9126
9127 \series bold
9128 Cachia
9129 \end_layout
9130
9131 \end_inset
9132 </cell>
9133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9134 \begin_inset Text
9135
9136 \begin_layout Plain Layout
9137 Maurizio
9138 \end_layout
9139
9140 \end_inset
9141 </cell>
9142 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9143 \begin_inset Text
9144
9145 \begin_layout Plain Layout
9146 555
9147 \end_layout
9148
9149 \end_inset
9150 </cell>
9151 </row>
9152 <row>
9153 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9154 \begin_inset Text
9155
9156 \begin_layout Plain Layout
9157
9158 \series bold
9159 Cinquemani
9160 \end_layout
9161
9162 \end_inset
9163 </cell>
9164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9165 \begin_inset Text
9166
9167 \begin_layout Plain Layout
9168 Giusi
9169 \end_layout
9170
9171 \end_inset
9172 </cell>
9173 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9174 \begin_inset Text
9175
9176 \begin_layout Plain Layout
9177 555
9178 \end_layout
9179
9180 \end_inset
9181 </cell>
9182 </row>
9183 <row>
9184 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9185 \begin_inset Text
9186
9187 \begin_layout Plain Layout
9188
9189 \series bold
9190 Colin
9191 \end_layout
9192
9193 \end_inset
9194 </cell>
9195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9196 \begin_inset Text
9197
9198 \begin_layout Plain Layout
9199 Bernard
9200 \end_layout
9201
9202 \end_inset
9203 </cell>
9204 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9205 \begin_inset Text
9206
9207 \begin_layout Plain Layout
9208 555
9209 \end_layout
9210
9211 \end_inset
9212 </cell>
9213 </row>
9214 <row>
9215 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9216 \begin_inset Text
9217
9218 \begin_layout Plain Layout
9219
9220 \series bold
9221 Concli
9222 \end_layout
9223
9224 \end_inset
9225 </cell>
9226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9227 \begin_inset Text
9228
9229 \begin_layout Plain Layout
9230 Gianfranco
9231 \end_layout
9232
9233 \end_inset
9234 </cell>
9235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9236 \begin_inset Text
9237
9238 \begin_layout Plain Layout
9239 555
9240 \end_layout
9241
9242 \end_inset
9243 </cell>
9244 </row>
9245 <row>
9246 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9247 \begin_inset Text
9248
9249 \begin_layout Plain Layout
9250
9251 \series bold
9252 Dal Bosco
9253 \end_layout
9254
9255 \end_inset
9256 </cell>
9257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9258 \begin_inset Text
9259
9260 \begin_layout Plain Layout
9261 Carolina
9262 \end_layout
9263
9264 \end_inset
9265 </cell>
9266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9267 \begin_inset Text
9268
9269 \begin_layout Plain Layout
9270 555
9271 \end_layout
9272
9273 \end_inset
9274 </cell>
9275 </row>
9276 <row>
9277 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9278 \begin_inset Text
9279
9280 \begin_layout Plain Layout
9281
9282 \series bold
9283 Dalpiaz
9284 \end_layout
9285
9286 \end_inset
9287 </cell>
9288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9289 \begin_inset Text
9290
9291 \begin_layout Plain Layout
9292 Annamaria
9293 \end_layout
9294
9295 \end_inset
9296 </cell>
9297 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9298 \begin_inset Text
9299
9300 \begin_layout Plain Layout
9301 555
9302 \end_layout
9303
9304 \end_inset
9305 </cell>
9306 </row>
9307 <row>
9308 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9309 \begin_inset Text
9310
9311 \begin_layout Plain Layout
9312
9313 \series bold
9314 Feliciello
9315 \end_layout
9316
9317 \end_inset
9318 </cell>
9319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9320 \begin_inset Text
9321
9322 \begin_layout Plain Layout
9323 Domenico
9324 \end_layout
9325
9326 \end_inset
9327 </cell>
9328 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9329 \begin_inset Text
9330
9331 \begin_layout Plain Layout
9332 555
9333 \end_layout
9334
9335 \end_inset
9336 </cell>
9337 </row>
9338 <row>
9339 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9340 \begin_inset Text
9341
9342 \begin_layout Plain Layout
9343
9344 \series bold
9345 Focarelli
9346 \end_layout
9347
9348 \end_inset
9349 </cell>
9350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9351 \begin_inset Text
9352
9353 \begin_layout Plain Layout
9354 Paola
9355 \end_layout
9356
9357 \end_inset
9358 </cell>
9359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9360 \begin_inset Text
9361
9362 \begin_layout Plain Layout
9363 555
9364 \end_layout
9365
9366 \end_inset
9367 </cell>
9368 </row>
9369 <row>
9370 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9371 \begin_inset Text
9372
9373 \begin_layout Plain Layout
9374
9375 \series bold
9376 Galletti
9377 \end_layout
9378
9379 \end_inset
9380 </cell>
9381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9382 \begin_inset Text
9383
9384 \begin_layout Plain Layout
9385 Oreste
9386 \end_layout
9387
9388 \end_inset
9389 </cell>
9390 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9391 \begin_inset Text
9392
9393 \begin_layout Plain Layout
9394 555
9395 \end_layout
9396
9397 \end_inset
9398 </cell>
9399 </row>
9400 <row>
9401 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9402 \begin_inset Text
9403
9404 \begin_layout Plain Layout
9405
9406 \series bold
9407 Gasparini
9408 \end_layout
9409
9410 \end_inset
9411 </cell>
9412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9413 \begin_inset Text
9414
9415 \begin_layout Plain Layout
9416 Franca
9417 \end_layout
9418
9419 \end_inset
9420 </cell>
9421 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9422 \begin_inset Text
9423
9424 \begin_layout Plain Layout
9425 555
9426 \end_layout
9427
9428 \end_inset
9429 </cell>
9430 </row>
9431 <row>
9432 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9433 \begin_inset Text
9434
9435 \begin_layout Plain Layout
9436
9437 \series bold
9438 Rizzardi
9439 \end_layout
9440
9441 \end_inset
9442 </cell>
9443 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9444 \begin_inset Text
9445
9446 \begin_layout Plain Layout
9447 Paola
9448 \end_layout
9449
9450 \end_inset
9451 </cell>
9452 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9453 \begin_inset Text
9454
9455 \begin_layout Plain Layout
9456 555
9457 \end_layout
9458
9459 \end_inset
9460 </cell>
9461 </row>
9462 <row>
9463 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9464 \begin_inset Text
9465
9466 \begin_layout Plain Layout
9467
9468 \series bold
9469 Lassini
9470 \end_layout
9471
9472 \end_inset
9473 </cell>
9474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9475 \begin_inset Text
9476
9477 \begin_layout Plain Layout
9478 Giancarlo
9479 \end_layout
9480
9481 \end_inset
9482 </cell>
9483 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9484 \begin_inset Text
9485
9486 \begin_layout Plain Layout
9487 555
9488 \end_layout
9489
9490 \end_inset
9491 </cell>
9492 </row>
9493 <row>
9494 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9495 \begin_inset Text
9496
9497 \begin_layout Plain Layout
9498
9499 \series bold
9500 Malfatti
9501 \end_layout
9502
9503 \end_inset
9504 </cell>
9505 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9506 \begin_inset Text
9507
9508 \begin_layout Plain Layout
9509 Luciano
9510 \end_layout
9511
9512 \end_inset
9513 </cell>
9514 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9515 \begin_inset Text
9516
9517 \begin_layout Plain Layout
9518 555
9519 \end_layout
9520
9521 \end_inset
9522 </cell>
9523 </row>
9524 <row>
9525 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9526 \begin_inset Text
9527
9528 \begin_layout Plain Layout
9529
9530 \series bold
9531 Malfatti
9532 \end_layout
9533
9534 \end_inset
9535 </cell>
9536 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9537 \begin_inset Text
9538
9539 \begin_layout Plain Layout
9540 Valeriano
9541 \end_layout
9542
9543 \end_inset
9544 </cell>
9545 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9546 \begin_inset Text
9547
9548 \begin_layout Plain Layout
9549 555
9550 \end_layout
9551
9552 \end_inset
9553 </cell>
9554 </row>
9555 <row>
9556 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9557 \begin_inset Text
9558
9559 \begin_layout Plain Layout
9560
9561 \series bold
9562 Meneguzzo
9563 \end_layout
9564
9565 \end_inset
9566 </cell>
9567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9568 \begin_inset Text
9569
9570 \begin_layout Plain Layout
9571 Roberto
9572 \end_layout
9573
9574 \end_inset
9575 </cell>
9576 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9577 \begin_inset Text
9578
9579 \begin_layout Plain Layout
9580 555
9581 \end_layout
9582
9583 \end_inset
9584 </cell>
9585 </row>
9586 <row>
9587 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9588 \begin_inset Text
9589
9590 \begin_layout Plain Layout
9591
9592 \series bold
9593 Mezzadra
9594 \end_layout
9595
9596 \end_inset
9597 </cell>
9598 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9599 \begin_inset Text
9600
9601 \begin_layout Plain Layout
9602 Roberto
9603 \end_layout
9604
9605 \end_inset
9606 </cell>
9607 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9608 \begin_inset Text
9609
9610 \begin_layout Plain Layout
9611 555
9612 \end_layout
9613
9614 \end_inset
9615 </cell>
9616 </row>
9617 </lyxtabular>
9618
9619 \end_inset
9620
9621
9622 \end_layout
9623
9624 \begin_layout Section
9625 Special Longtable Issues
9626 \begin_inset CommandInset label
9627 LatexCommand label
9628 name "sec:Special-Longtable-Issues"
9629
9630 \end_inset
9631
9632
9633 \end_layout
9634
9635 \begin_layout Subsection
9636 Longtable Calculation
9637 \begin_inset Index idx
9638 status collapsed
9639
9640 \begin_layout Plain Layout
9641 Longtables ! Calculation
9642 \end_layout
9643
9644 \end_inset
9645
9646
9647 \end_layout
9648
9649 \begin_layout Standard
9650 LaTeX calculates the height of table pages and their page breaks using so
9651  called chunks.
9652  Chunks are parts of tables that held at the same time in LaTeX's memory.
9653  The default value was historically set to only 20 table rows.
9654  If you are using longtables with many pages this may slow down the creation
9655  of your document.
9656  You can safely increase the chunk size to values of 100-1000 by adding
9657  this command line to your document preamble:
9658 \end_layout
9659
9660 \begin_layout Standard
9661
9662 \series bold
9663
9664 \backslash
9665 setcounter{LTchunksize}{100}
9666 \end_layout
9667
9668 \begin_layout Subsection
9669 Floats and Longtables
9670 \begin_inset Index idx
9671 status collapsed
9672
9673 \begin_layout Plain Layout
9674 Longtables ! Floats
9675 \end_layout
9676
9677 \end_inset
9678
9679
9680 \end_layout
9681
9682 \begin_layout Standard
9683 There might be problems when a float appears on the same page where a longtable
9684  starts.
9685  To avoid such a situation, insert a 
9686 \begin_inset Quotes eld
9687 \end_inset
9688
9689 clear page
9690 \begin_inset Quotes erd
9691 \end_inset
9692
9693  (menu 
9694 \family sans
9695 Insert\SpecialChar \menuseparator
9696 Formatting\SpecialChar \menuseparator
9697 Clear
9698 \begin_inset space ~
9699 \end_inset
9700
9701 Page
9702 \family default
9703 ) before your longtable.
9704 \end_layout
9705
9706 \begin_layout Subsection
9707 Forced Page Breaks
9708 \begin_inset Index idx
9709 status collapsed
9710
9711 \begin_layout Plain Layout
9712 Longtables ! Forced Page Breaks
9713 \end_layout
9714
9715 \end_inset
9716
9717
9718 \end_layout
9719
9720 \begin_layout Standard
9721 By default tables are only broken between rows.
9722  If you have a cell with multiples lines and want to have a page break within
9723  the cell, insert the new line command 
9724 \begin_inset Quotes eld
9725 \end_inset
9726
9727
9728 \series bold
9729
9730 \backslash
9731
9732 \backslash
9733
9734 \series default
9735
9736 \begin_inset Quotes erd
9737 \end_inset
9738
9739  as TeX-Code at the point of the cell where it can be broken.
9740  Before the 
9741 \series bold
9742
9743 \backslash
9744
9745 \backslash
9746
9747 \series default
9748  command you have to insert in TeX-Code as many 
9749 \begin_inset Quotes eld
9750 \end_inset
9751
9752
9753 \series bold
9754 &
9755 \series default
9756
9757 \begin_inset Quotes erd
9758 \end_inset
9759
9760  characters as the number of the following table columns.
9761  The 
9762 \series bold
9763 &
9764 \series default
9765  is the character to separate table cells.
9766  Write in TeX-Code after each 
9767 \series bold
9768 &
9769 \series default
9770  the content of the corresponding following cell and delete the content
9771  of these cells.
9772 \begin_inset Newline newline
9773 \end_inset
9774
9775 After the 
9776 \series bold
9777
9778 \backslash
9779
9780 \backslash
9781
9782 \series default
9783  command, insert as many 
9784 \series bold
9785 &
9786 \series default
9787  characters as the number of table columns before the current column.
9788  In Table
9789 \begin_inset space ~
9790 \end_inset
9791
9792
9793 \begin_inset CommandInset ref
9794 LatexCommand ref
9795 reference "tab:ForcedPagebreak"
9796
9797 \end_inset
9798
9799  the cell that should be broken is in the second column followed by another
9800  column.
9801  Therefore the following command was inserted in the cell as TeX-Code after
9802  
9803 \begin_inset Quotes eld
9804 \end_inset
9805
9806
9807 \emph on
9808 Castelchiodato,
9809 \emph default
9810
9811 \begin_inset Quotes erd
9812 \end_inset
9813
9814 :
9815 \end_layout
9816
9817 \begin_layout Standard
9818
9819 \series bold
9820 & 111
9821 \backslash
9822
9823 \backslash
9824  
9825 \backslash
9826 newpage
9827 \begin_inset Newline newline
9828 \end_inset
9829
9830 &
9831 \end_layout
9832
9833 \begin_layout Standard
9834 The 
9835 \begin_inset Quotes eld
9836 \end_inset
9837
9838 111
9839 \begin_inset Quotes erd
9840 \end_inset
9841
9842  in the third column of the row was deleted.
9843  
9844 \series bold
9845
9846 \backslash
9847 newpage
9848 \series default
9849  is only needed when a page break should definitely occur at this position,
9850  otherwise it would be a conditional break.
9851  If your footer row of the longtable has for a certain reason no upper line
9852  but you would have a horizontal line where the cell is broken, use this
9853  command instead:
9854 \end_layout
9855
9856 \begin_layout Standard
9857
9858 \series bold
9859 & 111
9860 \backslash
9861
9862 \backslash
9863
9864 \begin_inset Newline newline
9865 \end_inset
9866
9867
9868 \backslash
9869 hline &
9870 \end_layout
9871
9872 \begin_layout Standard
9873 When the cell to be broken is in the last column, the command
9874 \end_layout
9875
9876 \begin_layout Standard
9877
9878 \series bold
9879
9880 \backslash
9881 setlength{
9882 \backslash
9883 parfillskip}{0pt}
9884 \end_layout
9885
9886 \begin_layout Standard
9887 must be inserted as TeX-Code at the beginning of the cell.
9888  This ensures that the part of the cell that will be displayed on the new
9889  page appears with the full width.
9890 \end_layout
9891
9892 \begin_layout Standard
9893 \align center
9894 \begin_inset Tabular
9895 <lyxtabular version="3" rows="38" columns="3">
9896 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9897 <column alignment="left" valignment="top" width="0cm">
9898 <column alignment="left" valignment="top" width="3cm">
9899 <column alignment="center" valignment="top" width="0pt">
9900 <row caption="true">
9901 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9902 \begin_inset Text
9903
9904 \begin_layout Plain Layout
9905 \begin_inset Caption
9906
9907 \begin_layout Plain Layout
9908 Table with forced page break in table cell
9909 \begin_inset CommandInset label
9910 LatexCommand label
9911 name "tab:ForcedPagebreak"
9912
9913 \end_inset
9914
9915
9916 \begin_inset Argument
9917 status collapsed
9918
9919 \begin_layout Plain Layout
9920 Table with forced page break in table cell
9921 \end_layout
9922
9923 \end_inset
9924
9925
9926 \end_layout
9927
9928 \end_inset
9929
9930
9931 \end_layout
9932
9933 \end_inset
9934 </cell>
9935 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9936 \begin_inset Text
9937
9938 \begin_layout Plain Layout
9939
9940 \end_layout
9941
9942 \end_inset
9943 </cell>
9944 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9945 \begin_inset Text
9946
9947 \begin_layout Plain Layout
9948
9949 \end_layout
9950
9951 \end_inset
9952 </cell>
9953 </row>
9954 <row endfirsthead="true">
9955 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9956 \begin_inset Text
9957
9958 \begin_layout Plain Layout
9959
9960 \series bold
9961 Example Phone List (ignore the names)
9962 \end_layout
9963
9964 \end_inset
9965 </cell>
9966 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9967 \begin_inset Text
9968
9969 \begin_layout Plain Layout
9970
9971 \end_layout
9972
9973 \end_inset
9974 </cell>
9975 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9976 \begin_inset Text
9977
9978 \begin_layout Plain Layout
9979
9980 \end_layout
9981
9982 \end_inset
9983 </cell>
9984 </row>
9985 <row endfirsthead="true">
9986 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9987 \begin_inset Text
9988
9989 \begin_layout Plain Layout
9990
9991 \series bold
9992 NAME
9993 \end_layout
9994
9995 \end_inset
9996 </cell>
9997 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9998 \begin_inset Text
9999
10000 \begin_layout Plain Layout
10001
10002 \end_layout
10003
10004 \end_inset
10005 </cell>
10006 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10007 \begin_inset Text
10008
10009 \begin_layout Plain Layout
10010
10011 \series bold
10012 TEL.
10013 \end_layout
10014
10015 \end_inset
10016 </cell>
10017 </row>
10018 <row endhead="true">
10019 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10020 \begin_inset Text
10021
10022 \begin_layout Plain Layout
10023 \begin_inset ERT
10024 status collapsed
10025
10026 \begin_layout Plain Layout
10027
10028
10029 \backslash
10030 caption*{Continued Example Phone List}
10031 \backslash
10032
10033 \backslash
10034 %
10035 \end_layout
10036
10037 \end_inset
10038
10039
10040 \end_layout
10041
10042 \end_inset
10043 </cell>
10044 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10045 \begin_inset Text
10046
10047 \begin_layout Plain Layout
10048
10049 \end_layout
10050
10051 \end_inset
10052 </cell>
10053 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10054 \begin_inset Text
10055
10056 \begin_layout Plain Layout
10057
10058 \end_layout
10059
10060 \end_inset
10061 </cell>
10062 </row>
10063 <row endhead="true">
10064 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10065 \begin_inset Text
10066
10067 \begin_layout Plain Layout
10068
10069 \series bold
10070 Example Phone List
10071 \end_layout
10072
10073 \end_inset
10074 </cell>
10075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10076 \begin_inset Text
10077
10078 \begin_layout Plain Layout
10079
10080 \end_layout
10081
10082 \end_inset
10083 </cell>
10084 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10085 \begin_inset Text
10086
10087 \begin_layout Plain Layout
10088
10089 \end_layout
10090
10091 \end_inset
10092 </cell>
10093 </row>
10094 <row endhead="true">
10095 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10096 \begin_inset Text
10097
10098 \begin_layout Plain Layout
10099
10100 \series bold
10101 NAME
10102 \end_layout
10103
10104 \end_inset
10105 </cell>
10106 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10107 \begin_inset Text
10108
10109 \begin_layout Plain Layout
10110
10111 \end_layout
10112
10113 \end_inset
10114 </cell>
10115 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10116 \begin_inset Text
10117
10118 \begin_layout Plain Layout
10119
10120 \series bold
10121 TEL.
10122 \end_layout
10123
10124 \end_inset
10125 </cell>
10126 </row>
10127 <row endfoot="true">
10128 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10129 \begin_inset Text
10130
10131 \begin_layout Plain Layout
10132 continued on next page
10133 \end_layout
10134
10135 \end_inset
10136 </cell>
10137 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10138 \begin_inset Text
10139
10140 \begin_layout Plain Layout
10141
10142 \end_layout
10143
10144 \end_inset
10145 </cell>
10146 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10147 \begin_inset Text
10148
10149 \begin_layout Plain Layout
10150
10151 \end_layout
10152
10153 \end_inset
10154 </cell>
10155 </row>
10156 <row>
10157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10158 \begin_inset Text
10159
10160 \begin_layout Plain Layout
10161
10162 \series bold
10163 Annovi
10164 \end_layout
10165
10166 \end_inset
10167 </cell>
10168 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10169 \begin_inset Text
10170
10171 \begin_layout Plain Layout
10172 Silvia
10173 \end_layout
10174
10175 \end_inset
10176 </cell>
10177 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10178 \begin_inset Text
10179
10180 \begin_layout Plain Layout
10181 111
10182 \end_layout
10183
10184 \end_inset
10185 </cell>
10186 </row>
10187 <row>
10188 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10189 \begin_inset Text
10190
10191 \begin_layout Plain Layout
10192
10193 \series bold
10194 Bertoli
10195 \end_layout
10196
10197 \end_inset
10198 </cell>
10199 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10200 \begin_inset Text
10201
10202 \begin_layout Plain Layout
10203 Stefano
10204 \end_layout
10205
10206 \end_inset
10207 </cell>
10208 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10209 \begin_inset Text
10210
10211 \begin_layout Plain Layout
10212 111
10213 \end_layout
10214
10215 \end_inset
10216 </cell>
10217 </row>
10218 <row>
10219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10220 \begin_inset Text
10221
10222 \begin_layout Plain Layout
10223
10224 \series bold
10225 Bozzi
10226 \end_layout
10227
10228 \end_inset
10229 </cell>
10230 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10231 \begin_inset Text
10232
10233 \begin_layout Plain Layout
10234 Walter
10235 \end_layout
10236
10237 \end_inset
10238 </cell>
10239 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10240 \begin_inset Text
10241
10242 \begin_layout Plain Layout
10243 111
10244 \end_layout
10245
10246 \end_inset
10247 </cell>
10248 </row>
10249 <row>
10250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10251 \begin_inset Text
10252
10253 \begin_layout Plain Layout
10254
10255 \series bold
10256 Cachia
10257 \end_layout
10258
10259 \end_inset
10260 </cell>
10261 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10262 \begin_inset Text
10263
10264 \begin_layout Plain Layout
10265 Maria
10266 \end_layout
10267
10268 \end_inset
10269 </cell>
10270 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10271 \begin_inset Text
10272
10273 \begin_layout Plain Layout
10274 111
10275 \end_layout
10276
10277 \end_inset
10278 </cell>
10279 </row>
10280 <row>
10281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10282 \begin_inset Text
10283
10284 \begin_layout Plain Layout
10285
10286 \series bold
10287 Cachia
10288 \end_layout
10289
10290 \end_inset
10291 </cell>
10292 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10293 \begin_inset Text
10294
10295 \begin_layout Plain Layout
10296 Maurizio
10297 \end_layout
10298
10299 \end_inset
10300 </cell>
10301 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10302 \begin_inset Text
10303
10304 \begin_layout Plain Layout
10305 111
10306 \end_layout
10307
10308 \end_inset
10309 </cell>
10310 </row>
10311 <row>
10312 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10313 \begin_inset Text
10314
10315 \begin_layout Plain Layout
10316
10317 \series bold
10318 Cinquemani
10319 \end_layout
10320
10321 \end_inset
10322 </cell>
10323 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10324 \begin_inset Text
10325
10326 \begin_layout Plain Layout
10327 Giusi
10328 \end_layout
10329
10330 \end_inset
10331 </cell>
10332 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10333 \begin_inset Text
10334
10335 \begin_layout Plain Layout
10336 111
10337 \end_layout
10338
10339 \end_inset
10340 </cell>
10341 </row>
10342 <row>
10343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10344 \begin_inset Text
10345
10346 \begin_layout Plain Layout
10347
10348 \series bold
10349 Colin
10350 \end_layout
10351
10352 \end_inset
10353 </cell>
10354 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10355 \begin_inset Text
10356
10357 \begin_layout Plain Layout
10358 Bernard
10359 \end_layout
10360
10361 \end_inset
10362 </cell>
10363 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10364 \begin_inset Text
10365
10366 \begin_layout Plain Layout
10367 111
10368 \end_layout
10369
10370 \end_inset
10371 </cell>
10372 </row>
10373 <row>
10374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10375 \begin_inset Text
10376
10377 \begin_layout Plain Layout
10378
10379 \series bold
10380 Concli
10381 \end_layout
10382
10383 \end_inset
10384 </cell>
10385 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10386 \begin_inset Text
10387
10388 \begin_layout Plain Layout
10389 Gianfranco
10390 \end_layout
10391
10392 \end_inset
10393 </cell>
10394 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10395 \begin_inset Text
10396
10397 \begin_layout Plain Layout
10398 111
10399 \end_layout
10400
10401 \end_inset
10402 </cell>
10403 </row>
10404 <row>
10405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10406 \begin_inset Text
10407
10408 \begin_layout Plain Layout
10409
10410 \series bold
10411 Dal Bosco
10412 \end_layout
10413
10414 \end_inset
10415 </cell>
10416 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10417 \begin_inset Text
10418
10419 \begin_layout Plain Layout
10420 Carolina
10421 \end_layout
10422
10423 \end_inset
10424 </cell>
10425 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10426 \begin_inset Text
10427
10428 \begin_layout Plain Layout
10429 111
10430 \end_layout
10431
10432 \end_inset
10433 </cell>
10434 </row>
10435 <row>
10436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10437 \begin_inset Text
10438
10439 \begin_layout Plain Layout
10440
10441 \series bold
10442 Dalpiaz
10443 \end_layout
10444
10445 \end_inset
10446 </cell>
10447 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10448 \begin_inset Text
10449
10450 \begin_layout Plain Layout
10451 Annamaria
10452 \end_layout
10453
10454 \end_inset
10455 </cell>
10456 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10457 \begin_inset Text
10458
10459 \begin_layout Plain Layout
10460 111
10461 \end_layout
10462
10463 \end_inset
10464 </cell>
10465 </row>
10466 <row>
10467 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10468 \begin_inset Text
10469
10470 \begin_layout Plain Layout
10471
10472 \series bold
10473 Feliciello
10474 \end_layout
10475
10476 \end_inset
10477 </cell>
10478 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10479 \begin_inset Text
10480
10481 \begin_layout Plain Layout
10482 Domenico
10483 \end_layout
10484
10485 \end_inset
10486 </cell>
10487 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10488 \begin_inset Text
10489
10490 \begin_layout Plain Layout
10491 111
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 </row>
10497 <row>
10498 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10499 \begin_inset Text
10500
10501 \begin_layout Plain Layout
10502
10503 \series bold
10504 Focarelli
10505 \end_layout
10506
10507 \end_inset
10508 </cell>
10509 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10510 \begin_inset Text
10511
10512 \begin_layout Plain Layout
10513 Paola
10514 \end_layout
10515
10516 \end_inset
10517 </cell>
10518 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10519 \begin_inset Text
10520
10521 \begin_layout Plain Layout
10522 111
10523 \end_layout
10524
10525 \end_inset
10526 </cell>
10527 </row>
10528 <row>
10529 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10530 \begin_inset Text
10531
10532 \begin_layout Plain Layout
10533
10534 \series bold
10535 Galletti
10536 \end_layout
10537
10538 \end_inset
10539 </cell>
10540 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10541 \begin_inset Text
10542
10543 \begin_layout Plain Layout
10544 Oreste
10545 \end_layout
10546
10547 \end_inset
10548 </cell>
10549 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10550 \begin_inset Text
10551
10552 \begin_layout Plain Layout
10553 111
10554 \end_layout
10555
10556 \end_inset
10557 </cell>
10558 </row>
10559 <row>
10560 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10561 \begin_inset Text
10562
10563 \begin_layout Plain Layout
10564
10565 \series bold
10566 Gasparini
10567 \end_layout
10568
10569 \end_inset
10570 </cell>
10571 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10572 \begin_inset Text
10573
10574 \begin_layout Plain Layout
10575 Franca
10576 \end_layout
10577
10578 \end_inset
10579 </cell>
10580 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Plain Layout
10584 111
10585 \end_layout
10586
10587 \end_inset
10588 </cell>
10589 </row>
10590 <row>
10591 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10592 \begin_inset Text
10593
10594 \begin_layout Plain Layout
10595
10596 \series bold
10597 Lassini
10598 \end_layout
10599
10600 \end_inset
10601 </cell>
10602 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10603 \begin_inset Text
10604
10605 \begin_layout Plain Layout
10606 Giancarlo
10607 \end_layout
10608
10609 \end_inset
10610 </cell>
10611 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10612 \begin_inset Text
10613
10614 \begin_layout Plain Layout
10615 111
10616 \end_layout
10617
10618 \end_inset
10619 </cell>
10620 </row>
10621 <row>
10622 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Plain Layout
10626
10627 \series bold
10628 Malfatti
10629 \end_layout
10630
10631 \end_inset
10632 </cell>
10633 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10634 \begin_inset Text
10635
10636 \begin_layout Plain Layout
10637 Luciano
10638 \end_layout
10639
10640 \end_inset
10641 </cell>
10642 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10643 \begin_inset Text
10644
10645 \begin_layout Plain Layout
10646 111
10647 \end_layout
10648
10649 \end_inset
10650 </cell>
10651 </row>
10652 <row>
10653 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10654 \begin_inset Text
10655
10656 \begin_layout Plain Layout
10657
10658 \series bold
10659 Malfatti
10660 \end_layout
10661
10662 \end_inset
10663 </cell>
10664 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10665 \begin_inset Text
10666
10667 \begin_layout Plain Layout
10668 Valeriano
10669 \end_layout
10670
10671 \end_inset
10672 </cell>
10673 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10674 \begin_inset Text
10675
10676 \begin_layout Plain Layout
10677 111
10678 \end_layout
10679
10680 \end_inset
10681 </cell>
10682 </row>
10683 <row>
10684 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10685 \begin_inset Text
10686
10687 \begin_layout Plain Layout
10688
10689 \series bold
10690 Meneguzzo
10691 \end_layout
10692
10693 \end_inset
10694 </cell>
10695 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10696 \begin_inset Text
10697
10698 \begin_layout Plain Layout
10699 Roberto
10700 \end_layout
10701
10702 \end_inset
10703 </cell>
10704 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10705 \begin_inset Text
10706
10707 \begin_layout Plain Layout
10708 111
10709 \end_layout
10710
10711 \end_inset
10712 </cell>
10713 </row>
10714 <row>
10715 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10716 \begin_inset Text
10717
10718 \begin_layout Plain Layout
10719
10720 \series bold
10721 Mezzadra
10722 \end_layout
10723
10724 \end_inset
10725 </cell>
10726 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10727 \begin_inset Text
10728
10729 \begin_layout Plain Layout
10730 Roberto
10731 \end_layout
10732
10733 \end_inset
10734 </cell>
10735 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10736 \begin_inset Text
10737
10738 \begin_layout Plain Layout
10739 111
10740 \end_layout
10741
10742 \end_inset
10743 </cell>
10744 </row>
10745 <row>
10746 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10747 \begin_inset Text
10748
10749 \begin_layout Plain Layout
10750
10751 \series bold
10752 Pirpamer
10753 \end_layout
10754
10755 \end_inset
10756 </cell>
10757 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10758 \begin_inset Text
10759
10760 \begin_layout Plain Layout
10761 Erich
10762 \end_layout
10763
10764 \end_inset
10765 </cell>
10766 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10767 \begin_inset Text
10768
10769 \begin_layout Plain Layout
10770 111
10771 \end_layout
10772
10773 \end_inset
10774 </cell>
10775 </row>
10776 <row>
10777 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10778 \begin_inset Text
10779
10780 \begin_layout Plain Layout
10781
10782 \series bold
10783 Pochiesa
10784 \end_layout
10785
10786 \end_inset
10787 </cell>
10788 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10789 \begin_inset Text
10790
10791 \begin_layout Plain Layout
10792 Paolo
10793 \end_layout
10794
10795 \end_inset
10796 </cell>
10797 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10798 \begin_inset Text
10799
10800 \begin_layout Plain Layout
10801 111, 222
10802 \end_layout
10803
10804 \end_inset
10805 </cell>
10806 </row>
10807 <row>
10808 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10809 \begin_inset Text
10810
10811 \begin_layout Plain Layout
10812
10813 \series bold
10814 Radina
10815 \end_layout
10816
10817 \end_inset
10818 </cell>
10819 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10820 \begin_inset Text
10821
10822 \begin_layout Plain Layout
10823 Claudio
10824 \end_layout
10825
10826 \end_inset
10827 </cell>
10828 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10829 \begin_inset Text
10830
10831 \begin_layout Plain Layout
10832 111
10833 \end_layout
10834
10835 \end_inset
10836 </cell>
10837 </row>
10838 <row>
10839 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10840 \begin_inset Text
10841
10842 \begin_layout Plain Layout
10843
10844 \series bold
10845 Rizzardi
10846 \end_layout
10847
10848 \end_inset
10849 </cell>
10850 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10851 \begin_inset Text
10852
10853 \begin_layout Plain Layout
10854 Paolo, 11.
10855  Fürst von Montecompatri, 11.
10856  Fürst von Sulmona und Vivaro, 10.
10857  Fürst von Rossano, 5.
10858  Herzog von Canemorte, 11.
10859  Herzog von Palombara, 5.
10860  Herzog von Castelchiodato,
10861 \begin_inset ERT
10862 status open
10863
10864 \begin_layout Plain Layout
10865
10866 & 111
10867 \backslash
10868
10869 \backslash
10870  
10871 \backslash
10872 newpage
10873 \end_layout
10874
10875 \begin_layout Plain Layout
10876
10877 &
10878 \end_layout
10879
10880 \end_inset
10881
10882  11.
10883  Herzog von Poggionativo, 11.
10884  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10885  Graf von Valinfreda, 11.
10886  Baron von Cropalati, 11.
10887  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10888 \end_layout
10889
10890 \end_inset
10891 </cell>
10892 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10893 \begin_inset Text
10894
10895 \begin_layout Plain Layout
10896
10897 \end_layout
10898
10899 \end_inset
10900 </cell>
10901 </row>
10902 <row>
10903 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10904 \begin_inset Text
10905
10906 \begin_layout Plain Layout
10907
10908 \series bold
10909 Stuffer
10910 \end_layout
10911
10912 \end_inset
10913 </cell>
10914 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10915 \begin_inset Text
10916
10917 \begin_layout Plain Layout
10918 Oskar
10919 \end_layout
10920
10921 \end_inset
10922 </cell>
10923 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10924 \begin_inset Text
10925
10926 \begin_layout Plain Layout
10927 111
10928 \end_layout
10929
10930 \end_inset
10931 </cell>
10932 </row>
10933 <row>
10934 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10935 \begin_inset Text
10936
10937 \begin_layout Plain Layout
10938
10939 \series bold
10940 Tacchelli
10941 \end_layout
10942
10943 \end_inset
10944 </cell>
10945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10946 \begin_inset Text
10947
10948 \begin_layout Plain Layout
10949 Ugo
10950 \end_layout
10951
10952 \end_inset
10953 </cell>
10954 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10955 \begin_inset Text
10956
10957 \begin_layout Plain Layout
10958 111
10959 \end_layout
10960
10961 \end_inset
10962 </cell>
10963 </row>
10964 <row>
10965 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10966 \begin_inset Text
10967
10968 \begin_layout Plain Layout
10969
10970 \series bold
10971 Tezzele
10972 \end_layout
10973
10974 \end_inset
10975 </cell>
10976 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10977 \begin_inset Text
10978
10979 \begin_layout Plain Layout
10980 Margit
10981 \end_layout
10982
10983 \end_inset
10984 </cell>
10985 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10986 \begin_inset Text
10987
10988 \begin_layout Plain Layout
10989 111
10990 \end_layout
10991
10992 \end_inset
10993 </cell>
10994 </row>
10995 <row>
10996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10997 \begin_inset Text
10998
10999 \begin_layout Plain Layout
11000
11001 \series bold
11002 Unterkalmsteiner
11003 \end_layout
11004
11005 \end_inset
11006 </cell>
11007 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11008 \begin_inset Text
11009
11010 \begin_layout Plain Layout
11011 Frieda
11012 \end_layout
11013
11014 \end_inset
11015 </cell>
11016 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11017 \begin_inset Text
11018
11019 \begin_layout Plain Layout
11020 111
11021 \end_layout
11022
11023 \end_inset
11024 </cell>
11025 </row>
11026 <row>
11027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11028 \begin_inset Text
11029
11030 \begin_layout Plain Layout
11031
11032 \series bold
11033 Vieider
11034 \end_layout
11035
11036 \end_inset
11037 </cell>
11038 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11039 \begin_inset Text
11040
11041 \begin_layout Plain Layout
11042 Hilde
11043 \end_layout
11044
11045 \end_inset
11046 </cell>
11047 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11048 \begin_inset Text
11049
11050 \begin_layout Plain Layout
11051 111
11052 \end_layout
11053
11054 \end_inset
11055 </cell>
11056 </row>
11057 <row>
11058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11059 \begin_inset Text
11060
11061 \begin_layout Plain Layout
11062
11063 \series bold
11064 Vigna
11065 \end_layout
11066
11067 \end_inset
11068 </cell>
11069 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11070 \begin_inset Text
11071
11072 \begin_layout Plain Layout
11073 Jürgen
11074 \end_layout
11075
11076 \end_inset
11077 </cell>
11078 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11079 \begin_inset Text
11080
11081 \begin_layout Plain Layout
11082 111
11083 \end_layout
11084
11085 \end_inset
11086 </cell>
11087 </row>
11088 <row>
11089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11090 \begin_inset Text
11091
11092 \begin_layout Plain Layout
11093
11094 \series bold
11095 Weber
11096 \end_layout
11097
11098 \end_inset
11099 </cell>
11100 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11101 \begin_inset Text
11102
11103 \begin_layout Plain Layout
11104 Maurizio
11105 \end_layout
11106
11107 \end_inset
11108 </cell>
11109 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11110 \begin_inset Text
11111
11112 \begin_layout Plain Layout
11113 111
11114 \end_layout
11115
11116 \end_inset
11117 </cell>
11118 </row>
11119 <row>
11120 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11121 \begin_inset Text
11122
11123 \begin_layout Plain Layout
11124
11125 \series bold
11126 Winkler
11127 \end_layout
11128
11129 \end_inset
11130 </cell>
11131 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11132 \begin_inset Text
11133
11134 \begin_layout Plain Layout
11135 Franz
11136 \end_layout
11137
11138 \end_inset
11139 </cell>
11140 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11141 \begin_inset Text
11142
11143 \begin_layout Plain Layout
11144 111
11145 \end_layout
11146
11147 \end_inset
11148 </cell>
11149 </row>
11150 </lyxtabular>
11151
11152 \end_inset
11153
11154
11155 \end_layout
11156
11157 \begin_layout Section
11158 Multiple Lines Columns and Rows
11159 \end_layout
11160
11161 \begin_layout Subsection
11162 Multiple Lines in Table Cells
11163 \begin_inset CommandInset label
11164 LatexCommand label
11165 name "sub:Multiple-Lines-in"
11166
11167 \end_inset
11168
11169
11170 \begin_inset Index idx
11171 status collapsed
11172
11173 \begin_layout Plain Layout
11174 Multiple Lines in Table Cells
11175 \end_layout
11176
11177 \end_inset
11178
11179
11180 \begin_inset Index idx
11181 status collapsed
11182
11183 \begin_layout Plain Layout
11184 Table ! Linebreaks
11185 \end_layout
11186
11187 \end_inset
11188
11189
11190 \end_layout
11191
11192 \begin_layout Standard
11193 \noindent
11194 \begin_inset Float table
11195 placement H
11196 wide false
11197 sideways false
11198 status open
11199
11200 \begin_layout Plain Layout
11201 \begin_inset Caption
11202
11203 \begin_layout Plain Layout
11204 \begin_inset CommandInset label
11205 LatexCommand label
11206 name "tab:Table-with-multiple"
11207
11208 \end_inset
11209
11210 Table with multiple lines in cells
11211 \end_layout
11212
11213 \end_inset
11214
11215
11216 \end_layout
11217
11218 \begin_layout Plain Layout
11219 \align center
11220 \begin_inset Tabular
11221 <lyxtabular version="3" rows="3" columns="3">
11222 <features tabularvalignment="middle">
11223 <column alignment="center" valignment="middle" width="2.5cm">
11224 <column alignment="center" valignment="middle" width="0">
11225 <column alignment="center" valignment="middle" width="0">
11226 <row>
11227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11228 \begin_inset Text
11229
11230 \begin_layout Plain Layout
11231 multiple
11232 \begin_inset Newline linebreak
11233 \end_inset
11234
11235 lines
11236 \end_layout
11237
11238 \end_inset
11239 </cell>
11240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11241 \begin_inset Text
11242
11243 \begin_layout Plain Layout
11244 b
11245 \end_layout
11246
11247 \end_inset
11248 </cell>
11249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11250 \begin_inset Text
11251
11252 \begin_layout Plain Layout
11253 c
11254 \end_layout
11255
11256 \end_inset
11257 </cell>
11258 </row>
11259 <row>
11260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11261 \begin_inset Text
11262
11263 \begin_layout Plain Layout
11264 d
11265 \end_layout
11266
11267 \end_inset
11268 </cell>
11269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11270 \begin_inset Text
11271
11272 \begin_layout Plain Layout
11273 e
11274 \end_layout
11275
11276 \end_inset
11277 </cell>
11278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11279 \begin_inset Text
11280
11281 \begin_layout Plain Layout
11282 f
11283 \end_layout
11284
11285 \end_inset
11286 </cell>
11287 </row>
11288 <row>
11289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11290 \begin_inset Text
11291
11292 \begin_layout Plain Layout
11293 g
11294 \end_layout
11295
11296 \end_inset
11297 </cell>
11298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11299 \begin_inset Text
11300
11301 \begin_layout Plain Layout
11302 h
11303 \end_layout
11304
11305 \end_inset
11306 </cell>
11307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11308 \begin_inset Text
11309
11310 \begin_layout Plain Layout
11311 i
11312 \end_layout
11313
11314 \end_inset
11315 </cell>
11316 </row>
11317 </lyxtabular>
11318
11319 \end_inset
11320
11321
11322 \end_layout
11323
11324 \end_inset
11325
11326
11327 \end_layout
11328
11329 \begin_layout Standard
11330 Setting a fixed width for a column enables you to enter text as a paragraph
11331  with multiple lines and hyphenation.
11332 \end_layout
11333
11334 \begin_layout Standard
11335 To produce Table
11336 \begin_inset space ~
11337 \end_inset
11338
11339
11340 \begin_inset CommandInset ref
11341 LatexCommand ref
11342 reference "tab:Table-with-multiple"
11343
11344 \end_inset
11345
11346 , create a 3×3 table, mark the first cell and right-click on it.
11347  In the appearing table dialog we set a cell width of 2.5
11348 \begin_inset space \thinspace{}
11349 \end_inset
11350
11351 cm and choose centered for the vertical and horizontal alignment.
11352  The vertical alignment is used for all cells of the row.
11353  As our text is smaller than 2.5
11354 \begin_inset space \thinspace{}
11355 \end_inset
11356
11357 cm, only one line will appear.
11358  To get two lines, a justified line break (shortcut 
11359 \begin_inset Info
11360 type  "shortcut"
11361 arg   "newline-insert linebreak"
11362 \end_inset
11363
11364 ) was added.
11365  If the text is wider than the set cell width, it will automatically be
11366  broken to several lines.
11367 \end_layout
11368
11369 \begin_layout Standard
11370 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11371  by LaTeX if it is the first entry.
11372  Therefore you need to insert something to prevent the word not being the
11373  first entry.
11374  So add a horizontal space of 0
11375 \begin_inset space \thinspace{}
11376 \end_inset
11377
11378 pt before the word.
11379  As the space is zero, it doesn't change the output.
11380  Table
11381 \begin_inset space ~
11382 \end_inset
11383
11384
11385 \begin_inset CommandInset ref
11386 LatexCommand ref
11387 reference "tab:Table-with-and"
11388
11389 \end_inset
11390
11391  shows the effect.
11392 \end_layout
11393
11394 \begin_layout Standard
11395 \begin_inset Float table
11396 placement h
11397 wide false
11398 sideways false
11399 status open
11400
11401 \begin_layout Plain Layout
11402 \begin_inset Caption
11403
11404 \begin_layout Plain Layout
11405 \begin_inset CommandInset label
11406 LatexCommand label
11407 name "tab:Table-with-and"
11408
11409 \end_inset
11410
11411 Table with and without hyphenation
11412 \end_layout
11413
11414 \end_inset
11415
11416
11417 \end_layout
11418
11419 \begin_layout Plain Layout
11420 \begin_inset space \hfill{}
11421 \end_inset
11422
11423
11424 \begin_inset Tabular
11425 <lyxtabular version="3" rows="3" columns="3">
11426 <features tabularvalignment="middle">
11427 <column alignment="center" valignment="middle" width="2.5cm">
11428 <column alignment="center" valignment="middle" width="0">
11429 <column alignment="center" valignment="middle" width="0">
11430 <row>
11431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11432 \begin_inset Text
11433
11434 \begin_layout Plain Layout
11435 verylongtablecellword
11436 \end_layout
11437
11438 \end_inset
11439 </cell>
11440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11441 \begin_inset Text
11442
11443 \begin_layout Plain Layout
11444 b
11445 \end_layout
11446
11447 \end_inset
11448 </cell>
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11450 \begin_inset Text
11451
11452 \begin_layout Plain Layout
11453 c
11454 \end_layout
11455
11456 \end_inset
11457 </cell>
11458 </row>
11459 <row>
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11461 \begin_inset Text
11462
11463 \begin_layout Plain Layout
11464 d
11465 \end_layout
11466
11467 \end_inset
11468 </cell>
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11470 \begin_inset Text
11471
11472 \begin_layout Plain Layout
11473 e
11474 \end_layout
11475
11476 \end_inset
11477 </cell>
11478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11479 \begin_inset Text
11480
11481 \begin_layout Plain Layout
11482 f
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 </row>
11488 <row>
11489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11490 \begin_inset Text
11491
11492 \begin_layout Plain Layout
11493 g
11494 \end_layout
11495
11496 \end_inset
11497 </cell>
11498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11499 \begin_inset Text
11500
11501 \begin_layout Plain Layout
11502 h
11503 \end_layout
11504
11505 \end_inset
11506 </cell>
11507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11508 \begin_inset Text
11509
11510 \begin_layout Plain Layout
11511 i
11512 \end_layout
11513
11514 \end_inset
11515 </cell>
11516 </row>
11517 </lyxtabular>
11518
11519 \end_inset
11520
11521
11522 \begin_inset space \hfill{}
11523 \end_inset
11524
11525
11526 \begin_inset Tabular
11527 <lyxtabular version="3" rows="3" columns="3">
11528 <features tabularvalignment="middle">
11529 <column alignment="center" valignment="middle" width="2.5cm">
11530 <column alignment="center" valignment="middle" width="0">
11531 <column alignment="center" valignment="middle" width="0">
11532 <row>
11533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11534 \begin_inset Text
11535
11536 \begin_layout Plain Layout
11537 \begin_inset space \hspace{}
11538 \length 0pt
11539 \end_inset
11540
11541 verylongtablecellword
11542 \end_layout
11543
11544 \end_inset
11545 </cell>
11546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11547 \begin_inset Text
11548
11549 \begin_layout Plain Layout
11550 b
11551 \end_layout
11552
11553 \end_inset
11554 </cell>
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11556 \begin_inset Text
11557
11558 \begin_layout Plain Layout
11559 c
11560 \end_layout
11561
11562 \end_inset
11563 </cell>
11564 </row>
11565 <row>
11566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11567 \begin_inset Text
11568
11569 \begin_layout Plain Layout
11570 d
11571 \end_layout
11572
11573 \end_inset
11574 </cell>
11575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11576 \begin_inset Text
11577
11578 \begin_layout Plain Layout
11579 e
11580 \end_layout
11581
11582 \end_inset
11583 </cell>
11584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11585 \begin_inset Text
11586
11587 \begin_layout Plain Layout
11588 f
11589 \end_layout
11590
11591 \end_inset
11592 </cell>
11593 </row>
11594 <row>
11595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11596 \begin_inset Text
11597
11598 \begin_layout Plain Layout
11599 g
11600 \end_layout
11601
11602 \end_inset
11603 </cell>
11604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11605 \begin_inset Text
11606
11607 \begin_layout Plain Layout
11608 h
11609 \end_layout
11610
11611 \end_inset
11612 </cell>
11613 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11614 \begin_inset Text
11615
11616 \begin_layout Plain Layout
11617 i
11618 \end_layout
11619
11620 \end_inset
11621 </cell>
11622 </row>
11623 </lyxtabular>
11624
11625 \end_inset
11626
11627
11628 \begin_inset space \hfill{}
11629 \end_inset
11630
11631
11632 \end_layout
11633
11634 \end_inset
11635
11636
11637 \end_layout
11638
11639 \begin_layout Subsection
11640 Multicolumns
11641 \begin_inset CommandInset label
11642 LatexCommand label
11643 name "sub:Multicolumns"
11644
11645 \end_inset
11646
11647
11648 \begin_inset Index idx
11649 status collapsed
11650
11651 \begin_layout Plain Layout
11652 Multicolumns
11653 \end_layout
11654
11655 \end_inset
11656
11657
11658 \begin_inset Index idx
11659 status collapsed
11660
11661 \begin_layout Plain Layout
11662 Table ! Multicolumns
11663 \end_layout
11664
11665 \end_inset
11666
11667
11668 \end_layout
11669
11670 \begin_layout Subsubsection
11671 Multicolumn Basics
11672 \end_layout
11673
11674 \begin_layout Standard
11675 To merge cells over multiple columns, select as many cells within a row
11676  as you want to merge and use either the table-toolbar button 
11677 \begin_inset Graphics
11678         filename ../images/tabular-feature_multicolumn.png
11679         scale 85
11680         scaleBeforeRotation
11681
11682 \end_inset
11683
11684 , or the menu 
11685 \family sans
11686 Edit\SpecialChar \menuseparator
11687 Table\SpecialChar \menuseparator
11688 Multicolumn
11689 \family default
11690 , or right click on the marked cells and choose 
11691 \family sans
11692 Multicolumn
11693 \family default
11694  in the context menu.
11695 \end_layout
11696
11697 \begin_layout Standard
11698 Multicolumns have there own cell settings.
11699  That means changing cell borders, cell alignment, and the width only affects
11700  the multicolumn.
11701  Here is an example table with a multicolumn cell in the first row and one
11702  in the last row without the upper border:
11703 \end_layout
11704
11705 \begin_layout Standard
11706 \align center
11707 \begin_inset Tabular
11708 <lyxtabular version="3" rows="3" columns="4">
11709 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11710 <column alignment="center" valignment="top" width="0pt">
11711 <column alignment="center" valignment="middle" width="0">
11712 <column alignment="center" valignment="top" width="0in">
11713 <column alignment="center" valignment="top" width="0pt">
11714 <row>
11715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11716 \begin_inset Text
11717
11718 \begin_layout Plain Layout
11719 abc
11720 \end_layout
11721
11722 \end_inset
11723 </cell>
11724 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11725 \begin_inset Text
11726
11727 \begin_layout Plain Layout
11728 def ghi
11729 \end_layout
11730
11731 \end_inset
11732 </cell>
11733 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11734 \begin_inset Text
11735
11736 \begin_layout Plain Layout
11737
11738 \end_layout
11739
11740 \end_inset
11741 </cell>
11742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11743 \begin_inset Text
11744
11745 \begin_layout Plain Layout
11746 jkl
11747 \end_layout
11748
11749 \end_inset
11750 </cell>
11751 </row>
11752 <row>
11753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11754 \begin_inset Text
11755
11756 \begin_layout Plain Layout
11757
11758 \family roman
11759 \series medium
11760 \shape up
11761 \size normal
11762 \emph off
11763 \bar no
11764 \noun off
11765 \color none
11766 A
11767 \end_layout
11768
11769 \end_inset
11770 </cell>
11771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11772 \begin_inset Text
11773
11774 \begin_layout Plain Layout
11775 B
11776 \end_layout
11777
11778 \end_inset
11779 </cell>
11780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11781 \begin_inset Text
11782
11783 \begin_layout Plain Layout
11784 C
11785 \end_layout
11786
11787 \end_inset
11788 </cell>
11789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11790 \begin_inset Text
11791
11792 \begin_layout Plain Layout
11793 D
11794 \end_layout
11795
11796 \end_inset
11797 </cell>
11798 </row>
11799 <row>
11800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11801 \begin_inset Text
11802
11803 \begin_layout Plain Layout
11804 1
11805 \end_layout
11806
11807 \end_inset
11808 </cell>
11809 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11810 \begin_inset Text
11811
11812 \begin_layout Plain Layout
11813 2
11814 \end_layout
11815
11816 \end_inset
11817 </cell>
11818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11819 \begin_inset Text
11820
11821 \begin_layout Plain Layout
11822 3
11823 \end_layout
11824
11825 \end_inset
11826 </cell>
11827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11828 \begin_inset Text
11829
11830 \begin_layout Plain Layout
11831 4
11832 \end_layout
11833
11834 \end_inset
11835 </cell>
11836 </row>
11837 </lyxtabular>
11838
11839 \end_inset
11840
11841
11842 \end_layout
11843
11844 \begin_layout Subsubsection
11845 Multicolumn Calculations
11846 \begin_inset CommandInset label
11847 LatexCommand label
11848 name "sub:Multicolumn-Calculations"
11849
11850 \end_inset
11851
11852
11853 \begin_inset Index idx
11854 status collapsed
11855
11856 \begin_layout Plain Layout
11857 Multicolumns ! Calculations
11858 \end_layout
11859
11860 \end_inset
11861
11862
11863 \end_layout
11864
11865 \begin_layout Standard
11866 LyX supports multicolumns directly, but we have to take account of the cell
11867  width of the columns spanned by the multicolumn cell.
11868 \end_layout
11869
11870 \begin_layout Standard
11871 \begin_inset Float table
11872 placement h
11873 wide false
11874 sideways false
11875 status open
11876
11877 \begin_layout Plain Layout
11878 \begin_inset Caption
11879
11880 \begin_layout Plain Layout
11881 \begin_inset CommandInset label
11882 LatexCommand label
11883 name "tab:Table-with-centered"
11884
11885 \end_inset
11886
11887 Table with centered multicolumn text above two columns that have exactly
11888  half the width of the multicolumn cell
11889 \begin_inset Argument
11890 status collapsed
11891
11892 \begin_layout Plain Layout
11893 Perfect multicolumn table
11894 \end_layout
11895
11896 \end_inset
11897
11898
11899 \end_layout
11900
11901 \end_inset
11902
11903
11904 \end_layout
11905
11906 \begin_layout Plain Layout
11907 \align center
11908 \begin_inset Tabular
11909 <lyxtabular version="3" rows="3" columns="3">
11910 <features tabularvalignment="middle">
11911 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11912 <column alignment="center" valignment="middle" width="0">
11913 <column alignment="center" valignment="top" width="0">
11914 <row>
11915 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11916 \begin_inset Text
11917
11918 \begin_layout Plain Layout
11919 multiple lines multicolumn
11920 \end_layout
11921
11922 \end_inset
11923 </cell>
11924 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11925 \begin_inset Text
11926
11927 \begin_layout Plain Layout
11928
11929 \end_layout
11930
11931 \end_inset
11932 </cell>
11933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11934 \begin_inset Text
11935
11936 \begin_layout Plain Layout
11937 c
11938 \end_layout
11939
11940 \end_inset
11941 </cell>
11942 </row>
11943 <row>
11944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11945 \begin_inset Text
11946
11947 \begin_layout Plain Layout
11948 d
11949 \end_layout
11950
11951 \end_inset
11952 </cell>
11953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11954 \begin_inset Text
11955
11956 \begin_layout Plain Layout
11957 e
11958 \end_layout
11959
11960 \end_inset
11961 </cell>
11962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11963 \begin_inset Text
11964
11965 \begin_layout Plain Layout
11966 f
11967 \end_layout
11968
11969 \end_inset
11970 </cell>
11971 </row>
11972 <row>
11973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11974 \begin_inset Text
11975
11976 \begin_layout Plain Layout
11977 g
11978 \end_layout
11979
11980 \end_inset
11981 </cell>
11982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11983 \begin_inset Text
11984
11985 \begin_layout Plain Layout
11986 h
11987 \end_layout
11988
11989 \end_inset
11990 </cell>
11991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11992 \begin_inset Text
11993
11994 \begin_layout Plain Layout
11995 i
11996 \end_layout
11997
11998 \end_inset
11999 </cell>
12000 </row>
12001 </lyxtabular>
12002
12003 \end_inset
12004
12005
12006 \end_layout
12007
12008 \end_inset
12009
12010
12011 \end_layout
12012
12013 \begin_layout Standard
12014 To create for example Table
12015 \begin_inset space ~
12016 \end_inset
12017
12018
12019 \begin_inset CommandInset ref
12020 LatexCommand ref
12021 reference "tab:Table-with-centered"
12022
12023 \end_inset
12024
12025 , mark the first two cells in the first row of a 3×3 table and right-click
12026  on them.
12027  Now choose for this cell 
12028 \emph on
12029 multicolumn
12030 \emph default
12031
12032 \emph on
12033 centered alignment
12034 \emph default
12035  and a width of 2.5
12036 \begin_inset space \thinspace{}
12037 \end_inset
12038
12039 cm in the table dialog.
12040  The merged columns should have exactly half the width of the multicolumn
12041  cell, so that you would set a width of 1.25
12042 \begin_inset space \thinspace{}
12043 \end_inset
12044
12045 cm for the first column.
12046  The second column has then automatically a width of 1.25
12047 \begin_inset space \thinspace{}
12048 \end_inset
12049
12050 cm (multicolumn width - width of first column).
12051  This was done for Table
12052 \begin_inset space ~
12053 \end_inset
12054
12055
12056 \begin_inset CommandInset ref
12057 LatexCommand ref
12058 reference "tab:Table-without-half"
12059
12060 \end_inset
12061
12062 .
12063 \end_layout
12064
12065 \begin_layout Standard
12066 \begin_inset Float table
12067 wide false
12068 sideways false
12069 status open
12070
12071 \begin_layout Plain Layout
12072 \begin_inset Caption
12073
12074 \begin_layout Plain Layout
12075 \begin_inset CommandInset label
12076 LatexCommand label
12077 name "tab:Table-without-half"
12078
12079 \end_inset
12080
12081 Table where the spanned table columns are not exactly half the width of
12082  the multicolumn cell
12083 \begin_inset Argument
12084 status collapsed
12085
12086 \begin_layout Plain Layout
12087 Imperfect multicolumn table
12088 \end_layout
12089
12090 \end_inset
12091
12092
12093 \end_layout
12094
12095 \end_inset
12096
12097
12098 \end_layout
12099
12100 \begin_layout Plain Layout
12101 \align center
12102 \begin_inset Tabular
12103 <lyxtabular version="3" rows="3" columns="3">
12104 <features tabularvalignment="middle">
12105 <column alignment="center" valignment="top" width="1.25cm">
12106 <column alignment="center" valignment="top" width="0">
12107 <column alignment="center" valignment="top" width="0">
12108 <row>
12109 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12110 \begin_inset Text
12111
12112 \begin_layout Plain Layout
12113 multiple lines multicolumn
12114 \end_layout
12115
12116 \end_inset
12117 </cell>
12118 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12119 \begin_inset Text
12120
12121 \begin_layout Plain Layout
12122
12123 \end_layout
12124
12125 \end_inset
12126 </cell>
12127 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12128 \begin_inset Text
12129
12130 \begin_layout Plain Layout
12131 c
12132 \end_layout
12133
12134 \end_inset
12135 </cell>
12136 </row>
12137 <row>
12138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12139 \begin_inset Text
12140
12141 \begin_layout Plain Layout
12142 d
12143 \end_layout
12144
12145 \end_inset
12146 </cell>
12147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12148 \begin_inset Text
12149
12150 \begin_layout Plain Layout
12151 e
12152 \end_layout
12153
12154 \end_inset
12155 </cell>
12156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12157 \begin_inset Text
12158
12159 \begin_layout Plain Layout
12160 f
12161 \end_layout
12162
12163 \end_inset
12164 </cell>
12165 </row>
12166 <row>
12167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12168 \begin_inset Text
12169
12170 \begin_layout Plain Layout
12171 g
12172 \end_layout
12173
12174 \end_inset
12175 </cell>
12176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12177 \begin_inset Text
12178
12179 \begin_layout Plain Layout
12180 h
12181 \end_layout
12182
12183 \end_inset
12184 </cell>
12185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12186 \begin_inset Text
12187
12188 \begin_layout Plain Layout
12189 i
12190 \end_layout
12191
12192 \end_inset
12193 </cell>
12194 </row>
12195 </lyxtabular>
12196
12197 \end_inset
12198
12199
12200 \end_layout
12201
12202 \end_inset
12203
12204
12205 \end_layout
12206
12207 \begin_layout Standard
12208 You can see that the first column is not half the width of the multicolumn
12209  cell, it is a bit bigger.
12210  The reason is that the specified width of a cell 
12211 \begin_inset Formula $W_{g}$
12212 \end_inset
12213
12214  is not its total width 
12215 \begin_inset Formula $W_{\mathrm{tot}}$
12216 \end_inset
12217
12218  because a cell is always a bit larger than specified.
12219  Appendix
12220 \begin_inset space ~
12221 \end_inset
12222
12223
12224 \begin_inset CommandInset ref
12225 LatexCommand eqref
12226 reference "cha:Explanation-of-Equation"
12227
12228 \end_inset
12229
12230  explains this in detail.
12231 \end_layout
12232
12233 \begin_layout Standard
12234 The width 
12235 \begin_inset Formula $W_{g\, n}$
12236 \end_inset
12237
12238  which the user needs to set when 
12239 \emph on
12240 n
12241 \emph default
12242  columns are spanned can be calculated, so that each column has a total
12243  width of 
12244 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
12245 \end_inset
12246
12247 :
12248 \begin_inset Formula 
12249 \begin{equation}
12250 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12251 \end{equation}
12252
12253 \end_inset
12254
12255
12256 \end_layout
12257
12258 \begin_layout Standard
12259 In our case we have 
12260 \begin_inset Formula $n=2$
12261 \end_inset
12262
12263
12264 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12265 \end_inset
12266
12267 cm and the default values for the lengths, so that equation 
12268 \begin_inset CommandInset ref
12269 LatexCommand ref
12270 reference "eq:Wgn"
12271
12272 \end_inset
12273
12274  becomes
12275 \begin_inset Formula 
12276 \begin{equation}
12277 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12278 \end{equation}
12279
12280 \end_inset
12281
12282
12283 \end_layout
12284
12285 \begin_layout Standard
12286 To enable calculations in LaTeX, the LaTeX-package 
12287 \series bold
12288 calc
12289 \series default
12290  must be loaded with the document preamble line
12291 \begin_inset Index idx
12292 status collapsed
12293
12294 \begin_layout Plain Layout
12295 LaTeX-packages ! calc
12296 \end_layout
12297
12298 \end_inset
12299
12300
12301 \end_layout
12302
12303 \begin_layout Standard
12304
12305 \series bold
12306
12307 \backslash
12308 usepackage{calc}
12309 \end_layout
12310
12311 \begin_layout Standard
12312 LyX does not allow you to calculate lengths in the 
12313 \family sans
12314 Width
12315 \family default
12316  field of the table dialog.
12317  Therefore you have to format the column by inserting a LaTeX-argument in
12318  the dialog.
12319  Here is an overview about the arguments:
12320 \end_layout
12321
12322 \begin_layout Itemize
12323
12324 \series bold
12325 p{width}
12326 \series default
12327  creates cell with a fixed width, its text is vertically top-aligned
12328 \end_layout
12329
12330 \begin_layout Itemize
12331
12332 \series bold
12333 m{width}
12334 \series default
12335  creates cell with a fixed width, its text is vertically centered
12336 \end_layout
12337
12338 \begin_layout Itemize
12339
12340 \series bold
12341 b{width}
12342 \series default
12343  creates cell with a fixed width, its text is vertically bottom-aligned
12344 \end_layout
12345
12346 \begin_layout Standard
12347 By entering a LaTeX-argument, all cell settings set in the table dialog
12348  are overwritten.
12349 \end_layout
12350
12351 \begin_layout Standard
12352 \begin_inset Note Greyedout
12353 status open
12354
12355 \begin_layout Plain Layout
12356
12357 \series bold
12358 Note:
12359 \series default
12360  Due to a bug, LyX shows the overwritten settings anyway.
12361 \end_layout
12362
12363 \end_inset
12364
12365
12366 \end_layout
12367
12368 \begin_layout Standard
12369 As the text should be horizontally centered, the command 
12370 \series bold
12371
12372 \backslash
12373 centering
12374 \series default
12375  is added.
12376  You can now enter the following LaTeX-argument for the first spanned column:
12377 \end_layout
12378
12379 \begin_layout Standard
12380
12381 \series bold
12382 >{
12383 \backslash
12384 centering}m{1.25cm-6.2pt}
12385 \end_layout
12386
12387 \begin_layout Standard
12388 The command 
12389 \series bold
12390 >{ }
12391 \series default
12392  means, that the commands inside the braces are applied before the cell
12393  is created.
12394 \end_layout
12395
12396 \begin_layout Standard
12397 Although we have chosen centered alignment for the text of the multicolumn
12398  cell, it is still left aligned.
12399  This is because LyX only applies the alignment to single columns.
12400  So for the multicolumn cell we have to use the LaTeX-argument
12401 \end_layout
12402
12403 \begin_layout Standard
12404
12405 \series bold
12406 >{
12407 \backslash
12408 centering}m{2.5cm}
12409 \end_layout
12410
12411 \begin_layout Subsection
12412 Multirows
12413 \begin_inset CommandInset label
12414 LatexCommand label
12415 name "sub:Multirows"
12416
12417 \end_inset
12418
12419
12420 \begin_inset Index idx
12421 status collapsed
12422
12423 \begin_layout Plain Layout
12424 Multirows
12425 \end_layout
12426
12427 \end_inset
12428
12429
12430 \begin_inset Index idx
12431 status collapsed
12432
12433 \begin_layout Plain Layout
12434 Table ! Multirows
12435 \end_layout
12436
12437 \end_inset
12438
12439
12440 \end_layout
12441
12442 \begin_layout Standard
12443 To merge cells over multiple rows, select as many cells within a column
12444  as you want to merge and use either the table-toolbar button 
12445 \begin_inset Graphics
12446         filename ../images/tabular-feature_multirow.png
12447         scale 85
12448         scaleBeforeRotation
12449
12450 \end_inset
12451
12452 , or the menu 
12453 \family sans
12454 Edit\SpecialChar \menuseparator
12455 Table\SpecialChar \menuseparator
12456 Multirow
12457 \family default
12458 , or right click on the marked cells and choose 
12459 \family sans
12460 Multirow
12461 \family default
12462  in the context menu.
12463 \end_layout
12464
12465 \begin_layout Standard
12466 Here is an example table with a multirow in the first column:
12467 \end_layout
12468
12469 \begin_layout Standard
12470 \align center
12471 \begin_inset Tabular
12472 <lyxtabular version="3" rows="3" columns="3">
12473 <features tabularvalignment="middle">
12474 <column alignment="center" valignment="top" width="0pt">
12475 <column alignment="center" valignment="top" width="0">
12476 <column alignment="center" valignment="top" width="0">
12477 <row>
12478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12479 \begin_inset Text
12480
12481 \begin_layout Plain Layout
12482 a long cell entry
12483 \end_layout
12484
12485 \end_inset
12486 </cell>
12487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12488 \begin_inset Text
12489
12490 \begin_layout Plain Layout
12491 b
12492 \end_layout
12493
12494 \end_inset
12495 </cell>
12496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12497 \begin_inset Text
12498
12499 \begin_layout Plain Layout
12500 c
12501 \end_layout
12502
12503 \end_inset
12504 </cell>
12505 </row>
12506 <row>
12507 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12508 \begin_inset Text
12509
12510 \begin_layout Plain Layout
12511 multirow
12512 \end_layout
12513
12514 \end_inset
12515 </cell>
12516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12517 \begin_inset Text
12518
12519 \begin_layout Plain Layout
12520 e
12521 \end_layout
12522
12523 \end_inset
12524 </cell>
12525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12526 \begin_inset Text
12527
12528 \begin_layout Plain Layout
12529 f
12530 \end_layout
12531
12532 \end_inset
12533 </cell>
12534 </row>
12535 <row>
12536 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12537 \begin_inset Text
12538
12539 \begin_layout Plain Layout
12540
12541 \end_layout
12542
12543 \end_inset
12544 </cell>
12545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12546 \begin_inset Text
12547
12548 \begin_layout Plain Layout
12549 h
12550 \end_layout
12551
12552 \end_inset
12553 </cell>
12554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12555 \begin_inset Text
12556
12557 \begin_layout Plain Layout
12558 i
12559 \end_layout
12560
12561 \end_inset
12562 </cell>
12563 </row>
12564 </lyxtabular>
12565
12566 \end_inset
12567
12568
12569 \end_layout
12570
12571 \begin_layout Standard
12572 The width of multirow cells is set by setting the width and alignment for
12573  the whole column.
12574  The 
12575 \family sans
12576 Vertical Offset
12577 \family default
12578  shifts the content of the multirow up/down if the offset is positive/negative.
12579 \end_layout
12580
12581 \begin_layout Standard
12582 If the column of a multirow cell has no explicit width, the multirow cell
12583  inherits the alignment of the column.
12584  Otherwise it is by default left-aligned.
12585  To override the default, renew the command 
12586 \series bold
12587
12588 \backslash
12589 multirowsetup
12590 \series default
12591  with the command
12592 \end_layout
12593
12594 \begin_layout Standard
12595
12596 \series bold
12597
12598 \backslash
12599 renewcommand{
12600 \backslash
12601 multirowsetup}{
12602 \backslash
12603 centering}
12604 \end_layout
12605
12606 \begin_layout Standard
12607 in the document preamble.
12608  Then all entries of multirow cells in the document are centered.
12609  If centering is only needed for several tables, you can renew the command
12610  in a TeX-Code box just before the table instead of the preamble.
12611  If the text should be right-aligned, replace 
12612 \series bold
12613
12614 \backslash
12615 centering
12616 \series default
12617  by 
12618 \series bold
12619
12620 \backslash
12621 raggedleft
12622 \series default
12623 .
12624  To return to left-alignment 
12625 \series bold
12626
12627 \backslash
12628 raggedright
12629 \series default
12630  is used.
12631 \end_layout
12632
12633 \begin_layout Standard
12634 This is an example table with a right-aligned multirow cell that has a vertical
12635  offset of -4
12636 \begin_inset space \thinspace{}
12637 \end_inset
12638
12639 mm and is in a 3
12640 \begin_inset space \thinspace{}
12641 \end_inset
12642
12643 cm wide column:
12644 \end_layout
12645
12646 \begin_layout Standard
12647 \noindent
12648 \align center
12649 \begin_inset ERT
12650 status collapsed
12651
12652 \begin_layout Plain Layout
12653
12654
12655 \backslash
12656 renewcommand{
12657 \backslash
12658 multirowsetup}{
12659 \backslash
12660 raggedleft}
12661 \end_layout
12662
12663 \end_inset
12664
12665
12666 \begin_inset Tabular
12667 <lyxtabular version="3" rows="4" columns="3">
12668 <features tabularvalignment="middle">
12669 <column alignment="center" valignment="top" width="3cm">
12670 <column alignment="center" valignment="top" width="0">
12671 <column alignment="center" valignment="top" width="0">
12672 <row>
12673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12674 \begin_inset Text
12675
12676 \begin_layout Plain Layout
12677 a long cell entry
12678 \end_layout
12679
12680 \end_inset
12681 </cell>
12682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12683 \begin_inset Text
12684
12685 \begin_layout Plain Layout
12686 b
12687 \end_layout
12688
12689 \end_inset
12690 </cell>
12691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12692 \begin_inset Text
12693
12694 \begin_layout Plain Layout
12695 c
12696 \end_layout
12697
12698 \end_inset
12699 </cell>
12700 </row>
12701 <row>
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12703 \begin_inset Text
12704
12705 \begin_layout Plain Layout
12706 t
12707 \end_layout
12708
12709 \end_inset
12710 </cell>
12711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12712 \begin_inset Text
12713
12714 \begin_layout Plain Layout
12715 n
12716 \end_layout
12717
12718 \end_inset
12719 </cell>
12720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12721 \begin_inset Text
12722
12723 \begin_layout Plain Layout
12724 m
12725 \end_layout
12726
12727 \end_inset
12728 </cell>
12729 </row>
12730 <row>
12731 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12732 \begin_inset Text
12733
12734 \begin_layout Plain Layout
12735 multirow
12736 \end_layout
12737
12738 \end_inset
12739 </cell>
12740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12741 \begin_inset Text
12742
12743 \begin_layout Plain Layout
12744 e
12745 \end_layout
12746
12747 \end_inset
12748 </cell>
12749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12750 \begin_inset Text
12751
12752 \begin_layout Plain Layout
12753 f
12754 \end_layout
12755
12756 \end_inset
12757 </cell>
12758 </row>
12759 <row>
12760 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12761 \begin_inset Text
12762
12763 \begin_layout Plain Layout
12764
12765 \end_layout
12766
12767 \end_inset
12768 </cell>
12769 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12770 \begin_inset Text
12771
12772 \begin_layout Plain Layout
12773 h
12774 \end_layout
12775
12776 \end_inset
12777 </cell>
12778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12779 \begin_inset Text
12780
12781 \begin_layout Plain Layout
12782 i
12783 \end_layout
12784
12785 \end_inset
12786 </cell>
12787 </row>
12788 </lyxtabular>
12789
12790 \end_inset
12791
12792
12793 \begin_inset ERT
12794 status collapsed
12795
12796 \begin_layout Plain Layout
12797
12798
12799 \backslash
12800 renewcommand{
12801 \backslash
12802 multirowsetup}{
12803 \backslash
12804 raggedright}
12805 \end_layout
12806
12807 \end_inset
12808
12809
12810 \end_layout
12811
12812 \begin_layout Standard
12813 To start a new line in a multirow you can use a forced line break (shortcut
12814  
12815 \begin_inset Info
12816 type  "shortcut"
12817 arg   "newline-insert newline"
12818 \end_inset
12819
12820 ) but this will not respect the cell lines as demonstrated in this table:
12821 \end_layout
12822
12823 \begin_layout Standard
12824 \noindent
12825 \align center
12826 \begin_inset Tabular
12827 <lyxtabular version="3" rows="3" columns="2">
12828 <features tabularvalignment="middle">
12829 <column alignment="left" valignment="middle" width="2cm">
12830 <column alignment="center" valignment="top" width="0">
12831 <row>
12832 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12833 \begin_inset Text
12834
12835 \begin_layout Plain Layout
12836 aaa
12837 \begin_inset Newline newline
12838 \end_inset
12839
12840 aaa
12841 \begin_inset Newline newline
12842 \end_inset
12843
12844 wrong cell
12845 \end_layout
12846
12847 \end_inset
12848 </cell>
12849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12850 \begin_inset Text
12851
12852 \begin_layout Plain Layout
12853 ccc
12854 \end_layout
12855
12856 \end_inset
12857 </cell>
12858 </row>
12859 <row>
12860 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12861 \begin_inset Text
12862
12863 \begin_layout Plain Layout
12864
12865 \end_layout
12866
12867 \end_inset
12868 </cell>
12869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12870 \begin_inset Text
12871
12872 \begin_layout Plain Layout
12873 ddd
12874 \end_layout
12875
12876 \end_inset
12877 </cell>
12878 </row>
12879 <row>
12880 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12881 \begin_inset Text
12882
12883 \begin_layout Plain Layout
12884 bbb
12885 \end_layout
12886
12887 \end_inset
12888 </cell>
12889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12890 \begin_inset Text
12891
12892 \begin_layout Plain Layout
12893 eee
12894 \end_layout
12895
12896 \end_inset
12897 </cell>
12898 </row>
12899 </lyxtabular>
12900
12901 \end_inset
12902
12903
12904 \end_layout
12905
12906 \begin_layout Standard
12907 Therefore be careful with forced line breaks.
12908 \end_layout
12909
12910 \begin_layout Section
12911 Formal Tables
12912 \begin_inset CommandInset label
12913 LatexCommand label
12914 name "sec:Formal-Tables"
12915
12916 \end_inset
12917
12918
12919 \begin_inset Index idx
12920 status collapsed
12921
12922 \begin_layout Plain Layout
12923 Table ! Formal
12924 \end_layout
12925
12926 \end_inset
12927
12928
12929 \end_layout
12930
12931 \begin_layout Standard
12932 Tables are often typeset in books similar to Table
12933 \begin_inset space ~
12934 \end_inset
12935
12936
12937 \begin_inset CommandInset ref
12938 LatexCommand ref
12939 reference "tab:Example-booktabs-table"
12940
12941 \end_inset
12942
12943 .
12944  This kind of tables is called 
12945 \begin_inset Quotes eld
12946 \end_inset
12947
12948
12949 \emph on
12950 formal
12951 \emph default
12952
12953 \begin_inset Quotes erd
12954 \end_inset
12955
12956 .
12957  To make a table a formal table use the option 
12958 \family sans
12959 Formal
12960 \family default
12961  in the 
12962 \family sans
12963 Borders
12964 \family default
12965  tab of the table dialog.
12966 \end_layout
12967
12968 \begin_layout Standard
12969 \begin_inset Float table
12970 placement h
12971 wide false
12972 sideways false
12973 status open
12974
12975 \begin_layout Plain Layout
12976 \begin_inset Caption
12977
12978 \begin_layout Plain Layout
12979 \begin_inset CommandInset label
12980 LatexCommand label
12981 name "tab:Example-booktabs-table"
12982
12983 \end_inset
12984
12985 Example booktabs-table
12986 \end_layout
12987
12988 \end_inset
12989
12990
12991 \end_layout
12992
12993 \begin_layout Plain Layout
12994 \align center
12995 \begin_inset Tabular
12996 <lyxtabular version="3" rows="8" columns="4">
12997 <features booktabs="true" tabularvalignment="middle">
12998 <column alignment="center" valignment="top" width="0">
12999 <column alignment="center" valignment="top" width="0">
13000 <column alignment="center" valignment="top" width="0">
13001 <column alignment="center" valignment="top" width="0">
13002 <row>
13003 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13004 \begin_inset Text
13005
13006 \begin_layout Plain Layout
13007 System
13008 \end_layout
13009
13010 \end_inset
13011 </cell>
13012 <cell alignment="center" valignment="top" topline="true" usebox="none">
13013 \begin_inset Text
13014
13015 \begin_layout Plain Layout
13016 Chip
13017 \begin_inset space \thinspace{}
13018 \end_inset
13019
13020 1
13021 \end_layout
13022
13023 \end_inset
13024 </cell>
13025 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13026 \begin_inset Text
13027
13028 \begin_layout Plain Layout
13029 Chip
13030 \begin_inset space \thinspace{}
13031 \end_inset
13032
13033 2
13034 \end_layout
13035
13036 \end_inset
13037 </cell>
13038 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13039 \begin_inset Text
13040
13041 \begin_layout Plain Layout
13042
13043 \end_layout
13044
13045 \end_inset
13046 </cell>
13047 </row>
13048 <row>
13049 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13050 \begin_inset Text
13051
13052 \begin_layout Plain Layout
13053 \begin_inset ERT
13054 status collapsed
13055
13056 \begin_layout Plain Layout
13057
13058
13059 \backslash
13060 cmidrule(r){2-2}
13061 \end_layout
13062
13063 \end_inset
13064
13065
13066 \begin_inset ERT
13067 status collapsed
13068
13069 \begin_layout Plain Layout
13070
13071
13072 \backslash
13073 cmidrule(l){3-4}
13074 \end_layout
13075
13076 \end_inset
13077
13078 Detector thickness in µm
13079 \end_layout
13080
13081 \end_inset
13082 </cell>
13083 <cell alignment="center" valignment="top" usebox="none">
13084 \begin_inset Text
13085
13086 \begin_layout Plain Layout
13087 300
13088 \end_layout
13089
13090 \end_inset
13091 </cell>
13092 <cell alignment="center" valignment="top" usebox="none">
13093 \begin_inset Text
13094
13095 \begin_layout Plain Layout
13096 300
13097 \end_layout
13098
13099 \end_inset
13100 </cell>
13101 <cell alignment="center" valignment="top" usebox="none">
13102 \begin_inset Text
13103
13104 \begin_layout Plain Layout
13105 700
13106 \end_layout
13107
13108 \end_inset
13109 </cell>
13110 </row>
13111 <row>
13112 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13113 \begin_inset Text
13114
13115 \begin_layout Plain Layout
13116 Edge angle in °
13117 \end_layout
13118
13119 \end_inset
13120 </cell>
13121 <cell alignment="center" valignment="top" topline="true" usebox="none">
13122 \begin_inset Text
13123
13124 \begin_layout Plain Layout
13125 3.55
13126 \end_layout
13127
13128 \end_inset
13129 </cell>
13130 <cell alignment="center" valignment="top" topline="true" usebox="none">
13131 \begin_inset Text
13132
13133 \begin_layout Plain Layout
13134 2.71
13135 \end_layout
13136
13137 \end_inset
13138 </cell>
13139 <cell alignment="center" valignment="top" topline="true" usebox="none">
13140 \begin_inset Text
13141
13142 \begin_layout Plain Layout
13143 7.99
13144 \end_layout
13145
13146 \end_inset
13147 </cell>
13148 </row>
13149 <row topspace="default">
13150 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13151 \begin_inset Text
13152
13153 \begin_layout Plain Layout
13154 Spatial resolution in µm
13155 \end_layout
13156
13157 \end_inset
13158 </cell>
13159 <cell alignment="center" valignment="top" usebox="none">
13160 \begin_inset Text
13161
13162 \begin_layout Plain Layout
13163 4.26
13164 \end_layout
13165
13166 \end_inset
13167 </cell>
13168 <cell alignment="center" valignment="top" usebox="none">
13169 \begin_inset Text
13170
13171 \begin_layout Plain Layout
13172 10.17
13173 \end_layout
13174
13175 \end_inset
13176 </cell>
13177 <cell alignment="center" valignment="top" usebox="none">
13178 \begin_inset Text
13179
13180 \begin_layout Plain Layout
13181 10.56
13182 \end_layout
13183
13184 \end_inset
13185 </cell>
13186 </row>
13187 <row topspace="default">
13188 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13189 \begin_inset Text
13190
13191 \begin_layout Plain Layout
13192 MTF at 
13193 \begin_inset Formula $f_{\mathrm{max}}$
13194 \end_inset
13195
13196
13197 \end_layout
13198
13199 \end_inset
13200 </cell>
13201 <cell alignment="center" valignment="top" usebox="none">
13202 \begin_inset Text
13203
13204 \begin_layout Plain Layout
13205 0.53
13206 \end_layout
13207
13208 \end_inset
13209 </cell>
13210 <cell alignment="center" valignment="top" usebox="none">
13211 \begin_inset Text
13212
13213 \begin_layout Plain Layout
13214 0.37
13215 \end_layout
13216
13217 \end_inset
13218 </cell>
13219 <cell alignment="center" valignment="top" usebox="none">
13220 \begin_inset Text
13221
13222 \begin_layout Plain Layout
13223 0.39
13224 \end_layout
13225
13226 \end_inset
13227 </cell>
13228 </row>
13229 <row topspace="default">
13230 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13231 \begin_inset Text
13232
13233 \begin_layout Plain Layout
13234 \begin_inset ERT
13235 status collapsed
13236
13237 \begin_layout Plain Layout
13238
13239
13240 \backslash
13241 cmidrule(l{10pt}){1-1}
13242 \end_layout
13243
13244 \end_inset
13245
13246 LSF-spatial resolution
13247 \end_layout
13248
13249 \end_inset
13250 </cell>
13251 <cell alignment="center" valignment="top" usebox="none">
13252 \begin_inset Text
13253
13254 \begin_layout Plain Layout
13255
13256 \end_layout
13257
13258 \end_inset
13259 </cell>
13260 <cell alignment="center" valignment="top" usebox="none">
13261 \begin_inset Text
13262
13263 \begin_layout Plain Layout
13264
13265 \end_layout
13266
13267 \end_inset
13268 </cell>
13269 <cell alignment="center" valignment="top" usebox="none">
13270 \begin_inset Text
13271
13272 \begin_layout Plain Layout
13273
13274 \end_layout
13275
13276 \end_inset
13277 </cell>
13278 </row>
13279 <row>
13280 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13281 \begin_inset Text
13282
13283 \begin_layout Plain Layout
13284 in µm
13285 \end_layout
13286
13287 \end_inset
13288 </cell>
13289 <cell alignment="center" valignment="top" usebox="none">
13290 \begin_inset Text
13291
13292 \begin_layout Plain Layout
13293 129.7
13294 \end_layout
13295
13296 \end_inset
13297 </cell>
13298 <cell alignment="center" valignment="top" usebox="none">
13299 \begin_inset Text
13300
13301 \begin_layout Plain Layout
13302 52.75
13303 \end_layout
13304
13305 \end_inset
13306 </cell>
13307 <cell alignment="center" valignment="top" usebox="none">
13308 \begin_inset Text
13309
13310 \begin_layout Plain Layout
13311 50.78
13312 \end_layout
13313
13314 \end_inset
13315 </cell>
13316 </row>
13317 <row>
13318 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
13319 \begin_inset Text
13320
13321 \begin_layout Plain Layout
13322 in % of pixel size
13323 \end_layout
13324
13325 \end_inset
13326 </cell>
13327 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13328 \begin_inset Text
13329
13330 \begin_layout Plain Layout
13331 76.3
13332 \end_layout
13333
13334 \end_inset
13335 </cell>
13336 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13337 \begin_inset Text
13338
13339 \begin_layout Plain Layout
13340 95.9
13341 \end_layout
13342
13343 \end_inset
13344 </cell>
13345 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13346 \begin_inset Text
13347
13348 \begin_layout Plain Layout
13349 92.3
13350 \end_layout
13351
13352 \end_inset
13353 </cell>
13354 </row>
13355 </lyxtabular>
13356
13357 \end_inset
13358
13359
13360 \end_layout
13361
13362 \end_inset
13363
13364
13365 \end_layout
13366
13367 \begin_layout Standard
13368 Spaces to table rows can be added using the 
13369 \family sans
13370 Borders
13371 \family default
13372  tab of the table dialog as described in section
13373 \begin_inset space ~
13374 \end_inset
13375
13376
13377 \begin_inset CommandInset ref
13378 LatexCommand ref
13379 reference "sub:Row-Spacing"
13380
13381 \end_inset
13382
13383 .
13384 \end_layout
13385
13386 \begin_layout Standard
13387 Unlike normal tables, formal tables have no vertical table lines.
13388  The horizontal table lines can be set as for normal tables but they appear
13389  with different widths in the output:
13390 \begin_inset Newline newline
13391 \end_inset
13392
13393 The first and the last table line have a default width of 0.08
13394 \begin_inset space \thinspace{}
13395 \end_inset
13396
13397 em while the other lines have a default width of 0.05
13398 \begin_inset space \thinspace{}
13399 \end_inset
13400
13401 em.
13402 \end_layout
13403
13404 \begin_layout Standard
13405 The default widths can be changed with the following preamble lines
13406 \end_layout
13407
13408 \begin_layout Standard
13409
13410 \series bold
13411
13412 \backslash
13413 let
13414 \backslash
13415 mytoprule
13416 \backslash
13417 toprule
13418 \begin_inset Newline newline
13419 \end_inset
13420
13421
13422 \backslash
13423 renewcommand{
13424 \backslash
13425 toprule}{
13426 \backslash
13427 mytoprule[width]}
13428 \end_layout
13429
13430 \begin_layout Standard
13431 This example is for the first line, the so called 
13432 \series bold
13433 toprule
13434 \series default
13435 .
13436  If you want to change the width for the last line, replace 
13437 \series bold
13438 toprule
13439 \series default
13440  by 
13441 \series bold
13442 bottomrule
13443 \series default
13444 .
13445  To change the width for the other lines replace 
13446 \series bold
13447 toprule
13448 \series default
13449  by 
13450 \series bold
13451 midrule
13452 \series default
13453 .
13454  You can use all units listed in appendix
13455 \begin_inset space ~
13456 \end_inset
13457
13458
13459 \begin_inset CommandInset ref
13460 LatexCommand ref
13461 reference "cha:Units-available-in"
13462
13463 \end_inset
13464
13465  to set the width.
13466 \end_layout
13467
13468 \begin_layout Standard
13469 Lines that do not span all table columns can be created by setting a table
13470  line for multicolumn cells.
13471  LyX will then internally use the command 
13472 \series bold
13473
13474 \backslash
13475 cmidrule
13476 \series default
13477  to create this line.
13478  Its full scheme is
13479 \end_layout
13480
13481 \begin_layout Standard
13482
13483 \series bold
13484
13485 \backslash
13486 cmidrule[width](trim){startcol-endcol}
13487 \end_layout
13488
13489 \begin_layout Standard
13490 The options of 
13491 \series bold
13492
13493 \backslash
13494 cmidrule
13495 \series default
13496  are currently not supported by LyX so you have to use TeX-Code to be able
13497  to use them.
13498  
13499 \series bold
13500
13501 \backslash
13502 cmidrule
13503 \series default
13504 s can manually be created by inserting the command as TeX-Code as the first
13505  cell entry of the first cell of a row.
13506  The line is then drawn in the output above the current row.
13507 \end_layout
13508
13509 \begin_layout Standard
13510 The default for the width is 0.03
13511 \begin_inset space \thinspace{}
13512 \end_inset
13513
13514 em.
13515  Startcol is the number of the column where the line starts and endcol the
13516  column number where the line ends.
13517  The endcol always needs to be specified, also when the line should span
13518  only one column.
13519  The optional parameter trim could be either 
13520 \emph on
13521 l{trimwidth}
13522 \emph default
13523 , or 
13524 \emph on
13525 r{trimwidth}
13526 \emph default
13527  where the trimwidth is also optional.
13528  Using for example the parameter 
13529 \emph on
13530 l{2pt}
13531 \emph default
13532  means that the line is trimmed from its left end by 2
13533 \begin_inset space \thinspace{}
13534 \end_inset
13535
13536 pt.
13537  If you don't specify the trimwidth the lines are trimmed by the default
13538  of 0.5
13539 \begin_inset space \thinspace{}
13540 \end_inset
13541
13542 em.
13543 \end_layout
13544
13545 \begin_layout Standard
13546 \begin_inset VSpace bigskip
13547 \end_inset
13548
13549 Table
13550 \begin_inset space ~
13551 \end_inset
13552
13553
13554 \begin_inset CommandInset ref
13555 LatexCommand ref
13556 reference "tab:Example-booktabs-table"
13557
13558 \end_inset
13559
13560  was created using the commands
13561 \end_layout
13562
13563 \begin_layout Standard
13564
13565 \series bold
13566
13567 \backslash
13568 cmidrule(r){2-2}
13569 \backslash
13570 cmidrule(l){3-4}
13571 \end_layout
13572
13573 \begin_layout Standard
13574 at the beginning of the second row and
13575 \end_layout
13576
13577 \begin_layout Standard
13578
13579 \series bold
13580
13581 \backslash
13582 cmidrule(l{10pt}){1-1}
13583 \end_layout
13584
13585 \begin_layout Standard
13586 in the sixth row.
13587 \end_layout
13588
13589 \begin_layout Standard
13590 \begin_inset VSpace bigskip
13591 \end_inset
13592
13593
13594 \end_layout
13595
13596 \begin_layout Standard
13597 You might want to have overlapping 
13598 \series bold
13599
13600 \backslash
13601 cmidrule
13602 \series default
13603 s as in in Table
13604 \begin_inset space ~
13605 \end_inset
13606
13607
13608 \begin_inset CommandInset ref
13609 LatexCommand ref
13610 reference "tab:Special-booktabs-table"
13611
13612 \end_inset
13613
13614 .
13615  This can be achieved with the TeX-Code command
13616 \end_layout
13617
13618 \begin_layout Standard
13619
13620 \series bold
13621
13622 \backslash
13623 morecmidrules
13624 \end_layout
13625
13626 \begin_layout Standard
13627 The command that was used for the second row of Table
13628 \begin_inset space ~
13629 \end_inset
13630
13631
13632 \begin_inset CommandInset ref
13633 LatexCommand ref
13634 reference "tab:Special-booktabs-table"
13635
13636 \end_inset
13637
13638  is
13639 \end_layout
13640
13641 \begin_layout Standard
13642
13643 \series bold
13644
13645 \backslash
13646 cmidrule(r){2-2}
13647 \backslash
13648 cmidrule(l){3-4}
13649 \backslash
13650 morecmidrules
13651 \backslash
13652 cmidrule{2-4}
13653 \end_layout
13654
13655 \begin_layout Standard
13656 The command for the sixth row is
13657 \end_layout
13658
13659 \begin_layout Standard
13660
13661 \series bold
13662
13663 \backslash
13664 midrule
13665 \backslash
13666 morecmidrules
13667 \backslash
13668 cmidrule{3-4}
13669 \end_layout
13670
13671 \begin_layout Standard
13672 \begin_inset VSpace bigskip
13673 \end_inset
13674
13675
13676 \end_layout
13677
13678 \begin_layout Standard
13679 If you are anyway not satisfied with the border line spacing, you can use
13680  the following command to produce lines that span over all table columns
13681 \series bold
13682 :
13683 \end_layout
13684
13685 \begin_layout Standard
13686
13687 \series bold
13688
13689 \backslash
13690 specialrule{width}{space above}{space below}
13691 \end_layout
13692
13693 \begin_layout Standard
13694 For more information about these features, refer to the manual of the LaTeX-pack
13695 age 
13696 \series bold
13697 booktabs
13698 \series default
13699  
13700 \begin_inset CommandInset citation
13701 LatexCommand cite
13702 key "booktabs"
13703
13704 \end_inset
13705
13706 .
13707 \begin_inset Index idx
13708 status collapsed
13709
13710 \begin_layout Plain Layout
13711 LaTeX-packages ! booktabs
13712 \end_layout
13713
13714 \end_inset
13715
13716
13717 \end_layout
13718
13719 \begin_layout Standard
13720 \begin_inset Float table
13721 placement h
13722 wide false
13723 sideways false
13724 status open
13725
13726 \begin_layout Plain Layout
13727 \begin_inset Caption
13728
13729 \begin_layout Plain Layout
13730 \begin_inset CommandInset label
13731 LatexCommand label
13732 name "tab:Special-booktabs-table"
13733
13734 \end_inset
13735
13736 Special booktabs-table
13737 \end_layout
13738
13739 \end_inset
13740
13741
13742 \end_layout
13743
13744 \begin_layout Plain Layout
13745 \align center
13746 \begin_inset Tabular
13747 <lyxtabular version="3" rows="8" columns="4">
13748 <features booktabs="true" tabularvalignment="middle">
13749 <column alignment="center" valignment="top" width="0">
13750 <column alignment="center" valignment="top" width="0">
13751 <column alignment="center" valignment="top" width="0">
13752 <column alignment="center" valignment="top" width="0">
13753 <row>
13754 <cell alignment="center" valignment="top" topline="true" usebox="none">
13755 \begin_inset Text
13756
13757 \begin_layout Plain Layout
13758 System
13759 \end_layout
13760
13761 \end_inset
13762 </cell>
13763 <cell alignment="center" valignment="top" topline="true" usebox="none">
13764 \begin_inset Text
13765
13766 \begin_layout Plain Layout
13767 Chip
13768 \begin_inset space \thinspace{}
13769 \end_inset
13770
13771 1
13772 \end_layout
13773
13774 \end_inset
13775 </cell>
13776 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13777 \begin_inset Text
13778
13779 \begin_layout Plain Layout
13780 Chip
13781 \begin_inset space \thinspace{}
13782 \end_inset
13783
13784 2
13785 \end_layout
13786
13787 \end_inset
13788 </cell>
13789 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13790 \begin_inset Text
13791
13792 \begin_layout Plain Layout
13793
13794 \end_layout
13795
13796 \end_inset
13797 </cell>
13798 </row>
13799 <row>
13800 <cell alignment="center" valignment="top" usebox="none">
13801 \begin_inset Text
13802
13803 \begin_layout Plain Layout
13804 \begin_inset ERT
13805 status collapsed
13806
13807 \begin_layout Plain Layout
13808
13809
13810 \backslash
13811 cmidrule(r){2-2}
13812 \end_layout
13813
13814 \end_inset
13815
13816
13817 \begin_inset ERT
13818 status collapsed
13819
13820 \begin_layout Plain Layout
13821
13822
13823 \backslash
13824 cmidrule(l){3-4}
13825 \end_layout
13826
13827 \end_inset
13828
13829
13830 \begin_inset ERT
13831 status collapsed
13832
13833 \begin_layout Plain Layout
13834
13835
13836 \backslash
13837 morecmidrules 
13838 \end_layout
13839
13840 \end_inset
13841
13842
13843 \begin_inset ERT
13844 status collapsed
13845
13846 \begin_layout Plain Layout
13847
13848
13849 \backslash
13850 cmidrule{2-4}
13851 \end_layout
13852
13853 \end_inset
13854
13855 Detector thickness in µm
13856 \end_layout
13857
13858 \end_inset
13859 </cell>
13860 <cell alignment="center" valignment="top" usebox="none">
13861 \begin_inset Text
13862
13863 \begin_layout Plain Layout
13864 300
13865 \end_layout
13866
13867 \end_inset
13868 </cell>
13869 <cell alignment="center" valignment="top" usebox="none">
13870 \begin_inset Text
13871
13872 \begin_layout Plain Layout
13873 300
13874 \end_layout
13875
13876 \end_inset
13877 </cell>
13878 <cell alignment="center" valignment="top" usebox="none">
13879 \begin_inset Text
13880
13881 \begin_layout Plain Layout
13882 700
13883 \end_layout
13884
13885 \end_inset
13886 </cell>
13887 </row>
13888 <row>
13889 <cell alignment="center" valignment="top" topline="true" usebox="none">
13890 \begin_inset Text
13891
13892 \begin_layout Plain Layout
13893 Edge angle in °
13894 \end_layout
13895
13896 \end_inset
13897 </cell>
13898 <cell alignment="center" valignment="top" topline="true" usebox="none">
13899 \begin_inset Text
13900
13901 \begin_layout Plain Layout
13902 3.55
13903 \end_layout
13904
13905 \end_inset
13906 </cell>
13907 <cell alignment="center" valignment="top" topline="true" usebox="none">
13908 \begin_inset Text
13909
13910 \begin_layout Plain Layout
13911 2.71
13912 \end_layout
13913
13914 \end_inset
13915 </cell>
13916 <cell alignment="center" valignment="top" topline="true" usebox="none">
13917 \begin_inset Text
13918
13919 \begin_layout Plain Layout
13920 7.99
13921 \end_layout
13922
13923 \end_inset
13924 </cell>
13925 </row>
13926 <row topspace="default">
13927 <cell alignment="center" valignment="top" usebox="none">
13928 \begin_inset Text
13929
13930 \begin_layout Plain Layout
13931 Spatial resolution in µm
13932 \end_layout
13933
13934 \end_inset
13935 </cell>
13936 <cell alignment="center" valignment="top" usebox="none">
13937 \begin_inset Text
13938
13939 \begin_layout Plain Layout
13940 4.26
13941 \end_layout
13942
13943 \end_inset
13944 </cell>
13945 <cell alignment="center" valignment="top" usebox="none">
13946 \begin_inset Text
13947
13948 \begin_layout Plain Layout
13949 10.17
13950 \end_layout
13951
13952 \end_inset
13953 </cell>
13954 <cell alignment="center" valignment="top" usebox="none">
13955 \begin_inset Text
13956
13957 \begin_layout Plain Layout
13958 10.56
13959 \end_layout
13960
13961 \end_inset
13962 </cell>
13963 </row>
13964 <row topspace="default">
13965 <cell alignment="center" valignment="top" usebox="none">
13966 \begin_inset Text
13967
13968 \begin_layout Plain Layout
13969 MTF at 
13970 \begin_inset Formula $f_{\mathrm{max}}$
13971 \end_inset
13972
13973
13974 \end_layout
13975
13976 \end_inset
13977 </cell>
13978 <cell alignment="center" valignment="top" usebox="none">
13979 \begin_inset Text
13980
13981 \begin_layout Plain Layout
13982 0.53
13983 \end_layout
13984
13985 \end_inset
13986 </cell>
13987 <cell alignment="center" valignment="top" usebox="none">
13988 \begin_inset Text
13989
13990 \begin_layout Plain Layout
13991 0.37
13992 \end_layout
13993
13994 \end_inset
13995 </cell>
13996 <cell alignment="center" valignment="top" usebox="none">
13997 \begin_inset Text
13998
13999 \begin_layout Plain Layout
14000 0.39
14001 \end_layout
14002
14003 \end_inset
14004 </cell>
14005 </row>
14006 <row>
14007 <cell alignment="center" valignment="top" topline="true" usebox="none">
14008 \begin_inset Text
14009
14010 \begin_layout Plain Layout
14011 \begin_inset ERT
14012 status collapsed
14013
14014 \begin_layout Plain Layout
14015
14016
14017 \backslash
14018 morecmidrules 
14019 \end_layout
14020
14021 \end_inset
14022
14023
14024 \begin_inset ERT
14025 status collapsed
14026
14027 \begin_layout Plain Layout
14028
14029
14030 \backslash
14031 cmidrule{3-4}
14032 \end_layout
14033
14034 \end_inset
14035
14036 LSF-spatial resolution
14037 \end_layout
14038
14039 \end_inset
14040 </cell>
14041 <cell alignment="center" valignment="top" topline="true" usebox="none">
14042 \begin_inset Text
14043
14044 \begin_layout Plain Layout
14045
14046 \end_layout
14047
14048 \end_inset
14049 </cell>
14050 <cell alignment="center" valignment="top" topline="true" usebox="none">
14051 \begin_inset Text
14052
14053 \begin_layout Plain Layout
14054
14055 \end_layout
14056
14057 \end_inset
14058 </cell>
14059 <cell alignment="center" valignment="top" topline="true" usebox="none">
14060 \begin_inset Text
14061
14062 \begin_layout Plain Layout
14063
14064 \end_layout
14065
14066 \end_inset
14067 </cell>
14068 </row>
14069 <row>
14070 <cell alignment="center" valignment="top" usebox="none">
14071 \begin_inset Text
14072
14073 \begin_layout Plain Layout
14074 in µm
14075 \end_layout
14076
14077 \end_inset
14078 </cell>
14079 <cell alignment="center" valignment="top" usebox="none">
14080 \begin_inset Text
14081
14082 \begin_layout Plain Layout
14083 129.7
14084 \end_layout
14085
14086 \end_inset
14087 </cell>
14088 <cell alignment="center" valignment="top" usebox="none">
14089 \begin_inset Text
14090
14091 \begin_layout Plain Layout
14092 52.75
14093 \end_layout
14094
14095 \end_inset
14096 </cell>
14097 <cell alignment="center" valignment="top" usebox="none">
14098 \begin_inset Text
14099
14100 \begin_layout Plain Layout
14101 50.78
14102 \end_layout
14103
14104 \end_inset
14105 </cell>
14106 </row>
14107 <row>
14108 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14109 \begin_inset Text
14110
14111 \begin_layout Plain Layout
14112 in % of pixel size
14113 \end_layout
14114
14115 \end_inset
14116 </cell>
14117 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14118 \begin_inset Text
14119
14120 \begin_layout Plain Layout
14121 76.3
14122 \end_layout
14123
14124 \end_inset
14125 </cell>
14126 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14127 \begin_inset Text
14128
14129 \begin_layout Plain Layout
14130 95.9
14131 \end_layout
14132
14133 \end_inset
14134 </cell>
14135 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14136 \begin_inset Text
14137
14138 \begin_layout Plain Layout
14139 92.3
14140 \end_layout
14141
14142 \end_inset
14143 </cell>
14144 </row>
14145 </lyxtabular>
14146
14147 \end_inset
14148
14149
14150 \end_layout
14151
14152 \end_inset
14153
14154
14155 \end_layout
14156
14157 \begin_layout Section
14158 Vertical Table Alignment
14159 \begin_inset Index idx
14160 status collapsed
14161
14162 \begin_layout Plain Layout
14163 Table ! Alignment
14164 \end_layout
14165
14166 \end_inset
14167
14168
14169 \end_layout
14170
14171 \begin_layout Standard
14172 To align tables vertically in a text line the table must be inside a box.
14173  The box can then be vertically aligned as described in section
14174 \begin_inset space ~
14175 \end_inset
14176
14177
14178 \begin_inset CommandInset ref
14179 LatexCommand ref
14180 reference "sec:Box-Dialog"
14181
14182 \end_inset
14183
14184 .
14185 \end_layout
14186
14187 \begin_layout Standard
14188 In the following example the tables are inside a minipage
14189 \begin_inset Foot
14190 status collapsed
14191
14192 \begin_layout Plain Layout
14193 Minipages are described in section
14194 \begin_inset space ~
14195 \end_inset
14196
14197
14198 \begin_inset CommandInset ref
14199 LatexCommand ref
14200 reference "sec:Minipages"
14201
14202 \end_inset
14203
14204 .
14205 \end_layout
14206
14207 \end_inset
14208
14209  box that has a width of 15
14210 \begin_inset space \thinspace{}
14211 \end_inset
14212
14213 col%:
14214 \end_layout
14215
14216 \begin_layout Itemize
14217 test 
14218 \begin_inset Box Frameless
14219 position "t"
14220 hor_pos "c"
14221 has_inner_box 1
14222 inner_pos "c"
14223 use_parbox 0
14224 use_makebox 0
14225 width "15col%"
14226 special "none"
14227 height "1in"
14228 height_special "totalheight"
14229 status collapsed
14230
14231 \begin_layout Plain Layout
14232 \begin_inset Tabular
14233 <lyxtabular version="3" rows="3" columns="3">
14234 <features tabularvalignment="middle">
14235 <column alignment="center" valignment="top" width="0">
14236 <column alignment="center" valignment="top" width="0">
14237 <column alignment="center" valignment="top" width="0">
14238 <row>
14239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14240 \begin_inset Text
14241
14242 \begin_layout Plain Layout
14243 a
14244 \end_layout
14245
14246 \end_inset
14247 </cell>
14248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14249 \begin_inset Text
14250
14251 \begin_layout Plain Layout
14252 d
14253 \end_layout
14254
14255 \end_inset
14256 </cell>
14257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14258 \begin_inset Text
14259
14260 \begin_layout Plain Layout
14261 g
14262 \end_layout
14263
14264 \end_inset
14265 </cell>
14266 </row>
14267 <row>
14268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14269 \begin_inset Text
14270
14271 \begin_layout Plain Layout
14272 b
14273 \end_layout
14274
14275 \end_inset
14276 </cell>
14277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14278 \begin_inset Text
14279
14280 \begin_layout Plain Layout
14281 e
14282 \end_layout
14283
14284 \end_inset
14285 </cell>
14286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14287 \begin_inset Text
14288
14289 \begin_layout Plain Layout
14290 h
14291 \end_layout
14292
14293 \end_inset
14294 </cell>
14295 </row>
14296 <row>
14297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14298 \begin_inset Text
14299
14300 \begin_layout Plain Layout
14301 c
14302 \end_layout
14303
14304 \end_inset
14305 </cell>
14306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14307 \begin_inset Text
14308
14309 \begin_layout Plain Layout
14310 f
14311 \end_layout
14312
14313 \end_inset
14314 </cell>
14315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14316 \begin_inset Text
14317
14318 \begin_layout Plain Layout
14319 i
14320 \end_layout
14321
14322 \end_inset
14323 </cell>
14324 </row>
14325 </lyxtabular>
14326
14327 \end_inset
14328
14329
14330 \end_layout
14331
14332 \end_inset
14333
14334  test 
14335 \begin_inset ERT
14336 status collapsed
14337
14338 \begin_layout Plain Layout
14339
14340
14341 \backslash
14342 raisebox{0.85
14343 \backslash
14344 baselineskip}{
14345 \end_layout
14346
14347 \end_inset
14348
14349
14350 \begin_inset Box Frameless
14351 position "t"
14352 hor_pos "c"
14353 has_inner_box 1
14354 inner_pos "c"
14355 use_parbox 0
14356 use_makebox 0
14357 width "15col%"
14358 special "none"
14359 height "1in"
14360 height_special "totalheight"
14361 status collapsed
14362
14363 \begin_layout Plain Layout
14364 \begin_inset Tabular
14365 <lyxtabular version="3" rows="3" columns="3">
14366 <features tabularvalignment="middle">
14367 <column alignment="center" valignment="top" width="0">
14368 <column alignment="center" valignment="top" width="0">
14369 <column alignment="center" valignment="top" width="0">
14370 <row>
14371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14372 \begin_inset Text
14373
14374 \begin_layout Plain Layout
14375 a
14376 \end_layout
14377
14378 \end_inset
14379 </cell>
14380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14381 \begin_inset Text
14382
14383 \begin_layout Plain Layout
14384 d
14385 \end_layout
14386
14387 \end_inset
14388 </cell>
14389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14390 \begin_inset Text
14391
14392 \begin_layout Plain Layout
14393 g
14394 \end_layout
14395
14396 \end_inset
14397 </cell>
14398 </row>
14399 <row>
14400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14401 \begin_inset Text
14402
14403 \begin_layout Plain Layout
14404 b
14405 \end_layout
14406
14407 \end_inset
14408 </cell>
14409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14410 \begin_inset Text
14411
14412 \begin_layout Plain Layout
14413 e
14414 \end_layout
14415
14416 \end_inset
14417 </cell>
14418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14419 \begin_inset Text
14420
14421 \begin_layout Plain Layout
14422 h
14423 \end_layout
14424
14425 \end_inset
14426 </cell>
14427 </row>
14428 <row>
14429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14430 \begin_inset Text
14431
14432 \begin_layout Plain Layout
14433 c
14434 \end_layout
14435
14436 \end_inset
14437 </cell>
14438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14439 \begin_inset Text
14440
14441 \begin_layout Plain Layout
14442 f
14443 \end_layout
14444
14445 \end_inset
14446 </cell>
14447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14448 \begin_inset Text
14449
14450 \begin_layout Plain Layout
14451 i
14452 \end_layout
14453
14454 \end_inset
14455 </cell>
14456 </row>
14457 </lyxtabular>
14458
14459 \end_inset
14460
14461
14462 \end_layout
14463
14464 \end_inset
14465
14466
14467 \begin_inset ERT
14468 status collapsed
14469
14470 \begin_layout Plain Layout
14471
14472 }
14473 \end_layout
14474
14475 \end_inset
14476
14477
14478 \end_layout
14479
14480 \begin_layout Itemize
14481 test 
14482 \begin_inset Box Frameless
14483 position "c"
14484 hor_pos "c"
14485 has_inner_box 1
14486 inner_pos "c"
14487 use_parbox 0
14488 use_makebox 0
14489 width "15col%"
14490 special "none"
14491 height "1in"
14492 height_special "totalheight"
14493 status collapsed
14494
14495 \begin_layout Plain Layout
14496 \begin_inset Tabular
14497 <lyxtabular version="3" rows="3" columns="3">
14498 <features tabularvalignment="middle">
14499 <column alignment="center" valignment="top" width="0">
14500 <column alignment="center" valignment="top" width="0">
14501 <column alignment="center" valignment="top" width="0">
14502 <row>
14503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14504 \begin_inset Text
14505
14506 \begin_layout Plain Layout
14507 a
14508 \end_layout
14509
14510 \end_inset
14511 </cell>
14512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14513 \begin_inset Text
14514
14515 \begin_layout Plain Layout
14516 d
14517 \end_layout
14518
14519 \end_inset
14520 </cell>
14521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14522 \begin_inset Text
14523
14524 \begin_layout Plain Layout
14525 g
14526 \end_layout
14527
14528 \end_inset
14529 </cell>
14530 </row>
14531 <row>
14532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14533 \begin_inset Text
14534
14535 \begin_layout Plain Layout
14536 b
14537 \end_layout
14538
14539 \end_inset
14540 </cell>
14541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14542 \begin_inset Text
14543
14544 \begin_layout Plain Layout
14545 e
14546 \end_layout
14547
14548 \end_inset
14549 </cell>
14550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14551 \begin_inset Text
14552
14553 \begin_layout Plain Layout
14554 h
14555 \end_layout
14556
14557 \end_inset
14558 </cell>
14559 </row>
14560 <row>
14561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14562 \begin_inset Text
14563
14564 \begin_layout Plain Layout
14565 c
14566 \end_layout
14567
14568 \end_inset
14569 </cell>
14570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14571 \begin_inset Text
14572
14573 \begin_layout Plain Layout
14574 f
14575 \end_layout
14576
14577 \end_inset
14578 </cell>
14579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14580 \begin_inset Text
14581
14582 \begin_layout Plain Layout
14583 i
14584 \end_layout
14585
14586 \end_inset
14587 </cell>
14588 </row>
14589 </lyxtabular>
14590
14591 \end_inset
14592
14593
14594 \end_layout
14595
14596 \end_inset
14597
14598
14599 \end_layout
14600
14601 \begin_layout Itemize
14602 test 
14603 \begin_inset Box Frameless
14604 position "b"
14605 hor_pos "c"
14606 has_inner_box 1
14607 inner_pos "c"
14608 use_parbox 0
14609 use_makebox 0
14610 width "15col%"
14611 special "none"
14612 height "1in"
14613 height_special "totalheight"
14614 status collapsed
14615
14616 \begin_layout Plain Layout
14617 \begin_inset Tabular
14618 <lyxtabular version="3" rows="3" columns="3">
14619 <features tabularvalignment="middle">
14620 <column alignment="center" valignment="top" width="0">
14621 <column alignment="center" valignment="top" width="0">
14622 <column alignment="center" valignment="top" width="0">
14623 <row>
14624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14625 \begin_inset Text
14626
14627 \begin_layout Plain Layout
14628 a
14629 \end_layout
14630
14631 \end_inset
14632 </cell>
14633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14634 \begin_inset Text
14635
14636 \begin_layout Plain Layout
14637 d
14638 \end_layout
14639
14640 \end_inset
14641 </cell>
14642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14643 \begin_inset Text
14644
14645 \begin_layout Plain Layout
14646 g
14647 \end_layout
14648
14649 \end_inset
14650 </cell>
14651 </row>
14652 <row>
14653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14654 \begin_inset Text
14655
14656 \begin_layout Plain Layout
14657 b
14658 \end_layout
14659
14660 \end_inset
14661 </cell>
14662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14663 \begin_inset Text
14664
14665 \begin_layout Plain Layout
14666 e
14667 \end_layout
14668
14669 \end_inset
14670 </cell>
14671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14672 \begin_inset Text
14673
14674 \begin_layout Plain Layout
14675 h
14676 \end_layout
14677
14678 \end_inset
14679 </cell>
14680 </row>
14681 <row>
14682 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14683 \begin_inset Text
14684
14685 \begin_layout Plain Layout
14686 c
14687 \end_layout
14688
14689 \end_inset
14690 </cell>
14691 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14692 \begin_inset Text
14693
14694 \begin_layout Plain Layout
14695 f
14696 \end_layout
14697
14698 \end_inset
14699 </cell>
14700 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14701 \begin_inset Text
14702
14703 \begin_layout Plain Layout
14704 i
14705 \end_layout
14706
14707 \end_inset
14708 </cell>
14709 </row>
14710 </lyxtabular>
14711
14712 \end_inset
14713
14714
14715 \end_layout
14716
14717 \end_inset
14718
14719  test 
14720 \begin_inset ERT
14721 status collapsed
14722
14723 \begin_layout Plain Layout
14724
14725
14726 \backslash
14727 raisebox{-0.32
14728 \backslash
14729 baselineskip}{
14730 \end_layout
14731
14732 \end_inset
14733
14734
14735 \begin_inset Box Frameless
14736 position "b"
14737 hor_pos "c"
14738 has_inner_box 1
14739 inner_pos "c"
14740 use_parbox 0
14741 use_makebox 0
14742 width "15col%"
14743 special "none"
14744 height "1in"
14745 height_special "totalheight"
14746 status collapsed
14747
14748 \begin_layout Plain Layout
14749 \begin_inset Tabular
14750 <lyxtabular version="3" rows="3" columns="3">
14751 <features tabularvalignment="middle">
14752 <column alignment="center" valignment="top" width="0">
14753 <column alignment="center" valignment="top" width="0">
14754 <column alignment="center" valignment="top" width="0">
14755 <row>
14756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14757 \begin_inset Text
14758
14759 \begin_layout Plain Layout
14760 a
14761 \end_layout
14762
14763 \end_inset
14764 </cell>
14765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14766 \begin_inset Text
14767
14768 \begin_layout Plain Layout
14769 d
14770 \end_layout
14771
14772 \end_inset
14773 </cell>
14774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14775 \begin_inset Text
14776
14777 \begin_layout Plain Layout
14778 g
14779 \end_layout
14780
14781 \end_inset
14782 </cell>
14783 </row>
14784 <row>
14785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14786 \begin_inset Text
14787
14788 \begin_layout Plain Layout
14789 b
14790 \end_layout
14791
14792 \end_inset
14793 </cell>
14794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14795 \begin_inset Text
14796
14797 \begin_layout Plain Layout
14798 e
14799 \end_layout
14800
14801 \end_inset
14802 </cell>
14803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14804 \begin_inset Text
14805
14806 \begin_layout Plain Layout
14807 h
14808 \end_layout
14809
14810 \end_inset
14811 </cell>
14812 </row>
14813 <row>
14814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14815 \begin_inset Text
14816
14817 \begin_layout Plain Layout
14818 c
14819 \end_layout
14820
14821 \end_inset
14822 </cell>
14823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14824 \begin_inset Text
14825
14826 \begin_layout Plain Layout
14827 f
14828 \end_layout
14829
14830 \end_inset
14831 </cell>
14832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14833 \begin_inset Text
14834
14835 \begin_layout Plain Layout
14836 i
14837 \end_layout
14838
14839 \end_inset
14840 </cell>
14841 </row>
14842 </lyxtabular>
14843
14844 \end_inset
14845
14846
14847 \end_layout
14848
14849 \end_inset
14850
14851
14852 \begin_inset ERT
14853 status collapsed
14854
14855 \begin_layout Plain Layout
14856
14857 }
14858 \end_layout
14859
14860 \end_inset
14861
14862
14863 \end_layout
14864
14865 \begin_layout Standard
14866 As you will see, the content of the first and last table row is not correctly
14867  aligned.
14868  To get this alignment, the minipage box must be set into a raisebox
14869 \begin_inset Foot
14870 status collapsed
14871
14872 \begin_layout Plain Layout
14873 Raiseboxes are described in section
14874 \begin_inset space ~
14875 \end_inset
14876
14877
14878 \begin_inset CommandInset ref
14879 LatexCommand ref
14880 reference "sub:Vertical-Alignment"
14881
14882 \end_inset
14883
14884 .
14885 \end_layout
14886
14887 \end_inset
14888
14889 .
14890  In the example above the second table in the first item is aligned using
14891  the TeX-Code-command
14892 \end_layout
14893
14894 \begin_layout Standard
14895
14896 \series bold
14897
14898 \backslash
14899 raisebox{0.85
14900 \backslash
14901 baselineskip}{
14902 \end_layout
14903
14904 \begin_layout Standard
14905 before the box.
14906  After the box the closing brace 
14907 \series bold
14908 }
14909 \series default
14910  is inserted as TeX-Code.
14911  For the second table in the last item the command
14912 \end_layout
14913
14914 \begin_layout Standard
14915
14916 \series bold
14917
14918 \backslash
14919 raisebox{-0.32
14920 \backslash
14921 baselineskip}{
14922 \end_layout
14923
14924 \begin_layout Standard
14925 is used.
14926 \end_layout
14927
14928 \begin_layout Standard
14929 \begin_inset Note Greyedout
14930 status open
14931
14932 \begin_layout Plain Layout
14933
14934 \series bold
14935 Note:
14936 \series default
14937  The alignment of the table row content to the surrounding text line is
14938  not exact.
14939  The required value for the 
14940 \series bold
14941
14942 \backslash
14943 raisebox
14944 \series default
14945  command for this alignment depends on the document font, the font size,
14946  and the table line thickness.
14947 \end_layout
14948
14949 \end_inset
14950
14951
14952 \end_layout
14953
14954 \begin_layout Section
14955 Colored Tables
14956 \begin_inset CommandInset label
14957 LatexCommand label
14958 name "sec:Colored-Tables"
14959
14960 \end_inset
14961
14962
14963 \begin_inset Index idx
14964 status collapsed
14965
14966 \begin_layout Plain Layout
14967 Table ! Color
14968 \end_layout
14969
14970 \end_inset
14971
14972
14973 \end_layout
14974
14975 \begin_layout Subsection
14976 Colored Cells
14977 \begin_inset Index idx
14978 status collapsed
14979
14980 \begin_layout Plain Layout
14981 Table Color ! for Cells
14982 \end_layout
14983
14984 \end_inset
14985
14986
14987 \begin_inset Index idx
14988 status collapsed
14989
14990 \begin_layout Plain Layout
14991 Color ! for Table Cells
14992 \end_layout
14993
14994 \end_inset
14995
14996
14997 \end_layout
14998
14999 \begin_layout Standard
15000 \begin_inset Float table
15001 placement h
15002 wide false
15003 sideways false
15004 status open
15005
15006 \begin_layout Plain Layout
15007 \begin_inset Caption
15008
15009 \begin_layout Plain Layout
15010 \begin_inset CommandInset label
15011 LatexCommand label
15012 name "tab:Table-colored-without"
15013
15014 \end_inset
15015
15016 Table colored without using the package 
15017 \series bold
15018 colortbl
15019 \series default
15020
15021 \begin_inset Argument
15022 status collapsed
15023
15024 \begin_layout Plain Layout
15025 Table without colortbl
15026 \end_layout
15027
15028 \end_inset
15029
15030
15031 \end_layout
15032
15033 \end_inset
15034
15035
15036 \end_layout
15037
15038 \begin_layout Plain Layout
15039 \align center
15040 \begin_inset Tabular
15041 <lyxtabular version="3" rows="3" columns="3">
15042 <features tabularvalignment="middle">
15043 <column alignment="center" valignment="top" width="0">
15044 <column alignment="center" valignment="top" width="0">
15045 <column alignment="center" valignment="top" width="0">
15046 <row>
15047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15048 \begin_inset Text
15049
15050 \begin_layout Plain Layout
15051
15052 \color green
15053 a
15054 \end_layout
15055
15056 \end_inset
15057 </cell>
15058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15059 \begin_inset Text
15060
15061 \begin_layout Plain Layout
15062
15063 \color red
15064 b
15065 \end_layout
15066
15067 \end_inset
15068 </cell>
15069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15070 \begin_inset Text
15071
15072 \begin_layout Plain Layout
15073
15074 \color red
15075 c
15076 \end_layout
15077
15078 \end_inset
15079 </cell>
15080 </row>
15081 <row>
15082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15083 \begin_inset Text
15084
15085 \begin_layout Plain Layout
15086
15087 \color green
15088 d
15089 \end_layout
15090
15091 \end_inset
15092 </cell>
15093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15094 \begin_inset Text
15095
15096 \begin_layout Plain Layout
15097
15098 \color blue
15099 e
15100 \end_layout
15101
15102 \end_inset
15103 </cell>
15104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15105 \begin_inset Text
15106
15107 \begin_layout Plain Layout
15108
15109 \color blue
15110 f
15111 \end_layout
15112
15113 \end_inset
15114 </cell>
15115 </row>
15116 <row>
15117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15118 \begin_inset Text
15119
15120 \begin_layout Plain Layout
15121
15122 \color green
15123 g
15124 \end_layout
15125
15126 \end_inset
15127 </cell>
15128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15129 \begin_inset Text
15130
15131 \begin_layout Plain Layout
15132
15133 \color blue
15134 h
15135 \end_layout
15136
15137 \end_inset
15138 </cell>
15139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15140 \begin_inset Text
15141
15142 \begin_layout Plain Layout
15143
15144 \color blue
15145 i
15146 \end_layout
15147
15148 \end_inset
15149 </cell>
15150 </row>
15151 </lyxtabular>
15152
15153 \end_inset
15154
15155
15156 \end_layout
15157
15158 \end_inset
15159
15160
15161 \end_layout
15162
15163 \begin_layout Standard
15164 If you only need colored text, mark the cells and choose a color in the
15165  menu 
15166 \family sans
15167 Edit\SpecialChar \menuseparator
15168 Text
15169 \begin_inset space ~
15170 \end_inset
15171
15172 Style
15173 \family default
15174 .
15175  This was used to create Table
15176 \begin_inset space ~
15177 \end_inset
15178
15179
15180 \begin_inset CommandInset ref
15181 LatexCommand ref
15182 reference "tab:Table-colored-without"
15183
15184 \end_inset
15185
15186 .
15187  In any other case you have to use the LaTeX-package 
15188 \series bold
15189 colortbl
15190 \series default
15191 .
15192 \begin_inset Index idx
15193 status collapsed
15194
15195 \begin_layout Plain Layout
15196 LaTeX-packages ! colortbl
15197 \end_layout
15198
15199 \end_inset
15200
15201
15202 \end_layout
15203
15204 \begin_layout Standard
15205 \begin_inset ERT
15206 status collapsed
15207
15208 \begin_layout Plain Layout
15209
15210
15211 \backslash
15212 ifcolortbl
15213 \end_layout
15214
15215 \end_inset
15216
15217
15218 \begin_inset Note Note
15219 status open
15220
15221 \begin_layout Plain Layout
15222 The following section part will only be displayed when the LaTeX-package
15223  
15224 \series bold
15225 colortbl
15226 \series default
15227  is installed.
15228 \end_layout
15229
15230 \end_inset
15231
15232
15233 \end_layout
15234
15235 \begin_layout Standard
15236 To create colored tables, 
15237 \series bold
15238 colortbl
15239 \series default
15240  must be loaded in the preamble with the line
15241 \end_layout
15242
15243 \begin_layout Standard
15244
15245 \series bold
15246
15247 \backslash
15248 usepackage{colortbl}
15249 \end_layout
15250
15251 \begin_layout Standard
15252 The color of a column is adjusted with the command
15253 \end_layout
15254
15255 \begin_layout Standard
15256
15257 \series bold
15258
15259 \backslash
15260 columncolor{name of color}
15261 \end_layout
15262
15263 \begin_layout Standard
15264 inside the command 
15265 \series bold
15266 >{ }
15267 \series default
15268 .
15269  More about the command 
15270 \series bold
15271 >{}
15272 \series default
15273  is contained in section
15274 \begin_inset space ~
15275 \end_inset
15276
15277
15278 \begin_inset CommandInset ref
15279 LatexCommand ref
15280 reference "sub:Multicolumn-Calculations"
15281
15282 \end_inset
15283
15284 .
15285 \end_layout
15286
15287 \begin_layout Standard
15288 The following color names are predefined:
15289 \end_layout
15290
15291 \begin_layout Standard
15292
15293 \family sans
15294 red
15295 \family default
15296
15297 \family sans
15298 green
15299 \family default
15300
15301 \family sans
15302 yellow
15303 \family default
15304
15305 \family sans
15306 blue
15307 \family default
15308
15309 \family sans
15310 cyan
15311 \family default
15312
15313 \family sans
15314 magenta
15315 \family default
15316
15317 \family sans
15318 black
15319 \family default
15320  and 
15321 \family sans
15322 white
15323 \end_layout
15324
15325 \begin_layout Standard
15326 \begin_inset VSpace medskip
15327 \end_inset
15328
15329
15330 \end_layout
15331
15332 \begin_layout Standard
15333 You can also define your own color with the command
15334 \end_layout
15335
15336 \begin_layout Standard
15337
15338 \series bold
15339
15340 \backslash
15341 definecolor{color name}{color model}{color values}
15342 \end_layout
15343
15344 \begin_layout Standard
15345 The color model can be
15346 \end_layout
15347
15348 \begin_layout Labeling
15349 \labelwidthstring 00.00.0000
15350 cmyk: cyan, magenta, yellow, black
15351 \end_layout
15352
15353 \begin_layout Labeling
15354 \labelwidthstring 00.00.0000
15355 rgb: red, green blue
15356 \end_layout
15357
15358 \begin_layout Labeling
15359 \labelwidthstring 00.00.0000
15360 gray gray
15361 \end_layout
15362
15363 \begin_layout Standard
15364 and the color values are comma separated numbers between 0 and 1 describing
15365  the factor for the corresponding color of the color model.
15366 \end_layout
15367
15368 \begin_layout Standard
15369 You can e.
15370 \begin_inset space \thinspace{}
15371 \end_inset
15372
15373 g.
15374 \begin_inset space \space{}
15375 \end_inset
15376
15377 define the color "
15378 \emph on
15379 darkgreen
15380 \emph default
15381 " in the preamble with
15382 \end_layout
15383
15384 \begin_layout Standard
15385
15386 \series bold
15387
15388 \backslash
15389 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
15390 \end_layout
15391
15392 \begin_layout Standard
15393 and the color "
15394 \emph on
15395 lightgray
15396 \emph default
15397 " with
15398 \end_layout
15399
15400 \begin_layout Standard
15401
15402 \series bold
15403
15404 \backslash
15405 definecolor{lightgray}{gray}{0.8}
15406 \end_layout
15407
15408 \begin_layout Standard
15409 \begin_inset VSpace medskip
15410 \end_inset
15411
15412
15413 \end_layout
15414
15415 \begin_layout Standard
15416 Lines are colored with the command
15417 \end_layout
15418
15419 \begin_layout Standard
15420
15421 \series bold
15422
15423 \backslash
15424 rowcolor{name of color}
15425 \end_layout
15426
15427 \begin_layout Standard
15428 and cells are colored with the command
15429 \end_layout
15430
15431 \begin_layout Standard
15432
15433 \series bold
15434
15435 \backslash
15436 cellcolor{name of color}
15437 \end_layout
15438
15439 \begin_layout Standard
15440 Both commands are inserted at the beginning of a cell as TeX-Code.
15441 \end_layout
15442
15443 \begin_layout Standard
15444 To color characters in the table, mark the cells and use the LyX menu 
15445 \family sans
15446 Edit\SpecialChar \menuseparator
15447 Text
15448 \begin_inset space ~
15449 \end_inset
15450
15451 Style
15452 \family default
15453 .
15454  If a cell contains TeX-Code mark only the characters, otherwise the colored
15455  TeX-Code will cause LaTeX-errors.
15456 \end_layout
15457
15458 \begin_layout Standard
15459 \begin_inset Note Greyedout
15460 status open
15461
15462 \begin_layout Plain Layout
15463
15464 \series bold
15465 Note:
15466 \series default
15467  Not all DVI-viewers are able to display self-defined colors.
15468 \end_layout
15469
15470 \end_inset
15471
15472
15473 \end_layout
15474
15475 \begin_layout Standard
15476 \begin_inset VSpace bigskip
15477 \end_inset
15478
15479
15480 \end_layout
15481
15482 \begin_layout Standard
15483 To create Table
15484 \begin_inset space ~
15485 \end_inset
15486
15487
15488 \begin_inset CommandInset ref
15489 LatexCommand ref
15490 reference "tab:Table-colored-using"
15491
15492 \end_inset
15493
15494  do the following: The color of the first column should be 
15495 \emph on
15496 darkgreen
15497 \emph default
15498 .
15499  So insert
15500 \end_layout
15501
15502 \begin_layout Standard
15503
15504 \series bold
15505 >{
15506 \backslash
15507 columncolor{darkgreen}
15508 \backslash
15509 centering}c
15510 \end_layout
15511
15512 \begin_layout Standard
15513 as LaTeX-argument for this column.
15514  The first row should be blue, therefore the TeX-Code command
15515 \end_layout
15516
15517 \begin_layout Standard
15518
15519 \series bold
15520
15521 \backslash
15522 rowcolor{cyan}
15523 \end_layout
15524
15525 \begin_layout Standard
15526 is inserted to the first cell of this row.
15527  Note that this overwrites the column color for the first cell.
15528  The last cell of the last row is colored magenta by inserting the TeX-Code
15529  command
15530 \end_layout
15531
15532 \begin_layout Standard
15533
15534 \series bold
15535
15536 \backslash
15537 cellcolor{magenta}
15538 \end_layout
15539
15540 \begin_layout Standard
15541 The characters could now be colored using the menu 
15542 \family sans
15543 Edit\SpecialChar \menuseparator
15544 Text
15545 \begin_inset space ~
15546 \end_inset
15547
15548 Style
15549 \family default
15550 .
15551 \end_layout
15552
15553 \begin_layout Standard
15554 \begin_inset Float table
15555 placement h
15556 wide false
15557 sideways false
15558 status open
15559
15560 \begin_layout Plain Layout
15561 \begin_inset Caption
15562
15563 \begin_layout Plain Layout
15564 \begin_inset CommandInset label
15565 LatexCommand label
15566 name "tab:Table-colored-using"
15567
15568 \end_inset
15569
15570 Table colored using the package 
15571 \series bold
15572 colortbl
15573 \series default
15574
15575 \begin_inset Argument
15576 status collapsed
15577
15578 \begin_layout Plain Layout
15579 Table with colortbl
15580 \end_layout
15581
15582 \end_inset
15583
15584
15585 \end_layout
15586
15587 \end_inset
15588
15589
15590 \end_layout
15591
15592 \begin_layout Plain Layout
15593 \align center
15594 \begin_inset Tabular
15595 <lyxtabular version="3" rows="3" columns="3">
15596 <features tabularvalignment="middle">
15597 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15598 <column alignment="center" valignment="top" width="0">
15599 <column alignment="center" valignment="top" width="0">
15600 <row>
15601 <cell alignment="center" valignment="top" usebox="none">
15602 \begin_inset Text
15603
15604 \begin_layout Plain Layout
15605 \begin_inset ERT
15606 status collapsed
15607
15608 \begin_layout Plain Layout
15609
15610
15611 \backslash
15612 rowcolor{cyan}
15613 \end_layout
15614
15615 \end_inset
15616
15617
15618 \color magenta
15619 a
15620 \end_layout
15621
15622 \end_inset
15623 </cell>
15624 <cell alignment="center" valignment="top" usebox="none">
15625 \begin_inset Text
15626
15627 \begin_layout Plain Layout
15628
15629 \color red
15630 b
15631 \end_layout
15632
15633 \end_inset
15634 </cell>
15635 <cell alignment="center" valignment="top" usebox="none">
15636 \begin_inset Text
15637
15638 \begin_layout Plain Layout
15639
15640 \color red
15641 c
15642 \end_layout
15643
15644 \end_inset
15645 </cell>
15646 </row>
15647 <row>
15648 <cell alignment="center" valignment="top" usebox="none">
15649 \begin_inset Text
15650
15651 \begin_layout Plain Layout
15652
15653 \color yellow
15654 d
15655 \end_layout
15656
15657 \end_inset
15658 </cell>
15659 <cell alignment="center" valignment="top" usebox="none">
15660 \begin_inset Text
15661
15662 \begin_layout Plain Layout
15663
15664 \color blue
15665 e
15666 \end_layout
15667
15668 \end_inset
15669 </cell>
15670 <cell alignment="center" valignment="top" usebox="none">
15671 \begin_inset Text
15672
15673 \begin_layout Plain Layout
15674
15675 \color blue
15676 f
15677 \end_layout
15678
15679 \end_inset
15680 </cell>
15681 </row>
15682 <row>
15683 <cell alignment="center" valignment="top" usebox="none">
15684 \begin_inset Text
15685
15686 \begin_layout Plain Layout
15687
15688 \color yellow
15689 g
15690 \end_layout
15691
15692 \end_inset
15693 </cell>
15694 <cell alignment="center" valignment="top" usebox="none">
15695 \begin_inset Text
15696
15697 \begin_layout Plain Layout
15698
15699 \color blue
15700 h
15701 \end_layout
15702
15703 \end_inset
15704 </cell>
15705 <cell alignment="center" valignment="top" usebox="none">
15706 \begin_inset Text
15707
15708 \begin_layout Plain Layout
15709 \begin_inset ERT
15710 status collapsed
15711
15712 \begin_layout Plain Layout
15713
15714
15715 \backslash
15716 cellcolor{magenta}
15717 \end_layout
15718
15719 \end_inset
15720
15721
15722 \color green
15723 i
15724 \end_layout
15725
15726 \end_inset
15727 </cell>
15728 </row>
15729 </lyxtabular>
15730
15731 \end_inset
15732
15733
15734 \end_layout
15735
15736 \end_inset
15737
15738
15739 \end_layout
15740
15741 \begin_layout Standard
15742 \begin_inset ERT
15743 status collapsed
15744
15745 \begin_layout Plain Layout
15746
15747
15748 \backslash
15749 else
15750 \end_layout
15751
15752 \end_inset
15753
15754
15755 \begin_inset Note Note
15756 status open
15757
15758 \begin_layout Plain Layout
15759 The following will be displayed when the LaTeX-package 
15760 \series bold
15761 colortbl
15762 \series default
15763  is not installed:
15764 \end_layout
15765
15766 \end_inset
15767
15768
15769 \end_layout
15770
15771 \begin_layout Standard
15772 You need to install the package 
15773 \series bold
15774 colortbl
15775 \series default
15776  to see the content of this section in the output.
15777 \end_layout
15778
15779 \begin_layout Standard
15780 \begin_inset ERT
15781 status collapsed
15782
15783 \begin_layout Plain Layout
15784
15785
15786 \backslash
15787 fi
15788 \end_layout
15789
15790 \end_inset
15791
15792
15793 \end_layout
15794
15795 \begin_layout Subsection
15796 Colored Lines
15797 \begin_inset Index idx
15798 status collapsed
15799
15800 \begin_layout Plain Layout
15801 Table Color ! for Lines
15802 \end_layout
15803
15804 \end_inset
15805
15806
15807 \begin_inset Index idx
15808 status collapsed
15809
15810 \begin_layout Plain Layout
15811 Color ! for Table Lines
15812 \end_layout
15813
15814 \end_inset
15815
15816
15817 \end_layout
15818
15819 \begin_layout Standard
15820 As described in section
15821 \begin_inset space ~
15822 \end_inset
15823
15824
15825 \begin_inset CommandInset ref
15826 LatexCommand ref
15827 reference "sub:Line-Thickness"
15828
15829 \end_inset
15830
15831 , the line thickness for all lines in a table can be adjusted with the length
15832  
15833 \series bold
15834
15835 \backslash
15836 arrayrulewidth
15837 \series default
15838 .
15839  It is set to 1.5
15840 \begin_inset space \thinspace{}
15841 \end_inset
15842
15843 pt for all tables of this section.
15844 \begin_inset ERT
15845 status collapsed
15846
15847 \begin_layout Plain Layout
15848
15849
15850 \backslash
15851 setlength{
15852 \backslash
15853 arrayrulewidth}{1.5pt}
15854 \end_layout
15855
15856 \end_inset
15857
15858
15859 \end_layout
15860
15861 \begin_layout Standard
15862 To color vertical lines for example with green, create the following column
15863  format in the document preamble, according to the description in section
15864 \begin_inset space ~
15865 \end_inset
15866
15867
15868 \begin_inset CommandInset ref
15869 LatexCommand ref
15870 reference "sub:Customized-Format"
15871
15872 \end_inset
15873
15874 :
15875 \end_layout
15876
15877 \begin_layout Standard
15878
15879 \series bold
15880
15881 \backslash
15882 newcolumntype{W}{!{
15883 \backslash
15884 color{green}
15885 \backslash
15886 vline}}
15887 \end_layout
15888
15889 \begin_layout Standard
15890 For Table
15891 \begin_inset space ~
15892 \end_inset
15893
15894
15895 \begin_inset CommandInset ref
15896 LatexCommand ref
15897 reference "tab:Table-with-vertical-colored"
15898
15899 \end_inset
15900
15901  the LaTeX-argument
15902 \series bold
15903  WcW
15904 \series default
15905  was used for the last column and
15906 \series bold
15907  Wc
15908 \series default
15909  for the other columns.
15910 \end_layout
15911
15912 \begin_layout Standard
15913 If you want to have several colors, define more column formats.
15914 \end_layout
15915
15916 \begin_layout Standard
15917 \begin_inset Float table
15918 placement h
15919 wide false
15920 sideways false
15921 status open
15922
15923 \begin_layout Plain Layout
15924 \begin_inset Caption
15925
15926 \begin_layout Plain Layout
15927 \begin_inset CommandInset label
15928 LatexCommand label
15929 name "tab:Table-with-vertical-colored"
15930
15931 \end_inset
15932
15933 Table with colored vertical lines
15934 \end_layout
15935
15936 \end_inset
15937
15938
15939 \end_layout
15940
15941 \begin_layout Plain Layout
15942 \align center
15943 \begin_inset Tabular
15944 <lyxtabular version="3" rows="3" columns="3">
15945 <features tabularvalignment="middle">
15946 <column alignment="center" valignment="top" width="0" special="Wc">
15947 <column alignment="center" valignment="top" width="0" special="Wc">
15948 <column alignment="center" valignment="top" width="0" special="WcW">
15949 <row>
15950 <cell alignment="center" valignment="top" topline="true" usebox="none">
15951 \begin_inset Text
15952
15953 \begin_layout Plain Layout
15954 sd
15955 \end_layout
15956
15957 \end_inset
15958 </cell>
15959 <cell alignment="center" valignment="top" topline="true" usebox="none">
15960 \begin_inset Text
15961
15962 \begin_layout Plain Layout
15963
15964 \end_layout
15965
15966 \end_inset
15967 </cell>
15968 <cell alignment="center" valignment="top" topline="true" usebox="none">
15969 \begin_inset Text
15970
15971 \begin_layout Plain Layout
15972
15973 \end_layout
15974
15975 \end_inset
15976 </cell>
15977 </row>
15978 <row>
15979 <cell alignment="center" valignment="top" topline="true" usebox="none">
15980 \begin_inset Text
15981
15982 \begin_layout Plain Layout
15983
15984 \end_layout
15985
15986 \end_inset
15987 </cell>
15988 <cell alignment="center" valignment="top" topline="true" usebox="none">
15989 \begin_inset Text
15990
15991 \begin_layout Plain Layout
15992 sd
15993 \end_layout
15994
15995 \end_inset
15996 </cell>
15997 <cell alignment="center" valignment="top" topline="true" usebox="none">
15998 \begin_inset Text
15999
16000 \begin_layout Plain Layout
16001
16002 \end_layout
16003
16004 \end_inset
16005 </cell>
16006 </row>
16007 <row>
16008 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16009 \begin_inset Text
16010
16011 \begin_layout Plain Layout
16012
16013 \end_layout
16014
16015 \end_inset
16016 </cell>
16017 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16018 \begin_inset Text
16019
16020 \begin_layout Plain Layout
16021
16022 \end_layout
16023
16024 \end_inset
16025 </cell>
16026 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16027 \begin_inset Text
16028
16029 \begin_layout Plain Layout
16030 sd
16031 \end_layout
16032
16033 \end_inset
16034 </cell>
16035 </row>
16036 </lyxtabular>
16037
16038 \end_inset
16039
16040
16041 \end_layout
16042
16043 \end_inset
16044
16045
16046 \end_layout
16047
16048 \begin_layout Standard
16049 \begin_inset VSpace bigskip
16050 \end_inset
16051
16052 To color horizontal lines for example with red, as in Table
16053 \begin_inset space ~
16054 \end_inset
16055
16056
16057 \begin_inset CommandInset ref
16058 LatexCommand ref
16059 reference "tab:Table-with-horizontal-colored"
16060
16061 \end_inset
16062
16063 , insert these commands in TeX-Code before the table or table float:
16064 \end_layout
16065
16066 \begin_layout Standard
16067
16068 \series bold
16069
16070 \backslash
16071 let
16072 \backslash
16073 myHlineC
16074 \backslash
16075 hline
16076 \begin_inset Newline newline
16077 \end_inset
16078
16079
16080 \backslash
16081 renewcommand{
16082 \backslash
16083 hline}
16084 \begin_inset Newline newline
16085 \end_inset
16086
16087
16088 \begin_inset Phantom HPhantom
16089 status open
16090
16091 \begin_layout Plain Layout
16092
16093 \series bold
16094 \begin_inset space ~
16095 \end_inset
16096
16097
16098 \end_layout
16099
16100 \end_inset
16101
16102 {
16103 \backslash
16104 arrayrulecolor{red}
16105 \backslash
16106 myHlineC
16107 \backslash
16108 arrayrulecolor{black}}
16109 \end_layout
16110
16111 \begin_layout Standard
16112 \begin_inset ERT
16113 status collapsed
16114
16115 \begin_layout Plain Layout
16116
16117
16118 \backslash
16119 let
16120 \backslash
16121 myHlineC
16122 \backslash
16123 hline
16124 \end_layout
16125
16126 \begin_layout Plain Layout
16127
16128
16129 \backslash
16130 renewcommand{
16131 \backslash
16132 hline}
16133 \end_layout
16134
16135 \begin_layout Plain Layout
16136
16137  {
16138 \backslash
16139 arrayrulecolor{red}
16140 \backslash
16141 myHlineC
16142 \backslash
16143 arrayrulecolor{black}}
16144 \end_layout
16145
16146 \end_inset
16147
16148
16149 \begin_inset Float table
16150 placement h
16151 wide false
16152 sideways false
16153 status open
16154
16155 \begin_layout Plain Layout
16156 \begin_inset Caption
16157
16158 \begin_layout Plain Layout
16159 \begin_inset CommandInset label
16160 LatexCommand label
16161 name "tab:Table-with-horizontal-colored"
16162
16163 \end_inset
16164
16165 Table with colored horizontal lines
16166 \end_layout
16167
16168 \end_inset
16169
16170
16171 \end_layout
16172
16173 \begin_layout Plain Layout
16174 \align center
16175 \begin_inset Tabular
16176 <lyxtabular version="3" rows="3" columns="3">
16177 <features tabularvalignment="middle">
16178 <column alignment="center" valignment="top" width="0">
16179 <column alignment="center" valignment="top" width="0">
16180 <column alignment="center" valignment="top" width="0">
16181 <row>
16182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16183 \begin_inset Text
16184
16185 \begin_layout Plain Layout
16186 sd
16187 \end_layout
16188
16189 \end_inset
16190 </cell>
16191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16192 \begin_inset Text
16193
16194 \begin_layout Plain Layout
16195
16196 \end_layout
16197
16198 \end_inset
16199 </cell>
16200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16201 \begin_inset Text
16202
16203 \begin_layout Plain Layout
16204
16205 \end_layout
16206
16207 \end_inset
16208 </cell>
16209 </row>
16210 <row>
16211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16212 \begin_inset Text
16213
16214 \begin_layout Plain Layout
16215
16216 \end_layout
16217
16218 \end_inset
16219 </cell>
16220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16221 \begin_inset Text
16222
16223 \begin_layout Plain Layout
16224 sd
16225 \end_layout
16226
16227 \end_inset
16228 </cell>
16229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16230 \begin_inset Text
16231
16232 \begin_layout Plain Layout
16233
16234 \end_layout
16235
16236 \end_inset
16237 </cell>
16238 </row>
16239 <row>
16240 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16241 \begin_inset Text
16242
16243 \begin_layout Plain Layout
16244
16245 \end_layout
16246
16247 \end_inset
16248 </cell>
16249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16250 \begin_inset Text
16251
16252 \begin_layout Plain Layout
16253
16254 \end_layout
16255
16256 \end_inset
16257 </cell>
16258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16259 \begin_inset Text
16260
16261 \begin_layout Plain Layout
16262 sd
16263 \end_layout
16264
16265 \end_inset
16266 </cell>
16267 </row>
16268 </lyxtabular>
16269
16270 \end_inset
16271
16272
16273 \end_layout
16274
16275 \end_inset
16276
16277
16278 \end_layout
16279
16280 \begin_layout Standard
16281 To return to the default line color black, insert this command in TeX-Code
16282  after the table or table float:
16283 \end_layout
16284
16285 \begin_layout Standard
16286
16287 \series bold
16288
16289 \backslash
16290 renewcommand{
16291 \backslash
16292 hline}{
16293 \backslash
16294 myHlineC}
16295 \end_layout
16296
16297 \begin_layout Standard
16298 Table
16299 \begin_inset space ~
16300 \end_inset
16301
16302
16303 \begin_inset CommandInset ref
16304 LatexCommand ref
16305 reference "tab:Table-with-colored"
16306
16307 \end_inset
16308
16309  is an example with colored vertical and horizontal lines.
16310 \end_layout
16311
16312 \begin_layout Standard
16313 \begin_inset Float table
16314 placement h
16315 wide false
16316 sideways false
16317 status open
16318
16319 \begin_layout Plain Layout
16320 \begin_inset Caption
16321
16322 \begin_layout Plain Layout
16323 \begin_inset CommandInset label
16324 LatexCommand label
16325 name "tab:Table-with-colored"
16326
16327 \end_inset
16328
16329 Table with colored lines
16330 \end_layout
16331
16332 \end_inset
16333
16334
16335 \end_layout
16336
16337 \begin_layout Plain Layout
16338 \align center
16339 \begin_inset Tabular
16340 <lyxtabular version="3" rows="3" columns="3">
16341 <features tabularvalignment="middle">
16342 <column alignment="center" valignment="top" width="0" special="Wc">
16343 <column alignment="center" valignment="top" width="0" special="Wc">
16344 <column alignment="center" valignment="top" width="0" special="WcW">
16345 <row>
16346 <cell alignment="center" valignment="top" topline="true" usebox="none">
16347 \begin_inset Text
16348
16349 \begin_layout Plain Layout
16350 sd
16351 \end_layout
16352
16353 \end_inset
16354 </cell>
16355 <cell alignment="center" valignment="top" topline="true" usebox="none">
16356 \begin_inset Text
16357
16358 \begin_layout Plain Layout
16359
16360 \end_layout
16361
16362 \end_inset
16363 </cell>
16364 <cell alignment="center" valignment="top" topline="true" usebox="none">
16365 \begin_inset Text
16366
16367 \begin_layout Plain Layout
16368
16369 \end_layout
16370
16371 \end_inset
16372 </cell>
16373 </row>
16374 <row>
16375 <cell alignment="center" valignment="top" topline="true" usebox="none">
16376 \begin_inset Text
16377
16378 \begin_layout Plain Layout
16379
16380 \end_layout
16381
16382 \end_inset
16383 </cell>
16384 <cell alignment="center" valignment="top" topline="true" usebox="none">
16385 \begin_inset Text
16386
16387 \begin_layout Plain Layout
16388 sd
16389 \end_layout
16390
16391 \end_inset
16392 </cell>
16393 <cell alignment="center" valignment="top" topline="true" usebox="none">
16394 \begin_inset Text
16395
16396 \begin_layout Plain Layout
16397
16398 \end_layout
16399
16400 \end_inset
16401 </cell>
16402 </row>
16403 <row topspace="default">
16404 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16405 \begin_inset Text
16406
16407 \begin_layout Plain Layout
16408
16409 \end_layout
16410
16411 \end_inset
16412 </cell>
16413 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16414 \begin_inset Text
16415
16416 \begin_layout Plain Layout
16417
16418 \end_layout
16419
16420 \end_inset
16421 </cell>
16422 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16423 \begin_inset Text
16424
16425 \begin_layout Plain Layout
16426 sd
16427 \end_layout
16428
16429 \end_inset
16430 </cell>
16431 </row>
16432 </lyxtabular>
16433
16434 \end_inset
16435
16436
16437 \end_layout
16438
16439 \end_inset
16440
16441
16442 \end_layout
16443
16444 \begin_layout Standard
16445 \begin_inset ERT
16446 status collapsed
16447
16448 \begin_layout Plain Layout
16449
16450
16451 \backslash
16452 renewcommand{
16453 \backslash
16454 hline}{
16455 \backslash
16456 myHlineC}
16457 \end_layout
16458
16459 \end_inset
16460
16461
16462 \end_layout
16463
16464 \begin_layout Standard
16465 \begin_inset ERT
16466 status collapsed
16467
16468 \begin_layout Plain Layout
16469
16470
16471 \backslash
16472 setlength{
16473 \backslash
16474 arrayrulewidth}{0.4pt}
16475 \end_layout
16476
16477 \end_inset
16478
16479
16480 \end_layout
16481
16482 \begin_layout Section
16483 Table Customization
16484 \begin_inset Index idx
16485 status collapsed
16486
16487 \begin_layout Plain Layout
16488 Table Customization
16489 \end_layout
16490
16491 \end_inset
16492
16493
16494 \begin_inset Index idx
16495 status collapsed
16496
16497 \begin_layout Plain Layout
16498 Table ! Customization
16499 \end_layout
16500
16501 \end_inset
16502
16503
16504 \end_layout
16505
16506 \begin_layout Subsection
16507 Row Spacing
16508 \begin_inset CommandInset label
16509 LatexCommand label
16510 name "sub:Row-Spacing"
16511
16512 \end_inset
16513
16514
16515 \begin_inset Index idx
16516 status collapsed
16517
16518 \begin_layout Plain Layout
16519 Table Customization ! Row Spacing
16520 \end_layout
16521
16522 \end_inset
16523
16524
16525 \end_layout
16526
16527 \begin_layout Standard
16528 You can add vertical space to table rows in the 
16529 \family sans
16530 Borders
16531 \family default
16532  tab of the table dialog.
16533  You find there three possibilities:
16534 \end_layout
16535
16536 \begin_layout Description
16537 Top
16538 \begin_inset space ~
16539 \end_inset
16540
16541 of
16542 \begin_inset space ~
16543 \end_inset
16544
16545 row will add space above the characters of the table row.
16546  If the table is a formal table
16547 \begin_inset Foot
16548 status collapsed
16549
16550 \begin_layout Plain Layout
16551 Formal tables are explained in section
16552 \begin_inset space ~
16553 \end_inset
16554
16555
16556 \begin_inset CommandInset ref
16557 LatexCommand ref
16558 reference "sec:Formal-Tables"
16559
16560 \end_inset
16561
16562 .
16563 \end_layout
16564
16565 \end_inset
16566
16567  LyX will insert as default 0.5
16568 \begin_inset space \thinspace{}
16569 \end_inset
16570
16571 em space.
16572  For normal tables the inserted space will unfortunately destroy the vertical
16573  table lines as in the following table:
16574 \begin_inset VSpace medskip
16575 \end_inset
16576
16577
16578 \begin_inset Newline newline
16579 \end_inset
16580
16581
16582 \begin_inset space \hspace*{}
16583 \length 0pt
16584 \end_inset
16585
16586
16587 \begin_inset space \hfill{}
16588 \end_inset
16589
16590
16591 \begin_inset Tabular
16592 <lyxtabular version="3" rows="3" columns="1">
16593 <features tabularvalignment="middle">
16594 <column alignment="center" valignment="top" width="0">
16595 <row>
16596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16597 \begin_inset Text
16598
16599 \begin_layout Plain Layout
16600 A
16601 \end_layout
16602
16603 \end_inset
16604 </cell>
16605 </row>
16606 <row topspace="3mm">
16607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16608 \begin_inset Text
16609
16610 \begin_layout Plain Layout
16611 3
16612 \begin_inset space \thinspace{}
16613 \end_inset
16614
16615 mm space top of row
16616 \end_layout
16617
16618 \end_inset
16619 </cell>
16620 </row>
16621 <row>
16622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16623 \begin_inset Text
16624
16625 \begin_layout Plain Layout
16626 C
16627 \end_layout
16628
16629 \end_inset
16630 </cell>
16631 </row>
16632 </lyxtabular>
16633
16634 \end_inset
16635
16636
16637 \begin_inset space \hfill{}
16638 \end_inset
16639
16640
16641 \begin_inset space \hspace*{}
16642 \length 0pt
16643 \end_inset
16644
16645
16646 \begin_inset VSpace medskip
16647 \end_inset
16648
16649
16650 \begin_inset Newline newline
16651 \end_inset
16652
16653 So inserting space in the top of row for normal tables is only useful when
16654  you don't have vertical lines.
16655 \end_layout
16656
16657 \begin_layout Description
16658 Bottom
16659 \begin_inset space ~
16660 \end_inset
16661
16662 of
16663 \begin_inset space ~
16664 \end_inset
16665
16666 row will add space below the characters of the table row.
16667  If the table is a formal table LyX will insert as default 0.5
16668 \begin_inset space \thinspace{}
16669 \end_inset
16670
16671 em space, for normal tables the default size is 2
16672 \begin_inset space \thinspace{}
16673 \end_inset
16674
16675 pt.
16676 \end_layout
16677
16678 \begin_layout Description
16679 Between
16680 \begin_inset space ~
16681 \end_inset
16682
16683 rows adds space between the current and the following row.
16684  If the table is a formal table LyX will insert as default 0.5
16685 \begin_inset space \thinspace{}
16686 \end_inset
16687
16688 em space.
16689  For normal tables the inserted space will unfortunately destroy the vertical
16690  table lines as in the following table:
16691 \begin_inset VSpace medskip
16692 \end_inset
16693
16694
16695 \begin_inset Newline newline
16696 \end_inset
16697
16698
16699 \begin_inset space \hspace*{}
16700 \length 0pt
16701 \end_inset
16702
16703
16704 \begin_inset space \hfill{}
16705 \end_inset
16706
16707
16708 \begin_inset Tabular
16709 <lyxtabular version="3" rows="3" columns="1">
16710 <features tabularvalignment="middle">
16711 <column alignment="center" valignment="top" width="0">
16712 <row>
16713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16714 \begin_inset Text
16715
16716 \begin_layout Plain Layout
16717 A
16718 \end_layout
16719
16720 \end_inset
16721 </cell>
16722 </row>
16723 <row interlinespace="3mm">
16724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16725 \begin_inset Text
16726
16727 \begin_layout Plain Layout
16728 \begin_inset Formula $\downarrow$
16729 \end_inset
16730
16731  3
16732 \begin_inset space \thinspace{}
16733 \end_inset
16734
16735 mm space between row 
16736 \begin_inset Formula $\downarrow$
16737 \end_inset
16738
16739
16740 \end_layout
16741
16742 \end_inset
16743 </cell>
16744 </row>
16745 <row>
16746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16747 \begin_inset Text
16748
16749 \begin_layout Plain Layout
16750 \begin_inset Formula $\uparrow$
16751 \end_inset
16752
16753  3
16754 \begin_inset space \thinspace{}
16755 \end_inset
16756
16757 mm space between row 
16758 \begin_inset Formula $\uparrow$
16759 \end_inset
16760
16761
16762 \end_layout
16763
16764 \end_inset
16765 </cell>
16766 </row>
16767 </lyxtabular>
16768
16769 \end_inset
16770
16771
16772 \begin_inset space \hfill{}
16773 \end_inset
16774
16775
16776 \begin_inset space \hspace*{}
16777 \length 0pt
16778 \end_inset
16779
16780
16781 \begin_inset VSpace medskip
16782 \end_inset
16783
16784
16785 \begin_inset Newline newline
16786 \end_inset
16787
16788 So inserting space between rows for normal tables is only useful when you
16789  don't have vertical lines.
16790 \end_layout
16791
16792 \begin_layout Standard
16793 \begin_inset VSpace bigskip
16794 \end_inset
16795
16796 When you want to add extra height to all cells of all tables, you can do
16797  this with the following preamble lines:
16798 \end_layout
16799
16800 \begin_layout Standard
16801
16802 \series bold
16803
16804 \backslash
16805 @ifundefined{extrarowheight}
16806 \begin_inset Newline newline
16807 \end_inset
16808
16809
16810 \begin_inset Phantom HPhantom
16811 status open
16812
16813 \begin_layout Plain Layout
16814
16815 \series bold
16816 \begin_inset space ~
16817 \end_inset
16818
16819
16820 \end_layout
16821
16822 \end_inset
16823
16824 {
16825 \backslash
16826 usepackage{array}}{}
16827 \begin_inset Newline newline
16828 \end_inset
16829
16830
16831 \backslash
16832 setlength{
16833 \backslash
16834 extrarowheight}{height}
16835 \end_layout
16836
16837 \begin_layout Standard
16838 But this has the disadvantage that the cell texts are no longer exactly
16839  vertically centered.
16840  (The package 
16841 \series bold
16842 array
16843 \series default
16844  will be loaded automatically by LyX when you use self defined table formats.
16845  To avoid that it being loaded twice the command 
16846 \series bold
16847
16848 \backslash
16849 @ifundefined
16850 \series default
16851  is used in the above command.)
16852 \end_layout
16853
16854 \begin_layout Standard
16855 If you are using font sizes larger than the normal size, the table borders
16856  are often too close to the letters.
16857  This can be corrected by inserting the command 
16858 \series bold
16859
16860 \backslash
16861 strut
16862 \series default
16863  in TeX code at the beginning of a table row.
16864  Table
16865 \begin_inset space ~
16866 \end_inset
16867
16868
16869 \begin_inset CommandInset ref
16870 LatexCommand ref
16871 reference "tab:Vertical-alignment-of"
16872
16873 \end_inset
16874
16875  illustrates the effect.
16876 \end_layout
16877
16878 \begin_layout Standard
16879 \noindent
16880 \begin_inset Float table
16881 placement h
16882 wide false
16883 sideways false
16884 status open
16885
16886 \begin_layout Plain Layout
16887 \begin_inset Caption
16888
16889 \begin_layout Plain Layout
16890 \begin_inset CommandInset label
16891 LatexCommand label
16892 name "tab:Vertical-alignment-of"
16893
16894 \end_inset
16895
16896 Vertical alignment of text with large font sizes.
16897 \end_layout
16898
16899 \end_inset
16900
16901
16902 \end_layout
16903
16904 \begin_layout Plain Layout
16905 \begin_inset space \hfill{}
16906 \end_inset
16907
16908
16909 \begin_inset Float table
16910 wide false
16911 sideways false
16912 status collapsed
16913
16914 \begin_layout Plain Layout
16915 \begin_inset Caption
16916
16917 \begin_layout Plain Layout
16918 Normal table.
16919 \end_layout
16920
16921 \end_inset
16922
16923
16924 \end_layout
16925
16926 \begin_layout Plain Layout
16927 \noindent
16928 \align center
16929 \begin_inset Tabular
16930 <lyxtabular version="3" rows="6" columns="1">
16931 <features tabularvalignment="middle">
16932 <column alignment="left" valignment="top" width="0">
16933 <row>
16934 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16935 \begin_inset Text
16936
16937 \begin_layout Plain Layout
16938 Normal, g
16939 \end_layout
16940
16941 \end_inset
16942 </cell>
16943 </row>
16944 <row>
16945 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16946 \begin_inset Text
16947
16948 \begin_layout Plain Layout
16949
16950 \size large
16951 Large
16952 \end_layout
16953
16954 \end_inset
16955 </cell>
16956 </row>
16957 <row>
16958 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16959 \begin_inset Text
16960
16961 \begin_layout Plain Layout
16962
16963 \size larger
16964 Larger
16965 \end_layout
16966
16967 \end_inset
16968 </cell>
16969 </row>
16970 <row>
16971 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16972 \begin_inset Text
16973
16974 \begin_layout Plain Layout
16975
16976 \size largest
16977 Largest
16978 \end_layout
16979
16980 \end_inset
16981 </cell>
16982 </row>
16983 <row>
16984 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16985 \begin_inset Text
16986
16987 \begin_layout Plain Layout
16988
16989 \size huge
16990 Huge
16991 \end_layout
16992
16993 \end_inset
16994 </cell>
16995 </row>
16996 <row>
16997 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16998 \begin_inset Text
16999
17000 \begin_layout Plain Layout
17001
17002 \size huge
17003 Huger
17004 \end_layout
17005
17006 \end_inset
17007 </cell>
17008 </row>
17009 </lyxtabular>
17010
17011 \end_inset
17012
17013
17014 \end_layout
17015
17016 \end_inset
17017
17018
17019 \begin_inset space \hfill{}
17020 \end_inset
17021
17022
17023 \begin_inset Float table
17024 wide false
17025 sideways false
17026 status collapsed
17027
17028 \begin_layout Plain Layout
17029 \begin_inset Caption
17030
17031 \begin_layout Plain Layout
17032 Table using the command 
17033 \series bold
17034
17035 \backslash
17036 strut
17037 \series default
17038 .
17039 \end_layout
17040
17041 \end_inset
17042
17043
17044 \end_layout
17045
17046 \begin_layout Plain Layout
17047 \noindent
17048 \align center
17049 \begin_inset Tabular
17050 <lyxtabular version="3" rows="6" columns="1">
17051 <features tabularvalignment="middle">
17052 <column alignment="left" valignment="top" width="0">
17053 <row>
17054 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17055 \begin_inset Text
17056
17057 \begin_layout Plain Layout
17058 Normal, g
17059 \end_layout
17060
17061 \end_inset
17062 </cell>
17063 </row>
17064 <row>
17065 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17066 \begin_inset Text
17067
17068 \begin_layout Plain Layout
17069
17070 \size large
17071 \begin_inset ERT
17072 status collapsed
17073
17074 \begin_layout Plain Layout
17075
17076
17077 \backslash
17078 strut 
17079 \end_layout
17080
17081 \end_inset
17082
17083 Large
17084 \end_layout
17085
17086 \end_inset
17087 </cell>
17088 </row>
17089 <row>
17090 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17091 \begin_inset Text
17092
17093 \begin_layout Plain Layout
17094
17095 \size larger
17096 \begin_inset ERT
17097 status collapsed
17098
17099 \begin_layout Plain Layout
17100
17101
17102 \backslash
17103 strut 
17104 \end_layout
17105
17106 \end_inset
17107
17108 Larger
17109 \end_layout
17110
17111 \end_inset
17112 </cell>
17113 </row>
17114 <row>
17115 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17116 \begin_inset Text
17117
17118 \begin_layout Plain Layout
17119
17120 \size largest
17121 \begin_inset ERT
17122 status collapsed
17123
17124 \begin_layout Plain Layout
17125
17126
17127 \backslash
17128 strut 
17129 \end_layout
17130
17131 \end_inset
17132
17133 Largest
17134 \end_layout
17135
17136 \end_inset
17137 </cell>
17138 </row>
17139 <row>
17140 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17141 \begin_inset Text
17142
17143 \begin_layout Plain Layout
17144
17145 \size huge
17146 \begin_inset ERT
17147 status collapsed
17148
17149 \begin_layout Plain Layout
17150
17151
17152 \backslash
17153 strut 
17154 \end_layout
17155
17156 \end_inset
17157
17158 Huge
17159 \end_layout
17160
17161 \end_inset
17162 </cell>
17163 </row>
17164 <row>
17165 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17166 \begin_inset Text
17167
17168 \begin_layout Plain Layout
17169
17170 \size giant
17171 \begin_inset ERT
17172 status collapsed
17173
17174 \begin_layout Plain Layout
17175
17176
17177 \backslash
17178 strut 
17179 \end_layout
17180
17181 \end_inset
17182
17183
17184 \size huge
17185 Huger
17186 \end_layout
17187
17188 \end_inset
17189 </cell>
17190 </row>
17191 </lyxtabular>
17192
17193 \end_inset
17194
17195
17196 \end_layout
17197
17198 \end_inset
17199
17200
17201 \begin_inset space \hfill{}
17202 \end_inset
17203
17204
17205 \end_layout
17206
17207 \end_inset
17208
17209
17210 \end_layout
17211
17212 \begin_layout Subsection
17213 Special Cell Alignment
17214 \begin_inset CommandInset label
17215 LatexCommand label
17216 name "sub:Special-Cell-Alignment"
17217
17218 \end_inset
17219
17220
17221 \begin_inset Index idx
17222 status collapsed
17223
17224 \begin_layout Plain Layout
17225 Table Customization ! Special Cell Alignment
17226 \end_layout
17227
17228 \end_inset
17229
17230
17231 \end_layout
17232
17233 \begin_layout Standard
17234 Sometimes it looks better when the cell entries of a column are aligned
17235  with a special character, e.
17236 \begin_inset space \thinspace{}
17237 \end_inset
17238
17239 g.
17240 \begin_inset space \space{}
17241 \end_inset
17242
17243 with the decimal separator as in Table
17244 \begin_inset space ~
17245 \end_inset
17246
17247
17248 \begin_inset CommandInset ref
17249 LatexCommand ref
17250 reference "tab:Table-cells-align"
17251
17252 \end_inset
17253
17254 .
17255  This alignment is achieved by setting the cursor into the column and then
17256  either pressing the toolbar button 
17257 \begin_inset Graphics
17258         filename ../images/tabular-feature_align-decimal.png
17259         scale 85
17260         scaleBeforeRotation
17261
17262 \end_inset
17263
17264  or setting the alignment in the table settings to 
17265 \family sans
17266 At
17267 \begin_inset space ~
17268 \end_inset
17269
17270 Decimal
17271 \begin_inset space ~
17272 \end_inset
17273
17274 Separator
17275 \family default
17276 .
17277  The alignment character can be a character of your choice and is specified
17278  in the table settings.
17279 \end_layout
17280
17281 \begin_layout Standard
17282 \begin_inset Float table
17283 placement h
17284 wide false
17285 sideways false
17286 status open
17287
17288 \begin_layout Plain Layout
17289 \begin_inset Caption
17290
17291 \begin_layout Plain Layout
17292 \begin_inset CommandInset label
17293 LatexCommand label
17294 name "tab:Table-cells-align"
17295
17296 \end_inset
17297
17298 Table cells of a column aligned with the decimal separator.
17299 \end_layout
17300
17301 \end_inset
17302
17303
17304 \end_layout
17305
17306 \begin_layout Plain Layout
17307 \align center
17308 \begin_inset Tabular
17309 <lyxtabular version="3" rows="4" columns="1">
17310 <features booktabs="true" tabularvalignment="middle">
17311 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17312 <row>
17313 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17314 \begin_inset Text
17315
17316 \begin_layout Plain Layout
17317 heading
17318 \end_layout
17319
17320 \end_inset
17321 </cell>
17322 </row>
17323 <row>
17324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17325 \begin_inset Text
17326
17327 \begin_layout Plain Layout
17328 12.6
17329 \end_layout
17330
17331 \end_inset
17332 </cell>
17333 </row>
17334 <row>
17335 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17336 \begin_inset Text
17337
17338 \begin_layout Plain Layout
17339 0.68
17340 \end_layout
17341
17342 \end_inset
17343 </cell>
17344 </row>
17345 <row>
17346 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17347 \begin_inset Text
17348
17349 \begin_layout Plain Layout
17350 -123.0
17351 \end_layout
17352
17353 \end_inset
17354 </cell>
17355 </row>
17356 </lyxtabular>
17357
17358 \end_inset
17359
17360
17361 \end_layout
17362
17363 \end_inset
17364
17365
17366 \end_layout
17367
17368 \begin_layout Standard
17369 \begin_inset Float table
17370 placement h
17371 wide false
17372 sideways false
17373 status open
17374
17375 \begin_layout Plain Layout
17376 \begin_inset Caption
17377
17378 \begin_layout Plain Layout
17379 \begin_inset CommandInset label
17380 LatexCommand label
17381 name "tab:Table-align-operator"
17382
17383 \end_inset
17384
17385 Table cells of a column aligned with the operators.
17386 \end_layout
17387
17388 \end_inset
17389
17390
17391 \end_layout
17392
17393 \begin_layout Plain Layout
17394 \align center
17395 \begin_inset Tabular
17396 <lyxtabular version="3" rows="4" columns="2">
17397 <features booktabs="true" tabularvalignment="middle">
17398 <column alignment="right" valignment="top" width="0pt">
17399 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17400 <row>
17401 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17402 \begin_inset Text
17403
17404 \begin_layout Plain Layout
17405 heading
17406 \end_layout
17407
17408 \end_inset
17409 </cell>
17410 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17411 \begin_inset Text
17412
17413 \begin_layout Plain Layout
17414
17415 \end_layout
17416
17417 \end_inset
17418 </cell>
17419 </row>
17420 <row>
17421 <cell alignment="center" valignment="top" usebox="none">
17422 \begin_inset Text
17423
17424 \begin_layout Plain Layout
17425 \begin_inset Formula $12\,+$
17426 \end_inset
17427
17428
17429 \end_layout
17430
17431 \end_inset
17432 </cell>
17433 <cell alignment="center" valignment="top" usebox="none">
17434 \begin_inset Text
17435
17436 \begin_layout Plain Layout
17437 \begin_inset Formula $\,6$
17438 \end_inset
17439
17440
17441 \end_layout
17442
17443 \end_inset
17444 </cell>
17445 </row>
17446 <row>
17447 <cell alignment="center" valignment="top" usebox="none">
17448 \begin_inset Text
17449
17450 \begin_layout Plain Layout
17451 \begin_inset Formula $0\,-$
17452 \end_inset
17453
17454
17455 \end_layout
17456
17457 \end_inset
17458 </cell>
17459 <cell alignment="center" valignment="top" usebox="none">
17460 \begin_inset Text
17461
17462 \begin_layout Plain Layout
17463 \begin_inset Formula $\,68$
17464 \end_inset
17465
17466
17467 \end_layout
17468
17469 \end_inset
17470 </cell>
17471 </row>
17472 <row>
17473 <cell alignment="center" valignment="top" usebox="none">
17474 \begin_inset Text
17475
17476 \begin_layout Plain Layout
17477 \begin_inset Formula $-123\,/$
17478 \end_inset
17479
17480
17481 \end_layout
17482
17483 \end_inset
17484 </cell>
17485 <cell alignment="center" valignment="top" usebox="none">
17486 \begin_inset Text
17487
17488 \begin_layout Plain Layout
17489 \begin_inset Formula $\,0$
17490 \end_inset
17491
17492
17493 \end_layout
17494
17495 \end_inset
17496 </cell>
17497 </row>
17498 </lyxtabular>
17499
17500 \end_inset
17501
17502
17503 \end_layout
17504
17505 \end_inset
17506
17507
17508 \end_layout
17509
17510 \begin_layout Standard
17511 For alignments at characters in formulas this method does not work because
17512  the field to specify the alignment character does not allow formulas.
17513  In this case one need to use the method from Table
17514 \begin_inset space ~
17515 \end_inset
17516
17517
17518 \begin_inset CommandInset ref
17519 LatexCommand ref
17520 reference "tab:Table-align-operator"
17521
17522 \end_inset
17523
17524 .
17525  This table was created with a 4×2 table.
17526  The heading is a centered multicolumn.
17527  The first column is right-aligned and contains the first part including
17528  the operator.
17529  The second column is left aligned and contains the rest.
17530  A small space was added at the beginning of each cell of the second column
17531  to get the space that is usually around operators.
17532  To omit the space that is normally between two table columns, the following
17533  LaTeX-argument was used for the second column:
17534 \end_layout
17535
17536 \begin_layout Standard
17537
17538 \series bold
17539 @{}l
17540 \end_layout
17541
17542 \begin_layout Standard
17543 Table
17544 \begin_inset space ~
17545 \end_inset
17546
17547
17548 \begin_inset CommandInset ref
17549 LatexCommand ref
17550 reference "tab:Several-table-cell"
17551
17552 \end_inset
17553
17554  shows some example alignments.
17555  For the alignment with the relation sign, a small space was added like
17556  for the second column of Table
17557 \begin_inset space ~
17558 \end_inset
17559
17560
17561 \begin_inset CommandInset ref
17562 LatexCommand ref
17563 reference "tab:Table-align-operator"
17564
17565 \end_inset
17566
17567 .
17568 \end_layout
17569
17570 \begin_layout Standard
17571 \begin_inset Float table
17572 placement h
17573 wide false
17574 sideways false
17575 status open
17576
17577 \begin_layout Plain Layout
17578 \begin_inset Caption
17579
17580 \begin_layout Plain Layout
17581 \begin_inset CommandInset label
17582 LatexCommand label
17583 name "tab:Several-table-cell"
17584
17585 \end_inset
17586
17587 Several table cell alignments.
17588 \end_layout
17589
17590 \end_inset
17591
17592
17593 \end_layout
17594
17595 \begin_layout Plain Layout
17596 \align center
17597 \begin_inset Tabular
17598 <lyxtabular version="3" rows="4" columns="6">
17599 <features tabularvalignment="middle">
17600 <column alignment="right" valignment="top" width="0">
17601 <column alignment="left" valignment="top" width="0" special="@{}l">
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 <row>
17607 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17608 \begin_inset Text
17609
17610 \begin_layout Plain Layout
17611 units
17612 \end_layout
17613
17614 \end_inset
17615 </cell>
17616 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17617 \begin_inset Text
17618
17619 \begin_layout Plain Layout
17620
17621 \end_layout
17622
17623 \end_inset
17624 </cell>
17625 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17626 \begin_inset Text
17627
17628 \begin_layout Plain Layout
17629 exponents
17630 \end_layout
17631
17632 \end_inset
17633 </cell>
17634 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17635 \begin_inset Text
17636
17637 \begin_layout Plain Layout
17638
17639 \end_layout
17640
17641 \end_inset
17642 </cell>
17643 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17644 \begin_inset Text
17645
17646 \begin_layout Plain Layout
17647 relations
17648 \end_layout
17649
17650 \end_inset
17651 </cell>
17652 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17653 \begin_inset Text
17654
17655 \begin_layout Plain Layout
17656
17657 \end_layout
17658
17659 \end_inset
17660 </cell>
17661 </row>
17662 <row>
17663 <cell alignment="center" valignment="top" usebox="none">
17664 \begin_inset Text
17665
17666 \begin_layout Plain Layout
17667 12×
17668 \end_layout
17669
17670 \end_inset
17671 </cell>
17672 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17673 \begin_inset Text
17674
17675 \begin_layout Plain Layout
17676 24
17677 \begin_inset space \thinspace{}
17678 \end_inset
17679
17680 bottles
17681 \end_layout
17682
17683 \end_inset
17684 </cell>
17685 <cell alignment="center" valignment="top" usebox="none">
17686 \begin_inset Text
17687
17688 \begin_layout Plain Layout
17689 \begin_inset Formula $10\cdot$
17690 \end_inset
17691
17692
17693 \end_layout
17694
17695 \end_inset
17696 </cell>
17697 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17698 \begin_inset Text
17699
17700 \begin_layout Plain Layout
17701 \begin_inset Formula $10^{\mbox{-}17}$
17702 \end_inset
17703
17704
17705 \end_layout
17706
17707 \end_inset
17708 </cell>
17709 <cell alignment="center" valignment="top" usebox="none">
17710 \begin_inset Text
17711
17712 \begin_layout Plain Layout
17713 \begin_inset Formula $\Gamma(t)\propto$
17714 \end_inset
17715
17716
17717 \end_layout
17718
17719 \end_inset
17720 </cell>
17721 <cell alignment="center" valignment="top" usebox="none">
17722 \begin_inset Text
17723
17724 \begin_layout Plain Layout
17725 \begin_inset Formula $\:\Upsilon(t)$
17726 \end_inset
17727
17728
17729 \end_layout
17730
17731 \end_inset
17732 </cell>
17733 </row>
17734 <row>
17735 <cell alignment="center" valignment="top" usebox="none">
17736 \begin_inset Text
17737
17738 \begin_layout Plain Layout
17739 1024×
17740 \end_layout
17741
17742 \end_inset
17743 </cell>
17744 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17745 \begin_inset Text
17746
17747 \begin_layout Plain Layout
17748 768
17749 \begin_inset space \thinspace{}
17750 \end_inset
17751
17752 Pixels
17753 \end_layout
17754
17755 \end_inset
17756 </cell>
17757 <cell alignment="center" valignment="top" usebox="none">
17758 \begin_inset Text
17759
17760 \begin_layout Plain Layout
17761 \begin_inset Formula $5.78\cdot$
17762 \end_inset
17763
17764
17765 \end_layout
17766
17767 \end_inset
17768 </cell>
17769 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17770 \begin_inset Text
17771
17772 \begin_layout Plain Layout
17773 \begin_inset Formula $10^{7}$
17774 \end_inset
17775
17776
17777 \end_layout
17778
17779 \end_inset
17780 </cell>
17781 <cell alignment="center" valignment="top" usebox="none">
17782 \begin_inset Text
17783
17784 \begin_layout Plain Layout
17785 \begin_inset Formula $A\ne$
17786 \end_inset
17787
17788
17789 \end_layout
17790
17791 \end_inset
17792 </cell>
17793 <cell alignment="center" valignment="top" usebox="none">
17794 \begin_inset Text
17795
17796 \begin_layout Plain Layout
17797 \begin_inset Formula $\: B_{\mathrm{red}}$
17798 \end_inset
17799
17800
17801 \end_layout
17802
17803 \end_inset
17804 </cell>
17805 </row>
17806 <row>
17807 <cell alignment="center" valignment="top" usebox="none">
17808 \begin_inset Text
17809
17810 \begin_layout Plain Layout
17811 32×
17812 \end_layout
17813
17814 \end_inset
17815 </cell>
17816 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17817 \begin_inset Text
17818
17819 \begin_layout Plain Layout
17820 6
17821 \begin_inset space \thinspace{}
17822 \end_inset
17823
17824 cm
17825 \end_layout
17826
17827 \end_inset
17828 </cell>
17829 <cell alignment="center" valignment="top" usebox="none">
17830 \begin_inset Text
17831
17832 \begin_layout Plain Layout
17833 -
17834 \begin_inset Formula $33.5\cdot$
17835 \end_inset
17836
17837
17838 \end_layout
17839
17840 \end_inset
17841 </cell>
17842 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17843 \begin_inset Text
17844
17845 \begin_layout Plain Layout
17846 \begin_inset Formula $10^{4}$
17847 \end_inset
17848
17849
17850 \end_layout
17851
17852 \end_inset
17853 </cell>
17854 <cell alignment="center" valignment="top" usebox="none">
17855 \begin_inset Text
17856
17857 \begin_layout Plain Layout
17858 \begin_inset Formula $\sin(\alpha)\ge$
17859 \end_inset
17860
17861
17862 \end_layout
17863
17864 \end_inset
17865 </cell>
17866 <cell alignment="center" valignment="top" usebox="none">
17867 \begin_inset Text
17868
17869 \begin_layout Plain Layout
17870 \begin_inset Formula $\:\sin(\beta)$
17871 \end_inset
17872
17873
17874 \end_layout
17875
17876 \end_inset
17877 </cell>
17878 </row>
17879 </lyxtabular>
17880
17881 \end_inset
17882
17883
17884 \end_layout
17885
17886 \end_inset
17887
17888
17889 \end_layout
17890
17891 \begin_layout Subsection
17892 Customized Cell/Column Format
17893 \begin_inset CommandInset label
17894 LatexCommand label
17895 name "sub:Customized-Format"
17896
17897 \end_inset
17898
17899
17900 \begin_inset Index idx
17901 status collapsed
17902
17903 \begin_layout Plain Layout
17904 Table Customization ! Cell/Column Format
17905 \end_layout
17906
17907 \end_inset
17908
17909
17910 \end_layout
17911
17912 \begin_layout Standard
17913 Calculating the required width for spanned columns as in section
17914 \begin_inset space ~
17915 \end_inset
17916
17917
17918 \begin_inset CommandInset ref
17919 LatexCommand ref
17920 reference "sub:Multicolumn-Calculations"
17921
17922 \end_inset
17923
17924  is very annoying if you have several tables with multicolumn cells.
17925  To make life easier, you can define a cell/column format in the preamble,
17926  so that it can be used in all tables of the document.
17927  The format is defined with the command
17928 \end_layout
17929
17930 \begin_layout Standard
17931
17932 \series bold
17933
17934 \backslash
17935 newcolumntype{name of format}[number of arguments]{commands}
17936 \end_layout
17937
17938 \begin_layout Standard
17939 The format name may only consist of one letter.
17940  The letters 
17941 \emph on
17942 b
17943 \emph default
17944
17945 \emph on
17946 c
17947 \emph default
17948
17949 \emph on
17950 l
17951 \emph default
17952
17953 \emph on
17954 m
17955 \emph default
17956
17957 \emph on
17958 p
17959 \emph default
17960  and 
17961 \emph on
17962 r
17963 \emph default
17964  are predefined and cannot be used.
17965  But all letters are allowed as capitals.
17966 \end_layout
17967
17968 \begin_layout Standard
17969 \begin_inset VSpace medskip
17970 \end_inset
17971
17972
17973 \end_layout
17974
17975 \begin_layout Standard
17976 For vertically and horizontally centered multicolumn cells with a fixed
17977  width you can define the cell format
17978 \end_layout
17979
17980 \begin_layout Standard
17981
17982 \series bold
17983
17984 \backslash
17985 newcolumntype{M}[1]{>{
17986 \backslash
17987 centering
17988 \backslash
17989 hspace{0pt}}m{#1}}
17990 \end_layout
17991
17992 \begin_layout Standard
17993 where 
17994 \series bold
17995
17996 \backslash
17997 hspace{0pt}
17998 \series default
17999  avoids the problem of hyphenating the first word, as described in section
18000 \begin_inset space ~
18001 \end_inset
18002
18003
18004 \begin_inset CommandInset ref
18005 LatexCommand ref
18006 reference "sub:Multiple-Lines-in"
18007
18008 \end_inset
18009
18010 .
18011  Now you can simply enter
18012 \end_layout
18013
18014 \begin_layout Standard
18015
18016 \series bold
18017 M{width}
18018 \end_layout
18019
18020 \begin_layout Standard
18021 as LaTeX-argument in the table dialog to create a multicolumn.
18022 \end_layout
18023
18024 \begin_layout Standard
18025 \begin_inset VSpace bigskip
18026 \end_inset
18027
18028
18029 \end_layout
18030
18031 \begin_layout Standard
18032 For cells spanned by a multicolumn cell, you can define the format
18033 \end_layout
18034
18035 \begin_layout Standard
18036
18037 \series bold
18038
18039 \backslash
18040 newcolumntype{S}[2]{>{
18041 \backslash
18042 centering
18043 \backslash
18044 hspace{0pt}}
18045 \begin_inset Newline newline
18046 \end_inset
18047
18048
18049 \begin_inset Phantom HPhantom
18050 status open
18051
18052 \begin_layout Plain Layout
18053
18054 \series bold
18055
18056 \backslash
18057 newcolumntype
18058 \end_layout
18059
18060 \end_inset
18061
18062 m{(#1+(2
18063 \backslash
18064 tabcolsep+
18065 \backslash
18066 arrayrulewidth)*(1-#2))/#2}}
18067 \end_layout
18068
18069 \begin_layout Standard
18070 This format uses equation 
18071 \begin_inset CommandInset ref
18072 LatexCommand eqref
18073 reference "eq:Wgn"
18074
18075 \end_inset
18076
18077  to calculate the required width so that each spanned cell has the same
18078  width.
18079 \end_layout
18080
18081 \begin_layout Standard
18082 You can now enter
18083 \end_layout
18084
18085 \begin_layout Standard
18086
18087 \series bold
18088 S{width of multicolumn cell}{number of spanned columns}
18089 \end_layout
18090
18091 \begin_layout Standard
18092 as LaTeX-argument of the column.
18093 \end_layout
18094
18095 \begin_layout Standard
18096 \begin_inset VSpace bigskip
18097 \end_inset
18098
18099
18100 \end_layout
18101
18102 \begin_layout Standard
18103 For colored columns, you can define
18104 \end_layout
18105
18106 \begin_layout Standard
18107
18108 \series bold
18109
18110 \backslash
18111 newcolumntype{K}[1]{>{
18112 \backslash
18113 columncolor{#1}
18114 \backslash
18115 hspace{0pt}}c}
18116 \end_layout
18117
18118 \begin_layout Standard
18119 The 
18120 \begin_inset Quotes eld
18121 \end_inset
18122
18123 c
18124 \begin_inset Quotes erd
18125 \end_inset
18126
18127  at the end creates a column with a flexible width whose text is horizontally
18128  centered.
18129  You can now enter
18130 \end_layout
18131
18132 \begin_layout Standard
18133
18134 \series bold
18135 K{color name}
18136 \end_layout
18137
18138 \begin_layout Standard
18139 as LaTeX-argument.
18140 \end_layout
18141
18142 \begin_layout Standard
18143 \begin_inset VSpace bigskip
18144 \end_inset
18145
18146
18147 \end_layout
18148
18149 \begin_layout Standard
18150 To create Table
18151 \begin_inset space ~
18152 \end_inset
18153
18154
18155 \begin_inset CommandInset ref
18156 LatexCommand ref
18157 reference "tab:Table-using-user-defined"
18158
18159 \end_inset
18160
18161  use the LaTeX-arguments
18162 \end_layout
18163
18164 \begin_layout Standard
18165
18166 \series bold
18167 M{2.5cm}
18168 \end_layout
18169
18170 \begin_layout Standard
18171 for the first column and the multicolumn,
18172 \end_layout
18173
18174 \begin_layout Standard
18175
18176 \series bold
18177 K{red}
18178 \end_layout
18179
18180 \begin_layout Standard
18181 for the last column, and
18182 \end_layout
18183
18184 \begin_layout Standard
18185
18186 \series bold
18187 S{2.5cm}{2}
18188 \end_layout
18189
18190 \begin_layout Standard
18191 for the cells in the second column.
18192 \end_layout
18193
18194 \begin_layout Standard
18195 \begin_inset Float table
18196 placement h
18197 wide false
18198 sideways false
18199 status open
18200
18201 \begin_layout Plain Layout
18202 \begin_inset Caption
18203
18204 \begin_layout Plain Layout
18205 \begin_inset CommandInset label
18206 LatexCommand label
18207 name "tab:Table-using-user-defined"
18208
18209 \end_inset
18210
18211 Table using user-defined table formats
18212 \end_layout
18213
18214 \end_inset
18215
18216
18217 \end_layout
18218
18219 \begin_layout Plain Layout
18220 \align center
18221 \begin_inset Tabular
18222 <lyxtabular version="3" rows="3" columns="4">
18223 <features tabularvalignment="middle">
18224 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18225 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18226 <column alignment="center" valignment="middle" width="0">
18227 <column alignment="center" valignment="middle" width="0" special="K{red}">
18228 <row>
18229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18230 \begin_inset Text
18231
18232 \begin_layout Plain Layout
18233 verylongtablecellword
18234 \end_layout
18235
18236 \end_inset
18237 </cell>
18238 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18239 \begin_inset Text
18240
18241 \begin_layout Plain Layout
18242 multiple lines multicolumn
18243 \end_layout
18244
18245 \end_inset
18246 </cell>
18247 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18248 \begin_inset Text
18249
18250 \begin_layout Plain Layout
18251
18252 \end_layout
18253
18254 \end_inset
18255 </cell>
18256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18257 \begin_inset Text
18258
18259 \begin_layout Plain Layout
18260 c
18261 \end_layout
18262
18263 \end_inset
18264 </cell>
18265 </row>
18266 <row>
18267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18268 \begin_inset Text
18269
18270 \begin_layout Plain Layout
18271 d
18272 \end_layout
18273
18274 \end_inset
18275 </cell>
18276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18277 \begin_inset Text
18278
18279 \begin_layout Plain Layout
18280 e
18281 \end_layout
18282
18283 \end_inset
18284 </cell>
18285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18286 \begin_inset Text
18287
18288 \begin_layout Plain Layout
18289 f
18290 \end_layout
18291
18292 \end_inset
18293 </cell>
18294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18295 \begin_inset Text
18296
18297 \begin_layout Plain Layout
18298 g
18299 \end_layout
18300
18301 \end_inset
18302 </cell>
18303 </row>
18304 <row>
18305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18306 \begin_inset Text
18307
18308 \begin_layout Plain Layout
18309 h
18310 \end_layout
18311
18312 \end_inset
18313 </cell>
18314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18315 \begin_inset Text
18316
18317 \begin_layout Plain Layout
18318 i
18319 \end_layout
18320
18321 \end_inset
18322 </cell>
18323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18324 \begin_inset Text
18325
18326 \begin_layout Plain Layout
18327 j
18328 \end_layout
18329
18330 \end_inset
18331 </cell>
18332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18333 \begin_inset Text
18334
18335 \begin_layout Plain Layout
18336 k
18337 \end_layout
18338
18339 \end_inset
18340 </cell>
18341 </row>
18342 </lyxtabular>
18343
18344 \end_inset
18345
18346
18347 \end_layout
18348
18349 \end_inset
18350
18351
18352 \end_layout
18353
18354 \begin_layout Subsection
18355 Line Thickness
18356 \begin_inset CommandInset label
18357 LatexCommand label
18358 name "sub:Line-Thickness"
18359
18360 \end_inset
18361
18362
18363 \begin_inset Index idx
18364 status collapsed
18365
18366 \begin_layout Plain Layout
18367 Table Customization ! Line Thickness
18368 \end_layout
18369
18370 \end_inset
18371
18372
18373 \end_layout
18374
18375 \begin_layout Standard
18376 The line thickness for all lines in a table can be adjusted with the length
18377  
18378 \series bold
18379
18380 \backslash
18381 arrayrulewidth
18382 \series default
18383 .
18384  To set for example a line thickness of 1.5
18385 \begin_inset space \thinspace{}
18386 \end_inset
18387
18388 pt, as in Table
18389 \begin_inset space ~
18390 \end_inset
18391
18392
18393 \begin_inset CommandInset ref
18394 LatexCommand ref
18395 reference "tab:Table-with-1.5"
18396
18397 \end_inset
18398
18399 , insert the command
18400 \end_layout
18401
18402 \begin_layout Standard
18403
18404 \series bold
18405
18406 \backslash
18407 setlength{
18408 \backslash
18409 arrayrulewidth}{1.5pt}
18410 \end_layout
18411
18412 \begin_layout Standard
18413 in TeX-Code before the table or table float.
18414  The changed thickness is valid for all subsequent tables.
18415  To use the default value again, set 
18416 \series bold
18417
18418 \backslash
18419 arrayrulewidth
18420 \series default
18421  to 0.4
18422 \begin_inset space \thinspace{}
18423 \end_inset
18424
18425 pt in TeX-Code after the table or table float.
18426 \end_layout
18427
18428 \begin_layout Standard
18429 \begin_inset ERT
18430 status collapsed
18431
18432 \begin_layout Plain Layout
18433
18434
18435 \backslash
18436 setlength{
18437 \backslash
18438 arrayrulewidth}{1.5pt}
18439 \end_layout
18440
18441 \end_inset
18442
18443
18444 \begin_inset Float table
18445 wide false
18446 sideways false
18447 status open
18448
18449 \begin_layout Plain Layout
18450 \begin_inset Caption
18451
18452 \begin_layout Plain Layout
18453 \begin_inset CommandInset label
18454 LatexCommand label
18455 name "tab:Table-with-1.5"
18456
18457 \end_inset
18458
18459 Table with 1.5
18460 \begin_inset space \thinspace{}
18461 \end_inset
18462
18463 pt thick lines
18464 \end_layout
18465
18466 \end_inset
18467
18468
18469 \end_layout
18470
18471 \begin_layout Plain Layout
18472 \align center
18473 \begin_inset Tabular
18474 <lyxtabular version="3" rows="3" columns="3">
18475 <features tabularvalignment="middle">
18476 <column alignment="center" valignment="top" width="0">
18477 <column alignment="center" valignment="top" width="0">
18478 <column alignment="center" valignment="top" width="0">
18479 <row>
18480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18481 \begin_inset Text
18482
18483 \begin_layout Plain Layout
18484 sd
18485 \end_layout
18486
18487 \end_inset
18488 </cell>
18489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18490 \begin_inset Text
18491
18492 \begin_layout Plain Layout
18493
18494 \end_layout
18495
18496 \end_inset
18497 </cell>
18498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18499 \begin_inset Text
18500
18501 \begin_layout Plain Layout
18502
18503 \end_layout
18504
18505 \end_inset
18506 </cell>
18507 </row>
18508 <row>
18509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18510 \begin_inset Text
18511
18512 \begin_layout Plain Layout
18513
18514 \end_layout
18515
18516 \end_inset
18517 </cell>
18518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18519 \begin_inset Text
18520
18521 \begin_layout Plain Layout
18522 sd
18523 \end_layout
18524
18525 \end_inset
18526 </cell>
18527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18528 \begin_inset Text
18529
18530 \begin_layout Plain Layout
18531
18532 \end_layout
18533
18534 \end_inset
18535 </cell>
18536 </row>
18537 <row>
18538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18539 \begin_inset Text
18540
18541 \begin_layout Plain Layout
18542
18543 \end_layout
18544
18545 \end_inset
18546 </cell>
18547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18548 \begin_inset Text
18549
18550 \begin_layout Plain Layout
18551
18552 \end_layout
18553
18554 \end_inset
18555 </cell>
18556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18557 \begin_inset Text
18558
18559 \begin_layout Plain Layout
18560 sd
18561 \end_layout
18562
18563 \end_inset
18564 </cell>
18565 </row>
18566 </lyxtabular>
18567
18568 \end_inset
18569
18570
18571 \end_layout
18572
18573 \end_inset
18574
18575
18576 \begin_inset ERT
18577 status collapsed
18578
18579 \begin_layout Plain Layout
18580
18581
18582 \backslash
18583 setlength{
18584 \backslash
18585 arrayrulewidth}{0.4pt}
18586 \end_layout
18587
18588 \end_inset
18589
18590
18591 \end_layout
18592
18593 \begin_layout Standard
18594 \begin_inset VSpace bigskip
18595 \end_inset
18596
18597 To set the line thickness to 1.5
18598 \begin_inset space \thinspace{}
18599 \end_inset
18600
18601 pt only for horizontal lines, as in Table
18602 \begin_inset space ~
18603 \end_inset
18604
18605
18606 \begin_inset CommandInset ref
18607 LatexCommand ref
18608 reference "tab:Table-with-horizontal"
18609
18610 \end_inset
18611
18612 , insert these commands in TeX-Code before the table or table float:
18613 \end_layout
18614
18615 \begin_layout Standard
18616
18617 \series bold
18618
18619 \backslash
18620 let
18621 \backslash
18622 myHline
18623 \backslash
18624 hline
18625 \begin_inset Newline newline
18626 \end_inset
18627
18628
18629 \backslash
18630 renewcommand{
18631 \backslash
18632 hline}
18633 \begin_inset Newline newline
18634 \end_inset
18635
18636  {
18637 \backslash
18638 noalign{
18639 \backslash
18640 global
18641 \backslash
18642 arrayrulewidth 1.5pt}
18643 \begin_inset Newline newline
18644 \end_inset
18645
18646  
18647 \backslash
18648 myHline
18649 \backslash
18650 noalign{
18651 \backslash
18652 global
18653 \backslash
18654 arrayrulewidth 0.4pt}}
18655 \end_layout
18656
18657 \begin_layout Standard
18658 To return to the default line thickness, insert this command in TeX-Code
18659  after the table or table float:
18660 \end_layout
18661
18662 \begin_layout Standard
18663
18664 \series bold
18665
18666 \backslash
18667 renewcommand{
18668 \backslash
18669 hline}{
18670 \backslash
18671 myHline}
18672 \end_layout
18673
18674 \begin_layout Standard
18675 \begin_inset ERT
18676 status collapsed
18677
18678 \begin_layout Plain Layout
18679
18680
18681 \backslash
18682 let
18683 \backslash
18684 myHline
18685 \backslash
18686 hline
18687 \end_layout
18688
18689 \begin_layout Plain Layout
18690
18691
18692 \backslash
18693 renewcommand{
18694 \backslash
18695 hline}
18696 \end_layout
18697
18698 \begin_layout Plain Layout
18699
18700  {
18701 \backslash
18702 noalign{
18703 \backslash
18704 global
18705 \backslash
18706 arrayrulewidth 1.5pt}
18707 \end_layout
18708
18709 \begin_layout Plain Layout
18710
18711   
18712 \backslash
18713 myHline
18714 \backslash
18715 noalign{
18716 \backslash
18717 global
18718 \backslash
18719 arrayrulewidth 0.4pt}}
18720 \end_layout
18721
18722 \end_inset
18723
18724
18725 \begin_inset Float table
18726 wide false
18727 sideways false
18728 status open
18729
18730 \begin_layout Plain Layout
18731 \begin_inset Caption
18732
18733 \begin_layout Plain Layout
18734 \begin_inset CommandInset label
18735 LatexCommand label
18736 name "tab:Table-with-horizontal"
18737
18738 \end_inset
18739
18740 Table with 1.5
18741 \begin_inset space \thinspace{}
18742 \end_inset
18743
18744 pt thick horizontal lines
18745 \end_layout
18746
18747 \end_inset
18748
18749
18750 \end_layout
18751
18752 \begin_layout Plain Layout
18753 \align center
18754 \begin_inset Tabular
18755 <lyxtabular version="3" rows="3" columns="3">
18756 <features tabularvalignment="middle">
18757 <column alignment="center" valignment="top" width="0">
18758 <column alignment="center" valignment="top" width="0">
18759 <column alignment="center" valignment="top" width="0">
18760 <row>
18761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18762 \begin_inset Text
18763
18764 \begin_layout Plain Layout
18765 sd
18766 \end_layout
18767
18768 \end_inset
18769 </cell>
18770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18771 \begin_inset Text
18772
18773 \begin_layout Plain Layout
18774
18775 \end_layout
18776
18777 \end_inset
18778 </cell>
18779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18780 \begin_inset Text
18781
18782 \begin_layout Plain Layout
18783
18784 \end_layout
18785
18786 \end_inset
18787 </cell>
18788 </row>
18789 <row>
18790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18791 \begin_inset Text
18792
18793 \begin_layout Plain Layout
18794
18795 \end_layout
18796
18797 \end_inset
18798 </cell>
18799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18800 \begin_inset Text
18801
18802 \begin_layout Plain Layout
18803 sd
18804 \end_layout
18805
18806 \end_inset
18807 </cell>
18808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18809 \begin_inset Text
18810
18811 \begin_layout Plain Layout
18812
18813 \end_layout
18814
18815 \end_inset
18816 </cell>
18817 </row>
18818 <row>
18819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18820 \begin_inset Text
18821
18822 \begin_layout Plain Layout
18823
18824 \end_layout
18825
18826 \end_inset
18827 </cell>
18828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18829 \begin_inset Text
18830
18831 \begin_layout Plain Layout
18832
18833 \end_layout
18834
18835 \end_inset
18836 </cell>
18837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18838 \begin_inset Text
18839
18840 \begin_layout Plain Layout
18841 sd
18842 \end_layout
18843
18844 \end_inset
18845 </cell>
18846 </row>
18847 </lyxtabular>
18848
18849 \end_inset
18850
18851
18852 \end_layout
18853
18854 \end_inset
18855
18856
18857 \begin_inset ERT
18858 status collapsed
18859
18860 \begin_layout Plain Layout
18861
18862
18863 \backslash
18864 renewcommand{
18865 \backslash
18866 hline}{
18867 \backslash
18868 myHline}
18869 \end_layout
18870
18871 \end_inset
18872
18873
18874 \end_layout
18875
18876 \begin_layout Standard
18877 \begin_inset VSpace bigskip
18878 \end_inset
18879
18880 To set the line thickness to 1.5
18881 \begin_inset space \thinspace{}
18882 \end_inset
18883
18884 pt only for vertical lines, create the following column format in the document
18885  preamble, according to the description in section
18886 \begin_inset space ~
18887 \end_inset
18888
18889
18890 \begin_inset CommandInset ref
18891 LatexCommand ref
18892 reference "sub:Customized-Format"
18893
18894 \end_inset
18895
18896 :
18897 \end_layout
18898
18899 \begin_layout Standard
18900
18901 \series bold
18902
18903 \backslash
18904 newcolumntype{V}{!{
18905 \backslash
18906 vrule width 1.5pt}}
18907 \end_layout
18908
18909 \begin_layout Standard
18910 For Table
18911 \begin_inset space ~
18912 \end_inset
18913
18914
18915 \begin_inset CommandInset ref
18916 LatexCommand ref
18917 reference "tab:Table-with-vertical"
18918
18919 \end_inset
18920
18921  the LaTeX-argument
18922 \end_layout
18923
18924 \begin_layout Standard
18925
18926 \series bold
18927 VcV
18928 \end_layout
18929
18930 \begin_layout Standard
18931 was used for the last column and
18932 \end_layout
18933
18934 \begin_layout Standard
18935
18936 \series bold
18937 Vc
18938 \end_layout
18939
18940 \begin_layout Standard
18941 for the other columns.
18942 \end_layout
18943
18944 \begin_layout Standard
18945 \begin_inset Float table
18946 wide false
18947 sideways false
18948 status open
18949
18950 \begin_layout Plain Layout
18951 \begin_inset Caption
18952
18953 \begin_layout Plain Layout
18954 \begin_inset CommandInset label
18955 LatexCommand label
18956 name "tab:Table-with-vertical"
18957
18958 \end_inset
18959
18960 Table with 1.5
18961 \begin_inset space \thinspace{}
18962 \end_inset
18963
18964 pt thick vertical lines
18965 \end_layout
18966
18967 \end_inset
18968
18969
18970 \end_layout
18971
18972 \begin_layout Plain Layout
18973 \align center
18974 \begin_inset Tabular
18975 <lyxtabular version="3" rows="3" columns="3">
18976 <features tabularvalignment="middle">
18977 <column alignment="center" valignment="top" width="0" special="Vc">
18978 <column alignment="center" valignment="top" width="0" special="Vc">
18979 <column alignment="center" valignment="top" width="0" special="VcV">
18980 <row>
18981 <cell alignment="center" valignment="top" topline="true" usebox="none">
18982 \begin_inset Text
18983
18984 \begin_layout Plain Layout
18985 sd
18986 \end_layout
18987
18988 \end_inset
18989 </cell>
18990 <cell alignment="center" valignment="top" topline="true" usebox="none">
18991 \begin_inset Text
18992
18993 \begin_layout Plain Layout
18994
18995 \end_layout
18996
18997 \end_inset
18998 </cell>
18999 <cell alignment="center" valignment="top" topline="true" usebox="none">
19000 \begin_inset Text
19001
19002 \begin_layout Plain Layout
19003
19004 \end_layout
19005
19006 \end_inset
19007 </cell>
19008 </row>
19009 <row>
19010 <cell alignment="center" valignment="top" topline="true" usebox="none">
19011 \begin_inset Text
19012
19013 \begin_layout Plain Layout
19014
19015 \end_layout
19016
19017 \end_inset
19018 </cell>
19019 <cell alignment="center" valignment="top" topline="true" usebox="none">
19020 \begin_inset Text
19021
19022 \begin_layout Plain Layout
19023 sd
19024 \end_layout
19025
19026 \end_inset
19027 </cell>
19028 <cell alignment="center" valignment="top" topline="true" usebox="none">
19029 \begin_inset Text
19030
19031 \begin_layout Plain Layout
19032
19033 \end_layout
19034
19035 \end_inset
19036 </cell>
19037 </row>
19038 <row>
19039 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19040 \begin_inset Text
19041
19042 \begin_layout Plain Layout
19043
19044 \end_layout
19045
19046 \end_inset
19047 </cell>
19048 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19049 \begin_inset Text
19050
19051 \begin_layout Plain Layout
19052
19053 \end_layout
19054
19055 \end_inset
19056 </cell>
19057 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19058 \begin_inset Text
19059
19060 \begin_layout Plain Layout
19061 sd
19062 \end_layout
19063
19064 \end_inset
19065 </cell>
19066 </row>
19067 </lyxtabular>
19068
19069 \end_inset
19070
19071
19072 \end_layout
19073
19074 \end_inset
19075
19076
19077 \end_layout
19078
19079 \begin_layout Subsection
19080 Dashed Lines
19081 \begin_inset Index idx
19082 status collapsed
19083
19084 \begin_layout Plain Layout
19085 Table Customization ! Dashed Lines
19086 \end_layout
19087
19088 \end_inset
19089
19090
19091 \end_layout
19092
19093 \begin_layout Standard
19094 \begin_inset ERT
19095 status collapsed
19096
19097 \begin_layout Plain Layout
19098
19099
19100 \backslash
19101 ifarydshln
19102 \end_layout
19103
19104 \end_inset
19105
19106
19107 \begin_inset Note Note
19108 status open
19109
19110 \begin_layout Plain Layout
19111 The following section will only be displayed when the LaTeX-package 
19112 \series bold
19113 arydshln
19114 \series default
19115  is installed.
19116 \end_layout
19117
19118 \end_inset
19119
19120
19121 \end_layout
19122
19123 \begin_layout Standard
19124 \begin_inset Float table
19125 placement H
19126 wide false
19127 sideways false
19128 status open
19129
19130 \begin_layout Plain Layout
19131 \begin_inset Caption
19132
19133 \begin_layout Plain Layout
19134 \begin_inset CommandInset label
19135 LatexCommand label
19136 name "tab:Table-with-dashed"
19137
19138 \end_inset
19139
19140 Table with dashed lines
19141 \end_layout
19142
19143 \end_inset
19144
19145
19146 \end_layout
19147
19148 \begin_layout Plain Layout
19149 \align center
19150 \begin_inset Tabular
19151 <lyxtabular version="3" rows="5" columns="5">
19152 <features tabularvalignment="middle">
19153 <column alignment="center" valignment="top" width="0">
19154 <column alignment="center" valignment="top" width="0">
19155 <column alignment="center" valignment="top" width="0" special=":c">
19156 <column alignment="center" valignment="top" width="0">
19157 <column alignment="center" valignment="top" width="0">
19158 <row>
19159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19160 \begin_inset Text
19161
19162 \begin_layout Plain Layout
19163 a
19164 \end_layout
19165
19166 \end_inset
19167 </cell>
19168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19169 \begin_inset Text
19170
19171 \begin_layout Plain Layout
19172 b
19173 \end_layout
19174
19175 \end_inset
19176 </cell>
19177 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19178 \begin_inset Text
19179
19180 \begin_layout Plain Layout
19181 c
19182 \end_layout
19183
19184 \end_inset
19185 </cell>
19186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19187 \begin_inset Text
19188
19189 \begin_layout Plain Layout
19190 d
19191 \end_layout
19192
19193 \end_inset
19194 </cell>
19195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19196 \begin_inset Text
19197
19198 \begin_layout Plain Layout
19199 e
19200 \end_layout
19201
19202 \end_inset
19203 </cell>
19204 </row>
19205 <row>
19206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19207 \begin_inset Text
19208
19209 \begin_layout Plain Layout
19210 f
19211 \end_layout
19212
19213 \end_inset
19214 </cell>
19215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19216 \begin_inset Text
19217
19218 \begin_layout Plain Layout
19219 g
19220 \end_layout
19221
19222 \end_inset
19223 </cell>
19224 <cell alignment="center" valignment="top" topline="true" usebox="none">
19225 \begin_inset Text
19226
19227 \begin_layout Plain Layout
19228 h
19229 \end_layout
19230
19231 \end_inset
19232 </cell>
19233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19234 \begin_inset Text
19235
19236 \begin_layout Plain Layout
19237 i
19238 \end_layout
19239
19240 \end_inset
19241 </cell>
19242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19243 \begin_inset Text
19244
19245 \begin_layout Plain Layout
19246 j
19247 \end_layout
19248
19249 \end_inset
19250 </cell>
19251 </row>
19252 <row>
19253 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19254 \begin_inset Text
19255
19256 \begin_layout Plain Layout
19257 \begin_inset ERT
19258 status collapsed
19259
19260 \begin_layout Plain Layout
19261
19262
19263 \backslash
19264 hdashline 
19265 \end_layout
19266
19267 \end_inset
19268
19269 k
19270 \end_layout
19271
19272 \end_inset
19273 </cell>
19274 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19275 \begin_inset Text
19276
19277 \begin_layout Plain Layout
19278 l
19279 \end_layout
19280
19281 \end_inset
19282 </cell>
19283 <cell alignment="center" valignment="top" usebox="none">
19284 \begin_inset Text
19285
19286 \begin_layout Plain Layout
19287 m
19288 \end_layout
19289
19290 \end_inset
19291 </cell>
19292 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19293 \begin_inset Text
19294
19295 \begin_layout Plain Layout
19296 n
19297 \end_layout
19298
19299 \end_inset
19300 </cell>
19301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19302 \begin_inset Text
19303
19304 \begin_layout Plain Layout
19305 o
19306 \end_layout
19307
19308 \end_inset
19309 </cell>
19310 </row>
19311 <row>
19312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19313 \begin_inset Text
19314
19315 \begin_layout Plain Layout
19316 \begin_inset ERT
19317 status collapsed
19318
19319 \begin_layout Plain Layout
19320
19321
19322 \backslash
19323 cdashline{4-5}
19324 \end_layout
19325
19326 \end_inset
19327
19328 p
19329 \end_layout
19330
19331 \end_inset
19332 </cell>
19333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19334 \begin_inset Text
19335
19336 \begin_layout Plain Layout
19337 q
19338 \end_layout
19339
19340 \end_inset
19341 </cell>
19342 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19343 \begin_inset Text
19344
19345 \begin_layout Plain Layout
19346 r
19347 \end_layout
19348
19349 \end_inset
19350 </cell>
19351 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19352 \begin_inset Text
19353
19354 \begin_layout Plain Layout
19355 s
19356 \end_layout
19357
19358 \end_inset
19359 </cell>
19360 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19361 \begin_inset Text
19362
19363 \begin_layout Plain Layout
19364
19365 \end_layout
19366
19367 \end_inset
19368 </cell>
19369 </row>
19370 <row>
19371 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19372 \begin_inset Text
19373
19374 \begin_layout Plain Layout
19375 t
19376 \end_layout
19377
19378 \end_inset
19379 </cell>
19380 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19381 \begin_inset Text
19382
19383 \begin_layout Plain Layout
19384 u
19385 \end_layout
19386
19387 \end_inset
19388 </cell>
19389 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19390 \begin_inset Text
19391
19392 \begin_layout Plain Layout
19393 v
19394 \end_layout
19395
19396 \end_inset
19397 </cell>
19398 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19399 \begin_inset Text
19400
19401 \begin_layout Plain Layout
19402 w
19403 \end_layout
19404
19405 \end_inset
19406 </cell>
19407 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19408 \begin_inset Text
19409
19410 \begin_layout Plain Layout
19411 x
19412 \end_layout
19413
19414 \end_inset
19415 </cell>
19416 </row>
19417 </lyxtabular>
19418
19419 \end_inset
19420
19421
19422 \end_layout
19423
19424 \end_inset
19425
19426
19427 \end_layout
19428
19429 \begin_layout Standard
19430 LyX does not natively support dashed lines, so you have to use TeX-Code.
19431  As a prerequisite the LaTeX-package 
19432 \series bold
19433 arydshln
19434 \series default
19435
19436 \begin_inset Index idx
19437 status collapsed
19438
19439 \begin_layout Plain Layout
19440 LaTeX-packages ! arydshln
19441 \end_layout
19442
19443 \end_inset
19444
19445  must be loaded in the document preamble with the command
19446 \end_layout
19447
19448 \begin_layout Standard
19449
19450 \series bold
19451
19452 \backslash
19453 usepackage{arydshln}
19454 \end_layout
19455
19456 \begin_layout Standard
19457 To make a vertical line dashed, enter the colon 
19458 \begin_inset Quotes eld
19459 \end_inset
19460
19461 :
19462 \begin_inset Quotes erd
19463 \end_inset
19464
19465  together with the character for the horizontal alignment as LaTeX-argument
19466  in the table cell dialog.
19467 \end_layout
19468
19469 \begin_layout Standard
19470 For a horizontal dashed line add the command
19471 \end_layout
19472
19473 \begin_layout Standard
19474
19475 \series bold
19476
19477 \backslash
19478 hdashline
19479 \end_layout
19480
19481 \begin_layout Standard
19482 in TeX-Code as first element of the first cell in the table row.
19483 \end_layout
19484
19485 \begin_layout Standard
19486 For dashed multicolumn lines use the command
19487 \end_layout
19488
19489 \begin_layout Standard
19490
19491 \series bold
19492
19493 \backslash
19494 cdashline{line number
19495 \series default
19496 }
19497 \end_layout
19498
19499 \begin_layout Standard
19500 in TeX-Code as the first element of the first cell in the table row.
19501  If you have for example a multicolumn spanning columns 2 to 4 and you want
19502  to have a dashed line above, add the command
19503 \end_layout
19504
19505 \begin_layout Standard
19506
19507 \series bold
19508
19509 \backslash
19510 cdashline{2-4}
19511 \end_layout
19512
19513 \begin_layout Standard
19514 as the first element of the first cell in the row of the multicolumn.
19515 \end_layout
19516
19517 \begin_layout Standard
19518 \begin_inset VSpace bigskip
19519 \end_inset
19520
19521
19522 \end_layout
19523
19524 \begin_layout Standard
19525 Table
19526 \begin_inset space ~
19527 \end_inset
19528
19529
19530 \begin_inset CommandInset ref
19531 LatexCommand ref
19532 reference "tab:Table-with-dashed"
19533
19534 \end_inset
19535
19536  was created using 
19537 \begin_inset Quotes eld
19538 \end_inset
19539
19540
19541 \series bold
19542 :c
19543 \series default
19544
19545 \begin_inset Quotes erd
19546 \end_inset
19547
19548  as LaTeX-argument of the third column.
19549  The TeX-Code command 
19550 \series bold
19551
19552 \backslash
19553 hdashline
19554 \series default
19555  was inserted in the first cell of the third row and the TeX-Code command
19556 \begin_inset Newline newline
19557 \end_inset
19558
19559  
19560 \series bold
19561
19562 \backslash
19563 cdashline{4-5}
19564 \series default
19565  was inserted in the first cell of the fourth row.
19566 \end_layout
19567
19568 \begin_layout Standard
19569 \begin_inset Note Greyedout
19570 status open
19571
19572 \begin_layout Plain Layout
19573
19574 \series bold
19575 Note:
19576 \series default
19577  The LaTeX-package 
19578 \series bold
19579 arydshln
19580 \series default
19581  is apparently not compatible with the LaTeX-package 
19582 \series bold
19583 colortbl
19584 \series default
19585
19586 \begin_inset Index idx
19587 status collapsed
19588
19589 \begin_layout Plain Layout
19590 LaTeX-packages ! colortbl
19591 \end_layout
19592
19593 \end_inset
19594
19595  that is used for colored tables in section
19596 \begin_inset space ~
19597 \end_inset
19598
19599
19600 \begin_inset CommandInset ref
19601 LatexCommand ref
19602 reference "sec:Colored-Tables"
19603
19604 \end_inset
19605
19606 .
19607  That means colored tables cannot have dashed lines.
19608 \end_layout
19609
19610 \end_inset
19611
19612
19613 \end_layout
19614
19615 \begin_layout Standard
19616 \begin_inset ERT
19617 status collapsed
19618
19619 \begin_layout Plain Layout
19620
19621
19622 \backslash
19623 else
19624 \end_layout
19625
19626 \end_inset
19627
19628
19629 \begin_inset Note Note
19630 status open
19631
19632 \begin_layout Plain Layout
19633 The following will be displayed when the LaTeX-package 
19634 \series bold
19635 arydshln
19636 \series default
19637  is not installed:
19638 \end_layout
19639
19640 \end_inset
19641
19642
19643 \end_layout
19644
19645 \begin_layout Standard
19646 You need to install the package 
19647 \series bold
19648 arydshln
19649 \series default
19650  to see the content of this section in the output.
19651 \end_layout
19652
19653 \begin_layout Standard
19654 \begin_inset ERT
19655 status collapsed
19656
19657 \begin_layout Plain Layout
19658
19659
19660 \backslash
19661 fi
19662 \end_layout
19663
19664 \end_inset
19665
19666
19667 \end_layout
19668
19669 \begin_layout Chapter
19670 Floats
19671 \begin_inset CommandInset label
19672 LatexCommand label
19673 name "chap:Floats"
19674
19675 \end_inset
19676
19677
19678 \begin_inset Index idx
19679 status collapsed
19680
19681 \begin_layout Plain Layout
19682 Floats
19683 \end_layout
19684
19685 \end_inset
19686
19687
19688 \end_layout
19689
19690 \begin_layout Section
19691 Introduction
19692 \begin_inset CommandInset label
19693 LatexCommand label
19694 name "sec:FloatIntroduction"
19695
19696 \end_inset
19697
19698
19699 \begin_inset Index idx
19700 status collapsed
19701
19702 \begin_layout Plain Layout
19703 Floats ! Introduction
19704 \end_layout
19705
19706 \end_inset
19707
19708
19709 \end_layout
19710
19711 \begin_layout Standard
19712 A float is a block of text associated with some sort of label, which doesn't
19713  have a fixed location.
19714  It can 
19715 \begin_inset Quotes eld
19716 \end_inset
19717
19718 float
19719 \begin_inset Quotes erd
19720 \end_inset
19721
19722  forward or backward a page or two, to wherever it fits best.
19723  
19724 \family sans
19725 Footnotes
19726 \family default
19727  and 
19728 \family sans
19729 Margin
19730 \begin_inset space ~
19731 \end_inset
19732
19733 Notes
19734 \family default
19735  are also floats, because they can float to the next page when there are
19736  too many notes on the page.
19737 \end_layout
19738
19739 \begin_layout Standard
19740 Floats allow a high quality layout.
19741  Images and tables can be spread evenly to the pages to avoid white space
19742  and pages without text.
19743  As the floating often destroys the context between the text and the image/table
19744 , every float can be referenced in the text.
19745  Floats are therefore numbered.
19746  Referencing is described in section
19747 \begin_inset space ~
19748 \end_inset
19749
19750
19751 \begin_inset CommandInset ref
19752 LatexCommand ref
19753 reference "sec:Referencing-Floats"
19754
19755 \end_inset
19756
19757 .
19758 \end_layout
19759
19760 \begin_layout Standard
19761 To insert a float, use the menu 
19762 \family sans
19763 Insert\SpecialChar \menuseparator
19764 Float
19765 \family default
19766 .
19767  This inserts the 
19768 \family sans
19769 Caption
19770 \family default
19771  inset, a box with a label.
19772  The label will automatically be translated to the document language in
19773  the output.
19774  After the label you can insert the caption text.
19775  The image or table is inserted above or below the caption in a separate
19776  paragraph within the float.
19777  More about the caption placement is contained in section
19778 \begin_inset space ~
19779 \end_inset
19780
19781
19782 \begin_inset CommandInset ref
19783 LatexCommand ref
19784 reference "sec:Caption-Placement"
19785
19786 \end_inset
19787
19788 .
19789  To keep your LyX-document readable, you can open and close the float box
19790  by left-clicking on the box label.
19791  A closed float box looks like this: 
19792 \begin_inset Graphics
19793         filename clipart/floatQt4.png
19794         scale 70
19795         scaleBeforeRotation
19796
19797 \end_inset
19798
19799  – a gray button with a red label.
19800 \end_layout
19801
19802 \begin_layout Standard
19803 It is recommended that you insert floats as a separate standard paragraph
19804  to avoid possible LaTeX-errors that can occur when the surrounding text
19805  is specially formatted.
19806 \end_layout
19807
19808 \begin_layout Standard
19809 Existing figures or tables can be put into a float by highlighting them
19810  and then pressing the corresponding toolbar button for a new float.
19811 \end_layout
19812
19813 \begin_layout Section
19814 Float Types
19815 \end_layout
19816
19817 \begin_layout Standard
19818 Besides figure and table floats that are described in sections
19819 \begin_inset space ~
19820 \end_inset
19821
19822
19823 \begin_inset CommandInset ref
19824 LatexCommand ref
19825 reference "sec:Figure-Floats"
19826
19827 \end_inset
19828
19829  and 
19830 \begin_inset CommandInset ref
19831 LatexCommand ref
19832 reference "sec:Table-Floats"
19833
19834 \end_inset
19835
19836  respectively, LyX offers the float types 
19837 \family sans
19838 Algorithm
19839 \family default
19840  and 
19841 \family sans
19842 Wrap
19843 \family default
19844 .
19845  The latter are explained in sec.
19846 \begin_inset space \thinspace{}
19847 \end_inset
19848
19849
19850 \begin_inset CommandInset ref
19851 LatexCommand ref
19852 reference "sec:Wrap-Floats"
19853
19854 \end_inset
19855
19856 .
19857 \end_layout
19858
19859 \begin_layout Subsection
19860 Algorithm Floats
19861 \begin_inset Index idx
19862 status collapsed
19863
19864 \begin_layout Plain Layout
19865 Floats ! Algorithms
19866 \end_layout
19867
19868 \end_inset
19869
19870
19871 \end_layout
19872
19873 \begin_layout Standard
19874 \begin_inset Float algorithm
19875 placement h
19876 wide false
19877 sideways false
19878 status open
19879
19880 \begin_layout Plain Layout
19881 \begin_inset Caption
19882
19883 \begin_layout Plain Layout
19884 \begin_inset CommandInset label
19885 LatexCommand label
19886 name "alg:Example-Algorithm-float"
19887
19888 \end_inset
19889
19890 Example Algorithm float
19891 \end_layout
19892
19893 \end_inset
19894
19895
19896 \end_layout
19897
19898 \begin_layout LyX-Code
19899 for I in 1..N loop
19900 \begin_inset Newline newline
19901 \end_inset
19902
19903  Sum:= Sum + A(I); /*comment*/
19904 \begin_inset Newline newline
19905 \end_inset
19906
19907 end loop
19908 \begin_inset VSpace -4mm
19909 \end_inset
19910
19911
19912 \end_layout
19913
19914 \end_inset
19915
19916
19917 \end_layout
19918
19919 \begin_layout Standard
19920 This float type is inserted with the menu 
19921 \family sans
19922 Insert\SpecialChar \menuseparator
19923 Floats\SpecialChar \menuseparator
19924 Algorithm
19925 \family default
19926 .
19927  It is used for program codes and descriptions of algorithms and can be
19928  seen as an alternative to program code listings that are explained in chapter
19929 \begin_inset space ~
19930 \end_inset
19931
19932
19933 \begin_inset CommandInset ref
19934 LatexCommand ref
19935 reference "cha:Program-Code-Listings"
19936
19937 \end_inset
19938
19939 .
19940  A possible environment for algorithms is the 
19941 \family sans
19942 LyX-Code
19943 \family default
19944 , described in LyX's 
19945 \emph on
19946 Userguide
19947 \emph default
19948 .
19949  Algorithm
19950 \begin_inset space ~
19951 \end_inset
19952
19953
19954 \begin_inset CommandInset ref
19955 LatexCommand ref
19956 reference "alg:Example-Algorithm-float"
19957
19958 \end_inset
19959
19960  is an example of an algorithm float where -4
19961 \begin_inset space \thinspace{}
19962 \end_inset
19963
19964 mm vertical space was added at the end of the float to have the bottom rule
19965  exactly below the last text line.
19966 \end_layout
19967
19968 \begin_layout Standard
19969 The float label is not automatically translated into the document language.
19970  If your document is not in English, you have to do this manually by adding
19971  the following line to the document preamble
19972 \series bold
19973 :
19974 \end_layout
19975
19976 \begin_layout Standard
19977
19978 \series bold
19979
19980 \backslash
19981 floatname{algorithm}{your
19982 \begin_inset space ~
19983 \end_inset
19984
19985 name}
19986 \end_layout
19987
19988 \begin_layout Standard
19989 where 
19990 \family sans
19991 your
19992 \begin_inset space ~
19993 \end_inset
19994
19995 name
19996 \family default
19997  is the word 
19998 \begin_inset Quotes eld
19999 \end_inset
20000
20001
20002 \emph on
20003 algorithm
20004 \emph default
20005
20006 \begin_inset Quotes erd
20007 \end_inset
20008
20009  in your language.
20010 \end_layout
20011
20012 \begin_layout Standard
20013 To insert the list of algorithms you can use the menu 
20014 \family sans
20015 Insert\SpecialChar \menuseparator
20016 List
20017 \begin_inset space \thinspace{}
20018 \end_inset
20019
20020 /
20021 \begin_inset space \thinspace{}
20022 \end_inset
20023
20024 TOC\SpecialChar \menuseparator
20025 List of Algorithms
20026 \family default
20027  when your document has the same language as LyX's menu names.
20028  In other cases use this command in TeX-Code instead:
20029 \end_layout
20030
20031 \begin_layout Standard
20032
20033 \series bold
20034
20035 \backslash
20036 listof{algorithm}{your
20037 \begin_inset space ~
20038 \end_inset
20039
20040 name}
20041 \end_layout
20042
20043 \begin_layout Standard
20044 where 
20045 \family sans
20046 your
20047 \begin_inset space ~
20048 \end_inset
20049
20050 name
20051 \family default
20052  is the word 
20053 \begin_inset Quotes eld
20054 \end_inset
20055
20056
20057 \emph on
20058 List of Algorithm
20059 \emph default
20060 s
20061 \begin_inset Quotes erd
20062 \end_inset
20063
20064  in your language.
20065 \end_layout
20066
20067 \begin_layout Standard
20068 Algorithm floats are not by default numbered in the scheme 
20069 \begin_inset Quotes eld
20070 \end_inset
20071
20072 chapter.algorithm
20073 \begin_inset Quotes erd
20074 \end_inset
20075
20076  as is the case for table and figure floats in many document-classes.
20077  To number algorithm floats in the same scheme, add this command to your
20078  document preamble:
20079 \end_layout
20080
20081 \begin_layout Standard
20082
20083 \series bold
20084
20085 \backslash
20086 numberwithin{algorithm}{chapter}
20087 \end_layout
20088
20089 \begin_layout Standard
20090 To be able to use the command 
20091 \series bold
20092
20093 \backslash
20094 numberwithin
20095 \series default
20096 , set in the tab 
20097 \family sans
20098 Math
20099 \begin_inset space ~
20100 \end_inset
20101
20102 Options
20103 \family default
20104  in the document settings the option 
20105 \family sans
20106 Use
20107 \begin_inset space ~
20108 \end_inset
20109
20110 AMS
20111 \begin_inset space ~
20112 \end_inset
20113
20114 math
20115 \begin_inset space ~
20116 \end_inset
20117
20118 package
20119 \family default
20120 .
20121 \end_layout
20122
20123 \begin_layout Section
20124 Float Numbering
20125 \begin_inset Index idx
20126 status collapsed
20127
20128 \begin_layout Plain Layout
20129 Floats ! Numbering
20130 \end_layout
20131
20132 \end_inset
20133
20134
20135 \end_layout
20136
20137 \begin_layout Standard
20138 Floats are usually numbered either independently from the sections the floats
20139  are in, or in the scheme 
20140 \begin_inset Quotes eld
20141 \end_inset
20142
20143 chapter.number
20144 \begin_inset Quotes erd
20145 \end_inset
20146
20147  or 
20148 \begin_inset Quotes eld
20149 \end_inset
20150
20151 section.number
20152 \begin_inset Quotes erd
20153 \end_inset
20154
20155 .
20156  This depends on the document class used.
20157 \end_layout
20158
20159 \begin_layout Standard
20160 To change section-independent numbering, you can use this command in the
20161  document preamble:
20162 \end_layout
20163
20164 \begin_layout Standard
20165
20166 \series bold
20167
20168 \backslash
20169 renewcommand{
20170 \backslash
20171 thetable}{
20172 \backslash
20173 roman{table}}
20174 \end_layout
20175
20176 \begin_layout Standard
20177
20178 \series bold
20179
20180 \backslash
20181 thetable
20182 \series default
20183  is the command that prints the table number, for figure floats, the command
20184  would be 
20185 \series bold
20186
20187 \backslash
20188 thefigure
20189 \series default
20190 .
20191  
20192 \series bold
20193
20194 \backslash
20195 roman
20196 \series default
20197  in the command above prints the table number as small roman number.
20198 \end_layout
20199
20200 \begin_layout Standard
20201 To change the numbering scheme for example to 
20202 \begin_inset Quotes eld
20203 \end_inset
20204
20205 subsection.number
20206 \begin_inset Quotes erd
20207 \end_inset
20208
20209 , use this command in the preamble:
20210 \end_layout
20211
20212 \begin_layout Standard
20213
20214 \series bold
20215
20216 \backslash
20217 numberwithin{table}{subsection}
20218 \end_layout
20219
20220 \begin_layout Standard
20221 To be able to use the command 
20222 \series bold
20223
20224 \backslash
20225 numberwithin
20226 \series default
20227 , set in the tab 
20228 \family sans
20229 Math
20230 \begin_inset space ~
20231 \end_inset
20232
20233 Options
20234 \family default
20235  in the document settings the option 
20236 \family sans
20237 Use
20238 \begin_inset space ~
20239 \end_inset
20240
20241 AMS
20242 \begin_inset space ~
20243 \end_inset
20244
20245 math
20246 \begin_inset space ~
20247 \end_inset
20248
20249 package
20250 \family default
20251 .
20252 \end_layout
20253
20254 \begin_layout Standard
20255 Please also have a look at section
20256 \begin_inset space ~
20257 \end_inset
20258
20259
20260 \begin_inset CommandInset ref
20261 LatexCommand ref
20262 reference "sub:Footnote-Numbering"
20263
20264 \end_inset
20265
20266  for the details and important notes about the numbering commands.
20267 \end_layout
20268
20269 \begin_layout Section
20270 Referencing Floats
20271 \begin_inset CommandInset label
20272 LatexCommand label
20273 name "sec:Referencing-Floats"
20274
20275 \end_inset
20276
20277
20278 \begin_inset Index idx
20279 status collapsed
20280
20281 \begin_layout Plain Layout
20282 Floats ! References
20283 \end_layout
20284
20285 \end_inset
20286
20287
20288 \begin_inset Index idx
20289 status collapsed
20290
20291 \begin_layout Plain Layout
20292 References ! to Floats
20293 \end_layout
20294
20295 \end_inset
20296
20297
20298 \end_layout
20299
20300 \begin_layout Standard
20301 To reference a float, insert a label into its caption using the menu 
20302 \family sans
20303 Insert\SpecialChar \menuseparator
20304 Label
20305 \family default
20306  or the toolbar button 
20307 \begin_inset Graphics
20308         filename ../images/label-insert.png
20309         scale 85
20310         scaleBeforeRotation
20311
20312 \end_inset
20313
20314 .
20315  A grey label box like this one: 
20316 \begin_inset Graphics
20317         filename clipart/labelQt4.png
20318         scale 85
20319         scaleBeforeRotation
20320
20321 \end_inset
20322
20323  will be inserted and the label window pops up asking for the label text.
20324  LyX offers as text the first words of the caption with a prefix.
20325  The prefix depends on the float type, e.
20326 \begin_inset space \thinspace{}
20327 \end_inset
20328
20329 g.
20330 \begin_inset space \space{}
20331 \end_inset
20332
20333 for figure floats the prefix will be "
20334 \family sans
20335 fig:
20336 \family default
20337 ".
20338 \end_layout
20339
20340 \begin_layout Standard
20341 The label is used as anchor and name for the reference.
20342  You can refer to the label using the menu 
20343 \family sans
20344 Insert\SpecialChar \menuseparator
20345 Cross-reference
20346 \family default
20347  or the toolbar button 
20348 \begin_inset Graphics
20349         filename ../images/dialog-show-new-inset_ref.png
20350         scale 85
20351         scaleBeforeRotation
20352
20353 \end_inset
20354
20355 .
20356  A grey cross-reference box like this one: 
20357 \begin_inset Graphics
20358         filename clipart/referenceQt4.png
20359         scale 85
20360         scaleBeforeRotation
20361
20362 \end_inset
20363
20364  will be inserted and the cross-reference window appear showing all labels
20365  of the document.
20366  If you have multiple LyX-documents opened, choose the one you are working
20367  on from the drop-list at the top of the dialog.
20368  You can now sort the labels alphabetically and then choose one.
20369  At the position of the cross-reference box the float number will appear
20370  in the output.
20371 \end_layout
20372
20373 \begin_layout Standard
20374 It is recommended that you use a protected space between the cross-reference
20375  name and its number to avoid line breaks between them.
20376  If a cross-reference refers to a non-existing label, you will see two question
20377  marks in the output instead of the reference.
20378 \end_layout
20379
20380 \begin_layout Standard
20381 You can change labels at any time by clicking on the label box.
20382  References to the changed label will automatically change its link to the
20383  new label text, so that you don't need to take care about this.
20384 \end_layout
20385
20386 \begin_layout Standard
20387 The button 
20388 \family sans
20389 Go
20390 \begin_inset space ~
20391 \end_inset
20392
20393 to
20394 \begin_inset space ~
20395 \end_inset
20396
20397 Label
20398 \family default
20399  in the cross-reference window sets the cursor before the referred label.
20400  The button text changes then to Go
20401 \begin_inset space ~
20402 \end_inset
20403
20404 Back and you can use it to set the cursor back to the cross-reference.
20405  Right-clicking on a cross-reference box also sets the cursor before the
20406  referenced label but without the possibility of going back.
20407 \end_layout
20408
20409 \begin_layout Subsection
20410 Cross-Reference Formats
20411 \begin_inset CommandInset label
20412 LatexCommand label
20413 name "sub:Cross-Reference-Formats"
20414
20415 \end_inset
20416
20417
20418 \begin_inset Index idx
20419 status collapsed
20420
20421 \begin_layout Plain Layout
20422 References ! Formats
20423 \end_layout
20424
20425 \end_inset
20426
20427
20428 \end_layout
20429
20430 \begin_layout Standard
20431 There are six varieties of cross-references:
20432 \end_layout
20433
20434 \begin_layout Description
20435 <reference>: prints the float number, this is the default: 
20436 \begin_inset CommandInset ref
20437 LatexCommand ref
20438 reference "fig:Two-distorted-images"
20439
20440 \end_inset
20441
20442
20443 \end_layout
20444
20445 \begin_layout Description
20446 (<reference>): prints the float number within two parentheses, this is the
20447  style normally used to reference formulas, especially when the reference
20448  name 
20449 \begin_inset Quotes eld
20450 \end_inset
20451
20452 Equation
20453 \begin_inset Quotes erd
20454 \end_inset
20455
20456  is omitted: 
20457 \begin_inset CommandInset ref
20458 LatexCommand eqref
20459 reference "eq:Wgn"
20460
20461 \end_inset
20462
20463
20464 \end_layout
20465
20466 \begin_layout Description
20467 <page>: prints the page number: Page
20468 \begin_inset space ~
20469 \end_inset
20470
20471
20472 \begin_inset CommandInset ref
20473 LatexCommand pageref
20474 reference "fig:Two-distorted-images"
20475
20476 \end_inset
20477
20478
20479 \end_layout
20480
20481 \begin_layout Description
20482 on
20483 \begin_inset space ~
20484 \end_inset
20485
20486 page
20487 \begin_inset space ~
20488 \end_inset
20489
20490 <page>: prints the text "on page" and the page number: 
20491 \begin_inset CommandInset ref
20492 LatexCommand vpageref
20493 reference "fig:Two-distorted-images"
20494
20495 \end_inset
20496
20497
20498 \end_layout
20499
20500 \begin_layout Description
20501 <reference>
20502 \begin_inset space ~
20503 \end_inset
20504
20505 on
20506 \begin_inset space ~
20507 \end_inset
20508
20509 page
20510 \begin_inset space ~
20511 \end_inset
20512
20513 <page>: prints the float number, the text "on page", and the page number:
20514  
20515 \begin_inset CommandInset ref
20516 LatexCommand vref
20517 reference "fig:Two-distorted-images"
20518
20519 \end_inset
20520
20521
20522 \end_layout
20523
20524 \begin_layout Description
20525 Formatted
20526 \begin_inset space ~
20527 \end_inset
20528
20529 reference: prints a self-defined cross-reference format.
20530 \begin_inset Newline newline
20531 \end_inset
20532
20533
20534 \begin_inset Note Greyedout
20535 status open
20536
20537 \begin_layout Plain Layout
20538
20539 \series bold
20540 Note:
20541 \series default
20542  This feature is only available when you have the LaTeX-package 
20543 \series bold
20544 prettyref
20545 \series default
20546  or 
20547 \series bold
20548 refstyle
20549 \series default
20550
20551 \begin_inset Index idx
20552 status collapsed
20553
20554 \begin_layout Plain Layout
20555 LaTeX-packages ! prettyref
20556 \end_layout
20557
20558 \end_inset
20559
20560
20561 \begin_inset Index idx
20562 status collapsed
20563
20564 \begin_layout Plain Layout
20565 LaTeX-packages ! refstyle
20566 \end_layout
20567
20568 \end_inset
20569
20570  installed.
20571 \end_layout
20572
20573 \end_inset
20574
20575
20576 \begin_inset Newline newline
20577 \end_inset
20578
20579 You can select which LaTeX-package should be used for this feature by setting
20580  the option 
20581 \family sans
20582 Use refstyle (not prettyref) for cross-references
20583 \family default
20584  in the menu 
20585 \family sans
20586 Document\SpecialChar \menuseparator
20587 Settings\SpecialChar \menuseparator
20588 Document Class
20589 \family default
20590 .
20591  The format is specified by adding the command 
20592 \series bold
20593
20594 \backslash
20595 newrefformat
20596 \series default
20597  (prettyref) or 
20598 \series bold
20599
20600 \backslash
20601 newref
20602 \series default
20603  (refstyle) to the preamble of the document.
20604  For example redefining all references to figures (which have the label
20605  shortcut 
20606 \begin_inset Quotes eld
20607 \end_inset
20608
20609
20610 \family sans
20611 fig
20612 \family default
20613
20614 \begin_inset Quotes erd
20615 \end_inset
20616
20617 ) can be done with this command
20618 \begin_inset Newline newline
20619 \end_inset
20620
20621
20622 \series bold
20623
20624 \backslash
20625 newref{fig}{refcmd={Image on page 
20626 \backslash
20627 pageref{#1}}}
20628 \series default
20629
20630 \begin_inset Newline newline
20631 \end_inset
20632
20633 For more information about the format, have a look at the package documentations
20634
20635 \begin_inset CommandInset citation
20636 LatexCommand cite
20637 key "prettyref,refstyle"
20638
20639 \end_inset
20640
20641 .
20642 \end_layout
20643
20644 \begin_layout Description
20645 Textual
20646 \begin_inset space ~
20647 \end_inset
20648
20649 reference: prints the caption of the reference: 
20650 \begin_inset CommandInset ref
20651 LatexCommand nameref
20652 reference "fig:Two-distorted-images"
20653
20654 \end_inset
20655
20656
20657 \end_layout
20658
20659 \begin_layout Standard
20660
20661 \family sans
20662 <page>
20663 \family default
20664  will not print the page number if the label is on the previous, the same,
20665  or the next page.
20666  You will e.
20667 \begin_inset space \thinspace{}
20668 \end_inset
20669
20670 g.
20671 \begin_inset space \space{}
20672 \end_inset
20673
20674 see the text 
20675 \begin_inset Quotes eld
20676 \end_inset
20677
20678
20679 \family sans
20680 on this page
20681 \family default
20682
20683 \begin_inset Quotes erd
20684 \end_inset
20685
20686  instead.
20687  The style 
20688 \family sans
20689 <reference> on page <page>
20690 \family default
20691  will not print anything about the page if the label is on the same page.
20692 \end_layout
20693
20694 \begin_layout Standard
20695 The number and current page of the part of the document referred to in the
20696  output is automatically calculated by LaTeX.
20697  The varieties are adjusted in the field 
20698 \family sans
20699 Format
20700 \family default
20701  of the cross-reference window that appears when you click on the cross-referenc
20702 e box.
20703 \end_layout
20704
20705 \begin_layout Standard
20706 \begin_inset Note Greyedout
20707 status open
20708
20709 \begin_layout Plain Layout
20710
20711 \series bold
20712 Note:
20713 \series default
20714  It is recommended to use the LaTeX-package 
20715 \series bold
20716 refstyle
20717 \series default
20718
20719 \begin_inset Index idx
20720 status collapsed
20721
20722 \begin_layout Plain Layout
20723 LaTeX-packages ! refstyle
20724 \end_layout
20725
20726 \end_inset
20727
20728  because 
20729 \series bold
20730 prettyref
20731 \series default
20732
20733 \begin_inset Index idx
20734 status collapsed
20735
20736 \begin_layout Plain Layout
20737 LaTeX-packages ! prettyref
20738 \end_layout
20739
20740 \end_inset
20741
20742  does not know all of LyX's possible label shortcuts
20743 \begin_inset Foot
20744 status collapsed
20745
20746 \begin_layout Plain Layout
20747 \begin_inset Quotes eld
20748 \end_inset
20749
20750 fig:
20751 \begin_inset Quotes erd
20752 \end_inset
20753
20754  is for example LyX's shortcut for labels in figure captions.
20755 \end_layout
20756
20757 \end_inset
20758
20759  and is not internationalized.
20760 \end_layout
20761
20762 \end_inset
20763
20764
20765 \end_layout
20766
20767 \begin_layout Standard
20768 \begin_inset Note Greyedout
20769 status open
20770
20771 \begin_layout Plain Layout
20772
20773 \series bold
20774 Note:
20775 \series default
20776  Due to a bug in the LaTeX-package 
20777 \series bold
20778 varioref
20779 \series default
20780  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20781  languages that make the period character active (like French).
20782  For a workaround, see
20783 \begin_inset Newline newline
20784 \end_inset
20785
20786
20787 \begin_inset CommandInset href
20788 LatexCommand href
20789 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20790
20791 \end_inset
20792
20793 .
20794 \end_layout
20795
20796 \end_inset
20797
20798
20799 \end_layout
20800
20801 \begin_layout Subsection
20802 Automatic Reference Naming
20803 \begin_inset Index idx
20804 status collapsed
20805
20806 \begin_layout Plain Layout
20807 References ! Automatic Reference Naming
20808 \end_layout
20809
20810 \end_inset
20811
20812
20813 \end_layout
20814
20815 \begin_layout Standard
20816 The LaTeX-package 
20817 \series bold
20818 hyperref
20819 \series default
20820
20821 \begin_inset Index idx
20822 status collapsed
20823
20824 \begin_layout Plain Layout
20825 LaTeX-packages ! hyperref
20826 \end_layout
20827
20828 \end_inset
20829
20830 , that is enabled in the 
20831 \family sans
20832 PDF Properties
20833 \family default
20834  of the 
20835 \family sans
20836 Document Settings
20837 \family default
20838  dialog, provides a very useful feature that cross-references automatically
20839  include the name of the referenced floats (or text parts like 
20840 \emph on
20841 section
20842 \emph default
20843 ).
20844  So you will save having to write e.
20845 \begin_inset space \thinspace{}
20846 \end_inset
20847
20848 g.
20849 \begin_inset space \space{}
20850 \end_inset
20851
20852 the name 
20853 \begin_inset Quotes eld
20854 \end_inset
20855
20856 Figure
20857 \begin_inset Quotes erd
20858 \end_inset
20859
20860  before every reference to a figure.
20861  To use this feature, enable 
20862 \series bold
20863 hyperref
20864 \series default
20865  and insert this line to the LaTeX preamble:
20866 \end_layout
20867
20868 \begin_layout Standard
20869
20870 \series bold
20871
20872 \backslash
20873 AtBeginDocument{
20874 \backslash
20875 renewcommand{
20876 \backslash
20877 ref}[1]{
20878 \backslash
20879 mbox{
20880 \backslash
20881 autoref{#1}}}}
20882 \end_layout
20883
20884 \begin_layout Standard
20885 When you prefer other reference names than the default ones, for example
20886  you want instead of 
20887 \begin_inset Quotes eld
20888 \end_inset
20889
20890 section
20891 \begin_inset Quotes erd
20892 \end_inset
20893
20894  the name 
20895 \begin_inset Quotes eld
20896 \end_inset
20897
20898 sec.
20899 \begin_inset space \thinspace{}
20900 \end_inset
20901
20902
20903 \begin_inset Quotes eld
20904 \end_inset
20905
20906 , you can redefine the name by inserting this in the preamble:
20907 \end_layout
20908
20909 \begin_layout Standard
20910
20911 \series bold
20912
20913 \backslash
20914 addto
20915 \backslash
20916 extrasenglish{
20917 \backslash
20918 renewcommand{
20919 \backslash
20920 sectionautorefname}
20921 \begin_inset Newline newline
20922 \end_inset
20923
20924
20925 \begin_inset Phantom HPhantom
20926 status open
20927
20928 \begin_layout Plain Layout
20929
20930 \series bold
20931 \begin_inset space ~
20932 \end_inset
20933
20934
20935 \end_layout
20936
20937 \end_inset
20938
20939 {sec.
20940 \backslash
20941 negthinspace}}
20942 \end_layout
20943
20944 \begin_layout Standard
20945 When you are using another document language than English, replace
20946 \begin_inset Newline newline
20947 \end_inset
20948
20949
20950 \series bold
20951
20952 \backslash
20953 extrasenglish
20954 \series default
20955  by 
20956 \series bold
20957
20958 \backslash
20959 extras***
20960 \series default
20961 , where *** is the name of the language used.
20962 \end_layout
20963
20964 \begin_layout Standard
20965 To get automatic names, but not for certain reference types, for example
20966  not for equations, use this preamble code:
20967 \end_layout
20968
20969 \begin_layout Standard
20970
20971 \series bold
20972
20973 \backslash
20974 newlength{
20975 \backslash
20976 abc}
20977 \begin_inset Newline newline
20978 \end_inset
20979
20980
20981 \backslash
20982 settowidth{
20983 \backslash
20984 abc}{
20985 \backslash
20986 space}
20987 \begin_inset Newline newline
20988 \end_inset
20989
20990
20991 \backslash
20992 addto
20993 \backslash
20994 extrasenglish{
20995 \backslash
20996 renewcommand{
20997 \backslash
20998 equationautorefname}
20999 \begin_inset Newline newline
21000 \end_inset
21001
21002
21003 \begin_inset Phantom HPhantom
21004 status open
21005
21006 \begin_layout Plain Layout
21007
21008 \series bold
21009 \begin_inset space ~
21010 \end_inset
21011
21012
21013 \end_layout
21014
21015 \end_inset
21016
21017 {
21018 \backslash
21019 hspace{-
21020 \backslash
21021 abc}}
21022 \end_layout
21023
21024 \begin_layout Standard
21025 More about this topic can be found in 
21026 \series bold
21027 hyperref
21028 \series default
21029 's documentation 
21030 \begin_inset CommandInset citation
21031 LatexCommand cite
21032 key "hyperref"
21033
21034 \end_inset
21035
21036 .
21037 \end_layout
21038
21039 \begin_layout Standard
21040 \begin_inset Note Greyedout
21041 status open
21042
21043 \begin_layout Plain Layout
21044
21045 \series bold
21046 Note:
21047 \series default
21048  Automatic reference naming cannot be used when you use cross-references
21049  in the 
21050 \family sans
21051 Formatted
21052 \begin_inset space ~
21053 \end_inset
21054
21055 reference
21056 \family default
21057  style, as described in section
21058 \begin_inset space ~
21059 \end_inset
21060
21061
21062 \begin_inset CommandInset ref
21063 LatexCommand ref
21064 reference "sub:Cross-Reference-Formats"
21065
21066 \end_inset
21067
21068 .
21069 \end_layout
21070
21071 \end_inset
21072
21073
21074 \end_layout
21075
21076 \begin_layout Standard
21077 The 
21078 \emph on
21079 Math
21080 \emph default
21081  manual is an example where automatic reference naming is used.
21082 \end_layout
21083
21084 \begin_layout Subsection
21085 Reference Position
21086 \begin_inset CommandInset label
21087 LatexCommand label
21088 name "sub:Reference-Position"
21089
21090 \end_inset
21091
21092
21093 \begin_inset Index idx
21094 status collapsed
21095
21096 \begin_layout Plain Layout
21097 References ! Reference Position
21098 \end_layout
21099
21100 \end_inset
21101
21102
21103 \end_layout
21104
21105 \begin_layout Standard
21106 If you use 
21107 \series bold
21108 hyperref
21109 \series default
21110
21111 \begin_inset Index idx
21112 status collapsed
21113
21114 \begin_layout Plain Layout
21115 LaTeX-packages ! hyperref
21116 \end_layout
21117
21118 \end_inset
21119
21120  in the 
21121 \family sans
21122 PDF Properties
21123 \family default
21124  of the 
21125 \family sans
21126 Document Settings
21127 \family default
21128  dialog to link cross-references in the output, you will see that clicking
21129  on an image float reference jumps to the image label.
21130  The caption will be the first text part on the screen, so that you cannot
21131  see the image without scrolling.
21132  This is because the reference link anchor is placed at the position of
21133  the label.
21134  With the use of the package 
21135 \series bold
21136 hypcap
21137 \series default
21138
21139 \begin_inset Index idx
21140 status collapsed
21141
21142 \begin_layout Plain Layout
21143 LaTeX-packages ! hypcap
21144 \end_layout
21145
21146 \end_inset
21147
21148 , which is part of the LaTeX-package 
21149 \series bold
21150 oberdiek
21151 \series default
21152
21153 \begin_inset Index idx
21154 status collapsed
21155
21156 \begin_layout Plain Layout
21157 LaTeX-packages ! oberdiek
21158 \end_layout
21159
21160 \end_inset
21161
21162 , the link anchor is placed at the beginning of a float.
21163  To use this feature for figure floats, load 
21164 \series bold
21165 hypcap
21166 \series default
21167  in the document preamble with the line
21168 \end_layout
21169
21170 \begin_layout Standard
21171
21172 \series bold
21173
21174 \backslash
21175 usepackage[figure]{hypcap}
21176 \end_layout
21177
21178 \begin_layout Standard
21179 You can also use 
21180 \series bold
21181 hypcap
21182 \series default
21183  for all float types but this is not recommended for stability reasons.
21184  For more information, have a look at 
21185 \series bold
21186 hypcap
21187 \series default
21188 's manual 
21189 \begin_inset CommandInset citation
21190 LatexCommand cite
21191 key "hypcap"
21192
21193 \end_inset
21194
21195 .
21196 \end_layout
21197
21198 \begin_layout Standard
21199 \begin_inset Note Greyedout
21200 status open
21201
21202 \begin_layout Plain Layout
21203
21204 \series bold
21205 Note:
21206 \series default
21207  
21208 \series bold
21209 hypcap
21210 \series default
21211  has no effect on references to subfigures.
21212 \end_layout
21213
21214 \end_inset
21215
21216
21217 \end_layout
21218
21219 \begin_layout Section
21220 Float Placement
21221 \begin_inset CommandInset label
21222 LatexCommand label
21223 name "sec:Float-Placement"
21224
21225 \end_inset
21226
21227
21228 \begin_inset Index idx
21229 status collapsed
21230
21231 \begin_layout Plain Layout
21232 Floats ! Placement
21233 \end_layout
21234
21235 \end_inset
21236
21237
21238 \end_layout
21239
21240 \begin_layout Standard
21241 Right-clicking on a float-box opens a dialog where you can alter the placement
21242  options that LaTeX uses for positioning the float.
21243 \begin_inset Newline newline
21244 \end_inset
21245
21246 The option 
21247 \family sans
21248 Span
21249 \begin_inset space ~
21250 \end_inset
21251
21252 columns
21253 \family default
21254  is only useful for two-column documents: If you select it, the float will
21255  span both columns on the page instead of being confined to just one.
21256 \begin_inset Newline newline
21257 \end_inset
21258
21259 The option 
21260 \family sans
21261 Rotate
21262 \begin_inset space ~
21263 \end_inset
21264
21265 sideways
21266 \family default
21267  is used to rotate floats, see section 
21268 \begin_inset CommandInset ref
21269 LatexCommand ref
21270 reference "sec:Rotated-Floats"
21271
21272 \end_inset
21273
21274 .
21275 \end_layout
21276
21277 \begin_layout Standard
21278 You can use one ore more of the following options in the float dialog to
21279  set the placement for a particular float when you uncheck the option 
21280 \family sans
21281 Use
21282 \begin_inset space ~
21283 \end_inset
21284
21285 default
21286 \begin_inset space ~
21287 \end_inset
21288
21289 placement
21290 \family default
21291 :
21292 \end_layout
21293
21294 \begin_layout Description
21295 Here
21296 \begin_inset space ~
21297 \end_inset
21298
21299 if
21300 \begin_inset space ~
21301 \end_inset
21302
21303 possible try to place the float on the position where it has been inserted
21304 \end_layout
21305
21306 \begin_layout Description
21307 Top
21308 \begin_inset space ~
21309 \end_inset
21310
21311 of
21312 \begin_inset space ~
21313 \end_inset
21314
21315 page try to place the float at the top of the current page
21316 \end_layout
21317
21318 \begin_layout Description
21319 Bottom
21320 \begin_inset space ~
21321 \end_inset
21322
21323 of
21324 \begin_inset space ~
21325 \end_inset
21326
21327 page try to place the float at the bottom of the current page
21328 \end_layout
21329
21330 \begin_layout Description
21331 Page
21332 \begin_inset space ~
21333 \end_inset
21334
21335 of
21336 \begin_inset space ~
21337 \end_inset
21338
21339 floats try to place the float on its own page
21340 \end_layout
21341
21342 \begin_layout Standard
21343 The order of the above option is 
21344 \emph on
21345 always
21346 \emph default
21347  used by LaTeX.
21348  That means, if you use the default placement, LaTeX will first try out
21349  
21350 \family sans
21351 Here
21352 \begin_inset space ~
21353 \end_inset
21354
21355 if
21356 \begin_inset space ~
21357 \end_inset
21358
21359 possible
21360 \family default
21361 , then 
21362 \family sans
21363 Top
21364 \begin_inset space ~
21365 \end_inset
21366
21367 of
21368 \begin_inset space ~
21369 \end_inset
21370
21371 page
21372 \family default
21373 , and then the others.
21374  If you do not use the default, LaTeX will try only the checked options
21375  but in the same order.
21376  If none of the 4
21377 \begin_inset space ~
21378 \end_inset
21379
21380 placements are possible the procedure is internally repeated but it is tried
21381  to put the float on the following page.
21382 \end_layout
21383
21384 \begin_layout Standard
21385 By default, each option has its own rules:
21386 \end_layout
21387
21388 \begin_layout Labeling
21389 \labelwidthstring 00.00.0000
21390
21391 \family sans
21392 Top
21393 \begin_inset space ~
21394 \end_inset
21395
21396 of
21397 \begin_inset space ~
21398 \end_inset
21399
21400 page
21401 \family default
21402  only floats occupying less than 70
21403 \begin_inset space \thinspace{}
21404 \end_inset
21405
21406 % of the page can be placed at the top of a page (
21407 \series bold
21408
21409 \backslash
21410 topfraction
21411 \series default
21412 )
21413 \end_layout
21414
21415 \begin_layout Labeling
21416 \labelwidthstring 00.00.0000
21417
21418 \family sans
21419 Bottom
21420 \begin_inset space ~
21421 \end_inset
21422
21423 of
21424 \begin_inset space ~
21425 \end_inset
21426
21427 page
21428 \family default
21429 : only floats occupying less than 30
21430 \begin_inset space \thinspace{}
21431 \end_inset
21432
21433 % of the page can be placed at the bottom of a page.
21434  (
21435 \series bold
21436
21437 \backslash
21438 bottomfraction
21439 \series default
21440 )
21441 \end_layout
21442
21443 \begin_layout Labeling
21444 \labelwidthstring 00.00.0000
21445
21446 \family sans
21447 Page
21448 \begin_inset space ~
21449 \end_inset
21450
21451 of
21452 \begin_inset space ~
21453 \end_inset
21454
21455 floats
21456 \family default
21457 : only if more than 50
21458 \begin_inset space \thinspace{}
21459 \end_inset
21460
21461 % of the page are occupied by floats, several floats can be set together
21462  on a page.
21463  (
21464 \series bold
21465
21466 \backslash
21467 floatpagefraction
21468 \series default
21469 )
21470 \end_layout
21471
21472 \begin_layout Standard
21473 If you don't like these rules, you can ignore them by using the additional
21474  option 
21475 \family sans
21476 Ignore
21477 \begin_inset space ~
21478 \end_inset
21479
21480 LaTeX
21481 \begin_inset space ~
21482 \end_inset
21483
21484 rules
21485 \family default
21486 .
21487 \begin_inset Newline newline
21488 \end_inset
21489
21490 You can also redefine the rules with LaTeX-commands that are given in parenthese
21491 s after the rules description above.
21492  To increase for example the often too small default of the bottom-rule
21493  to 50
21494 \begin_inset space \thinspace{}
21495 \end_inset
21496
21497 % of the page, add this line to your document preamble:
21498 \end_layout
21499
21500 \begin_layout Standard
21501
21502 \series bold
21503
21504 \backslash
21505 renewcommand{
21506 \backslash
21507 bottomfraction}{0.5}
21508 \end_layout
21509
21510 \begin_layout Standard
21511 Sometimes you might need, under all circumstances, a float to be placed
21512  exactly at the position where it is inserted.
21513  For this case you can use the option 
21514 \family sans
21515 Here
21516 \begin_inset space ~
21517 \end_inset
21518
21519 definitely
21520 \family default
21521 .
21522  Use this option very rarely and only if the document is almost ready to
21523  be printed, because the float is then no longer able to 
21524 \begin_inset Quotes eld
21525 \end_inset
21526
21527 float
21528 \begin_inset Quotes erd
21529 \end_inset
21530
21531  when you change your document and this will often destroy the page layout.
21532 \end_layout
21533
21534 \begin_layout Standard
21535 There are no placement options for text wrap floats, because they are always
21536  surrounded by the text of a certain paragraph.
21537 \begin_inset VSpace bigskip
21538 \end_inset
21539
21540
21541 \end_layout
21542
21543 \begin_layout Standard
21544 Sometimes you have the problem that a float is placed at the top of a page
21545  while its corresponding section starts at the middle of the page, so that
21546  the reader could think the float is part of the previous section.
21547  To avoid this the LaTeX-command 
21548 \series bold
21549
21550 \backslash
21551 suppressfloats
21552 \series default
21553  can be used.
21554  It suppresses a given float placement for the page where it is inserted
21555  and can therefore be used to avoid floats being set before a section starts.
21556  To get this, add these commands to your document preamble:
21557 \end_layout
21558
21559 \begin_layout Standard
21560
21561 \series bold
21562
21563 \backslash
21564 let
21565 \backslash
21566 mySection
21567 \backslash
21568 section
21569 \begin_inset Newline newline
21570 \end_inset
21571
21572
21573 \backslash
21574 renewcommand{
21575 \backslash
21576 section}{
21577 \backslash
21578 suppressfloats[t]
21579 \backslash
21580 mySection}
21581 \end_layout
21582
21583 \begin_layout Standard
21584 You can define the same for all section headings, like chapters and subsections.
21585  This definition is not recommended to be used for small text parts like
21586  subsubsections because LaTeX may then have problems finding a suitable
21587  placement.
21588 \end_layout
21589
21590 \begin_layout Standard
21591 \begin_inset VSpace bigskip
21592 \end_inset
21593
21594 In some cases it is required to have all figures/tables at the end of the
21595  document.
21596  For this purpose the LaTeX-package 
21597 \series bold
21598 endfloat
21599 \series default
21600
21601 \begin_inset Index idx
21602 status collapsed
21603
21604 \begin_layout Plain Layout
21605 LaTeX-packages ! endfloat
21606 \end_layout
21607
21608 \end_inset
21609
21610  was developed.
21611  It puts all figure and table floats at the end of the document into their
21612  own sections.
21613  At the original float position a text hint like 
21614 \begin_inset Quotes eld
21615 \end_inset
21616
21617
21618 \family sans
21619 [Figure
21620 \begin_inset space ~
21621 \end_inset
21622
21623 3.2 about here.]
21624 \family default
21625
21626 \begin_inset Quotes erd
21627 \end_inset
21628
21629  is inserted.
21630  The endfloat-package is loaded in the preamble with the line
21631 \end_layout
21632
21633 \begin_layout Standard
21634
21635 \series bold
21636
21637 \backslash
21638 usepackage[options]{endfloat}
21639 \end_layout
21640
21641 \begin_layout Standard
21642 There are various package options to format the created figure/table sections.
21643  For more information we refer to the 
21644 \series bold
21645 endfloat
21646 \series default
21647  documentation 
21648 \begin_inset CommandInset citation
21649 LatexCommand cite
21650 key "endfloat"
21651
21652 \end_inset
21653
21654 .
21655 \begin_inset Newline newline
21656 \end_inset
21657
21658
21659 \begin_inset Note Greyedout
21660 status open
21661
21662 \begin_layout Plain Layout
21663
21664 \series bold
21665 Note: endfloat
21666 \series default
21667  doesn't provide an automatic translation for the text hint, you have to
21668  do this manually, see section
21669 \begin_inset space ~
21670 \end_inset
21671
21672 4 in 
21673 \begin_inset CommandInset citation
21674 LatexCommand cite
21675 key "endfloat"
21676
21677 \end_inset
21678
21679 .
21680 \end_layout
21681
21682 \end_inset
21683
21684
21685 \begin_inset Newline newline
21686 \end_inset
21687
21688
21689 \begin_inset Note Greyedout
21690 status open
21691
21692 \begin_layout Plain Layout
21693
21694 \series bold
21695 Note:
21696 \series default
21697  There is currently a bug in 
21698 \series bold
21699 endfloat
21700 \series default
21701  when the caption contains a German 
21702 \begin_inset Quotes eld
21703 \end_inset
21704
21705 ß
21706 \begin_inset Quotes erd
21707 \end_inset
21708
21709 .
21710  Use in this case the command 
21711 \begin_inset Quotes eld
21712 \end_inset
21713
21714
21715 \series bold
21716
21717 \backslash
21718 ss
21719 \series default
21720
21721 \begin_inset Quotes erd
21722 \end_inset
21723
21724  in TeX-Code instead of 
21725 \begin_inset Quotes eld
21726 \end_inset
21727
21728 ß
21729 \begin_inset Quotes erd
21730 \end_inset
21731
21732 .
21733 \end_layout
21734
21735 \end_inset
21736
21737
21738 \end_layout
21739
21740 \begin_layout Standard
21741 \begin_inset VSpace bigskip
21742 \end_inset
21743
21744 For more details about float placements, have a look at LaTeX books, 
21745 \begin_inset CommandInset citation
21746 LatexCommand cite
21747 key "latexcompanion,latexguide,latexbook"
21748
21749 \end_inset
21750
21751 .
21752 \end_layout
21753
21754 \begin_layout Section
21755 Rotated Floats
21756 \begin_inset CommandInset label
21757 LatexCommand label
21758 name "sec:Rotated-Floats"
21759
21760 \end_inset
21761
21762
21763 \begin_inset Index idx
21764 status collapsed
21765
21766 \begin_layout Plain Layout
21767 Floats ! Rotating
21768 \end_layout
21769
21770 \end_inset
21771
21772
21773 \end_layout
21774
21775 \begin_layout Standard
21776 Especially for wide tables you might have floats rotated.
21777  To rotate a whole float including the caption, right-click on the float-box
21778  and use the option 
21779 \family sans
21780 Rotate
21781 \begin_inset space ~
21782 \end_inset
21783
21784 sideways
21785 \family default
21786 .
21787 \end_layout
21788
21789 \begin_layout Standard
21790 Rotated floats are always placed on a page of their own (or column of their
21791  own; in case you have a multi-column document).
21792  You can let them span several columns using the float settings option 
21793 \family sans
21794 Span
21795 \begin_inset space ~
21796 \end_inset
21797
21798 columns
21799 \family default
21800 .
21801  Floats are rotated so that you can read them from the outside margin.
21802  To force a certain rotation direction for all pages, you can add either
21803  the option 
21804 \series bold
21805 figuresleft
21806 \series default
21807  or 
21808 \series bold
21809 figuresright
21810 \series default
21811  to the document class options.
21812 \end_layout
21813
21814 \begin_layout Standard
21815 Referencing rotated floats is the same as for normal floats, the caption
21816  format is also the same: Table
21817 \begin_inset space ~
21818 \end_inset
21819
21820
21821 \begin_inset CommandInset ref
21822 LatexCommand ref
21823 reference "tab:Rotated-table"
21824
21825 \end_inset
21826
21827  is an example of a rotated table float.
21828 \end_layout
21829
21830 \begin_layout Standard
21831 \begin_inset Note Greyedout
21832 status open
21833
21834 \begin_layout Plain Layout
21835
21836 \series bold
21837 Note:
21838 \series default
21839  Not all DVI-viewers are able to display rotated floats.
21840 \end_layout
21841
21842 \end_inset
21843
21844
21845 \end_layout
21846
21847 \begin_layout Standard
21848 \begin_inset Float table
21849 wide false
21850 sideways true
21851 status open
21852
21853 \begin_layout Plain Layout
21854 \begin_inset Caption
21855
21856 \begin_layout Plain Layout
21857 \begin_inset CommandInset label
21858 LatexCommand label
21859 name "tab:Rotated-table"
21860
21861 \end_inset
21862
21863  Rotated table
21864 \end_layout
21865
21866 \end_inset
21867
21868
21869 \end_layout
21870
21871 \begin_layout Plain Layout
21872 \align center
21873 \begin_inset Tabular
21874 <lyxtabular version="3" rows="1" columns="5">
21875 <features tabularvalignment="middle">
21876 <column alignment="center" valignment="top" width="0">
21877 <column alignment="center" valignment="top" width="0">
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 <row>
21882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21883 \begin_inset Text
21884
21885 \begin_layout Plain Layout
21886 test
21887 \end_layout
21888
21889 \end_inset
21890 </cell>
21891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21892 \begin_inset Text
21893
21894 \begin_layout Plain Layout
21895 b
21896 \end_layout
21897
21898 \end_inset
21899 </cell>
21900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21901 \begin_inset Text
21902
21903 \begin_layout Plain Layout
21904 c
21905 \end_layout
21906
21907 \end_inset
21908 </cell>
21909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21910 \begin_inset Text
21911
21912 \begin_layout Plain Layout
21913 d
21914 \end_layout
21915
21916 \end_inset
21917 </cell>
21918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21919 \begin_inset Text
21920
21921 \begin_layout Plain Layout
21922 e
21923 \end_layout
21924
21925 \end_inset
21926 </cell>
21927 </row>
21928 </lyxtabular>
21929
21930 \end_inset
21931
21932
21933 \end_layout
21934
21935 \end_inset
21936
21937
21938 \end_layout
21939
21940 \begin_layout Section
21941 Subfloats
21942 \begin_inset Index idx
21943 status collapsed
21944
21945 \begin_layout Plain Layout
21946 Floats ! Subfloats
21947 \end_layout
21948
21949 \end_inset
21950
21951
21952 \end_layout
21953
21954 \begin_layout Standard
21955 Subfloats are for example used when a figure consists of several images.
21956  They are created by inserting a float into an existing float.
21957  The placement of the subfloats can be controlled in the same way as for
21958  paragraphs as shown in table
21959 \begin_inset space ~
21960 \end_inset
21961
21962
21963 \begin_inset CommandInset ref
21964 LatexCommand ref
21965 reference "tab:Two-subtables-side"
21966
21967 \end_inset
21968
21969  and 
21970 \begin_inset CommandInset ref
21971 LatexCommand ref
21972 reference "tab:Two-subtables-upon"
21973
21974 \end_inset
21975
21976 .
21977 \end_layout
21978
21979 \begin_layout Standard
21980 Referencing subfloats works as for normal floats: Table
21981 \begin_inset space ~
21982 \end_inset
21983
21984
21985 \begin_inset CommandInset ref
21986 LatexCommand ref
21987 reference "tab:This-is-subtable-a"
21988
21989 \end_inset
21990
21991  and 
21992 \begin_inset CommandInset ref
21993 LatexCommand ref
21994 reference "tab:This-is-subtable-b"
21995
21996 \end_inset
21997
21998  are subtables of table
21999 \begin_inset space ~
22000 \end_inset
22001
22002
22003 \begin_inset CommandInset ref
22004 LatexCommand ref
22005 reference "tab:Two-subtables-side"
22006
22007 \end_inset
22008
22009 .
22010 \end_layout
22011
22012 \begin_layout Standard
22013 \begin_inset Float table
22014 wide false
22015 sideways false
22016 status open
22017
22018 \begin_layout Plain Layout
22019 \begin_inset Caption
22020
22021 \begin_layout Plain Layout
22022 \begin_inset CommandInset label
22023 LatexCommand label
22024 name "tab:Two-subtables-side"
22025
22026 \end_inset
22027
22028 Two subtables placed side by side.
22029 \end_layout
22030
22031 \end_inset
22032
22033
22034 \end_layout
22035
22036 \begin_layout Plain Layout
22037 \align center
22038 \begin_inset space \hfill{}
22039 \end_inset
22040
22041
22042 \begin_inset Float table
22043 wide false
22044 sideways false
22045 status collapsed
22046
22047 \begin_layout Plain Layout
22048 \begin_inset Caption
22049
22050 \begin_layout Plain Layout
22051 \begin_inset CommandInset label
22052 LatexCommand label
22053 name "tab:This-is-subtable-a"
22054
22055 \end_inset
22056
22057 This is subtable a.
22058 \end_layout
22059
22060 \end_inset
22061
22062
22063 \end_layout
22064
22065 \begin_layout Plain Layout
22066 \align center
22067 \begin_inset Tabular
22068 <lyxtabular version="3" rows="1" columns="5">
22069 <features tabularvalignment="middle">
22070 <column alignment="center" valignment="top" width="0">
22071 <column alignment="center" valignment="top" width="0">
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 <row>
22076 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22077 \begin_inset Text
22078
22079 \begin_layout Plain Layout
22080 test
22081 \end_layout
22082
22083 \end_inset
22084 </cell>
22085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22086 \begin_inset Text
22087
22088 \begin_layout Plain Layout
22089 b
22090 \end_layout
22091
22092 \end_inset
22093 </cell>
22094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22095 \begin_inset Text
22096
22097 \begin_layout Plain Layout
22098 c
22099 \end_layout
22100
22101 \end_inset
22102 </cell>
22103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22104 \begin_inset Text
22105
22106 \begin_layout Plain Layout
22107 d
22108 \end_layout
22109
22110 \end_inset
22111 </cell>
22112 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22113 \begin_inset Text
22114
22115 \begin_layout Plain Layout
22116 e
22117 \end_layout
22118
22119 \end_inset
22120 </cell>
22121 </row>
22122 </lyxtabular>
22123
22124 \end_inset
22125
22126
22127 \end_layout
22128
22129 \end_inset
22130
22131
22132 \begin_inset space \hfill{}
22133 \end_inset
22134
22135
22136 \begin_inset Float table
22137 wide false
22138 sideways false
22139 status collapsed
22140
22141 \begin_layout Plain Layout
22142 \begin_inset Caption
22143
22144 \begin_layout Plain Layout
22145 \begin_inset CommandInset label
22146 LatexCommand label
22147 name "tab:This-is-subtable-b"
22148
22149 \end_inset
22150
22151 This is subtable b.
22152 \end_layout
22153
22154 \end_inset
22155
22156
22157 \end_layout
22158
22159 \begin_layout Plain Layout
22160 \align center
22161 \begin_inset Tabular
22162 <lyxtabular version="3" rows="1" columns="5">
22163 <features tabularvalignment="middle">
22164 <column alignment="center" valignment="top" width="0">
22165 <column alignment="center" valignment="top" width="0">
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 <row>
22170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22171 \begin_inset Text
22172
22173 \begin_layout Plain Layout
22174 e
22175 \end_layout
22176
22177 \end_inset
22178 </cell>
22179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22180 \begin_inset Text
22181
22182 \begin_layout Plain Layout
22183 d
22184 \end_layout
22185
22186 \end_inset
22187 </cell>
22188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22189 \begin_inset Text
22190
22191 \begin_layout Plain Layout
22192 c
22193 \end_layout
22194
22195 \end_inset
22196 </cell>
22197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22198 \begin_inset Text
22199
22200 \begin_layout Plain Layout
22201 b
22202 \end_layout
22203
22204 \end_inset
22205 </cell>
22206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22207 \begin_inset Text
22208
22209 \begin_layout Plain Layout
22210 test
22211 \end_layout
22212
22213 \end_inset
22214 </cell>
22215 </row>
22216 </lyxtabular>
22217
22218 \end_inset
22219
22220
22221 \end_layout
22222
22223 \end_inset
22224
22225
22226 \begin_inset space \hfill{}
22227 \end_inset
22228
22229
22230 \end_layout
22231
22232 \end_inset
22233
22234
22235 \end_layout
22236
22237 \begin_layout Standard
22238 \begin_inset Float table
22239 wide false
22240 sideways false
22241 status open
22242
22243 \begin_layout Plain Layout
22244 \begin_inset Caption
22245
22246 \begin_layout Plain Layout
22247 \begin_inset CommandInset label
22248 LatexCommand label
22249 name "tab:Two-subtables-upon"
22250
22251 \end_inset
22252
22253 Two subtables placed one above the other.
22254  (a) table with 4 cells, (b) table with 5 cells.
22255 \end_layout
22256
22257 \end_inset
22258
22259
22260 \end_layout
22261
22262 \begin_layout Plain Layout
22263 \align center
22264 \begin_inset Float table
22265 wide false
22266 sideways false
22267 status collapsed
22268
22269 \begin_layout Plain Layout
22270 \begin_inset Caption
22271
22272 \begin_layout Plain Layout
22273
22274 \end_layout
22275
22276 \end_inset
22277
22278
22279 \end_layout
22280
22281 \begin_layout Plain Layout
22282 \align center
22283 \begin_inset Tabular
22284 <lyxtabular version="3" rows="1" columns="4">
22285 <features tabularvalignment="middle">
22286 <column alignment="center" valignment="top" width="0">
22287 <column alignment="center" valignment="top" width="0">
22288 <column alignment="center" valignment="top" width="0">
22289 <column alignment="center" valignment="top" width="0">
22290 <row>
22291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22292 \begin_inset Text
22293
22294 \begin_layout Plain Layout
22295 test
22296 \end_layout
22297
22298 \end_inset
22299 </cell>
22300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22301 \begin_inset Text
22302
22303 \begin_layout Plain Layout
22304 test
22305 \end_layout
22306
22307 \end_inset
22308 </cell>
22309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22310 \begin_inset Text
22311
22312 \begin_layout Plain Layout
22313 test
22314 \end_layout
22315
22316 \end_inset
22317 </cell>
22318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22319 \begin_inset Text
22320
22321 \begin_layout Plain Layout
22322 test
22323 \end_layout
22324
22325 \end_inset
22326 </cell>
22327 </row>
22328 </lyxtabular>
22329
22330 \end_inset
22331
22332
22333 \end_layout
22334
22335 \end_inset
22336
22337
22338 \end_layout
22339
22340 \begin_layout Plain Layout
22341 \align center
22342 \begin_inset Float table
22343 wide false
22344 sideways false
22345 status collapsed
22346
22347 \begin_layout Plain Layout
22348 \begin_inset Caption
22349
22350 \begin_layout Plain Layout
22351
22352 \end_layout
22353
22354 \end_inset
22355
22356
22357 \end_layout
22358
22359 \begin_layout Plain Layout
22360 \align center
22361 \begin_inset Tabular
22362 <lyxtabular version="3" rows="1" columns="5">
22363 <features tabularvalignment="middle">
22364 <column alignment="center" valignment="top" width="0">
22365 <column alignment="center" valignment="top" width="0">
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 <row>
22370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22371 \begin_inset Text
22372
22373 \begin_layout Plain Layout
22374 a
22375 \end_layout
22376
22377 \end_inset
22378 </cell>
22379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22380 \begin_inset Text
22381
22382 \begin_layout Plain Layout
22383 b
22384 \end_layout
22385
22386 \end_inset
22387 </cell>
22388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22389 \begin_inset Text
22390
22391 \begin_layout Plain Layout
22392 c
22393 \end_layout
22394
22395 \end_inset
22396 </cell>
22397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22398 \begin_inset Text
22399
22400 \begin_layout Plain Layout
22401 d
22402 \end_layout
22403
22404 \end_inset
22405 </cell>
22406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22407 \begin_inset Text
22408
22409 \begin_layout Plain Layout
22410 e
22411 \end_layout
22412
22413 \end_inset
22414 </cell>
22415 </row>
22416 </lyxtabular>
22417
22418 \end_inset
22419
22420
22421 \end_layout
22422
22423 \end_inset
22424
22425
22426 \end_layout
22427
22428 \end_inset
22429
22430
22431 \end_layout
22432
22433 \begin_layout Section
22434 Floats Side by Side
22435 \begin_inset Index idx
22436 status collapsed
22437
22438 \begin_layout Plain Layout
22439 Floats ! Side by side
22440 \end_layout
22441
22442 \end_inset
22443
22444
22445 \end_layout
22446
22447 \begin_layout Standard
22448 To place floats side by side, as in Figures
22449 \begin_inset space ~
22450 \end_inset
22451
22452
22453 \begin_inset CommandInset ref
22454 LatexCommand ref
22455 reference "fig:Float-left"
22456
22457 \end_inset
22458
22459  and 
22460 \begin_inset CommandInset ref
22461 LatexCommand ref
22462 reference "fig:Float-right"
22463
22464 \end_inset
22465
22466 , only 
22467 \emph on
22468 one
22469 \emph default
22470  float is used.
22471  In it two minipage boxes are inserted.
22472 \begin_inset Foot
22473 status collapsed
22474
22475 \begin_layout Plain Layout
22476 Minipages are explained in section
22477 \begin_inset space ~
22478 \end_inset
22479
22480
22481 \begin_inset CommandInset ref
22482 LatexCommand ref
22483 reference "sec:Minipages"
22484
22485 \end_inset
22486
22487 .
22488 \end_layout
22489
22490 \end_inset
22491
22492  The width is set to 45
22493 \begin_inset space \thinspace{}
22494 \end_inset
22495
22496 -50
22497 \begin_inset space \thinspace{}
22498 \end_inset
22499
22500 column% and the box alignment to 
22501 \family sans
22502 Bottom
22503 \family default
22504  for each minipage.
22505  The minipage boxes contain the image and the caption in the same way as
22506  they are in a float.
22507  The only difference is that the image unit 
22508 \family sans
22509 Column
22510 \begin_inset space ~
22511 \end_inset
22512
22513 Width
22514 \begin_inset space ~
22515 \end_inset
22516
22517 %
22518 \family default
22519  is now calculated according to the width of the minipage boxes.
22520 \end_layout
22521
22522 \begin_layout Standard
22523 \begin_inset Float figure
22524 wide false
22525 sideways false
22526 status open
22527
22528 \begin_layout Plain Layout
22529 \begin_inset Box Frameless
22530 position "b"
22531 hor_pos "c"
22532 has_inner_box 1
22533 inner_pos "t"
22534 use_parbox 0
22535 use_makebox 0
22536 width "45col%"
22537 special "none"
22538 height "1in"
22539 height_special "totalheight"
22540 status open
22541
22542 \begin_layout Plain Layout
22543 \align center
22544 \begin_inset Graphics
22545         filename clipart/mobius.eps
22546         lyxscale 50
22547         width 100col%
22548         scaleBeforeRotation
22549
22550 \end_inset
22551
22552
22553 \end_layout
22554
22555 \begin_layout Plain Layout
22556 \begin_inset Caption
22557
22558 \begin_layout Plain Layout
22559 \begin_inset CommandInset label
22560 LatexCommand label
22561 name "fig:Float-left"
22562
22563 \end_inset
22564
22565 Float on the left side.
22566 \end_layout
22567
22568 \end_inset
22569
22570
22571 \end_layout
22572
22573 \end_inset
22574
22575
22576 \begin_inset space \hfill{}
22577 \end_inset
22578
22579
22580 \begin_inset Box Frameless
22581 position "b"
22582 hor_pos "c"
22583 has_inner_box 1
22584 inner_pos "t"
22585 use_parbox 0
22586 use_makebox 0
22587 width "45col%"
22588 special "none"
22589 height "1in"
22590 height_special "totalheight"
22591 status open
22592
22593 \begin_layout Plain Layout
22594 \align center
22595 \begin_inset Graphics
22596         filename clipart/platypus.eps
22597         lyxscale 50
22598         width 100col%
22599         scaleBeforeRotation
22600
22601 \end_inset
22602
22603
22604 \end_layout
22605
22606 \begin_layout Plain Layout
22607 \begin_inset Caption
22608
22609 \begin_layout Plain Layout
22610 \begin_inset CommandInset label
22611 LatexCommand label
22612 name "fig:Float-right"
22613
22614 \end_inset
22615
22616 Float on the right side.
22617 \end_layout
22618
22619 \end_inset
22620
22621
22622 \end_layout
22623
22624 \end_inset
22625
22626
22627 \end_layout
22628
22629 \begin_layout Plain Layout
22630
22631 \end_layout
22632
22633 \end_inset
22634
22635
22636 \end_layout
22637
22638 \begin_layout Section
22639 Caption Formatting
22640 \begin_inset Index idx
22641 status collapsed
22642
22643 \begin_layout Plain Layout
22644 Caption ! Formatting
22645 \end_layout
22646
22647 \end_inset
22648
22649
22650 \begin_inset Index idx
22651 status collapsed
22652
22653 \begin_layout Plain Layout
22654 Floats ! Caption Formatting
22655 \end_layout
22656
22657 \end_inset
22658
22659
22660 \begin_inset CommandInset label
22661 LatexCommand label
22662 name "sec:Caption-Formatting"
22663
22664 \end_inset
22665
22666
22667 \end_layout
22668
22669 \begin_layout Standard
22670 The 
22671 \family sans
22672 Caption
22673 \family default
22674  environment is the default paragraph environment for 
22675 \family sans
22676 Floats
22677 \family default
22678 .
22679  On the LyX screen captions appear as label, e.
22680 \begin_inset space \thinspace{}
22681 \end_inset
22682
22683 g.
22684 \begin_inset space \space{}
22685 \end_inset
22686
22687
22688 \begin_inset Quotes eld
22689 \end_inset
22690
22691
22692 \family sans
22693 Figure #:
22694 \family default
22695
22696 \begin_inset Quotes erd
22697 \end_inset
22698
22699  followed by the caption text.
22700  
22701 \begin_inset Quotes eld
22702 \end_inset
22703
22704 #
22705 \begin_inset Quotes erd
22706 \end_inset
22707
22708  is the actual reference number.
22709  By default the label and the number are in the same font as the caption
22710  text and a colon follows the number to divide the label from the text.
22711  This caption format is not suitable for all document formats.
22712  
22713 \end_layout
22714
22715 \begin_layout Standard
22716 To change the default caption format, load the LaTeX-package 
22717 \series bold
22718 caption
22719 \series default
22720
22721 \begin_inset Index idx
22722 status collapsed
22723
22724 \begin_layout Plain Layout
22725 LaTeX-packages ! caption
22726 \end_layout
22727
22728 \end_inset
22729
22730  in the document preamble with this line:
22731 \end_layout
22732
22733 \begin_layout Standard
22734
22735 \series bold
22736
22737 \backslash
22738 usepackage[format definition]{caption}
22739 \end_layout
22740
22741 \begin_layout Standard
22742 To have for example the label and the number in sans-serif bold font and
22743  the table captions always above the table as in this document, use the
22744  following command:
22745 \end_layout
22746
22747 \begin_layout Standard
22748
22749 \series bold
22750
22751 \backslash
22752 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22753 \end_layout
22754
22755 \begin_layout Standard
22756 You can also define different caption formats for the different float types.
22757  In this case load the 
22758 \series bold
22759 caption
22760 \series default
22761  package without format specific options and define the different formats
22762  with the help of the command
22763 \end_layout
22764
22765 \begin_layout Standard
22766
22767 \series bold
22768
22769 \backslash
22770 captionsetup[float type]{format definition}
22771 \end_layout
22772
22773 \begin_layout Standard
22774 in the document preamble.
22775  For example the caption formats of Figure
22776 \begin_inset space ~
22777 \end_inset
22778
22779
22780 \begin_inset CommandInset ref
22781 LatexCommand ref
22782 reference "fig:This-is-an-fig"
22783
22784 \end_inset
22785
22786  and Table
22787 \begin_inset space ~
22788 \end_inset
22789
22790
22791 \begin_inset CommandInset ref
22792 LatexCommand ref
22793 reference "tab:This-is-an-tab"
22794
22795 \end_inset
22796
22797  can be created using these commands in the document preamble:
22798 \end_layout
22799
22800 \begin_layout Standard
22801
22802 \series bold
22803
22804 \backslash
22805 usepackage[tableposition=top]{caption}
22806 \series default
22807
22808 \begin_inset Newline newline
22809 \end_inset
22810
22811
22812 \series bold
22813
22814 \backslash
22815 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22816 \begin_inset Newline newline
22817 \end_inset
22818
22819
22820 \begin_inset Phantom HPhantom
22821 status open
22822
22823 \begin_layout Plain Layout
22824
22825 \series bold
22826
22827 \backslash
22828 captionsetup[figure]{
22829 \end_layout
22830
22831 \end_inset
22832
22833 labelsep=period}
22834 \begin_inset Newline newline
22835 \end_inset
22836
22837
22838 \backslash
22839 captionsetup[table]{labelfont={bf,sf}}
22840 \end_layout
22841
22842 \begin_layout Standard
22843 \begin_inset Note Greyedout
22844 status open
22845
22846 \begin_layout Plain Layout
22847
22848 \series bold
22849 Note:
22850 \series default
22851  The option 
22852 \series bold
22853 tableposition=top
22854 \series default
22855  has no effect when a 
22856 \series bold
22857 KOMA-Script
22858 \series default
22859
22860 \begin_inset Index idx
22861 status collapsed
22862
22863 \begin_layout Plain Layout
22864 LaTeX-packages ! KOMA-Script
22865 \end_layout
22866
22867 \end_inset
22868
22869  document class is used.
22870  In this case the document class option 
22871 \series bold
22872 captions=tableheading
22873 \series default
22874  must be used.
22875 \end_layout
22876
22877 \end_inset
22878
22879
22880 \end_layout
22881
22882 \begin_layout Standard
22883 For more information about the package 
22884 \series bold
22885 caption
22886 \series default
22887  we refer to its documentation 
22888 \begin_inset CommandInset citation
22889 LatexCommand cite
22890 key "caption"
22891
22892 \end_inset
22893
22894 .
22895 \end_layout
22896
22897 \begin_layout Standard
22898 To change the label name from e.
22899 \begin_inset space \thinspace{}
22900 \end_inset
22901
22902 g.
22903 \begin_inset space \space{}
22904 \end_inset
22905
22906
22907 \begin_inset Quotes eld
22908 \end_inset
22909
22910 Figure
22911 \begin_inset Quotes erd
22912 \end_inset
22913
22914  to 
22915 \begin_inset Quotes eld
22916 \end_inset
22917
22918 Image
22919 \begin_inset Quotes erd
22920 \end_inset
22921
22922  use this preamble command:
22923 \end_layout
22924
22925 \begin_layout Standard
22926
22927 \series bold
22928
22929 \backslash
22930 renewcommand{
22931 \backslash
22932 fnum@figure}{Image~
22933 \backslash
22934 thefigure}
22935 \end_layout
22936
22937 \begin_layout Standard
22938 where 
22939 \series bold
22940
22941 \backslash
22942 thefigure
22943 \series default
22944  inserts the figure number and
22945 \series bold
22946  
22947 \begin_inset Quotes eld
22948 \end_inset
22949
22950 ~
22951 \series default
22952
22953 \begin_inset Quotes erd
22954 \end_inset
22955
22956  creates a protected space.
22957 \end_layout
22958
22959 \begin_layout Standard
22960 \begin_inset VSpace bigskip
22961 \end_inset
22962
22963 If you are using a 
22964 \series bold
22965 KOMA-Script
22966 \series default
22967
22968 \begin_inset Index idx
22969 status collapsed
22970
22971 \begin_layout Plain Layout
22972 LaTeX-packages ! KOMA-Script
22973 \end_layout
22974
22975 \end_inset
22976
22977  document class (
22978 \family sans
22979 article (KOMA-Script)
22980 \family default
22981
22982 \family sans
22983 book (KOMA-Script)
22984 \family default
22985
22986 \family sans
22987 letter (KOMA-Script)
22988 \family default
22989 , or 
22990 \family sans
22991 report (KOMA-Script)
22992 \family default
22993
22994 \begin_inset space \thinspace{}
22995 \end_inset
22996
22997 ), you can alternatively to the 
22998 \series bold
22999 caption
23000 \series default
23001  package use 
23002 \series bold
23003 KOMA-Script
23004 \series default
23005 's built-in command 
23006 \series bold
23007
23008 \backslash
23009 setkomafont
23010 \series default
23011 .
23012  For example, to have the caption label in bold, add this command to your
23013  document preamble:
23014 \end_layout
23015
23016 \begin_layout Standard
23017
23018 \series bold
23019
23020 \backslash
23021 setkomafont{captionlabel}{
23022 \backslash
23023 bfseries}
23024 \end_layout
23025
23026 \begin_layout Standard
23027 For more information about 
23028 \series bold
23029
23030 \backslash
23031 setkomafont
23032 \series default
23033  we refer to the 
23034 \series bold
23035 KOMA-Script
23036 \series default
23037  documentation 
23038 \begin_inset CommandInset citation
23039 LatexCommand cite
23040 key "KOMA-Script"
23041
23042 \end_inset
23043
23044 .
23045 \end_layout
23046
23047 \begin_layout Standard
23048 \begin_inset ERT
23049 status collapsed
23050
23051 \begin_layout Plain Layout
23052
23053
23054 \backslash
23055 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23056 }
23057 \end_layout
23058
23059 \end_inset
23060
23061
23062 \begin_inset Note Note
23063 status open
23064
23065 \begin_layout Plain Layout
23066 The caption format is changed only for this example.
23067 \end_layout
23068
23069 \end_inset
23070
23071
23072 \end_layout
23073
23074 \begin_layout Standard
23075 \begin_inset Float figure
23076 placement !p
23077 wide false
23078 sideways false
23079 status open
23080
23081 \begin_layout Plain Layout
23082 \align center
23083 \begin_inset Graphics
23084         filename clipart/mobius.eps
23085         lyxscale 50
23086         scale 50
23087         scaleBeforeRotation
23088
23089 \end_inset
23090
23091
23092 \end_layout
23093
23094 \begin_layout Plain Layout
23095 \begin_inset Caption
23096
23097 \begin_layout Plain Layout
23098 \begin_inset CommandInset label
23099 LatexCommand label
23100 name "fig:This-is-an-fig"
23101
23102 \end_inset
23103
23104 This is an example figure caption that is longer than one line to show the
23105  different caption format.
23106  Here a self-defined caption format is used.
23107 \end_layout
23108
23109 \end_inset
23110
23111
23112 \end_layout
23113
23114 \end_inset
23115
23116
23117 \end_layout
23118
23119 \begin_layout Standard
23120 \begin_inset ERT
23121 status collapsed
23122
23123 \begin_layout Plain Layout
23124
23125
23126 \backslash
23127 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23128 on}
23129 \end_layout
23130
23131 \end_inset
23132
23133
23134 \end_layout
23135
23136 \begin_layout Standard
23137 \begin_inset Float table
23138 placement !p
23139 wide false
23140 sideways false
23141 status open
23142
23143 \begin_layout Plain Layout
23144 \begin_inset Caption
23145
23146 \begin_layout Plain Layout
23147 \begin_inset CommandInset label
23148 LatexCommand label
23149 name "tab:This-is-an-tab"
23150
23151 \end_inset
23152
23153 This is an example table caption that is longer than one line to show the
23154  different caption format.
23155  Here the standard caption format for tables in this document is used.
23156 \end_layout
23157
23158 \end_inset
23159
23160
23161 \end_layout
23162
23163 \begin_layout Plain Layout
23164 \align center
23165 \begin_inset Tabular
23166 <lyxtabular version="3" rows="1" columns="5">
23167 <features tabularvalignment="middle">
23168 <column alignment="center" valignment="top" width="0">
23169 <column alignment="center" valignment="top" width="0">
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 <row>
23174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23175 \begin_inset Text
23176
23177 \begin_layout Plain Layout
23178 a
23179 \end_layout
23180
23181 \end_inset
23182 </cell>
23183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23184 \begin_inset Text
23185
23186 \begin_layout Plain Layout
23187 b
23188 \end_layout
23189
23190 \end_inset
23191 </cell>
23192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23193 \begin_inset Text
23194
23195 \begin_layout Plain Layout
23196 c
23197 \end_layout
23198
23199 \end_inset
23200 </cell>
23201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23202 \begin_inset Text
23203
23204 \begin_layout Plain Layout
23205 d
23206 \end_layout
23207
23208 \end_inset
23209 </cell>
23210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23211 \begin_inset Text
23212
23213 \begin_layout Plain Layout
23214 e
23215 \end_layout
23216
23217 \end_inset
23218 </cell>
23219 </row>
23220 </lyxtabular>
23221
23222 \end_inset
23223
23224
23225 \end_layout
23226
23227 \end_inset
23228
23229
23230 \end_layout
23231
23232 \begin_layout Section
23233 Caption Placement
23234 \begin_inset Index idx
23235 status collapsed
23236
23237 \begin_layout Plain Layout
23238 Caption ! Placement
23239 \end_layout
23240
23241 \end_inset
23242
23243
23244 \begin_inset Index idx
23245 status collapsed
23246
23247 \begin_layout Plain Layout
23248 Floats ! Caption Placement
23249 \end_layout
23250
23251 \end_inset
23252
23253
23254 \begin_inset CommandInset label
23255 LatexCommand label
23256 name "sec:Caption-Placement"
23257
23258 \end_inset
23259
23260
23261 \end_layout
23262
23263 \begin_layout Standard
23264 The common caption placement rule is:
23265 \end_layout
23266
23267 \begin_layout Description
23268 Figure: Caption is set below the figure
23269 \end_layout
23270
23271 \begin_layout Description
23272 Table: Caption is set above the table
23273 \end_layout
23274
23275 \begin_layout Standard
23276 Having the caption above the table is unfortunately not supported in LaTeX's
23277  standard classes.
23278  That means if you are using the document classes 
23279 \family sans
23280 article
23281 \family default
23282
23283 \family sans
23284 book
23285 \family default
23286
23287 \family sans
23288 letter
23289 \family default
23290 , or 
23291 \family sans
23292 report
23293 \family default
23294  there will be no space between the caption and the table.
23295  To insert the necessary space, add the following option to the load command
23296  of the LaTeX-package 
23297 \series bold
23298 caption
23299 \series default
23300  in your document preamble
23301 \begin_inset Foot
23302 status collapsed
23303
23304 \begin_layout Plain Layout
23305 See section
23306 \begin_inset space ~
23307 \end_inset
23308
23309
23310 \begin_inset CommandInset ref
23311 LatexCommand ref
23312 reference "sec:Caption-Formatting"
23313
23314 \end_inset
23315
23316  for more information of the package 
23317 \series bold
23318 caption
23319 \series default
23320 .
23321 \end_layout
23322
23323 \end_inset
23324
23325 :
23326 \end_layout
23327
23328 \begin_layout Standard
23329
23330 \series bold
23331 tableposition=top
23332 \end_layout
23333
23334 \begin_layout Standard
23335 If you are using a 
23336 \series bold
23337 KOMA-Script
23338 \series default
23339
23340 \begin_inset Index idx
23341 status collapsed
23342
23343 \begin_layout Plain Layout
23344 LaTeX-packages ! KOMA-Script
23345 \end_layout
23346
23347 \end_inset
23348
23349  document class (
23350 \family sans
23351 article (KOMA-Script)
23352 \family default
23353
23354 \family sans
23355 book (KOMA-Script)
23356 \family default
23357
23358 \family sans
23359 letter (KOMA-Script)
23360 \family default
23361 , or 
23362 \family sans
23363 report (KOMA-Script)
23364 \family default
23365
23366 \begin_inset space \thinspace{}
23367 \end_inset
23368
23369 ), you can alternatively to the 
23370 \series bold
23371 caption
23372 \series default
23373  package set the document class option 
23374 \series bold
23375 captions=tableheading
23376 \series default
23377 .
23378 \end_layout
23379
23380 \begin_layout Standard
23381 \begin_inset VSpace bigskip
23382 \end_inset
23383
23384 It is also possible to set the caption beside a figure or table.
23385  To get this the LaTeX-package 
23386 \series bold
23387 sidecap
23388 \series default
23389
23390 \begin_inset Index idx
23391 status collapsed
23392
23393 \begin_layout Plain Layout
23394 LaTeX-packages ! sidecap
23395 \end_layout
23396
23397 \end_inset
23398
23399  has to be loaded in the document preamble with the line
23400 \end_layout
23401
23402 \begin_layout Standard
23403
23404 \series bold
23405
23406 \backslash
23407 usepackage[option]{sidecap}
23408 \end_layout
23409
23410 \begin_layout Standard
23411 If you set no option, the caption is placed on the side of the outer page
23412  margin – to the right on odd pages, to the left on even pages.
23413  You can change the placement to inner margin with the option 
23414 \series bold
23415 innercaption
23416 \series default
23417 .
23418  To force the placement always to the right or left, use the option 
23419 \series bold
23420 rightcaption
23421 \series default
23422  or 
23423 \series bold
23424 leftcaption
23425 \series default
23426 , respectively.
23427 \end_layout
23428
23429 \begin_layout Standard
23430 \begin_inset ERT
23431 status collapsed
23432
23433 \begin_layout Plain Layout
23434
23435
23436 \backslash
23437 ifsidecap
23438 \end_layout
23439
23440 \end_inset
23441
23442
23443 \begin_inset Note Note
23444 status open
23445
23446 \begin_layout Plain Layout
23447 The following section will only be displayed when the LaTeX-package 
23448 \series bold
23449 sidecap
23450 \series default
23451  is installed.
23452 \end_layout
23453
23454 \end_inset
23455
23456
23457 \end_layout
23458
23459 \begin_layout Standard
23460 To place in LyX the caption of a float on the side, it is necessary to add
23461  these commands to the document preamble:
23462 \end_layout
23463
23464 \begin_layout Standard
23465 \begin_inset Newpage pagebreak
23466 \end_inset
23467
23468
23469 \end_layout
23470
23471 \begin_layout Standard
23472 \noindent
23473 \begin_inset CommandInset line
23474 LatexCommand rule
23475 offset "0.5ex"
23476 width "100line%"
23477 height "1pt"
23478
23479 \end_inset
23480
23481
23482 \end_layout
23483
23484 \begin_layout Standard
23485
23486 \series bold
23487
23488 \backslash
23489 newcommand{
23490 \backslash
23491 TabBesBeg}[1][1.0]{%
23492 \begin_inset Newline newline
23493 \end_inset
23494
23495
23496 \begin_inset Phantom HPhantom
23497 status open
23498
23499 \begin_layout Plain Layout
23500 \begin_inset space ~
23501 \end_inset
23502
23503
23504 \end_layout
23505
23506 \end_inset
23507
23508
23509 \backslash
23510 let
23511 \backslash
23512 MyTable
23513 \backslash
23514 table
23515 \begin_inset Newline newline
23516 \end_inset
23517
23518
23519 \begin_inset Phantom HPhantom
23520 status open
23521
23522 \begin_layout Plain Layout
23523
23524 \series medium
23525 \begin_inset space ~
23526 \end_inset
23527
23528
23529 \end_layout
23530
23531 \end_inset
23532
23533
23534 \backslash
23535 let
23536 \backslash
23537 MyEndtable
23538 \backslash
23539 endtable
23540 \begin_inset Newline newline
23541 \end_inset
23542
23543
23544 \begin_inset Phantom HPhantom
23545 status open
23546
23547 \begin_layout Plain Layout
23548
23549 \series medium
23550 \begin_inset space ~
23551 \end_inset
23552
23553
23554 \end_layout
23555
23556 \end_inset
23557
23558
23559 \backslash
23560 renewenvironment{table}[1]{
23561 \backslash
23562 begin{SCtable}[#1]##1}{
23563 \backslash
23564 end{SCtable}}}
23565 \end_layout
23566
23567 \begin_layout Standard
23568
23569 \series bold
23570
23571 \backslash
23572 newcommand{
23573 \backslash
23574 TabBesEnd}{%
23575 \begin_inset Newline newline
23576 \end_inset
23577
23578
23579 \begin_inset Phantom HPhantom
23580 status open
23581
23582 \begin_layout Plain Layout
23583 \begin_inset space ~
23584 \end_inset
23585
23586
23587 \end_layout
23588
23589 \end_inset
23590
23591
23592 \backslash
23593 let
23594 \backslash
23595 table
23596 \backslash
23597 MyTable
23598 \begin_inset Newline newline
23599 \end_inset
23600
23601
23602 \begin_inset Phantom HPhantom
23603 status open
23604
23605 \begin_layout Plain Layout
23606 \begin_inset space ~
23607 \end_inset
23608
23609
23610 \end_layout
23611
23612 \end_inset
23613
23614
23615 \backslash
23616 let
23617 \backslash
23618 endtable
23619 \backslash
23620 MyEndtable
23621 \end_layout
23622
23623 \begin_layout Standard
23624
23625 \series bold
23626
23627 \backslash
23628 newcommand{
23629 \backslash
23630 FigBesBeg}[1][1.0]{%
23631 \begin_inset Newline newline
23632 \end_inset
23633
23634
23635 \begin_inset Phantom HPhantom
23636 status open
23637
23638 \begin_layout Plain Layout
23639 \begin_inset space ~
23640 \end_inset
23641
23642
23643 \end_layout
23644
23645 \end_inset
23646
23647
23648 \backslash
23649 let
23650 \backslash
23651 MyFigure
23652 \backslash
23653 figure
23654 \begin_inset Newline newline
23655 \end_inset
23656
23657
23658 \begin_inset Phantom HPhantom
23659 status open
23660
23661 \begin_layout Plain Layout
23662 \begin_inset space ~
23663 \end_inset
23664
23665
23666 \end_layout
23667
23668 \end_inset
23669
23670
23671 \backslash
23672 let
23673 \backslash
23674 MyEndfigure
23675 \backslash
23676 endfigure
23677 \begin_inset Newline newline
23678 \end_inset
23679
23680
23681 \begin_inset Phantom HPhantom
23682 status open
23683
23684 \begin_layout Plain Layout
23685 \begin_inset space ~
23686 \end_inset
23687
23688
23689 \end_layout
23690
23691 \end_inset
23692
23693
23694 \backslash
23695 renewenvironment{figure}[1]{
23696 \backslash
23697 begin{SCfigure}[#1]##1}{
23698 \backslash
23699 end{SCfigure}}}
23700 \end_layout
23701
23702 \begin_layout Standard
23703
23704 \series bold
23705
23706 \backslash
23707 newcommand{
23708 \backslash
23709 FigBesEnd}{%
23710 \begin_inset Newline newline
23711 \end_inset
23712
23713
23714 \begin_inset Phantom HPhantom
23715 status open
23716
23717 \begin_layout Plain Layout
23718 \begin_inset space ~
23719 \end_inset
23720
23721
23722 \end_layout
23723
23724 \end_inset
23725
23726
23727 \backslash
23728 let
23729 \backslash
23730 figure
23731 \backslash
23732 MyFigure
23733 \begin_inset Newline newline
23734 \end_inset
23735
23736
23737 \begin_inset Phantom HPhantom
23738 status open
23739
23740 \begin_layout Plain Layout
23741 \begin_inset space ~
23742 \end_inset
23743
23744
23745 \end_layout
23746
23747 \end_inset
23748
23749
23750 \backslash
23751 let
23752 \backslash
23753 endfigure
23754 \backslash
23755 MyEndfigure}
23756 \end_layout
23757
23758 \begin_layout Standard
23759 \noindent
23760 \begin_inset CommandInset line
23761 LatexCommand rule
23762 offset "0.5ex"
23763 width "100line%"
23764 height "1pt"
23765
23766 \end_inset
23767
23768
23769 \end_layout
23770
23771 \begin_layout Standard
23772 The commands allow you to redefine the floats so that the caption is set
23773  on the side.
23774  For figure floats use the command
23775 \end_layout
23776
23777 \begin_layout Standard
23778
23779 \series bold
23780
23781 \backslash
23782 FigBesBeg
23783 \end_layout
23784
23785 \begin_layout Standard
23786 in TeX-Code before the float.
23787  And insert the command
23788 \end_layout
23789
23790 \begin_layout Standard
23791
23792 \series bold
23793
23794 \backslash
23795 FigBesEnd
23796 \end_layout
23797
23798 \begin_layout Standard
23799 in TeX-Code at the point where you want to get back to the original float
23800  definition.
23801 \end_layout
23802
23803 \begin_layout Standard
23804 For table floats use the corresponding commands
23805 \end_layout
23806
23807 \begin_layout Standard
23808
23809 \series bold
23810
23811 \backslash
23812 TabBesBeg
23813 \series default
23814  and 
23815 \series bold
23816
23817 \backslash
23818 TabBesEnd
23819 \end_layout
23820
23821 \begin_layout Standard
23822 Figure
23823 \begin_inset space ~
23824 \end_inset
23825
23826
23827 \begin_inset CommandInset ref
23828 LatexCommand ref
23829 reference "fig:cap-beside-fig"
23830
23831 \end_inset
23832
23833  and Table
23834 \begin_inset space ~
23835 \end_inset
23836
23837
23838 \begin_inset CommandInset ref
23839 LatexCommand ref
23840 reference "tab:cap-beside-tab"
23841
23842 \end_inset
23843
23844  are examples where the caption is set beside.
23845 \end_layout
23846
23847 \begin_layout Standard
23848 You can see in the examples that the caption text appears at the top of
23849  the floats for table floats and at the bottom for figure floats.
23850  To change this, you can use the command
23851 \end_layout
23852
23853 \begin_layout Standard
23854
23855 \series bold
23856
23857 \backslash
23858 sidecaptionvpos{float type}{placement}
23859 \end_layout
23860
23861 \begin_layout Standard
23862 in the document preamble or in TeX-Code before the float.
23863  The float type is either 
23864 \family sans
23865 figure
23866 \family default
23867  or 
23868 \family sans
23869 table
23870 \family default
23871 , the placement can be 
23872 \begin_inset Quotes eld
23873 \end_inset
23874
23875
23876 \family sans
23877 t
23878 \family default
23879
23880 \begin_inset Quotes erd
23881 \end_inset
23882
23883  for top, 
23884 \begin_inset Quotes eld
23885 \end_inset
23886
23887
23888 \family sans
23889 c
23890 \family default
23891
23892 \begin_inset Quotes erd
23893 \end_inset
23894
23895  for center, or 
23896 \begin_inset Quotes eld
23897 \end_inset
23898
23899
23900 \family sans
23901 b
23902 \family default
23903
23904 \begin_inset Quotes erd
23905 \end_inset
23906
23907  for bottom.
23908  To have for example the caption of figure floats vertically centered, use
23909  the command
23910 \end_layout
23911
23912 \begin_layout Standard
23913
23914 \series bold
23915
23916 \backslash
23917 sidecaptionvpos{figure}{c}
23918 \end_layout
23919
23920 \begin_layout Standard
23921 This was used for Figure
23922 \begin_inset space ~
23923 \end_inset
23924
23925
23926 \begin_inset CommandInset ref
23927 LatexCommand ref
23928 reference "fig:cap-beside-fig-2"
23929
23930 \end_inset
23931
23932 .
23933 \end_layout
23934
23935 \begin_layout Standard
23936 \begin_inset VSpace medskip
23937 \end_inset
23938
23939
23940 \end_layout
23941
23942 \begin_layout Standard
23943 The default caption width is the width of the image/table.
23944  For thin image/tables, like in Table
23945 \begin_inset space ~
23946 \end_inset
23947
23948
23949 \begin_inset CommandInset ref
23950 LatexCommand ref
23951 reference "tab:cap-beside-tab"
23952
23953 \end_inset
23954
23955 , this leads to captions that are too thin.
23956  You can increase the width by specifying a factor that will be multiplied
23957  with the image/table width to get the caption width.
23958  The caption width will automatically be recalculated in case it would protrude
23959  over the page or column margin due to the specified width.
23960  The 
23961 \emph on
23962 factor
23963 \emph default
23964  can either be given as optional argument for 
23965 \series bold
23966
23967 \backslash
23968 FigBesBeg
23969 \series default
23970 :
23971 \end_layout
23972
23973 \begin_layout Standard
23974
23975 \series bold
23976
23977 \backslash
23978 FigBesBeg[factor]
23979 \end_layout
23980
23981 \begin_layout Standard
23982 or in the definition of 
23983 \series bold
23984
23985 \backslash
23986 FigBesBeg
23987 \series default
23988  by replacing the 
23989 \series bold
23990 1.0
23991 \series default
23992  with another value.
23993  If you do the latter, your factor will be the default if 
23994 \series bold
23995
23996 \backslash
23997 FigBesBeg
23998 \series default
23999  is used without an argument.
24000  For Table
24001 \begin_inset space ~
24002 \end_inset
24003
24004
24005 \begin_inset CommandInset ref
24006 LatexCommand ref
24007 reference "tab:cap-beside-tab-wider"
24008
24009 \end_inset
24010
24011  the factor 5 was used.
24012 \end_layout
24013
24014 \begin_layout Standard
24015 \begin_inset Note Greyedout
24016 status open
24017
24018 \begin_layout Plain Layout
24019
24020 \series bold
24021 Note:
24022 \series default
24023  For floats with captions set beside, you cannot use the float placement
24024  option 
24025 \family sans
24026 Here
24027 \begin_inset space ~
24028 \end_inset
24029
24030 definitely
24031 \family default
24032  because it is not supported by 
24033 \series bold
24034 sidecap
24035 \series default
24036 .
24037 \end_layout
24038
24039 \end_inset
24040
24041
24042 \end_layout
24043
24044 \begin_layout Standard
24045 \begin_inset VSpace medskip
24046 \end_inset
24047
24048 For more information about the package 
24049 \series bold
24050 sidecap
24051 \series default
24052  we refer to its documentation 
24053 \begin_inset CommandInset citation
24054 LatexCommand cite
24055 key "sidecap"
24056
24057 \end_inset
24058
24059 .
24060 \end_layout
24061
24062 \begin_layout Standard
24063 \begin_inset Note Greyedout
24064 status open
24065
24066 \begin_layout Plain Layout
24067
24068 \series bold
24069 Note:
24070 \series default
24071  The LaTeX-package 
24072 \series bold
24073 hypcap
24074 \series default
24075
24076 \begin_inset Index idx
24077 status collapsed
24078
24079 \begin_layout Plain Layout
24080 LaTeX-packages ! hypcap
24081 \end_layout
24082
24083 \end_inset
24084
24085 , described in section
24086 \begin_inset space ~
24087 \end_inset
24088
24089
24090 \begin_inset CommandInset ref
24091 LatexCommand ref
24092 reference "sub:Reference-Position"
24093
24094 \end_inset
24095
24096 , has no effect on floats with the caption set beside.
24097 \end_layout
24098
24099 \end_inset
24100
24101
24102 \end_layout
24103
24104 \begin_layout Standard
24105 \begin_inset ERT
24106 status collapsed
24107
24108 \begin_layout Plain Layout
24109
24110
24111 \backslash
24112 FigBesBeg
24113 \end_layout
24114
24115 \end_inset
24116
24117
24118 \end_layout
24119
24120 \begin_layout Standard
24121 \begin_inset Float figure
24122 wide false
24123 sideways false
24124 status open
24125
24126 \begin_layout Plain Layout
24127 \begin_inset Graphics
24128         filename clipart/escher-lsd.eps
24129         scale 75
24130         scaleBeforeRotation
24131
24132 \end_inset
24133
24134
24135 \end_layout
24136
24137 \begin_layout Plain Layout
24138 \begin_inset Caption
24139
24140 \begin_layout Plain Layout
24141 \begin_inset CommandInset label
24142 LatexCommand label
24143 name "fig:cap-beside-fig"
24144
24145 \end_inset
24146
24147 This is a caption beside a figure.
24148 \end_layout
24149
24150 \end_inset
24151
24152
24153 \end_layout
24154
24155 \end_inset
24156
24157
24158 \end_layout
24159
24160 \begin_layout Standard
24161 \begin_inset ERT
24162 status collapsed
24163
24164 \begin_layout Plain Layout
24165
24166
24167 \backslash
24168 TabBesBeg
24169 \end_layout
24170
24171 \end_inset
24172
24173
24174 \end_layout
24175
24176 \begin_layout Standard
24177 \begin_inset Float table
24178 wide false
24179 sideways false
24180 status open
24181
24182 \begin_layout Plain Layout
24183 \begin_inset Caption
24184
24185 \begin_layout Plain Layout
24186 \begin_inset CommandInset label
24187 LatexCommand label
24188 name "tab:cap-beside-tab"
24189
24190 \end_inset
24191
24192 This is a caption beside a table.
24193 \end_layout
24194
24195 \end_inset
24196
24197
24198 \end_layout
24199
24200 \begin_layout Plain Layout
24201 \begin_inset Tabular
24202 <lyxtabular version="3" rows="4" columns="5">
24203 <features tabularvalignment="middle">
24204 <column alignment="center" valignment="top" width="0">
24205 <column alignment="center" valignment="top" width="0">
24206 <column alignment="center" valignment="top" width="0">
24207 <column alignment="center" valignment="top" width="0">
24208 <column alignment="center" valignment="top" width="0">
24209 <row>
24210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24211 \begin_inset Text
24212
24213 \begin_layout Plain Layout
24214 a
24215 \end_layout
24216
24217 \end_inset
24218 </cell>
24219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24220 \begin_inset Text
24221
24222 \begin_layout Plain Layout
24223
24224 \end_layout
24225
24226 \end_inset
24227 </cell>
24228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24229 \begin_inset Text
24230
24231 \begin_layout Plain Layout
24232 b
24233 \end_layout
24234
24235 \end_inset
24236 </cell>
24237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24238 \begin_inset Text
24239
24240 \begin_layout Plain Layout
24241
24242 \end_layout
24243
24244 \end_inset
24245 </cell>
24246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24247 \begin_inset Text
24248
24249 \begin_layout Plain Layout
24250 c
24251 \end_layout
24252
24253 \end_inset
24254 </cell>
24255 </row>
24256 <row>
24257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24258 \begin_inset Text
24259
24260 \begin_layout Plain Layout
24261
24262 \end_layout
24263
24264 \end_inset
24265 </cell>
24266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24267 \begin_inset Text
24268
24269 \begin_layout Plain Layout
24270 d
24271 \end_layout
24272
24273 \end_inset
24274 </cell>
24275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24276 \begin_inset Text
24277
24278 \begin_layout Plain Layout
24279
24280 \end_layout
24281
24282 \end_inset
24283 </cell>
24284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24285 \begin_inset Text
24286
24287 \begin_layout Plain Layout
24288 e
24289 \end_layout
24290
24291 \end_inset
24292 </cell>
24293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24294 \begin_inset Text
24295
24296 \begin_layout Plain Layout
24297
24298 \end_layout
24299
24300 \end_inset
24301 </cell>
24302 </row>
24303 <row>
24304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24305 \begin_inset Text
24306
24307 \begin_layout Plain Layout
24308 f
24309 \end_layout
24310
24311 \end_inset
24312 </cell>
24313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24314 \begin_inset Text
24315
24316 \begin_layout Plain Layout
24317
24318 \end_layout
24319
24320 \end_inset
24321 </cell>
24322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24323 \begin_inset Text
24324
24325 \begin_layout Plain Layout
24326 g
24327 \end_layout
24328
24329 \end_inset
24330 </cell>
24331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24332 \begin_inset Text
24333
24334 \begin_layout Plain Layout
24335
24336 \end_layout
24337
24338 \end_inset
24339 </cell>
24340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24341 \begin_inset Text
24342
24343 \begin_layout Plain Layout
24344 h
24345 \end_layout
24346
24347 \end_inset
24348 </cell>
24349 </row>
24350 <row>
24351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24352 \begin_inset Text
24353
24354 \begin_layout Plain Layout
24355
24356 \end_layout
24357
24358 \end_inset
24359 </cell>
24360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24361 \begin_inset Text
24362
24363 \begin_layout Plain Layout
24364 i
24365 \end_layout
24366
24367 \end_inset
24368 </cell>
24369 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24370 \begin_inset Text
24371
24372 \begin_layout Plain Layout
24373
24374 \end_layout
24375
24376 \end_inset
24377 </cell>
24378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24379 \begin_inset Text
24380
24381 \begin_layout Plain Layout
24382 j
24383 \end_layout
24384
24385 \end_inset
24386 </cell>
24387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24388 \begin_inset Text
24389
24390 \begin_layout Plain Layout
24391
24392 \end_layout
24393
24394 \end_inset
24395 </cell>
24396 </row>
24397 </lyxtabular>
24398
24399 \end_inset
24400
24401
24402 \end_layout
24403
24404 \end_inset
24405
24406
24407 \end_layout
24408
24409 \begin_layout Standard
24410 \begin_inset ERT
24411 status collapsed
24412
24413 \begin_layout Plain Layout
24414
24415
24416 \backslash
24417 sidecaptionvpos{figure}{c}
24418 \end_layout
24419
24420 \end_inset
24421
24422
24423 \begin_inset Float figure
24424 wide false
24425 sideways false
24426 status open
24427
24428 \begin_layout Plain Layout
24429 \begin_inset Graphics
24430         filename clipart/escher-lsd.eps
24431         scale 75
24432         scaleBeforeRotation
24433
24434 \end_inset
24435
24436
24437 \end_layout
24438
24439 \begin_layout Plain Layout
24440 \begin_inset Caption
24441
24442 \begin_layout Plain Layout
24443 \begin_inset CommandInset label
24444 LatexCommand label
24445 name "fig:cap-beside-fig-2"
24446
24447 \end_inset
24448
24449 This is a vertically centered caption beside a figure.
24450 \end_layout
24451
24452 \end_inset
24453
24454
24455 \end_layout
24456
24457 \end_inset
24458
24459
24460 \end_layout
24461
24462 \begin_layout Standard
24463 \begin_inset ERT
24464 status collapsed
24465
24466 \begin_layout Plain Layout
24467
24468
24469 \backslash
24470 FigBesEnd
24471 \end_layout
24472
24473 \end_inset
24474
24475
24476 \end_layout
24477
24478 \begin_layout Standard
24479 \begin_inset ERT
24480 status collapsed
24481
24482 \begin_layout Plain Layout
24483
24484
24485 \backslash
24486 TabBesBeg[5]
24487 \end_layout
24488
24489 \end_inset
24490
24491
24492 \end_layout
24493
24494 \begin_layout Standard
24495 \begin_inset Float table
24496 wide false
24497 sideways false
24498 status open
24499
24500 \begin_layout Plain Layout
24501 \begin_inset Caption
24502
24503 \begin_layout Plain Layout
24504 \begin_inset CommandInset label
24505 LatexCommand label
24506 name "tab:cap-beside-tab-wider"
24507
24508 \end_inset
24509
24510 This is a caption is wider than the one in Table
24511 \begin_inset space ~
24512 \end_inset
24513
24514
24515 \begin_inset CommandInset ref
24516 LatexCommand ref
24517 reference "tab:cap-beside-tab"
24518
24519 \end_inset
24520
24521 .
24522 \end_layout
24523
24524 \end_inset
24525
24526
24527 \end_layout
24528
24529 \begin_layout Plain Layout
24530 \begin_inset Tabular
24531 <lyxtabular version="3" rows="4" columns="5">
24532 <features tabularvalignment="middle">
24533 <column alignment="center" valignment="top" width="0">
24534 <column alignment="center" valignment="top" width="0">
24535 <column alignment="center" valignment="top" width="0">
24536 <column alignment="center" valignment="top" width="0">
24537 <column alignment="center" valignment="top" width="0">
24538 <row>
24539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24540 \begin_inset Text
24541
24542 \begin_layout Plain Layout
24543 a
24544 \end_layout
24545
24546 \end_inset
24547 </cell>
24548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24549 \begin_inset Text
24550
24551 \begin_layout Plain Layout
24552
24553 \end_layout
24554
24555 \end_inset
24556 </cell>
24557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24558 \begin_inset Text
24559
24560 \begin_layout Plain Layout
24561 b
24562 \end_layout
24563
24564 \end_inset
24565 </cell>
24566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24567 \begin_inset Text
24568
24569 \begin_layout Plain Layout
24570
24571 \end_layout
24572
24573 \end_inset
24574 </cell>
24575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24576 \begin_inset Text
24577
24578 \begin_layout Plain Layout
24579 c
24580 \end_layout
24581
24582 \end_inset
24583 </cell>
24584 </row>
24585 <row>
24586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24587 \begin_inset Text
24588
24589 \begin_layout Plain Layout
24590
24591 \end_layout
24592
24593 \end_inset
24594 </cell>
24595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24596 \begin_inset Text
24597
24598 \begin_layout Plain Layout
24599 d
24600 \end_layout
24601
24602 \end_inset
24603 </cell>
24604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24605 \begin_inset Text
24606
24607 \begin_layout Plain Layout
24608
24609 \end_layout
24610
24611 \end_inset
24612 </cell>
24613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24614 \begin_inset Text
24615
24616 \begin_layout Plain Layout
24617 e
24618 \end_layout
24619
24620 \end_inset
24621 </cell>
24622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24623 \begin_inset Text
24624
24625 \begin_layout Plain Layout
24626
24627 \end_layout
24628
24629 \end_inset
24630 </cell>
24631 </row>
24632 <row>
24633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24634 \begin_inset Text
24635
24636 \begin_layout Plain Layout
24637 f
24638 \end_layout
24639
24640 \end_inset
24641 </cell>
24642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24643 \begin_inset Text
24644
24645 \begin_layout Plain Layout
24646
24647 \end_layout
24648
24649 \end_inset
24650 </cell>
24651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24652 \begin_inset Text
24653
24654 \begin_layout Plain Layout
24655 g
24656 \end_layout
24657
24658 \end_inset
24659 </cell>
24660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24661 \begin_inset Text
24662
24663 \begin_layout Plain Layout
24664
24665 \end_layout
24666
24667 \end_inset
24668 </cell>
24669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24670 \begin_inset Text
24671
24672 \begin_layout Plain Layout
24673 h
24674 \end_layout
24675
24676 \end_inset
24677 </cell>
24678 </row>
24679 <row>
24680 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24681 \begin_inset Text
24682
24683 \begin_layout Plain Layout
24684
24685 \end_layout
24686
24687 \end_inset
24688 </cell>
24689 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24690 \begin_inset Text
24691
24692 \begin_layout Plain Layout
24693 i
24694 \end_layout
24695
24696 \end_inset
24697 </cell>
24698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24699 \begin_inset Text
24700
24701 \begin_layout Plain Layout
24702
24703 \end_layout
24704
24705 \end_inset
24706 </cell>
24707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24708 \begin_inset Text
24709
24710 \begin_layout Plain Layout
24711 j
24712 \end_layout
24713
24714 \end_inset
24715 </cell>
24716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24717 \begin_inset Text
24718
24719 \begin_layout Plain Layout
24720
24721 \end_layout
24722
24723 \end_inset
24724 </cell>
24725 </row>
24726 </lyxtabular>
24727
24728 \end_inset
24729
24730
24731 \end_layout
24732
24733 \end_inset
24734
24735
24736 \end_layout
24737
24738 \begin_layout Standard
24739 \begin_inset ERT
24740 status collapsed
24741
24742 \begin_layout Plain Layout
24743
24744
24745 \backslash
24746 TabBesEnd
24747 \end_layout
24748
24749 \end_inset
24750
24751
24752 \end_layout
24753
24754 \begin_layout Standard
24755 \begin_inset ERT
24756 status collapsed
24757
24758 \begin_layout Plain Layout
24759
24760
24761 \backslash
24762 else
24763 \end_layout
24764
24765 \end_inset
24766
24767
24768 \begin_inset Note Note
24769 status open
24770
24771 \begin_layout Plain Layout
24772 The following will be displayed when the LaTeX-package 
24773 \series bold
24774 sidecap
24775 \series default
24776  is not installed:
24777 \end_layout
24778
24779 \end_inset
24780
24781
24782 \end_layout
24783
24784 \begin_layout Standard
24785 You need to install the LaTeX-package 
24786 \series bold
24787 sidecap
24788 \series default
24789  to see the following part of this section in the output.
24790 \end_layout
24791
24792 \begin_layout Standard
24793 \begin_inset ERT
24794 status collapsed
24795
24796 \begin_layout Plain Layout
24797
24798
24799 \backslash
24800 fi
24801 \end_layout
24802
24803 \end_inset
24804
24805
24806 \end_layout
24807
24808 \begin_layout Section
24809 Listings of Floats
24810 \begin_inset Index idx
24811 status collapsed
24812
24813 \begin_layout Plain Layout
24814 Floats ! Float Lists
24815 \end_layout
24816
24817 \end_inset
24818
24819
24820 \end_layout
24821
24822 \begin_layout Standard
24823 Similar to the table of contents where the sections of the document are
24824  listed, there are listings for all float types, like the figures of the
24825  documents.
24826  You can insert them via the 
24827 \family sans
24828 Insert\SpecialChar \menuseparator
24829 List
24830 \begin_inset space ~
24831 \end_inset
24832
24833 /
24834 \begin_inset space ~
24835 \end_inset
24836
24837 TOC
24838 \family default
24839  sub menus.
24840 \end_layout
24841
24842 \begin_layout Standard
24843 The list entries are the float captions or its short title, the float number,
24844  and the page number where they appear in the document.
24845 \end_layout
24846
24847 \begin_layout Standard
24848 You can find the list of figures and tables at the end of this document.
24849 \end_layout
24850
24851 \begin_layout Chapter
24852 Notes
24853 \end_layout
24854
24855 \begin_layout Section
24856 LyX Notes
24857 \begin_inset Index idx
24858 status collapsed
24859
24860 \begin_layout Plain Layout
24861 Notes ! LyX Notes
24862 \end_layout
24863
24864 \end_inset
24865
24866
24867 \end_layout
24868
24869 \begin_layout Standard
24870 Notes are inserted with the toolbar button 
24871 \begin_inset Graphics
24872         filename ../images/note-insert.png
24873         scale 85
24874         scaleBeforeRotation
24875
24876 \end_inset
24877
24878  or the menu 
24879 \family sans
24880 Insert\SpecialChar \menuseparator
24881 Note
24882 \family default
24883 .
24884  There are three types of notes:
24885 \end_layout
24886
24887 \begin_layout Description
24888 LyX
24889 \begin_inset space ~
24890 \end_inset
24891
24892 Note This note type is for internal notes that won't appear in the output.
24893  Its note-box looks like this:
24894 \begin_inset Newline newline
24895 \end_inset
24896
24897
24898 \begin_inset Newline newline
24899 \end_inset
24900
24901
24902 \begin_inset Graphics
24903         filename clipart/LyXNoteImageQt4.png
24904         display false
24905         scale 85
24906         scaleBeforeRotation
24907
24908 \end_inset
24909
24910  
24911 \begin_inset Note Note
24912 status open
24913
24914 \begin_layout Plain Layout
24915 This is text in a note box that doesn't appear in the output.
24916 \end_layout
24917
24918 \end_inset
24919
24920
24921 \end_layout
24922
24923 \begin_layout Description
24924 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24925 ent, when you export the document to LaTeX via the menu 
24926 \family sans
24927 File\SpecialChar \menuseparator
24928 Export\SpecialChar \menuseparator
24929 LaTeX (pdflatex) / (plain)
24930 \family default
24931 .
24932  Its note-box looks like this:
24933 \begin_inset Newline newline
24934 \end_inset
24935
24936
24937 \begin_inset Newline newline
24938 \end_inset
24939
24940
24941 \begin_inset Graphics
24942         filename clipart/CommentNoteImageQt4.png
24943         display false
24944         scale 85
24945         scaleBeforeRotation
24946
24947 \end_inset
24948
24949  
24950 \begin_inset Note Comment
24951 status open
24952
24953 \begin_layout Plain Layout
24954 This is text in a note box that only appears as comment in LaTeX-files.
24955 \end_layout
24956
24957 \end_inset
24958
24959
24960 \end_layout
24961
24962 \begin_layout Description
24963 Greyed
24964 \begin_inset space ~
24965 \end_inset
24966
24967 Out This note will appear in the output as grey text.
24968  Its note-box looks like this:
24969 \begin_inset Newline newline
24970 \end_inset
24971
24972
24973 \begin_inset Newline newline
24974 \end_inset
24975
24976
24977 \begin_inset Graphics
24978         filename clipart/GreyedOutNoteImageQt4.png
24979         display false
24980         scale 85
24981         scaleBeforeRotation
24982
24983 \end_inset
24984
24985
24986 \begin_inset Newline newline
24987 \end_inset
24988
24989
24990 \begin_inset ERT
24991 status collapsed
24992
24993 \begin_layout Plain Layout
24994
24995
24996 \backslash
24997 renewenvironment{lyxgreyedout}
24998 \end_layout
24999
25000 \begin_layout Plain Layout
25001
25002 {
25003 \backslash
25004 textcolor[gray]{0.8}
25005 \backslash
25006 bgroup}{
25007 \backslash
25008 egroup}
25009 \end_layout
25010
25011 \end_inset
25012
25013
25014 \begin_inset Note Greyedout
25015 status open
25016
25017 \begin_layout Plain Layout
25018 This is text
25019 \begin_inset Foot
25020 status open
25021
25022 \begin_layout Plain Layout
25023 This is an example footnote within a greyed out note.
25024 \end_layout
25025
25026 \end_inset
25027
25028  of a comment that appears in the output as grey text.
25029 \end_layout
25030
25031 \end_inset
25032
25033
25034 \begin_inset ERT
25035 status collapsed
25036
25037 \begin_layout Plain Layout
25038
25039
25040 \backslash
25041 renewenvironment{lyxgreyedout}
25042 \end_layout
25043
25044 \begin_layout Plain Layout
25045
25046 {
25047 \backslash
25048 textcolor{blue}
25049 \backslash
25050 bgroup}{
25051 \backslash
25052 egroup}
25053 \end_layout
25054
25055 \end_inset
25056
25057
25058 \begin_inset Note Note
25059 status collapsed
25060
25061 \begin_layout Plain Layout
25062 The greyed out note is here redefined to show it with the original LyX definitio
25063 n because greyed out notes are redefined in the preamble of this document,
25064  as described below, to have blue text.
25065 \end_layout
25066
25067 \end_inset
25068
25069
25070 \begin_inset Newline newline
25071 \end_inset
25072
25073
25074 \begin_inset Newline newline
25075 \end_inset
25076
25077 As you can see in the example, the first line of greyed out notes is a bit
25078  indented and greyed out notes can have footnotes.
25079 \end_layout
25080
25081 \begin_layout Standard
25082 \begin_inset VSpace bigskip
25083 \end_inset
25084
25085 When you use the toolbar button 
25086 \begin_inset Graphics
25087         filename ../images/note-insert.png
25088         scale 85
25089         scaleBeforeRotation
25090
25091 \end_inset
25092
25093  to insert notes, a 
25094 \family sans
25095 LyX
25096 \begin_inset space ~
25097 \end_inset
25098
25099 Note
25100 \family default
25101  is inserted.
25102  You can switch between the five note types by right-clicking on the note-box.
25103  
25104 \family roman
25105 \series medium
25106 \bar no
25107 If you want to turn existing text into a note, mark it and click on the
25108  note
25109 \family default
25110 \series default
25111 \bar default
25112  toolbar 
25113 \family roman
25114 \series medium
25115 \bar no
25116 button
25117 \family default
25118 \series default
25119 \bar default
25120 .
25121  To change a note to text, press the backspace key when the cursor is in
25122  the first position of a note, or press the delete key when the cursor is
25123  in the very last position of the note, respectively.
25124 \end_layout
25125
25126 \begin_layout Standard
25127 \begin_inset VSpace bigskip
25128 \end_inset
25129
25130 You can change the text color of the greyed out notes in the menu 
25131 \family sans
25132 Document\SpecialChar \menuseparator
25133 Settings\SpecialChar \menuseparator
25134 Colors
25135 \family default
25136 .
25137 \end_layout
25138
25139 \begin_layout Section
25140 Footnotes
25141 \begin_inset CommandInset label
25142 LatexCommand label
25143 name "sec:Footnotes"
25144
25145 \end_inset
25146
25147
25148 \begin_inset Index idx
25149 status collapsed
25150
25151 \begin_layout Plain Layout
25152 Notes ! Footnotes
25153 \end_layout
25154
25155 \end_inset
25156
25157
25158 \begin_inset Index idx
25159 status collapsed
25160
25161 \begin_layout Plain Layout
25162 Footnotes
25163 \end_layout
25164
25165 \end_inset
25166
25167
25168 \end_layout
25169
25170 \begin_layout Standard
25171 Footnotes can be inserted using the toolbar button 
25172 \begin_inset Graphics
25173         filename ../images/footnote-insert.png
25174         scale 85
25175         scaleBeforeRotation
25176
25177 \end_inset
25178
25179  or the menu 
25180 \family sans
25181 Insert\SpecialChar \menuseparator
25182 Footnote
25183 \family default
25184 .
25185  
25186 \family roman
25187 \series medium
25188 \bar no
25189 You'll see
25190 \family default
25191 \series default
25192 \bar default
25193  then the following footnote-box: 
25194 \begin_inset Graphics
25195         filename clipart/footnoteQt4.png
25196         scale 80
25197         scaleBeforeRotation
25198
25199 \end_inset
25200
25201  
25202 \family roman
25203 \series medium
25204 \bar no
25205 where you can enter the footnote text.
25206  If you want to turn existing text into a footnote, mark it and click on
25207  the footnote
25208 \family default
25209 \series default
25210 \bar default
25211  toolbar 
25212 \family roman
25213 \series medium
25214 \bar no
25215 button
25216 \family default
25217 \series default
25218 \bar default
25219 .
25220  To change a 
25221 \family roman
25222 \series medium
25223 \bar no
25224 footnote
25225 \family default
25226 \series default
25227 \bar default
25228  to text, press the Backspace key when the cursor is in the first position
25229  of a 
25230 \family roman
25231 \series medium
25232 \bar no
25233 footnote
25234 \family default
25235 \series default
25236 \bar default
25237 , or press the Delete key when the cursor is in the very last position of
25238  the 
25239 \family roman
25240 \series medium
25241 \bar no
25242 footnote
25243 \family default
25244 \series default
25245 \bar default
25246 , respectively.
25247 \end_layout
25248
25249 \begin_layout Standard
25250 Here is an example footnote:
25251 \family roman
25252 \series medium
25253 \bar no
25254
25255 \begin_inset Foot
25256 status open
25257
25258 \begin_layout Plain Layout
25259 \begin_inset CommandInset label
25260 LatexCommand label
25261 name "foot:This-is-an"
25262
25263 \end_inset
25264
25265 This is an example footnote.
25266 \end_layout
25267
25268 \end_inset
25269
25270
25271 \family default
25272 \series default
25273 \bar default
25274
25275 \begin_inset ERT
25276 status collapsed
25277
25278 \begin_layout Plain Layout
25279
25280
25281 \backslash
25282 newcounter{MyRepeatFoot}
25283 \end_layout
25284
25285 \begin_layout Plain Layout
25286
25287
25288 \backslash
25289 setcounter{MyRepeatFoot}{
25290 \backslash
25291 thefootnote}
25292 \end_layout
25293
25294 \end_inset
25295
25296
25297 \end_layout
25298
25299 \begin_layout Standard
25300 The footnote will appear in the output as a superscript number at the text
25301  position where the footnote box is placed.
25302  The footnote text is placed at the bottom of the current page.
25303  The footnote number is calculated by LaTeX; the numbers are consecutive.
25304  It depends on your document-class, whether the footnote number is reset
25305  for every chapter.
25306 \end_layout
25307
25308 \begin_layout Standard
25309 Footnotes can be referenced like floats: Insert a label into the footnote
25310  and cross-reference this label in the text as described in section
25311 \begin_inset space ~
25312 \end_inset
25313
25314
25315 \begin_inset CommandInset ref
25316 LatexCommand ref
25317 reference "sec:Referencing-Floats"
25318
25319 \end_inset
25320
25321 .
25322 \begin_inset Newline newline
25323 \end_inset
25324
25325 This is a cross-reference of Footnote
25326 \begin_inset space ~
25327 \end_inset
25328
25329
25330 \begin_inset CommandInset ref
25331 LatexCommand ref
25332 reference "foot:This-is-an"
25333
25334 \end_inset
25335
25336 .
25337 \end_layout
25338
25339 \begin_layout Standard
25340 \begin_inset VSpace defskip
25341 \end_inset
25342
25343 Footnotes in tables are not printed by LaTeX due to technical reasons.
25344  However there exists another method to print them: Instead of the footnote
25345  the command 
25346 \series bold
25347
25348 \backslash
25349 footnotemark{}
25350 \series default
25351  is inserted as TeX-code.
25352  The text of the footnote is entered as an argument of the TeX-code command
25353  
25354 \series bold
25355
25356 \backslash
25357 footnotetext
25358 \series default
25359  after the table.
25360 \begin_inset Newline newline
25361 \end_inset
25362
25363 This was done for the following table with the command
25364 \end_layout
25365
25366 \begin_layout Standard
25367
25368 \series bold
25369
25370 \backslash
25371 footnotetext{
25372 \series default
25373 Printed table footnote.
25374 \series bold
25375 }
25376 \end_layout
25377
25378 \begin_layout Standard
25379 \begin_inset Tabular
25380 <lyxtabular version="3" rows="2" columns="1">
25381 <features tabularvalignment="middle">
25382 <column alignment="center" valignment="top" width="0">
25383 <row>
25384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25385 \begin_inset Text
25386
25387 \begin_layout Plain Layout
25388 This an example text.
25389 \begin_inset Foot
25390 status open
25391
25392 \begin_layout Plain Layout
25393 This footnote will not be printed!
25394 \end_layout
25395
25396 \end_inset
25397
25398
25399 \end_layout
25400
25401 \end_inset
25402 </cell>
25403 </row>
25404 <row>
25405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25406 \begin_inset Text
25407
25408 \begin_layout Plain Layout
25409 This an example text.
25410 \begin_inset ERT
25411 status collapsed
25412
25413 \begin_layout Plain Layout
25414
25415
25416 \backslash
25417 footnotemark{}
25418 \end_layout
25419
25420 \end_inset
25421
25422
25423 \end_layout
25424
25425 \end_inset
25426 </cell>
25427 </row>
25428 </lyxtabular>
25429
25430 \end_inset
25431
25432
25433 \begin_inset ERT
25434 status collapsed
25435
25436 \begin_layout Plain Layout
25437
25438
25439 \backslash
25440 footnotetext{
25441 \end_layout
25442
25443 \end_inset
25444
25445 Printed table footnote.
25446 \begin_inset ERT
25447 status collapsed
25448
25449 \begin_layout Plain Layout
25450
25451 }
25452 \end_layout
25453
25454 \end_inset
25455
25456
25457 \end_layout
25458
25459 \begin_layout Standard
25460 Footnotes in longtables are described in section
25461 \begin_inset space ~
25462 \end_inset
25463
25464
25465 \begin_inset CommandInset ref
25466 LatexCommand ref
25467 reference "sub:Footnotes-in-Longtables"
25468
25469 \end_inset
25470
25471 .
25472 \end_layout
25473
25474 \begin_layout Standard
25475 Footnotes in minipage boxes are printed, but inside the box and with a different
25476  numbering because a minipage box is like a page inside a page.
25477  (For more about minipages, see section
25478 \begin_inset space ~
25479 \end_inset
25480
25481
25482 \begin_inset CommandInset ref
25483 LatexCommand ref
25484 reference "sec:Minipages"
25485
25486 \end_inset
25487
25488 .) To get a footnote in the minipage that is output at the bottom of the
25489  page like normal footnotes, also use the method of 
25490 \series bold
25491
25492 \backslash
25493 footnotemark{}
25494 \series default
25495  and 
25496 \series bold
25497
25498 \backslash
25499 footnotetext
25500 \series default
25501 .
25502 \end_layout
25503
25504 \begin_layout Standard
25505 \begin_inset Box Frameless
25506 position "t"
25507 hor_pos "c"
25508 has_inner_box 1
25509 inner_pos "t"
25510 use_parbox 0
25511 use_makebox 0
25512 width "100col%"
25513 special "none"
25514 height "1in"
25515 height_special "totalheight"
25516 status open
25517
25518 \begin_layout Plain Layout
25519 This an example text in a minipage.
25520 \begin_inset Foot
25521 status open
25522
25523 \begin_layout Plain Layout
25524 Footnote in the minipage.
25525 \end_layout
25526
25527 \end_inset
25528
25529
25530 \end_layout
25531
25532 \begin_layout Plain Layout
25533 This an example text in a minipage.
25534 \begin_inset ERT
25535 status collapsed
25536
25537 \begin_layout Plain Layout
25538
25539
25540 \backslash
25541 footnotemark{}
25542 \end_layout
25543
25544 \end_inset
25545
25546
25547 \end_layout
25548
25549 \end_inset
25550
25551
25552 \end_layout
25553
25554 \begin_layout Standard
25555 \begin_inset ERT
25556 status collapsed
25557
25558 \begin_layout Plain Layout
25559
25560
25561 \backslash
25562 footnotetext{
25563 \end_layout
25564
25565 \end_inset
25566
25567 Footnote outside the minipage.
25568 \begin_inset ERT
25569 status collapsed
25570
25571 \begin_layout Plain Layout
25572
25573 }
25574 \end_layout
25575
25576 \end_inset
25577
25578
25579 \end_layout
25580
25581 \begin_layout Standard
25582 \begin_inset VSpace defskip
25583 \end_inset
25584
25585
25586 \end_layout
25587
25588 \begin_layout Standard
25589 To refer to the same footnote several times without printing the footnote
25590  text every time, use the command 
25591 \series bold
25592
25593 \backslash
25594 footnotemark[number]
25595 \series default
25596  in TeX-code.
25597 \begin_inset Newline newline
25598 \end_inset
25599
25600 As you do not know the number of the repeating footnote while you are writing
25601  the text, you have to store its number.
25602  For the following footnote mark example, these commands were inserted in
25603  TeX-code after Footnote
25604 \begin_inset space ~
25605 \end_inset
25606
25607
25608 \begin_inset CommandInset ref
25609 LatexCommand ref
25610 reference "foot:This-is-an"
25611
25612 \end_inset
25613
25614  to store the footnote number:
25615 \end_layout
25616
25617 \begin_layout Standard
25618
25619 \series bold
25620
25621 \backslash
25622 newcounter{MyRepeatFoot}
25623 \begin_inset Newline newline
25624 \end_inset
25625
25626
25627 \backslash
25628 setcounter{MyRepeatFoot}{
25629 \backslash
25630 thefootnote}
25631 \end_layout
25632
25633 \begin_layout Standard
25634 The footnote mark was then created with this command:
25635 \end_layout
25636
25637 \begin_layout Standard
25638
25639 \series bold
25640
25641 \backslash
25642 footnotemark[
25643 \backslash
25644 theMyRepeatFoot]
25645 \end_layout
25646
25647 \begin_layout Standard
25648 Here is a repeated footnote:
25649 \family roman
25650 \series medium
25651 \bar no
25652
25653 \begin_inset ERT
25654 status collapsed
25655
25656 \begin_layout Plain Layout
25657
25658
25659 \backslash
25660 footnotemark[
25661 \backslash
25662 theMyRepeatFoot]
25663 \end_layout
25664
25665 \end_inset
25666
25667
25668 \end_layout
25669
25670 \begin_layout Standard
25671 If you want to repeat the previous footnote, you can omit the storage of
25672  the footnote number and just use this command instead:
25673 \end_layout
25674
25675 \begin_layout Standard
25676
25677 \series bold
25678
25679 \backslash
25680 footnotemark[
25681 \backslash
25682 thefootnote]
25683 \end_layout
25684
25685 \begin_layout Standard
25686 Here is another repeated footnote:
25687 \family roman
25688 \series medium
25689 \bar no
25690
25691 \begin_inset ERT
25692 status collapsed
25693
25694 \begin_layout Plain Layout
25695
25696
25697 \backslash
25698 footnotemark[
25699 \backslash
25700 thefootnote]
25701 \end_layout
25702
25703 \end_inset
25704
25705
25706 \end_layout
25707
25708 \begin_layout Subsection
25709 Footnote Numbering
25710 \begin_inset CommandInset label
25711 LatexCommand label
25712 name "sub:Footnote-Numbering"
25713
25714 \end_inset
25715
25716
25717 \begin_inset Index idx
25718 status collapsed
25719
25720 \begin_layout Plain Layout
25721 Footnotes ! Numbering
25722 \end_layout
25723
25724 \end_inset
25725
25726
25727 \end_layout
25728
25729 \begin_layout Standard
25730 To reset the footnote number back to 1 after each section
25731 \family roman
25732 , add this command to your document preamble:
25733 \end_layout
25734
25735 \begin_layout Standard
25736
25737 \series bold
25738
25739 \backslash
25740 @addtoreset{footnote}{section}
25741 \end_layout
25742
25743 \begin_layout Standard
25744 \begin_inset VSpace bigskip
25745 \end_inset
25746
25747 The following preamble command changes the footnote numbering style to small
25748  roman numerals:
25749 \end_layout
25750
25751 \begin_layout Standard
25752
25753 \series bold
25754
25755 \backslash
25756 renewcommand{
25757 \backslash
25758 thefootnote}{
25759 \backslash
25760 roman{footnote}}
25761 \end_layout
25762
25763 \begin_layout Standard
25764 \begin_inset ERT
25765 status collapsed
25766
25767 \begin_layout Plain Layout
25768
25769
25770 \backslash
25771 renewcommand{
25772 \backslash
25773 thefootnote}{
25774 \backslash
25775 roman{footnote}}
25776 \end_layout
25777
25778 \end_inset
25779
25780  This is a footnote with roman numbering:
25781 \begin_inset Foot
25782 status open
25783
25784 \begin_layout Plain Layout
25785 This is an example footnote with roman numbering.
25786 \end_layout
25787
25788 \end_inset
25789
25790
25791 \end_layout
25792
25793 \begin_layout Standard
25794 To change the numbering style to capital roman numerals replace in the command
25795  above 
25796 \series bold
25797
25798 \backslash
25799 roman
25800 \series default
25801  by 
25802 \series bold
25803
25804 \backslash
25805 Roman
25806 \series default
25807 .
25808  To 
25809 \begin_inset Quotes eld
25810 \end_inset
25811
25812 number
25813 \begin_inset Quotes erd
25814 \end_inset
25815
25816  footnotes with capital or small Latin letters use 
25817 \series bold
25818
25819 \backslash
25820 Alph
25821 \series default
25822  or 
25823 \series bold
25824
25825 \backslash
25826 alph
25827 \series default
25828 , respectively.
25829  To 
25830 \begin_inset Quotes eld
25831 \end_inset
25832
25833 number
25834 \begin_inset Quotes erd
25835 \end_inset
25836
25837  footnotes with symbols use 
25838 \series bold
25839
25840 \backslash
25841 fnsymbol
25842 \series default
25843 .
25844 \end_layout
25845
25846 \begin_layout Standard
25847 \begin_inset Note Greyedout
25848 status open
25849
25850 \begin_layout Plain Layout
25851
25852 \series bold
25853 Note:
25854 \series default
25855  You can only number 26 footnotes with Latin letters, because this numbering
25856  is limited to single letters.
25857 \end_layout
25858
25859 \end_inset
25860
25861
25862 \begin_inset Newline newline
25863 \end_inset
25864
25865
25866 \begin_inset Note Greyedout
25867 status open
25868
25869 \begin_layout Plain Layout
25870
25871 \series bold
25872 Note:
25873 \series default
25874  You can only number 9 footnotes with symbols.
25875 \end_layout
25876
25877 \end_inset
25878
25879
25880 \end_layout
25881
25882 \begin_layout Standard
25883 To return to the default numbering style after you have changed to another
25884  one, use 
25885 \series bold
25886
25887 \backslash
25888 arabic
25889 \series default
25890  instead of 
25891 \series bold
25892
25893 \backslash
25894 roman
25895 \series default
25896  in the command above.
25897 \begin_inset ERT
25898 status collapsed
25899
25900 \begin_layout Plain Layout
25901
25902
25903 \backslash
25904 renewcommand{
25905 \backslash
25906 thefootnote}{
25907 \backslash
25908 arabic{footnote}}
25909 \end_layout
25910
25911 \end_inset
25912
25913
25914 \end_layout
25915
25916 \begin_layout Standard
25917 \begin_inset VSpace bigskip
25918 \end_inset
25919
25920
25921 \end_layout
25922
25923 \begin_layout Standard
25924 If you want to have footnotes numbered in the scheme 
25925 \begin_inset Quotes eld
25926 \end_inset
25927
25928 chapter.footnote
25929 \begin_inset Quotes erd
25930 \end_inset
25931
25932 , add the following command to your document preamble:
25933 \end_layout
25934
25935 \begin_layout Standard
25936
25937 \series bold
25938
25939 \backslash
25940 numberwithin{footnote}{chapter}
25941 \end_layout
25942
25943 \begin_layout Standard
25944 To be able to use the command 
25945 \series bold
25946
25947 \backslash
25948 numberwithin
25949 \series default
25950 , set in the tab 
25951 \family sans
25952 Math
25953 \begin_inset space ~
25954 \end_inset
25955
25956 Options
25957 \family default
25958  in the document settings the option 
25959 \family sans
25960 Use
25961 \begin_inset space ~
25962 \end_inset
25963
25964 AMS
25965 \begin_inset space ~
25966 \end_inset
25967
25968 math
25969 \begin_inset space ~
25970 \end_inset
25971
25972 package
25973 \family default
25974 .
25975 \end_layout
25976
25977 \begin_layout Standard
25978 \begin_inset ERT
25979 status collapsed
25980
25981 \begin_layout Plain Layout
25982
25983
25984 \backslash
25985 numberwithin{footnote}{chapter}
25986 \end_layout
25987
25988 \end_inset
25989
25990 This is another example footnote:
25991 \series bold
25992
25993 \begin_inset Foot
25994 status open
25995
25996 \begin_layout Plain Layout
25997 This is a footnote numbered in the scheme 
25998 \begin_inset Quotes eld
25999 \end_inset
26000
26001 chapter.footnote
26002 \begin_inset Quotes erd
26003 \end_inset
26004
26005 .
26006 \end_layout
26007
26008 \end_inset
26009
26010
26011 \series default
26012
26013 \begin_inset ERT
26014 status collapsed
26015
26016 \begin_layout Plain Layout
26017
26018
26019 \backslash
26020 renewcommand{
26021 \backslash
26022 thefootnote}{
26023 \backslash
26024 arabic{footnote}}
26025 \end_layout
26026
26027 \end_inset
26028
26029
26030 \end_layout
26031
26032 \begin_layout Standard
26033 \begin_inset Note Greyedout
26034 status open
26035
26036 \begin_layout Plain Layout
26037
26038 \series bold
26039 Note:
26040 \series default
26041  
26042 \series bold
26043
26044 \backslash
26045 numberwithin
26046 \series default
26047  always prints out the footnote number as arabic number; previous redefinitions
26048  to get non-arabic numbers are overwritten.
26049 \end_layout
26050
26051 \end_inset
26052
26053
26054 \end_layout
26055
26056 \begin_layout Standard
26057 So to get for example the scheme 
26058 \begin_inset Quotes eld
26059 \end_inset
26060
26061 chapter.
26062 \backslash
26063 Roman{footnote}
26064 \begin_inset Quotes erd
26065 \end_inset
26066
26067 , use this command instead of 
26068 \series bold
26069
26070 \backslash
26071 numberwithin
26072 \series default
26073 :
26074 \end_layout
26075
26076 \begin_layout Standard
26077
26078 \series bold
26079
26080 \backslash
26081 renewcommand{
26082 \backslash
26083 thefootnote}{
26084 \backslash
26085 thechapter.
26086 \backslash
26087 Roman{footnote}}
26088 \end_layout
26089
26090 \begin_layout Subsection
26091 Footnote Placement
26092 \begin_inset Index idx
26093 status collapsed
26094
26095 \begin_layout Plain Layout
26096 Footnotes ! Placement
26097 \end_layout
26098
26099 \end_inset
26100
26101
26102 \end_layout
26103
26104 \begin_layout Standard
26105 If you have several footnotes in one page, they appear without vertical
26106  space between them at the bottom of the page.
26107  To make them more readable you can e.
26108 \begin_inset space \thinspace{}
26109 \end_inset
26110
26111 g.
26112 \begin_inset space \space{}
26113 \end_inset
26114
26115 add 1.5
26116 \begin_inset space \thinspace{}
26117 \end_inset
26118
26119 mm space with the following preamble command:
26120 \end_layout
26121
26122 \begin_layout Standard
26123
26124 \series bold
26125
26126 \backslash
26127 let
26128 \backslash
26129 myFoot
26130 \backslash
26131 footnote
26132 \begin_inset Newline newline
26133 \end_inset
26134
26135
26136 \backslash
26137 renewcommand{
26138 \backslash
26139 footnote}[1]{
26140 \backslash
26141 myFoot{#1
26142 \backslash
26143 vspace{1.5mm}}}
26144 \end_layout
26145
26146 \begin_layout Standard
26147 \begin_inset VSpace bigskip
26148 \end_inset
26149
26150 In a two-column document the footnotes appear at the bottom of every column,
26151  see Figure
26152 \begin_inset space ~
26153 \end_inset
26154
26155
26156 \begin_inset CommandInset ref
26157 LatexCommand ref
26158 reference "fig:Standard-footnote-placement"
26159
26160 \end_inset
26161
26162 .
26163  If the footnotes should only appear at the bottom of the right column,
26164  as in Figure
26165 \begin_inset space ~
26166 \end_inset
26167
26168
26169 \begin_inset CommandInset ref
26170 LatexCommand ref
26171 reference "fig:Footnote-placement-in"
26172
26173 \end_inset
26174
26175 , use the LaTeX-package 
26176 \series bold
26177 ftnright
26178 \series default
26179
26180 \begin_inset Index idx
26181 status collapsed
26182
26183 \begin_layout Plain Layout
26184 LaTeX-packages ! ftnright
26185 \end_layout
26186
26187 \end_inset
26188
26189  with this command in the document preamble:
26190 \end_layout
26191
26192 \begin_layout Standard
26193
26194 \series bold
26195
26196 \backslash
26197 usepackage{ftnright}
26198 \end_layout
26199
26200 \begin_layout Standard
26201 \begin_inset Float figure
26202 placement !h
26203 wide false
26204 sideways false
26205 status open
26206
26207 \begin_layout Plain Layout
26208 \begin_inset ERT
26209 status collapsed
26210
26211 \begin_layout Plain Layout
26212
26213
26214 \backslash
26215 framebox{
26216 \end_layout
26217
26218 \end_inset
26219
26220
26221 \begin_inset Graphics
26222         filename clipart/without_fntright.pdf
26223         width 100col%
26224         scaleBeforeRotation
26225
26226 \end_inset
26227
26228
26229 \begin_inset ERT
26230 status collapsed
26231
26232 \begin_layout Plain Layout
26233
26234 }
26235 \end_layout
26236
26237 \end_inset
26238
26239
26240 \end_layout
26241
26242 \begin_layout Plain Layout
26243 \begin_inset Caption
26244
26245 \begin_layout Plain Layout
26246 \begin_inset CommandInset label
26247 LatexCommand label
26248 name "fig:Standard-footnote-placement"
26249
26250 \end_inset
26251
26252 Standard footnote placement in two-column documents.
26253 \end_layout
26254
26255 \end_inset
26256
26257
26258 \end_layout
26259
26260 \end_inset
26261
26262
26263 \end_layout
26264
26265 \begin_layout Standard
26266 \begin_inset Float figure
26267 placement !h
26268 wide false
26269 sideways false
26270 status open
26271
26272 \begin_layout Plain Layout
26273 \begin_inset ERT
26274 status collapsed
26275
26276 \begin_layout Plain Layout
26277
26278
26279 \backslash
26280 framebox{
26281 \end_layout
26282
26283 \end_inset
26284
26285
26286 \begin_inset Graphics
26287         filename clipart/with_fntright.pdf
26288         width 100col%
26289         scaleBeforeRotation
26290
26291 \end_inset
26292
26293
26294 \begin_inset ERT
26295 status collapsed
26296
26297 \begin_layout Plain Layout
26298
26299 }
26300 \end_layout
26301
26302 \end_inset
26303
26304
26305 \end_layout
26306
26307 \begin_layout Plain Layout
26308 \begin_inset Caption
26309
26310 \begin_layout Plain Layout
26311 \begin_inset CommandInset label
26312 LatexCommand label
26313 name "fig:Footnote-placement-in"
26314
26315 \end_inset
26316
26317 Footnote placement in two-column documents when the LaTeX-package 
26318 \series bold
26319 ftnright
26320 \series default
26321  is used.
26322 \end_layout
26323
26324 \end_inset
26325
26326
26327 \end_layout
26328
26329 \end_inset
26330
26331
26332 \end_layout
26333
26334 \begin_layout Standard
26335 \begin_inset VSpace bigskip
26336 \end_inset
26337
26338 In some scientific literature it is usual to collect the footnotes and print
26339  them in a separate paragraph at the end of a section, as in Figure
26340 \begin_inset space ~
26341 \end_inset
26342
26343
26344 \begin_inset CommandInset ref
26345 LatexCommand ref
26346 reference "fig:Endnotes"
26347
26348 \end_inset
26349
26350 .
26351  They are then called 
26352 \begin_inset Quotes eld
26353 \end_inset
26354
26355 endnotes
26356 \begin_inset Quotes erd
26357 \end_inset
26358
26359 .
26360 \begin_inset Index idx
26361 status collapsed
26362
26363 \begin_layout Plain Layout
26364 Endnotes
26365 \end_layout
26366
26367 \end_inset
26368
26369  To use endnotes instead of footnotes in your document, load in the menu
26370  
26371 \family sans
26372 Document\SpecialChar \menuseparator
26373 Settings\SpecialChar \menuseparator
26374 Modules 
26375 \family default
26376 the module 
26377 \family sans
26378 Foot
26379 \begin_inset space ~
26380 \end_inset
26381
26382 to
26383 \begin_inset space ~
26384 \end_inset
26385
26386 End
26387 \family default
26388 .
26389  To insert the collected footnotes, insert the command
26390 \end_layout
26391
26392 \begin_layout Standard
26393
26394 \series bold
26395
26396 \backslash
26397 theendnotes
26398 \end_layout
26399
26400 \begin_layout Standard
26401 in TeX-Code at the end of a section or chapter.
26402 \end_layout
26403
26404 \begin_layout Standard
26405 \begin_inset Float figure
26406 wide false
26407 sideways false
26408 status open
26409
26410 \begin_layout Plain Layout
26411 \align center
26412 \begin_inset ERT
26413 status collapsed
26414
26415 \begin_layout Plain Layout
26416
26417
26418 \backslash
26419 framebox{
26420 \end_layout
26421
26422 \end_inset
26423
26424
26425 \begin_inset Graphics
26426         filename clipart/endnotes.pdf
26427         scaleBeforeRotation
26428
26429 \end_inset
26430
26431
26432 \begin_inset ERT
26433 status collapsed
26434
26435 \begin_layout Plain Layout
26436
26437 }
26438 \end_layout
26439
26440 \end_inset
26441
26442
26443 \end_layout
26444
26445 \begin_layout Plain Layout
26446 \begin_inset Caption
26447
26448 \begin_layout Plain Layout
26449 \begin_inset CommandInset label
26450 LatexCommand label
26451 name "fig:Endnotes"
26452
26453 \end_inset
26454
26455 Endnotes – footnotes are printed in a separate paragraph at the end of sections
26456  or chapters.
26457 \end_layout
26458
26459 \end_inset
26460
26461
26462 \end_layout
26463
26464 \end_inset
26465
26466
26467 \end_layout
26468
26469 \begin_layout Standard
26470 \begin_inset VSpace medskip
26471 \end_inset
26472
26473 The paragraph heading for the endnotes isn't automatically translated into
26474  the document language, this must be done manually.
26475  The following preamble command translates the default English 
26476 \begin_inset Quotes eld
26477 \end_inset
26478
26479 Notes
26480 \begin_inset Quotes erd
26481 \end_inset
26482
26483  into the German 
26484 \begin_inset Quotes eld
26485 \end_inset
26486
26487 Anmerkungen
26488 \begin_inset Quotes erd
26489 \end_inset
26490
26491 :
26492 \end_layout
26493
26494 \begin_layout Standard
26495
26496 \series bold
26497
26498 \backslash
26499 renewcommand{
26500 \backslash
26501 notesname}{Anmerkungen}
26502 \end_layout
26503
26504 \begin_layout Standard
26505 \begin_inset VSpace medskip
26506 \end_inset
26507
26508 The numbering of endnotes can be changed like the footnote numbering as
26509  described in section
26510 \begin_inset space ~
26511 \end_inset
26512
26513
26514 \begin_inset CommandInset ref
26515 LatexCommand ref
26516 reference "sub:Footnote-Numbering"
26517
26518 \end_inset
26519
26520 ; just replace the command 
26521 \series bold
26522
26523 \backslash
26524 thefootnote
26525 \series default
26526  by 
26527 \series bold
26528
26529 \backslash
26530 theendnote
26531 \series default
26532 .
26533  To reset the endnote number use the command 
26534 \series bold
26535
26536 \backslash
26537 @addtoreset
26538 \series default
26539  as described in section
26540 \begin_inset space ~
26541 \end_inset
26542
26543
26544 \begin_inset CommandInset ref
26545 LatexCommand ref
26546 reference "sub:Footnote-Numbering"
26547
26548 \end_inset
26549
26550  and replace the command parameter 
26551 \series bold
26552 footnote
26553 \series default
26554  by 
26555 \series bold
26556 endnote
26557 \series default
26558 .
26559 \end_layout
26560
26561 \begin_layout Standard
26562 For endnotes there is the command 
26563 \series bold
26564
26565 \backslash
26566 endnotemark[number]
26567 \series default
26568  similar to the command 
26569 \series bold
26570
26571 \backslash
26572 footnotemark
26573 \series default
26574 , that is described in section
26575 \begin_inset space ~
26576 \end_inset
26577
26578
26579 \begin_inset CommandInset ref
26580 LatexCommand ref
26581 reference "sec:Footnotes"
26582
26583 \end_inset
26584
26585 .
26586 \end_layout
26587
26588 \begin_layout Standard
26589 \begin_inset VSpace bigskip
26590 \end_inset
26591
26592 Footnotes can also be placed in the page margin and the footnote text alignment
26593  can be changed, see the LaTeX-package 
26594 \series bold
26595 footmisc
26596 \series default
26597
26598 \begin_inset Index idx
26599 status collapsed
26600
26601 \begin_layout Plain Layout
26602 LaTeX-packages ! footmisc
26603 \end_layout
26604
26605 \end_inset
26606
26607
26608 \begin_inset CommandInset citation
26609 LatexCommand cite
26610 key "footmisc"
26611
26612 \end_inset
26613
26614  for more information about this.
26615 \end_layout
26616
26617 \begin_layout Standard
26618 For various further footnote formatting issues have a look at LaTeX-books,
26619  
26620 \begin_inset CommandInset citation
26621 LatexCommand cite
26622 key "latexcompanion,latexguide,latexbook"
26623
26624 \end_inset
26625
26626 .
26627  If you are using a 
26628 \series bold
26629 KOMA-Script
26630 \series default
26631
26632 \begin_inset Index idx
26633 status collapsed
26634
26635 \begin_layout Plain Layout
26636 LaTeX-packages ! KOMA-Script
26637 \end_layout
26638
26639 \end_inset
26640
26641  document class, you can adjust all footnote settings using class-specific
26642  commands, see 
26643 \begin_inset CommandInset citation
26644 LatexCommand cite
26645 key "KOMA-Script"
26646
26647 \end_inset
26648
26649 .
26650 \end_layout
26651
26652 \begin_layout Section
26653 Margin Notes
26654 \begin_inset Index idx
26655 status collapsed
26656
26657 \begin_layout Plain Layout
26658 Notes ! Margin Notes
26659 \end_layout
26660
26661 \end_inset
26662
26663
26664 \end_layout
26665
26666 \begin_layout Standard
26667 Margin notes look and behave in LyX like footnotes.
26668  They are inserted via the menu 
26669 \family sans
26670 Insert\SpecialChar \menuseparator
26671 Marginal
26672 \begin_inset space ~
26673 \end_inset
26674
26675 Note
26676 \family default
26677  or the toolbar button 
26678 \begin_inset Graphics
26679         filename ../images/marginalnote-insert.png
26680         scale 85
26681         scaleBeforeRotation
26682
26683 \end_inset
26684
26685 .
26686  A grey 
26687 \family roman
26688 \series medium
26689 box with the
26690 \family default
26691 \series default
26692  red 
26693 \family roman
26694 \series medium
26695 label 
26696 \begin_inset Quotes eld
26697 \end_inset
26698
26699 margin
26700 \begin_inset Quotes erd
26701 \end_inset
26702
26703  appears where you can enter the text of the margin note.
26704 \end_layout
26705
26706 \begin_layout Standard
26707 At the side is an example margin note.
26708
26709 \family roman
26710 \series medium
26711  
26712 \begin_inset Marginal
26713 status open
26714
26715 \begin_layout Plain Layout
26716 This is a margin note.
26717 \end_layout
26718
26719 \end_inset
26720
26721
26722 \end_layout
26723
26724 \begin_layout Standard
26725 Margin notes appear at the right side in single-sided documents.
26726  In double-sided documents they appear in the outer margin – left on even
26727  pages, right on odd pages.
26728  The text of margin notes is aligned opposite to the outer margin – right-aligne
26729 d when the note appears in the left margin.
26730  The first line of the margin note is placed at the position of the text
26731  line where it is inserted in the document.
26732 \end_layout
26733
26734 \begin_layout Standard
26735 \begin_inset VSpace bigskip
26736 \end_inset
26737
26738 To place the margin note in the inner margin, add the command
26739 \end_layout
26740
26741 \begin_layout Standard
26742
26743 \series bold
26744
26745 \backslash
26746 reversemarginpar
26747 \end_layout
26748
26749 \begin_layout Standard
26750 in TeX-Code before a margin note.
26751  The new placement is valid for all subsequent margin notes.
26752  
26753 \begin_inset ERT
26754 status collapsed
26755
26756 \begin_layout Plain Layout
26757
26758
26759 \backslash
26760 reversemarginpar 
26761 \end_layout
26762
26763 \end_inset
26764
26765
26766 \begin_inset Marginal
26767 status open
26768
26769 \begin_layout Plain Layout
26770 This is a margin note in the inner margin.
26771 \end_layout
26772
26773 \end_inset
26774
26775
26776 \series bold
26777
26778 \begin_inset Newline newline
26779 \end_inset
26780
26781
26782 \series default
26783
26784 \begin_inset Note Greyedout
26785 status open
26786
26787 \begin_layout Plain Layout
26788
26789 \series bold
26790 Note:
26791 \series default
26792  There is often not enough space in the inner margin so that the notes are
26793  not correctly displayed in the output.
26794 \end_layout
26795
26796 \end_inset
26797
26798
26799 \end_layout
26800
26801 \begin_layout Standard
26802 To return to the default placement insert the command
26803 \end_layout
26804
26805 \begin_layout Standard
26806
26807 \series bold
26808
26809 \backslash
26810 normalmarginpar
26811 \end_layout
26812
26813 \begin_layout Standard
26814 in TeX-Code.
26815 \begin_inset ERT
26816 status collapsed
26817
26818 \begin_layout Plain Layout
26819
26820
26821 \backslash
26822 normalmarginpar 
26823 \end_layout
26824
26825 \end_inset
26826
26827  
26828 \begin_inset Note Greyedout
26829 status open
26830
26831 \begin_layout Plain Layout
26832
26833 \series bold
26834 Note:
26835 \series default
26836  The command is ignored when it is within a paragraph where also the command
26837  
26838 \series bold
26839
26840 \backslash
26841 reversemarginpar
26842 \series default
26843  is inserted.
26844 \end_layout
26845
26846 \end_inset
26847
26848
26849 \end_layout
26850
26851 \begin_layout Standard
26852 \begin_inset VSpace bigskip
26853 \end_inset
26854
26855
26856 \family roman
26857 \series medium
26858
26859 \begin_inset Marginal
26860 status open
26861
26862 \begin_layout Plain Layout
26863 AVeryLongMarginParWord that isn't hyphenated.
26864 \end_layout
26865
26866 \end_inset
26867
26868
26869 \family default
26870 \series default
26871  Similar to the case described in section
26872 \begin_inset space ~
26873 \end_inset
26874
26875
26876 \begin_inset CommandInset ref
26877 LatexCommand ref
26878 reference "sub:Multiple-Lines-in"
26879
26880 \end_inset
26881
26882 , long words cannot be hyphenated when they are the first word in a margin
26883  note.
26884  To avoid this, insert 0
26885 \begin_inset space \thinspace{}
26886 \end_inset
26887
26888 pt horizontal space before the word
26889 \family roman
26890 \series medium
26891 .
26892  
26893 \begin_inset Marginal
26894 status open
26895
26896 \begin_layout Plain Layout
26897 \begin_inset space \hspace*{}
26898 \length 0pt
26899 \end_inset
26900
26901 AVeryLongMarginParWord that is hyphenated.
26902 \end_layout
26903
26904 \end_inset
26905
26906
26907 \end_layout
26908
26909 \begin_layout Standard
26910 \begin_inset VSpace bigskip
26911 \end_inset
26912
26913
26914 \end_layout
26915
26916 \begin_layout Standard
26917 \begin_inset Note Greyedout
26918 status open
26919
26920 \begin_layout Plain Layout
26921
26922 \series bold
26923 Note:
26924 \series default
26925  Margin notes can normally not be used inside tables, floats, and footnotes.
26926 \end_layout
26927
26928 \end_inset
26929
26930
26931 \end_layout
26932
26933 \begin_layout Standard
26934 \begin_inset VSpace bigskip
26935 \end_inset
26936
26937
26938 \end_layout
26939
26940 \begin_layout Standard
26941 \begin_inset ERT
26942 status collapsed
26943
26944 \begin_layout Plain Layout
26945
26946
26947 \backslash
26948 ifmarginnote
26949 \end_layout
26950
26951 \end_inset
26952
26953
26954 \begin_inset Note Note
26955 status open
26956
26957 \begin_layout Plain Layout
26958 The following section will only be displayed when the LaTeX-package 
26959 \series bold
26960 marginnote
26961 \series default
26962  is installed.
26963 \end_layout
26964
26965 \end_inset
26966
26967
26968 \end_layout
26969
26970 \begin_layout Standard
26971 This restriction can be evaded by using the LaTeX-package 
26972 \series bold
26973 marginnote
26974 \series default
26975
26976 \begin_inset Index idx
26977 status collapsed
26978
26979 \begin_layout Plain Layout
26980 LaTeX-packages ! marginnote
26981 \end_layout
26982
26983 \end_inset
26984
26985 .
26986  By adding these two lines to your document preamble, the command used by
26987  LyX for margin notes is redefined to use the command provided by the 
26988 \series bold
26989 marginnote
26990 \series default
26991 -package:
26992 \end_layout
26993
26994 \begin_layout Standard
26995
26996 \series bold
26997
26998 \backslash
26999 usepackage{marginnote}
27000 \begin_inset Newline newline
27001 \end_inset
27002
27003
27004 \backslash
27005 let
27006 \backslash
27007 marginpar
27008 \backslash
27009 marginnote
27010 \end_layout
27011
27012 \begin_layout Standard
27013 This is also used in this document because 
27014 \series bold
27015 marginnote
27016 \series default
27017  has another useful feature: You can set a vertical offset for the note.
27018  This is often needed when too many margin notes are too close together
27019  or for a better page layout.
27020  The offset is set in LyX as TeX-Code directly after the margin note in
27021  the scheme
27022 \end_layout
27023
27024 \begin_layout Standard
27025
27026 \series bold
27027 [offset]
27028 \end_layout
27029
27030 \begin_layout Standard
27031 where the offset is a length with one of the units listed in Table
27032 \begin_inset space ~
27033 \end_inset
27034
27035
27036 \begin_inset CommandInset ref
27037 LatexCommand ref
27038 reference "tab:Units"
27039
27040 \end_inset
27041
27042 .
27043  A negative value shifts the note up, a positive value shifts it down.
27044  
27045 \family roman
27046 \series medium
27047 For example the margin note beside this text line is shifted up 1.5
27048 \begin_inset space \thinspace{}
27049 \end_inset
27050
27051 cm with the TeX-Code-command 
27052 \begin_inset Quotes eld
27053 \end_inset
27054
27055
27056 \family default
27057 \series bold
27058 [-1.5cm]
27059 \family roman
27060 \series medium
27061
27062 \begin_inset Quotes erd
27063 \end_inset
27064
27065
27066 \begin_inset Marginal
27067 status open
27068
27069 \begin_layout Plain Layout
27070 This margin note is shifted up 1.5
27071 \begin_inset space \thinspace{}
27072 \end_inset
27073
27074 cm from its original position.
27075 \end_layout
27076
27077 \end_inset
27078
27079
27080 \family default
27081 \series default
27082
27083 \begin_inset ERT
27084 status collapsed
27085
27086 \begin_layout Plain Layout
27087
27088 [-1.5cm]
27089 \end_layout
27090
27091 \end_inset
27092
27093
27094 \end_layout
27095
27096 \begin_layout Standard
27097 \begin_inset VSpace medskip
27098 \end_inset
27099
27100 With 
27101 \series bold
27102 marginnote
27103 \series default
27104  you can also change the alignment of the text in the margin note.
27105  For example the commands
27106 \end_layout
27107
27108 \begin_layout Standard
27109
27110 \series bold
27111
27112 \backslash
27113 renewcommand*{
27114 \backslash
27115 raggedleftmarginnote}{
27116 \backslash
27117 centering}
27118 \begin_inset Newline newline
27119 \end_inset
27120
27121
27122 \backslash
27123 renewcommand*{
27124 \backslash
27125 raggedrightmarginnote}{
27126 \backslash
27127 centering}
27128 \end_layout
27129
27130 \begin_layout Standard
27131 set the alignment to centered.
27132  
27133 \series bold
27134
27135 \backslash
27136 raggedleftmarginnote
27137 \series default
27138  denotes margin notes that appear at the left side.
27139 \family roman
27140 \series medium
27141
27142 \begin_inset ERT
27143 status collapsed
27144
27145 \begin_layout Plain Layout
27146
27147
27148 \backslash
27149 renewcommand*{
27150 \backslash
27151 raggedleftmarginnote}{
27152 \backslash
27153 centering}
27154 \end_layout
27155
27156 \begin_layout Plain Layout
27157
27158
27159 \backslash
27160 renewcommand*{
27161 \backslash
27162 raggedrightmarginnote}{
27163 \backslash
27164 centering}
27165 \end_layout
27166
27167 \end_inset
27168
27169
27170 \begin_inset Marginal
27171 status open
27172
27173 \begin_layout Plain Layout
27174 The text of this margin note is centered.
27175 \end_layout
27176
27177 \end_inset
27178
27179
27180 \family default
27181 \series default
27182  The default is
27183 \end_layout
27184
27185 \begin_layout Standard
27186
27187 \series bold
27188
27189 \backslash
27190 renewcommand*{
27191 \backslash
27192 raggedleftmarginnote}{
27193 \backslash
27194 raggedleft}
27195 \begin_inset Newline newline
27196 \end_inset
27197
27198
27199 \backslash
27200 renewcommand*{
27201 \backslash
27202 raggedrightmarginnote}{
27203 \backslash
27204 raggedright}
27205 \family roman
27206 \series medium
27207
27208 \begin_inset ERT
27209 status collapsed
27210
27211 \begin_layout Plain Layout
27212
27213
27214 \backslash
27215 renewcommand*{
27216 \backslash
27217 raggedleftmarginnote}{
27218 \backslash
27219 raggedleft}
27220 \end_layout
27221
27222 \begin_layout Plain Layout
27223
27224
27225 \backslash
27226 renewcommand*{
27227 \backslash
27228 raggedrightmarginnote}{
27229 \backslash
27230 raggedright}
27231 \end_layout
27232
27233 \end_inset
27234
27235
27236 \end_layout
27237
27238 \begin_layout Standard
27239 \begin_inset VSpace medskip
27240 \end_inset
27241
27242 For the other features of 
27243 \series bold
27244 marginnote
27245 \series default
27246  refer to its documentation 
27247 \begin_inset CommandInset citation
27248 LatexCommand cite
27249 key "marginnote"
27250
27251 \end_inset
27252
27253 .
27254 \end_layout
27255
27256 \begin_layout Standard
27257 \begin_inset VSpace bigskip
27258 \end_inset
27259
27260 You can adjust the layout of margin notes by changing its definition.
27261  To create for example a header for all margin notes with the underlined,
27262  sans-serif, and bold header text 
27263 \begin_inset Quotes eld
27264 \end_inset
27265
27266
27267 \family sans
27268 \series bold
27269 \bar under
27270 Attention!
27271 \family default
27272 \series default
27273 \bar default
27274
27275 \begin_inset Quotes erd
27276 \end_inset
27277
27278 , add this to your document preamble:
27279 \end_layout
27280
27281 \begin_layout Standard
27282
27283 \series bold
27284
27285 \backslash
27286 let
27287 \backslash
27288 myMarginpar
27289 \backslash
27290 marginpar
27291 \begin_inset Newline newline
27292 \end_inset
27293
27294
27295 \backslash
27296 renewcommand{
27297 \backslash
27298 marginpar}[1]{
27299 \backslash
27300 myMarginpar{%
27301 \begin_inset Newline newline
27302 \end_inset
27303
27304
27305 \begin_inset Phantom HPhantom
27306 status open
27307
27308 \begin_layout Plain Layout
27309
27310 \series bold
27311 \begin_inset space ~
27312 \end_inset
27313
27314
27315 \end_layout
27316
27317 \end_inset
27318
27319
27320 \backslash
27321 hspace{0pt}
27322 \backslash
27323 textsf{
27324 \backslash
27325 textbf{
27326 \backslash
27327 underbar{Attention!}}}%
27328 \begin_inset Newline newline
27329 \end_inset
27330
27331
27332 \begin_inset Phantom HPhantom
27333 status open
27334
27335 \begin_layout Plain Layout
27336
27337 \series bold
27338 \begin_inset space ~
27339 \end_inset
27340
27341
27342 \end_layout
27343
27344 \end_inset
27345
27346
27347 \backslash
27348 vspace{1.5mm}
27349 \backslash
27350
27351 \backslash
27352 #1}}
27353 \end_layout
27354
27355 \begin_layout Standard
27356
27357 \family roman
27358 \series medium
27359 \begin_inset ERT
27360 status collapsed
27361
27362 \begin_layout Plain Layout
27363
27364
27365 \backslash
27366 let
27367 \backslash
27368 myMarginpar
27369 \backslash
27370 marginpar
27371 \end_layout
27372
27373 \begin_layout Plain Layout
27374
27375
27376 \backslash
27377 renewcommand{
27378 \backslash
27379 marginpar}[1]{
27380 \backslash
27381 myMarginpar{%
27382 \end_layout
27383
27384 \begin_layout Plain Layout
27385
27386    
27387 \backslash
27388 textsf{
27389 \backslash
27390 textbf{
27391 \backslash
27392 underbar{Attention!}}}%
27393 \end_layout
27394
27395 \begin_layout Plain Layout
27396
27397    
27398 \backslash
27399 vspace{1.5mm}
27400 \backslash
27401
27402 \backslash
27403 #1}}
27404 \end_layout
27405
27406 \end_inset
27407
27408
27409 \begin_inset Marginal
27410 status open
27411
27412 \begin_layout Plain Layout
27413 This is a margin note with a defined heading.
27414 \end_layout
27415
27416 \end_inset
27417
27418
27419 \family default
27420 \series default
27421
27422 \begin_inset ERT
27423 status collapsed
27424
27425 \begin_layout Plain Layout
27426
27427 [-1.5cm]
27428 \end_layout
27429
27430 \end_inset
27431
27432
27433 \family roman
27434 \series medium
27435
27436 \begin_inset ERT
27437 status collapsed
27438
27439 \begin_layout Plain Layout
27440
27441
27442 \backslash
27443 renewcommand{
27444 \backslash
27445 marginpar}[1]{
27446 \backslash
27447 myMarginpar{#1}}
27448 \end_layout
27449
27450 \end_inset
27451
27452
27453 \family default
27454 \series default
27455
27456 \begin_inset Note Note
27457 status collapsed
27458
27459 \begin_layout Plain Layout
27460 The margin note format is changed only for this example.
27461 \end_layout
27462
27463 \end_inset
27464
27465
27466 \end_layout
27467
27468 \begin_layout Standard
27469 \begin_inset ERT
27470 status collapsed
27471
27472 \begin_layout Plain Layout
27473
27474
27475 \backslash
27476 else
27477 \end_layout
27478
27479 \end_inset
27480
27481
27482 \begin_inset Note Note
27483 status open
27484
27485 \begin_layout Plain Layout
27486 The following will be displayed when the LaTeX-package 
27487 \series bold
27488 marginnote
27489 \series default
27490  is not installed:
27491 \end_layout
27492
27493 \end_inset
27494
27495
27496 \end_layout
27497
27498 \begin_layout Standard
27499 You need to install the LaTeX-package 
27500 \series bold
27501 marginnote
27502 \series default
27503  to see the following part of this section in the output.
27504 \end_layout
27505
27506 \begin_layout Standard
27507 \begin_inset ERT
27508 status collapsed
27509
27510 \begin_layout Plain Layout
27511
27512
27513 \backslash
27514 fi
27515 \end_layout
27516
27517 \end_inset
27518
27519
27520 \end_layout
27521
27522 \begin_layout Chapter
27523 Boxes
27524 \end_layout
27525
27526 \begin_layout Section
27527 Introduction
27528 \begin_inset Index idx
27529 status collapsed
27530
27531 \begin_layout Plain Layout
27532 Boxes ! Introduction
27533 \end_layout
27534
27535 \end_inset
27536
27537
27538 \end_layout
27539
27540 \begin_layout Standard
27541 Boxes are used to format a block of text.
27542  Boxes can be used to write documents with multiple languages, see section
27543 \begin_inset space ~
27544 \end_inset
27545
27546
27547 \begin_inset CommandInset ref
27548 LatexCommand ref
27549 reference "sec:Minipages"
27550
27551 \end_inset
27552
27553 , to frame texts, see section
27554 \begin_inset space ~
27555 \end_inset
27556
27557
27558 \begin_inset CommandInset ref
27559 LatexCommand ref
27560 reference "sec:Decoration"
27561
27562 \end_inset
27563
27564 , to prevent words from being hyphenated, see section
27565 \begin_inset space ~
27566 \end_inset
27567
27568
27569 \begin_inset CommandInset ref
27570 LatexCommand ref
27571 reference "sec:Prevent-Hyphenation"
27572
27573 \end_inset
27574
27575 , to align text, see section
27576 \begin_inset space ~
27577 \end_inset
27578
27579
27580 \begin_inset CommandInset ref
27581 LatexCommand ref
27582 reference "sub:Vertical-Alignment"
27583
27584 \end_inset
27585
27586 , or to set the background color of texts, see section
27587 \begin_inset space ~
27588 \end_inset
27589
27590
27591 \begin_inset CommandInset ref
27592 LatexCommand ref
27593 reference "sec:Colored-Boxes"
27594
27595 \end_inset
27596
27597 .
27598 \end_layout
27599
27600 \begin_layout Standard
27601 Boxes can be inserted with the menu 
27602 \family sans
27603 Insert\SpecialChar \menuseparator
27604 Box
27605 \family default
27606  or the toolbar button 
27607 \begin_inset Graphics
27608         filename ../images/box-insert.png
27609         scale 85
27610         scaleBeforeRotation
27611
27612 \end_inset
27613
27614 .
27615  A grey box with the label 
27616 \family sans
27617 Box (Minipage)
27618 \family default
27619
27620 \begin_inset Graphics
27621         filename clipart/BoxInsetDefaultQt4.png
27622         scale 85
27623         scaleBeforeRotation
27624
27625 \end_inset
27626
27627  will be inserted.
27628  The box type can be specified by right-clicking on the box and selecting
27629  
27630 \family sans
27631 Settings
27632 \family default
27633 .
27634  The box dialog offers the 
27635 \family sans
27636 Inner
27637 \begin_inset space ~
27638 \end_inset
27639
27640 Box
27641 \family default
27642  types 
27643 \family sans
27644 Makebox
27645 \family default
27646
27647 \family sans
27648 Parbox
27649 \family default
27650  and 
27651 \family sans
27652 Minipage
27653 \family default
27654 .
27655  The type 
27656 \family sans
27657 Minipage
27658 \family default
27659  is the default for new boxes and is explained in section
27660 \begin_inset space ~
27661 \end_inset
27662
27663
27664 \begin_inset CommandInset ref
27665 LatexCommand ref
27666 reference "sec:Minipages"
27667
27668 \end_inset
27669
27670 ; the type 
27671 \family sans
27672 Parbox
27673 \family default
27674  is described in section
27675 \begin_inset space ~
27676 \end_inset
27677
27678
27679 \begin_inset CommandInset ref
27680 LatexCommand ref
27681 reference "sec:Parboxes"
27682
27683 \end_inset
27684
27685  and the type 
27686 \family sans
27687 Makebox
27688 \family default
27689  in 
27690 \begin_inset CommandInset ref
27691 LatexCommand ref
27692 reference "sec:Prevent-Hyphenation"
27693
27694 \end_inset
27695
27696 .
27697 \end_layout
27698
27699 \begin_layout Standard
27700 Boxes are not numbered and can therefore not be referenced like floats or
27701  footnotes.
27702 \end_layout
27703
27704 \begin_layout Standard
27705 \begin_inset Note Greyedout
27706 status open
27707
27708 \begin_layout Plain Layout
27709
27710 \series bold
27711 Note:
27712 \series default
27713  Boxes must not be the item in an 
27714 \family sans
27715 Itemize
27716 \family default
27717  or 
27718 \family sans
27719 Description
27720 \family default
27721  environment.
27722 \end_layout
27723
27724 \end_inset
27725
27726
27727 \end_layout
27728
27729 \begin_layout Standard
27730 \begin_inset Note Greyedout
27731 status open
27732
27733 \begin_layout Plain Layout
27734
27735 \series bold
27736 Note:
27737 \series default
27738  For an unknown reason you can only set the 
27739 \family sans
27740 Inner
27741 \begin_inset space ~
27742 \end_inset
27743
27744 Box
27745 \family default
27746  type to 
27747 \family sans
27748 None
27749 \family default
27750  when you use a framed box.
27751  Boxes without an 
27752 \family sans
27753 Inner
27754 \begin_inset space ~
27755 \end_inset
27756
27757 Box
27758 \family default
27759  type and without frames are explained in section
27760 \begin_inset space ~
27761 \end_inset
27762
27763
27764 \begin_inset CommandInset ref
27765 LatexCommand ref
27766 reference "sec:Prevent-Hyphenation"
27767
27768 \end_inset
27769
27770 .
27771 \end_layout
27772
27773 \end_inset
27774
27775
27776 \end_layout
27777
27778 \begin_layout Section
27779 Box Dialog
27780 \begin_inset CommandInset label
27781 LatexCommand label
27782 name "sec:Box-Dialog"
27783
27784 \end_inset
27785
27786
27787 \begin_inset Index idx
27788 status collapsed
27789
27790 \begin_layout Plain Layout
27791 Boxes ! Box Dialog
27792 \end_layout
27793
27794 \end_inset
27795
27796
27797 \end_layout
27798
27799 \begin_layout Subsection
27800 Size
27801 \begin_inset Index idx
27802 status collapsed
27803
27804 \begin_layout Plain Layout
27805 Boxes ! Size
27806 \end_layout
27807
27808 \end_inset
27809
27810
27811 \end_layout
27812
27813 \begin_layout Standard
27814 In the box dialog you can adjust the box geometry in the fields 
27815 \family sans
27816 Width
27817 \family default
27818  and 
27819 \family sans
27820 Height
27821 \family default
27822 .
27823  The available units for the geometry are explained in Table
27824 \begin_inset space ~
27825 \end_inset
27826
27827
27828 \begin_inset CommandInset ref
27829 LatexCommand ref
27830 reference "tab:Units"
27831
27832 \end_inset
27833
27834 .
27835  The field 
27836 \family sans
27837 Height
27838 \family default
27839  offers the following additional sizes:
27840 \end_layout
27841
27842 \begin_layout Description
27843 Depth This is the plain text 
27844 \begin_inset Quotes eld
27845 \end_inset
27846
27847 height
27848 \begin_inset Quotes erd
27849 \end_inset
27850
27851 .
27852  It ignores the total depth when there are multiple text lines in the box:
27853 \begin_inset Newline newline
27854 \end_inset
27855
27856
27857 \begin_inset Newline newline
27858 \end_inset
27859
27860
27861 \begin_inset Newline newline
27862 \end_inset
27863
27864
27865 \begin_inset Box Boxed
27866 position "c"
27867 hor_pos "c"
27868 has_inner_box 1
27869 inner_pos "c"
27870 use_parbox 0
27871 use_makebox 0
27872 width "12col%"
27873 special "none"
27874 height "1in"
27875 height_special "depth"
27876 status collapsed
27877
27878 \begin_layout Plain Layout
27879 \align center
27880 Box height set to 1
27881 \begin_inset space \thinspace{}
27882 \end_inset
27883
27884 Depth
27885 \end_layout
27886
27887 \end_inset
27888
27889
27890 \begin_inset Newline newline
27891 \end_inset
27892
27893
27894 \begin_inset Newline newline
27895 \end_inset
27896
27897
27898 \end_layout
27899
27900 \begin_layout Description
27901 Height This is the height of the text that is inside the box.
27902  A value of e.
27903 \begin_inset space \thinspace{}
27904 \end_inset
27905
27906 g.
27907 \begin_inset space \space{}
27908 \end_inset
27909
27910 2 for this size will set the box height to 2
27911 \begin_inset space ~
27912 \end_inset
27913
27914 times the text height: 
27915 \begin_inset Box Boxed
27916 position "c"
27917 hor_pos "c"
27918 has_inner_box 1
27919 inner_pos "c"
27920 use_parbox 0
27921 use_makebox 0
27922 width "20col%"
27923 special "none"
27924 height "2in"
27925 height_special "height"
27926 status collapsed
27927
27928 \begin_layout Plain Layout
27929 \align center
27930 Box height set to 2
27931 \begin_inset space \thinspace{}
27932 \end_inset
27933
27934 Height
27935 \end_layout
27936
27937 \end_inset
27938
27939
27940 \end_layout
27941
27942 \begin_layout Description
27943 Total
27944 \begin_inset space ~
27945 \end_inset
27946
27947 Height This is the Height
27948 \begin_inset space \thinspace{}
27949 \end_inset
27950
27951 +
27952 \begin_inset space \thinspace{}
27953 \end_inset
27954
27955 Depth: 
27956 \begin_inset Box Boxed
27957 position "c"
27958 hor_pos "c"
27959 has_inner_box 1
27960 inner_pos "c"
27961 use_parbox 0
27962 use_makebox 0
27963 width "20col%"
27964 special "none"
27965 height "1in"
27966 height_special "totalheight"
27967 status collapsed
27968
27969 \begin_layout Plain Layout
27970 \align center
27971 Box height set to 1
27972 \begin_inset space \thinspace{}
27973 \end_inset
27974
27975 Total
27976 \begin_inset space ~
27977 \end_inset
27978
27979 Height
27980 \end_layout
27981
27982 \end_inset
27983
27984
27985 \end_layout
27986
27987 \begin_layout Description
27988 Width This sets the width of the box as height: 
27989 \begin_inset Box Boxed
27990 position "c"
27991 hor_pos "c"
27992 has_inner_box 1
27993 inner_pos "c"
27994 use_parbox 0
27995 use_makebox 0
27996 width "12col%"
27997 special "none"
27998 height "1in"
27999 height_special "width"
28000 status collapsed
28001
28002 \begin_layout Plain Layout
28003 \align center
28004 Box height set to 1
28005 \begin_inset space \thinspace{}
28006 \end_inset
28007
28008 Width
28009 \end_layout
28010
28011 \end_inset
28012
28013
28014 \end_layout
28015
28016 \begin_layout Subsection
28017 Alignment
28018 \begin_inset Index idx
28019 status collapsed
28020
28021 \begin_layout Plain Layout
28022 Boxes ! Alignment
28023 \end_layout
28024
28025 \end_inset
28026
28027
28028 \end_layout
28029
28030 \begin_layout Standard
28031 When you have chosen an 
28032 \family sans
28033 Inner
28034 \begin_inset space ~
28035 \end_inset
28036
28037 Box
28038 \family default
28039 , the vertical box alignment can be:
28040 \end_layout
28041
28042 \begin_layout Description
28043 Top This is an example text line.
28044  
28045 \begin_inset Box Boxed
28046 position "t"
28047 hor_pos "c"
28048 has_inner_box 1
28049 inner_pos "c"
28050 use_parbox 0
28051 use_makebox 0
28052 width "12col%"
28053 special "none"
28054 height "1in"
28055 height_special "totalheight"
28056 status collapsed
28057
28058 \begin_layout Plain Layout
28059 \align center
28060 This box is top-aligned.
28061 \end_layout
28062
28063 \end_inset
28064
28065  This is an example text line.
28066 \end_layout
28067
28068 \begin_layout Description
28069 Middle This is an example text line.
28070  
28071 \begin_inset Box Boxed
28072 position "c"
28073 hor_pos "c"
28074 has_inner_box 1
28075 inner_pos "c"
28076 use_parbox 0
28077 use_makebox 0
28078 width "12col%"
28079 special "none"
28080 height "1in"
28081 height_special "totalheight"
28082 status collapsed
28083
28084 \begin_layout Plain Layout
28085 \align center
28086 This box is middle-aligned.
28087 \end_layout
28088
28089 \end_inset
28090
28091  This is an example text line.
28092 \end_layout
28093
28094 \begin_layout Description
28095 Bottom This is an example text line.
28096  
28097 \begin_inset Box Boxed
28098 position "b"
28099 hor_pos "c"
28100 has_inner_box 1
28101 inner_pos "c"
28102 use_parbox 0
28103 use_makebox 0
28104 width "12col%"
28105 special "none"
28106 height "1in"
28107 height_special "totalheight"
28108 status collapsed
28109
28110 \begin_layout Plain Layout
28111 \align center
28112 This box is bottom-aligned.
28113 \end_layout
28114
28115 \end_inset
28116
28117  This is an example text line.
28118 \end_layout
28119
28120 \begin_layout Standard
28121 \begin_inset Note Greyedout
28122 status open
28123
28124 \begin_layout Plain Layout
28125
28126 \series bold
28127 Note:
28128 \series default
28129  The vertical box alignment can be lost in the output when you have two
28130  boxes in a line and one has e.
28131 \begin_inset space \thinspace{}
28132 \end_inset
28133
28134 g.
28135 \begin_inset space \space{}
28136 \end_inset
28137
28138 a shadow and the other one not.
28139 \end_layout
28140
28141 \end_inset
28142
28143
28144 \end_layout
28145
28146 \begin_layout Standard
28147 The horizontal box alignment can be set via LyX's paragraph dialog when
28148  you set the box into its own paragraph.
28149 \end_layout
28150
28151 \begin_layout Standard
28152 \begin_inset VSpace bigskip
28153 \end_inset
28154
28155 When you have chosen an 
28156 \family sans
28157 Inner
28158 \begin_inset space ~
28159 \end_inset
28160
28161 Box
28162 \family default
28163 , the box content can be aligned vertically to:
28164 \end_layout
28165
28166 \begin_layout Description
28167 top This is an example text line.
28168  
28169 \begin_inset Box Boxed
28170 position "c"
28171 hor_pos "c"
28172 has_inner_box 1
28173 inner_pos "t"
28174 use_parbox 0
28175 use_makebox 0
28176 width "12col%"
28177 special "none"
28178 height "1.5in"
28179 height_special "totalheight"
28180 status collapsed
28181
28182 \begin_layout Plain Layout
28183 \align center
28184 This box text is top-aligned.
28185 \end_layout
28186
28187 \end_inset
28188
28189  This is an example text line.
28190 \end_layout
28191
28192 \begin_layout Description
28193 middle This is an example text line.
28194  
28195 \begin_inset Box Boxed
28196 position "c"
28197 hor_pos "c"
28198 has_inner_box 1
28199 inner_pos "c"
28200 use_parbox 0
28201 use_makebox 0
28202 width "12col%"
28203 special "none"
28204 height "1.5in"
28205 height_special "totalheight"
28206 status collapsed
28207
28208 \begin_layout Plain Layout
28209 \align center
28210 This box text is middle-aligned.
28211 \end_layout
28212
28213 \end_inset
28214
28215  This is an example text line.
28216 \end_layout
28217
28218 \begin_layout Description
28219 bottom This is an example text line.
28220  
28221 \begin_inset Box Boxed
28222 position "c"
28223 hor_pos "c"
28224 has_inner_box 1
28225 inner_pos "b"
28226 use_parbox 0
28227 use_makebox 0
28228 width "12col%"
28229 special "none"
28230 height "1.5in"
28231 height_special "totalheight"
28232 status collapsed
28233
28234 \begin_layout Plain Layout
28235 \align center
28236 This box text is bottom-aligned.
28237 \end_layout
28238
28239 \end_inset
28240
28241  This is an example text line.
28242 \end_layout
28243
28244 \begin_layout Description
28245 stretch This is an example text line.
28246  
28247 \begin_inset Box Boxed
28248 position "c"
28249 hor_pos "c"
28250 has_inner_box 1
28251 inner_pos "s"
28252 use_parbox 0
28253 use_makebox 0
28254 width "12col%"
28255 special "none"
28256 height "1.5in"
28257 height_special "totalheight"
28258 status collapsed
28259
28260 \begin_layout Plain Layout
28261 \align center
28262 This box
28263 \end_layout
28264
28265 \begin_layout Plain Layout
28266 \align center
28267 text is
28268 \end_layout
28269
28270 \begin_layout Plain Layout
28271 \align center
28272 stretched.
28273 \end_layout
28274
28275 \end_inset
28276
28277  This is an example text line.
28278 \end_layout
28279
28280 \begin_layout Standard
28281 To stretch the box content, it must consist of more than one paragraph.
28282  In the example above every text line is in an own paragraph.
28283 \end_layout
28284
28285 \begin_layout Standard
28286 \begin_inset VSpace bigskip
28287 \end_inset
28288
28289 To align the box content horizontally you can use LyX's paragraph dialog
28290  when you have chosen an 
28291 \family sans
28292 Inner
28293 \begin_inset space ~
28294 \end_inset
28295
28296 Box
28297 \family default
28298 .
28299 \end_layout
28300
28301 \begin_layout Standard
28302 \align center
28303 \begin_inset Box Boxed
28304 position "c"
28305 hor_pos "c"
28306 has_inner_box 1
28307 inner_pos "s"
28308 use_parbox 0
28309 use_makebox 0
28310 width "15col%"
28311 special "none"
28312 height "1.25in"
28313 height_special "totalheight"
28314 status collapsed
28315
28316 \begin_layout Plain Layout
28317 \align left
28318 This box
28319 \end_layout
28320
28321 \begin_layout Plain Layout
28322 \align center
28323 text is
28324 \end_layout
28325
28326 \begin_layout Plain Layout
28327 \align right
28328 stretched.
28329 \end_layout
28330
28331 \end_inset
28332
28333
28334 \end_layout
28335
28336 \begin_layout Standard
28337 If you have not set an 
28338 \family sans
28339 Inner
28340 \begin_inset space ~
28341 \end_inset
28342
28343 Box
28344 \family default
28345 , you can align the box content horizontally in the box dialog.
28346 \end_layout
28347
28348 \begin_layout Standard
28349 \align center
28350 \begin_inset Box Boxed
28351 position "c"
28352 hor_pos "s"
28353 has_inner_box 0
28354 inner_pos "s"
28355 use_parbox 0
28356 use_makebox 0
28357 width "90col%"
28358 special "none"
28359 height "1.25in"
28360 height_special "totalheight"
28361 status collapsed
28362
28363 \begin_layout Plain Layout
28364 This box text is horizontally stretched.
28365 \end_layout
28366
28367 \end_inset
28368
28369
28370 \end_layout
28371
28372 \begin_layout Subsection
28373 Decoration
28374 \begin_inset CommandInset label
28375 LatexCommand label
28376 name "sec:Decoration"
28377
28378 \end_inset
28379
28380
28381 \begin_inset Index idx
28382 status collapsed
28383
28384 \begin_layout Plain Layout
28385 Boxes ! Decoration
28386 \end_layout
28387
28388 \end_inset
28389
28390
28391 \end_layout
28392
28393 \begin_layout Standard
28394 The type of the box can be specified in the box dialog in the drop-down
28395  list 
28396 \family sans
28397 Decoration
28398 \family default
28399 .
28400  The following types are possible:
28401 \end_layout
28402
28403 \begin_layout Description
28404 No
28405 \begin_inset space ~
28406 \end_inset
28407
28408 frame Nothing is drawn.
28409 \end_layout
28410
28411 \begin_layout Description
28412 Simple
28413 \begin_inset space ~
28414 \end_inset
28415
28416 rectangular
28417 \begin_inset space ~
28418 \end_inset
28419
28420 frame This draws a rectangular frame around the box.
28421  The frame line thickness has the size of 
28422 \series bold
28423
28424 \backslash
28425 fboxrule
28426 \series default
28427 .
28428  
28429 \begin_inset Box Boxed
28430 position "c"
28431 hor_pos "c"
28432 has_inner_box 1
28433 inner_pos "c"
28434 use_parbox 0
28435 use_makebox 0
28436 width "20col%"
28437 special "none"
28438 height "1in"
28439 height_special "totalheight"
28440 status collapsed
28441
28442 \begin_layout Plain Layout
28443 \align center
28444 Rectangular box
28445 \end_layout
28446
28447 \end_inset
28448
28449
28450 \end_layout
28451
28452 \begin_layout Description
28453 Oval
28454 \begin_inset space ~
28455 \end_inset
28456
28457 box,
28458 \begin_inset space ~
28459 \end_inset
28460
28461 thin This draws an oval frame around the box.
28462  The frame line thickness has the size 0.4
28463 \begin_inset space \thinspace{}
28464 \end_inset
28465
28466 pt.
28467  
28468 \begin_inset Box ovalbox
28469 position "c"
28470 hor_pos "c"
28471 has_inner_box 1
28472 inner_pos "c"
28473 use_parbox 0
28474 use_makebox 0
28475 width "20col%"
28476 special "none"
28477 height "1in"
28478 height_special "totalheight"
28479 status collapsed
28480
28481 \begin_layout Plain Layout
28482 \align center
28483 Oval box, thin
28484 \end_layout
28485
28486 \end_inset
28487
28488
28489 \end_layout
28490
28491 \begin_layout Description
28492 Oval
28493 \begin_inset space ~
28494 \end_inset
28495
28496 box,
28497 \begin_inset space ~
28498 \end_inset
28499
28500 thick This draws an oval frame around the box.
28501  The frame line thickness has the size 0.8
28502 \begin_inset space \thinspace{}
28503 \end_inset
28504
28505 pt.
28506  
28507 \begin_inset Box Ovalbox
28508 position "c"
28509 hor_pos "c"
28510 has_inner_box 1
28511 inner_pos "c"
28512 use_parbox 0
28513 use_makebox 0
28514 width "20col%"
28515 special "none"
28516 height "1in"
28517 height_special "totalheight"
28518 status collapsed
28519
28520 \begin_layout Plain Layout
28521 \align center
28522 Oval box, thick
28523 \end_layout
28524
28525 \end_inset
28526
28527
28528 \end_layout
28529
28530 \begin_layout Description
28531 Drop
28532 \begin_inset space ~
28533 \end_inset
28534
28535 shadow This draws a rectangular frame with a shadow around the box.
28536  The frame line thickness has the size of 
28537 \series bold
28538
28539 \backslash
28540 fboxrule
28541 \series default
28542 , the shadow has a width of 4
28543 \begin_inset space \thinspace{}
28544 \end_inset
28545
28546 pt.
28547  
28548 \begin_inset Box Shadowbox
28549 position "c"
28550 hor_pos "c"
28551 has_inner_box 1
28552 inner_pos "c"
28553 use_parbox 0
28554 use_makebox 0
28555 width "20col%"
28556 special "none"
28557 height "1in"
28558 height_special "totalheight"
28559 status collapsed
28560
28561 \begin_layout Plain Layout
28562 \align center
28563 Shadow box
28564 \end_layout
28565
28566 \end_inset
28567
28568
28569 \end_layout
28570
28571 \begin_layout Description
28572 Shaded
28573 \begin_inset space ~
28574 \end_inset
28575
28576 background This draws a box with a red background.
28577  Unlike colored boxes
28578 \begin_inset Foot
28579 status collapsed
28580
28581 \begin_layout Plain Layout
28582 see sec.
28583 \begin_inset space \thinspace{}
28584 \end_inset
28585
28586
28587 \begin_inset CommandInset ref
28588 LatexCommand ref
28589 reference "sec:Colored-Boxes"
28590
28591 \end_inset
28592
28593
28594 \end_layout
28595
28596 \end_inset
28597
28598 , it always uses the whole column width and the box is set as its own paragraph.
28599  
28600 \begin_inset Box Shaded
28601 position "t"
28602 hor_pos "c"
28603 has_inner_box 0
28604 inner_pos "t"
28605 use_parbox 0
28606 use_makebox 0
28607 width "50col%"
28608 special "none"
28609 height "1in"
28610 height_special "totalheight"
28611 status collapsed
28612
28613 \begin_layout Plain Layout
28614 Shaded background box
28615 \end_layout
28616
28617 \end_inset
28618
28619
28620 \end_layout
28621
28622 \begin_layout Description
28623 Double
28624 \begin_inset space ~
28625 \end_inset
28626
28627 rectangular
28628 \begin_inset space ~
28629 \end_inset
28630
28631 frame This draws a double-line rectangular frame around the box.
28632  The line thickness of the inner frame is 0.75
28633 \begin_inset space \thinspace{}
28634 \end_inset
28635
28636
28637 \series bold
28638
28639 \backslash
28640 fboxrule
28641 \series default
28642 , the thickness of the outer frame is 1.5
28643 \begin_inset space \thinspace{}
28644 \end_inset
28645
28646
28647 \series bold
28648
28649 \backslash
28650 fboxrule
28651 \series default
28652 .
28653  The distance between the lines is 1.5
28654 \begin_inset space \thinspace{}
28655 \end_inset
28656
28657
28658 \series bold
28659
28660 \backslash
28661 fboxrule
28662 \series default
28663
28664 \begin_inset space \thinspace{}
28665 \end_inset
28666
28667 +
28668 \begin_inset space \thinspace{}
28669 \end_inset
28670
28671 0.5
28672 \begin_inset space \thinspace{}
28673 \end_inset
28674
28675 pt.
28676  
28677 \begin_inset Box Doublebox
28678 position "c"
28679 hor_pos "c"
28680 has_inner_box 1
28681 inner_pos "c"
28682 use_parbox 0
28683 use_makebox 0
28684 width "20col%"
28685 special "none"
28686 height "1in"
28687 height_special "totalheight"
28688 status collapsed
28689
28690 \begin_layout Plain Layout
28691 \align center
28692 Double rectangular box
28693 \end_layout
28694
28695 \end_inset
28696
28697
28698 \end_layout
28699
28700 \begin_layout Standard
28701 \begin_inset VSpace bigskip
28702 \end_inset
28703
28704 LyX's box label will reflect the different frame types.
28705  To be able to use all types, the LaTeX-package 
28706 \series bold
28707 fancybox
28708 \series default
28709
28710 \begin_inset Index idx
28711 status collapsed
28712
28713 \begin_layout Plain Layout
28714 LaTeX-packages ! fancybox
28715 \end_layout
28716
28717 \end_inset
28718
28719  must be installed.
28720 \end_layout
28721
28722 \begin_layout Standard
28723 \begin_inset VSpace bigskip
28724 \end_inset
28725
28726 When you use the decoration 
28727 \family sans
28728 simple rectangular frame
28729 \family default
28730  and no inner box, you can allow page breaks within a box.
28731  Note that then, unlike other framed boxes, the frame always uses the whole
28732  column width, the box is set as its own paragraph, and 
28733 \series bold
28734
28735 \backslash
28736 fboxrule
28737 \series default
28738  and 
28739 \series bold
28740
28741 \backslash
28742 fboxsep
28743 \series default
28744  have no effect on this box type.
28745  The frame line thickness has the size of 
28746 \series bold
28747
28748 \backslash
28749 FrameRule
28750 \series default
28751 .
28752  
28753 \begin_inset Box Framed
28754 position "t"
28755 hor_pos "c"
28756 has_inner_box 0
28757 inner_pos "t"
28758 use_parbox 0
28759 use_makebox 0
28760 width "100col%"
28761 special "none"
28762 height "1in"
28763 height_special "totalheight"
28764 status collapsed
28765
28766 \begin_layout Plain Layout
28767 Allow page break box
28768 \end_layout
28769
28770 \end_inset
28771
28772
28773 \end_layout
28774
28775 \begin_layout Section
28776 Box Customization
28777 \begin_inset Index idx
28778 status collapsed
28779
28780 \begin_layout Plain Layout
28781 Boxes ! Customization
28782 \end_layout
28783
28784 \end_inset
28785
28786
28787 \end_layout
28788
28789 \begin_layout Standard
28790 The default value for the size 
28791 \series bold
28792
28793 \backslash
28794 fboxrule
28795 \series default
28796  is 0.4
28797 \begin_inset space \thinspace{}
28798 \end_inset
28799
28800 pt.
28801  It can be changed with the following command in TeX-code to e.
28802 \begin_inset space \thinspace{}
28803 \end_inset
28804
28805 g.
28806 \begin_inset space \space{}
28807 \end_inset
28808
28809 2
28810 \begin_inset space \thinspace{}
28811 \end_inset
28812
28813 pt:
28814 \end_layout
28815
28816 \begin_layout Standard
28817
28818 \series bold
28819
28820 \backslash
28821 setlength{
28822 \backslash
28823 fboxrule}{2pt}
28824 \end_layout
28825
28826 \begin_layout Standard
28827 \begin_inset ERT
28828 status collapsed
28829
28830 \begin_layout Plain Layout
28831
28832
28833 \backslash
28834 setlength{
28835 \backslash
28836 fboxrule}{2pt}
28837 \end_layout
28838
28839 \end_inset
28840
28841
28842 \begin_inset Box Boxed
28843 position "c"
28844 hor_pos "c"
28845 has_inner_box 1
28846 inner_pos "c"
28847 use_parbox 0
28848 use_makebox 0
28849 width "25col%"
28850 special "none"
28851 height "1in"
28852 height_special "totalheight"
28853 status open
28854
28855 \begin_layout Plain Layout
28856 \align center
28857 Rectangular box with 
28858 \series bold
28859
28860 \backslash
28861 fboxrule
28862 \series default
28863
28864 \begin_inset space \thinspace{}
28865 \end_inset
28866
28867 =
28868 \begin_inset space \thinspace{}
28869 \end_inset
28870
28871 2
28872 \begin_inset space \thinspace{}
28873 \end_inset
28874
28875 pt
28876 \end_layout
28877
28878 \end_inset
28879
28880
28881 \begin_inset ERT
28882 status collapsed
28883
28884 \begin_layout Plain Layout
28885
28886
28887 \backslash
28888 setlength{
28889 \backslash
28890 fboxrule}{0.4pt}
28891 \end_layout
28892
28893 \end_inset
28894
28895
28896 \end_layout
28897
28898 \begin_layout Standard
28899 \begin_inset VSpace bigskip
28900 \end_inset
28901
28902 The space between the frame and the box content is for all frame styles
28903  by default 3
28904 \begin_inset space \thinspace{}
28905 \end_inset
28906
28907 pt.
28908  You can change it by setting the length 
28909 \series bold
28910
28911 \backslash
28912 fboxsep
28913 \series default
28914  to another value.
28915  For example the command
28916 \end_layout
28917
28918 \begin_layout Standard
28919
28920 \series bold
28921
28922 \backslash
28923 setlength{
28924 \backslash
28925 fboxsep}{10pt}
28926 \end_layout
28927
28928 \begin_layout Standard
28929 sets the value to 10
28930 \begin_inset space \thinspace{}
28931 \end_inset
28932
28933 pt, as with the following box:
28934 \end_layout
28935
28936 \begin_layout Standard
28937 \begin_inset ERT
28938 status collapsed
28939
28940 \begin_layout Plain Layout
28941
28942
28943 \backslash
28944 setlength{
28945 \backslash
28946 fboxsep}{10pt}
28947 \end_layout
28948
28949 \end_inset
28950
28951
28952 \begin_inset Box Boxed
28953 position "c"
28954 hor_pos "c"
28955 has_inner_box 1
28956 inner_pos "c"
28957 use_parbox 0
28958 use_makebox 0
28959 width "25col%"
28960 special "none"
28961 height "1in"
28962 height_special "totalheight"
28963 status open
28964
28965 \begin_layout Plain Layout
28966 \align center
28967 Rectangular box with 
28968 \series bold
28969
28970 \backslash
28971 fboxsep
28972 \series default
28973
28974 \begin_inset space \thinspace{}
28975 \end_inset
28976
28977 =
28978 \begin_inset space \thinspace{}
28979 \end_inset
28980
28981 10
28982 \begin_inset space \thinspace{}
28983 \end_inset
28984
28985 pt
28986 \end_layout
28987
28988 \end_inset
28989
28990
28991 \begin_inset ERT
28992 status collapsed
28993
28994 \begin_layout Plain Layout
28995
28996
28997 \backslash
28998 setlength{
28999 \backslash
29000 fboxsep}{3pt}
29001 \end_layout
29002
29003 \end_inset
29004
29005
29006 \end_layout
29007
29008 \begin_layout Standard
29009 \begin_inset VSpace bigskip
29010 \end_inset
29011
29012 The diameter of the round corners of the oval boxes can be set with the
29013  command 
29014 \series bold
29015
29016 \backslash
29017 cornersize
29018 \series default
29019 .
29020  The command
29021 \end_layout
29022
29023 \begin_layout Standard
29024
29025 \series bold
29026
29027 \backslash
29028 cornersize*{1cm}
29029 \end_layout
29030
29031 \begin_layout Standard
29032 sets the diameter to 1
29033 \begin_inset space \thinspace{}
29034 \end_inset
29035
29036 cm.
29037  The command
29038 \end_layout
29039
29040 \begin_layout Standard
29041
29042 \series bold
29043
29044 \backslash
29045 cornersize{num}
29046 \end_layout
29047
29048 \begin_layout Standard
29049 sets the diameter to 
29050 \family sans
29051 num
29052 \begin_inset space \thinspace{}
29053 \end_inset
29054
29055 ×
29056 \begin_inset space \thinspace{}
29057 \end_inset
29058
29059 minimum(width and height of box)
29060 \family default
29061 .
29062  The default is 
29063 \series bold
29064
29065 \backslash
29066 cornersize{0.5}
29067 \series default
29068 .
29069 \end_layout
29070
29071 \begin_layout Standard
29072 \begin_inset ERT
29073 status collapsed
29074
29075 \begin_layout Plain Layout
29076
29077
29078 \backslash
29079 cornersize*{1.5cm}
29080 \end_layout
29081
29082 \end_inset
29083
29084
29085 \begin_inset Box Ovalbox
29086 position "c"
29087 hor_pos "c"
29088 has_inner_box 1
29089 inner_pos "c"
29090 use_parbox 0
29091 use_makebox 0
29092 width "25col%"
29093 special "none"
29094 height "1in"
29095 height_special "totalheight"
29096 status open
29097
29098 \begin_layout Plain Layout
29099 \align center
29100 Oval box with 
29101 \series bold
29102
29103 \backslash
29104 cornersize
29105 \series default
29106
29107 \begin_inset space \thinspace{}
29108 \end_inset
29109
29110 =
29111 \begin_inset space \thinspace{}
29112 \end_inset
29113
29114 1.5
29115 \begin_inset space \thinspace{}
29116 \end_inset
29117
29118 cm
29119 \end_layout
29120
29121 \end_inset
29122
29123
29124 \begin_inset ERT
29125 status collapsed
29126
29127 \begin_layout Plain Layout
29128
29129
29130 \backslash
29131 cornersize{0.5}
29132 \end_layout
29133
29134 \end_inset
29135
29136
29137 \end_layout
29138
29139 \begin_layout Standard
29140 \begin_inset VSpace bigskip
29141 \end_inset
29142
29143 The size of the shadow can be adjusted by changing the length 
29144 \series bold
29145
29146 \backslash
29147 shadowsize
29148 \series default
29149 .
29150  It it set to 2
29151 \begin_inset space \thinspace{}
29152 \end_inset
29153
29154 pt for the following box by this command:
29155 \end_layout
29156
29157 \begin_layout Standard
29158
29159 \series bold
29160
29161 \backslash
29162 setlength{
29163 \backslash
29164 shadowsize}{2pt}
29165 \end_layout
29166
29167 \begin_layout Standard
29168 \begin_inset ERT
29169 status collapsed
29170
29171 \begin_layout Plain Layout
29172
29173
29174 \backslash
29175 setlength{
29176 \backslash
29177 shadowsize}{2pt}
29178 \end_layout
29179
29180 \end_inset
29181
29182
29183 \begin_inset Box Shadowbox
29184 position "c"
29185 hor_pos "c"
29186 has_inner_box 1
29187 inner_pos "c"
29188 use_parbox 0
29189 use_makebox 0
29190 width "25col%"
29191 special "none"
29192 height "1in"
29193 height_special "totalheight"
29194 status open
29195
29196 \begin_layout Plain Layout
29197 \align center
29198 Shadow box with 
29199 \series bold
29200
29201 \backslash
29202 shadowsize
29203 \series default
29204
29205 \begin_inset space \thinspace{}
29206 \end_inset
29207
29208 =
29209 \begin_inset space \thinspace{}
29210 \end_inset
29211
29212 2
29213 \begin_inset space \thinspace{}
29214 \end_inset
29215
29216 pt
29217 \end_layout
29218
29219 \end_inset
29220
29221
29222 \begin_inset ERT
29223 status collapsed
29224
29225 \begin_layout Plain Layout
29226
29227
29228 \backslash
29229 setlength{
29230 \backslash
29231 shadowsize}{4pt}
29232 \end_layout
29233
29234 \end_inset
29235
29236
29237 \end_layout
29238
29239 \begin_layout Standard
29240 \begin_inset VSpace bigskip
29241 \end_inset
29242
29243
29244 \end_layout
29245
29246 \begin_layout Standard
29247 The default value for the size 
29248 \series bold
29249
29250 \backslash
29251 FrameRule
29252 \series default
29253  is 0.4
29254 \begin_inset space \thinspace{}
29255 \end_inset
29256
29257 pt.
29258  The default space between the note content and the frame is 9
29259 \begin_inset space \thinspace{}
29260 \end_inset
29261
29262 pt and can be changed with the value of 
29263 \series bold
29264
29265 \backslash
29266 FrameSep
29267 \series default
29268 .
29269  For example the frame appearance of the following 
29270 \family sans
29271 box
29272 \family default
29273  is set with the TeX-Code commands
29274 \end_layout
29275
29276 \begin_layout Standard
29277
29278 \series bold
29279
29280 \backslash
29281 setlength{
29282 \backslash
29283 FrameRule}{5pt}
29284 \begin_inset Newline newline
29285 \end_inset
29286
29287
29288 \backslash
29289 setlength{
29290 \backslash
29291 FrameSep}{0.5cm}
29292 \end_layout
29293
29294 \begin_layout Standard
29295 \begin_inset ERT
29296 status collapsed
29297
29298 \begin_layout Plain Layout
29299
29300
29301 \backslash
29302 setlength{
29303 \backslash
29304 FrameRule}{5pt}
29305 \end_layout
29306
29307 \begin_layout Plain Layout
29308
29309
29310 \backslash
29311 setlength{
29312 \backslash
29313 FrameSep}{0.5cm}
29314 \end_layout
29315
29316 \end_inset
29317
29318
29319 \begin_inset Box Framed
29320 position "t"
29321 hor_pos "c"
29322 has_inner_box 0
29323 inner_pos "t"
29324 use_parbox 0
29325 use_makebox 0
29326 width "100col%"
29327 special "none"
29328 height "1in"
29329 height_special "totalheight"
29330 status open
29331
29332 \begin_layout Plain Layout
29333 This is text in an 
29334 \family sans
29335 allow page break
29336 \family default
29337  box.
29338 \end_layout
29339
29340 \end_inset
29341
29342
29343 \begin_inset ERT
29344 status collapsed
29345
29346 \begin_layout Plain Layout
29347
29348
29349 \backslash
29350 setlength{
29351 \backslash
29352 FrameRule}{0.4pt}
29353 \end_layout
29354
29355 \begin_layout Plain Layout
29356
29357
29358 \backslash
29359 setlength{
29360 \backslash
29361 FrameSep}{9pt}
29362 \end_layout
29363
29364 \end_inset
29365
29366
29367 \end_layout
29368
29369 \begin_layout Standard
29370 \begin_inset VSpace bigskip
29371 \end_inset
29372
29373
29374 \end_layout
29375
29376 \begin_layout Standard
29377 For 
29378 \family sans
29379 shaded background
29380 \family default
29381  boxes the default space between the box content and the box border is 3
29382 \begin_inset space \thinspace{}
29383 \end_inset
29384
29385 pt and can be changed with the value of 
29386 \series bold
29387
29388 \backslash
29389 fboxsep
29390 \series default
29391 .
29392  The default background color red can either be changed locally with the
29393  command 
29394 \series bold
29395
29396 \backslash
29397 definecolor{shadecolor}
29398 \series default
29399  or globally with the menu 
29400 \family sans
29401 Tools\SpecialChar \menuseparator
29402 Preferences\SpecialChar \menuseparator
29403 Colors\SpecialChar \menuseparator
29404 shaded
29405 \begin_inset space ~
29406 \end_inset
29407
29408 box
29409 \family default
29410 .
29411  The scheme of the 
29412 \series bold
29413
29414 \backslash
29415 definecolor
29416 \series default
29417  command is explained in section
29418 \begin_inset space ~
29419 \end_inset
29420
29421
29422 \begin_inset CommandInset ref
29423 LatexCommand ref
29424 reference "sec:Colored-Tables"
29425
29426 \end_inset
29427
29428 .
29429 \begin_inset Foot
29430 status collapsed
29431
29432 \begin_layout Plain Layout
29433 Note that 
29434 \series bold
29435
29436 \backslash
29437 definecolor
29438 \series default
29439  requires the LaTeX-package 
29440 \series bold
29441 color
29442 \series default
29443  in the preamble, see section
29444 \begin_inset space ~
29445 \end_inset
29446
29447
29448 \begin_inset CommandInset ref
29449 LatexCommand ref
29450 reference "sec:Colored-Boxes"
29451
29452 \end_inset
29453
29454 .
29455 \end_layout
29456
29457 \end_inset
29458
29459  For example the appearance of the following shaded background box is set
29460  with the TeX-Code commands
29461 \end_layout
29462
29463 \begin_layout Standard
29464
29465 \series bold
29466
29467 \backslash
29468 setlength{
29469 \backslash
29470 fboxsep}{0.5cm}
29471 \series default
29472
29473 \begin_inset Newline newline
29474 \end_inset
29475
29476
29477 \series bold
29478
29479 \backslash
29480 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29481 \end_layout
29482
29483 \begin_layout Standard
29484 \begin_inset ERT
29485 status collapsed
29486
29487 \begin_layout Plain Layout
29488
29489
29490 \backslash
29491 setlength{
29492 \backslash
29493 fboxsep}{0.5cm}
29494 \end_layout
29495
29496 \begin_layout Plain Layout
29497
29498
29499 \backslash
29500 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29501 \end_layout
29502
29503 \end_inset
29504
29505
29506 \begin_inset Box Shaded
29507 position "t"
29508 hor_pos "c"
29509 has_inner_box 0
29510 inner_pos "t"
29511 use_parbox 0
29512 use_makebox 0
29513 width "100col%"
29514 special "none"
29515 height "1in"
29516 height_special "totalheight"
29517 status open
29518
29519 \begin_layout Plain Layout
29520
29521 \color yellow
29522 This is yellow text in a
29523 \color none
29524  
29525 \family sans
29526 \color yellow
29527 shaded background
29528 \family default
29529 \color none
29530  
29531 \color yellow
29532 box with dark green background.
29533 \end_layout
29534
29535 \end_inset
29536
29537
29538 \begin_inset ERT
29539 status collapsed
29540
29541 \begin_layout Plain Layout
29542
29543
29544 \backslash
29545 setlength{
29546 \backslash
29547 fboxsep}{3pt}
29548 \end_layout
29549
29550 \begin_layout Plain Layout
29551
29552
29553 \backslash
29554 definecolor{shadecolor}{rgb}{1,0,0}
29555 \end_layout
29556
29557 \end_inset
29558
29559
29560 \end_layout
29561
29562 \begin_layout Standard
29563 \begin_inset VSpace bigskip
29564 \end_inset
29565
29566 Changed lengths and widths are valid for all boxes following the commands
29567  that change them.
29568 \end_layout
29569
29570 \begin_layout Section
29571 Minipages
29572 \begin_inset CommandInset label
29573 LatexCommand label
29574 name "sec:Minipages"
29575
29576 \end_inset
29577
29578
29579 \begin_inset Index idx
29580 status collapsed
29581
29582 \begin_layout Plain Layout
29583 Boxes ! Minipages
29584 \end_layout
29585
29586 \end_inset
29587
29588
29589 \end_layout
29590
29591 \begin_layout Standard
29592 Minipages are treated by LaTeX as pages within pages and can therefore for
29593  example have their own footnotes.
29594 \end_layout
29595
29596 \begin_layout Standard
29597 Minipages are useful when you write documents with different languages.
29598 \end_layout
29599
29600 \begin_layout Standard
29601 Below are two example minipages side by side.
29602  Their width is set to 45
29603 \begin_inset space \thinspace{}
29604 \end_inset
29605
29606 col% and they are separated by a horizontal fill, that was inserted via
29607  the menu 
29608 \family sans
29609 Insert\SpecialChar \menuseparator
29610 Special
29611 \begin_inset space ~
29612 \end_inset
29613
29614 Formatting\SpecialChar \menuseparator
29615 Horizontal
29616 \begin_inset space ~
29617 \end_inset
29618
29619 Fill
29620 \family default
29621 .
29622 \begin_inset Newpage newpage
29623 \end_inset
29624
29625
29626 \end_layout
29627
29628 \begin_layout Standard
29629 \begin_inset Box Frameless
29630 position "t"
29631 hor_pos "c"
29632 has_inner_box 1
29633 inner_pos "c"
29634 use_parbox 0
29635 use_makebox 0
29636 width "45col%"
29637 special "none"
29638 height "1in"
29639 height_special "totalheight"
29640 status open
29641
29642 \begin_layout Plain Layout
29643
29644 \lang german
29645 Dies ist ein deutscher Text.
29646  Dies ist ein deutscher Text.
29647  Dies ist ein deutscher Text.
29648  Dies ist ein deutscher Text.
29649  Dies ist ein deutscher Text.
29650  Dies ist ein deutscher Text.
29651  Dies ist ein deutscher Text.
29652  Dies ist ein deutscher Text.
29653  Dies ist ein deutscher Text.
29654  Dies ist ein deutscher Text.
29655  Dies ist ein deutscher Text.
29656  Dies ist ein deutscher Text.
29657  Dies ist ein deutscher Text
29658 \begin_inset Foot
29659 status collapsed
29660
29661 \begin_layout Plain Layout
29662
29663 \lang german
29664 Dies ist eine deutsche Fußnote.
29665 \end_layout
29666
29667 \end_inset
29668
29669 .
29670  Dies ist ein deutscher Text.
29671  Dies ist ein deutscher Text.
29672 \end_layout
29673
29674 \end_inset
29675
29676
29677 \begin_inset space \hfill{}
29678 \end_inset
29679
29680
29681 \begin_inset Box Frameless
29682 position "t"
29683 hor_pos "c"
29684 has_inner_box 1
29685 inner_pos "c"
29686 use_parbox 0
29687 use_makebox 0
29688 width "45col%"
29689 special "none"
29690 height "1in"
29691 height_special "totalheight"
29692 status open
29693
29694 \begin_layout Plain Layout
29695 This is an English Text.
29696  This is an English Text.
29697  This is an English Text.
29698  This is an English Text.
29699  This is an English Text.
29700  This is an English Text.
29701  This is an English Text.
29702  This is an English Text.
29703  This is an English Text.
29704  This is an English Text.
29705  This is an English Text.
29706  This is an English Text.
29707  This is an English Text.
29708  This is an English Text.
29709  This is an English Text.
29710  This is an English Text.
29711 \begin_inset Foot
29712 status collapsed
29713
29714 \begin_layout Plain Layout
29715 This is an English footnote.
29716 \end_layout
29717
29718 \end_inset
29719
29720  This is an English Text.
29721  
29722 \end_layout
29723
29724 \end_inset
29725
29726
29727 \end_layout
29728
29729 \begin_layout Standard
29730 \begin_inset VSpace bigskip
29731 \end_inset
29732
29733 The document-wide paragraph settings are ignored within minipages.
29734  That means that there will be no space between paragraphs in minipages
29735  although you set it to e.
29736 \begin_inset space \thinspace{}
29737 \end_inset
29738
29739 g.
29740 \begin_inset space \space{}
29741 \end_inset
29742
29743
29744 \family sans
29745 MedSkip
29746 \family default
29747  in the document settings.
29748 \end_layout
29749
29750 \begin_layout Standard
29751 Minipages can also be used to set a background color for text parts, see
29752  section
29753 \begin_inset space ~
29754 \end_inset
29755
29756
29757 \begin_inset CommandInset ref
29758 LatexCommand ref
29759 reference "sub:Color-for-Paragraphs"
29760
29761 \end_inset
29762
29763 .
29764 \end_layout
29765
29766 \begin_layout Standard
29767 \begin_inset Note Greyedout
29768 status open
29769
29770 \begin_layout Plain Layout
29771
29772 \series bold
29773 Note:
29774 \series default
29775  You cannot have floats or margin notes inside minipages but minipages can
29776  be used inside tables, floats, and other boxes.
29777 \end_layout
29778
29779 \end_inset
29780
29781
29782 \end_layout
29783
29784 \begin_layout Section
29785 Parboxes
29786 \begin_inset CommandInset label
29787 LatexCommand label
29788 name "sec:Parboxes"
29789
29790 \end_inset
29791
29792
29793 \begin_inset Index idx
29794 status collapsed
29795
29796 \begin_layout Plain Layout
29797 Boxes ! Parboxes
29798 \end_layout
29799
29800 \end_inset
29801
29802
29803 \end_layout
29804
29805 \begin_layout Standard
29806 Parboxes are very similar to minipages with the difference that they cannot
29807  have footnotes.
29808 \end_layout
29809
29810 \begin_layout Standard
29811 \align center
29812 \begin_inset Box Frameless
29813 position "t"
29814 hor_pos "c"
29815 has_inner_box 1
29816 inner_pos "t"
29817 use_parbox 1
29818 use_makebox 0
29819 width "33col%"
29820 special "none"
29821 height "1in"
29822 height_special "totalheight"
29823 status collapsed
29824
29825 \begin_layout Plain Layout
29826 This a text within a parbox.
29827  This a text within a parbox.
29828 \end_layout
29829
29830 \begin_layout Plain Layout
29831 This footnote won't appear:
29832 \begin_inset Foot
29833 status collapsed
29834
29835 \begin_layout Plain Layout
29836 This footnote is inside a parbox and will therefore not appear.
29837 \end_layout
29838
29839 \end_inset
29840
29841
29842 \end_layout
29843
29844 \end_inset
29845
29846
29847 \end_layout
29848
29849 \begin_layout Section
29850 Boxes for Words and Characters
29851 \begin_inset Index idx
29852 status collapsed
29853
29854 \begin_layout Plain Layout
29855 Boxes ! for Characters
29856 \end_layout
29857
29858 \end_inset
29859
29860
29861 \end_layout
29862
29863 \begin_layout Subsection
29864 Prevent Hyphenation
29865 \begin_inset CommandInset label
29866 LatexCommand label
29867 name "sec:Prevent-Hyphenation"
29868
29869 \end_inset
29870
29871
29872 \begin_inset Index idx
29873 status collapsed
29874
29875 \begin_layout Plain Layout
29876 Boxes ! to Prevent Hyphenation
29877 \end_layout
29878
29879 \end_inset
29880
29881
29882 \end_layout
29883
29884 \begin_layout Standard
29885 You can use the box type 
29886 \family sans
29887 Makebox
29888 \family default
29889  to prevent words or text from being hyphenated.
29890 \begin_inset Newline newline
29891 \end_inset
29892
29893 Here is an example text:
29894 \end_layout
29895
29896 \begin_layout Standard
29897 This line is an example to show how you can prevent the hyphenation of 
29898 \begin_inset Quotes eld
29899 \end_inset
29900
29901 veryverylongword
29902 \begin_inset Quotes erd
29903 \end_inset
29904
29905 .
29906 \end_layout
29907
29908 \begin_layout Standard
29909 To prevent the hyphenation of the word 
29910 \begin_inset Quotes eld
29911 \end_inset
29912
29913 veryverylongword
29914 \begin_inset Quotes erd
29915 \end_inset
29916
29917 , put the word into a box, set the 
29918 \family sans
29919 Inner
29920 \begin_inset space ~
29921 \end_inset
29922
29923 box
29924 \family default
29925  to 
29926 \family sans
29927 Makebox
29928 \family default
29929  and its width to 1
29930 \begin_inset space \thinspace{}
29931 \end_inset
29932
29933 Width.
29934 \end_layout
29935
29936 \begin_layout Standard
29937 This is the result:
29938 \end_layout
29939
29940 \begin_layout Standard
29941 This line is an example to show how you can prevent the hyphenation of 
29942 \begin_inset Box Frameless
29943 position "t"
29944 hor_pos "c"
29945 has_inner_box 1
29946 inner_pos "t"
29947 use_parbox 0
29948 use_makebox 1
29949 width "1in"
29950 special "width"
29951 height "1in"
29952 height_special "totalheight"
29953 status open
29954
29955 \begin_layout Plain Layout
29956 \begin_inset Quotes eld
29957 \end_inset
29958
29959 veryverylongword
29960 \begin_inset Quotes erd
29961 \end_inset
29962
29963
29964 \end_layout
29965
29966 \end_inset
29967
29968 .
29969 \end_layout
29970
29971 \begin_layout Standard
29972 You can alternatively set the command 
29973 \begin_inset Quotes eld
29974 \end_inset
29975
29976
29977 \series bold
29978
29979 \backslash
29980 -
29981 \series default
29982
29983 \begin_inset Quotes grd
29984 \end_inset
29985
29986  as TeX-Code directly before the word:
29987 \end_layout
29988
29989 \begin_layout Standard
29990 This line is an example to show how you can prevent the hyphenation of 
29991 \begin_inset Quotes eld
29992 \end_inset
29993
29994
29995 \begin_inset ERT
29996 status collapsed
29997
29998 \begin_layout Plain Layout
29999
30000
30001 \backslash
30002 -
30003 \end_layout
30004
30005 \end_inset
30006
30007 veryverylongword
30008 \begin_inset Quotes erd
30009 \end_inset
30010
30011 .
30012 \end_layout
30013
30014 \begin_layout Standard
30015 Of course the word now protrudes over the side margin.
30016  To avoid this, add via the menu 
30017 \family sans
30018 Insert\SpecialChar \menuseparator
30019 Formatting\SpecialChar \menuseparator
30020 Ragged
30021 \begin_inset space ~
30022 \end_inset
30023
30024 Line
30025 \begin_inset space ~
30026 \end_inset
30027
30028 Break
30029 \family default
30030  (shortcut 
30031 \begin_inset Info
30032 type  "shortcut"
30033 arg   "newline-insert newline"
30034 \end_inset
30035
30036 ) a line break before the word:
30037 \end_layout
30038
30039 \begin_layout Standard
30040 This line is an example to show how you can prevent the hyphenation of 
30041 \begin_inset Newline newline
30042 \end_inset
30043
30044
30045 \begin_inset Box Frameless
30046 position "t"
30047 hor_pos "c"
30048 has_inner_box 1
30049 inner_pos "t"
30050 use_parbox 0
30051 use_makebox 1
30052 width "1in"
30053 special "width"
30054 height "1in"
30055 height_special "totalheight"
30056 status open
30057
30058 \begin_layout Plain Layout
30059 \begin_inset Quotes eld
30060 \end_inset
30061
30062 veryverylongword
30063 \begin_inset Quotes erd
30064 \end_inset
30065
30066
30067 \end_layout
30068
30069 \end_inset
30070
30071 .
30072 \end_layout
30073
30074 \begin_layout Subsection
30075 Vertical Alignment
30076 \begin_inset CommandInset label
30077 LatexCommand label
30078 name "sub:Vertical-Alignment"
30079
30080 \end_inset
30081
30082
30083 \begin_inset Index idx
30084 status collapsed
30085
30086 \begin_layout Plain Layout
30087 Boxes ! for Vertical Alignment
30088 \end_layout
30089
30090 \end_inset
30091
30092
30093 \begin_inset Index idx
30094 status collapsed
30095
30096 \begin_layout Plain Layout
30097 Boxes ! Raiseboxes
30098 \end_layout
30099
30100 \end_inset
30101
30102
30103 \end_layout
30104
30105 \begin_layout Standard
30106 With the help of the command 
30107 \series bold
30108
30109 \backslash
30110 raisebox
30111 \series default
30112  you can align words, characters or other boxes vertically relative to the
30113  surrounding text.
30114  
30115 \series bold
30116
30117 \backslash
30118 raisebox
30119 \series default
30120  is used with the following scheme:
30121 \end_layout
30122
30123 \begin_layout Standard
30124
30125 \series bold
30126
30127 \backslash
30128 raisebox{lift}[height][depth]{box content}
30129 \end_layout
30130
30131 \begin_layout Standard
30132 The lift can be a positive value to raise the box or a negative value to
30133  lower the box.
30134 \end_layout
30135
30136 \begin_layout Standard
30137 To align for example the word 
30138 \begin_inset Quotes eld
30139 \end_inset
30140
30141 preventing
30142 \begin_inset Quotes erd
30143 \end_inset
30144
30145  so that the bottom of the 
30146 \begin_inset Quotes eld
30147 \end_inset
30148
30149 deepest
30150 \begin_inset Quotes erd
30151 \end_inset
30152
30153  character 
30154 \begin_inset Quotes eld
30155 \end_inset
30156
30157 p
30158 \begin_inset Quotes erd
30159 \end_inset
30160
30161  is at the baseline, insert the command
30162 \end_layout
30163
30164 \begin_layout Standard
30165
30166 \series bold
30167
30168 \backslash
30169 raisebox{
30170 \backslash
30171 depth}{
30172 \end_layout
30173
30174 \begin_layout Standard
30175 in TeX-Code before the word.
30176  After the word insert a closing brace 
30177 \begin_inset Quotes eld
30178 \end_inset
30179
30180
30181 \series bold
30182 }
30183 \series default
30184
30185 \begin_inset Quotes erd
30186 \end_inset
30187
30188  in TeX-Code.
30189 \begin_inset Newline newline
30190 \end_inset
30191
30192 This is the result:
30193 \end_layout
30194
30195 \begin_layout Standard
30196 This is a text line with the word 
30197 \begin_inset ERT
30198 status collapsed
30199
30200 \begin_layout Plain Layout
30201
30202
30203 \backslash
30204 raisebox{
30205 \backslash
30206 depth}{
30207 \end_layout
30208
30209 \end_inset
30210
30211
30212 \begin_inset Quotes eld
30213 \end_inset
30214
30215 preventing
30216 \begin_inset Quotes erd
30217 \end_inset
30218
30219
30220 \begin_inset ERT
30221 status collapsed
30222
30223 \begin_layout Plain Layout
30224
30225 }
30226 \end_layout
30227
30228 \end_inset
30229
30230  as a raised word.
30231 \end_layout
30232
30233 \begin_layout Standard
30234 \begin_inset VSpace bigskip
30235 \end_inset
30236
30237 When you raise or lower characters in a line, the line distance will be
30238  spread:
30239 \end_layout
30240
30241 \begin_layout Standard
30242 This is a text line with the word 
30243 \begin_inset ERT
30244 status collapsed
30245
30246 \begin_layout Plain Layout
30247
30248
30249 \backslash
30250 raisebox{-
30251 \backslash
30252 depth}{
30253 \end_layout
30254
30255 \end_inset
30256
30257
30258 \begin_inset Quotes eld
30259 \end_inset
30260
30261 preventing
30262 \begin_inset Quotes erd
30263 \end_inset
30264
30265
30266 \begin_inset ERT
30267 status collapsed
30268
30269 \begin_layout Plain Layout
30270
30271 }
30272 \end_layout
30273
30274 \end_inset
30275
30276  as a lowered word.
30277 \begin_inset Newline newline
30278 \end_inset
30279
30280 This is a text line with the word 
30281 \begin_inset ERT
30282 status collapsed
30283
30284 \begin_layout Plain Layout
30285
30286
30287 \backslash
30288 raisebox{0.5cm}{
30289 \end_layout
30290
30291 \end_inset
30292
30293
30294 \begin_inset Quotes eld
30295 \end_inset
30296
30297 testing
30298 \begin_inset Quotes erd
30299 \end_inset
30300
30301
30302 \begin_inset ERT
30303 status collapsed
30304
30305 \begin_layout Plain Layout
30306
30307 }
30308 \end_layout
30309
30310 \end_inset
30311
30312  as a raised word.
30313 \end_layout
30314
30315 \begin_layout Standard
30316 If you want to prevent this for a certain reason, set the box height to
30317  a zero value.
30318  For example use
30319 \end_layout
30320
30321 \begin_layout Standard
30322
30323 \series bold
30324
30325 \backslash
30326 raisebox{-
30327 \backslash
30328 depth}[0pt]{
30329 \end_layout
30330
30331 \begin_layout Standard
30332 This is a text line with the word 
30333 \begin_inset ERT
30334 status collapsed
30335
30336 \begin_layout Plain Layout
30337
30338
30339 \backslash
30340 raisebox{-
30341 \backslash
30342 depth}[0pt]{
30343 \end_layout
30344
30345 \end_inset
30346
30347
30348 \begin_inset Quotes eld
30349 \end_inset
30350
30351 preventing
30352 \begin_inset Quotes erd
30353 \end_inset
30354
30355
30356 \begin_inset ERT
30357 status collapsed
30358
30359 \begin_layout Plain Layout
30360
30361 }
30362 \end_layout
30363
30364 \end_inset
30365
30366  as a lowered word.
30367 \begin_inset Newline newline
30368 \end_inset
30369
30370 This is a text line with the word 
30371 \begin_inset ERT
30372 status collapsed
30373
30374 \begin_layout Plain Layout
30375
30376
30377 \backslash
30378 raisebox{0.5cm}[0pt]{
30379 \end_layout
30380
30381 \end_inset
30382
30383
30384 \begin_inset Quotes eld
30385 \end_inset
30386
30387 testing
30388 \begin_inset Quotes erd
30389 \end_inset
30390
30391
30392 \begin_inset ERT
30393 status collapsed
30394
30395 \begin_layout Plain Layout
30396
30397 }
30398 \end_layout
30399
30400 \end_inset
30401
30402  as a raised word.
30403 \end_layout
30404
30405 \begin_layout Section
30406 Colored Boxes
30407 \begin_inset CommandInset label
30408 LatexCommand label
30409 name "sec:Colored-Boxes"
30410
30411 \end_inset
30412
30413
30414 \begin_inset Index idx
30415 status collapsed
30416
30417 \begin_layout Plain Layout
30418 Boxes ! Color
30419 \end_layout
30420
30421 \end_inset
30422
30423
30424 \end_layout
30425
30426 \begin_layout Subsection
30427 Color for Text
30428 \begin_inset Index idx
30429 status collapsed
30430
30431 \begin_layout Plain Layout
30432 Color ! for Text
30433 \end_layout
30434
30435 \end_inset
30436
30437
30438 \end_layout
30439
30440 \begin_layout Standard
30441 To color the background of text the text must be put into a so called 
30442 \begin_inset Quotes eld
30443 \end_inset
30444
30445 colorbox
30446 \begin_inset Quotes erd
30447 \end_inset
30448
30449 .
30450  This requires that the LaTeX-package 
30451 \series bold
30452 color
30453 \series default
30454
30455 \begin_inset Index idx
30456 status collapsed
30457
30458 \begin_layout Plain Layout
30459 LaTeX-packages ! color
30460 \end_layout
30461
30462 \end_inset
30463
30464  is loaded in the document preamble with the command
30465 \end_layout
30466
30467 \begin_layout Standard
30468
30469 \series bold
30470
30471 \backslash
30472 @ifundefined{textcolor}
30473 \begin_inset Newline newline
30474 \end_inset
30475
30476
30477 \begin_inset Phantom HPhantom
30478 status open
30479
30480 \begin_layout Plain Layout
30481
30482 \series bold
30483 \begin_inset space ~
30484 \end_inset
30485
30486
30487 \end_layout
30488
30489 \end_inset
30490
30491 {
30492 \backslash
30493 usepackage{color}}{}
30494 \end_layout
30495
30496 \begin_layout Standard
30497 The package 
30498 \series bold
30499 color
30500 \series default
30501  will be loaded automatically by LyX when you color text.
30502 \begin_inset Foot
30503 status collapsed
30504
30505 \begin_layout Plain Layout
30506 To avoid it being loaded twice the command 
30507 \series bold
30508
30509 \backslash
30510 @ifundefined
30511 \series default
30512  is used.
30513 \end_layout
30514
30515 \end_inset
30516
30517
30518 \end_layout
30519
30520 \begin_layout Standard
30521 \begin_inset VSpace medskip
30522 \end_inset
30523
30524 Colorboxes are created with the command 
30525 \series bold
30526
30527 \backslash
30528 colorbox
30529 \series default
30530 .
30531  This will be used with the following scheme:
30532 \end_layout
30533
30534 \begin_layout Standard
30535
30536 \series bold
30537
30538 \backslash
30539 colorbox{color}{box content}
30540 \end_layout
30541
30542 \begin_layout Standard
30543 The box content can also be a box and colorboxes can also be within other
30544  boxes.
30545 \end_layout
30546
30547 \begin_layout Standard
30548 The following colors are predefined:
30549 \begin_inset Newline newline
30550 \end_inset
30551
30552
30553 \family sans
30554 black
30555 \family default
30556
30557 \family sans
30558 blue
30559 \family default
30560
30561 \family sans
30562 cyan
30563 \family default
30564 \series bold
30565 ,
30566 \series default
30567  
30568 \family sans
30569 green
30570 \family default
30571
30572 \family sans
30573 magenta
30574 \family default
30575
30576 \family sans
30577 red
30578 \family default
30579
30580 \family sans
30581 white
30582 \family default
30583 , and 
30584 \family sans
30585 yellow
30586 \family default
30587 .
30588 \begin_inset Newline newline
30589 \end_inset
30590
30591 You can also define your own color as described in section
30592 \begin_inset space ~
30593 \end_inset
30594
30595
30596 \begin_inset CommandInset ref
30597 LatexCommand ref
30598 reference "sec:Colored-Tables"
30599
30600 \end_inset
30601
30602 .
30603 \end_layout
30604
30605 \begin_layout Standard
30606 To have e.
30607 \begin_inset space \thinspace{}
30608 \end_inset
30609
30610 g.
30611 \begin_inset space \space{}
30612 \end_inset
30613
30614 a red background for a word, insert the command
30615 \end_layout
30616
30617 \begin_layout Standard
30618
30619 \series bold
30620
30621 \backslash
30622 colorbox{red}{
30623 \end_layout
30624
30625 \begin_layout Standard
30626 before the word in TeX-Code.
30627  After the word insert a closing brace 
30628 \begin_inset Quotes eld
30629 \end_inset
30630
30631
30632 \series bold
30633 }
30634 \series default
30635
30636 \begin_inset Quotes erd
30637 \end_inset
30638
30639  in TeX-Code.
30640 \begin_inset Newline newline
30641 \end_inset
30642
30643 This is the result:
30644 \end_layout
30645
30646 \begin_layout Standard
30647 This is a line where the word 
30648 \begin_inset ERT
30649 status collapsed
30650
30651 \begin_layout Plain Layout
30652
30653
30654 \backslash
30655 colorbox{red}{
30656 \end_layout
30657
30658 \end_inset
30659
30660
30661 \begin_inset Quotes eld
30662 \end_inset
30663
30664 Attention!
30665 \begin_inset Quotes erd
30666 \end_inset
30667
30668
30669 \begin_inset ERT
30670 status collapsed
30671
30672 \begin_layout Plain Layout
30673
30674 }
30675 \end_layout
30676
30677 \end_inset
30678
30679  has a red background.
30680 \end_layout
30681
30682 \begin_layout Standard
30683 \begin_inset VSpace bigskip
30684 \end_inset
30685
30686 If you would like the box frame in a different color, you can use the command
30687  
30688 \series bold
30689
30690 \backslash
30691 fcolorbox
30692 \series default
30693  with the following scheme:
30694 \end_layout
30695
30696 \begin_layout Standard
30697
30698 \series bold
30699
30700 \backslash
30701 fcolorbox{frame color}{box color}{box content}
30702 \end_layout
30703
30704 \begin_layout Standard
30705
30706 \series bold
30707
30708 \backslash
30709 fcolorbox
30710 \series default
30711  is an extension to 
30712 \series bold
30713
30714 \backslash
30715 colorbox
30716 \series default
30717 .
30718  The frame thickness and the space between the frame and the box content
30719  can be adjusted with the lengths 
30720 \series bold
30721
30722 \backslash
30723 fboxrule
30724 \series default
30725  and 
30726 \series bold
30727
30728 \backslash
30729 fboxsep
30730 \series default
30731 , respectively, as described in section
30732 \begin_inset space ~
30733 \end_inset
30734
30735
30736 \begin_inset CommandInset ref
30737 LatexCommand ref
30738 reference "sec:Decoration"
30739
30740 \end_inset
30741
30742 .
30743 \end_layout
30744
30745 \begin_layout Standard
30746 For the following example the command
30747 \end_layout
30748
30749 \begin_layout Standard
30750
30751 \series bold
30752
30753 \backslash
30754 fcolorbox{cyan}{magenta}{
30755 \end_layout
30756
30757 \begin_layout Standard
30758 was used.
30759 \end_layout
30760
30761 \begin_layout Standard
30762 Here is an example where the frame line thickness was set to 1
30763 \begin_inset space \thinspace{}
30764 \end_inset
30765
30766 mm:
30767 \begin_inset Newline newline
30768 \end_inset
30769
30770
30771 \begin_inset ERT
30772 status collapsed
30773
30774 \begin_layout Plain Layout
30775
30776
30777 \backslash
30778 fboxrule 1mm 
30779 \backslash
30780 fboxsep 1mm
30781 \end_layout
30782
30783 \end_inset
30784
30785
30786 \begin_inset ERT
30787 status collapsed
30788
30789 \begin_layout Plain Layout
30790
30791
30792 \backslash
30793 fcolorbox{cyan}{magenta}{
30794 \end_layout
30795
30796 \end_inset
30797
30798 This is text within a colored, framed box.
30799 \begin_inset ERT
30800 status collapsed
30801
30802 \begin_layout Plain Layout
30803
30804 }
30805 \end_layout
30806
30807 \end_inset
30808
30809
30810 \end_layout
30811
30812 \begin_layout Standard
30813 \begin_inset VSpace bigskip
30814 \end_inset
30815
30816 Of course you can also have colored text inside a colorbox:
30817 \begin_inset Newline newline
30818 \end_inset
30819
30820
30821 \begin_inset ERT
30822 status collapsed
30823
30824 \begin_layout Plain Layout
30825
30826
30827 \backslash
30828 fcolorbox{cyan}{magenta}{
30829 \end_layout
30830
30831 \end_inset
30832
30833
30834 \color yellow
30835 This is colored text within a colored, framed box.
30836 \color none
30837
30838 \begin_inset ERT
30839 status collapsed
30840
30841 \begin_layout Plain Layout
30842
30843 }
30844 \end_layout
30845
30846 \end_inset
30847
30848
30849 \begin_inset ERT
30850 status collapsed
30851
30852 \begin_layout Plain Layout
30853
30854
30855 \backslash
30856 fboxrule 0.4pt 
30857 \backslash
30858 fboxsep 3pt
30859 \end_layout
30860
30861 \end_inset
30862
30863
30864 \end_layout
30865
30866 \begin_layout Standard
30867 \begin_inset VSpace medskip
30868 \end_inset
30869
30870
30871 \end_layout
30872
30873 \begin_layout Standard
30874 \begin_inset Note Greyedout
30875 status open
30876
30877 \begin_layout Plain Layout
30878
30879 \series bold
30880 Note:
30881 \series default
30882  Text in colorboxes cannot have line breaks.
30883  To color multiple text lines or paragraphs, use a box inside a colorbox
30884  as described in the following.
30885 \end_layout
30886
30887 \end_inset
30888
30889
30890 \end_layout
30891
30892 \begin_layout Subsection
30893 Color for Paragraphs
30894 \begin_inset CommandInset label
30895 LatexCommand label
30896 name "sub:Color-for-Paragraphs"
30897
30898 \end_inset
30899
30900
30901 \begin_inset Index idx
30902 status collapsed
30903
30904 \begin_layout Plain Layout
30905 Color ! for Paragraphs
30906 \end_layout
30907
30908 \end_inset
30909
30910
30911 \end_layout
30912
30913 \begin_layout Standard
30914 To set the background color for more than one text line, put the text into
30915  a minipage.
30916  Before the minipage insert the 
30917 \series bold
30918
30919 \backslash
30920 colorbox
30921 \series default
30922  command
30923 \end_layout
30924
30925 \begin_layout Standard
30926
30927 \series bold
30928
30929 \backslash
30930 colorbox{color}{
30931 \end_layout
30932
30933 \begin_layout Standard
30934 in TeX-Code.
30935  After the minipage insert a closing brace 
30936 \begin_inset Quotes eld
30937 \end_inset
30938
30939
30940 \series bold
30941 }
30942 \series default
30943
30944 \begin_inset Quotes erd
30945 \end_inset
30946
30947  in TeX-Code.
30948 \end_layout
30949
30950 \begin_layout Standard
30951 \begin_inset ERT
30952 status collapsed
30953
30954 \begin_layout Plain Layout
30955
30956
30957 \backslash
30958 colorbox{lightgrey}{
30959 \end_layout
30960
30961 \end_inset
30962
30963
30964 \begin_inset Box Frameless
30965 position "t"
30966 hor_pos "c"
30967 has_inner_box 1
30968 inner_pos "t"
30969 use_parbox 0
30970 use_makebox 0
30971 width "100col%"
30972 special "none"
30973 height "1in"
30974 height_special "totalheight"
30975 status collapsed
30976
30977 \begin_layout Plain Layout
30978 This is text with background color.
30979  This is text with background color.
30980 \end_layout
30981
30982 \begin_layout Plain Layout
30983 \begin_inset VSpace defskip
30984 \end_inset
30985
30986 The text can have footnotes
30987 \begin_inset Foot
30988 status collapsed
30989
30990 \begin_layout Plain Layout
30991 Another example footnote
30992 \end_layout
30993
30994 \end_inset
30995
30996  and can include tables and figures.
30997 \end_layout
30998
30999 \begin_layout Plain Layout
31000 \align center
31001 \begin_inset Tabular
31002 <lyxtabular version="3" rows="3" columns="3">
31003 <features tabularvalignment="middle">
31004 <column alignment="center" valignment="top" width="0">
31005 <column alignment="center" valignment="top" width="0">
31006 <column alignment="center" valignment="top" width="0">
31007 <row>
31008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31009 \begin_inset Text
31010
31011 \begin_layout Plain Layout
31012 a
31013 \end_layout
31014
31015 \end_inset
31016 </cell>
31017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31018 \begin_inset Text
31019
31020 \begin_layout Plain Layout
31021 !
31022 \end_layout
31023
31024 \end_inset
31025 </cell>
31026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31027 \begin_inset Text
31028
31029 \begin_layout Plain Layout
31030 3
31031 \end_layout
31032
31033 \end_inset
31034 </cell>
31035 </row>
31036 <row>
31037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31038 \begin_inset Text
31039
31040 \begin_layout Plain Layout
31041 <
31042 \end_layout
31043
31044 \end_inset
31045 </cell>
31046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31047 \begin_inset Text
31048
31049 \begin_layout Plain Layout
31050 b2
31051 \begin_inset Quotes erd
31052 \end_inset
31053
31054 |
31055 \end_layout
31056
31057 \end_inset
31058 </cell>
31059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31060 \begin_inset Text
31061
31062 \begin_layout Plain Layout
31063 >
31064 \end_layout
31065
31066 \end_inset
31067 </cell>
31068 </row>
31069 <row>
31070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31071 \begin_inset Text
31072
31073 \begin_layout Plain Layout
31074 1
31075 \end_layout
31076
31077 \end_inset
31078 </cell>
31079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31080 \begin_inset Text
31081
31082 \begin_layout Plain Layout
31083 §
31084 \end_layout
31085
31086 \end_inset
31087 </cell>
31088 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31089 \begin_inset Text
31090
31091 \begin_layout Plain Layout
31092 c
31093 \end_layout
31094
31095 \end_inset
31096 </cell>
31097 </row>
31098 </lyxtabular>
31099
31100 \end_inset
31101
31102
31103 \end_layout
31104
31105 \end_inset
31106
31107
31108 \begin_inset ERT
31109 status collapsed
31110
31111 \begin_layout Plain Layout
31112
31113 }
31114 \end_layout
31115
31116 \end_inset
31117
31118
31119 \end_layout
31120
31121 \begin_layout Section
31122 Rotated and Scaled Boxes
31123 \end_layout
31124
31125 \begin_layout Standard
31126 To use the commands described in this section, the LaTeX-package 
31127 \series bold
31128 graphicx
31129 \series default
31130
31131 \begin_inset Index idx
31132 status collapsed
31133
31134 \begin_layout Plain Layout
31135 LaTeX-packages ! graphicx
31136 \end_layout
31137
31138 \end_inset
31139
31140  needs to be loaded in the document preamble with the command
31141 \end_layout
31142
31143 \begin_layout Standard
31144
31145 \series bold
31146
31147 \backslash
31148 @ifundefined{rotatebox}
31149 \begin_inset Newline newline
31150 \end_inset
31151
31152
31153 \begin_inset Phantom HPhantom
31154 status open
31155
31156 \begin_layout Plain Layout
31157
31158 \series bold
31159 \begin_inset space ~
31160 \end_inset
31161
31162
31163 \end_layout
31164
31165 \end_inset
31166
31167 {
31168 \backslash
31169 usepackage{graphicx}}{}
31170 \end_layout
31171
31172 \begin_layout Standard
31173 \begin_inset Note Greyedout
31174 status open
31175
31176 \begin_layout Plain Layout
31177
31178 \series bold
31179 Note:
31180 \series default
31181  Some DVI-viewers can't display rotated or scaled material.
31182 \end_layout
31183
31184 \end_inset
31185
31186
31187 \end_layout
31188
31189 \begin_layout Standard
31190 \begin_inset Note Greyedout
31191 status open
31192
31193 \begin_layout Plain Layout
31194
31195 \series bold
31196 Note:
31197 \series default
31198  Floats mustn't be inside a rotated or scaled box.
31199 \end_layout
31200
31201 \end_inset
31202
31203
31204 \end_layout
31205
31206 \begin_layout Subsection
31207 Rotated Boxes
31208 \begin_inset Index idx
31209 status collapsed
31210
31211 \begin_layout Plain Layout
31212 Boxes ! rotated
31213 \end_layout
31214
31215 \end_inset
31216
31217
31218 \begin_inset Index idx
31219 status collapsed
31220
31221 \begin_layout Plain Layout
31222 Rotated material
31223 \end_layout
31224
31225 \end_inset
31226
31227
31228 \begin_inset Index idx
31229 status collapsed
31230
31231 \begin_layout Plain Layout
31232 Figures ! rotated
31233 \end_layout
31234
31235 \end_inset
31236
31237
31238 \begin_inset Index idx
31239 status collapsed
31240
31241 \begin_layout Plain Layout
31242 Table Customization ! Rotating
31243 \end_layout
31244
31245 \end_inset
31246
31247
31248 \end_layout
31249
31250 \begin_layout Standard
31251 To rotate material, you can put it into a rotated box.
31252  Such a box is created using the command 
31253 \series bold
31254
31255 \backslash
31256 rotatebox
31257 \series default
31258  in TeX-Code with the following scheme:
31259 \end_layout
31260
31261 \begin_layout Standard
31262
31263 \series bold
31264
31265 \backslash
31266 rotatebox[rotation origin]{rotation angle}{box content}
31267 \end_layout
31268
31269 \begin_layout Standard
31270 The rotation origin is specified in the form 
31271 \series bold
31272 origin=position
31273 \series default
31274 .
31275  The following positions are possible: 
31276 \emph on
31277 c
31278 \emph default
31279  (center), 
31280 \emph on
31281 l
31282 \emph default
31283  (left), 
31284 \emph on
31285 r
31286 \emph default
31287  (right), 
31288 \emph on
31289 b
31290 \emph default
31291  (bottom), 
31292 \emph on
31293 t
31294 \emph default
31295  (top), along with meaningful combinations of the four base positions.
31296  For example 
31297 \emph on
31298 lt
31299 \emph default
31300  means that the rotation origin is at the top left corner of the box.
31301  When no rotation origin is specified, the position 
31302 \emph on
31303 l
31304 \emph default
31305  will be used.
31306  The rotation angle is a number that can be negative that specifies the
31307  angle in degrees.
31308  The rotation direction is counterclockwise.
31309 \end_layout
31310
31311 \begin_layout Standard
31312 In the following example the command 
31313 \series bold
31314
31315 \backslash
31316 rotatebox[origin=c]{60}{
31317 \series default
31318  was inserted as TeX-Code before the text 
31319 \begin_inset Quotes eld
31320 \end_inset
31321
31322 with rotated
31323 \begin_inset Quotes erd
31324 \end_inset
31325
31326 ; after the text the box was closed by a closing brace 
31327 \series bold
31328 }
31329 \series default
31330  in TeX-Code.
31331 \end_layout
31332
31333 \begin_layout Standard
31334 This is a line 
31335 \begin_inset ERT
31336 status collapsed
31337
31338 \begin_layout Plain Layout
31339
31340
31341 \backslash
31342 rotatebox[origin=c]{60}{
31343 \end_layout
31344
31345 \end_inset
31346
31347 with rotated
31348 \begin_inset ERT
31349 status collapsed
31350
31351 \begin_layout Plain Layout
31352
31353 }
31354 \end_layout
31355
31356 \end_inset
31357
31358  text.
31359 \end_layout
31360
31361 \begin_layout Standard
31362 The box content can also be another box or an inline formula:
31363 \end_layout
31364
31365 \begin_layout Standard
31366 This is a line
31367 \begin_inset ERT
31368 status collapsed
31369
31370 \begin_layout Plain Layout
31371
31372
31373 \backslash
31374 rotatebox[origin=r]{-60}{
31375 \end_layout
31376
31377 \end_inset
31378
31379
31380 \begin_inset Box Doublebox
31381 position "c"
31382 hor_pos "c"
31383 has_inner_box 0
31384 inner_pos "c"
31385 use_parbox 0
31386 use_makebox 0
31387 width "1in"
31388 special "width"
31389 height "1in"
31390 height_special "totalheight"
31391 status collapsed
31392
31393 \begin_layout Plain Layout
31394 with rotated
31395 \end_layout
31396
31397 \end_inset
31398
31399
31400 \begin_inset ERT
31401 status collapsed
31402
31403 \begin_layout Plain Layout
31404
31405 }
31406 \end_layout
31407
31408 \end_inset
31409
31410  framed text 
31411 \begin_inset ERT
31412 status collapsed
31413
31414 \begin_layout Plain Layout
31415
31416
31417 \backslash
31418 rotatebox[origin=lb]{60}{
31419 \end_layout
31420
31421 \end_inset
31422
31423
31424 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31425 \end_inset
31426
31427
31428 \begin_inset ERT
31429 status collapsed
31430
31431 \begin_layout Plain Layout
31432
31433 }
31434 \end_layout
31435
31436 \end_inset
31437
31438  and a formula.
31439 \end_layout
31440
31441 \begin_layout Standard
31442 or an image or table:
31443 \end_layout
31444
31445 \begin_layout Standard
31446 This is a line
31447 \begin_inset ERT
31448 status collapsed
31449
31450 \begin_layout Plain Layout
31451
31452
31453 \backslash
31454 rotatebox[origin=lb]{90}{
31455 \end_layout
31456
31457 \end_inset
31458
31459
31460 \begin_inset Graphics
31461         filename clipart/platypus.eps
31462         lyxscale 50
31463         width 25col%
31464
31465 \end_inset
31466
31467
31468 \begin_inset ERT
31469 status collapsed
31470
31471 \begin_layout Plain Layout
31472
31473 }
31474 \end_layout
31475
31476 \end_inset
31477
31478  with a rotated image 
31479 \begin_inset ERT
31480 status collapsed
31481
31482 \begin_layout Plain Layout
31483
31484
31485 \backslash
31486 rotatebox[origin=l]{-90}{
31487 \end_layout
31488
31489 \end_inset
31490
31491
31492 \begin_inset Tabular
31493 <lyxtabular version="3" rows="2" columns="2">
31494 <features tabularvalignment="middle">
31495 <column alignment="center" valignment="top" width="0">
31496 <column alignment="center" valignment="top" width="0">
31497 <row>
31498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31499 \begin_inset Text
31500
31501 \begin_layout Plain Layout
31502 q
31503 \end_layout
31504
31505 \end_inset
31506 </cell>
31507 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31508 \begin_inset Text
31509
31510 \begin_layout Plain Layout
31511 w
31512 \end_layout
31513
31514 \end_inset
31515 </cell>
31516 </row>
31517 <row>
31518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31519 \begin_inset Text
31520
31521 \begin_layout Plain Layout
31522 e
31523 \end_layout
31524
31525 \end_inset
31526 </cell>
31527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31528 \begin_inset Text
31529
31530 \begin_layout Plain Layout
31531 r
31532 \end_layout
31533
31534 \end_inset
31535 </cell>
31536 </row>
31537 </lyxtabular>
31538
31539 \end_inset
31540
31541
31542 \begin_inset ERT
31543 status collapsed
31544
31545 \begin_layout Plain Layout
31546
31547 }
31548 \end_layout
31549
31550 \end_inset
31551
31552  and table.
31553 \end_layout
31554
31555 \begin_layout Subsection
31556 Scaled Boxes
31557 \begin_inset Index idx
31558 status collapsed
31559
31560 \begin_layout Plain Layout
31561 Boxes ! scaled
31562 \end_layout
31563
31564 \end_inset
31565
31566
31567 \begin_inset Index idx
31568 status collapsed
31569
31570 \begin_layout Plain Layout
31571 Scaled material
31572 \end_layout
31573
31574 \end_inset
31575
31576
31577 \begin_inset Index idx
31578 status collapsed
31579
31580 \begin_layout Plain Layout
31581 Figures ! scaled
31582 \end_layout
31583
31584 \end_inset
31585
31586
31587 \begin_inset Index idx
31588 status collapsed
31589
31590 \begin_layout Plain Layout
31591 Table Customization ! Scaling
31592 \end_layout
31593
31594 \end_inset
31595
31596
31597 \end_layout
31598
31599 \begin_layout Standard
31600 To scale material the commands 
31601 \series bold
31602
31603 \backslash
31604 scalebox
31605 \series default
31606  and 
31607 \series bold
31608
31609 \backslash
31610 resizebox
31611 \series default
31612  can be used as TeX-Code.
31613 \end_layout
31614
31615 \begin_layout Standard
31616
31617 \series bold
31618
31619 \backslash
31620 scalebox
31621 \series default
31622  is used with the following scheme:
31623 \end_layout
31624
31625 \begin_layout Standard
31626
31627 \series bold
31628
31629 \backslash
31630 scalebox{horizontal}[vertical]{box content}
31631 \end_layout
31632
31633 \begin_layout Standard
31634 Horizontal and vertical are the corresponding scaling factors.
31635  If no vertical scaling factor is given, the horizontal factor will also
31636  be used as the vertical one.
31637 \end_layout
31638
31639 \begin_layout Standard
31640 The command 
31641 \series bold
31642
31643 \backslash
31644 scalebox{2}{Hello}
31645 \series default
31646  creates for example a double size 
31647 \begin_inset ERT
31648 status collapsed
31649
31650 \begin_layout Plain Layout
31651
31652
31653 \backslash
31654 scalebox{2}{
31655 \end_layout
31656
31657 \end_inset
31658
31659 Hello
31660 \begin_inset ERT
31661 status collapsed
31662
31663 \begin_layout Plain Layout
31664
31665 }
31666 \end_layout
31667
31668 \end_inset
31669
31670 , compared with the document text size.
31671 \end_layout
31672
31673 \begin_layout Standard
31674
31675 \series bold
31676
31677 \backslash
31678 scalebox{2}[1]{Hello}
31679 \series default
31680  on the other hand distorts the 
31681 \begin_inset ERT
31682 status collapsed
31683
31684 \begin_layout Plain Layout
31685
31686
31687 \backslash
31688 scalebox{2}[1]{
31689 \end_layout
31690
31691 \end_inset
31692
31693 Hello
31694 \begin_inset ERT
31695 status collapsed
31696
31697 \begin_layout Plain Layout
31698
31699 }
31700 \end_layout
31701
31702 \end_inset
31703
31704 .
31705 \end_layout
31706
31707 \begin_layout Standard
31708 If the scaling factor is negative, the box content will be mirrored.
31709  Therefore the command 
31710 \series bold
31711
31712 \backslash
31713 scalebox{-1}[1]{Hello}
31714 \series default
31715  can be used to create mirror writing: 
31716 \begin_inset ERT
31717 status collapsed
31718
31719 \begin_layout Plain Layout
31720
31721
31722 \backslash
31723 scalebox{-1}[1]{
31724 \end_layout
31725
31726 \end_inset
31727
31728 Hello
31729 \begin_inset ERT
31730 status collapsed
31731
31732 \begin_layout Plain Layout
31733
31734 }
31735 \end_layout
31736
31737 \end_inset
31738
31739
31740 \end_layout
31741
31742 \begin_layout Standard
31743
31744 \series bold
31745
31746 \backslash
31747 scalebox{1}[-1]{Hello}
31748 \series default
31749  reflects the 
31750 \begin_inset ERT
31751 status collapsed
31752
31753 \begin_layout Plain Layout
31754
31755
31756 \backslash
31757 scalebox{1}[-1]{
31758 \end_layout
31759
31760 \end_inset
31761
31762 Hello
31763 \begin_inset ERT
31764 status collapsed
31765
31766 \begin_layout Plain Layout
31767
31768 }
31769 \end_layout
31770
31771 \end_inset
31772
31773  at the base line.
31774 \end_layout
31775
31776 \begin_layout Standard
31777 Equivalent to 
31778 \series bold
31779
31780 \backslash
31781 scalebox{-1}[1]{box content}
31782 \series default
31783  there exists the command
31784 \begin_inset Newline newline
31785 \end_inset
31786
31787
31788 \series bold
31789
31790 \backslash
31791 reflectbox{box content}
31792 \series default
31793 .
31794 \end_layout
31795
31796 \begin_layout Standard
31797 \begin_inset VSpace bigskip
31798 \end_inset
31799
31800 The command 
31801 \series bold
31802
31803 \backslash
31804 resizebox
31805 \series default
31806  is used to scale the box to a defined width and height.
31807  The command scheme is:
31808 \end_layout
31809
31810 \begin_layout Standard
31811
31812 \series bold
31813
31814 \backslash
31815 resizebox{width}{height}{box content}
31816 \end_layout
31817
31818 \begin_layout Standard
31819 If one of the two command arguments given is an exclamation mark 
31820 \series bold
31821 !
31822 \series default
31823 , the size is set so that the aspect ratio of the box content is kept.
31824 \end_layout
31825
31826 \begin_layout Standard
31827 The command 
31828 \series bold
31829
31830 \backslash
31831 resizebox{2cm}{1cm}{Hello}
31832 \series default
31833  produces: 
31834 \begin_inset ERT
31835 status collapsed
31836
31837 \begin_layout Plain Layout
31838
31839
31840 \backslash
31841 resizebox{2cm}{1cm}{
31842 \end_layout
31843
31844 \end_inset
31845
31846 Hello
31847 \begin_inset ERT
31848 status collapsed
31849
31850 \begin_layout Plain Layout
31851
31852 }
31853 \end_layout
31854
31855 \end_inset
31856
31857
31858 \begin_inset Newline newline
31859 \end_inset
31860
31861 The command 
31862 \series bold
31863
31864 \backslash
31865 resizebox{2cm}{!}{Hello}
31866 \series default
31867  produces: 
31868 \begin_inset ERT
31869 status collapsed
31870
31871 \begin_layout Plain Layout
31872
31873
31874 \backslash
31875 resizebox{2cm}{!}{
31876 \end_layout
31877
31878 \end_inset
31879
31880 Hello
31881 \begin_inset ERT
31882 status collapsed
31883
31884 \begin_layout Plain Layout
31885
31886 }
31887 \end_layout
31888
31889 \end_inset
31890
31891
31892 \end_layout
31893
31894 \begin_layout Standard
31895 \begin_inset VSpace bigskip
31896 \end_inset
31897
31898
31899 \begin_inset Note Greyedout
31900 status open
31901
31902 \begin_layout Plain Layout
31903
31904 \series bold
31905 Note:
31906 \series default
31907  When arguments of 
31908 \series bold
31909
31910 \backslash
31911 scalebox
31912 \series default
31913  or 
31914 \series bold
31915
31916 \backslash
31917 resizebox
31918 \series default
31919  are set to zero, no LaTeX-errors occur when exporting the document but
31920  the exported files can not or only partly be displayed.
31921 \end_layout
31922
31923 \end_inset
31924
31925
31926 \end_layout
31927
31928 \begin_layout Standard
31929 \begin_inset VSpace bigskip
31930 \end_inset
31931
31932
31933 \end_layout
31934
31935 \begin_layout Standard
31936 The boxes can be combined in any order.
31937  E.
31938 \begin_inset space \thinspace{}
31939 \end_inset
31940
31941 g.
31942 \begin_inset space \space{}
31943 \end_inset
31944
31945 the command
31946 \begin_inset Newline newline
31947 \end_inset
31948
31949
31950 \series bold
31951
31952 \backslash
31953 rotatebox[origin=c]{-45}{
31954 \backslash
31955 resizebox{2cm}{!}{
31956 \backslash
31957 reflectbox{Hello}}}
31958 \begin_inset Newline newline
31959 \end_inset
31960
31961
31962 \series default
31963 produces:
31964 \end_layout
31965
31966 \begin_layout Standard
31967 \align center
31968 \begin_inset ERT
31969 status collapsed
31970
31971 \begin_layout Plain Layout
31972
31973
31974 \backslash
31975 rotatebox[origin=c]{-45}{
31976 \backslash
31977 resizebox{2cm}{!}{
31978 \backslash
31979 reflectbox{
31980 \end_layout
31981
31982 \end_inset
31983
31984 Hello
31985 \begin_inset ERT
31986 status collapsed
31987
31988 \begin_layout Plain Layout
31989
31990 }}}
31991 \end_layout
31992
31993 \end_inset
31994
31995
31996 \end_layout
31997
31998 \begin_layout Standard
31999 \noindent
32000 Images, tables, and inline formulas are allowed as box content:
32001 \end_layout
32002
32003 \begin_layout Standard
32004 \align center
32005 \begin_inset ERT
32006 status collapsed
32007
32008 \begin_layout Plain Layout
32009
32010
32011 \backslash
32012 rotatebox[origin=c]{-30}{
32013 \backslash
32014 resizebox{2cm}{!}{
32015 \backslash
32016 reflectbox{
32017 \end_layout
32018
32019 \end_inset
32020
32021
32022 \begin_inset Graphics
32023         filename clipart/platypus.eps
32024         lyxscale 50
32025         width 25col%
32026
32027 \end_inset
32028
32029
32030 \begin_inset ERT
32031 status collapsed
32032
32033 \begin_layout Plain Layout
32034
32035 }}}
32036 \end_layout
32037
32038 \end_inset
32039
32040
32041 \begin_inset ERT
32042 status collapsed
32043
32044 \begin_layout Plain Layout
32045
32046
32047 \backslash
32048 rotatebox[origin=c]{-45}{
32049 \backslash
32050 resizebox{2cm}{!}{
32051 \backslash
32052 reflectbox{
32053 \end_layout
32054
32055 \end_inset
32056
32057
32058 \begin_inset Tabular
32059 <lyxtabular version="3" rows="2" columns="2">
32060 <features tabularvalignment="middle">
32061 <column alignment="center" valignment="top" width="0">
32062 <column alignment="center" valignment="top" width="0">
32063 <row>
32064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32065 \begin_inset Text
32066
32067 \begin_layout Plain Layout
32068 q
32069 \end_layout
32070
32071 \end_inset
32072 </cell>
32073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32074 \begin_inset Text
32075
32076 \begin_layout Plain Layout
32077 w
32078 \end_layout
32079
32080 \end_inset
32081 </cell>
32082 </row>
32083 <row>
32084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32085 \begin_inset Text
32086
32087 \begin_layout Plain Layout
32088 e
32089 \end_layout
32090
32091 \end_inset
32092 </cell>
32093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32094 \begin_inset Text
32095
32096 \begin_layout Plain Layout
32097 r
32098 \end_layout
32099
32100 \end_inset
32101 </cell>
32102 </row>
32103 </lyxtabular>
32104
32105 \end_inset
32106
32107
32108 \begin_inset ERT
32109 status collapsed
32110
32111 \begin_layout Plain Layout
32112
32113 }}}
32114 \end_layout
32115
32116 \end_inset
32117
32118
32119 \begin_inset ERT
32120 status collapsed
32121
32122 \begin_layout Plain Layout
32123
32124
32125 \backslash
32126 rotatebox[origin=c]{-45}{
32127 \backslash
32128 resizebox{2cm}{!}{
32129 \backslash
32130 reflectbox{
32131 \end_layout
32132
32133 \end_inset
32134
32135
32136 \begin_inset Formula $\int A\,\mathrm{d}x=B$
32137 \end_inset
32138
32139
32140 \begin_inset ERT
32141 status collapsed
32142
32143 \begin_layout Plain Layout
32144
32145 }}}
32146 \end_layout
32147
32148 \end_inset
32149
32150
32151 \end_layout
32152
32153 \begin_layout Standard
32154 When the global formula style 
32155 \series bold
32156 fleqn
32157 \series default
32158  is used in the document
32159 \begin_inset Foot
32160 status collapsed
32161
32162 \begin_layout Plain Layout
32163 When 
32164 \begin_inset Quotes eld
32165 \end_inset
32166
32167 fleqn
32168 \begin_inset Quotes erd
32169 \end_inset
32170
32171  is added to the document class options.
32172 \end_layout
32173
32174 \end_inset
32175
32176 , display style formulas can also be scaled.
32177 \end_layout
32178
32179 \begin_layout Chapter
32180 Objects Surrounded by Text
32181 \begin_inset Index idx
32182 status collapsed
32183
32184 \begin_layout Plain Layout
32185 Surrounded by text
32186 \end_layout
32187
32188 \end_inset
32189
32190
32191 \end_layout
32192
32193 \begin_layout Section
32194 Wrap Floats
32195 \begin_inset CommandInset label
32196 LatexCommand label
32197 name "sec:Wrap-Floats"
32198
32199 \end_inset
32200
32201
32202 \begin_inset Index idx
32203 status collapsed
32204
32205 \begin_layout Plain Layout
32206 Floats ! Wrap Floats
32207 \end_layout
32208
32209 \end_inset
32210
32211
32212 \begin_inset Index idx
32213 status collapsed
32214
32215 \begin_layout Plain Layout
32216 Surrounded by text ! Wrap Floats
32217 \end_layout
32218
32219 \end_inset
32220
32221
32222 \end_layout
32223
32224 \begin_layout Standard
32225 \begin_inset Wrap figure
32226 lines 0
32227 placement l
32228 overhang 1cm
32229 width "40col%"
32230 status open
32231
32232 \begin_layout Plain Layout
32233 \begin_inset Graphics
32234         filename clipart/mobius.eps
32235         width 40col%
32236         scaleBeforeRotation
32237         rotateOrigin center
32238
32239 \end_inset
32240
32241
32242 \end_layout
32243
32244 \begin_layout Plain Layout
32245 \begin_inset Caption
32246
32247 \begin_layout Plain Layout
32248 \begin_inset CommandInset label
32249 LatexCommand label
32250 name "fig:This-is-a"
32251
32252 \end_inset
32253
32254 This is a figure wrap float.
32255 \end_layout
32256
32257 \end_inset
32258
32259
32260 \end_layout
32261
32262 \end_inset
32263
32264  This float type is used if you want to wrap text around a figure or table
32265  so that it only occupies some fraction of the column width.
32266  It can be inserted using the menu 
32267 \family sans
32268 Insert\SpecialChar \menuseparator
32269 Floats\SpecialChar \menuseparator
32270 Figure
32271 \begin_inset space ~
32272 \end_inset
32273
32274 Wrap
32275 \begin_inset space ~
32276 \end_inset
32277
32278 Float
32279 \family default
32280  or 
32281 \family sans
32282 Table
32283 \begin_inset space ~
32284 \end_inset
32285
32286 Wrap
32287 \begin_inset space ~
32288 \end_inset
32289
32290 Float
32291 \family default
32292  if the LaTeX-package 
32293 \series bold
32294 wrapfig
32295 \series default
32296
32297 \begin_inset Index idx
32298 status collapsed
32299
32300 \begin_layout Plain Layout
32301 LaTeX-packages ! wrapfig
32302 \begin_inset ERT
32303 status collapsed
32304
32305 \begin_layout Plain Layout
32306
32307
32308 \backslash
32309 vspace{4mm}
32310 \end_layout
32311
32312 \end_inset
32313
32314
32315 \end_layout
32316
32317 \end_inset
32318
32319  is installed.
32320 \begin_inset Foot
32321 status collapsed
32322
32323 \begin_layout Plain Layout
32324 Installing a LaTeX-package is explained it in the 
32325 \emph on
32326 LaTeX
32327 \begin_inset space ~
32328 \end_inset
32329
32330 Configuration
32331 \emph default
32332  manual.
32333 \end_layout
32334
32335 \end_inset
32336
32337  The settings of the float can be modified by right-clicking on the float
32338  box.
32339  The mandatory settings are the float 
32340 \family sans
32341 Placement
32342 \family default
32343  and its 
32344 \family sans
32345 Width
32346 \family default
32347 .
32348  Optional are the 
32349 \family sans
32350 Overhang
32351 \family default
32352  that specifies how much the float is set into the paragraph
32353 \begin_inset space \thinspace{}
32354 \end_inset
32355
32356 /
32357 \begin_inset space \thinspace{}
32358 \end_inset
32359
32360 page margin, and the 
32361 \family sans
32362 Line
32363 \begin_inset space ~
32364 \end_inset
32365
32366 span
32367 \family default
32368  that specifies how many text lines the float will approximately need.
32369  The line span is often hard to approximate; so it is better only to use
32370  it when you encounter float placement problems.
32371  You can furthermore decide if LaTeX is allowed to let the float float within
32372  the paragraph or to surrounding paragraphs.
32373  Figure
32374 \begin_inset space ~
32375 \end_inset
32376
32377
32378 \begin_inset CommandInset ref
32379 LatexCommand ref
32380 reference "fig:This-is-a"
32381
32382 \end_inset
32383
32384  is an example text wrap float with a width of 40
32385 \begin_inset space \thinspace{}
32386 \end_inset
32387
32388 col%, 1
32389 \begin_inset space \thinspace{}
32390 \end_inset
32391
32392 cm overhang, set to the left.
32393 \end_layout
32394
32395 \begin_layout Standard
32396 \begin_inset Note Greyedout
32397 status open
32398
32399 \begin_layout Plain Layout
32400
32401 \series bold
32402 Note:
32403 \series default
32404  Text
32405 \begin_inset space ~
32406 \end_inset
32407
32408 wrap float floats are fragile! E.
32409 \begin_inset space \thinspace{}
32410 \end_inset
32411
32412 g.
32413 \begin_inset space \space{}
32414 \end_inset
32415
32416 having a figure too close to the bottom of the page can mess things up in
32417  such a way that the float does not appear in the output or that it is placed
32418  over some other text.
32419 \end_layout
32420
32421 \end_inset
32422
32423
32424 \end_layout
32425
32426 \begin_layout Standard
32427 In general, the following applies for wrap floats:
32428 \end_layout
32429
32430 \begin_layout Itemize
32431 They should not be placed in paragraphs that run over a page break.
32432  That means that wrap floats are better inserted in their exact place when
32433  the document is almost finished and you are able to estimate where page
32434  breaks will appear.
32435 \end_layout
32436
32437 \begin_layout Itemize
32438 They should either be placed in their own paragraph before the paragraph
32439  where they should wrap into or within a paragraph.
32440 \end_layout
32441
32442 \begin_layout Itemize
32443 In consecutive paragraphs they may cause troubles, so ensure that there
32444  is a text paragraph between them as separator.
32445 \end_layout
32446
32447 \begin_layout Itemize
32448 They are not allowed in section headings or tables.
32449 \end_layout
32450
32451 \begin_layout Itemize
32452 Their numbering and referencing works as described in chap.
32453 \begin_inset space \thinspace{}
32454 \end_inset
32455
32456
32457 \begin_inset CommandInset ref
32458 LatexCommand ref
32459 reference "chap:Floats"
32460
32461 \end_inset
32462
32463 .
32464 \end_layout
32465
32466 \begin_layout Section
32467 Surrounded Fixed Objects
32468 \begin_inset Index idx
32469 status collapsed
32470
32471 \begin_layout Plain Layout
32472 Surrounded by text ! Fixed objects
32473 \end_layout
32474
32475 \end_inset
32476
32477
32478 \end_layout
32479
32480 \begin_layout Standard
32481 The wrap floats described in sec.
32482 \begin_inset space \thinspace{}
32483 \end_inset
32484
32485
32486 \begin_inset CommandInset ref
32487 LatexCommand ref
32488 reference "sec:Wrap-Floats"
32489
32490 \end_inset
32491
32492  have these positions in the paragraph:
32493 \end_layout
32494
32495 \begin_layout Standard
32496 \noindent
32497 \align center
32498 \begin_inset Tabular
32499 <lyxtabular version="3" rows="2" columns="2">
32500 <features tabularvalignment="middle">
32501 <column alignment="center" valignment="top" width="0">
32502 <column alignment="center" valignment="top" width="0">
32503 <row>
32504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32505 \begin_inset Text
32506
32507 \begin_layout Plain Layout
32508 \begin_inset Graphics
32509         filename ../images/dialog-show-new-inset_graphics.png
32510         scale 70
32511         scaleBeforeRotation
32512         BoundingBox 0bp 6bp 22bp 22bp
32513
32514 \end_inset
32515
32516
32517 \end_layout
32518
32519 \end_inset
32520 </cell>
32521 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32522 \begin_inset Text
32523
32524 \begin_layout Plain Layout
32525 text
32526 \end_layout
32527
32528 \end_inset
32529 </cell>
32530 </row>
32531 <row>
32532 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32533 \begin_inset Text
32534
32535 \begin_layout Plain Layout
32536 text
32537 \end_layout
32538
32539 \end_inset
32540 </cell>
32541 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32542 \begin_inset Text
32543
32544 \begin_layout Plain Layout
32545 text
32546 \end_layout
32547
32548 \end_inset
32549 </cell>
32550 </row>
32551 </lyxtabular>
32552
32553 \end_inset
32554
32555  or 
32556 \begin_inset Tabular
32557 <lyxtabular version="3" rows="2" columns="2">
32558 <features tabularvalignment="middle">
32559 <column alignment="center" valignment="top" width="0">
32560 <column alignment="center" valignment="top" width="0">
32561 <row>
32562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32563 \begin_inset Text
32564
32565 \begin_layout Plain Layout
32566 text
32567 \end_layout
32568
32569 \end_inset
32570 </cell>
32571 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32572 \begin_inset Text
32573
32574 \begin_layout Plain Layout
32575 \begin_inset Graphics
32576         filename ../images/dialog-show-new-inset_graphics.png
32577         scale 70
32578         scaleBeforeRotation
32579         BoundingBox 0bp 6bp 22bp 22bp
32580
32581 \end_inset
32582
32583
32584 \end_layout
32585
32586 \end_inset
32587 </cell>
32588 </row>
32589 <row>
32590 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32591 \begin_inset Text
32592
32593 \begin_layout Plain Layout
32594 text
32595 \end_layout
32596
32597 \end_inset
32598 </cell>
32599 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32600 \begin_inset Text
32601
32602 \begin_layout Plain Layout
32603 text
32604 \end_layout
32605
32606 \end_inset
32607 </cell>
32608 </row>
32609 </lyxtabular>
32610
32611 \end_inset
32612
32613
32614 \end_layout
32615
32616 \begin_layout Standard
32617 To get an object exactly at the position where it is inserted, for example
32618  to get one of these positions:
32619 \begin_inset VSpace defskip
32620 \end_inset
32621
32622
32623 \end_layout
32624
32625 \begin_layout Standard
32626 \noindent
32627 \align center
32628 \begin_inset Tabular
32629 <lyxtabular version="3" rows="2" columns="2">
32630 <features tabularvalignment="middle">
32631 <column alignment="center" valignment="top" width="0">
32632 <column alignment="center" valignment="top" width="0">
32633 <row>
32634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32635 \begin_inset Text
32636
32637 \begin_layout Plain Layout
32638 text
32639 \end_layout
32640
32641 \end_inset
32642 </cell>
32643 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32644 \begin_inset Text
32645
32646 \begin_layout Plain Layout
32647 text
32648 \end_layout
32649
32650 \end_inset
32651 </cell>
32652 </row>
32653 <row>
32654 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32655 \begin_inset Text
32656
32657 \begin_layout Plain Layout
32658 \begin_inset Graphics
32659         filename ../images/dialog-show-new-inset_graphics.png
32660         scale 70
32661         scaleBeforeRotation
32662         BoundingBox 0bp 6bp 22bp 22bp
32663
32664 \end_inset
32665
32666
32667 \end_layout
32668
32669 \end_inset
32670 </cell>
32671 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32672 \begin_inset Text
32673
32674 \begin_layout Plain Layout
32675 text
32676 \end_layout
32677
32678 \end_inset
32679 </cell>
32680 </row>
32681 </lyxtabular>
32682
32683 \end_inset
32684
32685  
32686 \begin_inset Tabular
32687 <lyxtabular version="3" rows="2" columns="2">
32688 <features tabularvalignment="middle">
32689 <column alignment="center" valignment="top" width="0">
32690 <column alignment="center" valignment="top" width="0">
32691 <row>
32692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32693 \begin_inset Text
32694
32695 \begin_layout Plain Layout
32696 text
32697 \end_layout
32698
32699 \end_inset
32700 </cell>
32701 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32702 \begin_inset Text
32703
32704 \begin_layout Plain Layout
32705 text
32706 \end_layout
32707
32708 \end_inset
32709 </cell>
32710 </row>
32711 <row>
32712 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32713 \begin_inset Text
32714
32715 \begin_layout Plain Layout
32716 text
32717 \end_layout
32718
32719 \end_inset
32720 </cell>
32721 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32722 \begin_inset Text
32723
32724 \begin_layout Plain Layout
32725 \begin_inset Graphics
32726         filename ../images/dialog-show-new-inset_graphics.png
32727         scale 70
32728         scaleBeforeRotation
32729         BoundingBox 0bp 6bp 22bp 22bp
32730
32731 \end_inset
32732
32733
32734 \end_layout
32735
32736 \end_inset
32737 </cell>
32738 </row>
32739 </lyxtabular>
32740
32741 \end_inset
32742
32743  
32744 \begin_inset Tabular
32745 <lyxtabular version="3" rows="2" columns="3">
32746 <features tabularvalignment="middle">
32747 <column alignment="center" valignment="top" width="0">
32748 <column alignment="center" valignment="top" width="0">
32749 <column alignment="center" valignment="top" width="0">
32750 <row>
32751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32752 \begin_inset Text
32753
32754 \begin_layout Plain Layout
32755 text
32756 \end_layout
32757
32758 \end_inset
32759 </cell>
32760 <cell alignment="center" valignment="top" topline="true" usebox="none">
32761 \begin_inset Text
32762
32763 \begin_layout Plain Layout
32764 \begin_inset Graphics
32765         filename ../images/dialog-show-new-inset_graphics.png
32766         scale 70
32767         scaleBeforeRotation
32768         BoundingBox 0bp 6bp 22bp 22bp
32769
32770 \end_inset
32771
32772
32773 \end_layout
32774
32775 \end_inset
32776 </cell>
32777 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32778 \begin_inset Text
32779
32780 \begin_layout Plain Layout
32781 text
32782 \end_layout
32783
32784 \end_inset
32785 </cell>
32786 </row>
32787 <row>
32788 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32789 \begin_inset Text
32790
32791 \begin_layout Plain Layout
32792 text
32793 \end_layout
32794
32795 \end_inset
32796 </cell>
32797 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32798 \begin_inset Text
32799
32800 \begin_layout Plain Layout
32801 text
32802 \end_layout
32803
32804 \end_inset
32805 </cell>
32806 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32807 \begin_inset Text
32808
32809 \begin_layout Plain Layout
32810 text
32811 \end_layout
32812
32813 \end_inset
32814 </cell>
32815 </row>
32816 </lyxtabular>
32817
32818 \end_inset
32819
32820  
32821 \begin_inset Tabular
32822 <lyxtabular version="3" rows="2" columns="3">
32823 <features tabularvalignment="middle">
32824 <column alignment="center" valignment="top" width="0">
32825 <column alignment="center" valignment="top" width="0">
32826 <column alignment="center" valignment="top" width="0">
32827 <row>
32828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32829 \begin_inset Text
32830
32831 \begin_layout Plain Layout
32832 text
32833 \end_layout
32834
32835 \end_inset
32836 </cell>
32837 <cell alignment="center" valignment="top" topline="true" usebox="none">
32838 \begin_inset Text
32839
32840 \begin_layout Plain Layout
32841 text
32842 \end_layout
32843
32844 \end_inset
32845 </cell>
32846 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32847 \begin_inset Text
32848
32849 \begin_layout Plain Layout
32850 text
32851 \end_layout
32852
32853 \end_inset
32854 </cell>
32855 </row>
32856 <row>
32857 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32858 \begin_inset Text
32859
32860 \begin_layout Plain Layout
32861 text
32862 \end_layout
32863
32864 \end_inset
32865 </cell>
32866 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32867 \begin_inset Text
32868
32869 \begin_layout Plain Layout
32870 \begin_inset Graphics
32871         filename ../images/dialog-show-new-inset_graphics.png
32872         scale 70
32873         scaleBeforeRotation
32874         BoundingBox 0bp 6bp 22bp 22bp
32875
32876 \end_inset
32877
32878
32879 \end_layout
32880
32881 \end_inset
32882 </cell>
32883 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32884 \begin_inset Text
32885
32886 \begin_layout Plain Layout
32887 text
32888 \end_layout
32889
32890 \end_inset
32891 </cell>
32892 </row>
32893 </lyxtabular>
32894
32895 \end_inset
32896
32897
32898 \end_layout
32899
32900 \begin_layout Standard
32901 \noindent
32902 \align center
32903 \begin_inset Tabular
32904 <lyxtabular version="3" rows="3" columns="2">
32905 <features tabularvalignment="middle">
32906 <column alignment="center" valignment="top" width="0">
32907 <column alignment="center" valignment="top" width="0">
32908 <row>
32909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32910 \begin_inset Text
32911
32912 \begin_layout Plain Layout
32913 text
32914 \end_layout
32915
32916 \end_inset
32917 </cell>
32918 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32919 \begin_inset Text
32920
32921 \begin_layout Plain Layout
32922 text
32923 \end_layout
32924
32925 \end_inset
32926 </cell>
32927 </row>
32928 <row>
32929 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32930 \begin_inset Text
32931
32932 \begin_layout Plain Layout
32933 \begin_inset Graphics
32934         filename ../images/dialog-show-new-inset_graphics.png
32935         scale 70
32936         scaleBeforeRotation
32937         BoundingBox 0bp 6bp 22bp 22bp
32938
32939 \end_inset
32940
32941
32942 \end_layout
32943
32944 \end_inset
32945 </cell>
32946 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32947 \begin_inset Text
32948
32949 \begin_layout Plain Layout
32950 text
32951 \end_layout
32952
32953 \end_inset
32954 </cell>
32955 </row>
32956 <row>
32957 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32958 \begin_inset Text
32959
32960 \begin_layout Plain Layout
32961 text
32962 \end_layout
32963
32964 \end_inset
32965 </cell>
32966 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32967 \begin_inset Text
32968
32969 \begin_layout Plain Layout
32970 text
32971 \end_layout
32972
32973 \end_inset
32974 </cell>
32975 </row>
32976 </lyxtabular>
32977
32978 \end_inset
32979
32980  
32981 \begin_inset Tabular
32982 <lyxtabular version="3" rows="3" columns="3">
32983 <features tabularvalignment="middle">
32984 <column alignment="center" valignment="top" width="0">
32985 <column alignment="center" valignment="top" width="0">
32986 <column alignment="center" valignment="top" width="0">
32987 <row>
32988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32989 \begin_inset Text
32990
32991 \begin_layout Plain Layout
32992 text
32993 \end_layout
32994
32995 \end_inset
32996 </cell>
32997 <cell alignment="center" valignment="top" topline="true" usebox="none">
32998 \begin_inset Text
32999
33000 \begin_layout Plain Layout
33001 text
33002 \end_layout
33003
33004 \end_inset
33005 </cell>
33006 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33007 \begin_inset Text
33008
33009 \begin_layout Plain Layout
33010 text
33011 \end_layout
33012
33013 \end_inset
33014 </cell>
33015 </row>
33016 <row>
33017 <cell alignment="center" valignment="top" leftline="true" usebox="none">
33018 \begin_inset Text
33019
33020 \begin_layout Plain Layout
33021 text
33022 \end_layout
33023
33024 \end_inset
33025 </cell>
33026 <cell alignment="center" valignment="top" usebox="none">
33027 \begin_inset Text
33028
33029 \begin_layout Plain Layout
33030 \begin_inset Graphics
33031         filename ../images/dialog-show-new-inset_graphics.png
33032         scale 70
33033         scaleBeforeRotation
33034         BoundingBox 0bp 6bp 22bp 22bp
33035
33036 \end_inset
33037
33038
33039 \end_layout
33040
33041 \end_inset
33042 </cell>
33043 <cell alignment="center" valignment="top" rightline="true" usebox="none">
33044 \begin_inset Text
33045
33046 \begin_layout Plain Layout
33047 text
33048 \end_layout
33049
33050 \end_inset
33051 </cell>
33052 </row>
33053 <row>
33054 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33055 \begin_inset Text
33056
33057 \begin_layout Plain Layout
33058 text
33059 \end_layout
33060
33061 \end_inset
33062 </cell>
33063 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
33064 \begin_inset Text
33065
33066 \begin_layout Plain Layout
33067 text
33068 \end_layout
33069
33070 \end_inset
33071 </cell>
33072 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33073 \begin_inset Text
33074
33075 \begin_layout Plain Layout
33076 text
33077 \end_layout
33078
33079 \end_inset
33080 </cell>
33081 </row>
33082 </lyxtabular>
33083
33084 \end_inset
33085
33086  
33087 \begin_inset Tabular
33088 <lyxtabular version="3" rows="3" columns="2">
33089 <features tabularvalignment="middle">
33090 <column alignment="center" valignment="top" width="0">
33091 <column alignment="center" valignment="top" width="0">
33092 <row>
33093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33094 \begin_inset Text
33095
33096 \begin_layout Plain Layout
33097 text
33098 \end_layout
33099
33100 \end_inset
33101 </cell>
33102 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33103 \begin_inset Text
33104
33105 \begin_layout Plain Layout
33106 text
33107 \end_layout
33108
33109 \end_inset
33110 </cell>
33111 </row>
33112 <row>
33113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
33114 \begin_inset Text
33115
33116 \begin_layout Plain Layout
33117 text
33118 \end_layout
33119
33120 \end_inset
33121 </cell>
33122 <cell alignment="center" valignment="top" rightline="true" usebox="none">
33123 \begin_inset Text
33124
33125 \begin_layout Plain Layout
33126 \begin_inset Graphics
33127         filename ../images/dialog-show-new-inset_graphics.png
33128         scale 70
33129         scaleBeforeRotation
33130         BoundingBox 0bp 6bp 22bp 22bp
33131
33132 \end_inset
33133
33134
33135 \end_layout
33136
33137 \end_inset
33138 </cell>
33139 </row>
33140 <row>
33141 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33142 \begin_inset Text
33143
33144 \begin_layout Plain Layout
33145 text
33146 \end_layout
33147
33148 \end_inset
33149 </cell>
33150 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33151 \begin_inset Text
33152
33153 \begin_layout Plain Layout
33154 text
33155 \end_layout
33156
33157 \end_inset
33158 </cell>
33159 </row>
33160 </lyxtabular>
33161
33162 \end_inset
33163
33164
33165 \end_layout
33166
33167 \begin_layout Standard
33168 \noindent
33169 you can use the LaTeX-package 
33170 \series bold
33171 picinpar
33172 \series default
33173
33174 \begin_inset Index idx
33175 status collapsed
33176
33177 \begin_layout Plain Layout
33178 LaTeX-packages ! picinpar
33179 \end_layout
33180
33181 \end_inset
33182
33183 .
33184  Here is an example:
33185 \end_layout
33186
33187 \begin_layout Standard
33188 \begin_inset ERT
33189 status collapsed
33190
33191 \begin_layout Plain Layout
33192
33193
33194 \backslash
33195 ifpicinpar
33196 \end_layout
33197
33198 \end_inset
33199
33200
33201 \begin_inset Note Note
33202 status open
33203
33204 \begin_layout Plain Layout
33205 The following section will only be displayed when the LaTeX-package 
33206 \series bold
33207 picinpar
33208 \series default
33209  is installed.
33210 \end_layout
33211
33212 \end_inset
33213
33214
33215 \end_layout
33216
33217 \begin_layout Standard
33218 \begin_inset ERT
33219 status collapsed
33220
33221 \begin_layout Plain Layout
33222
33223
33224 \backslash
33225 begin{window}[2,c,{
33226 \end_layout
33227
33228 \end_inset
33229
33230
33231 \begin_inset Graphics
33232         filename clipart/mobius.eps
33233         lyxscale 60
33234         width 40col%
33235         scaleBeforeRotation
33236         rotateOrigin center
33237
33238 \end_inset
33239
33240
33241 \begin_inset ERT
33242 status collapsed
33243
33244 \begin_layout Plain Layout
33245
33246 },]
33247 \end_layout
33248
33249 \begin_layout Plain Layout
33250
33251 {}
33252 \end_layout
33253
33254 \end_inset
33255
33256
33257 \size small
33258 It was in the spring of the year 1894 that all London was interested, and
33259  the fashionable world dismayed, by the murder of the Honourable Ronald
33260  Adair under most unusual and inexplicable circumstances.
33261  The public has already learned those particulars of the crime which
33262 \size default
33263
33264 \begin_inset ERT
33265 status collapsed
33266
33267 \begin_layout Plain Layout
33268
33269
33270 \backslash
33271 footnotemark{}
33272 \end_layout
33273
33274 \end_inset
33275
33276
33277 \size small
33278  came out in the police investigation, but a good deal was suppressed upon
33279  that occasion, since the case for the prosecution was so overwhelmingly
33280  strong that it was not necessary to bring forward all the facts.
33281  Only now, at the end of nearly ten years, am I allowed to supply those
33282  missing links which make up the whole of that remarkable chain.
33283 \size default
33284
33285 \begin_inset ERT
33286 status collapsed
33287
33288 \begin_layout Plain Layout
33289
33290
33291 \backslash
33292 end{window}
33293 \end_layout
33294
33295 \end_inset
33296
33297
33298 \end_layout
33299
33300 \begin_layout Standard
33301 \begin_inset ERT
33302 status collapsed
33303
33304 \begin_layout Plain Layout
33305
33306
33307 \backslash
33308 footnotetext{
33309 \end_layout
33310
33311 \end_inset
33312
33313 Footnote of the paragraph with the fixed object.
33314 \begin_inset ERT
33315 status collapsed
33316
33317 \begin_layout Plain Layout
33318
33319 }
33320 \end_layout
33321
33322 \end_inset
33323
33324
33325 \end_layout
33326
33327 \begin_layout Standard
33328 Surrounded fixed objects are used to let text float around them, at which
33329  the object's position in the paragraph can be determined by the number
33330  of lines above it.
33331  In contrary to floats is it not possible to have a numbered caption.
33332 \end_layout
33333
33334 \begin_layout Standard
33335 A fixed object is inserted by adding the command
33336 \end_layout
33337
33338 \begin_layout Standard
33339
33340 \series bold
33341
33342 \backslash
33343 begin{window}[2,c,{
33344 \end_layout
33345
33346 \begin_layout Standard
33347 as TeX Code at the beginning of the paragraph.
33348  The first parameter in the bracket, here '2', defines the number of lines
33349  above the object, the second, here 'c', the position of the object.
33350  The positions 'l', 'c' and 'r' (for left, center, right) are possible.
33351  Behind the command you insert the object.
33352  In this example an image with a width of 40
33353 \begin_inset space \thinspace{}
33354 \end_inset
33355
33356 % of the text column width was inserted.
33357  The object can also be a table, a box or an equation.
33358  Behind the object the command
33359 \end_layout
33360
33361 \begin_layout Standard
33362
33363 \series bold
33364 },description text]
33365 \begin_inset Newline newline
33366 \end_inset
33367
33368 {}
33369 \end_layout
33370
33371 \begin_layout Standard
33372 is inserted.
33373  Note that the 
33374 \begin_inset Quotes eld
33375 \end_inset
33376
33377
33378 \series bold
33379 {}
33380 \series default
33381
33382 \begin_inset Quotes erd
33383 \end_inset
33384
33385  is in the second line.
33386  The description text is optional.
33387  The text surrounding the object must be in the same paragraph as the object,
33388  so it must begin directly after the 
33389 \series bold
33390 {}
33391 \series default
33392 .
33393  At the end of the paragraph insert the command:
33394 \end_layout
33395
33396 \begin_layout Standard
33397
33398 \series bold
33399
33400 \backslash
33401 end{window}
33402 \end_layout
33403
33404 \begin_layout Standard
33405 Within a paragraph with a fixed object, you cannot insert footnotes in the
33406  normal way.
33407  You have to use instead the command 
33408 \series bold
33409
33410 \backslash
33411 footnotemark
33412 \series default
33413  inside the paragraph and outside the command 
33414 \series bold
33415
33416 \backslash
33417 footnotetext
33418 \series default
33419  as described in sec.
33420 \begin_inset space \thinspace{}
33421 \end_inset
33422
33423
33424 \begin_inset CommandInset ref
33425 LatexCommand ref
33426 reference "sec:Footnotes"
33427
33428 \end_inset
33429
33430 .
33431 \end_layout
33432
33433 \begin_layout Standard
33434 \begin_inset ERT
33435 status collapsed
33436
33437 \begin_layout Plain Layout
33438
33439
33440 \backslash
33441 else
33442 \end_layout
33443
33444 \end_inset
33445
33446
33447 \begin_inset Note Note
33448 status open
33449
33450 \begin_layout Plain Layout
33451 The following will be displayed when the LaTeX-package 
33452 \series bold
33453 picinpar
33454 \series default
33455  is not installed:
33456 \end_layout
33457
33458 \end_inset
33459
33460
33461 \end_layout
33462
33463 \begin_layout Standard
33464 You need to install the LaTeX-package 
33465 \series bold
33466 picinpar
33467 \series default
33468  to see the following part of this section in the output.
33469 \end_layout
33470
33471 \begin_layout Standard
33472 \begin_inset ERT
33473 status collapsed
33474
33475 \begin_layout Plain Layout
33476
33477
33478 \backslash
33479 fi
33480 \end_layout
33481
33482 \end_inset
33483
33484
33485 \end_layout
33486
33487 \begin_layout Section
33488 Initials
33489 \begin_inset Index idx
33490 status collapsed
33491
33492 \begin_layout Plain Layout
33493 Initials
33494 \end_layout
33495
33496 \end_inset
33497
33498
33499 \begin_inset Index idx
33500 status collapsed
33501
33502 \begin_layout Plain Layout
33503 Surrounded by text ! Initials
33504 \end_layout
33505
33506 \end_inset
33507
33508
33509 \end_layout
33510
33511 \begin_layout Standard
33512 To use initials, you must have the LaTeX-package 
33513 \series bold
33514 lettrine
33515 \series default
33516
33517 \begin_inset Index idx
33518 status collapsed
33519
33520 \begin_layout Plain Layout
33521 LaTeX-packages ! lettrine
33522 \end_layout
33523
33524 \end_inset
33525
33526  installed and use the module 
33527 \family sans
33528 Initials
33529 \family default
33530  in your document (menu 
33531 \family sans
33532 Document\SpecialChar \menuseparator
33533 Settings\SpecialChar \menuseparator
33534 Modules
33535 \family default
33536 ).
33537  To insert an initial, use the style 
33538 \family sans
33539 Initial
33540 \family default
33541 .
33542  This style has a mandatory and an optional argument.
33543  The mandatory argument is inserted via the menu 
33544 \family sans
33545 Insert\SpecialChar \menuseparator
33546 Short
33547 \begin_inset space ~
33548 \end_inset
33549
33550 Title
33551 \family default
33552  and contains the letter that is the initial.
33553  To use the also the optional argument, insert another argument in front
33554  of the mandatory argument.
33555  This one contains parameters to modify the initial.
33556  For more information about the possible parameters see the documentation
33557  of 
33558 \series bold
33559 lettrine
33560 \series default
33561
33562 \begin_inset CommandInset citation
33563 LatexCommand cite
33564 key "lettrine"
33565
33566 \end_inset
33567
33568 .
33569  The style itself contains the text that is surrounding the initial.
33570  The usual style is hereby that the word whose first letter is the initial,
33571  is printed with 
33572 \shape smallcaps
33573 small caps
33574 \shape default
33575 .
33576  To tell LaTeX where this word is finished, add a closing brace '
33577 \series bold
33578 }
33579 \series default
33580 ' as TeX Code behind it.
33581  At the end of the style there must be an opening brace '
33582 \series bold
33583 {
33584 \series default
33585 ' as TeX Code.
33586 \end_layout
33587
33588 \begin_layout Standard
33589 Here are some examples:
33590 \end_layout
33591
33592 \begin_layout Enumerate
33593 No optional argument, the initial is the letter 'I' in the math font 
33594 \begin_inset Formula $\mathfrak{Fraktur}$
33595 \end_inset
33596
33597 :
33598 \end_layout
33599
33600 \begin_deeper
33601 \begin_layout Initial
33602 \begin_inset Argument
33603 status open
33604
33605 \begin_layout Plain Layout
33606 \begin_inset Formula $\mathfrak{I}$
33607 \end_inset
33608
33609
33610 \end_layout
33611
33612 \end_inset
33613
33614 t
33615 \begin_inset ERT
33616 status collapsed
33617
33618 \begin_layout Plain Layout
33619
33620 }
33621 \end_layout
33622
33623 \end_inset
33624
33625  was in the spring of the year 1894 that all London was interested, and
33626  the fashionable world dismayed, by the murder of the Honourable Ronald
33627  Adair under most unusual and inexplicable circumstances.
33628  The public has already learned those particulars of the crime which came
33629  out in the police investigation, but a good deal was suppressed upon that
33630  occasion, since the case for the prosecution was so overwhelmingly strong
33631  that it was not necessary to bring forward all the facts.
33632 \begin_inset ERT
33633 status collapsed
33634
33635 \begin_layout Plain Layout
33636
33637 {
33638 \end_layout
33639
33640 \end_inset
33641
33642
33643 \begin_inset Newpage newpage
33644 \end_inset
33645
33646
33647 \end_layout
33648
33649 \end_deeper
33650 \begin_layout Enumerate
33651 Only one line is surrounding the initial, which is formed by two letters
33652  in standard font and no text is printed in small caps:
33653 \end_layout
33654
33655 \begin_deeper
33656 \begin_layout Initial
33657 \begin_inset Argument
33658 status open
33659
33660 \begin_layout Plain Layout
33661 lines=1
33662 \end_layout
33663
33664 \end_inset
33665
33666
33667 \begin_inset Argument
33668 status open
33669
33670 \begin_layout Plain Layout
33671 It
33672 \end_layout
33673
33674 \end_inset
33675
33676
33677 \begin_inset ERT
33678 status collapsed
33679
33680 \begin_layout Plain Layout
33681
33682 }
33683 \end_layout
33684
33685 \end_inset
33686
33687  was in the spring of the year 1894 that all London was interested, and
33688  the fashionable world dismayed, by the murder of the Honourable Ronald
33689  Adair under most unusual and inexplicable circumstances.
33690  The public has already learned those particulars of the crime which came
33691  out in the police investigation, but a good deal was suppressed upon that
33692  occasion, since the case for the prosecution was so overwhelmingly strong
33693  that it was not necessary to bring forward all the facts.
33694 \begin_inset ERT
33695 status collapsed
33696
33697 \begin_layout Plain Layout
33698
33699 {
33700 \end_layout
33701
33702 \end_inset
33703
33704
33705 \end_layout
33706
33707 \end_deeper
33708 \begin_layout Enumerate
33709 Magenta, hanging initial over 3
33710 \begin_inset space ~
33711 \end_inset
33712
33713 lines in the math font 
33714 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
33715 \end_inset
33716
33717 , the text 
33718 \begin_inset Quotes eld
33719 \end_inset
33720
33721 t was in the spring
33722 \begin_inset Quotes erd
33723 \end_inset
33724
33725  is in 
33726 \shape smallcaps
33727 small caps
33728 \shape default
33729 ; to color the initial, you must insert this command before the initial:
33730 \begin_inset Newline newline
33731 \end_inset
33732
33733
33734 \series bold
33735
33736 \backslash
33737 renewcommand{
33738 \backslash
33739 LettrineFontHook}{
33740 \backslash
33741 color{color}}
33742 \series default
33743
33744 \begin_inset Newline newline
33745 \end_inset
33746
33747 where the second 
33748 \emph on
33749 color
33750 \emph default
33751  can be 
33752 \begin_inset Quotes eld
33753 \end_inset
33754
33755 red
33756 \begin_inset Quotes erd
33757 \end_inset
33758
33759
33760 \begin_inset Quotes eld
33761 \end_inset
33762
33763 blue
33764 \begin_inset Quotes erd
33765 \end_inset
33766
33767
33768 \begin_inset Quotes eld
33769 \end_inset
33770
33771 green
33772 \begin_inset Quotes erd
33773 \end_inset
33774
33775
33776 \begin_inset Quotes eld
33777 \end_inset
33778
33779 yellow
33780 \begin_inset Quotes erd
33781 \end_inset
33782
33783
33784 \begin_inset Quotes eld
33785 \end_inset
33786
33787 cyan
33788 \begin_inset Quotes erd
33789 \end_inset
33790
33791
33792 \begin_inset Quotes eld
33793 \end_inset
33794
33795 magenta
33796 \begin_inset Quotes erd
33797 \end_inset
33798
33799
33800 \begin_inset Quotes eld
33801 \end_inset
33802
33803 black
33804 \begin_inset Quotes erd
33805 \end_inset
33806
33807  or 
33808 \begin_inset Quotes eld
33809 \end_inset
33810
33811 white
33812 \begin_inset Quotes erd
33813 \end_inset
33814
33815 , and add this command to the document preamble:
33816 \begin_inset Newline newline
33817 \end_inset
33818
33819
33820 \series bold
33821
33822 \backslash
33823 @ifundefined{textcolor}
33824 \begin_inset Newline newline
33825 \end_inset
33826
33827
33828 \begin_inset space ~
33829 \end_inset
33830
33831 {
33832 \backslash
33833 usepackage{color}}{}
33834 \end_layout
33835
33836 \begin_deeper
33837 \begin_layout Standard
33838 \begin_inset ERT
33839 status collapsed
33840
33841 \begin_layout Plain Layout
33842
33843
33844 \backslash
33845 renewcommand{
33846 \backslash
33847 LettrineFontHook}{
33848 \backslash
33849 color{magenta}}
33850 \end_layout
33851
33852 \end_inset
33853
33854
33855 \begin_inset Note Note
33856 status collapsed
33857
33858 \begin_layout Plain Layout
33859 makes the initial magenta
33860 \end_layout
33861
33862 \end_inset
33863
33864
33865 \end_layout
33866
33867 \begin_layout Initial
33868 \begin_inset Argument
33869 status open
33870
33871 \begin_layout Plain Layout
33872 lines=3, lhang=0.33, loversize=0.25
33873 \end_layout
33874
33875 \end_inset
33876
33877
33878 \begin_inset Argument
33879 status open
33880
33881 \begin_layout Plain Layout
33882 \begin_inset Formula $\mathcal{I}$
33883 \end_inset
33884
33885
33886 \end_layout
33887
33888 \end_inset
33889
33890 t was in the spring
33891 \begin_inset ERT
33892 status collapsed
33893
33894 \begin_layout Plain Layout
33895
33896 }
33897 \end_layout
33898
33899 \end_inset
33900
33901  of the year 1894 that all London was interested, and the fashionable world
33902  dismayed, by the murder of the Honourable Ronald Adair under most unusual
33903  and inexplicable circumstances.
33904  The public has already learned those particulars of the crime which came
33905  out in the police investigation, but a good deal was suppressed upon that
33906  occasion, since the case for the prosecution was so overwhelmingly strong
33907  that it was not necessary to bring forward all the facts.
33908 \begin_inset ERT
33909 status collapsed
33910
33911 \begin_layout Plain Layout
33912
33913 {
33914 \end_layout
33915
33916 \end_inset
33917
33918
33919 \end_layout
33920
33921 \end_deeper
33922 \begin_layout Chapter
33923 External Document Parts
33924 \begin_inset Index idx
33925 status collapsed
33926
33927 \begin_layout Plain Layout
33928 External Document Parts
33929 \end_layout
33930
33931 \end_inset
33932
33933
33934 \end_layout
33935
33936 \begin_layout Standard
33937 With the menu 
33938 \family sans
33939 Insert\SpecialChar \menuseparator
33940 File
33941 \family default
33942  you can insert external material to your document.
33943  This can be:
33944 \end_layout
33945
33946 \begin_layout Description
33947 LyX
33948 \begin_inset space ~
33949 \end_inset
33950
33951 Document Another LyX document; its content is directly inserted to your
33952  document.
33953 \end_layout
33954
33955 \begin_layout Description
33956 Plain
33957 \begin_inset space ~
33958 \end_inset
33959
33960 Text A text document; each line is inserted in your document as a separate
33961  paragraph.
33962 \end_layout
33963
33964 \begin_layout Description
33965 Plain
33966 \begin_inset space ~
33967 \end_inset
33968
33969 Text,
33970 \begin_inset space ~
33971 \end_inset
33972
33973 Join
33974 \begin_inset space ~
33975 \end_inset
33976
33977 Lines A text document; text lines are inserted in your document continuously
33978  but an empty text line creates a new paragraph.
33979 \end_layout
33980
33981 \begin_layout Description
33982 External
33983 \begin_inset space ~
33984 \end_inset
33985
33986 Material Files in various formats.
33987 \end_layout
33988
33989 \begin_layout Description
33990 Child
33991 \begin_inset space ~
33992 \end_inset
33993
33994 Document LyX or LaTeX-documents.
33995 \end_layout
33996
33997 \begin_layout Section
33998 External Material
33999 \begin_inset Index idx
34000 status collapsed
34001
34002 \begin_layout Plain Layout
34003 External Document Parts ! External Material
34004 \end_layout
34005
34006 \end_inset
34007
34008
34009 \end_layout
34010
34011 \begin_layout Standard
34012 The external material feature allows you to insert files in to your document
34013  without converting them to a format that can be read by the document output
34014  format.
34015  LyX takes care of the necessary conversions.
34016  This is similar to images that can be inserted in various image formats
34017  in LyX documents.
34018  When you have enabled Instant Preview in LyX's preferences under 
34019 \family sans
34020 Look
34021 \begin_inset space ~
34022 \end_inset
34023
34024 and
34025 \begin_inset space ~
34026 \end_inset
34027
34028 feel\SpecialChar \menuseparator
34029 Graphics
34030 \family default
34031 , the external material types Dia and Xfig are directly shown in LyX.
34032 \end_layout
34033
34034 \begin_layout Standard
34035 External material can be inserted via the 
34036 \family sans
34037 External Material
34038 \family default
34039  dialog that is accessible with the menu 
34040 \family sans
34041 Insert\SpecialChar \menuseparator
34042 File\SpecialChar \menuseparator
34043 External
34044 \begin_inset space ~
34045 \end_inset
34046
34047 Material
34048 \family default
34049 .
34050  Currently the following file types (
34051 \family sans
34052 Templates
34053 \family default
34054 ) are allowed:
34055 \end_layout
34056
34057 \begin_layout Description
34058 ChessDiagram This template supports chess position diagrams made with the
34059  program 
34060 \series bold
34061
34062 \begin_inset CommandInset href
34063 LatexCommand href
34064 name "XBoard"
34065 target "http://en.wikipedia.org/wiki/XBoard"
34066
34067 \end_inset
34068
34069
34070 \series default
34071 .
34072 \end_layout
34073
34074 \begin_layout Description
34075 Date This inserts the date in the form 
34076 \emph on
34077 Day-Month-Year
34078 \emph default
34079 .
34080  This is a date inserted as external material: 
34081 \begin_inset External
34082         template Date
34083         filename .
34084
34085 \end_inset
34086
34087
34088 \begin_inset space ~
34089 \end_inset
34090
34091
34092 \begin_inset Note Note
34093 status open
34094
34095 \begin_layout Plain Layout
34096 Remove the protected space when bug 4398 is fixed!
34097 \end_layout
34098
34099 \end_inset
34100
34101
34102 \begin_inset Newline newline
34103 \end_inset
34104
34105 The date is not shown within LyX, only in the output.
34106  There are two other methods of inserting a date: Via menu 
34107 \family sans
34108 Insert\SpecialChar \menuseparator
34109 Date
34110 \family default
34111  and with the LaTeX command 
34112 \series bold
34113
34114 \backslash
34115 today
34116 \series default
34117  as TeX-Code.
34118  The different methods are compared in Table
34119 \begin_inset space ~
34120 \end_inset
34121
34122
34123 \begin_inset CommandInset ref
34124 LatexCommand ref
34125 reference "tab:Comparison-of-the"
34126
34127 \end_inset
34128
34129 .
34130 \end_layout
34131
34132 \begin_layout Description
34133 Dia This template supports diagrams created with the program 
34134 \series bold
34135
34136 \begin_inset CommandInset href
34137 LatexCommand href
34138 name "Dia"
34139 target "http://en.wikipedia.org/wiki/Dia_(software)"
34140
34141 \end_inset
34142
34143
34144 \series default
34145 .
34146 \end_layout
34147
34148 \begin_layout Description
34149 LilyPond This template is used for music notation typeset with the program
34150 \begin_inset Newline linebreak
34151 \end_inset
34152
34153
34154 \series bold
34155
34156 \begin_inset CommandInset href
34157 LatexCommand href
34158 name "LilyPond"
34159 target "http://en.wikipedia.org/wiki/LilyPond"
34160
34161 \end_inset
34162
34163
34164 \series default
34165 .
34166 \end_layout
34167
34168 \begin_layout Description
34169 PDFPages With this template you can insert PDF documents to your document.
34170  To insert certain or all pages of a PDF, use the 
34171 \emph on
34172 pages
34173 \emph default
34174  option in the 
34175 \family sans
34176 Option
34177 \family default
34178  field in the 
34179 \family sans
34180 LaTeX and LyX options
34181 \family default
34182  tab according to the template description in the dialog.
34183  When no 
34184 \emph on
34185 pages
34186 \emph default
34187  option is given, only the first page of the PDF will be inserted.
34188 \end_layout
34189
34190 \begin_layout Description
34191 RasterImage This can be used for bitmap images.
34192  Nearly all popular image formats are supported.
34193  The image can be treated in the 
34194 \family sans
34195 External material
34196 \family default
34197  dialog like the images that are usually included via the 
34198 \family sans
34199 Graphics
34200 \family default
34201  dialog as described in section
34202 \begin_inset space ~
34203 \end_inset
34204
34205
34206 \begin_inset CommandInset ref
34207 LatexCommand ref
34208 reference "sec:Graphics-Dialog"
34209
34210 \end_inset
34211
34212 .
34213  The difference is that only raster images are allowed; that means that
34214  PDF and EPS-images are not supported.
34215 \end_layout
34216
34217 \begin_layout Description
34218 XFig This template supports images created with the program 
34219 \series bold
34220
34221 \begin_inset CommandInset href
34222 LatexCommand href
34223 name "Xfig"
34224 target "http://en.wikipedia.org/wiki/Xfig"
34225
34226 \end_inset
34227
34228
34229 \series default
34230 .
34231 \end_layout
34232
34233 \begin_layout Standard
34234 \begin_inset Float table
34235 placement h
34236 wide false
34237 sideways false
34238 status open
34239
34240 \begin_layout Plain Layout
34241 \begin_inset Caption
34242
34243 \begin_layout Plain Layout
34244 \begin_inset CommandInset label
34245 LatexCommand label
34246 name "tab:Comparison-of-the"
34247
34248 \end_inset
34249
34250 Comparison of the date input methods.
34251 \end_layout
34252
34253 \end_inset
34254
34255
34256 \end_layout
34257
34258 \begin_layout Plain Layout
34259 \align center
34260 \begin_inset Tabular
34261 <lyxtabular version="3" rows="4" columns="4">
34262 <features tabularvalignment="middle">
34263 <column alignment="center" valignment="top" width="0">
34264 <column alignment="center" valignment="top" width="0">
34265 <column alignment="center" valignment="top" width="0">
34266 <column alignment="center" valignment="top" width="0">
34267 <row>
34268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34269 \begin_inset Text
34270
34271 \begin_layout Plain Layout
34272 Document format
34273 \end_layout
34274
34275 \end_inset
34276 </cell>
34277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34278 \begin_inset Text
34279
34280 \begin_layout Plain Layout
34281
34282 \family sans
34283 External Material\SpecialChar \menuseparator
34284 Date
34285 \end_layout
34286
34287 \end_inset
34288 </cell>
34289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34290 \begin_inset Text
34291
34292 \begin_layout Plain Layout
34293
34294 \family sans
34295 Insert\SpecialChar \menuseparator
34296 Date
34297 \end_layout
34298
34299 \end_inset
34300 </cell>
34301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34302 \begin_inset Text
34303
34304 \begin_layout Plain Layout
34305 command 
34306 \series bold
34307
34308 \backslash
34309 today
34310 \end_layout
34311
34312 \end_inset
34313 </cell>
34314 </row>
34315 <row>
34316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34317 \begin_inset Text
34318
34319 \begin_layout Plain Layout
34320 LyX
34321 \end_layout
34322
34323 \end_inset
34324 </cell>
34325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34326 \begin_inset Text
34327
34328 \begin_layout Plain Layout
34329 as inset box
34330 \end_layout
34331
34332 \end_inset
34333 </cell>
34334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34335 \begin_inset Text
34336
34337 \begin_layout Plain Layout
34338 as date
34339 \end_layout
34340
34341 \end_inset
34342 </cell>
34343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34344 \begin_inset Text
34345
34346 \begin_layout Plain Layout
34347 as TeX-Code inset box
34348 \end_layout
34349
34350 \end_inset
34351 </cell>
34352 </row>
34353 <row>
34354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34355 \begin_inset Text
34356
34357 \begin_layout Plain Layout
34358 LaTeX
34359 \end_layout
34360
34361 \end_inset
34362 </cell>
34363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34364 \begin_inset Text
34365
34366 \begin_layout Plain Layout
34367 as date
34368 \end_layout
34369
34370 \end_inset
34371 </cell>
34372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34373 \begin_inset Text
34374
34375 \begin_layout Plain Layout
34376 as date
34377 \end_layout
34378
34379 \end_inset
34380 </cell>
34381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34382 \begin_inset Text
34383
34384 \begin_layout Plain Layout
34385 as command
34386 \end_layout
34387
34388 \end_inset
34389 </cell>
34390 </row>
34391 <row>
34392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34393 \begin_inset Text
34394
34395 \begin_layout Plain Layout
34396 DVI, PDF, PS
34397 \end_layout
34398
34399 \end_inset
34400 </cell>
34401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34402 \begin_inset Text
34403
34404 \begin_layout Plain Layout
34405 as date
34406 \end_layout
34407
34408 \end_inset
34409 </cell>
34410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34411 \begin_inset Text
34412
34413 \begin_layout Plain Layout
34414 as date
34415 \end_layout
34416
34417 \end_inset
34418 </cell>
34419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34420 \begin_inset Text
34421
34422 \begin_layout Plain Layout
34423 as date
34424 \end_layout
34425
34426 \end_inset
34427 </cell>
34428 </row>
34429 </lyxtabular>
34430
34431 \end_inset
34432
34433
34434 \end_layout
34435
34436 \end_inset
34437
34438
34439 \end_layout
34440
34441 \begin_layout Standard
34442 When you use the option 
34443 \family sans
34444 Draft
34445 \family default
34446  in the 
34447 \family sans
34448 File
34449 \family default
34450  tab of the 
34451 \family sans
34452 External Material
34453 \family default
34454  dialog, only the path to the inserted file is shown in the output.
34455 \begin_inset Newline newline
34456 \end_inset
34457
34458 External material is displayed in LyX either as a box like this: 
34459 \begin_inset Graphics
34460         filename clipart/ExternalMaterialQt4.png
34461         scale 85
34462         scaleBeforeRotation
34463
34464 \end_inset
34465
34466  or as image, depending on the option 
34467 \family sans
34468 Show in LyX
34469 \family default
34470  in the 
34471 \family sans
34472 LaTeX and LyX options
34473 \family default
34474  tab of the dialog.
34475 \end_layout
34476
34477 \begin_layout Standard
34478 The 
34479 \family sans
34480 \emph on
34481 Customization
34482 \family default
34483 \emph default
34484  manual explains how you can define your own templates.
34485 \end_layout
34486
34487 \begin_layout Section
34488 Child Documents
34489 \begin_inset CommandInset label
34490 LatexCommand label
34491 name "sec:Child-Documents"
34492
34493 \end_inset
34494
34495
34496 \begin_inset Index idx
34497 status collapsed
34498
34499 \begin_layout Plain Layout
34500 External Document Parts ! Child Documents
34501 \end_layout
34502
34503 \end_inset
34504
34505
34506 \begin_inset Index idx
34507 status collapsed
34508
34509 \begin_layout Plain Layout
34510 Files ! Include
34511 \end_layout
34512
34513 \end_inset
34514
34515
34516 \end_layout
34517
34518 \begin_layout Standard
34519 Child documents are used if you have a long document consisting of several
34520  larger parts or sections.
34521  For maintenance it is often useful and sometimes even required to split
34522  the document into several files that can be revised separately.
34523  The different documents are then the so called 
34524 \begin_inset Quotes eld
34525 \end_inset
34526
34527 child documents
34528 \begin_inset Quotes erd
34529 \end_inset
34530
34531 , and a master document connects them to print the full document or parts
34532  of it.
34533  A child document inherits elements of its master, for example the LaTeX
34534  preamble, the bibliography, and labels for cross-references.
34535 \end_layout
34536
34537 \begin_layout Standard
34538 To be able to work on child documents without the need to open their master,
34539  specify in the child document the master in the menu
34540 \family sans
34541  Document\SpecialChar \menuseparator
34542 Settings\SpecialChar \menuseparator
34543 Document
34544 \begin_inset space ~
34545 \end_inset
34546
34547 Class
34548 \family default
34549 .
34550  This master document will then be used in the background by LyX when you
34551  edit the child document.
34552 \end_layout
34553
34554 \begin_layout Standard
34555 Included documents are displayed in LyX as a box like this: 
34556 \begin_inset Graphics
34557         filename clipart/ChildDocumentQt4.png
34558         scale 85
34559         scaleBeforeRotation
34560
34561 \end_inset
34562
34563  To include child documents in a master document use the menu 
34564 \family sans
34565 Insert\SpecialChar \menuseparator
34566 File\SpecialChar \menuseparator
34567 Child
34568 \begin_inset space ~
34569 \end_inset
34570
34571 Documents
34572 \family default
34573 .
34574  A dialog pops up where you can choose between four include methods:
34575 \end_layout
34576
34577 \begin_layout Description
34578 Include You can include LyX- and LaTeX-documents.
34579  When you press the 
34580 \family sans
34581 Load
34582 \family default
34583  button in the 
34584 \family sans
34585 Child Document
34586 \family default
34587  dialog, the included documents will be opened in LyX in a new file tab
34588  so that you can modify them.
34589 \begin_inset Newline newline
34590 \end_inset
34591
34592
34593 \end_layout
34594
34595 \begin_layout Standard
34596 Here is a child document inserted using 
34597 \family sans
34598 Include
34599 \family default
34600
34601 \begin_inset CommandInset include
34602 LatexCommand include
34603 filename "DummyDocument1.lyx"
34604
34605 \end_inset
34606
34607
34608 \end_layout
34609
34610 \begin_layout Standard
34611 The section numbering includes the sections of the included files in the
34612  order they are inserted in the master document.
34613  The included example document has for example a subsection that is numbered
34614  as a subsection of this section.
34615  Labels of included documents can be referenced: Subsection
34616 \begin_inset space ~
34617 \end_inset
34618
34619
34620 \begin_inset CommandInset ref
34621 LatexCommand ref
34622 reference "sub:External-Subsection-1"
34623
34624 \end_inset
34625
34626 .
34627 \end_layout
34628
34629 \begin_layout Standard
34630 The preamble of the child document is ignored; only the preamble of the
34631  master document is used.
34632  Branches in child documents will be ignored by the master document when
34633  the master document does not have a branch with the same name.
34634  Included documents are inserted starting on a new page and ending with
34635  a page break.
34636 \end_layout
34637
34638 \begin_layout Standard
34639 \begin_inset Note Greyedout
34640 status open
34641
34642 \begin_layout Plain Layout
34643
34644 \series bold
34645 Note:
34646 \series default
34647  If you have included a LyX- or LaTeX-file, you are warned when you export/view
34648  the document in case the child document uses another document class than
34649  the master document as this will lead to unexpected outputs.
34650 \end_layout
34651
34652 \end_inset
34653
34654
34655 \end_layout
34656
34657 \begin_layout Description
34658 Input This method is very similar to the Include method.
34659  The differences are:
34660 \end_layout
34661
34662 \begin_deeper
34663 \begin_layout Itemize
34664 Input files don't start with a new page and don't end with a page break.
34665 \end_layout
34666
34667 \begin_layout Itemize
34668 Input files can be previewed in LyX when 
34669 \family sans
34670 Instant
34671 \begin_inset space ~
34672 \end_inset
34673
34674 Preview
34675 \family default
34676  is enabled in LyX's preferences under 
34677 \family sans
34678 Look
34679 \begin_inset space ~
34680 \end_inset
34681
34682 and
34683 \begin_inset space ~
34684 \end_inset
34685
34686 feel\SpecialChar \menuseparator
34687 Graphics
34688 \family default
34689 .
34690 \end_layout
34691
34692 \begin_layout Itemize
34693 You cannot exclude Input files via the menu 
34694 \family sans
34695 Document\SpecialChar \menuseparator
34696 Settings\SpecialChar \menuseparator
34697 Child Documents
34698 \family default
34699 .
34700 \end_layout
34701
34702 \end_deeper
34703 \begin_layout Standard
34704 Here is a child document inserted using 
34705 \family sans
34706 Input
34707 \family default
34708
34709 \begin_inset CommandInset include
34710 LatexCommand input
34711 filename "DummyDocument2.lyx"
34712
34713 \end_inset
34714
34715
34716 \end_layout
34717
34718 \begin_layout Description
34719 Verbatim With this method any text file can be included.
34720  The file is shown in the output with its source code; no command used in
34721  the text is invoked.
34722  You can use the option 
34723 \family sans
34724 Mark spaces in output
34725 \family default
34726  that displays the character 
34727 \begin_inset Quotes eld
34728 \end_inset
34729
34730
34731 \begin_inset ERT
34732 status collapsed
34733
34734 \begin_layout Plain Layout
34735
34736
34737 \backslash
34738 textvisiblespace 
34739 \end_layout
34740
34741 \end_inset
34742
34743
34744 \begin_inset Quotes erd
34745 \end_inset
34746
34747  for every space character in the source code.
34748  The difference from the method via the menu 
34749 \family sans
34750 Insert\SpecialChar \menuseparator
34751 File\SpecialChar \menuseparator
34752 Plain
34753 \begin_inset space ~
34754 \end_inset
34755
34756 Text
34757 \family default
34758  is that the document content is not shown in LyX.
34759 \end_layout
34760
34761 \begin_layout Standard
34762 Here is a child document inserted as Verbatim: 
34763 \begin_inset CommandInset include
34764 LatexCommand verbatiminput
34765 filename "DummyTextDocument.txt"
34766
34767 \end_inset
34768
34769
34770 \begin_inset VSpace bigskip
34771 \end_inset
34772
34773  Here is a child document inserted as Verbatim using the 
34774 \family sans
34775 Mark spaces in output
34776 \family default
34777  option: 
34778 \begin_inset CommandInset include
34779 LatexCommand verbatiminput*
34780 filename "DummyTextDocument.txt"
34781
34782 \end_inset
34783
34784
34785 \end_layout
34786
34787 \begin_layout Standard
34788 \begin_inset VSpace bigskip
34789 \end_inset
34790
34791
34792 \end_layout
34793
34794 \begin_layout Standard
34795 \begin_inset Note Greyedout
34796 status open
34797
34798 \begin_layout Plain Layout
34799
34800 \series bold
34801 Note:
34802 \series default
34803  As you can see in the examples above, the text of the documents included
34804  as 
34805 \family sans
34806 verbatim
34807 \family default
34808  is not broken at the end of the document lines.
34809 \end_layout
34810
34811 \end_inset
34812
34813
34814 \end_layout
34815
34816 \begin_layout Description
34817 Listings This type is described in chapter
34818 \begin_inset space ~
34819 \end_inset
34820
34821
34822 \begin_inset CommandInset ref
34823 LatexCommand ref
34824 reference "cha:Program-Code-Listings"
34825
34826 \end_inset
34827
34828 .
34829 \end_layout
34830
34831 \begin_layout Standard
34832 \begin_inset Note Greyedout
34833 status open
34834
34835 \begin_layout Plain Layout
34836
34837 \series bold
34838 Note:
34839 \series default
34840  Including the same document twice in a document using different methods
34841  could cause LaTeX-problems.
34842 \end_layout
34843
34844 \end_inset
34845
34846
34847 \end_layout
34848
34849 \begin_layout Standard
34850 If you want to view/export only selected children of your master document,
34851  either because you want to save compiling time or because you want to distribut
34852 e single chapters of the book you are just writing, you can exclude children
34853  from the output.
34854  This is done via the menu 
34855 \family sans
34856 Document\SpecialChar \menuseparator
34857 Settings\SpecialChar \menuseparator
34858 Child Documents
34859 \family default
34860 .
34861  You can exclude\SpecialChar \slash{}
34862 include children by double-clicking on the 
34863 \family sans
34864 include to output
34865 \family default
34866  column of the respective child document in the list (note that this only
34867  works for documents embedded via 
34868 \begin_inset Quotes eld
34869 \end_inset
34870
34871 Include
34872 \begin_inset Quotes erd
34873 \end_inset
34874
34875 , not with 
34876 \begin_inset Quotes eld
34877 \end_inset
34878
34879 Input
34880 \begin_inset Quotes erd
34881 \end_inset
34882
34883 ).
34884  If the option 
34885 \family sans
34886 Maintain counters and references
34887 \family default
34888  is enabled, LyX will assure that all page numbers, references etc.
34889 \begin_inset space ~
34890 \end_inset
34891
34892 are correct as if the whole document was processed.
34893  This is useful if you want the selected sub-documents to look exactly as
34894  in the context of the whole document.
34895  However, LyX needs to process the whole document in the background for
34896  this feature.
34897  So if you want to save compile time and if counters and references do not
34898  need to be correct, disable this checkbox.
34899 \end_layout
34900
34901 \begin_layout Standard
34902 Alternatively, you can put each included file into a branch.
34903 \begin_inset Foot
34904 status collapsed
34905
34906 \begin_layout Plain Layout
34907 Branches are described in section 
34908 \emph on
34909 Branches
34910 \emph default
34911  of the LyX 
34912 \emph on
34913 Userguide
34914 \emph default
34915 .
34916 \end_layout
34917
34918 \end_inset
34919
34920  By enabling\SpecialChar \slash{}
34921 disabling branches you can decide which included files will
34922  appear in the output.
34923  This has the advantage that it also works with Input'ed sub-documents.
34924  However, counters and references will not be maintained with this approach.
34925 \end_layout
34926
34927 \begin_layout Chapter
34928 Program Code Listings
34929 \begin_inset CommandInset label
34930 LatexCommand label
34931 name "cha:Program-Code-Listings"
34932
34933 \end_inset
34934
34935
34936 \begin_inset Index idx
34937 status collapsed
34938
34939 \begin_layout Plain Layout
34940 Listings
34941 \end_layout
34942
34943 \end_inset
34944
34945
34946 \begin_inset Index idx
34947 status collapsed
34948
34949 \begin_layout Plain Layout
34950 Program Code
34951 \end_layout
34952
34953 \end_inset
34954
34955
34956 \begin_inset Index idx
34957 status collapsed
34958
34959 \begin_layout Plain Layout
34960 Floats ! Listings
34961 \end_layout
34962
34963 \end_inset
34964
34965
34966 \end_layout
34967
34968 \begin_layout Standard
34969 To include and typeset program code you can use the 
34970 \family sans
34971 Listings
34972 \family default
34973  inset that can be inserted via the menu 
34974 \family sans
34975 Insert\SpecialChar \menuseparator
34976 Program Listing
34977 \family default
34978 .
34979  The LaTeX-package 
34980 \series bold
34981 listings
34982 \series default
34983
34984 \begin_inset Index idx
34985 status collapsed
34986
34987 \begin_layout Plain Layout
34988 LaTeX-packages ! listings
34989 \end_layout
34990
34991 \end_inset
34992
34993  provides a powerful and flexible way to insert program source code into
34994  your document.
34995 \end_layout
34996
34997 \begin_layout Standard
34998 Right-clicking on a listings inset opens the context menu containing where
34999  you can set the listings format.
35000 \end_layout
35001
35002 \begin_layout Standard
35003 By default, a listing starts a new paragraph in the output.
35004  The placement option 
35005 \family sans
35006 Inline
35007 \begin_inset space ~
35008 \end_inset
35009
35010 listing
35011 \family default
35012  prints the listing inline like this: 
35013 \begin_inset listings
35014 lstparams "language={C++}"
35015 inline true
35016 status open
35017
35018 \begin_layout Plain Layout
35019
35020 int a=5;
35021 \end_layout
35022
35023 \end_inset
35024
35025
35026 \begin_inset Newline newline
35027 \end_inset
35028
35029 The option 
35030 \family sans
35031 Float
35032 \family default
35033  creates a listings float where you can specify the placement options 
35034 \begin_inset Quotes eld
35035 \end_inset
35036
35037
35038 \family sans
35039 h
35040 \family default
35041
35042 \begin_inset Quotes erd
35043 \end_inset
35044
35045
35046 \begin_inset Quotes eld
35047 \end_inset
35048
35049
35050 \family sans
35051 t
35052 \family default
35053
35054 \begin_inset Quotes erd
35055 \end_inset
35056
35057
35058 \begin_inset Quotes eld
35059 \end_inset
35060
35061
35062 \family sans
35063 b
35064 \family default
35065
35066 \begin_inset Quotes erd
35067 \end_inset
35068
35069 , and 
35070 \begin_inset Quotes eld
35071 \end_inset
35072
35073
35074 \family sans
35075 p
35076 \family default
35077
35078 \begin_inset Quotes erd
35079 \end_inset
35080
35081  corresponding to the float placement options described in section
35082 \begin_inset space ~
35083 \end_inset
35084
35085
35086 \begin_inset CommandInset ref
35087 LatexCommand ref
35088 reference "sec:Float-Placement"
35089
35090 \end_inset
35091
35092 .
35093  The placement options can be mixed and are inserted without any separation,
35094  e.
35095 \begin_inset space \thinspace{}
35096 \end_inset
35097
35098 g.
35099 \begin_inset space \space{}
35100 \end_inset
35101
35102
35103 \begin_inset Quotes eld
35104 \end_inset
35105
35106
35107 \family sans
35108 htbp
35109 \family default
35110
35111 \begin_inset Quotes erd
35112 \end_inset
35113
35114 .
35115  The option 
35116 \begin_inset Quotes eld
35117 \end_inset
35118
35119 h
35120 \begin_inset Quotes erd
35121 \end_inset
35122
35123  has sometimes no effect, but you don't need to use the 
35124 \family sans
35125 Float
35126 \family default
35127  option in this case as also non-float listings can have captions and be
35128  referenced.
35129 \end_layout
35130
35131 \begin_layout Standard
35132 You can add captions to listings with the menu 
35133 \family sans
35134 Insert\SpecialChar \menuseparator
35135 Caption
35136 \family default
35137 .
35138  Listings can be referenced like floats: Listing
35139 \begin_inset space ~
35140 \end_inset
35141
35142
35143 \begin_inset CommandInset ref
35144 LatexCommand ref
35145 reference "lst:Example-Listing"
35146
35147 \end_inset
35148
35149
35150 \end_layout
35151
35152 \begin_layout Standard
35153 \begin_inset listings
35154 lstparams "language=Python"
35155 inline false
35156 status open
35157
35158 \begin_layout Plain Layout
35159
35160 \begin_inset Caption
35161
35162 \begin_layout Plain Layout
35163 \begin_inset CommandInset label
35164 LatexCommand label
35165 name "lst:Example-Listing"
35166
35167 \end_inset
35168
35169 Example Listing float
35170 \end_layout
35171
35172 \end_inset
35173
35174 # Example listing float
35175 \end_layout
35176
35177 \begin_layout Plain Layout
35178
35179 def func(param):
35180 \end_layout
35181
35182 \begin_layout Plain Layout
35183
35184     'this is a python function'
35185 \end_layout
35186
35187 \begin_layout Plain Layout
35188
35189     pass
35190 \end_layout
35191
35192 \end_inset
35193
35194
35195 \end_layout
35196
35197 \begin_layout Standard
35198 When you have set a programming language in the listings dialog, the keywords
35199  of this language will be recognized and specially typeset in the output.
35200  In the example listings the Python keyword 
35201 \begin_inset Quotes eld
35202 \end_inset
35203
35204 def
35205 \begin_inset Quotes erd
35206 \end_inset
35207
35208  is recognized and printed bold in the output.
35209 \end_layout
35210
35211 \begin_layout Standard
35212 \begin_inset Note Greyedout
35213 status open
35214
35215 \begin_layout Plain Layout
35216
35217 \series bold
35218 Note:
35219 \series default
35220  If you don't get bold keywords when using typewriter fonts, your 
35221 \family typewriter
35222 typewriter
35223 \family default
35224  font probably doesn't provide a bold shape.
35225  In this case select a different one in the menu 
35226 \family sans
35227 Document\SpecialChar \menuseparator
35228 Settings\SpecialChar \menuseparator
35229 Fonts
35230 \family default
35231 .
35232  (The fonts 
35233 \emph on
35234 LuxiMono, BeraMono
35235 \emph default
35236  and 
35237 \emph on
35238 Courier
35239 \emph default
35240  provide bold shapes.)
35241 \end_layout
35242
35243 \end_inset
35244
35245
35246 \end_layout
35247
35248 \begin_layout Standard
35249 In section 
35250 \family sans
35251 Line
35252 \begin_inset space ~
35253 \end_inset
35254
35255 numbering
35256 \family default
35257  of the listings dialog you can specify the line numbering style.
35258  You can insert a number to specify which lines are numbered in the field
35259  
35260 \family sans
35261 Step
35262 \family default
35263 .
35264  When you insert e.
35265 \begin_inset space \thinspace{}
35266 \end_inset
35267
35268 g.
35269 \begin_inset space \space{}
35270 \end_inset
35271
35272
35273 \begin_inset Quotes eld
35274 \end_inset
35275
35276 3
35277 \begin_inset Quotes erd
35278 \end_inset
35279
35280 , only every 3rd line will be numbered.
35281 \end_layout
35282
35283 \begin_layout Standard
35284 You can furthermore specify a range of lines; only these will then appear
35285  in the output.
35286  The option 
35287 \family sans
35288 Extended character table
35289 \family default
35290  should be used when you use national characters like the German umlauts
35291  in the listing.
35292 \begin_inset Newline newline
35293 \end_inset
35294
35295 Here is an example listing with left line numbering, step 
35296 \begin_inset Quotes eld
35297 \end_inset
35298
35299 3
35300 \begin_inset Quotes erd
35301 \end_inset
35302
35303 , language 
35304 \begin_inset Quotes eld
35305 \end_inset
35306
35307 Python
35308 \begin_inset Quotes erd
35309 \end_inset
35310
35311 , options 
35312 \begin_inset Quotes eld
35313 \end_inset
35314
35315 Extended character table
35316 \begin_inset Quotes erd
35317 \end_inset
35318
35319  and 
35320 \begin_inset Quotes eld
35321 \end_inset
35322
35323 Space
35324 \begin_inset space ~
35325 \end_inset
35326
35327 as
35328 \begin_inset space ~
35329 \end_inset
35330
35331 symbol
35332 \begin_inset Quotes erd
35333 \end_inset
35334
35335 , range lines 3
35336 \begin_inset space \thinspace{}
35337 \end_inset
35338
35339 -
35340 \begin_inset space \thinspace{}
35341 \end_inset
35342
35343 8:
35344 \end_layout
35345
35346 \begin_layout Standard
35347 \begin_inset listings
35348 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
35349 inline false
35350 status open
35351
35352 \begin_layout Plain Layout
35353
35354 def func(param):
35355 \end_layout
35356
35357 \begin_layout Plain Layout
35358
35359     'this is a python function'
35360 \end_layout
35361
35362 \begin_layout Plain Layout
35363
35364     pass
35365 \end_layout
35366
35367 \begin_layout Plain Layout
35368
35369 def func(param):
35370 \end_layout
35371
35372 \begin_layout Plain Layout
35373
35374 'This is a German word: Tschüß'
35375 \end_layout
35376
35377 \begin_layout Plain Layout
35378
35379 pass
35380 \end_layout
35381
35382 \begin_layout Plain Layout
35383
35384 def func(param):
35385 \end_layout
35386
35387 \begin_layout Plain Layout
35388
35389 'this is a python function'
35390 \end_layout
35391
35392 \begin_layout Plain Layout
35393
35394 pass
35395 \end_layout
35396
35397 \end_inset
35398
35399
35400 \end_layout
35401
35402 \begin_layout Standard
35403 When you have tabulators in your listing, you can specify the number of
35404  characters that are spanned by a tabulator in the field 
35405 \family sans
35406 Tabulator
35407 \begin_inset space ~
35408 \end_inset
35409
35410 size
35411 \family default
35412 .
35413 \end_layout
35414
35415 \begin_layout Standard
35416 \begin_inset Note Greyedout
35417 status open
35418
35419 \begin_layout Plain Layout
35420
35421 \series bold
35422 Note:
35423 \series default
35424  Due to a bug in the 
35425 \series bold
35426 listings
35427 \series default
35428  package the line numbering is shifted by a line by every previous listing.
35429  That's the reason why the lines 2 and 5 are numbered in the above listing
35430  and not the lines 3 and 6.
35431 \end_layout
35432
35433 \end_inset
35434
35435
35436 \end_layout
35437
35438 \begin_layout Standard
35439 \begin_inset VSpace bigskip
35440 \end_inset
35441
35442
35443 \end_layout
35444
35445 \begin_layout Standard
35446 It is also possible to print lines from a file as listing.
35447  To do this, use the menu 
35448 \family sans
35449 Insert\SpecialChar \menuseparator
35450 File\SpecialChar \menuseparator
35451 Child Document
35452 \family default
35453  and choose the type 
35454 \family sans
35455 Listings
35456 \family default
35457 .
35458 \begin_inset Foot
35459 status collapsed
35460
35461 \begin_layout Plain Layout
35462 The other child document types are described in section
35463 \begin_inset space ~
35464 \end_inset
35465
35466
35467 \begin_inset CommandInset ref
35468 LatexCommand ref
35469 reference "sec:Child-Documents"
35470
35471 \end_inset
35472
35473 .
35474 \end_layout
35475
35476 \end_inset
35477
35478  In the child document dialog you can specify the listing parameters in
35479  a text box.
35480  To show a list of all available parameters, type in a question mark 
35481 \begin_inset Quotes eld
35482 \end_inset
35483
35484 ?
35485 \begin_inset Quotes erd
35486 \end_inset
35487
35488  in the text box.
35489 \end_layout
35490
35491 \begin_layout Standard
35492 To reference child document listings, write a label text into the corresponding
35493  field of the child document dialog.
35494  The label can then be referenced using the menu 
35495 \family sans
35496 Insert\SpecialChar \menuseparator
35497 Cross-Reference
35498 \family default
35499 .
35500 \end_layout
35501
35502 \begin_layout Standard
35503 Listing
35504 \begin_inset space ~
35505 \end_inset
35506
35507
35508 \begin_inset CommandInset ref
35509 LatexCommand ref
35510 reference "lst:file-listing"
35511
35512 \end_inset
35513
35514  is an example for a listing of a file; there the lines 10
35515 \begin_inset space \thinspace{}
35516 \end_inset
35517
35518 -
35519 \begin_inset space \thinspace{}
35520 \end_inset
35521
35522 15 of this LyX file are listed.
35523 \end_layout
35524
35525 \begin_layout Standard
35526 \begin_inset CommandInset include
35527 LatexCommand lstinputlisting
35528 filename "EmbeddedObjects.lyx"
35529 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
35530
35531 \end_inset
35532
35533
35534 \end_layout
35535
35536 \begin_layout Standard
35537 \begin_inset VSpace bigskip
35538 \end_inset
35539
35540
35541 \end_layout
35542
35543 \begin_layout Standard
35544 Inserting a formula into a listing can be done the following way:
35545 \end_layout
35546
35547 \begin_layout Enumerate
35548 Open the listings dialog and add
35549 \begin_inset Newline newline
35550 \end_inset
35551
35552
35553 \family sans
35554 mathescape=true
35555 \family default
35556
35557 \begin_inset Newline newline
35558 \end_inset
35559
35560 to the field of the 
35561 \family sans
35562 Advanced
35563 \family default
35564  tab.
35565 \end_layout
35566
35567 \begin_layout Enumerate
35568 Create a formula outside the listing
35569 \end_layout
35570
35571 \begin_layout Enumerate
35572 Copy the content of the formula (not the formula inset) to the clipboard
35573  (shortcut 
35574 \begin_inset Info
35575 type  "shortcut"
35576 arg   "copy"
35577 \end_inset
35578
35579 )
35580 \end_layout
35581
35582 \begin_layout Enumerate
35583 In the listing write 
35584 \begin_inset Quotes eld
35585 \end_inset
35586
35587
35588 \family sans
35589 $$
35590 \family default
35591
35592 \begin_inset Quotes erd
35593 \end_inset
35594
35595  and copy from the clipboard between the dollar-signs (shortcut 
35596 \begin_inset Info
35597 type  "shortcut"
35598 arg   "paste"
35599 \end_inset
35600
35601 )
35602 \end_layout
35603
35604 \begin_layout Standard
35605 \begin_inset listings
35606 lstparams "language=Python,mathescape=true"
35607 inline false
35608 status open
35609
35610 \begin_layout Plain Layout
35611
35612 \begin_inset Caption
35613
35614 \begin_layout Plain Layout
35615 Example Listing float containing a formula
35616 \end_layout
35617
35618 \end_inset
35619
35620 # Example listing float
35621 \end_layout
35622
35623 \begin_layout Plain Layout
35624
35625 def func(param):
35626 \end_layout
35627
35628 \begin_layout Plain Layout
35629
35630     # $
35631 \backslash
35632 prod_{n=1}^{
35633 \backslash
35634 infty}
35635 \backslash
35636 ,
35637 \backslash
35638 frac{1}{x^{2}}$
35639 \end_layout
35640
35641 \begin_layout Plain Layout
35642
35643     pass
35644 \end_layout
35645
35646 \end_inset
35647
35648
35649 \end_layout
35650
35651 \begin_layout Standard
35652 \begin_inset VSpace bigskip
35653 \end_inset
35654
35655
35656 \end_layout
35657
35658 \begin_layout Standard
35659 Global listings settings can be set in the 
35660 \family sans
35661 Document\SpecialChar \menuseparator
35662 Settings\SpecialChar \menuseparator
35663 Listings
35664 \family default
35665  dialog.
35666  To get there a list of available options, type in a question mark 
35667 \begin_inset Quotes eld
35668 \end_inset
35669
35670 ?
35671 \begin_inset Quotes erd
35672 \end_inset
35673
35674 .
35675 \end_layout
35676
35677 \begin_layout Standard
35678 For more information about the 
35679 \series bold
35680 listings
35681 \series default
35682  package, we refer to its documentation 
35683 \begin_inset CommandInset citation
35684 LatexCommand cite
35685 key "listings"
35686
35687 \end_inset
35688
35689 .
35690 \end_layout
35691
35692 \begin_layout Standard
35693 \begin_inset Newpage newpage
35694 \end_inset
35695
35696
35697 \end_layout
35698
35699 \begin_layout Chapter
35700 \start_of_appendix
35701 Units available in LyX
35702 \begin_inset Index idx
35703 status collapsed
35704
35705 \begin_layout Plain Layout
35706 Units
35707 \end_layout
35708
35709 \end_inset
35710
35711
35712 \begin_inset CommandInset label
35713 LatexCommand label
35714 name "cha:Units-available-in"
35715
35716 \end_inset
35717
35718
35719 \end_layout
35720
35721 \begin_layout Standard
35722 To understand the units described in this documentation, Table
35723 \begin_inset space ~
35724 \end_inset
35725
35726
35727 \begin_inset CommandInset ref
35728 LatexCommand ref
35729 reference "tab:Units"
35730
35731 \end_inset
35732
35733  explains all units available in LyX.
35734 \end_layout
35735
35736 \begin_layout Standard
35737 \begin_inset Float table
35738 placement h
35739 wide false
35740 sideways false
35741 status open
35742
35743 \begin_layout Plain Layout
35744 \begin_inset Caption
35745
35746 \begin_layout Plain Layout
35747 \begin_inset CommandInset label
35748 LatexCommand label
35749 name "tab:Units"
35750
35751 \end_inset
35752
35753 Units
35754 \end_layout
35755
35756 \end_inset
35757
35758
35759 \end_layout
35760
35761 \begin_layout Plain Layout
35762 \begin_inset VSpace medskip
35763 \end_inset
35764
35765
35766 \end_layout
35767
35768 \begin_layout Plain Layout
35769 \align center
35770 \begin_inset Tabular
35771 <lyxtabular version="3" rows="20" columns="2">
35772 <features tabularvalignment="middle">
35773 <column alignment="center" valignment="top" width="0">
35774 <column alignment="center" valignment="top" width="0">
35775 <row>
35776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
35777 \begin_inset Text
35778
35779 \begin_layout Plain Layout
35780 unit
35781 \end_layout
35782
35783 \end_inset
35784 </cell>
35785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
35786 \begin_inset Text
35787
35788 \begin_layout Plain Layout
35789 name/description
35790 \end_layout
35791
35792 \end_inset
35793 </cell>
35794 </row>
35795 <row>
35796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35797 \begin_inset Text
35798
35799 \begin_layout Plain Layout
35800 mm
35801 \end_layout
35802
35803 \end_inset
35804 </cell>
35805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35806 \begin_inset Text
35807
35808 \begin_layout Plain Layout
35809 millimeter
35810 \end_layout
35811
35812 \end_inset
35813 </cell>
35814 </row>
35815 <row>
35816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35817 \begin_inset Text
35818
35819 \begin_layout Plain Layout
35820 cm
35821 \end_layout
35822
35823 \end_inset
35824 </cell>
35825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35826 \begin_inset Text
35827
35828 \begin_layout Plain Layout
35829 centimeter
35830 \end_layout
35831
35832 \end_inset
35833 </cell>
35834 </row>
35835 <row>
35836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35837 \begin_inset Text
35838
35839 \begin_layout Plain Layout
35840 in
35841 \end_layout
35842
35843 \end_inset
35844 </cell>
35845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35846 \begin_inset Text
35847
35848 \begin_layout Plain Layout
35849 inch
35850 \end_layout
35851
35852 \end_inset
35853 </cell>
35854 </row>
35855 <row>
35856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35857 \begin_inset Text
35858
35859 \begin_layout Plain Layout
35860 pt
35861 \end_layout
35862
35863 \end_inset
35864 </cell>
35865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35866 \begin_inset Text
35867
35868 \begin_layout Plain Layout
35869 point (72.27
35870 \begin_inset space \thinspace{}
35871 \end_inset
35872
35873 pt = 1
35874 \begin_inset space \thinspace{}
35875 \end_inset
35876
35877 in)
35878 \end_layout
35879
35880 \end_inset
35881 </cell>
35882 </row>
35883 <row>
35884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35885 \begin_inset Text
35886
35887 \begin_layout Plain Layout
35888 pc
35889 \end_layout
35890
35891 \end_inset
35892 </cell>
35893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35894 \begin_inset Text
35895
35896 \begin_layout Plain Layout
35897 pica (1
35898 \begin_inset space \thinspace{}
35899 \end_inset
35900
35901 pc = 12
35902 \begin_inset space \thinspace{}
35903 \end_inset
35904
35905 pt)
35906 \end_layout
35907
35908 \end_inset
35909 </cell>
35910 </row>
35911 <row>
35912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35913 \begin_inset Text
35914
35915 \begin_layout Plain Layout
35916 sp
35917 \end_layout
35918
35919 \end_inset
35920 </cell>
35921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35922 \begin_inset Text
35923
35924 \begin_layout Plain Layout
35925 scaled point (65536
35926 \begin_inset space \thinspace{}
35927 \end_inset
35928
35929 sp = 1
35930 \begin_inset space \thinspace{}
35931 \end_inset
35932
35933 pt)
35934 \end_layout
35935
35936 \end_inset
35937 </cell>
35938 </row>
35939 <row>
35940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35941 \begin_inset Text
35942
35943 \begin_layout Plain Layout
35944 bp
35945 \end_layout
35946
35947 \end_inset
35948 </cell>
35949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35950 \begin_inset Text
35951
35952 \begin_layout Plain Layout
35953 big point (72
35954 \begin_inset space \thinspace{}
35955 \end_inset
35956
35957 bp = 1
35958 \begin_inset space \thinspace{}
35959 \end_inset
35960
35961 in)
35962 \end_layout
35963
35964 \end_inset
35965 </cell>
35966 </row>
35967 <row>
35968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35969 \begin_inset Text
35970
35971 \begin_layout Plain Layout
35972 dd
35973 \end_layout
35974
35975 \end_inset
35976 </cell>
35977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35978 \begin_inset Text
35979
35980 \begin_layout Plain Layout
35981 didot (1
35982 \begin_inset space \thinspace{}
35983 \end_inset
35984
35985 dd 
35986 \begin_inset Formula $\approx$
35987 \end_inset
35988
35989  0.376
35990 \begin_inset space \thinspace{}
35991 \end_inset
35992
35993 mm)
35994 \end_layout
35995
35996 \end_inset
35997 </cell>
35998 </row>
35999 <row>
36000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36001 \begin_inset Text
36002
36003 \begin_layout Plain Layout
36004 cc
36005 \end_layout
36006
36007 \end_inset
36008 </cell>
36009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36010 \begin_inset Text
36011
36012 \begin_layout Plain Layout
36013 cicero (1
36014 \begin_inset space \thinspace{}
36015 \end_inset
36016
36017 cc = 12
36018 \begin_inset space \thinspace{}
36019 \end_inset
36020
36021 dd)
36022 \end_layout
36023
36024 \end_inset
36025 </cell>
36026 </row>
36027 <row>
36028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36029 \begin_inset Text
36030
36031 \begin_layout Plain Layout
36032 Scale%
36033 \end_layout
36034
36035 \end_inset
36036 </cell>
36037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36038 \begin_inset Text
36039
36040 \begin_layout Plain Layout
36041 % of original image width
36042 \end_layout
36043
36044 \end_inset
36045 </cell>
36046 </row>
36047 <row>
36048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36049 \begin_inset Text
36050
36051 \begin_layout Plain Layout
36052 text%
36053 \end_layout
36054
36055 \end_inset
36056 </cell>
36057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36058 \begin_inset Text
36059
36060 \begin_layout Plain Layout
36061 % of text width
36062 \end_layout
36063
36064 \end_inset
36065 </cell>
36066 </row>
36067 <row>
36068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36069 \begin_inset Text
36070
36071 \begin_layout Plain Layout
36072 col%
36073 \end_layout
36074
36075 \end_inset
36076 </cell>
36077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36078 \begin_inset Text
36079
36080 \begin_layout Plain Layout
36081 % of column width
36082 \end_layout
36083
36084 \end_inset
36085 </cell>
36086 </row>
36087 <row>
36088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36089 \begin_inset Text
36090
36091 \begin_layout Plain Layout
36092 page%
36093 \end_layout
36094
36095 \end_inset
36096 </cell>
36097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36098 \begin_inset Text
36099
36100 \begin_layout Plain Layout
36101 % of paper width
36102 \end_layout
36103
36104 \end_inset
36105 </cell>
36106 </row>
36107 <row>
36108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36109 \begin_inset Text
36110
36111 \begin_layout Plain Layout
36112 line%
36113 \end_layout
36114
36115 \end_inset
36116 </cell>
36117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36118 \begin_inset Text
36119
36120 \begin_layout Plain Layout
36121 % of line width
36122 \end_layout
36123
36124 \end_inset
36125 </cell>
36126 </row>
36127 <row>
36128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36129 \begin_inset Text
36130
36131 \begin_layout Plain Layout
36132 theight%
36133 \end_layout
36134
36135 \end_inset
36136 </cell>
36137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36138 \begin_inset Text
36139
36140 \begin_layout Plain Layout
36141 % of text height
36142 \end_layout
36143
36144 \end_inset
36145 </cell>
36146 </row>
36147 <row>
36148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36149 \begin_inset Text
36150
36151 \begin_layout Plain Layout
36152 pheight%
36153 \end_layout
36154
36155 \end_inset
36156 </cell>
36157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36158 \begin_inset Text
36159
36160 \begin_layout Plain Layout
36161 % of paper height
36162 \end_layout
36163
36164 \end_inset
36165 </cell>
36166 </row>
36167 <row>
36168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36169 \begin_inset Text
36170
36171 \begin_layout Plain Layout
36172 ex
36173 \end_layout
36174
36175 \end_inset
36176 </cell>
36177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36178 \begin_inset Text
36179
36180 \begin_layout Plain Layout
36181 height of letter 
36182 \emph on
36183 x
36184 \emph default
36185  in current font
36186 \end_layout
36187
36188 \end_inset
36189 </cell>
36190 </row>
36191 <row>
36192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36193 \begin_inset Text
36194
36195 \begin_layout Plain Layout
36196 em
36197 \end_layout
36198
36199 \end_inset
36200 </cell>
36201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36202 \begin_inset Text
36203
36204 \begin_layout Plain Layout
36205 width of letter 
36206 \emph on
36207 M
36208 \emph default
36209  in current font
36210 \end_layout
36211
36212 \end_inset
36213 </cell>
36214 </row>
36215 <row>
36216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36217 \begin_inset Text
36218
36219 \begin_layout Plain Layout
36220 mu
36221 \end_layout
36222
36223 \end_inset
36224 </cell>
36225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36226 \begin_inset Text
36227
36228 \begin_layout Plain Layout
36229 math unit (1
36230 \begin_inset space \thinspace{}
36231 \end_inset
36232
36233 mu = 1/18
36234 \begin_inset space \thinspace{}
36235 \end_inset
36236
36237 em)
36238 \end_layout
36239
36240 \end_inset
36241 </cell>
36242 </row>
36243 </lyxtabular>
36244
36245 \end_inset
36246
36247
36248 \end_layout
36249
36250 \end_inset
36251
36252
36253 \end_layout
36254
36255 \begin_layout Chapter
36256 Output File Formats with Graphics
36257 \begin_inset CommandInset label
36258 LatexCommand label
36259 name "cha:Output-File-Formats"
36260
36261 \end_inset
36262
36263
36264 \end_layout
36265
36266 \begin_layout Section
36267 DVI
36268 \begin_inset Index idx
36269 status collapsed
36270
36271 \begin_layout Plain Layout
36272 File Formats ! DVI
36273 \end_layout
36274
36275 \end_inset
36276
36277
36278 \begin_inset Index idx
36279 status collapsed
36280
36281 \begin_layout Plain Layout
36282 DVI|see
36283 \begin_inset ERT
36284 status collapsed
36285
36286 \begin_layout Plain Layout
36287
36288 {
36289 \end_layout
36290
36291 \end_inset
36292
36293 File Formats
36294 \begin_inset ERT
36295 status collapsed
36296
36297 \begin_layout Plain Layout
36298
36299 }
36300 \end_layout
36301
36302 \end_inset
36303
36304
36305 \end_layout
36306
36307 \end_inset
36308
36309
36310 \end_layout
36311
36312 \begin_layout Standard
36313 This file type has the extension 
36314 \begin_inset Quotes eld
36315 \end_inset
36316
36317
36318 \family typewriter
36319 .dvi
36320 \family default
36321
36322 \begin_inset Quotes erd
36323 \end_inset
36324
36325 .
36326  It is called 
36327 \begin_inset Quotes eld
36328 \end_inset
36329
36330 device-independent
36331 \begin_inset Quotes erd
36332 \end_inset
36333
36334  (DVI), because it is completely portable; you can move them from one machine
36335  to another without needing to do any sort of conversion.
36336  At the time when this file-format was developed, this was no matter of
36337  course.
36338  DVIs are used for quick previews and as pre-stage for other output formats,
36339  like PostScript.
36340 \end_layout
36341
36342 \begin_layout Standard
36343 \begin_inset Note Greyedout
36344 status open
36345
36346 \begin_layout Plain Layout
36347
36348 \series bold
36349 Note:
36350 \series default
36351  DVI-files do not contain images; they will only be a linked.
36352 \end_layout
36353
36354 \end_inset
36355
36356  So don't forget this, if you move your 
36357 \family typewriter
36358 .dvi
36359 \family default
36360  file to another computer.
36361  This property can also slow down your computer when you view the DVI, because
36362  the DVI-viewer has to convert the image in the background to make it visible
36363  when you scroll in the DVI.
36364  So it is recommended that you use PDF for files with many images.
36365 \end_layout
36366
36367 \begin_layout Standard
36368 You can export your document to DVI by using the menu 
36369 \family sans
36370 File\SpecialChar \menuseparator
36371 Export\SpecialChar \menuseparator
36372 DVI
36373 \family default
36374 .
36375  You can view your document as DVI via the 
36376 \family sans
36377 View
36378 \family default
36379  menu or by using the toolbar button 
36380 \begin_inset Graphics
36381         filename ../images/buffer-view_dvi.png
36382         scale 85
36383         scaleBeforeRotation
36384
36385 \end_inset
36386
36387 .
36388 \end_layout
36389
36390 \begin_layout Section
36391 PostScript
36392 \begin_inset CommandInset label
36393 LatexCommand label
36394 name "sec:PostScript"
36395
36396 \end_inset
36397
36398
36399 \begin_inset Index idx
36400 status collapsed
36401
36402 \begin_layout Plain Layout
36403 File Formats ! PostScript
36404 \end_layout
36405
36406 \end_inset
36407
36408
36409 \begin_inset Index idx
36410 status collapsed
36411
36412 \begin_layout Plain Layout
36413 PostScript|see
36414 \begin_inset ERT
36415 status collapsed
36416
36417 \begin_layout Plain Layout
36418
36419 {
36420 \end_layout
36421
36422 \end_inset
36423
36424 File Formats
36425 \begin_inset ERT
36426 status collapsed
36427
36428 \begin_layout Plain Layout
36429
36430 }
36431 \end_layout
36432
36433 \end_inset
36434
36435
36436 \end_layout
36437
36438 \end_inset
36439
36440
36441 \end_layout
36442
36443 \begin_layout Standard
36444 This file type has the extension 
36445 \begin_inset Quotes eld
36446 \end_inset
36447
36448
36449 \family typewriter
36450 .ps
36451 \family default
36452
36453 \begin_inset Quotes erd
36454 \end_inset
36455
36456 .
36457  PostScript was developed by the company 
36458 \family typewriter
36459 Adobe
36460 \family default
36461  as a printer language.
36462  The file therefore contains commands that the printer uses to print the
36463  file.
36464  PostScript can be seen as a 
36465 \begin_inset Quotes eld
36466 \end_inset
36467
36468 programming language
36469 \begin_inset Quotes erd
36470 \end_inset
36471
36472 ; you can calculate with it and draw diagrams and images
36473 \begin_inset Foot
36474 status collapsed
36475
36476 \begin_layout Plain Layout
36477 If you are interested to learn more about this, have a look at the LaTeX-package
36478  
36479 \series bold
36480 PSTricks
36481 \series default
36482  
36483 \begin_inset CommandInset citation
36484 LatexCommand cite
36485 key "pstricks"
36486
36487 \end_inset
36488
36489 .
36490 \end_layout
36491
36492 \end_inset
36493
36494 .
36495  Due to this ability, the files are often bigger than PDFs.
36496 \end_layout
36497
36498 \begin_layout Standard
36499 PostScript can only contain images in the format 
36500 \begin_inset Quotes eld
36501 \end_inset
36502
36503 Encapsulated PostScript
36504 \begin_inset Quotes erd
36505 \end_inset
36506
36507  (EPS, file extension 
36508 \begin_inset Quotes eld
36509 \end_inset
36510
36511
36512 \family typewriter
36513 .eps
36514 \family default
36515
36516 \begin_inset Quotes erd
36517 \end_inset
36518
36519 ).
36520  As LyX allows you to use any known image format in your document, it has
36521  to convert images in the background to EPS.
36522  If you have e.g.
36523 \begin_inset space ~
36524 \end_inset
36525
36526 50
36527 \begin_inset space ~
36528 \end_inset
36529
36530 images in your document, LyX has to do 50
36531 \begin_inset space ~
36532 \end_inset
36533
36534 conversions whenever you view or export your document.
36535  This will slow down your work flow with LyX drastically.
36536  So if you plan to use PostScript, you can insert your images directly as
36537  EPS to avoid this problem.
36538 \end_layout
36539
36540 \begin_layout Standard
36541 You can export your document to PostScript using the menu 
36542 \family sans
36543 File\SpecialChar \menuseparator
36544 Export\SpecialChar \menuseparator
36545 Postscript
36546 \family default
36547 .
36548  You can view your document as PostScript via the 
36549 \family sans
36550 View
36551 \family default
36552  menu or by using the toolbar button 
36553 \begin_inset Graphics
36554         filename ../images/buffer-view_ps.png
36555         scale 85
36556         scaleBeforeRotation
36557
36558 \end_inset
36559
36560 .
36561 \end_layout
36562
36563 \begin_layout Section
36564 PDF
36565 \begin_inset Index idx
36566 status collapsed
36567
36568 \begin_layout Plain Layout
36569 File Formats ! PDF
36570 \end_layout
36571
36572 \end_inset
36573
36574
36575 \begin_inset Index idx
36576 status collapsed
36577
36578 \begin_layout Plain Layout
36579 PDF
36580 \end_layout
36581
36582 \end_inset
36583
36584
36585 \end_layout
36586
36587 \begin_layout Standard
36588 This file type has the extension 
36589 \begin_inset Quotes eld
36590 \end_inset
36591
36592
36593 \family typewriter
36594 .pdf
36595 \family default
36596
36597 \begin_inset Quotes erd
36598 \end_inset
36599
36600 .
36601  The 
36602 \begin_inset Quotes eld
36603 \end_inset
36604
36605 Portable Document Format
36606 \begin_inset Quotes erd
36607 \end_inset
36608
36609  (PDF) was developed by 
36610 \family typewriter
36611 Adobe
36612 \family default
36613  as a derivative of PostScript.
36614  It is more compressed and it uses fewer commands than PostScript.
36615  As the name 
36616 \begin_inset Quotes eld
36617 \end_inset
36618
36619 portable
36620 \begin_inset Quotes erd
36621 \end_inset
36622
36623  implies, it can be processed at any computer system and the printed output
36624  looks exactly the same.
36625 \end_layout
36626
36627 \begin_layout Standard
36628 PDF can contain images in its own PDF format, in the format 
36629 \begin_inset Quotes eld
36630 \end_inset
36631
36632 Joint Photographic Experts Group
36633 \begin_inset Quotes erd
36634 \end_inset
36635
36636  (JPG, file extension 
36637 \begin_inset Quotes eld
36638 \end_inset
36639
36640
36641 \family typewriter
36642 .jpg
36643 \family default
36644
36645 \begin_inset Quotes erd
36646 \end_inset
36647
36648  or 
36649 \begin_inset Quotes eld
36650 \end_inset
36651
36652
36653 \family typewriter
36654 .jpeg
36655 \family default
36656
36657 \begin_inset Quotes erd
36658 \end_inset
36659
36660 ), and in the format 
36661 \begin_inset Quotes eld
36662 \end_inset
36663
36664 Portable Network Graphics
36665 \begin_inset Quotes erd
36666 \end_inset
36667
36668  (PNG, file extension 
36669 \begin_inset Quotes eld
36670 \end_inset
36671
36672
36673 \family typewriter
36674 .png
36675 \family default
36676
36677 \begin_inset Quotes erd
36678 \end_inset
36679
36680 ).
36681  Nevertheless you can use any other image format, because LyX converts them
36682  in the background to one of these formats.
36683  But as described in the section about PostScript, the image conversion
36684  will slow down your work flow.
36685  So it is recommended that you use images in one of the three mentioned
36686  formats.
36687 \end_layout
36688
36689 \begin_layout Standard
36690 You can export your document to PDF via the menu 
36691 \family sans
36692 File\SpecialChar \menuseparator
36693 Export
36694 \family default
36695  in three different ways:
36696 \end_layout
36697
36698 \begin_layout Description
36699 PDF
36700 \begin_inset space ~
36701 \end_inset
36702
36703 (ps2pdf) This uses the program 
36704 \family typewriter
36705 ps2pdf
36706 \family default
36707  that creates a PDF from a PostScript-version of your file.
36708  The PostScript-version is produced by the program 
36709 \family typewriter
36710 dvips
36711 \family default
36712  which uses a DVI-version as intermediate step.
36713  So this export variant consists of three conversions.
36714 \end_layout
36715
36716 \begin_layout Description
36717 PDF
36718 \begin_inset space ~
36719 \end_inset
36720
36721 (dvipdfm) This uses the program 
36722 \family typewriter
36723 dvipdfm
36724 \family default
36725  that converts your file in the background to DVI and in a second step to
36726  PDF.
36727 \end_layout
36728
36729 \begin_layout Description
36730 PDF
36731 \begin_inset space ~
36732 \end_inset
36733
36734 (pdflatex) This uses the program 
36735 \family typewriter
36736 pdftex
36737 \family default
36738  that converts your file directly to PDF.
36739 \end_layout
36740
36741 \begin_layout Standard
36742 It is recommended that you use 
36743 \family sans
36744 PDF
36745 \begin_inset space ~
36746 \end_inset
36747
36748 (pdflatex)
36749 \family default
36750  because 
36751 \family typewriter
36752 pdftex
36753 \family default
36754  supports all features of actual PDF-versions, is quick and works stable.
36755  The program 
36756 \family typewriter
36757 dvipdfm
36758 \family default
36759  is not under development and therefore a bit outdated.
36760 \end_layout
36761
36762 \begin_layout Standard
36763 You can view your document as PDF via the 
36764 \family sans
36765 View
36766 \family default
36767  menu or by using the toolbar button 
36768 \begin_inset Graphics
36769         filename ../images/buffer-view_pdf2.png
36770         scale 85
36771         scaleBeforeRotation
36772
36773 \end_inset
36774
36775  
36776 \family sans
36777 (
36778 \family default
36779 that uses 
36780 \family sans
36781 PDF
36782 \begin_inset space ~
36783 \end_inset
36784
36785 (pdflatex)
36786 \family default
36787 ).
36788 \end_layout
36789
36790 \begin_layout Chapter
36791 Explanation of Equation
36792 \begin_inset space ~
36793 \end_inset
36794
36795 (
36796 \begin_inset CommandInset ref
36797 LatexCommand ref
36798 reference "eq:Wgn"
36799
36800 \end_inset
36801
36802 )
36803 \begin_inset CommandInset label
36804 LatexCommand label
36805 name "cha:Explanation-of-Equation"
36806
36807 \end_inset
36808
36809
36810 \end_layout
36811
36812 \begin_layout Standard
36813 We can calculate the total width of 
36814 \emph on
36815 n
36816 \emph default
36817  table cells 
36818 \begin_inset Formula $W_{\mathrm{tot\, n}}$
36819 \end_inset
36820
36821  as follows:
36822 \end_layout
36823
36824 \begin_layout Standard
36825 \begin_inset Formula 
36826 \begin{equation}
36827 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
36828 \end{equation}
36829
36830 \end_inset
36831
36832 where 
36833 \begin_inset Formula $W_{g\, n}$
36834 \end_inset
36835
36836  is the given width of all cells, 
36837 \series bold
36838
36839 \backslash
36840 tabcolsep
36841 \series default
36842  is the LaTeX-length between the cell text and the cell border (its default
36843  value is 6
36844 \begin_inset space \thinspace{}
36845 \end_inset
36846
36847 pt).
36848  
36849 \series bold
36850
36851 \backslash
36852 arrayrulewidth
36853 \series default
36854  is the thickness of the cell border line, the default is 0.4
36855 \begin_inset space \thinspace{}
36856 \end_inset
36857
36858 pt.
36859 \end_layout
36860
36861 \begin_layout Standard
36862 Following equation
36863 \begin_inset space ~
36864 \end_inset
36865
36866
36867 \begin_inset CommandInset ref
36868 LatexCommand eqref
36869 reference "eq:Wtot_n"
36870
36871 \end_inset
36872
36873 , the total width of a multicolumn 
36874 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
36875 \end_inset
36876
36877  is
36878 \end_layout
36879
36880 \begin_layout Standard
36881 \begin_inset Formula 
36882 \begin{equation}
36883 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
36884 \end{equation}
36885
36886 \end_inset
36887
36888
36889 \end_layout
36890
36891 \begin_layout Standard
36892 By setting equation
36893 \begin_inset space ~
36894 \end_inset
36895
36896
36897 \begin_inset CommandInset ref
36898 LatexCommand eqref
36899 reference "eq:Wtot_n"
36900
36901 \end_inset
36902
36903  and 
36904 \begin_inset CommandInset ref
36905 LatexCommand eqref
36906 reference "eq:Wtot_mult"
36907
36908 \end_inset
36909
36910  equal we can calculate the needed given width 
36911 \begin_inset Formula $W_{g\, n}$
36912 \end_inset
36913
36914  when 
36915 \emph on
36916 n
36917 \emph default
36918  columns are spanned, so that each column has a total width of 
36919 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
36920 \end_inset
36921
36922 :
36923 \end_layout
36924
36925 \begin_layout Standard
36926 \begin_inset Formula 
36927 \begin{equation}
36928 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
36929 \end{equation}
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 "latexcompanion"
36941
36942 \end_inset
36943
36944 Frank Mittelbach and Michel Goossens: 
36945 \emph on
36946 The LaTeX Companion Second Edition.
36947
36948 \emph default
36949  Addison-Wesley, 2004
36950 \end_layout
36951
36952 \begin_layout Bibliography
36953 \labelwidthstring Bibliography
36954 \begin_inset CommandInset bibitem
36955 LatexCommand bibitem
36956 key "latexguide"
36957
36958 \end_inset
36959
36960 Helmut Kopka and Patrick W.
36961  Daly: 
36962 \emph on
36963 A Guide to LaTeX Fourth Edition.
36964
36965 \emph default
36966  Addison-Wesley, 2003
36967 \end_layout
36968
36969 \begin_layout Bibliography
36970 \labelwidthstring Bibliography
36971 \begin_inset CommandInset bibitem
36972 LatexCommand bibitem
36973 key "latexbook"
36974
36975 \end_inset
36976
36977 Leslie Lamport: 
36978 \emph on
36979 LaTeX: A Document Preparation System.
36980
36981 \emph default
36982  Addison-Wesley, second edition, 1994
36983 \end_layout
36984
36985 \begin_layout Bibliography
36986 \labelwidthstring Bibliography
36987 \begin_inset CommandInset bibitem
36988 LatexCommand bibitem
36989 key "booktabs"
36990
36991 \end_inset
36992
36993 Documentation of the LaTeX-package 
36994 \series bold
36995
36996 \begin_inset CommandInset href
36997 LatexCommand href
36998 name "booktabs"
36999 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
37000
37001 \end_inset
37002
37003
37004 \series default
37005
37006 \begin_inset Index idx
37007 status collapsed
37008
37009 \begin_layout Plain Layout
37010 LaTeX-packages ! booktabs
37011 \end_layout
37012
37013 \end_inset
37014
37015
37016 \end_layout
37017
37018 \begin_layout Bibliography
37019 \labelwidthstring Bibliography
37020 \begin_inset CommandInset bibitem
37021 LatexCommand bibitem
37022 key "caption"
37023
37024 \end_inset
37025
37026 Documentation of the LaTeX-package 
37027 \series bold
37028
37029 \begin_inset CommandInset href
37030 LatexCommand href
37031 name "caption"
37032 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
37033
37034 \end_inset
37035
37036
37037 \series default
37038
37039 \begin_inset Index idx
37040 status collapsed
37041
37042 \begin_layout Plain Layout
37043 LaTeX-packages ! caption
37044 \end_layout
37045
37046 \end_inset
37047
37048
37049 \end_layout
37050
37051 \begin_layout Bibliography
37052 \labelwidthstring Bibliography
37053 \begin_inset CommandInset bibitem
37054 LatexCommand bibitem
37055 key "endfloat"
37056
37057 \end_inset
37058
37059 Documentation of the LaTeX-package 
37060 \series bold
37061
37062 \begin_inset CommandInset href
37063 LatexCommand href
37064 name "endfloat"
37065 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
37066
37067 \end_inset
37068
37069
37070 \series default
37071
37072 \begin_inset Index idx
37073 status collapsed
37074
37075 \begin_layout Plain Layout
37076 LaTeX-packages ! endfloat
37077 \end_layout
37078
37079 \end_inset
37080
37081
37082 \end_layout
37083
37084 \begin_layout Bibliography
37085 \labelwidthstring Bibliography
37086 \begin_inset CommandInset bibitem
37087 LatexCommand bibitem
37088 key "footmisc"
37089
37090 \end_inset
37091
37092 Documentation of the LaTeX-package 
37093 \series bold
37094
37095 \begin_inset CommandInset href
37096 LatexCommand href
37097 name "footmisc"
37098 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
37099
37100 \end_inset
37101
37102
37103 \series default
37104
37105 \begin_inset Index idx
37106 status collapsed
37107
37108 \begin_layout Plain Layout
37109 LaTeX-packages ! footmisc
37110 \end_layout
37111
37112 \end_inset
37113
37114
37115 \end_layout
37116
37117 \begin_layout Bibliography
37118 \labelwidthstring Bibliography
37119 \begin_inset CommandInset bibitem
37120 LatexCommand bibitem
37121 key "hypcap"
37122
37123 \end_inset
37124
37125 Documentation of the LaTeX-package 
37126 \series bold
37127
37128 \begin_inset CommandInset href
37129 LatexCommand href
37130 name "hypcap"
37131 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
37132
37133 \end_inset
37134
37135
37136 \series default
37137
37138 \begin_inset Index idx
37139 status collapsed
37140
37141 \begin_layout Plain Layout
37142 LaTeX-packages ! hyperref
37143 \end_layout
37144
37145 \end_inset
37146
37147
37148 \end_layout
37149
37150 \begin_layout Bibliography
37151 \labelwidthstring Bibliography
37152 \begin_inset CommandInset bibitem
37153 LatexCommand bibitem
37154 key "hyperref"
37155
37156 \end_inset
37157
37158 Documentation of the LaTeX-package 
37159 \series bold
37160
37161 \begin_inset CommandInset href
37162 LatexCommand href
37163 name "hyperref"
37164 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
37165
37166 \end_inset
37167
37168
37169 \series default
37170
37171 \begin_inset Index idx
37172 status collapsed
37173
37174 \begin_layout Plain Layout
37175 LaTeX-packages ! hyperref
37176 \end_layout
37177
37178 \end_inset
37179
37180
37181 \end_layout
37182
37183 \begin_layout Bibliography
37184 \labelwidthstring Bibliography
37185 \begin_inset CommandInset bibitem
37186 LatexCommand bibitem
37187 key "KOMA-Script"
37188
37189 \end_inset
37190
37191 Documentation of the LaTeX-package 
37192 \series bold
37193
37194 \begin_inset CommandInset href
37195 LatexCommand href
37196 name "KOMA-Script"
37197 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
37198
37199 \end_inset
37200
37201
37202 \series default
37203
37204 \begin_inset Index idx
37205 status collapsed
37206
37207 \begin_layout Plain Layout
37208 LaTeX-packages ! KOMA-Script
37209 \end_layout
37210
37211 \end_inset
37212
37213
37214 \end_layout
37215
37216 \begin_layout Bibliography
37217 \labelwidthstring Bibliography
37218 \begin_inset CommandInset bibitem
37219 LatexCommand bibitem
37220 key "listings"
37221
37222 \end_inset
37223
37224 Documentation of the LaTeX-package 
37225 \series bold
37226
37227 \begin_inset CommandInset href
37228 LatexCommand href
37229 name "listings"
37230 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
37231
37232 \end_inset
37233
37234
37235 \series default
37236
37237 \begin_inset Index idx
37238 status collapsed
37239
37240 \begin_layout Plain Layout
37241 LaTeX-packages ! listings
37242 \end_layout
37243
37244 \end_inset
37245
37246
37247 \end_layout
37248
37249 \begin_layout Bibliography
37250 \labelwidthstring Bibliography
37251 \begin_inset CommandInset bibitem
37252 LatexCommand bibitem
37253 key "marginnote"
37254
37255 \end_inset
37256
37257 Documentation of the LaTeX-package 
37258 \series bold
37259
37260 \begin_inset CommandInset href
37261 LatexCommand href
37262 name "marginnote"
37263 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
37264
37265 \end_inset
37266
37267
37268 \series default
37269
37270 \begin_inset Index idx
37271 status collapsed
37272
37273 \begin_layout Plain Layout
37274 LaTeX-packages ! marginnote
37275 \end_layout
37276
37277 \end_inset
37278
37279
37280 \end_layout
37281
37282 \begin_layout Bibliography
37283 \labelwidthstring Bibliography
37284 \begin_inset CommandInset bibitem
37285 LatexCommand bibitem
37286 key "lettrine"
37287
37288 \end_inset
37289
37290 Documentation of the LaTeX-package 
37291 \series bold
37292
37293 \begin_inset CommandInset href
37294 LatexCommand href
37295 name "lettrine"
37296 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
37297
37298 \end_inset
37299
37300
37301 \series default
37302  and an 
37303 \begin_inset CommandInset href
37304 LatexCommand href
37305 name "example"
37306 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
37307
37308 \end_inset
37309
37310
37311 \begin_inset Index idx
37312 status collapsed
37313
37314 \begin_layout Plain Layout
37315 LaTeX-packages ! lettrine
37316 \end_layout
37317
37318 \end_inset
37319
37320
37321 \end_layout
37322
37323 \begin_layout Bibliography
37324 \labelwidthstring Bibliography
37325 \begin_inset CommandInset bibitem
37326 LatexCommand bibitem
37327 key "pstricks"
37328
37329 \end_inset
37330
37331 Web page of the LaTeX-package 
37332 \series bold
37333
37334 \begin_inset CommandInset href
37335 LatexCommand href
37336 name "PSTricks"
37337 target "http://tug.org/PSTricks/"
37338
37339 \end_inset
37340
37341
37342 \series default
37343
37344 \begin_inset Index idx
37345 status collapsed
37346
37347 \begin_layout Plain Layout
37348 LaTeX-packages ! PSTricks
37349 \end_layout
37350
37351 \end_inset
37352
37353
37354 \end_layout
37355
37356 \begin_layout Bibliography
37357 \labelwidthstring Bibliography
37358 \begin_inset CommandInset bibitem
37359 LatexCommand bibitem
37360 key "sidecap"
37361
37362 \end_inset
37363
37364 Documentation of the LaTeX-package 
37365 \series bold
37366
37367 \begin_inset CommandInset href
37368 LatexCommand href
37369 name "sidecap"
37370 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
37371
37372 \end_inset
37373
37374
37375 \series default
37376
37377 \begin_inset Index idx
37378 status collapsed
37379
37380 \begin_layout Plain Layout
37381 LaTeX-packages ! sidecap
37382 \end_layout
37383
37384 \end_inset
37385
37386
37387 \end_layout
37388
37389 \begin_layout Bibliography
37390 \labelwidthstring Bibliography
37391 \begin_inset CommandInset bibitem
37392 LatexCommand bibitem
37393 key "prettyref"
37394
37395 \end_inset
37396
37397 Documentation of the LaTeX-package 
37398 \series bold
37399
37400 \begin_inset CommandInset href
37401 LatexCommand href
37402 name "prettyref"
37403 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
37404
37405 \end_inset
37406
37407
37408 \series default
37409
37410 \begin_inset Index idx
37411 status collapsed
37412
37413 \begin_layout Plain Layout
37414 LaTeX-packages ! prettyref
37415 \end_layout
37416
37417 \end_inset
37418
37419
37420 \end_layout
37421
37422 \begin_layout Bibliography
37423 \labelwidthstring Bibliography
37424 \begin_inset CommandInset bibitem
37425 LatexCommand bibitem
37426 key "refstyle"
37427
37428 \end_inset
37429
37430 Documentation of the LaTeX-package 
37431 \series bold
37432
37433 \begin_inset CommandInset href
37434 LatexCommand href
37435 name "refstyle"
37436 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
37437
37438 \end_inset
37439
37440
37441 \series default
37442
37443 \begin_inset Index idx
37444 status collapsed
37445
37446 \begin_layout Plain Layout
37447 LaTeX-packages ! refstyle
37448 \end_layout
37449
37450 \end_inset
37451
37452
37453 \end_layout
37454
37455 \begin_layout Bibliography
37456 \labelwidthstring Bibliography
37457 \begin_inset CommandInset bibitem
37458 LatexCommand bibitem
37459 key "NewInLyX20"
37460
37461 \end_inset
37462
37463
37464 \begin_inset CommandInset href
37465 LatexCommand href
37466 name "Wiki page"
37467 target "http://wiki.lyx.org/LyX/NewInLyX20"
37468
37469 \end_inset
37470
37471  about new features in 
37472 \family sans
37473 LyX 2.0
37474 \family default
37475 .
37476 \end_layout
37477
37478 \begin_layout Standard
37479 \begin_inset CommandInset index_print
37480 LatexCommand printindex
37481 type "idx"
37482
37483 \end_inset
37484
37485
37486 \end_layout
37487
37488 \end_body
37489 \end_document