]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
25b05a2c1d7dbe8b0150dbe529cb2cbf7d3fcc9f
[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
153 % check for lettrine
154 \newboolean{lettrine}
155 \IfFileExists{lettrine.sty}
156  {\usepackage{lettrine}
157   \setboolean{lettrine}{true}}
158  {\setboolean{lettrine}{false}}
159 \end_preamble
160 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
161 \use_default_options false
162 \begin_modules
163 initials
164 \end_modules
165 \maintain_unincluded_children false
166 \language english
167 \language_package default
168 \inputencoding auto
169 \fontencoding global
170 \font_roman default
171 \font_sans default
172 \font_typewriter default
173 \font_default_family default
174 \use_non_tex_fonts false
175 \font_sc false
176 \font_osf false
177 \font_sf_scale 100
178 \font_tt_scale 100
179
180 \graphics default
181 \default_output_format default
182 \output_sync 0
183 \bibtex_command default
184 \index_command default
185 \paperfontsize 12
186 \spacing single
187 \use_hyperref true
188 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
189 \pdf_author "LyX Team, Uwe Stöhr"
190 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
191 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
192 \pdf_bookmarks true
193 \pdf_bookmarksnumbered true
194 \pdf_bookmarksopen true
195 \pdf_bookmarksopenlevel 1
196 \pdf_breaklinks false
197 \pdf_pdfborder false
198 \pdf_colorlinks true
199 \pdf_backref false
200 \pdf_pdfusetitle false
201 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
202 \papersize default
203 \use_geometry false
204 \use_amsmath 2
205 \use_esint 0
206 \use_mhchem 1
207 \use_mathdots 1
208 \cite_engine basic
209 \use_bibtopic false
210 \use_indices false
211 \paperorientation portrait
212 \suppress_date false
213 \use_refstyle 0
214 \notefontcolor #0000ff
215 \index Index
216 \shortcut idx
217 \color #008000
218 \end_index
219 \secnumdepth 3
220 \tocdepth 3
221 \paragraph_separation skip
222 \defskip medskip
223 \quotes_language english
224 \papercolumns 1
225 \papersides 2
226 \paperpagestyle default
227 \bullet 1 1 34 -1
228 \bullet 2 2 35 -1
229 \bullet 3 2 7 -1
230 \tracking_changes false
231 \output_changes false
232 \html_math_output 0
233 \html_css_as_file 0
234 \html_be_strict false
235 \end_header
236
237 \begin_body
238
239 \begin_layout Title
240 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
241  manual
242 \end_layout
243
244 \begin_layout Author
245 by the LyX Team
246 \begin_inset Foot
247 status collapsed
248
249 \begin_layout Plain Layout
250 \noindent
251 If you have comments or error corrections, please send them to the LyX Documenta
252 tion mailing list: 
253 \begin_inset CommandInset href
254 LatexCommand href
255 name "lyx-docs@lists.lyx.org"
256 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
257 type "mailto:"
258
259 \end_inset
260
261
262 \end_layout
263
264 \end_inset
265
266
267 \begin_inset Note Note
268 status collapsed
269
270 \begin_layout Plain Layout
271 author: Uwe Stöhr
272 \end_layout
273
274 \end_inset
275
276
277 \begin_inset Newline newline
278 \end_inset
279
280
281 \begin_inset Newline newline
282 \end_inset
283
284
285 \family sans
286 Version 2.0.x
287 \end_layout
288
289 \begin_layout Standard
290 \begin_inset CommandInset toc
291 LatexCommand tableofcontents
292
293 \end_inset
294
295
296 \end_layout
297
298 \begin_layout Standard
299 \begin_inset Note Note
300 status open
301
302 \begin_layout Plain Layout
303 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
304  
305 \series bold
306 arydshln
307 \series default
308
309 \series bold
310 colortbl
311 \series default
312
313 \series bold
314 lettrine, marginnote, picinpar
315 \series default
316  and 
317 \series bold
318 sidecap
319 \series default
320  must be installed.
321  If they are not installed you can export the document anyway but the sections
322  where the packages are required won't appear in the output.
323 \end_layout
324
325 \begin_layout Plain Layout
326 The latest PDF-version of this document can be found here:
327 \begin_inset Newline newline
328 \end_inset
329
330
331 \series bold
332 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
333 \end_layout
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Chapter
341 Figures
342 \begin_inset Index idx
343 status collapsed
344
345 \begin_layout Plain Layout
346 Figures
347 \end_layout
348
349 \end_inset
350
351
352 \begin_inset Index idx
353 status collapsed
354
355 \begin_layout Plain Layout
356 Graphics|see
357 \begin_inset ERT
358 status collapsed
359
360 \begin_layout Plain Layout
361
362 {
363 \end_layout
364
365 \end_inset
366
367 Figures
368 \begin_inset ERT
369 status collapsed
370
371 \begin_layout Plain Layout
372
373 }
374 \end_layout
375
376 \end_inset
377
378
379 \end_layout
380
381 \end_inset
382
383
384 \end_layout
385
386 \begin_layout Section
387 Graphics Dialog
388 \begin_inset Index idx
389 status collapsed
390
391 \begin_layout Plain Layout
392 Figures ! Graphics Dialog
393 \end_layout
394
395 \end_inset
396
397
398 \begin_inset CommandInset label
399 LatexCommand label
400 name "sec:Graphics-Dialog"
401
402 \end_inset
403
404
405 \end_layout
406
407 \begin_layout Standard
408 To insert an image into your document, place the cursor at the text position
409  you want and click on the toolbar icon 
410 \begin_inset Graphics
411         filename ../images/dialog-show-new-inset_graphics.png
412         scale 85
413         scaleBeforeRotation
414
415 \end_inset
416
417  or use the menu 
418 \family sans
419 Insert\SpecialChar \menuseparator
420 Graphics
421 \family default
422 .
423  Then a dialog will appear to choose the file to load.
424  The image will appear in the output exactly at the position where it is
425  in the text.
426 \end_layout
427
428 \begin_layout Standard
429 The graphics dialog can be called at any time by clicking on an image.
430  This dialog has three tabs:
431 \end_layout
432
433 \begin_layout Description
434
435 \family sans
436 Graphics
437 \family default
438  Here you can choose an image file and adjust its appearance in the output.
439  The available units for the image size are explained in appendix
440 \begin_inset space ~
441 \end_inset
442
443
444 \begin_inset CommandInset ref
445 LatexCommand ref
446 reference "cha:Units-available-in"
447
448 \end_inset
449
450 .
451 \begin_inset Newline newline
452 \end_inset
453
454
455 \begin_inset Index idx
456 status collapsed
457
458 \begin_layout Plain Layout
459 Figures ! rotated
460 \end_layout
461
462 \end_inset
463
464 You can rotate images counter-clockwise by setting a rotation angle and
465  a rotation origin.
466  The image will also be rotated inside LyX.
467 \begin_inset Newline newline
468 \end_inset
469
470
471 \begin_inset Index idx
472 status collapsed
473
474 \begin_layout Plain Layout
475 Figures ! scaled
476 \end_layout
477
478 \end_inset
479
480 Images can be scaled by using a percentage value or by setting the width
481  and height explicitly.
482  If you set only the width or only the height, the other size will be determined
483  automatically.
484  If you set both, then the image will be transformed to the given size,
485  possibly distorting it.
486  To prevent the image from distortion, use the option 
487 \family sans
488 Maintain aspect ratio
489 \family default
490 .
491  The image will then be scaled so that its width and height don't exceed
492  the specified dimensions.
493 \begin_inset Newline newline
494 \end_inset
495
496 Images can be opened in a program of your choice by right-clicking on it
497  and choosing the entry 
498 \family sans
499 Edit
500 \begin_inset space ~
501 \end_inset
502
503 externally
504 \family default
505  in the context menu.
506  The program can be set for every image format in the file format settings
507  in LyX's preferences.
508 \end_layout
509
510 \begin_layout Description
511
512 \family sans
513 Clipping
514 \family default
515  Alternatively to the usage of scaling units it is possible to set image
516  coordinates to adjust the height and width of the image in the output.
517  The coordinates can also be calculated automatically by pressing the button
518  
519 \family sans
520 Get
521 \begin_inset space ~
522 \end_inset
523
524 from
525 \begin_inset space ~
526 \end_inset
527
528 File
529 \family default
530 .
531  The option 
532 \family sans
533 Clip
534 \begin_inset space ~
535 \end_inset
536
537 to
538 \begin_inset space ~
539 \end_inset
540
541 bounding
542 \begin_inset space ~
543 \end_inset
544
545 box
546 \family default
547  will only print the image region within the given coordinates.
548  Normally you don't need to take care about image coordinates and can ignore
549  this tab.
550 \end_layout
551
552 \begin_layout Description
553
554 \family sans
555 LaTeX
556 \begin_inset space ~
557 \end_inset
558
559 and
560 \begin_inset space ~
561 \end_inset
562
563 LyX
564 \begin_inset space ~
565 \end_inset
566
567 options
568 \family default
569  In this tab you can modify the appearance of the image within LyX and LaTeX
570  experts can specify additional LaTeX options.
571 \begin_inset Newline newline
572 \end_inset
573
574 The option 
575 \family sans
576 Draft
577 \begin_inset space ~
578 \end_inset
579
580 mode
581 \family default
582  makes the image appear in the output only as a frame with the size of the
583  image.
584 \begin_inset Newline newline
585 \end_inset
586
587 The 
588 \family sans
589 Don't
590 \begin_inset space ~
591 \end_inset
592
593 unzip
594 \begin_inset space ~
595 \end_inset
596
597 on
598 \begin_inset space ~
599 \end_inset
600
601 export
602 \family default
603  option only affects zipped EPS-graphics, e.
604 \begin_inset space \thinspace{}
605 \end_inset
606
607 g.
608 \begin_inset space \space{}
609 \end_inset
610
611
612 \emph on
613 x.eps.gz
614 \emph default
615 .
616  When the option is used the images will not be unzipped on export, since
617  LaTeX can handle them as they are.
618 \begin_inset Newline newline
619 \end_inset
620
621 Zipped EPS-graphics are useful to save disk space when you choose PostScript
622  as output format, see appendix
623 \begin_inset space ~
624 \end_inset
625
626
627 \begin_inset CommandInset ref
628 LatexCommand ref
629 reference "sec:PostScript"
630
631 \end_inset
632
633 .
634  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
635  console:
636 \begin_inset Newline newline
637 \end_inset
638
639
640 \series bold
641 gzip x.eps
642 \series default
643
644 \begin_inset Newline newline
645 \end_inset
646
647
648 \series bold
649 zgrep %%Bounding x.eps.gz > x.eps.bb
650 \series default
651
652 \begin_inset Newline newline
653 \end_inset
654
655 The second command creates the bounding box file 
656 \begin_inset Quotes eld
657 \end_inset
658
659 x.eps.bb
660 \begin_inset Quotes erd
661 \end_inset
662
663  that is needed by LaTeX for zipped graphics.
664 \begin_inset Newline newline
665 \end_inset
666
667 In the section 
668 \family sans
669 Graphics
670 \begin_inset space ~
671 \end_inset
672
673 Group
674 \family default
675  you can define or join an image settings group.
676 \begin_inset Index idx
677 status collapsed
678
679 \begin_layout Plain Layout
680 Figures ! Settings grouping
681 \end_layout
682
683 \end_inset
684
685  Images within such a group share their settings, so adjusting one image
686  of the group automatically also adjusts all other images of the group in
687  the same way.
688  So you can for example change the size for a bunch of images without the
689  need to manually change each of them.
690  Joining an existing group can also be done using the context menu of the
691  image by checking the name of the desired group.
692 \end_layout
693
694 \begin_layout Standard
695 \begin_inset VSpace bigskip
696 \end_inset
697
698
699 \end_layout
700
701 \begin_layout Standard
702 This is an example image in EPS format
703 \begin_inset Foot
704 status collapsed
705
706 \begin_layout Plain Layout
707 Image formats are explained in section
708 \begin_inset space ~
709 \end_inset
710
711
712 \begin_inset CommandInset ref
713 LatexCommand ref
714 reference "sec:Image-Formats"
715
716 \end_inset
717
718 .
719 \end_layout
720
721 \end_inset
722
723  within a separate, horizontally centered paragraph:
724 \end_layout
725
726 \begin_layout Standard
727 \align center
728 \begin_inset Graphics
729         filename clipart/mobius.eps
730         scale 70
731         scaleBeforeRotation
732         rotateOrigin center
733
734 \end_inset
735
736
737 \end_layout
738
739 \begin_layout Standard
740 This is the same image like the one above but in draft mode:
741 \end_layout
742
743 \begin_layout Standard
744 \align center
745 \begin_inset Graphics
746         filename clipart/mobius.eps
747         scale 70
748         draft
749         scaleBeforeRotation
750         rotateOrigin center
751
752 \end_inset
753
754
755 \end_layout
756
757 \begin_layout Standard
758 \begin_inset Newpage newpage
759 \end_inset
760
761
762 \end_layout
763
764 \begin_layout Section
765 Figure Floats
766 \begin_inset CommandInset label
767 LatexCommand label
768 name "sec:Figure-Floats"
769
770 \end_inset
771
772
773 \begin_inset Index idx
774 status collapsed
775
776 \begin_layout Plain Layout
777 Floats ! Figures
778 \end_layout
779
780 \end_inset
781
782
783 \begin_inset Index idx
784 status collapsed
785
786 \begin_layout Plain Layout
787 Figures ! Floats
788 \end_layout
789
790 \end_inset
791
792
793 \end_layout
794
795 \begin_layout Standard
796 For general explanations about floats, have a look at section
797 \begin_inset space ~
798 \end_inset
799
800
801 \begin_inset CommandInset ref
802 LatexCommand ref
803 reference "sec:FloatIntroduction"
804
805 \end_inset
806
807 .
808 \end_layout
809
810 \begin_layout Standard
811 The toolbar button 
812 \begin_inset Graphics
813         filename ../images/float-insert_figure.png
814         scale 85
815         scaleBeforeRotation
816
817 \end_inset
818
819  and the menu 
820 \family sans
821 Insert\SpecialChar \menuseparator
822 Float\SpecialChar \menuseparator
823 Figure
824 \family default
825  inserts a float with a caption that has the label 
826 \begin_inset Quotes eld
827 \end_inset
828
829 Figure
830 \begin_inset space ~
831 \end_inset
832
833 #:
834 \begin_inset Quotes erd
835 \end_inset
836
837  (# is the actual number).
838  You can insert the image above the caption, like in Figure
839 \begin_inset space ~
840 \end_inset
841
842
843 \begin_inset CommandInset ref
844 LatexCommand ref
845 reference "fig:kill-plat"
846
847 \end_inset
848
849  or below the caption, like in Figure
850 \begin_inset space ~
851 \end_inset
852
853
854 \begin_inset CommandInset ref
855 LatexCommand ref
856 reference "fig:escher"
857
858 \end_inset
859
860 .
861  More about caption placement is described in section
862 \begin_inset space ~
863 \end_inset
864
865
866 \begin_inset CommandInset ref
867 LatexCommand ref
868 reference "sec:Caption-Placement"
869
870 \end_inset
871
872 .
873 \end_layout
874
875 \begin_layout Standard
876 \begin_inset Float figure
877 wide false
878 sideways false
879 status open
880
881 \begin_layout Plain Layout
882 \align center
883 \begin_inset Graphics
884         filename clipart/platypus.eps
885         width 50col%
886         scaleBeforeRotation
887         rotateOrigin center
888
889 \end_inset
890
891
892 \end_layout
893
894 \begin_layout Plain Layout
895 \begin_inset Caption
896
897 \begin_layout Plain Layout
898 \begin_inset CommandInset label
899 LatexCommand label
900 name "fig:kill-plat"
901
902 \end_inset
903
904 A severely distorted platypus in a float.
905 \end_layout
906
907 \end_inset
908
909
910 \end_layout
911
912 \end_inset
913
914
915 \end_layout
916
917 \begin_layout Standard
918 \begin_inset Float figure
919 wide false
920 sideways false
921 status open
922
923 \begin_layout Plain Layout
924 \begin_inset Caption
925
926 \begin_layout Plain Layout
927 \begin_inset CommandInset label
928 LatexCommand label
929 name "fig:escher"
930
931 \end_inset
932
933 M.C.
934  Escher on acid.
935 \end_layout
936
937 \end_inset
938
939
940 \end_layout
941
942 \begin_layout Plain Layout
943 \align center
944 \begin_inset Graphics
945         filename clipart/escher-lsd.eps
946         scale 80
947         scaleBeforeRotation
948         rotateOrigin center
949
950 \end_inset
951
952
953 \end_layout
954
955 \end_inset
956
957
958 \end_layout
959
960 \begin_layout Standard
961 \begin_inset Index idx
962 status collapsed
963
964 \begin_layout Plain Layout
965 References ! to Figures
966 \end_layout
967
968 \end_inset
969
970 Figure
971 \begin_inset space ~
972 \end_inset
973
974
975 \begin_inset CommandInset ref
976 LatexCommand ref
977 reference "fig:kill-plat"
978
979 \end_inset
980
981  and 
982 \begin_inset CommandInset ref
983 LatexCommand ref
984 reference "fig:escher"
985
986 \end_inset
987
988  are examples of referenced figures.
989  Figures can be referenced in the text by referencing their label.
990  To do this insert a label in the caption using the menu 
991 \family sans
992 Insert\SpecialChar \menuseparator
993 Label
994 \family default
995  or the toolbar button 
996 \begin_inset Graphics
997         filename ../images/label-insert.png
998         scale 85
999         scaleBeforeRotation
1000
1001 \end_inset
1002
1003 .
1004  You can now refer to the label using the menu 
1005 \family sans
1006 Insert\SpecialChar \menuseparator
1007 Cross
1008 \begin_inset space ~
1009 \end_inset
1010
1011 reference
1012 \family default
1013  or the toolbar button 
1014 \begin_inset Graphics
1015         filename ../images/dialog-show-new-inset_ref.png
1016         scale 85
1017         scaleBeforeRotation
1018
1019 \end_inset
1020
1021 .
1022  It is important to use references to floats, rather than using vague references
1023  like 
1024 \begin_inset Quotes eld
1025 \end_inset
1026
1027 the figure above
1028 \begin_inset Quotes erd
1029 \end_inset
1030
1031 , because LaTeX will reposition the floats in the final document and it
1032  might not be 
1033 \begin_inset Quotes eld
1034 \end_inset
1035
1036 above
1037 \begin_inset Quotes erd
1038 \end_inset
1039
1040  at all.
1041 \begin_inset Newline newline
1042 \end_inset
1043
1044 Referencing is explained in detail in section
1045 \begin_inset space ~
1046 \end_inset
1047
1048
1049 \begin_inset CommandInset ref
1050 LatexCommand ref
1051 reference "sec:Referencing-Floats"
1052
1053 \end_inset
1054
1055 .
1056 \end_layout
1057
1058 \begin_layout Standard
1059 Normally only one image is inserted to a figure float, but sometimes you
1060  might want to use two images with separate subcaptions.
1061  This can be done by inserting image floats into existing image floats.
1062  Note that only the main caption of the float is added to the List of Figures.
1063  Figure
1064 \begin_inset space ~
1065 \end_inset
1066
1067
1068 \begin_inset CommandInset ref
1069 LatexCommand ref
1070 reference "fig:Two-distorted-images"
1071
1072 \end_inset
1073
1074  is an example of a figure float with two images set side by side.
1075  You can also set the images one below the other.
1076  Figure
1077 \begin_inset space ~
1078 \end_inset
1079
1080
1081 \begin_inset CommandInset ref
1082 LatexCommand ref
1083 reference "fig:Undefinable-structure"
1084
1085 \end_inset
1086
1087  and 
1088 \begin_inset CommandInset ref
1089 LatexCommand ref
1090 reference "fig:A-Platypus"
1091
1092 \end_inset
1093
1094  are the subfigures.
1095 \end_layout
1096
1097 \begin_layout Standard
1098 \begin_inset Float figure
1099 wide false
1100 sideways false
1101 status open
1102
1103 \begin_layout Plain Layout
1104 \begin_inset space \hfill{}
1105 \end_inset
1106
1107
1108 \begin_inset Float figure
1109 wide false
1110 sideways false
1111 status collapsed
1112
1113 \begin_layout Plain Layout
1114 \begin_inset Caption
1115
1116 \begin_layout Plain Layout
1117 \begin_inset CommandInset label
1118 LatexCommand label
1119 name "fig:Undefinable-structure"
1120
1121 \end_inset
1122
1123 Undefinable structure.
1124 \end_layout
1125
1126 \end_inset
1127
1128
1129 \end_layout
1130
1131 \begin_layout Plain Layout
1132 \begin_inset Graphics
1133         filename clipart/escher-lsd.eps
1134         width 45col%
1135         scaleBeforeRotation
1136         groupId distorted
1137
1138 \end_inset
1139
1140
1141 \end_layout
1142
1143 \end_inset
1144
1145
1146 \begin_inset space \hfill{}
1147 \end_inset
1148
1149
1150 \begin_inset Float figure
1151 wide false
1152 sideways false
1153 status collapsed
1154
1155 \begin_layout Plain Layout
1156 \begin_inset Caption
1157
1158 \begin_layout Plain Layout
1159 \begin_inset CommandInset label
1160 LatexCommand label
1161 name "fig:A-Platypus"
1162
1163 \end_inset
1164
1165 A Platypus.
1166 \end_layout
1167
1168 \end_inset
1169
1170
1171 \end_layout
1172
1173 \begin_layout Plain Layout
1174 \begin_inset Graphics
1175         filename clipart/platypus.eps
1176         width 45col%
1177         scaleBeforeRotation
1178         groupId distorted
1179
1180 \end_inset
1181
1182
1183 \end_layout
1184
1185 \end_inset
1186
1187
1188 \begin_inset space \hfill{}
1189 \end_inset
1190
1191
1192 \end_layout
1193
1194 \begin_layout Plain Layout
1195 \begin_inset Caption
1196
1197 \begin_layout Plain Layout
1198 \begin_inset CommandInset label
1199 LatexCommand label
1200 name "fig:Two-distorted-images"
1201
1202 \end_inset
1203
1204
1205 \begin_inset CommandInset label
1206 LatexCommand label
1207 name "fig2:Two-distorted-images-2"
1208
1209 \end_inset
1210
1211 Two distorted images.
1212  Both images are in the image settings group named 
1213 \begin_inset Quotes eld
1214 \end_inset
1215
1216 distorted
1217 \begin_inset Quotes erd
1218 \end_inset
1219
1220 .
1221 \end_layout
1222
1223 \end_inset
1224
1225
1226 \end_layout
1227
1228 \end_inset
1229
1230
1231 \end_layout
1232
1233 \begin_layout Standard
1234 \begin_inset Newpage newpage
1235 \end_inset
1236
1237
1238 \end_layout
1239
1240 \begin_layout Section
1241 Image Formats
1242 \begin_inset CommandInset label
1243 LatexCommand label
1244 name "sec:Image-Formats"
1245
1246 \end_inset
1247
1248
1249 \begin_inset Index idx
1250 status collapsed
1251
1252 \begin_layout Plain Layout
1253 Image Formats
1254 \end_layout
1255
1256 \end_inset
1257
1258
1259 \begin_inset Index idx
1260 status collapsed
1261
1262 \begin_layout Plain Layout
1263 Figures ! Image Formats
1264 \end_layout
1265
1266 \end_inset
1267
1268
1269 \end_layout
1270
1271 \begin_layout Standard
1272 You can insert images in any known file format.
1273  But as explained in appendix
1274 \begin_inset space ~
1275 \end_inset
1276
1277
1278 \begin_inset CommandInset ref
1279 LatexCommand ref
1280 reference "cha:Output-File-Formats"
1281
1282 \end_inset
1283
1284 , each output document format allows only a few image formats.
1285  LyX uses therefore the program 
1286 \family typewriter
1287 ImageMagick
1288 \family default
1289  in the background to convert the images to the right format.
1290  To increase your work flow by avoiding these conversions in the background,
1291  you can use only the image formats that can directly be embedded in the
1292  output file format.
1293  The output file formats are explained in appendix
1294 \begin_inset space ~
1295 \end_inset
1296
1297
1298 \begin_inset CommandInset ref
1299 LatexCommand ref
1300 reference "cha:Output-File-Formats"
1301
1302 \end_inset
1303
1304 .
1305 \end_layout
1306
1307 \begin_layout Standard
1308 Similar to fonts there are two types of image formats:
1309 \end_layout
1310
1311 \begin_layout Description
1312 Bitmap
1313 \begin_inset space ~
1314 \end_inset
1315
1316 images consist of pixel values, often in a compressed form.
1317  They are therefore not fully scalable and look pixelated in large zooms.
1318  Well-known bitmap image formats are 
1319 \begin_inset Quotes eld
1320 \end_inset
1321
1322 Graphics Interchange Format
1323 \begin_inset Quotes erd
1324 \end_inset
1325
1326  (GIF, file extension 
1327 \begin_inset Quotes eld
1328 \end_inset
1329
1330
1331 \family typewriter
1332 .gif
1333 \family default
1334
1335 \begin_inset Quotes erd
1336 \end_inset
1337
1338 )
1339 \begin_inset Index idx
1340 status collapsed
1341
1342 \begin_layout Plain Layout
1343 GIF|see
1344 \begin_inset ERT
1345 status collapsed
1346
1347 \begin_layout Plain Layout
1348
1349 {
1350 \end_layout
1351
1352 \end_inset
1353
1354 Image formats
1355 \begin_inset ERT
1356 status collapsed
1357
1358 \begin_layout Plain Layout
1359
1360 }
1361 \end_layout
1362
1363 \end_inset
1364
1365
1366 \end_layout
1367
1368 \end_inset
1369
1370
1371 \begin_inset Quotes eld
1372 \end_inset
1373
1374 Portable Network Graphics
1375 \begin_inset Quotes erd
1376 \end_inset
1377
1378  (PNG, file extension 
1379 \begin_inset Quotes eld
1380 \end_inset
1381
1382
1383 \family typewriter
1384 .png
1385 \family default
1386
1387 \begin_inset Quotes erd
1388 \end_inset
1389
1390 )
1391 \begin_inset Index idx
1392 status collapsed
1393
1394 \begin_layout Plain Layout
1395 PNG|see
1396 \begin_inset ERT
1397 status collapsed
1398
1399 \begin_layout Plain Layout
1400
1401 {
1402 \end_layout
1403
1404 \end_inset
1405
1406 Image formats
1407 \begin_inset ERT
1408 status collapsed
1409
1410 \begin_layout Plain Layout
1411
1412 }
1413 \end_layout
1414
1415 \end_inset
1416
1417
1418 \end_layout
1419
1420 \end_inset
1421
1422 , and 
1423 \begin_inset Quotes eld
1424 \end_inset
1425
1426 Joint Photographic Experts Group
1427 \begin_inset Quotes erd
1428 \end_inset
1429
1430  (JPG, file extension 
1431 \begin_inset Quotes eld
1432 \end_inset
1433
1434
1435 \family typewriter
1436 .jpg
1437 \family default
1438
1439 \begin_inset Quotes erd
1440 \end_inset
1441
1442  or 
1443 \begin_inset Quotes eld
1444 \end_inset
1445
1446
1447 \family typewriter
1448 .jpeg
1449 \family default
1450
1451 \begin_inset Quotes erd
1452 \end_inset
1453
1454 )
1455 \begin_inset Index idx
1456 status collapsed
1457
1458 \begin_layout Plain Layout
1459 JPG|see
1460 \begin_inset ERT
1461 status collapsed
1462
1463 \begin_layout Plain Layout
1464
1465 {
1466 \end_layout
1467
1468 \end_inset
1469
1470 Image formats
1471 \begin_inset ERT
1472 status collapsed
1473
1474 \begin_layout Plain Layout
1475
1476 }
1477 \end_layout
1478
1479 \end_inset
1480
1481
1482 \end_layout
1483
1484 \end_inset
1485
1486 .
1487 \end_layout
1488
1489 \begin_layout Description
1490 Vector
1491 \begin_inset space ~
1492 \end_inset
1493
1494 images consist of vectors and can therefore be scaled to any size without
1495  data loss.
1496  The scaling ability is necessary if you want to create presentations, because
1497  presentations are always scaled by the video projector.
1498  Scaling is also useful for online documents to let the user zoom into diagrams.
1499 \begin_inset Newline newline
1500 \end_inset
1501
1502 Well-known scalable image formats are 
1503 \begin_inset Quotes eld
1504 \end_inset
1505
1506 Scalable Vector Graphics
1507 \begin_inset Quotes erd
1508 \end_inset
1509
1510  (SVG, file extension 
1511 \begin_inset Quotes eld
1512 \end_inset
1513
1514
1515 \family typewriter
1516 .svg
1517 \family default
1518
1519 \begin_inset Quotes erd
1520 \end_inset
1521
1522 )
1523 \begin_inset Index idx
1524 status collapsed
1525
1526 \begin_layout Plain Layout
1527 SVG|see
1528 \begin_inset ERT
1529 status collapsed
1530
1531 \begin_layout Plain Layout
1532
1533 {
1534 \end_layout
1535
1536 \end_inset
1537
1538 Image formats
1539 \begin_inset ERT
1540 status collapsed
1541
1542 \begin_layout Plain Layout
1543
1544 }
1545 \end_layout
1546
1547 \end_inset
1548
1549
1550 \end_layout
1551
1552 \end_inset
1553
1554
1555 \begin_inset Quotes eld
1556 \end_inset
1557
1558 Encapsulated PostScript
1559 \begin_inset Quotes erd
1560 \end_inset
1561
1562  (EPS, file extension 
1563 \begin_inset Quotes eld
1564 \end_inset
1565
1566
1567 \family typewriter
1568 .eps
1569 \family default
1570
1571 \begin_inset Quotes erd
1572 \end_inset
1573
1574 )
1575 \begin_inset Index idx
1576 status collapsed
1577
1578 \begin_layout Plain Layout
1579 EPS|see
1580 \begin_inset ERT
1581 status collapsed
1582
1583 \begin_layout Plain Layout
1584
1585 {
1586 \end_layout
1587
1588 \end_inset
1589
1590 Image formats
1591 \begin_inset ERT
1592 status collapsed
1593
1594 \begin_layout Plain Layout
1595
1596 }
1597 \end_layout
1598
1599 \end_inset
1600
1601
1602 \end_layout
1603
1604 \end_inset
1605
1606
1607 \begin_inset Quotes eld
1608 \end_inset
1609
1610 Portable Document Format
1611 \begin_inset Quotes erd
1612 \end_inset
1613
1614  (PDF, file extension 
1615 \begin_inset Quotes eld
1616 \end_inset
1617
1618
1619 \family typewriter
1620 .pdf
1621 \family default
1622
1623 \begin_inset Quotes erd
1624 \end_inset
1625
1626 )
1627 \begin_inset Index idx
1628 status collapsed
1629
1630 \begin_layout Plain Layout
1631 PDF
1632 \end_layout
1633
1634 \end_inset
1635
1636 , and 
1637 \begin_inset Quotes eld
1638 \end_inset
1639
1640 Windows Metafile
1641 \begin_inset Quotes erd
1642 \end_inset
1643
1644  (WMF, file extension 
1645 \begin_inset Quotes eld
1646 \end_inset
1647
1648
1649 \family typewriter
1650 .wmf
1651 \family default
1652
1653 \begin_inset Quotes erd
1654 \end_inset
1655
1656 )
1657 \begin_inset Index idx
1658 status collapsed
1659
1660 \begin_layout Plain Layout
1661 SVG|see
1662 \begin_inset ERT
1663 status collapsed
1664
1665 \begin_layout Plain Layout
1666
1667 {
1668 \end_layout
1669
1670 \end_inset
1671
1672 Image formats
1673 \begin_inset ERT
1674 status collapsed
1675
1676 \begin_layout Plain Layout
1677
1678 }
1679 \end_layout
1680
1681 \end_inset
1682
1683
1684 \end_layout
1685
1686 \end_inset
1687
1688 .
1689  We wrote 
1690 \begin_inset Quotes eld
1691 \end_inset
1692
1693 can be
1694 \begin_inset Quotes erd
1695 \end_inset
1696
1697 , because you can convert any bitmap image to a PDF or EPS-image and the
1698  result will still be a bitmap image.
1699  In such cases only a header with the image properties is added to the original
1700  image
1701 \begin_inset Foot
1702 status collapsed
1703
1704 \begin_layout Plain Layout
1705 In the case of PDF, the original image is additionally compressed.
1706 \end_layout
1707
1708 \end_inset
1709
1710 .
1711  The PDF-files generated by 
1712 \family typewriter
1713 Adobe Photoshop
1714 \family default
1715  are for example bitmap images.
1716 \end_layout
1717
1718 \begin_layout Standard
1719 Normally it is not possible to convert a bitmap image into a scalable one,
1720  only vice versa.
1721  Only the image formats PDF and EPS can directly be embedded to PDF and
1722  PostScript output files, respectively.
1723  SVG and WMF-images are recalculated to bitmaps when the output file is
1724  generated because there is currently no adequate WMF/SVG
1725 \begin_inset Formula $\to$
1726 \end_inset
1727
1728 PDF/EPS converter available.
1729 \end_layout
1730
1731 \begin_layout Chapter
1732 Tables
1733 \begin_inset Index idx
1734 status collapsed
1735
1736 \begin_layout Plain Layout
1737 Table
1738 \end_layout
1739
1740 \end_inset
1741
1742
1743 \end_layout
1744
1745 \begin_layout Section
1746 Introduction
1747 \begin_inset Index idx
1748 status collapsed
1749
1750 \begin_layout Plain Layout
1751 Table ! Introduction
1752 \end_layout
1753
1754 \end_inset
1755
1756
1757 \end_layout
1758
1759 \begin_layout Standard
1760 You can insert a table using either the toolbar button 
1761 \begin_inset Graphics
1762         filename ../images/tabular-insert.png
1763         scale 85
1764         scaleBeforeRotation
1765
1766 \end_inset
1767
1768  or the menu 
1769 \family sans
1770 Insert\SpecialChar \menuseparator
1771 Table
1772 \family default
1773 .
1774  The toolbar button offers you a graphical selection: move the mouse to
1775  set the column/row number of the table that should be created and then
1776  press a mouse button.
1777  When you use the menu to create a table, a dialog will appear, asking you
1778  for the number of rows and columns.
1779 \begin_inset Newline newline
1780 \end_inset
1781
1782  The default table has lines around any cell and the first row appears separated
1783  from the rest of the table.
1784  This separation occurs due to a double line: The cells of the first row
1785  have a line below them and the cells of the second row have a line above
1786  them.
1787  Here is an example table:
1788 \end_layout
1789
1790 \begin_layout Standard
1791 \align center
1792 \begin_inset Tabular
1793 <lyxtabular version="3" rows="4" columns="4">
1794 <features tabularvalignment="middle">
1795 <column alignment="center" valignment="top" width="0">
1796 <column alignment="center" valignment="top" width="0">
1797 <column alignment="center" valignment="top" width="0">
1798 <column alignment="center" valignment="top" width="0">
1799 <row>
1800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1801 \begin_inset Text
1802
1803 \begin_layout Plain Layout
1804
1805 \end_layout
1806
1807 \end_inset
1808 </cell>
1809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1810 \begin_inset Text
1811
1812 \begin_layout Plain Layout
1813
1814 \family roman
1815 \series medium
1816 \shape up
1817 \size normal
1818 \emph off
1819 \bar no
1820 \noun off
1821 \color none
1822 1
1823 \end_layout
1824
1825 \end_inset
1826 </cell>
1827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1828 \begin_inset Text
1829
1830 \begin_layout Plain Layout
1831 2
1832 \end_layout
1833
1834 \end_inset
1835 </cell>
1836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1837 \begin_inset Text
1838
1839 \begin_layout Plain Layout
1840 3
1841 \end_layout
1842
1843 \end_inset
1844 </cell>
1845 </row>
1846 <row>
1847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1848 \begin_inset Text
1849
1850 \begin_layout Plain Layout
1851
1852 \family roman
1853 \series medium
1854 \shape up
1855 \size normal
1856 \emph off
1857 \bar no
1858 \noun off
1859 \color none
1860 A
1861 \end_layout
1862
1863 \end_inset
1864 </cell>
1865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1866 \begin_inset Text
1867
1868 \begin_layout Plain Layout
1869
1870 \end_layout
1871
1872 \end_inset
1873 </cell>
1874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1875 \begin_inset Text
1876
1877 \begin_layout Plain Layout
1878
1879 \end_layout
1880
1881 \end_inset
1882 </cell>
1883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1884 \begin_inset Text
1885
1886 \begin_layout Plain Layout
1887
1888 \end_layout
1889
1890 \end_inset
1891 </cell>
1892 </row>
1893 <row>
1894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1895 \begin_inset Text
1896
1897 \begin_layout Plain Layout
1898
1899 \family roman
1900 \series medium
1901 \shape up
1902 \size normal
1903 \emph off
1904 \bar no
1905 \noun off
1906 \color none
1907 B
1908 \end_layout
1909
1910 \end_inset
1911 </cell>
1912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1913 \begin_inset Text
1914
1915 \begin_layout Plain Layout
1916
1917 \end_layout
1918
1919 \end_inset
1920 </cell>
1921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1922 \begin_inset Text
1923
1924 \begin_layout Plain Layout
1925
1926 \end_layout
1927
1928 \end_inset
1929 </cell>
1930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1931 \begin_inset Text
1932
1933 \begin_layout Plain Layout
1934
1935 \end_layout
1936
1937 \end_inset
1938 </cell>
1939 </row>
1940 <row>
1941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1942 \begin_inset Text
1943
1944 \begin_layout Plain Layout
1945
1946 \family roman
1947 \series medium
1948 \shape up
1949 \size normal
1950 \emph off
1951 \bar no
1952 \noun off
1953 \color none
1954 C
1955 \end_layout
1956
1957 \end_inset
1958 </cell>
1959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1960 \begin_inset Text
1961
1962 \begin_layout Plain Layout
1963
1964 \end_layout
1965
1966 \end_inset
1967 </cell>
1968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1969 \begin_inset Text
1970
1971 \begin_layout Plain Layout
1972
1973 \end_layout
1974
1975 \end_inset
1976 </cell>
1977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1978 \begin_inset Text
1979
1980 \begin_layout Plain Layout
1981
1982 \end_layout
1983
1984 \end_inset
1985 </cell>
1986 </row>
1987 </lyxtabular>
1988
1989 \end_inset
1990
1991
1992 \end_layout
1993
1994 \begin_layout Section
1995 Table Dialog
1996 \begin_inset Index idx
1997 status collapsed
1998
1999 \begin_layout Plain Layout
2000 Table ! Dialog
2001 \end_layout
2002
2003 \end_inset
2004
2005
2006 \end_layout
2007
2008 \begin_layout Standard
2009 You can alter a table by clicking on it with the right mouse button, which
2010  brings up the table dialog.
2011  Here you can adjust the settings of that cell and row/column respectively
2012  where the cursor is currently placed.
2013  Most of the dialog options also work on selections.
2014  This means if you select more cells, columns or rows, the action is done
2015  for the whole selection.
2016  Note that there is a difference between selecting the 
2017 \emph on
2018 contents
2019 \emph default
2020  of the cell, and the cell itself.
2021 \begin_inset Newline newline
2022 \end_inset
2023
2024 With the dialog option 
2025 \family sans
2026 Immediate
2027 \begin_inset space ~
2028 \end_inset
2029
2030 Apply
2031 \family default
2032  every change you make in the dialog is directly applied.
2033  If you move the cursor to another table cell the dialog will then also
2034  be updated with the parameters of the new cell.
2035  If you change length values in the dialog you must press return to get
2036  the change applied.
2037 \begin_inset Newline newline
2038 \end_inset
2039
2040 You can alter tables with the following tabs of the table dialog:
2041 \end_layout
2042
2043 \begin_layout Description
2044
2045 \family sans
2046 Table
2047 \begin_inset space ~
2048 \end_inset
2049
2050 Settings
2051 \family default
2052  Here you can set the table width
2053 \begin_inset Index idx
2054 status collapsed
2055
2056 \begin_layout Plain Layout
2057 Table ! Width
2058 \end_layout
2059
2060 \end_inset
2061
2062 , and the horizontal alignment and the width of the current column.
2063  The alignment 
2064 \family sans
2065 At
2066 \begin_inset space ~
2067 \end_inset
2068
2069 Decimal
2070 \begin_inset space ~
2071 \end_inset
2072
2073 Separator
2074 \family default
2075  is described in section
2076 \begin_inset space ~
2077 \end_inset
2078
2079
2080 \begin_inset CommandInset ref
2081 LatexCommand ref
2082 reference "sub:Special-Cell-Alignment"
2083
2084 \end_inset
2085
2086 .
2087  When you have set a width you can also adjust the vertical alignment of
2088  the current row.
2089  A given width will allow the cell to have line breaks and multiple paragraphs
2090  of text, see section
2091 \begin_inset space ~
2092 \end_inset
2093
2094
2095 \begin_inset CommandInset ref
2096 LatexCommand ref
2097 reference "sub:Multiple-Lines-in"
2098
2099 \end_inset
2100
2101 .
2102  If you set no width, the column is as wide as the content of its widest
2103  cell.
2104 \begin_inset Newline newline
2105 \end_inset
2106
2107 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2108  cell, see section
2109 \begin_inset space ~
2110 \end_inset
2111
2112
2113 \begin_inset CommandInset ref
2114 LatexCommand ref
2115 reference "sub:Multicolumns"
2116
2117 \end_inset
2118
2119  or the cells of one column as multirow cell, see section
2120 \begin_inset space ~
2121 \end_inset
2122
2123
2124 \begin_inset CommandInset ref
2125 LatexCommand ref
2126 reference "sub:Multirows"
2127
2128 \end_inset
2129
2130 .
2131 \begin_inset Newline newline
2132 \end_inset
2133
2134 The rotate check boxes rotate the current cell, a selection, or the whole
2135  table counter-clockwise by 90°.
2136  The rotation is not shown within LyX, only in the output.
2137 \begin_inset Newline newline
2138 \end_inset
2139
2140
2141 \begin_inset Note Greyedout
2142 status open
2143
2144 \begin_layout Plain Layout
2145
2146 \series bold
2147 Note:
2148 \series default
2149  Not all DVI-viewers are able to display rotations.
2150 \end_layout
2151
2152 \end_inset
2153
2154
2155 \begin_inset Newline newline
2156 \end_inset
2157
2158 The table-wide vertical alignment is used for tables within text lines:
2159 \begin_inset Newline newline
2160 \end_inset
2161
2162 A line with tables with different alignments: 
2163 \begin_inset Tabular
2164 <lyxtabular version="3" rows="2" columns="2">
2165 <features tabularvalignment="top">
2166 <column alignment="center" valignment="top" width="0pt">
2167 <column alignment="center" valignment="top" width="0">
2168 <row>
2169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2170 \begin_inset Text
2171
2172 \begin_layout Plain Layout
2173
2174 \end_layout
2175
2176 \end_inset
2177 </cell>
2178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2179 \begin_inset Text
2180
2181 \begin_layout Plain Layout
2182
2183 \family roman
2184 \series medium
2185 \shape up
2186 \size normal
2187 \emph off
2188 \bar no
2189 \noun off
2190 \color none
2191 1
2192 \end_layout
2193
2194 \end_inset
2195 </cell>
2196 </row>
2197 <row>
2198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2199 \begin_inset Text
2200
2201 \begin_layout Plain Layout
2202
2203 \family roman
2204 \series medium
2205 \shape up
2206 \size normal
2207 \emph off
2208 \bar no
2209 \noun off
2210 \color none
2211 A
2212 \end_layout
2213
2214 \end_inset
2215 </cell>
2216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2217 \begin_inset Text
2218
2219 \begin_layout Plain Layout
2220
2221 \end_layout
2222
2223 \end_inset
2224 </cell>
2225 </row>
2226 </lyxtabular>
2227
2228 \end_inset
2229
2230  
2231 \begin_inset Tabular
2232 <lyxtabular version="3" rows="2" columns="2">
2233 <features tabularvalignment="middle">
2234 <column alignment="center" valignment="top" width="0">
2235 <column alignment="center" valignment="top" width="0">
2236 <row>
2237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2238 \begin_inset Text
2239
2240 \begin_layout Plain Layout
2241
2242 \end_layout
2243
2244 \end_inset
2245 </cell>
2246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2247 \begin_inset Text
2248
2249 \begin_layout Plain Layout
2250
2251 \family roman
2252 \series medium
2253 \shape up
2254 \size normal
2255 \emph off
2256 \bar no
2257 \noun off
2258 \color none
2259 1
2260 \end_layout
2261
2262 \end_inset
2263 </cell>
2264 </row>
2265 <row>
2266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2267 \begin_inset Text
2268
2269 \begin_layout Plain Layout
2270
2271 \family roman
2272 \series medium
2273 \shape up
2274 \size normal
2275 \emph off
2276 \bar no
2277 \noun off
2278 \color none
2279 A
2280 \end_layout
2281
2282 \end_inset
2283 </cell>
2284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2285 \begin_inset Text
2286
2287 \begin_layout Plain Layout
2288
2289 \end_layout
2290
2291 \end_inset
2292 </cell>
2293 </row>
2294 </lyxtabular>
2295
2296 \end_inset
2297
2298  
2299 \begin_inset Tabular
2300 <lyxtabular version="3" rows="2" columns="2">
2301 <features tabularvalignment="bottom">
2302 <column alignment="center" valignment="top" width="0pt">
2303 <column alignment="center" valignment="top" width="0">
2304 <row>
2305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2306 \begin_inset Text
2307
2308 \begin_layout Plain Layout
2309
2310 \end_layout
2311
2312 \end_inset
2313 </cell>
2314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2315 \begin_inset Text
2316
2317 \begin_layout Plain Layout
2318
2319 \family roman
2320 \series medium
2321 \shape up
2322 \size normal
2323 \emph off
2324 \bar no
2325 \noun off
2326 \color none
2327 1
2328 \end_layout
2329
2330 \end_inset
2331 </cell>
2332 </row>
2333 <row>
2334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2335 \begin_inset Text
2336
2337 \begin_layout Plain Layout
2338
2339 \family roman
2340 \series medium
2341 \shape up
2342 \size normal
2343 \emph off
2344 \bar no
2345 \noun off
2346 \color none
2347 A
2348 \end_layout
2349
2350 \end_inset
2351 </cell>
2352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2353 \begin_inset Text
2354
2355 \begin_layout Plain Layout
2356
2357 \end_layout
2358
2359 \end_inset
2360 </cell>
2361 </row>
2362 </lyxtabular>
2363
2364 \end_inset
2365
2366
2367 \begin_inset Newline newline
2368 \end_inset
2369
2370 It is also possible to enter a LaTeX-argument which is needed for special
2371  table formattings, see section
2372 \begin_inset space ~
2373 \end_inset
2374
2375
2376 \begin_inset CommandInset ref
2377 LatexCommand ref
2378 reference "sub:Multicolumn-Calculations"
2379
2380 \end_inset
2381
2382  and 
2383 \begin_inset CommandInset ref
2384 LatexCommand ref
2385 reference "sec:Colored-Tables"
2386
2387 \end_inset
2388
2389 .
2390 \end_layout
2391
2392 \begin_layout Description
2393
2394 \family sans
2395 Borders
2396 \family default
2397  In this tab you can add and delete border lines for the current row/column.
2398 \begin_inset Newline newline
2399 \end_inset
2400
2401 Using the style option 
2402 \family sans
2403 Formal
2404 \family default
2405  will convert the table to a formal table as described in section
2406 \begin_inset space ~
2407 \end_inset
2408
2409
2410 \begin_inset CommandInset ref
2411 LatexCommand ref
2412 reference "sec:Formal-Tables"
2413
2414 \end_inset
2415
2416 .
2417 \begin_inset Newline newline
2418 \end_inset
2419
2420 You can also add here space to table rows as described in section
2421 \begin_inset space ~
2422 \end_inset
2423
2424
2425 \begin_inset CommandInset ref
2426 LatexCommand ref
2427 reference "sub:Row-Spacing"
2428
2429 \end_inset
2430
2431 .
2432 \end_layout
2433
2434 \begin_layout Description
2435
2436 \family sans
2437 Longtable
2438 \family default
2439  This tab is to make a table a so called 
2440 \begin_inset Quotes eld
2441 \end_inset
2442
2443
2444 \emph on
2445 longtable
2446 \emph default
2447
2448 \begin_inset Quotes erd
2449 \end_inset
2450
2451  that can run over several pages.
2452  Sections
2453 \begin_inset space ~
2454 \end_inset
2455
2456
2457 \begin_inset CommandInset ref
2458 LatexCommand ref
2459 reference "sec:Longtables"
2460
2461 \end_inset
2462
2463  and 
2464 \begin_inset CommandInset ref
2465 LatexCommand ref
2466 reference "sec:Special-Longtable-Issues"
2467
2468 \end_inset
2469
2470  describe the longtable features in detail.
2471 \end_layout
2472
2473 \begin_layout Section
2474 Table Toolbar
2475 \begin_inset Index idx
2476 status collapsed
2477
2478 \begin_layout Plain Layout
2479 Table ! Toolbar
2480 \end_layout
2481
2482 \end_inset
2483
2484
2485 \end_layout
2486
2487 \begin_layout Standard
2488 The table toolbar is an alternative to the table dialog to be able to alter
2489  tables faster.
2490  It should normally appear at the bottom of LyX's main window when the cursor
2491  is inside a table.
2492  You can alternatively switch it on to appear always, by right-clicking
2493  in LyX's main menu bar.
2494 \end_layout
2495
2496 \begin_layout Standard
2497 The toolbar has the following icons:
2498 \end_layout
2499
2500 \begin_layout Labeling
2501 \labelwidthstring 00.00.0000
2502 \begin_inset Graphics
2503         filename ../images/tabular-feature_append-row.png
2504         scaleBeforeRotation
2505
2506 \end_inset
2507
2508  adds a row below the current cell or selection
2509 \end_layout
2510
2511 \begin_layout Labeling
2512 \labelwidthstring 00.00.0000
2513 \begin_inset Graphics
2514         filename ../images/tabular-feature_append-column.png
2515         scaleBeforeRotation
2516
2517 \end_inset
2518
2519  adds a column right beside the current cell or selection
2520 \end_layout
2521
2522 \begin_layout Labeling
2523 \labelwidthstring 00.00.0000
2524 \begin_inset Graphics
2525         filename ../images/tabular-feature_delete-row.png
2526         scaleBeforeRotation
2527
2528 \end_inset
2529
2530  deletes the current row or selection
2531 \end_layout
2532
2533 \begin_layout Labeling
2534 \labelwidthstring 00.00.0000
2535 \begin_inset Graphics
2536         filename ../images/tabular-feature_delete-column.png
2537         scaleBeforeRotation
2538
2539 \end_inset
2540
2541  deletes the current column or selection
2542 \end_layout
2543
2544 \begin_layout Labeling
2545 \labelwidthstring 00.00.0000
2546 \begin_inset Graphics
2547         filename ../images/tabular-feature_toggle-line-top.png
2548         scaleBeforeRotation
2549
2550 \end_inset
2551
2552  adds a line at the top of the current cell / row or of a selection
2553 \end_layout
2554
2555 \begin_layout Labeling
2556 \labelwidthstring 00.00.0000
2557 \begin_inset Graphics
2558         filename ../images/tabular-feature_toggle-line-bottom.png
2559         scaleBeforeRotation
2560
2561 \end_inset
2562
2563  adds a line at the bottom of the current cell / row or of a selection
2564 \end_layout
2565
2566 \begin_layout Labeling
2567 \labelwidthstring 00.00.0000
2568 \begin_inset Graphics
2569         filename ../images/tabular-feature_toggle-line-left.png
2570         scaleBeforeRotation
2571
2572 \end_inset
2573
2574  adds a line at the left side of the current cell / row or of a selection
2575 \end_layout
2576
2577 \begin_layout Labeling
2578 \labelwidthstring 00.00.0000
2579 \begin_inset Graphics
2580         filename ../images/tabular-feature_toggle-line-right.png
2581         scaleBeforeRotation
2582
2583 \end_inset
2584
2585  adds a line at the right side of the current cell / row or of a selection
2586 \end_layout
2587
2588 \begin_layout Labeling
2589 \labelwidthstring 00.00.0000
2590 \begin_inset Graphics
2591         filename ../images/tabular-feature_set-all-lines.png
2592         scaleBeforeRotation
2593
2594 \end_inset
2595
2596  adds lines around the current or selected cells - if the current cell no
2597  multicolumn cell this also affects the current row and column
2598 \end_layout
2599
2600 \begin_layout Labeling
2601 \labelwidthstring 00.00.0000
2602 \begin_inset Graphics
2603         filename ../images/tabular-feature_unset-all-lines.png
2604         scaleBeforeRotation
2605
2606 \end_inset
2607
2608  deletes all lines of the current or selected cells - if the current cell
2609  no multicolumn cell this also affects the current row and column
2610 \end_layout
2611
2612 \begin_layout Labeling
2613 \labelwidthstring 00.00.0000
2614 \begin_inset Graphics
2615         filename ../images/tabular-feature_m-align-left.png
2616         scaleBeforeRotation
2617
2618 \end_inset
2619
2620  left-aligns the content of the current cell / column
2621 \end_layout
2622
2623 \begin_layout Labeling
2624 \labelwidthstring 00.00.0000
2625 \begin_inset Graphics
2626         filename ../images/tabular-feature_m-align-center.png
2627         scaleBeforeRotation
2628
2629 \end_inset
2630
2631  centers the content of the current cell / column horizontally
2632 \end_layout
2633
2634 \begin_layout Labeling
2635 \labelwidthstring 00.00.0000
2636 \begin_inset Graphics
2637         filename ../images/tabular-feature_m-align-right.png
2638         scaleBeforeRotation
2639
2640 \end_inset
2641
2642  right-aligns the content of the current cell / column
2643 \end_layout
2644
2645 \begin_layout Labeling
2646 \labelwidthstring 00.00.0000
2647 \begin_inset Graphics
2648         filename ../images/tabular-feature_align-decimal.png
2649         scaleBeforeRotation
2650
2651 \end_inset
2652
2653  aligns the content of the current column at a character
2654 \end_layout
2655
2656 \begin_layout Labeling
2657 \labelwidthstring 00.00.0000
2658 \begin_inset Graphics
2659         filename ../images/tabular-feature_m-valign-top.png
2660         scaleBeforeRotation
2661
2662 \end_inset
2663
2664  aligns the content of the current cell vertically to the top
2665 \end_layout
2666
2667 \begin_layout Labeling
2668 \labelwidthstring 00.00.0000
2669 \begin_inset Graphics
2670         filename ../images/tabular-feature_m-valign-middle.png
2671         scaleBeforeRotation
2672
2673 \end_inset
2674
2675  centers the content of the current cell vertically
2676 \end_layout
2677
2678 \begin_layout Labeling
2679 \labelwidthstring 00.00.0000
2680 \begin_inset Graphics
2681         filename ../images/tabular-feature_m-valign-bottom.png
2682         scaleBeforeRotation
2683
2684 \end_inset
2685
2686  aligns the content of the current cell vertically to the bottom
2687 \end_layout
2688
2689 \begin_layout Labeling
2690 \labelwidthstring 00.00.0000
2691 \begin_inset Graphics
2692         filename ../images/tabular-feature_set-rotate-cell.png
2693         scaleBeforeRotation
2694
2695 \end_inset
2696
2697  rotates the current cell or selection counter-clockwise by 90°
2698 \end_layout
2699
2700 \begin_layout Labeling
2701 \labelwidthstring 00.00.0000
2702 \begin_inset Graphics
2703         filename ../images/tabular-feature_set-rotate-tabular.png
2704         scaleBeforeRotation
2705
2706 \end_inset
2707
2708  rotates the whole table counter-clockwise by 90°
2709 \end_layout
2710
2711 \begin_layout Labeling
2712 \labelwidthstring 00.00.0000
2713 \begin_inset Graphics
2714         filename ../images/tabular-feature_multicolumn.png
2715         scaleBeforeRotation
2716
2717 \end_inset
2718
2719  sets the current cell or selection as a multicolumn
2720 \end_layout
2721
2722 \begin_layout Labeling
2723 \labelwidthstring 00.00.0000
2724 \begin_inset Graphics
2725         filename ../images/tabular-feature_multirow.png
2726         scaleBeforeRotation
2727
2728 \end_inset
2729
2730  sets the current cell or selection as a multirow
2731 \end_layout
2732
2733 \begin_layout Standard
2734 \begin_inset Note Greyedout
2735 status open
2736
2737 \begin_layout Plain Layout
2738
2739 \series bold
2740 Note:
2741 \series default
2742  For the output the vertical alignment of the first cell in a row is used
2743  for all following cells in the row.
2744 \end_layout
2745
2746 \end_inset
2747
2748
2749 \end_layout
2750
2751 \begin_layout Section
2752 Edit Table Menu
2753 \begin_inset Index idx
2754 status collapsed
2755
2756 \begin_layout Plain Layout
2757 Table ! Edit Menu
2758 \end_layout
2759
2760 \end_inset
2761
2762
2763 \end_layout
2764
2765 \begin_layout Standard
2766 Additionally to the table dialog and toolbar, the menu 
2767 \family sans
2768 Edit\SpecialChar \menuseparator
2769 Table
2770 \family default
2771  allows you to add and delete border lines for the current row/column and
2772  to set the current selection as multicolumn.
2773  The menu is only available when the cursor is inside a table.
2774 \end_layout
2775
2776 \begin_layout Section
2777 Table Floats
2778 \begin_inset CommandInset label
2779 LatexCommand label
2780 name "sec:Table-Floats"
2781
2782 \end_inset
2783
2784
2785 \begin_inset Index idx
2786 status collapsed
2787
2788 \begin_layout Plain Layout
2789 Floats ! Tables
2790 \end_layout
2791
2792 \end_inset
2793
2794
2795 \begin_inset Index idx
2796 status collapsed
2797
2798 \begin_layout Plain Layout
2799 Table ! Floats
2800 \end_layout
2801
2802 \end_inset
2803
2804
2805 \end_layout
2806
2807 \begin_layout Standard
2808 For general explanations about floats, have a look at section
2809 \begin_inset space ~
2810 \end_inset
2811
2812
2813 \begin_inset CommandInset ref
2814 LatexCommand ref
2815 reference "sec:FloatIntroduction"
2816
2817 \end_inset
2818
2819 .
2820 \end_layout
2821
2822 \begin_layout Standard
2823 \begin_inset Float table
2824 placement h
2825 wide false
2826 sideways false
2827 status open
2828
2829 \begin_layout Plain Layout
2830 \begin_inset Caption
2831
2832 \begin_layout Plain Layout
2833 \begin_inset CommandInset label
2834 LatexCommand label
2835 name "tab:a table float"
2836
2837 \end_inset
2838
2839 A table float.
2840 \end_layout
2841
2842 \end_inset
2843
2844
2845 \end_layout
2846
2847 \begin_layout Plain Layout
2848 \align center
2849 \begin_inset Tabular
2850 <lyxtabular version="3" rows="3" columns="3">
2851 <features tabularvalignment="middle">
2852 <column alignment="center" valignment="top" width="0pt">
2853 <column alignment="center" valignment="top" width="0pt">
2854 <column alignment="center" valignment="top" width="0pt">
2855 <row>
2856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2857 \begin_inset Text
2858
2859 \begin_layout Plain Layout
2860
2861 \family roman
2862 \series medium
2863 \shape up
2864 \size normal
2865 \emph off
2866 \bar no
2867 \noun off
2868 \color none
2869 1
2870 \end_layout
2871
2872 \end_inset
2873 </cell>
2874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2875 \begin_inset Text
2876
2877 \begin_layout Plain Layout
2878
2879 \family roman
2880 \series medium
2881 \shape up
2882 \size normal
2883 \emph off
2884 \bar no
2885 \noun off
2886 \color none
2887 2
2888 \end_layout
2889
2890 \end_inset
2891 </cell>
2892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2893 \begin_inset Text
2894
2895 \begin_layout Plain Layout
2896
2897 \family roman
2898 \series medium
2899 \shape up
2900 \size normal
2901 \emph off
2902 \bar no
2903 \noun off
2904 \color none
2905 3
2906 \end_layout
2907
2908 \end_inset
2909 </cell>
2910 </row>
2911 <row>
2912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2913 \begin_inset Text
2914
2915 \begin_layout Plain Layout
2916
2917 \family roman
2918 \series medium
2919 \shape up
2920 \size normal
2921 \emph off
2922 \bar no
2923 \noun off
2924 \color none
2925 Joe
2926 \end_layout
2927
2928 \end_inset
2929 </cell>
2930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2931 \begin_inset Text
2932
2933 \begin_layout Plain Layout
2934
2935 \family roman
2936 \series medium
2937 \shape up
2938 \size normal
2939 \emph off
2940 \bar no
2941 \noun off
2942 \color none
2943 Mary
2944 \end_layout
2945
2946 \end_inset
2947 </cell>
2948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2949 \begin_inset Text
2950
2951 \begin_layout Plain Layout
2952
2953 \family roman
2954 \series medium
2955 \shape up
2956 \size normal
2957 \emph off
2958 \bar no
2959 \noun off
2960 \color none
2961 Ted
2962 \end_layout
2963
2964 \end_inset
2965 </cell>
2966 </row>
2967 <row>
2968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2969 \begin_inset Text
2970
2971 \begin_layout Plain Layout
2972
2973 \family roman
2974 \series medium
2975 \shape up
2976 \size normal
2977 \emph off
2978 \bar no
2979 \noun off
2980 \color none
2981 \begin_inset Formula $\int x^{2}dx$
2982 \end_inset
2983
2984
2985 \end_layout
2986
2987 \end_inset
2988 </cell>
2989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2990 \begin_inset Text
2991
2992 \begin_layout Plain Layout
2993
2994 \family roman
2995 \series medium
2996 \shape up
2997 \size normal
2998 \emph off
2999 \bar no
3000 \noun off
3001 \color none
3002 \begin_inset Formula $\left[\begin{array}{cc}
3003 a & b\\
3004 c & d
3005 \end{array}\right]$
3006 \end_inset
3007
3008
3009 \end_layout
3010
3011 \end_inset
3012 </cell>
3013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3014 \begin_inset Text
3015
3016 \begin_layout Plain Layout
3017
3018 \family roman
3019 \series medium
3020 \shape up
3021 \size normal
3022 \emph off
3023 \bar no
3024 \noun off
3025 \color none
3026 \begin_inset Formula $1+1=2$
3027 \end_inset
3028
3029
3030 \end_layout
3031
3032 \end_inset
3033 </cell>
3034 </row>
3035 </lyxtabular>
3036
3037 \end_inset
3038
3039
3040 \end_layout
3041
3042 \end_inset
3043
3044
3045 \end_layout
3046
3047 \begin_layout Standard
3048 Table floats can be inserted using the menu 
3049 \family sans
3050 Insert\SpecialChar \menuseparator
3051 Float\SpecialChar \menuseparator
3052 Table
3053 \family default
3054  or the toolbar button 
3055 \begin_inset Graphics
3056         filename ../images/float-insert_table.png
3057         scale 85
3058         scaleBeforeRotation
3059
3060 \end_inset
3061
3062 .
3063 \end_layout
3064
3065 \begin_layout Standard
3066 The float appears as a collapsible box with a caption that has the label
3067  
3068 \begin_inset Quotes eld
3069 \end_inset
3070
3071 Table
3072 \begin_inset space ~
3073 \end_inset
3074
3075 #:
3076 \begin_inset Quotes erd
3077 \end_inset
3078
3079  (# is the actual table number).
3080  You can insert tables in the float above or below the caption.
3081 \end_layout
3082
3083 \begin_layout Standard
3084 Table
3085 \begin_inset space ~
3086 \end_inset
3087
3088
3089 \begin_inset CommandInset ref
3090 LatexCommand ref
3091 reference "tab:a table float"
3092
3093 \end_inset
3094
3095  is an example table within a table float.
3096 \end_layout
3097
3098 \begin_layout Standard
3099 Having the caption above the table is the common rule that is unfortunately
3100  not supported in LaTeX's standard classes.
3101  This means that, if you are using the document classes 
3102 \family sans
3103 article
3104 \family default
3105
3106 \family sans
3107 book
3108 \family default
3109
3110 \family sans
3111 letter
3112 \family default
3113 , or 
3114 \family sans
3115 report
3116 \family default
3117 , there will be no space between the caption and the table.
3118  To insert the needed space, add the following option to the load command
3119  of the LaTeX-package 
3120 \series bold
3121 caption
3122 \series default
3123
3124 \begin_inset Index idx
3125 status collapsed
3126
3127 \begin_layout Plain Layout
3128 LaTeX-packages ! caption
3129 \end_layout
3130
3131 \end_inset
3132
3133  in your document preamble
3134 \begin_inset Foot
3135 status collapsed
3136
3137 \begin_layout Plain Layout
3138 For more information have a look at section
3139 \begin_inset space ~
3140 \end_inset
3141
3142
3143 \begin_inset CommandInset ref
3144 LatexCommand ref
3145 reference "sec:Caption-Placement"
3146
3147 \end_inset
3148
3149 .
3150 \end_layout
3151
3152 \end_inset
3153
3154 :
3155 \end_layout
3156
3157 \begin_layout Standard
3158
3159 \series bold
3160 tableposition=top
3161 \end_layout
3162
3163 \begin_layout Standard
3164 The package 
3165 \series bold
3166 caption
3167 \series default
3168 , which is described in section
3169 \begin_inset space ~
3170 \end_inset
3171
3172
3173 \begin_inset CommandInset ref
3174 LatexCommand ref
3175 reference "sec:Caption-Formatting"
3176
3177 \end_inset
3178
3179 , is used to adjust the caption format.
3180 \end_layout
3181
3182 \begin_layout Standard
3183 \begin_inset Index idx
3184 status collapsed
3185
3186 \begin_layout Plain Layout
3187 References ! to Tables
3188 \end_layout
3189
3190 \end_inset
3191
3192 Tables can be cross-referenced in the text by referencing their label.
3193  To do this insert a label in the caption using the menu 
3194 \family sans
3195 Insert\SpecialChar \menuseparator
3196 Label
3197 \family default
3198  or the toolbar button 
3199 \begin_inset Graphics
3200         filename ../images/label-insert.png
3201         scale 85
3202         scaleBeforeRotation
3203
3204 \end_inset
3205
3206 .
3207  You can now refer to the label using the menu 
3208 \family sans
3209 Insert\SpecialChar \menuseparator
3210 Cross
3211 \begin_inset space ~
3212 \end_inset
3213
3214 reference
3215 \family default
3216  or the toolbar button 
3217 \begin_inset Graphics
3218         filename ../images/dialog-show-new-inset_ref.png
3219         scale 85
3220         scaleBeforeRotation
3221
3222 \end_inset
3223
3224 .
3225 \begin_inset Newline newline
3226 \end_inset
3227
3228 Referencing is explained in detail in section
3229 \begin_inset space ~
3230 \end_inset
3231
3232
3233 \begin_inset CommandInset ref
3234 LatexCommand ref
3235 reference "sec:Referencing-Floats"
3236
3237 \end_inset
3238
3239 .
3240 \end_layout
3241
3242 \begin_layout Section
3243 Longtables
3244 \begin_inset CommandInset label
3245 LatexCommand label
3246 name "sec:Longtables"
3247
3248 \end_inset
3249
3250
3251 \begin_inset Index idx
3252 status collapsed
3253
3254 \begin_layout Plain Layout
3255 Longtables
3256 \end_layout
3257
3258 \end_inset
3259
3260
3261 \begin_inset Index idx
3262 status collapsed
3263
3264 \begin_layout Plain Layout
3265 Table ! Longtables
3266 \end_layout
3267
3268 \end_inset
3269
3270
3271 \end_layout
3272
3273 \begin_layout Standard
3274 If the table is too long to fit on one page, you can use the option 
3275 \family sans
3276 Use
3277 \begin_inset space ~
3278 \end_inset
3279
3280 long
3281 \begin_inset space ~
3282 \end_inset
3283
3284 table
3285 \family default
3286  in the tab 
3287 \family sans
3288 Longtable
3289 \family default
3290  of the table dialog to split the table automatically over more pages.
3291  Doing this enables the following options:
3292 \end_layout
3293
3294 \begin_layout Description
3295 Header: The current row is defined to be a header row that appears on all
3296  pages of the longtable; except for the first page, if 
3297 \family sans
3298 First
3299 \begin_inset space ~
3300 \end_inset
3301
3302 header
3303 \family default
3304  is defined.
3305  This is therefore called the main header.
3306 \end_layout
3307
3308 \begin_layout Description
3309 First
3310 \begin_inset space ~
3311 \end_inset
3312
3313 header: The current row is defined to be a header row that appears on the
3314  first page of the longtable.
3315 \end_layout
3316
3317 \begin_layout Description
3318 Footer: The current row is defined to be a footer row that appears on all
3319  pages of the longtable; except for the last page, if 
3320 \family sans
3321 Last
3322 \begin_inset space ~
3323 \end_inset
3324
3325 footer
3326 \family default
3327  is defined.
3328 \end_layout
3329
3330 \begin_layout Description
3331 Last
3332 \begin_inset space ~
3333 \end_inset
3334
3335 footer: The current row is defined to be a footer row that appears on the
3336  last page of the longtable.
3337 \end_layout
3338
3339 \begin_layout Description
3340 Caption: The current row contains the table caption.
3341  The row is reset as single column and a caption is inserted.
3342  More about longtable captions is explained in sec.
3343 \begin_inset space \thinspace{}
3344 \end_inset
3345
3346
3347 \begin_inset CommandInset ref
3348 LatexCommand ref
3349 reference "sub:Longtable-Captions"
3350
3351 \end_inset
3352
3353 .
3354 \end_layout
3355
3356 \begin_layout Standard
3357 You can also specify a row where the table is split.
3358  See the following longtable to see how it works:
3359 \end_layout
3360
3361 \begin_layout Standard
3362 \align center
3363 \begin_inset Tabular
3364 <lyxtabular version="3" rows="69" columns="3">
3365 <features islongtable="true" longtabularalignment="center">
3366 <column alignment="left" valignment="top" width="0cm">
3367 <column alignment="left" valignment="top" width="0pt">
3368 <column alignment="center" valignment="top" width="0pt">
3369 <row endfirsthead="true">
3370 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3371 \begin_inset Text
3372
3373 \begin_layout Plain Layout
3374
3375 \series bold
3376 Example Phone List (ignore the names)
3377 \end_layout
3378
3379 \end_inset
3380 </cell>
3381 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3382 \begin_inset Text
3383
3384 \begin_layout Plain Layout
3385
3386 \end_layout
3387
3388 \end_inset
3389 </cell>
3390 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3391 \begin_inset Text
3392
3393 \begin_layout Plain Layout
3394
3395 \end_layout
3396
3397 \end_inset
3398 </cell>
3399 </row>
3400 <row endfirsthead="true">
3401 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3402 \begin_inset Text
3403
3404 \begin_layout Plain Layout
3405
3406 \series bold
3407 NAME
3408 \end_layout
3409
3410 \end_inset
3411 </cell>
3412 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3413 \begin_inset Text
3414
3415 \begin_layout Plain Layout
3416
3417 \end_layout
3418
3419 \end_inset
3420 </cell>
3421 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3422 \begin_inset Text
3423
3424 \begin_layout Plain Layout
3425
3426 \series bold
3427 TEL.
3428 \end_layout
3429
3430 \end_inset
3431 </cell>
3432 </row>
3433 <row endhead="true">
3434 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3435 \begin_inset Text
3436
3437 \begin_layout Plain Layout
3438
3439 \series bold
3440 Example Phone List
3441 \end_layout
3442
3443 \end_inset
3444 </cell>
3445 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3446 \begin_inset Text
3447
3448 \begin_layout Plain Layout
3449
3450 \end_layout
3451
3452 \end_inset
3453 </cell>
3454 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3455 \begin_inset Text
3456
3457 \begin_layout Plain Layout
3458
3459 \end_layout
3460
3461 \end_inset
3462 </cell>
3463 </row>
3464 <row endhead="true">
3465 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3466 \begin_inset Text
3467
3468 \begin_layout Plain Layout
3469
3470 \series bold
3471 NAME
3472 \end_layout
3473
3474 \end_inset
3475 </cell>
3476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3477 \begin_inset Text
3478
3479 \begin_layout Plain Layout
3480
3481 \end_layout
3482
3483 \end_inset
3484 </cell>
3485 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3486 \begin_inset Text
3487
3488 \begin_layout Plain Layout
3489
3490 \series bold
3491 TEL.
3492 \end_layout
3493
3494 \end_inset
3495 </cell>
3496 </row>
3497 <row endfoot="true">
3498 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Plain Layout
3502  continued on next page
3503 \end_layout
3504
3505 \end_inset
3506 </cell>
3507 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3508 \begin_inset Text
3509
3510 \begin_layout Plain Layout
3511
3512 \end_layout
3513
3514 \end_inset
3515 </cell>
3516 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3517 \begin_inset Text
3518
3519 \begin_layout Plain Layout
3520
3521 \end_layout
3522
3523 \end_inset
3524 </cell>
3525 </row>
3526 <row>
3527 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3528 \begin_inset Text
3529
3530 \begin_layout Plain Layout
3531
3532 \series bold
3533 Annovi
3534 \end_layout
3535
3536 \end_inset
3537 </cell>
3538 <cell alignment="center" valignment="top" usebox="none">
3539 \begin_inset Text
3540
3541 \begin_layout Plain Layout
3542 Silvia
3543 \end_layout
3544
3545 \end_inset
3546 </cell>
3547 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3548 \begin_inset Text
3549
3550 \begin_layout Plain Layout
3551 111
3552 \end_layout
3553
3554 \end_inset
3555 </cell>
3556 </row>
3557 <row>
3558 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3559 \begin_inset Text
3560
3561 \begin_layout Plain Layout
3562
3563 \series bold
3564 Bertoli
3565 \end_layout
3566
3567 \end_inset
3568 </cell>
3569 <cell alignment="center" valignment="top" usebox="none">
3570 \begin_inset Text
3571
3572 \begin_layout Plain Layout
3573 Stefano
3574 \end_layout
3575
3576 \end_inset
3577 </cell>
3578 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3579 \begin_inset Text
3580
3581 \begin_layout Plain Layout
3582 111
3583 \end_layout
3584
3585 \end_inset
3586 </cell>
3587 </row>
3588 <row>
3589 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3590 \begin_inset Text
3591
3592 \begin_layout Plain Layout
3593
3594 \series bold
3595 Bozzi
3596 \end_layout
3597
3598 \end_inset
3599 </cell>
3600 <cell alignment="center" valignment="top" usebox="none">
3601 \begin_inset Text
3602
3603 \begin_layout Plain Layout
3604 Walter
3605 \end_layout
3606
3607 \end_inset
3608 </cell>
3609 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3610 \begin_inset Text
3611
3612 \begin_layout Plain Layout
3613 111
3614 \end_layout
3615
3616 \end_inset
3617 </cell>
3618 </row>
3619 <row>
3620 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3621 \begin_inset Text
3622
3623 \begin_layout Plain Layout
3624
3625 \series bold
3626 Cachia
3627 \end_layout
3628
3629 \end_inset
3630 </cell>
3631 <cell alignment="center" valignment="top" usebox="none">
3632 \begin_inset Text
3633
3634 \begin_layout Plain Layout
3635 Maria
3636 \end_layout
3637
3638 \end_inset
3639 </cell>
3640 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3641 \begin_inset Text
3642
3643 \begin_layout Plain Layout
3644 111
3645 \end_layout
3646
3647 \end_inset
3648 </cell>
3649 </row>
3650 <row>
3651 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Plain Layout
3655
3656 \series bold
3657 Cachia
3658 \end_layout
3659
3660 \end_inset
3661 </cell>
3662 <cell alignment="center" valignment="top" usebox="none">
3663 \begin_inset Text
3664
3665 \begin_layout Plain Layout
3666 Maurizio
3667 \end_layout
3668
3669 \end_inset
3670 </cell>
3671 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3672 \begin_inset Text
3673
3674 \begin_layout Plain Layout
3675 111
3676 \end_layout
3677
3678 \end_inset
3679 </cell>
3680 </row>
3681 <row>
3682 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Plain Layout
3686
3687 \series bold
3688 Cinquemani
3689 \end_layout
3690
3691 \end_inset
3692 </cell>
3693 <cell alignment="center" valignment="top" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Plain Layout
3697 Giusi
3698 \end_layout
3699
3700 \end_inset
3701 </cell>
3702 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3703 \begin_inset Text
3704
3705 \begin_layout Plain Layout
3706 111
3707 \end_layout
3708
3709 \end_inset
3710 </cell>
3711 </row>
3712 <row>
3713 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Plain Layout
3717
3718 \series bold
3719 Colin
3720 \end_layout
3721
3722 \end_inset
3723 </cell>
3724 <cell alignment="center" valignment="top" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Plain Layout
3728 Bernard
3729 \end_layout
3730
3731 \end_inset
3732 </cell>
3733 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3734 \begin_inset Text
3735
3736 \begin_layout Plain Layout
3737 111
3738 \end_layout
3739
3740 \end_inset
3741 </cell>
3742 </row>
3743 <row>
3744 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Plain Layout
3748
3749 \series bold
3750 Concli
3751 \end_layout
3752
3753 \end_inset
3754 </cell>
3755 <cell alignment="center" valignment="top" usebox="none">
3756 \begin_inset Text
3757
3758 \begin_layout Plain Layout
3759 Gianfranco
3760 \end_layout
3761
3762 \end_inset
3763 </cell>
3764 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3765 \begin_inset Text
3766
3767 \begin_layout Plain Layout
3768 111
3769 \end_layout
3770
3771 \end_inset
3772 </cell>
3773 </row>
3774 <row>
3775 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Plain Layout
3779
3780 \series bold
3781 Dal Bosco
3782 \end_layout
3783
3784 \end_inset
3785 </cell>
3786 <cell alignment="center" valignment="top" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Plain Layout
3790 Carolina
3791 \end_layout
3792
3793 \end_inset
3794 </cell>
3795 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3796 \begin_inset Text
3797
3798 \begin_layout Plain Layout
3799 111
3800 \end_layout
3801
3802 \end_inset
3803 </cell>
3804 </row>
3805 <row>
3806 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Plain Layout
3810
3811 \series bold
3812 Dalpiaz
3813 \end_layout
3814
3815 \end_inset
3816 </cell>
3817 <cell alignment="center" valignment="top" usebox="none">
3818 \begin_inset Text
3819
3820 \begin_layout Plain Layout
3821 Annamaria
3822 \end_layout
3823
3824 \end_inset
3825 </cell>
3826 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3827 \begin_inset Text
3828
3829 \begin_layout Plain Layout
3830 111
3831 \end_layout
3832
3833 \end_inset
3834 </cell>
3835 </row>
3836 <row>
3837 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Plain Layout
3841
3842 \series bold
3843 Feliciello
3844 \end_layout
3845
3846 \end_inset
3847 </cell>
3848 <cell alignment="center" valignment="top" usebox="none">
3849 \begin_inset Text
3850
3851 \begin_layout Plain Layout
3852 Domenico
3853 \end_layout
3854
3855 \end_inset
3856 </cell>
3857 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3858 \begin_inset Text
3859
3860 \begin_layout Plain Layout
3861 111
3862 \end_layout
3863
3864 \end_inset
3865 </cell>
3866 </row>
3867 <row>
3868 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Plain Layout
3872
3873 \series bold
3874 Focarelli
3875 \end_layout
3876
3877 \end_inset
3878 </cell>
3879 <cell alignment="center" valignment="top" usebox="none">
3880 \begin_inset Text
3881
3882 \begin_layout Plain Layout
3883 Paola
3884 \end_layout
3885
3886 \end_inset
3887 </cell>
3888 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3889 \begin_inset Text
3890
3891 \begin_layout Plain Layout
3892 111
3893 \end_layout
3894
3895 \end_inset
3896 </cell>
3897 </row>
3898 <row>
3899 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Plain Layout
3903
3904 \series bold
3905 Galletti
3906 \end_layout
3907
3908 \end_inset
3909 </cell>
3910 <cell alignment="center" valignment="top" usebox="none">
3911 \begin_inset Text
3912
3913 \begin_layout Plain Layout
3914 Oreste
3915 \end_layout
3916
3917 \end_inset
3918 </cell>
3919 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3920 \begin_inset Text
3921
3922 \begin_layout Plain Layout
3923 111
3924 \end_layout
3925
3926 \end_inset
3927 </cell>
3928 </row>
3929 <row>
3930 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Plain Layout
3934
3935 \series bold
3936 Gasparini
3937 \end_layout
3938
3939 \end_inset
3940 </cell>
3941 <cell alignment="center" valignment="top" usebox="none">
3942 \begin_inset Text
3943
3944 \begin_layout Plain Layout
3945 Franca
3946 \end_layout
3947
3948 \end_inset
3949 </cell>
3950 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3951 \begin_inset Text
3952
3953 \begin_layout Plain Layout
3954 111
3955 \end_layout
3956
3957 \end_inset
3958 </cell>
3959 </row>
3960 <row>
3961 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Plain Layout
3965
3966 \series bold
3967 Rizzardi
3968 \end_layout
3969
3970 \end_inset
3971 </cell>
3972 <cell alignment="center" valignment="top" usebox="none">
3973 \begin_inset Text
3974
3975 \begin_layout Plain Layout
3976 Paola
3977 \end_layout
3978
3979 \end_inset
3980 </cell>
3981 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3982 \begin_inset Text
3983
3984 \begin_layout Plain Layout
3985 111
3986 \end_layout
3987
3988 \end_inset
3989 </cell>
3990 </row>
3991 <row>
3992 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Plain Layout
3996
3997 \series bold
3998 Lassini
3999 \end_layout
4000
4001 \end_inset
4002 </cell>
4003 <cell alignment="center" valignment="top" usebox="none">
4004 \begin_inset Text
4005
4006 \begin_layout Plain Layout
4007 Giancarlo
4008 \end_layout
4009
4010 \end_inset
4011 </cell>
4012 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4013 \begin_inset Text
4014
4015 \begin_layout Plain Layout
4016 111
4017 \end_layout
4018
4019 \end_inset
4020 </cell>
4021 </row>
4022 <row>
4023 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Plain Layout
4027
4028 \series bold
4029 Malfatti
4030 \end_layout
4031
4032 \end_inset
4033 </cell>
4034 <cell alignment="center" valignment="top" usebox="none">
4035 \begin_inset Text
4036
4037 \begin_layout Plain Layout
4038 Luciano
4039 \end_layout
4040
4041 \end_inset
4042 </cell>
4043 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4044 \begin_inset Text
4045
4046 \begin_layout Plain Layout
4047 111
4048 \end_layout
4049
4050 \end_inset
4051 </cell>
4052 </row>
4053 <row>
4054 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Plain Layout
4058
4059 \series bold
4060 Malfatti
4061 \end_layout
4062
4063 \end_inset
4064 </cell>
4065 <cell alignment="center" valignment="top" usebox="none">
4066 \begin_inset Text
4067
4068 \begin_layout Plain Layout
4069 Valeriano
4070 \end_layout
4071
4072 \end_inset
4073 </cell>
4074 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4075 \begin_inset Text
4076
4077 \begin_layout Plain Layout
4078 111
4079 \end_layout
4080
4081 \end_inset
4082 </cell>
4083 </row>
4084 <row>
4085 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Plain Layout
4089
4090 \series bold
4091 Meneguzzo
4092 \end_layout
4093
4094 \end_inset
4095 </cell>
4096 <cell alignment="center" valignment="top" usebox="none">
4097 \begin_inset Text
4098
4099 \begin_layout Plain Layout
4100 Roberto
4101 \end_layout
4102
4103 \end_inset
4104 </cell>
4105 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4106 \begin_inset Text
4107
4108 \begin_layout Plain Layout
4109 111
4110 \end_layout
4111
4112 \end_inset
4113 </cell>
4114 </row>
4115 <row>
4116 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Plain Layout
4120
4121 \series bold
4122 Mezzadra
4123 \end_layout
4124
4125 \end_inset
4126 </cell>
4127 <cell alignment="center" valignment="top" usebox="none">
4128 \begin_inset Text
4129
4130 \begin_layout Plain Layout
4131 Roberto
4132 \end_layout
4133
4134 \end_inset
4135 </cell>
4136 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4137 \begin_inset Text
4138
4139 \begin_layout Plain Layout
4140 111
4141 \end_layout
4142
4143 \end_inset
4144 </cell>
4145 </row>
4146 <row>
4147 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Plain Layout
4151
4152 \series bold
4153 Pirpamer
4154 \end_layout
4155
4156 \end_inset
4157 </cell>
4158 <cell alignment="center" valignment="top" usebox="none">
4159 \begin_inset Text
4160
4161 \begin_layout Plain Layout
4162 Erich
4163 \end_layout
4164
4165 \end_inset
4166 </cell>
4167 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4168 \begin_inset Text
4169
4170 \begin_layout Plain Layout
4171 111
4172 \end_layout
4173
4174 \end_inset
4175 </cell>
4176 </row>
4177 <row>
4178 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Plain Layout
4182
4183 \series bold
4184 Pochiesa
4185 \end_layout
4186
4187 \end_inset
4188 </cell>
4189 <cell alignment="center" valignment="top" usebox="none">
4190 \begin_inset Text
4191
4192 \begin_layout Plain Layout
4193 Paolo
4194 \end_layout
4195
4196 \end_inset
4197 </cell>
4198 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4199 \begin_inset Text
4200
4201 \begin_layout Plain Layout
4202 111, 222
4203 \end_layout
4204
4205 \end_inset
4206 </cell>
4207 </row>
4208 <row>
4209 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Plain Layout
4213
4214 \series bold
4215 Radina
4216 \end_layout
4217
4218 \end_inset
4219 </cell>
4220 <cell alignment="center" valignment="top" usebox="none">
4221 \begin_inset Text
4222
4223 \begin_layout Plain Layout
4224 Claudio
4225 \end_layout
4226
4227 \end_inset
4228 </cell>
4229 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4230 \begin_inset Text
4231
4232 \begin_layout Plain Layout
4233 111
4234 \end_layout
4235
4236 \end_inset
4237 </cell>
4238 </row>
4239 <row>
4240 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Plain Layout
4244
4245 \series bold
4246 Stuffer
4247 \end_layout
4248
4249 \end_inset
4250 </cell>
4251 <cell alignment="center" valignment="top" usebox="none">
4252 \begin_inset Text
4253
4254 \begin_layout Plain Layout
4255 Oskar
4256 \end_layout
4257
4258 \end_inset
4259 </cell>
4260 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4261 \begin_inset Text
4262
4263 \begin_layout Plain Layout
4264 111
4265 \end_layout
4266
4267 \end_inset
4268 </cell>
4269 </row>
4270 <row>
4271 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Plain Layout
4275
4276 \series bold
4277 Tacchelli
4278 \end_layout
4279
4280 \end_inset
4281 </cell>
4282 <cell alignment="center" valignment="top" usebox="none">
4283 \begin_inset Text
4284
4285 \begin_layout Plain Layout
4286 Ugo
4287 \end_layout
4288
4289 \end_inset
4290 </cell>
4291 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4292 \begin_inset Text
4293
4294 \begin_layout Plain Layout
4295 111
4296 \end_layout
4297
4298 \end_inset
4299 </cell>
4300 </row>
4301 <row>
4302 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Plain Layout
4306
4307 \series bold
4308 Tezzele
4309 \end_layout
4310
4311 \end_inset
4312 </cell>
4313 <cell alignment="center" valignment="top" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Plain Layout
4317 Margit
4318 \end_layout
4319
4320 \end_inset
4321 </cell>
4322 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4323 \begin_inset Text
4324
4325 \begin_layout Plain Layout
4326 111
4327 \end_layout
4328
4329 \end_inset
4330 </cell>
4331 </row>
4332 <row>
4333 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Plain Layout
4337
4338 \series bold
4339 Unterkalmsteiner
4340 \end_layout
4341
4342 \end_inset
4343 </cell>
4344 <cell alignment="center" valignment="top" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Plain Layout
4348 Frieda
4349 \end_layout
4350
4351 \end_inset
4352 </cell>
4353 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4354 \begin_inset Text
4355
4356 \begin_layout Plain Layout
4357 111
4358 \end_layout
4359
4360 \end_inset
4361 </cell>
4362 </row>
4363 <row>
4364 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Plain Layout
4368
4369 \series bold
4370 Vieider
4371 \end_layout
4372
4373 \end_inset
4374 </cell>
4375 <cell alignment="center" valignment="top" usebox="none">
4376 \begin_inset Text
4377
4378 \begin_layout Plain Layout
4379 Hilde
4380 \end_layout
4381
4382 \end_inset
4383 </cell>
4384 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4385 \begin_inset Text
4386
4387 \begin_layout Plain Layout
4388 111
4389 \end_layout
4390
4391 \end_inset
4392 </cell>
4393 </row>
4394 <row>
4395 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Plain Layout
4399
4400 \series bold
4401 Vigna
4402 \end_layout
4403
4404 \end_inset
4405 </cell>
4406 <cell alignment="center" valignment="top" usebox="none">
4407 \begin_inset Text
4408
4409 \begin_layout Plain Layout
4410 Jürgen
4411 \end_layout
4412
4413 \end_inset
4414 </cell>
4415 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4416 \begin_inset Text
4417
4418 \begin_layout Plain Layout
4419 111
4420 \end_layout
4421
4422 \end_inset
4423 </cell>
4424 </row>
4425 <row>
4426 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Plain Layout
4430
4431 \series bold
4432 Weber
4433 \end_layout
4434
4435 \end_inset
4436 </cell>
4437 <cell alignment="center" valignment="top" usebox="none">
4438 \begin_inset Text
4439
4440 \begin_layout Plain Layout
4441 Maurizio
4442 \end_layout
4443
4444 \end_inset
4445 </cell>
4446 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4447 \begin_inset Text
4448
4449 \begin_layout Plain Layout
4450 111
4451 \end_layout
4452
4453 \end_inset
4454 </cell>
4455 </row>
4456 <row>
4457 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Plain Layout
4461
4462 \series bold
4463 Winkler
4464 \end_layout
4465
4466 \end_inset
4467 </cell>
4468 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4469 \begin_inset Text
4470
4471 \begin_layout Plain Layout
4472 Franz
4473 \end_layout
4474
4475 \end_inset
4476 </cell>
4477 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4478 \begin_inset Text
4479
4480 \begin_layout Plain Layout
4481 111
4482 \end_layout
4483
4484 \end_inset
4485 </cell>
4486 </row>
4487 <row>
4488 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Plain Layout
4492  
4493 \end_layout
4494
4495 \end_inset
4496 </cell>
4497 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4498 \begin_inset Text
4499
4500 \begin_layout Plain Layout
4501
4502 \end_layout
4503
4504 \end_inset
4505 </cell>
4506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4507 \begin_inset Text
4508
4509 \begin_layout Plain Layout
4510
4511 \end_layout
4512
4513 \end_inset
4514 </cell>
4515 </row>
4516 <row>
4517 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4518 \begin_inset Text
4519
4520 \begin_layout Plain Layout
4521
4522 \series bold
4523 Annovi
4524 \end_layout
4525
4526 \end_inset
4527 </cell>
4528 <cell alignment="center" valignment="top" usebox="none">
4529 \begin_inset Text
4530
4531 \begin_layout Plain Layout
4532 Silvia
4533 \end_layout
4534
4535 \end_inset
4536 </cell>
4537 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4538 \begin_inset Text
4539
4540 \begin_layout Plain Layout
4541 555
4542 \end_layout
4543
4544 \end_inset
4545 </cell>
4546 </row>
4547 <row>
4548 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4549 \begin_inset Text
4550
4551 \begin_layout Plain Layout
4552
4553 \series bold
4554 Bertoli
4555 \end_layout
4556
4557 \end_inset
4558 </cell>
4559 <cell alignment="center" valignment="top" usebox="none">
4560 \begin_inset Text
4561
4562 \begin_layout Plain Layout
4563 Stefano
4564 \end_layout
4565
4566 \end_inset
4567 </cell>
4568 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4569 \begin_inset Text
4570
4571 \begin_layout Plain Layout
4572 555
4573 \end_layout
4574
4575 \end_inset
4576 </cell>
4577 </row>
4578 <row>
4579 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4580 \begin_inset Text
4581
4582 \begin_layout Plain Layout
4583
4584 \series bold
4585 Bozzi
4586 \end_layout
4587
4588 \end_inset
4589 </cell>
4590 <cell alignment="center" valignment="top" usebox="none">
4591 \begin_inset Text
4592
4593 \begin_layout Plain Layout
4594 Walter
4595 \end_layout
4596
4597 \end_inset
4598 </cell>
4599 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4600 \begin_inset Text
4601
4602 \begin_layout Plain Layout
4603 555
4604 \end_layout
4605
4606 \end_inset
4607 </cell>
4608 </row>
4609 <row>
4610 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4611 \begin_inset Text
4612
4613 \begin_layout Plain Layout
4614
4615 \series bold
4616 Cachia
4617 \end_layout
4618
4619 \end_inset
4620 </cell>
4621 <cell alignment="center" valignment="top" usebox="none">
4622 \begin_inset Text
4623
4624 \begin_layout Plain Layout
4625 Maria
4626 \end_layout
4627
4628 \end_inset
4629 </cell>
4630 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4631 \begin_inset Text
4632
4633 \begin_layout Plain Layout
4634 555
4635 \end_layout
4636
4637 \end_inset
4638 </cell>
4639 </row>
4640 <row>
4641 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4642 \begin_inset Text
4643
4644 \begin_layout Plain Layout
4645
4646 \series bold
4647 Cachia
4648 \end_layout
4649
4650 \end_inset
4651 </cell>
4652 <cell alignment="center" valignment="top" usebox="none">
4653 \begin_inset Text
4654
4655 \begin_layout Plain Layout
4656 Maurizio
4657 \end_layout
4658
4659 \end_inset
4660 </cell>
4661 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4662 \begin_inset Text
4663
4664 \begin_layout Plain Layout
4665 555
4666 \end_layout
4667
4668 \end_inset
4669 </cell>
4670 </row>
4671 <row>
4672 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4673 \begin_inset Text
4674
4675 \begin_layout Plain Layout
4676
4677 \series bold
4678 Cinquemani
4679 \end_layout
4680
4681 \end_inset
4682 </cell>
4683 <cell alignment="center" valignment="top" usebox="none">
4684 \begin_inset Text
4685
4686 \begin_layout Plain Layout
4687 Giusi
4688 \end_layout
4689
4690 \end_inset
4691 </cell>
4692 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4693 \begin_inset Text
4694
4695 \begin_layout Plain Layout
4696 555
4697 \end_layout
4698
4699 \end_inset
4700 </cell>
4701 </row>
4702 <row>
4703 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4704 \begin_inset Text
4705
4706 \begin_layout Plain Layout
4707
4708 \series bold
4709 Colin
4710 \end_layout
4711
4712 \end_inset
4713 </cell>
4714 <cell alignment="center" valignment="top" usebox="none">
4715 \begin_inset Text
4716
4717 \begin_layout Plain Layout
4718 Bernard
4719 \end_layout
4720
4721 \end_inset
4722 </cell>
4723 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4724 \begin_inset Text
4725
4726 \begin_layout Plain Layout
4727 555
4728 \end_layout
4729
4730 \end_inset
4731 </cell>
4732 </row>
4733 <row>
4734 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4735 \begin_inset Text
4736
4737 \begin_layout Plain Layout
4738
4739 \series bold
4740 Concli
4741 \end_layout
4742
4743 \end_inset
4744 </cell>
4745 <cell alignment="center" valignment="top" usebox="none">
4746 \begin_inset Text
4747
4748 \begin_layout Plain Layout
4749 Gianfranco
4750 \end_layout
4751
4752 \end_inset
4753 </cell>
4754 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4755 \begin_inset Text
4756
4757 \begin_layout Plain Layout
4758 555
4759 \end_layout
4760
4761 \end_inset
4762 </cell>
4763 </row>
4764 <row>
4765 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4766 \begin_inset Text
4767
4768 \begin_layout Plain Layout
4769
4770 \series bold
4771 Dal Bosco
4772 \end_layout
4773
4774 \end_inset
4775 </cell>
4776 <cell alignment="center" valignment="top" usebox="none">
4777 \begin_inset Text
4778
4779 \begin_layout Plain Layout
4780 Carolina
4781 \end_layout
4782
4783 \end_inset
4784 </cell>
4785 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4786 \begin_inset Text
4787
4788 \begin_layout Plain Layout
4789 555
4790 \end_layout
4791
4792 \end_inset
4793 </cell>
4794 </row>
4795 <row>
4796 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4797 \begin_inset Text
4798
4799 \begin_layout Plain Layout
4800
4801 \series bold
4802 Dalpiaz
4803 \end_layout
4804
4805 \end_inset
4806 </cell>
4807 <cell alignment="center" valignment="top" usebox="none">
4808 \begin_inset Text
4809
4810 \begin_layout Plain Layout
4811 Annamaria
4812 \end_layout
4813
4814 \end_inset
4815 </cell>
4816 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4817 \begin_inset Text
4818
4819 \begin_layout Plain Layout
4820 555
4821 \end_layout
4822
4823 \end_inset
4824 </cell>
4825 </row>
4826 <row>
4827 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4828 \begin_inset Text
4829
4830 \begin_layout Plain Layout
4831
4832 \series bold
4833 Feliciello
4834 \end_layout
4835
4836 \end_inset
4837 </cell>
4838 <cell alignment="center" valignment="top" usebox="none">
4839 \begin_inset Text
4840
4841 \begin_layout Plain Layout
4842 Domenico
4843 \end_layout
4844
4845 \end_inset
4846 </cell>
4847 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4848 \begin_inset Text
4849
4850 \begin_layout Plain Layout
4851 555
4852 \end_layout
4853
4854 \end_inset
4855 </cell>
4856 </row>
4857 <row>
4858 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4859 \begin_inset Text
4860
4861 \begin_layout Plain Layout
4862
4863 \series bold
4864 Focarelli
4865 \end_layout
4866
4867 \end_inset
4868 </cell>
4869 <cell alignment="center" valignment="top" usebox="none">
4870 \begin_inset Text
4871
4872 \begin_layout Plain Layout
4873 Paola
4874 \end_layout
4875
4876 \end_inset
4877 </cell>
4878 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4879 \begin_inset Text
4880
4881 \begin_layout Plain Layout
4882 555
4883 \end_layout
4884
4885 \end_inset
4886 </cell>
4887 </row>
4888 <row>
4889 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4890 \begin_inset Text
4891
4892 \begin_layout Plain Layout
4893
4894 \series bold
4895 Galletti
4896 \end_layout
4897
4898 \end_inset
4899 </cell>
4900 <cell alignment="center" valignment="top" usebox="none">
4901 \begin_inset Text
4902
4903 \begin_layout Plain Layout
4904 Oreste
4905 \end_layout
4906
4907 \end_inset
4908 </cell>
4909 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4910 \begin_inset Text
4911
4912 \begin_layout Plain Layout
4913 555
4914 \end_layout
4915
4916 \end_inset
4917 </cell>
4918 </row>
4919 <row>
4920 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4921 \begin_inset Text
4922
4923 \begin_layout Plain Layout
4924
4925 \series bold
4926 Gasparini
4927 \end_layout
4928
4929 \end_inset
4930 </cell>
4931 <cell alignment="center" valignment="top" usebox="none">
4932 \begin_inset Text
4933
4934 \begin_layout Plain Layout
4935 Franca
4936 \end_layout
4937
4938 \end_inset
4939 </cell>
4940 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4941 \begin_inset Text
4942
4943 \begin_layout Plain Layout
4944 555
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 </row>
4950 <row>
4951 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4952 \begin_inset Text
4953
4954 \begin_layout Plain Layout
4955
4956 \series bold
4957 Rizzardi
4958 \end_layout
4959
4960 \end_inset
4961 </cell>
4962 <cell alignment="center" valignment="top" usebox="none">
4963 \begin_inset Text
4964
4965 \begin_layout Plain Layout
4966 Paola
4967 \end_layout
4968
4969 \end_inset
4970 </cell>
4971 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4972 \begin_inset Text
4973
4974 \begin_layout Plain Layout
4975 555
4976 \end_layout
4977
4978 \end_inset
4979 </cell>
4980 </row>
4981 <row>
4982 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4983 \begin_inset Text
4984
4985 \begin_layout Plain Layout
4986
4987 \series bold
4988 Lassini
4989 \end_layout
4990
4991 \end_inset
4992 </cell>
4993 <cell alignment="center" valignment="top" usebox="none">
4994 \begin_inset Text
4995
4996 \begin_layout Plain Layout
4997 Giancarlo
4998 \end_layout
4999
5000 \end_inset
5001 </cell>
5002 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5003 \begin_inset Text
5004
5005 \begin_layout Plain Layout
5006 555
5007 \end_layout
5008
5009 \end_inset
5010 </cell>
5011 </row>
5012 <row>
5013 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5014 \begin_inset Text
5015
5016 \begin_layout Plain Layout
5017
5018 \series bold
5019 Malfatti
5020 \end_layout
5021
5022 \end_inset
5023 </cell>
5024 <cell alignment="center" valignment="top" usebox="none">
5025 \begin_inset Text
5026
5027 \begin_layout Plain Layout
5028 Luciano
5029 \end_layout
5030
5031 \end_inset
5032 </cell>
5033 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5034 \begin_inset Text
5035
5036 \begin_layout Plain Layout
5037 555
5038 \end_layout
5039
5040 \end_inset
5041 </cell>
5042 </row>
5043 <row>
5044 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5045 \begin_inset Text
5046
5047 \begin_layout Plain Layout
5048
5049 \series bold
5050 Malfatti
5051 \end_layout
5052
5053 \end_inset
5054 </cell>
5055 <cell alignment="center" valignment="top" usebox="none">
5056 \begin_inset Text
5057
5058 \begin_layout Plain Layout
5059 Valeriano
5060 \end_layout
5061
5062 \end_inset
5063 </cell>
5064 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5065 \begin_inset Text
5066
5067 \begin_layout Plain Layout
5068 555
5069 \end_layout
5070
5071 \end_inset
5072 </cell>
5073 </row>
5074 <row>
5075 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5076 \begin_inset Text
5077
5078 \begin_layout Plain Layout
5079
5080 \series bold
5081 Meneguzzo
5082 \end_layout
5083
5084 \end_inset
5085 </cell>
5086 <cell alignment="center" valignment="top" usebox="none">
5087 \begin_inset Text
5088
5089 \begin_layout Plain Layout
5090 Roberto
5091 \end_layout
5092
5093 \end_inset
5094 </cell>
5095 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5096 \begin_inset Text
5097
5098 \begin_layout Plain Layout
5099 555
5100 \end_layout
5101
5102 \end_inset
5103 </cell>
5104 </row>
5105 <row>
5106 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5107 \begin_inset Text
5108
5109 \begin_layout Plain Layout
5110
5111 \series bold
5112 Mezzadra
5113 \end_layout
5114
5115 \end_inset
5116 </cell>
5117 <cell alignment="center" valignment="top" usebox="none">
5118 \begin_inset Text
5119
5120 \begin_layout Plain Layout
5121 Roberto
5122 \end_layout
5123
5124 \end_inset
5125 </cell>
5126 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5127 \begin_inset Text
5128
5129 \begin_layout Plain Layout
5130 555
5131 \end_layout
5132
5133 \end_inset
5134 </cell>
5135 </row>
5136 <row>
5137 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5138 \begin_inset Text
5139
5140 \begin_layout Plain Layout
5141
5142 \series bold
5143 Pirpamer
5144 \end_layout
5145
5146 \end_inset
5147 </cell>
5148 <cell alignment="center" valignment="top" usebox="none">
5149 \begin_inset Text
5150
5151 \begin_layout Plain Layout
5152 Erich
5153 \end_layout
5154
5155 \end_inset
5156 </cell>
5157 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5158 \begin_inset Text
5159
5160 \begin_layout Plain Layout
5161 555
5162 \end_layout
5163
5164 \end_inset
5165 </cell>
5166 </row>
5167 <row>
5168 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5169 \begin_inset Text
5170
5171 \begin_layout Plain Layout
5172
5173 \series bold
5174 Pochiesa
5175 \end_layout
5176
5177 \end_inset
5178 </cell>
5179 <cell alignment="center" valignment="top" usebox="none">
5180 \begin_inset Text
5181
5182 \begin_layout Plain Layout
5183 Paolo
5184 \end_layout
5185
5186 \end_inset
5187 </cell>
5188 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5189 \begin_inset Text
5190
5191 \begin_layout Plain Layout
5192 555, 222
5193 \end_layout
5194
5195 \end_inset
5196 </cell>
5197 </row>
5198 <row>
5199 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5200 \begin_inset Text
5201
5202 \begin_layout Plain Layout
5203
5204 \series bold
5205 Radina
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 <cell alignment="center" valignment="top" usebox="none">
5211 \begin_inset Text
5212
5213 \begin_layout Plain Layout
5214 Claudio
5215 \end_layout
5216
5217 \end_inset
5218 </cell>
5219 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5220 \begin_inset Text
5221
5222 \begin_layout Plain Layout
5223 555
5224 \end_layout
5225
5226 \end_inset
5227 </cell>
5228 </row>
5229 <row>
5230 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5231 \begin_inset Text
5232
5233 \begin_layout Plain Layout
5234
5235 \series bold
5236 Stuffer
5237 \end_layout
5238
5239 \end_inset
5240 </cell>
5241 <cell alignment="center" valignment="top" usebox="none">
5242 \begin_inset Text
5243
5244 \begin_layout Plain Layout
5245 Oskar
5246 \end_layout
5247
5248 \end_inset
5249 </cell>
5250 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5251 \begin_inset Text
5252
5253 \begin_layout Plain Layout
5254 555
5255 \end_layout
5256
5257 \end_inset
5258 </cell>
5259 </row>
5260 <row>
5261 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5262 \begin_inset Text
5263
5264 \begin_layout Plain Layout
5265
5266 \series bold
5267 Tacchelli
5268 \end_layout
5269
5270 \end_inset
5271 </cell>
5272 <cell alignment="center" valignment="top" usebox="none">
5273 \begin_inset Text
5274
5275 \begin_layout Plain Layout
5276 Ugo
5277 \end_layout
5278
5279 \end_inset
5280 </cell>
5281 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5282 \begin_inset Text
5283
5284 \begin_layout Plain Layout
5285 555
5286 \end_layout
5287
5288 \end_inset
5289 </cell>
5290 </row>
5291 <row>
5292 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5293 \begin_inset Text
5294
5295 \begin_layout Plain Layout
5296
5297 \series bold
5298 Tezzele
5299 \end_layout
5300
5301 \end_inset
5302 </cell>
5303 <cell alignment="center" valignment="top" usebox="none">
5304 \begin_inset Text
5305
5306 \begin_layout Plain Layout
5307 Margit
5308 \end_layout
5309
5310 \end_inset
5311 </cell>
5312 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5313 \begin_inset Text
5314
5315 \begin_layout Plain Layout
5316 555
5317 \end_layout
5318
5319 \end_inset
5320 </cell>
5321 </row>
5322 <row>
5323 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5324 \begin_inset Text
5325
5326 \begin_layout Plain Layout
5327
5328 \series bold
5329 Unterkalmsteiner
5330 \end_layout
5331
5332 \end_inset
5333 </cell>
5334 <cell alignment="center" valignment="top" usebox="none">
5335 \begin_inset Text
5336
5337 \begin_layout Plain Layout
5338 Frieda
5339 \end_layout
5340
5341 \end_inset
5342 </cell>
5343 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5344 \begin_inset Text
5345
5346 \begin_layout Plain Layout
5347 555
5348 \end_layout
5349
5350 \end_inset
5351 </cell>
5352 </row>
5353 <row>
5354 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5355 \begin_inset Text
5356
5357 \begin_layout Plain Layout
5358
5359 \series bold
5360 Vieider
5361 \end_layout
5362
5363 \end_inset
5364 </cell>
5365 <cell alignment="center" valignment="top" usebox="none">
5366 \begin_inset Text
5367
5368 \begin_layout Plain Layout
5369 Hilde
5370 \end_layout
5371
5372 \end_inset
5373 </cell>
5374 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5375 \begin_inset Text
5376
5377 \begin_layout Plain Layout
5378 555
5379 \end_layout
5380
5381 \end_inset
5382 </cell>
5383 </row>
5384 <row>
5385 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5386 \begin_inset Text
5387
5388 \begin_layout Plain Layout
5389
5390 \series bold
5391 Vigna
5392 \end_layout
5393
5394 \end_inset
5395 </cell>
5396 <cell alignment="center" valignment="top" usebox="none">
5397 \begin_inset Text
5398
5399 \begin_layout Plain Layout
5400 Jürgen
5401 \end_layout
5402
5403 \end_inset
5404 </cell>
5405 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5406 \begin_inset Text
5407
5408 \begin_layout Plain Layout
5409 999
5410 \end_layout
5411
5412 \end_inset
5413 </cell>
5414 </row>
5415 <row>
5416 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5417 \begin_inset Text
5418
5419 \begin_layout Plain Layout
5420
5421 \series bold
5422 Weber
5423 \end_layout
5424
5425 \end_inset
5426 </cell>
5427 <cell alignment="center" valignment="top" usebox="none">
5428 \begin_inset Text
5429
5430 \begin_layout Plain Layout
5431 Maurizio
5432 \end_layout
5433
5434 \end_inset
5435 </cell>
5436 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5437 \begin_inset Text
5438
5439 \begin_layout Plain Layout
5440 555
5441 \end_layout
5442
5443 \end_inset
5444 </cell>
5445 </row>
5446 <row>
5447 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5448 \begin_inset Text
5449
5450 \begin_layout Plain Layout
5451
5452 \series bold
5453 Winkler
5454 \end_layout
5455
5456 \end_inset
5457 </cell>
5458 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5459 \begin_inset Text
5460
5461 \begin_layout Plain Layout
5462 Franz
5463 \end_layout
5464
5465 \end_inset
5466 </cell>
5467 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5468 \begin_inset Text
5469
5470 \begin_layout Plain Layout
5471 555
5472 \end_layout
5473
5474 \end_inset
5475 </cell>
5476 </row>
5477 <row endlastfoot="true">
5478 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5479 \begin_inset Text
5480
5481 \begin_layout Plain Layout
5482 end
5483 \end_layout
5484
5485 \end_inset
5486 </cell>
5487 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5488 \begin_inset Text
5489
5490 \begin_layout Plain Layout
5491
5492 \end_layout
5493
5494 \end_inset
5495 </cell>
5496 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5497 \begin_inset Text
5498
5499 \begin_layout Plain Layout
5500
5501 \end_layout
5502
5503 \end_inset
5504 </cell>
5505 </row>
5506 </lyxtabular>
5507
5508 \end_inset
5509
5510
5511 \begin_inset ERT
5512 status collapsed
5513
5514 \begin_layout Plain Layout
5515
5516
5517 \backslash
5518 addtocounter{table}{-1}
5519 \end_layout
5520
5521 \end_inset
5522
5523
5524 \begin_inset Note Note
5525 status collapsed
5526
5527 \begin_layout Plain Layout
5528 See the first greyed-out note in section
5529 \begin_inset space ~
5530 \end_inset
5531
5532
5533 \begin_inset CommandInset ref
5534 LatexCommand ref
5535 reference "sub:Longtable-Captions"
5536
5537 \end_inset
5538
5539  for an explanation of this command.
5540 \end_layout
5541
5542 \end_inset
5543
5544
5545 \end_layout
5546
5547 \begin_layout Subsection
5548 Footnotes in Longtables
5549 \begin_inset CommandInset label
5550 LatexCommand label
5551 name "sub:Footnotes-in-Longtables"
5552
5553 \end_inset
5554
5555
5556 \begin_inset Index idx
5557 status collapsed
5558
5559 \begin_layout Plain Layout
5560 Longtables ! Footnotes
5561 \end_layout
5562
5563 \end_inset
5564
5565
5566 \end_layout
5567
5568 \begin_layout Standard
5569 Footnotes can be inserted to every longtable cell.
5570  They appear at the bottom of the page where the table cell with the footnote
5571  appears.
5572  Table
5573 \begin_inset space ~
5574 \end_inset
5575
5576
5577 \begin_inset CommandInset ref
5578 LatexCommand ref
5579 reference "tab:DiffCaptions"
5580
5581 \end_inset
5582
5583  has for example a footnote.
5584 \end_layout
5585
5586 \begin_layout Subsection
5587 Longtable Alignment
5588 \begin_inset Index idx
5589 status collapsed
5590
5591 \begin_layout Plain Layout
5592 Longtables ! Alignment
5593 \end_layout
5594
5595 \end_inset
5596
5597
5598 \end_layout
5599
5600 \begin_layout Standard
5601 The horizontal alignment of longtables can be set in the table settings
5602  dialog.
5603  For left- and right-alignment the table will be directly at the page border.
5604  To add space between the table and the border one has to set the alignment
5605  to center and change the value of the LaTeX-lengths 
5606 \series bold
5607
5608 \backslash
5609 LTleft 
5610 \series default
5611 or 
5612 \series bold
5613
5614 \backslash
5615 LTright
5616 \series default
5617  by inserting this line as TeX-Code before the longtable:
5618 \end_layout
5619
5620 \begin_layout Standard
5621
5622 \series bold
5623
5624 \backslash
5625 setlength{
5626 \backslash
5627 LTleft}{value}
5628 \end_layout
5629
5630 \begin_layout Standard
5631 The value can have any of the units listed in Table
5632 \begin_inset space ~
5633 \end_inset
5634
5635
5636 \begin_inset CommandInset ref
5637 LatexCommand ref
5638 reference "tab:Units"
5639
5640 \end_inset
5641
5642 .
5643  
5644 \series bold
5645
5646 \backslash
5647 LTleft
5648 \series default
5649  controls the horizontal distance from the left page border to the longtable,
5650  
5651 \series bold
5652
5653 \backslash
5654 LTright
5655 \series default
5656  the distance from the right side.
5657  The default value for both lengths is 
5658 \series bold
5659
5660 \backslash
5661 fill
5662 \series default
5663 , which is in this case the same as an horizontal fill in LyX.
5664 \end_layout
5665
5666 \begin_layout Standard
5667 The following longtable was centered and 
5668 \series bold
5669
5670 \backslash
5671 LTleft
5672 \series default
5673  set to 
5674 \family sans
5675 0.1
5676 \backslash
5677 columnwidth
5678 \family default
5679 :
5680 \begin_inset ERT
5681 status collapsed
5682
5683 \begin_layout Plain Layout
5684
5685
5686 \backslash
5687 setlength{
5688 \backslash
5689 LTleft}{0.1
5690 \backslash
5691 columnwidth}
5692 \end_layout
5693
5694 \end_inset
5695
5696
5697 \end_layout
5698
5699 \begin_layout Standard
5700 \begin_inset Tabular
5701 <lyxtabular version="3" rows="5" columns="5">
5702 <features islongtable="true" longtabularalignment="center">
5703 <column alignment="center" valignment="top" width="0">
5704 <column alignment="center" valignment="top" width="0pt">
5705 <column alignment="center" valignment="top" width="0">
5706 <column alignment="center" valignment="top" width="0">
5707 <column alignment="center" valignment="top" width="0">
5708 <row>
5709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5710 \begin_inset Text
5711
5712 \begin_layout Plain Layout
5713 1
5714 \end_layout
5715
5716 \end_inset
5717 </cell>
5718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5719 \begin_inset Text
5720
5721 \begin_layout Plain Layout
5722 2
5723 \end_layout
5724
5725 \end_inset
5726 </cell>
5727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5728 \begin_inset Text
5729
5730 \begin_layout Plain Layout
5731 3
5732 \end_layout
5733
5734 \end_inset
5735 </cell>
5736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5737 \begin_inset Text
5738
5739 \begin_layout Plain Layout
5740 4
5741 \end_layout
5742
5743 \end_inset
5744 </cell>
5745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5746 \begin_inset Text
5747
5748 \begin_layout Plain Layout
5749 5
5750 \end_layout
5751
5752 \end_inset
5753 </cell>
5754 </row>
5755 <row>
5756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5757 \begin_inset Text
5758
5759 \begin_layout Plain Layout
5760 asd
5761 \end_layout
5762
5763 \end_inset
5764 </cell>
5765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5766 \begin_inset Text
5767
5768 \begin_layout Plain Layout
5769 s
5770 \end_layout
5771
5772 \end_inset
5773 </cell>
5774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5775 \begin_inset Text
5776
5777 \begin_layout Plain Layout
5778 s
5779 \end_layout
5780
5781 \end_inset
5782 </cell>
5783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5784 \begin_inset Text
5785
5786 \begin_layout Plain Layout
5787 s
5788 \end_layout
5789
5790 \end_inset
5791 </cell>
5792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5793 \begin_inset Text
5794
5795 \begin_layout Plain Layout
5796 asd
5797 \end_layout
5798
5799 \end_inset
5800 </cell>
5801 </row>
5802 <row>
5803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5804 \begin_inset Text
5805
5806 \begin_layout Plain Layout
5807 asd
5808 \end_layout
5809
5810 \end_inset
5811 </cell>
5812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5813 \begin_inset Text
5814
5815 \begin_layout Plain Layout
5816 s
5817 \end_layout
5818
5819 \end_inset
5820 </cell>
5821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5822 \begin_inset Text
5823
5824 \begin_layout Plain Layout
5825 s
5826 \end_layout
5827
5828 \end_inset
5829 </cell>
5830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5831 \begin_inset Text
5832
5833 \begin_layout Plain Layout
5834 s
5835 \end_layout
5836
5837 \end_inset
5838 </cell>
5839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5840 \begin_inset Text
5841
5842 \begin_layout Plain Layout
5843 asd
5844 \end_layout
5845
5846 \end_inset
5847 </cell>
5848 </row>
5849 <row>
5850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5851 \begin_inset Text
5852
5853 \begin_layout Plain Layout
5854 asd
5855 \end_layout
5856
5857 \end_inset
5858 </cell>
5859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5860 \begin_inset Text
5861
5862 \begin_layout Plain Layout
5863 s
5864 \end_layout
5865
5866 \end_inset
5867 </cell>
5868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5869 \begin_inset Text
5870
5871 \begin_layout Plain Layout
5872 s
5873 \end_layout
5874
5875 \end_inset
5876 </cell>
5877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5878 \begin_inset Text
5879
5880 \begin_layout Plain Layout
5881 s
5882 \end_layout
5883
5884 \end_inset
5885 </cell>
5886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5887 \begin_inset Text
5888
5889 \begin_layout Plain Layout
5890 asd
5891 \end_layout
5892
5893 \end_inset
5894 </cell>
5895 </row>
5896 <row>
5897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5898 \begin_inset Text
5899
5900 \begin_layout Plain Layout
5901 asd
5902 \end_layout
5903
5904 \end_inset
5905 </cell>
5906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5907 \begin_inset Text
5908
5909 \begin_layout Plain Layout
5910 asd
5911 \end_layout
5912
5913 \end_inset
5914 </cell>
5915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5916 \begin_inset Text
5917
5918 \begin_layout Plain Layout
5919 asd
5920 \end_layout
5921
5922 \end_inset
5923 </cell>
5924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5925 \begin_inset Text
5926
5927 \begin_layout Plain Layout
5928 asd
5929 \end_layout
5930
5931 \end_inset
5932 </cell>
5933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5934 \begin_inset Text
5935
5936 \begin_layout Plain Layout
5937 asd
5938 \end_layout
5939
5940 \end_inset
5941 </cell>
5942 </row>
5943 </lyxtabular>
5944
5945 \end_inset
5946
5947
5948 \begin_inset ERT
5949 status collapsed
5950
5951 \begin_layout Plain Layout
5952
5953
5954 \backslash
5955 setlength{
5956 \backslash
5957 LTleft}{
5958 \backslash
5959 fill}
5960 \end_layout
5961
5962 \end_inset
5963
5964
5965 \begin_inset ERT
5966 status collapsed
5967
5968 \begin_layout Plain Layout
5969
5970
5971 \backslash
5972 addtocounter{table}{-1}
5973 \end_layout
5974
5975 \end_inset
5976
5977
5978 \begin_inset Note Note
5979 status collapsed
5980
5981 \begin_layout Plain Layout
5982 See the first greyed-out note in section
5983 \begin_inset space ~
5984 \end_inset
5985
5986
5987 \begin_inset CommandInset ref
5988 LatexCommand ref
5989 reference "sub:Longtable-Captions"
5990
5991 \end_inset
5992
5993  for an explanation of this command.
5994 \end_layout
5995
5996 \end_inset
5997
5998
5999 \end_layout
6000
6001 \begin_layout Subsection
6002 Longtable Captions
6003 \begin_inset Index idx
6004 status collapsed
6005
6006 \begin_layout Plain Layout
6007 Longtables ! Captions
6008 \end_layout
6009
6010 \end_inset
6011
6012
6013 \begin_inset CommandInset label
6014 LatexCommand label
6015 name "sub:Longtable-Captions"
6016
6017 \end_inset
6018
6019
6020 \end_layout
6021
6022 \begin_layout Standard
6023 A longtable cannot be put into a table float because floats can only be
6024  on one page.
6025  But the caption environment of floats can also be used for longtables when
6026  you use the longtable option 
6027 \family sans
6028 Caption
6029 \family default
6030  as described in sec.
6031 \begin_inset space \thinspace{}
6032 \end_inset
6033
6034
6035 \begin_inset CommandInset ref
6036 LatexCommand ref
6037 reference "sec:Longtables"
6038
6039 \end_inset
6040
6041 .
6042  Only one table row can contain the caption.
6043 \end_layout
6044
6045 \begin_layout Standard
6046 Here is a short longtable to see how it works:
6047 \end_layout
6048
6049 \begin_layout Standard
6050 \begin_inset Tabular
6051 <lyxtabular version="3" rows="6" columns="5">
6052 <features islongtable="true" longtabularalignment="center">
6053 <column alignment="center" valignment="top" width="0">
6054 <column alignment="center" valignment="top" width="0">
6055 <column alignment="center" valignment="top" width="0">
6056 <column alignment="center" valignment="top" width="0">
6057 <column alignment="center" valignment="top" width="0">
6058 <row caption="true">
6059 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6060 \begin_inset Text
6061
6062 \begin_layout Plain Layout
6063 \begin_inset Caption
6064
6065 \begin_layout Plain Layout
6066 Longtable with caption
6067 \begin_inset Argument
6068 status open
6069
6070 \begin_layout Plain Layout
6071 Longtable
6072 \end_layout
6073
6074 \end_inset
6075
6076
6077 \end_layout
6078
6079 \end_inset
6080
6081
6082 \end_layout
6083
6084 \end_inset
6085 </cell>
6086 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6087 \begin_inset Text
6088
6089 \begin_layout Plain Layout
6090
6091 \end_layout
6092
6093 \end_inset
6094 </cell>
6095 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6096 \begin_inset Text
6097
6098 \begin_layout Plain Layout
6099
6100 \end_layout
6101
6102 \end_inset
6103 </cell>
6104 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6105 \begin_inset Text
6106
6107 \begin_layout Plain Layout
6108
6109 \end_layout
6110
6111 \end_inset
6112 </cell>
6113 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6114 \begin_inset Text
6115
6116 \begin_layout Plain Layout
6117
6118 \end_layout
6119
6120 \end_inset
6121 </cell>
6122 </row>
6123 <row>
6124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_inset Text
6126
6127 \begin_layout Plain Layout
6128 1
6129 \end_layout
6130
6131 \end_inset
6132 </cell>
6133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6134 \begin_inset Text
6135
6136 \begin_layout Plain Layout
6137 2
6138 \end_layout
6139
6140 \end_inset
6141 </cell>
6142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6143 \begin_inset Text
6144
6145 \begin_layout Plain Layout
6146 3
6147 \end_layout
6148
6149 \end_inset
6150 </cell>
6151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6152 \begin_inset Text
6153
6154 \begin_layout Plain Layout
6155 4
6156 \end_layout
6157
6158 \end_inset
6159 </cell>
6160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6161 \begin_inset Text
6162
6163 \begin_layout Plain Layout
6164 5
6165 \end_layout
6166
6167 \end_inset
6168 </cell>
6169 </row>
6170 <row>
6171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_inset Text
6173
6174 \begin_layout Plain Layout
6175 asd
6176 \end_layout
6177
6178 \end_inset
6179 </cell>
6180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6181 \begin_inset Text
6182
6183 \begin_layout Plain Layout
6184 s
6185 \end_layout
6186
6187 \end_inset
6188 </cell>
6189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6190 \begin_inset Text
6191
6192 \begin_layout Plain Layout
6193 s
6194 \end_layout
6195
6196 \end_inset
6197 </cell>
6198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6199 \begin_inset Text
6200
6201 \begin_layout Plain Layout
6202 s
6203 \end_layout
6204
6205 \end_inset
6206 </cell>
6207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6208 \begin_inset Text
6209
6210 \begin_layout Plain Layout
6211 asd
6212 \end_layout
6213
6214 \end_inset
6215 </cell>
6216 </row>
6217 <row>
6218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_inset Text
6220
6221 \begin_layout Plain Layout
6222 asd
6223 \end_layout
6224
6225 \end_inset
6226 </cell>
6227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6228 \begin_inset Text
6229
6230 \begin_layout Plain Layout
6231 s
6232 \end_layout
6233
6234 \end_inset
6235 </cell>
6236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6237 \begin_inset Text
6238
6239 \begin_layout Plain Layout
6240 s
6241 \end_layout
6242
6243 \end_inset
6244 </cell>
6245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6246 \begin_inset Text
6247
6248 \begin_layout Plain Layout
6249 s
6250 \end_layout
6251
6252 \end_inset
6253 </cell>
6254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6255 \begin_inset Text
6256
6257 \begin_layout Plain Layout
6258 asd
6259 \end_layout
6260
6261 \end_inset
6262 </cell>
6263 </row>
6264 <row>
6265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6266 \begin_inset Text
6267
6268 \begin_layout Plain Layout
6269 asd
6270 \end_layout
6271
6272 \end_inset
6273 </cell>
6274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6275 \begin_inset Text
6276
6277 \begin_layout Plain Layout
6278 s
6279 \end_layout
6280
6281 \end_inset
6282 </cell>
6283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6284 \begin_inset Text
6285
6286 \begin_layout Plain Layout
6287 s
6288 \end_layout
6289
6290 \end_inset
6291 </cell>
6292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6293 \begin_inset Text
6294
6295 \begin_layout Plain Layout
6296 s
6297 \end_layout
6298
6299 \end_inset
6300 </cell>
6301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6302 \begin_inset Text
6303
6304 \begin_layout Plain Layout
6305 asd
6306 \end_layout
6307
6308 \end_inset
6309 </cell>
6310 </row>
6311 <row>
6312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6313 \begin_inset Text
6314
6315 \begin_layout Plain Layout
6316 asd
6317 \end_layout
6318
6319 \end_inset
6320 </cell>
6321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6322 \begin_inset Text
6323
6324 \begin_layout Plain Layout
6325 asd
6326 \end_layout
6327
6328 \end_inset
6329 </cell>
6330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6331 \begin_inset Text
6332
6333 \begin_layout Plain Layout
6334 asd
6335 \end_layout
6336
6337 \end_inset
6338 </cell>
6339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6340 \begin_inset Text
6341
6342 \begin_layout Plain Layout
6343 asd
6344 \end_layout
6345
6346 \end_inset
6347 </cell>
6348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6349 \begin_inset Text
6350
6351 \begin_layout Plain Layout
6352 asd
6353 \end_layout
6354
6355 \end_inset
6356 </cell>
6357 </row>
6358 </lyxtabular>
6359
6360 \end_inset
6361
6362
6363 \end_layout
6364
6365 \begin_layout Standard
6366 \begin_inset VSpace medskip
6367 \end_inset
6368
6369
6370 \begin_inset Note Greyedout
6371 status open
6372
6373 \begin_layout Plain Layout
6374
6375 \series bold
6376 Note
6377 \begin_inset space ~
6378 \end_inset
6379
6380 1:
6381 \series default
6382  The table number is increased for for every longtable, even if you did
6383  not set a caption for it.
6384  For this reason you could have the case that e.
6385 \begin_inset space \thinspace{}
6386 \end_inset
6387
6388 g.
6389 \begin_inset space \space{}
6390 \end_inset
6391
6392 Table
6393 \begin_inset space ~
6394 \end_inset
6395
6396 2.4 follows Table
6397 \begin_inset space ~
6398 \end_inset
6399
6400 2.1 in the list of tables if there are two longtables without captions.
6401  To avoid this you can add the following command in TeX-Code after every
6402  longtable without a caption:
6403 \end_layout
6404
6405 \begin_layout Plain Layout
6406
6407 \series bold
6408
6409 \backslash
6410 addtocounter{table}{-1}
6411 \end_layout
6412
6413 \begin_layout Plain Layout
6414 This is not needed when none of your longtables have a caption and you add
6415  the following code to the document preamble:
6416 \end_layout
6417
6418 \begin_layout Plain Layout
6419
6420 \series bold
6421
6422 \backslash
6423 let
6424 \backslash
6425 myEnd
6426 \backslash
6427 endlongtable
6428 \begin_inset Newline newline
6429 \end_inset
6430
6431
6432 \backslash
6433 renewcommand{
6434 \backslash
6435 endlongtable}{
6436 \backslash
6437 myEnd
6438 \backslash
6439 addtocounter{table}{-1}}
6440 \end_layout
6441
6442 \end_inset
6443
6444
6445 \end_layout
6446
6447 \begin_layout Standard
6448 \begin_inset Note Greyedout
6449 status open
6450
6451 \begin_layout Plain Layout
6452
6453 \series bold
6454 Note
6455 \begin_inset space ~
6456 \end_inset
6457
6458 2:
6459 \series default
6460  If you are using
6461 \series bold
6462  hyperref
6463 \series default
6464
6465 \begin_inset Index idx
6466 status collapsed
6467
6468 \begin_layout Plain Layout
6469 LaTeX-packages ! hyperref
6470 \end_layout
6471
6472 \end_inset
6473
6474  in the 
6475 \family sans
6476 PDF Properties
6477 \family default
6478  of the 
6479 \family sans
6480 Document Settings
6481 \family default
6482  dialog to link cross-references, the link to a longtable caption will always
6483  point to the beginning of the document.
6484 \end_layout
6485
6486 \end_inset
6487
6488
6489 \end_layout
6490
6491 \begin_layout Subsubsection
6492 References to Longtables
6493 \begin_inset Index idx
6494 status collapsed
6495
6496 \begin_layout Plain Layout
6497 Longtables ! References
6498 \end_layout
6499
6500 \end_inset
6501
6502
6503 \end_layout
6504
6505 \begin_layout Standard
6506 \begin_inset Tabular
6507 <lyxtabular version="3" rows="6" columns="5">
6508 <features islongtable="true" longtabularalignment="center">
6509 <column alignment="center" valignment="top" width="0">
6510 <column alignment="center" valignment="top" width="0">
6511 <column alignment="center" valignment="top" width="0">
6512 <column alignment="center" valignment="top" width="0">
6513 <column alignment="center" valignment="top" width="0">
6514 <row caption="true">
6515 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6516 \begin_inset Text
6517
6518 \begin_layout Plain Layout
6519 \begin_inset Caption
6520
6521 \begin_layout Plain Layout
6522 Referenced longtable
6523 \begin_inset CommandInset label
6524 LatexCommand label
6525 name "tab:RefExample"
6526
6527 \end_inset
6528
6529
6530 \end_layout
6531
6532 \end_inset
6533
6534
6535 \end_layout
6536
6537 \end_inset
6538 </cell>
6539 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6540 \begin_inset Text
6541
6542 \begin_layout Plain Layout
6543
6544 \end_layout
6545
6546 \end_inset
6547 </cell>
6548 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6549 \begin_inset Text
6550
6551 \begin_layout Plain Layout
6552
6553 \end_layout
6554
6555 \end_inset
6556 </cell>
6557 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6558 \begin_inset Text
6559
6560 \begin_layout Plain Layout
6561
6562 \end_layout
6563
6564 \end_inset
6565 </cell>
6566 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6567 \begin_inset Text
6568
6569 \begin_layout Plain Layout
6570
6571 \end_layout
6572
6573 \end_inset
6574 </cell>
6575 </row>
6576 <row>
6577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6578 \begin_inset Text
6579
6580 \begin_layout Plain Layout
6581 1
6582 \end_layout
6583
6584 \end_inset
6585 </cell>
6586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6587 \begin_inset Text
6588
6589 \begin_layout Plain Layout
6590 2
6591 \end_layout
6592
6593 \end_inset
6594 </cell>
6595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6596 \begin_inset Text
6597
6598 \begin_layout Plain Layout
6599 3
6600 \end_layout
6601
6602 \end_inset
6603 </cell>
6604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6605 \begin_inset Text
6606
6607 \begin_layout Plain Layout
6608 4
6609 \end_layout
6610
6611 \end_inset
6612 </cell>
6613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6614 \begin_inset Text
6615
6616 \begin_layout Plain Layout
6617 5
6618 \end_layout
6619
6620 \end_inset
6621 </cell>
6622 </row>
6623 <row>
6624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6625 \begin_inset Text
6626
6627 \begin_layout Plain Layout
6628 asd
6629 \end_layout
6630
6631 \end_inset
6632 </cell>
6633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6634 \begin_inset Text
6635
6636 \begin_layout Plain Layout
6637 s
6638 \end_layout
6639
6640 \end_inset
6641 </cell>
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6643 \begin_inset Text
6644
6645 \begin_layout Plain Layout
6646 s
6647 \end_layout
6648
6649 \end_inset
6650 </cell>
6651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6652 \begin_inset Text
6653
6654 \begin_layout Plain Layout
6655 s
6656 \end_layout
6657
6658 \end_inset
6659 </cell>
6660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6661 \begin_inset Text
6662
6663 \begin_layout Plain Layout
6664 asd
6665 \end_layout
6666
6667 \end_inset
6668 </cell>
6669 </row>
6670 <row>
6671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6672 \begin_inset Text
6673
6674 \begin_layout Plain Layout
6675 asd
6676 \end_layout
6677
6678 \end_inset
6679 </cell>
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6681 \begin_inset Text
6682
6683 \begin_layout Plain Layout
6684 s
6685 \end_layout
6686
6687 \end_inset
6688 </cell>
6689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6690 \begin_inset Text
6691
6692 \begin_layout Plain Layout
6693 s
6694 \end_layout
6695
6696 \end_inset
6697 </cell>
6698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6699 \begin_inset Text
6700
6701 \begin_layout Plain Layout
6702 s
6703 \end_layout
6704
6705 \end_inset
6706 </cell>
6707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6708 \begin_inset Text
6709
6710 \begin_layout Plain Layout
6711 asd
6712 \end_layout
6713
6714 \end_inset
6715 </cell>
6716 </row>
6717 <row>
6718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6719 \begin_inset Text
6720
6721 \begin_layout Plain Layout
6722 asd
6723 \end_layout
6724
6725 \end_inset
6726 </cell>
6727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6728 \begin_inset Text
6729
6730 \begin_layout Plain Layout
6731 s
6732 \end_layout
6733
6734 \end_inset
6735 </cell>
6736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6737 \begin_inset Text
6738
6739 \begin_layout Plain Layout
6740 s
6741 \end_layout
6742
6743 \end_inset
6744 </cell>
6745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6746 \begin_inset Text
6747
6748 \begin_layout Plain Layout
6749 s
6750 \end_layout
6751
6752 \end_inset
6753 </cell>
6754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6755 \begin_inset Text
6756
6757 \begin_layout Plain Layout
6758 asd
6759 \end_layout
6760
6761 \end_inset
6762 </cell>
6763 </row>
6764 <row>
6765 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6766 \begin_inset Text
6767
6768 \begin_layout Plain Layout
6769 asd
6770 \end_layout
6771
6772 \end_inset
6773 </cell>
6774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6775 \begin_inset Text
6776
6777 \begin_layout Plain Layout
6778 sad
6779 \end_layout
6780
6781 \end_inset
6782 </cell>
6783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6784 \begin_inset Text
6785
6786 \begin_layout Plain Layout
6787 asd
6788 \end_layout
6789
6790 \end_inset
6791 </cell>
6792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6793 \begin_inset Text
6794
6795 \begin_layout Plain Layout
6796 asd
6797 \end_layout
6798
6799 \end_inset
6800 </cell>
6801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6802 \begin_inset Text
6803
6804 \begin_layout Plain Layout
6805 asd
6806 \end_layout
6807
6808 \end_inset
6809 </cell>
6810 </row>
6811 </lyxtabular>
6812
6813 \end_inset
6814
6815
6816 \end_layout
6817
6818 \begin_layout Standard
6819 To reference a longtable, insert a label into the caption.
6820 \end_layout
6821
6822 \begin_layout Standard
6823 This is a reference to Table
6824 \begin_inset space ~
6825 \end_inset
6826
6827
6828 \begin_inset CommandInset ref
6829 LatexCommand ref
6830 reference "tab:RefExample"
6831
6832 \end_inset
6833
6834 .
6835 \end_layout
6836
6837 \begin_layout Standard
6838 The caption layout can be set together with all other captions of your document
6839  using the LaTeX-package 
6840 \series bold
6841 caption
6842 \series default
6843
6844 \begin_inset Index idx
6845 status collapsed
6846
6847 \begin_layout Plain Layout
6848 LaTeX-packages ! caption
6849 \end_layout
6850
6851 \end_inset
6852
6853 , see section
6854 \begin_inset space ~
6855 \end_inset
6856
6857
6858 \begin_inset CommandInset ref
6859 LatexCommand ref
6860 reference "sec:Caption-Formatting"
6861
6862 \end_inset
6863
6864 .
6865 \end_layout
6866
6867 \begin_layout Subsubsection
6868 Caption Width
6869 \begin_inset Index idx
6870 status collapsed
6871
6872 \begin_layout Plain Layout
6873 Longtables ! Caption Width
6874 \end_layout
6875
6876 \end_inset
6877
6878
6879 \end_layout
6880
6881 \begin_layout Standard
6882 The maximal width of of caption lines is defined by the length 
6883 \series bold
6884
6885 \backslash
6886 LTcapwidth
6887 \series default
6888 .
6889  Its default value is 4
6890 \begin_inset space \thinspace{}
6891 \end_inset
6892
6893 in.
6894  To change it add the following command to your document preamble or as
6895  TeX-Code into your document before the longtable that should be affected
6896 \end_layout
6897
6898 \begin_layout Standard
6899
6900 \series bold
6901
6902 \backslash
6903 setlength{
6904 \backslash
6905 LTcapwidth}{width}
6906 \end_layout
6907
6908 \begin_layout Standard
6909 where the width could have one of the units listed in appendix
6910 \begin_inset space ~
6911 \end_inset
6912
6913
6914 \begin_inset CommandInset ref
6915 LatexCommand ref
6916 reference "cha:Units-available-in"
6917
6918 \end_inset
6919
6920 .
6921 \end_layout
6922
6923 \begin_layout Standard
6924 The following tables show the difference:
6925 \end_layout
6926
6927 \begin_layout Standard
6928 \begin_inset Tabular
6929 <lyxtabular version="3" rows="6" columns="5">
6930 <features islongtable="true" longtabularalignment="center">
6931 <column alignment="center" valignment="top" width="0">
6932 <column alignment="center" valignment="top" width="0">
6933 <column alignment="center" valignment="top" width="0">
6934 <column alignment="center" valignment="top" width="0">
6935 <column alignment="center" valignment="top" width="0">
6936 <row caption="true">
6937 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6938 \begin_inset Text
6939
6940 \begin_layout Plain Layout
6941 \begin_inset Caption
6942
6943 \begin_layout Plain Layout
6944 long full title with default width long full title with default width long
6945  full title with default width
6946 \begin_inset Argument
6947 status collapsed
6948
6949 \begin_layout Plain Layout
6950 caption with default width
6951 \end_layout
6952
6953 \end_inset
6954
6955
6956 \end_layout
6957
6958 \end_inset
6959
6960
6961 \end_layout
6962
6963 \end_inset
6964 </cell>
6965 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6966 \begin_inset Text
6967
6968 \begin_layout Plain Layout
6969
6970 \end_layout
6971
6972 \end_inset
6973 </cell>
6974 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6975 \begin_inset Text
6976
6977 \begin_layout Plain Layout
6978
6979 \end_layout
6980
6981 \end_inset
6982 </cell>
6983 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6984 \begin_inset Text
6985
6986 \begin_layout Plain Layout
6987
6988 \end_layout
6989
6990 \end_inset
6991 </cell>
6992 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6993 \begin_inset Text
6994
6995 \begin_layout Plain Layout
6996
6997 \end_layout
6998
6999 \end_inset
7000 </cell>
7001 </row>
7002 <row>
7003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7004 \begin_inset Text
7005
7006 \begin_layout Plain Layout
7007 1
7008 \end_layout
7009
7010 \end_inset
7011 </cell>
7012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Plain Layout
7016 2
7017 \end_layout
7018
7019 \end_inset
7020 </cell>
7021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7022 \begin_inset Text
7023
7024 \begin_layout Plain Layout
7025 3
7026 \end_layout
7027
7028 \end_inset
7029 </cell>
7030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7031 \begin_inset Text
7032
7033 \begin_layout Plain Layout
7034 4
7035 \end_layout
7036
7037 \end_inset
7038 </cell>
7039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7040 \begin_inset Text
7041
7042 \begin_layout Plain Layout
7043 5
7044 \end_layout
7045
7046 \end_inset
7047 </cell>
7048 </row>
7049 <row>
7050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7051 \begin_inset Text
7052
7053 \begin_layout Plain Layout
7054 asd
7055 \end_layout
7056
7057 \end_inset
7058 </cell>
7059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7060 \begin_inset Text
7061
7062 \begin_layout Plain Layout
7063 s
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Plain Layout
7072 s
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7078 \begin_inset Text
7079
7080 \begin_layout Plain Layout
7081 s
7082 \end_layout
7083
7084 \end_inset
7085 </cell>
7086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7087 \begin_inset Text
7088
7089 \begin_layout Plain Layout
7090 asd
7091 \end_layout
7092
7093 \end_inset
7094 </cell>
7095 </row>
7096 <row>
7097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7098 \begin_inset Text
7099
7100 \begin_layout Plain Layout
7101 asd
7102 \end_layout
7103
7104 \end_inset
7105 </cell>
7106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7107 \begin_inset Text
7108
7109 \begin_layout Plain Layout
7110 s
7111 \end_layout
7112
7113 \end_inset
7114 </cell>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Plain Layout
7119 s
7120 \end_layout
7121
7122 \end_inset
7123 </cell>
7124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7125 \begin_inset Text
7126
7127 \begin_layout Plain Layout
7128 s
7129 \end_layout
7130
7131 \end_inset
7132 </cell>
7133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7134 \begin_inset Text
7135
7136 \begin_layout Plain Layout
7137 asd
7138 \end_layout
7139
7140 \end_inset
7141 </cell>
7142 </row>
7143 <row>
7144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7145 \begin_inset Text
7146
7147 \begin_layout Plain Layout
7148 asd
7149 \end_layout
7150
7151 \end_inset
7152 </cell>
7153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7154 \begin_inset Text
7155
7156 \begin_layout Plain Layout
7157 s
7158 \end_layout
7159
7160 \end_inset
7161 </cell>
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7163 \begin_inset Text
7164
7165 \begin_layout Plain Layout
7166 s
7167 \end_layout
7168
7169 \end_inset
7170 </cell>
7171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7172 \begin_inset Text
7173
7174 \begin_layout Plain Layout
7175 s
7176 \end_layout
7177
7178 \end_inset
7179 </cell>
7180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7181 \begin_inset Text
7182
7183 \begin_layout Plain Layout
7184 asd
7185 \end_layout
7186
7187 \end_inset
7188 </cell>
7189 </row>
7190 <row>
7191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7192 \begin_inset Text
7193
7194 \begin_layout Plain Layout
7195 asd
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Plain Layout
7204 sad
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Plain Layout
7213 asd
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7219 \begin_inset Text
7220
7221 \begin_layout Plain Layout
7222 asd
7223 \end_layout
7224
7225 \end_inset
7226 </cell>
7227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7228 \begin_inset Text
7229
7230 \begin_layout Plain Layout
7231 asd
7232 \end_layout
7233
7234 \end_inset
7235 </cell>
7236 </row>
7237 </lyxtabular>
7238
7239 \end_inset
7240
7241
7242 \end_layout
7243
7244 \begin_layout Standard
7245 \begin_inset ERT
7246 status collapsed
7247
7248 \begin_layout Plain Layout
7249
7250
7251 \backslash
7252 setlength{
7253 \backslash
7254 LTcapwidth}{5cm}
7255 \end_layout
7256
7257 \end_inset
7258
7259
7260 \begin_inset Tabular
7261 <lyxtabular version="3" rows="6" columns="5">
7262 <features islongtable="true" longtabularalignment="center">
7263 <column alignment="center" valignment="top" width="0">
7264 <column alignment="center" valignment="top" width="0">
7265 <column alignment="center" valignment="top" width="0">
7266 <column alignment="center" valignment="top" width="0">
7267 <column alignment="center" valignment="top" width="0">
7268 <row caption="true">
7269 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7270 \begin_inset Text
7271
7272 \begin_layout Plain Layout
7273 \begin_inset Caption
7274
7275 \begin_layout Plain Layout
7276 long full title with width set to 5
7277 \begin_inset space \thinspace{}
7278 \end_inset
7279
7280 cm long full title with width set to 5
7281 \begin_inset space \thinspace{}
7282 \end_inset
7283
7284 cm long full title with width set to 5
7285 \begin_inset space \thinspace{}
7286 \end_inset
7287
7288 cm
7289 \begin_inset Argument
7290 status collapsed
7291
7292 \begin_layout Plain Layout
7293 caption with width
7294 \begin_inset space \thinspace{}
7295 \end_inset
7296
7297 =
7298 \begin_inset space \thinspace{}
7299 \end_inset
7300
7301 5
7302 \begin_inset space \thinspace{}
7303 \end_inset
7304
7305 cm
7306 \end_layout
7307
7308 \end_inset
7309
7310
7311 \end_layout
7312
7313 \end_inset
7314
7315
7316 \end_layout
7317
7318 \end_inset
7319 </cell>
7320 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7321 \begin_inset Text
7322
7323 \begin_layout Plain Layout
7324
7325 \end_layout
7326
7327 \end_inset
7328 </cell>
7329 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7330 \begin_inset Text
7331
7332 \begin_layout Plain Layout
7333
7334 \end_layout
7335
7336 \end_inset
7337 </cell>
7338 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7339 \begin_inset Text
7340
7341 \begin_layout Plain Layout
7342
7343 \end_layout
7344
7345 \end_inset
7346 </cell>
7347 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7348 \begin_inset Text
7349
7350 \begin_layout Plain Layout
7351
7352 \end_layout
7353
7354 \end_inset
7355 </cell>
7356 </row>
7357 <row>
7358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7359 \begin_inset Text
7360
7361 \begin_layout Plain Layout
7362 1
7363 \end_layout
7364
7365 \end_inset
7366 </cell>
7367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7368 \begin_inset Text
7369
7370 \begin_layout Plain Layout
7371 2
7372 \end_layout
7373
7374 \end_inset
7375 </cell>
7376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7377 \begin_inset Text
7378
7379 \begin_layout Plain Layout
7380 3
7381 \end_layout
7382
7383 \end_inset
7384 </cell>
7385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7386 \begin_inset Text
7387
7388 \begin_layout Plain Layout
7389 4
7390 \end_layout
7391
7392 \end_inset
7393 </cell>
7394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7395 \begin_inset Text
7396
7397 \begin_layout Plain Layout
7398 5
7399 \end_layout
7400
7401 \end_inset
7402 </cell>
7403 </row>
7404 <row>
7405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7406 \begin_inset Text
7407
7408 \begin_layout Plain Layout
7409 asd
7410 \end_layout
7411
7412 \end_inset
7413 </cell>
7414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7415 \begin_inset Text
7416
7417 \begin_layout Plain Layout
7418 s
7419 \end_layout
7420
7421 \end_inset
7422 </cell>
7423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7424 \begin_inset Text
7425
7426 \begin_layout Plain Layout
7427 s
7428 \end_layout
7429
7430 \end_inset
7431 </cell>
7432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7433 \begin_inset Text
7434
7435 \begin_layout Plain Layout
7436 s
7437 \end_layout
7438
7439 \end_inset
7440 </cell>
7441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7442 \begin_inset Text
7443
7444 \begin_layout Plain Layout
7445 asd
7446 \end_layout
7447
7448 \end_inset
7449 </cell>
7450 </row>
7451 <row>
7452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7453 \begin_inset Text
7454
7455 \begin_layout Plain Layout
7456 asd
7457 \end_layout
7458
7459 \end_inset
7460 </cell>
7461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7462 \begin_inset Text
7463
7464 \begin_layout Plain Layout
7465 s
7466 \end_layout
7467
7468 \end_inset
7469 </cell>
7470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7471 \begin_inset Text
7472
7473 \begin_layout Plain Layout
7474 s
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7480 \begin_inset Text
7481
7482 \begin_layout Plain Layout
7483 s
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7489 \begin_inset Text
7490
7491 \begin_layout Plain Layout
7492 asd
7493 \end_layout
7494
7495 \end_inset
7496 </cell>
7497 </row>
7498 <row>
7499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7500 \begin_inset Text
7501
7502 \begin_layout Plain Layout
7503 asd
7504 \end_layout
7505
7506 \end_inset
7507 </cell>
7508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7509 \begin_inset Text
7510
7511 \begin_layout Plain Layout
7512 s
7513 \end_layout
7514
7515 \end_inset
7516 </cell>
7517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7518 \begin_inset Text
7519
7520 \begin_layout Plain Layout
7521 s
7522 \end_layout
7523
7524 \end_inset
7525 </cell>
7526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7527 \begin_inset Text
7528
7529 \begin_layout Plain Layout
7530 s
7531 \end_layout
7532
7533 \end_inset
7534 </cell>
7535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7536 \begin_inset Text
7537
7538 \begin_layout Plain Layout
7539 asd
7540 \end_layout
7541
7542 \end_inset
7543 </cell>
7544 </row>
7545 <row>
7546 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7547 \begin_inset Text
7548
7549 \begin_layout Plain Layout
7550 asd
7551 \end_layout
7552
7553 \end_inset
7554 </cell>
7555 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7556 \begin_inset Text
7557
7558 \begin_layout Plain Layout
7559 sad
7560 \end_layout
7561
7562 \end_inset
7563 </cell>
7564 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7565 \begin_inset Text
7566
7567 \begin_layout Plain Layout
7568 asd
7569 \end_layout
7570
7571 \end_inset
7572 </cell>
7573 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7574 \begin_inset Text
7575
7576 \begin_layout Plain Layout
7577 asd
7578 \end_layout
7579
7580 \end_inset
7581 </cell>
7582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Plain Layout
7586 asd
7587 \end_layout
7588
7589 \end_inset
7590 </cell>
7591 </row>
7592 </lyxtabular>
7593
7594 \end_inset
7595
7596
7597 \end_layout
7598
7599 \begin_layout Standard
7600 \begin_inset ERT
7601 status collapsed
7602
7603 \begin_layout Plain Layout
7604
7605
7606 \backslash
7607 setlength{
7608 \backslash
7609 LTcapwidth}{4in}
7610 \end_layout
7611
7612 \end_inset
7613
7614
7615 \end_layout
7616
7617 \begin_layout Standard
7618 \begin_inset Note Greyedout
7619 status open
7620
7621 \begin_layout Plain Layout
7622
7623 \series bold
7624 Note:
7625 \series default
7626  When the LaTeX-package 
7627 \series bold
7628 caption
7629 \series default
7630
7631 \begin_inset Index idx
7632 status collapsed
7633
7634 \begin_layout Plain Layout
7635 LaTeX-packages ! caption
7636 \end_layout
7637
7638 \end_inset
7639
7640  is used, as in this document, the full page width is used for the caption
7641  when you use the default value of 4
7642 \begin_inset space \thinspace{}
7643 \end_inset
7644
7645 in for 
7646 \series bold
7647
7648 \backslash
7649 LTcapwidth
7650 \series default
7651 .
7652  To get in this case exactly a 4
7653 \begin_inset space \thinspace{}
7654 \end_inset
7655
7656 in wide caption, you can either use a value slightly different from 4.0
7657 \begin_inset space \thinspace{}
7658 \end_inset
7659
7660 in, e.
7661 \begin_inset space \thinspace{}
7662 \end_inset
7663
7664 g.
7665 \begin_inset space \space{}
7666 \end_inset
7667
7668 3.99
7669 \begin_inset space \thinspace{}
7670 \end_inset
7671
7672 in, or the LaTeX-command 
7673 \series bold
7674
7675 \backslash
7676 captionsetup{width=value}
7677 \series default
7678  that is provided by the 
7679 \series bold
7680 caption
7681 \series default
7682 -package.
7683 \end_layout
7684
7685 \end_inset
7686
7687
7688 \end_layout
7689
7690 \begin_layout Subsubsection
7691 Different Captions for Table Pages
7692 \begin_inset Index idx
7693 status collapsed
7694
7695 \begin_layout Plain Layout
7696 Longtables ! Different Captions for Pages
7697 \end_layout
7698
7699 \end_inset
7700
7701
7702 \end_layout
7703
7704 \begin_layout Standard
7705 When the table captions for the following pages should differ from the one
7706  of the first table page, insert a caption with the TeX code command
7707 \end_layout
7708
7709 \begin_layout Standard
7710
7711 \series bold
7712
7713 \backslash
7714 caption*{caption text}
7715 \backslash
7716
7717 \backslash
7718 %
7719 \end_layout
7720
7721 \begin_layout Standard
7722 in a dummy caption row that is marked as a header.
7723  Table
7724 \begin_inset space ~
7725 \end_inset
7726
7727
7728 \begin_inset CommandInset ref
7729 LatexCommand ref
7730 reference "tab:DiffCaptions"
7731
7732 \end_inset
7733
7734  is an example of a longtable with different heading where the second caption
7735  doesn't include the table number.
7736 \end_layout
7737
7738 \begin_layout Standard
7739 \align center
7740 \begin_inset Tabular
7741 <lyxtabular version="3" rows="59" columns="3">
7742 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7743 <column alignment="left" valignment="top" width="0cm">
7744 <column alignment="left" valignment="top" width="0pt">
7745 <column alignment="center" valignment="top" width="0pt">
7746 <row caption="true">
7747 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7748 \begin_inset Text
7749
7750 \begin_layout Plain Layout
7751 \begin_inset Caption
7752
7753 \begin_layout Plain Layout
7754 Example Phone List
7755 \begin_inset CommandInset label
7756 LatexCommand label
7757 name "tab:DiffCaptions"
7758
7759 \end_inset
7760
7761
7762 \begin_inset Argument
7763 status collapsed
7764
7765 \begin_layout Plain Layout
7766 Example Phone List
7767 \end_layout
7768
7769 \end_inset
7770
7771
7772 \end_layout
7773
7774 \end_inset
7775
7776
7777 \end_layout
7778
7779 \end_inset
7780 </cell>
7781 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7782 \begin_inset Text
7783
7784 \begin_layout Plain Layout
7785
7786 \end_layout
7787
7788 \end_inset
7789 </cell>
7790 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7791 \begin_inset Text
7792
7793 \begin_layout Plain Layout
7794
7795 \end_layout
7796
7797 \end_inset
7798 </cell>
7799 </row>
7800 <row endfirsthead="true">
7801 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7802 \begin_inset Text
7803
7804 \begin_layout Plain Layout
7805
7806 \series bold
7807 Example Phone List (ignore the names)
7808 \end_layout
7809
7810 \end_inset
7811 </cell>
7812 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7813 \begin_inset Text
7814
7815 \begin_layout Plain Layout
7816
7817 \end_layout
7818
7819 \end_inset
7820 </cell>
7821 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7822 \begin_inset Text
7823
7824 \begin_layout Plain Layout
7825
7826 \end_layout
7827
7828 \end_inset
7829 </cell>
7830 </row>
7831 <row endfirsthead="true">
7832 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7833 \begin_inset Text
7834
7835 \begin_layout Plain Layout
7836
7837 \series bold
7838 NAME
7839 \end_layout
7840
7841 \end_inset
7842 </cell>
7843 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7844 \begin_inset Text
7845
7846 \begin_layout Plain Layout
7847
7848 \end_layout
7849
7850 \end_inset
7851 </cell>
7852 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7853 \begin_inset Text
7854
7855 \begin_layout Plain Layout
7856
7857 \series bold
7858 TEL.
7859 \end_layout
7860
7861 \end_inset
7862 </cell>
7863 </row>
7864 <row endhead="true">
7865 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7866 \begin_inset Text
7867
7868 \begin_layout Plain Layout
7869 \begin_inset ERT
7870 status open
7871
7872 \begin_layout Plain Layout
7873
7874
7875 \backslash
7876 caption*{Continued Example Phone List}
7877 \backslash
7878
7879 \backslash
7880 %
7881 \end_layout
7882
7883 \end_inset
7884
7885
7886 \end_layout
7887
7888 \end_inset
7889 </cell>
7890 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7891 \begin_inset Text
7892
7893 \begin_layout Plain Layout
7894
7895 \end_layout
7896
7897 \end_inset
7898 </cell>
7899 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7900 \begin_inset Text
7901
7902 \begin_layout Plain Layout
7903
7904 \end_layout
7905
7906 \end_inset
7907 </cell>
7908 </row>
7909 <row endhead="true">
7910 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7911 \begin_inset Text
7912
7913 \begin_layout Plain Layout
7914
7915 \series bold
7916 Example Phone List
7917 \end_layout
7918
7919 \end_inset
7920 </cell>
7921 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7922 \begin_inset Text
7923
7924 \begin_layout Plain Layout
7925
7926 \end_layout
7927
7928 \end_inset
7929 </cell>
7930 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7931 \begin_inset Text
7932
7933 \begin_layout Plain Layout
7934
7935 \end_layout
7936
7937 \end_inset
7938 </cell>
7939 </row>
7940 <row endhead="true">
7941 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7942 \begin_inset Text
7943
7944 \begin_layout Plain Layout
7945
7946 \series bold
7947 NAME
7948 \end_layout
7949
7950 \end_inset
7951 </cell>
7952 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7953 \begin_inset Text
7954
7955 \begin_layout Plain Layout
7956
7957 \end_layout
7958
7959 \end_inset
7960 </cell>
7961 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7962 \begin_inset Text
7963
7964 \begin_layout Plain Layout
7965
7966 \series bold
7967 TEL.
7968 \end_layout
7969
7970 \end_inset
7971 </cell>
7972 </row>
7973 <row endfoot="true">
7974 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Plain Layout
7978 continued on next page
7979 \end_layout
7980
7981 \end_inset
7982 </cell>
7983 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7984 \begin_inset Text
7985
7986 \begin_layout Plain Layout
7987
7988 \end_layout
7989
7990 \end_inset
7991 </cell>
7992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7993 \begin_inset Text
7994
7995 \begin_layout Plain Layout
7996
7997 \end_layout
7998
7999 \end_inset
8000 </cell>
8001 </row>
8002 <row>
8003 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8004 \begin_inset Text
8005
8006 \begin_layout Plain Layout
8007
8008 \series bold
8009 Annovi
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8015 \begin_inset Text
8016
8017 \begin_layout Plain Layout
8018 Silvia
8019 \end_layout
8020
8021 \end_inset
8022 </cell>
8023 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
8024 \begin_inset Text
8025
8026 \begin_layout Plain Layout
8027 111
8028 \end_layout
8029
8030 \end_inset
8031 </cell>
8032 </row>
8033 <row>
8034 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8035 \begin_inset Text
8036
8037 \begin_layout Plain Layout
8038
8039 \series bold
8040 Bertoli
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8046 \begin_inset Text
8047
8048 \begin_layout Plain Layout
8049 Stefano
8050 \end_layout
8051
8052 \end_inset
8053 </cell>
8054 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8055 \begin_inset Text
8056
8057 \begin_layout Plain Layout
8058 111
8059 \end_layout
8060
8061 \end_inset
8062 </cell>
8063 </row>
8064 <row>
8065 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8066 \begin_inset Text
8067
8068 \begin_layout Plain Layout
8069
8070 \series bold
8071 Bozzi
8072 \end_layout
8073
8074 \end_inset
8075 </cell>
8076 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8077 \begin_inset Text
8078
8079 \begin_layout Plain Layout
8080 Walter
8081 \end_layout
8082
8083 \end_inset
8084 </cell>
8085 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8086 \begin_inset Text
8087
8088 \begin_layout Plain Layout
8089 111
8090 \end_layout
8091
8092 \end_inset
8093 </cell>
8094 </row>
8095 <row>
8096 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8097 \begin_inset Text
8098
8099 \begin_layout Plain Layout
8100
8101 \series bold
8102 Cachia
8103 \end_layout
8104
8105 \end_inset
8106 </cell>
8107 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8108 \begin_inset Text
8109
8110 \begin_layout Plain Layout
8111 Maria
8112 \end_layout
8113
8114 \end_inset
8115 </cell>
8116 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8117 \begin_inset Text
8118
8119 \begin_layout Plain Layout
8120 111
8121 \end_layout
8122
8123 \end_inset
8124 </cell>
8125 </row>
8126 <row>
8127 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8128 \begin_inset Text
8129
8130 \begin_layout Plain Layout
8131
8132 \series bold
8133 Cachia
8134 \end_layout
8135
8136 \end_inset
8137 </cell>
8138 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8139 \begin_inset Text
8140
8141 \begin_layout Plain Layout
8142 Maurizio
8143 \end_layout
8144
8145 \end_inset
8146 </cell>
8147 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8148 \begin_inset Text
8149
8150 \begin_layout Plain Layout
8151 111
8152 \end_layout
8153
8154 \end_inset
8155 </cell>
8156 </row>
8157 <row>
8158 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8159 \begin_inset Text
8160
8161 \begin_layout Plain Layout
8162
8163 \series bold
8164 Cinquemani
8165 \end_layout
8166
8167 \end_inset
8168 </cell>
8169 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8170 \begin_inset Text
8171
8172 \begin_layout Plain Layout
8173 Giusi
8174 \end_layout
8175
8176 \end_inset
8177 </cell>
8178 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8179 \begin_inset Text
8180
8181 \begin_layout Plain Layout
8182 111
8183 \end_layout
8184
8185 \end_inset
8186 </cell>
8187 </row>
8188 <row>
8189 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8190 \begin_inset Text
8191
8192 \begin_layout Plain Layout
8193
8194 \series bold
8195 Colin
8196 \end_layout
8197
8198 \end_inset
8199 </cell>
8200 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8201 \begin_inset Text
8202
8203 \begin_layout Plain Layout
8204 Bernard
8205 \end_layout
8206
8207 \end_inset
8208 </cell>
8209 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8210 \begin_inset Text
8211
8212 \begin_layout Plain Layout
8213 111
8214 \end_layout
8215
8216 \end_inset
8217 </cell>
8218 </row>
8219 <row>
8220 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8221 \begin_inset Text
8222
8223 \begin_layout Plain Layout
8224
8225 \series bold
8226 Concli
8227 \end_layout
8228
8229 \end_inset
8230 </cell>
8231 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8232 \begin_inset Text
8233
8234 \begin_layout Plain Layout
8235 Gianfranco
8236 \end_layout
8237
8238 \end_inset
8239 </cell>
8240 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8241 \begin_inset Text
8242
8243 \begin_layout Plain Layout
8244 111
8245 \end_layout
8246
8247 \end_inset
8248 </cell>
8249 </row>
8250 <row>
8251 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8252 \begin_inset Text
8253
8254 \begin_layout Plain Layout
8255
8256 \series bold
8257 Dal Bosco
8258 \end_layout
8259
8260 \end_inset
8261 </cell>
8262 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8263 \begin_inset Text
8264
8265 \begin_layout Plain Layout
8266 Carolina
8267 \end_layout
8268
8269 \end_inset
8270 </cell>
8271 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8272 \begin_inset Text
8273
8274 \begin_layout Plain Layout
8275 111
8276 \end_layout
8277
8278 \end_inset
8279 </cell>
8280 </row>
8281 <row>
8282 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8283 \begin_inset Text
8284
8285 \begin_layout Plain Layout
8286
8287 \series bold
8288 Dalpiaz
8289 \end_layout
8290
8291 \end_inset
8292 </cell>
8293 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8294 \begin_inset Text
8295
8296 \begin_layout Plain Layout
8297 Annamaria
8298 \end_layout
8299
8300 \end_inset
8301 </cell>
8302 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8303 \begin_inset Text
8304
8305 \begin_layout Plain Layout
8306 111
8307 \end_layout
8308
8309 \end_inset
8310 </cell>
8311 </row>
8312 <row>
8313 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8314 \begin_inset Text
8315
8316 \begin_layout Plain Layout
8317
8318 \series bold
8319 Feliciello
8320 \end_layout
8321
8322 \end_inset
8323 </cell>
8324 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8325 \begin_inset Text
8326
8327 \begin_layout Plain Layout
8328 Domenico
8329 \end_layout
8330
8331 \end_inset
8332 </cell>
8333 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8334 \begin_inset Text
8335
8336 \begin_layout Plain Layout
8337 111
8338 \end_layout
8339
8340 \end_inset
8341 </cell>
8342 </row>
8343 <row>
8344 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8345 \begin_inset Text
8346
8347 \begin_layout Plain Layout
8348
8349 \series bold
8350 Focarelli
8351 \end_layout
8352
8353 \end_inset
8354 </cell>
8355 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8356 \begin_inset Text
8357
8358 \begin_layout Plain Layout
8359 Paola
8360 \end_layout
8361
8362 \end_inset
8363 </cell>
8364 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8365 \begin_inset Text
8366
8367 \begin_layout Plain Layout
8368 111
8369 \end_layout
8370
8371 \end_inset
8372 </cell>
8373 </row>
8374 <row>
8375 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8376 \begin_inset Text
8377
8378 \begin_layout Plain Layout
8379
8380 \series bold
8381 Galletti
8382 \end_layout
8383
8384 \end_inset
8385 </cell>
8386 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8387 \begin_inset Text
8388
8389 \begin_layout Plain Layout
8390 Oreste
8391 \end_layout
8392
8393 \end_inset
8394 </cell>
8395 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8396 \begin_inset Text
8397
8398 \begin_layout Plain Layout
8399 111
8400 \end_layout
8401
8402 \end_inset
8403 </cell>
8404 </row>
8405 <row>
8406 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8407 \begin_inset Text
8408
8409 \begin_layout Plain Layout
8410
8411 \series bold
8412 Gasparini
8413 \end_layout
8414
8415 \end_inset
8416 </cell>
8417 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8418 \begin_inset Text
8419
8420 \begin_layout Plain Layout
8421 Franca
8422 \end_layout
8423
8424 \end_inset
8425 </cell>
8426 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8427 \begin_inset Text
8428
8429 \begin_layout Plain Layout
8430 111
8431 \end_layout
8432
8433 \end_inset
8434 </cell>
8435 </row>
8436 <row>
8437 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8438 \begin_inset Text
8439
8440 \begin_layout Plain Layout
8441
8442 \series bold
8443 Rizzardi
8444 \series default
8445
8446 \begin_inset Foot
8447 status open
8448
8449 \begin_layout Plain Layout
8450 Example footnote
8451 \end_layout
8452
8453 \end_inset
8454
8455
8456 \end_layout
8457
8458 \end_inset
8459 </cell>
8460 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8461 \begin_inset Text
8462
8463 \begin_layout Plain Layout
8464 Paola
8465 \end_layout
8466
8467 \end_inset
8468 </cell>
8469 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8470 \begin_inset Text
8471
8472 \begin_layout Plain Layout
8473 111
8474 \end_layout
8475
8476 \end_inset
8477 </cell>
8478 </row>
8479 <row>
8480 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8481 \begin_inset Text
8482
8483 \begin_layout Plain Layout
8484
8485 \series bold
8486 Lassini
8487 \end_layout
8488
8489 \end_inset
8490 </cell>
8491 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8492 \begin_inset Text
8493
8494 \begin_layout Plain Layout
8495 Giancarlo
8496 \end_layout
8497
8498 \end_inset
8499 </cell>
8500 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8501 \begin_inset Text
8502
8503 \begin_layout Plain Layout
8504 111
8505 \end_layout
8506
8507 \end_inset
8508 </cell>
8509 </row>
8510 <row>
8511 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8512 \begin_inset Text
8513
8514 \begin_layout Plain Layout
8515
8516 \series bold
8517 Malfatti
8518 \end_layout
8519
8520 \end_inset
8521 </cell>
8522 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8523 \begin_inset Text
8524
8525 \begin_layout Plain Layout
8526 Luciano
8527 \end_layout
8528
8529 \end_inset
8530 </cell>
8531 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8532 \begin_inset Text
8533
8534 \begin_layout Plain Layout
8535 111
8536 \end_layout
8537
8538 \end_inset
8539 </cell>
8540 </row>
8541 <row>
8542 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8543 \begin_inset Text
8544
8545 \begin_layout Plain Layout
8546
8547 \series bold
8548 Malfatti
8549 \end_layout
8550
8551 \end_inset
8552 </cell>
8553 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8554 \begin_inset Text
8555
8556 \begin_layout Plain Layout
8557 Valeriano
8558 \end_layout
8559
8560 \end_inset
8561 </cell>
8562 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8563 \begin_inset Text
8564
8565 \begin_layout Plain Layout
8566 111
8567 \end_layout
8568
8569 \end_inset
8570 </cell>
8571 </row>
8572 <row>
8573 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8574 \begin_inset Text
8575
8576 \begin_layout Plain Layout
8577
8578 \series bold
8579 Meneguzzo
8580 \end_layout
8581
8582 \end_inset
8583 </cell>
8584 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8585 \begin_inset Text
8586
8587 \begin_layout Plain Layout
8588 Roberto
8589 \end_layout
8590
8591 \end_inset
8592 </cell>
8593 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8594 \begin_inset Text
8595
8596 \begin_layout Plain Layout
8597 111
8598 \end_layout
8599
8600 \end_inset
8601 </cell>
8602 </row>
8603 <row>
8604 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8605 \begin_inset Text
8606
8607 \begin_layout Plain Layout
8608
8609 \series bold
8610 Mezzadra
8611 \end_layout
8612
8613 \end_inset
8614 </cell>
8615 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8616 \begin_inset Text
8617
8618 \begin_layout Plain Layout
8619 Roberto
8620 \end_layout
8621
8622 \end_inset
8623 </cell>
8624 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8625 \begin_inset Text
8626
8627 \begin_layout Plain Layout
8628 111
8629 \end_layout
8630
8631 \end_inset
8632 </cell>
8633 </row>
8634 <row>
8635 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8636 \begin_inset Text
8637
8638 \begin_layout Plain Layout
8639
8640 \series bold
8641 Pirpamer
8642 \end_layout
8643
8644 \end_inset
8645 </cell>
8646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8647 \begin_inset Text
8648
8649 \begin_layout Plain Layout
8650 Erich
8651 \end_layout
8652
8653 \end_inset
8654 </cell>
8655 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8656 \begin_inset Text
8657
8658 \begin_layout Plain Layout
8659 111
8660 \end_layout
8661
8662 \end_inset
8663 </cell>
8664 </row>
8665 <row>
8666 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8667 \begin_inset Text
8668
8669 \begin_layout Plain Layout
8670
8671 \series bold
8672 Pochiesa
8673 \end_layout
8674
8675 \end_inset
8676 </cell>
8677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8678 \begin_inset Text
8679
8680 \begin_layout Plain Layout
8681 Paolo
8682 \end_layout
8683
8684 \end_inset
8685 </cell>
8686 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8687 \begin_inset Text
8688
8689 \begin_layout Plain Layout
8690 111, 222
8691 \end_layout
8692
8693 \end_inset
8694 </cell>
8695 </row>
8696 <row>
8697 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8698 \begin_inset Text
8699
8700 \begin_layout Plain Layout
8701
8702 \series bold
8703 Radina
8704 \end_layout
8705
8706 \end_inset
8707 </cell>
8708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8709 \begin_inset Text
8710
8711 \begin_layout Plain Layout
8712 Claudio
8713 \end_layout
8714
8715 \end_inset
8716 </cell>
8717 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8718 \begin_inset Text
8719
8720 \begin_layout Plain Layout
8721 111
8722 \end_layout
8723
8724 \end_inset
8725 </cell>
8726 </row>
8727 <row>
8728 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8729 \begin_inset Text
8730
8731 \begin_layout Plain Layout
8732
8733 \series bold
8734 Stuffer
8735 \end_layout
8736
8737 \end_inset
8738 </cell>
8739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8740 \begin_inset Text
8741
8742 \begin_layout Plain Layout
8743 Oskar
8744 \end_layout
8745
8746 \end_inset
8747 </cell>
8748 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8749 \begin_inset Text
8750
8751 \begin_layout Plain Layout
8752 111
8753 \end_layout
8754
8755 \end_inset
8756 </cell>
8757 </row>
8758 <row>
8759 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8760 \begin_inset Text
8761
8762 \begin_layout Plain Layout
8763
8764 \series bold
8765 Tacchelli
8766 \end_layout
8767
8768 \end_inset
8769 </cell>
8770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8771 \begin_inset Text
8772
8773 \begin_layout Plain Layout
8774 Ugo
8775 \end_layout
8776
8777 \end_inset
8778 </cell>
8779 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8780 \begin_inset Text
8781
8782 \begin_layout Plain Layout
8783 111
8784 \end_layout
8785
8786 \end_inset
8787 </cell>
8788 </row>
8789 <row>
8790 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8791 \begin_inset Text
8792
8793 \begin_layout Plain Layout
8794
8795 \series bold
8796 Tezzele
8797 \end_layout
8798
8799 \end_inset
8800 </cell>
8801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8802 \begin_inset Text
8803
8804 \begin_layout Plain Layout
8805 Margit
8806 \end_layout
8807
8808 \end_inset
8809 </cell>
8810 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8811 \begin_inset Text
8812
8813 \begin_layout Plain Layout
8814 111
8815 \end_layout
8816
8817 \end_inset
8818 </cell>
8819 </row>
8820 <row>
8821 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8822 \begin_inset Text
8823
8824 \begin_layout Plain Layout
8825
8826 \series bold
8827 Unterkalmsteiner
8828 \end_layout
8829
8830 \end_inset
8831 </cell>
8832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8833 \begin_inset Text
8834
8835 \begin_layout Plain Layout
8836 Frieda
8837 \end_layout
8838
8839 \end_inset
8840 </cell>
8841 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8842 \begin_inset Text
8843
8844 \begin_layout Plain Layout
8845 111
8846 \end_layout
8847
8848 \end_inset
8849 </cell>
8850 </row>
8851 <row>
8852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8853 \begin_inset Text
8854
8855 \begin_layout Plain Layout
8856
8857 \series bold
8858 Vieider
8859 \end_layout
8860
8861 \end_inset
8862 </cell>
8863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8864 \begin_inset Text
8865
8866 \begin_layout Plain Layout
8867 Hilde
8868 \end_layout
8869
8870 \end_inset
8871 </cell>
8872 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8873 \begin_inset Text
8874
8875 \begin_layout Plain Layout
8876 111
8877 \end_layout
8878
8879 \end_inset
8880 </cell>
8881 </row>
8882 <row>
8883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8884 \begin_inset Text
8885
8886 \begin_layout Plain Layout
8887
8888 \series bold
8889 Vigna
8890 \end_layout
8891
8892 \end_inset
8893 </cell>
8894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8895 \begin_inset Text
8896
8897 \begin_layout Plain Layout
8898 Jürgen
8899 \end_layout
8900
8901 \end_inset
8902 </cell>
8903 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8904 \begin_inset Text
8905
8906 \begin_layout Plain Layout
8907 111
8908 \end_layout
8909
8910 \end_inset
8911 </cell>
8912 </row>
8913 <row>
8914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8915 \begin_inset Text
8916
8917 \begin_layout Plain Layout
8918
8919 \series bold
8920 Weber
8921 \end_layout
8922
8923 \end_inset
8924 </cell>
8925 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8926 \begin_inset Text
8927
8928 \begin_layout Plain Layout
8929 Maurizio
8930 \end_layout
8931
8932 \end_inset
8933 </cell>
8934 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8935 \begin_inset Text
8936
8937 \begin_layout Plain Layout
8938 111
8939 \end_layout
8940
8941 \end_inset
8942 </cell>
8943 </row>
8944 <row>
8945 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8946 \begin_inset Text
8947
8948 \begin_layout Plain Layout
8949
8950 \series bold
8951 Winkler
8952 \end_layout
8953
8954 \end_inset
8955 </cell>
8956 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8957 \begin_inset Text
8958
8959 \begin_layout Plain Layout
8960 Franz
8961 \end_layout
8962
8963 \end_inset
8964 </cell>
8965 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8966 \begin_inset Text
8967
8968 \begin_layout Plain Layout
8969 111
8970 \end_layout
8971
8972 \end_inset
8973 </cell>
8974 </row>
8975 <row>
8976 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8977 \begin_inset Text
8978
8979 \begin_layout Plain Layout
8980  
8981 \end_layout
8982
8983 \end_inset
8984 </cell>
8985 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8986 \begin_inset Text
8987
8988 \begin_layout Plain Layout
8989
8990 \end_layout
8991
8992 \end_inset
8993 </cell>
8994 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8995 \begin_inset Text
8996
8997 \begin_layout Plain Layout
8998
8999 \end_layout
9000
9001 \end_inset
9002 </cell>
9003 </row>
9004 <row>
9005 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9006 \begin_inset Text
9007
9008 \begin_layout Plain Layout
9009
9010 \series bold
9011 Annovi
9012 \end_layout
9013
9014 \end_inset
9015 </cell>
9016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9017 \begin_inset Text
9018
9019 \begin_layout Plain Layout
9020 Silvia
9021 \end_layout
9022
9023 \end_inset
9024 </cell>
9025 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9026 \begin_inset Text
9027
9028 \begin_layout Plain Layout
9029 555
9030 \end_layout
9031
9032 \end_inset
9033 </cell>
9034 </row>
9035 <row>
9036 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9037 \begin_inset Text
9038
9039 \begin_layout Plain Layout
9040
9041 \series bold
9042 Bertoli
9043 \end_layout
9044
9045 \end_inset
9046 </cell>
9047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9048 \begin_inset Text
9049
9050 \begin_layout Plain Layout
9051 Stefano
9052 \end_layout
9053
9054 \end_inset
9055 </cell>
9056 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9057 \begin_inset Text
9058
9059 \begin_layout Plain Layout
9060 555
9061 \end_layout
9062
9063 \end_inset
9064 </cell>
9065 </row>
9066 <row>
9067 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9068 \begin_inset Text
9069
9070 \begin_layout Plain Layout
9071
9072 \series bold
9073 Bozzi
9074 \end_layout
9075
9076 \end_inset
9077 </cell>
9078 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9079 \begin_inset Text
9080
9081 \begin_layout Plain Layout
9082 Walter
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9088 \begin_inset Text
9089
9090 \begin_layout Plain Layout
9091 555
9092 \end_layout
9093
9094 \end_inset
9095 </cell>
9096 </row>
9097 <row>
9098 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9099 \begin_inset Text
9100
9101 \begin_layout Plain Layout
9102
9103 \series bold
9104 Cachia
9105 \end_layout
9106
9107 \end_inset
9108 </cell>
9109 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9110 \begin_inset Text
9111
9112 \begin_layout Plain Layout
9113 Maria
9114 \end_layout
9115
9116 \end_inset
9117 </cell>
9118 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9119 \begin_inset Text
9120
9121 \begin_layout Plain Layout
9122 555
9123 \end_layout
9124
9125 \end_inset
9126 </cell>
9127 </row>
9128 <row>
9129 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9130 \begin_inset Text
9131
9132 \begin_layout Plain Layout
9133
9134 \series bold
9135 Cachia
9136 \end_layout
9137
9138 \end_inset
9139 </cell>
9140 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9141 \begin_inset Text
9142
9143 \begin_layout Plain Layout
9144 Maurizio
9145 \end_layout
9146
9147 \end_inset
9148 </cell>
9149 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9150 \begin_inset Text
9151
9152 \begin_layout Plain Layout
9153 555
9154 \end_layout
9155
9156 \end_inset
9157 </cell>
9158 </row>
9159 <row>
9160 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9161 \begin_inset Text
9162
9163 \begin_layout Plain Layout
9164
9165 \series bold
9166 Cinquemani
9167 \end_layout
9168
9169 \end_inset
9170 </cell>
9171 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9172 \begin_inset Text
9173
9174 \begin_layout Plain Layout
9175 Giusi
9176 \end_layout
9177
9178 \end_inset
9179 </cell>
9180 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9181 \begin_inset Text
9182
9183 \begin_layout Plain Layout
9184 555
9185 \end_layout
9186
9187 \end_inset
9188 </cell>
9189 </row>
9190 <row>
9191 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9192 \begin_inset Text
9193
9194 \begin_layout Plain Layout
9195
9196 \series bold
9197 Colin
9198 \end_layout
9199
9200 \end_inset
9201 </cell>
9202 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9203 \begin_inset Text
9204
9205 \begin_layout Plain Layout
9206 Bernard
9207 \end_layout
9208
9209 \end_inset
9210 </cell>
9211 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9212 \begin_inset Text
9213
9214 \begin_layout Plain Layout
9215 555
9216 \end_layout
9217
9218 \end_inset
9219 </cell>
9220 </row>
9221 <row>
9222 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9223 \begin_inset Text
9224
9225 \begin_layout Plain Layout
9226
9227 \series bold
9228 Concli
9229 \end_layout
9230
9231 \end_inset
9232 </cell>
9233 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9234 \begin_inset Text
9235
9236 \begin_layout Plain Layout
9237 Gianfranco
9238 \end_layout
9239
9240 \end_inset
9241 </cell>
9242 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9243 \begin_inset Text
9244
9245 \begin_layout Plain Layout
9246 555
9247 \end_layout
9248
9249 \end_inset
9250 </cell>
9251 </row>
9252 <row>
9253 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9254 \begin_inset Text
9255
9256 \begin_layout Plain Layout
9257
9258 \series bold
9259 Dal Bosco
9260 \end_layout
9261
9262 \end_inset
9263 </cell>
9264 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9265 \begin_inset Text
9266
9267 \begin_layout Plain Layout
9268 Carolina
9269 \end_layout
9270
9271 \end_inset
9272 </cell>
9273 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9274 \begin_inset Text
9275
9276 \begin_layout Plain Layout
9277 555
9278 \end_layout
9279
9280 \end_inset
9281 </cell>
9282 </row>
9283 <row>
9284 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9285 \begin_inset Text
9286
9287 \begin_layout Plain Layout
9288
9289 \series bold
9290 Dalpiaz
9291 \end_layout
9292
9293 \end_inset
9294 </cell>
9295 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9296 \begin_inset Text
9297
9298 \begin_layout Plain Layout
9299 Annamaria
9300 \end_layout
9301
9302 \end_inset
9303 </cell>
9304 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9305 \begin_inset Text
9306
9307 \begin_layout Plain Layout
9308 555
9309 \end_layout
9310
9311 \end_inset
9312 </cell>
9313 </row>
9314 <row>
9315 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9316 \begin_inset Text
9317
9318 \begin_layout Plain Layout
9319
9320 \series bold
9321 Feliciello
9322 \end_layout
9323
9324 \end_inset
9325 </cell>
9326 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9327 \begin_inset Text
9328
9329 \begin_layout Plain Layout
9330 Domenico
9331 \end_layout
9332
9333 \end_inset
9334 </cell>
9335 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9336 \begin_inset Text
9337
9338 \begin_layout Plain Layout
9339 555
9340 \end_layout
9341
9342 \end_inset
9343 </cell>
9344 </row>
9345 <row>
9346 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9347 \begin_inset Text
9348
9349 \begin_layout Plain Layout
9350
9351 \series bold
9352 Focarelli
9353 \end_layout
9354
9355 \end_inset
9356 </cell>
9357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9358 \begin_inset Text
9359
9360 \begin_layout Plain Layout
9361 Paola
9362 \end_layout
9363
9364 \end_inset
9365 </cell>
9366 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9367 \begin_inset Text
9368
9369 \begin_layout Plain Layout
9370 555
9371 \end_layout
9372
9373 \end_inset
9374 </cell>
9375 </row>
9376 <row>
9377 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9378 \begin_inset Text
9379
9380 \begin_layout Plain Layout
9381
9382 \series bold
9383 Galletti
9384 \end_layout
9385
9386 \end_inset
9387 </cell>
9388 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9389 \begin_inset Text
9390
9391 \begin_layout Plain Layout
9392 Oreste
9393 \end_layout
9394
9395 \end_inset
9396 </cell>
9397 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9398 \begin_inset Text
9399
9400 \begin_layout Plain Layout
9401 555
9402 \end_layout
9403
9404 \end_inset
9405 </cell>
9406 </row>
9407 <row>
9408 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9409 \begin_inset Text
9410
9411 \begin_layout Plain Layout
9412
9413 \series bold
9414 Gasparini
9415 \end_layout
9416
9417 \end_inset
9418 </cell>
9419 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9420 \begin_inset Text
9421
9422 \begin_layout Plain Layout
9423 Franca
9424 \end_layout
9425
9426 \end_inset
9427 </cell>
9428 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9429 \begin_inset Text
9430
9431 \begin_layout Plain Layout
9432 555
9433 \end_layout
9434
9435 \end_inset
9436 </cell>
9437 </row>
9438 <row>
9439 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9440 \begin_inset Text
9441
9442 \begin_layout Plain Layout
9443
9444 \series bold
9445 Rizzardi
9446 \end_layout
9447
9448 \end_inset
9449 </cell>
9450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9451 \begin_inset Text
9452
9453 \begin_layout Plain Layout
9454 Paola
9455 \end_layout
9456
9457 \end_inset
9458 </cell>
9459 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9460 \begin_inset Text
9461
9462 \begin_layout Plain Layout
9463 555
9464 \end_layout
9465
9466 \end_inset
9467 </cell>
9468 </row>
9469 <row>
9470 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9471 \begin_inset Text
9472
9473 \begin_layout Plain Layout
9474
9475 \series bold
9476 Lassini
9477 \end_layout
9478
9479 \end_inset
9480 </cell>
9481 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9482 \begin_inset Text
9483
9484 \begin_layout Plain Layout
9485 Giancarlo
9486 \end_layout
9487
9488 \end_inset
9489 </cell>
9490 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9491 \begin_inset Text
9492
9493 \begin_layout Plain Layout
9494 555
9495 \end_layout
9496
9497 \end_inset
9498 </cell>
9499 </row>
9500 <row>
9501 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9502 \begin_inset Text
9503
9504 \begin_layout Plain Layout
9505
9506 \series bold
9507 Malfatti
9508 \end_layout
9509
9510 \end_inset
9511 </cell>
9512 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9513 \begin_inset Text
9514
9515 \begin_layout Plain Layout
9516 Luciano
9517 \end_layout
9518
9519 \end_inset
9520 </cell>
9521 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9522 \begin_inset Text
9523
9524 \begin_layout Plain Layout
9525 555
9526 \end_layout
9527
9528 \end_inset
9529 </cell>
9530 </row>
9531 <row>
9532 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9533 \begin_inset Text
9534
9535 \begin_layout Plain Layout
9536
9537 \series bold
9538 Malfatti
9539 \end_layout
9540
9541 \end_inset
9542 </cell>
9543 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9544 \begin_inset Text
9545
9546 \begin_layout Plain Layout
9547 Valeriano
9548 \end_layout
9549
9550 \end_inset
9551 </cell>
9552 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9553 \begin_inset Text
9554
9555 \begin_layout Plain Layout
9556 555
9557 \end_layout
9558
9559 \end_inset
9560 </cell>
9561 </row>
9562 <row>
9563 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9564 \begin_inset Text
9565
9566 \begin_layout Plain Layout
9567
9568 \series bold
9569 Meneguzzo
9570 \end_layout
9571
9572 \end_inset
9573 </cell>
9574 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9575 \begin_inset Text
9576
9577 \begin_layout Plain Layout
9578 Roberto
9579 \end_layout
9580
9581 \end_inset
9582 </cell>
9583 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9584 \begin_inset Text
9585
9586 \begin_layout Plain Layout
9587 555
9588 \end_layout
9589
9590 \end_inset
9591 </cell>
9592 </row>
9593 <row>
9594 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9595 \begin_inset Text
9596
9597 \begin_layout Plain Layout
9598
9599 \series bold
9600 Mezzadra
9601 \end_layout
9602
9603 \end_inset
9604 </cell>
9605 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9606 \begin_inset Text
9607
9608 \begin_layout Plain Layout
9609 Roberto
9610 \end_layout
9611
9612 \end_inset
9613 </cell>
9614 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9615 \begin_inset Text
9616
9617 \begin_layout Plain Layout
9618 555
9619 \end_layout
9620
9621 \end_inset
9622 </cell>
9623 </row>
9624 </lyxtabular>
9625
9626 \end_inset
9627
9628
9629 \end_layout
9630
9631 \begin_layout Section
9632 Special Longtable Issues
9633 \begin_inset CommandInset label
9634 LatexCommand label
9635 name "sec:Special-Longtable-Issues"
9636
9637 \end_inset
9638
9639
9640 \end_layout
9641
9642 \begin_layout Subsection
9643 Longtable Calculation
9644 \begin_inset Index idx
9645 status collapsed
9646
9647 \begin_layout Plain Layout
9648 Longtables ! Calculation
9649 \end_layout
9650
9651 \end_inset
9652
9653
9654 \end_layout
9655
9656 \begin_layout Standard
9657 LaTeX calculates the height of table pages and their page breaks using so
9658  called chunks.
9659  Chunks are parts of tables that held at the same time in LaTeX's memory.
9660  The default value was historically set to only 20 table rows.
9661  If you are using longtables with many pages this may slow down the creation
9662  of your document.
9663  You can safely increase the chunk size to values of 100-1000 by adding
9664  this command line to your document preamble:
9665 \end_layout
9666
9667 \begin_layout Standard
9668
9669 \series bold
9670
9671 \backslash
9672 setcounter{LTchunksize}{100}
9673 \end_layout
9674
9675 \begin_layout Subsection
9676 Floats and Longtables
9677 \begin_inset Index idx
9678 status collapsed
9679
9680 \begin_layout Plain Layout
9681 Longtables ! Floats
9682 \end_layout
9683
9684 \end_inset
9685
9686
9687 \end_layout
9688
9689 \begin_layout Standard
9690 There might be problems when a float appears on the same page where a longtable
9691  starts.
9692  To avoid such a situation, insert a 
9693 \begin_inset Quotes eld
9694 \end_inset
9695
9696 clear page
9697 \begin_inset Quotes erd
9698 \end_inset
9699
9700  (menu 
9701 \family sans
9702 Insert\SpecialChar \menuseparator
9703 Formatting\SpecialChar \menuseparator
9704 Clear
9705 \begin_inset space ~
9706 \end_inset
9707
9708 Page
9709 \family default
9710 ) before your longtable.
9711 \end_layout
9712
9713 \begin_layout Subsection
9714 Forced Page Breaks
9715 \begin_inset Index idx
9716 status collapsed
9717
9718 \begin_layout Plain Layout
9719 Longtables ! Forced Page Breaks
9720 \end_layout
9721
9722 \end_inset
9723
9724
9725 \end_layout
9726
9727 \begin_layout Standard
9728 By default tables are only broken between rows.
9729  If you have a cell with multiples lines and want to have a page break within
9730  the cell, insert the new line command 
9731 \begin_inset Quotes eld
9732 \end_inset
9733
9734
9735 \series bold
9736
9737 \backslash
9738
9739 \backslash
9740
9741 \series default
9742
9743 \begin_inset Quotes erd
9744 \end_inset
9745
9746  as TeX-Code at the point of the cell where it can be broken.
9747  Before the 
9748 \series bold
9749
9750 \backslash
9751
9752 \backslash
9753
9754 \series default
9755  command you have to insert in TeX-Code as many 
9756 \begin_inset Quotes eld
9757 \end_inset
9758
9759
9760 \series bold
9761 &
9762 \series default
9763
9764 \begin_inset Quotes erd
9765 \end_inset
9766
9767  characters as the number of the following table columns.
9768  The 
9769 \series bold
9770 &
9771 \series default
9772  is the character to separate table cells.
9773  Write in TeX-Code after each 
9774 \series bold
9775 &
9776 \series default
9777  the content of the corresponding following cell and delete the content
9778  of these cells.
9779 \begin_inset Newline newline
9780 \end_inset
9781
9782 After the 
9783 \series bold
9784
9785 \backslash
9786
9787 \backslash
9788
9789 \series default
9790  command, insert as many 
9791 \series bold
9792 &
9793 \series default
9794  characters as the number of table columns before the current column.
9795  In Table
9796 \begin_inset space ~
9797 \end_inset
9798
9799
9800 \begin_inset CommandInset ref
9801 LatexCommand ref
9802 reference "tab:ForcedPagebreak"
9803
9804 \end_inset
9805
9806  the cell that should be broken is in the second column followed by another
9807  column.
9808  Therefore the following command was inserted in the cell as TeX-Code after
9809  
9810 \begin_inset Quotes eld
9811 \end_inset
9812
9813
9814 \emph on
9815 Castelchiodato,
9816 \emph default
9817
9818 \begin_inset Quotes erd
9819 \end_inset
9820
9821 :
9822 \end_layout
9823
9824 \begin_layout Standard
9825
9826 \series bold
9827 & 111
9828 \backslash
9829
9830 \backslash
9831  
9832 \backslash
9833 newpage
9834 \begin_inset Newline newline
9835 \end_inset
9836
9837 &
9838 \end_layout
9839
9840 \begin_layout Standard
9841 The 
9842 \begin_inset Quotes eld
9843 \end_inset
9844
9845 111
9846 \begin_inset Quotes erd
9847 \end_inset
9848
9849  in the third column of the row was deleted.
9850  
9851 \series bold
9852
9853 \backslash
9854 newpage
9855 \series default
9856  is only needed when a page break should definitely occur at this position,
9857  otherwise it would be a conditional break.
9858  If your footer row of the longtable has for a certain reason no upper line
9859  but you would have a horizontal line where the cell is broken, use this
9860  command instead:
9861 \end_layout
9862
9863 \begin_layout Standard
9864
9865 \series bold
9866 & 111
9867 \backslash
9868
9869 \backslash
9870
9871 \begin_inset Newline newline
9872 \end_inset
9873
9874
9875 \backslash
9876 hline &
9877 \end_layout
9878
9879 \begin_layout Standard
9880 When the cell to be broken is in the last column, the command
9881 \end_layout
9882
9883 \begin_layout Standard
9884
9885 \series bold
9886
9887 \backslash
9888 setlength{
9889 \backslash
9890 parfillskip}{0pt}
9891 \end_layout
9892
9893 \begin_layout Standard
9894 must be inserted as TeX-Code at the beginning of the cell.
9895  This ensures that the part of the cell that will be displayed on the new
9896  page appears with the full width.
9897 \end_layout
9898
9899 \begin_layout Standard
9900 \align center
9901 \begin_inset Tabular
9902 <lyxtabular version="3" rows="38" columns="3">
9903 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9904 <column alignment="left" valignment="top" width="0cm">
9905 <column alignment="left" valignment="top" width="3cm">
9906 <column alignment="center" valignment="top" width="0pt">
9907 <row caption="true">
9908 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9909 \begin_inset Text
9910
9911 \begin_layout Plain Layout
9912 \begin_inset Caption
9913
9914 \begin_layout Plain Layout
9915 Table with forced page break in table cell
9916 \begin_inset CommandInset label
9917 LatexCommand label
9918 name "tab:ForcedPagebreak"
9919
9920 \end_inset
9921
9922
9923 \begin_inset Argument
9924 status collapsed
9925
9926 \begin_layout Plain Layout
9927 Table with forced page break in table cell
9928 \end_layout
9929
9930 \end_inset
9931
9932
9933 \end_layout
9934
9935 \end_inset
9936
9937
9938 \end_layout
9939
9940 \end_inset
9941 </cell>
9942 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9943 \begin_inset Text
9944
9945 \begin_layout Plain Layout
9946
9947 \end_layout
9948
9949 \end_inset
9950 </cell>
9951 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9952 \begin_inset Text
9953
9954 \begin_layout Plain Layout
9955
9956 \end_layout
9957
9958 \end_inset
9959 </cell>
9960 </row>
9961 <row endfirsthead="true">
9962 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9963 \begin_inset Text
9964
9965 \begin_layout Plain Layout
9966
9967 \series bold
9968 Example Phone List (ignore the names)
9969 \end_layout
9970
9971 \end_inset
9972 </cell>
9973 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9974 \begin_inset Text
9975
9976 \begin_layout Plain Layout
9977
9978 \end_layout
9979
9980 \end_inset
9981 </cell>
9982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9983 \begin_inset Text
9984
9985 \begin_layout Plain Layout
9986
9987 \end_layout
9988
9989 \end_inset
9990 </cell>
9991 </row>
9992 <row endfirsthead="true">
9993 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9994 \begin_inset Text
9995
9996 \begin_layout Plain Layout
9997
9998 \series bold
9999 NAME
10000 \end_layout
10001
10002 \end_inset
10003 </cell>
10004 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10005 \begin_inset Text
10006
10007 \begin_layout Plain Layout
10008
10009 \end_layout
10010
10011 \end_inset
10012 </cell>
10013 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10014 \begin_inset Text
10015
10016 \begin_layout Plain Layout
10017
10018 \series bold
10019 TEL.
10020 \end_layout
10021
10022 \end_inset
10023 </cell>
10024 </row>
10025 <row endhead="true">
10026 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10027 \begin_inset Text
10028
10029 \begin_layout Plain Layout
10030 \begin_inset ERT
10031 status collapsed
10032
10033 \begin_layout Plain Layout
10034
10035
10036 \backslash
10037 caption*{Continued Example Phone List}
10038 \backslash
10039
10040 \backslash
10041 %
10042 \end_layout
10043
10044 \end_inset
10045
10046
10047 \end_layout
10048
10049 \end_inset
10050 </cell>
10051 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10052 \begin_inset Text
10053
10054 \begin_layout Plain Layout
10055
10056 \end_layout
10057
10058 \end_inset
10059 </cell>
10060 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10061 \begin_inset Text
10062
10063 \begin_layout Plain Layout
10064
10065 \end_layout
10066
10067 \end_inset
10068 </cell>
10069 </row>
10070 <row endhead="true">
10071 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10072 \begin_inset Text
10073
10074 \begin_layout Plain Layout
10075
10076 \series bold
10077 Example Phone List
10078 \end_layout
10079
10080 \end_inset
10081 </cell>
10082 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10083 \begin_inset Text
10084
10085 \begin_layout Plain Layout
10086
10087 \end_layout
10088
10089 \end_inset
10090 </cell>
10091 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10092 \begin_inset Text
10093
10094 \begin_layout Plain Layout
10095
10096 \end_layout
10097
10098 \end_inset
10099 </cell>
10100 </row>
10101 <row endhead="true">
10102 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10103 \begin_inset Text
10104
10105 \begin_layout Plain Layout
10106
10107 \series bold
10108 NAME
10109 \end_layout
10110
10111 \end_inset
10112 </cell>
10113 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10114 \begin_inset Text
10115
10116 \begin_layout Plain Layout
10117
10118 \end_layout
10119
10120 \end_inset
10121 </cell>
10122 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10123 \begin_inset Text
10124
10125 \begin_layout Plain Layout
10126
10127 \series bold
10128 TEL.
10129 \end_layout
10130
10131 \end_inset
10132 </cell>
10133 </row>
10134 <row endfoot="true">
10135 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10136 \begin_inset Text
10137
10138 \begin_layout Plain Layout
10139 continued on next page
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Plain Layout
10148
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Plain Layout
10157
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 </row>
10163 <row>
10164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Plain Layout
10168
10169 \series bold
10170 Annovi
10171 \end_layout
10172
10173 \end_inset
10174 </cell>
10175 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10176 \begin_inset Text
10177
10178 \begin_layout Plain Layout
10179 Silvia
10180 \end_layout
10181
10182 \end_inset
10183 </cell>
10184 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10185 \begin_inset Text
10186
10187 \begin_layout Plain Layout
10188 111
10189 \end_layout
10190
10191 \end_inset
10192 </cell>
10193 </row>
10194 <row>
10195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10196 \begin_inset Text
10197
10198 \begin_layout Plain Layout
10199
10200 \series bold
10201 Bertoli
10202 \end_layout
10203
10204 \end_inset
10205 </cell>
10206 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10207 \begin_inset Text
10208
10209 \begin_layout Plain Layout
10210 Stefano
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Plain Layout
10219 111
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 </row>
10225 <row>
10226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10227 \begin_inset Text
10228
10229 \begin_layout Plain Layout
10230
10231 \series bold
10232 Bozzi
10233 \end_layout
10234
10235 \end_inset
10236 </cell>
10237 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10238 \begin_inset Text
10239
10240 \begin_layout Plain Layout
10241 Walter
10242 \end_layout
10243
10244 \end_inset
10245 </cell>
10246 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10247 \begin_inset Text
10248
10249 \begin_layout Plain Layout
10250 111
10251 \end_layout
10252
10253 \end_inset
10254 </cell>
10255 </row>
10256 <row>
10257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10258 \begin_inset Text
10259
10260 \begin_layout Plain Layout
10261
10262 \series bold
10263 Cachia
10264 \end_layout
10265
10266 \end_inset
10267 </cell>
10268 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10269 \begin_inset Text
10270
10271 \begin_layout Plain Layout
10272 Maria
10273 \end_layout
10274
10275 \end_inset
10276 </cell>
10277 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10278 \begin_inset Text
10279
10280 \begin_layout Plain Layout
10281 111
10282 \end_layout
10283
10284 \end_inset
10285 </cell>
10286 </row>
10287 <row>
10288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10289 \begin_inset Text
10290
10291 \begin_layout Plain Layout
10292
10293 \series bold
10294 Cachia
10295 \end_layout
10296
10297 \end_inset
10298 </cell>
10299 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10300 \begin_inset Text
10301
10302 \begin_layout Plain Layout
10303 Maurizio
10304 \end_layout
10305
10306 \end_inset
10307 </cell>
10308 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10309 \begin_inset Text
10310
10311 \begin_layout Plain Layout
10312 111
10313 \end_layout
10314
10315 \end_inset
10316 </cell>
10317 </row>
10318 <row>
10319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10320 \begin_inset Text
10321
10322 \begin_layout Plain Layout
10323
10324 \series bold
10325 Cinquemani
10326 \end_layout
10327
10328 \end_inset
10329 </cell>
10330 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10331 \begin_inset Text
10332
10333 \begin_layout Plain Layout
10334 Giusi
10335 \end_layout
10336
10337 \end_inset
10338 </cell>
10339 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10340 \begin_inset Text
10341
10342 \begin_layout Plain Layout
10343 111
10344 \end_layout
10345
10346 \end_inset
10347 </cell>
10348 </row>
10349 <row>
10350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10351 \begin_inset Text
10352
10353 \begin_layout Plain Layout
10354
10355 \series bold
10356 Colin
10357 \end_layout
10358
10359 \end_inset
10360 </cell>
10361 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10362 \begin_inset Text
10363
10364 \begin_layout Plain Layout
10365 Bernard
10366 \end_layout
10367
10368 \end_inset
10369 </cell>
10370 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10371 \begin_inset Text
10372
10373 \begin_layout Plain Layout
10374 111
10375 \end_layout
10376
10377 \end_inset
10378 </cell>
10379 </row>
10380 <row>
10381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10382 \begin_inset Text
10383
10384 \begin_layout Plain Layout
10385
10386 \series bold
10387 Concli
10388 \end_layout
10389
10390 \end_inset
10391 </cell>
10392 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10393 \begin_inset Text
10394
10395 \begin_layout Plain Layout
10396 Gianfranco
10397 \end_layout
10398
10399 \end_inset
10400 </cell>
10401 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10402 \begin_inset Text
10403
10404 \begin_layout Plain Layout
10405 111
10406 \end_layout
10407
10408 \end_inset
10409 </cell>
10410 </row>
10411 <row>
10412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10413 \begin_inset Text
10414
10415 \begin_layout Plain Layout
10416
10417 \series bold
10418 Dal Bosco
10419 \end_layout
10420
10421 \end_inset
10422 </cell>
10423 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10424 \begin_inset Text
10425
10426 \begin_layout Plain Layout
10427 Carolina
10428 \end_layout
10429
10430 \end_inset
10431 </cell>
10432 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10433 \begin_inset Text
10434
10435 \begin_layout Plain Layout
10436 111
10437 \end_layout
10438
10439 \end_inset
10440 </cell>
10441 </row>
10442 <row>
10443 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10444 \begin_inset Text
10445
10446 \begin_layout Plain Layout
10447
10448 \series bold
10449 Dalpiaz
10450 \end_layout
10451
10452 \end_inset
10453 </cell>
10454 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10455 \begin_inset Text
10456
10457 \begin_layout Plain Layout
10458 Annamaria
10459 \end_layout
10460
10461 \end_inset
10462 </cell>
10463 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10464 \begin_inset Text
10465
10466 \begin_layout Plain Layout
10467 111
10468 \end_layout
10469
10470 \end_inset
10471 </cell>
10472 </row>
10473 <row>
10474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10475 \begin_inset Text
10476
10477 \begin_layout Plain Layout
10478
10479 \series bold
10480 Feliciello
10481 \end_layout
10482
10483 \end_inset
10484 </cell>
10485 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10486 \begin_inset Text
10487
10488 \begin_layout Plain Layout
10489 Domenico
10490 \end_layout
10491
10492 \end_inset
10493 </cell>
10494 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10495 \begin_inset Text
10496
10497 \begin_layout Plain Layout
10498 111
10499 \end_layout
10500
10501 \end_inset
10502 </cell>
10503 </row>
10504 <row>
10505 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10506 \begin_inset Text
10507
10508 \begin_layout Plain Layout
10509
10510 \series bold
10511 Focarelli
10512 \end_layout
10513
10514 \end_inset
10515 </cell>
10516 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10517 \begin_inset Text
10518
10519 \begin_layout Plain Layout
10520 Paola
10521 \end_layout
10522
10523 \end_inset
10524 </cell>
10525 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10526 \begin_inset Text
10527
10528 \begin_layout Plain Layout
10529 111
10530 \end_layout
10531
10532 \end_inset
10533 </cell>
10534 </row>
10535 <row>
10536 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10537 \begin_inset Text
10538
10539 \begin_layout Plain Layout
10540
10541 \series bold
10542 Galletti
10543 \end_layout
10544
10545 \end_inset
10546 </cell>
10547 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10548 \begin_inset Text
10549
10550 \begin_layout Plain Layout
10551 Oreste
10552 \end_layout
10553
10554 \end_inset
10555 </cell>
10556 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10557 \begin_inset Text
10558
10559 \begin_layout Plain Layout
10560 111
10561 \end_layout
10562
10563 \end_inset
10564 </cell>
10565 </row>
10566 <row>
10567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10568 \begin_inset Text
10569
10570 \begin_layout Plain Layout
10571
10572 \series bold
10573 Gasparini
10574 \end_layout
10575
10576 \end_inset
10577 </cell>
10578 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10579 \begin_inset Text
10580
10581 \begin_layout Plain Layout
10582 Franca
10583 \end_layout
10584
10585 \end_inset
10586 </cell>
10587 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10588 \begin_inset Text
10589
10590 \begin_layout Plain Layout
10591 111
10592 \end_layout
10593
10594 \end_inset
10595 </cell>
10596 </row>
10597 <row>
10598 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10599 \begin_inset Text
10600
10601 \begin_layout Plain Layout
10602
10603 \series bold
10604 Lassini
10605 \end_layout
10606
10607 \end_inset
10608 </cell>
10609 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10610 \begin_inset Text
10611
10612 \begin_layout Plain Layout
10613 Giancarlo
10614 \end_layout
10615
10616 \end_inset
10617 </cell>
10618 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10619 \begin_inset Text
10620
10621 \begin_layout Plain Layout
10622 111
10623 \end_layout
10624
10625 \end_inset
10626 </cell>
10627 </row>
10628 <row>
10629 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10630 \begin_inset Text
10631
10632 \begin_layout Plain Layout
10633
10634 \series bold
10635 Malfatti
10636 \end_layout
10637
10638 \end_inset
10639 </cell>
10640 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10641 \begin_inset Text
10642
10643 \begin_layout Plain Layout
10644 Luciano
10645 \end_layout
10646
10647 \end_inset
10648 </cell>
10649 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10650 \begin_inset Text
10651
10652 \begin_layout Plain Layout
10653 111
10654 \end_layout
10655
10656 \end_inset
10657 </cell>
10658 </row>
10659 <row>
10660 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10661 \begin_inset Text
10662
10663 \begin_layout Plain Layout
10664
10665 \series bold
10666 Malfatti
10667 \end_layout
10668
10669 \end_inset
10670 </cell>
10671 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10672 \begin_inset Text
10673
10674 \begin_layout Plain Layout
10675 Valeriano
10676 \end_layout
10677
10678 \end_inset
10679 </cell>
10680 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10681 \begin_inset Text
10682
10683 \begin_layout Plain Layout
10684 111
10685 \end_layout
10686
10687 \end_inset
10688 </cell>
10689 </row>
10690 <row>
10691 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10692 \begin_inset Text
10693
10694 \begin_layout Plain Layout
10695
10696 \series bold
10697 Meneguzzo
10698 \end_layout
10699
10700 \end_inset
10701 </cell>
10702 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10703 \begin_inset Text
10704
10705 \begin_layout Plain Layout
10706 Roberto
10707 \end_layout
10708
10709 \end_inset
10710 </cell>
10711 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10712 \begin_inset Text
10713
10714 \begin_layout Plain Layout
10715 111
10716 \end_layout
10717
10718 \end_inset
10719 </cell>
10720 </row>
10721 <row>
10722 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10723 \begin_inset Text
10724
10725 \begin_layout Plain Layout
10726
10727 \series bold
10728 Mezzadra
10729 \end_layout
10730
10731 \end_inset
10732 </cell>
10733 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10734 \begin_inset Text
10735
10736 \begin_layout Plain Layout
10737 Roberto
10738 \end_layout
10739
10740 \end_inset
10741 </cell>
10742 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10743 \begin_inset Text
10744
10745 \begin_layout Plain Layout
10746 111
10747 \end_layout
10748
10749 \end_inset
10750 </cell>
10751 </row>
10752 <row>
10753 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10754 \begin_inset Text
10755
10756 \begin_layout Plain Layout
10757
10758 \series bold
10759 Pirpamer
10760 \end_layout
10761
10762 \end_inset
10763 </cell>
10764 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10765 \begin_inset Text
10766
10767 \begin_layout Plain Layout
10768 Erich
10769 \end_layout
10770
10771 \end_inset
10772 </cell>
10773 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10774 \begin_inset Text
10775
10776 \begin_layout Plain Layout
10777 111
10778 \end_layout
10779
10780 \end_inset
10781 </cell>
10782 </row>
10783 <row>
10784 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10785 \begin_inset Text
10786
10787 \begin_layout Plain Layout
10788
10789 \series bold
10790 Pochiesa
10791 \end_layout
10792
10793 \end_inset
10794 </cell>
10795 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10796 \begin_inset Text
10797
10798 \begin_layout Plain Layout
10799 Paolo
10800 \end_layout
10801
10802 \end_inset
10803 </cell>
10804 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10805 \begin_inset Text
10806
10807 \begin_layout Plain Layout
10808 111, 222
10809 \end_layout
10810
10811 \end_inset
10812 </cell>
10813 </row>
10814 <row>
10815 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10816 \begin_inset Text
10817
10818 \begin_layout Plain Layout
10819
10820 \series bold
10821 Radina
10822 \end_layout
10823
10824 \end_inset
10825 </cell>
10826 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10827 \begin_inset Text
10828
10829 \begin_layout Plain Layout
10830 Claudio
10831 \end_layout
10832
10833 \end_inset
10834 </cell>
10835 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10836 \begin_inset Text
10837
10838 \begin_layout Plain Layout
10839 111
10840 \end_layout
10841
10842 \end_inset
10843 </cell>
10844 </row>
10845 <row>
10846 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10847 \begin_inset Text
10848
10849 \begin_layout Plain Layout
10850
10851 \series bold
10852 Rizzardi
10853 \end_layout
10854
10855 \end_inset
10856 </cell>
10857 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10858 \begin_inset Text
10859
10860 \begin_layout Plain Layout
10861 Paolo, 11.
10862  Fürst von Montecompatri, 11.
10863  Fürst von Sulmona und Vivaro, 10.
10864  Fürst von Rossano, 5.
10865  Herzog von Canemorte, 11.
10866  Herzog von Palombara, 5.
10867  Herzog von Castelchiodato,
10868 \begin_inset ERT
10869 status open
10870
10871 \begin_layout Plain Layout
10872
10873 & 111
10874 \backslash
10875
10876 \backslash
10877  
10878 \backslash
10879 newpage
10880 \end_layout
10881
10882 \begin_layout Plain Layout
10883
10884 &
10885 \end_layout
10886
10887 \end_inset
10888
10889  11.
10890  Herzog von Poggionativo, 11.
10891  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10892  Graf von Valinfreda, 11.
10893  Baron von Cropalati, 11.
10894  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10895 \end_layout
10896
10897 \end_inset
10898 </cell>
10899 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10900 \begin_inset Text
10901
10902 \begin_layout Plain Layout
10903
10904 \end_layout
10905
10906 \end_inset
10907 </cell>
10908 </row>
10909 <row>
10910 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10911 \begin_inset Text
10912
10913 \begin_layout Plain Layout
10914
10915 \series bold
10916 Stuffer
10917 \end_layout
10918
10919 \end_inset
10920 </cell>
10921 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10922 \begin_inset Text
10923
10924 \begin_layout Plain Layout
10925 Oskar
10926 \end_layout
10927
10928 \end_inset
10929 </cell>
10930 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10931 \begin_inset Text
10932
10933 \begin_layout Plain Layout
10934 111
10935 \end_layout
10936
10937 \end_inset
10938 </cell>
10939 </row>
10940 <row>
10941 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10942 \begin_inset Text
10943
10944 \begin_layout Plain Layout
10945
10946 \series bold
10947 Tacchelli
10948 \end_layout
10949
10950 \end_inset
10951 </cell>
10952 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10953 \begin_inset Text
10954
10955 \begin_layout Plain Layout
10956 Ugo
10957 \end_layout
10958
10959 \end_inset
10960 </cell>
10961 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10962 \begin_inset Text
10963
10964 \begin_layout Plain Layout
10965 111
10966 \end_layout
10967
10968 \end_inset
10969 </cell>
10970 </row>
10971 <row>
10972 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10973 \begin_inset Text
10974
10975 \begin_layout Plain Layout
10976
10977 \series bold
10978 Tezzele
10979 \end_layout
10980
10981 \end_inset
10982 </cell>
10983 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10984 \begin_inset Text
10985
10986 \begin_layout Plain Layout
10987 Margit
10988 \end_layout
10989
10990 \end_inset
10991 </cell>
10992 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10993 \begin_inset Text
10994
10995 \begin_layout Plain Layout
10996 111
10997 \end_layout
10998
10999 \end_inset
11000 </cell>
11001 </row>
11002 <row>
11003 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11004 \begin_inset Text
11005
11006 \begin_layout Plain Layout
11007
11008 \series bold
11009 Unterkalmsteiner
11010 \end_layout
11011
11012 \end_inset
11013 </cell>
11014 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11015 \begin_inset Text
11016
11017 \begin_layout Plain Layout
11018 Frieda
11019 \end_layout
11020
11021 \end_inset
11022 </cell>
11023 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11024 \begin_inset Text
11025
11026 \begin_layout Plain Layout
11027 111
11028 \end_layout
11029
11030 \end_inset
11031 </cell>
11032 </row>
11033 <row>
11034 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11035 \begin_inset Text
11036
11037 \begin_layout Plain Layout
11038
11039 \series bold
11040 Vieider
11041 \end_layout
11042
11043 \end_inset
11044 </cell>
11045 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11046 \begin_inset Text
11047
11048 \begin_layout Plain Layout
11049 Hilde
11050 \end_layout
11051
11052 \end_inset
11053 </cell>
11054 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11055 \begin_inset Text
11056
11057 \begin_layout Plain Layout
11058 111
11059 \end_layout
11060
11061 \end_inset
11062 </cell>
11063 </row>
11064 <row>
11065 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11066 \begin_inset Text
11067
11068 \begin_layout Plain Layout
11069
11070 \series bold
11071 Vigna
11072 \end_layout
11073
11074 \end_inset
11075 </cell>
11076 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11077 \begin_inset Text
11078
11079 \begin_layout Plain Layout
11080 Jürgen
11081 \end_layout
11082
11083 \end_inset
11084 </cell>
11085 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11086 \begin_inset Text
11087
11088 \begin_layout Plain Layout
11089 111
11090 \end_layout
11091
11092 \end_inset
11093 </cell>
11094 </row>
11095 <row>
11096 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11097 \begin_inset Text
11098
11099 \begin_layout Plain Layout
11100
11101 \series bold
11102 Weber
11103 \end_layout
11104
11105 \end_inset
11106 </cell>
11107 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11108 \begin_inset Text
11109
11110 \begin_layout Plain Layout
11111 Maurizio
11112 \end_layout
11113
11114 \end_inset
11115 </cell>
11116 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11117 \begin_inset Text
11118
11119 \begin_layout Plain Layout
11120 111
11121 \end_layout
11122
11123 \end_inset
11124 </cell>
11125 </row>
11126 <row>
11127 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11128 \begin_inset Text
11129
11130 \begin_layout Plain Layout
11131
11132 \series bold
11133 Winkler
11134 \end_layout
11135
11136 \end_inset
11137 </cell>
11138 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11139 \begin_inset Text
11140
11141 \begin_layout Plain Layout
11142 Franz
11143 \end_layout
11144
11145 \end_inset
11146 </cell>
11147 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11148 \begin_inset Text
11149
11150 \begin_layout Plain Layout
11151 111
11152 \end_layout
11153
11154 \end_inset
11155 </cell>
11156 </row>
11157 </lyxtabular>
11158
11159 \end_inset
11160
11161
11162 \end_layout
11163
11164 \begin_layout Section
11165 Multiple Lines Columns and Rows
11166 \end_layout
11167
11168 \begin_layout Subsection
11169 Multiple Lines in Table Cells
11170 \begin_inset CommandInset label
11171 LatexCommand label
11172 name "sub:Multiple-Lines-in"
11173
11174 \end_inset
11175
11176
11177 \begin_inset Index idx
11178 status collapsed
11179
11180 \begin_layout Plain Layout
11181 Multiple Lines in Table Cells
11182 \end_layout
11183
11184 \end_inset
11185
11186
11187 \begin_inset Index idx
11188 status collapsed
11189
11190 \begin_layout Plain Layout
11191 Table ! Linebreaks
11192 \end_layout
11193
11194 \end_inset
11195
11196
11197 \end_layout
11198
11199 \begin_layout Standard
11200 \noindent
11201 \begin_inset Float table
11202 placement H
11203 wide false
11204 sideways false
11205 status open
11206
11207 \begin_layout Plain Layout
11208 \begin_inset Caption
11209
11210 \begin_layout Plain Layout
11211 \begin_inset CommandInset label
11212 LatexCommand label
11213 name "tab:Table-with-multiple"
11214
11215 \end_inset
11216
11217 Table with multiple lines in cells
11218 \end_layout
11219
11220 \end_inset
11221
11222
11223 \end_layout
11224
11225 \begin_layout Plain Layout
11226 \align center
11227 \begin_inset Tabular
11228 <lyxtabular version="3" rows="3" columns="3">
11229 <features tabularvalignment="middle">
11230 <column alignment="center" valignment="middle" width="2.5cm">
11231 <column alignment="center" valignment="middle" width="0">
11232 <column alignment="center" valignment="middle" width="0">
11233 <row>
11234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11235 \begin_inset Text
11236
11237 \begin_layout Plain Layout
11238 multiple
11239 \begin_inset Newline linebreak
11240 \end_inset
11241
11242 lines
11243 \end_layout
11244
11245 \end_inset
11246 </cell>
11247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11248 \begin_inset Text
11249
11250 \begin_layout Plain Layout
11251 b
11252 \end_layout
11253
11254 \end_inset
11255 </cell>
11256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11257 \begin_inset Text
11258
11259 \begin_layout Plain Layout
11260 c
11261 \end_layout
11262
11263 \end_inset
11264 </cell>
11265 </row>
11266 <row>
11267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11268 \begin_inset Text
11269
11270 \begin_layout Plain Layout
11271 d
11272 \end_layout
11273
11274 \end_inset
11275 </cell>
11276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11277 \begin_inset Text
11278
11279 \begin_layout Plain Layout
11280 e
11281 \end_layout
11282
11283 \end_inset
11284 </cell>
11285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11286 \begin_inset Text
11287
11288 \begin_layout Plain Layout
11289 f
11290 \end_layout
11291
11292 \end_inset
11293 </cell>
11294 </row>
11295 <row>
11296 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11297 \begin_inset Text
11298
11299 \begin_layout Plain Layout
11300 g
11301 \end_layout
11302
11303 \end_inset
11304 </cell>
11305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11306 \begin_inset Text
11307
11308 \begin_layout Plain Layout
11309 h
11310 \end_layout
11311
11312 \end_inset
11313 </cell>
11314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11315 \begin_inset Text
11316
11317 \begin_layout Plain Layout
11318 i
11319 \end_layout
11320
11321 \end_inset
11322 </cell>
11323 </row>
11324 </lyxtabular>
11325
11326 \end_inset
11327
11328
11329 \end_layout
11330
11331 \end_inset
11332
11333
11334 \end_layout
11335
11336 \begin_layout Standard
11337 Setting a fixed width for a column enables you to enter text as a paragraph
11338  with multiple lines and hyphenation.
11339 \end_layout
11340
11341 \begin_layout Standard
11342 To produce Table
11343 \begin_inset space ~
11344 \end_inset
11345
11346
11347 \begin_inset CommandInset ref
11348 LatexCommand ref
11349 reference "tab:Table-with-multiple"
11350
11351 \end_inset
11352
11353 , create a 3×3 table, mark the first cell and right-click on it.
11354  In the appearing table dialog we set a cell width of 2.5
11355 \begin_inset space \thinspace{}
11356 \end_inset
11357
11358 cm and choose centered for the vertical and horizontal alignment.
11359  The vertical alignment is used for all cells of the row.
11360  As our text is smaller than 2.5
11361 \begin_inset space \thinspace{}
11362 \end_inset
11363
11364 cm, only one line will appear.
11365  To get two lines, a justified line break (shortcut 
11366 \begin_inset Info
11367 type  "shortcut"
11368 arg   "newline-insert linebreak"
11369 \end_inset
11370
11371 ) was added.
11372  If the text is wider than the set cell width, it will automatically be
11373  broken to several lines.
11374 \end_layout
11375
11376 \begin_layout Standard
11377 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11378  by LaTeX if it is the first entry.
11379  Therefore you need to insert something to prevent the word not being the
11380  first entry.
11381  So add a horizontal space of 0
11382 \begin_inset space \thinspace{}
11383 \end_inset
11384
11385 pt before the word.
11386  As the space is zero, it doesn't change the output.
11387  Table
11388 \begin_inset space ~
11389 \end_inset
11390
11391
11392 \begin_inset CommandInset ref
11393 LatexCommand ref
11394 reference "tab:Table-with-and"
11395
11396 \end_inset
11397
11398  shows the effect.
11399 \end_layout
11400
11401 \begin_layout Standard
11402 \begin_inset Float table
11403 placement h
11404 wide false
11405 sideways false
11406 status open
11407
11408 \begin_layout Plain Layout
11409 \begin_inset Caption
11410
11411 \begin_layout Plain Layout
11412 \begin_inset CommandInset label
11413 LatexCommand label
11414 name "tab:Table-with-and"
11415
11416 \end_inset
11417
11418 Table with and without hyphenation
11419 \end_layout
11420
11421 \end_inset
11422
11423
11424 \end_layout
11425
11426 \begin_layout Plain Layout
11427 \begin_inset space \hfill{}
11428 \end_inset
11429
11430
11431 \begin_inset Tabular
11432 <lyxtabular version="3" rows="3" columns="3">
11433 <features tabularvalignment="middle">
11434 <column alignment="center" valignment="middle" width="2.5cm">
11435 <column alignment="center" valignment="middle" width="0">
11436 <column alignment="center" valignment="middle" width="0">
11437 <row>
11438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11439 \begin_inset Text
11440
11441 \begin_layout Plain Layout
11442 verylongtablecellword
11443 \end_layout
11444
11445 \end_inset
11446 </cell>
11447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11448 \begin_inset Text
11449
11450 \begin_layout Plain Layout
11451 b
11452 \end_layout
11453
11454 \end_inset
11455 </cell>
11456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11457 \begin_inset Text
11458
11459 \begin_layout Plain Layout
11460 c
11461 \end_layout
11462
11463 \end_inset
11464 </cell>
11465 </row>
11466 <row>
11467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11468 \begin_inset Text
11469
11470 \begin_layout Plain Layout
11471 d
11472 \end_layout
11473
11474 \end_inset
11475 </cell>
11476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11477 \begin_inset Text
11478
11479 \begin_layout Plain Layout
11480 e
11481 \end_layout
11482
11483 \end_inset
11484 </cell>
11485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11486 \begin_inset Text
11487
11488 \begin_layout Plain Layout
11489 f
11490 \end_layout
11491
11492 \end_inset
11493 </cell>
11494 </row>
11495 <row>
11496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11497 \begin_inset Text
11498
11499 \begin_layout Plain Layout
11500 g
11501 \end_layout
11502
11503 \end_inset
11504 </cell>
11505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11506 \begin_inset Text
11507
11508 \begin_layout Plain Layout
11509 h
11510 \end_layout
11511
11512 \end_inset
11513 </cell>
11514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11515 \begin_inset Text
11516
11517 \begin_layout Plain Layout
11518 i
11519 \end_layout
11520
11521 \end_inset
11522 </cell>
11523 </row>
11524 </lyxtabular>
11525
11526 \end_inset
11527
11528
11529 \begin_inset space \hfill{}
11530 \end_inset
11531
11532
11533 \begin_inset Tabular
11534 <lyxtabular version="3" rows="3" columns="3">
11535 <features tabularvalignment="middle">
11536 <column alignment="center" valignment="middle" width="2.5cm">
11537 <column alignment="center" valignment="middle" width="0">
11538 <column alignment="center" valignment="middle" width="0">
11539 <row>
11540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11541 \begin_inset Text
11542
11543 \begin_layout Plain Layout
11544 \begin_inset space \hspace{}
11545 \length 0pt
11546 \end_inset
11547
11548 verylongtablecellword
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11554 \begin_inset Text
11555
11556 \begin_layout Plain Layout
11557 b
11558 \end_layout
11559
11560 \end_inset
11561 </cell>
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11563 \begin_inset Text
11564
11565 \begin_layout Plain Layout
11566 c
11567 \end_layout
11568
11569 \end_inset
11570 </cell>
11571 </row>
11572 <row>
11573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11574 \begin_inset Text
11575
11576 \begin_layout Plain Layout
11577 d
11578 \end_layout
11579
11580 \end_inset
11581 </cell>
11582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11583 \begin_inset Text
11584
11585 \begin_layout Plain Layout
11586 e
11587 \end_layout
11588
11589 \end_inset
11590 </cell>
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11592 \begin_inset Text
11593
11594 \begin_layout Plain Layout
11595 f
11596 \end_layout
11597
11598 \end_inset
11599 </cell>
11600 </row>
11601 <row>
11602 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11603 \begin_inset Text
11604
11605 \begin_layout Plain Layout
11606 g
11607 \end_layout
11608
11609 \end_inset
11610 </cell>
11611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11612 \begin_inset Text
11613
11614 \begin_layout Plain Layout
11615 h
11616 \end_layout
11617
11618 \end_inset
11619 </cell>
11620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11621 \begin_inset Text
11622
11623 \begin_layout Plain Layout
11624 i
11625 \end_layout
11626
11627 \end_inset
11628 </cell>
11629 </row>
11630 </lyxtabular>
11631
11632 \end_inset
11633
11634
11635 \begin_inset space \hfill{}
11636 \end_inset
11637
11638
11639 \end_layout
11640
11641 \end_inset
11642
11643
11644 \end_layout
11645
11646 \begin_layout Subsection
11647 Multicolumns
11648 \begin_inset CommandInset label
11649 LatexCommand label
11650 name "sub:Multicolumns"
11651
11652 \end_inset
11653
11654
11655 \begin_inset Index idx
11656 status collapsed
11657
11658 \begin_layout Plain Layout
11659 Multicolumns
11660 \end_layout
11661
11662 \end_inset
11663
11664
11665 \begin_inset Index idx
11666 status collapsed
11667
11668 \begin_layout Plain Layout
11669 Table ! Multicolumns
11670 \end_layout
11671
11672 \end_inset
11673
11674
11675 \end_layout
11676
11677 \begin_layout Subsubsection
11678 Multicolumn Basics
11679 \end_layout
11680
11681 \begin_layout Standard
11682 To merge cells over multiple columns, select as many cells within a row
11683  as you want to merge and use either the table-toolbar button 
11684 \begin_inset Graphics
11685         filename ../images/tabular-feature_multicolumn.png
11686         scale 85
11687         scaleBeforeRotation
11688
11689 \end_inset
11690
11691 , or the menu 
11692 \family sans
11693 Edit\SpecialChar \menuseparator
11694 Table\SpecialChar \menuseparator
11695 Multicolumn
11696 \family default
11697 , or right click on the marked cells and choose 
11698 \family sans
11699 Multicolumn
11700 \family default
11701  in the context menu.
11702 \end_layout
11703
11704 \begin_layout Standard
11705 Multicolumns have there own cell settings.
11706  That means changing cell borders, cell alignment, and the width only affects
11707  the multicolumn.
11708  Here is an example table with a multicolumn cell in the first row and one
11709  in the last row without the upper border:
11710 \end_layout
11711
11712 \begin_layout Standard
11713 \align center
11714 \begin_inset Tabular
11715 <lyxtabular version="3" rows="3" columns="4">
11716 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11717 <column alignment="center" valignment="top" width="0pt">
11718 <column alignment="center" valignment="middle" width="0">
11719 <column alignment="center" valignment="top" width="0in">
11720 <column alignment="center" valignment="top" width="0pt">
11721 <row>
11722 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11723 \begin_inset Text
11724
11725 \begin_layout Plain Layout
11726 abc
11727 \end_layout
11728
11729 \end_inset
11730 </cell>
11731 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11732 \begin_inset Text
11733
11734 \begin_layout Plain Layout
11735 def ghi
11736 \end_layout
11737
11738 \end_inset
11739 </cell>
11740 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11741 \begin_inset Text
11742
11743 \begin_layout Plain Layout
11744
11745 \end_layout
11746
11747 \end_inset
11748 </cell>
11749 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11750 \begin_inset Text
11751
11752 \begin_layout Plain Layout
11753 jkl
11754 \end_layout
11755
11756 \end_inset
11757 </cell>
11758 </row>
11759 <row>
11760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11761 \begin_inset Text
11762
11763 \begin_layout Plain Layout
11764
11765 \family roman
11766 \series medium
11767 \shape up
11768 \size normal
11769 \emph off
11770 \bar no
11771 \noun off
11772 \color none
11773 A
11774 \end_layout
11775
11776 \end_inset
11777 </cell>
11778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11779 \begin_inset Text
11780
11781 \begin_layout Plain Layout
11782 B
11783 \end_layout
11784
11785 \end_inset
11786 </cell>
11787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11788 \begin_inset Text
11789
11790 \begin_layout Plain Layout
11791 C
11792 \end_layout
11793
11794 \end_inset
11795 </cell>
11796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11797 \begin_inset Text
11798
11799 \begin_layout Plain Layout
11800 D
11801 \end_layout
11802
11803 \end_inset
11804 </cell>
11805 </row>
11806 <row>
11807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11808 \begin_inset Text
11809
11810 \begin_layout Plain Layout
11811 1
11812 \end_layout
11813
11814 \end_inset
11815 </cell>
11816 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11817 \begin_inset Text
11818
11819 \begin_layout Plain Layout
11820 2
11821 \end_layout
11822
11823 \end_inset
11824 </cell>
11825 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11826 \begin_inset Text
11827
11828 \begin_layout Plain Layout
11829 3
11830 \end_layout
11831
11832 \end_inset
11833 </cell>
11834 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11835 \begin_inset Text
11836
11837 \begin_layout Plain Layout
11838 4
11839 \end_layout
11840
11841 \end_inset
11842 </cell>
11843 </row>
11844 </lyxtabular>
11845
11846 \end_inset
11847
11848
11849 \end_layout
11850
11851 \begin_layout Subsubsection
11852 Multicolumn Calculations
11853 \begin_inset CommandInset label
11854 LatexCommand label
11855 name "sub:Multicolumn-Calculations"
11856
11857 \end_inset
11858
11859
11860 \begin_inset Index idx
11861 status collapsed
11862
11863 \begin_layout Plain Layout
11864 Multicolumns ! Calculations
11865 \end_layout
11866
11867 \end_inset
11868
11869
11870 \end_layout
11871
11872 \begin_layout Standard
11873 LyX supports multicolumns directly, but we have to take account of the cell
11874  width of the columns spanned by the multicolumn cell.
11875 \end_layout
11876
11877 \begin_layout Standard
11878 \begin_inset Float table
11879 placement h
11880 wide false
11881 sideways false
11882 status open
11883
11884 \begin_layout Plain Layout
11885 \begin_inset Caption
11886
11887 \begin_layout Plain Layout
11888 \begin_inset CommandInset label
11889 LatexCommand label
11890 name "tab:Table-with-centered"
11891
11892 \end_inset
11893
11894 Table with centered multicolumn text above two columns that have exactly
11895  half the width of the multicolumn cell
11896 \begin_inset Argument
11897 status collapsed
11898
11899 \begin_layout Plain Layout
11900 Perfect multicolumn table
11901 \end_layout
11902
11903 \end_inset
11904
11905
11906 \end_layout
11907
11908 \end_inset
11909
11910
11911 \end_layout
11912
11913 \begin_layout Plain Layout
11914 \align center
11915 \begin_inset Tabular
11916 <lyxtabular version="3" rows="3" columns="3">
11917 <features tabularvalignment="middle">
11918 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11919 <column alignment="center" valignment="middle" width="0">
11920 <column alignment="center" valignment="top" width="0">
11921 <row>
11922 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11923 \begin_inset Text
11924
11925 \begin_layout Plain Layout
11926 multiple lines multicolumn
11927 \end_layout
11928
11929 \end_inset
11930 </cell>
11931 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11932 \begin_inset Text
11933
11934 \begin_layout Plain Layout
11935
11936 \end_layout
11937
11938 \end_inset
11939 </cell>
11940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11941 \begin_inset Text
11942
11943 \begin_layout Plain Layout
11944 c
11945 \end_layout
11946
11947 \end_inset
11948 </cell>
11949 </row>
11950 <row>
11951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11952 \begin_inset Text
11953
11954 \begin_layout Plain Layout
11955 d
11956 \end_layout
11957
11958 \end_inset
11959 </cell>
11960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11961 \begin_inset Text
11962
11963 \begin_layout Plain Layout
11964 e
11965 \end_layout
11966
11967 \end_inset
11968 </cell>
11969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11970 \begin_inset Text
11971
11972 \begin_layout Plain Layout
11973 f
11974 \end_layout
11975
11976 \end_inset
11977 </cell>
11978 </row>
11979 <row>
11980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11981 \begin_inset Text
11982
11983 \begin_layout Plain Layout
11984 g
11985 \end_layout
11986
11987 \end_inset
11988 </cell>
11989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11990 \begin_inset Text
11991
11992 \begin_layout Plain Layout
11993 h
11994 \end_layout
11995
11996 \end_inset
11997 </cell>
11998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11999 \begin_inset Text
12000
12001 \begin_layout Plain Layout
12002 i
12003 \end_layout
12004
12005 \end_inset
12006 </cell>
12007 </row>
12008 </lyxtabular>
12009
12010 \end_inset
12011
12012
12013 \end_layout
12014
12015 \end_inset
12016
12017
12018 \end_layout
12019
12020 \begin_layout Standard
12021 To create for example Table
12022 \begin_inset space ~
12023 \end_inset
12024
12025
12026 \begin_inset CommandInset ref
12027 LatexCommand ref
12028 reference "tab:Table-with-centered"
12029
12030 \end_inset
12031
12032 , mark the first two cells in the first row of a 3×3 table and right-click
12033  on them.
12034  Now choose for this cell 
12035 \emph on
12036 multicolumn
12037 \emph default
12038
12039 \emph on
12040 centered alignment
12041 \emph default
12042  and a width of 2.5
12043 \begin_inset space \thinspace{}
12044 \end_inset
12045
12046 cm in the table dialog.
12047  The merged columns should have exactly half the width of the multicolumn
12048  cell, so that you would set a width of 1.25
12049 \begin_inset space \thinspace{}
12050 \end_inset
12051
12052 cm for the first column.
12053  The second column has then automatically a width of 1.25
12054 \begin_inset space \thinspace{}
12055 \end_inset
12056
12057 cm (multicolumn width - width of first column).
12058  This was done for Table
12059 \begin_inset space ~
12060 \end_inset
12061
12062
12063 \begin_inset CommandInset ref
12064 LatexCommand ref
12065 reference "tab:Table-without-half"
12066
12067 \end_inset
12068
12069 .
12070 \end_layout
12071
12072 \begin_layout Standard
12073 \begin_inset Float table
12074 wide false
12075 sideways false
12076 status open
12077
12078 \begin_layout Plain Layout
12079 \begin_inset Caption
12080
12081 \begin_layout Plain Layout
12082 \begin_inset CommandInset label
12083 LatexCommand label
12084 name "tab:Table-without-half"
12085
12086 \end_inset
12087
12088 Table where the spanned table columns are not exactly half the width of
12089  the multicolumn cell
12090 \begin_inset Argument
12091 status collapsed
12092
12093 \begin_layout Plain Layout
12094 Imperfect multicolumn table
12095 \end_layout
12096
12097 \end_inset
12098
12099
12100 \end_layout
12101
12102 \end_inset
12103
12104
12105 \end_layout
12106
12107 \begin_layout Plain Layout
12108 \align center
12109 \begin_inset Tabular
12110 <lyxtabular version="3" rows="3" columns="3">
12111 <features tabularvalignment="middle">
12112 <column alignment="center" valignment="top" width="1.25cm">
12113 <column alignment="center" valignment="top" width="0">
12114 <column alignment="center" valignment="top" width="0">
12115 <row>
12116 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12117 \begin_inset Text
12118
12119 \begin_layout Plain Layout
12120 multiple lines multicolumn
12121 \end_layout
12122
12123 \end_inset
12124 </cell>
12125 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12126 \begin_inset Text
12127
12128 \begin_layout Plain Layout
12129
12130 \end_layout
12131
12132 \end_inset
12133 </cell>
12134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12135 \begin_inset Text
12136
12137 \begin_layout Plain Layout
12138 c
12139 \end_layout
12140
12141 \end_inset
12142 </cell>
12143 </row>
12144 <row>
12145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12146 \begin_inset Text
12147
12148 \begin_layout Plain Layout
12149 d
12150 \end_layout
12151
12152 \end_inset
12153 </cell>
12154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12155 \begin_inset Text
12156
12157 \begin_layout Plain Layout
12158 e
12159 \end_layout
12160
12161 \end_inset
12162 </cell>
12163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12164 \begin_inset Text
12165
12166 \begin_layout Plain Layout
12167 f
12168 \end_layout
12169
12170 \end_inset
12171 </cell>
12172 </row>
12173 <row>
12174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12175 \begin_inset Text
12176
12177 \begin_layout Plain Layout
12178 g
12179 \end_layout
12180
12181 \end_inset
12182 </cell>
12183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12184 \begin_inset Text
12185
12186 \begin_layout Plain Layout
12187 h
12188 \end_layout
12189
12190 \end_inset
12191 </cell>
12192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12193 \begin_inset Text
12194
12195 \begin_layout Plain Layout
12196 i
12197 \end_layout
12198
12199 \end_inset
12200 </cell>
12201 </row>
12202 </lyxtabular>
12203
12204 \end_inset
12205
12206
12207 \end_layout
12208
12209 \end_inset
12210
12211
12212 \end_layout
12213
12214 \begin_layout Standard
12215 You can see that the first column is not half the width of the multicolumn
12216  cell, it is a bit bigger.
12217  The reason is that the specified width of a cell 
12218 \begin_inset Formula $W_{g}$
12219 \end_inset
12220
12221  is not its total width 
12222 \begin_inset Formula $W_{\mathrm{tot}}$
12223 \end_inset
12224
12225  because a cell is always a bit larger than specified.
12226  Appendix
12227 \begin_inset space ~
12228 \end_inset
12229
12230
12231 \begin_inset CommandInset ref
12232 LatexCommand eqref
12233 reference "cha:Explanation-of-Equation"
12234
12235 \end_inset
12236
12237  explains this in detail.
12238 \end_layout
12239
12240 \begin_layout Standard
12241 The width 
12242 \begin_inset Formula $W_{g\, n}$
12243 \end_inset
12244
12245  which the user needs to set when 
12246 \emph on
12247 n
12248 \emph default
12249  columns are spanned can be calculated, so that each column has a total
12250  width of 
12251 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
12252 \end_inset
12253
12254 :
12255 \begin_inset Formula 
12256 \begin{equation}
12257 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12258 \end{equation}
12259
12260 \end_inset
12261
12262
12263 \end_layout
12264
12265 \begin_layout Standard
12266 In our case we have 
12267 \begin_inset Formula $n=2$
12268 \end_inset
12269
12270
12271 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12272 \end_inset
12273
12274 cm and the default values for the lengths, so that equation 
12275 \begin_inset CommandInset ref
12276 LatexCommand ref
12277 reference "eq:Wgn"
12278
12279 \end_inset
12280
12281  becomes
12282 \begin_inset Formula 
12283 \begin{equation}
12284 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12285 \end{equation}
12286
12287 \end_inset
12288
12289
12290 \end_layout
12291
12292 \begin_layout Standard
12293 To enable calculations in LaTeX, the LaTeX-package 
12294 \series bold
12295 calc
12296 \series default
12297  must be loaded with the document preamble line
12298 \begin_inset Index idx
12299 status collapsed
12300
12301 \begin_layout Plain Layout
12302 LaTeX-packages ! calc
12303 \end_layout
12304
12305 \end_inset
12306
12307
12308 \end_layout
12309
12310 \begin_layout Standard
12311
12312 \series bold
12313
12314 \backslash
12315 usepackage{calc}
12316 \end_layout
12317
12318 \begin_layout Standard
12319 LyX does not allow you to calculate lengths in the 
12320 \family sans
12321 Width
12322 \family default
12323  field of the table dialog.
12324  Therefore you have to format the column by inserting a LaTeX-argument in
12325  the dialog.
12326  Here is an overview about the arguments:
12327 \end_layout
12328
12329 \begin_layout Itemize
12330
12331 \series bold
12332 p{width}
12333 \series default
12334  creates cell with a fixed width, its text is vertically top-aligned
12335 \end_layout
12336
12337 \begin_layout Itemize
12338
12339 \series bold
12340 m{width}
12341 \series default
12342  creates cell with a fixed width, its text is vertically centered
12343 \end_layout
12344
12345 \begin_layout Itemize
12346
12347 \series bold
12348 b{width}
12349 \series default
12350  creates cell with a fixed width, its text is vertically bottom-aligned
12351 \end_layout
12352
12353 \begin_layout Standard
12354 By entering a LaTeX-argument, all cell settings set in the table dialog
12355  are overwritten.
12356 \end_layout
12357
12358 \begin_layout Standard
12359 \begin_inset Note Greyedout
12360 status open
12361
12362 \begin_layout Plain Layout
12363
12364 \series bold
12365 Note:
12366 \series default
12367  Due to a bug, LyX shows the overwritten settings anyway.
12368 \end_layout
12369
12370 \end_inset
12371
12372
12373 \end_layout
12374
12375 \begin_layout Standard
12376 As the text should be horizontally centered, the command 
12377 \series bold
12378
12379 \backslash
12380 centering
12381 \series default
12382  is added.
12383  You can now enter the following LaTeX-argument for the first spanned column:
12384 \end_layout
12385
12386 \begin_layout Standard
12387
12388 \series bold
12389 >{
12390 \backslash
12391 centering}m{1.25cm-6.2pt}
12392 \end_layout
12393
12394 \begin_layout Standard
12395 The command 
12396 \series bold
12397 >{ }
12398 \series default
12399  means, that the commands inside the braces are applied before the cell
12400  is created.
12401 \end_layout
12402
12403 \begin_layout Standard
12404 Although we have chosen centered alignment for the text of the multicolumn
12405  cell, it is still left aligned.
12406  This is because LyX only applies the alignment to single columns.
12407  So for the multicolumn cell we have to use the LaTeX-argument
12408 \end_layout
12409
12410 \begin_layout Standard
12411
12412 \series bold
12413 >{
12414 \backslash
12415 centering}m{2.5cm}
12416 \end_layout
12417
12418 \begin_layout Subsection
12419 Multirows
12420 \begin_inset CommandInset label
12421 LatexCommand label
12422 name "sub:Multirows"
12423
12424 \end_inset
12425
12426
12427 \begin_inset Index idx
12428 status collapsed
12429
12430 \begin_layout Plain Layout
12431 Multirows
12432 \end_layout
12433
12434 \end_inset
12435
12436
12437 \begin_inset Index idx
12438 status collapsed
12439
12440 \begin_layout Plain Layout
12441 Table ! Multirows
12442 \end_layout
12443
12444 \end_inset
12445
12446
12447 \end_layout
12448
12449 \begin_layout Standard
12450 To merge cells over multiple rows, select as many cells within a column
12451  as you want to merge and use either the table-toolbar button 
12452 \begin_inset Graphics
12453         filename ../images/tabular-feature_multirow.png
12454         scale 85
12455         scaleBeforeRotation
12456
12457 \end_inset
12458
12459 , or the menu 
12460 \family sans
12461 Edit\SpecialChar \menuseparator
12462 Table\SpecialChar \menuseparator
12463 Multirow
12464 \family default
12465 , or right click on the marked cells and choose 
12466 \family sans
12467 Multirow
12468 \family default
12469  in the context menu.
12470 \end_layout
12471
12472 \begin_layout Standard
12473 Here is an example table with a multirow in the first column:
12474 \end_layout
12475
12476 \begin_layout Standard
12477 \align center
12478 \begin_inset Tabular
12479 <lyxtabular version="3" rows="3" columns="3">
12480 <features tabularvalignment="middle">
12481 <column alignment="center" valignment="top" width="0pt">
12482 <column alignment="center" valignment="top" width="0">
12483 <column alignment="center" valignment="top" width="0">
12484 <row>
12485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12486 \begin_inset Text
12487
12488 \begin_layout Plain Layout
12489 a long cell entry
12490 \end_layout
12491
12492 \end_inset
12493 </cell>
12494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12495 \begin_inset Text
12496
12497 \begin_layout Plain Layout
12498 b
12499 \end_layout
12500
12501 \end_inset
12502 </cell>
12503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12504 \begin_inset Text
12505
12506 \begin_layout Plain Layout
12507 c
12508 \end_layout
12509
12510 \end_inset
12511 </cell>
12512 </row>
12513 <row>
12514 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12515 \begin_inset Text
12516
12517 \begin_layout Plain Layout
12518 multirow
12519 \end_layout
12520
12521 \end_inset
12522 </cell>
12523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12524 \begin_inset Text
12525
12526 \begin_layout Plain Layout
12527 e
12528 \end_layout
12529
12530 \end_inset
12531 </cell>
12532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12533 \begin_inset Text
12534
12535 \begin_layout Plain Layout
12536 f
12537 \end_layout
12538
12539 \end_inset
12540 </cell>
12541 </row>
12542 <row>
12543 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12544 \begin_inset Text
12545
12546 \begin_layout Plain Layout
12547
12548 \end_layout
12549
12550 \end_inset
12551 </cell>
12552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12553 \begin_inset Text
12554
12555 \begin_layout Plain Layout
12556 h
12557 \end_layout
12558
12559 \end_inset
12560 </cell>
12561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12562 \begin_inset Text
12563
12564 \begin_layout Plain Layout
12565 i
12566 \end_layout
12567
12568 \end_inset
12569 </cell>
12570 </row>
12571 </lyxtabular>
12572
12573 \end_inset
12574
12575
12576 \end_layout
12577
12578 \begin_layout Standard
12579 The width of multirow cells is set by setting the width and alignment for
12580  the whole column.
12581  The 
12582 \family sans
12583 Vertical Offset
12584 \family default
12585  shifts the content of the multirow up/down if the offset is positive/negative.
12586 \end_layout
12587
12588 \begin_layout Standard
12589 If the column of a multirow cell has no explicit width, the multirow cell
12590  inherits the alignment of the column.
12591  Otherwise it is by default left-aligned.
12592  To override the default, renew the command 
12593 \series bold
12594
12595 \backslash
12596 multirowsetup
12597 \series default
12598  with the command
12599 \end_layout
12600
12601 \begin_layout Standard
12602
12603 \series bold
12604
12605 \backslash
12606 renewcommand{
12607 \backslash
12608 multirowsetup}{
12609 \backslash
12610 centering}
12611 \end_layout
12612
12613 \begin_layout Standard
12614 in the document preamble.
12615  Then all entries of multirow cells in the document are centered.
12616  If centering is only needed for several tables, you can renew the command
12617  in a TeX-Code box just before the table instead of the preamble.
12618  If the text should be right-aligned, replace 
12619 \series bold
12620
12621 \backslash
12622 centering
12623 \series default
12624  by 
12625 \series bold
12626
12627 \backslash
12628 raggedleft
12629 \series default
12630 .
12631  To return to left-alignment 
12632 \series bold
12633
12634 \backslash
12635 raggedright
12636 \series default
12637  is used.
12638 \end_layout
12639
12640 \begin_layout Standard
12641 This is an example table with a right-aligned multirow cell that has a vertical
12642  offset of -4
12643 \begin_inset space \thinspace{}
12644 \end_inset
12645
12646 mm and is in a 3
12647 \begin_inset space \thinspace{}
12648 \end_inset
12649
12650 cm wide column:
12651 \end_layout
12652
12653 \begin_layout Standard
12654 \noindent
12655 \align center
12656 \begin_inset ERT
12657 status collapsed
12658
12659 \begin_layout Plain Layout
12660
12661
12662 \backslash
12663 renewcommand{
12664 \backslash
12665 multirowsetup}{
12666 \backslash
12667 raggedleft}
12668 \end_layout
12669
12670 \end_inset
12671
12672
12673 \begin_inset Tabular
12674 <lyxtabular version="3" rows="4" columns="3">
12675 <features tabularvalignment="middle">
12676 <column alignment="center" valignment="top" width="3cm">
12677 <column alignment="center" valignment="top" width="0">
12678 <column alignment="center" valignment="top" width="0">
12679 <row>
12680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12681 \begin_inset Text
12682
12683 \begin_layout Plain Layout
12684 a long cell entry
12685 \end_layout
12686
12687 \end_inset
12688 </cell>
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Plain Layout
12693 b
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12699 \begin_inset Text
12700
12701 \begin_layout Plain Layout
12702 c
12703 \end_layout
12704
12705 \end_inset
12706 </cell>
12707 </row>
12708 <row>
12709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12710 \begin_inset Text
12711
12712 \begin_layout Plain Layout
12713 t
12714 \end_layout
12715
12716 \end_inset
12717 </cell>
12718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Plain Layout
12722 n
12723 \end_layout
12724
12725 \end_inset
12726 </cell>
12727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12728 \begin_inset Text
12729
12730 \begin_layout Plain Layout
12731 m
12732 \end_layout
12733
12734 \end_inset
12735 </cell>
12736 </row>
12737 <row>
12738 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12739 \begin_inset Text
12740
12741 \begin_layout Plain Layout
12742 multirow
12743 \end_layout
12744
12745 \end_inset
12746 </cell>
12747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12748 \begin_inset Text
12749
12750 \begin_layout Plain Layout
12751 e
12752 \end_layout
12753
12754 \end_inset
12755 </cell>
12756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12757 \begin_inset Text
12758
12759 \begin_layout Plain Layout
12760 f
12761 \end_layout
12762
12763 \end_inset
12764 </cell>
12765 </row>
12766 <row>
12767 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12768 \begin_inset Text
12769
12770 \begin_layout Plain Layout
12771
12772 \end_layout
12773
12774 \end_inset
12775 </cell>
12776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12777 \begin_inset Text
12778
12779 \begin_layout Plain Layout
12780 h
12781 \end_layout
12782
12783 \end_inset
12784 </cell>
12785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12786 \begin_inset Text
12787
12788 \begin_layout Plain Layout
12789 i
12790 \end_layout
12791
12792 \end_inset
12793 </cell>
12794 </row>
12795 </lyxtabular>
12796
12797 \end_inset
12798
12799
12800 \begin_inset ERT
12801 status collapsed
12802
12803 \begin_layout Plain Layout
12804
12805
12806 \backslash
12807 renewcommand{
12808 \backslash
12809 multirowsetup}{
12810 \backslash
12811 raggedright}
12812 \end_layout
12813
12814 \end_inset
12815
12816
12817 \end_layout
12818
12819 \begin_layout Standard
12820 To start a new line in a multirow you can use a forced line break (shortcut
12821  
12822 \begin_inset Info
12823 type  "shortcut"
12824 arg   "newline-insert newline"
12825 \end_inset
12826
12827 ) but this will not respect the cell lines as demonstrated in this table:
12828 \end_layout
12829
12830 \begin_layout Standard
12831 \noindent
12832 \align center
12833 \begin_inset Tabular
12834 <lyxtabular version="3" rows="3" columns="2">
12835 <features tabularvalignment="middle">
12836 <column alignment="left" valignment="middle" width="2cm">
12837 <column alignment="center" valignment="top" width="0">
12838 <row>
12839 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12840 \begin_inset Text
12841
12842 \begin_layout Plain Layout
12843 aaa
12844 \begin_inset Newline newline
12845 \end_inset
12846
12847 aaa
12848 \begin_inset Newline newline
12849 \end_inset
12850
12851 wrong cell
12852 \end_layout
12853
12854 \end_inset
12855 </cell>
12856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12857 \begin_inset Text
12858
12859 \begin_layout Plain Layout
12860 ccc
12861 \end_layout
12862
12863 \end_inset
12864 </cell>
12865 </row>
12866 <row>
12867 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12868 \begin_inset Text
12869
12870 \begin_layout Plain Layout
12871
12872 \end_layout
12873
12874 \end_inset
12875 </cell>
12876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12877 \begin_inset Text
12878
12879 \begin_layout Plain Layout
12880 ddd
12881 \end_layout
12882
12883 \end_inset
12884 </cell>
12885 </row>
12886 <row>
12887 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12888 \begin_inset Text
12889
12890 \begin_layout Plain Layout
12891 bbb
12892 \end_layout
12893
12894 \end_inset
12895 </cell>
12896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12897 \begin_inset Text
12898
12899 \begin_layout Plain Layout
12900 eee
12901 \end_layout
12902
12903 \end_inset
12904 </cell>
12905 </row>
12906 </lyxtabular>
12907
12908 \end_inset
12909
12910
12911 \end_layout
12912
12913 \begin_layout Standard
12914 Therefore be careful with forced line breaks.
12915 \end_layout
12916
12917 \begin_layout Section
12918 Formal Tables
12919 \begin_inset CommandInset label
12920 LatexCommand label
12921 name "sec:Formal-Tables"
12922
12923 \end_inset
12924
12925
12926 \begin_inset Index idx
12927 status collapsed
12928
12929 \begin_layout Plain Layout
12930 Table ! Formal
12931 \end_layout
12932
12933 \end_inset
12934
12935
12936 \end_layout
12937
12938 \begin_layout Standard
12939 Tables are often typeset in books similar to Table
12940 \begin_inset space ~
12941 \end_inset
12942
12943
12944 \begin_inset CommandInset ref
12945 LatexCommand ref
12946 reference "tab:Example-booktabs-table"
12947
12948 \end_inset
12949
12950 .
12951  This kind of tables is called 
12952 \begin_inset Quotes eld
12953 \end_inset
12954
12955
12956 \emph on
12957 formal
12958 \emph default
12959
12960 \begin_inset Quotes erd
12961 \end_inset
12962
12963 .
12964  To make a table a formal table use the option 
12965 \family sans
12966 Formal
12967 \family default
12968  in the 
12969 \family sans
12970 Borders
12971 \family default
12972  tab of the table dialog.
12973 \end_layout
12974
12975 \begin_layout Standard
12976 \begin_inset Float table
12977 placement h
12978 wide false
12979 sideways false
12980 status open
12981
12982 \begin_layout Plain Layout
12983 \begin_inset Caption
12984
12985 \begin_layout Plain Layout
12986 \begin_inset CommandInset label
12987 LatexCommand label
12988 name "tab:Example-booktabs-table"
12989
12990 \end_inset
12991
12992 Example booktabs-table
12993 \end_layout
12994
12995 \end_inset
12996
12997
12998 \end_layout
12999
13000 \begin_layout Plain Layout
13001 \align center
13002 \begin_inset Tabular
13003 <lyxtabular version="3" rows="8" columns="4">
13004 <features booktabs="true" tabularvalignment="middle">
13005 <column alignment="center" valignment="top" width="0">
13006 <column alignment="center" valignment="top" width="0">
13007 <column alignment="center" valignment="top" width="0">
13008 <column alignment="center" valignment="top" width="0">
13009 <row>
13010 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13011 \begin_inset Text
13012
13013 \begin_layout Plain Layout
13014 System
13015 \end_layout
13016
13017 \end_inset
13018 </cell>
13019 <cell alignment="center" valignment="top" topline="true" usebox="none">
13020 \begin_inset Text
13021
13022 \begin_layout Plain Layout
13023 Chip
13024 \begin_inset space \thinspace{}
13025 \end_inset
13026
13027 1
13028 \end_layout
13029
13030 \end_inset
13031 </cell>
13032 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13033 \begin_inset Text
13034
13035 \begin_layout Plain Layout
13036 Chip
13037 \begin_inset space \thinspace{}
13038 \end_inset
13039
13040 2
13041 \end_layout
13042
13043 \end_inset
13044 </cell>
13045 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13046 \begin_inset Text
13047
13048 \begin_layout Plain Layout
13049
13050 \end_layout
13051
13052 \end_inset
13053 </cell>
13054 </row>
13055 <row>
13056 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13057 \begin_inset Text
13058
13059 \begin_layout Plain Layout
13060 \begin_inset ERT
13061 status collapsed
13062
13063 \begin_layout Plain Layout
13064
13065
13066 \backslash
13067 cmidrule(r){2-2}
13068 \end_layout
13069
13070 \end_inset
13071
13072
13073 \begin_inset ERT
13074 status collapsed
13075
13076 \begin_layout Plain Layout
13077
13078
13079 \backslash
13080 cmidrule(l){3-4}
13081 \end_layout
13082
13083 \end_inset
13084
13085 Detector thickness in Âµm
13086 \end_layout
13087
13088 \end_inset
13089 </cell>
13090 <cell alignment="center" valignment="top" usebox="none">
13091 \begin_inset Text
13092
13093 \begin_layout Plain Layout
13094 300
13095 \end_layout
13096
13097 \end_inset
13098 </cell>
13099 <cell alignment="center" valignment="top" usebox="none">
13100 \begin_inset Text
13101
13102 \begin_layout Plain Layout
13103 300
13104 \end_layout
13105
13106 \end_inset
13107 </cell>
13108 <cell alignment="center" valignment="top" usebox="none">
13109 \begin_inset Text
13110
13111 \begin_layout Plain Layout
13112 700
13113 \end_layout
13114
13115 \end_inset
13116 </cell>
13117 </row>
13118 <row>
13119 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13120 \begin_inset Text
13121
13122 \begin_layout Plain Layout
13123 Edge angle in Â°
13124 \end_layout
13125
13126 \end_inset
13127 </cell>
13128 <cell alignment="center" valignment="top" topline="true" usebox="none">
13129 \begin_inset Text
13130
13131 \begin_layout Plain Layout
13132 3.55
13133 \end_layout
13134
13135 \end_inset
13136 </cell>
13137 <cell alignment="center" valignment="top" topline="true" usebox="none">
13138 \begin_inset Text
13139
13140 \begin_layout Plain Layout
13141 2.71
13142 \end_layout
13143
13144 \end_inset
13145 </cell>
13146 <cell alignment="center" valignment="top" topline="true" usebox="none">
13147 \begin_inset Text
13148
13149 \begin_layout Plain Layout
13150 7.99
13151 \end_layout
13152
13153 \end_inset
13154 </cell>
13155 </row>
13156 <row topspace="default">
13157 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13158 \begin_inset Text
13159
13160 \begin_layout Plain Layout
13161 Spatial resolution in Âµm
13162 \end_layout
13163
13164 \end_inset
13165 </cell>
13166 <cell alignment="center" valignment="top" usebox="none">
13167 \begin_inset Text
13168
13169 \begin_layout Plain Layout
13170 4.26
13171 \end_layout
13172
13173 \end_inset
13174 </cell>
13175 <cell alignment="center" valignment="top" usebox="none">
13176 \begin_inset Text
13177
13178 \begin_layout Plain Layout
13179 10.17
13180 \end_layout
13181
13182 \end_inset
13183 </cell>
13184 <cell alignment="center" valignment="top" usebox="none">
13185 \begin_inset Text
13186
13187 \begin_layout Plain Layout
13188 10.56
13189 \end_layout
13190
13191 \end_inset
13192 </cell>
13193 </row>
13194 <row topspace="default">
13195 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13196 \begin_inset Text
13197
13198 \begin_layout Plain Layout
13199 MTF at 
13200 \begin_inset Formula $f_{\mathrm{max}}$
13201 \end_inset
13202
13203
13204 \end_layout
13205
13206 \end_inset
13207 </cell>
13208 <cell alignment="center" valignment="top" usebox="none">
13209 \begin_inset Text
13210
13211 \begin_layout Plain Layout
13212 0.53
13213 \end_layout
13214
13215 \end_inset
13216 </cell>
13217 <cell alignment="center" valignment="top" usebox="none">
13218 \begin_inset Text
13219
13220 \begin_layout Plain Layout
13221 0.37
13222 \end_layout
13223
13224 \end_inset
13225 </cell>
13226 <cell alignment="center" valignment="top" usebox="none">
13227 \begin_inset Text
13228
13229 \begin_layout Plain Layout
13230 0.39
13231 \end_layout
13232
13233 \end_inset
13234 </cell>
13235 </row>
13236 <row topspace="default">
13237 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13238 \begin_inset Text
13239
13240 \begin_layout Plain Layout
13241 \begin_inset ERT
13242 status collapsed
13243
13244 \begin_layout Plain Layout
13245
13246
13247 \backslash
13248 cmidrule(l{10pt}){1-1}
13249 \end_layout
13250
13251 \end_inset
13252
13253 LSF-spatial resolution
13254 \end_layout
13255
13256 \end_inset
13257 </cell>
13258 <cell alignment="center" valignment="top" usebox="none">
13259 \begin_inset Text
13260
13261 \begin_layout Plain Layout
13262
13263 \end_layout
13264
13265 \end_inset
13266 </cell>
13267 <cell alignment="center" valignment="top" usebox="none">
13268 \begin_inset Text
13269
13270 \begin_layout Plain Layout
13271
13272 \end_layout
13273
13274 \end_inset
13275 </cell>
13276 <cell alignment="center" valignment="top" usebox="none">
13277 \begin_inset Text
13278
13279 \begin_layout Plain Layout
13280
13281 \end_layout
13282
13283 \end_inset
13284 </cell>
13285 </row>
13286 <row>
13287 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13288 \begin_inset Text
13289
13290 \begin_layout Plain Layout
13291 in Âµm
13292 \end_layout
13293
13294 \end_inset
13295 </cell>
13296 <cell alignment="center" valignment="top" usebox="none">
13297 \begin_inset Text
13298
13299 \begin_layout Plain Layout
13300 129.7
13301 \end_layout
13302
13303 \end_inset
13304 </cell>
13305 <cell alignment="center" valignment="top" usebox="none">
13306 \begin_inset Text
13307
13308 \begin_layout Plain Layout
13309 52.75
13310 \end_layout
13311
13312 \end_inset
13313 </cell>
13314 <cell alignment="center" valignment="top" usebox="none">
13315 \begin_inset Text
13316
13317 \begin_layout Plain Layout
13318 50.78
13319 \end_layout
13320
13321 \end_inset
13322 </cell>
13323 </row>
13324 <row>
13325 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
13326 \begin_inset Text
13327
13328 \begin_layout Plain Layout
13329 in % of pixel size
13330 \end_layout
13331
13332 \end_inset
13333 </cell>
13334 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13335 \begin_inset Text
13336
13337 \begin_layout Plain Layout
13338 76.3
13339 \end_layout
13340
13341 \end_inset
13342 </cell>
13343 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13344 \begin_inset Text
13345
13346 \begin_layout Plain Layout
13347 95.9
13348 \end_layout
13349
13350 \end_inset
13351 </cell>
13352 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13353 \begin_inset Text
13354
13355 \begin_layout Plain Layout
13356 92.3
13357 \end_layout
13358
13359 \end_inset
13360 </cell>
13361 </row>
13362 </lyxtabular>
13363
13364 \end_inset
13365
13366
13367 \end_layout
13368
13369 \end_inset
13370
13371
13372 \end_layout
13373
13374 \begin_layout Standard
13375 Spaces to table rows can be added using the 
13376 \family sans
13377 Borders
13378 \family default
13379  tab of the table dialog as described in section
13380 \begin_inset space ~
13381 \end_inset
13382
13383
13384 \begin_inset CommandInset ref
13385 LatexCommand ref
13386 reference "sub:Row-Spacing"
13387
13388 \end_inset
13389
13390 .
13391 \end_layout
13392
13393 \begin_layout Standard
13394 Unlike normal tables, formal tables have no vertical table lines.
13395  The horizontal table lines can be set as for normal tables but they appear
13396  with different widths in the output:
13397 \begin_inset Newline newline
13398 \end_inset
13399
13400 The first and the last table line have a default width of 0.08
13401 \begin_inset space \thinspace{}
13402 \end_inset
13403
13404 em while the other lines have a default width of 0.05
13405 \begin_inset space \thinspace{}
13406 \end_inset
13407
13408 em.
13409 \end_layout
13410
13411 \begin_layout Standard
13412 The default widths can be changed with the following preamble lines
13413 \end_layout
13414
13415 \begin_layout Standard
13416
13417 \series bold
13418
13419 \backslash
13420 let
13421 \backslash
13422 mytoprule
13423 \backslash
13424 toprule
13425 \begin_inset Newline newline
13426 \end_inset
13427
13428
13429 \backslash
13430 renewcommand{
13431 \backslash
13432 toprule}{
13433 \backslash
13434 mytoprule[width]}
13435 \end_layout
13436
13437 \begin_layout Standard
13438 This example is for the first line, the so called 
13439 \series bold
13440 toprule
13441 \series default
13442 .
13443  If you want to change the width for the last line, replace 
13444 \series bold
13445 toprule
13446 \series default
13447  by 
13448 \series bold
13449 bottomrule
13450 \series default
13451 .
13452  To change the width for the other lines replace 
13453 \series bold
13454 toprule
13455 \series default
13456  by 
13457 \series bold
13458 midrule
13459 \series default
13460 .
13461  You can use all units listed in appendix
13462 \begin_inset space ~
13463 \end_inset
13464
13465
13466 \begin_inset CommandInset ref
13467 LatexCommand ref
13468 reference "cha:Units-available-in"
13469
13470 \end_inset
13471
13472  to set the width.
13473 \end_layout
13474
13475 \begin_layout Standard
13476 Lines that do not span all table columns can be created by setting a table
13477  line for multicolumn cells.
13478  LyX will then internally use the command 
13479 \series bold
13480
13481 \backslash
13482 cmidrule
13483 \series default
13484  to create this line.
13485  Its full scheme is
13486 \end_layout
13487
13488 \begin_layout Standard
13489
13490 \series bold
13491
13492 \backslash
13493 cmidrule[width](trim){startcol-endcol}
13494 \end_layout
13495
13496 \begin_layout Standard
13497 The options of 
13498 \series bold
13499
13500 \backslash
13501 cmidrule
13502 \series default
13503  are currently not supported by LyX so you have to use TeX-Code to be able
13504  to use them.
13505  
13506 \series bold
13507
13508 \backslash
13509 cmidrule
13510 \series default
13511 s can manually be created by inserting the command as TeX-Code as the first
13512  cell entry of the first cell of a row.
13513  The line is then drawn in the output above the current row.
13514 \end_layout
13515
13516 \begin_layout Standard
13517 The default for the width is 0.03
13518 \begin_inset space \thinspace{}
13519 \end_inset
13520
13521 em.
13522  Startcol is the number of the column where the line starts and endcol the
13523  column number where the line ends.
13524  The endcol always needs to be specified, also when the line should span
13525  only one column.
13526  The optional parameter trim could be either 
13527 \emph on
13528 l{trimwidth}
13529 \emph default
13530 , or 
13531 \emph on
13532 r{trimwidth}
13533 \emph default
13534  where the trimwidth is also optional.
13535  Using for example the parameter 
13536 \emph on
13537 l{2pt}
13538 \emph default
13539  means that the line is trimmed from its left end by 2
13540 \begin_inset space \thinspace{}
13541 \end_inset
13542
13543 pt.
13544  If you don't specify the trimwidth the lines are trimmed by the default
13545  of 0.5
13546 \begin_inset space \thinspace{}
13547 \end_inset
13548
13549 em.
13550 \end_layout
13551
13552 \begin_layout Standard
13553 \begin_inset VSpace bigskip
13554 \end_inset
13555
13556 Table
13557 \begin_inset space ~
13558 \end_inset
13559
13560
13561 \begin_inset CommandInset ref
13562 LatexCommand ref
13563 reference "tab:Example-booktabs-table"
13564
13565 \end_inset
13566
13567  was created using the commands
13568 \end_layout
13569
13570 \begin_layout Standard
13571
13572 \series bold
13573
13574 \backslash
13575 cmidrule(r){2-2}
13576 \backslash
13577 cmidrule(l){3-4}
13578 \end_layout
13579
13580 \begin_layout Standard
13581 at the beginning of the second row and
13582 \end_layout
13583
13584 \begin_layout Standard
13585
13586 \series bold
13587
13588 \backslash
13589 cmidrule(l{10pt}){1-1}
13590 \end_layout
13591
13592 \begin_layout Standard
13593 in the sixth row.
13594 \end_layout
13595
13596 \begin_layout Standard
13597 \begin_inset VSpace bigskip
13598 \end_inset
13599
13600
13601 \end_layout
13602
13603 \begin_layout Standard
13604 You might want to have overlapping 
13605 \series bold
13606
13607 \backslash
13608 cmidrule
13609 \series default
13610 s as in in Table
13611 \begin_inset space ~
13612 \end_inset
13613
13614
13615 \begin_inset CommandInset ref
13616 LatexCommand ref
13617 reference "tab:Special-booktabs-table"
13618
13619 \end_inset
13620
13621 .
13622  This can be achieved with the TeX-Code command
13623 \end_layout
13624
13625 \begin_layout Standard
13626
13627 \series bold
13628
13629 \backslash
13630 morecmidrules
13631 \end_layout
13632
13633 \begin_layout Standard
13634 The command that was used for the second row of Table
13635 \begin_inset space ~
13636 \end_inset
13637
13638
13639 \begin_inset CommandInset ref
13640 LatexCommand ref
13641 reference "tab:Special-booktabs-table"
13642
13643 \end_inset
13644
13645  is
13646 \end_layout
13647
13648 \begin_layout Standard
13649
13650 \series bold
13651
13652 \backslash
13653 cmidrule(r){2-2}
13654 \backslash
13655 cmidrule(l){3-4}
13656 \backslash
13657 morecmidrules
13658 \backslash
13659 cmidrule{2-4}
13660 \end_layout
13661
13662 \begin_layout Standard
13663 The command for the sixth row is
13664 \end_layout
13665
13666 \begin_layout Standard
13667
13668 \series bold
13669
13670 \backslash
13671 midrule
13672 \backslash
13673 morecmidrules
13674 \backslash
13675 cmidrule{3-4}
13676 \end_layout
13677
13678 \begin_layout Standard
13679 \begin_inset VSpace bigskip
13680 \end_inset
13681
13682
13683 \end_layout
13684
13685 \begin_layout Standard
13686 If you are anyway not satisfied with the border line spacing, you can use
13687  the following command to produce lines that span over all table columns
13688 \series bold
13689 :
13690 \end_layout
13691
13692 \begin_layout Standard
13693
13694 \series bold
13695
13696 \backslash
13697 specialrule{width}{space above}{space below}
13698 \end_layout
13699
13700 \begin_layout Standard
13701 For more information about these features, refer to the manual of the LaTeX-pack
13702 age 
13703 \series bold
13704 booktabs
13705 \series default
13706  
13707 \begin_inset CommandInset citation
13708 LatexCommand cite
13709 key "booktabs"
13710
13711 \end_inset
13712
13713 .
13714 \begin_inset Index idx
13715 status collapsed
13716
13717 \begin_layout Plain Layout
13718 LaTeX-packages ! booktabs
13719 \end_layout
13720
13721 \end_inset
13722
13723
13724 \end_layout
13725
13726 \begin_layout Standard
13727 \begin_inset Float table
13728 placement h
13729 wide false
13730 sideways false
13731 status open
13732
13733 \begin_layout Plain Layout
13734 \begin_inset Caption
13735
13736 \begin_layout Plain Layout
13737 \begin_inset CommandInset label
13738 LatexCommand label
13739 name "tab:Special-booktabs-table"
13740
13741 \end_inset
13742
13743 Special booktabs-table
13744 \end_layout
13745
13746 \end_inset
13747
13748
13749 \end_layout
13750
13751 \begin_layout Plain Layout
13752 \align center
13753 \begin_inset Tabular
13754 <lyxtabular version="3" rows="8" columns="4">
13755 <features booktabs="true" tabularvalignment="middle">
13756 <column alignment="center" valignment="top" width="0">
13757 <column alignment="center" valignment="top" width="0">
13758 <column alignment="center" valignment="top" width="0">
13759 <column alignment="center" valignment="top" width="0">
13760 <row>
13761 <cell alignment="center" valignment="top" topline="true" usebox="none">
13762 \begin_inset Text
13763
13764 \begin_layout Plain Layout
13765 System
13766 \end_layout
13767
13768 \end_inset
13769 </cell>
13770 <cell alignment="center" valignment="top" topline="true" usebox="none">
13771 \begin_inset Text
13772
13773 \begin_layout Plain Layout
13774 Chip
13775 \begin_inset space \thinspace{}
13776 \end_inset
13777
13778 1
13779 \end_layout
13780
13781 \end_inset
13782 </cell>
13783 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13784 \begin_inset Text
13785
13786 \begin_layout Plain Layout
13787 Chip
13788 \begin_inset space \thinspace{}
13789 \end_inset
13790
13791 2
13792 \end_layout
13793
13794 \end_inset
13795 </cell>
13796 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13797 \begin_inset Text
13798
13799 \begin_layout Plain Layout
13800
13801 \end_layout
13802
13803 \end_inset
13804 </cell>
13805 </row>
13806 <row>
13807 <cell alignment="center" valignment="top" usebox="none">
13808 \begin_inset Text
13809
13810 \begin_layout Plain Layout
13811 \begin_inset ERT
13812 status collapsed
13813
13814 \begin_layout Plain Layout
13815
13816
13817 \backslash
13818 cmidrule(r){2-2}
13819 \end_layout
13820
13821 \end_inset
13822
13823
13824 \begin_inset ERT
13825 status collapsed
13826
13827 \begin_layout Plain Layout
13828
13829
13830 \backslash
13831 cmidrule(l){3-4}
13832 \end_layout
13833
13834 \end_inset
13835
13836
13837 \begin_inset ERT
13838 status collapsed
13839
13840 \begin_layout Plain Layout
13841
13842
13843 \backslash
13844 morecmidrules 
13845 \end_layout
13846
13847 \end_inset
13848
13849
13850 \begin_inset ERT
13851 status collapsed
13852
13853 \begin_layout Plain Layout
13854
13855
13856 \backslash
13857 cmidrule{2-4}
13858 \end_layout
13859
13860 \end_inset
13861
13862 Detector thickness in Âµm
13863 \end_layout
13864
13865 \end_inset
13866 </cell>
13867 <cell alignment="center" valignment="top" usebox="none">
13868 \begin_inset Text
13869
13870 \begin_layout Plain Layout
13871 300
13872 \end_layout
13873
13874 \end_inset
13875 </cell>
13876 <cell alignment="center" valignment="top" usebox="none">
13877 \begin_inset Text
13878
13879 \begin_layout Plain Layout
13880 300
13881 \end_layout
13882
13883 \end_inset
13884 </cell>
13885 <cell alignment="center" valignment="top" usebox="none">
13886 \begin_inset Text
13887
13888 \begin_layout Plain Layout
13889 700
13890 \end_layout
13891
13892 \end_inset
13893 </cell>
13894 </row>
13895 <row>
13896 <cell alignment="center" valignment="top" topline="true" usebox="none">
13897 \begin_inset Text
13898
13899 \begin_layout Plain Layout
13900 Edge angle in Â°
13901 \end_layout
13902
13903 \end_inset
13904 </cell>
13905 <cell alignment="center" valignment="top" topline="true" usebox="none">
13906 \begin_inset Text
13907
13908 \begin_layout Plain Layout
13909 3.55
13910 \end_layout
13911
13912 \end_inset
13913 </cell>
13914 <cell alignment="center" valignment="top" topline="true" usebox="none">
13915 \begin_inset Text
13916
13917 \begin_layout Plain Layout
13918 2.71
13919 \end_layout
13920
13921 \end_inset
13922 </cell>
13923 <cell alignment="center" valignment="top" topline="true" usebox="none">
13924 \begin_inset Text
13925
13926 \begin_layout Plain Layout
13927 7.99
13928 \end_layout
13929
13930 \end_inset
13931 </cell>
13932 </row>
13933 <row topspace="default">
13934 <cell alignment="center" valignment="top" usebox="none">
13935 \begin_inset Text
13936
13937 \begin_layout Plain Layout
13938 Spatial resolution in Âµm
13939 \end_layout
13940
13941 \end_inset
13942 </cell>
13943 <cell alignment="center" valignment="top" usebox="none">
13944 \begin_inset Text
13945
13946 \begin_layout Plain Layout
13947 4.26
13948 \end_layout
13949
13950 \end_inset
13951 </cell>
13952 <cell alignment="center" valignment="top" usebox="none">
13953 \begin_inset Text
13954
13955 \begin_layout Plain Layout
13956 10.17
13957 \end_layout
13958
13959 \end_inset
13960 </cell>
13961 <cell alignment="center" valignment="top" usebox="none">
13962 \begin_inset Text
13963
13964 \begin_layout Plain Layout
13965 10.56
13966 \end_layout
13967
13968 \end_inset
13969 </cell>
13970 </row>
13971 <row topspace="default">
13972 <cell alignment="center" valignment="top" usebox="none">
13973 \begin_inset Text
13974
13975 \begin_layout Plain Layout
13976 MTF at 
13977 \begin_inset Formula $f_{\mathrm{max}}$
13978 \end_inset
13979
13980
13981 \end_layout
13982
13983 \end_inset
13984 </cell>
13985 <cell alignment="center" valignment="top" usebox="none">
13986 \begin_inset Text
13987
13988 \begin_layout Plain Layout
13989 0.53
13990 \end_layout
13991
13992 \end_inset
13993 </cell>
13994 <cell alignment="center" valignment="top" usebox="none">
13995 \begin_inset Text
13996
13997 \begin_layout Plain Layout
13998 0.37
13999 \end_layout
14000
14001 \end_inset
14002 </cell>
14003 <cell alignment="center" valignment="top" usebox="none">
14004 \begin_inset Text
14005
14006 \begin_layout Plain Layout
14007 0.39
14008 \end_layout
14009
14010 \end_inset
14011 </cell>
14012 </row>
14013 <row>
14014 <cell alignment="center" valignment="top" topline="true" usebox="none">
14015 \begin_inset Text
14016
14017 \begin_layout Plain Layout
14018 \begin_inset ERT
14019 status collapsed
14020
14021 \begin_layout Plain Layout
14022
14023
14024 \backslash
14025 morecmidrules 
14026 \end_layout
14027
14028 \end_inset
14029
14030
14031 \begin_inset ERT
14032 status collapsed
14033
14034 \begin_layout Plain Layout
14035
14036
14037 \backslash
14038 cmidrule{3-4}
14039 \end_layout
14040
14041 \end_inset
14042
14043 LSF-spatial resolution
14044 \end_layout
14045
14046 \end_inset
14047 </cell>
14048 <cell alignment="center" valignment="top" topline="true" usebox="none">
14049 \begin_inset Text
14050
14051 \begin_layout Plain Layout
14052
14053 \end_layout
14054
14055 \end_inset
14056 </cell>
14057 <cell alignment="center" valignment="top" topline="true" usebox="none">
14058 \begin_inset Text
14059
14060 \begin_layout Plain Layout
14061
14062 \end_layout
14063
14064 \end_inset
14065 </cell>
14066 <cell alignment="center" valignment="top" topline="true" usebox="none">
14067 \begin_inset Text
14068
14069 \begin_layout Plain Layout
14070
14071 \end_layout
14072
14073 \end_inset
14074 </cell>
14075 </row>
14076 <row>
14077 <cell alignment="center" valignment="top" usebox="none">
14078 \begin_inset Text
14079
14080 \begin_layout Plain Layout
14081 in Âµm
14082 \end_layout
14083
14084 \end_inset
14085 </cell>
14086 <cell alignment="center" valignment="top" usebox="none">
14087 \begin_inset Text
14088
14089 \begin_layout Plain Layout
14090 129.7
14091 \end_layout
14092
14093 \end_inset
14094 </cell>
14095 <cell alignment="center" valignment="top" usebox="none">
14096 \begin_inset Text
14097
14098 \begin_layout Plain Layout
14099 52.75
14100 \end_layout
14101
14102 \end_inset
14103 </cell>
14104 <cell alignment="center" valignment="top" usebox="none">
14105 \begin_inset Text
14106
14107 \begin_layout Plain Layout
14108 50.78
14109 \end_layout
14110
14111 \end_inset
14112 </cell>
14113 </row>
14114 <row>
14115 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14116 \begin_inset Text
14117
14118 \begin_layout Plain Layout
14119 in % of pixel size
14120 \end_layout
14121
14122 \end_inset
14123 </cell>
14124 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14125 \begin_inset Text
14126
14127 \begin_layout Plain Layout
14128 76.3
14129 \end_layout
14130
14131 \end_inset
14132 </cell>
14133 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14134 \begin_inset Text
14135
14136 \begin_layout Plain Layout
14137 95.9
14138 \end_layout
14139
14140 \end_inset
14141 </cell>
14142 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14143 \begin_inset Text
14144
14145 \begin_layout Plain Layout
14146 92.3
14147 \end_layout
14148
14149 \end_inset
14150 </cell>
14151 </row>
14152 </lyxtabular>
14153
14154 \end_inset
14155
14156
14157 \end_layout
14158
14159 \end_inset
14160
14161
14162 \end_layout
14163
14164 \begin_layout Section
14165 Vertical Table Alignment
14166 \begin_inset Index idx
14167 status collapsed
14168
14169 \begin_layout Plain Layout
14170 Table ! Alignment
14171 \end_layout
14172
14173 \end_inset
14174
14175
14176 \end_layout
14177
14178 \begin_layout Standard
14179 To align tables vertically in a text line the table must be inside a box.
14180  The box can then be vertically aligned as described in section
14181 \begin_inset space ~
14182 \end_inset
14183
14184
14185 \begin_inset CommandInset ref
14186 LatexCommand ref
14187 reference "sec:Box-Dialog"
14188
14189 \end_inset
14190
14191 .
14192 \end_layout
14193
14194 \begin_layout Standard
14195 In the following example the tables are inside a minipage
14196 \begin_inset Foot
14197 status collapsed
14198
14199 \begin_layout Plain Layout
14200 Minipages are described in section
14201 \begin_inset space ~
14202 \end_inset
14203
14204
14205 \begin_inset CommandInset ref
14206 LatexCommand ref
14207 reference "sec:Minipages"
14208
14209 \end_inset
14210
14211 .
14212 \end_layout
14213
14214 \end_inset
14215
14216  box that has a width of 15
14217 \begin_inset space \thinspace{}
14218 \end_inset
14219
14220 col%:
14221 \end_layout
14222
14223 \begin_layout Itemize
14224 test 
14225 \begin_inset Box Frameless
14226 position "t"
14227 hor_pos "c"
14228 has_inner_box 1
14229 inner_pos "c"
14230 use_parbox 0
14231 use_makebox 0
14232 width "15col%"
14233 special "none"
14234 height "1in"
14235 height_special "totalheight"
14236 status collapsed
14237
14238 \begin_layout Plain Layout
14239 \begin_inset Tabular
14240 <lyxtabular version="3" rows="3" columns="3">
14241 <features tabularvalignment="middle">
14242 <column alignment="center" valignment="top" width="0">
14243 <column alignment="center" valignment="top" width="0">
14244 <column alignment="center" valignment="top" width="0">
14245 <row>
14246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14247 \begin_inset Text
14248
14249 \begin_layout Plain Layout
14250 a
14251 \end_layout
14252
14253 \end_inset
14254 </cell>
14255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14256 \begin_inset Text
14257
14258 \begin_layout Plain Layout
14259 d
14260 \end_layout
14261
14262 \end_inset
14263 </cell>
14264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14265 \begin_inset Text
14266
14267 \begin_layout Plain Layout
14268 g
14269 \end_layout
14270
14271 \end_inset
14272 </cell>
14273 </row>
14274 <row>
14275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14276 \begin_inset Text
14277
14278 \begin_layout Plain Layout
14279 b
14280 \end_layout
14281
14282 \end_inset
14283 </cell>
14284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14285 \begin_inset Text
14286
14287 \begin_layout Plain Layout
14288 e
14289 \end_layout
14290
14291 \end_inset
14292 </cell>
14293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14294 \begin_inset Text
14295
14296 \begin_layout Plain Layout
14297 h
14298 \end_layout
14299
14300 \end_inset
14301 </cell>
14302 </row>
14303 <row>
14304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14305 \begin_inset Text
14306
14307 \begin_layout Plain Layout
14308 c
14309 \end_layout
14310
14311 \end_inset
14312 </cell>
14313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14314 \begin_inset Text
14315
14316 \begin_layout Plain Layout
14317 f
14318 \end_layout
14319
14320 \end_inset
14321 </cell>
14322 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14323 \begin_inset Text
14324
14325 \begin_layout Plain Layout
14326 i
14327 \end_layout
14328
14329 \end_inset
14330 </cell>
14331 </row>
14332 </lyxtabular>
14333
14334 \end_inset
14335
14336
14337 \end_layout
14338
14339 \end_inset
14340
14341  test 
14342 \begin_inset ERT
14343 status collapsed
14344
14345 \begin_layout Plain Layout
14346
14347
14348 \backslash
14349 raisebox{0.85
14350 \backslash
14351 baselineskip}{
14352 \end_layout
14353
14354 \end_inset
14355
14356
14357 \begin_inset Box Frameless
14358 position "t"
14359 hor_pos "c"
14360 has_inner_box 1
14361 inner_pos "c"
14362 use_parbox 0
14363 use_makebox 0
14364 width "15col%"
14365 special "none"
14366 height "1in"
14367 height_special "totalheight"
14368 status collapsed
14369
14370 \begin_layout Plain Layout
14371 \begin_inset Tabular
14372 <lyxtabular version="3" rows="3" columns="3">
14373 <features tabularvalignment="middle">
14374 <column alignment="center" valignment="top" width="0">
14375 <column alignment="center" valignment="top" width="0">
14376 <column alignment="center" valignment="top" width="0">
14377 <row>
14378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14379 \begin_inset Text
14380
14381 \begin_layout Plain Layout
14382 a
14383 \end_layout
14384
14385 \end_inset
14386 </cell>
14387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14388 \begin_inset Text
14389
14390 \begin_layout Plain Layout
14391 d
14392 \end_layout
14393
14394 \end_inset
14395 </cell>
14396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14397 \begin_inset Text
14398
14399 \begin_layout Plain Layout
14400 g
14401 \end_layout
14402
14403 \end_inset
14404 </cell>
14405 </row>
14406 <row>
14407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14408 \begin_inset Text
14409
14410 \begin_layout Plain Layout
14411 b
14412 \end_layout
14413
14414 \end_inset
14415 </cell>
14416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14417 \begin_inset Text
14418
14419 \begin_layout Plain Layout
14420 e
14421 \end_layout
14422
14423 \end_inset
14424 </cell>
14425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14426 \begin_inset Text
14427
14428 \begin_layout Plain Layout
14429 h
14430 \end_layout
14431
14432 \end_inset
14433 </cell>
14434 </row>
14435 <row>
14436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14437 \begin_inset Text
14438
14439 \begin_layout Plain Layout
14440 c
14441 \end_layout
14442
14443 \end_inset
14444 </cell>
14445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14446 \begin_inset Text
14447
14448 \begin_layout Plain Layout
14449 f
14450 \end_layout
14451
14452 \end_inset
14453 </cell>
14454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14455 \begin_inset Text
14456
14457 \begin_layout Plain Layout
14458 i
14459 \end_layout
14460
14461 \end_inset
14462 </cell>
14463 </row>
14464 </lyxtabular>
14465
14466 \end_inset
14467
14468
14469 \end_layout
14470
14471 \end_inset
14472
14473
14474 \begin_inset ERT
14475 status collapsed
14476
14477 \begin_layout Plain Layout
14478
14479 }
14480 \end_layout
14481
14482 \end_inset
14483
14484
14485 \end_layout
14486
14487 \begin_layout Itemize
14488 test 
14489 \begin_inset Box Frameless
14490 position "c"
14491 hor_pos "c"
14492 has_inner_box 1
14493 inner_pos "c"
14494 use_parbox 0
14495 use_makebox 0
14496 width "15col%"
14497 special "none"
14498 height "1in"
14499 height_special "totalheight"
14500 status collapsed
14501
14502 \begin_layout Plain Layout
14503 \begin_inset Tabular
14504 <lyxtabular version="3" rows="3" columns="3">
14505 <features tabularvalignment="middle">
14506 <column alignment="center" valignment="top" width="0">
14507 <column alignment="center" valignment="top" width="0">
14508 <column alignment="center" valignment="top" width="0">
14509 <row>
14510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14511 \begin_inset Text
14512
14513 \begin_layout Plain Layout
14514 a
14515 \end_layout
14516
14517 \end_inset
14518 </cell>
14519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14520 \begin_inset Text
14521
14522 \begin_layout Plain Layout
14523 d
14524 \end_layout
14525
14526 \end_inset
14527 </cell>
14528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14529 \begin_inset Text
14530
14531 \begin_layout Plain Layout
14532 g
14533 \end_layout
14534
14535 \end_inset
14536 </cell>
14537 </row>
14538 <row>
14539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14540 \begin_inset Text
14541
14542 \begin_layout Plain Layout
14543 b
14544 \end_layout
14545
14546 \end_inset
14547 </cell>
14548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14549 \begin_inset Text
14550
14551 \begin_layout Plain Layout
14552 e
14553 \end_layout
14554
14555 \end_inset
14556 </cell>
14557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14558 \begin_inset Text
14559
14560 \begin_layout Plain Layout
14561 h
14562 \end_layout
14563
14564 \end_inset
14565 </cell>
14566 </row>
14567 <row>
14568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14569 \begin_inset Text
14570
14571 \begin_layout Plain Layout
14572 c
14573 \end_layout
14574
14575 \end_inset
14576 </cell>
14577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14578 \begin_inset Text
14579
14580 \begin_layout Plain Layout
14581 f
14582 \end_layout
14583
14584 \end_inset
14585 </cell>
14586 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14587 \begin_inset Text
14588
14589 \begin_layout Plain Layout
14590 i
14591 \end_layout
14592
14593 \end_inset
14594 </cell>
14595 </row>
14596 </lyxtabular>
14597
14598 \end_inset
14599
14600
14601 \end_layout
14602
14603 \end_inset
14604
14605
14606 \end_layout
14607
14608 \begin_layout Itemize
14609 test 
14610 \begin_inset Box Frameless
14611 position "b"
14612 hor_pos "c"
14613 has_inner_box 1
14614 inner_pos "c"
14615 use_parbox 0
14616 use_makebox 0
14617 width "15col%"
14618 special "none"
14619 height "1in"
14620 height_special "totalheight"
14621 status collapsed
14622
14623 \begin_layout Plain Layout
14624 \begin_inset Tabular
14625 <lyxtabular version="3" rows="3" columns="3">
14626 <features tabularvalignment="middle">
14627 <column alignment="center" valignment="top" width="0">
14628 <column alignment="center" valignment="top" width="0">
14629 <column alignment="center" valignment="top" width="0">
14630 <row>
14631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14632 \begin_inset Text
14633
14634 \begin_layout Plain Layout
14635 a
14636 \end_layout
14637
14638 \end_inset
14639 </cell>
14640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14641 \begin_inset Text
14642
14643 \begin_layout Plain Layout
14644 d
14645 \end_layout
14646
14647 \end_inset
14648 </cell>
14649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14650 \begin_inset Text
14651
14652 \begin_layout Plain Layout
14653 g
14654 \end_layout
14655
14656 \end_inset
14657 </cell>
14658 </row>
14659 <row>
14660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14661 \begin_inset Text
14662
14663 \begin_layout Plain Layout
14664 b
14665 \end_layout
14666
14667 \end_inset
14668 </cell>
14669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14670 \begin_inset Text
14671
14672 \begin_layout Plain Layout
14673 e
14674 \end_layout
14675
14676 \end_inset
14677 </cell>
14678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14679 \begin_inset Text
14680
14681 \begin_layout Plain Layout
14682 h
14683 \end_layout
14684
14685 \end_inset
14686 </cell>
14687 </row>
14688 <row>
14689 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14690 \begin_inset Text
14691
14692 \begin_layout Plain Layout
14693 c
14694 \end_layout
14695
14696 \end_inset
14697 </cell>
14698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14699 \begin_inset Text
14700
14701 \begin_layout Plain Layout
14702 f
14703 \end_layout
14704
14705 \end_inset
14706 </cell>
14707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14708 \begin_inset Text
14709
14710 \begin_layout Plain Layout
14711 i
14712 \end_layout
14713
14714 \end_inset
14715 </cell>
14716 </row>
14717 </lyxtabular>
14718
14719 \end_inset
14720
14721
14722 \end_layout
14723
14724 \end_inset
14725
14726  test 
14727 \begin_inset ERT
14728 status collapsed
14729
14730 \begin_layout Plain Layout
14731
14732
14733 \backslash
14734 raisebox{-0.32
14735 \backslash
14736 baselineskip}{
14737 \end_layout
14738
14739 \end_inset
14740
14741
14742 \begin_inset Box Frameless
14743 position "b"
14744 hor_pos "c"
14745 has_inner_box 1
14746 inner_pos "c"
14747 use_parbox 0
14748 use_makebox 0
14749 width "15col%"
14750 special "none"
14751 height "1in"
14752 height_special "totalheight"
14753 status collapsed
14754
14755 \begin_layout Plain Layout
14756 \begin_inset Tabular
14757 <lyxtabular version="3" rows="3" columns="3">
14758 <features tabularvalignment="middle">
14759 <column alignment="center" valignment="top" width="0">
14760 <column alignment="center" valignment="top" width="0">
14761 <column alignment="center" valignment="top" width="0">
14762 <row>
14763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14764 \begin_inset Text
14765
14766 \begin_layout Plain Layout
14767 a
14768 \end_layout
14769
14770 \end_inset
14771 </cell>
14772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14773 \begin_inset Text
14774
14775 \begin_layout Plain Layout
14776 d
14777 \end_layout
14778
14779 \end_inset
14780 </cell>
14781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14782 \begin_inset Text
14783
14784 \begin_layout Plain Layout
14785 g
14786 \end_layout
14787
14788 \end_inset
14789 </cell>
14790 </row>
14791 <row>
14792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14793 \begin_inset Text
14794
14795 \begin_layout Plain Layout
14796 b
14797 \end_layout
14798
14799 \end_inset
14800 </cell>
14801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14802 \begin_inset Text
14803
14804 \begin_layout Plain Layout
14805 e
14806 \end_layout
14807
14808 \end_inset
14809 </cell>
14810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14811 \begin_inset Text
14812
14813 \begin_layout Plain Layout
14814 h
14815 \end_layout
14816
14817 \end_inset
14818 </cell>
14819 </row>
14820 <row>
14821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14822 \begin_inset Text
14823
14824 \begin_layout Plain Layout
14825 c
14826 \end_layout
14827
14828 \end_inset
14829 </cell>
14830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14831 \begin_inset Text
14832
14833 \begin_layout Plain Layout
14834 f
14835 \end_layout
14836
14837 \end_inset
14838 </cell>
14839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14840 \begin_inset Text
14841
14842 \begin_layout Plain Layout
14843 i
14844 \end_layout
14845
14846 \end_inset
14847 </cell>
14848 </row>
14849 </lyxtabular>
14850
14851 \end_inset
14852
14853
14854 \end_layout
14855
14856 \end_inset
14857
14858
14859 \begin_inset ERT
14860 status collapsed
14861
14862 \begin_layout Plain Layout
14863
14864 }
14865 \end_layout
14866
14867 \end_inset
14868
14869
14870 \end_layout
14871
14872 \begin_layout Standard
14873 As you will see, the content of the first and last table row is not correctly
14874  aligned.
14875  To get this alignment, the minipage box must be set into a raisebox
14876 \begin_inset Foot
14877 status collapsed
14878
14879 \begin_layout Plain Layout
14880 Raiseboxes are described in section
14881 \begin_inset space ~
14882 \end_inset
14883
14884
14885 \begin_inset CommandInset ref
14886 LatexCommand ref
14887 reference "sub:Vertical-Alignment"
14888
14889 \end_inset
14890
14891 .
14892 \end_layout
14893
14894 \end_inset
14895
14896 .
14897  In the example above the second table in the first item is aligned using
14898  the TeX-Code-command
14899 \end_layout
14900
14901 \begin_layout Standard
14902
14903 \series bold
14904
14905 \backslash
14906 raisebox{0.85
14907 \backslash
14908 baselineskip}{
14909 \end_layout
14910
14911 \begin_layout Standard
14912 before the box.
14913  After the box the closing brace 
14914 \series bold
14915 }
14916 \series default
14917  is inserted as TeX-Code.
14918  For the second table in the last item the command
14919 \end_layout
14920
14921 \begin_layout Standard
14922
14923 \series bold
14924
14925 \backslash
14926 raisebox{-0.32
14927 \backslash
14928 baselineskip}{
14929 \end_layout
14930
14931 \begin_layout Standard
14932 is used.
14933 \end_layout
14934
14935 \begin_layout Standard
14936 \begin_inset Note Greyedout
14937 status open
14938
14939 \begin_layout Plain Layout
14940
14941 \series bold
14942 Note:
14943 \series default
14944  The alignment of the table row content to the surrounding text line is
14945  not exact.
14946  The required value for the 
14947 \series bold
14948
14949 \backslash
14950 raisebox
14951 \series default
14952  command for this alignment depends on the document font, the font size,
14953  and the table line thickness.
14954 \end_layout
14955
14956 \end_inset
14957
14958
14959 \end_layout
14960
14961 \begin_layout Section
14962 Colored Tables
14963 \begin_inset CommandInset label
14964 LatexCommand label
14965 name "sec:Colored-Tables"
14966
14967 \end_inset
14968
14969
14970 \begin_inset Index idx
14971 status collapsed
14972
14973 \begin_layout Plain Layout
14974 Table ! Color
14975 \end_layout
14976
14977 \end_inset
14978
14979
14980 \end_layout
14981
14982 \begin_layout Subsection
14983 Colored Cells
14984 \begin_inset Index idx
14985 status collapsed
14986
14987 \begin_layout Plain Layout
14988 Table Color ! for Cells
14989 \end_layout
14990
14991 \end_inset
14992
14993
14994 \begin_inset Index idx
14995 status collapsed
14996
14997 \begin_layout Plain Layout
14998 Color ! for Table Cells
14999 \end_layout
15000
15001 \end_inset
15002
15003
15004 \end_layout
15005
15006 \begin_layout Standard
15007 \begin_inset Float table
15008 placement h
15009 wide false
15010 sideways false
15011 status open
15012
15013 \begin_layout Plain Layout
15014 \begin_inset Caption
15015
15016 \begin_layout Plain Layout
15017 \begin_inset CommandInset label
15018 LatexCommand label
15019 name "tab:Table-colored-without"
15020
15021 \end_inset
15022
15023 Table colored without using the package 
15024 \series bold
15025 colortbl
15026 \series default
15027
15028 \begin_inset Argument
15029 status collapsed
15030
15031 \begin_layout Plain Layout
15032 Table without colortbl
15033 \end_layout
15034
15035 \end_inset
15036
15037
15038 \end_layout
15039
15040 \end_inset
15041
15042
15043 \end_layout
15044
15045 \begin_layout Plain Layout
15046 \align center
15047 \begin_inset Tabular
15048 <lyxtabular version="3" rows="3" columns="3">
15049 <features tabularvalignment="middle">
15050 <column alignment="center" valignment="top" width="0">
15051 <column alignment="center" valignment="top" width="0">
15052 <column alignment="center" valignment="top" width="0">
15053 <row>
15054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15055 \begin_inset Text
15056
15057 \begin_layout Plain Layout
15058
15059 \color green
15060 a
15061 \end_layout
15062
15063 \end_inset
15064 </cell>
15065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15066 \begin_inset Text
15067
15068 \begin_layout Plain Layout
15069
15070 \color red
15071 b
15072 \end_layout
15073
15074 \end_inset
15075 </cell>
15076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15077 \begin_inset Text
15078
15079 \begin_layout Plain Layout
15080
15081 \color red
15082 c
15083 \end_layout
15084
15085 \end_inset
15086 </cell>
15087 </row>
15088 <row>
15089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15090 \begin_inset Text
15091
15092 \begin_layout Plain Layout
15093
15094 \color green
15095 d
15096 \end_layout
15097
15098 \end_inset
15099 </cell>
15100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15101 \begin_inset Text
15102
15103 \begin_layout Plain Layout
15104
15105 \color blue
15106 e
15107 \end_layout
15108
15109 \end_inset
15110 </cell>
15111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15112 \begin_inset Text
15113
15114 \begin_layout Plain Layout
15115
15116 \color blue
15117 f
15118 \end_layout
15119
15120 \end_inset
15121 </cell>
15122 </row>
15123 <row>
15124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15125 \begin_inset Text
15126
15127 \begin_layout Plain Layout
15128
15129 \color green
15130 g
15131 \end_layout
15132
15133 \end_inset
15134 </cell>
15135 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15136 \begin_inset Text
15137
15138 \begin_layout Plain Layout
15139
15140 \color blue
15141 h
15142 \end_layout
15143
15144 \end_inset
15145 </cell>
15146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15147 \begin_inset Text
15148
15149 \begin_layout Plain Layout
15150
15151 \color blue
15152 i
15153 \end_layout
15154
15155 \end_inset
15156 </cell>
15157 </row>
15158 </lyxtabular>
15159
15160 \end_inset
15161
15162
15163 \end_layout
15164
15165 \end_inset
15166
15167
15168 \end_layout
15169
15170 \begin_layout Standard
15171 If you only need colored text, mark the cells and choose a color in the
15172  menu 
15173 \family sans
15174 Edit\SpecialChar \menuseparator
15175 Text
15176 \begin_inset space ~
15177 \end_inset
15178
15179 Style
15180 \family default
15181 .
15182  This was used to create Table
15183 \begin_inset space ~
15184 \end_inset
15185
15186
15187 \begin_inset CommandInset ref
15188 LatexCommand ref
15189 reference "tab:Table-colored-without"
15190
15191 \end_inset
15192
15193 .
15194  In any other case you have to use the LaTeX-package 
15195 \series bold
15196 colortbl
15197 \series default
15198 .
15199 \begin_inset Index idx
15200 status collapsed
15201
15202 \begin_layout Plain Layout
15203 LaTeX-packages ! colortbl
15204 \end_layout
15205
15206 \end_inset
15207
15208
15209 \end_layout
15210
15211 \begin_layout Standard
15212 \begin_inset ERT
15213 status collapsed
15214
15215 \begin_layout Plain Layout
15216
15217
15218 \backslash
15219 ifcolortbl
15220 \end_layout
15221
15222 \end_inset
15223
15224
15225 \begin_inset Note Note
15226 status open
15227
15228 \begin_layout Plain Layout
15229 The following section part will only be displayed when the LaTeX-package
15230  
15231 \series bold
15232 colortbl
15233 \series default
15234  is installed.
15235 \end_layout
15236
15237 \end_inset
15238
15239
15240 \end_layout
15241
15242 \begin_layout Standard
15243 To create colored tables, 
15244 \series bold
15245 colortbl
15246 \series default
15247  must be loaded in the preamble with the line
15248 \end_layout
15249
15250 \begin_layout Standard
15251
15252 \series bold
15253
15254 \backslash
15255 usepackage{colortbl}
15256 \end_layout
15257
15258 \begin_layout Standard
15259 The color of a column is adjusted with the command
15260 \end_layout
15261
15262 \begin_layout Standard
15263
15264 \series bold
15265
15266 \backslash
15267 columncolor{name of color}
15268 \end_layout
15269
15270 \begin_layout Standard
15271 inside the command 
15272 \series bold
15273 >{ }
15274 \series default
15275 .
15276  More about the command 
15277 \series bold
15278 >{}
15279 \series default
15280  is contained in section
15281 \begin_inset space ~
15282 \end_inset
15283
15284
15285 \begin_inset CommandInset ref
15286 LatexCommand ref
15287 reference "sub:Multicolumn-Calculations"
15288
15289 \end_inset
15290
15291 .
15292 \end_layout
15293
15294 \begin_layout Standard
15295 The following color names are predefined:
15296 \end_layout
15297
15298 \begin_layout Standard
15299
15300 \family sans
15301 red
15302 \family default
15303
15304 \family sans
15305 green
15306 \family default
15307
15308 \family sans
15309 yellow
15310 \family default
15311
15312 \family sans
15313 blue
15314 \family default
15315
15316 \family sans
15317 cyan
15318 \family default
15319
15320 \family sans
15321 magenta
15322 \family default
15323
15324 \family sans
15325 black
15326 \family default
15327  and 
15328 \family sans
15329 white
15330 \end_layout
15331
15332 \begin_layout Standard
15333 \begin_inset VSpace medskip
15334 \end_inset
15335
15336
15337 \end_layout
15338
15339 \begin_layout Standard
15340 You can also define your own color with the command
15341 \end_layout
15342
15343 \begin_layout Standard
15344
15345 \series bold
15346
15347 \backslash
15348 definecolor{color name}{color model}{color values}
15349 \end_layout
15350
15351 \begin_layout Standard
15352 The color model can be
15353 \end_layout
15354
15355 \begin_layout Labeling
15356 \labelwidthstring 00.00.0000
15357 cmyk: cyan, magenta, yellow, black
15358 \end_layout
15359
15360 \begin_layout Labeling
15361 \labelwidthstring 00.00.0000
15362 rgb: red, green blue
15363 \end_layout
15364
15365 \begin_layout Labeling
15366 \labelwidthstring 00.00.0000
15367 gray gray
15368 \end_layout
15369
15370 \begin_layout Standard
15371 and the color values are comma separated numbers between 0 and 1 describing
15372  the factor for the corresponding color of the color model.
15373 \end_layout
15374
15375 \begin_layout Standard
15376 You can e.
15377 \begin_inset space \thinspace{}
15378 \end_inset
15379
15380 g.
15381 \begin_inset space \space{}
15382 \end_inset
15383
15384 define the color "
15385 \emph on
15386 darkgreen
15387 \emph default
15388 " in the preamble with
15389 \end_layout
15390
15391 \begin_layout Standard
15392
15393 \series bold
15394
15395 \backslash
15396 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
15397 \end_layout
15398
15399 \begin_layout Standard
15400 and the color "
15401 \emph on
15402 lightgray
15403 \emph default
15404 " with
15405 \end_layout
15406
15407 \begin_layout Standard
15408
15409 \series bold
15410
15411 \backslash
15412 definecolor{lightgray}{gray}{0.8}
15413 \end_layout
15414
15415 \begin_layout Standard
15416 \begin_inset VSpace medskip
15417 \end_inset
15418
15419
15420 \end_layout
15421
15422 \begin_layout Standard
15423 Lines are colored with the command
15424 \end_layout
15425
15426 \begin_layout Standard
15427
15428 \series bold
15429
15430 \backslash
15431 rowcolor{name of color}
15432 \end_layout
15433
15434 \begin_layout Standard
15435 and cells are colored with the command
15436 \end_layout
15437
15438 \begin_layout Standard
15439
15440 \series bold
15441
15442 \backslash
15443 cellcolor{name of color}
15444 \end_layout
15445
15446 \begin_layout Standard
15447 Both commands are inserted at the beginning of a cell as TeX-Code.
15448 \end_layout
15449
15450 \begin_layout Standard
15451 To color characters in the table, mark the cells and use the LyX menu 
15452 \family sans
15453 Edit\SpecialChar \menuseparator
15454 Text
15455 \begin_inset space ~
15456 \end_inset
15457
15458 Style
15459 \family default
15460 .
15461  If a cell contains TeX-Code mark only the characters, otherwise the colored
15462  TeX-Code will cause LaTeX-errors.
15463 \end_layout
15464
15465 \begin_layout Standard
15466 \begin_inset Note Greyedout
15467 status open
15468
15469 \begin_layout Plain Layout
15470
15471 \series bold
15472 Note:
15473 \series default
15474  Not all DVI-viewers are able to display self-defined colors.
15475 \end_layout
15476
15477 \end_inset
15478
15479
15480 \end_layout
15481
15482 \begin_layout Standard
15483 \begin_inset VSpace bigskip
15484 \end_inset
15485
15486
15487 \end_layout
15488
15489 \begin_layout Standard
15490 To create Table
15491 \begin_inset space ~
15492 \end_inset
15493
15494
15495 \begin_inset CommandInset ref
15496 LatexCommand ref
15497 reference "tab:Table-colored-using"
15498
15499 \end_inset
15500
15501  do the following: The color of the first column should be 
15502 \emph on
15503 darkgreen
15504 \emph default
15505 .
15506  So insert
15507 \end_layout
15508
15509 \begin_layout Standard
15510
15511 \series bold
15512 >{
15513 \backslash
15514 columncolor{darkgreen}
15515 \backslash
15516 centering}c
15517 \end_layout
15518
15519 \begin_layout Standard
15520 as LaTeX-argument for this column.
15521  The first row should be blue, therefore the TeX-Code command
15522 \end_layout
15523
15524 \begin_layout Standard
15525
15526 \series bold
15527
15528 \backslash
15529 rowcolor{cyan}
15530 \end_layout
15531
15532 \begin_layout Standard
15533 is inserted to the first cell of this row.
15534  Note that this overwrites the column color for the first cell.
15535  The last cell of the last row is colored magenta by inserting the TeX-Code
15536  command
15537 \end_layout
15538
15539 \begin_layout Standard
15540
15541 \series bold
15542
15543 \backslash
15544 cellcolor{magenta}
15545 \end_layout
15546
15547 \begin_layout Standard
15548 The characters could now be colored using the menu 
15549 \family sans
15550 Edit\SpecialChar \menuseparator
15551 Text
15552 \begin_inset space ~
15553 \end_inset
15554
15555 Style
15556 \family default
15557 .
15558 \end_layout
15559
15560 \begin_layout Standard
15561 \begin_inset Float table
15562 placement h
15563 wide false
15564 sideways false
15565 status open
15566
15567 \begin_layout Plain Layout
15568 \begin_inset Caption
15569
15570 \begin_layout Plain Layout
15571 \begin_inset CommandInset label
15572 LatexCommand label
15573 name "tab:Table-colored-using"
15574
15575 \end_inset
15576
15577 Table colored using the package 
15578 \series bold
15579 colortbl
15580 \series default
15581
15582 \begin_inset Argument
15583 status collapsed
15584
15585 \begin_layout Plain Layout
15586 Table with colortbl
15587 \end_layout
15588
15589 \end_inset
15590
15591
15592 \end_layout
15593
15594 \end_inset
15595
15596
15597 \end_layout
15598
15599 \begin_layout Plain Layout
15600 \align center
15601 \begin_inset Tabular
15602 <lyxtabular version="3" rows="3" columns="3">
15603 <features tabularvalignment="middle">
15604 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15605 <column alignment="center" valignment="top" width="0">
15606 <column alignment="center" valignment="top" width="0">
15607 <row>
15608 <cell alignment="center" valignment="top" usebox="none">
15609 \begin_inset Text
15610
15611 \begin_layout Plain Layout
15612 \begin_inset ERT
15613 status collapsed
15614
15615 \begin_layout Plain Layout
15616
15617
15618 \backslash
15619 rowcolor{cyan}
15620 \end_layout
15621
15622 \end_inset
15623
15624
15625 \color magenta
15626 a
15627 \end_layout
15628
15629 \end_inset
15630 </cell>
15631 <cell alignment="center" valignment="top" usebox="none">
15632 \begin_inset Text
15633
15634 \begin_layout Plain Layout
15635
15636 \color red
15637 b
15638 \end_layout
15639
15640 \end_inset
15641 </cell>
15642 <cell alignment="center" valignment="top" usebox="none">
15643 \begin_inset Text
15644
15645 \begin_layout Plain Layout
15646
15647 \color red
15648 c
15649 \end_layout
15650
15651 \end_inset
15652 </cell>
15653 </row>
15654 <row>
15655 <cell alignment="center" valignment="top" usebox="none">
15656 \begin_inset Text
15657
15658 \begin_layout Plain Layout
15659
15660 \color yellow
15661 d
15662 \end_layout
15663
15664 \end_inset
15665 </cell>
15666 <cell alignment="center" valignment="top" usebox="none">
15667 \begin_inset Text
15668
15669 \begin_layout Plain Layout
15670
15671 \color blue
15672 e
15673 \end_layout
15674
15675 \end_inset
15676 </cell>
15677 <cell alignment="center" valignment="top" usebox="none">
15678 \begin_inset Text
15679
15680 \begin_layout Plain Layout
15681
15682 \color blue
15683 f
15684 \end_layout
15685
15686 \end_inset
15687 </cell>
15688 </row>
15689 <row>
15690 <cell alignment="center" valignment="top" usebox="none">
15691 \begin_inset Text
15692
15693 \begin_layout Plain Layout
15694
15695 \color yellow
15696 g
15697 \end_layout
15698
15699 \end_inset
15700 </cell>
15701 <cell alignment="center" valignment="top" usebox="none">
15702 \begin_inset Text
15703
15704 \begin_layout Plain Layout
15705
15706 \color blue
15707 h
15708 \end_layout
15709
15710 \end_inset
15711 </cell>
15712 <cell alignment="center" valignment="top" usebox="none">
15713 \begin_inset Text
15714
15715 \begin_layout Plain Layout
15716 \begin_inset ERT
15717 status collapsed
15718
15719 \begin_layout Plain Layout
15720
15721
15722 \backslash
15723 cellcolor{magenta}
15724 \end_layout
15725
15726 \end_inset
15727
15728
15729 \color green
15730 i
15731 \end_layout
15732
15733 \end_inset
15734 </cell>
15735 </row>
15736 </lyxtabular>
15737
15738 \end_inset
15739
15740
15741 \end_layout
15742
15743 \end_inset
15744
15745
15746 \end_layout
15747
15748 \begin_layout Standard
15749 \begin_inset ERT
15750 status collapsed
15751
15752 \begin_layout Plain Layout
15753
15754
15755 \backslash
15756 else
15757 \end_layout
15758
15759 \end_inset
15760
15761
15762 \begin_inset Note Note
15763 status open
15764
15765 \begin_layout Plain Layout
15766 The following will be displayed when the LaTeX-package 
15767 \series bold
15768 colortbl
15769 \series default
15770  is not installed:
15771 \end_layout
15772
15773 \end_inset
15774
15775
15776 \end_layout
15777
15778 \begin_layout Standard
15779 You need to install the package 
15780 \series bold
15781 colortbl
15782 \series default
15783  to see the content of this section in the output.
15784 \end_layout
15785
15786 \begin_layout Standard
15787 \begin_inset ERT
15788 status collapsed
15789
15790 \begin_layout Plain Layout
15791
15792
15793 \backslash
15794 fi
15795 \end_layout
15796
15797 \end_inset
15798
15799
15800 \end_layout
15801
15802 \begin_layout Subsection
15803 Colored Lines
15804 \begin_inset Index idx
15805 status collapsed
15806
15807 \begin_layout Plain Layout
15808 Table Color ! for Lines
15809 \end_layout
15810
15811 \end_inset
15812
15813
15814 \begin_inset Index idx
15815 status collapsed
15816
15817 \begin_layout Plain Layout
15818 Color ! for Table Lines
15819 \end_layout
15820
15821 \end_inset
15822
15823
15824 \end_layout
15825
15826 \begin_layout Standard
15827 As described in section
15828 \begin_inset space ~
15829 \end_inset
15830
15831
15832 \begin_inset CommandInset ref
15833 LatexCommand ref
15834 reference "sub:Line-Thickness"
15835
15836 \end_inset
15837
15838 , the line thickness for all lines in a table can be adjusted with the length
15839  
15840 \series bold
15841
15842 \backslash
15843 arrayrulewidth
15844 \series default
15845 .
15846  It is set to 1.5
15847 \begin_inset space \thinspace{}
15848 \end_inset
15849
15850 pt for all tables of this section.
15851 \begin_inset ERT
15852 status collapsed
15853
15854 \begin_layout Plain Layout
15855
15856
15857 \backslash
15858 setlength{
15859 \backslash
15860 arrayrulewidth}{1.5pt}
15861 \end_layout
15862
15863 \end_inset
15864
15865
15866 \end_layout
15867
15868 \begin_layout Standard
15869 To color vertical lines for example with green, create the following column
15870  format in the document preamble, according to the description in section
15871 \begin_inset space ~
15872 \end_inset
15873
15874
15875 \begin_inset CommandInset ref
15876 LatexCommand ref
15877 reference "sub:Customized-Format"
15878
15879 \end_inset
15880
15881 :
15882 \end_layout
15883
15884 \begin_layout Standard
15885
15886 \series bold
15887
15888 \backslash
15889 newcolumntype{W}{!{
15890 \backslash
15891 color{green}
15892 \backslash
15893 vline}}
15894 \end_layout
15895
15896 \begin_layout Standard
15897 For Table
15898 \begin_inset space ~
15899 \end_inset
15900
15901
15902 \begin_inset CommandInset ref
15903 LatexCommand ref
15904 reference "tab:Table-with-vertical-colored"
15905
15906 \end_inset
15907
15908  the LaTeX-argument
15909 \series bold
15910  WcW
15911 \series default
15912  was used for the last column and
15913 \series bold
15914  Wc
15915 \series default
15916  for the other columns.
15917 \end_layout
15918
15919 \begin_layout Standard
15920 If you want to have several colors, define more column formats.
15921 \end_layout
15922
15923 \begin_layout Standard
15924 \begin_inset Float table
15925 placement h
15926 wide false
15927 sideways false
15928 status open
15929
15930 \begin_layout Plain Layout
15931 \begin_inset Caption
15932
15933 \begin_layout Plain Layout
15934 \begin_inset CommandInset label
15935 LatexCommand label
15936 name "tab:Table-with-vertical-colored"
15937
15938 \end_inset
15939
15940 Table with colored vertical lines
15941 \end_layout
15942
15943 \end_inset
15944
15945
15946 \end_layout
15947
15948 \begin_layout Plain Layout
15949 \align center
15950 \begin_inset Tabular
15951 <lyxtabular version="3" rows="3" columns="3">
15952 <features tabularvalignment="middle">
15953 <column alignment="center" valignment="top" width="0" special="Wc">
15954 <column alignment="center" valignment="top" width="0" special="Wc">
15955 <column alignment="center" valignment="top" width="0" special="WcW">
15956 <row>
15957 <cell alignment="center" valignment="top" topline="true" usebox="none">
15958 \begin_inset Text
15959
15960 \begin_layout Plain Layout
15961 sd
15962 \end_layout
15963
15964 \end_inset
15965 </cell>
15966 <cell alignment="center" valignment="top" topline="true" usebox="none">
15967 \begin_inset Text
15968
15969 \begin_layout Plain Layout
15970
15971 \end_layout
15972
15973 \end_inset
15974 </cell>
15975 <cell alignment="center" valignment="top" topline="true" usebox="none">
15976 \begin_inset Text
15977
15978 \begin_layout Plain Layout
15979
15980 \end_layout
15981
15982 \end_inset
15983 </cell>
15984 </row>
15985 <row>
15986 <cell alignment="center" valignment="top" topline="true" usebox="none">
15987 \begin_inset Text
15988
15989 \begin_layout Plain Layout
15990
15991 \end_layout
15992
15993 \end_inset
15994 </cell>
15995 <cell alignment="center" valignment="top" topline="true" usebox="none">
15996 \begin_inset Text
15997
15998 \begin_layout Plain Layout
15999 sd
16000 \end_layout
16001
16002 \end_inset
16003 </cell>
16004 <cell alignment="center" valignment="top" topline="true" usebox="none">
16005 \begin_inset Text
16006
16007 \begin_layout Plain Layout
16008
16009 \end_layout
16010
16011 \end_inset
16012 </cell>
16013 </row>
16014 <row>
16015 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16016 \begin_inset Text
16017
16018 \begin_layout Plain Layout
16019
16020 \end_layout
16021
16022 \end_inset
16023 </cell>
16024 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16025 \begin_inset Text
16026
16027 \begin_layout Plain Layout
16028
16029 \end_layout
16030
16031 \end_inset
16032 </cell>
16033 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16034 \begin_inset Text
16035
16036 \begin_layout Plain Layout
16037 sd
16038 \end_layout
16039
16040 \end_inset
16041 </cell>
16042 </row>
16043 </lyxtabular>
16044
16045 \end_inset
16046
16047
16048 \end_layout
16049
16050 \end_inset
16051
16052
16053 \end_layout
16054
16055 \begin_layout Standard
16056 \begin_inset VSpace bigskip
16057 \end_inset
16058
16059 To color horizontal lines for example with red, as in Table
16060 \begin_inset space ~
16061 \end_inset
16062
16063
16064 \begin_inset CommandInset ref
16065 LatexCommand ref
16066 reference "tab:Table-with-horizontal-colored"
16067
16068 \end_inset
16069
16070 , insert these commands in TeX-Code before the table or table float:
16071 \end_layout
16072
16073 \begin_layout Standard
16074
16075 \series bold
16076
16077 \backslash
16078 let
16079 \backslash
16080 myHlineC
16081 \backslash
16082 hline
16083 \begin_inset Newline newline
16084 \end_inset
16085
16086
16087 \backslash
16088 renewcommand{
16089 \backslash
16090 hline}
16091 \begin_inset Newline newline
16092 \end_inset
16093
16094
16095 \begin_inset Phantom HPhantom
16096 status open
16097
16098 \begin_layout Plain Layout
16099
16100 \series bold
16101 \begin_inset space ~
16102 \end_inset
16103
16104
16105 \end_layout
16106
16107 \end_inset
16108
16109 {
16110 \backslash
16111 arrayrulecolor{red}
16112 \backslash
16113 myHlineC
16114 \backslash
16115 arrayrulecolor{black}}
16116 \end_layout
16117
16118 \begin_layout Standard
16119 \begin_inset ERT
16120 status collapsed
16121
16122 \begin_layout Plain Layout
16123
16124
16125 \backslash
16126 let
16127 \backslash
16128 myHlineC
16129 \backslash
16130 hline
16131 \end_layout
16132
16133 \begin_layout Plain Layout
16134
16135
16136 \backslash
16137 renewcommand{
16138 \backslash
16139 hline}
16140 \end_layout
16141
16142 \begin_layout Plain Layout
16143
16144  {
16145 \backslash
16146 arrayrulecolor{red}
16147 \backslash
16148 myHlineC
16149 \backslash
16150 arrayrulecolor{black}}
16151 \end_layout
16152
16153 \end_inset
16154
16155
16156 \begin_inset Float table
16157 placement h
16158 wide false
16159 sideways false
16160 status open
16161
16162 \begin_layout Plain Layout
16163 \begin_inset Caption
16164
16165 \begin_layout Plain Layout
16166 \begin_inset CommandInset label
16167 LatexCommand label
16168 name "tab:Table-with-horizontal-colored"
16169
16170 \end_inset
16171
16172 Table with colored horizontal lines
16173 \end_layout
16174
16175 \end_inset
16176
16177
16178 \end_layout
16179
16180 \begin_layout Plain Layout
16181 \align center
16182 \begin_inset Tabular
16183 <lyxtabular version="3" rows="3" columns="3">
16184 <features tabularvalignment="middle">
16185 <column alignment="center" valignment="top" width="0">
16186 <column alignment="center" valignment="top" width="0">
16187 <column alignment="center" valignment="top" width="0">
16188 <row>
16189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16190 \begin_inset Text
16191
16192 \begin_layout Plain Layout
16193 sd
16194 \end_layout
16195
16196 \end_inset
16197 </cell>
16198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16199 \begin_inset Text
16200
16201 \begin_layout Plain Layout
16202
16203 \end_layout
16204
16205 \end_inset
16206 </cell>
16207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16208 \begin_inset Text
16209
16210 \begin_layout Plain Layout
16211
16212 \end_layout
16213
16214 \end_inset
16215 </cell>
16216 </row>
16217 <row>
16218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16219 \begin_inset Text
16220
16221 \begin_layout Plain Layout
16222
16223 \end_layout
16224
16225 \end_inset
16226 </cell>
16227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16228 \begin_inset Text
16229
16230 \begin_layout Plain Layout
16231 sd
16232 \end_layout
16233
16234 \end_inset
16235 </cell>
16236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16237 \begin_inset Text
16238
16239 \begin_layout Plain Layout
16240
16241 \end_layout
16242
16243 \end_inset
16244 </cell>
16245 </row>
16246 <row>
16247 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16248 \begin_inset Text
16249
16250 \begin_layout Plain Layout
16251
16252 \end_layout
16253
16254 \end_inset
16255 </cell>
16256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16257 \begin_inset Text
16258
16259 \begin_layout Plain Layout
16260
16261 \end_layout
16262
16263 \end_inset
16264 </cell>
16265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16266 \begin_inset Text
16267
16268 \begin_layout Plain Layout
16269 sd
16270 \end_layout
16271
16272 \end_inset
16273 </cell>
16274 </row>
16275 </lyxtabular>
16276
16277 \end_inset
16278
16279
16280 \end_layout
16281
16282 \end_inset
16283
16284
16285 \end_layout
16286
16287 \begin_layout Standard
16288 To return to the default line color black, insert this command in TeX-Code
16289  after the table or table float:
16290 \end_layout
16291
16292 \begin_layout Standard
16293
16294 \series bold
16295
16296 \backslash
16297 renewcommand{
16298 \backslash
16299 hline}{
16300 \backslash
16301 myHlineC}
16302 \end_layout
16303
16304 \begin_layout Standard
16305 Table
16306 \begin_inset space ~
16307 \end_inset
16308
16309
16310 \begin_inset CommandInset ref
16311 LatexCommand ref
16312 reference "tab:Table-with-colored"
16313
16314 \end_inset
16315
16316  is an example with colored vertical and horizontal lines.
16317 \end_layout
16318
16319 \begin_layout Standard
16320 \begin_inset Float table
16321 placement h
16322 wide false
16323 sideways false
16324 status open
16325
16326 \begin_layout Plain Layout
16327 \begin_inset Caption
16328
16329 \begin_layout Plain Layout
16330 \begin_inset CommandInset label
16331 LatexCommand label
16332 name "tab:Table-with-colored"
16333
16334 \end_inset
16335
16336 Table with colored lines
16337 \end_layout
16338
16339 \end_inset
16340
16341
16342 \end_layout
16343
16344 \begin_layout Plain Layout
16345 \align center
16346 \begin_inset Tabular
16347 <lyxtabular version="3" rows="3" columns="3">
16348 <features tabularvalignment="middle">
16349 <column alignment="center" valignment="top" width="0" special="Wc">
16350 <column alignment="center" valignment="top" width="0" special="Wc">
16351 <column alignment="center" valignment="top" width="0" special="WcW">
16352 <row>
16353 <cell alignment="center" valignment="top" topline="true" usebox="none">
16354 \begin_inset Text
16355
16356 \begin_layout Plain Layout
16357 sd
16358 \end_layout
16359
16360 \end_inset
16361 </cell>
16362 <cell alignment="center" valignment="top" topline="true" usebox="none">
16363 \begin_inset Text
16364
16365 \begin_layout Plain Layout
16366
16367 \end_layout
16368
16369 \end_inset
16370 </cell>
16371 <cell alignment="center" valignment="top" topline="true" usebox="none">
16372 \begin_inset Text
16373
16374 \begin_layout Plain Layout
16375
16376 \end_layout
16377
16378 \end_inset
16379 </cell>
16380 </row>
16381 <row>
16382 <cell alignment="center" valignment="top" topline="true" usebox="none">
16383 \begin_inset Text
16384
16385 \begin_layout Plain Layout
16386
16387 \end_layout
16388
16389 \end_inset
16390 </cell>
16391 <cell alignment="center" valignment="top" topline="true" usebox="none">
16392 \begin_inset Text
16393
16394 \begin_layout Plain Layout
16395 sd
16396 \end_layout
16397
16398 \end_inset
16399 </cell>
16400 <cell alignment="center" valignment="top" topline="true" usebox="none">
16401 \begin_inset Text
16402
16403 \begin_layout Plain Layout
16404
16405 \end_layout
16406
16407 \end_inset
16408 </cell>
16409 </row>
16410 <row topspace="default">
16411 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16412 \begin_inset Text
16413
16414 \begin_layout Plain Layout
16415
16416 \end_layout
16417
16418 \end_inset
16419 </cell>
16420 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16421 \begin_inset Text
16422
16423 \begin_layout Plain Layout
16424
16425 \end_layout
16426
16427 \end_inset
16428 </cell>
16429 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16430 \begin_inset Text
16431
16432 \begin_layout Plain Layout
16433 sd
16434 \end_layout
16435
16436 \end_inset
16437 </cell>
16438 </row>
16439 </lyxtabular>
16440
16441 \end_inset
16442
16443
16444 \end_layout
16445
16446 \end_inset
16447
16448
16449 \end_layout
16450
16451 \begin_layout Standard
16452 \begin_inset ERT
16453 status collapsed
16454
16455 \begin_layout Plain Layout
16456
16457
16458 \backslash
16459 renewcommand{
16460 \backslash
16461 hline}{
16462 \backslash
16463 myHlineC}
16464 \end_layout
16465
16466 \end_inset
16467
16468
16469 \end_layout
16470
16471 \begin_layout Standard
16472 \begin_inset ERT
16473 status collapsed
16474
16475 \begin_layout Plain Layout
16476
16477
16478 \backslash
16479 setlength{
16480 \backslash
16481 arrayrulewidth}{0.4pt}
16482 \end_layout
16483
16484 \end_inset
16485
16486
16487 \end_layout
16488
16489 \begin_layout Section
16490 Table Customization
16491 \begin_inset Index idx
16492 status collapsed
16493
16494 \begin_layout Plain Layout
16495 Table Customization
16496 \end_layout
16497
16498 \end_inset
16499
16500
16501 \begin_inset Index idx
16502 status collapsed
16503
16504 \begin_layout Plain Layout
16505 Table ! Customization
16506 \end_layout
16507
16508 \end_inset
16509
16510
16511 \end_layout
16512
16513 \begin_layout Subsection
16514 Row Spacing
16515 \begin_inset CommandInset label
16516 LatexCommand label
16517 name "sub:Row-Spacing"
16518
16519 \end_inset
16520
16521
16522 \begin_inset Index idx
16523 status collapsed
16524
16525 \begin_layout Plain Layout
16526 Table Customization ! Row Spacing
16527 \end_layout
16528
16529 \end_inset
16530
16531
16532 \end_layout
16533
16534 \begin_layout Standard
16535 You can add vertical space to table rows in the 
16536 \family sans
16537 Borders
16538 \family default
16539  tab of the table dialog.
16540  You find there three possibilities:
16541 \end_layout
16542
16543 \begin_layout Description
16544 Top
16545 \begin_inset space ~
16546 \end_inset
16547
16548 of
16549 \begin_inset space ~
16550 \end_inset
16551
16552 row will add space above the characters of the table row.
16553  If the table is a formal table
16554 \begin_inset Foot
16555 status collapsed
16556
16557 \begin_layout Plain Layout
16558 Formal tables are explained in section
16559 \begin_inset space ~
16560 \end_inset
16561
16562
16563 \begin_inset CommandInset ref
16564 LatexCommand ref
16565 reference "sec:Formal-Tables"
16566
16567 \end_inset
16568
16569 .
16570 \end_layout
16571
16572 \end_inset
16573
16574  LyX will insert as default 0.5
16575 \begin_inset space \thinspace{}
16576 \end_inset
16577
16578 em space.
16579  For normal tables the inserted space will unfortunately destroy the vertical
16580  table lines as in the following table:
16581 \begin_inset VSpace medskip
16582 \end_inset
16583
16584
16585 \begin_inset Newline newline
16586 \end_inset
16587
16588
16589 \begin_inset space \hspace*{}
16590 \length 0pt
16591 \end_inset
16592
16593
16594 \begin_inset space \hfill{}
16595 \end_inset
16596
16597
16598 \begin_inset Tabular
16599 <lyxtabular version="3" rows="3" columns="1">
16600 <features tabularvalignment="middle">
16601 <column alignment="center" valignment="top" width="0">
16602 <row>
16603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16604 \begin_inset Text
16605
16606 \begin_layout Plain Layout
16607 A
16608 \end_layout
16609
16610 \end_inset
16611 </cell>
16612 </row>
16613 <row topspace="3mm">
16614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16615 \begin_inset Text
16616
16617 \begin_layout Plain Layout
16618 3
16619 \begin_inset space \thinspace{}
16620 \end_inset
16621
16622 mm space top of row
16623 \end_layout
16624
16625 \end_inset
16626 </cell>
16627 </row>
16628 <row>
16629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16630 \begin_inset Text
16631
16632 \begin_layout Plain Layout
16633 C
16634 \end_layout
16635
16636 \end_inset
16637 </cell>
16638 </row>
16639 </lyxtabular>
16640
16641 \end_inset
16642
16643
16644 \begin_inset space \hfill{}
16645 \end_inset
16646
16647
16648 \begin_inset space \hspace*{}
16649 \length 0pt
16650 \end_inset
16651
16652
16653 \begin_inset VSpace medskip
16654 \end_inset
16655
16656
16657 \begin_inset Newline newline
16658 \end_inset
16659
16660 So inserting space in the top of row for normal tables is only useful when
16661  you don't have vertical lines.
16662 \end_layout
16663
16664 \begin_layout Description
16665 Bottom
16666 \begin_inset space ~
16667 \end_inset
16668
16669 of
16670 \begin_inset space ~
16671 \end_inset
16672
16673 row will add space below the characters of the table row.
16674  If the table is a formal table LyX will insert as default 0.5
16675 \begin_inset space \thinspace{}
16676 \end_inset
16677
16678 em space, for normal tables the default size is 2
16679 \begin_inset space \thinspace{}
16680 \end_inset
16681
16682 pt.
16683 \end_layout
16684
16685 \begin_layout Description
16686 Between
16687 \begin_inset space ~
16688 \end_inset
16689
16690 rows adds space between the current and the following row.
16691  If the table is a formal table LyX will insert as default 0.5
16692 \begin_inset space \thinspace{}
16693 \end_inset
16694
16695 em space.
16696  For normal tables the inserted space will unfortunately destroy the vertical
16697  table lines as in the following table:
16698 \begin_inset VSpace medskip
16699 \end_inset
16700
16701
16702 \begin_inset Newline newline
16703 \end_inset
16704
16705
16706 \begin_inset space \hspace*{}
16707 \length 0pt
16708 \end_inset
16709
16710
16711 \begin_inset space \hfill{}
16712 \end_inset
16713
16714
16715 \begin_inset Tabular
16716 <lyxtabular version="3" rows="3" columns="1">
16717 <features tabularvalignment="middle">
16718 <column alignment="center" valignment="top" width="0">
16719 <row>
16720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16721 \begin_inset Text
16722
16723 \begin_layout Plain Layout
16724 A
16725 \end_layout
16726
16727 \end_inset
16728 </cell>
16729 </row>
16730 <row interlinespace="3mm">
16731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16732 \begin_inset Text
16733
16734 \begin_layout Plain Layout
16735 \begin_inset Formula $\downarrow$
16736 \end_inset
16737
16738  3
16739 \begin_inset space \thinspace{}
16740 \end_inset
16741
16742 mm space between row 
16743 \begin_inset Formula $\downarrow$
16744 \end_inset
16745
16746
16747 \end_layout
16748
16749 \end_inset
16750 </cell>
16751 </row>
16752 <row>
16753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16754 \begin_inset Text
16755
16756 \begin_layout Plain Layout
16757 \begin_inset Formula $\uparrow$
16758 \end_inset
16759
16760  3
16761 \begin_inset space \thinspace{}
16762 \end_inset
16763
16764 mm space between row 
16765 \begin_inset Formula $\uparrow$
16766 \end_inset
16767
16768
16769 \end_layout
16770
16771 \end_inset
16772 </cell>
16773 </row>
16774 </lyxtabular>
16775
16776 \end_inset
16777
16778
16779 \begin_inset space \hfill{}
16780 \end_inset
16781
16782
16783 \begin_inset space \hspace*{}
16784 \length 0pt
16785 \end_inset
16786
16787
16788 \begin_inset VSpace medskip
16789 \end_inset
16790
16791
16792 \begin_inset Newline newline
16793 \end_inset
16794
16795 So inserting space between rows for normal tables is only useful when you
16796  don't have vertical lines.
16797 \end_layout
16798
16799 \begin_layout Standard
16800 \begin_inset VSpace bigskip
16801 \end_inset
16802
16803 When you want to add extra height to all cells of all tables, you can do
16804  this with the following preamble lines:
16805 \end_layout
16806
16807 \begin_layout Standard
16808
16809 \series bold
16810
16811 \backslash
16812 @ifundefined{extrarowheight}
16813 \begin_inset Newline newline
16814 \end_inset
16815
16816
16817 \begin_inset Phantom HPhantom
16818 status open
16819
16820 \begin_layout Plain Layout
16821
16822 \series bold
16823 \begin_inset space ~
16824 \end_inset
16825
16826
16827 \end_layout
16828
16829 \end_inset
16830
16831 {
16832 \backslash
16833 usepackage{array}}{}
16834 \begin_inset Newline newline
16835 \end_inset
16836
16837
16838 \backslash
16839 setlength{
16840 \backslash
16841 extrarowheight}{height}
16842 \end_layout
16843
16844 \begin_layout Standard
16845 But this has the disadvantage that the cell texts are no longer exactly
16846  vertically centered.
16847  (The package 
16848 \series bold
16849 array
16850 \series default
16851  will be loaded automatically by LyX when you use self defined table formats.
16852  To avoid that it being loaded twice the command 
16853 \series bold
16854
16855 \backslash
16856 @ifundefined
16857 \series default
16858  is used in the above command.)
16859 \end_layout
16860
16861 \begin_layout Standard
16862 If you are using font sizes larger than the normal size, the table borders
16863  are often too close to the letters.
16864  This can be corrected by inserting the command 
16865 \series bold
16866
16867 \backslash
16868 strut
16869 \series default
16870  in TeX code at the beginning of a table row.
16871  Table
16872 \begin_inset space ~
16873 \end_inset
16874
16875
16876 \begin_inset CommandInset ref
16877 LatexCommand ref
16878 reference "tab:Vertical-alignment-of"
16879
16880 \end_inset
16881
16882  illustrates the effect.
16883 \end_layout
16884
16885 \begin_layout Standard
16886 \noindent
16887 \begin_inset Float table
16888 placement h
16889 wide false
16890 sideways false
16891 status open
16892
16893 \begin_layout Plain Layout
16894 \begin_inset Caption
16895
16896 \begin_layout Plain Layout
16897 \begin_inset CommandInset label
16898 LatexCommand label
16899 name "tab:Vertical-alignment-of"
16900
16901 \end_inset
16902
16903 Vertical alignment of text with large font sizes.
16904 \end_layout
16905
16906 \end_inset
16907
16908
16909 \end_layout
16910
16911 \begin_layout Plain Layout
16912 \begin_inset space \hfill{}
16913 \end_inset
16914
16915
16916 \begin_inset Float table
16917 wide false
16918 sideways false
16919 status collapsed
16920
16921 \begin_layout Plain Layout
16922 \begin_inset Caption
16923
16924 \begin_layout Plain Layout
16925 Normal table.
16926 \end_layout
16927
16928 \end_inset
16929
16930
16931 \end_layout
16932
16933 \begin_layout Plain Layout
16934 \noindent
16935 \align center
16936 \begin_inset Tabular
16937 <lyxtabular version="3" rows="6" columns="1">
16938 <features tabularvalignment="middle">
16939 <column alignment="left" valignment="top" width="0">
16940 <row>
16941 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Plain Layout
16945 Normal, g
16946 \end_layout
16947
16948 \end_inset
16949 </cell>
16950 </row>
16951 <row>
16952 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16953 \begin_inset Text
16954
16955 \begin_layout Plain Layout
16956
16957 \size large
16958 Large
16959 \end_layout
16960
16961 \end_inset
16962 </cell>
16963 </row>
16964 <row>
16965 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16966 \begin_inset Text
16967
16968 \begin_layout Plain Layout
16969
16970 \size larger
16971 Larger
16972 \end_layout
16973
16974 \end_inset
16975 </cell>
16976 </row>
16977 <row>
16978 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16979 \begin_inset Text
16980
16981 \begin_layout Plain Layout
16982
16983 \size largest
16984 Largest
16985 \end_layout
16986
16987 \end_inset
16988 </cell>
16989 </row>
16990 <row>
16991 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16992 \begin_inset Text
16993
16994 \begin_layout Plain Layout
16995
16996 \size huge
16997 Huge
16998 \end_layout
16999
17000 \end_inset
17001 </cell>
17002 </row>
17003 <row>
17004 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17005 \begin_inset Text
17006
17007 \begin_layout Plain Layout
17008
17009 \size huge
17010 Huger
17011 \end_layout
17012
17013 \end_inset
17014 </cell>
17015 </row>
17016 </lyxtabular>
17017
17018 \end_inset
17019
17020
17021 \end_layout
17022
17023 \end_inset
17024
17025
17026 \begin_inset space \hfill{}
17027 \end_inset
17028
17029
17030 \begin_inset Float table
17031 wide false
17032 sideways false
17033 status collapsed
17034
17035 \begin_layout Plain Layout
17036 \begin_inset Caption
17037
17038 \begin_layout Plain Layout
17039 Table using the command 
17040 \series bold
17041
17042 \backslash
17043 strut
17044 \series default
17045 .
17046 \end_layout
17047
17048 \end_inset
17049
17050
17051 \end_layout
17052
17053 \begin_layout Plain Layout
17054 \noindent
17055 \align center
17056 \begin_inset Tabular
17057 <lyxtabular version="3" rows="6" columns="1">
17058 <features tabularvalignment="middle">
17059 <column alignment="left" valignment="top" width="0">
17060 <row>
17061 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17062 \begin_inset Text
17063
17064 \begin_layout Plain Layout
17065 Normal, g
17066 \end_layout
17067
17068 \end_inset
17069 </cell>
17070 </row>
17071 <row>
17072 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17073 \begin_inset Text
17074
17075 \begin_layout Plain Layout
17076
17077 \size large
17078 \begin_inset ERT
17079 status collapsed
17080
17081 \begin_layout Plain Layout
17082
17083
17084 \backslash
17085 strut 
17086 \end_layout
17087
17088 \end_inset
17089
17090 Large
17091 \end_layout
17092
17093 \end_inset
17094 </cell>
17095 </row>
17096 <row>
17097 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17098 \begin_inset Text
17099
17100 \begin_layout Plain Layout
17101
17102 \size larger
17103 \begin_inset ERT
17104 status collapsed
17105
17106 \begin_layout Plain Layout
17107
17108
17109 \backslash
17110 strut 
17111 \end_layout
17112
17113 \end_inset
17114
17115 Larger
17116 \end_layout
17117
17118 \end_inset
17119 </cell>
17120 </row>
17121 <row>
17122 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17123 \begin_inset Text
17124
17125 \begin_layout Plain Layout
17126
17127 \size largest
17128 \begin_inset ERT
17129 status collapsed
17130
17131 \begin_layout Plain Layout
17132
17133
17134 \backslash
17135 strut 
17136 \end_layout
17137
17138 \end_inset
17139
17140 Largest
17141 \end_layout
17142
17143 \end_inset
17144 </cell>
17145 </row>
17146 <row>
17147 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17148 \begin_inset Text
17149
17150 \begin_layout Plain Layout
17151
17152 \size huge
17153 \begin_inset ERT
17154 status collapsed
17155
17156 \begin_layout Plain Layout
17157
17158
17159 \backslash
17160 strut 
17161 \end_layout
17162
17163 \end_inset
17164
17165 Huge
17166 \end_layout
17167
17168 \end_inset
17169 </cell>
17170 </row>
17171 <row>
17172 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17173 \begin_inset Text
17174
17175 \begin_layout Plain Layout
17176
17177 \size giant
17178 \begin_inset ERT
17179 status collapsed
17180
17181 \begin_layout Plain Layout
17182
17183
17184 \backslash
17185 strut 
17186 \end_layout
17187
17188 \end_inset
17189
17190
17191 \size huge
17192 Huger
17193 \end_layout
17194
17195 \end_inset
17196 </cell>
17197 </row>
17198 </lyxtabular>
17199
17200 \end_inset
17201
17202
17203 \end_layout
17204
17205 \end_inset
17206
17207
17208 \begin_inset space \hfill{}
17209 \end_inset
17210
17211
17212 \end_layout
17213
17214 \end_inset
17215
17216
17217 \end_layout
17218
17219 \begin_layout Subsection
17220 Special Cell Alignment
17221 \begin_inset CommandInset label
17222 LatexCommand label
17223 name "sub:Special-Cell-Alignment"
17224
17225 \end_inset
17226
17227
17228 \begin_inset Index idx
17229 status collapsed
17230
17231 \begin_layout Plain Layout
17232 Table Customization ! Special Cell Alignment
17233 \end_layout
17234
17235 \end_inset
17236
17237
17238 \end_layout
17239
17240 \begin_layout Standard
17241 Sometimes it looks better when the cell entries of a column are aligned
17242  with a special character, e.
17243 \begin_inset space \thinspace{}
17244 \end_inset
17245
17246 g.
17247 \begin_inset space \space{}
17248 \end_inset
17249
17250 with the decimal separator as in Table
17251 \begin_inset space ~
17252 \end_inset
17253
17254
17255 \begin_inset CommandInset ref
17256 LatexCommand ref
17257 reference "tab:Table-cells-align"
17258
17259 \end_inset
17260
17261 .
17262  This alignment is achieved by setting the cursor into the column and then
17263  either pressing the toolbar button 
17264 \begin_inset Graphics
17265         filename ../images/tabular-feature_align-decimal.png
17266         scale 85
17267         scaleBeforeRotation
17268
17269 \end_inset
17270
17271  or setting the alignment in the table settings to 
17272 \family sans
17273 At
17274 \begin_inset space ~
17275 \end_inset
17276
17277 Decimal
17278 \begin_inset space ~
17279 \end_inset
17280
17281 Separator
17282 \family default
17283 .
17284  The alignment character can be a character of your choice and is specified
17285  in the table settings.
17286 \end_layout
17287
17288 \begin_layout Standard
17289 \begin_inset Float table
17290 placement h
17291 wide false
17292 sideways false
17293 status open
17294
17295 \begin_layout Plain Layout
17296 \begin_inset Caption
17297
17298 \begin_layout Plain Layout
17299 \begin_inset CommandInset label
17300 LatexCommand label
17301 name "tab:Table-cells-align"
17302
17303 \end_inset
17304
17305 Table cells of a column aligned with the decimal separator.
17306 \end_layout
17307
17308 \end_inset
17309
17310
17311 \end_layout
17312
17313 \begin_layout Plain Layout
17314 \align center
17315 \begin_inset Tabular
17316 <lyxtabular version="3" rows="4" columns="1">
17317 <features booktabs="true" tabularvalignment="middle">
17318 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17319 <row>
17320 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17321 \begin_inset Text
17322
17323 \begin_layout Plain Layout
17324 heading
17325 \end_layout
17326
17327 \end_inset
17328 </cell>
17329 </row>
17330 <row>
17331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17332 \begin_inset Text
17333
17334 \begin_layout Plain Layout
17335 12.6
17336 \end_layout
17337
17338 \end_inset
17339 </cell>
17340 </row>
17341 <row>
17342 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17343 \begin_inset Text
17344
17345 \begin_layout Plain Layout
17346 0.68
17347 \end_layout
17348
17349 \end_inset
17350 </cell>
17351 </row>
17352 <row>
17353 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17354 \begin_inset Text
17355
17356 \begin_layout Plain Layout
17357 -123.0
17358 \end_layout
17359
17360 \end_inset
17361 </cell>
17362 </row>
17363 </lyxtabular>
17364
17365 \end_inset
17366
17367
17368 \end_layout
17369
17370 \end_inset
17371
17372
17373 \end_layout
17374
17375 \begin_layout Standard
17376 \begin_inset Float table
17377 placement h
17378 wide false
17379 sideways false
17380 status open
17381
17382 \begin_layout Plain Layout
17383 \begin_inset Caption
17384
17385 \begin_layout Plain Layout
17386 \begin_inset CommandInset label
17387 LatexCommand label
17388 name "tab:Table-align-operator"
17389
17390 \end_inset
17391
17392 Table cells of a column aligned with the operators.
17393 \end_layout
17394
17395 \end_inset
17396
17397
17398 \end_layout
17399
17400 \begin_layout Plain Layout
17401 \align center
17402 \begin_inset Tabular
17403 <lyxtabular version="3" rows="4" columns="2">
17404 <features booktabs="true" tabularvalignment="middle">
17405 <column alignment="right" valignment="top" width="0pt">
17406 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17407 <row>
17408 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17409 \begin_inset Text
17410
17411 \begin_layout Plain Layout
17412 heading
17413 \end_layout
17414
17415 \end_inset
17416 </cell>
17417 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17418 \begin_inset Text
17419
17420 \begin_layout Plain Layout
17421
17422 \end_layout
17423
17424 \end_inset
17425 </cell>
17426 </row>
17427 <row>
17428 <cell alignment="center" valignment="top" usebox="none">
17429 \begin_inset Text
17430
17431 \begin_layout Plain Layout
17432 \begin_inset Formula $12\,+$
17433 \end_inset
17434
17435
17436 \end_layout
17437
17438 \end_inset
17439 </cell>
17440 <cell alignment="center" valignment="top" usebox="none">
17441 \begin_inset Text
17442
17443 \begin_layout Plain Layout
17444 \begin_inset Formula $\,6$
17445 \end_inset
17446
17447
17448 \end_layout
17449
17450 \end_inset
17451 </cell>
17452 </row>
17453 <row>
17454 <cell alignment="center" valignment="top" usebox="none">
17455 \begin_inset Text
17456
17457 \begin_layout Plain Layout
17458 \begin_inset Formula $0\,-$
17459 \end_inset
17460
17461
17462 \end_layout
17463
17464 \end_inset
17465 </cell>
17466 <cell alignment="center" valignment="top" usebox="none">
17467 \begin_inset Text
17468
17469 \begin_layout Plain Layout
17470 \begin_inset Formula $\,68$
17471 \end_inset
17472
17473
17474 \end_layout
17475
17476 \end_inset
17477 </cell>
17478 </row>
17479 <row>
17480 <cell alignment="center" valignment="top" usebox="none">
17481 \begin_inset Text
17482
17483 \begin_layout Plain Layout
17484 \begin_inset Formula $-123\,/$
17485 \end_inset
17486
17487
17488 \end_layout
17489
17490 \end_inset
17491 </cell>
17492 <cell alignment="center" valignment="top" usebox="none">
17493 \begin_inset Text
17494
17495 \begin_layout Plain Layout
17496 \begin_inset Formula $\,0$
17497 \end_inset
17498
17499
17500 \end_layout
17501
17502 \end_inset
17503 </cell>
17504 </row>
17505 </lyxtabular>
17506
17507 \end_inset
17508
17509
17510 \end_layout
17511
17512 \end_inset
17513
17514
17515 \end_layout
17516
17517 \begin_layout Standard
17518 For alignments at characters in formulas this method does not work because
17519  the field to specify the alignment character does not allow formulas.
17520  In this case one need to use the method from Table
17521 \begin_inset space ~
17522 \end_inset
17523
17524
17525 \begin_inset CommandInset ref
17526 LatexCommand ref
17527 reference "tab:Table-align-operator"
17528
17529 \end_inset
17530
17531 .
17532  This table was created with a 4×2 table.
17533  The heading is a centered multicolumn.
17534  The first column is right-aligned and contains the first part including
17535  the operator.
17536  The second column is left aligned and contains the rest.
17537  A small space was added at the beginning of each cell of the second column
17538  to get the space that is usually around operators.
17539  To omit the space that is normally between two table columns, the following
17540  LaTeX-argument was used for the second column:
17541 \end_layout
17542
17543 \begin_layout Standard
17544
17545 \series bold
17546 @{}l
17547 \end_layout
17548
17549 \begin_layout Standard
17550 Table
17551 \begin_inset space ~
17552 \end_inset
17553
17554
17555 \begin_inset CommandInset ref
17556 LatexCommand ref
17557 reference "tab:Several-table-cell"
17558
17559 \end_inset
17560
17561  shows some example alignments.
17562  For the alignment with the relation sign, a small space was added like
17563  for the second column of Table
17564 \begin_inset space ~
17565 \end_inset
17566
17567
17568 \begin_inset CommandInset ref
17569 LatexCommand ref
17570 reference "tab:Table-align-operator"
17571
17572 \end_inset
17573
17574 .
17575 \end_layout
17576
17577 \begin_layout Standard
17578 \begin_inset Float table
17579 placement h
17580 wide false
17581 sideways false
17582 status open
17583
17584 \begin_layout Plain Layout
17585 \begin_inset Caption
17586
17587 \begin_layout Plain Layout
17588 \begin_inset CommandInset label
17589 LatexCommand label
17590 name "tab:Several-table-cell"
17591
17592 \end_inset
17593
17594 Several table cell alignments.
17595 \end_layout
17596
17597 \end_inset
17598
17599
17600 \end_layout
17601
17602 \begin_layout Plain Layout
17603 \align center
17604 \begin_inset Tabular
17605 <lyxtabular version="3" rows="4" columns="6">
17606 <features tabularvalignment="middle">
17607 <column alignment="right" valignment="top" width="0">
17608 <column alignment="left" valignment="top" width="0" special="@{}l">
17609 <column alignment="right" valignment="top" width="0">
17610 <column alignment="left" valignment="top" width="0" special="@{}l">
17611 <column alignment="right" valignment="top" width="0">
17612 <column alignment="left" valignment="top" width="0" special="@{}l">
17613 <row>
17614 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17615 \begin_inset Text
17616
17617 \begin_layout Plain Layout
17618 units
17619 \end_layout
17620
17621 \end_inset
17622 </cell>
17623 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17624 \begin_inset Text
17625
17626 \begin_layout Plain Layout
17627
17628 \end_layout
17629
17630 \end_inset
17631 </cell>
17632 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17633 \begin_inset Text
17634
17635 \begin_layout Plain Layout
17636 exponents
17637 \end_layout
17638
17639 \end_inset
17640 </cell>
17641 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17642 \begin_inset Text
17643
17644 \begin_layout Plain Layout
17645
17646 \end_layout
17647
17648 \end_inset
17649 </cell>
17650 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17651 \begin_inset Text
17652
17653 \begin_layout Plain Layout
17654 relations
17655 \end_layout
17656
17657 \end_inset
17658 </cell>
17659 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17660 \begin_inset Text
17661
17662 \begin_layout Plain Layout
17663
17664 \end_layout
17665
17666 \end_inset
17667 </cell>
17668 </row>
17669 <row>
17670 <cell alignment="center" valignment="top" usebox="none">
17671 \begin_inset Text
17672
17673 \begin_layout Plain Layout
17674 12×
17675 \end_layout
17676
17677 \end_inset
17678 </cell>
17679 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17680 \begin_inset Text
17681
17682 \begin_layout Plain Layout
17683 24
17684 \begin_inset space \thinspace{}
17685 \end_inset
17686
17687 bottles
17688 \end_layout
17689
17690 \end_inset
17691 </cell>
17692 <cell alignment="center" valignment="top" usebox="none">
17693 \begin_inset Text
17694
17695 \begin_layout Plain Layout
17696 \begin_inset Formula $10\cdot$
17697 \end_inset
17698
17699
17700 \end_layout
17701
17702 \end_inset
17703 </cell>
17704 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17705 \begin_inset Text
17706
17707 \begin_layout Plain Layout
17708 \begin_inset Formula $10^{\mbox{-}17}$
17709 \end_inset
17710
17711
17712 \end_layout
17713
17714 \end_inset
17715 </cell>
17716 <cell alignment="center" valignment="top" usebox="none">
17717 \begin_inset Text
17718
17719 \begin_layout Plain Layout
17720 \begin_inset Formula $\Gamma(t)\propto$
17721 \end_inset
17722
17723
17724 \end_layout
17725
17726 \end_inset
17727 </cell>
17728 <cell alignment="center" valignment="top" usebox="none">
17729 \begin_inset Text
17730
17731 \begin_layout Plain Layout
17732 \begin_inset Formula $\:\Upsilon(t)$
17733 \end_inset
17734
17735
17736 \end_layout
17737
17738 \end_inset
17739 </cell>
17740 </row>
17741 <row>
17742 <cell alignment="center" valignment="top" usebox="none">
17743 \begin_inset Text
17744
17745 \begin_layout Plain Layout
17746 1024×
17747 \end_layout
17748
17749 \end_inset
17750 </cell>
17751 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17752 \begin_inset Text
17753
17754 \begin_layout Plain Layout
17755 768
17756 \begin_inset space \thinspace{}
17757 \end_inset
17758
17759 Pixels
17760 \end_layout
17761
17762 \end_inset
17763 </cell>
17764 <cell alignment="center" valignment="top" usebox="none">
17765 \begin_inset Text
17766
17767 \begin_layout Plain Layout
17768 \begin_inset Formula $5.78\cdot$
17769 \end_inset
17770
17771
17772 \end_layout
17773
17774 \end_inset
17775 </cell>
17776 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17777 \begin_inset Text
17778
17779 \begin_layout Plain Layout
17780 \begin_inset Formula $10^{7}$
17781 \end_inset
17782
17783
17784 \end_layout
17785
17786 \end_inset
17787 </cell>
17788 <cell alignment="center" valignment="top" usebox="none">
17789 \begin_inset Text
17790
17791 \begin_layout Plain Layout
17792 \begin_inset Formula $A\ne$
17793 \end_inset
17794
17795
17796 \end_layout
17797
17798 \end_inset
17799 </cell>
17800 <cell alignment="center" valignment="top" usebox="none">
17801 \begin_inset Text
17802
17803 \begin_layout Plain Layout
17804 \begin_inset Formula $\: B_{\mathrm{red}}$
17805 \end_inset
17806
17807
17808 \end_layout
17809
17810 \end_inset
17811 </cell>
17812 </row>
17813 <row>
17814 <cell alignment="center" valignment="top" usebox="none">
17815 \begin_inset Text
17816
17817 \begin_layout Plain Layout
17818 32×
17819 \end_layout
17820
17821 \end_inset
17822 </cell>
17823 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17824 \begin_inset Text
17825
17826 \begin_layout Plain Layout
17827 6
17828 \begin_inset space \thinspace{}
17829 \end_inset
17830
17831 cm
17832 \end_layout
17833
17834 \end_inset
17835 </cell>
17836 <cell alignment="center" valignment="top" usebox="none">
17837 \begin_inset Text
17838
17839 \begin_layout Plain Layout
17840 -
17841 \begin_inset Formula $33.5\cdot$
17842 \end_inset
17843
17844
17845 \end_layout
17846
17847 \end_inset
17848 </cell>
17849 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17850 \begin_inset Text
17851
17852 \begin_layout Plain Layout
17853 \begin_inset Formula $10^{4}$
17854 \end_inset
17855
17856
17857 \end_layout
17858
17859 \end_inset
17860 </cell>
17861 <cell alignment="center" valignment="top" usebox="none">
17862 \begin_inset Text
17863
17864 \begin_layout Plain Layout
17865 \begin_inset Formula $\sin(\alpha)\ge$
17866 \end_inset
17867
17868
17869 \end_layout
17870
17871 \end_inset
17872 </cell>
17873 <cell alignment="center" valignment="top" usebox="none">
17874 \begin_inset Text
17875
17876 \begin_layout Plain Layout
17877 \begin_inset Formula $\:\sin(\beta)$
17878 \end_inset
17879
17880
17881 \end_layout
17882
17883 \end_inset
17884 </cell>
17885 </row>
17886 </lyxtabular>
17887
17888 \end_inset
17889
17890
17891 \end_layout
17892
17893 \end_inset
17894
17895
17896 \end_layout
17897
17898 \begin_layout Subsection
17899 Customized Cell/Column Format
17900 \begin_inset CommandInset label
17901 LatexCommand label
17902 name "sub:Customized-Format"
17903
17904 \end_inset
17905
17906
17907 \begin_inset Index idx
17908 status collapsed
17909
17910 \begin_layout Plain Layout
17911 Table Customization ! Cell/Column Format
17912 \end_layout
17913
17914 \end_inset
17915
17916
17917 \end_layout
17918
17919 \begin_layout Standard
17920 Calculating the required width for spanned columns as in section
17921 \begin_inset space ~
17922 \end_inset
17923
17924
17925 \begin_inset CommandInset ref
17926 LatexCommand ref
17927 reference "sub:Multicolumn-Calculations"
17928
17929 \end_inset
17930
17931  is very annoying if you have several tables with multicolumn cells.
17932  To make life easier, you can define a cell/column format in the preamble,
17933  so that it can be used in all tables of the document.
17934  The format is defined with the command
17935 \end_layout
17936
17937 \begin_layout Standard
17938
17939 \series bold
17940
17941 \backslash
17942 newcolumntype{name of format}[number of arguments]{commands}
17943 \end_layout
17944
17945 \begin_layout Standard
17946 The format name may only consist of one letter.
17947  The letters 
17948 \emph on
17949 b
17950 \emph default
17951
17952 \emph on
17953 c
17954 \emph default
17955
17956 \emph on
17957 l
17958 \emph default
17959
17960 \emph on
17961 m
17962 \emph default
17963
17964 \emph on
17965 p
17966 \emph default
17967  and 
17968 \emph on
17969 r
17970 \emph default
17971  are predefined and cannot be used.
17972  But all letters are allowed as capitals.
17973 \end_layout
17974
17975 \begin_layout Standard
17976 \begin_inset VSpace medskip
17977 \end_inset
17978
17979
17980 \end_layout
17981
17982 \begin_layout Standard
17983 For vertically and horizontally centered multicolumn cells with a fixed
17984  width you can define the cell format
17985 \end_layout
17986
17987 \begin_layout Standard
17988
17989 \series bold
17990
17991 \backslash
17992 newcolumntype{M}[1]{>{
17993 \backslash
17994 centering
17995 \backslash
17996 hspace{0pt}}m{#1}}
17997 \end_layout
17998
17999 \begin_layout Standard
18000 where 
18001 \series bold
18002
18003 \backslash
18004 hspace{0pt}
18005 \series default
18006  avoids the problem of hyphenating the first word, as described in section
18007 \begin_inset space ~
18008 \end_inset
18009
18010
18011 \begin_inset CommandInset ref
18012 LatexCommand ref
18013 reference "sub:Multiple-Lines-in"
18014
18015 \end_inset
18016
18017 .
18018  Now you can simply enter
18019 \end_layout
18020
18021 \begin_layout Standard
18022
18023 \series bold
18024 M{width}
18025 \end_layout
18026
18027 \begin_layout Standard
18028 as LaTeX-argument in the table dialog to create a multicolumn.
18029 \end_layout
18030
18031 \begin_layout Standard
18032 \begin_inset VSpace bigskip
18033 \end_inset
18034
18035
18036 \end_layout
18037
18038 \begin_layout Standard
18039 For cells spanned by a multicolumn cell, you can define the format
18040 \end_layout
18041
18042 \begin_layout Standard
18043
18044 \series bold
18045
18046 \backslash
18047 newcolumntype{S}[2]{>{
18048 \backslash
18049 centering
18050 \backslash
18051 hspace{0pt}}
18052 \begin_inset Newline newline
18053 \end_inset
18054
18055
18056 \begin_inset Phantom HPhantom
18057 status open
18058
18059 \begin_layout Plain Layout
18060
18061 \series bold
18062
18063 \backslash
18064 newcolumntype
18065 \end_layout
18066
18067 \end_inset
18068
18069 m{(#1+(2
18070 \backslash
18071 tabcolsep+
18072 \backslash
18073 arrayrulewidth)*(1-#2))/#2}}
18074 \end_layout
18075
18076 \begin_layout Standard
18077 This format uses equation 
18078 \begin_inset CommandInset ref
18079 LatexCommand eqref
18080 reference "eq:Wgn"
18081
18082 \end_inset
18083
18084  to calculate the required width so that each spanned cell has the same
18085  width.
18086 \end_layout
18087
18088 \begin_layout Standard
18089 You can now enter
18090 \end_layout
18091
18092 \begin_layout Standard
18093
18094 \series bold
18095 S{width of multicolumn cell}{number of spanned columns}
18096 \end_layout
18097
18098 \begin_layout Standard
18099 as LaTeX-argument of the column.
18100 \end_layout
18101
18102 \begin_layout Standard
18103 \begin_inset VSpace bigskip
18104 \end_inset
18105
18106
18107 \end_layout
18108
18109 \begin_layout Standard
18110 For colored columns, you can define
18111 \end_layout
18112
18113 \begin_layout Standard
18114
18115 \series bold
18116
18117 \backslash
18118 newcolumntype{K}[1]{>{
18119 \backslash
18120 columncolor{#1}
18121 \backslash
18122 hspace{0pt}}c}
18123 \end_layout
18124
18125 \begin_layout Standard
18126 The 
18127 \begin_inset Quotes eld
18128 \end_inset
18129
18130 c
18131 \begin_inset Quotes erd
18132 \end_inset
18133
18134  at the end creates a column with a flexible width whose text is horizontally
18135  centered.
18136  You can now enter
18137 \end_layout
18138
18139 \begin_layout Standard
18140
18141 \series bold
18142 K{color name}
18143 \end_layout
18144
18145 \begin_layout Standard
18146 as LaTeX-argument.
18147 \end_layout
18148
18149 \begin_layout Standard
18150 \begin_inset VSpace bigskip
18151 \end_inset
18152
18153
18154 \end_layout
18155
18156 \begin_layout Standard
18157 To create Table
18158 \begin_inset space ~
18159 \end_inset
18160
18161
18162 \begin_inset CommandInset ref
18163 LatexCommand ref
18164 reference "tab:Table-using-user-defined"
18165
18166 \end_inset
18167
18168  use the LaTeX-arguments
18169 \end_layout
18170
18171 \begin_layout Standard
18172
18173 \series bold
18174 M{2.5cm}
18175 \end_layout
18176
18177 \begin_layout Standard
18178 for the first column and the multicolumn,
18179 \end_layout
18180
18181 \begin_layout Standard
18182
18183 \series bold
18184 K{red}
18185 \end_layout
18186
18187 \begin_layout Standard
18188 for the last column, and
18189 \end_layout
18190
18191 \begin_layout Standard
18192
18193 \series bold
18194 S{2.5cm}{2}
18195 \end_layout
18196
18197 \begin_layout Standard
18198 for the cells in the second column.
18199 \end_layout
18200
18201 \begin_layout Standard
18202 \begin_inset Float table
18203 placement h
18204 wide false
18205 sideways false
18206 status open
18207
18208 \begin_layout Plain Layout
18209 \begin_inset Caption
18210
18211 \begin_layout Plain Layout
18212 \begin_inset CommandInset label
18213 LatexCommand label
18214 name "tab:Table-using-user-defined"
18215
18216 \end_inset
18217
18218 Table using user-defined table formats
18219 \end_layout
18220
18221 \end_inset
18222
18223
18224 \end_layout
18225
18226 \begin_layout Plain Layout
18227 \align center
18228 \begin_inset Tabular
18229 <lyxtabular version="3" rows="3" columns="4">
18230 <features tabularvalignment="middle">
18231 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18232 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18233 <column alignment="center" valignment="middle" width="0">
18234 <column alignment="center" valignment="middle" width="0" special="K{red}">
18235 <row>
18236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18237 \begin_inset Text
18238
18239 \begin_layout Plain Layout
18240 verylongtablecellword
18241 \end_layout
18242
18243 \end_inset
18244 </cell>
18245 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18246 \begin_inset Text
18247
18248 \begin_layout Plain Layout
18249 multiple lines multicolumn
18250 \end_layout
18251
18252 \end_inset
18253 </cell>
18254 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18255 \begin_inset Text
18256
18257 \begin_layout Plain Layout
18258
18259 \end_layout
18260
18261 \end_inset
18262 </cell>
18263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18264 \begin_inset Text
18265
18266 \begin_layout Plain Layout
18267 c
18268 \end_layout
18269
18270 \end_inset
18271 </cell>
18272 </row>
18273 <row>
18274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18275 \begin_inset Text
18276
18277 \begin_layout Plain Layout
18278 d
18279 \end_layout
18280
18281 \end_inset
18282 </cell>
18283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18284 \begin_inset Text
18285
18286 \begin_layout Plain Layout
18287 e
18288 \end_layout
18289
18290 \end_inset
18291 </cell>
18292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18293 \begin_inset Text
18294
18295 \begin_layout Plain Layout
18296 f
18297 \end_layout
18298
18299 \end_inset
18300 </cell>
18301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18302 \begin_inset Text
18303
18304 \begin_layout Plain Layout
18305 g
18306 \end_layout
18307
18308 \end_inset
18309 </cell>
18310 </row>
18311 <row>
18312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18313 \begin_inset Text
18314
18315 \begin_layout Plain Layout
18316 h
18317 \end_layout
18318
18319 \end_inset
18320 </cell>
18321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18322 \begin_inset Text
18323
18324 \begin_layout Plain Layout
18325 i
18326 \end_layout
18327
18328 \end_inset
18329 </cell>
18330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18331 \begin_inset Text
18332
18333 \begin_layout Plain Layout
18334 j
18335 \end_layout
18336
18337 \end_inset
18338 </cell>
18339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18340 \begin_inset Text
18341
18342 \begin_layout Plain Layout
18343 k
18344 \end_layout
18345
18346 \end_inset
18347 </cell>
18348 </row>
18349 </lyxtabular>
18350
18351 \end_inset
18352
18353
18354 \end_layout
18355
18356 \end_inset
18357
18358
18359 \end_layout
18360
18361 \begin_layout Subsection
18362 Line Thickness
18363 \begin_inset CommandInset label
18364 LatexCommand label
18365 name "sub:Line-Thickness"
18366
18367 \end_inset
18368
18369
18370 \begin_inset Index idx
18371 status collapsed
18372
18373 \begin_layout Plain Layout
18374 Table Customization ! Line Thickness
18375 \end_layout
18376
18377 \end_inset
18378
18379
18380 \end_layout
18381
18382 \begin_layout Standard
18383 The line thickness for all lines in a table can be adjusted with the length
18384  
18385 \series bold
18386
18387 \backslash
18388 arrayrulewidth
18389 \series default
18390 .
18391  To set for example a line thickness of 1.5
18392 \begin_inset space \thinspace{}
18393 \end_inset
18394
18395 pt, as in Table
18396 \begin_inset space ~
18397 \end_inset
18398
18399
18400 \begin_inset CommandInset ref
18401 LatexCommand ref
18402 reference "tab:Table-with-1.5"
18403
18404 \end_inset
18405
18406 , insert the command
18407 \end_layout
18408
18409 \begin_layout Standard
18410
18411 \series bold
18412
18413 \backslash
18414 setlength{
18415 \backslash
18416 arrayrulewidth}{1.5pt}
18417 \end_layout
18418
18419 \begin_layout Standard
18420 in TeX-Code before the table or table float.
18421  The changed thickness is valid for all subsequent tables.
18422  To use the default value again, set 
18423 \series bold
18424
18425 \backslash
18426 arrayrulewidth
18427 \series default
18428  to 0.4
18429 \begin_inset space \thinspace{}
18430 \end_inset
18431
18432 pt in TeX-Code after the table or table float.
18433 \end_layout
18434
18435 \begin_layout Standard
18436 \begin_inset ERT
18437 status collapsed
18438
18439 \begin_layout Plain Layout
18440
18441
18442 \backslash
18443 setlength{
18444 \backslash
18445 arrayrulewidth}{1.5pt}
18446 \end_layout
18447
18448 \end_inset
18449
18450
18451 \begin_inset Float table
18452 wide false
18453 sideways false
18454 status open
18455
18456 \begin_layout Plain Layout
18457 \begin_inset Caption
18458
18459 \begin_layout Plain Layout
18460 \begin_inset CommandInset label
18461 LatexCommand label
18462 name "tab:Table-with-1.5"
18463
18464 \end_inset
18465
18466 Table with 1.5
18467 \begin_inset space \thinspace{}
18468 \end_inset
18469
18470 pt thick lines
18471 \end_layout
18472
18473 \end_inset
18474
18475
18476 \end_layout
18477
18478 \begin_layout Plain Layout
18479 \align center
18480 \begin_inset Tabular
18481 <lyxtabular version="3" rows="3" columns="3">
18482 <features tabularvalignment="middle">
18483 <column alignment="center" valignment="top" width="0">
18484 <column alignment="center" valignment="top" width="0">
18485 <column alignment="center" valignment="top" width="0">
18486 <row>
18487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18488 \begin_inset Text
18489
18490 \begin_layout Plain Layout
18491 sd
18492 \end_layout
18493
18494 \end_inset
18495 </cell>
18496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18497 \begin_inset Text
18498
18499 \begin_layout Plain Layout
18500
18501 \end_layout
18502
18503 \end_inset
18504 </cell>
18505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18506 \begin_inset Text
18507
18508 \begin_layout Plain Layout
18509
18510 \end_layout
18511
18512 \end_inset
18513 </cell>
18514 </row>
18515 <row>
18516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18517 \begin_inset Text
18518
18519 \begin_layout Plain Layout
18520
18521 \end_layout
18522
18523 \end_inset
18524 </cell>
18525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18526 \begin_inset Text
18527
18528 \begin_layout Plain Layout
18529 sd
18530 \end_layout
18531
18532 \end_inset
18533 </cell>
18534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18535 \begin_inset Text
18536
18537 \begin_layout Plain Layout
18538
18539 \end_layout
18540
18541 \end_inset
18542 </cell>
18543 </row>
18544 <row>
18545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18546 \begin_inset Text
18547
18548 \begin_layout Plain Layout
18549
18550 \end_layout
18551
18552 \end_inset
18553 </cell>
18554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18555 \begin_inset Text
18556
18557 \begin_layout Plain Layout
18558
18559 \end_layout
18560
18561 \end_inset
18562 </cell>
18563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18564 \begin_inset Text
18565
18566 \begin_layout Plain Layout
18567 sd
18568 \end_layout
18569
18570 \end_inset
18571 </cell>
18572 </row>
18573 </lyxtabular>
18574
18575 \end_inset
18576
18577
18578 \end_layout
18579
18580 \end_inset
18581
18582
18583 \begin_inset ERT
18584 status collapsed
18585
18586 \begin_layout Plain Layout
18587
18588
18589 \backslash
18590 setlength{
18591 \backslash
18592 arrayrulewidth}{0.4pt}
18593 \end_layout
18594
18595 \end_inset
18596
18597
18598 \end_layout
18599
18600 \begin_layout Standard
18601 \begin_inset VSpace bigskip
18602 \end_inset
18603
18604 To set the line thickness to 1.5
18605 \begin_inset space \thinspace{}
18606 \end_inset
18607
18608 pt only for horizontal lines, as in Table
18609 \begin_inset space ~
18610 \end_inset
18611
18612
18613 \begin_inset CommandInset ref
18614 LatexCommand ref
18615 reference "tab:Table-with-horizontal"
18616
18617 \end_inset
18618
18619 , insert these commands in TeX-Code before the table or table float:
18620 \end_layout
18621
18622 \begin_layout Standard
18623
18624 \series bold
18625
18626 \backslash
18627 let
18628 \backslash
18629 myHline
18630 \backslash
18631 hline
18632 \begin_inset Newline newline
18633 \end_inset
18634
18635
18636 \backslash
18637 renewcommand{
18638 \backslash
18639 hline}
18640 \begin_inset Newline newline
18641 \end_inset
18642
18643  {
18644 \backslash
18645 noalign{
18646 \backslash
18647 global
18648 \backslash
18649 arrayrulewidth 1.5pt}
18650 \begin_inset Newline newline
18651 \end_inset
18652
18653  
18654 \backslash
18655 myHline
18656 \backslash
18657 noalign{
18658 \backslash
18659 global
18660 \backslash
18661 arrayrulewidth 0.4pt}}
18662 \end_layout
18663
18664 \begin_layout Standard
18665 To return to the default line thickness, insert this command in TeX-Code
18666  after the table or table float:
18667 \end_layout
18668
18669 \begin_layout Standard
18670
18671 \series bold
18672
18673 \backslash
18674 renewcommand{
18675 \backslash
18676 hline}{
18677 \backslash
18678 myHline}
18679 \end_layout
18680
18681 \begin_layout Standard
18682 \begin_inset ERT
18683 status collapsed
18684
18685 \begin_layout Plain Layout
18686
18687
18688 \backslash
18689 let
18690 \backslash
18691 myHline
18692 \backslash
18693 hline
18694 \end_layout
18695
18696 \begin_layout Plain Layout
18697
18698
18699 \backslash
18700 renewcommand{
18701 \backslash
18702 hline}
18703 \end_layout
18704
18705 \begin_layout Plain Layout
18706
18707  {
18708 \backslash
18709 noalign{
18710 \backslash
18711 global
18712 \backslash
18713 arrayrulewidth 1.5pt}
18714 \end_layout
18715
18716 \begin_layout Plain Layout
18717
18718   
18719 \backslash
18720 myHline
18721 \backslash
18722 noalign{
18723 \backslash
18724 global
18725 \backslash
18726 arrayrulewidth 0.4pt}}
18727 \end_layout
18728
18729 \end_inset
18730
18731
18732 \begin_inset Float table
18733 wide false
18734 sideways false
18735 status open
18736
18737 \begin_layout Plain Layout
18738 \begin_inset Caption
18739
18740 \begin_layout Plain Layout
18741 \begin_inset CommandInset label
18742 LatexCommand label
18743 name "tab:Table-with-horizontal"
18744
18745 \end_inset
18746
18747 Table with 1.5
18748 \begin_inset space \thinspace{}
18749 \end_inset
18750
18751 pt thick horizontal lines
18752 \end_layout
18753
18754 \end_inset
18755
18756
18757 \end_layout
18758
18759 \begin_layout Plain Layout
18760 \align center
18761 \begin_inset Tabular
18762 <lyxtabular version="3" rows="3" columns="3">
18763 <features tabularvalignment="middle">
18764 <column alignment="center" valignment="top" width="0">
18765 <column alignment="center" valignment="top" width="0">
18766 <column alignment="center" valignment="top" width="0">
18767 <row>
18768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18769 \begin_inset Text
18770
18771 \begin_layout Plain Layout
18772 sd
18773 \end_layout
18774
18775 \end_inset
18776 </cell>
18777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18778 \begin_inset Text
18779
18780 \begin_layout Plain Layout
18781
18782 \end_layout
18783
18784 \end_inset
18785 </cell>
18786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18787 \begin_inset Text
18788
18789 \begin_layout Plain Layout
18790
18791 \end_layout
18792
18793 \end_inset
18794 </cell>
18795 </row>
18796 <row>
18797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18798 \begin_inset Text
18799
18800 \begin_layout Plain Layout
18801
18802 \end_layout
18803
18804 \end_inset
18805 </cell>
18806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18807 \begin_inset Text
18808
18809 \begin_layout Plain Layout
18810 sd
18811 \end_layout
18812
18813 \end_inset
18814 </cell>
18815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18816 \begin_inset Text
18817
18818 \begin_layout Plain Layout
18819
18820 \end_layout
18821
18822 \end_inset
18823 </cell>
18824 </row>
18825 <row>
18826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18827 \begin_inset Text
18828
18829 \begin_layout Plain Layout
18830
18831 \end_layout
18832
18833 \end_inset
18834 </cell>
18835 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18836 \begin_inset Text
18837
18838 \begin_layout Plain Layout
18839
18840 \end_layout
18841
18842 \end_inset
18843 </cell>
18844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18845 \begin_inset Text
18846
18847 \begin_layout Plain Layout
18848 sd
18849 \end_layout
18850
18851 \end_inset
18852 </cell>
18853 </row>
18854 </lyxtabular>
18855
18856 \end_inset
18857
18858
18859 \end_layout
18860
18861 \end_inset
18862
18863
18864 \begin_inset ERT
18865 status collapsed
18866
18867 \begin_layout Plain Layout
18868
18869
18870 \backslash
18871 renewcommand{
18872 \backslash
18873 hline}{
18874 \backslash
18875 myHline}
18876 \end_layout
18877
18878 \end_inset
18879
18880
18881 \end_layout
18882
18883 \begin_layout Standard
18884 \begin_inset VSpace bigskip
18885 \end_inset
18886
18887 To set the line thickness to 1.5
18888 \begin_inset space \thinspace{}
18889 \end_inset
18890
18891 pt only for vertical lines, create the following column format in the document
18892  preamble, according to the description in section
18893 \begin_inset space ~
18894 \end_inset
18895
18896
18897 \begin_inset CommandInset ref
18898 LatexCommand ref
18899 reference "sub:Customized-Format"
18900
18901 \end_inset
18902
18903 :
18904 \end_layout
18905
18906 \begin_layout Standard
18907
18908 \series bold
18909
18910 \backslash
18911 newcolumntype{V}{!{
18912 \backslash
18913 vrule width 1.5pt}}
18914 \end_layout
18915
18916 \begin_layout Standard
18917 For Table
18918 \begin_inset space ~
18919 \end_inset
18920
18921
18922 \begin_inset CommandInset ref
18923 LatexCommand ref
18924 reference "tab:Table-with-vertical"
18925
18926 \end_inset
18927
18928  the LaTeX-argument
18929 \end_layout
18930
18931 \begin_layout Standard
18932
18933 \series bold
18934 VcV
18935 \end_layout
18936
18937 \begin_layout Standard
18938 was used for the last column and
18939 \end_layout
18940
18941 \begin_layout Standard
18942
18943 \series bold
18944 Vc
18945 \end_layout
18946
18947 \begin_layout Standard
18948 for the other columns.
18949 \end_layout
18950
18951 \begin_layout Standard
18952 \begin_inset Float table
18953 wide false
18954 sideways false
18955 status open
18956
18957 \begin_layout Plain Layout
18958 \begin_inset Caption
18959
18960 \begin_layout Plain Layout
18961 \begin_inset CommandInset label
18962 LatexCommand label
18963 name "tab:Table-with-vertical"
18964
18965 \end_inset
18966
18967 Table with 1.5
18968 \begin_inset space \thinspace{}
18969 \end_inset
18970
18971 pt thick vertical lines
18972 \end_layout
18973
18974 \end_inset
18975
18976
18977 \end_layout
18978
18979 \begin_layout Plain Layout
18980 \align center
18981 \begin_inset Tabular
18982 <lyxtabular version="3" rows="3" columns="3">
18983 <features tabularvalignment="middle">
18984 <column alignment="center" valignment="top" width="0" special="Vc">
18985 <column alignment="center" valignment="top" width="0" special="Vc">
18986 <column alignment="center" valignment="top" width="0" special="VcV">
18987 <row>
18988 <cell alignment="center" valignment="top" topline="true" usebox="none">
18989 \begin_inset Text
18990
18991 \begin_layout Plain Layout
18992 sd
18993 \end_layout
18994
18995 \end_inset
18996 </cell>
18997 <cell alignment="center" valignment="top" topline="true" usebox="none">
18998 \begin_inset Text
18999
19000 \begin_layout Plain Layout
19001
19002 \end_layout
19003
19004 \end_inset
19005 </cell>
19006 <cell alignment="center" valignment="top" topline="true" usebox="none">
19007 \begin_inset Text
19008
19009 \begin_layout Plain Layout
19010
19011 \end_layout
19012
19013 \end_inset
19014 </cell>
19015 </row>
19016 <row>
19017 <cell alignment="center" valignment="top" topline="true" usebox="none">
19018 \begin_inset Text
19019
19020 \begin_layout Plain Layout
19021
19022 \end_layout
19023
19024 \end_inset
19025 </cell>
19026 <cell alignment="center" valignment="top" topline="true" usebox="none">
19027 \begin_inset Text
19028
19029 \begin_layout Plain Layout
19030 sd
19031 \end_layout
19032
19033 \end_inset
19034 </cell>
19035 <cell alignment="center" valignment="top" topline="true" usebox="none">
19036 \begin_inset Text
19037
19038 \begin_layout Plain Layout
19039
19040 \end_layout
19041
19042 \end_inset
19043 </cell>
19044 </row>
19045 <row>
19046 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19047 \begin_inset Text
19048
19049 \begin_layout Plain Layout
19050
19051 \end_layout
19052
19053 \end_inset
19054 </cell>
19055 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19056 \begin_inset Text
19057
19058 \begin_layout Plain Layout
19059
19060 \end_layout
19061
19062 \end_inset
19063 </cell>
19064 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19065 \begin_inset Text
19066
19067 \begin_layout Plain Layout
19068 sd
19069 \end_layout
19070
19071 \end_inset
19072 </cell>
19073 </row>
19074 </lyxtabular>
19075
19076 \end_inset
19077
19078
19079 \end_layout
19080
19081 \end_inset
19082
19083
19084 \end_layout
19085
19086 \begin_layout Subsection
19087 Dashed Lines
19088 \begin_inset Index idx
19089 status collapsed
19090
19091 \begin_layout Plain Layout
19092 Table Customization ! Dashed Lines
19093 \end_layout
19094
19095 \end_inset
19096
19097
19098 \end_layout
19099
19100 \begin_layout Standard
19101 \begin_inset ERT
19102 status collapsed
19103
19104 \begin_layout Plain Layout
19105
19106
19107 \backslash
19108 ifarydshln
19109 \end_layout
19110
19111 \end_inset
19112
19113
19114 \begin_inset Note Note
19115 status open
19116
19117 \begin_layout Plain Layout
19118 The following section will only be displayed when the LaTeX-package 
19119 \series bold
19120 arydshln
19121 \series default
19122  is installed.
19123 \end_layout
19124
19125 \end_inset
19126
19127
19128 \end_layout
19129
19130 \begin_layout Standard
19131 \begin_inset Float table
19132 placement H
19133 wide false
19134 sideways false
19135 status open
19136
19137 \begin_layout Plain Layout
19138 \begin_inset Caption
19139
19140 \begin_layout Plain Layout
19141 \begin_inset CommandInset label
19142 LatexCommand label
19143 name "tab:Table-with-dashed"
19144
19145 \end_inset
19146
19147 Table with dashed lines
19148 \end_layout
19149
19150 \end_inset
19151
19152
19153 \end_layout
19154
19155 \begin_layout Plain Layout
19156 \align center
19157 \begin_inset Tabular
19158 <lyxtabular version="3" rows="5" columns="5">
19159 <features tabularvalignment="middle">
19160 <column alignment="center" valignment="top" width="0">
19161 <column alignment="center" valignment="top" width="0">
19162 <column alignment="center" valignment="top" width="0" special=":c">
19163 <column alignment="center" valignment="top" width="0">
19164 <column alignment="center" valignment="top" width="0">
19165 <row>
19166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19167 \begin_inset Text
19168
19169 \begin_layout Plain Layout
19170 a
19171 \end_layout
19172
19173 \end_inset
19174 </cell>
19175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19176 \begin_inset Text
19177
19178 \begin_layout Plain Layout
19179 b
19180 \end_layout
19181
19182 \end_inset
19183 </cell>
19184 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19185 \begin_inset Text
19186
19187 \begin_layout Plain Layout
19188 c
19189 \end_layout
19190
19191 \end_inset
19192 </cell>
19193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19194 \begin_inset Text
19195
19196 \begin_layout Plain Layout
19197 d
19198 \end_layout
19199
19200 \end_inset
19201 </cell>
19202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19203 \begin_inset Text
19204
19205 \begin_layout Plain Layout
19206 e
19207 \end_layout
19208
19209 \end_inset
19210 </cell>
19211 </row>
19212 <row>
19213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19214 \begin_inset Text
19215
19216 \begin_layout Plain Layout
19217 f
19218 \end_layout
19219
19220 \end_inset
19221 </cell>
19222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19223 \begin_inset Text
19224
19225 \begin_layout Plain Layout
19226 g
19227 \end_layout
19228
19229 \end_inset
19230 </cell>
19231 <cell alignment="center" valignment="top" topline="true" usebox="none">
19232 \begin_inset Text
19233
19234 \begin_layout Plain Layout
19235 h
19236 \end_layout
19237
19238 \end_inset
19239 </cell>
19240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19241 \begin_inset Text
19242
19243 \begin_layout Plain Layout
19244 i
19245 \end_layout
19246
19247 \end_inset
19248 </cell>
19249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19250 \begin_inset Text
19251
19252 \begin_layout Plain Layout
19253 j
19254 \end_layout
19255
19256 \end_inset
19257 </cell>
19258 </row>
19259 <row>
19260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19261 \begin_inset Text
19262
19263 \begin_layout Plain Layout
19264 \begin_inset ERT
19265 status collapsed
19266
19267 \begin_layout Plain Layout
19268
19269
19270 \backslash
19271 hdashline 
19272 \end_layout
19273
19274 \end_inset
19275
19276 k
19277 \end_layout
19278
19279 \end_inset
19280 </cell>
19281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19282 \begin_inset Text
19283
19284 \begin_layout Plain Layout
19285 l
19286 \end_layout
19287
19288 \end_inset
19289 </cell>
19290 <cell alignment="center" valignment="top" usebox="none">
19291 \begin_inset Text
19292
19293 \begin_layout Plain Layout
19294 m
19295 \end_layout
19296
19297 \end_inset
19298 </cell>
19299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19300 \begin_inset Text
19301
19302 \begin_layout Plain Layout
19303 n
19304 \end_layout
19305
19306 \end_inset
19307 </cell>
19308 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19309 \begin_inset Text
19310
19311 \begin_layout Plain Layout
19312 o
19313 \end_layout
19314
19315 \end_inset
19316 </cell>
19317 </row>
19318 <row>
19319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19320 \begin_inset Text
19321
19322 \begin_layout Plain Layout
19323 \begin_inset ERT
19324 status collapsed
19325
19326 \begin_layout Plain Layout
19327
19328
19329 \backslash
19330 cdashline{4-5}
19331 \end_layout
19332
19333 \end_inset
19334
19335 p
19336 \end_layout
19337
19338 \end_inset
19339 </cell>
19340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19341 \begin_inset Text
19342
19343 \begin_layout Plain Layout
19344 q
19345 \end_layout
19346
19347 \end_inset
19348 </cell>
19349 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19350 \begin_inset Text
19351
19352 \begin_layout Plain Layout
19353 r
19354 \end_layout
19355
19356 \end_inset
19357 </cell>
19358 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19359 \begin_inset Text
19360
19361 \begin_layout Plain Layout
19362 s
19363 \end_layout
19364
19365 \end_inset
19366 </cell>
19367 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19368 \begin_inset Text
19369
19370 \begin_layout Plain Layout
19371
19372 \end_layout
19373
19374 \end_inset
19375 </cell>
19376 </row>
19377 <row>
19378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19379 \begin_inset Text
19380
19381 \begin_layout Plain Layout
19382 t
19383 \end_layout
19384
19385 \end_inset
19386 </cell>
19387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19388 \begin_inset Text
19389
19390 \begin_layout Plain Layout
19391 u
19392 \end_layout
19393
19394 \end_inset
19395 </cell>
19396 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19397 \begin_inset Text
19398
19399 \begin_layout Plain Layout
19400 v
19401 \end_layout
19402
19403 \end_inset
19404 </cell>
19405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19406 \begin_inset Text
19407
19408 \begin_layout Plain Layout
19409 w
19410 \end_layout
19411
19412 \end_inset
19413 </cell>
19414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19415 \begin_inset Text
19416
19417 \begin_layout Plain Layout
19418 x
19419 \end_layout
19420
19421 \end_inset
19422 </cell>
19423 </row>
19424 </lyxtabular>
19425
19426 \end_inset
19427
19428
19429 \end_layout
19430
19431 \end_inset
19432
19433
19434 \end_layout
19435
19436 \begin_layout Standard
19437 LyX does not natively support dashed lines, so you have to use TeX-Code.
19438  As a prerequisite the LaTeX-package 
19439 \series bold
19440 arydshln
19441 \series default
19442
19443 \begin_inset Index idx
19444 status collapsed
19445
19446 \begin_layout Plain Layout
19447 LaTeX-packages ! arydshln
19448 \end_layout
19449
19450 \end_inset
19451
19452  must be loaded in the document preamble with the command
19453 \end_layout
19454
19455 \begin_layout Standard
19456
19457 \series bold
19458
19459 \backslash
19460 usepackage{arydshln}
19461 \end_layout
19462
19463 \begin_layout Standard
19464 To make a vertical line dashed, enter the colon 
19465 \begin_inset Quotes eld
19466 \end_inset
19467
19468 :
19469 \begin_inset Quotes erd
19470 \end_inset
19471
19472  together with the character for the horizontal alignment as LaTeX-argument
19473  in the table cell dialog.
19474 \end_layout
19475
19476 \begin_layout Standard
19477 For a horizontal dashed line add the command
19478 \end_layout
19479
19480 \begin_layout Standard
19481
19482 \series bold
19483
19484 \backslash
19485 hdashline
19486 \end_layout
19487
19488 \begin_layout Standard
19489 in TeX-Code as first element of the first cell in the table row.
19490 \end_layout
19491
19492 \begin_layout Standard
19493 For dashed multicolumn lines use the command
19494 \end_layout
19495
19496 \begin_layout Standard
19497
19498 \series bold
19499
19500 \backslash
19501 cdashline{line number
19502 \series default
19503 }
19504 \end_layout
19505
19506 \begin_layout Standard
19507 in TeX-Code as the first element of the first cell in the table row.
19508  If you have for example a multicolumn spanning columns 2 to 4 and you want
19509  to have a dashed line above, add the command
19510 \end_layout
19511
19512 \begin_layout Standard
19513
19514 \series bold
19515
19516 \backslash
19517 cdashline{2-4}
19518 \end_layout
19519
19520 \begin_layout Standard
19521 as the first element of the first cell in the row of the multicolumn.
19522 \end_layout
19523
19524 \begin_layout Standard
19525 \begin_inset VSpace bigskip
19526 \end_inset
19527
19528
19529 \end_layout
19530
19531 \begin_layout Standard
19532 Table
19533 \begin_inset space ~
19534 \end_inset
19535
19536
19537 \begin_inset CommandInset ref
19538 LatexCommand ref
19539 reference "tab:Table-with-dashed"
19540
19541 \end_inset
19542
19543  was created using 
19544 \begin_inset Quotes eld
19545 \end_inset
19546
19547
19548 \series bold
19549 :c
19550 \series default
19551
19552 \begin_inset Quotes erd
19553 \end_inset
19554
19555  as LaTeX-argument of the third column.
19556  The TeX-Code command 
19557 \series bold
19558
19559 \backslash
19560 hdashline
19561 \series default
19562  was inserted in the first cell of the third row and the TeX-Code command
19563 \begin_inset Newline newline
19564 \end_inset
19565
19566  
19567 \series bold
19568
19569 \backslash
19570 cdashline{4-5}
19571 \series default
19572  was inserted in the first cell of the fourth row.
19573 \end_layout
19574
19575 \begin_layout Standard
19576 \begin_inset Note Greyedout
19577 status open
19578
19579 \begin_layout Plain Layout
19580
19581 \series bold
19582 Note:
19583 \series default
19584  The LaTeX-package 
19585 \series bold
19586 arydshln
19587 \series default
19588  is apparently not compatible with the LaTeX-package 
19589 \series bold
19590 colortbl
19591 \series default
19592
19593 \begin_inset Index idx
19594 status collapsed
19595
19596 \begin_layout Plain Layout
19597 LaTeX-packages ! colortbl
19598 \end_layout
19599
19600 \end_inset
19601
19602  that is used for colored tables in section
19603 \begin_inset space ~
19604 \end_inset
19605
19606
19607 \begin_inset CommandInset ref
19608 LatexCommand ref
19609 reference "sec:Colored-Tables"
19610
19611 \end_inset
19612
19613 .
19614  That means colored tables cannot have dashed lines.
19615 \end_layout
19616
19617 \end_inset
19618
19619
19620 \end_layout
19621
19622 \begin_layout Standard
19623 \begin_inset ERT
19624 status collapsed
19625
19626 \begin_layout Plain Layout
19627
19628
19629 \backslash
19630 else
19631 \end_layout
19632
19633 \end_inset
19634
19635
19636 \begin_inset Note Note
19637 status open
19638
19639 \begin_layout Plain Layout
19640 The following will be displayed when the LaTeX-package 
19641 \series bold
19642 arydshln
19643 \series default
19644  is not installed:
19645 \end_layout
19646
19647 \end_inset
19648
19649
19650 \end_layout
19651
19652 \begin_layout Standard
19653 You need to install the package 
19654 \series bold
19655 arydshln
19656 \series default
19657  to see the content of this section in the output.
19658 \end_layout
19659
19660 \begin_layout Standard
19661 \begin_inset ERT
19662 status collapsed
19663
19664 \begin_layout Plain Layout
19665
19666
19667 \backslash
19668 fi
19669 \end_layout
19670
19671 \end_inset
19672
19673
19674 \end_layout
19675
19676 \begin_layout Chapter
19677 Floats
19678 \begin_inset CommandInset label
19679 LatexCommand label
19680 name "chap:Floats"
19681
19682 \end_inset
19683
19684
19685 \begin_inset Index idx
19686 status collapsed
19687
19688 \begin_layout Plain Layout
19689 Floats
19690 \end_layout
19691
19692 \end_inset
19693
19694
19695 \end_layout
19696
19697 \begin_layout Section
19698 Introduction
19699 \begin_inset CommandInset label
19700 LatexCommand label
19701 name "sec:FloatIntroduction"
19702
19703 \end_inset
19704
19705
19706 \begin_inset Index idx
19707 status collapsed
19708
19709 \begin_layout Plain Layout
19710 Floats ! Introduction
19711 \end_layout
19712
19713 \end_inset
19714
19715
19716 \end_layout
19717
19718 \begin_layout Standard
19719 A float is a block of text associated with some sort of label, which doesn't
19720  have a fixed location.
19721  It can 
19722 \begin_inset Quotes eld
19723 \end_inset
19724
19725 float
19726 \begin_inset Quotes erd
19727 \end_inset
19728
19729  forward or backward a page or two, to wherever it fits best.
19730  
19731 \family sans
19732 Footnotes
19733 \family default
19734  and 
19735 \family sans
19736 Margin
19737 \begin_inset space ~
19738 \end_inset
19739
19740 Notes
19741 \family default
19742  are also floats, because they can float to the next page when there are
19743  too many notes on the page.
19744 \end_layout
19745
19746 \begin_layout Standard
19747 Floats allow a high quality layout.
19748  Images and tables can be spread evenly to the pages to avoid white space
19749  and pages without text.
19750  As the floating often destroys the context between the text and the image/table
19751 , every float can be referenced in the text.
19752  Floats are therefore numbered.
19753  Referencing is described in section
19754 \begin_inset space ~
19755 \end_inset
19756
19757
19758 \begin_inset CommandInset ref
19759 LatexCommand ref
19760 reference "sec:Referencing-Floats"
19761
19762 \end_inset
19763
19764 .
19765 \end_layout
19766
19767 \begin_layout Standard
19768 To insert a float, use the menu 
19769 \family sans
19770 Insert\SpecialChar \menuseparator
19771 Float
19772 \family default
19773 .
19774  This inserts the 
19775 \family sans
19776 Caption
19777 \family default
19778  inset, a box with a label.
19779  The label will automatically be translated to the document language in
19780  the output.
19781  After the label you can insert the caption text.
19782  The image or table is inserted above or below the caption in a separate
19783  paragraph within the float.
19784  More about the caption placement is contained in section
19785 \begin_inset space ~
19786 \end_inset
19787
19788
19789 \begin_inset CommandInset ref
19790 LatexCommand ref
19791 reference "sec:Caption-Placement"
19792
19793 \end_inset
19794
19795 .
19796  To keep your LyX-document readable, you can open and close the float box
19797  by left-clicking on the box label.
19798  A closed float box looks like this: 
19799 \begin_inset Graphics
19800         filename clipart/floatQt4.png
19801         scale 70
19802         scaleBeforeRotation
19803
19804 \end_inset
19805
19806  â€“ a gray button with a red label.
19807 \end_layout
19808
19809 \begin_layout Standard
19810 It is recommended that you insert floats as a separate standard paragraph
19811  to avoid possible LaTeX-errors that can occur when the surrounding text
19812  is specially formatted.
19813 \end_layout
19814
19815 \begin_layout Standard
19816 Existing figures or tables can be put into a float by highlighting them
19817  and then pressing the corresponding toolbar button for a new float.
19818 \end_layout
19819
19820 \begin_layout Section
19821 Float Types
19822 \end_layout
19823
19824 \begin_layout Standard
19825 Besides figure and table floats that are described in sections
19826 \begin_inset space ~
19827 \end_inset
19828
19829
19830 \begin_inset CommandInset ref
19831 LatexCommand ref
19832 reference "sec:Figure-Floats"
19833
19834 \end_inset
19835
19836  and 
19837 \begin_inset CommandInset ref
19838 LatexCommand ref
19839 reference "sec:Table-Floats"
19840
19841 \end_inset
19842
19843  respectively, LyX offers the float types 
19844 \family sans
19845 Algorithm
19846 \family default
19847  and 
19848 \family sans
19849 Wrap
19850 \family default
19851 .
19852  The latter are explained in sec.
19853 \begin_inset space \thinspace{}
19854 \end_inset
19855
19856
19857 \begin_inset CommandInset ref
19858 LatexCommand ref
19859 reference "sec:Wrap-Floats"
19860
19861 \end_inset
19862
19863 .
19864 \end_layout
19865
19866 \begin_layout Subsection
19867 Algorithm Floats
19868 \begin_inset Index idx
19869 status collapsed
19870
19871 \begin_layout Plain Layout
19872 Floats ! Algorithms
19873 \end_layout
19874
19875 \end_inset
19876
19877
19878 \end_layout
19879
19880 \begin_layout Standard
19881 \begin_inset Float algorithm
19882 placement h
19883 wide false
19884 sideways false
19885 status open
19886
19887 \begin_layout Plain Layout
19888 \begin_inset Caption
19889
19890 \begin_layout Plain Layout
19891 \begin_inset CommandInset label
19892 LatexCommand label
19893 name "alg:Example-Algorithm-float"
19894
19895 \end_inset
19896
19897 Example Algorithm float
19898 \end_layout
19899
19900 \end_inset
19901
19902
19903 \end_layout
19904
19905 \begin_layout LyX-Code
19906 for I in 1..N loop
19907 \begin_inset Newline newline
19908 \end_inset
19909
19910  Sum:= Sum + A(I); /*comment*/
19911 \begin_inset Newline newline
19912 \end_inset
19913
19914 end loop
19915 \begin_inset VSpace -4mm
19916 \end_inset
19917
19918
19919 \end_layout
19920
19921 \end_inset
19922
19923
19924 \end_layout
19925
19926 \begin_layout Standard
19927 This float type is inserted with the menu 
19928 \family sans
19929 Insert\SpecialChar \menuseparator
19930 Floats\SpecialChar \menuseparator
19931 Algorithm
19932 \family default
19933 .
19934  It is used for program codes and descriptions of algorithms and can be
19935  seen as an alternative to program code listings that are explained in chapter
19936 \begin_inset space ~
19937 \end_inset
19938
19939
19940 \begin_inset CommandInset ref
19941 LatexCommand ref
19942 reference "cha:Program-Code-Listings"
19943
19944 \end_inset
19945
19946 .
19947  A possible environment for algorithms is the 
19948 \family sans
19949 LyX-Code
19950 \family default
19951 , described in LyX's 
19952 \emph on
19953 Userguide
19954 \emph default
19955 .
19956  Algorithm
19957 \begin_inset space ~
19958 \end_inset
19959
19960
19961 \begin_inset CommandInset ref
19962 LatexCommand ref
19963 reference "alg:Example-Algorithm-float"
19964
19965 \end_inset
19966
19967  is an example of an algorithm float where -4
19968 \begin_inset space \thinspace{}
19969 \end_inset
19970
19971 mm vertical space was added at the end of the float to have the bottom rule
19972  exactly below the last text line.
19973 \end_layout
19974
19975 \begin_layout Standard
19976 The float label is not automatically translated into the document language.
19977  If your document is not in English, you have to do this manually by adding
19978  the following line to the document preamble
19979 \series bold
19980 :
19981 \end_layout
19982
19983 \begin_layout Standard
19984
19985 \series bold
19986
19987 \backslash
19988 floatname{algorithm}{your
19989 \begin_inset space ~
19990 \end_inset
19991
19992 name}
19993 \end_layout
19994
19995 \begin_layout Standard
19996 where 
19997 \family sans
19998 your
19999 \begin_inset space ~
20000 \end_inset
20001
20002 name
20003 \family default
20004  is the word 
20005 \begin_inset Quotes eld
20006 \end_inset
20007
20008
20009 \emph on
20010 algorithm
20011 \emph default
20012
20013 \begin_inset Quotes erd
20014 \end_inset
20015
20016  in your language.
20017 \end_layout
20018
20019 \begin_layout Standard
20020 To insert the list of algorithms you can use the menu 
20021 \family sans
20022 Insert\SpecialChar \menuseparator
20023 List
20024 \begin_inset space \thinspace{}
20025 \end_inset
20026
20027 /
20028 \begin_inset space \thinspace{}
20029 \end_inset
20030
20031 TOC\SpecialChar \menuseparator
20032 List of Algorithms
20033 \family default
20034  when your document has the same language as LyX's menu names.
20035  In other cases use this command in TeX-Code instead:
20036 \end_layout
20037
20038 \begin_layout Standard
20039
20040 \series bold
20041
20042 \backslash
20043 listof{algorithm}{your
20044 \begin_inset space ~
20045 \end_inset
20046
20047 name}
20048 \end_layout
20049
20050 \begin_layout Standard
20051 where 
20052 \family sans
20053 your
20054 \begin_inset space ~
20055 \end_inset
20056
20057 name
20058 \family default
20059  is the word 
20060 \begin_inset Quotes eld
20061 \end_inset
20062
20063
20064 \emph on
20065 List of Algorithm
20066 \emph default
20067 s
20068 \begin_inset Quotes erd
20069 \end_inset
20070
20071  in your language.
20072 \end_layout
20073
20074 \begin_layout Standard
20075 Algorithm floats are not by default numbered in the scheme 
20076 \begin_inset Quotes eld
20077 \end_inset
20078
20079 chapter.algorithm
20080 \begin_inset Quotes erd
20081 \end_inset
20082
20083  as is the case for table and figure floats in many document-classes.
20084  To number algorithm floats in the same scheme, add this command to your
20085  document preamble:
20086 \end_layout
20087
20088 \begin_layout Standard
20089
20090 \series bold
20091
20092 \backslash
20093 numberwithin{algorithm}{chapter}
20094 \end_layout
20095
20096 \begin_layout Standard
20097 To be able to use the command 
20098 \series bold
20099
20100 \backslash
20101 numberwithin
20102 \series default
20103 , set in the tab 
20104 \family sans
20105 Math
20106 \begin_inset space ~
20107 \end_inset
20108
20109 Options
20110 \family default
20111  in the document settings the option 
20112 \family sans
20113 Use
20114 \begin_inset space ~
20115 \end_inset
20116
20117 AMS
20118 \begin_inset space ~
20119 \end_inset
20120
20121 math
20122 \begin_inset space ~
20123 \end_inset
20124
20125 package
20126 \family default
20127 .
20128 \end_layout
20129
20130 \begin_layout Section
20131 Float Numbering
20132 \begin_inset Index idx
20133 status collapsed
20134
20135 \begin_layout Plain Layout
20136 Floats ! Numbering
20137 \end_layout
20138
20139 \end_inset
20140
20141
20142 \end_layout
20143
20144 \begin_layout Standard
20145 Floats are usually numbered either independently from the sections the floats
20146  are in, or in the scheme 
20147 \begin_inset Quotes eld
20148 \end_inset
20149
20150 chapter.number
20151 \begin_inset Quotes erd
20152 \end_inset
20153
20154  or 
20155 \begin_inset Quotes eld
20156 \end_inset
20157
20158 section.number
20159 \begin_inset Quotes erd
20160 \end_inset
20161
20162 .
20163  This depends on the document class used.
20164 \end_layout
20165
20166 \begin_layout Standard
20167 To change section-independent numbering, you can use this command in the
20168  document preamble:
20169 \end_layout
20170
20171 \begin_layout Standard
20172
20173 \series bold
20174
20175 \backslash
20176 renewcommand{
20177 \backslash
20178 thetable}{
20179 \backslash
20180 roman{table}}
20181 \end_layout
20182
20183 \begin_layout Standard
20184
20185 \series bold
20186
20187 \backslash
20188 thetable
20189 \series default
20190  is the command that prints the table number, for figure floats, the command
20191  would be 
20192 \series bold
20193
20194 \backslash
20195 thefigure
20196 \series default
20197 .
20198  
20199 \series bold
20200
20201 \backslash
20202 roman
20203 \series default
20204  in the command above prints the table number as small roman number.
20205 \end_layout
20206
20207 \begin_layout Standard
20208 To change the numbering scheme for example to 
20209 \begin_inset Quotes eld
20210 \end_inset
20211
20212 subsection.number
20213 \begin_inset Quotes erd
20214 \end_inset
20215
20216 , use this command in the preamble:
20217 \end_layout
20218
20219 \begin_layout Standard
20220
20221 \series bold
20222
20223 \backslash
20224 numberwithin{table}{subsection}
20225 \end_layout
20226
20227 \begin_layout Standard
20228 To be able to use the command 
20229 \series bold
20230
20231 \backslash
20232 numberwithin
20233 \series default
20234 , set in the tab 
20235 \family sans
20236 Math
20237 \begin_inset space ~
20238 \end_inset
20239
20240 Options
20241 \family default
20242  in the document settings the option 
20243 \family sans
20244 Use
20245 \begin_inset space ~
20246 \end_inset
20247
20248 AMS
20249 \begin_inset space ~
20250 \end_inset
20251
20252 math
20253 \begin_inset space ~
20254 \end_inset
20255
20256 package
20257 \family default
20258 .
20259 \end_layout
20260
20261 \begin_layout Standard
20262 Please also have a look at section
20263 \begin_inset space ~
20264 \end_inset
20265
20266
20267 \begin_inset CommandInset ref
20268 LatexCommand ref
20269 reference "sub:Footnote-Numbering"
20270
20271 \end_inset
20272
20273  for the details and important notes about the numbering commands.
20274 \end_layout
20275
20276 \begin_layout Section
20277 Referencing Floats
20278 \begin_inset CommandInset label
20279 LatexCommand label
20280 name "sec:Referencing-Floats"
20281
20282 \end_inset
20283
20284
20285 \begin_inset Index idx
20286 status collapsed
20287
20288 \begin_layout Plain Layout
20289 Floats ! References
20290 \end_layout
20291
20292 \end_inset
20293
20294
20295 \begin_inset Index idx
20296 status collapsed
20297
20298 \begin_layout Plain Layout
20299 References ! to Floats
20300 \end_layout
20301
20302 \end_inset
20303
20304
20305 \end_layout
20306
20307 \begin_layout Standard
20308 To reference a float, insert a label into its caption using the menu 
20309 \family sans
20310 Insert\SpecialChar \menuseparator
20311 Label
20312 \family default
20313  or the toolbar button 
20314 \begin_inset Graphics
20315         filename ../images/label-insert.png
20316         scale 85
20317         scaleBeforeRotation
20318
20319 \end_inset
20320
20321 .
20322  A grey label box like this one: 
20323 \begin_inset Graphics
20324         filename clipart/labelQt4.png
20325         scale 85
20326         scaleBeforeRotation
20327
20328 \end_inset
20329
20330  will be inserted and the label window pops up asking for the label text.
20331  LyX offers as text the first words of the caption with a prefix.
20332  The prefix depends on the float type, e.
20333 \begin_inset space \thinspace{}
20334 \end_inset
20335
20336 g.
20337 \begin_inset space \space{}
20338 \end_inset
20339
20340 for figure floats the prefix will be "
20341 \family sans
20342 fig:
20343 \family default
20344 ".
20345 \end_layout
20346
20347 \begin_layout Standard
20348 The label is used as anchor and name for the reference.
20349  You can refer to the label using the menu 
20350 \family sans
20351 Insert\SpecialChar \menuseparator
20352 Cross-reference
20353 \family default
20354  or the toolbar button 
20355 \begin_inset Graphics
20356         filename ../images/dialog-show-new-inset_ref.png
20357         scale 85
20358         scaleBeforeRotation
20359
20360 \end_inset
20361
20362 .
20363  A grey cross-reference box like this one: 
20364 \begin_inset Graphics
20365         filename clipart/referenceQt4.png
20366         scale 85
20367         scaleBeforeRotation
20368
20369 \end_inset
20370
20371  will be inserted and the cross-reference window appear showing all labels
20372  of the document.
20373  If you have multiple LyX-documents opened, choose the one you are working
20374  on from the drop-list at the top of the dialog.
20375  You can now sort the labels alphabetically and then choose one.
20376  At the position of the cross-reference box the float number will appear
20377  in the output.
20378 \end_layout
20379
20380 \begin_layout Standard
20381 It is recommended that you use a protected space between the cross-reference
20382  name and its number to avoid line breaks between them.
20383  If a cross-reference refers to a non-existing label, you will see two question
20384  marks in the output instead of the reference.
20385 \end_layout
20386
20387 \begin_layout Standard
20388 You can change labels at any time by clicking on the label box.
20389  References to the changed label will automatically change its link to the
20390  new label text, so that you don't need to take care about this.
20391 \end_layout
20392
20393 \begin_layout Standard
20394 The button 
20395 \family sans
20396 Go
20397 \begin_inset space ~
20398 \end_inset
20399
20400 to
20401 \begin_inset space ~
20402 \end_inset
20403
20404 Label
20405 \family default
20406  in the cross-reference window sets the cursor before the referred label.
20407  The button text changes then to Go
20408 \begin_inset space ~
20409 \end_inset
20410
20411 Back and you can use it to set the cursor back to the cross-reference.
20412  Right-clicking on a cross-reference box also sets the cursor before the
20413  referenced label but without the possibility of going back.
20414 \end_layout
20415
20416 \begin_layout Subsection
20417 Cross-Reference Formats
20418 \begin_inset CommandInset label
20419 LatexCommand label
20420 name "sub:Cross-Reference-Formats"
20421
20422 \end_inset
20423
20424
20425 \begin_inset Index idx
20426 status collapsed
20427
20428 \begin_layout Plain Layout
20429 References ! Formats
20430 \end_layout
20431
20432 \end_inset
20433
20434
20435 \end_layout
20436
20437 \begin_layout Standard
20438 There are six varieties of cross-references:
20439 \end_layout
20440
20441 \begin_layout Description
20442 <reference>: prints the float number, this is the default: 
20443 \begin_inset CommandInset ref
20444 LatexCommand ref
20445 reference "fig:Two-distorted-images"
20446
20447 \end_inset
20448
20449
20450 \end_layout
20451
20452 \begin_layout Description
20453 (<reference>): prints the float number within two parentheses, this is the
20454  style normally used to reference formulas, especially when the reference
20455  name 
20456 \begin_inset Quotes eld
20457 \end_inset
20458
20459 Equation
20460 \begin_inset Quotes erd
20461 \end_inset
20462
20463  is omitted: 
20464 \begin_inset CommandInset ref
20465 LatexCommand eqref
20466 reference "eq:Wgn"
20467
20468 \end_inset
20469
20470
20471 \end_layout
20472
20473 \begin_layout Description
20474 <page>: prints the page number: Page
20475 \begin_inset space ~
20476 \end_inset
20477
20478
20479 \begin_inset CommandInset ref
20480 LatexCommand pageref
20481 reference "fig:Two-distorted-images"
20482
20483 \end_inset
20484
20485
20486 \end_layout
20487
20488 \begin_layout Description
20489 on
20490 \begin_inset space ~
20491 \end_inset
20492
20493 page
20494 \begin_inset space ~
20495 \end_inset
20496
20497 <page>: prints the text "on page" and the page number: 
20498 \begin_inset CommandInset ref
20499 LatexCommand vpageref
20500 reference "fig:Two-distorted-images"
20501
20502 \end_inset
20503
20504
20505 \end_layout
20506
20507 \begin_layout Description
20508 <reference>
20509 \begin_inset space ~
20510 \end_inset
20511
20512 on
20513 \begin_inset space ~
20514 \end_inset
20515
20516 page
20517 \begin_inset space ~
20518 \end_inset
20519
20520 <page>: prints the float number, the text "on page", and the page number:
20521  
20522 \begin_inset CommandInset ref
20523 LatexCommand vref
20524 reference "fig:Two-distorted-images"
20525
20526 \end_inset
20527
20528
20529 \end_layout
20530
20531 \begin_layout Description
20532 Formatted
20533 \begin_inset space ~
20534 \end_inset
20535
20536 reference: prints a self-defined cross-reference format.
20537 \begin_inset Newline newline
20538 \end_inset
20539
20540
20541 \begin_inset Note Greyedout
20542 status open
20543
20544 \begin_layout Plain Layout
20545
20546 \series bold
20547 Note:
20548 \series default
20549  This feature is only available when you have the LaTeX-package 
20550 \series bold
20551 prettyref
20552 \series default
20553  or 
20554 \series bold
20555 refstyle
20556 \series default
20557
20558 \begin_inset Index idx
20559 status collapsed
20560
20561 \begin_layout Plain Layout
20562 LaTeX-packages ! prettyref
20563 \end_layout
20564
20565 \end_inset
20566
20567
20568 \begin_inset Index idx
20569 status collapsed
20570
20571 \begin_layout Plain Layout
20572 LaTeX-packages ! refstyle
20573 \end_layout
20574
20575 \end_inset
20576
20577  installed.
20578 \end_layout
20579
20580 \end_inset
20581
20582
20583 \begin_inset Newline newline
20584 \end_inset
20585
20586 You can select which LaTeX-package should be used for this feature by setting
20587  the option 
20588 \family sans
20589 Use refstyle (not prettyref) for cross-references
20590 \family default
20591  in the menu 
20592 \family sans
20593 Document\SpecialChar \menuseparator
20594 Settings\SpecialChar \menuseparator
20595 Document Class
20596 \family default
20597 .
20598  The format is specified by adding the command 
20599 \series bold
20600
20601 \backslash
20602 newrefformat
20603 \series default
20604  (prettyref) or 
20605 \series bold
20606
20607 \backslash
20608 newref
20609 \series default
20610  (refstyle) to the preamble of the document.
20611  For example redefining all references to figures (which have the label
20612  shortcut 
20613 \begin_inset Quotes eld
20614 \end_inset
20615
20616
20617 \family sans
20618 fig
20619 \family default
20620
20621 \begin_inset Quotes erd
20622 \end_inset
20623
20624 ) can be done with this command
20625 \begin_inset Newline newline
20626 \end_inset
20627
20628
20629 \series bold
20630
20631 \backslash
20632 newref{fig}{refcmd={Image on page 
20633 \backslash
20634 pageref{#1}}}
20635 \series default
20636
20637 \begin_inset Newline newline
20638 \end_inset
20639
20640 For more information about the format, have a look at the package documentations
20641
20642 \begin_inset CommandInset citation
20643 LatexCommand cite
20644 key "prettyref,refstyle"
20645
20646 \end_inset
20647
20648 .
20649 \end_layout
20650
20651 \begin_layout Description
20652 Textual
20653 \begin_inset space ~
20654 \end_inset
20655
20656 reference: prints the caption of the reference: 
20657 \begin_inset CommandInset ref
20658 LatexCommand nameref
20659 reference "fig:Two-distorted-images"
20660
20661 \end_inset
20662
20663
20664 \end_layout
20665
20666 \begin_layout Standard
20667
20668 \family sans
20669 <page>
20670 \family default
20671  will not print the page number if the label is on the previous, the same,
20672  or the next page.
20673  You will e.
20674 \begin_inset space \thinspace{}
20675 \end_inset
20676
20677 g.
20678 \begin_inset space \space{}
20679 \end_inset
20680
20681 see the text 
20682 \begin_inset Quotes eld
20683 \end_inset
20684
20685
20686 \family sans
20687 on this page
20688 \family default
20689
20690 \begin_inset Quotes erd
20691 \end_inset
20692
20693  instead.
20694  The style 
20695 \family sans
20696 <reference> on page <page>
20697 \family default
20698  will not print anything about the page if the label is on the same page.
20699 \end_layout
20700
20701 \begin_layout Standard
20702 The number and current page of the part of the document referred to in the
20703  output is automatically calculated by LaTeX.
20704  The varieties are adjusted in the field 
20705 \family sans
20706 Format
20707 \family default
20708  of the cross-reference window that appears when you click on the cross-referenc
20709 e box.
20710 \end_layout
20711
20712 \begin_layout Standard
20713 \begin_inset Note Greyedout
20714 status open
20715
20716 \begin_layout Plain Layout
20717
20718 \series bold
20719 Note:
20720 \series default
20721  It is recommended to use the LaTeX-package 
20722 \series bold
20723 refstyle
20724 \series default
20725
20726 \begin_inset Index idx
20727 status collapsed
20728
20729 \begin_layout Plain Layout
20730 LaTeX-packages ! refstyle
20731 \end_layout
20732
20733 \end_inset
20734
20735  because 
20736 \series bold
20737 prettyref
20738 \series default
20739
20740 \begin_inset Index idx
20741 status collapsed
20742
20743 \begin_layout Plain Layout
20744 LaTeX-packages ! prettyref
20745 \end_layout
20746
20747 \end_inset
20748
20749  does not know all of LyX's possible label shortcuts
20750 \begin_inset Foot
20751 status collapsed
20752
20753 \begin_layout Plain Layout
20754 \begin_inset Quotes eld
20755 \end_inset
20756
20757 fig:
20758 \begin_inset Quotes erd
20759 \end_inset
20760
20761  is for example LyX's shortcut for labels in figure captions.
20762 \end_layout
20763
20764 \end_inset
20765
20766  and is not internationalized.
20767 \end_layout
20768
20769 \end_inset
20770
20771
20772 \end_layout
20773
20774 \begin_layout Standard
20775 \begin_inset Note Greyedout
20776 status open
20777
20778 \begin_layout Plain Layout
20779
20780 \series bold
20781 Note:
20782 \series default
20783  Due to a bug in the LaTeX-package 
20784 \series bold
20785 varioref
20786 \series default
20787  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20788  languages that make the period character active (like French).
20789  For a workaround, see
20790 \begin_inset Newline newline
20791 \end_inset
20792
20793
20794 \begin_inset CommandInset href
20795 LatexCommand href
20796 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20797
20798 \end_inset
20799
20800 .
20801 \end_layout
20802
20803 \end_inset
20804
20805
20806 \end_layout
20807
20808 \begin_layout Subsection
20809 Automatic Reference Naming
20810 \begin_inset Index idx
20811 status collapsed
20812
20813 \begin_layout Plain Layout
20814 References ! Automatic Reference Naming
20815 \end_layout
20816
20817 \end_inset
20818
20819
20820 \end_layout
20821
20822 \begin_layout Standard
20823 The LaTeX-package 
20824 \series bold
20825 hyperref
20826 \series default
20827
20828 \begin_inset Index idx
20829 status collapsed
20830
20831 \begin_layout Plain Layout
20832 LaTeX-packages ! hyperref
20833 \end_layout
20834
20835 \end_inset
20836
20837 , that is enabled in the 
20838 \family sans
20839 PDF Properties
20840 \family default
20841  of the 
20842 \family sans
20843 Document Settings
20844 \family default
20845  dialog, provides a very useful feature that cross-references automatically
20846  include the name of the referenced floats (or text parts like 
20847 \emph on
20848 section
20849 \emph default
20850 ).
20851  So you will save having to write e.
20852 \begin_inset space \thinspace{}
20853 \end_inset
20854
20855 g.
20856 \begin_inset space \space{}
20857 \end_inset
20858
20859 the name 
20860 \begin_inset Quotes eld
20861 \end_inset
20862
20863 Figure
20864 \begin_inset Quotes erd
20865 \end_inset
20866
20867  before every reference to a figure.
20868  To use this feature, enable 
20869 \series bold
20870 hyperref
20871 \series default
20872  and insert this line to the LaTeX preamble:
20873 \end_layout
20874
20875 \begin_layout Standard
20876
20877 \series bold
20878
20879 \backslash
20880 AtBeginDocument{
20881 \backslash
20882 renewcommand{
20883 \backslash
20884 ref}[1]{
20885 \backslash
20886 mbox{
20887 \backslash
20888 autoref{#1}}}}
20889 \end_layout
20890
20891 \begin_layout Standard
20892 When you prefer other reference names than the default ones, for example
20893  you want instead of 
20894 \begin_inset Quotes eld
20895 \end_inset
20896
20897 section
20898 \begin_inset Quotes erd
20899 \end_inset
20900
20901  the name 
20902 \begin_inset Quotes eld
20903 \end_inset
20904
20905 sec.
20906 \begin_inset space \thinspace{}
20907 \end_inset
20908
20909
20910 \begin_inset Quotes eld
20911 \end_inset
20912
20913 , you can redefine the name by inserting this in the preamble:
20914 \end_layout
20915
20916 \begin_layout Standard
20917
20918 \series bold
20919
20920 \backslash
20921 addto
20922 \backslash
20923 extrasenglish{
20924 \backslash
20925 renewcommand{
20926 \backslash
20927 sectionautorefname}
20928 \begin_inset Newline newline
20929 \end_inset
20930
20931
20932 \begin_inset Phantom HPhantom
20933 status open
20934
20935 \begin_layout Plain Layout
20936
20937 \series bold
20938 \begin_inset space ~
20939 \end_inset
20940
20941
20942 \end_layout
20943
20944 \end_inset
20945
20946 {sec.
20947 \backslash
20948 negthinspace}}
20949 \end_layout
20950
20951 \begin_layout Standard
20952 When you are using another document language than English, replace
20953 \begin_inset Newline newline
20954 \end_inset
20955
20956
20957 \series bold
20958
20959 \backslash
20960 extrasenglish
20961 \series default
20962  by 
20963 \series bold
20964
20965 \backslash
20966 extras***
20967 \series default
20968 , where *** is the name of the language used.
20969 \end_layout
20970
20971 \begin_layout Standard
20972 To get automatic names, but not for certain reference types, for example
20973  not for equations, use this preamble code:
20974 \end_layout
20975
20976 \begin_layout Standard
20977
20978 \series bold
20979
20980 \backslash
20981 newlength{
20982 \backslash
20983 abc}
20984 \begin_inset Newline newline
20985 \end_inset
20986
20987
20988 \backslash
20989 settowidth{
20990 \backslash
20991 abc}{
20992 \backslash
20993 space}
20994 \begin_inset Newline newline
20995 \end_inset
20996
20997
20998 \backslash
20999 addto
21000 \backslash
21001 extrasenglish{
21002 \backslash
21003 renewcommand{
21004 \backslash
21005 equationautorefname}
21006 \begin_inset Newline newline
21007 \end_inset
21008
21009
21010 \begin_inset Phantom HPhantom
21011 status open
21012
21013 \begin_layout Plain Layout
21014
21015 \series bold
21016 \begin_inset space ~
21017 \end_inset
21018
21019
21020 \end_layout
21021
21022 \end_inset
21023
21024 {
21025 \backslash
21026 hspace{-
21027 \backslash
21028 abc}}
21029 \end_layout
21030
21031 \begin_layout Standard
21032 More about this topic can be found in 
21033 \series bold
21034 hyperref
21035 \series default
21036 's documentation 
21037 \begin_inset CommandInset citation
21038 LatexCommand cite
21039 key "hyperref"
21040
21041 \end_inset
21042
21043 .
21044 \end_layout
21045
21046 \begin_layout Standard
21047 \begin_inset Note Greyedout
21048 status open
21049
21050 \begin_layout Plain Layout
21051
21052 \series bold
21053 Note:
21054 \series default
21055  Automatic reference naming cannot be used when you use cross-references
21056  in the 
21057 \family sans
21058 Formatted
21059 \begin_inset space ~
21060 \end_inset
21061
21062 reference
21063 \family default
21064  style, as described in section
21065 \begin_inset space ~
21066 \end_inset
21067
21068
21069 \begin_inset CommandInset ref
21070 LatexCommand ref
21071 reference "sub:Cross-Reference-Formats"
21072
21073 \end_inset
21074
21075 .
21076 \end_layout
21077
21078 \end_inset
21079
21080
21081 \end_layout
21082
21083 \begin_layout Standard
21084 The 
21085 \emph on
21086 Math
21087 \emph default
21088  manual is an example where automatic reference naming is used.
21089 \end_layout
21090
21091 \begin_layout Subsection
21092 Reference Position
21093 \begin_inset CommandInset label
21094 LatexCommand label
21095 name "sub:Reference-Position"
21096
21097 \end_inset
21098
21099
21100 \begin_inset Index idx
21101 status collapsed
21102
21103 \begin_layout Plain Layout
21104 References ! Reference Position
21105 \end_layout
21106
21107 \end_inset
21108
21109
21110 \end_layout
21111
21112 \begin_layout Standard
21113 If you use 
21114 \series bold
21115 hyperref
21116 \series default
21117
21118 \begin_inset Index idx
21119 status collapsed
21120
21121 \begin_layout Plain Layout
21122 LaTeX-packages ! hyperref
21123 \end_layout
21124
21125 \end_inset
21126
21127  in the 
21128 \family sans
21129 PDF Properties
21130 \family default
21131  of the 
21132 \family sans
21133 Document Settings
21134 \family default
21135  dialog to link cross-references in the output, you will see that clicking
21136  on an image float reference jumps to the image label.
21137  The caption will be the first text part on the screen, so that you cannot
21138  see the image without scrolling.
21139  This is because the reference link anchor is placed at the position of
21140  the label.
21141  With the use of the package 
21142 \series bold
21143 hypcap
21144 \series default
21145
21146 \begin_inset Index idx
21147 status collapsed
21148
21149 \begin_layout Plain Layout
21150 LaTeX-packages ! hypcap
21151 \end_layout
21152
21153 \end_inset
21154
21155 , which is part of the LaTeX-package 
21156 \series bold
21157 oberdiek
21158 \series default
21159
21160 \begin_inset Index idx
21161 status collapsed
21162
21163 \begin_layout Plain Layout
21164 LaTeX-packages ! oberdiek
21165 \end_layout
21166
21167 \end_inset
21168
21169 , the link anchor is placed at the beginning of a float.
21170  To use this feature for figure floats, load 
21171 \series bold
21172 hypcap
21173 \series default
21174  in the document preamble with the line
21175 \end_layout
21176
21177 \begin_layout Standard
21178
21179 \series bold
21180
21181 \backslash
21182 usepackage[figure]{hypcap}
21183 \end_layout
21184
21185 \begin_layout Standard
21186 You can also use 
21187 \series bold
21188 hypcap
21189 \series default
21190  for all float types but this is not recommended for stability reasons.
21191  For more information, have a look at 
21192 \series bold
21193 hypcap
21194 \series default
21195 's manual 
21196 \begin_inset CommandInset citation
21197 LatexCommand cite
21198 key "hypcap"
21199
21200 \end_inset
21201
21202 .
21203 \end_layout
21204
21205 \begin_layout Standard
21206 \begin_inset Note Greyedout
21207 status open
21208
21209 \begin_layout Plain Layout
21210
21211 \series bold
21212 Note:
21213 \series default
21214  
21215 \series bold
21216 hypcap
21217 \series default
21218  has no effect on references to subfigures.
21219 \end_layout
21220
21221 \end_inset
21222
21223
21224 \end_layout
21225
21226 \begin_layout Section
21227 Float Placement
21228 \begin_inset CommandInset label
21229 LatexCommand label
21230 name "sec:Float-Placement"
21231
21232 \end_inset
21233
21234
21235 \begin_inset Index idx
21236 status collapsed
21237
21238 \begin_layout Plain Layout
21239 Floats ! Placement
21240 \end_layout
21241
21242 \end_inset
21243
21244
21245 \end_layout
21246
21247 \begin_layout Standard
21248 Right-clicking on a float-box opens a dialog where you can alter the placement
21249  options that LaTeX uses for positioning the float.
21250 \begin_inset Newline newline
21251 \end_inset
21252
21253 The option 
21254 \family sans
21255 Span
21256 \begin_inset space ~
21257 \end_inset
21258
21259 columns
21260 \family default
21261  is only useful for two-column documents: If you select it, the float will
21262  span both columns on the page instead of being confined to just one.
21263 \begin_inset Newline newline
21264 \end_inset
21265
21266 The option 
21267 \family sans
21268 Rotate
21269 \begin_inset space ~
21270 \end_inset
21271
21272 sideways
21273 \family default
21274  is used to rotate floats, see section 
21275 \begin_inset CommandInset ref
21276 LatexCommand ref
21277 reference "sec:Rotated-Floats"
21278
21279 \end_inset
21280
21281 .
21282 \end_layout
21283
21284 \begin_layout Standard
21285 You can use one ore more of the following options in the float dialog to
21286  set the placement for a particular float when you uncheck the option 
21287 \family sans
21288 Use
21289 \begin_inset space ~
21290 \end_inset
21291
21292 default
21293 \begin_inset space ~
21294 \end_inset
21295
21296 placement
21297 \family default
21298 :
21299 \end_layout
21300
21301 \begin_layout Description
21302 Here
21303 \begin_inset space ~
21304 \end_inset
21305
21306 if
21307 \begin_inset space ~
21308 \end_inset
21309
21310 possible try to place the float on the position where it has been inserted
21311 \end_layout
21312
21313 \begin_layout Description
21314 Top
21315 \begin_inset space ~
21316 \end_inset
21317
21318 of
21319 \begin_inset space ~
21320 \end_inset
21321
21322 page try to place the float at the top of the current page
21323 \end_layout
21324
21325 \begin_layout Description
21326 Bottom
21327 \begin_inset space ~
21328 \end_inset
21329
21330 of
21331 \begin_inset space ~
21332 \end_inset
21333
21334 page try to place the float at the bottom of the current page
21335 \end_layout
21336
21337 \begin_layout Description
21338 Page
21339 \begin_inset space ~
21340 \end_inset
21341
21342 of
21343 \begin_inset space ~
21344 \end_inset
21345
21346 floats try to place the float on its own page
21347 \end_layout
21348
21349 \begin_layout Standard
21350 The order of the above option is 
21351 \emph on
21352 always
21353 \emph default
21354  used by LaTeX.
21355  That means, if you use the default placement, LaTeX will first try out
21356  
21357 \family sans
21358 Here
21359 \begin_inset space ~
21360 \end_inset
21361
21362 if
21363 \begin_inset space ~
21364 \end_inset
21365
21366 possible
21367 \family default
21368 , then 
21369 \family sans
21370 Top
21371 \begin_inset space ~
21372 \end_inset
21373
21374 of
21375 \begin_inset space ~
21376 \end_inset
21377
21378 page
21379 \family default
21380 , and then the others.
21381  If you do not use the default, LaTeX will try only the checked options
21382  but in the same order.
21383  If none of the 4
21384 \begin_inset space ~
21385 \end_inset
21386
21387 placements are possible the procedure is internally repeated but it is tried
21388  to put the float on the following page.
21389 \end_layout
21390
21391 \begin_layout Standard
21392 By default, each option has its own rules:
21393 \end_layout
21394
21395 \begin_layout Labeling
21396 \labelwidthstring 00.00.0000
21397
21398 \family sans
21399 Top
21400 \begin_inset space ~
21401 \end_inset
21402
21403 of
21404 \begin_inset space ~
21405 \end_inset
21406
21407 page
21408 \family default
21409  only floats occupying less than 70
21410 \begin_inset space \thinspace{}
21411 \end_inset
21412
21413 % of the page can be placed at the top of a page (
21414 \series bold
21415
21416 \backslash
21417 topfraction
21418 \series default
21419 )
21420 \end_layout
21421
21422 \begin_layout Labeling
21423 \labelwidthstring 00.00.0000
21424
21425 \family sans
21426 Bottom
21427 \begin_inset space ~
21428 \end_inset
21429
21430 of
21431 \begin_inset space ~
21432 \end_inset
21433
21434 page
21435 \family default
21436 : only floats occupying less than 30
21437 \begin_inset space \thinspace{}
21438 \end_inset
21439
21440 % of the page can be placed at the bottom of a page.
21441  (
21442 \series bold
21443
21444 \backslash
21445 bottomfraction
21446 \series default
21447 )
21448 \end_layout
21449
21450 \begin_layout Labeling
21451 \labelwidthstring 00.00.0000
21452
21453 \family sans
21454 Page
21455 \begin_inset space ~
21456 \end_inset
21457
21458 of
21459 \begin_inset space ~
21460 \end_inset
21461
21462 floats
21463 \family default
21464 : only if more than 50
21465 \begin_inset space \thinspace{}
21466 \end_inset
21467
21468 % of the page are occupied by floats, several floats can be set together
21469  on a page.
21470  (
21471 \series bold
21472
21473 \backslash
21474 floatpagefraction
21475 \series default
21476 )
21477 \end_layout
21478
21479 \begin_layout Standard
21480 If you don't like these rules, you can ignore them by using the additional
21481  option 
21482 \family sans
21483 Ignore
21484 \begin_inset space ~
21485 \end_inset
21486
21487 LaTeX
21488 \begin_inset space ~
21489 \end_inset
21490
21491 rules
21492 \family default
21493 .
21494 \begin_inset Newline newline
21495 \end_inset
21496
21497 You can also redefine the rules with LaTeX-commands that are given in parenthese
21498 s after the rules description above.
21499  To increase for example the often too small default of the bottom-rule
21500  to 50
21501 \begin_inset space \thinspace{}
21502 \end_inset
21503
21504 % of the page, add this line to your document preamble:
21505 \end_layout
21506
21507 \begin_layout Standard
21508
21509 \series bold
21510
21511 \backslash
21512 renewcommand{
21513 \backslash
21514 bottomfraction}{0.5}
21515 \end_layout
21516
21517 \begin_layout Standard
21518 Sometimes you might need, under all circumstances, a float to be placed
21519  exactly at the position where it is inserted.
21520  For this case you can use the option 
21521 \family sans
21522 Here
21523 \begin_inset space ~
21524 \end_inset
21525
21526 definitely
21527 \family default
21528 .
21529  Use this option very rarely and only if the document is almost ready to
21530  be printed, because the float is then no longer able to 
21531 \begin_inset Quotes eld
21532 \end_inset
21533
21534 float
21535 \begin_inset Quotes erd
21536 \end_inset
21537
21538  when you change your document and this will often destroy the page layout.
21539 \end_layout
21540
21541 \begin_layout Standard
21542 There are no placement options for text wrap floats, because they are always
21543  surrounded by the text of a certain paragraph.
21544 \begin_inset VSpace bigskip
21545 \end_inset
21546
21547
21548 \end_layout
21549
21550 \begin_layout Standard
21551 Sometimes you have the problem that a float is placed at the top of a page
21552  while its corresponding section starts at the middle of the page, so that
21553  the reader could think the float is part of the previous section.
21554  To avoid this the LaTeX-command 
21555 \series bold
21556
21557 \backslash
21558 suppressfloats
21559 \series default
21560  can be used.
21561  It suppresses a given float placement for the page where it is inserted
21562  and can therefore be used to avoid floats being set before a section starts.
21563  To get this, add these commands to your document preamble:
21564 \end_layout
21565
21566 \begin_layout Standard
21567
21568 \series bold
21569
21570 \backslash
21571 let
21572 \backslash
21573 mySection
21574 \backslash
21575 section
21576 \begin_inset Newline newline
21577 \end_inset
21578
21579
21580 \backslash
21581 renewcommand{
21582 \backslash
21583 section}{
21584 \backslash
21585 suppressfloats[t]
21586 \backslash
21587 mySection}
21588 \end_layout
21589
21590 \begin_layout Standard
21591 You can define the same for all section headings, like chapters and subsections.
21592  This definition is not recommended to be used for small text parts like
21593  subsubsections because LaTeX may then have problems finding a suitable
21594  placement.
21595 \end_layout
21596
21597 \begin_layout Standard
21598 \begin_inset VSpace bigskip
21599 \end_inset
21600
21601 In some cases it is required to have all figures/tables at the end of the
21602  document.
21603  For this purpose the LaTeX-package 
21604 \series bold
21605 endfloat
21606 \series default
21607
21608 \begin_inset Index idx
21609 status collapsed
21610
21611 \begin_layout Plain Layout
21612 LaTeX-packages ! endfloat
21613 \end_layout
21614
21615 \end_inset
21616
21617  was developed.
21618  It puts all figure and table floats at the end of the document into their
21619  own sections.
21620  At the original float position a text hint like 
21621 \begin_inset Quotes eld
21622 \end_inset
21623
21624
21625 \family sans
21626 [Figure
21627 \begin_inset space ~
21628 \end_inset
21629
21630 3.2 about here.]
21631 \family default
21632
21633 \begin_inset Quotes erd
21634 \end_inset
21635
21636  is inserted.
21637  The endfloat-package is loaded in the preamble with the line
21638 \end_layout
21639
21640 \begin_layout Standard
21641
21642 \series bold
21643
21644 \backslash
21645 usepackage[options]{endfloat}
21646 \end_layout
21647
21648 \begin_layout Standard
21649 There are various package options to format the created figure/table sections.
21650  For more information we refer to the 
21651 \series bold
21652 endfloat
21653 \series default
21654  documentation 
21655 \begin_inset CommandInset citation
21656 LatexCommand cite
21657 key "endfloat"
21658
21659 \end_inset
21660
21661 .
21662 \begin_inset Newline newline
21663 \end_inset
21664
21665
21666 \begin_inset Note Greyedout
21667 status open
21668
21669 \begin_layout Plain Layout
21670
21671 \series bold
21672 Note: endfloat
21673 \series default
21674  doesn't provide an automatic translation for the text hint, you have to
21675  do this manually, see section
21676 \begin_inset space ~
21677 \end_inset
21678
21679 4 in 
21680 \begin_inset CommandInset citation
21681 LatexCommand cite
21682 key "endfloat"
21683
21684 \end_inset
21685
21686 .
21687 \end_layout
21688
21689 \end_inset
21690
21691
21692 \begin_inset Newline newline
21693 \end_inset
21694
21695
21696 \begin_inset Note Greyedout
21697 status open
21698
21699 \begin_layout Plain Layout
21700
21701 \series bold
21702 Note:
21703 \series default
21704  There is currently a bug in 
21705 \series bold
21706 endfloat
21707 \series default
21708  when the caption contains a German 
21709 \begin_inset Quotes eld
21710 \end_inset
21711
21712 ß
21713 \begin_inset Quotes erd
21714 \end_inset
21715
21716 .
21717  Use in this case the command 
21718 \begin_inset Quotes eld
21719 \end_inset
21720
21721
21722 \series bold
21723
21724 \backslash
21725 ss
21726 \series default
21727
21728 \begin_inset Quotes erd
21729 \end_inset
21730
21731  in TeX-Code instead of 
21732 \begin_inset Quotes eld
21733 \end_inset
21734
21735 ß
21736 \begin_inset Quotes erd
21737 \end_inset
21738
21739 .
21740 \end_layout
21741
21742 \end_inset
21743
21744
21745 \end_layout
21746
21747 \begin_layout Standard
21748 \begin_inset VSpace bigskip
21749 \end_inset
21750
21751 For more details about float placements, have a look at LaTeX books, 
21752 \begin_inset CommandInset citation
21753 LatexCommand cite
21754 key "latexcompanion,latexguide,latexbook"
21755
21756 \end_inset
21757
21758 .
21759 \end_layout
21760
21761 \begin_layout Section
21762 Rotated Floats
21763 \begin_inset CommandInset label
21764 LatexCommand label
21765 name "sec:Rotated-Floats"
21766
21767 \end_inset
21768
21769
21770 \begin_inset Index idx
21771 status collapsed
21772
21773 \begin_layout Plain Layout
21774 Floats ! Rotating
21775 \end_layout
21776
21777 \end_inset
21778
21779
21780 \end_layout
21781
21782 \begin_layout Standard
21783 Especially for wide tables you might have floats rotated.
21784  To rotate a whole float including the caption, right-click on the float-box
21785  and use the option 
21786 \family sans
21787 Rotate
21788 \begin_inset space ~
21789 \end_inset
21790
21791 sideways
21792 \family default
21793 .
21794 \end_layout
21795
21796 \begin_layout Standard
21797 Rotated floats are always placed on a page of their own (or column of their
21798  own; in case you have a multi-column document).
21799  You can let them span several columns using the float settings option 
21800 \family sans
21801 Span
21802 \begin_inset space ~
21803 \end_inset
21804
21805 columns
21806 \family default
21807 .
21808  Floats are rotated so that you can read them from the outside margin.
21809  To force a certain rotation direction for all pages, you can add either
21810  the option 
21811 \series bold
21812 figuresleft
21813 \series default
21814  or 
21815 \series bold
21816 figuresright
21817 \series default
21818  to the document class options.
21819 \end_layout
21820
21821 \begin_layout Standard
21822 Referencing rotated floats is the same as for normal floats, the caption
21823  format is also the same: Table
21824 \begin_inset space ~
21825 \end_inset
21826
21827
21828 \begin_inset CommandInset ref
21829 LatexCommand ref
21830 reference "tab:Rotated-table"
21831
21832 \end_inset
21833
21834  is an example of a rotated table float.
21835 \end_layout
21836
21837 \begin_layout Standard
21838 \begin_inset Note Greyedout
21839 status open
21840
21841 \begin_layout Plain Layout
21842
21843 \series bold
21844 Note:
21845 \series default
21846  Not all DVI-viewers are able to display rotated floats.
21847 \end_layout
21848
21849 \end_inset
21850
21851
21852 \end_layout
21853
21854 \begin_layout Standard
21855 \begin_inset Float table
21856 wide false
21857 sideways true
21858 status open
21859
21860 \begin_layout Plain Layout
21861 \begin_inset Caption
21862
21863 \begin_layout Plain Layout
21864 \begin_inset CommandInset label
21865 LatexCommand label
21866 name "tab:Rotated-table"
21867
21868 \end_inset
21869
21870  Rotated table
21871 \end_layout
21872
21873 \end_inset
21874
21875
21876 \end_layout
21877
21878 \begin_layout Plain Layout
21879 \align center
21880 \begin_inset Tabular
21881 <lyxtabular version="3" rows="1" columns="5">
21882 <features tabularvalignment="middle">
21883 <column alignment="center" valignment="top" width="0">
21884 <column alignment="center" valignment="top" width="0">
21885 <column alignment="center" valignment="top" width="0">
21886 <column alignment="center" valignment="top" width="0">
21887 <column alignment="center" valignment="top" width="0">
21888 <row>
21889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21890 \begin_inset Text
21891
21892 \begin_layout Plain Layout
21893 test
21894 \end_layout
21895
21896 \end_inset
21897 </cell>
21898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21899 \begin_inset Text
21900
21901 \begin_layout Plain Layout
21902 b
21903 \end_layout
21904
21905 \end_inset
21906 </cell>
21907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21908 \begin_inset Text
21909
21910 \begin_layout Plain Layout
21911 c
21912 \end_layout
21913
21914 \end_inset
21915 </cell>
21916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21917 \begin_inset Text
21918
21919 \begin_layout Plain Layout
21920 d
21921 \end_layout
21922
21923 \end_inset
21924 </cell>
21925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21926 \begin_inset Text
21927
21928 \begin_layout Plain Layout
21929 e
21930 \end_layout
21931
21932 \end_inset
21933 </cell>
21934 </row>
21935 </lyxtabular>
21936
21937 \end_inset
21938
21939
21940 \end_layout
21941
21942 \end_inset
21943
21944
21945 \end_layout
21946
21947 \begin_layout Section
21948 Subfloats
21949 \begin_inset Index idx
21950 status collapsed
21951
21952 \begin_layout Plain Layout
21953 Floats ! Subfloats
21954 \end_layout
21955
21956 \end_inset
21957
21958
21959 \end_layout
21960
21961 \begin_layout Standard
21962 Subfloats are for example used when a figure consists of several images.
21963  They are created by inserting a float into an existing float.
21964  The placement of the subfloats can be controlled in the same way as for
21965  paragraphs as shown in table
21966 \begin_inset space ~
21967 \end_inset
21968
21969
21970 \begin_inset CommandInset ref
21971 LatexCommand ref
21972 reference "tab:Two-subtables-side"
21973
21974 \end_inset
21975
21976  and 
21977 \begin_inset CommandInset ref
21978 LatexCommand ref
21979 reference "tab:Two-subtables-upon"
21980
21981 \end_inset
21982
21983 .
21984 \end_layout
21985
21986 \begin_layout Standard
21987 Referencing subfloats works as for normal floats: Table
21988 \begin_inset space ~
21989 \end_inset
21990
21991
21992 \begin_inset CommandInset ref
21993 LatexCommand ref
21994 reference "tab:This-is-subtable-a"
21995
21996 \end_inset
21997
21998  and 
21999 \begin_inset CommandInset ref
22000 LatexCommand ref
22001 reference "tab:This-is-subtable-b"
22002
22003 \end_inset
22004
22005  are subtables of table
22006 \begin_inset space ~
22007 \end_inset
22008
22009
22010 \begin_inset CommandInset ref
22011 LatexCommand ref
22012 reference "tab:Two-subtables-side"
22013
22014 \end_inset
22015
22016 .
22017 \end_layout
22018
22019 \begin_layout Standard
22020 \begin_inset Float table
22021 wide false
22022 sideways false
22023 status open
22024
22025 \begin_layout Plain Layout
22026 \begin_inset Caption
22027
22028 \begin_layout Plain Layout
22029 \begin_inset CommandInset label
22030 LatexCommand label
22031 name "tab:Two-subtables-side"
22032
22033 \end_inset
22034
22035 Two subtables placed side by side.
22036 \end_layout
22037
22038 \end_inset
22039
22040
22041 \end_layout
22042
22043 \begin_layout Plain Layout
22044 \align center
22045 \begin_inset space \hfill{}
22046 \end_inset
22047
22048
22049 \begin_inset Float table
22050 wide false
22051 sideways false
22052 status collapsed
22053
22054 \begin_layout Plain Layout
22055 \begin_inset Caption
22056
22057 \begin_layout Plain Layout
22058 \begin_inset CommandInset label
22059 LatexCommand label
22060 name "tab:This-is-subtable-a"
22061
22062 \end_inset
22063
22064 This is subtable a.
22065 \end_layout
22066
22067 \end_inset
22068
22069
22070 \end_layout
22071
22072 \begin_layout Plain Layout
22073 \align center
22074 \begin_inset Tabular
22075 <lyxtabular version="3" rows="1" columns="5">
22076 <features tabularvalignment="middle">
22077 <column alignment="center" valignment="top" width="0">
22078 <column alignment="center" valignment="top" width="0">
22079 <column alignment="center" valignment="top" width="0">
22080 <column alignment="center" valignment="top" width="0">
22081 <column alignment="center" valignment="top" width="0">
22082 <row>
22083 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22084 \begin_inset Text
22085
22086 \begin_layout Plain Layout
22087 test
22088 \end_layout
22089
22090 \end_inset
22091 </cell>
22092 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22093 \begin_inset Text
22094
22095 \begin_layout Plain Layout
22096 b
22097 \end_layout
22098
22099 \end_inset
22100 </cell>
22101 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22102 \begin_inset Text
22103
22104 \begin_layout Plain Layout
22105 c
22106 \end_layout
22107
22108 \end_inset
22109 </cell>
22110 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22111 \begin_inset Text
22112
22113 \begin_layout Plain Layout
22114 d
22115 \end_layout
22116
22117 \end_inset
22118 </cell>
22119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22120 \begin_inset Text
22121
22122 \begin_layout Plain Layout
22123 e
22124 \end_layout
22125
22126 \end_inset
22127 </cell>
22128 </row>
22129 </lyxtabular>
22130
22131 \end_inset
22132
22133
22134 \end_layout
22135
22136 \end_inset
22137
22138
22139 \begin_inset space \hfill{}
22140 \end_inset
22141
22142
22143 \begin_inset Float table
22144 wide false
22145 sideways false
22146 status collapsed
22147
22148 \begin_layout Plain Layout
22149 \begin_inset Caption
22150
22151 \begin_layout Plain Layout
22152 \begin_inset CommandInset label
22153 LatexCommand label
22154 name "tab:This-is-subtable-b"
22155
22156 \end_inset
22157
22158 This is subtable b.
22159 \end_layout
22160
22161 \end_inset
22162
22163
22164 \end_layout
22165
22166 \begin_layout Plain Layout
22167 \align center
22168 \begin_inset Tabular
22169 <lyxtabular version="3" rows="1" columns="5">
22170 <features tabularvalignment="middle">
22171 <column alignment="center" valignment="top" width="0">
22172 <column alignment="center" valignment="top" width="0">
22173 <column alignment="center" valignment="top" width="0">
22174 <column alignment="center" valignment="top" width="0">
22175 <column alignment="center" valignment="top" width="0">
22176 <row>
22177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22178 \begin_inset Text
22179
22180 \begin_layout Plain Layout
22181 e
22182 \end_layout
22183
22184 \end_inset
22185 </cell>
22186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22187 \begin_inset Text
22188
22189 \begin_layout Plain Layout
22190 d
22191 \end_layout
22192
22193 \end_inset
22194 </cell>
22195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22196 \begin_inset Text
22197
22198 \begin_layout Plain Layout
22199 c
22200 \end_layout
22201
22202 \end_inset
22203 </cell>
22204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22205 \begin_inset Text
22206
22207 \begin_layout Plain Layout
22208 b
22209 \end_layout
22210
22211 \end_inset
22212 </cell>
22213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22214 \begin_inset Text
22215
22216 \begin_layout Plain Layout
22217 test
22218 \end_layout
22219
22220 \end_inset
22221 </cell>
22222 </row>
22223 </lyxtabular>
22224
22225 \end_inset
22226
22227
22228 \end_layout
22229
22230 \end_inset
22231
22232
22233 \begin_inset space \hfill{}
22234 \end_inset
22235
22236
22237 \end_layout
22238
22239 \end_inset
22240
22241
22242 \end_layout
22243
22244 \begin_layout Standard
22245 \begin_inset Float table
22246 wide false
22247 sideways false
22248 status open
22249
22250 \begin_layout Plain Layout
22251 \begin_inset Caption
22252
22253 \begin_layout Plain Layout
22254 \begin_inset CommandInset label
22255 LatexCommand label
22256 name "tab:Two-subtables-upon"
22257
22258 \end_inset
22259
22260 Two subtables placed one above the other.
22261  (a) table with 4 cells, (b) table with 5 cells.
22262 \end_layout
22263
22264 \end_inset
22265
22266
22267 \end_layout
22268
22269 \begin_layout Plain Layout
22270 \align center
22271 \begin_inset Float table
22272 wide false
22273 sideways false
22274 status collapsed
22275
22276 \begin_layout Plain Layout
22277 \begin_inset Caption
22278
22279 \begin_layout Plain Layout
22280
22281 \end_layout
22282
22283 \end_inset
22284
22285
22286 \end_layout
22287
22288 \begin_layout Plain Layout
22289 \align center
22290 \begin_inset Tabular
22291 <lyxtabular version="3" rows="1" columns="4">
22292 <features tabularvalignment="middle">
22293 <column alignment="center" valignment="top" width="0">
22294 <column alignment="center" valignment="top" width="0">
22295 <column alignment="center" valignment="top" width="0">
22296 <column alignment="center" valignment="top" width="0">
22297 <row>
22298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22299 \begin_inset Text
22300
22301 \begin_layout Plain Layout
22302 test
22303 \end_layout
22304
22305 \end_inset
22306 </cell>
22307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22308 \begin_inset Text
22309
22310 \begin_layout Plain Layout
22311 test
22312 \end_layout
22313
22314 \end_inset
22315 </cell>
22316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22317 \begin_inset Text
22318
22319 \begin_layout Plain Layout
22320 test
22321 \end_layout
22322
22323 \end_inset
22324 </cell>
22325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22326 \begin_inset Text
22327
22328 \begin_layout Plain Layout
22329 test
22330 \end_layout
22331
22332 \end_inset
22333 </cell>
22334 </row>
22335 </lyxtabular>
22336
22337 \end_inset
22338
22339
22340 \end_layout
22341
22342 \end_inset
22343
22344
22345 \end_layout
22346
22347 \begin_layout Plain Layout
22348 \align center
22349 \begin_inset Float table
22350 wide false
22351 sideways false
22352 status collapsed
22353
22354 \begin_layout Plain Layout
22355 \begin_inset Caption
22356
22357 \begin_layout Plain Layout
22358
22359 \end_layout
22360
22361 \end_inset
22362
22363
22364 \end_layout
22365
22366 \begin_layout Plain Layout
22367 \align center
22368 \begin_inset Tabular
22369 <lyxtabular version="3" rows="1" columns="5">
22370 <features tabularvalignment="middle">
22371 <column alignment="center" valignment="top" width="0">
22372 <column alignment="center" valignment="top" width="0">
22373 <column alignment="center" valignment="top" width="0">
22374 <column alignment="center" valignment="top" width="0">
22375 <column alignment="center" valignment="top" width="0">
22376 <row>
22377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22378 \begin_inset Text
22379
22380 \begin_layout Plain Layout
22381 a
22382 \end_layout
22383
22384 \end_inset
22385 </cell>
22386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22387 \begin_inset Text
22388
22389 \begin_layout Plain Layout
22390 b
22391 \end_layout
22392
22393 \end_inset
22394 </cell>
22395 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22396 \begin_inset Text
22397
22398 \begin_layout Plain Layout
22399 c
22400 \end_layout
22401
22402 \end_inset
22403 </cell>
22404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22405 \begin_inset Text
22406
22407 \begin_layout Plain Layout
22408 d
22409 \end_layout
22410
22411 \end_inset
22412 </cell>
22413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22414 \begin_inset Text
22415
22416 \begin_layout Plain Layout
22417 e
22418 \end_layout
22419
22420 \end_inset
22421 </cell>
22422 </row>
22423 </lyxtabular>
22424
22425 \end_inset
22426
22427
22428 \end_layout
22429
22430 \end_inset
22431
22432
22433 \end_layout
22434
22435 \end_inset
22436
22437
22438 \end_layout
22439
22440 \begin_layout Section
22441 Floats Side by Side
22442 \begin_inset Index idx
22443 status collapsed
22444
22445 \begin_layout Plain Layout
22446 Floats ! Side by side
22447 \end_layout
22448
22449 \end_inset
22450
22451
22452 \end_layout
22453
22454 \begin_layout Standard
22455 To place floats side by side, as in Figures
22456 \begin_inset space ~
22457 \end_inset
22458
22459
22460 \begin_inset CommandInset ref
22461 LatexCommand ref
22462 reference "fig:Float-left"
22463
22464 \end_inset
22465
22466  and 
22467 \begin_inset CommandInset ref
22468 LatexCommand ref
22469 reference "fig:Float-right"
22470
22471 \end_inset
22472
22473 , only 
22474 \emph on
22475 one
22476 \emph default
22477  float is used.
22478  In it two minipage boxes are inserted.
22479 \begin_inset Foot
22480 status collapsed
22481
22482 \begin_layout Plain Layout
22483 Minipages are explained in section
22484 \begin_inset space ~
22485 \end_inset
22486
22487
22488 \begin_inset CommandInset ref
22489 LatexCommand ref
22490 reference "sec:Minipages"
22491
22492 \end_inset
22493
22494 .
22495 \end_layout
22496
22497 \end_inset
22498
22499  The width is set to 45
22500 \begin_inset space \thinspace{}
22501 \end_inset
22502
22503 -50
22504 \begin_inset space \thinspace{}
22505 \end_inset
22506
22507 column% and the box alignment to 
22508 \family sans
22509 Bottom
22510 \family default
22511  for each minipage.
22512  The minipage boxes contain the image and the caption in the same way as
22513  they are in a float.
22514  The only difference is that the image unit 
22515 \family sans
22516 Column
22517 \begin_inset space ~
22518 \end_inset
22519
22520 Width
22521 \begin_inset space ~
22522 \end_inset
22523
22524 %
22525 \family default
22526  is now calculated according to the width of the minipage boxes.
22527 \end_layout
22528
22529 \begin_layout Standard
22530 \begin_inset Float figure
22531 wide false
22532 sideways false
22533 status open
22534
22535 \begin_layout Plain Layout
22536 \begin_inset Box Frameless
22537 position "b"
22538 hor_pos "c"
22539 has_inner_box 1
22540 inner_pos "t"
22541 use_parbox 0
22542 use_makebox 0
22543 width "45col%"
22544 special "none"
22545 height "1in"
22546 height_special "totalheight"
22547 status open
22548
22549 \begin_layout Plain Layout
22550 \align center
22551 \begin_inset Graphics
22552         filename clipart/mobius.eps
22553         lyxscale 50
22554         width 100col%
22555         scaleBeforeRotation
22556
22557 \end_inset
22558
22559
22560 \end_layout
22561
22562 \begin_layout Plain Layout
22563 \begin_inset Caption
22564
22565 \begin_layout Plain Layout
22566 \begin_inset CommandInset label
22567 LatexCommand label
22568 name "fig:Float-left"
22569
22570 \end_inset
22571
22572 Float on the left side.
22573 \end_layout
22574
22575 \end_inset
22576
22577
22578 \end_layout
22579
22580 \end_inset
22581
22582
22583 \begin_inset space \hfill{}
22584 \end_inset
22585
22586
22587 \begin_inset Box Frameless
22588 position "b"
22589 hor_pos "c"
22590 has_inner_box 1
22591 inner_pos "t"
22592 use_parbox 0
22593 use_makebox 0
22594 width "45col%"
22595 special "none"
22596 height "1in"
22597 height_special "totalheight"
22598 status open
22599
22600 \begin_layout Plain Layout
22601 \align center
22602 \begin_inset Graphics
22603         filename clipart/platypus.eps
22604         lyxscale 50
22605         width 100col%
22606         scaleBeforeRotation
22607
22608 \end_inset
22609
22610
22611 \end_layout
22612
22613 \begin_layout Plain Layout
22614 \begin_inset Caption
22615
22616 \begin_layout Plain Layout
22617 \begin_inset CommandInset label
22618 LatexCommand label
22619 name "fig:Float-right"
22620
22621 \end_inset
22622
22623 Float on the right side.
22624 \end_layout
22625
22626 \end_inset
22627
22628
22629 \end_layout
22630
22631 \end_inset
22632
22633
22634 \end_layout
22635
22636 \begin_layout Plain Layout
22637
22638 \end_layout
22639
22640 \end_inset
22641
22642
22643 \end_layout
22644
22645 \begin_layout Section
22646 Caption Formatting
22647 \begin_inset Index idx
22648 status collapsed
22649
22650 \begin_layout Plain Layout
22651 Caption ! Formatting
22652 \end_layout
22653
22654 \end_inset
22655
22656
22657 \begin_inset Index idx
22658 status collapsed
22659
22660 \begin_layout Plain Layout
22661 Floats ! Caption Formatting
22662 \end_layout
22663
22664 \end_inset
22665
22666
22667 \begin_inset CommandInset label
22668 LatexCommand label
22669 name "sec:Caption-Formatting"
22670
22671 \end_inset
22672
22673
22674 \end_layout
22675
22676 \begin_layout Standard
22677 The 
22678 \family sans
22679 Caption
22680 \family default
22681  environment is the default paragraph environment for 
22682 \family sans
22683 Floats
22684 \family default
22685 .
22686  On the LyX screen captions appear as label, e.
22687 \begin_inset space \thinspace{}
22688 \end_inset
22689
22690 g.
22691 \begin_inset space \space{}
22692 \end_inset
22693
22694
22695 \begin_inset Quotes eld
22696 \end_inset
22697
22698
22699 \family sans
22700 Figure #:
22701 \family default
22702
22703 \begin_inset Quotes erd
22704 \end_inset
22705
22706  followed by the caption text.
22707  
22708 \begin_inset Quotes eld
22709 \end_inset
22710
22711 #
22712 \begin_inset Quotes erd
22713 \end_inset
22714
22715  is the actual reference number.
22716  By default the label and the number are in the same font as the caption
22717  text and a colon follows the number to divide the label from the text.
22718  This caption format is not suitable for all document formats.
22719  
22720 \end_layout
22721
22722 \begin_layout Standard
22723 To change the default caption format, load the LaTeX-package 
22724 \series bold
22725 caption
22726 \series default
22727
22728 \begin_inset Index idx
22729 status collapsed
22730
22731 \begin_layout Plain Layout
22732 LaTeX-packages ! caption
22733 \end_layout
22734
22735 \end_inset
22736
22737  in the document preamble with this line:
22738 \end_layout
22739
22740 \begin_layout Standard
22741
22742 \series bold
22743
22744 \backslash
22745 usepackage[format definition]{caption}
22746 \end_layout
22747
22748 \begin_layout Standard
22749 To have for example the label and the number in sans-serif bold font and
22750  the table captions always above the table as in this document, use the
22751  following command:
22752 \end_layout
22753
22754 \begin_layout Standard
22755
22756 \series bold
22757
22758 \backslash
22759 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22760 \end_layout
22761
22762 \begin_layout Standard
22763 You can also define different caption formats for the different float types.
22764  In this case load the 
22765 \series bold
22766 caption
22767 \series default
22768  package without format specific options and define the different formats
22769  with the help of the command
22770 \end_layout
22771
22772 \begin_layout Standard
22773
22774 \series bold
22775
22776 \backslash
22777 captionsetup[float type]{format definition}
22778 \end_layout
22779
22780 \begin_layout Standard
22781 in the document preamble.
22782  For example the caption formats of Figure
22783 \begin_inset space ~
22784 \end_inset
22785
22786
22787 \begin_inset CommandInset ref
22788 LatexCommand ref
22789 reference "fig:This-is-an-fig"
22790
22791 \end_inset
22792
22793  and Table
22794 \begin_inset space ~
22795 \end_inset
22796
22797
22798 \begin_inset CommandInset ref
22799 LatexCommand ref
22800 reference "tab:This-is-an-tab"
22801
22802 \end_inset
22803
22804  can be created using these commands in the document preamble:
22805 \end_layout
22806
22807 \begin_layout Standard
22808
22809 \series bold
22810
22811 \backslash
22812 usepackage[tableposition=top]{caption}
22813 \series default
22814
22815 \begin_inset Newline newline
22816 \end_inset
22817
22818
22819 \series bold
22820
22821 \backslash
22822 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22823 \begin_inset Newline newline
22824 \end_inset
22825
22826
22827 \begin_inset Phantom HPhantom
22828 status open
22829
22830 \begin_layout Plain Layout
22831
22832 \series bold
22833
22834 \backslash
22835 captionsetup[figure]{
22836 \end_layout
22837
22838 \end_inset
22839
22840 labelsep=period}
22841 \begin_inset Newline newline
22842 \end_inset
22843
22844
22845 \backslash
22846 captionsetup[table]{labelfont={bf,sf}}
22847 \end_layout
22848
22849 \begin_layout Standard
22850 \begin_inset Note Greyedout
22851 status open
22852
22853 \begin_layout Plain Layout
22854
22855 \series bold
22856 Note:
22857 \series default
22858  The option 
22859 \series bold
22860 tableposition=top
22861 \series default
22862  has no effect when a 
22863 \series bold
22864 KOMA-Script
22865 \series default
22866
22867 \begin_inset Index idx
22868 status collapsed
22869
22870 \begin_layout Plain Layout
22871 LaTeX-packages ! KOMA-Script
22872 \end_layout
22873
22874 \end_inset
22875
22876  document class is used.
22877  In this case the document class option 
22878 \series bold
22879 captions=tableheading
22880 \series default
22881  must be used.
22882 \end_layout
22883
22884 \end_inset
22885
22886
22887 \end_layout
22888
22889 \begin_layout Standard
22890 For more information about the package 
22891 \series bold
22892 caption
22893 \series default
22894  we refer to its documentation 
22895 \begin_inset CommandInset citation
22896 LatexCommand cite
22897 key "caption"
22898
22899 \end_inset
22900
22901 .
22902 \end_layout
22903
22904 \begin_layout Standard
22905 To change the label name from e.
22906 \begin_inset space \thinspace{}
22907 \end_inset
22908
22909 g.
22910 \begin_inset space \space{}
22911 \end_inset
22912
22913
22914 \begin_inset Quotes eld
22915 \end_inset
22916
22917 Figure
22918 \begin_inset Quotes erd
22919 \end_inset
22920
22921  to 
22922 \begin_inset Quotes eld
22923 \end_inset
22924
22925 Image
22926 \begin_inset Quotes erd
22927 \end_inset
22928
22929  use this preamble command:
22930 \end_layout
22931
22932 \begin_layout Standard
22933
22934 \series bold
22935
22936 \backslash
22937 renewcommand{
22938 \backslash
22939 fnum@figure}{Image~
22940 \backslash
22941 thefigure}
22942 \end_layout
22943
22944 \begin_layout Standard
22945 where 
22946 \series bold
22947
22948 \backslash
22949 thefigure
22950 \series default
22951  inserts the figure number and
22952 \series bold
22953  
22954 \begin_inset Quotes eld
22955 \end_inset
22956
22957 ~
22958 \series default
22959
22960 \begin_inset Quotes erd
22961 \end_inset
22962
22963  creates a protected space.
22964 \end_layout
22965
22966 \begin_layout Standard
22967 \begin_inset VSpace bigskip
22968 \end_inset
22969
22970 If you are using a 
22971 \series bold
22972 KOMA-Script
22973 \series default
22974
22975 \begin_inset Index idx
22976 status collapsed
22977
22978 \begin_layout Plain Layout
22979 LaTeX-packages ! KOMA-Script
22980 \end_layout
22981
22982 \end_inset
22983
22984  document class (
22985 \family sans
22986 article (KOMA-Script)
22987 \family default
22988
22989 \family sans
22990 book (KOMA-Script)
22991 \family default
22992
22993 \family sans
22994 letter (KOMA-Script)
22995 \family default
22996 , or 
22997 \family sans
22998 report (KOMA-Script)
22999 \family default
23000
23001 \begin_inset space \thinspace{}
23002 \end_inset
23003
23004 ), you can alternatively to the 
23005 \series bold
23006 caption
23007 \series default
23008  package use 
23009 \series bold
23010 KOMA-Script
23011 \series default
23012 's built-in command 
23013 \series bold
23014
23015 \backslash
23016 setkomafont
23017 \series default
23018 .
23019  For example, to have the caption label in bold, add this command to your
23020  document preamble:
23021 \end_layout
23022
23023 \begin_layout Standard
23024
23025 \series bold
23026
23027 \backslash
23028 setkomafont{captionlabel}{
23029 \backslash
23030 bfseries}
23031 \end_layout
23032
23033 \begin_layout Standard
23034 For more information about 
23035 \series bold
23036
23037 \backslash
23038 setkomafont
23039 \series default
23040  we refer to the 
23041 \series bold
23042 KOMA-Script
23043 \series default
23044  documentation 
23045 \begin_inset CommandInset citation
23046 LatexCommand cite
23047 key "KOMA-Script"
23048
23049 \end_inset
23050
23051 .
23052 \end_layout
23053
23054 \begin_layout Standard
23055 \begin_inset ERT
23056 status collapsed
23057
23058 \begin_layout Plain Layout
23059
23060
23061 \backslash
23062 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23063 }
23064 \end_layout
23065
23066 \end_inset
23067
23068
23069 \begin_inset Note Note
23070 status open
23071
23072 \begin_layout Plain Layout
23073 The caption format is changed only for this example.
23074 \end_layout
23075
23076 \end_inset
23077
23078
23079 \end_layout
23080
23081 \begin_layout Standard
23082 \begin_inset Float figure
23083 placement !p
23084 wide false
23085 sideways false
23086 status open
23087
23088 \begin_layout Plain Layout
23089 \align center
23090 \begin_inset Graphics
23091         filename clipart/mobius.eps
23092         lyxscale 50
23093         scale 50
23094         scaleBeforeRotation
23095
23096 \end_inset
23097
23098
23099 \end_layout
23100
23101 \begin_layout Plain Layout
23102 \begin_inset Caption
23103
23104 \begin_layout Plain Layout
23105 \begin_inset CommandInset label
23106 LatexCommand label
23107 name "fig:This-is-an-fig"
23108
23109 \end_inset
23110
23111 This is an example figure caption that is longer than one line to show the
23112  different caption format.
23113  Here a self-defined caption format is used.
23114 \end_layout
23115
23116 \end_inset
23117
23118
23119 \end_layout
23120
23121 \end_inset
23122
23123
23124 \end_layout
23125
23126 \begin_layout Standard
23127 \begin_inset ERT
23128 status collapsed
23129
23130 \begin_layout Plain Layout
23131
23132
23133 \backslash
23134 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23135 on}
23136 \end_layout
23137
23138 \end_inset
23139
23140
23141 \end_layout
23142
23143 \begin_layout Standard
23144 \begin_inset Float table
23145 placement !p
23146 wide false
23147 sideways false
23148 status open
23149
23150 \begin_layout Plain Layout
23151 \begin_inset Caption
23152
23153 \begin_layout Plain Layout
23154 \begin_inset CommandInset label
23155 LatexCommand label
23156 name "tab:This-is-an-tab"
23157
23158 \end_inset
23159
23160 This is an example table caption that is longer than one line to show the
23161  different caption format.
23162  Here the standard caption format for tables in this document is used.
23163 \end_layout
23164
23165 \end_inset
23166
23167
23168 \end_layout
23169
23170 \begin_layout Plain Layout
23171 \align center
23172 \begin_inset Tabular
23173 <lyxtabular version="3" rows="1" columns="5">
23174 <features tabularvalignment="middle">
23175 <column alignment="center" valignment="top" width="0">
23176 <column alignment="center" valignment="top" width="0">
23177 <column alignment="center" valignment="top" width="0">
23178 <column alignment="center" valignment="top" width="0">
23179 <column alignment="center" valignment="top" width="0">
23180 <row>
23181 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23182 \begin_inset Text
23183
23184 \begin_layout Plain Layout
23185 a
23186 \end_layout
23187
23188 \end_inset
23189 </cell>
23190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23191 \begin_inset Text
23192
23193 \begin_layout Plain Layout
23194 b
23195 \end_layout
23196
23197 \end_inset
23198 </cell>
23199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23200 \begin_inset Text
23201
23202 \begin_layout Plain Layout
23203 c
23204 \end_layout
23205
23206 \end_inset
23207 </cell>
23208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23209 \begin_inset Text
23210
23211 \begin_layout Plain Layout
23212 d
23213 \end_layout
23214
23215 \end_inset
23216 </cell>
23217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23218 \begin_inset Text
23219
23220 \begin_layout Plain Layout
23221 e
23222 \end_layout
23223
23224 \end_inset
23225 </cell>
23226 </row>
23227 </lyxtabular>
23228
23229 \end_inset
23230
23231
23232 \end_layout
23233
23234 \end_inset
23235
23236
23237 \end_layout
23238
23239 \begin_layout Section
23240 Caption Placement
23241 \begin_inset Index idx
23242 status collapsed
23243
23244 \begin_layout Plain Layout
23245 Caption ! Placement
23246 \end_layout
23247
23248 \end_inset
23249
23250
23251 \begin_inset Index idx
23252 status collapsed
23253
23254 \begin_layout Plain Layout
23255 Floats ! Caption Placement
23256 \end_layout
23257
23258 \end_inset
23259
23260
23261 \begin_inset CommandInset label
23262 LatexCommand label
23263 name "sec:Caption-Placement"
23264
23265 \end_inset
23266
23267
23268 \end_layout
23269
23270 \begin_layout Standard
23271 The common caption placement rule is:
23272 \end_layout
23273
23274 \begin_layout Description
23275 Figure: Caption is set below the figure
23276 \end_layout
23277
23278 \begin_layout Description
23279 Table: Caption is set above the table
23280 \end_layout
23281
23282 \begin_layout Standard
23283 Having the caption above the table is unfortunately not supported in LaTeX's
23284  standard classes.
23285  That means if you are using the document classes 
23286 \family sans
23287 article
23288 \family default
23289
23290 \family sans
23291 book
23292 \family default
23293
23294 \family sans
23295 letter
23296 \family default
23297 , or 
23298 \family sans
23299 report
23300 \family default
23301  there will be no space between the caption and the table.
23302  To insert the necessary space, add the following option to the load command
23303  of the LaTeX-package 
23304 \series bold
23305 caption
23306 \series default
23307  in your document preamble
23308 \begin_inset Foot
23309 status collapsed
23310
23311 \begin_layout Plain Layout
23312 See section
23313 \begin_inset space ~
23314 \end_inset
23315
23316
23317 \begin_inset CommandInset ref
23318 LatexCommand ref
23319 reference "sec:Caption-Formatting"
23320
23321 \end_inset
23322
23323  for more information of the package 
23324 \series bold
23325 caption
23326 \series default
23327 .
23328 \end_layout
23329
23330 \end_inset
23331
23332 :
23333 \end_layout
23334
23335 \begin_layout Standard
23336
23337 \series bold
23338 tableposition=top
23339 \end_layout
23340
23341 \begin_layout Standard
23342 If you are using a 
23343 \series bold
23344 KOMA-Script
23345 \series default
23346
23347 \begin_inset Index idx
23348 status collapsed
23349
23350 \begin_layout Plain Layout
23351 LaTeX-packages ! KOMA-Script
23352 \end_layout
23353
23354 \end_inset
23355
23356  document class (
23357 \family sans
23358 article (KOMA-Script)
23359 \family default
23360
23361 \family sans
23362 book (KOMA-Script)
23363 \family default
23364
23365 \family sans
23366 letter (KOMA-Script)
23367 \family default
23368 , or 
23369 \family sans
23370 report (KOMA-Script)
23371 \family default
23372
23373 \begin_inset space \thinspace{}
23374 \end_inset
23375
23376 ), you can alternatively to the 
23377 \series bold
23378 caption
23379 \series default
23380  package set the document class option 
23381 \series bold
23382 captions=tableheading
23383 \series default
23384 .
23385 \end_layout
23386
23387 \begin_layout Standard
23388 \begin_inset VSpace bigskip
23389 \end_inset
23390
23391 It is also possible to set the caption beside a figure or table.
23392  To get this the LaTeX-package 
23393 \series bold
23394 sidecap
23395 \series default
23396
23397 \begin_inset Index idx
23398 status collapsed
23399
23400 \begin_layout Plain Layout
23401 LaTeX-packages ! sidecap
23402 \end_layout
23403
23404 \end_inset
23405
23406  has to be loaded in the document preamble with the line
23407 \end_layout
23408
23409 \begin_layout Standard
23410
23411 \series bold
23412
23413 \backslash
23414 usepackage[option]{sidecap}
23415 \end_layout
23416
23417 \begin_layout Standard
23418 If you set no option, the caption is placed on the side of the outer page
23419  margin â€“ to the right on odd pages, to the left on even pages.
23420  You can change the placement to inner margin with the option 
23421 \series bold
23422 innercaption
23423 \series default
23424 .
23425  To force the placement always to the right or left, use the option 
23426 \series bold
23427 rightcaption
23428 \series default
23429  or 
23430 \series bold
23431 leftcaption
23432 \series default
23433 , respectively.
23434 \end_layout
23435
23436 \begin_layout Standard
23437 \begin_inset ERT
23438 status collapsed
23439
23440 \begin_layout Plain Layout
23441
23442
23443 \backslash
23444 ifsidecap
23445 \end_layout
23446
23447 \end_inset
23448
23449
23450 \begin_inset Note Note
23451 status open
23452
23453 \begin_layout Plain Layout
23454 The following section will only be displayed when the LaTeX-package 
23455 \series bold
23456 sidecap
23457 \series default
23458  is installed.
23459 \end_layout
23460
23461 \end_inset
23462
23463
23464 \end_layout
23465
23466 \begin_layout Standard
23467 To place in LyX the caption of a float on the side, it is necessary to add
23468  these commands to the document preamble:
23469 \end_layout
23470
23471 \begin_layout Standard
23472 \begin_inset Newpage pagebreak
23473 \end_inset
23474
23475
23476 \end_layout
23477
23478 \begin_layout Standard
23479 \noindent
23480 \begin_inset CommandInset line
23481 LatexCommand rule
23482 offset "0.5ex"
23483 width "100line%"
23484 height "1pt"
23485
23486 \end_inset
23487
23488
23489 \end_layout
23490
23491 \begin_layout Standard
23492
23493 \series bold
23494
23495 \backslash
23496 newcommand{
23497 \backslash
23498 TabBesBeg}[1][1.0]{%
23499 \begin_inset Newline newline
23500 \end_inset
23501
23502
23503 \begin_inset Phantom HPhantom
23504 status open
23505
23506 \begin_layout Plain Layout
23507 \begin_inset space ~
23508 \end_inset
23509
23510
23511 \end_layout
23512
23513 \end_inset
23514
23515
23516 \backslash
23517 let
23518 \backslash
23519 MyTable
23520 \backslash
23521 table
23522 \begin_inset Newline newline
23523 \end_inset
23524
23525
23526 \begin_inset Phantom HPhantom
23527 status open
23528
23529 \begin_layout Plain Layout
23530
23531 \series medium
23532 \begin_inset space ~
23533 \end_inset
23534
23535
23536 \end_layout
23537
23538 \end_inset
23539
23540
23541 \backslash
23542 let
23543 \backslash
23544 MyEndtable
23545 \backslash
23546 endtable
23547 \begin_inset Newline newline
23548 \end_inset
23549
23550
23551 \begin_inset Phantom HPhantom
23552 status open
23553
23554 \begin_layout Plain Layout
23555
23556 \series medium
23557 \begin_inset space ~
23558 \end_inset
23559
23560
23561 \end_layout
23562
23563 \end_inset
23564
23565
23566 \backslash
23567 renewenvironment{table}[1]{
23568 \backslash
23569 begin{SCtable}[#1]##1}{
23570 \backslash
23571 end{SCtable}}}
23572 \end_layout
23573
23574 \begin_layout Standard
23575
23576 \series bold
23577
23578 \backslash
23579 newcommand{
23580 \backslash
23581 TabBesEnd}{%
23582 \begin_inset Newline newline
23583 \end_inset
23584
23585
23586 \begin_inset Phantom HPhantom
23587 status open
23588
23589 \begin_layout Plain Layout
23590 \begin_inset space ~
23591 \end_inset
23592
23593
23594 \end_layout
23595
23596 \end_inset
23597
23598
23599 \backslash
23600 let
23601 \backslash
23602 table
23603 \backslash
23604 MyTable
23605 \begin_inset Newline newline
23606 \end_inset
23607
23608
23609 \begin_inset Phantom HPhantom
23610 status open
23611
23612 \begin_layout Plain Layout
23613 \begin_inset space ~
23614 \end_inset
23615
23616
23617 \end_layout
23618
23619 \end_inset
23620
23621
23622 \backslash
23623 let
23624 \backslash
23625 endtable
23626 \backslash
23627 MyEndtable
23628 \end_layout
23629
23630 \begin_layout Standard
23631
23632 \series bold
23633
23634 \backslash
23635 newcommand{
23636 \backslash
23637 FigBesBeg}[1][1.0]{%
23638 \begin_inset Newline newline
23639 \end_inset
23640
23641
23642 \begin_inset Phantom HPhantom
23643 status open
23644
23645 \begin_layout Plain Layout
23646 \begin_inset space ~
23647 \end_inset
23648
23649
23650 \end_layout
23651
23652 \end_inset
23653
23654
23655 \backslash
23656 let
23657 \backslash
23658 MyFigure
23659 \backslash
23660 figure
23661 \begin_inset Newline newline
23662 \end_inset
23663
23664
23665 \begin_inset Phantom HPhantom
23666 status open
23667
23668 \begin_layout Plain Layout
23669 \begin_inset space ~
23670 \end_inset
23671
23672
23673 \end_layout
23674
23675 \end_inset
23676
23677
23678 \backslash
23679 let
23680 \backslash
23681 MyEndfigure
23682 \backslash
23683 endfigure
23684 \begin_inset Newline newline
23685 \end_inset
23686
23687
23688 \begin_inset Phantom HPhantom
23689 status open
23690
23691 \begin_layout Plain Layout
23692 \begin_inset space ~
23693 \end_inset
23694
23695
23696 \end_layout
23697
23698 \end_inset
23699
23700
23701 \backslash
23702 renewenvironment{figure}[1]{
23703 \backslash
23704 begin{SCfigure}[#1]##1}{
23705 \backslash
23706 end{SCfigure}}}
23707 \end_layout
23708
23709 \begin_layout Standard
23710
23711 \series bold
23712
23713 \backslash
23714 newcommand{
23715 \backslash
23716 FigBesEnd}{%
23717 \begin_inset Newline newline
23718 \end_inset
23719
23720
23721 \begin_inset Phantom HPhantom
23722 status open
23723
23724 \begin_layout Plain Layout
23725 \begin_inset space ~
23726 \end_inset
23727
23728
23729 \end_layout
23730
23731 \end_inset
23732
23733
23734 \backslash
23735 let
23736 \backslash
23737 figure
23738 \backslash
23739 MyFigure
23740 \begin_inset Newline newline
23741 \end_inset
23742
23743
23744 \begin_inset Phantom HPhantom
23745 status open
23746
23747 \begin_layout Plain Layout
23748 \begin_inset space ~
23749 \end_inset
23750
23751
23752 \end_layout
23753
23754 \end_inset
23755
23756
23757 \backslash
23758 let
23759 \backslash
23760 endfigure
23761 \backslash
23762 MyEndfigure}
23763 \end_layout
23764
23765 \begin_layout Standard
23766 \noindent
23767 \begin_inset CommandInset line
23768 LatexCommand rule
23769 offset "0.5ex"
23770 width "100line%"
23771 height "1pt"
23772
23773 \end_inset
23774
23775
23776 \end_layout
23777
23778 \begin_layout Standard
23779 The commands allow you to redefine the floats so that the caption is set
23780  on the side.
23781  For figure floats use the command
23782 \end_layout
23783
23784 \begin_layout Standard
23785
23786 \series bold
23787
23788 \backslash
23789 FigBesBeg
23790 \end_layout
23791
23792 \begin_layout Standard
23793 in TeX-Code before the float.
23794  And insert the command
23795 \end_layout
23796
23797 \begin_layout Standard
23798
23799 \series bold
23800
23801 \backslash
23802 FigBesEnd
23803 \end_layout
23804
23805 \begin_layout Standard
23806 in TeX-Code at the point where you want to get back to the original float
23807  definition.
23808 \end_layout
23809
23810 \begin_layout Standard
23811 For table floats use the corresponding commands
23812 \end_layout
23813
23814 \begin_layout Standard
23815
23816 \series bold
23817
23818 \backslash
23819 TabBesBeg
23820 \series default
23821  and 
23822 \series bold
23823
23824 \backslash
23825 TabBesEnd
23826 \end_layout
23827
23828 \begin_layout Standard
23829 Figure
23830 \begin_inset space ~
23831 \end_inset
23832
23833
23834 \begin_inset CommandInset ref
23835 LatexCommand ref
23836 reference "fig:cap-beside-fig"
23837
23838 \end_inset
23839
23840  and Table
23841 \begin_inset space ~
23842 \end_inset
23843
23844
23845 \begin_inset CommandInset ref
23846 LatexCommand ref
23847 reference "tab:cap-beside-tab"
23848
23849 \end_inset
23850
23851  are examples where the caption is set beside.
23852 \end_layout
23853
23854 \begin_layout Standard
23855 You can see in the examples that the caption text appears at the top of
23856  the floats for table floats and at the bottom for figure floats.
23857  To change this, you can use the command
23858 \end_layout
23859
23860 \begin_layout Standard
23861
23862 \series bold
23863
23864 \backslash
23865 sidecaptionvpos{float type}{placement}
23866 \end_layout
23867
23868 \begin_layout Standard
23869 in the document preamble or in TeX-Code before the float.
23870  The float type is either 
23871 \family sans
23872 figure
23873 \family default
23874  or 
23875 \family sans
23876 table
23877 \family default
23878 , the placement can be 
23879 \begin_inset Quotes eld
23880 \end_inset
23881
23882
23883 \family sans
23884 t
23885 \family default
23886
23887 \begin_inset Quotes erd
23888 \end_inset
23889
23890  for top, 
23891 \begin_inset Quotes eld
23892 \end_inset
23893
23894
23895 \family sans
23896 c
23897 \family default
23898
23899 \begin_inset Quotes erd
23900 \end_inset
23901
23902  for center, or 
23903 \begin_inset Quotes eld
23904 \end_inset
23905
23906
23907 \family sans
23908 b
23909 \family default
23910
23911 \begin_inset Quotes erd
23912 \end_inset
23913
23914  for bottom.
23915  To have for example the caption of figure floats vertically centered, use
23916  the command
23917 \end_layout
23918
23919 \begin_layout Standard
23920
23921 \series bold
23922
23923 \backslash
23924 sidecaptionvpos{figure}{c}
23925 \end_layout
23926
23927 \begin_layout Standard
23928 This was used for Figure
23929 \begin_inset space ~
23930 \end_inset
23931
23932
23933 \begin_inset CommandInset ref
23934 LatexCommand ref
23935 reference "fig:cap-beside-fig-2"
23936
23937 \end_inset
23938
23939 .
23940 \end_layout
23941
23942 \begin_layout Standard
23943 \begin_inset VSpace medskip
23944 \end_inset
23945
23946
23947 \end_layout
23948
23949 \begin_layout Standard
23950 The default caption width is the width of the image/table.
23951  For thin image/tables, like in Table
23952 \begin_inset space ~
23953 \end_inset
23954
23955
23956 \begin_inset CommandInset ref
23957 LatexCommand ref
23958 reference "tab:cap-beside-tab"
23959
23960 \end_inset
23961
23962 , this leads to captions that are too thin.
23963  You can increase the width by specifying a factor that will be multiplied
23964  with the image/table width to get the caption width.
23965  The caption width will automatically be recalculated in case it would protrude
23966  over the page or column margin due to the specified width.
23967  The 
23968 \emph on
23969 factor
23970 \emph default
23971  can either be given as optional argument for 
23972 \series bold
23973
23974 \backslash
23975 FigBesBeg
23976 \series default
23977 :
23978 \end_layout
23979
23980 \begin_layout Standard
23981
23982 \series bold
23983
23984 \backslash
23985 FigBesBeg[factor]
23986 \end_layout
23987
23988 \begin_layout Standard
23989 or in the definition of 
23990 \series bold
23991
23992 \backslash
23993 FigBesBeg
23994 \series default
23995  by replacing the 
23996 \series bold
23997 1.0
23998 \series default
23999  with another value.
24000  If you do the latter, your factor will be the default if 
24001 \series bold
24002
24003 \backslash
24004 FigBesBeg
24005 \series default
24006  is used without an argument.
24007  For Table
24008 \begin_inset space ~
24009 \end_inset
24010
24011
24012 \begin_inset CommandInset ref
24013 LatexCommand ref
24014 reference "tab:cap-beside-tab-wider"
24015
24016 \end_inset
24017
24018  the factor 5 was used.
24019 \end_layout
24020
24021 \begin_layout Standard
24022 \begin_inset Note Greyedout
24023 status open
24024
24025 \begin_layout Plain Layout
24026
24027 \series bold
24028 Note:
24029 \series default
24030  For floats with captions set beside, you cannot use the float placement
24031  option 
24032 \family sans
24033 Here
24034 \begin_inset space ~
24035 \end_inset
24036
24037 definitely
24038 \family default
24039  because it is not supported by 
24040 \series bold
24041 sidecap
24042 \series default
24043 .
24044 \end_layout
24045
24046 \end_inset
24047
24048
24049 \end_layout
24050
24051 \begin_layout Standard
24052 \begin_inset VSpace medskip
24053 \end_inset
24054
24055 For more information about the package 
24056 \series bold
24057 sidecap
24058 \series default
24059  we refer to its documentation 
24060 \begin_inset CommandInset citation
24061 LatexCommand cite
24062 key "sidecap"
24063
24064 \end_inset
24065
24066 .
24067 \end_layout
24068
24069 \begin_layout Standard
24070 \begin_inset Note Greyedout
24071 status open
24072
24073 \begin_layout Plain Layout
24074
24075 \series bold
24076 Note:
24077 \series default
24078  The LaTeX-package 
24079 \series bold
24080 hypcap
24081 \series default
24082
24083 \begin_inset Index idx
24084 status collapsed
24085
24086 \begin_layout Plain Layout
24087 LaTeX-packages ! hypcap
24088 \end_layout
24089
24090 \end_inset
24091
24092 , described in section
24093 \begin_inset space ~
24094 \end_inset
24095
24096
24097 \begin_inset CommandInset ref
24098 LatexCommand ref
24099 reference "sub:Reference-Position"
24100
24101 \end_inset
24102
24103 , has no effect on floats with the caption set beside.
24104 \end_layout
24105
24106 \end_inset
24107
24108
24109 \end_layout
24110
24111 \begin_layout Standard
24112 \begin_inset ERT
24113 status collapsed
24114
24115 \begin_layout Plain Layout
24116
24117
24118 \backslash
24119 FigBesBeg
24120 \end_layout
24121
24122 \end_inset
24123
24124
24125 \end_layout
24126
24127 \begin_layout Standard
24128 \begin_inset Float figure
24129 wide false
24130 sideways false
24131 status open
24132
24133 \begin_layout Plain Layout
24134 \begin_inset Graphics
24135         filename clipart/escher-lsd.eps
24136         scale 75
24137         scaleBeforeRotation
24138
24139 \end_inset
24140
24141
24142 \end_layout
24143
24144 \begin_layout Plain Layout
24145 \begin_inset Caption
24146
24147 \begin_layout Plain Layout
24148 \begin_inset CommandInset label
24149 LatexCommand label
24150 name "fig:cap-beside-fig"
24151
24152 \end_inset
24153
24154 This is a caption beside a figure.
24155 \end_layout
24156
24157 \end_inset
24158
24159
24160 \end_layout
24161
24162 \end_inset
24163
24164
24165 \end_layout
24166
24167 \begin_layout Standard
24168 \begin_inset ERT
24169 status collapsed
24170
24171 \begin_layout Plain Layout
24172
24173
24174 \backslash
24175 TabBesBeg
24176 \end_layout
24177
24178 \end_inset
24179
24180
24181 \end_layout
24182
24183 \begin_layout Standard
24184 \begin_inset Float table
24185 wide false
24186 sideways false
24187 status open
24188
24189 \begin_layout Plain Layout
24190 \begin_inset Caption
24191
24192 \begin_layout Plain Layout
24193 \begin_inset CommandInset label
24194 LatexCommand label
24195 name "tab:cap-beside-tab"
24196
24197 \end_inset
24198
24199 This is a caption beside a table.
24200 \end_layout
24201
24202 \end_inset
24203
24204
24205 \end_layout
24206
24207 \begin_layout Plain Layout
24208 \begin_inset Tabular
24209 <lyxtabular version="3" rows="4" columns="5">
24210 <features tabularvalignment="middle">
24211 <column alignment="center" valignment="top" width="0">
24212 <column alignment="center" valignment="top" width="0">
24213 <column alignment="center" valignment="top" width="0">
24214 <column alignment="center" valignment="top" width="0">
24215 <column alignment="center" valignment="top" width="0">
24216 <row>
24217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24218 \begin_inset Text
24219
24220 \begin_layout Plain Layout
24221 a
24222 \end_layout
24223
24224 \end_inset
24225 </cell>
24226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24227 \begin_inset Text
24228
24229 \begin_layout Plain Layout
24230
24231 \end_layout
24232
24233 \end_inset
24234 </cell>
24235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24236 \begin_inset Text
24237
24238 \begin_layout Plain Layout
24239 b
24240 \end_layout
24241
24242 \end_inset
24243 </cell>
24244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24245 \begin_inset Text
24246
24247 \begin_layout Plain Layout
24248
24249 \end_layout
24250
24251 \end_inset
24252 </cell>
24253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24254 \begin_inset Text
24255
24256 \begin_layout Plain Layout
24257 c
24258 \end_layout
24259
24260 \end_inset
24261 </cell>
24262 </row>
24263 <row>
24264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24265 \begin_inset Text
24266
24267 \begin_layout Plain Layout
24268
24269 \end_layout
24270
24271 \end_inset
24272 </cell>
24273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24274 \begin_inset Text
24275
24276 \begin_layout Plain Layout
24277 d
24278 \end_layout
24279
24280 \end_inset
24281 </cell>
24282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24283 \begin_inset Text
24284
24285 \begin_layout Plain Layout
24286
24287 \end_layout
24288
24289 \end_inset
24290 </cell>
24291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24292 \begin_inset Text
24293
24294 \begin_layout Plain Layout
24295 e
24296 \end_layout
24297
24298 \end_inset
24299 </cell>
24300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24301 \begin_inset Text
24302
24303 \begin_layout Plain Layout
24304
24305 \end_layout
24306
24307 \end_inset
24308 </cell>
24309 </row>
24310 <row>
24311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24312 \begin_inset Text
24313
24314 \begin_layout Plain Layout
24315 f
24316 \end_layout
24317
24318 \end_inset
24319 </cell>
24320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24321 \begin_inset Text
24322
24323 \begin_layout Plain Layout
24324
24325 \end_layout
24326
24327 \end_inset
24328 </cell>
24329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24330 \begin_inset Text
24331
24332 \begin_layout Plain Layout
24333 g
24334 \end_layout
24335
24336 \end_inset
24337 </cell>
24338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24339 \begin_inset Text
24340
24341 \begin_layout Plain Layout
24342
24343 \end_layout
24344
24345 \end_inset
24346 </cell>
24347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24348 \begin_inset Text
24349
24350 \begin_layout Plain Layout
24351 h
24352 \end_layout
24353
24354 \end_inset
24355 </cell>
24356 </row>
24357 <row>
24358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24359 \begin_inset Text
24360
24361 \begin_layout Plain Layout
24362
24363 \end_layout
24364
24365 \end_inset
24366 </cell>
24367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24368 \begin_inset Text
24369
24370 \begin_layout Plain Layout
24371 i
24372 \end_layout
24373
24374 \end_inset
24375 </cell>
24376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24377 \begin_inset Text
24378
24379 \begin_layout Plain Layout
24380
24381 \end_layout
24382
24383 \end_inset
24384 </cell>
24385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24386 \begin_inset Text
24387
24388 \begin_layout Plain Layout
24389 j
24390 \end_layout
24391
24392 \end_inset
24393 </cell>
24394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24395 \begin_inset Text
24396
24397 \begin_layout Plain Layout
24398
24399 \end_layout
24400
24401 \end_inset
24402 </cell>
24403 </row>
24404 </lyxtabular>
24405
24406 \end_inset
24407
24408
24409 \end_layout
24410
24411 \end_inset
24412
24413
24414 \end_layout
24415
24416 \begin_layout Standard
24417 \begin_inset ERT
24418 status collapsed
24419
24420 \begin_layout Plain Layout
24421
24422
24423 \backslash
24424 sidecaptionvpos{figure}{c}
24425 \end_layout
24426
24427 \end_inset
24428
24429
24430 \begin_inset Float figure
24431 wide false
24432 sideways false
24433 status open
24434
24435 \begin_layout Plain Layout
24436 \begin_inset Graphics
24437         filename clipart/escher-lsd.eps
24438         scale 75
24439         scaleBeforeRotation
24440
24441 \end_inset
24442
24443
24444 \end_layout
24445
24446 \begin_layout Plain Layout
24447 \begin_inset Caption
24448
24449 \begin_layout Plain Layout
24450 \begin_inset CommandInset label
24451 LatexCommand label
24452 name "fig:cap-beside-fig-2"
24453
24454 \end_inset
24455
24456 This is a vertically centered caption beside a figure.
24457 \end_layout
24458
24459 \end_inset
24460
24461
24462 \end_layout
24463
24464 \end_inset
24465
24466
24467 \end_layout
24468
24469 \begin_layout Standard
24470 \begin_inset ERT
24471 status collapsed
24472
24473 \begin_layout Plain Layout
24474
24475
24476 \backslash
24477 FigBesEnd
24478 \end_layout
24479
24480 \end_inset
24481
24482
24483 \end_layout
24484
24485 \begin_layout Standard
24486 \begin_inset ERT
24487 status collapsed
24488
24489 \begin_layout Plain Layout
24490
24491
24492 \backslash
24493 TabBesBeg[5]
24494 \end_layout
24495
24496 \end_inset
24497
24498
24499 \end_layout
24500
24501 \begin_layout Standard
24502 \begin_inset Float table
24503 wide false
24504 sideways false
24505 status open
24506
24507 \begin_layout Plain Layout
24508 \begin_inset Caption
24509
24510 \begin_layout Plain Layout
24511 \begin_inset CommandInset label
24512 LatexCommand label
24513 name "tab:cap-beside-tab-wider"
24514
24515 \end_inset
24516
24517 This is a caption is wider than the one in Table
24518 \begin_inset space ~
24519 \end_inset
24520
24521
24522 \begin_inset CommandInset ref
24523 LatexCommand ref
24524 reference "tab:cap-beside-tab"
24525
24526 \end_inset
24527
24528 .
24529 \end_layout
24530
24531 \end_inset
24532
24533
24534 \end_layout
24535
24536 \begin_layout Plain Layout
24537 \begin_inset Tabular
24538 <lyxtabular version="3" rows="4" columns="5">
24539 <features tabularvalignment="middle">
24540 <column alignment="center" valignment="top" width="0">
24541 <column alignment="center" valignment="top" width="0">
24542 <column alignment="center" valignment="top" width="0">
24543 <column alignment="center" valignment="top" width="0">
24544 <column alignment="center" valignment="top" width="0">
24545 <row>
24546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24547 \begin_inset Text
24548
24549 \begin_layout Plain Layout
24550 a
24551 \end_layout
24552
24553 \end_inset
24554 </cell>
24555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24556 \begin_inset Text
24557
24558 \begin_layout Plain Layout
24559
24560 \end_layout
24561
24562 \end_inset
24563 </cell>
24564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24565 \begin_inset Text
24566
24567 \begin_layout Plain Layout
24568 b
24569 \end_layout
24570
24571 \end_inset
24572 </cell>
24573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24574 \begin_inset Text
24575
24576 \begin_layout Plain Layout
24577
24578 \end_layout
24579
24580 \end_inset
24581 </cell>
24582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24583 \begin_inset Text
24584
24585 \begin_layout Plain Layout
24586 c
24587 \end_layout
24588
24589 \end_inset
24590 </cell>
24591 </row>
24592 <row>
24593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24594 \begin_inset Text
24595
24596 \begin_layout Plain Layout
24597
24598 \end_layout
24599
24600 \end_inset
24601 </cell>
24602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24603 \begin_inset Text
24604
24605 \begin_layout Plain Layout
24606 d
24607 \end_layout
24608
24609 \end_inset
24610 </cell>
24611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24612 \begin_inset Text
24613
24614 \begin_layout Plain Layout
24615
24616 \end_layout
24617
24618 \end_inset
24619 </cell>
24620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24621 \begin_inset Text
24622
24623 \begin_layout Plain Layout
24624 e
24625 \end_layout
24626
24627 \end_inset
24628 </cell>
24629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24630 \begin_inset Text
24631
24632 \begin_layout Plain Layout
24633
24634 \end_layout
24635
24636 \end_inset
24637 </cell>
24638 </row>
24639 <row>
24640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24641 \begin_inset Text
24642
24643 \begin_layout Plain Layout
24644 f
24645 \end_layout
24646
24647 \end_inset
24648 </cell>
24649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24650 \begin_inset Text
24651
24652 \begin_layout Plain Layout
24653
24654 \end_layout
24655
24656 \end_inset
24657 </cell>
24658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24659 \begin_inset Text
24660
24661 \begin_layout Plain Layout
24662 g
24663 \end_layout
24664
24665 \end_inset
24666 </cell>
24667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24668 \begin_inset Text
24669
24670 \begin_layout Plain Layout
24671
24672 \end_layout
24673
24674 \end_inset
24675 </cell>
24676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24677 \begin_inset Text
24678
24679 \begin_layout Plain Layout
24680 h
24681 \end_layout
24682
24683 \end_inset
24684 </cell>
24685 </row>
24686 <row>
24687 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24688 \begin_inset Text
24689
24690 \begin_layout Plain Layout
24691
24692 \end_layout
24693
24694 \end_inset
24695 </cell>
24696 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24697 \begin_inset Text
24698
24699 \begin_layout Plain Layout
24700 i
24701 \end_layout
24702
24703 \end_inset
24704 </cell>
24705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24706 \begin_inset Text
24707
24708 \begin_layout Plain Layout
24709
24710 \end_layout
24711
24712 \end_inset
24713 </cell>
24714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24715 \begin_inset Text
24716
24717 \begin_layout Plain Layout
24718 j
24719 \end_layout
24720
24721 \end_inset
24722 </cell>
24723 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24724 \begin_inset Text
24725
24726 \begin_layout Plain Layout
24727
24728 \end_layout
24729
24730 \end_inset
24731 </cell>
24732 </row>
24733 </lyxtabular>
24734
24735 \end_inset
24736
24737
24738 \end_layout
24739
24740 \end_inset
24741
24742
24743 \end_layout
24744
24745 \begin_layout Standard
24746 \begin_inset ERT
24747 status collapsed
24748
24749 \begin_layout Plain Layout
24750
24751
24752 \backslash
24753 TabBesEnd
24754 \end_layout
24755
24756 \end_inset
24757
24758
24759 \end_layout
24760
24761 \begin_layout Standard
24762 \begin_inset ERT
24763 status collapsed
24764
24765 \begin_layout Plain Layout
24766
24767
24768 \backslash
24769 else
24770 \end_layout
24771
24772 \end_inset
24773
24774
24775 \begin_inset Note Note
24776 status open
24777
24778 \begin_layout Plain Layout
24779 The following will be displayed when the LaTeX-package 
24780 \series bold
24781 sidecap
24782 \series default
24783  is not installed:
24784 \end_layout
24785
24786 \end_inset
24787
24788
24789 \end_layout
24790
24791 \begin_layout Standard
24792 You need to install the LaTeX-package 
24793 \series bold
24794 sidecap
24795 \series default
24796  to see the following part of this section in the output.
24797 \end_layout
24798
24799 \begin_layout Standard
24800 \begin_inset ERT
24801 status collapsed
24802
24803 \begin_layout Plain Layout
24804
24805
24806 \backslash
24807 fi
24808 \end_layout
24809
24810 \end_inset
24811
24812
24813 \end_layout
24814
24815 \begin_layout Section
24816 Listings of Floats
24817 \begin_inset Index idx
24818 status collapsed
24819
24820 \begin_layout Plain Layout
24821 Floats ! Float Lists
24822 \end_layout
24823
24824 \end_inset
24825
24826
24827 \end_layout
24828
24829 \begin_layout Standard
24830 Similar to the table of contents where the sections of the document are
24831  listed, there are listings for all float types, like the figures of the
24832  documents.
24833  You can insert them via the 
24834 \family sans
24835 Insert\SpecialChar \menuseparator
24836 List
24837 \begin_inset space ~
24838 \end_inset
24839
24840 /
24841 \begin_inset space ~
24842 \end_inset
24843
24844 TOC
24845 \family default
24846  sub menus.
24847 \end_layout
24848
24849 \begin_layout Standard
24850 The list entries are the float captions or its short title, the float number,
24851  and the page number where they appear in the document.
24852 \end_layout
24853
24854 \begin_layout Standard
24855 You can find the list of figures and tables at the end of this document.
24856 \end_layout
24857
24858 \begin_layout Chapter
24859 Notes
24860 \end_layout
24861
24862 \begin_layout Section
24863 LyX Notes
24864 \begin_inset Index idx
24865 status collapsed
24866
24867 \begin_layout Plain Layout
24868 Notes ! LyX Notes
24869 \end_layout
24870
24871 \end_inset
24872
24873
24874 \end_layout
24875
24876 \begin_layout Standard
24877 Notes are inserted with the toolbar button 
24878 \begin_inset Graphics
24879         filename ../images/note-insert.png
24880         scale 85
24881         scaleBeforeRotation
24882
24883 \end_inset
24884
24885  or the menu 
24886 \family sans
24887 Insert\SpecialChar \menuseparator
24888 Note
24889 \family default
24890 .
24891  There are three types of notes:
24892 \end_layout
24893
24894 \begin_layout Description
24895 LyX
24896 \begin_inset space ~
24897 \end_inset
24898
24899 Note This note type is for internal notes that won't appear in the output.
24900  Its note-box looks like this:
24901 \begin_inset Newline newline
24902 \end_inset
24903
24904
24905 \begin_inset Newline newline
24906 \end_inset
24907
24908
24909 \begin_inset Graphics
24910         filename clipart/LyXNoteImageQt4.png
24911         display false
24912         scale 85
24913         scaleBeforeRotation
24914
24915 \end_inset
24916
24917  
24918 \begin_inset Note Note
24919 status open
24920
24921 \begin_layout Plain Layout
24922 This is text in a note box that doesn't appear in the output.
24923 \end_layout
24924
24925 \end_inset
24926
24927
24928 \end_layout
24929
24930 \begin_layout Description
24931 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24932 ent, when you export the document to LaTeX via the menu 
24933 \family sans
24934 File\SpecialChar \menuseparator
24935 Export\SpecialChar \menuseparator
24936 LaTeX (pdflatex) / (plain)
24937 \family default
24938 .
24939  Its note-box looks like this:
24940 \begin_inset Newline newline
24941 \end_inset
24942
24943
24944 \begin_inset Newline newline
24945 \end_inset
24946
24947
24948 \begin_inset Graphics
24949         filename clipart/CommentNoteImageQt4.png
24950         display false
24951         scale 85
24952         scaleBeforeRotation
24953
24954 \end_inset
24955
24956  
24957 \begin_inset Note Comment
24958 status open
24959
24960 \begin_layout Plain Layout
24961 This is text in a note box that only appears as comment in LaTeX-files.
24962 \end_layout
24963
24964 \end_inset
24965
24966
24967 \end_layout
24968
24969 \begin_layout Description
24970 Greyed
24971 \begin_inset space ~
24972 \end_inset
24973
24974 Out This note will appear in the output as grey text.
24975  Its note-box looks like this:
24976 \begin_inset Newline newline
24977 \end_inset
24978
24979
24980 \begin_inset Newline newline
24981 \end_inset
24982
24983
24984 \begin_inset Graphics
24985         filename clipart/GreyedOutNoteImageQt4.png
24986         display false
24987         scale 85
24988         scaleBeforeRotation
24989
24990 \end_inset
24991
24992
24993 \begin_inset Newline newline
24994 \end_inset
24995
24996
24997 \begin_inset ERT
24998 status collapsed
24999
25000 \begin_layout Plain Layout
25001
25002
25003 \backslash
25004 renewenvironment{lyxgreyedout}
25005 \end_layout
25006
25007 \begin_layout Plain Layout
25008
25009 {
25010 \backslash
25011 textcolor[gray]{0.8}
25012 \backslash
25013 bgroup}{
25014 \backslash
25015 egroup}
25016 \end_layout
25017
25018 \end_inset
25019
25020
25021 \begin_inset Note Greyedout
25022 status open
25023
25024 \begin_layout Plain Layout
25025 This is text
25026 \begin_inset Foot
25027 status open
25028
25029 \begin_layout Plain Layout
25030 This is an example footnote within a greyed out note.
25031 \end_layout
25032
25033 \end_inset
25034
25035  of a comment that appears in the output as grey text.
25036 \end_layout
25037
25038 \end_inset
25039
25040
25041 \begin_inset ERT
25042 status collapsed
25043
25044 \begin_layout Plain Layout
25045
25046
25047 \backslash
25048 renewenvironment{lyxgreyedout}
25049 \end_layout
25050
25051 \begin_layout Plain Layout
25052
25053 {
25054 \backslash
25055 textcolor{blue}
25056 \backslash
25057 bgroup}{
25058 \backslash
25059 egroup}
25060 \end_layout
25061
25062 \end_inset
25063
25064
25065 \begin_inset Note Note
25066 status collapsed
25067
25068 \begin_layout Plain Layout
25069 The greyed out note is here redefined to show it with the original LyX definitio
25070 n because greyed out notes are redefined in the preamble of this document,
25071  as described below, to have blue text.
25072 \end_layout
25073
25074 \end_inset
25075
25076
25077 \begin_inset Newline newline
25078 \end_inset
25079
25080
25081 \begin_inset Newline newline
25082 \end_inset
25083
25084 As you can see in the example, the first line of greyed out notes is a bit
25085  indented and greyed out notes can have footnotes.
25086 \end_layout
25087
25088 \begin_layout Standard
25089 \begin_inset VSpace bigskip
25090 \end_inset
25091
25092 When you use the toolbar button 
25093 \begin_inset Graphics
25094         filename ../images/note-insert.png
25095         scale 85
25096         scaleBeforeRotation
25097
25098 \end_inset
25099
25100  to insert notes, a 
25101 \family sans
25102 LyX
25103 \begin_inset space ~
25104 \end_inset
25105
25106 Note
25107 \family default
25108  is inserted.
25109  You can switch between the five note types by right-clicking on the note-box.
25110  
25111 \family roman
25112 \series medium
25113 \bar no
25114 If you want to turn existing text into a note, mark it and click on the
25115  note
25116 \family default
25117 \series default
25118 \bar default
25119  toolbar 
25120 \family roman
25121 \series medium
25122 \bar no
25123 button
25124 \family default
25125 \series default
25126 \bar default
25127 .
25128  To change a note to text, press the backspace key when the cursor is in
25129  the first position of a note, or press the delete key when the cursor is
25130  in the very last position of the note, respectively.
25131 \end_layout
25132
25133 \begin_layout Standard
25134 \begin_inset VSpace bigskip
25135 \end_inset
25136
25137 You can change the text color of the greyed out notes in the menu 
25138 \family sans
25139 Document\SpecialChar \menuseparator
25140 Settings\SpecialChar \menuseparator
25141 Colors
25142 \family default
25143 .
25144 \end_layout
25145
25146 \begin_layout Section
25147 Footnotes
25148 \begin_inset CommandInset label
25149 LatexCommand label
25150 name "sec:Footnotes"
25151
25152 \end_inset
25153
25154
25155 \begin_inset Index idx
25156 status collapsed
25157
25158 \begin_layout Plain Layout
25159 Notes ! Footnotes
25160 \end_layout
25161
25162 \end_inset
25163
25164
25165 \begin_inset Index idx
25166 status collapsed
25167
25168 \begin_layout Plain Layout
25169 Footnotes
25170 \end_layout
25171
25172 \end_inset
25173
25174
25175 \end_layout
25176
25177 \begin_layout Standard
25178 Footnotes can be inserted using the toolbar button 
25179 \begin_inset Graphics
25180         filename ../images/footnote-insert.png
25181         scale 85
25182         scaleBeforeRotation
25183
25184 \end_inset
25185
25186  or the menu 
25187 \family sans
25188 Insert\SpecialChar \menuseparator
25189 Footnote
25190 \family default
25191 .
25192  
25193 \family roman
25194 \series medium
25195 \bar no
25196 You'll see
25197 \family default
25198 \series default
25199 \bar default
25200  then the following footnote-box: 
25201 \begin_inset Graphics
25202         filename clipart/footnoteQt4.png
25203         scale 80
25204         scaleBeforeRotation
25205
25206 \end_inset
25207
25208  
25209 \family roman
25210 \series medium
25211 \bar no
25212 where you can enter the footnote text.
25213  If you want to turn existing text into a footnote, mark it and click on
25214  the footnote
25215 \family default
25216 \series default
25217 \bar default
25218  toolbar 
25219 \family roman
25220 \series medium
25221 \bar no
25222 button
25223 \family default
25224 \series default
25225 \bar default
25226 .
25227  To change a 
25228 \family roman
25229 \series medium
25230 \bar no
25231 footnote
25232 \family default
25233 \series default
25234 \bar default
25235  to text, press the Backspace key when the cursor is in the first position
25236  of a 
25237 \family roman
25238 \series medium
25239 \bar no
25240 footnote
25241 \family default
25242 \series default
25243 \bar default
25244 , or press the Delete key when the cursor is in the very last position of
25245  the 
25246 \family roman
25247 \series medium
25248 \bar no
25249 footnote
25250 \family default
25251 \series default
25252 \bar default
25253 , respectively.
25254 \end_layout
25255
25256 \begin_layout Standard
25257 Here is an example footnote:
25258 \family roman
25259 \series medium
25260 \bar no
25261
25262 \begin_inset Foot
25263 status open
25264
25265 \begin_layout Plain Layout
25266 \begin_inset CommandInset label
25267 LatexCommand label
25268 name "foot:This-is-an"
25269
25270 \end_inset
25271
25272 This is an example footnote.
25273 \end_layout
25274
25275 \end_inset
25276
25277
25278 \family default
25279 \series default
25280 \bar default
25281
25282 \begin_inset ERT
25283 status collapsed
25284
25285 \begin_layout Plain Layout
25286
25287
25288 \backslash
25289 newcounter{MyRepeatFoot}
25290 \end_layout
25291
25292 \begin_layout Plain Layout
25293
25294
25295 \backslash
25296 setcounter{MyRepeatFoot}{
25297 \backslash
25298 thefootnote}
25299 \end_layout
25300
25301 \end_inset
25302
25303
25304 \end_layout
25305
25306 \begin_layout Standard
25307 The footnote will appear in the output as a superscript number at the text
25308  position where the footnote box is placed.
25309  The footnote text is placed at the bottom of the current page.
25310  The footnote number is calculated by LaTeX; the numbers are consecutive.
25311  It depends on your document-class, whether the footnote number is reset
25312  for every chapter.
25313 \end_layout
25314
25315 \begin_layout Standard
25316 Footnotes can be referenced like floats: Insert a label into the footnote
25317  and cross-reference this label in the text as described in section
25318 \begin_inset space ~
25319 \end_inset
25320
25321
25322 \begin_inset CommandInset ref
25323 LatexCommand ref
25324 reference "sec:Referencing-Floats"
25325
25326 \end_inset
25327
25328 .
25329 \begin_inset Newline newline
25330 \end_inset
25331
25332 This is a cross-reference of Footnote
25333 \begin_inset space ~
25334 \end_inset
25335
25336
25337 \begin_inset CommandInset ref
25338 LatexCommand ref
25339 reference "foot:This-is-an"
25340
25341 \end_inset
25342
25343 .
25344 \end_layout
25345
25346 \begin_layout Standard
25347 \begin_inset VSpace defskip
25348 \end_inset
25349
25350 Footnotes in tables are not printed by LaTeX due to technical reasons.
25351  However there exists another method to print them: Instead of the footnote
25352  the command 
25353 \series bold
25354
25355 \backslash
25356 footnotemark{}
25357 \series default
25358  is inserted as TeX-code.
25359  The text of the footnote is entered as an argument of the TeX-code command
25360  
25361 \series bold
25362
25363 \backslash
25364 footnotetext
25365 \series default
25366  after the table.
25367 \begin_inset Newline newline
25368 \end_inset
25369
25370 This was done for the following table with the command
25371 \end_layout
25372
25373 \begin_layout Standard
25374
25375 \series bold
25376
25377 \backslash
25378 footnotetext{
25379 \series default
25380 Printed table footnote.
25381 \series bold
25382 }
25383 \end_layout
25384
25385 \begin_layout Standard
25386 \begin_inset Tabular
25387 <lyxtabular version="3" rows="2" columns="1">
25388 <features tabularvalignment="middle">
25389 <column alignment="center" valignment="top" width="0">
25390 <row>
25391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25392 \begin_inset Text
25393
25394 \begin_layout Plain Layout
25395 This an example text.
25396 \begin_inset Foot
25397 status open
25398
25399 \begin_layout Plain Layout
25400 This footnote will not be printed!
25401 \end_layout
25402
25403 \end_inset
25404
25405
25406 \end_layout
25407
25408 \end_inset
25409 </cell>
25410 </row>
25411 <row>
25412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25413 \begin_inset Text
25414
25415 \begin_layout Plain Layout
25416 This an example text.
25417 \begin_inset ERT
25418 status collapsed
25419
25420 \begin_layout Plain Layout
25421
25422
25423 \backslash
25424 footnotemark{}
25425 \end_layout
25426
25427 \end_inset
25428
25429
25430 \end_layout
25431
25432 \end_inset
25433 </cell>
25434 </row>
25435 </lyxtabular>
25436
25437 \end_inset
25438
25439
25440 \begin_inset ERT
25441 status collapsed
25442
25443 \begin_layout Plain Layout
25444
25445
25446 \backslash
25447 footnotetext{
25448 \end_layout
25449
25450 \end_inset
25451
25452 Printed table footnote.
25453 \begin_inset ERT
25454 status collapsed
25455
25456 \begin_layout Plain Layout
25457
25458 }
25459 \end_layout
25460
25461 \end_inset
25462
25463
25464 \end_layout
25465
25466 \begin_layout Standard
25467 Footnotes in longtables are described in section
25468 \begin_inset space ~
25469 \end_inset
25470
25471
25472 \begin_inset CommandInset ref
25473 LatexCommand ref
25474 reference "sub:Footnotes-in-Longtables"
25475
25476 \end_inset
25477
25478 .
25479 \end_layout
25480
25481 \begin_layout Standard
25482 Footnotes in minipage boxes are printed, but inside the box and with a different
25483  numbering because a minipage box is like a page inside a page.
25484  (For more about minipages, see section
25485 \begin_inset space ~
25486 \end_inset
25487
25488
25489 \begin_inset CommandInset ref
25490 LatexCommand ref
25491 reference "sec:Minipages"
25492
25493 \end_inset
25494
25495 .) To get a footnote in the minipage that is output at the bottom of the
25496  page like normal footnotes, also use the method of 
25497 \series bold
25498
25499 \backslash
25500 footnotemark{}
25501 \series default
25502  and 
25503 \series bold
25504
25505 \backslash
25506 footnotetext
25507 \series default
25508 .
25509 \end_layout
25510
25511 \begin_layout Standard
25512 \begin_inset Box Frameless
25513 position "t"
25514 hor_pos "c"
25515 has_inner_box 1
25516 inner_pos "t"
25517 use_parbox 0
25518 use_makebox 0
25519 width "100col%"
25520 special "none"
25521 height "1in"
25522 height_special "totalheight"
25523 status open
25524
25525 \begin_layout Plain Layout
25526 This an example text in a minipage.
25527 \begin_inset Foot
25528 status open
25529
25530 \begin_layout Plain Layout
25531 Footnote in the minipage.
25532 \end_layout
25533
25534 \end_inset
25535
25536
25537 \end_layout
25538
25539 \begin_layout Plain Layout
25540 This an example text in a minipage.
25541 \begin_inset ERT
25542 status collapsed
25543
25544 \begin_layout Plain Layout
25545
25546
25547 \backslash
25548 footnotemark{}
25549 \end_layout
25550
25551 \end_inset
25552
25553
25554 \end_layout
25555
25556 \end_inset
25557
25558
25559 \end_layout
25560
25561 \begin_layout Standard
25562 \begin_inset ERT
25563 status collapsed
25564
25565 \begin_layout Plain Layout
25566
25567
25568 \backslash
25569 footnotetext{
25570 \end_layout
25571
25572 \end_inset
25573
25574 Footnote outside the minipage.
25575 \begin_inset ERT
25576 status collapsed
25577
25578 \begin_layout Plain Layout
25579
25580 }
25581 \end_layout
25582
25583 \end_inset
25584
25585
25586 \end_layout
25587
25588 \begin_layout Standard
25589 \begin_inset VSpace defskip
25590 \end_inset
25591
25592
25593 \end_layout
25594
25595 \begin_layout Standard
25596 To refer to the same footnote several times without printing the footnote
25597  text every time, use the command 
25598 \series bold
25599
25600 \backslash
25601 footnotemark[number]
25602 \series default
25603  in TeX-code.
25604 \begin_inset Newline newline
25605 \end_inset
25606
25607 As you do not know the number of the repeating footnote while you are writing
25608  the text, you have to store its number.
25609  For the following footnote mark example, these commands were inserted in
25610  TeX-code after Footnote
25611 \begin_inset space ~
25612 \end_inset
25613
25614
25615 \begin_inset CommandInset ref
25616 LatexCommand ref
25617 reference "foot:This-is-an"
25618
25619 \end_inset
25620
25621  to store the footnote number:
25622 \end_layout
25623
25624 \begin_layout Standard
25625
25626 \series bold
25627
25628 \backslash
25629 newcounter{MyRepeatFoot}
25630 \begin_inset Newline newline
25631 \end_inset
25632
25633
25634 \backslash
25635 setcounter{MyRepeatFoot}{
25636 \backslash
25637 thefootnote}
25638 \end_layout
25639
25640 \begin_layout Standard
25641 The footnote mark was then created with this command:
25642 \end_layout
25643
25644 \begin_layout Standard
25645
25646 \series bold
25647
25648 \backslash
25649 footnotemark[
25650 \backslash
25651 theMyRepeatFoot]
25652 \end_layout
25653
25654 \begin_layout Standard
25655 Here is a repeated footnote:
25656 \family roman
25657 \series medium
25658 \bar no
25659
25660 \begin_inset ERT
25661 status collapsed
25662
25663 \begin_layout Plain Layout
25664
25665
25666 \backslash
25667 footnotemark[
25668 \backslash
25669 theMyRepeatFoot]
25670 \end_layout
25671
25672 \end_inset
25673
25674
25675 \end_layout
25676
25677 \begin_layout Standard
25678 If you want to repeat the previous footnote, you can omit the storage of
25679  the footnote number and just use this command instead:
25680 \end_layout
25681
25682 \begin_layout Standard
25683
25684 \series bold
25685
25686 \backslash
25687 footnotemark[
25688 \backslash
25689 thefootnote]
25690 \end_layout
25691
25692 \begin_layout Standard
25693 Here is another repeated footnote:
25694 \family roman
25695 \series medium
25696 \bar no
25697
25698 \begin_inset ERT
25699 status collapsed
25700
25701 \begin_layout Plain Layout
25702
25703
25704 \backslash
25705 footnotemark[
25706 \backslash
25707 thefootnote]
25708 \end_layout
25709
25710 \end_inset
25711
25712
25713 \end_layout
25714
25715 \begin_layout Subsection
25716 Footnote Numbering
25717 \begin_inset CommandInset label
25718 LatexCommand label
25719 name "sub:Footnote-Numbering"
25720
25721 \end_inset
25722
25723
25724 \begin_inset Index idx
25725 status collapsed
25726
25727 \begin_layout Plain Layout
25728 Footnotes ! Numbering
25729 \end_layout
25730
25731 \end_inset
25732
25733
25734 \end_layout
25735
25736 \begin_layout Standard
25737 To reset the footnote number back to 1 after each section
25738 \family roman
25739 , add this command to your document preamble:
25740 \end_layout
25741
25742 \begin_layout Standard
25743
25744 \series bold
25745
25746 \backslash
25747 @addtoreset{footnote}{section}
25748 \end_layout
25749
25750 \begin_layout Standard
25751 \begin_inset VSpace bigskip
25752 \end_inset
25753
25754 The following preamble command changes the footnote numbering style to small
25755  roman numerals:
25756 \end_layout
25757
25758 \begin_layout Standard
25759
25760 \series bold
25761
25762 \backslash
25763 renewcommand{
25764 \backslash
25765 thefootnote}{
25766 \backslash
25767 roman{footnote}}
25768 \end_layout
25769
25770 \begin_layout Standard
25771 \begin_inset ERT
25772 status collapsed
25773
25774 \begin_layout Plain Layout
25775
25776
25777 \backslash
25778 renewcommand{
25779 \backslash
25780 thefootnote}{
25781 \backslash
25782 roman{footnote}}
25783 \end_layout
25784
25785 \end_inset
25786
25787  This is a footnote with roman numbering:
25788 \begin_inset Foot
25789 status open
25790
25791 \begin_layout Plain Layout
25792 This is an example footnote with roman numbering.
25793 \end_layout
25794
25795 \end_inset
25796
25797
25798 \end_layout
25799
25800 \begin_layout Standard
25801 To change the numbering style to capital roman numerals replace in the command
25802  above 
25803 \series bold
25804
25805 \backslash
25806 roman
25807 \series default
25808  by 
25809 \series bold
25810
25811 \backslash
25812 Roman
25813 \series default
25814 .
25815  To 
25816 \begin_inset Quotes eld
25817 \end_inset
25818
25819 number
25820 \begin_inset Quotes erd
25821 \end_inset
25822
25823  footnotes with capital or small Latin letters use 
25824 \series bold
25825
25826 \backslash
25827 Alph
25828 \series default
25829  or 
25830 \series bold
25831
25832 \backslash
25833 alph
25834 \series default
25835 , respectively.
25836  To 
25837 \begin_inset Quotes eld
25838 \end_inset
25839
25840 number
25841 \begin_inset Quotes erd
25842 \end_inset
25843
25844  footnotes with symbols use 
25845 \series bold
25846
25847 \backslash
25848 fnsymbol
25849 \series default
25850 .
25851 \end_layout
25852
25853 \begin_layout Standard
25854 \begin_inset Note Greyedout
25855 status open
25856
25857 \begin_layout Plain Layout
25858
25859 \series bold
25860 Note:
25861 \series default
25862  You can only number 26 footnotes with Latin letters, because this numbering
25863  is limited to single letters.
25864 \end_layout
25865
25866 \end_inset
25867
25868
25869 \begin_inset Newline newline
25870 \end_inset
25871
25872
25873 \begin_inset Note Greyedout
25874 status open
25875
25876 \begin_layout Plain Layout
25877
25878 \series bold
25879 Note:
25880 \series default
25881  You can only number 9 footnotes with symbols.
25882 \end_layout
25883
25884 \end_inset
25885
25886
25887 \end_layout
25888
25889 \begin_layout Standard
25890 To return to the default numbering style after you have changed to another
25891  one, use 
25892 \series bold
25893
25894 \backslash
25895 arabic
25896 \series default
25897  instead of 
25898 \series bold
25899
25900 \backslash
25901 roman
25902 \series default
25903  in the command above.
25904 \begin_inset ERT
25905 status collapsed
25906
25907 \begin_layout Plain Layout
25908
25909
25910 \backslash
25911 renewcommand{
25912 \backslash
25913 thefootnote}{
25914 \backslash
25915 arabic{footnote}}
25916 \end_layout
25917
25918 \end_inset
25919
25920
25921 \end_layout
25922
25923 \begin_layout Standard
25924 \begin_inset VSpace bigskip
25925 \end_inset
25926
25927
25928 \end_layout
25929
25930 \begin_layout Standard
25931 If you want to have footnotes numbered in the scheme 
25932 \begin_inset Quotes eld
25933 \end_inset
25934
25935 chapter.footnote
25936 \begin_inset Quotes erd
25937 \end_inset
25938
25939 , add the following command to your document preamble:
25940 \end_layout
25941
25942 \begin_layout Standard
25943
25944 \series bold
25945
25946 \backslash
25947 numberwithin{footnote}{chapter}
25948 \end_layout
25949
25950 \begin_layout Standard
25951 To be able to use the command 
25952 \series bold
25953
25954 \backslash
25955 numberwithin
25956 \series default
25957 , set in the tab 
25958 \family sans
25959 Math
25960 \begin_inset space ~
25961 \end_inset
25962
25963 Options
25964 \family default
25965  in the document settings the option 
25966 \family sans
25967 Use
25968 \begin_inset space ~
25969 \end_inset
25970
25971 AMS
25972 \begin_inset space ~
25973 \end_inset
25974
25975 math
25976 \begin_inset space ~
25977 \end_inset
25978
25979 package
25980 \family default
25981 .
25982 \end_layout
25983
25984 \begin_layout Standard
25985 \begin_inset ERT
25986 status collapsed
25987
25988 \begin_layout Plain Layout
25989
25990
25991 \backslash
25992 numberwithin{footnote}{chapter}
25993 \end_layout
25994
25995 \end_inset
25996
25997 This is another example footnote:
25998 \series bold
25999
26000 \begin_inset Foot
26001 status open
26002
26003 \begin_layout Plain Layout
26004 This is a footnote numbered in the scheme 
26005 \begin_inset Quotes eld
26006 \end_inset
26007
26008 chapter.footnote
26009 \begin_inset Quotes erd
26010 \end_inset
26011
26012 .
26013 \end_layout
26014
26015 \end_inset
26016
26017
26018 \series default
26019
26020 \begin_inset ERT
26021 status collapsed
26022
26023 \begin_layout Plain Layout
26024
26025
26026 \backslash
26027 renewcommand{
26028 \backslash
26029 thefootnote}{
26030 \backslash
26031 arabic{footnote}}
26032 \end_layout
26033
26034 \end_inset
26035
26036
26037 \end_layout
26038
26039 \begin_layout Standard
26040 \begin_inset Note Greyedout
26041 status open
26042
26043 \begin_layout Plain Layout
26044
26045 \series bold
26046 Note:
26047 \series default
26048  
26049 \series bold
26050
26051 \backslash
26052 numberwithin
26053 \series default
26054  always prints out the footnote number as arabic number; previous redefinitions
26055  to get non-arabic numbers are overwritten.
26056 \end_layout
26057
26058 \end_inset
26059
26060
26061 \end_layout
26062
26063 \begin_layout Standard
26064 So to get for example the scheme 
26065 \begin_inset Quotes eld
26066 \end_inset
26067
26068 chapter.
26069 \backslash
26070 Roman{footnote}
26071 \begin_inset Quotes erd
26072 \end_inset
26073
26074 , use this command instead of 
26075 \series bold
26076
26077 \backslash
26078 numberwithin
26079 \series default
26080 :
26081 \end_layout
26082
26083 \begin_layout Standard
26084
26085 \series bold
26086
26087 \backslash
26088 renewcommand{
26089 \backslash
26090 thefootnote}{
26091 \backslash
26092 thechapter.
26093 \backslash
26094 Roman{footnote}}
26095 \end_layout
26096
26097 \begin_layout Subsection
26098 Footnote Placement
26099 \begin_inset Index idx
26100 status collapsed
26101
26102 \begin_layout Plain Layout
26103 Footnotes ! Placement
26104 \end_layout
26105
26106 \end_inset
26107
26108
26109 \end_layout
26110
26111 \begin_layout Standard
26112 If you have several footnotes in one page, they appear without vertical
26113  space between them at the bottom of the page.
26114  To make them more readable you can e.
26115 \begin_inset space \thinspace{}
26116 \end_inset
26117
26118 g.
26119 \begin_inset space \space{}
26120 \end_inset
26121
26122 add 1.5
26123 \begin_inset space \thinspace{}
26124 \end_inset
26125
26126 mm space with the following preamble command:
26127 \end_layout
26128
26129 \begin_layout Standard
26130
26131 \series bold
26132
26133 \backslash
26134 let
26135 \backslash
26136 myFoot
26137 \backslash
26138 footnote
26139 \begin_inset Newline newline
26140 \end_inset
26141
26142
26143 \backslash
26144 renewcommand{
26145 \backslash
26146 footnote}[1]{
26147 \backslash
26148 myFoot{#1
26149 \backslash
26150 vspace{1.5mm}}}
26151 \end_layout
26152
26153 \begin_layout Standard
26154 \begin_inset VSpace bigskip
26155 \end_inset
26156
26157 In a two-column document the footnotes appear at the bottom of every column,
26158  see Figure
26159 \begin_inset space ~
26160 \end_inset
26161
26162
26163 \begin_inset CommandInset ref
26164 LatexCommand ref
26165 reference "fig:Standard-footnote-placement"
26166
26167 \end_inset
26168
26169 .
26170  If the footnotes should only appear at the bottom of the right column,
26171  as in Figure
26172 \begin_inset space ~
26173 \end_inset
26174
26175
26176 \begin_inset CommandInset ref
26177 LatexCommand ref
26178 reference "fig:Footnote-placement-in"
26179
26180 \end_inset
26181
26182 , use the LaTeX-package 
26183 \series bold
26184 ftnright
26185 \series default
26186
26187 \begin_inset Index idx
26188 status collapsed
26189
26190 \begin_layout Plain Layout
26191 LaTeX-packages ! ftnright
26192 \end_layout
26193
26194 \end_inset
26195
26196  with this command in the document preamble:
26197 \end_layout
26198
26199 \begin_layout Standard
26200
26201 \series bold
26202
26203 \backslash
26204 usepackage{ftnright}
26205 \end_layout
26206
26207 \begin_layout Standard
26208 \begin_inset Float figure
26209 placement !h
26210 wide false
26211 sideways false
26212 status open
26213
26214 \begin_layout Plain Layout
26215 \begin_inset ERT
26216 status collapsed
26217
26218 \begin_layout Plain Layout
26219
26220
26221 \backslash
26222 framebox{
26223 \end_layout
26224
26225 \end_inset
26226
26227
26228 \begin_inset Graphics
26229         filename clipart/without_fntright.pdf
26230         width 100col%
26231         scaleBeforeRotation
26232
26233 \end_inset
26234
26235
26236 \begin_inset ERT
26237 status collapsed
26238
26239 \begin_layout Plain Layout
26240
26241 }
26242 \end_layout
26243
26244 \end_inset
26245
26246
26247 \end_layout
26248
26249 \begin_layout Plain Layout
26250 \begin_inset Caption
26251
26252 \begin_layout Plain Layout
26253 \begin_inset CommandInset label
26254 LatexCommand label
26255 name "fig:Standard-footnote-placement"
26256
26257 \end_inset
26258
26259 Standard footnote placement in two-column documents.
26260 \end_layout
26261
26262 \end_inset
26263
26264
26265 \end_layout
26266
26267 \end_inset
26268
26269
26270 \end_layout
26271
26272 \begin_layout Standard
26273 \begin_inset Float figure
26274 placement !h
26275 wide false
26276 sideways false
26277 status open
26278
26279 \begin_layout Plain Layout
26280 \begin_inset ERT
26281 status collapsed
26282
26283 \begin_layout Plain Layout
26284
26285
26286 \backslash
26287 framebox{
26288 \end_layout
26289
26290 \end_inset
26291
26292
26293 \begin_inset Graphics
26294         filename clipart/with_fntright.pdf
26295         width 100col%
26296         scaleBeforeRotation
26297
26298 \end_inset
26299
26300
26301 \begin_inset ERT
26302 status collapsed
26303
26304 \begin_layout Plain Layout
26305
26306 }
26307 \end_layout
26308
26309 \end_inset
26310
26311
26312 \end_layout
26313
26314 \begin_layout Plain Layout
26315 \begin_inset Caption
26316
26317 \begin_layout Plain Layout
26318 \begin_inset CommandInset label
26319 LatexCommand label
26320 name "fig:Footnote-placement-in"
26321
26322 \end_inset
26323
26324 Footnote placement in two-column documents when the LaTeX-package 
26325 \series bold
26326 ftnright
26327 \series default
26328  is used.
26329 \end_layout
26330
26331 \end_inset
26332
26333
26334 \end_layout
26335
26336 \end_inset
26337
26338
26339 \end_layout
26340
26341 \begin_layout Standard
26342 \begin_inset VSpace bigskip
26343 \end_inset
26344
26345 In some scientific literature it is usual to collect the footnotes and print
26346  them in a separate paragraph at the end of a section, as in Figure
26347 \begin_inset space ~
26348 \end_inset
26349
26350
26351 \begin_inset CommandInset ref
26352 LatexCommand ref
26353 reference "fig:Endnotes"
26354
26355 \end_inset
26356
26357 .
26358  They are then called 
26359 \begin_inset Quotes eld
26360 \end_inset
26361
26362 endnotes
26363 \begin_inset Quotes erd
26364 \end_inset
26365
26366 .
26367 \begin_inset Index idx
26368 status collapsed
26369
26370 \begin_layout Plain Layout
26371 Endnotes
26372 \end_layout
26373
26374 \end_inset
26375
26376  To use endnotes instead of footnotes in your document, load in the menu
26377  
26378 \family sans
26379 Document\SpecialChar \menuseparator
26380 Settings\SpecialChar \menuseparator
26381 Modules 
26382 \family default
26383 the module 
26384 \family sans
26385 Foot
26386 \begin_inset space ~
26387 \end_inset
26388
26389 to
26390 \begin_inset space ~
26391 \end_inset
26392
26393 End
26394 \family default
26395 .
26396  To insert the collected footnotes, insert the command
26397 \end_layout
26398
26399 \begin_layout Standard
26400
26401 \series bold
26402
26403 \backslash
26404 theendnotes
26405 \end_layout
26406
26407 \begin_layout Standard
26408 in TeX-Code at the end of a section or chapter.
26409 \end_layout
26410
26411 \begin_layout Standard
26412 \begin_inset Float figure
26413 wide false
26414 sideways false
26415 status open
26416
26417 \begin_layout Plain Layout
26418 \align center
26419 \begin_inset ERT
26420 status collapsed
26421
26422 \begin_layout Plain Layout
26423
26424
26425 \backslash
26426 framebox{
26427 \end_layout
26428
26429 \end_inset
26430
26431
26432 \begin_inset Graphics
26433         filename clipart/endnotes.pdf
26434         scaleBeforeRotation
26435
26436 \end_inset
26437
26438
26439 \begin_inset ERT
26440 status collapsed
26441
26442 \begin_layout Plain Layout
26443
26444 }
26445 \end_layout
26446
26447 \end_inset
26448
26449
26450 \end_layout
26451
26452 \begin_layout Plain Layout
26453 \begin_inset Caption
26454
26455 \begin_layout Plain Layout
26456 \begin_inset CommandInset label
26457 LatexCommand label
26458 name "fig:Endnotes"
26459
26460 \end_inset
26461
26462 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
26463  or chapters.
26464 \end_layout
26465
26466 \end_inset
26467
26468
26469 \end_layout
26470
26471 \end_inset
26472
26473
26474 \end_layout
26475
26476 \begin_layout Standard
26477 \begin_inset VSpace medskip
26478 \end_inset
26479
26480 The paragraph heading for the endnotes isn't automatically translated into
26481  the document language, this must be done manually.
26482  The following preamble command translates the default English 
26483 \begin_inset Quotes eld
26484 \end_inset
26485
26486 Notes
26487 \begin_inset Quotes erd
26488 \end_inset
26489
26490  into the German 
26491 \begin_inset Quotes eld
26492 \end_inset
26493
26494 Anmerkungen
26495 \begin_inset Quotes erd
26496 \end_inset
26497
26498 :
26499 \end_layout
26500
26501 \begin_layout Standard
26502
26503 \series bold
26504
26505 \backslash
26506 renewcommand{
26507 \backslash
26508 notesname}{Anmerkungen}
26509 \end_layout
26510
26511 \begin_layout Standard
26512 \begin_inset VSpace medskip
26513 \end_inset
26514
26515 The numbering of endnotes can be changed like the footnote numbering as
26516  described in section
26517 \begin_inset space ~
26518 \end_inset
26519
26520
26521 \begin_inset CommandInset ref
26522 LatexCommand ref
26523 reference "sub:Footnote-Numbering"
26524
26525 \end_inset
26526
26527 ; just replace the command 
26528 \series bold
26529
26530 \backslash
26531 thefootnote
26532 \series default
26533  by 
26534 \series bold
26535
26536 \backslash
26537 theendnote
26538 \series default
26539 .
26540  To reset the endnote number use the command 
26541 \series bold
26542
26543 \backslash
26544 @addtoreset
26545 \series default
26546  as described in section
26547 \begin_inset space ~
26548 \end_inset
26549
26550
26551 \begin_inset CommandInset ref
26552 LatexCommand ref
26553 reference "sub:Footnote-Numbering"
26554
26555 \end_inset
26556
26557  and replace the command parameter 
26558 \series bold
26559 footnote
26560 \series default
26561  by 
26562 \series bold
26563 endnote
26564 \series default
26565 .
26566 \end_layout
26567
26568 \begin_layout Standard
26569 For endnotes there is the command 
26570 \series bold
26571
26572 \backslash
26573 endnotemark[number]
26574 \series default
26575  similar to the command 
26576 \series bold
26577
26578 \backslash
26579 footnotemark
26580 \series default
26581 , that is described in section
26582 \begin_inset space ~
26583 \end_inset
26584
26585
26586 \begin_inset CommandInset ref
26587 LatexCommand ref
26588 reference "sec:Footnotes"
26589
26590 \end_inset
26591
26592 .
26593 \end_layout
26594
26595 \begin_layout Standard
26596 \begin_inset VSpace bigskip
26597 \end_inset
26598
26599 Footnotes can also be placed in the page margin and the footnote text alignment
26600  can be changed, see the LaTeX-package 
26601 \series bold
26602 footmisc
26603 \series default
26604
26605 \begin_inset Index idx
26606 status collapsed
26607
26608 \begin_layout Plain Layout
26609 LaTeX-packages ! footmisc
26610 \end_layout
26611
26612 \end_inset
26613
26614
26615 \begin_inset CommandInset citation
26616 LatexCommand cite
26617 key "footmisc"
26618
26619 \end_inset
26620
26621  for more information about this.
26622 \end_layout
26623
26624 \begin_layout Standard
26625 For various further footnote formatting issues have a look at LaTeX-books,
26626  
26627 \begin_inset CommandInset citation
26628 LatexCommand cite
26629 key "latexcompanion,latexguide,latexbook"
26630
26631 \end_inset
26632
26633 .
26634  If you are using a 
26635 \series bold
26636 KOMA-Script
26637 \series default
26638
26639 \begin_inset Index idx
26640 status collapsed
26641
26642 \begin_layout Plain Layout
26643 LaTeX-packages ! KOMA-Script
26644 \end_layout
26645
26646 \end_inset
26647
26648  document class, you can adjust all footnote settings using class-specific
26649  commands, see 
26650 \begin_inset CommandInset citation
26651 LatexCommand cite
26652 key "KOMA-Script"
26653
26654 \end_inset
26655
26656 .
26657 \end_layout
26658
26659 \begin_layout Section
26660 Margin Notes
26661 \begin_inset Index idx
26662 status collapsed
26663
26664 \begin_layout Plain Layout
26665 Notes ! Margin Notes
26666 \end_layout
26667
26668 \end_inset
26669
26670
26671 \end_layout
26672
26673 \begin_layout Standard
26674 Margin notes look and behave in LyX like footnotes.
26675  They are inserted via the menu 
26676 \family sans
26677 Insert\SpecialChar \menuseparator
26678 Marginal
26679 \begin_inset space ~
26680 \end_inset
26681
26682 Note
26683 \family default
26684  or the toolbar button 
26685 \begin_inset Graphics
26686         filename ../images/marginalnote-insert.png
26687         scale 85
26688         scaleBeforeRotation
26689
26690 \end_inset
26691
26692 .
26693  A grey 
26694 \family roman
26695 \series medium
26696 box with the
26697 \family default
26698 \series default
26699  red 
26700 \family roman
26701 \series medium
26702 label 
26703 \begin_inset Quotes eld
26704 \end_inset
26705
26706 margin
26707 \begin_inset Quotes erd
26708 \end_inset
26709
26710  appears where you can enter the text of the margin note.
26711 \end_layout
26712
26713 \begin_layout Standard
26714 At the side is an example margin note.
26715
26716 \family roman
26717 \series medium
26718  
26719 \begin_inset Marginal
26720 status open
26721
26722 \begin_layout Plain Layout
26723 This is a margin note.
26724 \end_layout
26725
26726 \end_inset
26727
26728
26729 \end_layout
26730
26731 \begin_layout Standard
26732 Margin notes appear at the right side in single-sided documents.
26733  In double-sided documents they appear in the outer margin â€“ left on even
26734  pages, right on odd pages.
26735  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
26736 d when the note appears in the left margin.
26737  The first line of the margin note is placed at the position of the text
26738  line where it is inserted in the document.
26739 \end_layout
26740
26741 \begin_layout Standard
26742 \begin_inset VSpace bigskip
26743 \end_inset
26744
26745 To place the margin note in the inner margin, add the command
26746 \end_layout
26747
26748 \begin_layout Standard
26749
26750 \series bold
26751
26752 \backslash
26753 reversemarginpar
26754 \end_layout
26755
26756 \begin_layout Standard
26757 in TeX-Code before a margin note.
26758  The new placement is valid for all subsequent margin notes.
26759  
26760 \begin_inset ERT
26761 status collapsed
26762
26763 \begin_layout Plain Layout
26764
26765
26766 \backslash
26767 reversemarginpar 
26768 \end_layout
26769
26770 \end_inset
26771
26772
26773 \begin_inset Marginal
26774 status open
26775
26776 \begin_layout Plain Layout
26777 This is a margin note in the inner margin.
26778 \end_layout
26779
26780 \end_inset
26781
26782
26783 \series bold
26784
26785 \begin_inset Newline newline
26786 \end_inset
26787
26788
26789 \series default
26790
26791 \begin_inset Note Greyedout
26792 status open
26793
26794 \begin_layout Plain Layout
26795
26796 \series bold
26797 Note:
26798 \series default
26799  There is often not enough space in the inner margin so that the notes are
26800  not correctly displayed in the output.
26801 \end_layout
26802
26803 \end_inset
26804
26805
26806 \end_layout
26807
26808 \begin_layout Standard
26809 To return to the default placement insert the command
26810 \end_layout
26811
26812 \begin_layout Standard
26813
26814 \series bold
26815
26816 \backslash
26817 normalmarginpar
26818 \end_layout
26819
26820 \begin_layout Standard
26821 in TeX-Code.
26822 \begin_inset ERT
26823 status collapsed
26824
26825 \begin_layout Plain Layout
26826
26827
26828 \backslash
26829 normalmarginpar 
26830 \end_layout
26831
26832 \end_inset
26833
26834  
26835 \begin_inset Note Greyedout
26836 status open
26837
26838 \begin_layout Plain Layout
26839
26840 \series bold
26841 Note:
26842 \series default
26843  The command is ignored when it is within a paragraph where also the command
26844  
26845 \series bold
26846
26847 \backslash
26848 reversemarginpar
26849 \series default
26850  is inserted.
26851 \end_layout
26852
26853 \end_inset
26854
26855
26856 \end_layout
26857
26858 \begin_layout Standard
26859 \begin_inset VSpace bigskip
26860 \end_inset
26861
26862
26863 \family roman
26864 \series medium
26865
26866 \begin_inset Marginal
26867 status open
26868
26869 \begin_layout Plain Layout
26870 AVeryLongMarginParWord that isn't hyphenated.
26871 \end_layout
26872
26873 \end_inset
26874
26875
26876 \family default
26877 \series default
26878  Similar to the case described in section
26879 \begin_inset space ~
26880 \end_inset
26881
26882
26883 \begin_inset CommandInset ref
26884 LatexCommand ref
26885 reference "sub:Multiple-Lines-in"
26886
26887 \end_inset
26888
26889 , long words cannot be hyphenated when they are the first word in a margin
26890  note.
26891  To avoid this, insert 0
26892 \begin_inset space \thinspace{}
26893 \end_inset
26894
26895 pt horizontal space before the word
26896 \family roman
26897 \series medium
26898 .
26899  
26900 \begin_inset Marginal
26901 status open
26902
26903 \begin_layout Plain Layout
26904 \begin_inset space \hspace*{}
26905 \length 0pt
26906 \end_inset
26907
26908 AVeryLongMarginParWord that is hyphenated.
26909 \end_layout
26910
26911 \end_inset
26912
26913
26914 \end_layout
26915
26916 \begin_layout Standard
26917 \begin_inset VSpace bigskip
26918 \end_inset
26919
26920
26921 \end_layout
26922
26923 \begin_layout Standard
26924 \begin_inset Note Greyedout
26925 status open
26926
26927 \begin_layout Plain Layout
26928
26929 \series bold
26930 Note:
26931 \series default
26932  Margin notes can normally not be used inside tables, floats, and footnotes.
26933 \end_layout
26934
26935 \end_inset
26936
26937
26938 \end_layout
26939
26940 \begin_layout Standard
26941 \begin_inset VSpace bigskip
26942 \end_inset
26943
26944
26945 \end_layout
26946
26947 \begin_layout Standard
26948 \begin_inset ERT
26949 status collapsed
26950
26951 \begin_layout Plain Layout
26952
26953
26954 \backslash
26955 ifmarginnote
26956 \end_layout
26957
26958 \end_inset
26959
26960
26961 \begin_inset Note Note
26962 status open
26963
26964 \begin_layout Plain Layout
26965 The following section will only be displayed when the LaTeX-package 
26966 \series bold
26967 marginnote
26968 \series default
26969  is installed.
26970 \end_layout
26971
26972 \end_inset
26973
26974
26975 \end_layout
26976
26977 \begin_layout Standard
26978 This restriction can be evaded by using the LaTeX-package 
26979 \series bold
26980 marginnote
26981 \series default
26982
26983 \begin_inset Index idx
26984 status collapsed
26985
26986 \begin_layout Plain Layout
26987 LaTeX-packages ! marginnote
26988 \end_layout
26989
26990 \end_inset
26991
26992 .
26993  By adding these two lines to your document preamble, the command used by
26994  LyX for margin notes is redefined to use the command provided by the 
26995 \series bold
26996 marginnote
26997 \series default
26998 -package:
26999 \end_layout
27000
27001 \begin_layout Standard
27002
27003 \series bold
27004
27005 \backslash
27006 usepackage{marginnote}
27007 \begin_inset Newline newline
27008 \end_inset
27009
27010
27011 \backslash
27012 let
27013 \backslash
27014 marginpar
27015 \backslash
27016 marginnote
27017 \end_layout
27018
27019 \begin_layout Standard
27020 This is also used in this document because 
27021 \series bold
27022 marginnote
27023 \series default
27024  has another useful feature: You can set a vertical offset for the note.
27025  This is often needed when too many margin notes are too close together
27026  or for a better page layout.
27027  The offset is set in LyX as TeX-Code directly after the margin note in
27028  the scheme
27029 \end_layout
27030
27031 \begin_layout Standard
27032
27033 \series bold
27034 [offset]
27035 \end_layout
27036
27037 \begin_layout Standard
27038 where the offset is a length with one of the units listed in Table
27039 \begin_inset space ~
27040 \end_inset
27041
27042
27043 \begin_inset CommandInset ref
27044 LatexCommand ref
27045 reference "tab:Units"
27046
27047 \end_inset
27048
27049 .
27050  A negative value shifts the note up, a positive value shifts it down.
27051  
27052 \family roman
27053 \series medium
27054 For example the margin note beside this text line is shifted up 1.5
27055 \begin_inset space \thinspace{}
27056 \end_inset
27057
27058 cm with the TeX-Code-command 
27059 \begin_inset Quotes eld
27060 \end_inset
27061
27062
27063 \family default
27064 \series bold
27065 [-1.5cm]
27066 \family roman
27067 \series medium
27068
27069 \begin_inset Quotes erd
27070 \end_inset
27071
27072
27073 \begin_inset Marginal
27074 status open
27075
27076 \begin_layout Plain Layout
27077 This margin note is shifted up 1.5
27078 \begin_inset space \thinspace{}
27079 \end_inset
27080
27081 cm from its original position.
27082 \end_layout
27083
27084 \end_inset
27085
27086
27087 \family default
27088 \series default
27089
27090 \begin_inset ERT
27091 status collapsed
27092
27093 \begin_layout Plain Layout
27094
27095 [-1.5cm]
27096 \end_layout
27097
27098 \end_inset
27099
27100
27101 \end_layout
27102
27103 \begin_layout Standard
27104 \begin_inset VSpace medskip
27105 \end_inset
27106
27107 With 
27108 \series bold
27109 marginnote
27110 \series default
27111  you can also change the alignment of the text in the margin note.
27112  For example the commands
27113 \end_layout
27114
27115 \begin_layout Standard
27116
27117 \series bold
27118
27119 \backslash
27120 renewcommand*{
27121 \backslash
27122 raggedleftmarginnote}{
27123 \backslash
27124 centering}
27125 \begin_inset Newline newline
27126 \end_inset
27127
27128
27129 \backslash
27130 renewcommand*{
27131 \backslash
27132 raggedrightmarginnote}{
27133 \backslash
27134 centering}
27135 \end_layout
27136
27137 \begin_layout Standard
27138 set the alignment to centered.
27139  
27140 \series bold
27141
27142 \backslash
27143 raggedleftmarginnote
27144 \series default
27145  denotes margin notes that appear at the left side.
27146 \family roman
27147 \series medium
27148
27149 \begin_inset ERT
27150 status collapsed
27151
27152 \begin_layout Plain Layout
27153
27154
27155 \backslash
27156 renewcommand*{
27157 \backslash
27158 raggedleftmarginnote}{
27159 \backslash
27160 centering}
27161 \end_layout
27162
27163 \begin_layout Plain Layout
27164
27165
27166 \backslash
27167 renewcommand*{
27168 \backslash
27169 raggedrightmarginnote}{
27170 \backslash
27171 centering}
27172 \end_layout
27173
27174 \end_inset
27175
27176
27177 \begin_inset Marginal
27178 status open
27179
27180 \begin_layout Plain Layout
27181 The text of this margin note is centered.
27182 \end_layout
27183
27184 \end_inset
27185
27186
27187 \family default
27188 \series default
27189  The default is
27190 \end_layout
27191
27192 \begin_layout Standard
27193
27194 \series bold
27195
27196 \backslash
27197 renewcommand*{
27198 \backslash
27199 raggedleftmarginnote}{
27200 \backslash
27201 raggedleft}
27202 \begin_inset Newline newline
27203 \end_inset
27204
27205
27206 \backslash
27207 renewcommand*{
27208 \backslash
27209 raggedrightmarginnote}{
27210 \backslash
27211 raggedright}
27212 \family roman
27213 \series medium
27214
27215 \begin_inset ERT
27216 status collapsed
27217
27218 \begin_layout Plain Layout
27219
27220
27221 \backslash
27222 renewcommand*{
27223 \backslash
27224 raggedleftmarginnote}{
27225 \backslash
27226 raggedleft}
27227 \end_layout
27228
27229 \begin_layout Plain Layout
27230
27231
27232 \backslash
27233 renewcommand*{
27234 \backslash
27235 raggedrightmarginnote}{
27236 \backslash
27237 raggedright}
27238 \end_layout
27239
27240 \end_inset
27241
27242
27243 \end_layout
27244
27245 \begin_layout Standard
27246 \begin_inset VSpace medskip
27247 \end_inset
27248
27249 For the other features of 
27250 \series bold
27251 marginnote
27252 \series default
27253  refer to its documentation 
27254 \begin_inset CommandInset citation
27255 LatexCommand cite
27256 key "marginnote"
27257
27258 \end_inset
27259
27260 .
27261 \end_layout
27262
27263 \begin_layout Standard
27264 \begin_inset VSpace bigskip
27265 \end_inset
27266
27267 You can adjust the layout of margin notes by changing its definition.
27268  To create for example a header for all margin notes with the underlined,
27269  sans-serif, and bold header text 
27270 \begin_inset Quotes eld
27271 \end_inset
27272
27273
27274 \family sans
27275 \series bold
27276 \bar under
27277 Attention!
27278 \family default
27279 \series default
27280 \bar default
27281
27282 \begin_inset Quotes erd
27283 \end_inset
27284
27285 , add this to your document preamble:
27286 \end_layout
27287
27288 \begin_layout Standard
27289
27290 \series bold
27291
27292 \backslash
27293 let
27294 \backslash
27295 myMarginpar
27296 \backslash
27297 marginpar
27298 \begin_inset Newline newline
27299 \end_inset
27300
27301
27302 \backslash
27303 renewcommand{
27304 \backslash
27305 marginpar}[1]{
27306 \backslash
27307 myMarginpar{%
27308 \begin_inset Newline newline
27309 \end_inset
27310
27311
27312 \begin_inset Phantom HPhantom
27313 status open
27314
27315 \begin_layout Plain Layout
27316
27317 \series bold
27318 \begin_inset space ~
27319 \end_inset
27320
27321
27322 \end_layout
27323
27324 \end_inset
27325
27326
27327 \backslash
27328 hspace{0pt}
27329 \backslash
27330 textsf{
27331 \backslash
27332 textbf{
27333 \backslash
27334 underbar{Attention!}}}%
27335 \begin_inset Newline newline
27336 \end_inset
27337
27338
27339 \begin_inset Phantom HPhantom
27340 status open
27341
27342 \begin_layout Plain Layout
27343
27344 \series bold
27345 \begin_inset space ~
27346 \end_inset
27347
27348
27349 \end_layout
27350
27351 \end_inset
27352
27353
27354 \backslash
27355 vspace{1.5mm}
27356 \backslash
27357
27358 \backslash
27359 #1}}
27360 \end_layout
27361
27362 \begin_layout Standard
27363
27364 \family roman
27365 \series medium
27366 \begin_inset ERT
27367 status collapsed
27368
27369 \begin_layout Plain Layout
27370
27371
27372 \backslash
27373 let
27374 \backslash
27375 myMarginpar
27376 \backslash
27377 marginpar
27378 \end_layout
27379
27380 \begin_layout Plain Layout
27381
27382
27383 \backslash
27384 renewcommand{
27385 \backslash
27386 marginpar}[1]{
27387 \backslash
27388 myMarginpar{%
27389 \end_layout
27390
27391 \begin_layout Plain Layout
27392
27393    
27394 \backslash
27395 textsf{
27396 \backslash
27397 textbf{
27398 \backslash
27399 underbar{Attention!}}}%
27400 \end_layout
27401
27402 \begin_layout Plain Layout
27403
27404    
27405 \backslash
27406 vspace{1.5mm}
27407 \backslash
27408
27409 \backslash
27410 #1}}
27411 \end_layout
27412
27413 \end_inset
27414
27415
27416 \begin_inset Marginal
27417 status open
27418
27419 \begin_layout Plain Layout
27420 This is a margin note with a defined heading.
27421 \end_layout
27422
27423 \end_inset
27424
27425
27426 \family default
27427 \series default
27428
27429 \begin_inset ERT
27430 status collapsed
27431
27432 \begin_layout Plain Layout
27433
27434 [-1.5cm]
27435 \end_layout
27436
27437 \end_inset
27438
27439
27440 \family roman
27441 \series medium
27442
27443 \begin_inset ERT
27444 status collapsed
27445
27446 \begin_layout Plain Layout
27447
27448
27449 \backslash
27450 renewcommand{
27451 \backslash
27452 marginpar}[1]{
27453 \backslash
27454 myMarginpar{#1}}
27455 \end_layout
27456
27457 \end_inset
27458
27459
27460 \family default
27461 \series default
27462
27463 \begin_inset Note Note
27464 status collapsed
27465
27466 \begin_layout Plain Layout
27467 The margin note format is changed only for this example.
27468 \end_layout
27469
27470 \end_inset
27471
27472
27473 \end_layout
27474
27475 \begin_layout Standard
27476 \begin_inset ERT
27477 status collapsed
27478
27479 \begin_layout Plain Layout
27480
27481
27482 \backslash
27483 else
27484 \end_layout
27485
27486 \end_inset
27487
27488
27489 \begin_inset Note Note
27490 status open
27491
27492 \begin_layout Plain Layout
27493 The following will be displayed when the LaTeX-package 
27494 \series bold
27495 marginnote
27496 \series default
27497  is not installed:
27498 \end_layout
27499
27500 \end_inset
27501
27502
27503 \end_layout
27504
27505 \begin_layout Standard
27506 You need to install the LaTeX-package 
27507 \series bold
27508 marginnote
27509 \series default
27510  to see the following part of this section in the output.
27511 \end_layout
27512
27513 \begin_layout Standard
27514 \begin_inset ERT
27515 status collapsed
27516
27517 \begin_layout Plain Layout
27518
27519
27520 \backslash
27521 fi
27522 \end_layout
27523
27524 \end_inset
27525
27526
27527 \end_layout
27528
27529 \begin_layout Chapter
27530 Boxes
27531 \end_layout
27532
27533 \begin_layout Section
27534 Introduction
27535 \begin_inset Index idx
27536 status collapsed
27537
27538 \begin_layout Plain Layout
27539 Boxes ! Introduction
27540 \end_layout
27541
27542 \end_inset
27543
27544
27545 \end_layout
27546
27547 \begin_layout Standard
27548 Boxes are used to format a block of text.
27549  Boxes can be used to write documents with multiple languages, see section
27550 \begin_inset space ~
27551 \end_inset
27552
27553
27554 \begin_inset CommandInset ref
27555 LatexCommand ref
27556 reference "sec:Minipages"
27557
27558 \end_inset
27559
27560 , to frame texts, see section
27561 \begin_inset space ~
27562 \end_inset
27563
27564
27565 \begin_inset CommandInset ref
27566 LatexCommand ref
27567 reference "sec:Decoration"
27568
27569 \end_inset
27570
27571 , to prevent words from being hyphenated, see section
27572 \begin_inset space ~
27573 \end_inset
27574
27575
27576 \begin_inset CommandInset ref
27577 LatexCommand ref
27578 reference "sec:Prevent-Hyphenation"
27579
27580 \end_inset
27581
27582 , to align text, see section
27583 \begin_inset space ~
27584 \end_inset
27585
27586
27587 \begin_inset CommandInset ref
27588 LatexCommand ref
27589 reference "sub:Vertical-Alignment"
27590
27591 \end_inset
27592
27593 , or to set the background color of texts, see section
27594 \begin_inset space ~
27595 \end_inset
27596
27597
27598 \begin_inset CommandInset ref
27599 LatexCommand ref
27600 reference "sec:Colored-Boxes"
27601
27602 \end_inset
27603
27604 .
27605 \end_layout
27606
27607 \begin_layout Standard
27608 Boxes can be inserted with the menu 
27609 \family sans
27610 Insert\SpecialChar \menuseparator
27611 Box
27612 \family default
27613  or the toolbar button 
27614 \begin_inset Graphics
27615         filename ../images/box-insert.png
27616         scale 85
27617         scaleBeforeRotation
27618
27619 \end_inset
27620
27621 .
27622  A grey box with the label 
27623 \family sans
27624 Box (Minipage)
27625 \family default
27626
27627 \begin_inset Graphics
27628         filename clipart/BoxInsetDefaultQt4.png
27629         scale 85
27630         scaleBeforeRotation
27631
27632 \end_inset
27633
27634  will be inserted.
27635  The box type can be specified by right-clicking on the box and selecting
27636  
27637 \family sans
27638 Settings
27639 \family default
27640 .
27641  The box dialog offers the 
27642 \family sans
27643 Inner
27644 \begin_inset space ~
27645 \end_inset
27646
27647 Box
27648 \family default
27649  types 
27650 \family sans
27651 Makebox
27652 \family default
27653
27654 \family sans
27655 Parbox
27656 \family default
27657  and 
27658 \family sans
27659 Minipage
27660 \family default
27661 .
27662  The type 
27663 \family sans
27664 Minipage
27665 \family default
27666  is the default for new boxes and is explained in section
27667 \begin_inset space ~
27668 \end_inset
27669
27670
27671 \begin_inset CommandInset ref
27672 LatexCommand ref
27673 reference "sec:Minipages"
27674
27675 \end_inset
27676
27677 ; the type 
27678 \family sans
27679 Parbox
27680 \family default
27681  is described in section
27682 \begin_inset space ~
27683 \end_inset
27684
27685
27686 \begin_inset CommandInset ref
27687 LatexCommand ref
27688 reference "sec:Parboxes"
27689
27690 \end_inset
27691
27692  and the type 
27693 \family sans
27694 Makebox
27695 \family default
27696  in 
27697 \begin_inset CommandInset ref
27698 LatexCommand ref
27699 reference "sec:Prevent-Hyphenation"
27700
27701 \end_inset
27702
27703 .
27704 \end_layout
27705
27706 \begin_layout Standard
27707 Boxes are not numbered and can therefore not be referenced like floats or
27708  footnotes.
27709 \end_layout
27710
27711 \begin_layout Standard
27712 \begin_inset Note Greyedout
27713 status open
27714
27715 \begin_layout Plain Layout
27716
27717 \series bold
27718 Note:
27719 \series default
27720  Boxes must not be the item in an 
27721 \family sans
27722 Itemize
27723 \family default
27724  or 
27725 \family sans
27726 Description
27727 \family default
27728  environment.
27729 \end_layout
27730
27731 \end_inset
27732
27733
27734 \end_layout
27735
27736 \begin_layout Standard
27737 \begin_inset Note Greyedout
27738 status open
27739
27740 \begin_layout Plain Layout
27741
27742 \series bold
27743 Note:
27744 \series default
27745  For an unknown reason you can only set the 
27746 \family sans
27747 Inner
27748 \begin_inset space ~
27749 \end_inset
27750
27751 Box
27752 \family default
27753  type to 
27754 \family sans
27755 None
27756 \family default
27757  when you use a framed box.
27758  Boxes without an 
27759 \family sans
27760 Inner
27761 \begin_inset space ~
27762 \end_inset
27763
27764 Box
27765 \family default
27766  type and without frames are explained in section
27767 \begin_inset space ~
27768 \end_inset
27769
27770
27771 \begin_inset CommandInset ref
27772 LatexCommand ref
27773 reference "sec:Prevent-Hyphenation"
27774
27775 \end_inset
27776
27777 .
27778 \end_layout
27779
27780 \end_inset
27781
27782
27783 \end_layout
27784
27785 \begin_layout Section
27786 Box Dialog
27787 \begin_inset CommandInset label
27788 LatexCommand label
27789 name "sec:Box-Dialog"
27790
27791 \end_inset
27792
27793
27794 \begin_inset Index idx
27795 status collapsed
27796
27797 \begin_layout Plain Layout
27798 Boxes ! Box Dialog
27799 \end_layout
27800
27801 \end_inset
27802
27803
27804 \end_layout
27805
27806 \begin_layout Subsection
27807 Size
27808 \begin_inset Index idx
27809 status collapsed
27810
27811 \begin_layout Plain Layout
27812 Boxes ! Size
27813 \end_layout
27814
27815 \end_inset
27816
27817
27818 \end_layout
27819
27820 \begin_layout Standard
27821 In the box dialog you can adjust the box geometry in the fields 
27822 \family sans
27823 Width
27824 \family default
27825  and 
27826 \family sans
27827 Height
27828 \family default
27829 .
27830  The available units for the geometry are explained in Table
27831 \begin_inset space ~
27832 \end_inset
27833
27834
27835 \begin_inset CommandInset ref
27836 LatexCommand ref
27837 reference "tab:Units"
27838
27839 \end_inset
27840
27841 .
27842  The field 
27843 \family sans
27844 Height
27845 \family default
27846  offers the following additional sizes:
27847 \end_layout
27848
27849 \begin_layout Description
27850 Depth This is the plain text 
27851 \begin_inset Quotes eld
27852 \end_inset
27853
27854 height
27855 \begin_inset Quotes erd
27856 \end_inset
27857
27858 .
27859  It ignores the total depth when there are multiple text lines in the box:
27860 \begin_inset Newline newline
27861 \end_inset
27862
27863
27864 \begin_inset Newline newline
27865 \end_inset
27866
27867
27868 \begin_inset Newline newline
27869 \end_inset
27870
27871
27872 \begin_inset Box Boxed
27873 position "c"
27874 hor_pos "c"
27875 has_inner_box 1
27876 inner_pos "c"
27877 use_parbox 0
27878 use_makebox 0
27879 width "12col%"
27880 special "none"
27881 height "1in"
27882 height_special "depth"
27883 status collapsed
27884
27885 \begin_layout Plain Layout
27886 \align center
27887 Box height set to 1
27888 \begin_inset space \thinspace{}
27889 \end_inset
27890
27891 Depth
27892 \end_layout
27893
27894 \end_inset
27895
27896
27897 \begin_inset Newline newline
27898 \end_inset
27899
27900
27901 \begin_inset Newline newline
27902 \end_inset
27903
27904
27905 \end_layout
27906
27907 \begin_layout Description
27908 Height This is the height of the text that is inside the box.
27909  A value of e.
27910 \begin_inset space \thinspace{}
27911 \end_inset
27912
27913 g.
27914 \begin_inset space \space{}
27915 \end_inset
27916
27917 2 for this size will set the box height to 2
27918 \begin_inset space ~
27919 \end_inset
27920
27921 times the text height: 
27922 \begin_inset Box Boxed
27923 position "c"
27924 hor_pos "c"
27925 has_inner_box 1
27926 inner_pos "c"
27927 use_parbox 0
27928 use_makebox 0
27929 width "20col%"
27930 special "none"
27931 height "2in"
27932 height_special "height"
27933 status collapsed
27934
27935 \begin_layout Plain Layout
27936 \align center
27937 Box height set to 2
27938 \begin_inset space \thinspace{}
27939 \end_inset
27940
27941 Height
27942 \end_layout
27943
27944 \end_inset
27945
27946
27947 \end_layout
27948
27949 \begin_layout Description
27950 Total
27951 \begin_inset space ~
27952 \end_inset
27953
27954 Height This is the Height
27955 \begin_inset space \thinspace{}
27956 \end_inset
27957
27958 +
27959 \begin_inset space \thinspace{}
27960 \end_inset
27961
27962 Depth: 
27963 \begin_inset Box Boxed
27964 position "c"
27965 hor_pos "c"
27966 has_inner_box 1
27967 inner_pos "c"
27968 use_parbox 0
27969 use_makebox 0
27970 width "20col%"
27971 special "none"
27972 height "1in"
27973 height_special "totalheight"
27974 status collapsed
27975
27976 \begin_layout Plain Layout
27977 \align center
27978 Box height set to 1
27979 \begin_inset space \thinspace{}
27980 \end_inset
27981
27982 Total
27983 \begin_inset space ~
27984 \end_inset
27985
27986 Height
27987 \end_layout
27988
27989 \end_inset
27990
27991
27992 \end_layout
27993
27994 \begin_layout Description
27995 Width This sets the width of the box as height: 
27996 \begin_inset Box Boxed
27997 position "c"
27998 hor_pos "c"
27999 has_inner_box 1
28000 inner_pos "c"
28001 use_parbox 0
28002 use_makebox 0
28003 width "12col%"
28004 special "none"
28005 height "1in"
28006 height_special "width"
28007 status collapsed
28008
28009 \begin_layout Plain Layout
28010 \align center
28011 Box height set to 1
28012 \begin_inset space \thinspace{}
28013 \end_inset
28014
28015 Width
28016 \end_layout
28017
28018 \end_inset
28019
28020
28021 \end_layout
28022
28023 \begin_layout Subsection
28024 Alignment
28025 \begin_inset Index idx
28026 status collapsed
28027
28028 \begin_layout Plain Layout
28029 Boxes ! Alignment
28030 \end_layout
28031
28032 \end_inset
28033
28034
28035 \end_layout
28036
28037 \begin_layout Standard
28038 When you have chosen an 
28039 \family sans
28040 Inner
28041 \begin_inset space ~
28042 \end_inset
28043
28044 Box
28045 \family default
28046 , the vertical box alignment can be:
28047 \end_layout
28048
28049 \begin_layout Description
28050 Top This is an example text line.
28051  
28052 \begin_inset Box Boxed
28053 position "t"
28054 hor_pos "c"
28055 has_inner_box 1
28056 inner_pos "c"
28057 use_parbox 0
28058 use_makebox 0
28059 width "12col%"
28060 special "none"
28061 height "1in"
28062 height_special "totalheight"
28063 status collapsed
28064
28065 \begin_layout Plain Layout
28066 \align center
28067 This box is top-aligned.
28068 \end_layout
28069
28070 \end_inset
28071
28072  This is an example text line.
28073 \end_layout
28074
28075 \begin_layout Description
28076 Middle This is an example text line.
28077  
28078 \begin_inset Box Boxed
28079 position "c"
28080 hor_pos "c"
28081 has_inner_box 1
28082 inner_pos "c"
28083 use_parbox 0
28084 use_makebox 0
28085 width "12col%"
28086 special "none"
28087 height "1in"
28088 height_special "totalheight"
28089 status collapsed
28090
28091 \begin_layout Plain Layout
28092 \align center
28093 This box is middle-aligned.
28094 \end_layout
28095
28096 \end_inset
28097
28098  This is an example text line.
28099 \end_layout
28100
28101 \begin_layout Description
28102 Bottom This is an example text line.
28103  
28104 \begin_inset Box Boxed
28105 position "b"
28106 hor_pos "c"
28107 has_inner_box 1
28108 inner_pos "c"
28109 use_parbox 0
28110 use_makebox 0
28111 width "12col%"
28112 special "none"
28113 height "1in"
28114 height_special "totalheight"
28115 status collapsed
28116
28117 \begin_layout Plain Layout
28118 \align center
28119 This box is bottom-aligned.
28120 \end_layout
28121
28122 \end_inset
28123
28124  This is an example text line.
28125 \end_layout
28126
28127 \begin_layout Standard
28128 \begin_inset Note Greyedout
28129 status open
28130
28131 \begin_layout Plain Layout
28132
28133 \series bold
28134 Note:
28135 \series default
28136  The vertical box alignment can be lost in the output when you have two
28137  boxes in a line and one has e.
28138 \begin_inset space \thinspace{}
28139 \end_inset
28140
28141 g.
28142 \begin_inset space \space{}
28143 \end_inset
28144
28145 a shadow and the other one not.
28146 \end_layout
28147
28148 \end_inset
28149
28150
28151 \end_layout
28152
28153 \begin_layout Standard
28154 The horizontal box alignment can be set via LyX's paragraph dialog when
28155  you set the box into its own paragraph.
28156 \end_layout
28157
28158 \begin_layout Standard
28159 \begin_inset VSpace bigskip
28160 \end_inset
28161
28162 When you have chosen an 
28163 \family sans
28164 Inner
28165 \begin_inset space ~
28166 \end_inset
28167
28168 Box
28169 \family default
28170 , the box content can be aligned vertically to:
28171 \end_layout
28172
28173 \begin_layout Description
28174 top This is an example text line.
28175  
28176 \begin_inset Box Boxed
28177 position "c"
28178 hor_pos "c"
28179 has_inner_box 1
28180 inner_pos "t"
28181 use_parbox 0
28182 use_makebox 0
28183 width "12col%"
28184 special "none"
28185 height "1.5in"
28186 height_special "totalheight"
28187 status collapsed
28188
28189 \begin_layout Plain Layout
28190 \align center
28191 This box text is top-aligned.
28192 \end_layout
28193
28194 \end_inset
28195
28196  This is an example text line.
28197 \end_layout
28198
28199 \begin_layout Description
28200 middle This is an example text line.
28201  
28202 \begin_inset Box Boxed
28203 position "c"
28204 hor_pos "c"
28205 has_inner_box 1
28206 inner_pos "c"
28207 use_parbox 0
28208 use_makebox 0
28209 width "12col%"
28210 special "none"
28211 height "1.5in"
28212 height_special "totalheight"
28213 status collapsed
28214
28215 \begin_layout Plain Layout
28216 \align center
28217 This box text is middle-aligned.
28218 \end_layout
28219
28220 \end_inset
28221
28222  This is an example text line.
28223 \end_layout
28224
28225 \begin_layout Description
28226 bottom This is an example text line.
28227  
28228 \begin_inset Box Boxed
28229 position "c"
28230 hor_pos "c"
28231 has_inner_box 1
28232 inner_pos "b"
28233 use_parbox 0
28234 use_makebox 0
28235 width "12col%"
28236 special "none"
28237 height "1.5in"
28238 height_special "totalheight"
28239 status collapsed
28240
28241 \begin_layout Plain Layout
28242 \align center
28243 This box text is bottom-aligned.
28244 \end_layout
28245
28246 \end_inset
28247
28248  This is an example text line.
28249 \end_layout
28250
28251 \begin_layout Description
28252 stretch This is an example text line.
28253  
28254 \begin_inset Box Boxed
28255 position "c"
28256 hor_pos "c"
28257 has_inner_box 1
28258 inner_pos "s"
28259 use_parbox 0
28260 use_makebox 0
28261 width "12col%"
28262 special "none"
28263 height "1.5in"
28264 height_special "totalheight"
28265 status collapsed
28266
28267 \begin_layout Plain Layout
28268 \align center
28269 This box
28270 \end_layout
28271
28272 \begin_layout Plain Layout
28273 \align center
28274 text is
28275 \end_layout
28276
28277 \begin_layout Plain Layout
28278 \align center
28279 stretched.
28280 \end_layout
28281
28282 \end_inset
28283
28284  This is an example text line.
28285 \end_layout
28286
28287 \begin_layout Standard
28288 To stretch the box content, it must consist of more than one paragraph.
28289  In the example above every text line is in an own paragraph.
28290 \end_layout
28291
28292 \begin_layout Standard
28293 \begin_inset VSpace bigskip
28294 \end_inset
28295
28296 To align the box content horizontally you can use LyX's paragraph dialog
28297  when you have chosen an 
28298 \family sans
28299 Inner
28300 \begin_inset space ~
28301 \end_inset
28302
28303 Box
28304 \family default
28305 .
28306 \end_layout
28307
28308 \begin_layout Standard
28309 \align center
28310 \begin_inset Box Boxed
28311 position "c"
28312 hor_pos "c"
28313 has_inner_box 1
28314 inner_pos "s"
28315 use_parbox 0
28316 use_makebox 0
28317 width "15col%"
28318 special "none"
28319 height "1.25in"
28320 height_special "totalheight"
28321 status collapsed
28322
28323 \begin_layout Plain Layout
28324 \align left
28325 This box
28326 \end_layout
28327
28328 \begin_layout Plain Layout
28329 \align center
28330 text is
28331 \end_layout
28332
28333 \begin_layout Plain Layout
28334 \align right
28335 stretched.
28336 \end_layout
28337
28338 \end_inset
28339
28340
28341 \end_layout
28342
28343 \begin_layout Standard
28344 If you have not set an 
28345 \family sans
28346 Inner
28347 \begin_inset space ~
28348 \end_inset
28349
28350 Box
28351 \family default
28352 , you can align the box content horizontally in the box dialog.
28353 \end_layout
28354
28355 \begin_layout Standard
28356 \align center
28357 \begin_inset Box Boxed
28358 position "c"
28359 hor_pos "s"
28360 has_inner_box 0
28361 inner_pos "s"
28362 use_parbox 0
28363 use_makebox 0
28364 width "90col%"
28365 special "none"
28366 height "1.25in"
28367 height_special "totalheight"
28368 status collapsed
28369
28370 \begin_layout Plain Layout
28371 This box text is horizontally stretched.
28372 \end_layout
28373
28374 \end_inset
28375
28376
28377 \end_layout
28378
28379 \begin_layout Subsection
28380 Decoration
28381 \begin_inset CommandInset label
28382 LatexCommand label
28383 name "sec:Decoration"
28384
28385 \end_inset
28386
28387
28388 \begin_inset Index idx
28389 status collapsed
28390
28391 \begin_layout Plain Layout
28392 Boxes ! Decoration
28393 \end_layout
28394
28395 \end_inset
28396
28397
28398 \end_layout
28399
28400 \begin_layout Standard
28401 The type of the box can be specified in the box dialog in the drop-down
28402  list 
28403 \family sans
28404 Decoration
28405 \family default
28406 .
28407  The following types are possible:
28408 \end_layout
28409
28410 \begin_layout Description
28411 No
28412 \begin_inset space ~
28413 \end_inset
28414
28415 frame Nothing is drawn.
28416 \end_layout
28417
28418 \begin_layout Description
28419 Simple
28420 \begin_inset space ~
28421 \end_inset
28422
28423 rectangular
28424 \begin_inset space ~
28425 \end_inset
28426
28427 frame This draws a rectangular frame around the box.
28428  The frame line thickness has the size of 
28429 \series bold
28430
28431 \backslash
28432 fboxrule
28433 \series default
28434 .
28435  
28436 \begin_inset Box Boxed
28437 position "c"
28438 hor_pos "c"
28439 has_inner_box 1
28440 inner_pos "c"
28441 use_parbox 0
28442 use_makebox 0
28443 width "20col%"
28444 special "none"
28445 height "1in"
28446 height_special "totalheight"
28447 status collapsed
28448
28449 \begin_layout Plain Layout
28450 \align center
28451 Rectangular box
28452 \end_layout
28453
28454 \end_inset
28455
28456
28457 \end_layout
28458
28459 \begin_layout Description
28460 Oval
28461 \begin_inset space ~
28462 \end_inset
28463
28464 box,
28465 \begin_inset space ~
28466 \end_inset
28467
28468 thin This draws an oval frame around the box.
28469  The frame line thickness has the size 0.4
28470 \begin_inset space \thinspace{}
28471 \end_inset
28472
28473 pt.
28474  
28475 \begin_inset Box ovalbox
28476 position "c"
28477 hor_pos "c"
28478 has_inner_box 1
28479 inner_pos "c"
28480 use_parbox 0
28481 use_makebox 0
28482 width "20col%"
28483 special "none"
28484 height "1in"
28485 height_special "totalheight"
28486 status collapsed
28487
28488 \begin_layout Plain Layout
28489 \align center
28490 Oval box, thin
28491 \end_layout
28492
28493 \end_inset
28494
28495
28496 \end_layout
28497
28498 \begin_layout Description
28499 Oval
28500 \begin_inset space ~
28501 \end_inset
28502
28503 box,
28504 \begin_inset space ~
28505 \end_inset
28506
28507 thick This draws an oval frame around the box.
28508  The frame line thickness has the size 0.8
28509 \begin_inset space \thinspace{}
28510 \end_inset
28511
28512 pt.
28513  
28514 \begin_inset Box Ovalbox
28515 position "c"
28516 hor_pos "c"
28517 has_inner_box 1
28518 inner_pos "c"
28519 use_parbox 0
28520 use_makebox 0
28521 width "20col%"
28522 special "none"
28523 height "1in"
28524 height_special "totalheight"
28525 status collapsed
28526
28527 \begin_layout Plain Layout
28528 \align center
28529 Oval box, thick
28530 \end_layout
28531
28532 \end_inset
28533
28534
28535 \end_layout
28536
28537 \begin_layout Description
28538 Drop
28539 \begin_inset space ~
28540 \end_inset
28541
28542 shadow This draws a rectangular frame with a shadow around the box.
28543  The frame line thickness has the size of 
28544 \series bold
28545
28546 \backslash
28547 fboxrule
28548 \series default
28549 , the shadow has a width of 4
28550 \begin_inset space \thinspace{}
28551 \end_inset
28552
28553 pt.
28554  
28555 \begin_inset Box Shadowbox
28556 position "c"
28557 hor_pos "c"
28558 has_inner_box 1
28559 inner_pos "c"
28560 use_parbox 0
28561 use_makebox 0
28562 width "20col%"
28563 special "none"
28564 height "1in"
28565 height_special "totalheight"
28566 status collapsed
28567
28568 \begin_layout Plain Layout
28569 \align center
28570 Shadow box
28571 \end_layout
28572
28573 \end_inset
28574
28575
28576 \end_layout
28577
28578 \begin_layout Description
28579 Shaded
28580 \begin_inset space ~
28581 \end_inset
28582
28583 background This draws a box with a red background.
28584  Unlike colored boxes
28585 \begin_inset Foot
28586 status collapsed
28587
28588 \begin_layout Plain Layout
28589 see sec.
28590 \begin_inset space \thinspace{}
28591 \end_inset
28592
28593
28594 \begin_inset CommandInset ref
28595 LatexCommand ref
28596 reference "sec:Colored-Boxes"
28597
28598 \end_inset
28599
28600
28601 \end_layout
28602
28603 \end_inset
28604
28605 , it always uses the whole column width and the box is set as its own paragraph.
28606  
28607 \begin_inset Box Shaded
28608 position "t"
28609 hor_pos "c"
28610 has_inner_box 0
28611 inner_pos "t"
28612 use_parbox 0
28613 use_makebox 0
28614 width "50col%"
28615 special "none"
28616 height "1in"
28617 height_special "totalheight"
28618 status collapsed
28619
28620 \begin_layout Plain Layout
28621 Shaded background box
28622 \end_layout
28623
28624 \end_inset
28625
28626
28627 \end_layout
28628
28629 \begin_layout Description
28630 Double
28631 \begin_inset space ~
28632 \end_inset
28633
28634 rectangular
28635 \begin_inset space ~
28636 \end_inset
28637
28638 frame This draws a double-line rectangular frame around the box.
28639  The line thickness of the inner frame is 0.75
28640 \begin_inset space \thinspace{}
28641 \end_inset
28642
28643
28644 \series bold
28645
28646 \backslash
28647 fboxrule
28648 \series default
28649 , the thickness of the outer frame is 1.5
28650 \begin_inset space \thinspace{}
28651 \end_inset
28652
28653
28654 \series bold
28655
28656 \backslash
28657 fboxrule
28658 \series default
28659 .
28660  The distance between the lines is 1.5
28661 \begin_inset space \thinspace{}
28662 \end_inset
28663
28664
28665 \series bold
28666
28667 \backslash
28668 fboxrule
28669 \series default
28670
28671 \begin_inset space \thinspace{}
28672 \end_inset
28673
28674 +
28675 \begin_inset space \thinspace{}
28676 \end_inset
28677
28678 0.5
28679 \begin_inset space \thinspace{}
28680 \end_inset
28681
28682 pt.
28683  
28684 \begin_inset Box Doublebox
28685 position "c"
28686 hor_pos "c"
28687 has_inner_box 1
28688 inner_pos "c"
28689 use_parbox 0
28690 use_makebox 0
28691 width "20col%"
28692 special "none"
28693 height "1in"
28694 height_special "totalheight"
28695 status collapsed
28696
28697 \begin_layout Plain Layout
28698 \align center
28699 Double rectangular box
28700 \end_layout
28701
28702 \end_inset
28703
28704
28705 \end_layout
28706
28707 \begin_layout Standard
28708 \begin_inset VSpace bigskip
28709 \end_inset
28710
28711 LyX's box label will reflect the different frame types.
28712  To be able to use all types, the LaTeX-package 
28713 \series bold
28714 fancybox
28715 \series default
28716
28717 \begin_inset Index idx
28718 status collapsed
28719
28720 \begin_layout Plain Layout
28721 LaTeX-packages ! fancybox
28722 \end_layout
28723
28724 \end_inset
28725
28726  must be installed.
28727 \end_layout
28728
28729 \begin_layout Standard
28730 \begin_inset VSpace bigskip
28731 \end_inset
28732
28733 When you use the decoration 
28734 \family sans
28735 simple rectangular frame
28736 \family default
28737  and no inner box, you can allow page breaks within a box.
28738  Note that then, unlike other framed boxes, the frame always uses the whole
28739  column width, the box is set as its own paragraph, and 
28740 \series bold
28741
28742 \backslash
28743 fboxrule
28744 \series default
28745  and 
28746 \series bold
28747
28748 \backslash
28749 fboxsep
28750 \series default
28751  have no effect on this box type.
28752  The frame line thickness has the size of 
28753 \series bold
28754
28755 \backslash
28756 FrameRule
28757 \series default
28758 .
28759  
28760 \begin_inset Box Framed
28761 position "t"
28762 hor_pos "c"
28763 has_inner_box 0
28764 inner_pos "t"
28765 use_parbox 0
28766 use_makebox 0
28767 width "100col%"
28768 special "none"
28769 height "1in"
28770 height_special "totalheight"
28771 status collapsed
28772
28773 \begin_layout Plain Layout
28774 Allow page break box
28775 \end_layout
28776
28777 \end_inset
28778
28779
28780 \end_layout
28781
28782 \begin_layout Section
28783 Box Customization
28784 \begin_inset Index idx
28785 status collapsed
28786
28787 \begin_layout Plain Layout
28788 Boxes ! Customization
28789 \end_layout
28790
28791 \end_inset
28792
28793
28794 \end_layout
28795
28796 \begin_layout Standard
28797 The default value for the size 
28798 \series bold
28799
28800 \backslash
28801 fboxrule
28802 \series default
28803  is 0.4
28804 \begin_inset space \thinspace{}
28805 \end_inset
28806
28807 pt.
28808  It can be changed with the following command in TeX-code to e.
28809 \begin_inset space \thinspace{}
28810 \end_inset
28811
28812 g.
28813 \begin_inset space \space{}
28814 \end_inset
28815
28816 2
28817 \begin_inset space \thinspace{}
28818 \end_inset
28819
28820 pt:
28821 \end_layout
28822
28823 \begin_layout Standard
28824
28825 \series bold
28826
28827 \backslash
28828 setlength{
28829 \backslash
28830 fboxrule}{2pt}
28831 \end_layout
28832
28833 \begin_layout Standard
28834 \begin_inset ERT
28835 status collapsed
28836
28837 \begin_layout Plain Layout
28838
28839
28840 \backslash
28841 setlength{
28842 \backslash
28843 fboxrule}{2pt}
28844 \end_layout
28845
28846 \end_inset
28847
28848
28849 \begin_inset Box Boxed
28850 position "c"
28851 hor_pos "c"
28852 has_inner_box 1
28853 inner_pos "c"
28854 use_parbox 0
28855 use_makebox 0
28856 width "25col%"
28857 special "none"
28858 height "1in"
28859 height_special "totalheight"
28860 status open
28861
28862 \begin_layout Plain Layout
28863 \align center
28864 Rectangular box with 
28865 \series bold
28866
28867 \backslash
28868 fboxrule
28869 \series default
28870
28871 \begin_inset space \thinspace{}
28872 \end_inset
28873
28874 =
28875 \begin_inset space \thinspace{}
28876 \end_inset
28877
28878 2
28879 \begin_inset space \thinspace{}
28880 \end_inset
28881
28882 pt
28883 \end_layout
28884
28885 \end_inset
28886
28887
28888 \begin_inset ERT
28889 status collapsed
28890
28891 \begin_layout Plain Layout
28892
28893
28894 \backslash
28895 setlength{
28896 \backslash
28897 fboxrule}{0.4pt}
28898 \end_layout
28899
28900 \end_inset
28901
28902
28903 \end_layout
28904
28905 \begin_layout Standard
28906 \begin_inset VSpace bigskip
28907 \end_inset
28908
28909 The space between the frame and the box content is for all frame styles
28910  by default 3
28911 \begin_inset space \thinspace{}
28912 \end_inset
28913
28914 pt.
28915  You can change it by setting the length 
28916 \series bold
28917
28918 \backslash
28919 fboxsep
28920 \series default
28921  to another value.
28922  For example the command
28923 \end_layout
28924
28925 \begin_layout Standard
28926
28927 \series bold
28928
28929 \backslash
28930 setlength{
28931 \backslash
28932 fboxsep}{10pt}
28933 \end_layout
28934
28935 \begin_layout Standard
28936 sets the value to 10
28937 \begin_inset space \thinspace{}
28938 \end_inset
28939
28940 pt, as with the following box:
28941 \end_layout
28942
28943 \begin_layout Standard
28944 \begin_inset ERT
28945 status collapsed
28946
28947 \begin_layout Plain Layout
28948
28949
28950 \backslash
28951 setlength{
28952 \backslash
28953 fboxsep}{10pt}
28954 \end_layout
28955
28956 \end_inset
28957
28958
28959 \begin_inset Box Boxed
28960 position "c"
28961 hor_pos "c"
28962 has_inner_box 1
28963 inner_pos "c"
28964 use_parbox 0
28965 use_makebox 0
28966 width "25col%"
28967 special "none"
28968 height "1in"
28969 height_special "totalheight"
28970 status open
28971
28972 \begin_layout Plain Layout
28973 \align center
28974 Rectangular box with 
28975 \series bold
28976
28977 \backslash
28978 fboxsep
28979 \series default
28980
28981 \begin_inset space \thinspace{}
28982 \end_inset
28983
28984 =
28985 \begin_inset space \thinspace{}
28986 \end_inset
28987
28988 10
28989 \begin_inset space \thinspace{}
28990 \end_inset
28991
28992 pt
28993 \end_layout
28994
28995 \end_inset
28996
28997
28998 \begin_inset ERT
28999 status collapsed
29000
29001 \begin_layout Plain Layout
29002
29003
29004 \backslash
29005 setlength{
29006 \backslash
29007 fboxsep}{3pt}
29008 \end_layout
29009
29010 \end_inset
29011
29012
29013 \end_layout
29014
29015 \begin_layout Standard
29016 \begin_inset VSpace bigskip
29017 \end_inset
29018
29019 The diameter of the round corners of the oval boxes can be set with the
29020  command 
29021 \series bold
29022
29023 \backslash
29024 cornersize
29025 \series default
29026 .
29027  The command
29028 \end_layout
29029
29030 \begin_layout Standard
29031
29032 \series bold
29033
29034 \backslash
29035 cornersize*{1cm}
29036 \end_layout
29037
29038 \begin_layout Standard
29039 sets the diameter to 1
29040 \begin_inset space \thinspace{}
29041 \end_inset
29042
29043 cm.
29044  The command
29045 \end_layout
29046
29047 \begin_layout Standard
29048
29049 \series bold
29050
29051 \backslash
29052 cornersize{num}
29053 \end_layout
29054
29055 \begin_layout Standard
29056 sets the diameter to 
29057 \family sans
29058 num
29059 \begin_inset space \thinspace{}
29060 \end_inset
29061
29062 ×
29063 \begin_inset space \thinspace{}
29064 \end_inset
29065
29066 minimum(width and height of box)
29067 \family default
29068 .
29069  The default is 
29070 \series bold
29071
29072 \backslash
29073 cornersize{0.5}
29074 \series default
29075 .
29076 \end_layout
29077
29078 \begin_layout Standard
29079 \begin_inset ERT
29080 status collapsed
29081
29082 \begin_layout Plain Layout
29083
29084
29085 \backslash
29086 cornersize*{1.5cm}
29087 \end_layout
29088
29089 \end_inset
29090
29091
29092 \begin_inset Box Ovalbox
29093 position "c"
29094 hor_pos "c"
29095 has_inner_box 1
29096 inner_pos "c"
29097 use_parbox 0
29098 use_makebox 0
29099 width "25col%"
29100 special "none"
29101 height "1in"
29102 height_special "totalheight"
29103 status open
29104
29105 \begin_layout Plain Layout
29106 \align center
29107 Oval box with 
29108 \series bold
29109
29110 \backslash
29111 cornersize
29112 \series default
29113
29114 \begin_inset space \thinspace{}
29115 \end_inset
29116
29117 =
29118 \begin_inset space \thinspace{}
29119 \end_inset
29120
29121 1.5
29122 \begin_inset space \thinspace{}
29123 \end_inset
29124
29125 cm
29126 \end_layout
29127
29128 \end_inset
29129
29130
29131 \begin_inset ERT
29132 status collapsed
29133
29134 \begin_layout Plain Layout
29135
29136
29137 \backslash
29138 cornersize{0.5}
29139 \end_layout
29140
29141 \end_inset
29142
29143
29144 \end_layout
29145
29146 \begin_layout Standard
29147 \begin_inset VSpace bigskip
29148 \end_inset
29149
29150 The size of the shadow can be adjusted by changing the length 
29151 \series bold
29152
29153 \backslash
29154 shadowsize
29155 \series default
29156 .
29157  It it set to 2
29158 \begin_inset space \thinspace{}
29159 \end_inset
29160
29161 pt for the following box by this command:
29162 \end_layout
29163
29164 \begin_layout Standard
29165
29166 \series bold
29167
29168 \backslash
29169 setlength{
29170 \backslash
29171 shadowsize}{2pt}
29172 \end_layout
29173
29174 \begin_layout Standard
29175 \begin_inset ERT
29176 status collapsed
29177
29178 \begin_layout Plain Layout
29179
29180
29181 \backslash
29182 setlength{
29183 \backslash
29184 shadowsize}{2pt}
29185 \end_layout
29186
29187 \end_inset
29188
29189
29190 \begin_inset Box Shadowbox
29191 position "c"
29192 hor_pos "c"
29193 has_inner_box 1
29194 inner_pos "c"
29195 use_parbox 0
29196 use_makebox 0
29197 width "25col%"
29198 special "none"
29199 height "1in"
29200 height_special "totalheight"
29201 status open
29202
29203 \begin_layout Plain Layout
29204 \align center
29205 Shadow box with 
29206 \series bold
29207
29208 \backslash
29209 shadowsize
29210 \series default
29211
29212 \begin_inset space \thinspace{}
29213 \end_inset
29214
29215 =
29216 \begin_inset space \thinspace{}
29217 \end_inset
29218
29219 2
29220 \begin_inset space \thinspace{}
29221 \end_inset
29222
29223 pt
29224 \end_layout
29225
29226 \end_inset
29227
29228
29229 \begin_inset ERT
29230 status collapsed
29231
29232 \begin_layout Plain Layout
29233
29234
29235 \backslash
29236 setlength{
29237 \backslash
29238 shadowsize}{4pt}
29239 \end_layout
29240
29241 \end_inset
29242
29243
29244 \end_layout
29245
29246 \begin_layout Standard
29247 \begin_inset VSpace bigskip
29248 \end_inset
29249
29250
29251 \end_layout
29252
29253 \begin_layout Standard
29254 The default value for the size 
29255 \series bold
29256
29257 \backslash
29258 FrameRule
29259 \series default
29260  is 0.4
29261 \begin_inset space \thinspace{}
29262 \end_inset
29263
29264 pt.
29265  The default space between the note content and the frame is 9
29266 \begin_inset space \thinspace{}
29267 \end_inset
29268
29269 pt and can be changed with the value of 
29270 \series bold
29271
29272 \backslash
29273 FrameSep
29274 \series default
29275 .
29276  For example the frame appearance of the following 
29277 \family sans
29278 box
29279 \family default
29280  is set with the TeX-Code commands
29281 \end_layout
29282
29283 \begin_layout Standard
29284
29285 \series bold
29286
29287 \backslash
29288 setlength{
29289 \backslash
29290 FrameRule}{5pt}
29291 \begin_inset Newline newline
29292 \end_inset
29293
29294
29295 \backslash
29296 setlength{
29297 \backslash
29298 FrameSep}{0.5cm}
29299 \end_layout
29300
29301 \begin_layout Standard
29302 \begin_inset ERT
29303 status collapsed
29304
29305 \begin_layout Plain Layout
29306
29307
29308 \backslash
29309 setlength{
29310 \backslash
29311 FrameRule}{5pt}
29312 \end_layout
29313
29314 \begin_layout Plain Layout
29315
29316
29317 \backslash
29318 setlength{
29319 \backslash
29320 FrameSep}{0.5cm}
29321 \end_layout
29322
29323 \end_inset
29324
29325
29326 \begin_inset Box Framed
29327 position "t"
29328 hor_pos "c"
29329 has_inner_box 0
29330 inner_pos "t"
29331 use_parbox 0
29332 use_makebox 0
29333 width "100col%"
29334 special "none"
29335 height "1in"
29336 height_special "totalheight"
29337 status open
29338
29339 \begin_layout Plain Layout
29340 This is text in an 
29341 \family sans
29342 allow page break
29343 \family default
29344  box.
29345 \end_layout
29346
29347 \end_inset
29348
29349
29350 \begin_inset ERT
29351 status collapsed
29352
29353 \begin_layout Plain Layout
29354
29355
29356 \backslash
29357 setlength{
29358 \backslash
29359 FrameRule}{0.4pt}
29360 \end_layout
29361
29362 \begin_layout Plain Layout
29363
29364
29365 \backslash
29366 setlength{
29367 \backslash
29368 FrameSep}{9pt}
29369 \end_layout
29370
29371 \end_inset
29372
29373
29374 \end_layout
29375
29376 \begin_layout Standard
29377 \begin_inset VSpace bigskip
29378 \end_inset
29379
29380
29381 \end_layout
29382
29383 \begin_layout Standard
29384 For 
29385 \family sans
29386 shaded background
29387 \family default
29388  boxes the default space between the box content and the box border is 3
29389 \begin_inset space \thinspace{}
29390 \end_inset
29391
29392 pt and can be changed with the value of 
29393 \series bold
29394
29395 \backslash
29396 fboxsep
29397 \series default
29398 .
29399  The default background color red can either be changed locally with the
29400  command 
29401 \series bold
29402
29403 \backslash
29404 definecolor{shadecolor}
29405 \series default
29406  or globally with the menu 
29407 \family sans
29408 Tools\SpecialChar \menuseparator
29409 Preferences\SpecialChar \menuseparator
29410 Colors\SpecialChar \menuseparator
29411 shaded
29412 \begin_inset space ~
29413 \end_inset
29414
29415 box
29416 \family default
29417 .
29418  The scheme of the 
29419 \series bold
29420
29421 \backslash
29422 definecolor
29423 \series default
29424  command is explained in section
29425 \begin_inset space ~
29426 \end_inset
29427
29428
29429 \begin_inset CommandInset ref
29430 LatexCommand ref
29431 reference "sec:Colored-Tables"
29432
29433 \end_inset
29434
29435 .
29436 \begin_inset Foot
29437 status collapsed
29438
29439 \begin_layout Plain Layout
29440 Note that 
29441 \series bold
29442
29443 \backslash
29444 definecolor
29445 \series default
29446  requires the LaTeX-package 
29447 \series bold
29448 color
29449 \series default
29450  in the preamble, see section
29451 \begin_inset space ~
29452 \end_inset
29453
29454
29455 \begin_inset CommandInset ref
29456 LatexCommand ref
29457 reference "sec:Colored-Boxes"
29458
29459 \end_inset
29460
29461 .
29462 \end_layout
29463
29464 \end_inset
29465
29466  For example the appearance of the following shaded background box is set
29467  with the TeX-Code commands
29468 \end_layout
29469
29470 \begin_layout Standard
29471
29472 \series bold
29473
29474 \backslash
29475 setlength{
29476 \backslash
29477 fboxsep}{0.5cm}
29478 \series default
29479
29480 \begin_inset Newline newline
29481 \end_inset
29482
29483
29484 \series bold
29485
29486 \backslash
29487 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29488 \end_layout
29489
29490 \begin_layout Standard
29491 \begin_inset ERT
29492 status collapsed
29493
29494 \begin_layout Plain Layout
29495
29496
29497 \backslash
29498 setlength{
29499 \backslash
29500 fboxsep}{0.5cm}
29501 \end_layout
29502
29503 \begin_layout Plain Layout
29504
29505
29506 \backslash
29507 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29508 \end_layout
29509
29510 \end_inset
29511
29512
29513 \begin_inset Box Shaded
29514 position "t"
29515 hor_pos "c"
29516 has_inner_box 0
29517 inner_pos "t"
29518 use_parbox 0
29519 use_makebox 0
29520 width "100col%"
29521 special "none"
29522 height "1in"
29523 height_special "totalheight"
29524 status open
29525
29526 \begin_layout Plain Layout
29527
29528 \color yellow
29529 This is yellow text in a
29530 \color none
29531  
29532 \family sans
29533 \color yellow
29534 shaded background
29535 \family default
29536 \color none
29537  
29538 \color yellow
29539 box with dark green background.
29540 \end_layout
29541
29542 \end_inset
29543
29544
29545 \begin_inset ERT
29546 status collapsed
29547
29548 \begin_layout Plain Layout
29549
29550
29551 \backslash
29552 setlength{
29553 \backslash
29554 fboxsep}{3pt}
29555 \end_layout
29556
29557 \begin_layout Plain Layout
29558
29559
29560 \backslash
29561 definecolor{shadecolor}{rgb}{1,0,0}
29562 \end_layout
29563
29564 \end_inset
29565
29566
29567 \end_layout
29568
29569 \begin_layout Standard
29570 \begin_inset VSpace bigskip
29571 \end_inset
29572
29573 Changed lengths and widths are valid for all boxes following the commands
29574  that change them.
29575 \end_layout
29576
29577 \begin_layout Section
29578 Minipages
29579 \begin_inset CommandInset label
29580 LatexCommand label
29581 name "sec:Minipages"
29582
29583 \end_inset
29584
29585
29586 \begin_inset Index idx
29587 status collapsed
29588
29589 \begin_layout Plain Layout
29590 Boxes ! Minipages
29591 \end_layout
29592
29593 \end_inset
29594
29595
29596 \end_layout
29597
29598 \begin_layout Standard
29599 Minipages are treated by LaTeX as pages within pages and can therefore for
29600  example have their own footnotes.
29601 \end_layout
29602
29603 \begin_layout Standard
29604 Minipages are useful when you write documents with different languages.
29605 \end_layout
29606
29607 \begin_layout Standard
29608 Below are two example minipages side by side.
29609  Their width is set to 45
29610 \begin_inset space \thinspace{}
29611 \end_inset
29612
29613 col% and they are separated by a horizontal fill, that was inserted via
29614  the menu 
29615 \family sans
29616 Insert\SpecialChar \menuseparator
29617 Special
29618 \begin_inset space ~
29619 \end_inset
29620
29621 Formatting\SpecialChar \menuseparator
29622 Horizontal
29623 \begin_inset space ~
29624 \end_inset
29625
29626 Fill
29627 \family default
29628 .
29629 \begin_inset Newpage newpage
29630 \end_inset
29631
29632
29633 \end_layout
29634
29635 \begin_layout Standard
29636 \begin_inset Box Frameless
29637 position "t"
29638 hor_pos "c"
29639 has_inner_box 1
29640 inner_pos "c"
29641 use_parbox 0
29642 use_makebox 0
29643 width "45col%"
29644 special "none"
29645 height "1in"
29646 height_special "totalheight"
29647 status open
29648
29649 \begin_layout Plain Layout
29650
29651 \lang german
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  Dies ist ein deutscher Text.
29659  Dies ist ein deutscher Text.
29660  Dies ist ein deutscher Text.
29661  Dies ist ein deutscher Text.
29662  Dies ist ein deutscher Text.
29663  Dies ist ein deutscher Text.
29664  Dies ist ein deutscher Text
29665 \begin_inset Foot
29666 status collapsed
29667
29668 \begin_layout Plain Layout
29669
29670 \lang german
29671 Dies ist eine deutsche Fußnote.
29672 \end_layout
29673
29674 \end_inset
29675
29676 .
29677  Dies ist ein deutscher Text.
29678  Dies ist ein deutscher Text.
29679 \end_layout
29680
29681 \end_inset
29682
29683
29684 \begin_inset space \hfill{}
29685 \end_inset
29686
29687
29688 \begin_inset Box Frameless
29689 position "t"
29690 hor_pos "c"
29691 has_inner_box 1
29692 inner_pos "c"
29693 use_parbox 0
29694 use_makebox 0
29695 width "45col%"
29696 special "none"
29697 height "1in"
29698 height_special "totalheight"
29699 status open
29700
29701 \begin_layout Plain Layout
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  This is an English Text.
29712  This is an English Text.
29713  This is an English Text.
29714  This is an English Text.
29715  This is an English Text.
29716  This is an English Text.
29717  This is an English Text.
29718 \begin_inset Foot
29719 status collapsed
29720
29721 \begin_layout Plain Layout
29722 This is an English footnote.
29723 \end_layout
29724
29725 \end_inset
29726
29727  This is an English Text.
29728  
29729 \end_layout
29730
29731 \end_inset
29732
29733
29734 \end_layout
29735
29736 \begin_layout Standard
29737 \begin_inset VSpace bigskip
29738 \end_inset
29739
29740 The document-wide paragraph settings are ignored within minipages.
29741  That means that there will be no space between paragraphs in minipages
29742  although you set it to e.
29743 \begin_inset space \thinspace{}
29744 \end_inset
29745
29746 g.
29747 \begin_inset space \space{}
29748 \end_inset
29749
29750
29751 \family sans
29752 MedSkip
29753 \family default
29754  in the document settings.
29755 \end_layout
29756
29757 \begin_layout Standard
29758 Minipages can also be used to set a background color for text parts, see
29759  section
29760 \begin_inset space ~
29761 \end_inset
29762
29763
29764 \begin_inset CommandInset ref
29765 LatexCommand ref
29766 reference "sub:Color-for-Paragraphs"
29767
29768 \end_inset
29769
29770 .
29771 \end_layout
29772
29773 \begin_layout Standard
29774 \begin_inset Note Greyedout
29775 status open
29776
29777 \begin_layout Plain Layout
29778
29779 \series bold
29780 Note:
29781 \series default
29782  You cannot have floats or margin notes inside minipages but minipages can
29783  be used inside tables, floats, and other boxes.
29784 \end_layout
29785
29786 \end_inset
29787
29788
29789 \end_layout
29790
29791 \begin_layout Section
29792 Parboxes
29793 \begin_inset CommandInset label
29794 LatexCommand label
29795 name "sec:Parboxes"
29796
29797 \end_inset
29798
29799
29800 \begin_inset Index idx
29801 status collapsed
29802
29803 \begin_layout Plain Layout
29804 Boxes ! Parboxes
29805 \end_layout
29806
29807 \end_inset
29808
29809
29810 \end_layout
29811
29812 \begin_layout Standard
29813 Parboxes are very similar to minipages with the difference that they cannot
29814  have footnotes.
29815 \end_layout
29816
29817 \begin_layout Standard
29818 \align center
29819 \begin_inset Box Frameless
29820 position "t"
29821 hor_pos "c"
29822 has_inner_box 1
29823 inner_pos "t"
29824 use_parbox 1
29825 use_makebox 0
29826 width "33col%"
29827 special "none"
29828 height "1in"
29829 height_special "totalheight"
29830 status collapsed
29831
29832 \begin_layout Plain Layout
29833 This a text within a parbox.
29834  This a text within a parbox.
29835 \end_layout
29836
29837 \begin_layout Plain Layout
29838 This footnote won't appear:
29839 \begin_inset Foot
29840 status collapsed
29841
29842 \begin_layout Plain Layout
29843 This footnote is inside a parbox and will therefore not appear.
29844 \end_layout
29845
29846 \end_inset
29847
29848
29849 \end_layout
29850
29851 \end_inset
29852
29853
29854 \end_layout
29855
29856 \begin_layout Section
29857 Boxes for Words and Characters
29858 \begin_inset Index idx
29859 status collapsed
29860
29861 \begin_layout Plain Layout
29862 Boxes ! for Characters
29863 \end_layout
29864
29865 \end_inset
29866
29867
29868 \end_layout
29869
29870 \begin_layout Subsection
29871 Prevent Hyphenation
29872 \begin_inset CommandInset label
29873 LatexCommand label
29874 name "sec:Prevent-Hyphenation"
29875
29876 \end_inset
29877
29878
29879 \begin_inset Index idx
29880 status collapsed
29881
29882 \begin_layout Plain Layout
29883 Boxes ! to Prevent Hyphenation
29884 \end_layout
29885
29886 \end_inset
29887
29888
29889 \end_layout
29890
29891 \begin_layout Standard
29892 You can use the box type 
29893 \family sans
29894 Makebox
29895 \family default
29896  to prevent words or text from being hyphenated.
29897 \begin_inset Newline newline
29898 \end_inset
29899
29900 Here is an example text:
29901 \end_layout
29902
29903 \begin_layout Standard
29904 This line is an example to show how you can prevent the hyphenation of 
29905 \begin_inset Quotes eld
29906 \end_inset
29907
29908 veryverylongword
29909 \begin_inset Quotes erd
29910 \end_inset
29911
29912 .
29913 \end_layout
29914
29915 \begin_layout Standard
29916 To prevent the hyphenation of the word 
29917 \begin_inset Quotes eld
29918 \end_inset
29919
29920 veryverylongword
29921 \begin_inset Quotes erd
29922 \end_inset
29923
29924 , put the word into a box, set the 
29925 \family sans
29926 Inner
29927 \begin_inset space ~
29928 \end_inset
29929
29930 box
29931 \family default
29932  to 
29933 \family sans
29934 Makebox
29935 \family default
29936  and its width to 1
29937 \begin_inset space \thinspace{}
29938 \end_inset
29939
29940 Width.
29941 \end_layout
29942
29943 \begin_layout Standard
29944 This is the result:
29945 \end_layout
29946
29947 \begin_layout Standard
29948 This line is an example to show how you can prevent the hyphenation of 
29949 \begin_inset Box Frameless
29950 position "t"
29951 hor_pos "c"
29952 has_inner_box 1
29953 inner_pos "t"
29954 use_parbox 0
29955 use_makebox 1
29956 width "1in"
29957 special "width"
29958 height "1in"
29959 height_special "totalheight"
29960 status open
29961
29962 \begin_layout Plain Layout
29963 \begin_inset Quotes eld
29964 \end_inset
29965
29966 veryverylongword
29967 \begin_inset Quotes erd
29968 \end_inset
29969
29970
29971 \end_layout
29972
29973 \end_inset
29974
29975 .
29976 \end_layout
29977
29978 \begin_layout Standard
29979 You can alternatively set the command 
29980 \begin_inset Quotes eld
29981 \end_inset
29982
29983
29984 \series bold
29985
29986 \backslash
29987 -
29988 \series default
29989
29990 \begin_inset Quotes grd
29991 \end_inset
29992
29993  as TeX-Code directly before the word:
29994 \end_layout
29995
29996 \begin_layout Standard
29997 This line is an example to show how you can prevent the hyphenation of 
29998 \begin_inset Quotes eld
29999 \end_inset
30000
30001
30002 \begin_inset ERT
30003 status collapsed
30004
30005 \begin_layout Plain Layout
30006
30007
30008 \backslash
30009 -
30010 \end_layout
30011
30012 \end_inset
30013
30014 veryverylongword
30015 \begin_inset Quotes erd
30016 \end_inset
30017
30018 .
30019 \end_layout
30020
30021 \begin_layout Standard
30022 Of course the word now protrudes over the side margin.
30023  To avoid this, add via the menu 
30024 \family sans
30025 Insert\SpecialChar \menuseparator
30026 Formatting\SpecialChar \menuseparator
30027 Ragged
30028 \begin_inset space ~
30029 \end_inset
30030
30031 Line
30032 \begin_inset space ~
30033 \end_inset
30034
30035 Break
30036 \family default
30037  (shortcut 
30038 \begin_inset Info
30039 type  "shortcut"
30040 arg   "newline-insert newline"
30041 \end_inset
30042
30043 ) a line break before the word:
30044 \end_layout
30045
30046 \begin_layout Standard
30047 This line is an example to show how you can prevent the hyphenation of 
30048 \begin_inset Newline newline
30049 \end_inset
30050
30051
30052 \begin_inset Box Frameless
30053 position "t"
30054 hor_pos "c"
30055 has_inner_box 1
30056 inner_pos "t"
30057 use_parbox 0
30058 use_makebox 1
30059 width "1in"
30060 special "width"
30061 height "1in"
30062 height_special "totalheight"
30063 status open
30064
30065 \begin_layout Plain Layout
30066 \begin_inset Quotes eld
30067 \end_inset
30068
30069 veryverylongword
30070 \begin_inset Quotes erd
30071 \end_inset
30072
30073
30074 \end_layout
30075
30076 \end_inset
30077
30078 .
30079 \end_layout
30080
30081 \begin_layout Subsection
30082 Vertical Alignment
30083 \begin_inset CommandInset label
30084 LatexCommand label
30085 name "sub:Vertical-Alignment"
30086
30087 \end_inset
30088
30089
30090 \begin_inset Index idx
30091 status collapsed
30092
30093 \begin_layout Plain Layout
30094 Boxes ! for Vertical Alignment
30095 \end_layout
30096
30097 \end_inset
30098
30099
30100 \begin_inset Index idx
30101 status collapsed
30102
30103 \begin_layout Plain Layout
30104 Boxes ! Raiseboxes
30105 \end_layout
30106
30107 \end_inset
30108
30109
30110 \end_layout
30111
30112 \begin_layout Standard
30113 With the help of the command 
30114 \series bold
30115
30116 \backslash
30117 raisebox
30118 \series default
30119  you can align words, characters or other boxes vertically relative to the
30120  surrounding text.
30121  
30122 \series bold
30123
30124 \backslash
30125 raisebox
30126 \series default
30127  is used with the following scheme:
30128 \end_layout
30129
30130 \begin_layout Standard
30131
30132 \series bold
30133
30134 \backslash
30135 raisebox{lift}[height][depth]{box content}
30136 \end_layout
30137
30138 \begin_layout Standard
30139 The lift can be a positive value to raise the box or a negative value to
30140  lower the box.
30141 \end_layout
30142
30143 \begin_layout Standard
30144 To align for example the word 
30145 \begin_inset Quotes eld
30146 \end_inset
30147
30148 preventing
30149 \begin_inset Quotes erd
30150 \end_inset
30151
30152  so that the bottom of the 
30153 \begin_inset Quotes eld
30154 \end_inset
30155
30156 deepest
30157 \begin_inset Quotes erd
30158 \end_inset
30159
30160  character 
30161 \begin_inset Quotes eld
30162 \end_inset
30163
30164 p
30165 \begin_inset Quotes erd
30166 \end_inset
30167
30168  is at the baseline, insert the command
30169 \end_layout
30170
30171 \begin_layout Standard
30172
30173 \series bold
30174
30175 \backslash
30176 raisebox{
30177 \backslash
30178 depth}{
30179 \end_layout
30180
30181 \begin_layout Standard
30182 in TeX-Code before the word.
30183  After the word insert a closing brace 
30184 \begin_inset Quotes eld
30185 \end_inset
30186
30187
30188 \series bold
30189 }
30190 \series default
30191
30192 \begin_inset Quotes erd
30193 \end_inset
30194
30195  in TeX-Code.
30196 \begin_inset Newline newline
30197 \end_inset
30198
30199 This is the result:
30200 \end_layout
30201
30202 \begin_layout Standard
30203 This is a text line with the word 
30204 \begin_inset ERT
30205 status collapsed
30206
30207 \begin_layout Plain Layout
30208
30209
30210 \backslash
30211 raisebox{
30212 \backslash
30213 depth}{
30214 \end_layout
30215
30216 \end_inset
30217
30218
30219 \begin_inset Quotes eld
30220 \end_inset
30221
30222 preventing
30223 \begin_inset Quotes erd
30224 \end_inset
30225
30226
30227 \begin_inset ERT
30228 status collapsed
30229
30230 \begin_layout Plain Layout
30231
30232 }
30233 \end_layout
30234
30235 \end_inset
30236
30237  as a raised word.
30238 \end_layout
30239
30240 \begin_layout Standard
30241 \begin_inset VSpace bigskip
30242 \end_inset
30243
30244 When you raise or lower characters in a line, the line distance will be
30245  spread:
30246 \end_layout
30247
30248 \begin_layout Standard
30249 This is a text line with the word 
30250 \begin_inset ERT
30251 status collapsed
30252
30253 \begin_layout Plain Layout
30254
30255
30256 \backslash
30257 raisebox{-
30258 \backslash
30259 depth}{
30260 \end_layout
30261
30262 \end_inset
30263
30264
30265 \begin_inset Quotes eld
30266 \end_inset
30267
30268 preventing
30269 \begin_inset Quotes erd
30270 \end_inset
30271
30272
30273 \begin_inset ERT
30274 status collapsed
30275
30276 \begin_layout Plain Layout
30277
30278 }
30279 \end_layout
30280
30281 \end_inset
30282
30283  as a lowered word.
30284 \begin_inset Newline newline
30285 \end_inset
30286
30287 This is a text line with the word 
30288 \begin_inset ERT
30289 status collapsed
30290
30291 \begin_layout Plain Layout
30292
30293
30294 \backslash
30295 raisebox{0.5cm}{
30296 \end_layout
30297
30298 \end_inset
30299
30300
30301 \begin_inset Quotes eld
30302 \end_inset
30303
30304 testing
30305 \begin_inset Quotes erd
30306 \end_inset
30307
30308
30309 \begin_inset ERT
30310 status collapsed
30311
30312 \begin_layout Plain Layout
30313
30314 }
30315 \end_layout
30316
30317 \end_inset
30318
30319  as a raised word.
30320 \end_layout
30321
30322 \begin_layout Standard
30323 If you want to prevent this for a certain reason, set the box height to
30324  a zero value.
30325  For example use
30326 \end_layout
30327
30328 \begin_layout Standard
30329
30330 \series bold
30331
30332 \backslash
30333 raisebox{-
30334 \backslash
30335 depth}[0pt]{
30336 \end_layout
30337
30338 \begin_layout Standard
30339 This is a text line with the word 
30340 \begin_inset ERT
30341 status collapsed
30342
30343 \begin_layout Plain Layout
30344
30345
30346 \backslash
30347 raisebox{-
30348 \backslash
30349 depth}[0pt]{
30350 \end_layout
30351
30352 \end_inset
30353
30354
30355 \begin_inset Quotes eld
30356 \end_inset
30357
30358 preventing
30359 \begin_inset Quotes erd
30360 \end_inset
30361
30362
30363 \begin_inset ERT
30364 status collapsed
30365
30366 \begin_layout Plain Layout
30367
30368 }
30369 \end_layout
30370
30371 \end_inset
30372
30373  as a lowered word.
30374 \begin_inset Newline newline
30375 \end_inset
30376
30377 This is a text line with the word 
30378 \begin_inset ERT
30379 status collapsed
30380
30381 \begin_layout Plain Layout
30382
30383
30384 \backslash
30385 raisebox{0.5cm}[0pt]{
30386 \end_layout
30387
30388 \end_inset
30389
30390
30391 \begin_inset Quotes eld
30392 \end_inset
30393
30394 testing
30395 \begin_inset Quotes erd
30396 \end_inset
30397
30398
30399 \begin_inset ERT
30400 status collapsed
30401
30402 \begin_layout Plain Layout
30403
30404 }
30405 \end_layout
30406
30407 \end_inset
30408
30409  as a raised word.
30410 \end_layout
30411
30412 \begin_layout Section
30413 Colored Boxes
30414 \begin_inset CommandInset label
30415 LatexCommand label
30416 name "sec:Colored-Boxes"
30417
30418 \end_inset
30419
30420
30421 \begin_inset Index idx
30422 status collapsed
30423
30424 \begin_layout Plain Layout
30425 Boxes ! Color
30426 \end_layout
30427
30428 \end_inset
30429
30430
30431 \end_layout
30432
30433 \begin_layout Subsection
30434 Color for Text
30435 \begin_inset Index idx
30436 status collapsed
30437
30438 \begin_layout Plain Layout
30439 Color ! for Text
30440 \end_layout
30441
30442 \end_inset
30443
30444
30445 \end_layout
30446
30447 \begin_layout Standard
30448 To color the background of text the text must be put into a so called 
30449 \begin_inset Quotes eld
30450 \end_inset
30451
30452 colorbox
30453 \begin_inset Quotes erd
30454 \end_inset
30455
30456 .
30457  This requires that the LaTeX-package 
30458 \series bold
30459 color
30460 \series default
30461
30462 \begin_inset Index idx
30463 status collapsed
30464
30465 \begin_layout Plain Layout
30466 LaTeX-packages ! color
30467 \end_layout
30468
30469 \end_inset
30470
30471  is loaded in the document preamble with the command
30472 \end_layout
30473
30474 \begin_layout Standard
30475
30476 \series bold
30477
30478 \backslash
30479 @ifundefined{textcolor}
30480 \begin_inset Newline newline
30481 \end_inset
30482
30483
30484 \begin_inset Phantom HPhantom
30485 status open
30486
30487 \begin_layout Plain Layout
30488
30489 \series bold
30490 \begin_inset space ~
30491 \end_inset
30492
30493
30494 \end_layout
30495
30496 \end_inset
30497
30498 {
30499 \backslash
30500 usepackage{color}}{}
30501 \end_layout
30502
30503 \begin_layout Standard
30504 The package 
30505 \series bold
30506 color
30507 \series default
30508  will be loaded automatically by LyX when you color text.
30509 \begin_inset Foot
30510 status collapsed
30511
30512 \begin_layout Plain Layout
30513 To avoid it being loaded twice the command 
30514 \series bold
30515
30516 \backslash
30517 @ifundefined
30518 \series default
30519  is used.
30520 \end_layout
30521
30522 \end_inset
30523
30524
30525 \end_layout
30526
30527 \begin_layout Standard
30528 \begin_inset VSpace medskip
30529 \end_inset
30530
30531 Colorboxes are created with the command 
30532 \series bold
30533
30534 \backslash
30535 colorbox
30536 \series default
30537 .
30538  This will be used with the following scheme:
30539 \end_layout
30540
30541 \begin_layout Standard
30542
30543 \series bold
30544
30545 \backslash
30546 colorbox{color}{box content}
30547 \end_layout
30548
30549 \begin_layout Standard
30550 The box content can also be a box and colorboxes can also be within other
30551  boxes.
30552 \end_layout
30553
30554 \begin_layout Standard
30555 The following colors are predefined:
30556 \begin_inset Newline newline
30557 \end_inset
30558
30559
30560 \family sans
30561 black
30562 \family default
30563
30564 \family sans
30565 blue
30566 \family default
30567
30568 \family sans
30569 cyan
30570 \family default
30571 \series bold
30572 ,
30573 \series default
30574  
30575 \family sans
30576 green
30577 \family default
30578
30579 \family sans
30580 magenta
30581 \family default
30582
30583 \family sans
30584 red
30585 \family default
30586
30587 \family sans
30588 white
30589 \family default
30590 , and 
30591 \family sans
30592 yellow
30593 \family default
30594 .
30595 \begin_inset Newline newline
30596 \end_inset
30597
30598 You can also define your own color as described in section
30599 \begin_inset space ~
30600 \end_inset
30601
30602
30603 \begin_inset CommandInset ref
30604 LatexCommand ref
30605 reference "sec:Colored-Tables"
30606
30607 \end_inset
30608
30609 .
30610 \end_layout
30611
30612 \begin_layout Standard
30613 To have e.
30614 \begin_inset space \thinspace{}
30615 \end_inset
30616
30617 g.
30618 \begin_inset space \space{}
30619 \end_inset
30620
30621 a red background for a word, insert the command
30622 \end_layout
30623
30624 \begin_layout Standard
30625
30626 \series bold
30627
30628 \backslash
30629 colorbox{red}{
30630 \end_layout
30631
30632 \begin_layout Standard
30633 before the word in TeX-Code.
30634  After the word insert a closing brace 
30635 \begin_inset Quotes eld
30636 \end_inset
30637
30638
30639 \series bold
30640 }
30641 \series default
30642
30643 \begin_inset Quotes erd
30644 \end_inset
30645
30646  in TeX-Code.
30647 \begin_inset Newline newline
30648 \end_inset
30649
30650 This is the result:
30651 \end_layout
30652
30653 \begin_layout Standard
30654 This is a line where the word 
30655 \begin_inset ERT
30656 status collapsed
30657
30658 \begin_layout Plain Layout
30659
30660
30661 \backslash
30662 colorbox{red}{
30663 \end_layout
30664
30665 \end_inset
30666
30667
30668 \begin_inset Quotes eld
30669 \end_inset
30670
30671 Attention!
30672 \begin_inset Quotes erd
30673 \end_inset
30674
30675
30676 \begin_inset ERT
30677 status collapsed
30678
30679 \begin_layout Plain Layout
30680
30681 }
30682 \end_layout
30683
30684 \end_inset
30685
30686  has a red background.
30687 \end_layout
30688
30689 \begin_layout Standard
30690 \begin_inset VSpace bigskip
30691 \end_inset
30692
30693 If you would like the box frame in a different color, you can use the command
30694  
30695 \series bold
30696
30697 \backslash
30698 fcolorbox
30699 \series default
30700  with the following scheme:
30701 \end_layout
30702
30703 \begin_layout Standard
30704
30705 \series bold
30706
30707 \backslash
30708 fcolorbox{frame color}{box color}{box content}
30709 \end_layout
30710
30711 \begin_layout Standard
30712
30713 \series bold
30714
30715 \backslash
30716 fcolorbox
30717 \series default
30718  is an extension to 
30719 \series bold
30720
30721 \backslash
30722 colorbox
30723 \series default
30724 .
30725  The frame thickness and the space between the frame and the box content
30726  can be adjusted with the lengths 
30727 \series bold
30728
30729 \backslash
30730 fboxrule
30731 \series default
30732  and 
30733 \series bold
30734
30735 \backslash
30736 fboxsep
30737 \series default
30738 , respectively, as described in section
30739 \begin_inset space ~
30740 \end_inset
30741
30742
30743 \begin_inset CommandInset ref
30744 LatexCommand ref
30745 reference "sec:Decoration"
30746
30747 \end_inset
30748
30749 .
30750 \end_layout
30751
30752 \begin_layout Standard
30753 For the following example the command
30754 \end_layout
30755
30756 \begin_layout Standard
30757
30758 \series bold
30759
30760 \backslash
30761 fcolorbox{cyan}{magenta}{
30762 \end_layout
30763
30764 \begin_layout Standard
30765 was used.
30766 \end_layout
30767
30768 \begin_layout Standard
30769 Here is an example where the frame line thickness was set to 1
30770 \begin_inset space \thinspace{}
30771 \end_inset
30772
30773 mm:
30774 \begin_inset Newline newline
30775 \end_inset
30776
30777
30778 \begin_inset ERT
30779 status collapsed
30780
30781 \begin_layout Plain Layout
30782
30783
30784 \backslash
30785 fboxrule 1mm 
30786 \backslash
30787 fboxsep 1mm
30788 \end_layout
30789
30790 \end_inset
30791
30792
30793 \begin_inset ERT
30794 status collapsed
30795
30796 \begin_layout Plain Layout
30797
30798
30799 \backslash
30800 fcolorbox{cyan}{magenta}{
30801 \end_layout
30802
30803 \end_inset
30804
30805 This is text within a colored, framed box.
30806 \begin_inset ERT
30807 status collapsed
30808
30809 \begin_layout Plain Layout
30810
30811 }
30812 \end_layout
30813
30814 \end_inset
30815
30816
30817 \end_layout
30818
30819 \begin_layout Standard
30820 \begin_inset VSpace bigskip
30821 \end_inset
30822
30823 Of course you can also have colored text inside a colorbox:
30824 \begin_inset Newline newline
30825 \end_inset
30826
30827
30828 \begin_inset ERT
30829 status collapsed
30830
30831 \begin_layout Plain Layout
30832
30833
30834 \backslash
30835 fcolorbox{cyan}{magenta}{
30836 \end_layout
30837
30838 \end_inset
30839
30840
30841 \color yellow
30842 This is colored text within a colored, framed box.
30843 \color none
30844
30845 \begin_inset ERT
30846 status collapsed
30847
30848 \begin_layout Plain Layout
30849
30850 }
30851 \end_layout
30852
30853 \end_inset
30854
30855
30856 \begin_inset ERT
30857 status collapsed
30858
30859 \begin_layout Plain Layout
30860
30861
30862 \backslash
30863 fboxrule 0.4pt 
30864 \backslash
30865 fboxsep 3pt
30866 \end_layout
30867
30868 \end_inset
30869
30870
30871 \end_layout
30872
30873 \begin_layout Standard
30874 \begin_inset VSpace medskip
30875 \end_inset
30876
30877
30878 \end_layout
30879
30880 \begin_layout Standard
30881 \begin_inset Note Greyedout
30882 status open
30883
30884 \begin_layout Plain Layout
30885
30886 \series bold
30887 Note:
30888 \series default
30889  Text in colorboxes cannot have line breaks.
30890  To color multiple text lines or paragraphs, use a box inside a colorbox
30891  as described in the following.
30892 \end_layout
30893
30894 \end_inset
30895
30896
30897 \end_layout
30898
30899 \begin_layout Subsection
30900 Color for Paragraphs
30901 \begin_inset CommandInset label
30902 LatexCommand label
30903 name "sub:Color-for-Paragraphs"
30904
30905 \end_inset
30906
30907
30908 \begin_inset Index idx
30909 status collapsed
30910
30911 \begin_layout Plain Layout
30912 Color ! for Paragraphs
30913 \end_layout
30914
30915 \end_inset
30916
30917
30918 \end_layout
30919
30920 \begin_layout Standard
30921 To set the background color for more than one text line, put the text into
30922  a minipage.
30923  Before the minipage insert the 
30924 \series bold
30925
30926 \backslash
30927 colorbox
30928 \series default
30929  command
30930 \end_layout
30931
30932 \begin_layout Standard
30933
30934 \series bold
30935
30936 \backslash
30937 colorbox{color}{
30938 \end_layout
30939
30940 \begin_layout Standard
30941 in TeX-Code.
30942  After the minipage insert a closing brace 
30943 \begin_inset Quotes eld
30944 \end_inset
30945
30946
30947 \series bold
30948 }
30949 \series default
30950
30951 \begin_inset Quotes erd
30952 \end_inset
30953
30954  in TeX-Code.
30955 \end_layout
30956
30957 \begin_layout Standard
30958 \begin_inset ERT
30959 status collapsed
30960
30961 \begin_layout Plain Layout
30962
30963
30964 \backslash
30965 colorbox{lightgrey}{
30966 \end_layout
30967
30968 \end_inset
30969
30970
30971 \begin_inset Box Frameless
30972 position "t"
30973 hor_pos "c"
30974 has_inner_box 1
30975 inner_pos "t"
30976 use_parbox 0
30977 use_makebox 0
30978 width "100col%"
30979 special "none"
30980 height "1in"
30981 height_special "totalheight"
30982 status collapsed
30983
30984 \begin_layout Plain Layout
30985 This is text with background color.
30986  This is text with background color.
30987 \end_layout
30988
30989 \begin_layout Plain Layout
30990 \begin_inset VSpace defskip
30991 \end_inset
30992
30993 The text can have footnotes
30994 \begin_inset Foot
30995 status collapsed
30996
30997 \begin_layout Plain Layout
30998 Another example footnote
30999 \end_layout
31000
31001 \end_inset
31002
31003  and can include tables and figures.
31004 \end_layout
31005
31006 \begin_layout Plain Layout
31007 \align center
31008 \begin_inset Tabular
31009 <lyxtabular version="3" rows="3" columns="3">
31010 <features tabularvalignment="middle">
31011 <column alignment="center" valignment="top" width="0">
31012 <column alignment="center" valignment="top" width="0">
31013 <column alignment="center" valignment="top" width="0">
31014 <row>
31015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31016 \begin_inset Text
31017
31018 \begin_layout Plain Layout
31019 a
31020 \end_layout
31021
31022 \end_inset
31023 </cell>
31024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31025 \begin_inset Text
31026
31027 \begin_layout Plain Layout
31028 !
31029 \end_layout
31030
31031 \end_inset
31032 </cell>
31033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31034 \begin_inset Text
31035
31036 \begin_layout Plain Layout
31037 3
31038 \end_layout
31039
31040 \end_inset
31041 </cell>
31042 </row>
31043 <row>
31044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31045 \begin_inset Text
31046
31047 \begin_layout Plain Layout
31048 <
31049 \end_layout
31050
31051 \end_inset
31052 </cell>
31053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31054 \begin_inset Text
31055
31056 \begin_layout Plain Layout
31057 b2
31058 \begin_inset Quotes erd
31059 \end_inset
31060
31061 |
31062 \end_layout
31063
31064 \end_inset
31065 </cell>
31066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31067 \begin_inset Text
31068
31069 \begin_layout Plain Layout
31070 >
31071 \end_layout
31072
31073 \end_inset
31074 </cell>
31075 </row>
31076 <row>
31077 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31078 \begin_inset Text
31079
31080 \begin_layout Plain Layout
31081 1
31082 \end_layout
31083
31084 \end_inset
31085 </cell>
31086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31087 \begin_inset Text
31088
31089 \begin_layout Plain Layout
31090 §
31091 \end_layout
31092
31093 \end_inset
31094 </cell>
31095 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31096 \begin_inset Text
31097
31098 \begin_layout Plain Layout
31099 c
31100 \end_layout
31101
31102 \end_inset
31103 </cell>
31104 </row>
31105 </lyxtabular>
31106
31107 \end_inset
31108
31109
31110 \end_layout
31111
31112 \end_inset
31113
31114
31115 \begin_inset ERT
31116 status collapsed
31117
31118 \begin_layout Plain Layout
31119
31120 }
31121 \end_layout
31122
31123 \end_inset
31124
31125
31126 \end_layout
31127
31128 \begin_layout Section
31129 Rotated and Scaled Boxes
31130 \end_layout
31131
31132 \begin_layout Standard
31133 To use the commands described in this section, the LaTeX-package 
31134 \series bold
31135 graphicx
31136 \series default
31137
31138 \begin_inset Index idx
31139 status collapsed
31140
31141 \begin_layout Plain Layout
31142 LaTeX-packages ! graphicx
31143 \end_layout
31144
31145 \end_inset
31146
31147  needs to be loaded in the document preamble with the command
31148 \end_layout
31149
31150 \begin_layout Standard
31151
31152 \series bold
31153
31154 \backslash
31155 @ifundefined{rotatebox}
31156 \begin_inset Newline newline
31157 \end_inset
31158
31159
31160 \begin_inset Phantom HPhantom
31161 status open
31162
31163 \begin_layout Plain Layout
31164
31165 \series bold
31166 \begin_inset space ~
31167 \end_inset
31168
31169
31170 \end_layout
31171
31172 \end_inset
31173
31174 {
31175 \backslash
31176 usepackage{graphicx}}{}
31177 \end_layout
31178
31179 \begin_layout Standard
31180 \begin_inset Note Greyedout
31181 status open
31182
31183 \begin_layout Plain Layout
31184
31185 \series bold
31186 Note:
31187 \series default
31188  Some DVI-viewers can't display rotated or scaled material.
31189 \end_layout
31190
31191 \end_inset
31192
31193
31194 \end_layout
31195
31196 \begin_layout Standard
31197 \begin_inset Note Greyedout
31198 status open
31199
31200 \begin_layout Plain Layout
31201
31202 \series bold
31203 Note:
31204 \series default
31205  Floats mustn't be inside a rotated or scaled box.
31206 \end_layout
31207
31208 \end_inset
31209
31210
31211 \end_layout
31212
31213 \begin_layout Subsection
31214 Rotated Boxes
31215 \begin_inset Index idx
31216 status collapsed
31217
31218 \begin_layout Plain Layout
31219 Boxes ! rotated
31220 \end_layout
31221
31222 \end_inset
31223
31224
31225 \begin_inset Index idx
31226 status collapsed
31227
31228 \begin_layout Plain Layout
31229 Rotated material
31230 \end_layout
31231
31232 \end_inset
31233
31234
31235 \begin_inset Index idx
31236 status collapsed
31237
31238 \begin_layout Plain Layout
31239 Figures ! rotated
31240 \end_layout
31241
31242 \end_inset
31243
31244
31245 \begin_inset Index idx
31246 status collapsed
31247
31248 \begin_layout Plain Layout
31249 Table Customization ! Rotating
31250 \end_layout
31251
31252 \end_inset
31253
31254
31255 \end_layout
31256
31257 \begin_layout Standard
31258 To rotate material, you can put it into a rotated box.
31259  Such a box is created using the command 
31260 \series bold
31261
31262 \backslash
31263 rotatebox
31264 \series default
31265  in TeX-Code with the following scheme:
31266 \end_layout
31267
31268 \begin_layout Standard
31269
31270 \series bold
31271
31272 \backslash
31273 rotatebox[rotation origin]{rotation angle}{box content}
31274 \end_layout
31275
31276 \begin_layout Standard
31277 The rotation origin is specified in the form 
31278 \series bold
31279 origin=position
31280 \series default
31281 .
31282  The following positions are possible: 
31283 \emph on
31284 c
31285 \emph default
31286  (center), 
31287 \emph on
31288 l
31289 \emph default
31290  (left), 
31291 \emph on
31292 r
31293 \emph default
31294  (right), 
31295 \emph on
31296 b
31297 \emph default
31298  (bottom), 
31299 \emph on
31300 t
31301 \emph default
31302  (top), along with meaningful combinations of the four base positions.
31303  For example 
31304 \emph on
31305 lt
31306 \emph default
31307  means that the rotation origin is at the top left corner of the box.
31308  When no rotation origin is specified, the position 
31309 \emph on
31310 l
31311 \emph default
31312  will be used.
31313  The rotation angle is a number that can be negative that specifies the
31314  angle in degrees.
31315  The rotation direction is counterclockwise.
31316 \end_layout
31317
31318 \begin_layout Standard
31319 In the following example the command 
31320 \series bold
31321
31322 \backslash
31323 rotatebox[origin=c]{60}{
31324 \series default
31325  was inserted as TeX-Code before the text 
31326 \begin_inset Quotes eld
31327 \end_inset
31328
31329 with rotated
31330 \begin_inset Quotes erd
31331 \end_inset
31332
31333 ; after the text the box was closed by a closing brace 
31334 \series bold
31335 }
31336 \series default
31337  in TeX-Code.
31338 \end_layout
31339
31340 \begin_layout Standard
31341 This is a line 
31342 \begin_inset ERT
31343 status collapsed
31344
31345 \begin_layout Plain Layout
31346
31347
31348 \backslash
31349 rotatebox[origin=c]{60}{
31350 \end_layout
31351
31352 \end_inset
31353
31354 with rotated
31355 \begin_inset ERT
31356 status collapsed
31357
31358 \begin_layout Plain Layout
31359
31360 }
31361 \end_layout
31362
31363 \end_inset
31364
31365  text.
31366 \end_layout
31367
31368 \begin_layout Standard
31369 The box content can also be another box or an inline formula:
31370 \end_layout
31371
31372 \begin_layout Standard
31373 This is a line
31374 \begin_inset ERT
31375 status collapsed
31376
31377 \begin_layout Plain Layout
31378
31379
31380 \backslash
31381 rotatebox[origin=r]{-60}{
31382 \end_layout
31383
31384 \end_inset
31385
31386
31387 \begin_inset Box Doublebox
31388 position "c"
31389 hor_pos "c"
31390 has_inner_box 0
31391 inner_pos "c"
31392 use_parbox 0
31393 use_makebox 0
31394 width "1in"
31395 special "width"
31396 height "1in"
31397 height_special "totalheight"
31398 status collapsed
31399
31400 \begin_layout Plain Layout
31401 with rotated
31402 \end_layout
31403
31404 \end_inset
31405
31406
31407 \begin_inset ERT
31408 status collapsed
31409
31410 \begin_layout Plain Layout
31411
31412 }
31413 \end_layout
31414
31415 \end_inset
31416
31417  framed text 
31418 \begin_inset ERT
31419 status collapsed
31420
31421 \begin_layout Plain Layout
31422
31423
31424 \backslash
31425 rotatebox[origin=lb]{60}{
31426 \end_layout
31427
31428 \end_inset
31429
31430
31431 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31432 \end_inset
31433
31434
31435 \begin_inset ERT
31436 status collapsed
31437
31438 \begin_layout Plain Layout
31439
31440 }
31441 \end_layout
31442
31443 \end_inset
31444
31445  and a formula.
31446 \end_layout
31447
31448 \begin_layout Standard
31449 or an image or table:
31450 \end_layout
31451
31452 \begin_layout Standard
31453 This is a line
31454 \begin_inset ERT
31455 status collapsed
31456
31457 \begin_layout Plain Layout
31458
31459
31460 \backslash
31461 rotatebox[origin=lb]{90}{
31462 \end_layout
31463
31464 \end_inset
31465
31466
31467 \begin_inset Graphics
31468         filename clipart/platypus.eps
31469         lyxscale 50
31470         width 25col%
31471
31472 \end_inset
31473
31474
31475 \begin_inset ERT
31476 status collapsed
31477
31478 \begin_layout Plain Layout
31479
31480 }
31481 \end_layout
31482
31483 \end_inset
31484
31485  with a rotated image 
31486 \begin_inset ERT
31487 status collapsed
31488
31489 \begin_layout Plain Layout
31490
31491
31492 \backslash
31493 rotatebox[origin=l]{-90}{
31494 \end_layout
31495
31496 \end_inset
31497
31498
31499 \begin_inset Tabular
31500 <lyxtabular version="3" rows="2" columns="2">
31501 <features tabularvalignment="middle">
31502 <column alignment="center" valignment="top" width="0">
31503 <column alignment="center" valignment="top" width="0">
31504 <row>
31505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31506 \begin_inset Text
31507
31508 \begin_layout Plain Layout
31509 q
31510 \end_layout
31511
31512 \end_inset
31513 </cell>
31514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31515 \begin_inset Text
31516
31517 \begin_layout Plain Layout
31518 w
31519 \end_layout
31520
31521 \end_inset
31522 </cell>
31523 </row>
31524 <row>
31525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31526 \begin_inset Text
31527
31528 \begin_layout Plain Layout
31529 e
31530 \end_layout
31531
31532 \end_inset
31533 </cell>
31534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31535 \begin_inset Text
31536
31537 \begin_layout Plain Layout
31538 r
31539 \end_layout
31540
31541 \end_inset
31542 </cell>
31543 </row>
31544 </lyxtabular>
31545
31546 \end_inset
31547
31548
31549 \begin_inset ERT
31550 status collapsed
31551
31552 \begin_layout Plain Layout
31553
31554 }
31555 \end_layout
31556
31557 \end_inset
31558
31559  and table.
31560 \end_layout
31561
31562 \begin_layout Subsection
31563 Scaled Boxes
31564 \begin_inset Index idx
31565 status collapsed
31566
31567 \begin_layout Plain Layout
31568 Boxes ! scaled
31569 \end_layout
31570
31571 \end_inset
31572
31573
31574 \begin_inset Index idx
31575 status collapsed
31576
31577 \begin_layout Plain Layout
31578 Scaled material
31579 \end_layout
31580
31581 \end_inset
31582
31583
31584 \begin_inset Index idx
31585 status collapsed
31586
31587 \begin_layout Plain Layout
31588 Figures ! scaled
31589 \end_layout
31590
31591 \end_inset
31592
31593
31594 \begin_inset Index idx
31595 status collapsed
31596
31597 \begin_layout Plain Layout
31598 Table Customization ! Scaling
31599 \end_layout
31600
31601 \end_inset
31602
31603
31604 \end_layout
31605
31606 \begin_layout Standard
31607 To scale material the commands 
31608 \series bold
31609
31610 \backslash
31611 scalebox
31612 \series default
31613  and 
31614 \series bold
31615
31616 \backslash
31617 resizebox
31618 \series default
31619  can be used as TeX-Code.
31620 \end_layout
31621
31622 \begin_layout Standard
31623
31624 \series bold
31625
31626 \backslash
31627 scalebox
31628 \series default
31629  is used with the following scheme:
31630 \end_layout
31631
31632 \begin_layout Standard
31633
31634 \series bold
31635
31636 \backslash
31637 scalebox{horizontal}[vertical]{box content}
31638 \end_layout
31639
31640 \begin_layout Standard
31641 Horizontal and vertical are the corresponding scaling factors.
31642  If no vertical scaling factor is given, the horizontal factor will also
31643  be used as the vertical one.
31644 \end_layout
31645
31646 \begin_layout Standard
31647 The command 
31648 \series bold
31649
31650 \backslash
31651 scalebox{2}{Hello}
31652 \series default
31653  creates for example a double size 
31654 \begin_inset ERT
31655 status collapsed
31656
31657 \begin_layout Plain Layout
31658
31659
31660 \backslash
31661 scalebox{2}{
31662 \end_layout
31663
31664 \end_inset
31665
31666 Hello
31667 \begin_inset ERT
31668 status collapsed
31669
31670 \begin_layout Plain Layout
31671
31672 }
31673 \end_layout
31674
31675 \end_inset
31676
31677 , compared with the document text size.
31678 \end_layout
31679
31680 \begin_layout Standard
31681
31682 \series bold
31683
31684 \backslash
31685 scalebox{2}[1]{Hello}
31686 \series default
31687  on the other hand distorts the 
31688 \begin_inset ERT
31689 status collapsed
31690
31691 \begin_layout Plain Layout
31692
31693
31694 \backslash
31695 scalebox{2}[1]{
31696 \end_layout
31697
31698 \end_inset
31699
31700 Hello
31701 \begin_inset ERT
31702 status collapsed
31703
31704 \begin_layout Plain Layout
31705
31706 }
31707 \end_layout
31708
31709 \end_inset
31710
31711 .
31712 \end_layout
31713
31714 \begin_layout Standard
31715 If the scaling factor is negative, the box content will be mirrored.
31716  Therefore the command 
31717 \series bold
31718
31719 \backslash
31720 scalebox{-1}[1]{Hello}
31721 \series default
31722  can be used to create mirror writing: 
31723 \begin_inset ERT
31724 status collapsed
31725
31726 \begin_layout Plain Layout
31727
31728
31729 \backslash
31730 scalebox{-1}[1]{
31731 \end_layout
31732
31733 \end_inset
31734
31735 Hello
31736 \begin_inset ERT
31737 status collapsed
31738
31739 \begin_layout Plain Layout
31740
31741 }
31742 \end_layout
31743
31744 \end_inset
31745
31746
31747 \end_layout
31748
31749 \begin_layout Standard
31750
31751 \series bold
31752
31753 \backslash
31754 scalebox{1}[-1]{Hello}
31755 \series default
31756  reflects the 
31757 \begin_inset ERT
31758 status collapsed
31759
31760 \begin_layout Plain Layout
31761
31762
31763 \backslash
31764 scalebox{1}[-1]{
31765 \end_layout
31766
31767 \end_inset
31768
31769 Hello
31770 \begin_inset ERT
31771 status collapsed
31772
31773 \begin_layout Plain Layout
31774
31775 }
31776 \end_layout
31777
31778 \end_inset
31779
31780  at the base line.
31781 \end_layout
31782
31783 \begin_layout Standard
31784 Equivalent to 
31785 \series bold
31786
31787 \backslash
31788 scalebox{-1}[1]{box content}
31789 \series default
31790  there exists the command
31791 \begin_inset Newline newline
31792 \end_inset
31793
31794
31795 \series bold
31796
31797 \backslash
31798 reflectbox{box content}
31799 \series default
31800 .
31801 \end_layout
31802
31803 \begin_layout Standard
31804 \begin_inset VSpace bigskip
31805 \end_inset
31806
31807 The command 
31808 \series bold
31809
31810 \backslash
31811 resizebox
31812 \series default
31813  is used to scale the box to a defined width and height.
31814  The command scheme is:
31815 \end_layout
31816
31817 \begin_layout Standard
31818
31819 \series bold
31820
31821 \backslash
31822 resizebox{width}{height}{box content}
31823 \end_layout
31824
31825 \begin_layout Standard
31826 If one of the two command arguments given is an exclamation mark 
31827 \series bold
31828 !
31829 \series default
31830 , the size is set so that the aspect ratio of the box content is kept.
31831 \end_layout
31832
31833 \begin_layout Standard
31834 The command 
31835 \series bold
31836
31837 \backslash
31838 resizebox{2cm}{1cm}{Hello}
31839 \series default
31840  produces: 
31841 \begin_inset ERT
31842 status collapsed
31843
31844 \begin_layout Plain Layout
31845
31846
31847 \backslash
31848 resizebox{2cm}{1cm}{
31849 \end_layout
31850
31851 \end_inset
31852
31853 Hello
31854 \begin_inset ERT
31855 status collapsed
31856
31857 \begin_layout Plain Layout
31858
31859 }
31860 \end_layout
31861
31862 \end_inset
31863
31864
31865 \begin_inset Newline newline
31866 \end_inset
31867
31868 The command 
31869 \series bold
31870
31871 \backslash
31872 resizebox{2cm}{!}{Hello}
31873 \series default
31874  produces: 
31875 \begin_inset ERT
31876 status collapsed
31877
31878 \begin_layout Plain Layout
31879
31880
31881 \backslash
31882 resizebox{2cm}{!}{
31883 \end_layout
31884
31885 \end_inset
31886
31887 Hello
31888 \begin_inset ERT
31889 status collapsed
31890
31891 \begin_layout Plain Layout
31892
31893 }
31894 \end_layout
31895
31896 \end_inset
31897
31898
31899 \end_layout
31900
31901 \begin_layout Standard
31902 \begin_inset VSpace bigskip
31903 \end_inset
31904
31905
31906 \begin_inset Note Greyedout
31907 status open
31908
31909 \begin_layout Plain Layout
31910
31911 \series bold
31912 Note:
31913 \series default
31914  When arguments of 
31915 \series bold
31916
31917 \backslash
31918 scalebox
31919 \series default
31920  or 
31921 \series bold
31922
31923 \backslash
31924 resizebox
31925 \series default
31926  are set to zero, no LaTeX-errors occur when exporting the document but
31927  the exported files can not or only partly be displayed.
31928 \end_layout
31929
31930 \end_inset
31931
31932
31933 \end_layout
31934
31935 \begin_layout Standard
31936 \begin_inset VSpace bigskip
31937 \end_inset
31938
31939
31940 \end_layout
31941
31942 \begin_layout Standard
31943 The boxes can be combined in any order.
31944  E.
31945 \begin_inset space \thinspace{}
31946 \end_inset
31947
31948 g.
31949 \begin_inset space \space{}
31950 \end_inset
31951
31952 the command
31953 \begin_inset Newline newline
31954 \end_inset
31955
31956
31957 \series bold
31958
31959 \backslash
31960 rotatebox[origin=c]{-45}{
31961 \backslash
31962 resizebox{2cm}{!}{
31963 \backslash
31964 reflectbox{Hello}}}
31965 \begin_inset Newline newline
31966 \end_inset
31967
31968
31969 \series default
31970 produces:
31971 \end_layout
31972
31973 \begin_layout Standard
31974 \align center
31975 \begin_inset ERT
31976 status collapsed
31977
31978 \begin_layout Plain Layout
31979
31980
31981 \backslash
31982 rotatebox[origin=c]{-45}{
31983 \backslash
31984 resizebox{2cm}{!}{
31985 \backslash
31986 reflectbox{
31987 \end_layout
31988
31989 \end_inset
31990
31991 Hello
31992 \begin_inset ERT
31993 status collapsed
31994
31995 \begin_layout Plain Layout
31996
31997 }}}
31998 \end_layout
31999
32000 \end_inset
32001
32002
32003 \end_layout
32004
32005 \begin_layout Standard
32006 \noindent
32007 Images, tables, and inline formulas are allowed as box content:
32008 \end_layout
32009
32010 \begin_layout Standard
32011 \align center
32012 \begin_inset ERT
32013 status collapsed
32014
32015 \begin_layout Plain Layout
32016
32017
32018 \backslash
32019 rotatebox[origin=c]{-30}{
32020 \backslash
32021 resizebox{2cm}{!}{
32022 \backslash
32023 reflectbox{
32024 \end_layout
32025
32026 \end_inset
32027
32028
32029 \begin_inset Graphics
32030         filename clipart/platypus.eps
32031         lyxscale 50
32032         width 25col%
32033
32034 \end_inset
32035
32036
32037 \begin_inset ERT
32038 status collapsed
32039
32040 \begin_layout Plain Layout
32041
32042 }}}
32043 \end_layout
32044
32045 \end_inset
32046
32047
32048 \begin_inset ERT
32049 status collapsed
32050
32051 \begin_layout Plain Layout
32052
32053
32054 \backslash
32055 rotatebox[origin=c]{-45}{
32056 \backslash
32057 resizebox{2cm}{!}{
32058 \backslash
32059 reflectbox{
32060 \end_layout
32061
32062 \end_inset
32063
32064
32065 \begin_inset Tabular
32066 <lyxtabular version="3" rows="2" columns="2">
32067 <features tabularvalignment="middle">
32068 <column alignment="center" valignment="top" width="0">
32069 <column alignment="center" valignment="top" width="0">
32070 <row>
32071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32072 \begin_inset Text
32073
32074 \begin_layout Plain Layout
32075 q
32076 \end_layout
32077
32078 \end_inset
32079 </cell>
32080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32081 \begin_inset Text
32082
32083 \begin_layout Plain Layout
32084 w
32085 \end_layout
32086
32087 \end_inset
32088 </cell>
32089 </row>
32090 <row>
32091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32092 \begin_inset Text
32093
32094 \begin_layout Plain Layout
32095 e
32096 \end_layout
32097
32098 \end_inset
32099 </cell>
32100 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32101 \begin_inset Text
32102
32103 \begin_layout Plain Layout
32104 r
32105 \end_layout
32106
32107 \end_inset
32108 </cell>
32109 </row>
32110 </lyxtabular>
32111
32112 \end_inset
32113
32114
32115 \begin_inset ERT
32116 status collapsed
32117
32118 \begin_layout Plain Layout
32119
32120 }}}
32121 \end_layout
32122
32123 \end_inset
32124
32125
32126 \begin_inset ERT
32127 status collapsed
32128
32129 \begin_layout Plain Layout
32130
32131
32132 \backslash
32133 rotatebox[origin=c]{-45}{
32134 \backslash
32135 resizebox{2cm}{!}{
32136 \backslash
32137 reflectbox{
32138 \end_layout
32139
32140 \end_inset
32141
32142
32143 \begin_inset Formula $\int A\,\mathrm{d}x=B$
32144 \end_inset
32145
32146
32147 \begin_inset ERT
32148 status collapsed
32149
32150 \begin_layout Plain Layout
32151
32152 }}}
32153 \end_layout
32154
32155 \end_inset
32156
32157
32158 \end_layout
32159
32160 \begin_layout Standard
32161 When the global formula style 
32162 \series bold
32163 fleqn
32164 \series default
32165  is used in the document
32166 \begin_inset Foot
32167 status collapsed
32168
32169 \begin_layout Plain Layout
32170 When 
32171 \begin_inset Quotes eld
32172 \end_inset
32173
32174 fleqn
32175 \begin_inset Quotes erd
32176 \end_inset
32177
32178  is added to the document class options.
32179 \end_layout
32180
32181 \end_inset
32182
32183 , display style formulas can also be scaled.
32184 \end_layout
32185
32186 \begin_layout Chapter
32187 Objects Surrounded by Text
32188 \begin_inset Index idx
32189 status collapsed
32190
32191 \begin_layout Plain Layout
32192 Surrounded by text
32193 \end_layout
32194
32195 \end_inset
32196
32197
32198 \end_layout
32199
32200 \begin_layout Section
32201 Wrap Floats
32202 \begin_inset CommandInset label
32203 LatexCommand label
32204 name "sec:Wrap-Floats"
32205
32206 \end_inset
32207
32208
32209 \begin_inset Index idx
32210 status collapsed
32211
32212 \begin_layout Plain Layout
32213 Floats ! Wrap Floats
32214 \end_layout
32215
32216 \end_inset
32217
32218
32219 \begin_inset Index idx
32220 status collapsed
32221
32222 \begin_layout Plain Layout
32223 Surrounded by text ! Wrap Floats
32224 \end_layout
32225
32226 \end_inset
32227
32228
32229 \end_layout
32230
32231 \begin_layout Standard
32232 \begin_inset Wrap figure
32233 lines 0
32234 placement l
32235 overhang 1cm
32236 width "40col%"
32237 status open
32238
32239 \begin_layout Plain Layout
32240 \begin_inset Graphics
32241         filename clipart/mobius.eps
32242         width 40col%
32243         scaleBeforeRotation
32244         rotateOrigin center
32245
32246 \end_inset
32247
32248
32249 \end_layout
32250
32251 \begin_layout Plain Layout
32252 \begin_inset Caption
32253
32254 \begin_layout Plain Layout
32255 \begin_inset CommandInset label
32256 LatexCommand label
32257 name "fig:This-is-a"
32258
32259 \end_inset
32260
32261 This is a figure wrap float.
32262 \end_layout
32263
32264 \end_inset
32265
32266
32267 \end_layout
32268
32269 \end_inset
32270
32271  This float type is used if you want to wrap text around a figure or table
32272  so that it only occupies some fraction of the column width.
32273  It can be inserted using the menu 
32274 \family sans
32275 Insert\SpecialChar \menuseparator
32276 Floats\SpecialChar \menuseparator
32277 Figure
32278 \begin_inset space ~
32279 \end_inset
32280
32281 Wrap
32282 \begin_inset space ~
32283 \end_inset
32284
32285 Float
32286 \family default
32287  or 
32288 \family sans
32289 Table
32290 \begin_inset space ~
32291 \end_inset
32292
32293 Wrap
32294 \begin_inset space ~
32295 \end_inset
32296
32297 Float
32298 \family default
32299  if the LaTeX-package 
32300 \series bold
32301 wrapfig
32302 \series default
32303
32304 \begin_inset Index idx
32305 status collapsed
32306
32307 \begin_layout Plain Layout
32308 LaTeX-packages ! wrapfig
32309 \begin_inset ERT
32310 status collapsed
32311
32312 \begin_layout Plain Layout
32313
32314
32315 \backslash
32316 vspace{4mm}
32317 \end_layout
32318
32319 \end_inset
32320
32321
32322 \end_layout
32323
32324 \end_inset
32325
32326  is installed.
32327 \begin_inset Foot
32328 status collapsed
32329
32330 \begin_layout Plain Layout
32331 Installing a LaTeX-package is explained it in the 
32332 \emph on
32333 LaTeX
32334 \begin_inset space ~
32335 \end_inset
32336
32337 Configuration
32338 \emph default
32339  manual.
32340 \end_layout
32341
32342 \end_inset
32343
32344  The settings of the float can be modified by right-clicking on the float
32345  box.
32346  The mandatory settings are the float 
32347 \family sans
32348 Placement
32349 \family default
32350  and its 
32351 \family sans
32352 Width
32353 \family default
32354 .
32355  Optional are the 
32356 \family sans
32357 Overhang
32358 \family default
32359  that specifies how much the float is set into the paragraph
32360 \begin_inset space \thinspace{}
32361 \end_inset
32362
32363 /
32364 \begin_inset space \thinspace{}
32365 \end_inset
32366
32367 page margin, and the 
32368 \family sans
32369 Line
32370 \begin_inset space ~
32371 \end_inset
32372
32373 span
32374 \family default
32375  that specifies how many text lines the float will approximately need.
32376  The line span is often hard to approximate; so it is better only to use
32377  it when you encounter float placement problems.
32378  You can furthermore decide if LaTeX is allowed to let the float float within
32379  the paragraph or to surrounding paragraphs.
32380  Figure
32381 \begin_inset space ~
32382 \end_inset
32383
32384
32385 \begin_inset CommandInset ref
32386 LatexCommand ref
32387 reference "fig:This-is-a"
32388
32389 \end_inset
32390
32391  is an example text wrap float with a width of 40
32392 \begin_inset space \thinspace{}
32393 \end_inset
32394
32395 col%, 1
32396 \begin_inset space \thinspace{}
32397 \end_inset
32398
32399 cm overhang, set to the left.
32400 \end_layout
32401
32402 \begin_layout Standard
32403 \begin_inset Note Greyedout
32404 status open
32405
32406 \begin_layout Plain Layout
32407
32408 \series bold
32409 Note:
32410 \series default
32411  Text
32412 \begin_inset space ~
32413 \end_inset
32414
32415 wrap float floats are fragile! E.
32416 \begin_inset space \thinspace{}
32417 \end_inset
32418
32419 g.
32420 \begin_inset space \space{}
32421 \end_inset
32422
32423 having a figure too close to the bottom of the page can mess things up in
32424  such a way that the float does not appear in the output or that it is placed
32425  over some other text.
32426 \end_layout
32427
32428 \end_inset
32429
32430
32431 \end_layout
32432
32433 \begin_layout Standard
32434 In general, the following applies for wrap floats:
32435 \end_layout
32436
32437 \begin_layout Itemize
32438 They should not be placed in paragraphs that run over a page break.
32439  That means that wrap floats are better inserted in their exact place when
32440  the document is almost finished and you are able to estimate where page
32441  breaks will appear.
32442 \end_layout
32443
32444 \begin_layout Itemize
32445 They should either be placed in their own paragraph before the paragraph
32446  where they should wrap into or within a paragraph.
32447 \end_layout
32448
32449 \begin_layout Itemize
32450 In consecutive paragraphs they may cause troubles, so ensure that there
32451  is a text paragraph between them as separator.
32452 \end_layout
32453
32454 \begin_layout Itemize
32455 They are not allowed in section headings or tables.
32456 \end_layout
32457
32458 \begin_layout Itemize
32459 Their numbering and referencing works as described in chap.
32460 \begin_inset space \thinspace{}
32461 \end_inset
32462
32463
32464 \begin_inset CommandInset ref
32465 LatexCommand ref
32466 reference "chap:Floats"
32467
32468 \end_inset
32469
32470 .
32471 \end_layout
32472
32473 \begin_layout Section
32474 Surrounded Fixed Objects
32475 \begin_inset Index idx
32476 status collapsed
32477
32478 \begin_layout Plain Layout
32479 Surrounded by text ! Fixed objects
32480 \end_layout
32481
32482 \end_inset
32483
32484
32485 \end_layout
32486
32487 \begin_layout Standard
32488 The wrap floats described in sec.
32489 \begin_inset space \thinspace{}
32490 \end_inset
32491
32492
32493 \begin_inset CommandInset ref
32494 LatexCommand ref
32495 reference "sec:Wrap-Floats"
32496
32497 \end_inset
32498
32499  have these positions in the paragraph:
32500 \end_layout
32501
32502 \begin_layout Standard
32503 \noindent
32504 \align center
32505 \begin_inset Tabular
32506 <lyxtabular version="3" rows="2" columns="2">
32507 <features tabularvalignment="middle">
32508 <column alignment="center" valignment="top" width="0">
32509 <column alignment="center" valignment="top" width="0">
32510 <row>
32511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32512 \begin_inset Text
32513
32514 \begin_layout Plain Layout
32515 \begin_inset Graphics
32516         filename ../images/dialog-show-new-inset_graphics.png
32517         scale 70
32518         scaleBeforeRotation
32519         BoundingBox 0bp 6bp 22bp 22bp
32520
32521 \end_inset
32522
32523
32524 \end_layout
32525
32526 \end_inset
32527 </cell>
32528 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32529 \begin_inset Text
32530
32531 \begin_layout Plain Layout
32532 text
32533 \end_layout
32534
32535 \end_inset
32536 </cell>
32537 </row>
32538 <row>
32539 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32540 \begin_inset Text
32541
32542 \begin_layout Plain Layout
32543 text
32544 \end_layout
32545
32546 \end_inset
32547 </cell>
32548 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32549 \begin_inset Text
32550
32551 \begin_layout Plain Layout
32552 text
32553 \end_layout
32554
32555 \end_inset
32556 </cell>
32557 </row>
32558 </lyxtabular>
32559
32560 \end_inset
32561
32562  or 
32563 \begin_inset Tabular
32564 <lyxtabular version="3" rows="2" columns="2">
32565 <features tabularvalignment="middle">
32566 <column alignment="center" valignment="top" width="0">
32567 <column alignment="center" valignment="top" width="0">
32568 <row>
32569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32570 \begin_inset Text
32571
32572 \begin_layout Plain Layout
32573 text
32574 \end_layout
32575
32576 \end_inset
32577 </cell>
32578 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32579 \begin_inset Text
32580
32581 \begin_layout Plain Layout
32582 \begin_inset Graphics
32583         filename ../images/dialog-show-new-inset_graphics.png
32584         scale 70
32585         scaleBeforeRotation
32586         BoundingBox 0bp 6bp 22bp 22bp
32587
32588 \end_inset
32589
32590
32591 \end_layout
32592
32593 \end_inset
32594 </cell>
32595 </row>
32596 <row>
32597 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32598 \begin_inset Text
32599
32600 \begin_layout Plain Layout
32601 text
32602 \end_layout
32603
32604 \end_inset
32605 </cell>
32606 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32607 \begin_inset Text
32608
32609 \begin_layout Plain Layout
32610 text
32611 \end_layout
32612
32613 \end_inset
32614 </cell>
32615 </row>
32616 </lyxtabular>
32617
32618 \end_inset
32619
32620
32621 \end_layout
32622
32623 \begin_layout Standard
32624 To get an object exactly at the position where it is inserted, for example
32625  to get one of these positions:
32626 \begin_inset VSpace defskip
32627 \end_inset
32628
32629
32630 \end_layout
32631
32632 \begin_layout Standard
32633 \noindent
32634 \align center
32635 \begin_inset Tabular
32636 <lyxtabular version="3" rows="2" columns="2">
32637 <features tabularvalignment="middle">
32638 <column alignment="center" valignment="top" width="0">
32639 <column alignment="center" valignment="top" width="0">
32640 <row>
32641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32642 \begin_inset Text
32643
32644 \begin_layout Plain Layout
32645 text
32646 \end_layout
32647
32648 \end_inset
32649 </cell>
32650 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32651 \begin_inset Text
32652
32653 \begin_layout Plain Layout
32654 text
32655 \end_layout
32656
32657 \end_inset
32658 </cell>
32659 </row>
32660 <row>
32661 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32662 \begin_inset Text
32663
32664 \begin_layout Plain Layout
32665 \begin_inset Graphics
32666         filename ../images/dialog-show-new-inset_graphics.png
32667         scale 70
32668         scaleBeforeRotation
32669         BoundingBox 0bp 6bp 22bp 22bp
32670
32671 \end_inset
32672
32673
32674 \end_layout
32675
32676 \end_inset
32677 </cell>
32678 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32679 \begin_inset Text
32680
32681 \begin_layout Plain Layout
32682 text
32683 \end_layout
32684
32685 \end_inset
32686 </cell>
32687 </row>
32688 </lyxtabular>
32689
32690 \end_inset
32691
32692  
32693 \begin_inset Tabular
32694 <lyxtabular version="3" rows="2" columns="2">
32695 <features tabularvalignment="middle">
32696 <column alignment="center" valignment="top" width="0">
32697 <column alignment="center" valignment="top" width="0">
32698 <row>
32699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32700 \begin_inset Text
32701
32702 \begin_layout Plain Layout
32703 text
32704 \end_layout
32705
32706 \end_inset
32707 </cell>
32708 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32709 \begin_inset Text
32710
32711 \begin_layout Plain Layout
32712 text
32713 \end_layout
32714
32715 \end_inset
32716 </cell>
32717 </row>
32718 <row>
32719 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32720 \begin_inset Text
32721
32722 \begin_layout Plain Layout
32723 text
32724 \end_layout
32725
32726 \end_inset
32727 </cell>
32728 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32729 \begin_inset Text
32730
32731 \begin_layout Plain Layout
32732 \begin_inset Graphics
32733         filename ../images/dialog-show-new-inset_graphics.png
32734         scale 70
32735         scaleBeforeRotation
32736         BoundingBox 0bp 6bp 22bp 22bp
32737
32738 \end_inset
32739
32740
32741 \end_layout
32742
32743 \end_inset
32744 </cell>
32745 </row>
32746 </lyxtabular>
32747
32748 \end_inset
32749
32750  
32751 \begin_inset Tabular
32752 <lyxtabular version="3" rows="2" columns="3">
32753 <features tabularvalignment="middle">
32754 <column alignment="center" valignment="top" width="0">
32755 <column alignment="center" valignment="top" width="0">
32756 <column alignment="center" valignment="top" width="0">
32757 <row>
32758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32759 \begin_inset Text
32760
32761 \begin_layout Plain Layout
32762 text
32763 \end_layout
32764
32765 \end_inset
32766 </cell>
32767 <cell alignment="center" valignment="top" topline="true" usebox="none">
32768 \begin_inset Text
32769
32770 \begin_layout Plain Layout
32771 \begin_inset Graphics
32772         filename ../images/dialog-show-new-inset_graphics.png
32773         scale 70
32774         scaleBeforeRotation
32775         BoundingBox 0bp 6bp 22bp 22bp
32776
32777 \end_inset
32778
32779
32780 \end_layout
32781
32782 \end_inset
32783 </cell>
32784 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32785 \begin_inset Text
32786
32787 \begin_layout Plain Layout
32788 text
32789 \end_layout
32790
32791 \end_inset
32792 </cell>
32793 </row>
32794 <row>
32795 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32796 \begin_inset Text
32797
32798 \begin_layout Plain Layout
32799 text
32800 \end_layout
32801
32802 \end_inset
32803 </cell>
32804 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32805 \begin_inset Text
32806
32807 \begin_layout Plain Layout
32808 text
32809 \end_layout
32810
32811 \end_inset
32812 </cell>
32813 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32814 \begin_inset Text
32815
32816 \begin_layout Plain Layout
32817 text
32818 \end_layout
32819
32820 \end_inset
32821 </cell>
32822 </row>
32823 </lyxtabular>
32824
32825 \end_inset
32826
32827  
32828 \begin_inset Tabular
32829 <lyxtabular version="3" rows="2" columns="3">
32830 <features tabularvalignment="middle">
32831 <column alignment="center" valignment="top" width="0">
32832 <column alignment="center" valignment="top" width="0">
32833 <column alignment="center" valignment="top" width="0">
32834 <row>
32835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32836 \begin_inset Text
32837
32838 \begin_layout Plain Layout
32839 text
32840 \end_layout
32841
32842 \end_inset
32843 </cell>
32844 <cell alignment="center" valignment="top" topline="true" usebox="none">
32845 \begin_inset Text
32846
32847 \begin_layout Plain Layout
32848 text
32849 \end_layout
32850
32851 \end_inset
32852 </cell>
32853 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32854 \begin_inset Text
32855
32856 \begin_layout Plain Layout
32857 text
32858 \end_layout
32859
32860 \end_inset
32861 </cell>
32862 </row>
32863 <row>
32864 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32865 \begin_inset Text
32866
32867 \begin_layout Plain Layout
32868 text
32869 \end_layout
32870
32871 \end_inset
32872 </cell>
32873 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32874 \begin_inset Text
32875
32876 \begin_layout Plain Layout
32877 \begin_inset Graphics
32878         filename ../images/dialog-show-new-inset_graphics.png
32879         scale 70
32880         scaleBeforeRotation
32881         BoundingBox 0bp 6bp 22bp 22bp
32882
32883 \end_inset
32884
32885
32886 \end_layout
32887
32888 \end_inset
32889 </cell>
32890 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32891 \begin_inset Text
32892
32893 \begin_layout Plain Layout
32894 text
32895 \end_layout
32896
32897 \end_inset
32898 </cell>
32899 </row>
32900 </lyxtabular>
32901
32902 \end_inset
32903
32904
32905 \end_layout
32906
32907 \begin_layout Standard
32908 \noindent
32909 \align center
32910 \begin_inset Tabular
32911 <lyxtabular version="3" rows="3" columns="2">
32912 <features tabularvalignment="middle">
32913 <column alignment="center" valignment="top" width="0">
32914 <column alignment="center" valignment="top" width="0">
32915 <row>
32916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32917 \begin_inset Text
32918
32919 \begin_layout Plain Layout
32920 text
32921 \end_layout
32922
32923 \end_inset
32924 </cell>
32925 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32926 \begin_inset Text
32927
32928 \begin_layout Plain Layout
32929 text
32930 \end_layout
32931
32932 \end_inset
32933 </cell>
32934 </row>
32935 <row>
32936 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32937 \begin_inset Text
32938
32939 \begin_layout Plain Layout
32940 \begin_inset Graphics
32941         filename ../images/dialog-show-new-inset_graphics.png
32942         scale 70
32943         scaleBeforeRotation
32944         BoundingBox 0bp 6bp 22bp 22bp
32945
32946 \end_inset
32947
32948
32949 \end_layout
32950
32951 \end_inset
32952 </cell>
32953 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32954 \begin_inset Text
32955
32956 \begin_layout Plain Layout
32957 text
32958 \end_layout
32959
32960 \end_inset
32961 </cell>
32962 </row>
32963 <row>
32964 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32965 \begin_inset Text
32966
32967 \begin_layout Plain Layout
32968 text
32969 \end_layout
32970
32971 \end_inset
32972 </cell>
32973 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32974 \begin_inset Text
32975
32976 \begin_layout Plain Layout
32977 text
32978 \end_layout
32979
32980 \end_inset
32981 </cell>
32982 </row>
32983 </lyxtabular>
32984
32985 \end_inset
32986
32987  
32988 \begin_inset Tabular
32989 <lyxtabular version="3" rows="3" columns="3">
32990 <features tabularvalignment="middle">
32991 <column alignment="center" valignment="top" width="0">
32992 <column alignment="center" valignment="top" width="0">
32993 <column alignment="center" valignment="top" width="0">
32994 <row>
32995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32996 \begin_inset Text
32997
32998 \begin_layout Plain Layout
32999 text
33000 \end_layout
33001
33002 \end_inset
33003 </cell>
33004 <cell alignment="center" valignment="top" topline="true" usebox="none">
33005 \begin_inset Text
33006
33007 \begin_layout Plain Layout
33008 text
33009 \end_layout
33010
33011 \end_inset
33012 </cell>
33013 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33014 \begin_inset Text
33015
33016 \begin_layout Plain Layout
33017 text
33018 \end_layout
33019
33020 \end_inset
33021 </cell>
33022 </row>
33023 <row>
33024 <cell alignment="center" valignment="top" leftline="true" usebox="none">
33025 \begin_inset Text
33026
33027 \begin_layout Plain Layout
33028 text
33029 \end_layout
33030
33031 \end_inset
33032 </cell>
33033 <cell alignment="center" valignment="top" usebox="none">
33034 \begin_inset Text
33035
33036 \begin_layout Plain Layout
33037 \begin_inset Graphics
33038         filename ../images/dialog-show-new-inset_graphics.png
33039         scale 70
33040         scaleBeforeRotation
33041         BoundingBox 0bp 6bp 22bp 22bp
33042
33043 \end_inset
33044
33045
33046 \end_layout
33047
33048 \end_inset
33049 </cell>
33050 <cell alignment="center" valignment="top" rightline="true" usebox="none">
33051 \begin_inset Text
33052
33053 \begin_layout Plain Layout
33054 text
33055 \end_layout
33056
33057 \end_inset
33058 </cell>
33059 </row>
33060 <row>
33061 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33062 \begin_inset Text
33063
33064 \begin_layout Plain Layout
33065 text
33066 \end_layout
33067
33068 \end_inset
33069 </cell>
33070 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
33071 \begin_inset Text
33072
33073 \begin_layout Plain Layout
33074 text
33075 \end_layout
33076
33077 \end_inset
33078 </cell>
33079 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33080 \begin_inset Text
33081
33082 \begin_layout Plain Layout
33083 text
33084 \end_layout
33085
33086 \end_inset
33087 </cell>
33088 </row>
33089 </lyxtabular>
33090
33091 \end_inset
33092
33093  
33094 \begin_inset Tabular
33095 <lyxtabular version="3" rows="3" columns="2">
33096 <features tabularvalignment="middle">
33097 <column alignment="center" valignment="top" width="0">
33098 <column alignment="center" valignment="top" width="0">
33099 <row>
33100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33101 \begin_inset Text
33102
33103 \begin_layout Plain Layout
33104 text
33105 \end_layout
33106
33107 \end_inset
33108 </cell>
33109 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33110 \begin_inset Text
33111
33112 \begin_layout Plain Layout
33113 text
33114 \end_layout
33115
33116 \end_inset
33117 </cell>
33118 </row>
33119 <row>
33120 <cell alignment="center" valignment="top" leftline="true" usebox="none">
33121 \begin_inset Text
33122
33123 \begin_layout Plain Layout
33124 text
33125 \end_layout
33126
33127 \end_inset
33128 </cell>
33129 <cell alignment="center" valignment="top" rightline="true" usebox="none">
33130 \begin_inset Text
33131
33132 \begin_layout Plain Layout
33133 \begin_inset Graphics
33134         filename ../images/dialog-show-new-inset_graphics.png
33135         scale 70
33136         scaleBeforeRotation
33137         BoundingBox 0bp 6bp 22bp 22bp
33138
33139 \end_inset
33140
33141
33142 \end_layout
33143
33144 \end_inset
33145 </cell>
33146 </row>
33147 <row>
33148 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33149 \begin_inset Text
33150
33151 \begin_layout Plain Layout
33152 text
33153 \end_layout
33154
33155 \end_inset
33156 </cell>
33157 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33158 \begin_inset Text
33159
33160 \begin_layout Plain Layout
33161 text
33162 \end_layout
33163
33164 \end_inset
33165 </cell>
33166 </row>
33167 </lyxtabular>
33168
33169 \end_inset
33170
33171
33172 \end_layout
33173
33174 \begin_layout Standard
33175 \noindent
33176 you can use the LaTeX-package 
33177 \series bold
33178 picinpar
33179 \series default
33180
33181 \begin_inset Index idx
33182 status collapsed
33183
33184 \begin_layout Plain Layout
33185 LaTeX-packages ! picinpar
33186 \end_layout
33187
33188 \end_inset
33189
33190 .
33191  Here is an example:
33192 \end_layout
33193
33194 \begin_layout Standard
33195 \begin_inset ERT
33196 status collapsed
33197
33198 \begin_layout Plain Layout
33199
33200
33201 \backslash
33202 ifpicinpar
33203 \end_layout
33204
33205 \end_inset
33206
33207
33208 \begin_inset Note Note
33209 status open
33210
33211 \begin_layout Plain Layout
33212 The following section will only be displayed when the LaTeX-package 
33213 \series bold
33214 picinpar
33215 \series default
33216  is installed.
33217 \end_layout
33218
33219 \end_inset
33220
33221
33222 \end_layout
33223
33224 \begin_layout Standard
33225 \begin_inset ERT
33226 status collapsed
33227
33228 \begin_layout Plain Layout
33229
33230
33231 \backslash
33232 begin{window}[2,c,{
33233 \end_layout
33234
33235 \end_inset
33236
33237
33238 \begin_inset Graphics
33239         filename clipart/mobius.eps
33240         lyxscale 60
33241         width 40col%
33242         scaleBeforeRotation
33243         rotateOrigin center
33244
33245 \end_inset
33246
33247
33248 \begin_inset ERT
33249 status collapsed
33250
33251 \begin_layout Plain Layout
33252
33253 },]
33254 \end_layout
33255
33256 \begin_layout Plain Layout
33257
33258 {}
33259 \end_layout
33260
33261 \end_inset
33262
33263
33264 \size small
33265 It was in the spring of the year 1894 that all London was interested, and
33266  the fashionable world dismayed, by the murder of the Honourable Ronald
33267  Adair under most unusual and inexplicable circumstances.
33268  The public has already learned those particulars of the crime which
33269 \size default
33270
33271 \begin_inset ERT
33272 status collapsed
33273
33274 \begin_layout Plain Layout
33275
33276
33277 \backslash
33278 footnotemark{}
33279 \end_layout
33280
33281 \end_inset
33282
33283
33284 \size small
33285  came out in the police investigation, but a good deal was suppressed upon
33286  that occasion, since the case for the prosecution was so overwhelmingly
33287  strong that it was not necessary to bring forward all the facts.
33288  Only now, at the end of nearly ten years, am I allowed to supply those
33289  missing links which make up the whole of that remarkable chain.
33290 \size default
33291
33292 \begin_inset ERT
33293 status collapsed
33294
33295 \begin_layout Plain Layout
33296
33297
33298 \backslash
33299 end{window}
33300 \end_layout
33301
33302 \end_inset
33303
33304
33305 \end_layout
33306
33307 \begin_layout Standard
33308 \begin_inset ERT
33309 status collapsed
33310
33311 \begin_layout Plain Layout
33312
33313
33314 \backslash
33315 footnotetext{
33316 \end_layout
33317
33318 \end_inset
33319
33320 Footnote of the paragraph with the fixed object.
33321 \begin_inset ERT
33322 status collapsed
33323
33324 \begin_layout Plain Layout
33325
33326 }
33327 \end_layout
33328
33329 \end_inset
33330
33331
33332 \end_layout
33333
33334 \begin_layout Standard
33335 Surrounded fixed objects are used to let text float around them, at which
33336  the object's position in the paragraph can be determined by the number
33337  of lines above it.
33338  In contrary to floats is it not possible to have a numbered caption.
33339 \end_layout
33340
33341 \begin_layout Standard
33342 A fixed object is inserted by adding the command
33343 \end_layout
33344
33345 \begin_layout Standard
33346
33347 \series bold
33348
33349 \backslash
33350 begin{window}[2,c,{
33351 \end_layout
33352
33353 \begin_layout Standard
33354 as TeX Code at the beginning of the paragraph.
33355  The first parameter in the bracket, here '2', defines the number of lines
33356  above the object, the second, here 'c', the position of the object.
33357  The positions 'l', 'c' and 'r' (for left, center, right) are possible.
33358  Behind the command you insert the object.
33359  In this example an image with a width of 40
33360 \begin_inset space \thinspace{}
33361 \end_inset
33362
33363 % of the text column width was inserted.
33364  The object can also be a table, a box or an equation.
33365  Behind the object the command
33366 \end_layout
33367
33368 \begin_layout Standard
33369
33370 \series bold
33371 },description text]
33372 \begin_inset Newline newline
33373 \end_inset
33374
33375 {}
33376 \end_layout
33377
33378 \begin_layout Standard
33379 is inserted.
33380  Note that the 
33381 \begin_inset Quotes eld
33382 \end_inset
33383
33384
33385 \series bold
33386 {}
33387 \series default
33388
33389 \begin_inset Quotes erd
33390 \end_inset
33391
33392  is in the second line.
33393  The description text is optional.
33394  The text surrounding the object must be in the same paragraph as the object,
33395  so it must begin directly after the 
33396 \series bold
33397 {}
33398 \series default
33399 .
33400  At the end of the paragraph insert the command:
33401 \end_layout
33402
33403 \begin_layout Standard
33404
33405 \series bold
33406
33407 \backslash
33408 end{window}
33409 \end_layout
33410
33411 \begin_layout Standard
33412 Within a paragraph with a fixed object, you cannot insert footnotes in the
33413  normal way.
33414  You have to use instead the command 
33415 \series bold
33416
33417 \backslash
33418 footnotemark
33419 \series default
33420  inside the paragraph and outside the command 
33421 \series bold
33422
33423 \backslash
33424 footnotetext
33425 \series default
33426  as described in sec.
33427 \begin_inset space \thinspace{}
33428 \end_inset
33429
33430
33431 \begin_inset CommandInset ref
33432 LatexCommand ref
33433 reference "sec:Footnotes"
33434
33435 \end_inset
33436
33437 .
33438 \end_layout
33439
33440 \begin_layout Standard
33441 \begin_inset ERT
33442 status collapsed
33443
33444 \begin_layout Plain Layout
33445
33446
33447 \backslash
33448 else
33449 \end_layout
33450
33451 \end_inset
33452
33453
33454 \begin_inset Note Note
33455 status open
33456
33457 \begin_layout Plain Layout
33458 The following will be displayed when the LaTeX-package 
33459 \series bold
33460 picinpar
33461 \series default
33462  is not installed:
33463 \end_layout
33464
33465 \end_inset
33466
33467
33468 \end_layout
33469
33470 \begin_layout Standard
33471 You need to install the LaTeX-package 
33472 \series bold
33473 picinpar
33474 \series default
33475  to see the following part of this section in the output.
33476 \end_layout
33477
33478 \begin_layout Standard
33479 \begin_inset ERT
33480 status collapsed
33481
33482 \begin_layout Plain Layout
33483
33484
33485 \backslash
33486 fi
33487 \end_layout
33488
33489 \end_inset
33490
33491
33492 \end_layout
33493
33494 \begin_layout Section
33495 Initials
33496 \begin_inset Index idx
33497 status collapsed
33498
33499 \begin_layout Plain Layout
33500 Initials
33501 \end_layout
33502
33503 \end_inset
33504
33505
33506 \begin_inset Index idx
33507 status collapsed
33508
33509 \begin_layout Plain Layout
33510 Surrounded by text ! Initials
33511 \end_layout
33512
33513 \end_inset
33514
33515
33516 \end_layout
33517
33518 \begin_layout Standard
33519 To use initials, you must have the LaTeX-package 
33520 \series bold
33521 lettrine
33522 \series default
33523
33524 \begin_inset Index idx
33525 status collapsed
33526
33527 \begin_layout Plain Layout
33528 LaTeX-packages ! lettrine
33529 \end_layout
33530
33531 \end_inset
33532
33533  installed and use the module 
33534 \family sans
33535 Initials
33536 \family default
33537  in your document (menu 
33538 \family sans
33539 Document\SpecialChar \menuseparator
33540 Settings\SpecialChar \menuseparator
33541 Modules
33542 \family default
33543 ).
33544  To insert an initial, use the style 
33545 \family sans
33546 Initial
33547 \family default
33548 .
33549  This style has a mandatory and an optional argument.
33550  The mandatory argument is inserted via the menu 
33551 \family sans
33552 Insert\SpecialChar \menuseparator
33553 Short
33554 \begin_inset space ~
33555 \end_inset
33556
33557 Title
33558 \family default
33559  and contains the letter that is the initial.
33560  To use also the optional argument, insert another argument in front of
33561  the mandatory argument.
33562  This one contains parameters to modify the initial.
33563  For more information about the possible parameters see the documentation
33564  of 
33565 \series bold
33566 lettrine
33567 \series default
33568
33569 \begin_inset CommandInset citation
33570 LatexCommand cite
33571 key "lettrine"
33572
33573 \end_inset
33574
33575 .
33576  The style itself contains the text that is surrounding the initial.
33577  The usual style is hereby that the word whose first letter is the initial,
33578  is printed with 
33579 \shape smallcaps
33580 small caps
33581 \shape default
33582 .
33583  To tell LaTeX where this word is finished, add a closing brace '
33584 \series bold
33585 }
33586 \series default
33587 ' as TeX Code behind it.
33588  At the end of the style there must be an opening brace '
33589 \series bold
33590 {
33591 \series default
33592 ' as TeX Code.
33593 \end_layout
33594
33595 \begin_layout Standard
33596 Here are some examples:
33597 \end_layout
33598
33599 \begin_layout Standard
33600 \begin_inset ERT
33601 status collapsed
33602
33603 \begin_layout Plain Layout
33604
33605
33606 \backslash
33607 iflettrine
33608 \end_layout
33609
33610 \end_inset
33611
33612
33613 \begin_inset Note Note
33614 status open
33615
33616 \begin_layout Plain Layout
33617 The following section will only be displayed when the LaTeX-package 
33618 \series bold
33619 lettrine
33620 \series default
33621  is installed.
33622 \end_layout
33623
33624 \end_inset
33625
33626
33627 \end_layout
33628
33629 \begin_layout Enumerate
33630 No optional argument, the initial is the letter 'I' in the math font 
33631 \begin_inset Formula $\mathfrak{Fraktur}$
33632 \end_inset
33633
33634 :
33635 \end_layout
33636
33637 \begin_deeper
33638 \begin_layout Initial
33639 \begin_inset Argument
33640 status open
33641
33642 \begin_layout Plain Layout
33643 \begin_inset Formula $\mathfrak{I}$
33644 \end_inset
33645
33646
33647 \end_layout
33648
33649 \end_inset
33650
33651 t
33652 \begin_inset ERT
33653 status collapsed
33654
33655 \begin_layout Plain Layout
33656
33657 }
33658 \end_layout
33659
33660 \end_inset
33661
33662  was in the spring of the year 1894 that all London was interested, and
33663  the fashionable world dismayed, by the murder of the Honourable Ronald
33664  Adair under most unusual and inexplicable circumstances.
33665  The public has already learned those particulars of the crime which came
33666  out in the police investigation, but a good deal was suppressed upon that
33667  occasion, since the case for the prosecution was so overwhelmingly strong
33668  that it was not necessary to bring forward all the facts.
33669 \begin_inset ERT
33670 status collapsed
33671
33672 \begin_layout Plain Layout
33673
33674 {
33675 \end_layout
33676
33677 \end_inset
33678
33679
33680 \begin_inset Newpage newpage
33681 \end_inset
33682
33683
33684 \end_layout
33685
33686 \end_deeper
33687 \begin_layout Enumerate
33688 Only one line is surrounding the initial, which is formed by two letters
33689  in standard font and no text is printed in small caps:
33690 \end_layout
33691
33692 \begin_deeper
33693 \begin_layout Initial
33694 \begin_inset Argument
33695 status open
33696
33697 \begin_layout Plain Layout
33698 lines=1
33699 \end_layout
33700
33701 \end_inset
33702
33703
33704 \begin_inset Argument
33705 status open
33706
33707 \begin_layout Plain Layout
33708 It
33709 \end_layout
33710
33711 \end_inset
33712
33713
33714 \begin_inset ERT
33715 status collapsed
33716
33717 \begin_layout Plain Layout
33718
33719 }
33720 \end_layout
33721
33722 \end_inset
33723
33724  was in the spring of the year 1894 that all London was interested, and
33725  the fashionable world dismayed, by the murder of the Honourable Ronald
33726  Adair under most unusual and inexplicable circumstances.
33727  The public has already learned those particulars of the crime which came
33728  out in the police investigation, but a good deal was suppressed upon that
33729  occasion, since the case for the prosecution was so overwhelmingly strong
33730  that it was not necessary to bring forward all the facts.
33731 \begin_inset ERT
33732 status collapsed
33733
33734 \begin_layout Plain Layout
33735
33736 {
33737 \end_layout
33738
33739 \end_inset
33740
33741
33742 \end_layout
33743
33744 \end_deeper
33745 \begin_layout Enumerate
33746 Magenta, hanging initial over 3
33747 \begin_inset space ~
33748 \end_inset
33749
33750 lines in the math font 
33751 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
33752 \end_inset
33753
33754 , the text 
33755 \begin_inset Quotes eld
33756 \end_inset
33757
33758 t was in the spring
33759 \begin_inset Quotes erd
33760 \end_inset
33761
33762  is in 
33763 \shape smallcaps
33764 small caps
33765 \shape default
33766 ; to color the initial, you must insert this command before the initial:
33767 \begin_inset Newline newline
33768 \end_inset
33769
33770
33771 \series bold
33772
33773 \backslash
33774 renewcommand{
33775 \backslash
33776 LettrineFontHook}{
33777 \backslash
33778 color{color}}
33779 \series default
33780
33781 \begin_inset Newline newline
33782 \end_inset
33783
33784 where the second 
33785 \emph on
33786 color
33787 \emph default
33788  can be 
33789 \begin_inset Quotes eld
33790 \end_inset
33791
33792 red
33793 \begin_inset Quotes erd
33794 \end_inset
33795
33796
33797 \begin_inset Quotes eld
33798 \end_inset
33799
33800 blue
33801 \begin_inset Quotes erd
33802 \end_inset
33803
33804
33805 \begin_inset Quotes eld
33806 \end_inset
33807
33808 green
33809 \begin_inset Quotes erd
33810 \end_inset
33811
33812
33813 \begin_inset Quotes eld
33814 \end_inset
33815
33816 yellow
33817 \begin_inset Quotes erd
33818 \end_inset
33819
33820
33821 \begin_inset Quotes eld
33822 \end_inset
33823
33824 cyan
33825 \begin_inset Quotes erd
33826 \end_inset
33827
33828
33829 \begin_inset Quotes eld
33830 \end_inset
33831
33832 magenta
33833 \begin_inset Quotes erd
33834 \end_inset
33835
33836
33837 \begin_inset Quotes eld
33838 \end_inset
33839
33840 black
33841 \begin_inset Quotes erd
33842 \end_inset
33843
33844  or 
33845 \begin_inset Quotes eld
33846 \end_inset
33847
33848 white
33849 \begin_inset Quotes erd
33850 \end_inset
33851
33852 , and add this command to the document preamble:
33853 \begin_inset Newline newline
33854 \end_inset
33855
33856
33857 \series bold
33858
33859 \backslash
33860 @ifundefined{textcolor}
33861 \begin_inset Newline newline
33862 \end_inset
33863
33864
33865 \begin_inset space ~
33866 \end_inset
33867
33868 {
33869 \backslash
33870 usepackage{color}}{}
33871 \end_layout
33872
33873 \begin_deeper
33874 \begin_layout Standard
33875 \begin_inset ERT
33876 status collapsed
33877
33878 \begin_layout Plain Layout
33879
33880
33881 \backslash
33882 renewcommand{
33883 \backslash
33884 LettrineFontHook}{
33885 \backslash
33886 color{magenta}}
33887 \end_layout
33888
33889 \end_inset
33890
33891
33892 \begin_inset Note Note
33893 status collapsed
33894
33895 \begin_layout Plain Layout
33896 makes the initial magenta
33897 \end_layout
33898
33899 \end_inset
33900
33901
33902 \end_layout
33903
33904 \begin_layout Initial
33905 \begin_inset Argument
33906 status open
33907
33908 \begin_layout Plain Layout
33909 lines=3, lhang=0.33, loversize=0.25
33910 \end_layout
33911
33912 \end_inset
33913
33914
33915 \begin_inset Argument
33916 status open
33917
33918 \begin_layout Plain Layout
33919 \begin_inset Formula $\mathcal{I}$
33920 \end_inset
33921
33922
33923 \end_layout
33924
33925 \end_inset
33926
33927 t was in the spring
33928 \begin_inset ERT
33929 status collapsed
33930
33931 \begin_layout Plain Layout
33932
33933 }
33934 \end_layout
33935
33936 \end_inset
33937
33938  of the year 1894 that all London was interested, and the fashionable world
33939  dismayed, by the murder of the Honourable Ronald Adair under most unusual
33940  and inexplicable circumstances.
33941  The public has already learned those particulars of the crime which came
33942  out in the police investigation, but a good deal was suppressed upon that
33943  occasion, since the case for the prosecution was so overwhelmingly strong
33944  that it was not necessary to bring forward all the facts.
33945 \begin_inset ERT
33946 status collapsed
33947
33948 \begin_layout Plain Layout
33949
33950 {
33951 \end_layout
33952
33953 \end_inset
33954
33955
33956 \end_layout
33957
33958 \end_deeper
33959 \begin_layout Standard
33960 \begin_inset ERT
33961 status collapsed
33962
33963 \begin_layout Plain Layout
33964
33965
33966 \backslash
33967 else
33968 \end_layout
33969
33970 \end_inset
33971
33972
33973 \begin_inset Note Note
33974 status open
33975
33976 \begin_layout Plain Layout
33977 The following will be displayed when the LaTeX-package 
33978 \series bold
33979 lettrine
33980 \series default
33981  is not installed:
33982 \end_layout
33983
33984 \end_inset
33985
33986
33987 \end_layout
33988
33989 \begin_layout Standard
33990 You need to install the LaTeX-package 
33991 \series bold
33992 lettrine
33993 \series default
33994  to see the following part of this section in the output.
33995 \end_layout
33996
33997 \begin_layout Standard
33998 \begin_inset ERT
33999 status collapsed
34000
34001 \begin_layout Plain Layout
34002
34003
34004 \backslash
34005 fi
34006 \end_layout
34007
34008 \end_inset
34009
34010
34011 \end_layout
34012
34013 \begin_layout Chapter
34014 External Document Parts
34015 \begin_inset Index idx
34016 status collapsed
34017
34018 \begin_layout Plain Layout
34019 External Document Parts
34020 \end_layout
34021
34022 \end_inset
34023
34024
34025 \end_layout
34026
34027 \begin_layout Standard
34028 With the menu 
34029 \family sans
34030 Insert\SpecialChar \menuseparator
34031 File
34032 \family default
34033  you can insert external material to your document.
34034  This can be:
34035 \end_layout
34036
34037 \begin_layout Description
34038 LyX
34039 \begin_inset space ~
34040 \end_inset
34041
34042 Document Another LyX document; its content is directly inserted to your
34043  document.
34044 \end_layout
34045
34046 \begin_layout Description
34047 Plain
34048 \begin_inset space ~
34049 \end_inset
34050
34051 Text A text document; each line is inserted in your document as a separate
34052  paragraph.
34053 \end_layout
34054
34055 \begin_layout Description
34056 Plain
34057 \begin_inset space ~
34058 \end_inset
34059
34060 Text,
34061 \begin_inset space ~
34062 \end_inset
34063
34064 Join
34065 \begin_inset space ~
34066 \end_inset
34067
34068 Lines A text document; text lines are inserted in your document continuously
34069  but an empty text line creates a new paragraph.
34070 \end_layout
34071
34072 \begin_layout Description
34073 External
34074 \begin_inset space ~
34075 \end_inset
34076
34077 Material Files in various formats.
34078 \end_layout
34079
34080 \begin_layout Description
34081 Child
34082 \begin_inset space ~
34083 \end_inset
34084
34085 Document LyX or LaTeX-documents.
34086 \end_layout
34087
34088 \begin_layout Section
34089 External Material
34090 \begin_inset Index idx
34091 status collapsed
34092
34093 \begin_layout Plain Layout
34094 External Document Parts ! External Material
34095 \end_layout
34096
34097 \end_inset
34098
34099
34100 \end_layout
34101
34102 \begin_layout Standard
34103 The external material feature allows you to insert files in to your document
34104  without converting them to a format that can be read by the document output
34105  format.
34106  LyX takes care of the necessary conversions.
34107  This is similar to images that can be inserted in various image formats
34108  in LyX documents.
34109  When you have enabled Instant Preview in LyX's preferences under 
34110 \family sans
34111 Look
34112 \begin_inset space ~
34113 \end_inset
34114
34115 and
34116 \begin_inset space ~
34117 \end_inset
34118
34119 feel\SpecialChar \menuseparator
34120 Graphics
34121 \family default
34122 , the external material types Dia and Xfig are directly shown in LyX.
34123 \end_layout
34124
34125 \begin_layout Standard
34126 External material can be inserted via the 
34127 \family sans
34128 External Material
34129 \family default
34130  dialog that is accessible with the menu 
34131 \family sans
34132 Insert\SpecialChar \menuseparator
34133 File\SpecialChar \menuseparator
34134 External
34135 \begin_inset space ~
34136 \end_inset
34137
34138 Material
34139 \family default
34140 .
34141  Currently the following file types (
34142 \family sans
34143 Templates
34144 \family default
34145 ) are allowed:
34146 \end_layout
34147
34148 \begin_layout Description
34149 ChessDiagram This template supports chess position diagrams made with the
34150  program 
34151 \series bold
34152
34153 \begin_inset CommandInset href
34154 LatexCommand href
34155 name "XBoard"
34156 target "http://en.wikipedia.org/wiki/XBoard"
34157
34158 \end_inset
34159
34160
34161 \series default
34162 .
34163 \end_layout
34164
34165 \begin_layout Description
34166 Date This inserts the date in the form 
34167 \emph on
34168 Day-Month-Year
34169 \emph default
34170 .
34171  This is a date inserted as external material: 
34172 \begin_inset External
34173         template Date
34174         filename .
34175
34176 \end_inset
34177
34178
34179 \begin_inset space ~
34180 \end_inset
34181
34182
34183 \begin_inset Note Note
34184 status open
34185
34186 \begin_layout Plain Layout
34187 Remove the protected space when bug 4398 is fixed!
34188 \end_layout
34189
34190 \end_inset
34191
34192
34193 \begin_inset Newline newline
34194 \end_inset
34195
34196 The date is not shown within LyX, only in the output.
34197  There are two other methods of inserting a date: Via menu 
34198 \family sans
34199 Insert\SpecialChar \menuseparator
34200 Date
34201 \family default
34202  and with the LaTeX command 
34203 \series bold
34204
34205 \backslash
34206 today
34207 \series default
34208  as TeX-Code.
34209  The different methods are compared in Table
34210 \begin_inset space ~
34211 \end_inset
34212
34213
34214 \begin_inset CommandInset ref
34215 LatexCommand ref
34216 reference "tab:Comparison-of-the"
34217
34218 \end_inset
34219
34220 .
34221 \end_layout
34222
34223 \begin_layout Description
34224 Dia This template supports diagrams created with the program 
34225 \series bold
34226
34227 \begin_inset CommandInset href
34228 LatexCommand href
34229 name "Dia"
34230 target "http://en.wikipedia.org/wiki/Dia_(software)"
34231
34232 \end_inset
34233
34234
34235 \series default
34236 .
34237 \end_layout
34238
34239 \begin_layout Description
34240 LilyPond This template is used for music notation typeset with the program
34241 \begin_inset Newline linebreak
34242 \end_inset
34243
34244
34245 \series bold
34246
34247 \begin_inset CommandInset href
34248 LatexCommand href
34249 name "LilyPond"
34250 target "http://en.wikipedia.org/wiki/LilyPond"
34251
34252 \end_inset
34253
34254
34255 \series default
34256 .
34257 \end_layout
34258
34259 \begin_layout Description
34260 PDFPages With this template you can insert PDF documents to your document.
34261  To insert certain or all pages of a PDF, use the 
34262 \emph on
34263 pages
34264 \emph default
34265  option in the 
34266 \family sans
34267 Option
34268 \family default
34269  field in the 
34270 \family sans
34271 LaTeX and LyX options
34272 \family default
34273  tab according to the template description in the dialog.
34274  When no 
34275 \emph on
34276 pages
34277 \emph default
34278  option is given, only the first page of the PDF will be inserted.
34279 \end_layout
34280
34281 \begin_layout Description
34282 RasterImage This can be used for bitmap images.
34283  Nearly all popular image formats are supported.
34284  The image can be treated in the 
34285 \family sans
34286 External material
34287 \family default
34288  dialog like the images that are usually included via the 
34289 \family sans
34290 Graphics
34291 \family default
34292  dialog as described in section
34293 \begin_inset space ~
34294 \end_inset
34295
34296
34297 \begin_inset CommandInset ref
34298 LatexCommand ref
34299 reference "sec:Graphics-Dialog"
34300
34301 \end_inset
34302
34303 .
34304  The difference is that only raster images are allowed; that means that
34305  PDF and EPS-images are not supported.
34306 \end_layout
34307
34308 \begin_layout Description
34309 XFig This template supports images created with the program 
34310 \series bold
34311
34312 \begin_inset CommandInset href
34313 LatexCommand href
34314 name "Xfig"
34315 target "http://en.wikipedia.org/wiki/Xfig"
34316
34317 \end_inset
34318
34319
34320 \series default
34321 .
34322 \end_layout
34323
34324 \begin_layout Standard
34325 \begin_inset Float table
34326 placement h
34327 wide false
34328 sideways false
34329 status open
34330
34331 \begin_layout Plain Layout
34332 \begin_inset Caption
34333
34334 \begin_layout Plain Layout
34335 \begin_inset CommandInset label
34336 LatexCommand label
34337 name "tab:Comparison-of-the"
34338
34339 \end_inset
34340
34341 Comparison of the date input methods.
34342 \end_layout
34343
34344 \end_inset
34345
34346
34347 \end_layout
34348
34349 \begin_layout Plain Layout
34350 \align center
34351 \begin_inset Tabular
34352 <lyxtabular version="3" rows="4" columns="4">
34353 <features tabularvalignment="middle">
34354 <column alignment="center" valignment="top" width="0">
34355 <column alignment="center" valignment="top" width="0">
34356 <column alignment="center" valignment="top" width="0">
34357 <column alignment="center" valignment="top" width="0">
34358 <row>
34359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34360 \begin_inset Text
34361
34362 \begin_layout Plain Layout
34363 Document format
34364 \end_layout
34365
34366 \end_inset
34367 </cell>
34368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34369 \begin_inset Text
34370
34371 \begin_layout Plain Layout
34372
34373 \family sans
34374 External Material\SpecialChar \menuseparator
34375 Date
34376 \end_layout
34377
34378 \end_inset
34379 </cell>
34380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34381 \begin_inset Text
34382
34383 \begin_layout Plain Layout
34384
34385 \family sans
34386 Insert\SpecialChar \menuseparator
34387 Date
34388 \end_layout
34389
34390 \end_inset
34391 </cell>
34392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34393 \begin_inset Text
34394
34395 \begin_layout Plain Layout
34396 command 
34397 \series bold
34398
34399 \backslash
34400 today
34401 \end_layout
34402
34403 \end_inset
34404 </cell>
34405 </row>
34406 <row>
34407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34408 \begin_inset Text
34409
34410 \begin_layout Plain Layout
34411 LyX
34412 \end_layout
34413
34414 \end_inset
34415 </cell>
34416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34417 \begin_inset Text
34418
34419 \begin_layout Plain Layout
34420 as inset box
34421 \end_layout
34422
34423 \end_inset
34424 </cell>
34425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34426 \begin_inset Text
34427
34428 \begin_layout Plain Layout
34429 as date
34430 \end_layout
34431
34432 \end_inset
34433 </cell>
34434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34435 \begin_inset Text
34436
34437 \begin_layout Plain Layout
34438 as TeX-Code inset box
34439 \end_layout
34440
34441 \end_inset
34442 </cell>
34443 </row>
34444 <row>
34445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34446 \begin_inset Text
34447
34448 \begin_layout Plain Layout
34449 LaTeX
34450 \end_layout
34451
34452 \end_inset
34453 </cell>
34454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34455 \begin_inset Text
34456
34457 \begin_layout Plain Layout
34458 as date
34459 \end_layout
34460
34461 \end_inset
34462 </cell>
34463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34464 \begin_inset Text
34465
34466 \begin_layout Plain Layout
34467 as date
34468 \end_layout
34469
34470 \end_inset
34471 </cell>
34472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34473 \begin_inset Text
34474
34475 \begin_layout Plain Layout
34476 as command
34477 \end_layout
34478
34479 \end_inset
34480 </cell>
34481 </row>
34482 <row>
34483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34484 \begin_inset Text
34485
34486 \begin_layout Plain Layout
34487 DVI, PDF, PS
34488 \end_layout
34489
34490 \end_inset
34491 </cell>
34492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34493 \begin_inset Text
34494
34495 \begin_layout Plain Layout
34496 as date
34497 \end_layout
34498
34499 \end_inset
34500 </cell>
34501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34502 \begin_inset Text
34503
34504 \begin_layout Plain Layout
34505 as date
34506 \end_layout
34507
34508 \end_inset
34509 </cell>
34510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34511 \begin_inset Text
34512
34513 \begin_layout Plain Layout
34514 as date
34515 \end_layout
34516
34517 \end_inset
34518 </cell>
34519 </row>
34520 </lyxtabular>
34521
34522 \end_inset
34523
34524
34525 \end_layout
34526
34527 \end_inset
34528
34529
34530 \end_layout
34531
34532 \begin_layout Standard
34533 When you use the option 
34534 \family sans
34535 Draft
34536 \family default
34537  in the 
34538 \family sans
34539 File
34540 \family default
34541  tab of the 
34542 \family sans
34543 External Material
34544 \family default
34545  dialog, only the path to the inserted file is shown in the output.
34546 \begin_inset Newline newline
34547 \end_inset
34548
34549 External material is displayed in LyX either as a box like this: 
34550 \begin_inset Graphics
34551         filename clipart/ExternalMaterialQt4.png
34552         scale 85
34553         scaleBeforeRotation
34554
34555 \end_inset
34556
34557  or as image, depending on the option 
34558 \family sans
34559 Show in LyX
34560 \family default
34561  in the 
34562 \family sans
34563 LaTeX and LyX options
34564 \family default
34565  tab of the dialog.
34566 \end_layout
34567
34568 \begin_layout Standard
34569 The 
34570 \family sans
34571 \emph on
34572 Customization
34573 \family default
34574 \emph default
34575  manual explains how you can define your own templates.
34576 \end_layout
34577
34578 \begin_layout Section
34579 Child Documents
34580 \begin_inset CommandInset label
34581 LatexCommand label
34582 name "sec:Child-Documents"
34583
34584 \end_inset
34585
34586
34587 \begin_inset Index idx
34588 status collapsed
34589
34590 \begin_layout Plain Layout
34591 External Document Parts ! Child Documents
34592 \end_layout
34593
34594 \end_inset
34595
34596
34597 \begin_inset Index idx
34598 status collapsed
34599
34600 \begin_layout Plain Layout
34601 Files ! Include
34602 \end_layout
34603
34604 \end_inset
34605
34606
34607 \end_layout
34608
34609 \begin_layout Standard
34610 Child documents are used if you have a long document consisting of several
34611  larger parts or sections.
34612  For maintenance it is often useful and sometimes even required to split
34613  the document into several files that can be revised separately.
34614  The different documents are then the so called 
34615 \begin_inset Quotes eld
34616 \end_inset
34617
34618 child documents
34619 \begin_inset Quotes erd
34620 \end_inset
34621
34622 , and a master document connects them to print the full document or parts
34623  of it.
34624  A child document inherits elements of its master, for example the LaTeX
34625  preamble, the bibliography, and labels for cross-references.
34626 \end_layout
34627
34628 \begin_layout Standard
34629 To be able to work on child documents without the need to open their master,
34630  specify in the child document the master in the menu
34631 \family sans
34632  Document\SpecialChar \menuseparator
34633 Settings\SpecialChar \menuseparator
34634 Document
34635 \begin_inset space ~
34636 \end_inset
34637
34638 Class
34639 \family default
34640 .
34641  This master document will then be used in the background by LyX when you
34642  edit the child document.
34643 \end_layout
34644
34645 \begin_layout Standard
34646 Included documents are displayed in LyX as a box like this: 
34647 \begin_inset Graphics
34648         filename clipart/ChildDocumentQt4.png
34649         scale 85
34650         scaleBeforeRotation
34651
34652 \end_inset
34653
34654  To include child documents in a master document use the menu 
34655 \family sans
34656 Insert\SpecialChar \menuseparator
34657 File\SpecialChar \menuseparator
34658 Child
34659 \begin_inset space ~
34660 \end_inset
34661
34662 Documents
34663 \family default
34664 .
34665  A dialog pops up where you can choose between four include methods:
34666 \end_layout
34667
34668 \begin_layout Description
34669 Include You can include LyX- and LaTeX-documents.
34670  When you press the 
34671 \family sans
34672 Load
34673 \family default
34674  button in the 
34675 \family sans
34676 Child Document
34677 \family default
34678  dialog, the included documents will be opened in LyX in a new file tab
34679  so that you can modify them.
34680 \begin_inset Newline newline
34681 \end_inset
34682
34683
34684 \end_layout
34685
34686 \begin_layout Standard
34687 Here is a child document inserted using 
34688 \family sans
34689 Include
34690 \family default
34691
34692 \begin_inset CommandInset include
34693 LatexCommand include
34694 filename "DummyDocument1.lyx"
34695
34696 \end_inset
34697
34698
34699 \end_layout
34700
34701 \begin_layout Standard
34702 The section numbering includes the sections of the included files in the
34703  order they are inserted in the master document.
34704  The included example document has for example a subsection that is numbered
34705  as a subsection of this section.
34706  Labels of included documents can be referenced: Subsection
34707 \begin_inset space ~
34708 \end_inset
34709
34710
34711 \begin_inset CommandInset ref
34712 LatexCommand ref
34713 reference "sub:External-Subsection-1"
34714
34715 \end_inset
34716
34717 .
34718 \end_layout
34719
34720 \begin_layout Standard
34721 The preamble of the child document is ignored; only the preamble of the
34722  master document is used.
34723  Branches in child documents will be ignored by the master document when
34724  the master document does not have a branch with the same name.
34725  Included documents are inserted starting on a new page and ending with
34726  a page break.
34727 \end_layout
34728
34729 \begin_layout Standard
34730 \begin_inset Note Greyedout
34731 status open
34732
34733 \begin_layout Plain Layout
34734
34735 \series bold
34736 Note:
34737 \series default
34738  If you have included a LyX- or LaTeX-file, you are warned when you export/view
34739  the document in case the child document uses another document class than
34740  the master document as this will lead to unexpected outputs.
34741 \end_layout
34742
34743 \end_inset
34744
34745
34746 \end_layout
34747
34748 \begin_layout Description
34749 Input This method is very similar to the Include method.
34750  The differences are:
34751 \end_layout
34752
34753 \begin_deeper
34754 \begin_layout Itemize
34755 Input files don't start with a new page and don't end with a page break.
34756 \end_layout
34757
34758 \begin_layout Itemize
34759 Input files can be previewed in LyX when 
34760 \family sans
34761 Instant
34762 \begin_inset space ~
34763 \end_inset
34764
34765 Preview
34766 \family default
34767  is enabled in LyX's preferences under 
34768 \family sans
34769 Look
34770 \begin_inset space ~
34771 \end_inset
34772
34773 and
34774 \begin_inset space ~
34775 \end_inset
34776
34777 feel\SpecialChar \menuseparator
34778 Graphics
34779 \family default
34780 .
34781 \end_layout
34782
34783 \begin_layout Itemize
34784 You cannot exclude Input files via the menu 
34785 \family sans
34786 Document\SpecialChar \menuseparator
34787 Settings\SpecialChar \menuseparator
34788 Child Documents
34789 \family default
34790 .
34791 \end_layout
34792
34793 \end_deeper
34794 \begin_layout Standard
34795 Here is a child document inserted using 
34796 \family sans
34797 Input
34798 \family default
34799
34800 \begin_inset CommandInset include
34801 LatexCommand input
34802 filename "DummyDocument2.lyx"
34803
34804 \end_inset
34805
34806
34807 \end_layout
34808
34809 \begin_layout Description
34810 Verbatim With this method any text file can be included.
34811  The file is shown in the output with its source code; no command used in
34812  the text is invoked.
34813  You can use the option 
34814 \family sans
34815 Mark spaces in output
34816 \family default
34817  that displays the character 
34818 \begin_inset Quotes eld
34819 \end_inset
34820
34821
34822 \begin_inset ERT
34823 status collapsed
34824
34825 \begin_layout Plain Layout
34826
34827
34828 \backslash
34829 textvisiblespace 
34830 \end_layout
34831
34832 \end_inset
34833
34834
34835 \begin_inset Quotes erd
34836 \end_inset
34837
34838  for every space character in the source code.
34839  The difference from the method via the menu 
34840 \family sans
34841 Insert\SpecialChar \menuseparator
34842 File\SpecialChar \menuseparator
34843 Plain
34844 \begin_inset space ~
34845 \end_inset
34846
34847 Text
34848 \family default
34849  is that the document content is not shown in LyX.
34850 \end_layout
34851
34852 \begin_layout Standard
34853 Here is a child document inserted as Verbatim: 
34854 \begin_inset CommandInset include
34855 LatexCommand verbatiminput
34856 filename "DummyTextDocument.txt"
34857
34858 \end_inset
34859
34860
34861 \begin_inset VSpace bigskip
34862 \end_inset
34863
34864  Here is a child document inserted as Verbatim using the 
34865 \family sans
34866 Mark spaces in output
34867 \family default
34868  option: 
34869 \begin_inset CommandInset include
34870 LatexCommand verbatiminput*
34871 filename "DummyTextDocument.txt"
34872
34873 \end_inset
34874
34875
34876 \end_layout
34877
34878 \begin_layout Standard
34879 \begin_inset VSpace bigskip
34880 \end_inset
34881
34882
34883 \end_layout
34884
34885 \begin_layout Standard
34886 \begin_inset Note Greyedout
34887 status open
34888
34889 \begin_layout Plain Layout
34890
34891 \series bold
34892 Note:
34893 \series default
34894  As you can see in the examples above, the text of the documents included
34895  as 
34896 \family sans
34897 verbatim
34898 \family default
34899  is not broken at the end of the document lines.
34900 \end_layout
34901
34902 \end_inset
34903
34904
34905 \end_layout
34906
34907 \begin_layout Description
34908 Listings This type is described in chapter
34909 \begin_inset space ~
34910 \end_inset
34911
34912
34913 \begin_inset CommandInset ref
34914 LatexCommand ref
34915 reference "cha:Program-Code-Listings"
34916
34917 \end_inset
34918
34919 .
34920 \end_layout
34921
34922 \begin_layout Standard
34923 \begin_inset Note Greyedout
34924 status open
34925
34926 \begin_layout Plain Layout
34927
34928 \series bold
34929 Note:
34930 \series default
34931  Including the same document twice in a document using different methods
34932  could cause LaTeX-problems.
34933 \end_layout
34934
34935 \end_inset
34936
34937
34938 \end_layout
34939
34940 \begin_layout Standard
34941 If you want to view/export only selected children of your master document,
34942  either because you want to save compiling time or because you want to distribut
34943 e single chapters of the book you are just writing, you can exclude children
34944  from the output.
34945  This is done via the menu 
34946 \family sans
34947 Document\SpecialChar \menuseparator
34948 Settings\SpecialChar \menuseparator
34949 Child Documents
34950 \family default
34951 .
34952  You can exclude\SpecialChar \slash{}
34953 include children by double-clicking on the 
34954 \family sans
34955 include to output
34956 \family default
34957  column of the respective child document in the list (note that this only
34958  works for documents embedded via 
34959 \begin_inset Quotes eld
34960 \end_inset
34961
34962 Include
34963 \begin_inset Quotes erd
34964 \end_inset
34965
34966 , not with 
34967 \begin_inset Quotes eld
34968 \end_inset
34969
34970 Input
34971 \begin_inset Quotes erd
34972 \end_inset
34973
34974 ).
34975  If the option 
34976 \family sans
34977 Maintain counters and references
34978 \family default
34979  is enabled, LyX will assure that all page numbers, references etc.
34980 \begin_inset space ~
34981 \end_inset
34982
34983 are correct as if the whole document was processed.
34984  This is useful if you want the selected sub-documents to look exactly as
34985  in the context of the whole document.
34986  However, LyX needs to process the whole document in the background for
34987  this feature.
34988  So if you want to save compile time and if counters and references do not
34989  need to be correct, disable this checkbox.
34990 \end_layout
34991
34992 \begin_layout Standard
34993 Alternatively, you can put each included file into a branch.
34994 \begin_inset Foot
34995 status collapsed
34996
34997 \begin_layout Plain Layout
34998 Branches are described in section 
34999 \emph on
35000 Branches
35001 \emph default
35002  of the LyX 
35003 \emph on
35004 Userguide
35005 \emph default
35006 .
35007 \end_layout
35008
35009 \end_inset
35010
35011  By enabling\SpecialChar \slash{}
35012 disabling branches you can decide which included files will
35013  appear in the output.
35014  This has the advantage that it also works with Input'ed sub-documents.
35015  However, counters and references will not be maintained with this approach.
35016 \end_layout
35017
35018 \begin_layout Chapter
35019 Program Code Listings
35020 \begin_inset CommandInset label
35021 LatexCommand label
35022 name "cha:Program-Code-Listings"
35023
35024 \end_inset
35025
35026
35027 \begin_inset Index idx
35028 status collapsed
35029
35030 \begin_layout Plain Layout
35031 Listings
35032 \end_layout
35033
35034 \end_inset
35035
35036
35037 \begin_inset Index idx
35038 status collapsed
35039
35040 \begin_layout Plain Layout
35041 Program Code
35042 \end_layout
35043
35044 \end_inset
35045
35046
35047 \begin_inset Index idx
35048 status collapsed
35049
35050 \begin_layout Plain Layout
35051 Floats ! Listings
35052 \end_layout
35053
35054 \end_inset
35055
35056
35057 \end_layout
35058
35059 \begin_layout Standard
35060 To include and typeset program code you can use the 
35061 \family sans
35062 Listings
35063 \family default
35064  inset that can be inserted via the menu 
35065 \family sans
35066 Insert\SpecialChar \menuseparator
35067 Program Listing
35068 \family default
35069 .
35070  The LaTeX-package 
35071 \series bold
35072 listings
35073 \series default
35074
35075 \begin_inset Index idx
35076 status collapsed
35077
35078 \begin_layout Plain Layout
35079 LaTeX-packages ! listings
35080 \end_layout
35081
35082 \end_inset
35083
35084  provides a powerful and flexible way to insert program source code into
35085  your document.
35086 \end_layout
35087
35088 \begin_layout Standard
35089 Right-clicking on a listings inset opens the context menu containing where
35090  you can set the listings format.
35091 \end_layout
35092
35093 \begin_layout Standard
35094 By default, a listing starts a new paragraph in the output.
35095  The placement option 
35096 \family sans
35097 Inline
35098 \begin_inset space ~
35099 \end_inset
35100
35101 listing
35102 \family default
35103  prints the listing inline like this: 
35104 \begin_inset listings
35105 lstparams "language={C++}"
35106 inline true
35107 status open
35108
35109 \begin_layout Plain Layout
35110
35111 int a=5;
35112 \end_layout
35113
35114 \end_inset
35115
35116
35117 \begin_inset Newline newline
35118 \end_inset
35119
35120 The option 
35121 \family sans
35122 Float
35123 \family default
35124  creates a listings float where you can specify the placement options 
35125 \begin_inset Quotes eld
35126 \end_inset
35127
35128
35129 \family sans
35130 h
35131 \family default
35132
35133 \begin_inset Quotes erd
35134 \end_inset
35135
35136
35137 \begin_inset Quotes eld
35138 \end_inset
35139
35140
35141 \family sans
35142 t
35143 \family default
35144
35145 \begin_inset Quotes erd
35146 \end_inset
35147
35148
35149 \begin_inset Quotes eld
35150 \end_inset
35151
35152
35153 \family sans
35154 b
35155 \family default
35156
35157 \begin_inset Quotes erd
35158 \end_inset
35159
35160 , and 
35161 \begin_inset Quotes eld
35162 \end_inset
35163
35164
35165 \family sans
35166 p
35167 \family default
35168
35169 \begin_inset Quotes erd
35170 \end_inset
35171
35172  corresponding to the float placement options described in section
35173 \begin_inset space ~
35174 \end_inset
35175
35176
35177 \begin_inset CommandInset ref
35178 LatexCommand ref
35179 reference "sec:Float-Placement"
35180
35181 \end_inset
35182
35183 .
35184  The placement options can be mixed and are inserted without any separation,
35185  e.
35186 \begin_inset space \thinspace{}
35187 \end_inset
35188
35189 g.
35190 \begin_inset space \space{}
35191 \end_inset
35192
35193
35194 \begin_inset Quotes eld
35195 \end_inset
35196
35197
35198 \family sans
35199 htbp
35200 \family default
35201
35202 \begin_inset Quotes erd
35203 \end_inset
35204
35205 .
35206  The option 
35207 \begin_inset Quotes eld
35208 \end_inset
35209
35210 h
35211 \begin_inset Quotes erd
35212 \end_inset
35213
35214  has sometimes no effect, but you don't need to use the 
35215 \family sans
35216 Float
35217 \family default
35218  option in this case as also non-float listings can have captions and be
35219  referenced.
35220 \end_layout
35221
35222 \begin_layout Standard
35223 You can add captions to listings with the menu 
35224 \family sans
35225 Insert\SpecialChar \menuseparator
35226 Caption
35227 \family default
35228 .
35229  Listings can be referenced like floats: Listing
35230 \begin_inset space ~
35231 \end_inset
35232
35233
35234 \begin_inset CommandInset ref
35235 LatexCommand ref
35236 reference "lst:Example-Listing"
35237
35238 \end_inset
35239
35240
35241 \end_layout
35242
35243 \begin_layout Standard
35244 \begin_inset listings
35245 lstparams "language=Python"
35246 inline false
35247 status open
35248
35249 \begin_layout Plain Layout
35250
35251 \begin_inset Caption
35252
35253 \begin_layout Plain Layout
35254 \begin_inset CommandInset label
35255 LatexCommand label
35256 name "lst:Example-Listing"
35257
35258 \end_inset
35259
35260 Example Listing float
35261 \end_layout
35262
35263 \end_inset
35264
35265 # Example listing float
35266 \end_layout
35267
35268 \begin_layout Plain Layout
35269
35270 def func(param):
35271 \end_layout
35272
35273 \begin_layout Plain Layout
35274
35275     'this is a python function'
35276 \end_layout
35277
35278 \begin_layout Plain Layout
35279
35280     pass
35281 \end_layout
35282
35283 \end_inset
35284
35285
35286 \end_layout
35287
35288 \begin_layout Standard
35289 When you have set a programming language in the listings dialog, the keywords
35290  of this language will be recognized and specially typeset in the output.
35291  In the example listings the Python keyword 
35292 \begin_inset Quotes eld
35293 \end_inset
35294
35295 def
35296 \begin_inset Quotes erd
35297 \end_inset
35298
35299  is recognized and printed bold in the output.
35300 \end_layout
35301
35302 \begin_layout Standard
35303 \begin_inset Note Greyedout
35304 status open
35305
35306 \begin_layout Plain Layout
35307
35308 \series bold
35309 Note:
35310 \series default
35311  If you don't get bold keywords when using typewriter fonts, your 
35312 \family typewriter
35313 typewriter
35314 \family default
35315  font probably doesn't provide a bold shape.
35316  In this case select a different one in the menu 
35317 \family sans
35318 Document\SpecialChar \menuseparator
35319 Settings\SpecialChar \menuseparator
35320 Fonts
35321 \family default
35322 .
35323  (The fonts 
35324 \emph on
35325 LuxiMono, BeraMono
35326 \emph default
35327  and 
35328 \emph on
35329 Courier
35330 \emph default
35331  provide bold shapes.)
35332 \end_layout
35333
35334 \end_inset
35335
35336
35337 \end_layout
35338
35339 \begin_layout Standard
35340 In section 
35341 \family sans
35342 Line
35343 \begin_inset space ~
35344 \end_inset
35345
35346 numbering
35347 \family default
35348  of the listings dialog you can specify the line numbering style.
35349  You can insert a number to specify which lines are numbered in the field
35350  
35351 \family sans
35352 Step
35353 \family default
35354 .
35355  When you insert e.
35356 \begin_inset space \thinspace{}
35357 \end_inset
35358
35359 g.
35360 \begin_inset space \space{}
35361 \end_inset
35362
35363
35364 \begin_inset Quotes eld
35365 \end_inset
35366
35367 3
35368 \begin_inset Quotes erd
35369 \end_inset
35370
35371 , only every 3rd line will be numbered.
35372 \end_layout
35373
35374 \begin_layout Standard
35375 You can furthermore specify a range of lines; only these will then appear
35376  in the output.
35377  The option 
35378 \family sans
35379 Extended character table
35380 \family default
35381  should be used when you use national characters like the German umlauts
35382  in the listing.
35383 \begin_inset Newline newline
35384 \end_inset
35385
35386 Here is an example listing with left line numbering, step 
35387 \begin_inset Quotes eld
35388 \end_inset
35389
35390 3
35391 \begin_inset Quotes erd
35392 \end_inset
35393
35394 , language 
35395 \begin_inset Quotes eld
35396 \end_inset
35397
35398 Python
35399 \begin_inset Quotes erd
35400 \end_inset
35401
35402 , options 
35403 \begin_inset Quotes eld
35404 \end_inset
35405
35406 Extended character table
35407 \begin_inset Quotes erd
35408 \end_inset
35409
35410  and 
35411 \begin_inset Quotes eld
35412 \end_inset
35413
35414 Space
35415 \begin_inset space ~
35416 \end_inset
35417
35418 as
35419 \begin_inset space ~
35420 \end_inset
35421
35422 symbol
35423 \begin_inset Quotes erd
35424 \end_inset
35425
35426 , range lines 3
35427 \begin_inset space \thinspace{}
35428 \end_inset
35429
35430 -
35431 \begin_inset space \thinspace{}
35432 \end_inset
35433
35434 8:
35435 \end_layout
35436
35437 \begin_layout Standard
35438 \begin_inset listings
35439 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
35440 inline false
35441 status open
35442
35443 \begin_layout Plain Layout
35444
35445 def func(param):
35446 \end_layout
35447
35448 \begin_layout Plain Layout
35449
35450     'this is a python function'
35451 \end_layout
35452
35453 \begin_layout Plain Layout
35454
35455     pass
35456 \end_layout
35457
35458 \begin_layout Plain Layout
35459
35460 def func(param):
35461 \end_layout
35462
35463 \begin_layout Plain Layout
35464
35465 'This is a German word: Tschüß'
35466 \end_layout
35467
35468 \begin_layout Plain Layout
35469
35470 pass
35471 \end_layout
35472
35473 \begin_layout Plain Layout
35474
35475 def func(param):
35476 \end_layout
35477
35478 \begin_layout Plain Layout
35479
35480 'this is a python function'
35481 \end_layout
35482
35483 \begin_layout Plain Layout
35484
35485 pass
35486 \end_layout
35487
35488 \end_inset
35489
35490
35491 \end_layout
35492
35493 \begin_layout Standard
35494 When you have tabulators in your listing, you can specify the number of
35495  characters that are spanned by a tabulator in the field 
35496 \family sans
35497 Tabulator
35498 \begin_inset space ~
35499 \end_inset
35500
35501 size
35502 \family default
35503 .
35504 \end_layout
35505
35506 \begin_layout Standard
35507 \begin_inset Note Greyedout
35508 status open
35509
35510 \begin_layout Plain Layout
35511
35512 \series bold
35513 Note:
35514 \series default
35515  Due to a bug in the 
35516 \series bold
35517 listings
35518 \series default
35519  package the line numbering is shifted by a line by every previous listing.
35520  That's the reason why the lines 2 and 5 are numbered in the above listing
35521  and not the lines 3 and 6.
35522 \end_layout
35523
35524 \end_inset
35525
35526
35527 \end_layout
35528
35529 \begin_layout Standard
35530 \begin_inset VSpace bigskip
35531 \end_inset
35532
35533
35534 \end_layout
35535
35536 \begin_layout Standard
35537 It is also possible to print lines from a file as listing.
35538  To do this, use the menu 
35539 \family sans
35540 Insert\SpecialChar \menuseparator
35541 File\SpecialChar \menuseparator
35542 Child Document
35543 \family default
35544  and choose the type 
35545 \family sans
35546 Listings
35547 \family default
35548 .
35549 \begin_inset Foot
35550 status collapsed
35551
35552 \begin_layout Plain Layout
35553 The other child document types are described in section
35554 \begin_inset space ~
35555 \end_inset
35556
35557
35558 \begin_inset CommandInset ref
35559 LatexCommand ref
35560 reference "sec:Child-Documents"
35561
35562 \end_inset
35563
35564 .
35565 \end_layout
35566
35567 \end_inset
35568
35569  In the child document dialog you can specify the listing parameters in
35570  a text box.
35571  To show a list of all available parameters, type in a question mark 
35572 \begin_inset Quotes eld
35573 \end_inset
35574
35575 ?
35576 \begin_inset Quotes erd
35577 \end_inset
35578
35579  in the text box.
35580 \end_layout
35581
35582 \begin_layout Standard
35583 To reference child document listings, write a label text into the corresponding
35584  field of the child document dialog.
35585  The label can then be referenced using the menu 
35586 \family sans
35587 Insert\SpecialChar \menuseparator
35588 Cross-Reference
35589 \family default
35590 .
35591 \end_layout
35592
35593 \begin_layout Standard
35594 Listing
35595 \begin_inset space ~
35596 \end_inset
35597
35598
35599 \begin_inset CommandInset ref
35600 LatexCommand ref
35601 reference "lst:file-listing"
35602
35603 \end_inset
35604
35605  is an example for a listing of a file; there the lines 10
35606 \begin_inset space \thinspace{}
35607 \end_inset
35608
35609 -
35610 \begin_inset space \thinspace{}
35611 \end_inset
35612
35613 15 of this LyX file are listed.
35614 \end_layout
35615
35616 \begin_layout Standard
35617 \begin_inset CommandInset include
35618 LatexCommand lstinputlisting
35619 filename "EmbeddedObjects.lyx"
35620 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
35621
35622 \end_inset
35623
35624
35625 \end_layout
35626
35627 \begin_layout Standard
35628 \begin_inset VSpace bigskip
35629 \end_inset
35630
35631
35632 \end_layout
35633
35634 \begin_layout Standard
35635 Inserting a formula into a listing can be done the following way:
35636 \end_layout
35637
35638 \begin_layout Enumerate
35639 Open the listings dialog and add
35640 \begin_inset Newline newline
35641 \end_inset
35642
35643
35644 \family sans
35645 mathescape=true
35646 \family default
35647
35648 \begin_inset Newline newline
35649 \end_inset
35650
35651 to the field of the 
35652 \family sans
35653 Advanced
35654 \family default
35655  tab.
35656 \end_layout
35657
35658 \begin_layout Enumerate
35659 Create a formula outside the listing
35660 \end_layout
35661
35662 \begin_layout Enumerate
35663 Copy the content of the formula (not the formula inset) to the clipboard
35664  (shortcut 
35665 \begin_inset Info
35666 type  "shortcut"
35667 arg   "copy"
35668 \end_inset
35669
35670 )
35671 \end_layout
35672
35673 \begin_layout Enumerate
35674 In the listing write 
35675 \begin_inset Quotes eld
35676 \end_inset
35677
35678
35679 \family sans
35680 $$
35681 \family default
35682
35683 \begin_inset Quotes erd
35684 \end_inset
35685
35686  and copy from the clipboard between the dollar-signs (shortcut 
35687 \begin_inset Info
35688 type  "shortcut"
35689 arg   "paste"
35690 \end_inset
35691
35692 )
35693 \end_layout
35694
35695 \begin_layout Standard
35696 \begin_inset listings
35697 lstparams "language=Python,mathescape=true"
35698 inline false
35699 status open
35700
35701 \begin_layout Plain Layout
35702
35703 \begin_inset Caption
35704
35705 \begin_layout Plain Layout
35706 Example Listing float containing a formula
35707 \end_layout
35708
35709 \end_inset
35710
35711 # Example listing float
35712 \end_layout
35713
35714 \begin_layout Plain Layout
35715
35716 def func(param):
35717 \end_layout
35718
35719 \begin_layout Plain Layout
35720
35721     # $
35722 \backslash
35723 prod_{n=1}^{
35724 \backslash
35725 infty}
35726 \backslash
35727 ,
35728 \backslash
35729 frac{1}{x^{2}}$
35730 \end_layout
35731
35732 \begin_layout Plain Layout
35733
35734     pass
35735 \end_layout
35736
35737 \end_inset
35738
35739
35740 \end_layout
35741
35742 \begin_layout Standard
35743 \begin_inset VSpace bigskip
35744 \end_inset
35745
35746
35747 \end_layout
35748
35749 \begin_layout Standard
35750 Global listings settings can be set in the 
35751 \family sans
35752 Document\SpecialChar \menuseparator
35753 Settings\SpecialChar \menuseparator
35754 Listings
35755 \family default
35756  dialog.
35757  To get there a list of available options, type in a question mark 
35758 \begin_inset Quotes eld
35759 \end_inset
35760
35761 ?
35762 \begin_inset Quotes erd
35763 \end_inset
35764
35765 .
35766 \end_layout
35767
35768 \begin_layout Standard
35769 For more information about the 
35770 \series bold
35771 listings
35772 \series default
35773  package, we refer to its documentation 
35774 \begin_inset CommandInset citation
35775 LatexCommand cite
35776 key "listings"
35777
35778 \end_inset
35779
35780 .
35781 \end_layout
35782
35783 \begin_layout Standard
35784 \begin_inset Newpage newpage
35785 \end_inset
35786
35787
35788 \end_layout
35789
35790 \begin_layout Chapter
35791 \start_of_appendix
35792 Units available in LyX
35793 \begin_inset Index idx
35794 status collapsed
35795
35796 \begin_layout Plain Layout
35797 Units
35798 \end_layout
35799
35800 \end_inset
35801
35802
35803 \begin_inset CommandInset label
35804 LatexCommand label
35805 name "cha:Units-available-in"
35806
35807 \end_inset
35808
35809
35810 \end_layout
35811
35812 \begin_layout Standard
35813 To understand the units described in this documentation, Table
35814 \begin_inset space ~
35815 \end_inset
35816
35817
35818 \begin_inset CommandInset ref
35819 LatexCommand ref
35820 reference "tab:Units"
35821
35822 \end_inset
35823
35824  explains all units available in LyX.
35825 \end_layout
35826
35827 \begin_layout Standard
35828 \begin_inset Float table
35829 placement h
35830 wide false
35831 sideways false
35832 status open
35833
35834 \begin_layout Plain Layout
35835 \begin_inset Caption
35836
35837 \begin_layout Plain Layout
35838 \begin_inset CommandInset label
35839 LatexCommand label
35840 name "tab:Units"
35841
35842 \end_inset
35843
35844 Units
35845 \end_layout
35846
35847 \end_inset
35848
35849
35850 \end_layout
35851
35852 \begin_layout Plain Layout
35853 \begin_inset VSpace medskip
35854 \end_inset
35855
35856
35857 \end_layout
35858
35859 \begin_layout Plain Layout
35860 \align center
35861 \begin_inset Tabular
35862 <lyxtabular version="3" rows="20" columns="2">
35863 <features tabularvalignment="middle">
35864 <column alignment="center" valignment="top" width="0">
35865 <column alignment="center" valignment="top" width="0">
35866 <row>
35867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
35868 \begin_inset Text
35869
35870 \begin_layout Plain Layout
35871 unit
35872 \end_layout
35873
35874 \end_inset
35875 </cell>
35876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
35877 \begin_inset Text
35878
35879 \begin_layout Plain Layout
35880 name/description
35881 \end_layout
35882
35883 \end_inset
35884 </cell>
35885 </row>
35886 <row>
35887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35888 \begin_inset Text
35889
35890 \begin_layout Plain Layout
35891 mm
35892 \end_layout
35893
35894 \end_inset
35895 </cell>
35896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35897 \begin_inset Text
35898
35899 \begin_layout Plain Layout
35900 millimeter
35901 \end_layout
35902
35903 \end_inset
35904 </cell>
35905 </row>
35906 <row>
35907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35908 \begin_inset Text
35909
35910 \begin_layout Plain Layout
35911 cm
35912 \end_layout
35913
35914 \end_inset
35915 </cell>
35916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35917 \begin_inset Text
35918
35919 \begin_layout Plain Layout
35920 centimeter
35921 \end_layout
35922
35923 \end_inset
35924 </cell>
35925 </row>
35926 <row>
35927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35928 \begin_inset Text
35929
35930 \begin_layout Plain Layout
35931 in
35932 \end_layout
35933
35934 \end_inset
35935 </cell>
35936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35937 \begin_inset Text
35938
35939 \begin_layout Plain Layout
35940 inch
35941 \end_layout
35942
35943 \end_inset
35944 </cell>
35945 </row>
35946 <row>
35947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35948 \begin_inset Text
35949
35950 \begin_layout Plain Layout
35951 pt
35952 \end_layout
35953
35954 \end_inset
35955 </cell>
35956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35957 \begin_inset Text
35958
35959 \begin_layout Plain Layout
35960 point (72.27
35961 \begin_inset space \thinspace{}
35962 \end_inset
35963
35964 pt = 1
35965 \begin_inset space \thinspace{}
35966 \end_inset
35967
35968 in)
35969 \end_layout
35970
35971 \end_inset
35972 </cell>
35973 </row>
35974 <row>
35975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35976 \begin_inset Text
35977
35978 \begin_layout Plain Layout
35979 pc
35980 \end_layout
35981
35982 \end_inset
35983 </cell>
35984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35985 \begin_inset Text
35986
35987 \begin_layout Plain Layout
35988 pica (1
35989 \begin_inset space \thinspace{}
35990 \end_inset
35991
35992 pc = 12
35993 \begin_inset space \thinspace{}
35994 \end_inset
35995
35996 pt)
35997 \end_layout
35998
35999 \end_inset
36000 </cell>
36001 </row>
36002 <row>
36003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36004 \begin_inset Text
36005
36006 \begin_layout Plain Layout
36007 sp
36008 \end_layout
36009
36010 \end_inset
36011 </cell>
36012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36013 \begin_inset Text
36014
36015 \begin_layout Plain Layout
36016 scaled point (65536
36017 \begin_inset space \thinspace{}
36018 \end_inset
36019
36020 sp = 1
36021 \begin_inset space \thinspace{}
36022 \end_inset
36023
36024 pt)
36025 \end_layout
36026
36027 \end_inset
36028 </cell>
36029 </row>
36030 <row>
36031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36032 \begin_inset Text
36033
36034 \begin_layout Plain Layout
36035 bp
36036 \end_layout
36037
36038 \end_inset
36039 </cell>
36040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36041 \begin_inset Text
36042
36043 \begin_layout Plain Layout
36044 big point (72
36045 \begin_inset space \thinspace{}
36046 \end_inset
36047
36048 bp = 1
36049 \begin_inset space \thinspace{}
36050 \end_inset
36051
36052 in)
36053 \end_layout
36054
36055 \end_inset
36056 </cell>
36057 </row>
36058 <row>
36059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36060 \begin_inset Text
36061
36062 \begin_layout Plain Layout
36063 dd
36064 \end_layout
36065
36066 \end_inset
36067 </cell>
36068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36069 \begin_inset Text
36070
36071 \begin_layout Plain Layout
36072 didot (1
36073 \begin_inset space \thinspace{}
36074 \end_inset
36075
36076 dd 
36077 \begin_inset Formula $\approx$
36078 \end_inset
36079
36080  0.376
36081 \begin_inset space \thinspace{}
36082 \end_inset
36083
36084 mm)
36085 \end_layout
36086
36087 \end_inset
36088 </cell>
36089 </row>
36090 <row>
36091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36092 \begin_inset Text
36093
36094 \begin_layout Plain Layout
36095 cc
36096 \end_layout
36097
36098 \end_inset
36099 </cell>
36100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36101 \begin_inset Text
36102
36103 \begin_layout Plain Layout
36104 cicero (1
36105 \begin_inset space \thinspace{}
36106 \end_inset
36107
36108 cc = 12
36109 \begin_inset space \thinspace{}
36110 \end_inset
36111
36112 dd)
36113 \end_layout
36114
36115 \end_inset
36116 </cell>
36117 </row>
36118 <row>
36119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36120 \begin_inset Text
36121
36122 \begin_layout Plain Layout
36123 Scale%
36124 \end_layout
36125
36126 \end_inset
36127 </cell>
36128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36129 \begin_inset Text
36130
36131 \begin_layout Plain Layout
36132 % of original image width
36133 \end_layout
36134
36135 \end_inset
36136 </cell>
36137 </row>
36138 <row>
36139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36140 \begin_inset Text
36141
36142 \begin_layout Plain Layout
36143 text%
36144 \end_layout
36145
36146 \end_inset
36147 </cell>
36148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36149 \begin_inset Text
36150
36151 \begin_layout Plain Layout
36152 % of text width
36153 \end_layout
36154
36155 \end_inset
36156 </cell>
36157 </row>
36158 <row>
36159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36160 \begin_inset Text
36161
36162 \begin_layout Plain Layout
36163 col%
36164 \end_layout
36165
36166 \end_inset
36167 </cell>
36168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36169 \begin_inset Text
36170
36171 \begin_layout Plain Layout
36172 % of column width
36173 \end_layout
36174
36175 \end_inset
36176 </cell>
36177 </row>
36178 <row>
36179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36180 \begin_inset Text
36181
36182 \begin_layout Plain Layout
36183 page%
36184 \end_layout
36185
36186 \end_inset
36187 </cell>
36188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36189 \begin_inset Text
36190
36191 \begin_layout Plain Layout
36192 % of paper width
36193 \end_layout
36194
36195 \end_inset
36196 </cell>
36197 </row>
36198 <row>
36199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36200 \begin_inset Text
36201
36202 \begin_layout Plain Layout
36203 line%
36204 \end_layout
36205
36206 \end_inset
36207 </cell>
36208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36209 \begin_inset Text
36210
36211 \begin_layout Plain Layout
36212 % of line width
36213 \end_layout
36214
36215 \end_inset
36216 </cell>
36217 </row>
36218 <row>
36219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36220 \begin_inset Text
36221
36222 \begin_layout Plain Layout
36223 theight%
36224 \end_layout
36225
36226 \end_inset
36227 </cell>
36228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36229 \begin_inset Text
36230
36231 \begin_layout Plain Layout
36232 % of text height
36233 \end_layout
36234
36235 \end_inset
36236 </cell>
36237 </row>
36238 <row>
36239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36240 \begin_inset Text
36241
36242 \begin_layout Plain Layout
36243 pheight%
36244 \end_layout
36245
36246 \end_inset
36247 </cell>
36248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36249 \begin_inset Text
36250
36251 \begin_layout Plain Layout
36252 % of paper height
36253 \end_layout
36254
36255 \end_inset
36256 </cell>
36257 </row>
36258 <row>
36259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36260 \begin_inset Text
36261
36262 \begin_layout Plain Layout
36263 ex
36264 \end_layout
36265
36266 \end_inset
36267 </cell>
36268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36269 \begin_inset Text
36270
36271 \begin_layout Plain Layout
36272 height of letter 
36273 \emph on
36274 x
36275 \emph default
36276  in current font
36277 \end_layout
36278
36279 \end_inset
36280 </cell>
36281 </row>
36282 <row>
36283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36284 \begin_inset Text
36285
36286 \begin_layout Plain Layout
36287 em
36288 \end_layout
36289
36290 \end_inset
36291 </cell>
36292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36293 \begin_inset Text
36294
36295 \begin_layout Plain Layout
36296 width of letter 
36297 \emph on
36298 M
36299 \emph default
36300  in current font
36301 \end_layout
36302
36303 \end_inset
36304 </cell>
36305 </row>
36306 <row>
36307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36308 \begin_inset Text
36309
36310 \begin_layout Plain Layout
36311 mu
36312 \end_layout
36313
36314 \end_inset
36315 </cell>
36316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36317 \begin_inset Text
36318
36319 \begin_layout Plain Layout
36320 math unit (1
36321 \begin_inset space \thinspace{}
36322 \end_inset
36323
36324 mu = 1/18
36325 \begin_inset space \thinspace{}
36326 \end_inset
36327
36328 em)
36329 \end_layout
36330
36331 \end_inset
36332 </cell>
36333 </row>
36334 </lyxtabular>
36335
36336 \end_inset
36337
36338
36339 \end_layout
36340
36341 \end_inset
36342
36343
36344 \end_layout
36345
36346 \begin_layout Chapter
36347 Output File Formats with Graphics
36348 \begin_inset CommandInset label
36349 LatexCommand label
36350 name "cha:Output-File-Formats"
36351
36352 \end_inset
36353
36354
36355 \end_layout
36356
36357 \begin_layout Section
36358 DVI
36359 \begin_inset Index idx
36360 status collapsed
36361
36362 \begin_layout Plain Layout
36363 File Formats ! DVI
36364 \end_layout
36365
36366 \end_inset
36367
36368
36369 \begin_inset Index idx
36370 status collapsed
36371
36372 \begin_layout Plain Layout
36373 DVI|see
36374 \begin_inset ERT
36375 status collapsed
36376
36377 \begin_layout Plain Layout
36378
36379 {
36380 \end_layout
36381
36382 \end_inset
36383
36384 File Formats
36385 \begin_inset ERT
36386 status collapsed
36387
36388 \begin_layout Plain Layout
36389
36390 }
36391 \end_layout
36392
36393 \end_inset
36394
36395
36396 \end_layout
36397
36398 \end_inset
36399
36400
36401 \end_layout
36402
36403 \begin_layout Standard
36404 This file type has the extension 
36405 \begin_inset Quotes eld
36406 \end_inset
36407
36408
36409 \family typewriter
36410 .dvi
36411 \family default
36412
36413 \begin_inset Quotes erd
36414 \end_inset
36415
36416 .
36417  It is called 
36418 \begin_inset Quotes eld
36419 \end_inset
36420
36421 device-independent
36422 \begin_inset Quotes erd
36423 \end_inset
36424
36425  (DVI), because it is completely portable; you can move them from one machine
36426  to another without needing to do any sort of conversion.
36427  At the time when this file-format was developed, this was no matter of
36428  course.
36429  DVIs are used for quick previews and as pre-stage for other output formats,
36430  like PostScript.
36431 \end_layout
36432
36433 \begin_layout Standard
36434 \begin_inset Note Greyedout
36435 status open
36436
36437 \begin_layout Plain Layout
36438
36439 \series bold
36440 Note:
36441 \series default
36442  DVI-files do not contain images; they will only be a linked.
36443 \end_layout
36444
36445 \end_inset
36446
36447  So don't forget this, if you move your 
36448 \family typewriter
36449 .dvi
36450 \family default
36451  file to another computer.
36452  This property can also slow down your computer when you view the DVI, because
36453  the DVI-viewer has to convert the image in the background to make it visible
36454  when you scroll in the DVI.
36455  So it is recommended that you use PDF for files with many images.
36456 \end_layout
36457
36458 \begin_layout Standard
36459 You can export your document to DVI by using the menu 
36460 \family sans
36461 File\SpecialChar \menuseparator
36462 Export\SpecialChar \menuseparator
36463 DVI
36464 \family default
36465 .
36466  You can view your document as DVI via the 
36467 \family sans
36468 View
36469 \family default
36470  menu or by using the toolbar button 
36471 \begin_inset Graphics
36472         filename ../images/buffer-view_dvi.png
36473         scale 85
36474         scaleBeforeRotation
36475
36476 \end_inset
36477
36478 .
36479 \end_layout
36480
36481 \begin_layout Section
36482 PostScript
36483 \begin_inset CommandInset label
36484 LatexCommand label
36485 name "sec:PostScript"
36486
36487 \end_inset
36488
36489
36490 \begin_inset Index idx
36491 status collapsed
36492
36493 \begin_layout Plain Layout
36494 File Formats ! PostScript
36495 \end_layout
36496
36497 \end_inset
36498
36499
36500 \begin_inset Index idx
36501 status collapsed
36502
36503 \begin_layout Plain Layout
36504 PostScript|see
36505 \begin_inset ERT
36506 status collapsed
36507
36508 \begin_layout Plain Layout
36509
36510 {
36511 \end_layout
36512
36513 \end_inset
36514
36515 File Formats
36516 \begin_inset ERT
36517 status collapsed
36518
36519 \begin_layout Plain Layout
36520
36521 }
36522 \end_layout
36523
36524 \end_inset
36525
36526
36527 \end_layout
36528
36529 \end_inset
36530
36531
36532 \end_layout
36533
36534 \begin_layout Standard
36535 This file type has the extension 
36536 \begin_inset Quotes eld
36537 \end_inset
36538
36539
36540 \family typewriter
36541 .ps
36542 \family default
36543
36544 \begin_inset Quotes erd
36545 \end_inset
36546
36547 .
36548  PostScript was developed by the company 
36549 \family typewriter
36550 Adobe
36551 \family default
36552  as a printer language.
36553  The file therefore contains commands that the printer uses to print the
36554  file.
36555  PostScript can be seen as a 
36556 \begin_inset Quotes eld
36557 \end_inset
36558
36559 programming language
36560 \begin_inset Quotes erd
36561 \end_inset
36562
36563 ; you can calculate with it and draw diagrams and images
36564 \begin_inset Foot
36565 status collapsed
36566
36567 \begin_layout Plain Layout
36568 If you are interested to learn more about this, have a look at the LaTeX-package
36569  
36570 \series bold
36571 PSTricks
36572 \series default
36573  
36574 \begin_inset CommandInset citation
36575 LatexCommand cite
36576 key "pstricks"
36577
36578 \end_inset
36579
36580 .
36581 \end_layout
36582
36583 \end_inset
36584
36585 .
36586  Due to this ability, the files are often bigger than PDFs.
36587 \end_layout
36588
36589 \begin_layout Standard
36590 PostScript can only contain images in the format 
36591 \begin_inset Quotes eld
36592 \end_inset
36593
36594 Encapsulated PostScript
36595 \begin_inset Quotes erd
36596 \end_inset
36597
36598  (EPS, file extension 
36599 \begin_inset Quotes eld
36600 \end_inset
36601
36602
36603 \family typewriter
36604 .eps
36605 \family default
36606
36607 \begin_inset Quotes erd
36608 \end_inset
36609
36610 ).
36611  As LyX allows you to use any known image format in your document, it has
36612  to convert images in the background to EPS.
36613  If you have e.g.
36614 \begin_inset space ~
36615 \end_inset
36616
36617 50
36618 \begin_inset space ~
36619 \end_inset
36620
36621 images in your document, LyX has to do 50
36622 \begin_inset space ~
36623 \end_inset
36624
36625 conversions whenever you view or export your document.
36626  This will slow down your work flow with LyX drastically.
36627  So if you plan to use PostScript, you can insert your images directly as
36628  EPS to avoid this problem.
36629 \end_layout
36630
36631 \begin_layout Standard
36632 You can export your document to PostScript using the menu 
36633 \family sans
36634 File\SpecialChar \menuseparator
36635 Export\SpecialChar \menuseparator
36636 Postscript
36637 \family default
36638 .
36639  You can view your document as PostScript via the 
36640 \family sans
36641 View
36642 \family default
36643  menu or by using the toolbar button 
36644 \begin_inset Graphics
36645         filename ../images/buffer-view_ps.png
36646         scale 85
36647         scaleBeforeRotation
36648
36649 \end_inset
36650
36651 .
36652 \end_layout
36653
36654 \begin_layout Section
36655 PDF
36656 \begin_inset Index idx
36657 status collapsed
36658
36659 \begin_layout Plain Layout
36660 File Formats ! PDF
36661 \end_layout
36662
36663 \end_inset
36664
36665
36666 \begin_inset Index idx
36667 status collapsed
36668
36669 \begin_layout Plain Layout
36670 PDF
36671 \end_layout
36672
36673 \end_inset
36674
36675
36676 \end_layout
36677
36678 \begin_layout Standard
36679 This file type has the extension 
36680 \begin_inset Quotes eld
36681 \end_inset
36682
36683
36684 \family typewriter
36685 .pdf
36686 \family default
36687
36688 \begin_inset Quotes erd
36689 \end_inset
36690
36691 .
36692  The 
36693 \begin_inset Quotes eld
36694 \end_inset
36695
36696 Portable Document Format
36697 \begin_inset Quotes erd
36698 \end_inset
36699
36700  (PDF) was developed by 
36701 \family typewriter
36702 Adobe
36703 \family default
36704  as a derivative of PostScript.
36705  It is more compressed and it uses fewer commands than PostScript.
36706  As the name 
36707 \begin_inset Quotes eld
36708 \end_inset
36709
36710 portable
36711 \begin_inset Quotes erd
36712 \end_inset
36713
36714  implies, it can be processed at any computer system and the printed output
36715  looks exactly the same.
36716 \end_layout
36717
36718 \begin_layout Standard
36719 PDF can contain images in its own PDF format, in the format 
36720 \begin_inset Quotes eld
36721 \end_inset
36722
36723 Joint Photographic Experts Group
36724 \begin_inset Quotes erd
36725 \end_inset
36726
36727  (JPG, file extension 
36728 \begin_inset Quotes eld
36729 \end_inset
36730
36731
36732 \family typewriter
36733 .jpg
36734 \family default
36735
36736 \begin_inset Quotes erd
36737 \end_inset
36738
36739  or 
36740 \begin_inset Quotes eld
36741 \end_inset
36742
36743
36744 \family typewriter
36745 .jpeg
36746 \family default
36747
36748 \begin_inset Quotes erd
36749 \end_inset
36750
36751 ), and in the format 
36752 \begin_inset Quotes eld
36753 \end_inset
36754
36755 Portable Network Graphics
36756 \begin_inset Quotes erd
36757 \end_inset
36758
36759  (PNG, file extension 
36760 \begin_inset Quotes eld
36761 \end_inset
36762
36763
36764 \family typewriter
36765 .png
36766 \family default
36767
36768 \begin_inset Quotes erd
36769 \end_inset
36770
36771 ).
36772  Nevertheless you can use any other image format, because LyX converts them
36773  in the background to one of these formats.
36774  But as described in the section about PostScript, the image conversion
36775  will slow down your work flow.
36776  So it is recommended that you use images in one of the three mentioned
36777  formats.
36778 \end_layout
36779
36780 \begin_layout Standard
36781 You can export your document to PDF via the menu 
36782 \family sans
36783 File\SpecialChar \menuseparator
36784 Export
36785 \family default
36786  in three different ways:
36787 \end_layout
36788
36789 \begin_layout Description
36790 PDF
36791 \begin_inset space ~
36792 \end_inset
36793
36794 (ps2pdf) This uses the program 
36795 \family typewriter
36796 ps2pdf
36797 \family default
36798  that creates a PDF from a PostScript-version of your file.
36799  The PostScript-version is produced by the program 
36800 \family typewriter
36801 dvips
36802 \family default
36803  which uses a DVI-version as intermediate step.
36804  So this export variant consists of three conversions.
36805 \end_layout
36806
36807 \begin_layout Description
36808 PDF
36809 \begin_inset space ~
36810 \end_inset
36811
36812 (dvipdfm) This uses the program 
36813 \family typewriter
36814 dvipdfm
36815 \family default
36816  that converts your file in the background to DVI and in a second step to
36817  PDF.
36818 \end_layout
36819
36820 \begin_layout Description
36821 PDF
36822 \begin_inset space ~
36823 \end_inset
36824
36825 (pdflatex) This uses the program 
36826 \family typewriter
36827 pdftex
36828 \family default
36829  that converts your file directly to PDF.
36830 \end_layout
36831
36832 \begin_layout Standard
36833 It is recommended that you use 
36834 \family sans
36835 PDF
36836 \begin_inset space ~
36837 \end_inset
36838
36839 (pdflatex)
36840 \family default
36841  because 
36842 \family typewriter
36843 pdftex
36844 \family default
36845  supports all features of actual PDF-versions, is quick and works stable.
36846  The program 
36847 \family typewriter
36848 dvipdfm
36849 \family default
36850  is not under development and therefore a bit outdated.
36851 \end_layout
36852
36853 \begin_layout Standard
36854 You can view your document as PDF via the 
36855 \family sans
36856 View
36857 \family default
36858  menu or by using the toolbar button 
36859 \begin_inset Graphics
36860         filename ../images/buffer-view_pdf2.png
36861         scale 85
36862         scaleBeforeRotation
36863
36864 \end_inset
36865
36866  
36867 \family sans
36868 (
36869 \family default
36870 that uses 
36871 \family sans
36872 PDF
36873 \begin_inset space ~
36874 \end_inset
36875
36876 (pdflatex)
36877 \family default
36878 ).
36879 \end_layout
36880
36881 \begin_layout Chapter
36882 Explanation of Equation
36883 \begin_inset space ~
36884 \end_inset
36885
36886 (
36887 \begin_inset CommandInset ref
36888 LatexCommand ref
36889 reference "eq:Wgn"
36890
36891 \end_inset
36892
36893 )
36894 \begin_inset CommandInset label
36895 LatexCommand label
36896 name "cha:Explanation-of-Equation"
36897
36898 \end_inset
36899
36900
36901 \end_layout
36902
36903 \begin_layout Standard
36904 We can calculate the total width of 
36905 \emph on
36906 n
36907 \emph default
36908  table cells 
36909 \begin_inset Formula $W_{\mathrm{tot\, n}}$
36910 \end_inset
36911
36912  as follows:
36913 \end_layout
36914
36915 \begin_layout Standard
36916 \begin_inset Formula 
36917 \begin{equation}
36918 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
36919 \end{equation}
36920
36921 \end_inset
36922
36923 where 
36924 \begin_inset Formula $W_{g\, n}$
36925 \end_inset
36926
36927  is the given width of all cells, 
36928 \series bold
36929
36930 \backslash
36931 tabcolsep
36932 \series default
36933  is the LaTeX-length between the cell text and the cell border (its default
36934  value is 6
36935 \begin_inset space \thinspace{}
36936 \end_inset
36937
36938 pt).
36939  
36940 \series bold
36941
36942 \backslash
36943 arrayrulewidth
36944 \series default
36945  is the thickness of the cell border line, the default is 0.4
36946 \begin_inset space \thinspace{}
36947 \end_inset
36948
36949 pt.
36950 \end_layout
36951
36952 \begin_layout Standard
36953 Following equation
36954 \begin_inset space ~
36955 \end_inset
36956
36957
36958 \begin_inset CommandInset ref
36959 LatexCommand eqref
36960 reference "eq:Wtot_n"
36961
36962 \end_inset
36963
36964 , the total width of a multicolumn 
36965 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
36966 \end_inset
36967
36968  is
36969 \end_layout
36970
36971 \begin_layout Standard
36972 \begin_inset Formula 
36973 \begin{equation}
36974 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
36975 \end{equation}
36976
36977 \end_inset
36978
36979
36980 \end_layout
36981
36982 \begin_layout Standard
36983 By setting equation
36984 \begin_inset space ~
36985 \end_inset
36986
36987
36988 \begin_inset CommandInset ref
36989 LatexCommand eqref
36990 reference "eq:Wtot_n"
36991
36992 \end_inset
36993
36994  and 
36995 \begin_inset CommandInset ref
36996 LatexCommand eqref
36997 reference "eq:Wtot_mult"
36998
36999 \end_inset
37000
37001  equal we can calculate the needed given width 
37002 \begin_inset Formula $W_{g\, n}$
37003 \end_inset
37004
37005  when 
37006 \emph on
37007 n
37008 \emph default
37009  columns are spanned, so that each column has a total width of 
37010 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
37011 \end_inset
37012
37013 :
37014 \end_layout
37015
37016 \begin_layout Standard
37017 \begin_inset Formula 
37018 \begin{equation}
37019 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
37020 \end{equation}
37021
37022 \end_inset
37023
37024
37025 \end_layout
37026
37027 \begin_layout Bibliography
37028 \labelwidthstring Bibliography
37029 \begin_inset CommandInset bibitem
37030 LatexCommand bibitem
37031 key "latexcompanion"
37032
37033 \end_inset
37034
37035 Frank Mittelbach and Michel Goossens: 
37036 \emph on
37037 The LaTeX Companion Second Edition.
37038
37039 \emph default
37040  Addison-Wesley, 2004
37041 \end_layout
37042
37043 \begin_layout Bibliography
37044 \labelwidthstring Bibliography
37045 \begin_inset CommandInset bibitem
37046 LatexCommand bibitem
37047 key "latexguide"
37048
37049 \end_inset
37050
37051 Helmut Kopka and Patrick W.
37052  Daly: 
37053 \emph on
37054 A Guide to LaTeX Fourth Edition.
37055
37056 \emph default
37057  Addison-Wesley, 2003
37058 \end_layout
37059
37060 \begin_layout Bibliography
37061 \labelwidthstring Bibliography
37062 \begin_inset CommandInset bibitem
37063 LatexCommand bibitem
37064 key "latexbook"
37065
37066 \end_inset
37067
37068 Leslie Lamport: 
37069 \emph on
37070 LaTeX: A Document Preparation System.
37071
37072 \emph default
37073  Addison-Wesley, second edition, 1994
37074 \end_layout
37075
37076 \begin_layout Bibliography
37077 \labelwidthstring Bibliography
37078 \begin_inset CommandInset bibitem
37079 LatexCommand bibitem
37080 key "booktabs"
37081
37082 \end_inset
37083
37084 Documentation of the LaTeX-package 
37085 \series bold
37086
37087 \begin_inset CommandInset href
37088 LatexCommand href
37089 name "booktabs"
37090 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
37091
37092 \end_inset
37093
37094
37095 \series default
37096
37097 \begin_inset Index idx
37098 status collapsed
37099
37100 \begin_layout Plain Layout
37101 LaTeX-packages ! booktabs
37102 \end_layout
37103
37104 \end_inset
37105
37106
37107 \end_layout
37108
37109 \begin_layout Bibliography
37110 \labelwidthstring Bibliography
37111 \begin_inset CommandInset bibitem
37112 LatexCommand bibitem
37113 key "caption"
37114
37115 \end_inset
37116
37117 Documentation of the LaTeX-package 
37118 \series bold
37119
37120 \begin_inset CommandInset href
37121 LatexCommand href
37122 name "caption"
37123 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
37124
37125 \end_inset
37126
37127
37128 \series default
37129
37130 \begin_inset Index idx
37131 status collapsed
37132
37133 \begin_layout Plain Layout
37134 LaTeX-packages ! caption
37135 \end_layout
37136
37137 \end_inset
37138
37139
37140 \end_layout
37141
37142 \begin_layout Bibliography
37143 \labelwidthstring Bibliography
37144 \begin_inset CommandInset bibitem
37145 LatexCommand bibitem
37146 key "endfloat"
37147
37148 \end_inset
37149
37150 Documentation of the LaTeX-package 
37151 \series bold
37152
37153 \begin_inset CommandInset href
37154 LatexCommand href
37155 name "endfloat"
37156 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
37157
37158 \end_inset
37159
37160
37161 \series default
37162
37163 \begin_inset Index idx
37164 status collapsed
37165
37166 \begin_layout Plain Layout
37167 LaTeX-packages ! endfloat
37168 \end_layout
37169
37170 \end_inset
37171
37172
37173 \end_layout
37174
37175 \begin_layout Bibliography
37176 \labelwidthstring Bibliography
37177 \begin_inset CommandInset bibitem
37178 LatexCommand bibitem
37179 key "footmisc"
37180
37181 \end_inset
37182
37183 Documentation of the LaTeX-package 
37184 \series bold
37185
37186 \begin_inset CommandInset href
37187 LatexCommand href
37188 name "footmisc"
37189 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
37190
37191 \end_inset
37192
37193
37194 \series default
37195
37196 \begin_inset Index idx
37197 status collapsed
37198
37199 \begin_layout Plain Layout
37200 LaTeX-packages ! footmisc
37201 \end_layout
37202
37203 \end_inset
37204
37205
37206 \end_layout
37207
37208 \begin_layout Bibliography
37209 \labelwidthstring Bibliography
37210 \begin_inset CommandInset bibitem
37211 LatexCommand bibitem
37212 key "hypcap"
37213
37214 \end_inset
37215
37216 Documentation of the LaTeX-package 
37217 \series bold
37218
37219 \begin_inset CommandInset href
37220 LatexCommand href
37221 name "hypcap"
37222 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
37223
37224 \end_inset
37225
37226
37227 \series default
37228
37229 \begin_inset Index idx
37230 status collapsed
37231
37232 \begin_layout Plain Layout
37233 LaTeX-packages ! hyperref
37234 \end_layout
37235
37236 \end_inset
37237
37238
37239 \end_layout
37240
37241 \begin_layout Bibliography
37242 \labelwidthstring Bibliography
37243 \begin_inset CommandInset bibitem
37244 LatexCommand bibitem
37245 key "hyperref"
37246
37247 \end_inset
37248
37249 Documentation of the LaTeX-package 
37250 \series bold
37251
37252 \begin_inset CommandInset href
37253 LatexCommand href
37254 name "hyperref"
37255 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
37256
37257 \end_inset
37258
37259
37260 \series default
37261
37262 \begin_inset Index idx
37263 status collapsed
37264
37265 \begin_layout Plain Layout
37266 LaTeX-packages ! hyperref
37267 \end_layout
37268
37269 \end_inset
37270
37271
37272 \end_layout
37273
37274 \begin_layout Bibliography
37275 \labelwidthstring Bibliography
37276 \begin_inset CommandInset bibitem
37277 LatexCommand bibitem
37278 key "KOMA-Script"
37279
37280 \end_inset
37281
37282 Documentation of the LaTeX-package 
37283 \series bold
37284
37285 \begin_inset CommandInset href
37286 LatexCommand href
37287 name "KOMA-Script"
37288 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
37289
37290 \end_inset
37291
37292
37293 \series default
37294
37295 \begin_inset Index idx
37296 status collapsed
37297
37298 \begin_layout Plain Layout
37299 LaTeX-packages ! KOMA-Script
37300 \end_layout
37301
37302 \end_inset
37303
37304
37305 \end_layout
37306
37307 \begin_layout Bibliography
37308 \labelwidthstring Bibliography
37309 \begin_inset CommandInset bibitem
37310 LatexCommand bibitem
37311 key "listings"
37312
37313 \end_inset
37314
37315 Documentation of the LaTeX-package 
37316 \series bold
37317
37318 \begin_inset CommandInset href
37319 LatexCommand href
37320 name "listings"
37321 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
37322
37323 \end_inset
37324
37325
37326 \series default
37327
37328 \begin_inset Index idx
37329 status collapsed
37330
37331 \begin_layout Plain Layout
37332 LaTeX-packages ! listings
37333 \end_layout
37334
37335 \end_inset
37336
37337
37338 \end_layout
37339
37340 \begin_layout Bibliography
37341 \labelwidthstring Bibliography
37342 \begin_inset CommandInset bibitem
37343 LatexCommand bibitem
37344 key "marginnote"
37345
37346 \end_inset
37347
37348 Documentation of the LaTeX-package 
37349 \series bold
37350
37351 \begin_inset CommandInset href
37352 LatexCommand href
37353 name "marginnote"
37354 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
37355
37356 \end_inset
37357
37358
37359 \series default
37360
37361 \begin_inset Index idx
37362 status collapsed
37363
37364 \begin_layout Plain Layout
37365 LaTeX-packages ! marginnote
37366 \end_layout
37367
37368 \end_inset
37369
37370
37371 \end_layout
37372
37373 \begin_layout Bibliography
37374 \labelwidthstring Bibliography
37375 \begin_inset CommandInset bibitem
37376 LatexCommand bibitem
37377 key "lettrine"
37378
37379 \end_inset
37380
37381 Documentation of the LaTeX-package 
37382 \series bold
37383
37384 \begin_inset CommandInset href
37385 LatexCommand href
37386 name "lettrine"
37387 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
37388
37389 \end_inset
37390
37391
37392 \series default
37393  and an 
37394 \begin_inset CommandInset href
37395 LatexCommand href
37396 name "example"
37397 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
37398
37399 \end_inset
37400
37401
37402 \begin_inset Index idx
37403 status collapsed
37404
37405 \begin_layout Plain Layout
37406 LaTeX-packages ! lettrine
37407 \end_layout
37408
37409 \end_inset
37410
37411
37412 \end_layout
37413
37414 \begin_layout Bibliography
37415 \labelwidthstring Bibliography
37416 \begin_inset CommandInset bibitem
37417 LatexCommand bibitem
37418 key "pstricks"
37419
37420 \end_inset
37421
37422 Web page of the LaTeX-package 
37423 \series bold
37424
37425 \begin_inset CommandInset href
37426 LatexCommand href
37427 name "PSTricks"
37428 target "http://tug.org/PSTricks/"
37429
37430 \end_inset
37431
37432
37433 \series default
37434
37435 \begin_inset Index idx
37436 status collapsed
37437
37438 \begin_layout Plain Layout
37439 LaTeX-packages ! PSTricks
37440 \end_layout
37441
37442 \end_inset
37443
37444
37445 \end_layout
37446
37447 \begin_layout Bibliography
37448 \labelwidthstring Bibliography
37449 \begin_inset CommandInset bibitem
37450 LatexCommand bibitem
37451 key "sidecap"
37452
37453 \end_inset
37454
37455 Documentation of the LaTeX-package 
37456 \series bold
37457
37458 \begin_inset CommandInset href
37459 LatexCommand href
37460 name "sidecap"
37461 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
37462
37463 \end_inset
37464
37465
37466 \series default
37467
37468 \begin_inset Index idx
37469 status collapsed
37470
37471 \begin_layout Plain Layout
37472 LaTeX-packages ! sidecap
37473 \end_layout
37474
37475 \end_inset
37476
37477
37478 \end_layout
37479
37480 \begin_layout Bibliography
37481 \labelwidthstring Bibliography
37482 \begin_inset CommandInset bibitem
37483 LatexCommand bibitem
37484 key "prettyref"
37485
37486 \end_inset
37487
37488 Documentation of the LaTeX-package 
37489 \series bold
37490
37491 \begin_inset CommandInset href
37492 LatexCommand href
37493 name "prettyref"
37494 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
37495
37496 \end_inset
37497
37498
37499 \series default
37500
37501 \begin_inset Index idx
37502 status collapsed
37503
37504 \begin_layout Plain Layout
37505 LaTeX-packages ! prettyref
37506 \end_layout
37507
37508 \end_inset
37509
37510
37511 \end_layout
37512
37513 \begin_layout Bibliography
37514 \labelwidthstring Bibliography
37515 \begin_inset CommandInset bibitem
37516 LatexCommand bibitem
37517 key "refstyle"
37518
37519 \end_inset
37520
37521 Documentation of the LaTeX-package 
37522 \series bold
37523
37524 \begin_inset CommandInset href
37525 LatexCommand href
37526 name "refstyle"
37527 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
37528
37529 \end_inset
37530
37531
37532 \series default
37533
37534 \begin_inset Index idx
37535 status collapsed
37536
37537 \begin_layout Plain Layout
37538 LaTeX-packages ! refstyle
37539 \end_layout
37540
37541 \end_inset
37542
37543
37544 \end_layout
37545
37546 \begin_layout Bibliography
37547 \labelwidthstring Bibliography
37548 \begin_inset CommandInset bibitem
37549 LatexCommand bibitem
37550 key "NewInLyX20"
37551
37552 \end_inset
37553
37554
37555 \begin_inset CommandInset href
37556 LatexCommand href
37557 name "Wiki page"
37558 target "http://wiki.lyx.org/LyX/NewInLyX20"
37559
37560 \end_inset
37561
37562  about new features in 
37563 \family sans
37564 LyX 2.0
37565 \family default
37566 .
37567 \end_layout
37568
37569 \begin_layout Standard
37570 \begin_inset CommandInset index_print
37571 LatexCommand printindex
37572 type "idx"
37573
37574 \end_inset
37575
37576
37577 \end_layout
37578
37579 \end_body
37580 \end_document