]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
5e960f1a1197169b0ffe91f841b9c05a2f8c7656
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.2svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
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}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells
110 \@ifundefined{extrarowheight}
111  {\usepackage{array}}{}
112 \setlength{\extrarowheight}{2pt}
113
114 % used for customized tables
115 % ---
116 \newcolumntype{M}[1]
117  {>{\centering\hspace{0pt}}m{#1}}
118
119 \newcolumntype{S}[2]
120  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
121
122 \newcolumntype{K}[1]
123  {>{\columncolor{#1}\hspace{0pt}}c}
124
125 \newcolumntype{V}{!{\vrule width 1.5pt}}
126
127 \newcolumntype{W}{!{\color{green}\vline}}
128 % ---
129
130 % insert additional vertical space of
131 % 1.5 mm between footnotes
132 \let\myFoot\footnote
133 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
134
135 % enable algorithm floats to be referenced
136 \newfloat{Xalgorithm}{tbp}{loa}
137 \floatname{Xalgorithm}{Algorithm}
138 \newcommand{\theHalgorithm}{\theHXalgorithm}
139 \renewenvironment{algorithm}[1][tbp]
140  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
141
142 % number algorithm floats within chapters
143 \numberwithin{Xalgorithm}{chapter}
144
145 % redefine the greyed out note
146 \renewenvironment{lyxgreyedout}
147  {\textcolor{blue}\bgroup}{\egroup}
148
149 % ------------------------------------
150 % used to check for needed LaTeX packages
151 \usepackage{ifthen}
152
153 % check for package arydshln
154 % used for tables with dashed lines
155 \newboolean{arydshln}
156 \IfFileExists{arydshln.sty}
157  {\usepackage{arydshln}
158   \setboolean{arydshln}{true}}
159  {\setboolean{arydshln}{false}}
160
161 % check for package marginnote
162 % used for margin notes
163 \newboolean{marginnote}
164 \IfFileExists{marginnote.sty}
165  {\usepackage{marginnote}
166   \let\marginpar\marginnote
167   \setboolean{marginnote}{true}}
168  {\setboolean{marginnote}{false}}
169
170 % redefine the \LyX macro for PDF bookmarks
171 \def\LyX{\texorpdfstring{%
172   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
173   {LyX }}
174 \end_preamble
175 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
176 \language english
177 \inputencoding auto
178 \font_roman default
179 \font_sans default
180 \font_typewriter default
181 \font_default_family default
182 \font_sc false
183 \font_osf false
184 \font_sf_scale 100
185 \font_tt_scale 100
186 \graphics default
187 \paperfontsize 12
188 \spacing single
189 \papersize default
190 \use_geometry false
191 \use_amsmath 2
192 \use_esint 0
193 \cite_engine basic
194 \use_bibtopic false
195 \paperorientation portrait
196 \secnumdepth 3
197 \tocdepth 3
198 \paragraph_separation skip
199 \defskip medskip
200 \quotes_language english
201 \papercolumns 1
202 \papersides 2
203 \paperpagestyle default
204 \bullet 1 1 34 -1
205 \bullet 2 2 35 -1
206 \bullet 3 2 7 -1
207 \tracking_changes false
208 \output_changes false
209 \author "" 
210 \author "" 
211 \end_header
212
213 \begin_body
214
215 \begin_layout Title
216 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
217  manual
218 \end_layout
219
220 \begin_layout Author
221 by the LyX Team
222 \begin_inset Foot
223 status collapsed
224
225 \begin_layout Standard
226 \noindent
227 If you have comments or error corrections, please send them to the LyX Documenta
228 tion mailing list: 
229 \family typewriter
230
231 \begin_inset ERT
232 status open
233
234 \begin_layout Standard
235
236
237 \backslash
238 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
239 \end_layout
240
241 \end_inset
242
243 lyx-docs@lists.lyx.org
244 \begin_inset ERT
245 status collapsed
246
247 \begin_layout Standard
248
249 }
250 \end_layout
251
252 \end_inset
253
254
255 \end_layout
256
257 \end_inset
258
259
260 \begin_inset Note Note
261 status collapsed
262
263 \begin_layout Standard
264 original author: Uwe Stöhr
265 \end_layout
266
267 \end_inset
268
269
270 \newline
271
272 \newline
273
274 \family sans
275 Version 1.5.2-0
276 \end_layout
277
278 \begin_layout Standard
279 \begin_inset LatexCommand tableofcontents
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout Standard
287 \begin_inset Note Note
288 status open
289
290 \begin_layout Standard
291 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
292  
293 \series bold
294 arydshln
295 \series default
296  and 
297 \series bold
298 marginnote
299 \series default
300  must be installed.
301  If they are not installed you can export the document anyway but the sections
302  where the packages are required won't appear in the output.
303 \end_layout
304
305 \begin_layout Standard
306 The latest PDF-version of this document can be found here:
307 \newline
308
309 \series bold
310 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
311 \end_layout
312
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Chapter
319 Figures
320 \begin_inset LatexCommand label
321 name "cha:Figures"
322
323 \end_inset
324
325
326 \begin_inset LatexCommand index
327 name "Figures"
328
329 \end_inset
330
331
332 \begin_inset LatexCommand index
333 name "Graphics|see{Figures}"
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Section
341 Graphics Dialog
342 \begin_inset LatexCommand index
343 name "Figures ! Graphics Dialog"
344
345 \end_inset
346
347
348 \begin_inset LatexCommand label
349 name "sec:Graphics-Dialog"
350
351 \end_inset
352
353
354 \end_layout
355
356 \begin_layout Standard
357 To insert an image into your document, place the cursor at the text position
358  you want and click on the toolbar icon 
359 \begin_inset Graphics
360         filename ../images/dialog-show-new-inset_graphics.xpm
361         scale 85
362         scaleBeforeRotation
363
364 \end_inset
365
366  or use the menu 
367 \family sans
368 Insert\SpecialChar \menuseparator
369 Graphics
370 \family default
371 .
372  Then a dialog will appear to choose the file to load.
373  The image will appear in the output exactly at the position where it is
374  in the text.
375 \end_layout
376
377 \begin_layout Standard
378 The graphics dialog can be called at any time by right-clicking on an image.
379  This dialog has three tabs:
380 \end_layout
381
382 \begin_layout Description
383
384 \family sans
385 Graphics
386 \family default
387  Here you can choose an image file and adjust its appearance in the output.
388  The available units for the image size are explained in appendix\InsetSpace ~
389
390 \begin_inset LatexCommand ref
391 reference "cha:Units-available-in"
392
393 \end_inset
394
395 .
396 \newline
397 You can rotate images counter-clockwise by setting a rotation angle and
398  a rotation origin.
399  The image will also be rotated inside LyX.
400 \newline
401 Images can be scaled by using
402  a percentage value or by setting the width and height explicitly.
403  If you set only the width or only the height, the other size will be determined
404  automatically.
405  If you set both, then the image will be transformed to the given size,
406  possibly distorting it.
407  To prevent the image from distortion, use the option 
408 \family sans
409 Maintain aspect ratio
410 \family default
411 .
412  The image will then be scaled so that its width and height don't exceed
413  the specified dimensions.
414 \newline
415 Images can be opened in a program of your choice
416  when pressing the 
417 \family sans
418 Edit
419 \family default
420  button.
421  The program can be set for every image format in the file format settings
422  in LyX's preferences.
423 \end_layout
424
425 \begin_layout Description
426
427 \family sans
428 Clipping
429 \family default
430  Alternatively to the usage of scaling units it is possible to set image
431  coordinates to adjust the height and width of the image in the output.
432  The coordinates can also be calculated automatically by pressing the button
433  
434 \family sans
435 Get\InsetSpace ~
436 from\InsetSpace ~
437 File
438 \family default
439 .
440  The option 
441 \family sans
442 Clip\InsetSpace ~
443 to\InsetSpace ~
444 bounding\InsetSpace ~
445 box
446 \family default
447  will only print the image region within the given coordinates.
448  Normally you don't need to take care about image coordinates and can ignore
449  this tab.
450 \end_layout
451
452 \begin_layout Description
453
454 \family sans
455 Extra\InsetSpace ~
456 options
457 \family default
458  In this tab you can modify the appearance of the image within LyX and set
459  the image to be a subfigure of a figure float with an own caption.
460  Subfigures are explained in section\InsetSpace ~
461
462 \begin_inset LatexCommand ref
463 reference "sec:Figure-Floats"
464
465 \end_inset
466
467 .
468 \newline
469  LaTeX experts can also specify on this tab additional LaTeX options.
470 \newline
471  The
472  option 
473 \family sans
474 Draft\InsetSpace ~
475 mode
476 \family default
477  makes the image appear in the output only as a frame with the size of the
478  image.
479 \newline
480 The 
481 \family sans
482 Don't\InsetSpace ~
483 unzip\InsetSpace ~
484 on\InsetSpace ~
485 export
486 \family default
487  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
488 g.\InsetSpace ~
489
490 \emph on
491 x.eps.gz
492 \emph default
493 .
494  When the option is used the images will not be unzipped on export, since
495  LaTeX can handle them as they are.
496 \newline
497 Zipped EPS-graphics are useful to save
498  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
499
500 \begin_inset LatexCommand ref
501 reference "sec:PostScript"
502
503 \end_inset
504
505 .
506  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
507  console:
508 \newline
509
510 \series bold
511 gzip x.eps
512 \series default
513
514 \newline
515
516 \series bold
517 zgrep %%Bounding x.eps.gz > x.eps.bb
518 \series default
519
520 \newline
521 The second command creates the bounding box file 
522 \begin_inset Quotes eld
523 \end_inset
524
525 x.eps.bb
526 \begin_inset Quotes erd
527 \end_inset
528
529  that is needed by LaTeX for zipped graphics.
530 \end_layout
531
532 \begin_layout Standard
533 \begin_inset VSpace bigskip
534 \end_inset
535
536
537 \end_layout
538
539 \begin_layout Standard
540 This is an example image in EPS format
541 \begin_inset Foot
542 status collapsed
543
544 \begin_layout Standard
545 Image formats are explained in section\InsetSpace ~
546
547 \begin_inset LatexCommand ref
548 reference "sec:Image-Formats"
549
550 \end_inset
551
552 .
553 \end_layout
554
555 \end_inset
556
557  within a separate, horizontally centered paragraph:
558 \end_layout
559
560 \begin_layout Standard
561 \align center
562 \begin_inset Graphics
563         filename clipart/mobius.eps
564         display color
565         scale 70
566         scaleBeforeRotation
567         rotateOrigin center
568
569 \end_inset
570
571
572 \end_layout
573
574 \begin_layout Standard
575 This is the same image like the one above but in draft mode:
576 \end_layout
577
578 \begin_layout Standard
579 \align center
580 \begin_inset Graphics
581         filename clipart/mobius.eps
582         display color
583         scale 70
584         draft
585         scaleBeforeRotation
586         rotateOrigin center
587
588 \end_inset
589
590
591 \end_layout
592
593 \begin_layout Section
594 Figure Floats
595 \begin_inset LatexCommand label
596 name "sec:Figure-Floats"
597
598 \end_inset
599
600
601 \begin_inset LatexCommand index
602 name "Floats ! Figures"
603
604 \end_inset
605
606
607 \begin_inset LatexCommand index
608 name "Figures ! Floats"
609
610 \end_inset
611
612
613 \end_layout
614
615 \begin_layout Standard
616 For general explanations about floats, have a look at section\InsetSpace ~
617
618 \begin_inset LatexCommand ref
619 reference "sec:FloatIntroduction"
620
621 \end_inset
622
623 .
624 \end_layout
625
626 \begin_layout Standard
627 The toolbar button 
628 \begin_inset Graphics
629         filename ../images/float-insert_figure.xpm
630         scale 85
631         scaleBeforeRotation
632
633 \end_inset
634
635  and the menu 
636 \family sans
637 Insert\SpecialChar \menuseparator
638 Float\SpecialChar \menuseparator
639 Figure
640 \family default
641  inserts a float with a caption that has the label 
642 \begin_inset Quotes eld
643 \end_inset
644
645 Figure\InsetSpace ~
646 #:
647 \begin_inset Quotes erd
648 \end_inset
649
650  (# is the actual number).
651  You can insert the image above the caption, like in Figure\InsetSpace ~
652
653 \begin_inset LatexCommand ref
654 reference "fig:kill-plat"
655
656 \end_inset
657
658  or below the caption, like in Figure\InsetSpace ~
659
660 \begin_inset LatexCommand ref
661 reference "fig:escher"
662
663 \end_inset
664
665 .
666  More about the caption placement is described in section\InsetSpace ~
667
668 \begin_inset LatexCommand ref
669 reference "sec:Caption-Placement"
670
671 \end_inset
672
673 .
674 \end_layout
675
676 \begin_layout Standard
677 \begin_inset Float figure
678 wide false
679 sideways false
680 status open
681
682 \begin_layout Standard
683 \align center
684 \begin_inset Graphics
685         filename clipart/platypus.eps
686         display color
687         width 50col%
688         scaleBeforeRotation
689         rotateOrigin center
690
691 \end_inset
692
693
694 \end_layout
695
696 \begin_layout Standard
697 \begin_inset Caption
698
699 \begin_layout Standard
700 \begin_inset LatexCommand label
701 name "fig:kill-plat"
702
703 \end_inset
704
705 A severely distorted platypus in a float.
706 \end_layout
707
708 \end_inset
709
710
711 \end_layout
712
713 \end_inset
714
715
716 \end_layout
717
718 \begin_layout Standard
719 \begin_inset Float figure
720 wide false
721 sideways false
722 status open
723
724 \begin_layout Standard
725 \begin_inset Caption
726
727 \begin_layout Standard
728 \begin_inset LatexCommand label
729 name "fig:escher"
730
731 \end_inset
732
733 M.C.
734  Escher on acid.
735 \end_layout
736
737 \end_inset
738
739
740 \end_layout
741
742 \begin_layout Standard
743 \align center
744 \begin_inset Graphics
745         filename clipart/escher-lsd.eps
746         display color
747         scale 80
748         scaleBeforeRotation
749         rotateOrigin center
750
751 \end_inset
752
753
754 \end_layout
755
756 \end_inset
757
758
759 \end_layout
760
761 \begin_layout Standard
762 \begin_inset LatexCommand index
763 name "References ! to Figures"
764
765 \end_inset
766
767 Figure\InsetSpace ~
768
769 \begin_inset LatexCommand ref
770 reference "fig:kill-plat"
771
772 \end_inset
773
774  and 
775 \begin_inset LatexCommand ref
776 reference "fig:escher"
777
778 \end_inset
779
780  are examples of referenced figures.
781  Figures can be referenced in the text by referencing their label.
782  To do this insert a label in the caption using the menu 
783 \family sans
784 Insert\SpecialChar \menuseparator
785 Label
786 \family default
787  or the toolbar button 
788 \begin_inset Graphics
789         filename ../images/label-insert.xpm
790         scale 85
791         scaleBeforeRotation
792
793 \end_inset
794
795 .
796  You can now refer to the label using the menu 
797 \family sans
798 Insert\SpecialChar \menuseparator
799 Cross\InsetSpace ~
800 reference
801 \family default
802  or the toolbar button 
803 \begin_inset Graphics
804         filename ../images/dialog-show-new-inset_ref.xpm
805         scale 85
806         scaleBeforeRotation
807
808 \end_inset
809
810 .
811  It is important to use references to floats, rather than using vague references
812  like 
813 \begin_inset Quotes eld
814 \end_inset
815
816 the figure above
817 \begin_inset Quotes erd
818 \end_inset
819
820 , because as LaTeX will reposition the floats in the final document, it
821  might not be 
822 \begin_inset Quotes eld
823 \end_inset
824
825 above
826 \begin_inset Quotes erd
827 \end_inset
828
829  at all.
830 \newline
831 Referencing is explained in detail in section\InsetSpace ~
832
833 \begin_inset LatexCommand ref
834 reference "sec:Referencing-Floats"
835
836 \end_inset
837
838 .
839 \end_layout
840
841 \begin_layout Standard
842 Normally only one image is inserted to a figure float, but sometimes you
843  might want to use two images with separate subcaptions.
844  This can be set in the tab 
845 \family sans
846 Extra\InsetSpace ~
847 options
848 \family default
849  of the graphics dialog.
850  Choose there the option 
851 \family sans
852 Subfigure
853 \family default
854  and enter the subcaption for the image in the caption field.
855  Note that only the main caption of the float is added to the List of Figures.
856 \newline
857 Ref
858 erencing subfigures is explained in section\InsetSpace ~
859
860 \begin_inset LatexCommand ref
861 reference "sub:Referencing-Subfigures"
862
863 \end_inset
864
865 .
866 \end_layout
867
868 \begin_layout Standard
869 Figure\InsetSpace ~
870
871 \begin_inset LatexCommand ref
872 reference "fig:Two-distorted-images"
873
874 \end_inset
875
876  is an example of a figure float with two images set side by side.
877  You can also set the images one below the other.
878 \end_layout
879
880 \begin_layout Standard
881 \begin_inset Float figure
882 wide false
883 sideways false
884 status open
885
886 \begin_layout Standard
887
888 \hfill
889
890 \begin_inset Graphics
891         filename clipart/escher-lsd.eps
892         width 45col%
893         scaleBeforeRotation
894         subcaption
895         subcaptionText "Undefinable structure"
896
897 \end_inset
898
899
900 \hfill
901
902 \begin_inset Graphics
903         filename clipart/platypus.eps
904         lyxscale 60
905         width 45col%
906         scaleBeforeRotation
907         subcaption
908         subcaptionText "\label{fig:Platypus} Platypus"
909
910 \end_inset
911
912
913 \hfill
914
915 \end_layout
916
917 \begin_layout Standard
918 \begin_inset Caption
919
920 \begin_layout Standard
921 \begin_inset LatexCommand label
922 name "fig:Two-distorted-images"
923
924 \end_inset
925
926 Two distorted images.
927 \end_layout
928
929 \end_inset
930
931
932 \end_layout
933
934 \end_inset
935
936
937 \end_layout
938
939 \begin_layout Section
940 Image Formats
941 \begin_inset LatexCommand label
942 name "sec:Image-Formats"
943
944 \end_inset
945
946
947 \begin_inset LatexCommand index
948 name "Image Formats"
949
950 \end_inset
951
952
953 \begin_inset LatexCommand index
954 name "Figures ! Image Formats"
955
956 \end_inset
957
958
959 \end_layout
960
961 \begin_layout Standard
962 You can insert images in any known file format.
963  But as explained in appendix\InsetSpace ~
964
965 \begin_inset LatexCommand ref
966 reference "cha:Output-File-Formats"
967
968 \end_inset
969
970 , every output document format allows only a few image formats.
971  LyX uses therefore the program 
972 \family typewriter
973 Imagemagick
974 \family default
975  in the background to convert the images to the right format.
976  To increase your work flow by avoiding these conversions in the background,
977  you can use only the image formats that can directly be embedded in the
978  output file format.
979  The output file formats are explained in appendix\InsetSpace ~
980
981 \begin_inset LatexCommand ref
982 reference "cha:Output-File-Formats"
983
984 \end_inset
985
986 .
987 \end_layout
988
989 \begin_layout Standard
990 Similar to fonts there are two types of image formats:
991 \end_layout
992
993 \begin_layout Description
994 Bitmap\InsetSpace ~
995 images consist of pixel values, often in a compressed form.
996  They are therefore not fully scalable and look pixeled in large zooms.
997  Well-known bitmap image formats are 
998 \begin_inset Quotes eld
999 \end_inset
1000
1001 Graphics Interchange Format
1002 \begin_inset Quotes erd
1003 \end_inset
1004
1005  (GIF, file extension 
1006 \begin_inset Quotes eld
1007 \end_inset
1008
1009
1010 \family typewriter
1011 .gif
1012 \family default
1013
1014 \begin_inset Quotes erd
1015 \end_inset
1016
1017 )
1018 \begin_inset LatexCommand index
1019 name "GIF|see{Image formats}"
1020
1021 \end_inset
1022
1023
1024 \begin_inset Quotes eld
1025 \end_inset
1026
1027 Portable Network Graphics
1028 \begin_inset Quotes erd
1029 \end_inset
1030
1031  (PNG, file extension 
1032 \begin_inset Quotes eld
1033 \end_inset
1034
1035
1036 \family typewriter
1037 .png
1038 \family default
1039
1040 \begin_inset Quotes erd
1041 \end_inset
1042
1043 )
1044 \begin_inset LatexCommand index
1045 name "PNG|see{Image formats}"
1046
1047 \end_inset
1048
1049 , and 
1050 \begin_inset Quotes eld
1051 \end_inset
1052
1053 Joint Photographic Experts Group
1054 \begin_inset Quotes erd
1055 \end_inset
1056
1057  (JPG, file extension 
1058 \begin_inset Quotes eld
1059 \end_inset
1060
1061
1062 \family typewriter
1063 .jpg
1064 \family default
1065
1066 \begin_inset Quotes erd
1067 \end_inset
1068
1069  or 
1070 \begin_inset Quotes eld
1071 \end_inset
1072
1073
1074 \family typewriter
1075 .jpeg
1076 \family default
1077
1078 \begin_inset Quotes erd
1079 \end_inset
1080
1081 )
1082 \begin_inset LatexCommand index
1083 name "JPG|see{Image formats}"
1084
1085 \end_inset
1086
1087 .
1088 \end_layout
1089
1090 \begin_layout Description
1091 Vector\InsetSpace ~
1092 images consist of vectors and can therefore be scaled to any size
1093  without data loss.
1094  The scaling ability is necessary if you want to create presentations, because
1095  presentations are always scaled by the video projector.
1096  Scaling is also useful for online documents to let the user zoom into diagrams.
1097 \newline
1098 W
1099 ell-known scalable image formats are 
1100 \begin_inset Quotes eld
1101 \end_inset
1102
1103 Scalable Vector Graphics
1104 \begin_inset Quotes erd
1105 \end_inset
1106
1107  (SVG, file extension 
1108 \begin_inset Quotes eld
1109 \end_inset
1110
1111
1112 \family typewriter
1113 .svg
1114 \family default
1115
1116 \begin_inset Quotes erd
1117 \end_inset
1118
1119 )
1120 \begin_inset LatexCommand index
1121 name "SVG|see{Image formats}"
1122
1123 \end_inset
1124
1125
1126 \begin_inset Quotes eld
1127 \end_inset
1128
1129 Encapsulated PostScript
1130 \begin_inset Quotes erd
1131 \end_inset
1132
1133  (EPS, file extension 
1134 \begin_inset Quotes eld
1135 \end_inset
1136
1137
1138 \family typewriter
1139 .eps
1140 \family default
1141
1142 \begin_inset Quotes erd
1143 \end_inset
1144
1145 )
1146 \begin_inset LatexCommand index
1147 name "EPS|see{Image formats}"
1148
1149 \end_inset
1150
1151
1152 \begin_inset Quotes eld
1153 \end_inset
1154
1155 Portable Document Format
1156 \begin_inset Quotes erd
1157 \end_inset
1158
1159  (PDF, file extension 
1160 \begin_inset Quotes eld
1161 \end_inset
1162
1163
1164 \family typewriter
1165 .pdf
1166 \family default
1167
1168 \begin_inset Quotes erd
1169 \end_inset
1170
1171 )
1172 \begin_inset LatexCommand index
1173 name "PDF"
1174
1175 \end_inset
1176
1177 , and 
1178 \begin_inset Quotes eld
1179 \end_inset
1180
1181 Windows Metafile
1182 \begin_inset Quotes erd
1183 \end_inset
1184
1185  (WMF, file extension 
1186 \begin_inset Quotes eld
1187 \end_inset
1188
1189
1190 \family typewriter
1191 .wmf
1192 \family default
1193
1194 \begin_inset Quotes erd
1195 \end_inset
1196
1197 )
1198 \begin_inset LatexCommand index
1199 name "SVG|see{Image formats}"
1200
1201 \end_inset
1202
1203 .
1204  We wrote 
1205 \begin_inset Quotes eld
1206 \end_inset
1207
1208 can be
1209 \begin_inset Quotes erd
1210 \end_inset
1211
1212 , because you can convert any bitmap image to a PDF or EPS-image and the
1213  result will still be a bitmap image.
1214  In this cases only a header with the image properties is added to the original
1215  image
1216 \begin_inset Foot
1217 status open
1218
1219 \begin_layout Standard
1220 In the case of PDF, the original image is additionally compressed.
1221 \end_layout
1222
1223 \end_inset
1224
1225 .
1226  The PDF-files generated by 
1227 \family typewriter
1228 Adobe Photoshop
1229 \family default
1230  are for example bitmap images.
1231 \end_layout
1232
1233 \begin_layout Standard
1234 Normally it is not possible to convert a bitmap image into a scalable one,
1235  only vice versa.
1236  Only the image formats PDF and EPS can directly be embedded to PDF and
1237  PostScript output files, respectively.
1238  SVG and WMF-images are recalculated to bitmaps when the output file is
1239  generated because there is currently no adequate WMF/SVG
1240 \begin_inset Formula $\to$
1241 \end_inset
1242
1243 PDF/EPS converter available.
1244 \end_layout
1245
1246 \begin_layout Chapter
1247 Tables
1248 \begin_inset LatexCommand label
1249 name "cha:Tables"
1250
1251 \end_inset
1252
1253
1254 \begin_inset LatexCommand index
1255 name "Table"
1256
1257 \end_inset
1258
1259
1260 \end_layout
1261
1262 \begin_layout Section
1263 Introduction
1264 \begin_inset LatexCommand index
1265 name "Table ! Introduction"
1266
1267 \end_inset
1268
1269
1270 \end_layout
1271
1272 \begin_layout Standard
1273 You can insert a table using either the toolbar button 
1274 \begin_inset Graphics
1275         filename ../images/tabular-insert.xpm
1276         scale 85
1277         scaleBeforeRotation
1278
1279 \end_inset
1280
1281  or the menu 
1282 \family sans
1283 Insert\SpecialChar \menuseparator
1284 Table
1285 \family default
1286 .
1287  The toolbar button offers you a graphical selection: Move the mouse to
1288  set the column/row number of the table that should be created and then
1289  press a mouse button.
1290  When you use the menu to create a table, a dialog will appear, asking you
1291  for the number of rows and columns.
1292 \newline
1293  The default table has lines around any
1294  cell and the first row appears separated from the rest of the table.
1295  This separation occurs due to a double line: The cells of the first row
1296  have a line below them and the cells of the second row have a line above
1297  them.
1298  Here is an example table:
1299 \end_layout
1300
1301 \begin_layout Standard
1302 \align center
1303 \begin_inset Tabular
1304 <lyxtabular version="3" rows="4" columns="4">
1305 <features>
1306 <column alignment="center" valignment="top" leftline="true" width="0">
1307 <column alignment="center" valignment="top" leftline="true" width="0">
1308 <column alignment="center" valignment="top" leftline="true" width="0">
1309 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1310 <row topline="true" bottomline="true">
1311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1312 \begin_inset Text
1313
1314 \begin_layout Standard
1315
1316 \end_layout
1317
1318 \end_inset
1319 </cell>
1320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1321 \begin_inset Text
1322
1323 \begin_layout Standard
1324
1325 \family roman
1326 \series medium
1327 \shape up
1328 \size normal
1329 \emph off
1330 \bar no
1331 \noun off
1332 \color none
1333 1
1334 \end_layout
1335
1336 \end_inset
1337 </cell>
1338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1339 \begin_inset Text
1340
1341 \begin_layout Standard
1342 2
1343 \end_layout
1344
1345 \end_inset
1346 </cell>
1347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1348 \begin_inset Text
1349
1350 \begin_layout Standard
1351 3
1352 \end_layout
1353
1354 \end_inset
1355 </cell>
1356 </row>
1357 <row topline="true">
1358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1359 \begin_inset Text
1360
1361 \begin_layout Standard
1362
1363 \family roman
1364 \series medium
1365 \shape up
1366 \size normal
1367 \emph off
1368 \bar no
1369 \noun off
1370 \color none
1371 A
1372 \end_layout
1373
1374 \end_inset
1375 </cell>
1376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1377 \begin_inset Text
1378
1379 \begin_layout Standard
1380
1381 \end_layout
1382
1383 \end_inset
1384 </cell>
1385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1386 \begin_inset Text
1387
1388 \begin_layout Standard
1389
1390 \end_layout
1391
1392 \end_inset
1393 </cell>
1394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1395 \begin_inset Text
1396
1397 \begin_layout Standard
1398
1399 \end_layout
1400
1401 \end_inset
1402 </cell>
1403 </row>
1404 <row topline="true">
1405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1406 \begin_inset Text
1407
1408 \begin_layout Standard
1409
1410 \family roman
1411 \series medium
1412 \shape up
1413 \size normal
1414 \emph off
1415 \bar no
1416 \noun off
1417 \color none
1418 B
1419 \end_layout
1420
1421 \end_inset
1422 </cell>
1423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1424 \begin_inset Text
1425
1426 \begin_layout Standard
1427
1428 \end_layout
1429
1430 \end_inset
1431 </cell>
1432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1433 \begin_inset Text
1434
1435 \begin_layout Standard
1436
1437 \end_layout
1438
1439 \end_inset
1440 </cell>
1441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1442 \begin_inset Text
1443
1444 \begin_layout Standard
1445
1446 \end_layout
1447
1448 \end_inset
1449 </cell>
1450 </row>
1451 <row topline="true" bottomline="true">
1452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1453 \begin_inset Text
1454
1455 \begin_layout Standard
1456
1457 \family roman
1458 \series medium
1459 \shape up
1460 \size normal
1461 \emph off
1462 \bar no
1463 \noun off
1464 \color none
1465 C
1466 \end_layout
1467
1468 \end_inset
1469 </cell>
1470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1471 \begin_inset Text
1472
1473 \begin_layout Standard
1474
1475 \end_layout
1476
1477 \end_inset
1478 </cell>
1479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1480 \begin_inset Text
1481
1482 \begin_layout Standard
1483
1484 \end_layout
1485
1486 \end_inset
1487 </cell>
1488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1489 \begin_inset Text
1490
1491 \begin_layout Standard
1492
1493 \end_layout
1494
1495 \end_inset
1496 </cell>
1497 </row>
1498 </lyxtabular>
1499
1500 \end_inset
1501
1502
1503 \end_layout
1504
1505 \begin_layout Section
1506 Table Dialog
1507 \begin_inset LatexCommand index
1508 name "Table ! Dialog"
1509
1510 \end_inset
1511
1512
1513 \end_layout
1514
1515 \begin_layout Standard
1516 You can alter a table by clicking on it with the right mouse button, which
1517  brings up the table dialog.
1518  Here you can adjust the settings of that cell and row/column respectively
1519  where the cursor is currently placed.
1520  Most of the dialog options also work on selections.
1521  This means if you select more cells, columns or rows, the action is done
1522  for the whole selection.
1523  Note that there is a difference between selecting the 
1524 \emph on
1525 contents
1526 \emph default
1527  of the cell, and the cell itself.
1528  You can alter tables with the following tabs of the table dialog:
1529 \end_layout
1530
1531 \begin_layout Description
1532
1533 \family sans
1534 Table\InsetSpace ~
1535 Settings
1536 \family default
1537  Here you can set the horizontal alignment and the width of the current
1538  column.
1539  When you have set a width you can also adjust the vertical alignment of
1540  the current row.
1541  A given width will allow the cell to have line breaks and multiple paragraphs
1542  of text, see section\InsetSpace ~
1543
1544 \begin_inset LatexCommand ref
1545 reference "sub:Multiple-Lines-in"
1546
1547 \end_inset
1548
1549 .
1550  If you set no width, the column is as wide as their widest cell content
1551  is.
1552 \newline
1553 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1554  cell, see section\InsetSpace ~
1555
1556 \begin_inset LatexCommand ref
1557 reference "sub:Multicolumns"
1558
1559 \end_inset
1560
1561 .
1562 \newline
1563 The rotate check boxes rotates the current cell, a selection, or the whole
1564  table counter-clockwise by 90°.
1565  The rotation is not shown within LyX, only in the output.
1566 \newline
1567
1568 \begin_inset Note Greyedout
1569 status open
1570
1571 \begin_layout Standard
1572
1573 \series bold
1574 Note:
1575 \series default
1576  Not all DVI-viewers are able to display rotations.
1577 \end_layout
1578
1579 \end_inset
1580
1581
1582 \newline
1583 It is also possible to enter a LaTeX-argument which is needed for special
1584  table formattings, see section\InsetSpace ~
1585
1586 \begin_inset LatexCommand ref
1587 reference "sub:Multicolumn-Calculations"
1588
1589 \end_inset
1590
1591  and 
1592 \begin_inset LatexCommand ref
1593 reference "sec:Colored-Tables"
1594
1595 \end_inset
1596
1597 .
1598 \end_layout
1599
1600 \begin_layout Description
1601
1602 \family sans
1603 Borders
1604 \family default
1605  In this tab you can add and delete border lines for the current row/column.
1606 \newline
1607 Using
1608  the style option 
1609 \family sans
1610 Formal
1611 \family default
1612  will convert the table to a formal table as described in section\InsetSpace ~
1613
1614 \begin_inset LatexCommand ref
1615 reference "sec:Formal-Tables"
1616
1617 \end_inset
1618
1619 .
1620 \newline
1621 You can also add here space to table rows as decribed in section\InsetSpace ~
1622
1623 \begin_inset LatexCommand ref
1624 reference "sub:Row-Spacing"
1625
1626 \end_inset
1627
1628 .
1629 \end_layout
1630
1631 \begin_layout Description
1632
1633 \family sans
1634 Longtable
1635 \family default
1636  This tab is to make a table a so called 
1637 \begin_inset Quotes eld
1638 \end_inset
1639
1640
1641 \emph on
1642 longtable
1643 \emph default
1644
1645 \begin_inset Quotes erd
1646 \end_inset
1647
1648  that can run over several pages.
1649  Section\InsetSpace ~
1650
1651 \begin_inset LatexCommand ref
1652 reference "sec:Longtables"
1653
1654 \end_inset
1655
1656  and 
1657 \begin_inset LatexCommand ref
1658 reference "sec:Special-Longtable-Issues"
1659
1660 \end_inset
1661
1662  describe the longtable features in detail.
1663 \end_layout
1664
1665 \begin_layout Standard
1666 When the table toolbar is opened, you can move the cursor with the arrow
1667  keys from cell to cell and the property of the current cell will immediately
1668  be displayed in the dialog.
1669 \end_layout
1670
1671 \begin_layout Section
1672 Table Toolbar
1673 \begin_inset LatexCommand index
1674 name "Table ! Toolbar"
1675
1676 \end_inset
1677
1678
1679 \end_layout
1680
1681 \begin_layout Standard
1682 The table toolbar is an alternative to the table dialog to be able to alter
1683  tables faster.
1684  It should normally appear at the bottom of LyX's main window when the cursor
1685  is inside a table.
1686  You can alternatively switch it on to appear always, by right-clicking
1687  in LyX's main menu bar.
1688 \end_layout
1689
1690 \begin_layout Standard
1691 The toolbar has the following icons:
1692 \end_layout
1693
1694 \begin_layout Labeling
1695 \labelwidthstring 00.00.0000
1696 \begin_inset Graphics
1697         filename ../images/tabular-feature_append-row.xpm
1698         scaleBeforeRotation
1699
1700 \end_inset
1701
1702  adds a row below the current cell or selection
1703 \end_layout
1704
1705 \begin_layout Labeling
1706 \labelwidthstring 00.00.0000
1707 \begin_inset Graphics
1708         filename ../images/tabular-feature_append-column.xpm
1709         scaleBeforeRotation
1710
1711 \end_inset
1712
1713  adds a column right beside the current cell or selection
1714 \end_layout
1715
1716 \begin_layout Labeling
1717 \labelwidthstring 00.00.0000
1718 \begin_inset Graphics
1719         filename ../images/tabular-feature_delete-row.xpm
1720         scaleBeforeRotation
1721
1722 \end_inset
1723
1724  deletes the current row or selection
1725 \end_layout
1726
1727 \begin_layout Labeling
1728 \labelwidthstring 00.00.0000
1729 \begin_inset Graphics
1730         filename ../images/tabular-feature_delete-column.xpm
1731         scaleBeforeRotation
1732
1733 \end_inset
1734
1735  deletes the current column or selection
1736 \end_layout
1737
1738 \begin_layout Labeling
1739 \labelwidthstring 00.00.0000
1740 \begin_inset Graphics
1741         filename ../images/tabular-feature_toggle-line-top.xpm
1742         scaleBeforeRotation
1743
1744 \end_inset
1745
1746  adds a line at the top of the current cell / row or of a selection
1747 \end_layout
1748
1749 \begin_layout Labeling
1750 \labelwidthstring 00.00.0000
1751 \begin_inset Graphics
1752         filename ../images/tabular-feature_toggle-line-bottom.xpm
1753         scaleBeforeRotation
1754
1755 \end_inset
1756
1757  adds a line at the bottom of the current cell / row or of a selection
1758 \end_layout
1759
1760 \begin_layout Labeling
1761 \labelwidthstring 00.00.0000
1762 \begin_inset Graphics
1763         filename ../images/tabular-feature_toggle-line-left.xpm
1764         scaleBeforeRotation
1765
1766 \end_inset
1767
1768  adds a line at the left side of the current cell / row or of a selection
1769 \end_layout
1770
1771 \begin_layout Labeling
1772 \labelwidthstring 00.00.0000
1773 \begin_inset Graphics
1774         filename ../images/tabular-feature_toggle-line-right.xpm
1775         scaleBeforeRotation
1776
1777 \end_inset
1778
1779  adds a line at the right side of the current cell / row or of a selection
1780 \end_layout
1781
1782 \begin_layout Labeling
1783 \labelwidthstring 00.00.0000
1784 \begin_inset Graphics
1785         filename ../images/tabular-feature_set-all-lines.xpm
1786         scaleBeforeRotation
1787
1788 \end_inset
1789
1790  adds lines around the current or selected cells - if the current cell no
1791  multicolumn this also affects the current row and column
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_unset-all-lines.xpm
1798         scaleBeforeRotation
1799
1800 \end_inset
1801
1802  deletes all lines of the current or selected cells - if the current cell
1803  no multicolumn this also affects the current row and column
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Graphics
1809         filename ../images/tabular-feature_align-left.xpm
1810         scaleBeforeRotation
1811
1812 \end_inset
1813
1814  left-aligns the content of the current cell / column
1815 \end_layout
1816
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Graphics
1820         filename ../images/tabular-feature_align-center.xpm
1821         scaleBeforeRotation
1822
1823 \end_inset
1824
1825  centers the content of the current cell / column horizontally
1826 \end_layout
1827
1828 \begin_layout Labeling
1829 \labelwidthstring 00.00.0000
1830 \begin_inset Graphics
1831         filename ../images/tabular-feature_align-right.xpm
1832         scaleBeforeRotation
1833
1834 \end_inset
1835
1836  right-aligns the content of the current cell / column
1837 \end_layout
1838
1839 \begin_layout Labeling
1840 \labelwidthstring 00.00.0000
1841 \begin_inset Graphics
1842         filename ../images/tabular-feature_valign-top.xpm
1843         scaleBeforeRotation
1844
1845 \end_inset
1846
1847  aligns the content of the current cell vertically to the top
1848 \end_layout
1849
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Graphics
1853         filename ../images/tabular-feature_valign-middle.xpm
1854         scaleBeforeRotation
1855
1856 \end_inset
1857
1858  centers the content of the current cell vertically
1859 \end_layout
1860
1861 \begin_layout Labeling
1862 \labelwidthstring 00.00.0000
1863 \begin_inset Graphics
1864         filename ../images/tabular-feature_valign-bottom.xpm
1865         scaleBeforeRotation
1866
1867 \end_inset
1868
1869  aligns the content of the current cell vertically to the bottom
1870 \end_layout
1871
1872 \begin_layout Labeling
1873 \labelwidthstring 00.00.0000
1874 \begin_inset Graphics
1875         filename ../images/tabular-feature_set-rotate-cell.xpm
1876         scaleBeforeRotation
1877
1878 \end_inset
1879
1880  rotates the current cell or selection counter-clockwise by 90°
1881 \end_layout
1882
1883 \begin_layout Labeling
1884 \labelwidthstring 00.00.0000
1885 \begin_inset Graphics
1886         filename ../images/tabular-feature_set-rotate-tabular.xpm
1887         scaleBeforeRotation
1888
1889 \end_inset
1890
1891  rotates the whole table counter-clockwise by 90°
1892 \end_layout
1893
1894 \begin_layout Labeling
1895 \labelwidthstring 00.00.0000
1896 \begin_inset Graphics
1897         filename ../images/tabular-feature_multicolumn.xpm
1898         scaleBeforeRotation
1899
1900 \end_inset
1901
1902  sets the current cell or selection as a multicolumn
1903 \end_layout
1904
1905 \begin_layout Standard
1906 \begin_inset Note Greyedout
1907 status open
1908
1909 \begin_layout Standard
1910
1911 \series bold
1912 Note:
1913 \series default
1914  For the output the vertical alignment of the first cell in a row is used
1915  for all following cells in the row.
1916 \end_layout
1917
1918 \end_inset
1919
1920
1921 \end_layout
1922
1923 \begin_layout Section
1924 Edit Table Menu
1925 \begin_inset LatexCommand index
1926 name "Table ! Edit Menu"
1927
1928 \end_inset
1929
1930
1931 \end_layout
1932
1933 \begin_layout Standard
1934 Additionally to the table dialog and toolbar, the menu 
1935 \family sans
1936 Edit\SpecialChar \menuseparator
1937 Table
1938 \family default
1939  allows you to add and delete border lines for the current row/column and
1940  to set the current selection as multicolumn.
1941  The menu is only available when the cursor is inside a table.
1942 \end_layout
1943
1944 \begin_layout Section
1945 Table Floats
1946 \begin_inset LatexCommand label
1947 name "sec:Table-Floats"
1948
1949 \end_inset
1950
1951
1952 \begin_inset LatexCommand index
1953 name "Floats ! Tables"
1954
1955 \end_inset
1956
1957
1958 \begin_inset LatexCommand index
1959 name "Table ! Floats"
1960
1961 \end_inset
1962
1963
1964 \end_layout
1965
1966 \begin_layout Standard
1967 For general explanations about floats, have a look at section\InsetSpace ~
1968
1969 \begin_inset LatexCommand ref
1970 reference "sec:FloatIntroduction"
1971
1972 \end_inset
1973
1974 .
1975 \end_layout
1976
1977 \begin_layout Standard
1978 \begin_inset Float table
1979 placement h
1980 wide false
1981 sideways false
1982 status open
1983
1984 \begin_layout Standard
1985 \begin_inset Caption
1986
1987 \begin_layout Standard
1988 \begin_inset LatexCommand label
1989 name "tab:a table float"
1990
1991 \end_inset
1992
1993 A table float.
1994 \end_layout
1995
1996 \end_inset
1997
1998
1999 \end_layout
2000
2001 \begin_layout Standard
2002 \align center
2003 \begin_inset Tabular
2004 <lyxtabular version="3" rows="3" columns="3">
2005 <features>
2006 <column alignment="center" valignment="top" leftline="true" width="0pt">
2007 <column alignment="center" valignment="top" leftline="true" width="0pt">
2008 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2009 <row topline="true" bottomline="true">
2010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2011 \begin_inset Text
2012
2013 \begin_layout Standard
2014
2015 \family roman
2016 \series medium
2017 \shape up
2018 \size normal
2019 \emph off
2020 \bar no
2021 \noun off
2022 \color none
2023 1
2024 \end_layout
2025
2026 \end_inset
2027 </cell>
2028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2029 \begin_inset Text
2030
2031 \begin_layout Standard
2032
2033 \family roman
2034 \series medium
2035 \shape up
2036 \size normal
2037 \emph off
2038 \bar no
2039 \noun off
2040 \color none
2041 2
2042 \end_layout
2043
2044 \end_inset
2045 </cell>
2046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2047 \begin_inset Text
2048
2049 \begin_layout Standard
2050
2051 \family roman
2052 \series medium
2053 \shape up
2054 \size normal
2055 \emph off
2056 \bar no
2057 \noun off
2058 \color none
2059 3
2060 \end_layout
2061
2062 \end_inset
2063 </cell>
2064 </row>
2065 <row topline="true">
2066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2067 \begin_inset Text
2068
2069 \begin_layout Standard
2070
2071 \family roman
2072 \series medium
2073 \shape up
2074 \size normal
2075 \emph off
2076 \bar no
2077 \noun off
2078 \color none
2079 Joe
2080 \end_layout
2081
2082 \end_inset
2083 </cell>
2084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2085 \begin_inset Text
2086
2087 \begin_layout Standard
2088
2089 \family roman
2090 \series medium
2091 \shape up
2092 \size normal
2093 \emph off
2094 \bar no
2095 \noun off
2096 \color none
2097 Mary
2098 \end_layout
2099
2100 \end_inset
2101 </cell>
2102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2103 \begin_inset Text
2104
2105 \begin_layout Standard
2106
2107 \family roman
2108 \series medium
2109 \shape up
2110 \size normal
2111 \emph off
2112 \bar no
2113 \noun off
2114 \color none
2115 Ted
2116 \end_layout
2117
2118 \end_inset
2119 </cell>
2120 </row>
2121 <row topline="true" bottomline="true">
2122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2123 \begin_inset Text
2124
2125 \begin_layout Standard
2126
2127 \family roman
2128 \series medium
2129 \shape up
2130 \size normal
2131 \emph off
2132 \bar no
2133 \noun off
2134 \color none
2135 \begin_inset Formula $\int x^{2}dx$
2136 \end_inset
2137
2138
2139 \end_layout
2140
2141 \end_inset
2142 </cell>
2143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2144 \begin_inset Text
2145
2146 \begin_layout Standard
2147
2148 \family roman
2149 \series medium
2150 \shape up
2151 \size normal
2152 \emph off
2153 \bar no
2154 \noun off
2155 \color none
2156 \begin_inset Formula $\left[\begin{array}{cc}
2157 a & b\\
2158 c & d\end{array}\right]$
2159 \end_inset
2160
2161
2162 \end_layout
2163
2164 \end_inset
2165 </cell>
2166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2167 \begin_inset Text
2168
2169 \begin_layout Standard
2170
2171 \family roman
2172 \series medium
2173 \shape up
2174 \size normal
2175 \emph off
2176 \bar no
2177 \noun off
2178 \color none
2179 \begin_inset Formula $1+1=2$
2180 \end_inset
2181
2182
2183 \end_layout
2184
2185 \end_inset
2186 </cell>
2187 </row>
2188 </lyxtabular>
2189
2190 \end_inset
2191
2192
2193 \end_layout
2194
2195 \end_inset
2196
2197
2198 \end_layout
2199
2200 \begin_layout Standard
2201 Table floats can be inserted using the menu 
2202 \family sans
2203 Insert\SpecialChar \menuseparator
2204 Float\SpecialChar \menuseparator
2205 Table
2206 \family default
2207  or the toolbar button 
2208 \begin_inset Graphics
2209         filename ../images/float-insert_table.xpm
2210         scale 85
2211         scaleBeforeRotation
2212
2213 \end_inset
2214
2215 .
2216 \end_layout
2217
2218 \begin_layout Standard
2219 The float appears as a collapsible box with a caption that has the label
2220  
2221 \begin_inset Quotes eld
2222 \end_inset
2223
2224 Table\InsetSpace ~
2225 #:
2226 \begin_inset Quotes erd
2227 \end_inset
2228
2229  (# is the actual table number).
2230  You can insert tables to the float above or below the caption.
2231 \end_layout
2232
2233 \begin_layout Standard
2234 Table\InsetSpace ~
2235
2236 \begin_inset LatexCommand ref
2237 reference "tab:a table float"
2238
2239 \end_inset
2240
2241  is an example table within a table float.
2242 \end_layout
2243
2244 \begin_layout Standard
2245 Having the caption above the table is the common rule that is unfortunately
2246  not supported in LaTeX's standard classes.
2247  That means if you are using the document classes 
2248 \family sans
2249 article
2250 \family default
2251
2252 \family sans
2253 book
2254 \family default
2255
2256 \family sans
2257 letter
2258 \family default
2259 , or 
2260 \family sans
2261 report
2262 \family default
2263  there will be no space between the caption and the table.
2264  To insert the needed space, add the following option to the load command
2265  of the LaTeX-package 
2266 \series bold
2267 caption
2268 \series default
2269
2270 \begin_inset LatexCommand index
2271 name "LaTeX-packages ! caption"
2272
2273 \end_inset
2274
2275  in your document preamble
2276 \begin_inset Foot
2277 status collapsed
2278
2279 \begin_layout Standard
2280 For more information have a look at section\InsetSpace ~
2281
2282 \begin_inset LatexCommand ref
2283 reference "sec:Caption-Placement"
2284
2285 \end_inset
2286
2287 .
2288 \end_layout
2289
2290 \end_inset
2291
2292 :
2293 \end_layout
2294
2295 \begin_layout Standard
2296
2297 \series bold
2298 tableposition=top
2299 \end_layout
2300
2301 \begin_layout Standard
2302 The package 
2303 \series bold
2304 caption
2305 \series default
2306 , which is described in section\InsetSpace ~
2307
2308 \begin_inset LatexCommand ref
2309 reference "sec:Caption-Formatting"
2310
2311 \end_inset
2312
2313 , is used to adjust the caption format.
2314 \end_layout
2315
2316 \begin_layout Standard
2317 \begin_inset LatexCommand index
2318 name "References ! to Tables"
2319
2320 \end_inset
2321
2322 Tables can be cross-referenced in the text by referencing their label.
2323  To do this insert a label in the caption using the menu 
2324 \family sans
2325 Insert\SpecialChar \menuseparator
2326 Label
2327 \family default
2328  or the toolbar button 
2329 \begin_inset Graphics
2330         filename ../images/label-insert.xpm
2331         scale 85
2332         scaleBeforeRotation
2333
2334 \end_inset
2335
2336 .
2337  You can now refer to the label using the menu 
2338 \family sans
2339 Insert\SpecialChar \menuseparator
2340 Cross\InsetSpace ~
2341 reference
2342 \family default
2343  or the toolbar button 
2344 \begin_inset Graphics
2345         filename ../images/dialog-show-new-inset_ref.xpm
2346         scale 85
2347         scaleBeforeRotation
2348
2349 \end_inset
2350
2351 .
2352 \newline
2353 Referencing is explained in detail in section\InsetSpace ~
2354
2355 \begin_inset LatexCommand ref
2356 reference "sec:Referencing-Floats"
2357
2358 \end_inset
2359
2360 .
2361 \end_layout
2362
2363 \begin_layout Section
2364 Longtables
2365 \begin_inset LatexCommand label
2366 name "sec:Longtables"
2367
2368 \end_inset
2369
2370
2371 \begin_inset LatexCommand index
2372 name "Longtables"
2373
2374 \end_inset
2375
2376
2377 \begin_inset LatexCommand index
2378 name "Table ! Longtables"
2379
2380 \end_inset
2381
2382
2383 \end_layout
2384
2385 \begin_layout Standard
2386 If the table is too long to fit on one page, you can use the option 
2387 \family sans
2388 Use\InsetSpace ~
2389 long\InsetSpace ~
2390 table
2391 \family default
2392  in the tab 
2393 \family sans
2394 Longtable
2395 \family default
2396  of the table dialog to split the table automatically over more pages.
2397  Doing this enables some check boxes and you can now define:
2398 \end_layout
2399
2400 \begin_layout Description
2401
2402 \family sans
2403 Header
2404 \family default
2405 : The current row and all rows above, that don't have any special options
2406  defined, are defined to be the header rows of all pages of the longtable;
2407  except for the first page, if 
2408 \family sans
2409 First\InsetSpace ~
2410 header
2411 \family default
2412  is defined.
2413  This therefore called the main header.
2414 \end_layout
2415
2416 \begin_layout Description
2417
2418 \family sans
2419 First\InsetSpace ~
2420 header
2421 \family default
2422 : The current row and all rows above, that don't have any special options
2423  defined, are defined to be the header rows of the first page of the longtable.
2424 \end_layout
2425
2426 \begin_layout Description
2427
2428 \family sans
2429 Footer
2430 \family default
2431 : The current row and all rows below, that don't have any special options
2432  defined, are defined to be the footer rows of all pages of the longtable;
2433  except for the last page, if 
2434 \family sans
2435 Last\InsetSpace ~
2436 footer
2437 \family default
2438  is defined.
2439 \end_layout
2440
2441 \begin_layout Description
2442
2443 \family sans
2444 Last\InsetSpace ~
2445 footer
2446 \family default
2447 : The current row and all rows below, that don't have any special options
2448  defined, are defined to be the footer rows of the last page of the longtable.
2449 \end_layout
2450
2451 \begin_layout Standard
2452 You can also specify a row where the table is splitted.
2453  If you set more than one option in the same table row, you should be aware
2454  of the fact that only the first one is used in the given table row.
2455  The others will then be defined as 
2456 \emph on
2457 empty
2458 \emph default
2459 .
2460  In this context, first means first in this order: 
2461 \family sans
2462 Header,
2463 \family default
2464  
2465 \family sans
2466 First\InsetSpace ~
2467 header, Footer, Last\InsetSpace ~
2468 footer.
2469
2470 \family default
2471  See the following longtable to see how it works:
2472 \end_layout
2473
2474 \begin_layout Standard
2475 \align center
2476 \begin_inset Tabular
2477 <lyxtabular version="3" rows="69" columns="3">
2478 <features islongtable="true">
2479 <column alignment="left" valignment="top" leftline="true" width="0cm">
2480 <column alignment="left" valignment="top" width="0pt">
2481 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2482 <row topline="true" bottomline="true" endfirsthead="true">
2483 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2484 \begin_inset Text
2485
2486 \begin_layout Standard
2487
2488 \series bold
2489 Example Phone List (ignore the names)
2490 \end_layout
2491
2492 \end_inset
2493 </cell>
2494 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2495 \begin_inset Text
2496
2497 \begin_layout Standard
2498
2499 \end_layout
2500
2501 \end_inset
2502 </cell>
2503 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2504 \begin_inset Text
2505
2506 \begin_layout Standard
2507
2508 \end_layout
2509
2510 \end_inset
2511 </cell>
2512 </row>
2513 <row topline="true" bottomline="true" endfirsthead="true">
2514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2515 \begin_inset Text
2516
2517 \begin_layout Standard
2518
2519 \series bold
2520 NAME
2521 \end_layout
2522
2523 \end_inset
2524 </cell>
2525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2526 \begin_inset Text
2527
2528 \begin_layout Standard
2529
2530 \end_layout
2531
2532 \end_inset
2533 </cell>
2534 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2535 \begin_inset Text
2536
2537 \begin_layout Standard
2538
2539 \series bold
2540 TEL.
2541 \end_layout
2542
2543 \end_inset
2544 </cell>
2545 </row>
2546 <row topline="true" bottomline="true" endhead="true">
2547 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2548 \begin_inset Text
2549
2550 \begin_layout Standard
2551
2552 \series bold
2553 Example Phone List
2554 \end_layout
2555
2556 \end_inset
2557 </cell>
2558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2559 \begin_inset Text
2560
2561 \begin_layout Standard
2562
2563 \end_layout
2564
2565 \end_inset
2566 </cell>
2567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2568 \begin_inset Text
2569
2570 \begin_layout Standard
2571
2572 \end_layout
2573
2574 \end_inset
2575 </cell>
2576 </row>
2577 <row topline="true" bottomline="true" endhead="true">
2578 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2579 \begin_inset Text
2580
2581 \begin_layout Standard
2582
2583 \series bold
2584 NAME
2585 \end_layout
2586
2587 \end_inset
2588 </cell>
2589 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2590 \begin_inset Text
2591
2592 \begin_layout Standard
2593
2594 \end_layout
2595
2596 \end_inset
2597 </cell>
2598 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2599 \begin_inset Text
2600
2601 \begin_layout Standard
2602
2603 \series bold
2604 TEL.
2605 \end_layout
2606
2607 \end_inset
2608 </cell>
2609 </row>
2610 <row topline="true" bottomline="true" endfoot="true">
2611 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2612 \begin_inset Text
2613
2614 \begin_layout Standard
2615  continued on next page
2616 \end_layout
2617
2618 \end_inset
2619 </cell>
2620 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2621 \begin_inset Text
2622
2623 \begin_layout Standard
2624
2625 \end_layout
2626
2627 \end_inset
2628 </cell>
2629 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2630 \begin_inset Text
2631
2632 \begin_layout Standard
2633
2634 \end_layout
2635
2636 \end_inset
2637 </cell>
2638 </row>
2639 <row>
2640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2641 \begin_inset Text
2642
2643 \begin_layout Standard
2644
2645 \series bold
2646 Annovi
2647 \end_layout
2648
2649 \end_inset
2650 </cell>
2651 <cell alignment="center" valignment="top" topline="true" usebox="none">
2652 \begin_inset Text
2653
2654 \begin_layout Standard
2655 Silvia
2656 \end_layout
2657
2658 \end_inset
2659 </cell>
2660 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2661 \begin_inset Text
2662
2663 \begin_layout Standard
2664 111
2665 \end_layout
2666
2667 \end_inset
2668 </cell>
2669 </row>
2670 <row>
2671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2672 \begin_inset Text
2673
2674 \begin_layout Standard
2675
2676 \series bold
2677 Bertoli
2678 \end_layout
2679
2680 \end_inset
2681 </cell>
2682 <cell alignment="center" valignment="top" topline="true" usebox="none">
2683 \begin_inset Text
2684
2685 \begin_layout Standard
2686 Stefano
2687 \end_layout
2688
2689 \end_inset
2690 </cell>
2691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2692 \begin_inset Text
2693
2694 \begin_layout Standard
2695 111
2696 \end_layout
2697
2698 \end_inset
2699 </cell>
2700 </row>
2701 <row>
2702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2703 \begin_inset Text
2704
2705 \begin_layout Standard
2706
2707 \series bold
2708 Bozzi
2709 \end_layout
2710
2711 \end_inset
2712 </cell>
2713 <cell alignment="center" valignment="top" topline="true" usebox="none">
2714 \begin_inset Text
2715
2716 \begin_layout Standard
2717 Walter
2718 \end_layout
2719
2720 \end_inset
2721 </cell>
2722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2723 \begin_inset Text
2724
2725 \begin_layout Standard
2726 111
2727 \end_layout
2728
2729 \end_inset
2730 </cell>
2731 </row>
2732 <row>
2733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2734 \begin_inset Text
2735
2736 \begin_layout Standard
2737
2738 \series bold
2739 Cachia
2740 \end_layout
2741
2742 \end_inset
2743 </cell>
2744 <cell alignment="center" valignment="top" topline="true" usebox="none">
2745 \begin_inset Text
2746
2747 \begin_layout Standard
2748 Maria
2749 \end_layout
2750
2751 \end_inset
2752 </cell>
2753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2754 \begin_inset Text
2755
2756 \begin_layout Standard
2757 111
2758 \end_layout
2759
2760 \end_inset
2761 </cell>
2762 </row>
2763 <row>
2764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2765 \begin_inset Text
2766
2767 \begin_layout Standard
2768
2769 \series bold
2770 Cachia
2771 \end_layout
2772
2773 \end_inset
2774 </cell>
2775 <cell alignment="center" valignment="top" topline="true" usebox="none">
2776 \begin_inset Text
2777
2778 \begin_layout Standard
2779 Maurizio
2780 \end_layout
2781
2782 \end_inset
2783 </cell>
2784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2785 \begin_inset Text
2786
2787 \begin_layout Standard
2788 111
2789 \end_layout
2790
2791 \end_inset
2792 </cell>
2793 </row>
2794 <row>
2795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2796 \begin_inset Text
2797
2798 \begin_layout Standard
2799
2800 \series bold
2801 Cinquemani
2802 \end_layout
2803
2804 \end_inset
2805 </cell>
2806 <cell alignment="center" valignment="top" topline="true" usebox="none">
2807 \begin_inset Text
2808
2809 \begin_layout Standard
2810 Giusi
2811 \end_layout
2812
2813 \end_inset
2814 </cell>
2815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2816 \begin_inset Text
2817
2818 \begin_layout Standard
2819 111
2820 \end_layout
2821
2822 \end_inset
2823 </cell>
2824 </row>
2825 <row>
2826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2827 \begin_inset Text
2828
2829 \begin_layout Standard
2830
2831 \series bold
2832 Colin
2833 \end_layout
2834
2835 \end_inset
2836 </cell>
2837 <cell alignment="center" valignment="top" topline="true" usebox="none">
2838 \begin_inset Text
2839
2840 \begin_layout Standard
2841 Bernard
2842 \end_layout
2843
2844 \end_inset
2845 </cell>
2846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2847 \begin_inset Text
2848
2849 \begin_layout Standard
2850 111
2851 \end_layout
2852
2853 \end_inset
2854 </cell>
2855 </row>
2856 <row>
2857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2858 \begin_inset Text
2859
2860 \begin_layout Standard
2861
2862 \series bold
2863 Concli
2864 \end_layout
2865
2866 \end_inset
2867 </cell>
2868 <cell alignment="center" valignment="top" topline="true" usebox="none">
2869 \begin_inset Text
2870
2871 \begin_layout Standard
2872 Gianfranco
2873 \end_layout
2874
2875 \end_inset
2876 </cell>
2877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2878 \begin_inset Text
2879
2880 \begin_layout Standard
2881 111
2882 \end_layout
2883
2884 \end_inset
2885 </cell>
2886 </row>
2887 <row>
2888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2889 \begin_inset Text
2890
2891 \begin_layout Standard
2892
2893 \series bold
2894 Dal Bosco
2895 \end_layout
2896
2897 \end_inset
2898 </cell>
2899 <cell alignment="center" valignment="top" topline="true" usebox="none">
2900 \begin_inset Text
2901
2902 \begin_layout Standard
2903 Carolina
2904 \end_layout
2905
2906 \end_inset
2907 </cell>
2908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2909 \begin_inset Text
2910
2911 \begin_layout Standard
2912 111
2913 \end_layout
2914
2915 \end_inset
2916 </cell>
2917 </row>
2918 <row>
2919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2920 \begin_inset Text
2921
2922 \begin_layout Standard
2923
2924 \series bold
2925 Dalpiaz
2926 \end_layout
2927
2928 \end_inset
2929 </cell>
2930 <cell alignment="center" valignment="top" topline="true" usebox="none">
2931 \begin_inset Text
2932
2933 \begin_layout Standard
2934 Annamaria
2935 \end_layout
2936
2937 \end_inset
2938 </cell>
2939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2940 \begin_inset Text
2941
2942 \begin_layout Standard
2943 111
2944 \end_layout
2945
2946 \end_inset
2947 </cell>
2948 </row>
2949 <row>
2950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2951 \begin_inset Text
2952
2953 \begin_layout Standard
2954
2955 \series bold
2956 Feliciello
2957 \end_layout
2958
2959 \end_inset
2960 </cell>
2961 <cell alignment="center" valignment="top" topline="true" usebox="none">
2962 \begin_inset Text
2963
2964 \begin_layout Standard
2965 Domenico
2966 \end_layout
2967
2968 \end_inset
2969 </cell>
2970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2971 \begin_inset Text
2972
2973 \begin_layout Standard
2974 111
2975 \end_layout
2976
2977 \end_inset
2978 </cell>
2979 </row>
2980 <row>
2981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2982 \begin_inset Text
2983
2984 \begin_layout Standard
2985
2986 \series bold
2987 Focarelli
2988 \end_layout
2989
2990 \end_inset
2991 </cell>
2992 <cell alignment="center" valignment="top" topline="true" usebox="none">
2993 \begin_inset Text
2994
2995 \begin_layout Standard
2996 Paola
2997 \end_layout
2998
2999 \end_inset
3000 </cell>
3001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3002 \begin_inset Text
3003
3004 \begin_layout Standard
3005 111
3006 \end_layout
3007
3008 \end_inset
3009 </cell>
3010 </row>
3011 <row>
3012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3013 \begin_inset Text
3014
3015 \begin_layout Standard
3016
3017 \series bold
3018 Galletti
3019 \end_layout
3020
3021 \end_inset
3022 </cell>
3023 <cell alignment="center" valignment="top" topline="true" usebox="none">
3024 \begin_inset Text
3025
3026 \begin_layout Standard
3027 Oreste
3028 \end_layout
3029
3030 \end_inset
3031 </cell>
3032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3033 \begin_inset Text
3034
3035 \begin_layout Standard
3036 111
3037 \end_layout
3038
3039 \end_inset
3040 </cell>
3041 </row>
3042 <row>
3043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3044 \begin_inset Text
3045
3046 \begin_layout Standard
3047
3048 \series bold
3049 Gasparini
3050 \end_layout
3051
3052 \end_inset
3053 </cell>
3054 <cell alignment="center" valignment="top" topline="true" usebox="none">
3055 \begin_inset Text
3056
3057 \begin_layout Standard
3058 Franca
3059 \end_layout
3060
3061 \end_inset
3062 </cell>
3063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3064 \begin_inset Text
3065
3066 \begin_layout Standard
3067 111
3068 \end_layout
3069
3070 \end_inset
3071 </cell>
3072 </row>
3073 <row>
3074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3075 \begin_inset Text
3076
3077 \begin_layout Standard
3078
3079 \series bold
3080 Rizzardi
3081 \end_layout
3082
3083 \end_inset
3084 </cell>
3085 <cell alignment="center" valignment="top" topline="true" usebox="none">
3086 \begin_inset Text
3087
3088 \begin_layout Standard
3089 Paola
3090 \end_layout
3091
3092 \end_inset
3093 </cell>
3094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3095 \begin_inset Text
3096
3097 \begin_layout Standard
3098 111
3099 \end_layout
3100
3101 \end_inset
3102 </cell>
3103 </row>
3104 <row>
3105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3106 \begin_inset Text
3107
3108 \begin_layout Standard
3109
3110 \series bold
3111 Lassini
3112 \end_layout
3113
3114 \end_inset
3115 </cell>
3116 <cell alignment="center" valignment="top" topline="true" usebox="none">
3117 \begin_inset Text
3118
3119 \begin_layout Standard
3120 Giancarlo
3121 \end_layout
3122
3123 \end_inset
3124 </cell>
3125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3126 \begin_inset Text
3127
3128 \begin_layout Standard
3129 111
3130 \end_layout
3131
3132 \end_inset
3133 </cell>
3134 </row>
3135 <row>
3136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3137 \begin_inset Text
3138
3139 \begin_layout Standard
3140
3141 \series bold
3142 Malfatti
3143 \end_layout
3144
3145 \end_inset
3146 </cell>
3147 <cell alignment="center" valignment="top" topline="true" usebox="none">
3148 \begin_inset Text
3149
3150 \begin_layout Standard
3151 Luciano
3152 \end_layout
3153
3154 \end_inset
3155 </cell>
3156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3157 \begin_inset Text
3158
3159 \begin_layout Standard
3160 111
3161 \end_layout
3162
3163 \end_inset
3164 </cell>
3165 </row>
3166 <row>
3167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3168 \begin_inset Text
3169
3170 \begin_layout Standard
3171
3172 \series bold
3173 Malfatti
3174 \end_layout
3175
3176 \end_inset
3177 </cell>
3178 <cell alignment="center" valignment="top" topline="true" usebox="none">
3179 \begin_inset Text
3180
3181 \begin_layout Standard
3182 Valeriano
3183 \end_layout
3184
3185 \end_inset
3186 </cell>
3187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3188 \begin_inset Text
3189
3190 \begin_layout Standard
3191 111
3192 \end_layout
3193
3194 \end_inset
3195 </cell>
3196 </row>
3197 <row>
3198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3199 \begin_inset Text
3200
3201 \begin_layout Standard
3202
3203 \series bold
3204 Meneguzzo
3205 \end_layout
3206
3207 \end_inset
3208 </cell>
3209 <cell alignment="center" valignment="top" topline="true" usebox="none">
3210 \begin_inset Text
3211
3212 \begin_layout Standard
3213 Roberto
3214 \end_layout
3215
3216 \end_inset
3217 </cell>
3218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3219 \begin_inset Text
3220
3221 \begin_layout Standard
3222 111
3223 \end_layout
3224
3225 \end_inset
3226 </cell>
3227 </row>
3228 <row>
3229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3230 \begin_inset Text
3231
3232 \begin_layout Standard
3233
3234 \series bold
3235 Mezzadra
3236 \end_layout
3237
3238 \end_inset
3239 </cell>
3240 <cell alignment="center" valignment="top" topline="true" usebox="none">
3241 \begin_inset Text
3242
3243 \begin_layout Standard
3244 Roberto
3245 \end_layout
3246
3247 \end_inset
3248 </cell>
3249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3250 \begin_inset Text
3251
3252 \begin_layout Standard
3253 111
3254 \end_layout
3255
3256 \end_inset
3257 </cell>
3258 </row>
3259 <row>
3260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3261 \begin_inset Text
3262
3263 \begin_layout Standard
3264
3265 \series bold
3266 Pirpamer
3267 \end_layout
3268
3269 \end_inset
3270 </cell>
3271 <cell alignment="center" valignment="top" topline="true" usebox="none">
3272 \begin_inset Text
3273
3274 \begin_layout Standard
3275 Erich
3276 \end_layout
3277
3278 \end_inset
3279 </cell>
3280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3281 \begin_inset Text
3282
3283 \begin_layout Standard
3284 111
3285 \end_layout
3286
3287 \end_inset
3288 </cell>
3289 </row>
3290 <row>
3291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3292 \begin_inset Text
3293
3294 \begin_layout Standard
3295
3296 \series bold
3297 Pochiesa
3298 \end_layout
3299
3300 \end_inset
3301 </cell>
3302 <cell alignment="center" valignment="top" topline="true" usebox="none">
3303 \begin_inset Text
3304
3305 \begin_layout Standard
3306 Paolo
3307 \end_layout
3308
3309 \end_inset
3310 </cell>
3311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3312 \begin_inset Text
3313
3314 \begin_layout Standard
3315 111, 222
3316 \end_layout
3317
3318 \end_inset
3319 </cell>
3320 </row>
3321 <row>
3322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3323 \begin_inset Text
3324
3325 \begin_layout Standard
3326
3327 \series bold
3328 Radina
3329 \end_layout
3330
3331 \end_inset
3332 </cell>
3333 <cell alignment="center" valignment="top" topline="true" usebox="none">
3334 \begin_inset Text
3335
3336 \begin_layout Standard
3337 Claudio
3338 \end_layout
3339
3340 \end_inset
3341 </cell>
3342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3343 \begin_inset Text
3344
3345 \begin_layout Standard
3346 111
3347 \end_layout
3348
3349 \end_inset
3350 </cell>
3351 </row>
3352 <row>
3353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3354 \begin_inset Text
3355
3356 \begin_layout Standard
3357
3358 \series bold
3359 Stuffer
3360 \end_layout
3361
3362 \end_inset
3363 </cell>
3364 <cell alignment="center" valignment="top" topline="true" usebox="none">
3365 \begin_inset Text
3366
3367 \begin_layout Standard
3368 Oskar
3369 \end_layout
3370
3371 \end_inset
3372 </cell>
3373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3374 \begin_inset Text
3375
3376 \begin_layout Standard
3377 111
3378 \end_layout
3379
3380 \end_inset
3381 </cell>
3382 </row>
3383 <row>
3384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3385 \begin_inset Text
3386
3387 \begin_layout Standard
3388
3389 \series bold
3390 Tacchelli
3391 \end_layout
3392
3393 \end_inset
3394 </cell>
3395 <cell alignment="center" valignment="top" topline="true" usebox="none">
3396 \begin_inset Text
3397
3398 \begin_layout Standard
3399 Ugo
3400 \end_layout
3401
3402 \end_inset
3403 </cell>
3404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3405 \begin_inset Text
3406
3407 \begin_layout Standard
3408 111
3409 \end_layout
3410
3411 \end_inset
3412 </cell>
3413 </row>
3414 <row>
3415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3416 \begin_inset Text
3417
3418 \begin_layout Standard
3419
3420 \series bold
3421 Tezzele
3422 \end_layout
3423
3424 \end_inset
3425 </cell>
3426 <cell alignment="center" valignment="top" topline="true" usebox="none">
3427 \begin_inset Text
3428
3429 \begin_layout Standard
3430 Margit
3431 \end_layout
3432
3433 \end_inset
3434 </cell>
3435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3436 \begin_inset Text
3437
3438 \begin_layout Standard
3439 111
3440 \end_layout
3441
3442 \end_inset
3443 </cell>
3444 </row>
3445 <row>
3446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3447 \begin_inset Text
3448
3449 \begin_layout Standard
3450
3451 \series bold
3452 Unterkalmsteiner
3453 \end_layout
3454
3455 \end_inset
3456 </cell>
3457 <cell alignment="center" valignment="top" topline="true" usebox="none">
3458 \begin_inset Text
3459
3460 \begin_layout Standard
3461 Frieda
3462 \end_layout
3463
3464 \end_inset
3465 </cell>
3466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3467 \begin_inset Text
3468
3469 \begin_layout Standard
3470 111
3471 \end_layout
3472
3473 \end_inset
3474 </cell>
3475 </row>
3476 <row>
3477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3478 \begin_inset Text
3479
3480 \begin_layout Standard
3481
3482 \series bold
3483 Vieider
3484 \end_layout
3485
3486 \end_inset
3487 </cell>
3488 <cell alignment="center" valignment="top" topline="true" usebox="none">
3489 \begin_inset Text
3490
3491 \begin_layout Standard
3492 Hilde
3493 \end_layout
3494
3495 \end_inset
3496 </cell>
3497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3498 \begin_inset Text
3499
3500 \begin_layout Standard
3501 111
3502 \end_layout
3503
3504 \end_inset
3505 </cell>
3506 </row>
3507 <row>
3508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3509 \begin_inset Text
3510
3511 \begin_layout Standard
3512
3513 \series bold
3514 Vigna
3515 \end_layout
3516
3517 \end_inset
3518 </cell>
3519 <cell alignment="center" valignment="top" topline="true" usebox="none">
3520 \begin_inset Text
3521
3522 \begin_layout Standard
3523 Jürgen
3524 \end_layout
3525
3526 \end_inset
3527 </cell>
3528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3529 \begin_inset Text
3530
3531 \begin_layout Standard
3532 111
3533 \end_layout
3534
3535 \end_inset
3536 </cell>
3537 </row>
3538 <row>
3539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3540 \begin_inset Text
3541
3542 \begin_layout Standard
3543
3544 \series bold
3545 Weber
3546 \end_layout
3547
3548 \end_inset
3549 </cell>
3550 <cell alignment="center" valignment="top" topline="true" usebox="none">
3551 \begin_inset Text
3552
3553 \begin_layout Standard
3554 Maurizio
3555 \end_layout
3556
3557 \end_inset
3558 </cell>
3559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3560 \begin_inset Text
3561
3562 \begin_layout Standard
3563 111
3564 \end_layout
3565
3566 \end_inset
3567 </cell>
3568 </row>
3569 <row bottomline="true">
3570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3571 \begin_inset Text
3572
3573 \begin_layout Standard
3574
3575 \series bold
3576 Winkler
3577 \end_layout
3578
3579 \end_inset
3580 </cell>
3581 <cell alignment="center" valignment="top" topline="true" usebox="none">
3582 \begin_inset Text
3583
3584 \begin_layout Standard
3585 Franz
3586 \end_layout
3587
3588 \end_inset
3589 </cell>
3590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3591 \begin_inset Text
3592
3593 \begin_layout Standard
3594 111
3595 \end_layout
3596
3597 \end_inset
3598 </cell>
3599 </row>
3600 <row bottomline="true">
3601 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3602 \begin_inset Text
3603
3604 \begin_layout Standard
3605  
3606 \end_layout
3607
3608 \end_inset
3609 </cell>
3610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3611 \begin_inset Text
3612
3613 \begin_layout Standard
3614
3615 \end_layout
3616
3617 \end_inset
3618 </cell>
3619 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3620 \begin_inset Text
3621
3622 \begin_layout Standard
3623
3624 \end_layout
3625
3626 \end_inset
3627 </cell>
3628 </row>
3629 <row>
3630 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3631 \begin_inset Text
3632
3633 \begin_layout Standard
3634
3635 \series bold
3636 Annovi
3637 \end_layout
3638
3639 \end_inset
3640 </cell>
3641 <cell alignment="center" valignment="top" topline="true" usebox="none">
3642 \begin_inset Text
3643
3644 \begin_layout Standard
3645 Silvia
3646 \end_layout
3647
3648 \end_inset
3649 </cell>
3650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3651 \begin_inset Text
3652
3653 \begin_layout Standard
3654 555
3655 \end_layout
3656
3657 \end_inset
3658 </cell>
3659 </row>
3660 <row>
3661 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3662 \begin_inset Text
3663
3664 \begin_layout Standard
3665
3666 \series bold
3667 Bertoli
3668 \end_layout
3669
3670 \end_inset
3671 </cell>
3672 <cell alignment="center" valignment="top" topline="true" usebox="none">
3673 \begin_inset Text
3674
3675 \begin_layout Standard
3676 Stefano
3677 \end_layout
3678
3679 \end_inset
3680 </cell>
3681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3682 \begin_inset Text
3683
3684 \begin_layout Standard
3685 555
3686 \end_layout
3687
3688 \end_inset
3689 </cell>
3690 </row>
3691 <row>
3692 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3693 \begin_inset Text
3694
3695 \begin_layout Standard
3696
3697 \series bold
3698 Bozzi
3699 \end_layout
3700
3701 \end_inset
3702 </cell>
3703 <cell alignment="center" valignment="top" topline="true" usebox="none">
3704 \begin_inset Text
3705
3706 \begin_layout Standard
3707 Walter
3708 \end_layout
3709
3710 \end_inset
3711 </cell>
3712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3713 \begin_inset Text
3714
3715 \begin_layout Standard
3716 555
3717 \end_layout
3718
3719 \end_inset
3720 </cell>
3721 </row>
3722 <row>
3723 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3724 \begin_inset Text
3725
3726 \begin_layout Standard
3727
3728 \series bold
3729 Cachia
3730 \end_layout
3731
3732 \end_inset
3733 </cell>
3734 <cell alignment="center" valignment="top" topline="true" usebox="none">
3735 \begin_inset Text
3736
3737 \begin_layout Standard
3738 Maria
3739 \end_layout
3740
3741 \end_inset
3742 </cell>
3743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3744 \begin_inset Text
3745
3746 \begin_layout Standard
3747 555
3748 \end_layout
3749
3750 \end_inset
3751 </cell>
3752 </row>
3753 <row>
3754 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3755 \begin_inset Text
3756
3757 \begin_layout Standard
3758
3759 \series bold
3760 Cachia
3761 \end_layout
3762
3763 \end_inset
3764 </cell>
3765 <cell alignment="center" valignment="top" topline="true" usebox="none">
3766 \begin_inset Text
3767
3768 \begin_layout Standard
3769 Maurizio
3770 \end_layout
3771
3772 \end_inset
3773 </cell>
3774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3775 \begin_inset Text
3776
3777 \begin_layout Standard
3778 555
3779 \end_layout
3780
3781 \end_inset
3782 </cell>
3783 </row>
3784 <row>
3785 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3786 \begin_inset Text
3787
3788 \begin_layout Standard
3789
3790 \series bold
3791 Cinquemani
3792 \end_layout
3793
3794 \end_inset
3795 </cell>
3796 <cell alignment="center" valignment="top" topline="true" usebox="none">
3797 \begin_inset Text
3798
3799 \begin_layout Standard
3800 Giusi
3801 \end_layout
3802
3803 \end_inset
3804 </cell>
3805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3806 \begin_inset Text
3807
3808 \begin_layout Standard
3809 555
3810 \end_layout
3811
3812 \end_inset
3813 </cell>
3814 </row>
3815 <row>
3816 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3817 \begin_inset Text
3818
3819 \begin_layout Standard
3820
3821 \series bold
3822 Colin
3823 \end_layout
3824
3825 \end_inset
3826 </cell>
3827 <cell alignment="center" valignment="top" topline="true" usebox="none">
3828 \begin_inset Text
3829
3830 \begin_layout Standard
3831 Bernard
3832 \end_layout
3833
3834 \end_inset
3835 </cell>
3836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3837 \begin_inset Text
3838
3839 \begin_layout Standard
3840 555
3841 \end_layout
3842
3843 \end_inset
3844 </cell>
3845 </row>
3846 <row>
3847 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3848 \begin_inset Text
3849
3850 \begin_layout Standard
3851
3852 \series bold
3853 Concli
3854 \end_layout
3855
3856 \end_inset
3857 </cell>
3858 <cell alignment="center" valignment="top" topline="true" usebox="none">
3859 \begin_inset Text
3860
3861 \begin_layout Standard
3862 Gianfranco
3863 \end_layout
3864
3865 \end_inset
3866 </cell>
3867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3868 \begin_inset Text
3869
3870 \begin_layout Standard
3871 555
3872 \end_layout
3873
3874 \end_inset
3875 </cell>
3876 </row>
3877 <row>
3878 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3879 \begin_inset Text
3880
3881 \begin_layout Standard
3882
3883 \series bold
3884 Dal Bosco
3885 \end_layout
3886
3887 \end_inset
3888 </cell>
3889 <cell alignment="center" valignment="top" topline="true" usebox="none">
3890 \begin_inset Text
3891
3892 \begin_layout Standard
3893 Carolina
3894 \end_layout
3895
3896 \end_inset
3897 </cell>
3898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3899 \begin_inset Text
3900
3901 \begin_layout Standard
3902 555
3903 \end_layout
3904
3905 \end_inset
3906 </cell>
3907 </row>
3908 <row>
3909 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3910 \begin_inset Text
3911
3912 \begin_layout Standard
3913
3914 \series bold
3915 Dalpiaz
3916 \end_layout
3917
3918 \end_inset
3919 </cell>
3920 <cell alignment="center" valignment="top" topline="true" usebox="none">
3921 \begin_inset Text
3922
3923 \begin_layout Standard
3924 Annamaria
3925 \end_layout
3926
3927 \end_inset
3928 </cell>
3929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3930 \begin_inset Text
3931
3932 \begin_layout Standard
3933 555
3934 \end_layout
3935
3936 \end_inset
3937 </cell>
3938 </row>
3939 <row>
3940 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3941 \begin_inset Text
3942
3943 \begin_layout Standard
3944
3945 \series bold
3946 Feliciello
3947 \end_layout
3948
3949 \end_inset
3950 </cell>
3951 <cell alignment="center" valignment="top" topline="true" usebox="none">
3952 \begin_inset Text
3953
3954 \begin_layout Standard
3955 Domenico
3956 \end_layout
3957
3958 \end_inset
3959 </cell>
3960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3961 \begin_inset Text
3962
3963 \begin_layout Standard
3964 555
3965 \end_layout
3966
3967 \end_inset
3968 </cell>
3969 </row>
3970 <row>
3971 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3972 \begin_inset Text
3973
3974 \begin_layout Standard
3975
3976 \series bold
3977 Focarelli
3978 \end_layout
3979
3980 \end_inset
3981 </cell>
3982 <cell alignment="center" valignment="top" topline="true" usebox="none">
3983 \begin_inset Text
3984
3985 \begin_layout Standard
3986 Paola
3987 \end_layout
3988
3989 \end_inset
3990 </cell>
3991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3992 \begin_inset Text
3993
3994 \begin_layout Standard
3995 555
3996 \end_layout
3997
3998 \end_inset
3999 </cell>
4000 </row>
4001 <row>
4002 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4003 \begin_inset Text
4004
4005 \begin_layout Standard
4006
4007 \series bold
4008 Galletti
4009 \end_layout
4010
4011 \end_inset
4012 </cell>
4013 <cell alignment="center" valignment="top" topline="true" usebox="none">
4014 \begin_inset Text
4015
4016 \begin_layout Standard
4017 Oreste
4018 \end_layout
4019
4020 \end_inset
4021 </cell>
4022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4023 \begin_inset Text
4024
4025 \begin_layout Standard
4026 555
4027 \end_layout
4028
4029 \end_inset
4030 </cell>
4031 </row>
4032 <row>
4033 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4034 \begin_inset Text
4035
4036 \begin_layout Standard
4037
4038 \series bold
4039 Gasparini
4040 \end_layout
4041
4042 \end_inset
4043 </cell>
4044 <cell alignment="center" valignment="top" topline="true" usebox="none">
4045 \begin_inset Text
4046
4047 \begin_layout Standard
4048 Franca
4049 \end_layout
4050
4051 \end_inset
4052 </cell>
4053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4054 \begin_inset Text
4055
4056 \begin_layout Standard
4057 555
4058 \end_layout
4059
4060 \end_inset
4061 </cell>
4062 </row>
4063 <row>
4064 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4065 \begin_inset Text
4066
4067 \begin_layout Standard
4068
4069 \series bold
4070 Rizzardi
4071 \end_layout
4072
4073 \end_inset
4074 </cell>
4075 <cell alignment="center" valignment="top" topline="true" usebox="none">
4076 \begin_inset Text
4077
4078 \begin_layout Standard
4079 Paola
4080 \end_layout
4081
4082 \end_inset
4083 </cell>
4084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4085 \begin_inset Text
4086
4087 \begin_layout Standard
4088 555
4089 \end_layout
4090
4091 \end_inset
4092 </cell>
4093 </row>
4094 <row>
4095 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4096 \begin_inset Text
4097
4098 \begin_layout Standard
4099
4100 \series bold
4101 Lassini
4102 \end_layout
4103
4104 \end_inset
4105 </cell>
4106 <cell alignment="center" valignment="top" topline="true" usebox="none">
4107 \begin_inset Text
4108
4109 \begin_layout Standard
4110 Giancarlo
4111 \end_layout
4112
4113 \end_inset
4114 </cell>
4115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4116 \begin_inset Text
4117
4118 \begin_layout Standard
4119 555
4120 \end_layout
4121
4122 \end_inset
4123 </cell>
4124 </row>
4125 <row>
4126 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4127 \begin_inset Text
4128
4129 \begin_layout Standard
4130
4131 \series bold
4132 Malfatti
4133 \end_layout
4134
4135 \end_inset
4136 </cell>
4137 <cell alignment="center" valignment="top" topline="true" usebox="none">
4138 \begin_inset Text
4139
4140 \begin_layout Standard
4141 Luciano
4142 \end_layout
4143
4144 \end_inset
4145 </cell>
4146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4147 \begin_inset Text
4148
4149 \begin_layout Standard
4150 555
4151 \end_layout
4152
4153 \end_inset
4154 </cell>
4155 </row>
4156 <row>
4157 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4158 \begin_inset Text
4159
4160 \begin_layout Standard
4161
4162 \series bold
4163 Malfatti
4164 \end_layout
4165
4166 \end_inset
4167 </cell>
4168 <cell alignment="center" valignment="top" topline="true" usebox="none">
4169 \begin_inset Text
4170
4171 \begin_layout Standard
4172 Valeriano
4173 \end_layout
4174
4175 \end_inset
4176 </cell>
4177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4178 \begin_inset Text
4179
4180 \begin_layout Standard
4181 555
4182 \end_layout
4183
4184 \end_inset
4185 </cell>
4186 </row>
4187 <row>
4188 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4189 \begin_inset Text
4190
4191 \begin_layout Standard
4192
4193 \series bold
4194 Meneguzzo
4195 \end_layout
4196
4197 \end_inset
4198 </cell>
4199 <cell alignment="center" valignment="top" topline="true" usebox="none">
4200 \begin_inset Text
4201
4202 \begin_layout Standard
4203 Roberto
4204 \end_layout
4205
4206 \end_inset
4207 </cell>
4208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4209 \begin_inset Text
4210
4211 \begin_layout Standard
4212 555
4213 \end_layout
4214
4215 \end_inset
4216 </cell>
4217 </row>
4218 <row>
4219 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4220 \begin_inset Text
4221
4222 \begin_layout Standard
4223
4224 \series bold
4225 Mezzadra
4226 \end_layout
4227
4228 \end_inset
4229 </cell>
4230 <cell alignment="center" valignment="top" topline="true" usebox="none">
4231 \begin_inset Text
4232
4233 \begin_layout Standard
4234 Roberto
4235 \end_layout
4236
4237 \end_inset
4238 </cell>
4239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4240 \begin_inset Text
4241
4242 \begin_layout Standard
4243 555
4244 \end_layout
4245
4246 \end_inset
4247 </cell>
4248 </row>
4249 <row>
4250 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4251 \begin_inset Text
4252
4253 \begin_layout Standard
4254
4255 \series bold
4256 Pirpamer
4257 \end_layout
4258
4259 \end_inset
4260 </cell>
4261 <cell alignment="center" valignment="top" topline="true" usebox="none">
4262 \begin_inset Text
4263
4264 \begin_layout Standard
4265 Erich
4266 \end_layout
4267
4268 \end_inset
4269 </cell>
4270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4271 \begin_inset Text
4272
4273 \begin_layout Standard
4274 555
4275 \end_layout
4276
4277 \end_inset
4278 </cell>
4279 </row>
4280 <row>
4281 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4282 \begin_inset Text
4283
4284 \begin_layout Standard
4285
4286 \series bold
4287 Pochiesa
4288 \end_layout
4289
4290 \end_inset
4291 </cell>
4292 <cell alignment="center" valignment="top" topline="true" usebox="none">
4293 \begin_inset Text
4294
4295 \begin_layout Standard
4296 Paolo
4297 \end_layout
4298
4299 \end_inset
4300 </cell>
4301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4302 \begin_inset Text
4303
4304 \begin_layout Standard
4305 555, 222
4306 \end_layout
4307
4308 \end_inset
4309 </cell>
4310 </row>
4311 <row>
4312 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4313 \begin_inset Text
4314
4315 \begin_layout Standard
4316
4317 \series bold
4318 Radina
4319 \end_layout
4320
4321 \end_inset
4322 </cell>
4323 <cell alignment="center" valignment="top" topline="true" usebox="none">
4324 \begin_inset Text
4325
4326 \begin_layout Standard
4327 Claudio
4328 \end_layout
4329
4330 \end_inset
4331 </cell>
4332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4333 \begin_inset Text
4334
4335 \begin_layout Standard
4336 555
4337 \end_layout
4338
4339 \end_inset
4340 </cell>
4341 </row>
4342 <row>
4343 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4344 \begin_inset Text
4345
4346 \begin_layout Standard
4347
4348 \series bold
4349 Stuffer
4350 \end_layout
4351
4352 \end_inset
4353 </cell>
4354 <cell alignment="center" valignment="top" topline="true" usebox="none">
4355 \begin_inset Text
4356
4357 \begin_layout Standard
4358 Oskar
4359 \end_layout
4360
4361 \end_inset
4362 </cell>
4363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4364 \begin_inset Text
4365
4366 \begin_layout Standard
4367 555
4368 \end_layout
4369
4370 \end_inset
4371 </cell>
4372 </row>
4373 <row>
4374 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4375 \begin_inset Text
4376
4377 \begin_layout Standard
4378
4379 \series bold
4380 Tacchelli
4381 \end_layout
4382
4383 \end_inset
4384 </cell>
4385 <cell alignment="center" valignment="top" topline="true" usebox="none">
4386 \begin_inset Text
4387
4388 \begin_layout Standard
4389 Ugo
4390 \end_layout
4391
4392 \end_inset
4393 </cell>
4394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4395 \begin_inset Text
4396
4397 \begin_layout Standard
4398 555
4399 \end_layout
4400
4401 \end_inset
4402 </cell>
4403 </row>
4404 <row>
4405 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4406 \begin_inset Text
4407
4408 \begin_layout Standard
4409
4410 \series bold
4411 Tezzele
4412 \end_layout
4413
4414 \end_inset
4415 </cell>
4416 <cell alignment="center" valignment="top" topline="true" usebox="none">
4417 \begin_inset Text
4418
4419 \begin_layout Standard
4420 Margit
4421 \end_layout
4422
4423 \end_inset
4424 </cell>
4425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4426 \begin_inset Text
4427
4428 \begin_layout Standard
4429 555
4430 \end_layout
4431
4432 \end_inset
4433 </cell>
4434 </row>
4435 <row>
4436 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4437 \begin_inset Text
4438
4439 \begin_layout Standard
4440
4441 \series bold
4442 Unterkalmsteiner
4443 \end_layout
4444
4445 \end_inset
4446 </cell>
4447 <cell alignment="center" valignment="top" topline="true" usebox="none">
4448 \begin_inset Text
4449
4450 \begin_layout Standard
4451 Frieda
4452 \end_layout
4453
4454 \end_inset
4455 </cell>
4456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4457 \begin_inset Text
4458
4459 \begin_layout Standard
4460 555
4461 \end_layout
4462
4463 \end_inset
4464 </cell>
4465 </row>
4466 <row>
4467 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4468 \begin_inset Text
4469
4470 \begin_layout Standard
4471
4472 \series bold
4473 Vieider
4474 \end_layout
4475
4476 \end_inset
4477 </cell>
4478 <cell alignment="center" valignment="top" topline="true" usebox="none">
4479 \begin_inset Text
4480
4481 \begin_layout Standard
4482 Hilde
4483 \end_layout
4484
4485 \end_inset
4486 </cell>
4487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4488 \begin_inset Text
4489
4490 \begin_layout Standard
4491 555
4492 \end_layout
4493
4494 \end_inset
4495 </cell>
4496 </row>
4497 <row>
4498 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4499 \begin_inset Text
4500
4501 \begin_layout Standard
4502
4503 \series bold
4504 Vigna
4505 \end_layout
4506
4507 \end_inset
4508 </cell>
4509 <cell alignment="center" valignment="top" topline="true" usebox="none">
4510 \begin_inset Text
4511
4512 \begin_layout Standard
4513 Jürgen
4514 \end_layout
4515
4516 \end_inset
4517 </cell>
4518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4519 \begin_inset Text
4520
4521 \begin_layout Standard
4522 999
4523 \end_layout
4524
4525 \end_inset
4526 </cell>
4527 </row>
4528 <row>
4529 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4530 \begin_inset Text
4531
4532 \begin_layout Standard
4533
4534 \series bold
4535 Weber
4536 \end_layout
4537
4538 \end_inset
4539 </cell>
4540 <cell alignment="center" valignment="top" topline="true" usebox="none">
4541 \begin_inset Text
4542
4543 \begin_layout Standard
4544 Maurizio
4545 \end_layout
4546
4547 \end_inset
4548 </cell>
4549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4550 \begin_inset Text
4551
4552 \begin_layout Standard
4553 555
4554 \end_layout
4555
4556 \end_inset
4557 </cell>
4558 </row>
4559 <row bottomline="true">
4560 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4561 \begin_inset Text
4562
4563 \begin_layout Standard
4564
4565 \series bold
4566 Winkler
4567 \end_layout
4568
4569 \end_inset
4570 </cell>
4571 <cell alignment="center" valignment="top" topline="true" usebox="none">
4572 \begin_inset Text
4573
4574 \begin_layout Standard
4575 Franz
4576 \end_layout
4577
4578 \end_inset
4579 </cell>
4580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4581 \begin_inset Text
4582
4583 \begin_layout Standard
4584 555
4585 \end_layout
4586
4587 \end_inset
4588 </cell>
4589 </row>
4590 <row bottomline="true" endlastfoot="true">
4591 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4592 \begin_inset Text
4593
4594 \begin_layout Standard
4595 end
4596 \end_layout
4597
4598 \end_inset
4599 </cell>
4600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4601 \begin_inset Text
4602
4603 \begin_layout Standard
4604
4605 \end_layout
4606
4607 \end_inset
4608 </cell>
4609 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4610 \begin_inset Text
4611
4612 \begin_layout Standard
4613
4614 \end_layout
4615
4616 \end_inset
4617 </cell>
4618 </row>
4619 </lyxtabular>
4620
4621 \end_inset
4622
4623
4624 \begin_inset ERT
4625 status collapsed
4626
4627 \begin_layout Standard
4628
4629
4630 \backslash
4631 addtocounter{table}{-1}
4632 \end_layout
4633
4634 \end_inset
4635
4636
4637 \begin_inset Note Note
4638 status collapsed
4639
4640 \begin_layout Standard
4641 See greyed-out note in section\InsetSpace ~
4642
4643 \begin_inset LatexCommand ref
4644 reference "sub:Longtable-Captions"
4645
4646 \end_inset
4647
4648  for an explanation of this command.
4649 \end_layout
4650
4651 \end_inset
4652
4653
4654 \end_layout
4655
4656 \begin_layout Subsection
4657 Footnotes in Longtables
4658 \begin_inset LatexCommand label
4659 name "sub:Footnotes-in-Longtables"
4660
4661 \end_inset
4662
4663
4664 \begin_inset LatexCommand index
4665 name "Longtables ! Footnotes"
4666
4667 \end_inset
4668
4669
4670 \end_layout
4671
4672 \begin_layout Standard
4673 Footnotes can be inserted to every longtable cell.
4674  They appear at the bottom of the page where the table cell with the footnote
4675  appears.
4676  Table\InsetSpace ~
4677
4678 \begin_inset LatexCommand ref
4679 reference "tab:DiffCaptions"
4680
4681 \end_inset
4682
4683  has for example a footnote.
4684 \end_layout
4685
4686 \begin_layout Subsection
4687 Longtable Alignment
4688 \begin_inset LatexCommand index
4689 name "Longtables ! Alignment"
4690
4691 \end_inset
4692
4693
4694 \end_layout
4695
4696 \begin_layout Standard
4697 Longtables are by default centered.
4698  In contrary to the alignment of the table columns and row, the table alignment
4699  can currently not be changed in the table dialog.
4700  To change the alignment of longtables you have to change the value of the
4701  lengths 
4702 \series bold
4703
4704 \backslash
4705 LTleft 
4706 \series default
4707 and 
4708 \series bold
4709
4710 \backslash
4711 LTright
4712 \series default
4713  by inserting this line as ERT before the corresponding longtable:
4714 \end_layout
4715
4716 \begin_layout Standard
4717
4718 \series bold
4719
4720 \backslash
4721 setlength{
4722 \backslash
4723 LTleft}{value}
4724 \end_layout
4725
4726 \begin_layout Standard
4727 Where the value can have any of the units listed in Table\InsetSpace ~
4728
4729 \begin_inset LatexCommand ref
4730 reference "tab:Units"
4731
4732 \end_inset
4733
4734 .
4735  
4736 \series bold
4737
4738 \backslash
4739 LTleft
4740 \series default
4741  controls the horizontal distance from the left page border to the longtable,
4742  
4743 \series bold
4744
4745 \backslash
4746 LTright
4747 \series default
4748  the distance from the right side.
4749  The default value for both lengths is 
4750 \series bold
4751
4752 \backslash
4753 fill
4754 \series default
4755 , which is in this case the same as an horizontal fill in LyX.
4756 \end_layout
4757
4758 \begin_layout Standard
4759 The following longtable was left-aligned by setting 
4760 \series bold
4761
4762 \backslash
4763 LTleft
4764 \series default
4765  to 0\InsetSpace \thinspace{}
4766 pt.
4767 \begin_inset ERT
4768 status collapsed
4769
4770 \begin_layout Standard
4771
4772
4773 \backslash
4774 setlength{
4775 \backslash
4776 LTleft}{0pt}
4777 \end_layout
4778
4779 \end_inset
4780
4781
4782 \end_layout
4783
4784 \begin_layout Standard
4785 \begin_inset Tabular
4786 <lyxtabular version="3" rows="5" columns="5">
4787 <features islongtable="true">
4788 <column alignment="center" valignment="top" leftline="true" width="0">
4789 <column alignment="center" valignment="top" leftline="true" width="0">
4790 <column alignment="center" valignment="top" leftline="true" width="0">
4791 <column alignment="center" valignment="top" leftline="true" width="0">
4792 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4793 <row topline="true">
4794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4795 \begin_inset Text
4796
4797 \begin_layout Standard
4798 1
4799 \end_layout
4800
4801 \end_inset
4802 </cell>
4803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4804 \begin_inset Text
4805
4806 \begin_layout Standard
4807 2
4808 \end_layout
4809
4810 \end_inset
4811 </cell>
4812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4813 \begin_inset Text
4814
4815 \begin_layout Standard
4816 3
4817 \end_layout
4818
4819 \end_inset
4820 </cell>
4821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4822 \begin_inset Text
4823
4824 \begin_layout Standard
4825 4
4826 \end_layout
4827
4828 \end_inset
4829 </cell>
4830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4831 \begin_inset Text
4832
4833 \begin_layout Standard
4834 5
4835 \end_layout
4836
4837 \end_inset
4838 </cell>
4839 </row>
4840 <row topline="true">
4841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4842 \begin_inset Text
4843
4844 \begin_layout Standard
4845 asd
4846 \end_layout
4847
4848 \end_inset
4849 </cell>
4850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4851 \begin_inset Text
4852
4853 \begin_layout Standard
4854 s
4855 \end_layout
4856
4857 \end_inset
4858 </cell>
4859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4860 \begin_inset Text
4861
4862 \begin_layout Standard
4863 s
4864 \end_layout
4865
4866 \end_inset
4867 </cell>
4868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4869 \begin_inset Text
4870
4871 \begin_layout Standard
4872 s
4873 \end_layout
4874
4875 \end_inset
4876 </cell>
4877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4878 \begin_inset Text
4879
4880 \begin_layout Standard
4881 asd
4882 \end_layout
4883
4884 \end_inset
4885 </cell>
4886 </row>
4887 <row topline="true">
4888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4889 \begin_inset Text
4890
4891 \begin_layout Standard
4892 asd
4893 \end_layout
4894
4895 \end_inset
4896 </cell>
4897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4898 \begin_inset Text
4899
4900 \begin_layout Standard
4901 s
4902 \end_layout
4903
4904 \end_inset
4905 </cell>
4906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4907 \begin_inset Text
4908
4909 \begin_layout Standard
4910 s
4911 \end_layout
4912
4913 \end_inset
4914 </cell>
4915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4916 \begin_inset Text
4917
4918 \begin_layout Standard
4919 s
4920 \end_layout
4921
4922 \end_inset
4923 </cell>
4924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4925 \begin_inset Text
4926
4927 \begin_layout Standard
4928 asd
4929 \end_layout
4930
4931 \end_inset
4932 </cell>
4933 </row>
4934 <row topline="true">
4935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4936 \begin_inset Text
4937
4938 \begin_layout Standard
4939 asd
4940 \end_layout
4941
4942 \end_inset
4943 </cell>
4944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4945 \begin_inset Text
4946
4947 \begin_layout Standard
4948 s
4949 \end_layout
4950
4951 \end_inset
4952 </cell>
4953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4954 \begin_inset Text
4955
4956 \begin_layout Standard
4957 s
4958 \end_layout
4959
4960 \end_inset
4961 </cell>
4962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4963 \begin_inset Text
4964
4965 \begin_layout Standard
4966 s
4967 \end_layout
4968
4969 \end_inset
4970 </cell>
4971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4972 \begin_inset Text
4973
4974 \begin_layout Standard
4975 asd
4976 \end_layout
4977
4978 \end_inset
4979 </cell>
4980 </row>
4981 <row topline="true" bottomline="true">
4982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4983 \begin_inset Text
4984
4985 \begin_layout Standard
4986 asd
4987 \end_layout
4988
4989 \end_inset
4990 </cell>
4991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4992 \begin_inset Text
4993
4994 \begin_layout Standard
4995 asd
4996 \end_layout
4997
4998 \end_inset
4999 </cell>
5000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5001 \begin_inset Text
5002
5003 \begin_layout Standard
5004 asd
5005 \end_layout
5006
5007 \end_inset
5008 </cell>
5009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5010 \begin_inset Text
5011
5012 \begin_layout Standard
5013 asd
5014 \end_layout
5015
5016 \end_inset
5017 </cell>
5018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5019 \begin_inset Text
5020
5021 \begin_layout Standard
5022 asd
5023 \end_layout
5024
5025 \end_inset
5026 </cell>
5027 </row>
5028 </lyxtabular>
5029
5030 \end_inset
5031
5032
5033 \begin_inset ERT
5034 status collapsed
5035
5036 \begin_layout Standard
5037
5038
5039 \backslash
5040 setlength{
5041 \backslash
5042 LTleft}{
5043 \backslash
5044 fill}
5045 \end_layout
5046
5047 \end_inset
5048
5049
5050 \end_layout
5051
5052 \begin_layout Subsection
5053 Longtable Captions
5054 \begin_inset LatexCommand index
5055 name "Longtables ! Captions"
5056
5057 \end_inset
5058
5059
5060 \begin_inset LatexCommand label
5061 name "sub:Longtable-Captions"
5062
5063 \end_inset
5064
5065
5066 \end_layout
5067
5068 \begin_layout Standard
5069 A longtable cannot be put into a table float because floats can only be
5070  on one page but the caption environment of floats can also be used for
5071  longtables.
5072 \end_layout
5073
5074 \begin_layout Standard
5075 As LyX does not yet fully support captions in longtables, a hack is needed
5076  to create them:
5077 \end_layout
5078
5079 \begin_layout Enumerate
5080 Create a longtable
5081 \family sans
5082 .
5083 \end_layout
5084
5085 \begin_layout Enumerate
5086 Mark the first row and disable its upper line.
5087 \end_layout
5088
5089 \begin_layout Enumerate
5090 Insert a caption via the menu 
5091 \family sans
5092 Insert\SpecialChar \menuseparator
5093 Caption
5094 \family default
5095  into the first table cell.
5096 \newline
5097 You can also add a short title for the caption.
5098 \end_layout
5099
5100 \begin_layout Enumerate
5101 Insert a 
5102 \begin_inset Quotes eld
5103 \end_inset
5104
5105
5106 \series bold
5107
5108 \backslash
5109
5110 \backslash
5111 %
5112 \series default
5113
5114 \begin_inset Quotes erd
5115 \end_inset
5116
5117  as ERT behind the caption.
5118 \end_layout
5119
5120 \begin_layout Standard
5121 A short title that will appear in the LOT instead of the full title.
5122  The 
5123 \series bold
5124
5125 \backslash
5126
5127 \backslash
5128 %
5129 \series default
5130  behind the caption omits the vertical lines between the following cells
5131  in the row.
5132  The first table row is now only a dummy row for the caption, the actual
5133  table starts with the second row.
5134 \end_layout
5135
5136 \begin_layout Standard
5137 Here is a short longtable to see how it works:
5138 \end_layout
5139
5140 \begin_layout Standard
5141 \begin_inset Tabular
5142 <lyxtabular version="3" rows="6" columns="5">
5143 <features islongtable="true">
5144 <column alignment="center" valignment="top" leftline="true" width="0">
5145 <column alignment="center" valignment="top" leftline="true" width="0">
5146 <column alignment="center" valignment="top" leftline="true" width="0">
5147 <column alignment="center" valignment="top" leftline="true" width="0">
5148 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5149 <row>
5150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5151 \begin_inset Text
5152
5153 \begin_layout Standard
5154 \begin_inset Caption
5155
5156 \begin_layout Standard
5157 Longtable with caption
5158 \begin_inset OptArg
5159 status open
5160
5161 \begin_layout Standard
5162 Longtable
5163 \end_layout
5164
5165 \end_inset
5166
5167
5168 \end_layout
5169
5170 \end_inset
5171
5172
5173 \begin_inset ERT
5174 status collapsed
5175
5176 \begin_layout Standard
5177
5178
5179 \backslash
5180
5181 \backslash
5182 %
5183 \end_layout
5184
5185 \end_inset
5186
5187
5188 \end_layout
5189
5190 \end_inset
5191 </cell>
5192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Standard
5196
5197 \end_layout
5198
5199 \end_inset
5200 </cell>
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5202 \begin_inset Text
5203
5204 \begin_layout Standard
5205
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5211 \begin_inset Text
5212
5213 \begin_layout Standard
5214
5215 \end_layout
5216
5217 \end_inset
5218 </cell>
5219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5220 \begin_inset Text
5221
5222 \begin_layout Standard
5223
5224 \end_layout
5225
5226 \end_inset
5227 </cell>
5228 </row>
5229 <row topline="true">
5230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5231 \begin_inset Text
5232
5233 \begin_layout Standard
5234 1
5235 \end_layout
5236
5237 \end_inset
5238 </cell>
5239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5240 \begin_inset Text
5241
5242 \begin_layout Standard
5243 2
5244 \end_layout
5245
5246 \end_inset
5247 </cell>
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5249 \begin_inset Text
5250
5251 \begin_layout Standard
5252 3
5253 \end_layout
5254
5255 \end_inset
5256 </cell>
5257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5258 \begin_inset Text
5259
5260 \begin_layout Standard
5261 4
5262 \end_layout
5263
5264 \end_inset
5265 </cell>
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5267 \begin_inset Text
5268
5269 \begin_layout Standard
5270 5
5271 \end_layout
5272
5273 \end_inset
5274 </cell>
5275 </row>
5276 <row topline="true">
5277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5278 \begin_inset Text
5279
5280 \begin_layout Standard
5281 asd
5282 \end_layout
5283
5284 \end_inset
5285 </cell>
5286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5287 \begin_inset Text
5288
5289 \begin_layout Standard
5290 s
5291 \end_layout
5292
5293 \end_inset
5294 </cell>
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5296 \begin_inset Text
5297
5298 \begin_layout Standard
5299 s
5300 \end_layout
5301
5302 \end_inset
5303 </cell>
5304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5305 \begin_inset Text
5306
5307 \begin_layout Standard
5308 s
5309 \end_layout
5310
5311 \end_inset
5312 </cell>
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5314 \begin_inset Text
5315
5316 \begin_layout Standard
5317 asd
5318 \end_layout
5319
5320 \end_inset
5321 </cell>
5322 </row>
5323 <row topline="true">
5324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5325 \begin_inset Text
5326
5327 \begin_layout Standard
5328 asd
5329 \end_layout
5330
5331 \end_inset
5332 </cell>
5333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5334 \begin_inset Text
5335
5336 \begin_layout Standard
5337 s
5338 \end_layout
5339
5340 \end_inset
5341 </cell>
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5343 \begin_inset Text
5344
5345 \begin_layout Standard
5346 s
5347 \end_layout
5348
5349 \end_inset
5350 </cell>
5351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5352 \begin_inset Text
5353
5354 \begin_layout Standard
5355 s
5356 \end_layout
5357
5358 \end_inset
5359 </cell>
5360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Standard
5364 asd
5365 \end_layout
5366
5367 \end_inset
5368 </cell>
5369 </row>
5370 <row topline="true">
5371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5372 \begin_inset Text
5373
5374 \begin_layout Standard
5375 asd
5376 \end_layout
5377
5378 \end_inset
5379 </cell>
5380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5381 \begin_inset Text
5382
5383 \begin_layout Standard
5384 s
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Standard
5393 s
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Standard
5402 s
5403 \end_layout
5404
5405 \end_inset
5406 </cell>
5407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5408 \begin_inset Text
5409
5410 \begin_layout Standard
5411 asd
5412 \end_layout
5413
5414 \end_inset
5415 </cell>
5416 </row>
5417 <row topline="true" bottomline="true">
5418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5419 \begin_inset Text
5420
5421 \begin_layout Standard
5422 asd
5423 \end_layout
5424
5425 \end_inset
5426 </cell>
5427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5428 \begin_inset Text
5429
5430 \begin_layout Standard
5431 asd
5432 \end_layout
5433
5434 \end_inset
5435 </cell>
5436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5437 \begin_inset Text
5438
5439 \begin_layout Standard
5440 asd
5441 \end_layout
5442
5443 \end_inset
5444 </cell>
5445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5446 \begin_inset Text
5447
5448 \begin_layout Standard
5449 asd
5450 \end_layout
5451
5452 \end_inset
5453 </cell>
5454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5455 \begin_inset Text
5456
5457 \begin_layout Standard
5458 asd
5459 \end_layout
5460
5461 \end_inset
5462 </cell>
5463 </row>
5464 </lyxtabular>
5465
5466 \end_inset
5467
5468
5469 \end_layout
5470
5471 \begin_layout Standard
5472 \begin_inset VSpace medskip
5473 \end_inset
5474
5475
5476 \begin_inset Note Greyedout
5477 status open
5478
5479 \begin_layout Standard
5480
5481 \series bold
5482 Note:
5483 \series default
5484  The table number is increased for every longtable, also if you didn't set
5485  a caption for it.
5486  For this reason you could have the case that e.g.
5487  Table\InsetSpace ~
5488 2.4 follows on Table\InsetSpace ~
5489 2.1 in the list of tables if there are two longtables
5490  without captions.
5491  To avoid this you can add the following command in ERT behind every longtable
5492  without a caption:
5493 \end_layout
5494
5495 \begin_layout Standard
5496
5497 \series bold
5498
5499 \backslash
5500 addtocounter{table}{-1}
5501 \end_layout
5502
5503 \end_inset
5504
5505
5506 \end_layout
5507
5508 \begin_layout Standard
5509 \begin_inset Note Greyedout
5510 status open
5511
5512 \begin_layout Standard
5513
5514 \series bold
5515 Note:
5516 \series default
5517  If you are using the LaTeX-package 
5518 \series bold
5519 hyperref
5520 \series default
5521
5522 \begin_inset LatexCommand index
5523 name "LaTeX-packages ! hyperref"
5524
5525 \end_inset
5526
5527  to link cross-references, the link to a longtable caption will always point
5528  to the beginning of the document.
5529 \end_layout
5530
5531 \end_inset
5532
5533
5534 \end_layout
5535
5536 \begin_layout Standard
5537
5538 \newpage
5539
5540 \end_layout
5541
5542 \begin_layout Subsubsection
5543 References to Longtables
5544 \begin_inset LatexCommand index
5545 name "Longtables ! References"
5546
5547 \end_inset
5548
5549
5550 \end_layout
5551
5552 \begin_layout Standard
5553 \begin_inset Tabular
5554 <lyxtabular version="3" rows="6" columns="5">
5555 <features islongtable="true">
5556 <column alignment="center" valignment="top" leftline="true" width="0">
5557 <column alignment="center" valignment="top" leftline="true" width="0">
5558 <column alignment="center" valignment="top" leftline="true" width="0">
5559 <column alignment="center" valignment="top" leftline="true" width="0">
5560 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5561 <row>
5562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5563 \begin_inset Text
5564
5565 \begin_layout Standard
5566 \begin_inset Caption
5567
5568 \begin_layout Standard
5569 Referenced longtable
5570 \begin_inset LatexCommand label
5571 name "tab:RefExample"
5572
5573 \end_inset
5574
5575
5576 \end_layout
5577
5578 \end_inset
5579
5580
5581 \begin_inset ERT
5582 status collapsed
5583
5584 \begin_layout Standard
5585
5586
5587 \backslash
5588
5589 \backslash
5590 %
5591 \end_layout
5592
5593 \end_inset
5594
5595
5596 \end_layout
5597
5598 \end_inset
5599 </cell>
5600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5601 \begin_inset Text
5602
5603 \begin_layout Standard
5604
5605 \end_layout
5606
5607 \end_inset
5608 </cell>
5609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5610 \begin_inset Text
5611
5612 \begin_layout Standard
5613
5614 \end_layout
5615
5616 \end_inset
5617 </cell>
5618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5619 \begin_inset Text
5620
5621 \begin_layout Standard
5622
5623 \end_layout
5624
5625 \end_inset
5626 </cell>
5627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5628 \begin_inset Text
5629
5630 \begin_layout Standard
5631
5632 \end_layout
5633
5634 \end_inset
5635 </cell>
5636 </row>
5637 <row topline="true">
5638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5639 \begin_inset Text
5640
5641 \begin_layout Standard
5642 1
5643 \end_layout
5644
5645 \end_inset
5646 </cell>
5647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5648 \begin_inset Text
5649
5650 \begin_layout Standard
5651 2
5652 \end_layout
5653
5654 \end_inset
5655 </cell>
5656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5657 \begin_inset Text
5658
5659 \begin_layout Standard
5660 3
5661 \end_layout
5662
5663 \end_inset
5664 </cell>
5665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5666 \begin_inset Text
5667
5668 \begin_layout Standard
5669 4
5670 \end_layout
5671
5672 \end_inset
5673 </cell>
5674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5675 \begin_inset Text
5676
5677 \begin_layout Standard
5678 5
5679 \end_layout
5680
5681 \end_inset
5682 </cell>
5683 </row>
5684 <row topline="true">
5685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5686 \begin_inset Text
5687
5688 \begin_layout Standard
5689 asd
5690 \end_layout
5691
5692 \end_inset
5693 </cell>
5694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5695 \begin_inset Text
5696
5697 \begin_layout Standard
5698 s
5699 \end_layout
5700
5701 \end_inset
5702 </cell>
5703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5704 \begin_inset Text
5705
5706 \begin_layout Standard
5707 s
5708 \end_layout
5709
5710 \end_inset
5711 </cell>
5712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5713 \begin_inset Text
5714
5715 \begin_layout Standard
5716 s
5717 \end_layout
5718
5719 \end_inset
5720 </cell>
5721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5722 \begin_inset Text
5723
5724 \begin_layout Standard
5725 asd
5726 \end_layout
5727
5728 \end_inset
5729 </cell>
5730 </row>
5731 <row topline="true">
5732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5733 \begin_inset Text
5734
5735 \begin_layout Standard
5736 asd
5737 \end_layout
5738
5739 \end_inset
5740 </cell>
5741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5742 \begin_inset Text
5743
5744 \begin_layout Standard
5745 s
5746 \end_layout
5747
5748 \end_inset
5749 </cell>
5750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5751 \begin_inset Text
5752
5753 \begin_layout Standard
5754 s
5755 \end_layout
5756
5757 \end_inset
5758 </cell>
5759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5760 \begin_inset Text
5761
5762 \begin_layout Standard
5763 s
5764 \end_layout
5765
5766 \end_inset
5767 </cell>
5768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5769 \begin_inset Text
5770
5771 \begin_layout Standard
5772 asd
5773 \end_layout
5774
5775 \end_inset
5776 </cell>
5777 </row>
5778 <row topline="true">
5779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5780 \begin_inset Text
5781
5782 \begin_layout Standard
5783 asd
5784 \end_layout
5785
5786 \end_inset
5787 </cell>
5788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5789 \begin_inset Text
5790
5791 \begin_layout Standard
5792 s
5793 \end_layout
5794
5795 \end_inset
5796 </cell>
5797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5798 \begin_inset Text
5799
5800 \begin_layout Standard
5801 s
5802 \end_layout
5803
5804 \end_inset
5805 </cell>
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5807 \begin_inset Text
5808
5809 \begin_layout Standard
5810 s
5811 \end_layout
5812
5813 \end_inset
5814 </cell>
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5816 \begin_inset Text
5817
5818 \begin_layout Standard
5819 asd
5820 \end_layout
5821
5822 \end_inset
5823 </cell>
5824 </row>
5825 <row topline="true" bottomline="true">
5826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5827 \begin_inset Text
5828
5829 \begin_layout Standard
5830 asd
5831 \end_layout
5832
5833 \end_inset
5834 </cell>
5835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5836 \begin_inset Text
5837
5838 \begin_layout Standard
5839 sad
5840 \end_layout
5841
5842 \end_inset
5843 </cell>
5844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5845 \begin_inset Text
5846
5847 \begin_layout Standard
5848 asd
5849 \end_layout
5850
5851 \end_inset
5852 </cell>
5853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5854 \begin_inset Text
5855
5856 \begin_layout Standard
5857 asd
5858 \end_layout
5859
5860 \end_inset
5861 </cell>
5862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5863 \begin_inset Text
5864
5865 \begin_layout Standard
5866 asd
5867 \end_layout
5868
5869 \end_inset
5870 </cell>
5871 </row>
5872 </lyxtabular>
5873
5874 \end_inset
5875
5876
5877 \end_layout
5878
5879 \begin_layout Standard
5880 To reference a longtable, insert a label into the caption.
5881  Note that you have to add the label prefix 
5882 \begin_inset Quotes eld
5883 \end_inset
5884
5885
5886 \emph on
5887 tab:
5888 \emph default
5889
5890 \begin_inset Quotes eld
5891 \end_inset
5892
5893  manually in the label field.
5894 \end_layout
5895
5896 \begin_layout Standard
5897 This is a reference to Table\InsetSpace ~
5898
5899 \begin_inset LatexCommand ref
5900 reference "tab:RefExample"
5901
5902 \end_inset
5903
5904 .
5905 \end_layout
5906
5907 \begin_layout Standard
5908 The caption layout can be set together with all other caption of your document
5909  using the LaTeX-package 
5910 \series bold
5911 caption
5912 \series default
5913
5914 \begin_inset LatexCommand index
5915 name "LaTeX-packages ! caption"
5916
5917 \end_inset
5918
5919 , see section\InsetSpace ~
5920
5921 \begin_inset LatexCommand ref
5922 reference "sec:Caption-Formatting"
5923
5924 \end_inset
5925
5926 .
5927 \end_layout
5928
5929 \begin_layout Subsubsection
5930 Caption Width
5931 \begin_inset LatexCommand index
5932 name "Longtables ! Caption Width"
5933
5934 \end_inset
5935
5936
5937 \end_layout
5938
5939 \begin_layout Standard
5940 The maximal width of of caption lines is defined by the length 
5941 \series bold
5942
5943 \backslash
5944 LTcapwidth
5945 \series default
5946 .
5947  Its default value is 4\InsetSpace \thinspace{}
5948 in.
5949  To change it add the following command to your document preamble or as
5950  ERT into your document before the longtable that should be affected
5951 \end_layout
5952
5953 \begin_layout Standard
5954
5955 \series bold
5956
5957 \backslash
5958 setlength{
5959 \backslash
5960 LTcapwidth}{width}
5961 \end_layout
5962
5963 \begin_layout Standard
5964 where the width could have one of the units listed in appendix\InsetSpace ~
5965
5966 \begin_inset LatexCommand ref
5967 reference "cha:Units-available-in"
5968
5969 \end_inset
5970
5971 .
5972 \end_layout
5973
5974 \begin_layout Standard
5975 The following tables show the difference:
5976 \end_layout
5977
5978 \begin_layout Standard
5979 \begin_inset Tabular
5980 <lyxtabular version="3" rows="6" columns="5">
5981 <features islongtable="true">
5982 <column alignment="center" valignment="top" leftline="true" width="0">
5983 <column alignment="center" valignment="top" leftline="true" width="0">
5984 <column alignment="center" valignment="top" leftline="true" width="0">
5985 <column alignment="center" valignment="top" leftline="true" width="0">
5986 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5987 <row>
5988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5989 \begin_inset Text
5990
5991 \begin_layout Standard
5992 \begin_inset Caption
5993
5994 \begin_layout Standard
5995 long full title with default width long full title with default width long
5996  full title with default width
5997 \begin_inset OptArg
5998 status collapsed
5999
6000 \begin_layout Standard
6001 caption with default width
6002 \end_layout
6003
6004 \end_inset
6005
6006
6007 \end_layout
6008
6009 \end_inset
6010
6011
6012 \begin_inset ERT
6013 status collapsed
6014
6015 \begin_layout Standard
6016
6017
6018 \backslash
6019
6020 \backslash
6021 %
6022 \end_layout
6023
6024 \end_inset
6025
6026
6027 \end_layout
6028
6029 \end_inset
6030 </cell>
6031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6032 \begin_inset Text
6033
6034 \begin_layout Standard
6035
6036 \end_layout
6037
6038 \end_inset
6039 </cell>
6040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6041 \begin_inset Text
6042
6043 \begin_layout Standard
6044
6045 \end_layout
6046
6047 \end_inset
6048 </cell>
6049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6050 \begin_inset Text
6051
6052 \begin_layout Standard
6053
6054 \end_layout
6055
6056 \end_inset
6057 </cell>
6058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6059 \begin_inset Text
6060
6061 \begin_layout Standard
6062
6063 \end_layout
6064
6065 \end_inset
6066 </cell>
6067 </row>
6068 <row topline="true">
6069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6070 \begin_inset Text
6071
6072 \begin_layout Standard
6073 1
6074 \end_layout
6075
6076 \end_inset
6077 </cell>
6078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6079 \begin_inset Text
6080
6081 \begin_layout Standard
6082 2
6083 \end_layout
6084
6085 \end_inset
6086 </cell>
6087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6088 \begin_inset Text
6089
6090 \begin_layout Standard
6091 3
6092 \end_layout
6093
6094 \end_inset
6095 </cell>
6096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6097 \begin_inset Text
6098
6099 \begin_layout Standard
6100 4
6101 \end_layout
6102
6103 \end_inset
6104 </cell>
6105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6106 \begin_inset Text
6107
6108 \begin_layout Standard
6109 5
6110 \end_layout
6111
6112 \end_inset
6113 </cell>
6114 </row>
6115 <row topline="true">
6116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6117 \begin_inset Text
6118
6119 \begin_layout Standard
6120 asd
6121 \end_layout
6122
6123 \end_inset
6124 </cell>
6125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6126 \begin_inset Text
6127
6128 \begin_layout Standard
6129 s
6130 \end_layout
6131
6132 \end_inset
6133 </cell>
6134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6135 \begin_inset Text
6136
6137 \begin_layout Standard
6138 s
6139 \end_layout
6140
6141 \end_inset
6142 </cell>
6143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6144 \begin_inset Text
6145
6146 \begin_layout Standard
6147 s
6148 \end_layout
6149
6150 \end_inset
6151 </cell>
6152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6153 \begin_inset Text
6154
6155 \begin_layout Standard
6156 asd
6157 \end_layout
6158
6159 \end_inset
6160 </cell>
6161 </row>
6162 <row topline="true">
6163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6164 \begin_inset Text
6165
6166 \begin_layout Standard
6167 asd
6168 \end_layout
6169
6170 \end_inset
6171 </cell>
6172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6173 \begin_inset Text
6174
6175 \begin_layout Standard
6176 s
6177 \end_layout
6178
6179 \end_inset
6180 </cell>
6181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6182 \begin_inset Text
6183
6184 \begin_layout Standard
6185 s
6186 \end_layout
6187
6188 \end_inset
6189 </cell>
6190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6191 \begin_inset Text
6192
6193 \begin_layout Standard
6194 s
6195 \end_layout
6196
6197 \end_inset
6198 </cell>
6199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6200 \begin_inset Text
6201
6202 \begin_layout Standard
6203 asd
6204 \end_layout
6205
6206 \end_inset
6207 </cell>
6208 </row>
6209 <row topline="true">
6210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6211 \begin_inset Text
6212
6213 \begin_layout Standard
6214 asd
6215 \end_layout
6216
6217 \end_inset
6218 </cell>
6219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6220 \begin_inset Text
6221
6222 \begin_layout Standard
6223 s
6224 \end_layout
6225
6226 \end_inset
6227 </cell>
6228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6229 \begin_inset Text
6230
6231 \begin_layout Standard
6232 s
6233 \end_layout
6234
6235 \end_inset
6236 </cell>
6237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6238 \begin_inset Text
6239
6240 \begin_layout Standard
6241 s
6242 \end_layout
6243
6244 \end_inset
6245 </cell>
6246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6247 \begin_inset Text
6248
6249 \begin_layout Standard
6250 asd
6251 \end_layout
6252
6253 \end_inset
6254 </cell>
6255 </row>
6256 <row topline="true" bottomline="true">
6257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6258 \begin_inset Text
6259
6260 \begin_layout Standard
6261 asd
6262 \end_layout
6263
6264 \end_inset
6265 </cell>
6266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6267 \begin_inset Text
6268
6269 \begin_layout Standard
6270 sad
6271 \end_layout
6272
6273 \end_inset
6274 </cell>
6275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6276 \begin_inset Text
6277
6278 \begin_layout Standard
6279 asd
6280 \end_layout
6281
6282 \end_inset
6283 </cell>
6284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6285 \begin_inset Text
6286
6287 \begin_layout Standard
6288 asd
6289 \end_layout
6290
6291 \end_inset
6292 </cell>
6293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6294 \begin_inset Text
6295
6296 \begin_layout Standard
6297 asd
6298 \end_layout
6299
6300 \end_inset
6301 </cell>
6302 </row>
6303 </lyxtabular>
6304
6305 \end_inset
6306
6307
6308 \end_layout
6309
6310 \begin_layout Standard
6311 \begin_inset ERT
6312 status collapsed
6313
6314 \begin_layout Standard
6315
6316
6317 \backslash
6318 setlength{
6319 \backslash
6320 LTcapwidth}{5cm}
6321 \end_layout
6322
6323 \end_inset
6324
6325
6326 \begin_inset Tabular
6327 <lyxtabular version="3" rows="6" columns="5">
6328 <features islongtable="true">
6329 <column alignment="center" valignment="top" leftline="true" width="0">
6330 <column alignment="center" valignment="top" leftline="true" width="0">
6331 <column alignment="center" valignment="top" leftline="true" width="0">
6332 <column alignment="center" valignment="top" leftline="true" width="0">
6333 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6334 <row>
6335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6336 \begin_inset Text
6337
6338 \begin_layout Standard
6339 \begin_inset Caption
6340
6341 \begin_layout Standard
6342 long full title with width set to 5\InsetSpace \thinspace{}
6343 cm long full title with width set to
6344  5\InsetSpace \thinspace{}
6345 cm long full title with width set to 5\InsetSpace \thinspace{}
6346 cm
6347 \begin_inset OptArg
6348 status collapsed
6349
6350 \begin_layout Standard
6351 caption with width\InsetSpace \thinspace{}
6352 =\InsetSpace \thinspace{}
6353 5\InsetSpace \thinspace{}
6354 cm
6355 \end_layout
6356
6357 \end_inset
6358
6359
6360 \end_layout
6361
6362 \end_inset
6363
6364
6365 \begin_inset ERT
6366 status collapsed
6367
6368 \begin_layout Standard
6369
6370
6371 \backslash
6372
6373 \backslash
6374 %
6375 \end_layout
6376
6377 \end_inset
6378
6379
6380 \end_layout
6381
6382 \end_inset
6383 </cell>
6384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6385 \begin_inset Text
6386
6387 \begin_layout Standard
6388
6389 \end_layout
6390
6391 \end_inset
6392 </cell>
6393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6394 \begin_inset Text
6395
6396 \begin_layout Standard
6397
6398 \end_layout
6399
6400 \end_inset
6401 </cell>
6402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6403 \begin_inset Text
6404
6405 \begin_layout Standard
6406
6407 \end_layout
6408
6409 \end_inset
6410 </cell>
6411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6412 \begin_inset Text
6413
6414 \begin_layout Standard
6415
6416 \end_layout
6417
6418 \end_inset
6419 </cell>
6420 </row>
6421 <row topline="true">
6422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6423 \begin_inset Text
6424
6425 \begin_layout Standard
6426 1
6427 \end_layout
6428
6429 \end_inset
6430 </cell>
6431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6432 \begin_inset Text
6433
6434 \begin_layout Standard
6435 2
6436 \end_layout
6437
6438 \end_inset
6439 </cell>
6440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6441 \begin_inset Text
6442
6443 \begin_layout Standard
6444 3
6445 \end_layout
6446
6447 \end_inset
6448 </cell>
6449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6450 \begin_inset Text
6451
6452 \begin_layout Standard
6453 4
6454 \end_layout
6455
6456 \end_inset
6457 </cell>
6458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6459 \begin_inset Text
6460
6461 \begin_layout Standard
6462 5
6463 \end_layout
6464
6465 \end_inset
6466 </cell>
6467 </row>
6468 <row topline="true">
6469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6470 \begin_inset Text
6471
6472 \begin_layout Standard
6473 asd
6474 \end_layout
6475
6476 \end_inset
6477 </cell>
6478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6479 \begin_inset Text
6480
6481 \begin_layout Standard
6482 s
6483 \end_layout
6484
6485 \end_inset
6486 </cell>
6487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6488 \begin_inset Text
6489
6490 \begin_layout Standard
6491 s
6492 \end_layout
6493
6494 \end_inset
6495 </cell>
6496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6497 \begin_inset Text
6498
6499 \begin_layout Standard
6500 s
6501 \end_layout
6502
6503 \end_inset
6504 </cell>
6505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6506 \begin_inset Text
6507
6508 \begin_layout Standard
6509 asd
6510 \end_layout
6511
6512 \end_inset
6513 </cell>
6514 </row>
6515 <row topline="true">
6516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6517 \begin_inset Text
6518
6519 \begin_layout Standard
6520 asd
6521 \end_layout
6522
6523 \end_inset
6524 </cell>
6525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6526 \begin_inset Text
6527
6528 \begin_layout Standard
6529 s
6530 \end_layout
6531
6532 \end_inset
6533 </cell>
6534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6535 \begin_inset Text
6536
6537 \begin_layout Standard
6538 s
6539 \end_layout
6540
6541 \end_inset
6542 </cell>
6543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6544 \begin_inset Text
6545
6546 \begin_layout Standard
6547 s
6548 \end_layout
6549
6550 \end_inset
6551 </cell>
6552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6553 \begin_inset Text
6554
6555 \begin_layout Standard
6556 asd
6557 \end_layout
6558
6559 \end_inset
6560 </cell>
6561 </row>
6562 <row topline="true">
6563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6564 \begin_inset Text
6565
6566 \begin_layout Standard
6567 asd
6568 \end_layout
6569
6570 \end_inset
6571 </cell>
6572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6573 \begin_inset Text
6574
6575 \begin_layout Standard
6576 s
6577 \end_layout
6578
6579 \end_inset
6580 </cell>
6581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6582 \begin_inset Text
6583
6584 \begin_layout Standard
6585 s
6586 \end_layout
6587
6588 \end_inset
6589 </cell>
6590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6591 \begin_inset Text
6592
6593 \begin_layout Standard
6594 s
6595 \end_layout
6596
6597 \end_inset
6598 </cell>
6599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6600 \begin_inset Text
6601
6602 \begin_layout Standard
6603 asd
6604 \end_layout
6605
6606 \end_inset
6607 </cell>
6608 </row>
6609 <row topline="true" bottomline="true">
6610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6611 \begin_inset Text
6612
6613 \begin_layout Standard
6614 asd
6615 \end_layout
6616
6617 \end_inset
6618 </cell>
6619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Standard
6623 sad
6624 \end_layout
6625
6626 \end_inset
6627 </cell>
6628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6629 \begin_inset Text
6630
6631 \begin_layout Standard
6632 asd
6633 \end_layout
6634
6635 \end_inset
6636 </cell>
6637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6638 \begin_inset Text
6639
6640 \begin_layout Standard
6641 asd
6642 \end_layout
6643
6644 \end_inset
6645 </cell>
6646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6647 \begin_inset Text
6648
6649 \begin_layout Standard
6650 asd
6651 \end_layout
6652
6653 \end_inset
6654 </cell>
6655 </row>
6656 </lyxtabular>
6657
6658 \end_inset
6659
6660
6661 \end_layout
6662
6663 \begin_layout Standard
6664 \begin_inset ERT
6665 status collapsed
6666
6667 \begin_layout Standard
6668
6669
6670 \backslash
6671 setlength{
6672 \backslash
6673 LTcapwidth}{4in}
6674 \end_layout
6675
6676 \end_inset
6677
6678
6679 \end_layout
6680
6681 \begin_layout Standard
6682 \begin_inset Note Greyedout
6683 status open
6684
6685 \begin_layout Standard
6686
6687 \series bold
6688 Note:
6689 \series default
6690  When the LaTeX-package 
6691 \series bold
6692 caption
6693 \series default
6694
6695 \begin_inset LatexCommand index
6696 name "LaTeX-packages ! caption"
6697
6698 \end_inset
6699
6700  is used, as in this document, the full page width is used for the caption
6701  when you use the default value of 4\InsetSpace \thinspace{}
6702 in for 
6703 \series bold
6704
6705 \backslash
6706 LTcapwidth
6707 \series default
6708 .
6709  To get in this case exactly a 4\InsetSpace \thinspace{}
6710 in wide caption, you can either use a value
6711  slightly different from 4.0\InsetSpace \thinspace{}
6712 in, e.g.
6713  3.99\InsetSpace \thinspace{}
6714 in, or the LaTeX-command 
6715 \series bold
6716
6717 \backslash
6718 captionsetup{width=value}
6719 \series default
6720  that is provided by the 
6721 \series bold
6722 caption
6723 \series default
6724 -package.
6725 \end_layout
6726
6727 \end_inset
6728
6729
6730 \end_layout
6731
6732 \begin_layout Subsubsection
6733 Different Captions for Table Pages
6734 \begin_inset LatexCommand index
6735 name "Longtables ! Different Captions for Pages"
6736
6737 \end_inset
6738
6739
6740 \end_layout
6741
6742 \begin_layout Standard
6743 When the other captions should differ from the one of the first table page,
6744  insert a caption with a non-empty short title in a dummy caption row marked
6745  as first header.
6746  The caption used for the other table pages is inserted as caption without
6747  a short title in a dummy caption row that is marked as main header.
6748  When this caption shouldn't include the table number, use the command
6749 \end_layout
6750
6751 \begin_layout Standard
6752
6753 \series bold
6754
6755 \backslash
6756 caption*{caption text}
6757 \end_layout
6758
6759 \begin_layout Standard
6760 instead of LyX's caption box.
6761  The label to reference the table is inserted into the caption of the first
6762  header.
6763  Table\InsetSpace ~
6764
6765 \begin_inset LatexCommand ref
6766 reference "tab:DiffCaptions"
6767
6768 \end_inset
6769
6770  is an example for a longtable with different heading where the second caption
6771  doesn't include the table number.
6772 \end_layout
6773
6774 \begin_layout Standard
6775 \align center
6776 \begin_inset Tabular
6777 <lyxtabular version="3" rows="60" columns="3">
6778 <features islongtable="true">
6779 <column alignment="left" valignment="top" leftline="true" width="0cm">
6780 <column alignment="left" valignment="top" rightline="true" width="0pt">
6781 <column alignment="right" valignment="top" rightline="true" width="0pt">
6782 <row endfirsthead="true">
6783 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6784 \begin_inset Text
6785
6786 \begin_layout Standard
6787 \begin_inset Caption
6788
6789 \begin_layout Standard
6790 Example Phone List
6791 \begin_inset LatexCommand label
6792 name "tab:DiffCaptions"
6793
6794 \end_inset
6795
6796
6797 \begin_inset OptArg
6798 status collapsed
6799
6800 \begin_layout Standard
6801 Example Phone List
6802 \end_layout
6803
6804 \end_inset
6805
6806
6807 \end_layout
6808
6809 \end_inset
6810
6811
6812 \begin_inset ERT
6813 status collapsed
6814
6815 \begin_layout Standard
6816
6817
6818 \backslash
6819
6820 \backslash
6821 %
6822 \end_layout
6823
6824 \end_inset
6825
6826
6827 \end_layout
6828
6829 \end_inset
6830 </cell>
6831 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6832 \begin_inset Text
6833
6834 \begin_layout Standard
6835
6836 \end_layout
6837
6838 \end_inset
6839 </cell>
6840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6841 \begin_inset Text
6842
6843 \begin_layout Standard
6844
6845 \end_layout
6846
6847 \end_inset
6848 </cell>
6849 </row>
6850 <row topline="true" bottomline="true" endfirsthead="true">
6851 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6852 \begin_inset Text
6853
6854 \begin_layout Standard
6855
6856 \series bold
6857 Example Phone List (ignore the names)
6858 \end_layout
6859
6860 \end_inset
6861 </cell>
6862 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6863 \begin_inset Text
6864
6865 \begin_layout Standard
6866
6867 \end_layout
6868
6869 \end_inset
6870 </cell>
6871 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6872 \begin_inset Text
6873
6874 \begin_layout Standard
6875
6876 \end_layout
6877
6878 \end_inset
6879 </cell>
6880 </row>
6881 <row topline="true" bottomline="true" endfirsthead="true">
6882 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6883 \begin_inset Text
6884
6885 \begin_layout Standard
6886
6887 \series bold
6888 NAME
6889 \end_layout
6890
6891 \end_inset
6892 </cell>
6893 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6894 \begin_inset Text
6895
6896 \begin_layout Standard
6897
6898 \end_layout
6899
6900 \end_inset
6901 </cell>
6902 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6903 \begin_inset Text
6904
6905 \begin_layout Standard
6906
6907 \series bold
6908 TEL.
6909 \end_layout
6910
6911 \end_inset
6912 </cell>
6913 </row>
6914 <row bottomline="true" endhead="true">
6915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6916 \begin_inset Text
6917
6918 \begin_layout Standard
6919 \begin_inset ERT
6920 status open
6921
6922 \begin_layout Standard
6923
6924
6925 \backslash
6926 caption*{Continued Example Phone List}
6927 \backslash
6928
6929 \backslash
6930 %
6931 \end_layout
6932
6933 \end_inset
6934
6935
6936 \end_layout
6937
6938 \end_inset
6939 </cell>
6940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6941 \begin_inset Text
6942
6943 \begin_layout Standard
6944
6945 \end_layout
6946
6947 \end_inset
6948 </cell>
6949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6950 \begin_inset Text
6951
6952 \begin_layout Standard
6953
6954 \end_layout
6955
6956 \end_inset
6957 </cell>
6958 </row>
6959 <row topline="true" bottomline="true" endhead="true">
6960 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6961 \begin_inset Text
6962
6963 \begin_layout Standard
6964
6965 \series bold
6966 Example Phone List
6967 \end_layout
6968
6969 \end_inset
6970 </cell>
6971 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6972 \begin_inset Text
6973
6974 \begin_layout Standard
6975
6976 \end_layout
6977
6978 \end_inset
6979 </cell>
6980 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6981 \begin_inset Text
6982
6983 \begin_layout Standard
6984
6985 \end_layout
6986
6987 \end_inset
6988 </cell>
6989 </row>
6990 <row topline="true" bottomline="true" endhead="true">
6991 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6992 \begin_inset Text
6993
6994 \begin_layout Standard
6995
6996 \series bold
6997 NAME
6998 \end_layout
6999
7000 \end_inset
7001 </cell>
7002 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7003 \begin_inset Text
7004
7005 \begin_layout Standard
7006
7007 \end_layout
7008
7009 \end_inset
7010 </cell>
7011 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7012 \begin_inset Text
7013
7014 \begin_layout Standard
7015
7016 \series bold
7017 TEL.
7018 \end_layout
7019
7020 \end_inset
7021 </cell>
7022 </row>
7023 <row topline="true" bottomline="true" endfoot="true">
7024 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
7025 \begin_inset Text
7026
7027 \begin_layout Standard
7028 continued on next page
7029 \end_layout
7030
7031 \end_inset
7032 </cell>
7033 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7034 \begin_inset Text
7035
7036 \begin_layout Standard
7037
7038 \end_layout
7039
7040 \end_inset
7041 </cell>
7042 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7043 \begin_inset Text
7044
7045 \begin_layout Standard
7046
7047 \end_layout
7048
7049 \end_inset
7050 </cell>
7051 </row>
7052 <row>
7053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7054 \begin_inset Text
7055
7056 \begin_layout Standard
7057
7058 \series bold
7059 Annovi
7060 \end_layout
7061
7062 \end_inset
7063 </cell>
7064 <cell alignment="center" valignment="top" topline="true" usebox="none">
7065 \begin_inset Text
7066
7067 \begin_layout Standard
7068 Silvia
7069 \end_layout
7070
7071 \end_inset
7072 </cell>
7073 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7074 \begin_inset Text
7075
7076 \begin_layout Standard
7077 111
7078 \end_layout
7079
7080 \end_inset
7081 </cell>
7082 </row>
7083 <row>
7084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7085 \begin_inset Text
7086
7087 \begin_layout Standard
7088
7089 \series bold
7090 Bertoli
7091 \end_layout
7092
7093 \end_inset
7094 </cell>
7095 <cell alignment="center" valignment="top" topline="true" usebox="none">
7096 \begin_inset Text
7097
7098 \begin_layout Standard
7099 Stefano
7100 \end_layout
7101
7102 \end_inset
7103 </cell>
7104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7105 \begin_inset Text
7106
7107 \begin_layout Standard
7108 111
7109 \end_layout
7110
7111 \end_inset
7112 </cell>
7113 </row>
7114 <row>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Standard
7119
7120 \series bold
7121 Bozzi
7122 \end_layout
7123
7124 \end_inset
7125 </cell>
7126 <cell alignment="center" valignment="top" topline="true" usebox="none">
7127 \begin_inset Text
7128
7129 \begin_layout Standard
7130 Walter
7131 \end_layout
7132
7133 \end_inset
7134 </cell>
7135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7136 \begin_inset Text
7137
7138 \begin_layout Standard
7139 111
7140 \end_layout
7141
7142 \end_inset
7143 </cell>
7144 </row>
7145 <row>
7146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7147 \begin_inset Text
7148
7149 \begin_layout Standard
7150
7151 \series bold
7152 Cachia
7153 \end_layout
7154
7155 \end_inset
7156 </cell>
7157 <cell alignment="center" valignment="top" topline="true" usebox="none">
7158 \begin_inset Text
7159
7160 \begin_layout Standard
7161 Maria
7162 \end_layout
7163
7164 \end_inset
7165 </cell>
7166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7167 \begin_inset Text
7168
7169 \begin_layout Standard
7170 111
7171 \end_layout
7172
7173 \end_inset
7174 </cell>
7175 </row>
7176 <row>
7177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7178 \begin_inset Text
7179
7180 \begin_layout Standard
7181
7182 \series bold
7183 Cachia
7184 \end_layout
7185
7186 \end_inset
7187 </cell>
7188 <cell alignment="center" valignment="top" topline="true" usebox="none">
7189 \begin_inset Text
7190
7191 \begin_layout Standard
7192 Maurizio
7193 \end_layout
7194
7195 \end_inset
7196 </cell>
7197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7198 \begin_inset Text
7199
7200 \begin_layout Standard
7201 111
7202 \end_layout
7203
7204 \end_inset
7205 </cell>
7206 </row>
7207 <row>
7208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7209 \begin_inset Text
7210
7211 \begin_layout Standard
7212
7213 \series bold
7214 Cinquemani
7215 \end_layout
7216
7217 \end_inset
7218 </cell>
7219 <cell alignment="center" valignment="top" topline="true" usebox="none">
7220 \begin_inset Text
7221
7222 \begin_layout Standard
7223 Giusi
7224 \end_layout
7225
7226 \end_inset
7227 </cell>
7228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7229 \begin_inset Text
7230
7231 \begin_layout Standard
7232 111
7233 \end_layout
7234
7235 \end_inset
7236 </cell>
7237 </row>
7238 <row>
7239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7240 \begin_inset Text
7241
7242 \begin_layout Standard
7243
7244 \series bold
7245 Colin
7246 \end_layout
7247
7248 \end_inset
7249 </cell>
7250 <cell alignment="center" valignment="top" topline="true" usebox="none">
7251 \begin_inset Text
7252
7253 \begin_layout Standard
7254 Bernard
7255 \end_layout
7256
7257 \end_inset
7258 </cell>
7259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7260 \begin_inset Text
7261
7262 \begin_layout Standard
7263 111
7264 \end_layout
7265
7266 \end_inset
7267 </cell>
7268 </row>
7269 <row>
7270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7271 \begin_inset Text
7272
7273 \begin_layout Standard
7274
7275 \series bold
7276 Concli
7277 \end_layout
7278
7279 \end_inset
7280 </cell>
7281 <cell alignment="center" valignment="top" topline="true" usebox="none">
7282 \begin_inset Text
7283
7284 \begin_layout Standard
7285 Gianfranco
7286 \end_layout
7287
7288 \end_inset
7289 </cell>
7290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7291 \begin_inset Text
7292
7293 \begin_layout Standard
7294 111
7295 \end_layout
7296
7297 \end_inset
7298 </cell>
7299 </row>
7300 <row>
7301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7302 \begin_inset Text
7303
7304 \begin_layout Standard
7305
7306 \series bold
7307 Dal Bosco
7308 \end_layout
7309
7310 \end_inset
7311 </cell>
7312 <cell alignment="center" valignment="top" topline="true" usebox="none">
7313 \begin_inset Text
7314
7315 \begin_layout Standard
7316 Carolina
7317 \end_layout
7318
7319 \end_inset
7320 </cell>
7321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7322 \begin_inset Text
7323
7324 \begin_layout Standard
7325 111
7326 \end_layout
7327
7328 \end_inset
7329 </cell>
7330 </row>
7331 <row>
7332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7333 \begin_inset Text
7334
7335 \begin_layout Standard
7336
7337 \series bold
7338 Dalpiaz
7339 \end_layout
7340
7341 \end_inset
7342 </cell>
7343 <cell alignment="center" valignment="top" topline="true" usebox="none">
7344 \begin_inset Text
7345
7346 \begin_layout Standard
7347 Annamaria
7348 \end_layout
7349
7350 \end_inset
7351 </cell>
7352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7353 \begin_inset Text
7354
7355 \begin_layout Standard
7356 111
7357 \end_layout
7358
7359 \end_inset
7360 </cell>
7361 </row>
7362 <row>
7363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7364 \begin_inset Text
7365
7366 \begin_layout Standard
7367
7368 \series bold
7369 Feliciello
7370 \end_layout
7371
7372 \end_inset
7373 </cell>
7374 <cell alignment="center" valignment="top" topline="true" usebox="none">
7375 \begin_inset Text
7376
7377 \begin_layout Standard
7378 Domenico
7379 \end_layout
7380
7381 \end_inset
7382 </cell>
7383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7384 \begin_inset Text
7385
7386 \begin_layout Standard
7387 111
7388 \end_layout
7389
7390 \end_inset
7391 </cell>
7392 </row>
7393 <row>
7394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7395 \begin_inset Text
7396
7397 \begin_layout Standard
7398
7399 \series bold
7400 Focarelli
7401 \end_layout
7402
7403 \end_inset
7404 </cell>
7405 <cell alignment="center" valignment="top" topline="true" usebox="none">
7406 \begin_inset Text
7407
7408 \begin_layout Standard
7409 Paola
7410 \end_layout
7411
7412 \end_inset
7413 </cell>
7414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7415 \begin_inset Text
7416
7417 \begin_layout Standard
7418 111
7419 \end_layout
7420
7421 \end_inset
7422 </cell>
7423 </row>
7424 <row>
7425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7426 \begin_inset Text
7427
7428 \begin_layout Standard
7429
7430 \series bold
7431 Galletti
7432 \end_layout
7433
7434 \end_inset
7435 </cell>
7436 <cell alignment="center" valignment="top" topline="true" usebox="none">
7437 \begin_inset Text
7438
7439 \begin_layout Standard
7440 Oreste
7441 \end_layout
7442
7443 \end_inset
7444 </cell>
7445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7446 \begin_inset Text
7447
7448 \begin_layout Standard
7449 111
7450 \end_layout
7451
7452 \end_inset
7453 </cell>
7454 </row>
7455 <row>
7456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7457 \begin_inset Text
7458
7459 \begin_layout Standard
7460
7461 \series bold
7462 Gasparini
7463 \end_layout
7464
7465 \end_inset
7466 </cell>
7467 <cell alignment="center" valignment="top" topline="true" usebox="none">
7468 \begin_inset Text
7469
7470 \begin_layout Standard
7471 Franca
7472 \end_layout
7473
7474 \end_inset
7475 </cell>
7476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7477 \begin_inset Text
7478
7479 \begin_layout Standard
7480 111
7481 \end_layout
7482
7483 \end_inset
7484 </cell>
7485 </row>
7486 <row>
7487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7488 \begin_inset Text
7489
7490 \begin_layout Standard
7491
7492 \series bold
7493 Rizzardi
7494 \series default
7495
7496 \begin_inset Foot
7497 status collapsed
7498
7499 \begin_layout Standard
7500 Example footnote
7501 \end_layout
7502
7503 \end_inset
7504
7505
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Standard
7514 Paola
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7520 \begin_inset Text
7521
7522 \begin_layout Standard
7523 111
7524 \end_layout
7525
7526 \end_inset
7527 </cell>
7528 </row>
7529 <row>
7530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7531 \begin_inset Text
7532
7533 \begin_layout Standard
7534
7535 \series bold
7536 Lassini
7537 \end_layout
7538
7539 \end_inset
7540 </cell>
7541 <cell alignment="center" valignment="top" topline="true" usebox="none">
7542 \begin_inset Text
7543
7544 \begin_layout Standard
7545 Giancarlo
7546 \end_layout
7547
7548 \end_inset
7549 </cell>
7550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7551 \begin_inset Text
7552
7553 \begin_layout Standard
7554 111
7555 \end_layout
7556
7557 \end_inset
7558 </cell>
7559 </row>
7560 <row>
7561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7562 \begin_inset Text
7563
7564 \begin_layout Standard
7565
7566 \series bold
7567 Malfatti
7568 \end_layout
7569
7570 \end_inset
7571 </cell>
7572 <cell alignment="center" valignment="top" topline="true" usebox="none">
7573 \begin_inset Text
7574
7575 \begin_layout Standard
7576 Luciano
7577 \end_layout
7578
7579 \end_inset
7580 </cell>
7581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7582 \begin_inset Text
7583
7584 \begin_layout Standard
7585 111
7586 \end_layout
7587
7588 \end_inset
7589 </cell>
7590 </row>
7591 <row>
7592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7593 \begin_inset Text
7594
7595 \begin_layout Standard
7596
7597 \series bold
7598 Malfatti
7599 \end_layout
7600
7601 \end_inset
7602 </cell>
7603 <cell alignment="center" valignment="top" topline="true" usebox="none">
7604 \begin_inset Text
7605
7606 \begin_layout Standard
7607 Valeriano
7608 \end_layout
7609
7610 \end_inset
7611 </cell>
7612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7613 \begin_inset Text
7614
7615 \begin_layout Standard
7616 111
7617 \end_layout
7618
7619 \end_inset
7620 </cell>
7621 </row>
7622 <row>
7623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7624 \begin_inset Text
7625
7626 \begin_layout Standard
7627
7628 \series bold
7629 Meneguzzo
7630 \end_layout
7631
7632 \end_inset
7633 </cell>
7634 <cell alignment="center" valignment="top" topline="true" usebox="none">
7635 \begin_inset Text
7636
7637 \begin_layout Standard
7638 Roberto
7639 \end_layout
7640
7641 \end_inset
7642 </cell>
7643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7644 \begin_inset Text
7645
7646 \begin_layout Standard
7647 111
7648 \end_layout
7649
7650 \end_inset
7651 </cell>
7652 </row>
7653 <row>
7654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7655 \begin_inset Text
7656
7657 \begin_layout Standard
7658
7659 \series bold
7660 Mezzadra
7661 \end_layout
7662
7663 \end_inset
7664 </cell>
7665 <cell alignment="center" valignment="top" topline="true" usebox="none">
7666 \begin_inset Text
7667
7668 \begin_layout Standard
7669 Roberto
7670 \end_layout
7671
7672 \end_inset
7673 </cell>
7674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7675 \begin_inset Text
7676
7677 \begin_layout Standard
7678 111
7679 \end_layout
7680
7681 \end_inset
7682 </cell>
7683 </row>
7684 <row>
7685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7686 \begin_inset Text
7687
7688 \begin_layout Standard
7689
7690 \series bold
7691 Pirpamer
7692 \end_layout
7693
7694 \end_inset
7695 </cell>
7696 <cell alignment="center" valignment="top" topline="true" usebox="none">
7697 \begin_inset Text
7698
7699 \begin_layout Standard
7700 Erich
7701 \end_layout
7702
7703 \end_inset
7704 </cell>
7705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7706 \begin_inset Text
7707
7708 \begin_layout Standard
7709 111
7710 \end_layout
7711
7712 \end_inset
7713 </cell>
7714 </row>
7715 <row>
7716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7717 \begin_inset Text
7718
7719 \begin_layout Standard
7720
7721 \series bold
7722 Pochiesa
7723 \end_layout
7724
7725 \end_inset
7726 </cell>
7727 <cell alignment="center" valignment="top" topline="true" usebox="none">
7728 \begin_inset Text
7729
7730 \begin_layout Standard
7731 Paolo
7732 \end_layout
7733
7734 \end_inset
7735 </cell>
7736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7737 \begin_inset Text
7738
7739 \begin_layout Standard
7740 111, 222
7741 \end_layout
7742
7743 \end_inset
7744 </cell>
7745 </row>
7746 <row>
7747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7748 \begin_inset Text
7749
7750 \begin_layout Standard
7751
7752 \series bold
7753 Radina
7754 \end_layout
7755
7756 \end_inset
7757 </cell>
7758 <cell alignment="center" valignment="top" topline="true" usebox="none">
7759 \begin_inset Text
7760
7761 \begin_layout Standard
7762 Claudio
7763 \end_layout
7764
7765 \end_inset
7766 </cell>
7767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7768 \begin_inset Text
7769
7770 \begin_layout Standard
7771 111
7772 \end_layout
7773
7774 \end_inset
7775 </cell>
7776 </row>
7777 <row>
7778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7779 \begin_inset Text
7780
7781 \begin_layout Standard
7782
7783 \series bold
7784 Stuffer
7785 \end_layout
7786
7787 \end_inset
7788 </cell>
7789 <cell alignment="center" valignment="top" topline="true" usebox="none">
7790 \begin_inset Text
7791
7792 \begin_layout Standard
7793 Oskar
7794 \end_layout
7795
7796 \end_inset
7797 </cell>
7798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7799 \begin_inset Text
7800
7801 \begin_layout Standard
7802 111
7803 \end_layout
7804
7805 \end_inset
7806 </cell>
7807 </row>
7808 <row>
7809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7810 \begin_inset Text
7811
7812 \begin_layout Standard
7813
7814 \series bold
7815 Tacchelli
7816 \end_layout
7817
7818 \end_inset
7819 </cell>
7820 <cell alignment="center" valignment="top" topline="true" usebox="none">
7821 \begin_inset Text
7822
7823 \begin_layout Standard
7824 Ugo
7825 \end_layout
7826
7827 \end_inset
7828 </cell>
7829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7830 \begin_inset Text
7831
7832 \begin_layout Standard
7833 111
7834 \end_layout
7835
7836 \end_inset
7837 </cell>
7838 </row>
7839 <row>
7840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7841 \begin_inset Text
7842
7843 \begin_layout Standard
7844
7845 \series bold
7846 Tezzele
7847 \end_layout
7848
7849 \end_inset
7850 </cell>
7851 <cell alignment="center" valignment="top" topline="true" usebox="none">
7852 \begin_inset Text
7853
7854 \begin_layout Standard
7855 Margit
7856 \end_layout
7857
7858 \end_inset
7859 </cell>
7860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7861 \begin_inset Text
7862
7863 \begin_layout Standard
7864 111
7865 \end_layout
7866
7867 \end_inset
7868 </cell>
7869 </row>
7870 <row>
7871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7872 \begin_inset Text
7873
7874 \begin_layout Standard
7875
7876 \series bold
7877 Unterkalmsteiner
7878 \end_layout
7879
7880 \end_inset
7881 </cell>
7882 <cell alignment="center" valignment="top" topline="true" usebox="none">
7883 \begin_inset Text
7884
7885 \begin_layout Standard
7886 Frieda
7887 \end_layout
7888
7889 \end_inset
7890 </cell>
7891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7892 \begin_inset Text
7893
7894 \begin_layout Standard
7895 111
7896 \end_layout
7897
7898 \end_inset
7899 </cell>
7900 </row>
7901 <row>
7902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7903 \begin_inset Text
7904
7905 \begin_layout Standard
7906
7907 \series bold
7908 Vieider
7909 \end_layout
7910
7911 \end_inset
7912 </cell>
7913 <cell alignment="center" valignment="top" topline="true" usebox="none">
7914 \begin_inset Text
7915
7916 \begin_layout Standard
7917 Hilde
7918 \end_layout
7919
7920 \end_inset
7921 </cell>
7922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7923 \begin_inset Text
7924
7925 \begin_layout Standard
7926 111
7927 \end_layout
7928
7929 \end_inset
7930 </cell>
7931 </row>
7932 <row>
7933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7934 \begin_inset Text
7935
7936 \begin_layout Standard
7937
7938 \series bold
7939 Vigna
7940 \end_layout
7941
7942 \end_inset
7943 </cell>
7944 <cell alignment="center" valignment="top" topline="true" usebox="none">
7945 \begin_inset Text
7946
7947 \begin_layout Standard
7948 Jürgen
7949 \end_layout
7950
7951 \end_inset
7952 </cell>
7953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7954 \begin_inset Text
7955
7956 \begin_layout Standard
7957 111
7958 \end_layout
7959
7960 \end_inset
7961 </cell>
7962 </row>
7963 <row>
7964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7965 \begin_inset Text
7966
7967 \begin_layout Standard
7968
7969 \series bold
7970 Weber
7971 \end_layout
7972
7973 \end_inset
7974 </cell>
7975 <cell alignment="center" valignment="top" topline="true" usebox="none">
7976 \begin_inset Text
7977
7978 \begin_layout Standard
7979 Maurizio
7980 \end_layout
7981
7982 \end_inset
7983 </cell>
7984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7985 \begin_inset Text
7986
7987 \begin_layout Standard
7988 111
7989 \end_layout
7990
7991 \end_inset
7992 </cell>
7993 </row>
7994 <row bottomline="true">
7995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7996 \begin_inset Text
7997
7998 \begin_layout Standard
7999
8000 \series bold
8001 Winkler
8002 \end_layout
8003
8004 \end_inset
8005 </cell>
8006 <cell alignment="center" valignment="top" topline="true" usebox="none">
8007 \begin_inset Text
8008
8009 \begin_layout Standard
8010 Franz
8011 \end_layout
8012
8013 \end_inset
8014 </cell>
8015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8016 \begin_inset Text
8017
8018 \begin_layout Standard
8019 111
8020 \end_layout
8021
8022 \end_inset
8023 </cell>
8024 </row>
8025 <row bottomline="true">
8026 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8027 \begin_inset Text
8028
8029 \begin_layout Standard
8030  
8031 \end_layout
8032
8033 \end_inset
8034 </cell>
8035 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8036 \begin_inset Text
8037
8038 \begin_layout Standard
8039
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Standard
8048
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 </row>
8054 <row>
8055 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8056 \begin_inset Text
8057
8058 \begin_layout Standard
8059
8060 \series bold
8061 Annovi
8062 \end_layout
8063
8064 \end_inset
8065 </cell>
8066 <cell alignment="center" valignment="top" topline="true" usebox="none">
8067 \begin_inset Text
8068
8069 \begin_layout Standard
8070 Silvia
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Standard
8079 555
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 </row>
8085 <row>
8086 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8087 \begin_inset Text
8088
8089 \begin_layout Standard
8090
8091 \series bold
8092 Bertoli
8093 \end_layout
8094
8095 \end_inset
8096 </cell>
8097 <cell alignment="center" valignment="top" topline="true" usebox="none">
8098 \begin_inset Text
8099
8100 \begin_layout Standard
8101 Stefano
8102 \end_layout
8103
8104 \end_inset
8105 </cell>
8106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8107 \begin_inset Text
8108
8109 \begin_layout Standard
8110 555
8111 \end_layout
8112
8113 \end_inset
8114 </cell>
8115 </row>
8116 <row>
8117 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8118 \begin_inset Text
8119
8120 \begin_layout Standard
8121
8122 \series bold
8123 Bozzi
8124 \end_layout
8125
8126 \end_inset
8127 </cell>
8128 <cell alignment="center" valignment="top" topline="true" usebox="none">
8129 \begin_inset Text
8130
8131 \begin_layout Standard
8132 Walter
8133 \end_layout
8134
8135 \end_inset
8136 </cell>
8137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8138 \begin_inset Text
8139
8140 \begin_layout Standard
8141 555
8142 \end_layout
8143
8144 \end_inset
8145 </cell>
8146 </row>
8147 <row>
8148 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8149 \begin_inset Text
8150
8151 \begin_layout Standard
8152
8153 \series bold
8154 Cachia
8155 \end_layout
8156
8157 \end_inset
8158 </cell>
8159 <cell alignment="center" valignment="top" topline="true" usebox="none">
8160 \begin_inset Text
8161
8162 \begin_layout Standard
8163 Maria
8164 \end_layout
8165
8166 \end_inset
8167 </cell>
8168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8169 \begin_inset Text
8170
8171 \begin_layout Standard
8172 555
8173 \end_layout
8174
8175 \end_inset
8176 </cell>
8177 </row>
8178 <row>
8179 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8180 \begin_inset Text
8181
8182 \begin_layout Standard
8183
8184 \series bold
8185 Cachia
8186 \end_layout
8187
8188 \end_inset
8189 </cell>
8190 <cell alignment="center" valignment="top" topline="true" usebox="none">
8191 \begin_inset Text
8192
8193 \begin_layout Standard
8194 Maurizio
8195 \end_layout
8196
8197 \end_inset
8198 </cell>
8199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8200 \begin_inset Text
8201
8202 \begin_layout Standard
8203 555
8204 \end_layout
8205
8206 \end_inset
8207 </cell>
8208 </row>
8209 <row>
8210 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8211 \begin_inset Text
8212
8213 \begin_layout Standard
8214
8215 \series bold
8216 Cinquemani
8217 \end_layout
8218
8219 \end_inset
8220 </cell>
8221 <cell alignment="center" valignment="top" topline="true" usebox="none">
8222 \begin_inset Text
8223
8224 \begin_layout Standard
8225 Giusi
8226 \end_layout
8227
8228 \end_inset
8229 </cell>
8230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8231 \begin_inset Text
8232
8233 \begin_layout Standard
8234 555
8235 \end_layout
8236
8237 \end_inset
8238 </cell>
8239 </row>
8240 <row>
8241 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8242 \begin_inset Text
8243
8244 \begin_layout Standard
8245
8246 \series bold
8247 Colin
8248 \end_layout
8249
8250 \end_inset
8251 </cell>
8252 <cell alignment="center" valignment="top" topline="true" usebox="none">
8253 \begin_inset Text
8254
8255 \begin_layout Standard
8256 Bernard
8257 \end_layout
8258
8259 \end_inset
8260 </cell>
8261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8262 \begin_inset Text
8263
8264 \begin_layout Standard
8265 555
8266 \end_layout
8267
8268 \end_inset
8269 </cell>
8270 </row>
8271 <row>
8272 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8273 \begin_inset Text
8274
8275 \begin_layout Standard
8276
8277 \series bold
8278 Concli
8279 \end_layout
8280
8281 \end_inset
8282 </cell>
8283 <cell alignment="center" valignment="top" topline="true" usebox="none">
8284 \begin_inset Text
8285
8286 \begin_layout Standard
8287 Gianfranco
8288 \end_layout
8289
8290 \end_inset
8291 </cell>
8292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8293 \begin_inset Text
8294
8295 \begin_layout Standard
8296 555
8297 \end_layout
8298
8299 \end_inset
8300 </cell>
8301 </row>
8302 <row>
8303 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8304 \begin_inset Text
8305
8306 \begin_layout Standard
8307
8308 \series bold
8309 Dal Bosco
8310 \end_layout
8311
8312 \end_inset
8313 </cell>
8314 <cell alignment="center" valignment="top" topline="true" usebox="none">
8315 \begin_inset Text
8316
8317 \begin_layout Standard
8318 Carolina
8319 \end_layout
8320
8321 \end_inset
8322 </cell>
8323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8324 \begin_inset Text
8325
8326 \begin_layout Standard
8327 555
8328 \end_layout
8329
8330 \end_inset
8331 </cell>
8332 </row>
8333 <row>
8334 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8335 \begin_inset Text
8336
8337 \begin_layout Standard
8338
8339 \series bold
8340 Dalpiaz
8341 \end_layout
8342
8343 \end_inset
8344 </cell>
8345 <cell alignment="center" valignment="top" topline="true" usebox="none">
8346 \begin_inset Text
8347
8348 \begin_layout Standard
8349 Annamaria
8350 \end_layout
8351
8352 \end_inset
8353 </cell>
8354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8355 \begin_inset Text
8356
8357 \begin_layout Standard
8358 555
8359 \end_layout
8360
8361 \end_inset
8362 </cell>
8363 </row>
8364 <row>
8365 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8366 \begin_inset Text
8367
8368 \begin_layout Standard
8369
8370 \series bold
8371 Feliciello
8372 \end_layout
8373
8374 \end_inset
8375 </cell>
8376 <cell alignment="center" valignment="top" topline="true" usebox="none">
8377 \begin_inset Text
8378
8379 \begin_layout Standard
8380 Domenico
8381 \end_layout
8382
8383 \end_inset
8384 </cell>
8385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8386 \begin_inset Text
8387
8388 \begin_layout Standard
8389 555
8390 \end_layout
8391
8392 \end_inset
8393 </cell>
8394 </row>
8395 <row>
8396 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8397 \begin_inset Text
8398
8399 \begin_layout Standard
8400
8401 \series bold
8402 Focarelli
8403 \end_layout
8404
8405 \end_inset
8406 </cell>
8407 <cell alignment="center" valignment="top" topline="true" usebox="none">
8408 \begin_inset Text
8409
8410 \begin_layout Standard
8411 Paola
8412 \end_layout
8413
8414 \end_inset
8415 </cell>
8416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8417 \begin_inset Text
8418
8419 \begin_layout Standard
8420 555
8421 \end_layout
8422
8423 \end_inset
8424 </cell>
8425 </row>
8426 <row>
8427 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8428 \begin_inset Text
8429
8430 \begin_layout Standard
8431
8432 \series bold
8433 Galletti
8434 \end_layout
8435
8436 \end_inset
8437 </cell>
8438 <cell alignment="center" valignment="top" topline="true" usebox="none">
8439 \begin_inset Text
8440
8441 \begin_layout Standard
8442 Oreste
8443 \end_layout
8444
8445 \end_inset
8446 </cell>
8447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8448 \begin_inset Text
8449
8450 \begin_layout Standard
8451 555
8452 \end_layout
8453
8454 \end_inset
8455 </cell>
8456 </row>
8457 <row>
8458 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8459 \begin_inset Text
8460
8461 \begin_layout Standard
8462
8463 \series bold
8464 Gasparini
8465 \end_layout
8466
8467 \end_inset
8468 </cell>
8469 <cell alignment="center" valignment="top" topline="true" usebox="none">
8470 \begin_inset Text
8471
8472 \begin_layout Standard
8473 Franca
8474 \end_layout
8475
8476 \end_inset
8477 </cell>
8478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8479 \begin_inset Text
8480
8481 \begin_layout Standard
8482 555
8483 \end_layout
8484
8485 \end_inset
8486 </cell>
8487 </row>
8488 <row>
8489 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8490 \begin_inset Text
8491
8492 \begin_layout Standard
8493
8494 \series bold
8495 Rizzardi
8496 \end_layout
8497
8498 \end_inset
8499 </cell>
8500 <cell alignment="center" valignment="top" topline="true" usebox="none">
8501 \begin_inset Text
8502
8503 \begin_layout Standard
8504 Paola
8505 \end_layout
8506
8507 \end_inset
8508 </cell>
8509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8510 \begin_inset Text
8511
8512 \begin_layout Standard
8513 555
8514 \end_layout
8515
8516 \end_inset
8517 </cell>
8518 </row>
8519 <row>
8520 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8521 \begin_inset Text
8522
8523 \begin_layout Standard
8524
8525 \series bold
8526 Lassini
8527 \end_layout
8528
8529 \end_inset
8530 </cell>
8531 <cell alignment="center" valignment="top" topline="true" usebox="none">
8532 \begin_inset Text
8533
8534 \begin_layout Standard
8535 Giancarlo
8536 \end_layout
8537
8538 \end_inset
8539 </cell>
8540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8541 \begin_inset Text
8542
8543 \begin_layout Standard
8544 555
8545 \end_layout
8546
8547 \end_inset
8548 </cell>
8549 </row>
8550 <row>
8551 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8552 \begin_inset Text
8553
8554 \begin_layout Standard
8555
8556 \series bold
8557 Malfatti
8558 \end_layout
8559
8560 \end_inset
8561 </cell>
8562 <cell alignment="center" valignment="top" topline="true" usebox="none">
8563 \begin_inset Text
8564
8565 \begin_layout Standard
8566 Luciano
8567 \end_layout
8568
8569 \end_inset
8570 </cell>
8571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8572 \begin_inset Text
8573
8574 \begin_layout Standard
8575 555
8576 \end_layout
8577
8578 \end_inset
8579 </cell>
8580 </row>
8581 <row>
8582 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8583 \begin_inset Text
8584
8585 \begin_layout Standard
8586
8587 \series bold
8588 Malfatti
8589 \end_layout
8590
8591 \end_inset
8592 </cell>
8593 <cell alignment="center" valignment="top" topline="true" usebox="none">
8594 \begin_inset Text
8595
8596 \begin_layout Standard
8597 Valeriano
8598 \end_layout
8599
8600 \end_inset
8601 </cell>
8602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8603 \begin_inset Text
8604
8605 \begin_layout Standard
8606 555
8607 \end_layout
8608
8609 \end_inset
8610 </cell>
8611 </row>
8612 <row>
8613 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8614 \begin_inset Text
8615
8616 \begin_layout Standard
8617
8618 \series bold
8619 Meneguzzo
8620 \end_layout
8621
8622 \end_inset
8623 </cell>
8624 <cell alignment="center" valignment="top" topline="true" usebox="none">
8625 \begin_inset Text
8626
8627 \begin_layout Standard
8628 Roberto
8629 \end_layout
8630
8631 \end_inset
8632 </cell>
8633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8634 \begin_inset Text
8635
8636 \begin_layout Standard
8637 555
8638 \end_layout
8639
8640 \end_inset
8641 </cell>
8642 </row>
8643 <row bottomline="true">
8644 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8645 \begin_inset Text
8646
8647 \begin_layout Standard
8648
8649 \series bold
8650 Mezzadra
8651 \end_layout
8652
8653 \end_inset
8654 </cell>
8655 <cell alignment="center" valignment="top" topline="true" usebox="none">
8656 \begin_inset Text
8657
8658 \begin_layout Standard
8659 Roberto
8660 \end_layout
8661
8662 \end_inset
8663 </cell>
8664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8665 \begin_inset Text
8666
8667 \begin_layout Standard
8668 555
8669 \end_layout
8670
8671 \end_inset
8672 </cell>
8673 </row>
8674 <row bottomline="true" endlastfoot="true">
8675 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8676 \begin_inset Text
8677
8678 \begin_layout Standard
8679
8680 \end_layout
8681
8682 \end_inset
8683 </cell>
8684 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8685 \begin_inset Text
8686
8687 \begin_layout Standard
8688
8689 \end_layout
8690
8691 \end_inset
8692 </cell>
8693 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8694 \begin_inset Text
8695
8696 \begin_layout Standard
8697
8698 \end_layout
8699
8700 \end_inset
8701 </cell>
8702 </row>
8703 </lyxtabular>
8704
8705 \end_inset
8706
8707
8708 \end_layout
8709
8710 \begin_layout Section
8711 Special Longtable Issues
8712 \begin_inset LatexCommand label
8713 name "sec:Special-Longtable-Issues"
8714
8715 \end_inset
8716
8717
8718 \end_layout
8719
8720 \begin_layout Subsection
8721 Longtable Calculation
8722 \begin_inset LatexCommand index
8723 name "Longtables ! Calculation"
8724
8725 \end_inset
8726
8727
8728 \end_layout
8729
8730 \begin_layout Standard
8731 LaTeX calculates the height of table pages and their page breaks using so
8732  called chunks.
8733  Chunks are pieces of the tables that are at once in LaTeX's memory.
8734  The default value is historically set to only 20 table rows.
8735  If you are using longtables with many pages this may slow down the creation
8736  of your document.
8737  You can safely increase the chunk size to values of 100-1000 by adding
8738  this command line to your document preamble:
8739 \end_layout
8740
8741 \begin_layout Standard
8742
8743 \series bold
8744
8745 \backslash
8746 setcounter{LTchunksize}{100}
8747 \end_layout
8748
8749 \begin_layout Subsection
8750 Floats and Longtables
8751 \begin_inset LatexCommand index
8752 name "Longtables ! Floats"
8753
8754 \end_inset
8755
8756
8757 \end_layout
8758
8759 \begin_layout Standard
8760 There might be problems when a float appears on the same page where a longtable
8761  starts.
8762  To avoid such situation, add the command 
8763 \series bold
8764
8765 \backslash
8766 clearpage
8767 \series default
8768  as ERT before your longtable.
8769 \end_layout
8770
8771 \begin_layout Subsection
8772 Forced Page Breaks
8773 \begin_inset LatexCommand index
8774 name "Longtables ! Forced Page Breaks"
8775
8776 \end_inset
8777
8778
8779 \end_layout
8780
8781 \begin_layout Standard
8782 By default tables are only broken between rows.
8783  If you have a cell with multiples lines and want to have a page break within
8784  the cell, insert the new line command 
8785 \begin_inset Quotes eld
8786 \end_inset
8787
8788
8789 \series bold
8790
8791 \backslash
8792
8793 \backslash
8794
8795 \series default
8796
8797 \begin_inset Quotes erd
8798 \end_inset
8799
8800  as ERT at this point of the cell where it should be broken.
8801  Before the 
8802 \series bold
8803
8804 \backslash
8805
8806 \backslash
8807
8808 \series default
8809  command you have to insert in ERT so many 
8810 \begin_inset Quotes eld
8811 \end_inset
8812
8813
8814 \series bold
8815 &
8816 \series default
8817
8818 \begin_inset Quotes erd
8819 \end_inset
8820
8821  characters like the number of the following table columns.
8822  The 
8823 \series bold
8824 &
8825 \series default
8826  is the character to separate table cells.
8827  Write in ERT after each 
8828 \series bold
8829 &
8830 \series default
8831  the content of the corresponding following cell and delete the content
8832  of these cells.
8833 \newline
8834 Behind the the 
8835 \series bold
8836
8837 \backslash
8838
8839 \backslash
8840
8841 \series default
8842  command, insert so many 
8843 \series bold
8844 &
8845 \series default
8846  characters like the number of table columns before the current column.
8847  In Table\InsetSpace ~
8848
8849 \begin_inset LatexCommand ref
8850 reference "tab:ForcedPagebreak"
8851
8852 \end_inset
8853
8854  the cell that should be broken is in the second column followed by another
8855  column.
8856  Therefore the following command was inserted in the cell as ERT behind
8857  
8858 \begin_inset Quotes eld
8859 \end_inset
8860
8861
8862 \emph on
8863 Castelchiodato,
8864 \emph default
8865
8866 \begin_inset Quotes erd
8867 \end_inset
8868
8869 :
8870 \end_layout
8871
8872 \begin_layout Standard
8873
8874 \series bold
8875 & 111
8876 \backslash
8877
8878 \backslash
8879
8880 \newline
8881 &
8882 \end_layout
8883
8884 \begin_layout Standard
8885 The 
8886 \begin_inset Quotes eld
8887 \end_inset
8888
8889 111
8890 \begin_inset Quotes erd
8891 \end_inset
8892
8893  in the third columns of the row was deleted.
8894  If your footer row of the longtable has for a certain reason no upper line
8895  but you would have a horizontal line where the cell is broken, use this
8896  command instead:
8897 \end_layout
8898
8899 \begin_layout Standard
8900
8901 \series bold
8902 & 111
8903 \backslash
8904
8905 \backslash
8906
8907 \newline
8908
8909 \backslash
8910 hline &
8911 \end_layout
8912
8913 \begin_layout Standard
8914 When the cell to be broken is in the last column, the command
8915 \end_layout
8916
8917 \begin_layout Standard
8918
8919 \series bold
8920
8921 \backslash
8922 setlength{
8923 \backslash
8924 parf\SpecialChar \textcompwordmark{}
8925 illskip}{0pt}
8926 \end_layout
8927
8928 \begin_layout Standard
8929 must be inserted as ERT at the beginning of the cell.
8930  This assures that the part of the cell that will be displayed on the new
8931  page appears with the full width.
8932 \end_layout
8933
8934 \begin_layout Standard
8935 \align center
8936 \begin_inset Tabular
8937 <lyxtabular version="3" rows="39" columns="3">
8938 <features islongtable="true">
8939 <column alignment="left" valignment="top" leftline="true" width="0cm">
8940 <column alignment="left" valignment="top" rightline="true" width="3cm">
8941 <column alignment="right" valignment="top" rightline="true" width="0pt">
8942 <row endfirsthead="true">
8943 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8944 \begin_inset Text
8945
8946 \begin_layout Standard
8947 \begin_inset Caption
8948
8949 \begin_layout Standard
8950 Table with forced page break in table cell
8951 \begin_inset LatexCommand label
8952 name "tab:ForcedPagebreak"
8953
8954 \end_inset
8955
8956
8957 \begin_inset OptArg
8958 status collapsed
8959
8960 \begin_layout Standard
8961 Table with forced page break in table cell
8962 \end_layout
8963
8964 \end_inset
8965
8966
8967 \end_layout
8968
8969 \end_inset
8970
8971
8972 \begin_inset ERT
8973 status collapsed
8974
8975 \begin_layout Standard
8976
8977
8978 \backslash
8979
8980 \backslash
8981 %
8982 \end_layout
8983
8984 \end_inset
8985
8986
8987 \end_layout
8988
8989 \end_inset
8990 </cell>
8991 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8992 \begin_inset Text
8993
8994 \begin_layout Standard
8995
8996 \end_layout
8997
8998 \end_inset
8999 </cell>
9000 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9001 \begin_inset Text
9002
9003 \begin_layout Standard
9004
9005 \end_layout
9006
9007 \end_inset
9008 </cell>
9009 </row>
9010 <row topline="true" bottomline="true" endfirsthead="true">
9011 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9012 \begin_inset Text
9013
9014 \begin_layout Standard
9015
9016 \series bold
9017 Example Phone List (ignore the names)
9018 \end_layout
9019
9020 \end_inset
9021 </cell>
9022 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9023 \begin_inset Text
9024
9025 \begin_layout Standard
9026
9027 \end_layout
9028
9029 \end_inset
9030 </cell>
9031 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9032 \begin_inset Text
9033
9034 \begin_layout Standard
9035
9036 \end_layout
9037
9038 \end_inset
9039 </cell>
9040 </row>
9041 <row topline="true" bottomline="true" endfirsthead="true">
9042 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9043 \begin_inset Text
9044
9045 \begin_layout Standard
9046
9047 \series bold
9048 NAME
9049 \end_layout
9050
9051 \end_inset
9052 </cell>
9053 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9054 \begin_inset Text
9055
9056 \begin_layout Standard
9057
9058 \end_layout
9059
9060 \end_inset
9061 </cell>
9062 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9063 \begin_inset Text
9064
9065 \begin_layout Standard
9066
9067 \series bold
9068 TEL.
9069 \end_layout
9070
9071 \end_inset
9072 </cell>
9073 </row>
9074 <row bottomline="true" endhead="true">
9075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9076 \begin_inset Text
9077
9078 \begin_layout Standard
9079 \begin_inset ERT
9080 status collapsed
9081
9082 \begin_layout Standard
9083
9084
9085 \backslash
9086 caption*{Continued table with forced page break in table cell}
9087 \backslash
9088
9089 \backslash
9090 %
9091 \end_layout
9092
9093 \end_inset
9094
9095
9096 \end_layout
9097
9098 \end_inset
9099 </cell>
9100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9101 \begin_inset Text
9102
9103 \begin_layout Standard
9104
9105 \end_layout
9106
9107 \end_inset
9108 </cell>
9109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9110 \begin_inset Text
9111
9112 \begin_layout Standard
9113
9114 \end_layout
9115
9116 \end_inset
9117 </cell>
9118 </row>
9119 <row topline="true" bottomline="true" endhead="true">
9120 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9121 \begin_inset Text
9122
9123 \begin_layout Standard
9124  
9125 \series bold
9126 Example Phone List
9127 \end_layout
9128
9129 \end_inset
9130 </cell>
9131 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9132 \begin_inset Text
9133
9134 \begin_layout Standard
9135
9136 \end_layout
9137
9138 \end_inset
9139 </cell>
9140 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9141 \begin_inset Text
9142
9143 \begin_layout Standard
9144
9145 \end_layout
9146
9147 \end_inset
9148 </cell>
9149 </row>
9150 <row topline="true" bottomline="true" endhead="true">
9151 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9152 \begin_inset Text
9153
9154 \begin_layout Standard
9155
9156 \series bold
9157 NAME
9158 \end_layout
9159
9160 \end_inset
9161 </cell>
9162 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9163 \begin_inset Text
9164
9165 \begin_layout Standard
9166
9167 \end_layout
9168
9169 \end_inset
9170 </cell>
9171 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9172 \begin_inset Text
9173
9174 \begin_layout Standard
9175
9176 \series bold
9177 TEL.
9178 \end_layout
9179
9180 \end_inset
9181 </cell>
9182 </row>
9183 <row topline="true" bottomline="true" endfoot="true">
9184 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
9185 \begin_inset Text
9186
9187 \begin_layout Standard
9188 continued on next page
9189 \end_layout
9190
9191 \end_inset
9192 </cell>
9193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9194 \begin_inset Text
9195
9196 \begin_layout Standard
9197
9198 \end_layout
9199
9200 \end_inset
9201 </cell>
9202 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9203 \begin_inset Text
9204
9205 \begin_layout Standard
9206
9207 \end_layout
9208
9209 \end_inset
9210 </cell>
9211 </row>
9212 <row>
9213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9214 \begin_inset Text
9215
9216 \begin_layout Standard
9217
9218 \series bold
9219 Annovi
9220 \end_layout
9221
9222 \end_inset
9223 </cell>
9224 <cell alignment="center" valignment="top" topline="true" usebox="none">
9225 \begin_inset Text
9226
9227 \begin_layout Standard
9228 Silvia
9229 \end_layout
9230
9231 \end_inset
9232 </cell>
9233 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9234 \begin_inset Text
9235
9236 \begin_layout Standard
9237 111
9238 \end_layout
9239
9240 \end_inset
9241 </cell>
9242 </row>
9243 <row>
9244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9245 \begin_inset Text
9246
9247 \begin_layout Standard
9248
9249 \series bold
9250 Bertoli
9251 \end_layout
9252
9253 \end_inset
9254 </cell>
9255 <cell alignment="center" valignment="top" topline="true" usebox="none">
9256 \begin_inset Text
9257
9258 \begin_layout Standard
9259 Stefano
9260 \end_layout
9261
9262 \end_inset
9263 </cell>
9264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9265 \begin_inset Text
9266
9267 \begin_layout Standard
9268 111
9269 \end_layout
9270
9271 \end_inset
9272 </cell>
9273 </row>
9274 <row>
9275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9276 \begin_inset Text
9277
9278 \begin_layout Standard
9279
9280 \series bold
9281 Bozzi
9282 \end_layout
9283
9284 \end_inset
9285 </cell>
9286 <cell alignment="center" valignment="top" topline="true" usebox="none">
9287 \begin_inset Text
9288
9289 \begin_layout Standard
9290 Walter
9291 \end_layout
9292
9293 \end_inset
9294 </cell>
9295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9296 \begin_inset Text
9297
9298 \begin_layout Standard
9299 111
9300 \end_layout
9301
9302 \end_inset
9303 </cell>
9304 </row>
9305 <row>
9306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9307 \begin_inset Text
9308
9309 \begin_layout Standard
9310
9311 \series bold
9312 Cachia
9313 \end_layout
9314
9315 \end_inset
9316 </cell>
9317 <cell alignment="center" valignment="top" topline="true" usebox="none">
9318 \begin_inset Text
9319
9320 \begin_layout Standard
9321 Maria
9322 \end_layout
9323
9324 \end_inset
9325 </cell>
9326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9327 \begin_inset Text
9328
9329 \begin_layout Standard
9330 111
9331 \end_layout
9332
9333 \end_inset
9334 </cell>
9335 </row>
9336 <row>
9337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9338 \begin_inset Text
9339
9340 \begin_layout Standard
9341
9342 \series bold
9343 Cachia
9344 \end_layout
9345
9346 \end_inset
9347 </cell>
9348 <cell alignment="center" valignment="top" topline="true" usebox="none">
9349 \begin_inset Text
9350
9351 \begin_layout Standard
9352 Maurizio
9353 \end_layout
9354
9355 \end_inset
9356 </cell>
9357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9358 \begin_inset Text
9359
9360 \begin_layout Standard
9361 111
9362 \end_layout
9363
9364 \end_inset
9365 </cell>
9366 </row>
9367 <row>
9368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9369 \begin_inset Text
9370
9371 \begin_layout Standard
9372
9373 \series bold
9374 Cinquemani
9375 \end_layout
9376
9377 \end_inset
9378 </cell>
9379 <cell alignment="center" valignment="top" topline="true" usebox="none">
9380 \begin_inset Text
9381
9382 \begin_layout Standard
9383 Giusi
9384 \end_layout
9385
9386 \end_inset
9387 </cell>
9388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9389 \begin_inset Text
9390
9391 \begin_layout Standard
9392 111
9393 \end_layout
9394
9395 \end_inset
9396 </cell>
9397 </row>
9398 <row>
9399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9400 \begin_inset Text
9401
9402 \begin_layout Standard
9403
9404 \series bold
9405 Colin
9406 \end_layout
9407
9408 \end_inset
9409 </cell>
9410 <cell alignment="center" valignment="top" topline="true" usebox="none">
9411 \begin_inset Text
9412
9413 \begin_layout Standard
9414 Bernard
9415 \end_layout
9416
9417 \end_inset
9418 </cell>
9419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9420 \begin_inset Text
9421
9422 \begin_layout Standard
9423 111
9424 \end_layout
9425
9426 \end_inset
9427 </cell>
9428 </row>
9429 <row>
9430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9431 \begin_inset Text
9432
9433 \begin_layout Standard
9434
9435 \series bold
9436 Concli
9437 \end_layout
9438
9439 \end_inset
9440 </cell>
9441 <cell alignment="center" valignment="top" topline="true" usebox="none">
9442 \begin_inset Text
9443
9444 \begin_layout Standard
9445 Gianfranco
9446 \end_layout
9447
9448 \end_inset
9449 </cell>
9450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9451 \begin_inset Text
9452
9453 \begin_layout Standard
9454 111
9455 \end_layout
9456
9457 \end_inset
9458 </cell>
9459 </row>
9460 <row>
9461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9462 \begin_inset Text
9463
9464 \begin_layout Standard
9465
9466 \series bold
9467 Dal Bosco
9468 \end_layout
9469
9470 \end_inset
9471 </cell>
9472 <cell alignment="center" valignment="top" topline="true" usebox="none">
9473 \begin_inset Text
9474
9475 \begin_layout Standard
9476 Carolina
9477 \end_layout
9478
9479 \end_inset
9480 </cell>
9481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9482 \begin_inset Text
9483
9484 \begin_layout Standard
9485 111
9486 \end_layout
9487
9488 \end_inset
9489 </cell>
9490 </row>
9491 <row>
9492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9493 \begin_inset Text
9494
9495 \begin_layout Standard
9496
9497 \series bold
9498 Dalpiaz
9499 \end_layout
9500
9501 \end_inset
9502 </cell>
9503 <cell alignment="center" valignment="top" topline="true" usebox="none">
9504 \begin_inset Text
9505
9506 \begin_layout Standard
9507 Annamaria
9508 \end_layout
9509
9510 \end_inset
9511 </cell>
9512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9513 \begin_inset Text
9514
9515 \begin_layout Standard
9516 111
9517 \end_layout
9518
9519 \end_inset
9520 </cell>
9521 </row>
9522 <row>
9523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9524 \begin_inset Text
9525
9526 \begin_layout Standard
9527
9528 \series bold
9529 Feliciello
9530 \end_layout
9531
9532 \end_inset
9533 </cell>
9534 <cell alignment="center" valignment="top" topline="true" usebox="none">
9535 \begin_inset Text
9536
9537 \begin_layout Standard
9538 Domenico
9539 \end_layout
9540
9541 \end_inset
9542 </cell>
9543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9544 \begin_inset Text
9545
9546 \begin_layout Standard
9547 111
9548 \end_layout
9549
9550 \end_inset
9551 </cell>
9552 </row>
9553 <row>
9554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9555 \begin_inset Text
9556
9557 \begin_layout Standard
9558
9559 \series bold
9560 Focarelli
9561 \end_layout
9562
9563 \end_inset
9564 </cell>
9565 <cell alignment="center" valignment="top" topline="true" usebox="none">
9566 \begin_inset Text
9567
9568 \begin_layout Standard
9569 Paola
9570 \end_layout
9571
9572 \end_inset
9573 </cell>
9574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9575 \begin_inset Text
9576
9577 \begin_layout Standard
9578 111
9579 \end_layout
9580
9581 \end_inset
9582 </cell>
9583 </row>
9584 <row>
9585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9586 \begin_inset Text
9587
9588 \begin_layout Standard
9589
9590 \series bold
9591 Galletti
9592 \end_layout
9593
9594 \end_inset
9595 </cell>
9596 <cell alignment="center" valignment="top" topline="true" usebox="none">
9597 \begin_inset Text
9598
9599 \begin_layout Standard
9600 Oreste
9601 \end_layout
9602
9603 \end_inset
9604 </cell>
9605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9606 \begin_inset Text
9607
9608 \begin_layout Standard
9609 111
9610 \end_layout
9611
9612 \end_inset
9613 </cell>
9614 </row>
9615 <row>
9616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9617 \begin_inset Text
9618
9619 \begin_layout Standard
9620
9621 \series bold
9622 Gasparini
9623 \end_layout
9624
9625 \end_inset
9626 </cell>
9627 <cell alignment="center" valignment="top" topline="true" usebox="none">
9628 \begin_inset Text
9629
9630 \begin_layout Standard
9631 Franca
9632 \end_layout
9633
9634 \end_inset
9635 </cell>
9636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9637 \begin_inset Text
9638
9639 \begin_layout Standard
9640 111
9641 \end_layout
9642
9643 \end_inset
9644 </cell>
9645 </row>
9646 <row>
9647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9648 \begin_inset Text
9649
9650 \begin_layout Standard
9651
9652 \series bold
9653 Lassini
9654 \end_layout
9655
9656 \end_inset
9657 </cell>
9658 <cell alignment="center" valignment="top" topline="true" usebox="none">
9659 \begin_inset Text
9660
9661 \begin_layout Standard
9662 Giancarlo
9663 \end_layout
9664
9665 \end_inset
9666 </cell>
9667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9668 \begin_inset Text
9669
9670 \begin_layout Standard
9671 111
9672 \end_layout
9673
9674 \end_inset
9675 </cell>
9676 </row>
9677 <row>
9678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9679 \begin_inset Text
9680
9681 \begin_layout Standard
9682
9683 \series bold
9684 Malfatti
9685 \end_layout
9686
9687 \end_inset
9688 </cell>
9689 <cell alignment="center" valignment="top" topline="true" usebox="none">
9690 \begin_inset Text
9691
9692 \begin_layout Standard
9693 Luciano
9694 \end_layout
9695
9696 \end_inset
9697 </cell>
9698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9699 \begin_inset Text
9700
9701 \begin_layout Standard
9702 111
9703 \end_layout
9704
9705 \end_inset
9706 </cell>
9707 </row>
9708 <row>
9709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9710 \begin_inset Text
9711
9712 \begin_layout Standard
9713
9714 \series bold
9715 Malfatti
9716 \end_layout
9717
9718 \end_inset
9719 </cell>
9720 <cell alignment="center" valignment="top" topline="true" usebox="none">
9721 \begin_inset Text
9722
9723 \begin_layout Standard
9724 Valeriano
9725 \end_layout
9726
9727 \end_inset
9728 </cell>
9729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9730 \begin_inset Text
9731
9732 \begin_layout Standard
9733 111
9734 \end_layout
9735
9736 \end_inset
9737 </cell>
9738 </row>
9739 <row>
9740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9741 \begin_inset Text
9742
9743 \begin_layout Standard
9744
9745 \series bold
9746 Meneguzzo
9747 \end_layout
9748
9749 \end_inset
9750 </cell>
9751 <cell alignment="center" valignment="top" topline="true" usebox="none">
9752 \begin_inset Text
9753
9754 \begin_layout Standard
9755 Roberto
9756 \end_layout
9757
9758 \end_inset
9759 </cell>
9760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9761 \begin_inset Text
9762
9763 \begin_layout Standard
9764 111
9765 \end_layout
9766
9767 \end_inset
9768 </cell>
9769 </row>
9770 <row>
9771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9772 \begin_inset Text
9773
9774 \begin_layout Standard
9775
9776 \series bold
9777 Mezzadra
9778 \end_layout
9779
9780 \end_inset
9781 </cell>
9782 <cell alignment="center" valignment="top" topline="true" usebox="none">
9783 \begin_inset Text
9784
9785 \begin_layout Standard
9786 Roberto
9787 \end_layout
9788
9789 \end_inset
9790 </cell>
9791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9792 \begin_inset Text
9793
9794 \begin_layout Standard
9795 111
9796 \end_layout
9797
9798 \end_inset
9799 </cell>
9800 </row>
9801 <row>
9802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9803 \begin_inset Text
9804
9805 \begin_layout Standard
9806
9807 \series bold
9808 Pirpamer
9809 \end_layout
9810
9811 \end_inset
9812 </cell>
9813 <cell alignment="center" valignment="top" topline="true" usebox="none">
9814 \begin_inset Text
9815
9816 \begin_layout Standard
9817 Erich
9818 \end_layout
9819
9820 \end_inset
9821 </cell>
9822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9823 \begin_inset Text
9824
9825 \begin_layout Standard
9826 111
9827 \end_layout
9828
9829 \end_inset
9830 </cell>
9831 </row>
9832 <row>
9833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9834 \begin_inset Text
9835
9836 \begin_layout Standard
9837
9838 \series bold
9839 Pochiesa
9840 \end_layout
9841
9842 \end_inset
9843 </cell>
9844 <cell alignment="center" valignment="top" topline="true" usebox="none">
9845 \begin_inset Text
9846
9847 \begin_layout Standard
9848 Paolo
9849 \end_layout
9850
9851 \end_inset
9852 </cell>
9853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9854 \begin_inset Text
9855
9856 \begin_layout Standard
9857 111, 222
9858 \end_layout
9859
9860 \end_inset
9861 </cell>
9862 </row>
9863 <row>
9864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9865 \begin_inset Text
9866
9867 \begin_layout Standard
9868
9869 \series bold
9870 Radina
9871 \end_layout
9872
9873 \end_inset
9874 </cell>
9875 <cell alignment="center" valignment="top" topline="true" usebox="none">
9876 \begin_inset Text
9877
9878 \begin_layout Standard
9879 Claudio
9880 \end_layout
9881
9882 \end_inset
9883 </cell>
9884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9885 \begin_inset Text
9886
9887 \begin_layout Standard
9888 111
9889 \end_layout
9890
9891 \end_inset
9892 </cell>
9893 </row>
9894 <row>
9895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9896 \begin_inset Text
9897
9898 \begin_layout Standard
9899
9900 \series bold
9901 Rizzardi
9902 \end_layout
9903
9904 \end_inset
9905 </cell>
9906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9907 \begin_inset Text
9908
9909 \begin_layout Standard
9910 Paolo, 11.
9911  Fürst von Montecompatri, 11.
9912  Fürst von Sulmona und Vivaro, 10.
9913  Fürst von Rossano, 5.
9914  Herzog von Canemorte, 11.
9915  Herzog von Palombara, 5.
9916  Herzog von Castelchiodato,
9917 \begin_inset ERT
9918 status collapsed
9919
9920 \begin_layout Standard
9921
9922 & 111
9923 \backslash
9924
9925 \backslash
9926
9927 \end_layout
9928
9929 \begin_layout Standard
9930
9931 &
9932 \end_layout
9933
9934 \end_inset
9935
9936  11.
9937  Herzog von Poggionativo, 11.
9938  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9939  Graf von Valinfreda, 11.
9940  Baron von Cropalati, 11.
9941  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9942 \end_layout
9943
9944 \end_inset
9945 </cell>
9946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9947 \begin_inset Text
9948
9949 \begin_layout Standard
9950
9951 \end_layout
9952
9953 \end_inset
9954 </cell>
9955 </row>
9956 <row>
9957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9958 \begin_inset Text
9959
9960 \begin_layout Standard
9961
9962 \series bold
9963 Stuffer
9964 \end_layout
9965
9966 \end_inset
9967 </cell>
9968 <cell alignment="center" valignment="top" topline="true" usebox="none">
9969 \begin_inset Text
9970
9971 \begin_layout Standard
9972 Oskar
9973 \end_layout
9974
9975 \end_inset
9976 </cell>
9977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9978 \begin_inset Text
9979
9980 \begin_layout Standard
9981 111
9982 \end_layout
9983
9984 \end_inset
9985 </cell>
9986 </row>
9987 <row>
9988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9989 \begin_inset Text
9990
9991 \begin_layout Standard
9992
9993 \series bold
9994 Tacchelli
9995 \end_layout
9996
9997 \end_inset
9998 </cell>
9999 <cell alignment="center" valignment="top" topline="true" usebox="none">
10000 \begin_inset Text
10001
10002 \begin_layout Standard
10003 Ugo
10004 \end_layout
10005
10006 \end_inset
10007 </cell>
10008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10009 \begin_inset Text
10010
10011 \begin_layout Standard
10012 111
10013 \end_layout
10014
10015 \end_inset
10016 </cell>
10017 </row>
10018 <row>
10019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10020 \begin_inset Text
10021
10022 \begin_layout Standard
10023
10024 \series bold
10025 Tezzele
10026 \end_layout
10027
10028 \end_inset
10029 </cell>
10030 <cell alignment="center" valignment="top" topline="true" usebox="none">
10031 \begin_inset Text
10032
10033 \begin_layout Standard
10034 Margit
10035 \end_layout
10036
10037 \end_inset
10038 </cell>
10039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10040 \begin_inset Text
10041
10042 \begin_layout Standard
10043 111
10044 \end_layout
10045
10046 \end_inset
10047 </cell>
10048 </row>
10049 <row>
10050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10051 \begin_inset Text
10052
10053 \begin_layout Standard
10054
10055 \series bold
10056 Unterkalmsteiner
10057 \end_layout
10058
10059 \end_inset
10060 </cell>
10061 <cell alignment="center" valignment="top" topline="true" usebox="none">
10062 \begin_inset Text
10063
10064 \begin_layout Standard
10065 Frieda
10066 \end_layout
10067
10068 \end_inset
10069 </cell>
10070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10071 \begin_inset Text
10072
10073 \begin_layout Standard
10074 111
10075 \end_layout
10076
10077 \end_inset
10078 </cell>
10079 </row>
10080 <row>
10081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10082 \begin_inset Text
10083
10084 \begin_layout Standard
10085
10086 \series bold
10087 Vieider
10088 \end_layout
10089
10090 \end_inset
10091 </cell>
10092 <cell alignment="center" valignment="top" topline="true" usebox="none">
10093 \begin_inset Text
10094
10095 \begin_layout Standard
10096 Hilde
10097 \end_layout
10098
10099 \end_inset
10100 </cell>
10101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10102 \begin_inset Text
10103
10104 \begin_layout Standard
10105 111
10106 \end_layout
10107
10108 \end_inset
10109 </cell>
10110 </row>
10111 <row>
10112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10113 \begin_inset Text
10114
10115 \begin_layout Standard
10116
10117 \series bold
10118 Vigna
10119 \end_layout
10120
10121 \end_inset
10122 </cell>
10123 <cell alignment="center" valignment="top" topline="true" usebox="none">
10124 \begin_inset Text
10125
10126 \begin_layout Standard
10127 Jürgen
10128 \end_layout
10129
10130 \end_inset
10131 </cell>
10132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10133 \begin_inset Text
10134
10135 \begin_layout Standard
10136 111
10137 \end_layout
10138
10139 \end_inset
10140 </cell>
10141 </row>
10142 <row>
10143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10144 \begin_inset Text
10145
10146 \begin_layout Standard
10147
10148 \series bold
10149 Weber
10150 \end_layout
10151
10152 \end_inset
10153 </cell>
10154 <cell alignment="center" valignment="top" topline="true" usebox="none">
10155 \begin_inset Text
10156
10157 \begin_layout Standard
10158 Maurizio
10159 \end_layout
10160
10161 \end_inset
10162 </cell>
10163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10164 \begin_inset Text
10165
10166 \begin_layout Standard
10167 111
10168 \end_layout
10169
10170 \end_inset
10171 </cell>
10172 </row>
10173 <row bottomline="true">
10174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10175 \begin_inset Text
10176
10177 \begin_layout Standard
10178
10179 \series bold
10180 Winkler
10181 \end_layout
10182
10183 \end_inset
10184 </cell>
10185 <cell alignment="center" valignment="top" topline="true" usebox="none">
10186 \begin_inset Text
10187
10188 \begin_layout Standard
10189 Franz
10190 \end_layout
10191
10192 \end_inset
10193 </cell>
10194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10195 \begin_inset Text
10196
10197 \begin_layout Standard
10198 111
10199 \end_layout
10200
10201 \end_inset
10202 </cell>
10203 </row>
10204 <row endlastfoot="true">
10205 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10206 \begin_inset Text
10207
10208 \begin_layout Standard
10209
10210 \end_layout
10211
10212 \end_inset
10213 </cell>
10214 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10215 \begin_inset Text
10216
10217 \begin_layout Standard
10218
10219 \end_layout
10220
10221 \end_inset
10222 </cell>
10223 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10224 \begin_inset Text
10225
10226 \begin_layout Standard
10227
10228 \end_layout
10229
10230 \end_inset
10231 </cell>
10232 </row>
10233 </lyxtabular>
10234
10235 \end_inset
10236
10237
10238 \end_layout
10239
10240 \begin_layout Standard
10241
10242 \newpage
10243
10244 \end_layout
10245
10246 \begin_layout Section
10247 Multiple Lines Columns and Rows
10248 \end_layout
10249
10250 \begin_layout Subsection
10251 Multiple Lines in Table Cells
10252 \begin_inset LatexCommand label
10253 name "sub:Multiple-Lines-in"
10254
10255 \end_inset
10256
10257
10258 \begin_inset LatexCommand index
10259 name "Multiple Lines in Table Cells"
10260
10261 \end_inset
10262
10263
10264 \begin_inset LatexCommand index
10265 name "Table ! Linebreaks"
10266
10267 \end_inset
10268
10269
10270 \end_layout
10271
10272 \begin_layout Standard
10273 \align center
10274 \begin_inset Float table
10275 placement H
10276 wide false
10277 sideways false
10278 status open
10279
10280 \begin_layout Standard
10281 \begin_inset Caption
10282
10283 \begin_layout Standard
10284 \begin_inset LatexCommand label
10285 name "tab:Table-with-multiple"
10286
10287 \end_inset
10288
10289 Table with multiple lines in cells
10290 \end_layout
10291
10292 \end_inset
10293
10294
10295 \end_layout
10296
10297 \begin_layout Standard
10298 \align center
10299 \begin_inset Tabular
10300 <lyxtabular version="3" rows="3" columns="3">
10301 <features>
10302 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10303 <column alignment="center" valignment="middle" leftline="true" width="0">
10304 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10305 <row topline="true">
10306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10307 \begin_inset Text
10308
10309 \begin_layout Standard
10310 multiple
10311 \begin_inset ERT
10312 status collapsed
10313
10314 \begin_layout Standard
10315
10316
10317 \backslash
10318 linebreak 
10319 \end_layout
10320
10321 \end_inset
10322
10323  lines
10324 \end_layout
10325
10326 \end_inset
10327 </cell>
10328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10329 \begin_inset Text
10330
10331 \begin_layout Standard
10332 b
10333 \end_layout
10334
10335 \end_inset
10336 </cell>
10337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10338 \begin_inset Text
10339
10340 \begin_layout Standard
10341 c
10342 \end_layout
10343
10344 \end_inset
10345 </cell>
10346 </row>
10347 <row topline="true">
10348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10349 \begin_inset Text
10350
10351 \begin_layout Standard
10352 d
10353 \end_layout
10354
10355 \end_inset
10356 </cell>
10357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10358 \begin_inset Text
10359
10360 \begin_layout Standard
10361 e
10362 \end_layout
10363
10364 \end_inset
10365 </cell>
10366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10367 \begin_inset Text
10368
10369 \begin_layout Standard
10370 f
10371 \end_layout
10372
10373 \end_inset
10374 </cell>
10375 </row>
10376 <row topline="true" bottomline="true">
10377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10378 \begin_inset Text
10379
10380 \begin_layout Standard
10381 g
10382 \end_layout
10383
10384 \end_inset
10385 </cell>
10386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10387 \begin_inset Text
10388
10389 \begin_layout Standard
10390 h
10391 \end_layout
10392
10393 \end_inset
10394 </cell>
10395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10396 \begin_inset Text
10397
10398 \begin_layout Standard
10399 i
10400 \end_layout
10401
10402 \end_inset
10403 </cell>
10404 </row>
10405 </lyxtabular>
10406
10407 \end_inset
10408
10409
10410 \end_layout
10411
10412 \end_inset
10413
10414
10415 \end_layout
10416
10417 \begin_layout Standard
10418 Adjusting a fixed width for a column, enables to enter text as a paragraph
10419  with multiple lines and hyphenations.
10420 \end_layout
10421
10422 \begin_layout Standard
10423 To produce Table\InsetSpace ~
10424
10425 \begin_inset LatexCommand ref
10426 reference "tab:Table-with-multiple"
10427
10428 \end_inset
10429
10430 , create a 3×3 table, mark the first cell and right-click on it.
10431  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10432 cm and choose centered
10433  for the vertical and horizontal alignment.
10434  The vertical alignment is used for all cells of the row.
10435  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10436 cm, only one line will appear.
10437  To get two lines, we add a line break with the command
10438 \end_layout
10439
10440 \begin_layout Standard
10441
10442 \series bold
10443
10444 \backslash
10445 linebreak
10446 \end_layout
10447
10448 \begin_layout Standard
10449 in ERT.
10450  If the text is wider than the set cell width it will automatically be broken
10451  to several lines.
10452 \end_layout
10453
10454 \begin_layout Standard
10455 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10456  by LaTeX if it is the first entry.
10457  Therefore you need to insert something, to make the word not being the
10458  first entry: Add the command
10459 \end_layout
10460
10461 \begin_layout Standard
10462
10463 \series bold
10464
10465 \backslash
10466 hspace{0pt}
10467 \end_layout
10468
10469 \begin_layout Standard
10470 in ERT before the word.
10471  As the space is zero, it doesn't change the output.
10472  Table\InsetSpace ~
10473
10474 \begin_inset LatexCommand ref
10475 reference "tab:Table-with-and"
10476
10477 \end_inset
10478
10479  shows the effect.
10480 \end_layout
10481
10482 \begin_layout Standard
10483 \begin_inset Float table
10484 placement h
10485 wide false
10486 sideways false
10487 status open
10488
10489 \begin_layout Standard
10490 \begin_inset Caption
10491
10492 \begin_layout Standard
10493 \begin_inset LatexCommand label
10494 name "tab:Table-with-and"
10495
10496 \end_inset
10497
10498 Table with and without hyphenation
10499 \end_layout
10500
10501 \end_inset
10502
10503
10504 \end_layout
10505
10506 \begin_layout Standard
10507
10508 \hfill
10509
10510 \begin_inset Tabular
10511 <lyxtabular version="3" rows="3" columns="3">
10512 <features>
10513 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10514 <column alignment="center" valignment="middle" leftline="true" width="0">
10515 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10516 <row topline="true">
10517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10518 \begin_inset Text
10519
10520 \begin_layout Standard
10521 verylongtablecellword
10522 \end_layout
10523
10524 \end_inset
10525 </cell>
10526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10527 \begin_inset Text
10528
10529 \begin_layout Standard
10530 b
10531 \end_layout
10532
10533 \end_inset
10534 </cell>
10535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10536 \begin_inset Text
10537
10538 \begin_layout Standard
10539 c
10540 \end_layout
10541
10542 \end_inset
10543 </cell>
10544 </row>
10545 <row topline="true">
10546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10547 \begin_inset Text
10548
10549 \begin_layout Standard
10550 d
10551 \end_layout
10552
10553 \end_inset
10554 </cell>
10555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10556 \begin_inset Text
10557
10558 \begin_layout Standard
10559 e
10560 \end_layout
10561
10562 \end_inset
10563 </cell>
10564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10565 \begin_inset Text
10566
10567 \begin_layout Standard
10568 f
10569 \end_layout
10570
10571 \end_inset
10572 </cell>
10573 </row>
10574 <row topline="true" bottomline="true">
10575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10576 \begin_inset Text
10577
10578 \begin_layout Standard
10579 g
10580 \end_layout
10581
10582 \end_inset
10583 </cell>
10584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10585 \begin_inset Text
10586
10587 \begin_layout Standard
10588 h
10589 \end_layout
10590
10591 \end_inset
10592 </cell>
10593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10594 \begin_inset Text
10595
10596 \begin_layout Standard
10597 i
10598 \end_layout
10599
10600 \end_inset
10601 </cell>
10602 </row>
10603 </lyxtabular>
10604
10605 \end_inset
10606
10607
10608 \hfill
10609
10610 \begin_inset Tabular
10611 <lyxtabular version="3" rows="3" columns="3">
10612 <features>
10613 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10614 <column alignment="center" valignment="middle" leftline="true" width="0">
10615 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10616 <row topline="true">
10617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10618 \begin_inset Text
10619
10620 \begin_layout Standard
10621 \begin_inset ERT
10622 status collapsed
10623
10624 \begin_layout Standard
10625
10626
10627 \backslash
10628 hspace{0pt}
10629 \end_layout
10630
10631 \end_inset
10632
10633 verylongtablecellword
10634 \end_layout
10635
10636 \end_inset
10637 </cell>
10638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10639 \begin_inset Text
10640
10641 \begin_layout Standard
10642 b
10643 \end_layout
10644
10645 \end_inset
10646 </cell>
10647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10648 \begin_inset Text
10649
10650 \begin_layout Standard
10651 c
10652 \end_layout
10653
10654 \end_inset
10655 </cell>
10656 </row>
10657 <row topline="true">
10658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10659 \begin_inset Text
10660
10661 \begin_layout Standard
10662 d
10663 \end_layout
10664
10665 \end_inset
10666 </cell>
10667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10668 \begin_inset Text
10669
10670 \begin_layout Standard
10671 e
10672 \end_layout
10673
10674 \end_inset
10675 </cell>
10676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10677 \begin_inset Text
10678
10679 \begin_layout Standard
10680 f
10681 \end_layout
10682
10683 \end_inset
10684 </cell>
10685 </row>
10686 <row topline="true" bottomline="true">
10687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10688 \begin_inset Text
10689
10690 \begin_layout Standard
10691 g
10692 \end_layout
10693
10694 \end_inset
10695 </cell>
10696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10697 \begin_inset Text
10698
10699 \begin_layout Standard
10700 h
10701 \end_layout
10702
10703 \end_inset
10704 </cell>
10705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10706 \begin_inset Text
10707
10708 \begin_layout Standard
10709 i
10710 \end_layout
10711
10712 \end_inset
10713 </cell>
10714 </row>
10715 </lyxtabular>
10716
10717 \end_inset
10718
10719
10720 \hfill
10721
10722 \end_layout
10723
10724 \end_inset
10725
10726
10727 \end_layout
10728
10729 \begin_layout Standard
10730
10731 \newpage
10732
10733 \end_layout
10734
10735 \begin_layout Subsection
10736 Multicolumns
10737 \begin_inset LatexCommand label
10738 name "sub:Multicolumns"
10739
10740 \end_inset
10741
10742
10743 \begin_inset LatexCommand index
10744 name "Multicolumns"
10745
10746 \end_inset
10747
10748
10749 \begin_inset LatexCommand index
10750 name "Table ! Multicolumns"
10751
10752 \end_inset
10753
10754
10755 \end_layout
10756
10757 \begin_layout Subsubsection
10758 Multicolumn Basics
10759 \end_layout
10760
10761 \begin_layout Standard
10762 To span a cell over multiple columns, mark as much cells within a line that
10763  should be one spanned cell and use either the table-toolbar button 
10764 \begin_inset Graphics
10765         filename ../images/tabular-feature_multicolumn.xpm
10766         scale 85
10767         scaleBeforeRotation
10768
10769 \end_inset
10770
10771 , or the menu 
10772 \family sans
10773 Edit\SpecialChar \menuseparator
10774 Table\SpecialChar \menuseparator
10775 Multicolumn
10776 \family default
10777 , or right click on the marked cells and choose multicolumn in the appearing
10778  table dialog under the tab 
10779 \family sans
10780 Table Settings
10781 \family default
10782 .
10783 \end_layout
10784
10785 \begin_layout Standard
10786 Multicolumns have there own cell settings.
10787  That means changing cell borders, cell alignment, and the width only affects
10788  the multicolumn.
10789  Here is an example table with a multicolumn cell in the first row and one
10790  in the last row without the upper border:
10791 \end_layout
10792
10793 \begin_layout Standard
10794 \align center
10795 \begin_inset Tabular
10796 <lyxtabular version="3" rows="3" columns="4">
10797 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10798 <column alignment="center" valignment="top" leftline="true" width="0pt">
10799 <column alignment="center" valignment="middle" leftline="true" width="0">
10800 <column alignment="center" valignment="top" leftline="true" width="0in">
10801 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10802 <row topline="true" bottomline="true">
10803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10804 \begin_inset Text
10805
10806 \begin_layout Standard
10807 abc
10808 \end_layout
10809
10810 \end_inset
10811 </cell>
10812 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10813 \begin_inset Text
10814
10815 \begin_layout Standard
10816 def ghi
10817 \end_layout
10818
10819 \end_inset
10820 </cell>
10821 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10822 \begin_inset Text
10823
10824 \begin_layout Standard
10825
10826 \end_layout
10827
10828 \end_inset
10829 </cell>
10830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10831 \begin_inset Text
10832
10833 \begin_layout Standard
10834 jkl
10835 \end_layout
10836
10837 \end_inset
10838 </cell>
10839 </row>
10840 <row topline="true">
10841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10842 \begin_inset Text
10843
10844 \begin_layout Standard
10845
10846 \family roman
10847 \series medium
10848 \shape up
10849 \size normal
10850 \emph off
10851 \bar no
10852 \noun off
10853 \color none
10854 A
10855 \end_layout
10856
10857 \end_inset
10858 </cell>
10859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10860 \begin_inset Text
10861
10862 \begin_layout Standard
10863 B
10864 \end_layout
10865
10866 \end_inset
10867 </cell>
10868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10869 \begin_inset Text
10870
10871 \begin_layout Standard
10872 C
10873 \end_layout
10874
10875 \end_inset
10876 </cell>
10877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10878 \begin_inset Text
10879
10880 \begin_layout Standard
10881 D
10882 \end_layout
10883
10884 \end_inset
10885 </cell>
10886 </row>
10887 <row topline="true" bottomline="true">
10888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10889 \begin_inset Text
10890
10891 \begin_layout Standard
10892 1
10893 \end_layout
10894
10895 \end_inset
10896 </cell>
10897 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10898 \begin_inset Text
10899
10900 \begin_layout Standard
10901 2
10902 \end_layout
10903
10904 \end_inset
10905 </cell>
10906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10907 \begin_inset Text
10908
10909 \begin_layout Standard
10910 3
10911 \end_layout
10912
10913 \end_inset
10914 </cell>
10915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10916 \begin_inset Text
10917
10918 \begin_layout Standard
10919 4
10920 \end_layout
10921
10922 \end_inset
10923 </cell>
10924 </row>
10925 </lyxtabular>
10926
10927 \end_inset
10928
10929
10930 \end_layout
10931
10932 \begin_layout Subsubsection
10933 Multicolumn Calculations
10934 \begin_inset LatexCommand label
10935 name "sub:Multicolumn-Calculations"
10936
10937 \end_inset
10938
10939
10940 \begin_inset LatexCommand index
10941 name "Multicolumns ! Calculations"
10942
10943 \end_inset
10944
10945
10946 \end_layout
10947
10948 \begin_layout Standard
10949 LyX supports multicolumns directly, but we have to take notice of the cell
10950  width of the columns spanned by the multicolumn cell.
10951 \end_layout
10952
10953 \begin_layout Standard
10954 \begin_inset Float table
10955 wide false
10956 sideways false
10957 status open
10958
10959 \begin_layout Standard
10960 \begin_inset Caption
10961
10962 \begin_layout Standard
10963 \begin_inset LatexCommand label
10964 name "tab:Table-with-centered"
10965
10966 \end_inset
10967
10968 Table with centered multicolumn text above two columns that have exactly
10969  half the width of the multicolumn cell
10970 \begin_inset OptArg
10971 status collapsed
10972
10973 \begin_layout Standard
10974 Perfect multicolumn table
10975 \end_layout
10976
10977 \end_inset
10978
10979
10980 \end_layout
10981
10982 \end_inset
10983
10984
10985 \end_layout
10986
10987 \begin_layout Standard
10988 \align center
10989 \begin_inset Tabular
10990 <lyxtabular version="3" rows="3" columns="3">
10991 <features>
10992 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10993 <column alignment="center" valignment="middle" leftline="true" width="0">
10994 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10995 <row topline="true">
10996 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10997 \begin_inset Text
10998
10999 \begin_layout Standard
11000 multiple lines multicolumn
11001 \end_layout
11002
11003 \end_inset
11004 </cell>
11005 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11006 \begin_inset Text
11007
11008 \begin_layout Standard
11009
11010 \end_layout
11011
11012 \end_inset
11013 </cell>
11014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11015 \begin_inset Text
11016
11017 \begin_layout Standard
11018 c
11019 \end_layout
11020
11021 \end_inset
11022 </cell>
11023 </row>
11024 <row topline="true">
11025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11026 \begin_inset Text
11027
11028 \begin_layout Standard
11029 d
11030 \end_layout
11031
11032 \end_inset
11033 </cell>
11034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11035 \begin_inset Text
11036
11037 \begin_layout Standard
11038 e
11039 \end_layout
11040
11041 \end_inset
11042 </cell>
11043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11044 \begin_inset Text
11045
11046 \begin_layout Standard
11047 f
11048 \end_layout
11049
11050 \end_inset
11051 </cell>
11052 </row>
11053 <row topline="true" bottomline="true">
11054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11055 \begin_inset Text
11056
11057 \begin_layout Standard
11058 g
11059 \end_layout
11060
11061 \end_inset
11062 </cell>
11063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11064 \begin_inset Text
11065
11066 \begin_layout Standard
11067 h
11068 \end_layout
11069
11070 \end_inset
11071 </cell>
11072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11073 \begin_inset Text
11074
11075 \begin_layout Standard
11076 i
11077 \end_layout
11078
11079 \end_inset
11080 </cell>
11081 </row>
11082 </lyxtabular>
11083
11084 \end_inset
11085
11086
11087 \end_layout
11088
11089 \end_inset
11090
11091
11092 \end_layout
11093
11094 \begin_layout Standard
11095 To create for example Table\InsetSpace ~
11096
11097 \begin_inset LatexCommand ref
11098 reference "tab:Table-with-centered"
11099
11100 \end_inset
11101
11102 , mark the first two cells in the first row of a 3×3 table and right-click
11103  on them.
11104  Now choose for this cell 
11105 \emph on
11106 multicolumn
11107 \emph default
11108
11109 \emph on
11110 centered alignment
11111 \emph default
11112  and a width of 2.5\InsetSpace \thinspace{}
11113 cm in the table dialog.
11114  The spanned columns should have exactly half the width of the multicolumn
11115  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
11116 cm for the first column.
11117  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
11118 cm (multicolumn
11119  width - width of first column).
11120  This was done for Table\InsetSpace ~
11121
11122 \begin_inset LatexCommand ref
11123 reference "tab:Table-without-half"
11124
11125 \end_inset
11126
11127 .
11128 \end_layout
11129
11130 \begin_layout Standard
11131 \begin_inset Float table
11132 wide false
11133 sideways false
11134 status open
11135
11136 \begin_layout Standard
11137 \begin_inset Caption
11138
11139 \begin_layout Standard
11140 \begin_inset LatexCommand label
11141 name "tab:Table-without-half"
11142
11143 \end_inset
11144
11145 Table where the spanned table columns have not exactly half the width of
11146  the multicolumn cell
11147 \begin_inset OptArg
11148 status collapsed
11149
11150 \begin_layout Standard
11151 Imperfect multicolumn table
11152 \end_layout
11153
11154 \end_inset
11155
11156
11157 \end_layout
11158
11159 \end_inset
11160
11161
11162 \end_layout
11163
11164 \begin_layout Standard
11165 \align center
11166 \begin_inset Tabular
11167 <lyxtabular version="3" rows="3" columns="3">
11168 <features>
11169 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
11170 <column alignment="center" valignment="top" leftline="true" width="0">
11171 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11172 <row topline="true" bottomline="true">
11173 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11174 \begin_inset Text
11175
11176 \begin_layout Standard
11177 multiple lines multicolumn
11178 \end_layout
11179
11180 \end_inset
11181 </cell>
11182 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11183 \begin_inset Text
11184
11185 \begin_layout Standard
11186
11187 \end_layout
11188
11189 \end_inset
11190 </cell>
11191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11192 \begin_inset Text
11193
11194 \begin_layout Standard
11195 c
11196 \end_layout
11197
11198 \end_inset
11199 </cell>
11200 </row>
11201 <row topline="true">
11202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11203 \begin_inset Text
11204
11205 \begin_layout Standard
11206 d
11207 \end_layout
11208
11209 \end_inset
11210 </cell>
11211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11212 \begin_inset Text
11213
11214 \begin_layout Standard
11215 e
11216 \end_layout
11217
11218 \end_inset
11219 </cell>
11220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11221 \begin_inset Text
11222
11223 \begin_layout Standard
11224 f
11225 \end_layout
11226
11227 \end_inset
11228 </cell>
11229 </row>
11230 <row topline="true" bottomline="true">
11231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11232 \begin_inset Text
11233
11234 \begin_layout Standard
11235 g
11236 \end_layout
11237
11238 \end_inset
11239 </cell>
11240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11241 \begin_inset Text
11242
11243 \begin_layout Standard
11244 h
11245 \end_layout
11246
11247 \end_inset
11248 </cell>
11249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11250 \begin_inset Text
11251
11252 \begin_layout Standard
11253 i
11254 \end_layout
11255
11256 \end_inset
11257 </cell>
11258 </row>
11259 </lyxtabular>
11260
11261 \end_inset
11262
11263
11264 \end_layout
11265
11266 \end_inset
11267
11268
11269 \end_layout
11270
11271 \begin_layout Standard
11272 You can see that the first column has not the half width of the multicolumn
11273  cell, it is a bit bigger.
11274  The reason is that the given width of a cell 
11275 \begin_inset Formula $W_{g}$
11276 \end_inset
11277
11278  is not its total width 
11279 \begin_inset Formula $W_{\mathrm{tot}}$
11280 \end_inset
11281
11282  because a cell is always a bit larger than its given width.
11283  Appendix\InsetSpace ~
11284
11285 \begin_inset LatexCommand eqref
11286 reference "cha:Explanation-of-Equation"
11287
11288 \end_inset
11289
11290  explains it in detail.
11291 \end_layout
11292
11293 \begin_layout Standard
11294 The needed given width 
11295 \begin_inset Formula $W_{g\, n}$
11296 \end_inset
11297
11298  when 
11299 \emph on
11300 n
11301 \emph default
11302  columns are spanned can be calculated, so that each column has a total
11303  width of 
11304 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11305 \end_inset
11306
11307 :
11308 \begin_inset Formula \begin{equation}
11309 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11310
11311 \end_inset
11312
11313
11314 \end_layout
11315
11316 \begin_layout Standard
11317 In our case we have 
11318 \begin_inset Formula $n=2$
11319 \end_inset
11320
11321
11322 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11323 \end_inset
11324
11325 cm and the default values for the lengths, so that equation 
11326 \begin_inset LatexCommand ref
11327 reference "eq:Wgn"
11328
11329 \end_inset
11330
11331  becomes
11332 \begin_inset Formula \begin{equation}
11333 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11334
11335 \end_inset
11336
11337
11338 \end_layout
11339
11340 \begin_layout Standard
11341 To enable calculations in LaTeX, the LaTeX-package 
11342 \series bold
11343 calc
11344 \series default
11345  must be loaded with the document preamble line
11346 \begin_inset LatexCommand index
11347 name "LaTeX-packages ! calc"
11348
11349 \end_inset
11350
11351
11352 \end_layout
11353
11354 \begin_layout Standard
11355
11356 \series bold
11357
11358 \backslash
11359 usepackage{calc}
11360 \end_layout
11361
11362 \begin_layout Standard
11363 LyX does not allow to calculate lengths in the width-field of the table
11364  dialog.
11365  Therefore you have to format the column by inserting a LaTeX-argument in
11366  the dialog.
11367  Here is an overview about the arguments:
11368 \end_layout
11369
11370 \begin_layout Itemize
11371
11372 \series bold
11373 p{width}
11374 \series default
11375  creates cell with a fixed width, its text is vertically top-aligned
11376 \end_layout
11377
11378 \begin_layout Itemize
11379
11380 \series bold
11381 m{width}
11382 \series default
11383  creates cell with a fixed width, its text is vertically centered
11384 \end_layout
11385
11386 \begin_layout Itemize
11387
11388 \series bold
11389 b{width}
11390 \series default
11391  creates cell with a fixed width, its text is vertically bottom-aligned
11392 \end_layout
11393
11394 \begin_layout Standard
11395 By entering a LaTeX-argument, all cell settings set in the table dialog
11396  are overwritten.
11397 \end_layout
11398
11399 \begin_layout Standard
11400 \begin_inset Note Greyedout
11401 status open
11402
11403 \begin_layout Standard
11404
11405 \series bold
11406 Note:
11407 \series default
11408  Due to a bug, LyX shows the overwritten settings anyway.
11409 \end_layout
11410
11411 \end_inset
11412
11413
11414 \end_layout
11415
11416 \begin_layout Standard
11417 As the text should be horizontally centered, the command 
11418 \series bold
11419
11420 \backslash
11421 centering
11422 \series default
11423  is added.
11424  You can now enter the following LaTeX-argument for the first spanned column:
11425 \end_layout
11426
11427 \begin_layout Standard
11428
11429 \series bold
11430 >{
11431 \backslash
11432 centering}m{1.25cm-6.2pt}
11433 \end_layout
11434
11435 \begin_layout Standard
11436 The command 
11437 \series bold
11438 >{ }
11439 \series default
11440  means, that the commands inside the braces are applied before the cell
11441  is created.
11442 \end_layout
11443
11444 \begin_layout Standard
11445 Although we have chosen centered alignment for the text of the multicolumn
11446  cell, it is still left aligned.
11447  This is because LyX only applies the alignment to single columns.
11448  So we have to use for the multicolumn the LaTeX-argument
11449 \end_layout
11450
11451 \begin_layout Standard
11452
11453 \series bold
11454 >{
11455 \backslash
11456 centering}m{2.5cm}
11457 \end_layout
11458
11459 \begin_layout Subsection
11460 Multirows
11461 \begin_inset LatexCommand index
11462 name "Multirows"
11463
11464 \end_inset
11465
11466
11467 \begin_inset LatexCommand index
11468 name "Table ! Multirows"
11469
11470 \end_inset
11471
11472
11473 \begin_inset LatexCommand index
11474 name "LaTeX-packages ! multirow"
11475
11476 \end_inset
11477
11478
11479 \end_layout
11480
11481 \begin_layout Standard
11482 In contrary to multicolumns multirows are not yet supported by LyX so a
11483  bit of ERT needs to be used.
11484  To use multirows load the LaTeX-package 
11485 \series bold
11486 multirow
11487 \series default
11488  in your document preamble with the command
11489 \end_layout
11490
11491 \begin_layout Standard
11492
11493 \series bold
11494
11495 \backslash
11496 usepackage{multirow}
11497 \end_layout
11498
11499 \begin_layout Standard
11500 Multirows are created with the command
11501 \end_layout
11502
11503 \begin_layout Standard
11504
11505 \series bold
11506
11507 \backslash
11508 multirow{number of rows}{cell width}{cell entry}
11509 \end_layout
11510
11511 \begin_layout Standard
11512 To create the following table:
11513 \end_layout
11514
11515 \begin_layout Standard
11516 \align center
11517 \begin_inset ERT
11518 status collapsed
11519
11520 \begin_layout Standard
11521
11522
11523 \backslash
11524 renewcommand{
11525 \backslash
11526 multirowsetup}{
11527 \backslash
11528 centering}
11529 \end_layout
11530
11531 \end_inset
11532
11533
11534 \begin_inset Tabular
11535 <lyxtabular version="3" rows="3" columns="3">
11536 <features>
11537 <column alignment="center" valignment="top" leftline="true" width="0">
11538 <column alignment="center" valignment="top" leftline="true" width="0">
11539 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11540 <row topline="true">
11541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11542 \begin_inset Text
11543
11544 \begin_layout Standard
11545 a
11546 \end_layout
11547
11548 \end_inset
11549 </cell>
11550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11551 \begin_inset Text
11552
11553 \begin_layout Standard
11554 b
11555 \end_layout
11556
11557 \end_inset
11558 </cell>
11559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11560 \begin_inset Text
11561
11562 \begin_layout Standard
11563 c
11564 \end_layout
11565
11566 \end_inset
11567 </cell>
11568 </row>
11569 <row topline="true">
11570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11571 \begin_inset Text
11572
11573 \begin_layout Standard
11574 \begin_inset ERT
11575 status collapsed
11576
11577 \begin_layout Standard
11578
11579
11580 \backslash
11581 multirow{2}{2.5cm}{
11582 \end_layout
11583
11584 \end_inset
11585
11586 multirow entry
11587 \begin_inset ERT
11588 status collapsed
11589
11590 \begin_layout Standard
11591
11592 }
11593 \end_layout
11594
11595 \end_inset
11596
11597
11598 \end_layout
11599
11600 \end_inset
11601 </cell>
11602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11603 \begin_inset Text
11604
11605 \begin_layout Standard
11606 e
11607 \end_layout
11608
11609 \end_inset
11610 </cell>
11611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11612 \begin_inset Text
11613
11614 \begin_layout Standard
11615 f
11616 \end_layout
11617
11618 \end_inset
11619 </cell>
11620 </row>
11621 <row topline="true" bottomline="true">
11622 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11623 \begin_inset Text
11624
11625 \begin_layout Standard
11626
11627 \end_layout
11628
11629 \end_inset
11630 </cell>
11631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11632 \begin_inset Text
11633
11634 \begin_layout Standard
11635 h
11636 \end_layout
11637
11638 \end_inset
11639 </cell>
11640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11641 \begin_inset Text
11642
11643 \begin_layout Standard
11644 i
11645 \end_layout
11646
11647 \end_inset
11648 </cell>
11649 </row>
11650 </lyxtabular>
11651
11652 \end_inset
11653
11654
11655 \begin_inset ERT
11656 status collapsed
11657
11658 \begin_layout Standard
11659
11660
11661 \backslash
11662 renewcommand{
11663 \backslash
11664 multirowsetup}{
11665 \backslash
11666 raggedright}
11667 \end_layout
11668
11669 \end_inset
11670
11671
11672 \end_layout
11673
11674 \begin_layout Standard
11675 create a 3×3 table.
11676  To get rid of the line above the last cell in the first column, the cell
11677  is marked as multicolumn and the upper border is unset.
11678  The multirow is now created in the second row of the first column by inserting
11679  there the command
11680 \end_layout
11681
11682 \begin_layout Standard
11683
11684 \series bold
11685
11686 \backslash
11687 multirow{2}{2.5cm}{
11688 \end_layout
11689
11690 \begin_layout Standard
11691 as ERT.
11692  According to the command parameters the multirow spans now two rows and
11693  has a width of 2.5\InsetSpace \thinspace{}
11694 cm.
11695  The content of the multirow cell follows outside the ERT box and the command
11696  is finished with a right brace 
11697 \series bold
11698 }
11699 \series default
11700  in another ERT-box behind the text.
11701 \end_layout
11702
11703 \begin_layout Standard
11704
11705 \series bold
11706
11707 \backslash
11708 multirow
11709 \series default
11710  left-aligns its content by default.
11711  To override the default, renew the command 
11712 \series bold
11713
11714 \backslash
11715 multirowsetup
11716 \series default
11717  with the command
11718 \end_layout
11719
11720 \begin_layout Standard
11721
11722 \series bold
11723
11724 \backslash
11725 renewcommand{
11726 \backslash
11727 multirowsetup}{
11728 \backslash
11729 centering}
11730 \end_layout
11731
11732 \begin_layout Standard
11733 in ERT in the document preamble.
11734  Then all entries of multirow cells in the document are centered.
11735  If centering is only needed for several tables, you can renew the command
11736  in an ERT box just before the table instead of the preamble.
11737  If the text should be right-aligned, replace 
11738 \series bold
11739
11740 \backslash
11741 centering
11742 \series default
11743  by 
11744 \series bold
11745
11746 \backslash
11747 raggedleft
11748 \series default
11749 .
11750  To return to left-alignment 
11751 \series bold
11752
11753 \backslash
11754 raggedright
11755 \series default
11756  is used.
11757 \end_layout
11758
11759 \begin_layout Section
11760 Formal Tables
11761 \begin_inset LatexCommand label
11762 name "sec:Formal-Tables"
11763
11764 \end_inset
11765
11766
11767 \begin_inset LatexCommand index
11768 name "Table ! Formal"
11769
11770 \end_inset
11771
11772
11773 \end_layout
11774
11775 \begin_layout Standard
11776 Tables are often typeset in books similar to Table\InsetSpace ~
11777
11778 \begin_inset LatexCommand ref
11779 reference "tab:Example-booktabs-table"
11780
11781 \end_inset
11782
11783 .
11784  This kind of tables is called 
11785 \begin_inset Quotes eld
11786 \end_inset
11787
11788
11789 \emph on
11790 formal
11791 \emph default
11792
11793 \begin_inset Quotes erd
11794 \end_inset
11795
11796 .
11797  To make a table a formal table use the option 
11798 \family sans
11799 Formal
11800 \family default
11801  in the 
11802 \family sans
11803 Borders
11804 \family default
11805  tab of the table dialog.
11806 \end_layout
11807
11808 \begin_layout Standard
11809 \begin_inset Float table
11810 placement h
11811 wide false
11812 sideways false
11813 status open
11814
11815 \begin_layout Standard
11816 \begin_inset Caption
11817
11818 \begin_layout Standard
11819 \begin_inset LatexCommand label
11820 name "tab:Example-booktabs-table"
11821
11822 \end_inset
11823
11824 Example booktabs-table
11825 \end_layout
11826
11827 \end_inset
11828
11829
11830 \end_layout
11831
11832 \begin_layout Standard
11833 \align center
11834 \begin_inset Tabular
11835 <lyxtabular version="3" rows="8" columns="4">
11836 <features booktabs="true">
11837 <column alignment="center" valignment="top" rightline="true" width="0">
11838 <column alignment="center" valignment="top" width="0">
11839 <column alignment="center" valignment="top" width="0">
11840 <column alignment="center" valignment="top" width="0">
11841 <row topline="true">
11842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11843 \begin_inset Text
11844
11845 \begin_layout Standard
11846 System
11847 \end_layout
11848
11849 \end_inset
11850 </cell>
11851 <cell alignment="center" valignment="top" topline="true" usebox="none">
11852 \begin_inset Text
11853
11854 \begin_layout Standard
11855 Medipix
11856 \begin_inset Formula $\,$
11857 \end_inset
11858
11859 1
11860 \end_layout
11861
11862 \end_inset
11863 </cell>
11864 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11865 \begin_inset Text
11866
11867 \begin_layout Standard
11868 Medipix
11869 \begin_inset Formula $\,$
11870 \end_inset
11871
11872 2
11873 \end_layout
11874
11875 \end_inset
11876 </cell>
11877 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11878 \begin_inset Text
11879
11880 \begin_layout Standard
11881
11882 \end_layout
11883
11884 \end_inset
11885 </cell>
11886 </row>
11887 <row>
11888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11889 \begin_inset Text
11890
11891 \begin_layout Standard
11892 \begin_inset ERT
11893 status collapsed
11894
11895 \begin_layout Standard
11896
11897
11898 \backslash
11899 cmidrule(r){2-2}
11900 \end_layout
11901
11902 \end_inset
11903
11904
11905 \begin_inset ERT
11906 status collapsed
11907
11908 \begin_layout Standard
11909
11910
11911 \backslash
11912 cmidrule(l){3-4}
11913 \end_layout
11914
11915 \end_inset
11916
11917 Detector thickness [µm]
11918 \end_layout
11919
11920 \end_inset
11921 </cell>
11922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11923 \begin_inset Text
11924
11925 \begin_layout Standard
11926 300
11927 \end_layout
11928
11929 \end_inset
11930 </cell>
11931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11932 \begin_inset Text
11933
11934 \begin_layout Standard
11935 300
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 Standard
11944 700
11945 \end_layout
11946
11947 \end_inset
11948 </cell>
11949 </row>
11950 <row topline="true">
11951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11952 \begin_inset Text
11953
11954 \begin_layout Standard
11955 Edge angle [°]
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 Standard
11964 3.55
11965 \end_layout
11966
11967 \end_inset
11968 </cell>
11969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11970 \begin_inset Text
11971
11972 \begin_layout Standard
11973 2.71
11974 \end_layout
11975
11976 \end_inset
11977 </cell>
11978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11979 \begin_inset Text
11980
11981 \begin_layout Standard
11982 7.99
11983 \end_layout
11984
11985 \end_inset
11986 </cell>
11987 </row>
11988 <row topspace="default">
11989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11990 \begin_inset Text
11991
11992 \begin_layout Standard
11993 Spatial resolution [µm]
11994 \end_layout
11995
11996 \end_inset
11997 </cell>
11998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11999 \begin_inset Text
12000
12001 \begin_layout Standard
12002 4.26
12003 \end_layout
12004
12005 \end_inset
12006 </cell>
12007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12008 \begin_inset Text
12009
12010 \begin_layout Standard
12011 10.17
12012 \end_layout
12013
12014 \end_inset
12015 </cell>
12016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12017 \begin_inset Text
12018
12019 \begin_layout Standard
12020 10.56
12021 \end_layout
12022
12023 \end_inset
12024 </cell>
12025 </row>
12026 <row topspace="default">
12027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12028 \begin_inset Text
12029
12030 \begin_layout Standard
12031 MTF at 
12032 \begin_inset Formula $f_{\mathrm{max}}$
12033 \end_inset
12034
12035
12036 \end_layout
12037
12038 \end_inset
12039 </cell>
12040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12041 \begin_inset Text
12042
12043 \begin_layout Standard
12044 0.53
12045 \end_layout
12046
12047 \end_inset
12048 </cell>
12049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12050 \begin_inset Text
12051
12052 \begin_layout Standard
12053 0.37
12054 \end_layout
12055
12056 \end_inset
12057 </cell>
12058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12059 \begin_inset Text
12060
12061 \begin_layout Standard
12062 0.39
12063 \end_layout
12064
12065 \end_inset
12066 </cell>
12067 </row>
12068 <row topspace="default">
12069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12070 \begin_inset Text
12071
12072 \begin_layout Standard
12073 \begin_inset ERT
12074 status collapsed
12075
12076 \begin_layout Standard
12077
12078
12079 \backslash
12080 cmidrule(l{10pt}){1-1}
12081 \end_layout
12082
12083 \end_inset
12084
12085 LSF-spatial resolution
12086 \end_layout
12087
12088 \end_inset
12089 </cell>
12090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12091 \begin_inset Text
12092
12093 \begin_layout Standard
12094
12095 \end_layout
12096
12097 \end_inset
12098 </cell>
12099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12100 \begin_inset Text
12101
12102 \begin_layout Standard
12103
12104 \end_layout
12105
12106 \end_inset
12107 </cell>
12108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12109 \begin_inset Text
12110
12111 \begin_layout Standard
12112
12113 \end_layout
12114
12115 \end_inset
12116 </cell>
12117 </row>
12118 <row>
12119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12120 \begin_inset Text
12121
12122 \begin_layout Standard
12123 in Âµm
12124 \end_layout
12125
12126 \end_inset
12127 </cell>
12128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12129 \begin_inset Text
12130
12131 \begin_layout Standard
12132 129.7
12133 \end_layout
12134
12135 \end_inset
12136 </cell>
12137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12138 \begin_inset Text
12139
12140 \begin_layout Standard
12141 52.75
12142 \end_layout
12143
12144 \end_inset
12145 </cell>
12146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12147 \begin_inset Text
12148
12149 \begin_layout Standard
12150 50.78
12151 \end_layout
12152
12153 \end_inset
12154 </cell>
12155 </row>
12156 <row bottomline="true">
12157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12158 \begin_inset Text
12159
12160 \begin_layout Standard
12161 in % of pixel size
12162 \end_layout
12163
12164 \end_inset
12165 </cell>
12166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12167 \begin_inset Text
12168
12169 \begin_layout Standard
12170 76.3
12171 \end_layout
12172
12173 \end_inset
12174 </cell>
12175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12176 \begin_inset Text
12177
12178 \begin_layout Standard
12179 95.9
12180 \end_layout
12181
12182 \end_inset
12183 </cell>
12184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12185 \begin_inset Text
12186
12187 \begin_layout Standard
12188 92.3
12189 \end_layout
12190
12191 \end_inset
12192 </cell>
12193 </row>
12194 </lyxtabular>
12195
12196 \end_inset
12197
12198
12199 \end_layout
12200
12201 \end_inset
12202
12203
12204 \end_layout
12205
12206 \begin_layout Standard
12207 Spaces to table rows can be added using the 
12208 \family sans
12209 Borders
12210 \family default
12211  tab of the table dialog as described in section\InsetSpace ~
12212
12213 \begin_inset LatexCommand ref
12214 reference "sub:Row-Spacing"
12215
12216 \end_inset
12217
12218 .
12219 \end_layout
12220
12221 \begin_layout Standard
12222 In contrary to normal tables, formal tables have no vertical table lines.
12223  The horizontal table lines can be set like for normal tables but they appear
12224  with different width in the output:
12225 \newline
12226 The first and the last table line have
12227  a default width of 0.08\InsetSpace \thinspace{}
12228 em while the other lines have a default width of
12229  0.05\InsetSpace \thinspace{}
12230 em.
12231 \end_layout
12232
12233 \begin_layout Standard
12234 The default widths can be changed with the following preamble lines
12235 \end_layout
12236
12237 \begin_layout Standard
12238
12239 \series bold
12240
12241 \backslash
12242 let
12243 \backslash
12244 mytoprule
12245 \backslash
12246 toprule
12247 \newline
12248
12249 \backslash
12250 renewcommand{
12251 \backslash
12252 toprule}{
12253 \backslash
12254 mytoprule[width]}
12255 \end_layout
12256
12257 \begin_layout Standard
12258 This example is for the first line, the so called 
12259 \series bold
12260 toprule
12261 \series default
12262 .
12263  If you want to change the width for the last line, replace 
12264 \series bold
12265 toprule
12266 \series default
12267  by 
12268 \series bold
12269 bottomrule
12270 \series default
12271 .
12272  To change the width for the other lines replace 
12273 \series bold
12274 toprule
12275 \series default
12276  by 
12277 \series bold
12278 midrule
12279 \series default
12280 .
12281  You can use all units listed in appendix\InsetSpace ~
12282
12283 \begin_inset LatexCommand ref
12284 reference "cha:Units-available-in"
12285
12286 \end_inset
12287
12288  to set the width.
12289 \end_layout
12290
12291 \begin_layout Standard
12292 Lines that don't span over all table columns can be created by setting a
12293  table line for multicolumn cells.
12294  LyX will then internally use the command 
12295 \series bold
12296
12297 \backslash
12298 cmidrule
12299 \series default
12300  to create this line.
12301  Its full scheme is
12302 \end_layout
12303
12304 \begin_layout Standard
12305
12306 \series bold
12307
12308 \backslash
12309 cmidrule[width](trim){startcol-endcol}
12310 \end_layout
12311
12312 \begin_layout Standard
12313 The options of 
12314 \series bold
12315
12316 \backslash
12317 cmidrule
12318 \series default
12319  are are currently not supported by LyX so you have to use ERT to be able
12320  to use them.
12321  
12322 \series bold
12323
12324 \backslash
12325 cmidrule
12326 \series default
12327 s can manually be created by inserting the command as ERT as first cell
12328  entry of the first cell of a row.
12329  The line is then drawn in the output above the current row.
12330 \end_layout
12331
12332 \begin_layout Standard
12333 The default for the width is 0.03\InsetSpace \thinspace{}
12334 em.
12335  Startcol is the number of the column where the line starts and endcol the
12336  column number where the line ends.
12337  The endcol always needs to be specified, also when the line should span
12338  only one column.
12339  The optional parameter trim could be either 
12340 \emph on
12341 l{trimwidth}
12342 \emph default
12343 , or 
12344 \emph on
12345 r{trimwidth}
12346 \emph default
12347  where the trimwidth is also optional.
12348  Using for example the parameter 
12349 \emph on
12350 l{2pt}
12351 \emph default
12352  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
12353 pt.
12354  If you don't specify the trimwidth the lines are trimmed by the default
12355  of 0.5\InsetSpace \thinspace{}
12356 em.
12357 \end_layout
12358
12359 \begin_layout Standard
12360 \begin_inset VSpace bigskip
12361 \end_inset
12362
12363 Table\InsetSpace ~
12364
12365 \begin_inset LatexCommand ref
12366 reference "tab:Example-booktabs-table"
12367
12368 \end_inset
12369
12370  was created using the commands
12371 \end_layout
12372
12373 \begin_layout Standard
12374
12375 \series bold
12376
12377 \backslash
12378 cmidrule(r){2-2}
12379 \backslash
12380 cmidrule(l){3-4}
12381 \end_layout
12382
12383 \begin_layout Standard
12384 at the beginning of the in the second row and
12385 \end_layout
12386
12387 \begin_layout Standard
12388
12389 \series bold
12390
12391 \backslash
12392 cmidrule(l{10pt}){1-1}
12393 \end_layout
12394
12395 \begin_layout Standard
12396 in the sixth row.
12397 \end_layout
12398
12399 \begin_layout Standard
12400 \begin_inset VSpace bigskip
12401 \end_inset
12402
12403
12404 \end_layout
12405
12406 \begin_layout Standard
12407 You might want to have overlapping 
12408 \series bold
12409
12410 \backslash
12411 cmidrule
12412 \series default
12413 s like in Table\InsetSpace ~
12414
12415 \begin_inset LatexCommand ref
12416 reference "tab:Special-booktabs-table"
12417
12418 \end_inset
12419
12420 .
12421  This can be achieved with the ERT command
12422 \end_layout
12423
12424 \begin_layout Standard
12425
12426 \series bold
12427
12428 \backslash
12429 morecmidrules
12430 \end_layout
12431
12432 \begin_layout Standard
12433 The command that was used for the second row of Table\InsetSpace ~
12434
12435 \begin_inset LatexCommand ref
12436 reference "tab:Special-booktabs-table"
12437
12438 \end_inset
12439
12440  is
12441 \end_layout
12442
12443 \begin_layout Standard
12444
12445 \series bold
12446
12447 \backslash
12448 cmidrule(r){2-2}
12449 \backslash
12450 cmidrule(l){3-4}
12451 \backslash
12452 morecmidrules
12453 \backslash
12454 cmidrule{2-4}
12455 \end_layout
12456
12457 \begin_layout Standard
12458 The command for the sixth row is
12459 \end_layout
12460
12461 \begin_layout Standard
12462
12463 \series bold
12464
12465 \backslash
12466 midrule
12467 \backslash
12468 morecmidrules
12469 \backslash
12470 cmidrule{3-4}
12471 \end_layout
12472
12473 \begin_layout Standard
12474 \begin_inset VSpace bigskip
12475 \end_inset
12476
12477
12478 \end_layout
12479
12480 \begin_layout Standard
12481 If you are anyway not satisfied with the border line spacing, you can use
12482  the following command to produce lines that span over all table columns
12483 \series bold
12484 :
12485 \end_layout
12486
12487 \begin_layout Standard
12488
12489 \series bold
12490
12491 \backslash
12492 specialrule{width}{space above}{space below}
12493 \end_layout
12494
12495 \begin_layout Standard
12496 For more informations about these specialties, we refer to the manual of
12497  the LaTeX-package 
12498 \series bold
12499 booktabs
12500 \series default
12501  
12502 \begin_inset LatexCommand cite
12503 key "booktabs"
12504
12505 \end_inset
12506
12507 .
12508 \begin_inset LatexCommand index
12509 name "LaTeX-packages ! booktabs"
12510
12511 \end_inset
12512
12513
12514 \end_layout
12515
12516 \begin_layout Standard
12517 \begin_inset Float table
12518 placement h
12519 wide false
12520 sideways false
12521 status open
12522
12523 \begin_layout Standard
12524 \begin_inset Caption
12525
12526 \begin_layout Standard
12527 \begin_inset LatexCommand label
12528 name "tab:Special-booktabs-table"
12529
12530 \end_inset
12531
12532 Special booktabs-table
12533 \end_layout
12534
12535 \end_inset
12536
12537
12538 \end_layout
12539
12540 \begin_layout Standard
12541 \align center
12542 \begin_inset Tabular
12543 <lyxtabular version="3" rows="8" columns="4">
12544 <features booktabs="true">
12545 <column alignment="center" valignment="top" width="0">
12546 <column alignment="center" valignment="top" width="0">
12547 <column alignment="center" valignment="top" width="0">
12548 <column alignment="center" valignment="top" width="0">
12549 <row topline="true">
12550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12551 \begin_inset Text
12552
12553 \begin_layout Standard
12554 System
12555 \end_layout
12556
12557 \end_inset
12558 </cell>
12559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12560 \begin_inset Text
12561
12562 \begin_layout Standard
12563 Medipix\InsetSpace \thinspace{}
12564 1
12565 \end_layout
12566
12567 \end_inset
12568 </cell>
12569 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12570 \begin_inset Text
12571
12572 \begin_layout Standard
12573 Medipix\InsetSpace \thinspace{}
12574 2
12575 \end_layout
12576
12577 \end_inset
12578 </cell>
12579 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12580 \begin_inset Text
12581
12582 \begin_layout Standard
12583
12584 \end_layout
12585
12586 \end_inset
12587 </cell>
12588 </row>
12589 <row>
12590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12591 \begin_inset Text
12592
12593 \begin_layout Standard
12594 \begin_inset ERT
12595 status collapsed
12596
12597 \begin_layout Standard
12598
12599
12600 \backslash
12601 cmidrule(r){2-2}
12602 \end_layout
12603
12604 \end_inset
12605
12606
12607 \begin_inset ERT
12608 status collapsed
12609
12610 \begin_layout Standard
12611
12612
12613 \backslash
12614 cmidrule(l){3-4}
12615 \end_layout
12616
12617 \end_inset
12618
12619
12620 \begin_inset ERT
12621 status collapsed
12622
12623 \begin_layout Standard
12624
12625
12626 \backslash
12627 morecmidrules 
12628 \end_layout
12629
12630 \end_inset
12631
12632
12633 \begin_inset ERT
12634 status collapsed
12635
12636 \begin_layout Standard
12637
12638
12639 \backslash
12640 cmidrule{2-4}
12641 \end_layout
12642
12643 \end_inset
12644
12645 Detector thickness [µm]
12646 \end_layout
12647
12648 \end_inset
12649 </cell>
12650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12651 \begin_inset Text
12652
12653 \begin_layout Standard
12654 300
12655 \end_layout
12656
12657 \end_inset
12658 </cell>
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12660 \begin_inset Text
12661
12662 \begin_layout Standard
12663 300
12664 \end_layout
12665
12666 \end_inset
12667 </cell>
12668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12669 \begin_inset Text
12670
12671 \begin_layout Standard
12672 700
12673 \end_layout
12674
12675 \end_inset
12676 </cell>
12677 </row>
12678 <row topline="true">
12679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12680 \begin_inset Text
12681
12682 \begin_layout Standard
12683 Edge angle [°]
12684 \end_layout
12685
12686 \end_inset
12687 </cell>
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Standard
12692 3.55
12693 \end_layout
12694
12695 \end_inset
12696 </cell>
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12698 \begin_inset Text
12699
12700 \begin_layout Standard
12701 2.71
12702 \end_layout
12703
12704 \end_inset
12705 </cell>
12706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12707 \begin_inset Text
12708
12709 \begin_layout Standard
12710 7.99
12711 \end_layout
12712
12713 \end_inset
12714 </cell>
12715 </row>
12716 <row topspace="default">
12717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12718 \begin_inset Text
12719
12720 \begin_layout Standard
12721 Spatial resolution [µm]
12722 \end_layout
12723
12724 \end_inset
12725 </cell>
12726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12727 \begin_inset Text
12728
12729 \begin_layout Standard
12730 4.26
12731 \end_layout
12732
12733 \end_inset
12734 </cell>
12735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12736 \begin_inset Text
12737
12738 \begin_layout Standard
12739 10.17
12740 \end_layout
12741
12742 \end_inset
12743 </cell>
12744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12745 \begin_inset Text
12746
12747 \begin_layout Standard
12748 10.56
12749 \end_layout
12750
12751 \end_inset
12752 </cell>
12753 </row>
12754 <row topspace="default">
12755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12756 \begin_inset Text
12757
12758 \begin_layout Standard
12759 MTF at 
12760 \begin_inset Formula $f_{\mathrm{max}}$
12761 \end_inset
12762
12763
12764 \end_layout
12765
12766 \end_inset
12767 </cell>
12768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12769 \begin_inset Text
12770
12771 \begin_layout Standard
12772 0.53
12773 \end_layout
12774
12775 \end_inset
12776 </cell>
12777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12778 \begin_inset Text
12779
12780 \begin_layout Standard
12781 0.37
12782 \end_layout
12783
12784 \end_inset
12785 </cell>
12786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12787 \begin_inset Text
12788
12789 \begin_layout Standard
12790 0.39
12791 \end_layout
12792
12793 \end_inset
12794 </cell>
12795 </row>
12796 <row topline="true">
12797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12798 \begin_inset Text
12799
12800 \begin_layout Standard
12801 \begin_inset ERT
12802 status collapsed
12803
12804 \begin_layout Standard
12805
12806
12807 \backslash
12808 morecmidrules 
12809 \end_layout
12810
12811 \end_inset
12812
12813
12814 \begin_inset ERT
12815 status collapsed
12816
12817 \begin_layout Standard
12818
12819
12820 \backslash
12821 cmidrule{3-4}
12822 \end_layout
12823
12824 \end_inset
12825
12826 LSF-spatial resolution
12827 \end_layout
12828
12829 \end_inset
12830 </cell>
12831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12832 \begin_inset Text
12833
12834 \begin_layout Standard
12835
12836 \end_layout
12837
12838 \end_inset
12839 </cell>
12840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12841 \begin_inset Text
12842
12843 \begin_layout Standard
12844
12845 \end_layout
12846
12847 \end_inset
12848 </cell>
12849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12850 \begin_inset Text
12851
12852 \begin_layout Standard
12853
12854 \end_layout
12855
12856 \end_inset
12857 </cell>
12858 </row>
12859 <row>
12860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12861 \begin_inset Text
12862
12863 \begin_layout Standard
12864 in Âµm
12865 \end_layout
12866
12867 \end_inset
12868 </cell>
12869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12870 \begin_inset Text
12871
12872 \begin_layout Standard
12873 129.7
12874 \end_layout
12875
12876 \end_inset
12877 </cell>
12878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12879 \begin_inset Text
12880
12881 \begin_layout Standard
12882 52.75
12883 \end_layout
12884
12885 \end_inset
12886 </cell>
12887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12888 \begin_inset Text
12889
12890 \begin_layout Standard
12891 50.78
12892 \end_layout
12893
12894 \end_inset
12895 </cell>
12896 </row>
12897 <row bottomline="true">
12898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12899 \begin_inset Text
12900
12901 \begin_layout Standard
12902 in % of pixel size
12903 \end_layout
12904
12905 \end_inset
12906 </cell>
12907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12908 \begin_inset Text
12909
12910 \begin_layout Standard
12911 76.3
12912 \end_layout
12913
12914 \end_inset
12915 </cell>
12916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12917 \begin_inset Text
12918
12919 \begin_layout Standard
12920 95.9
12921 \end_layout
12922
12923 \end_inset
12924 </cell>
12925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12926 \begin_inset Text
12927
12928 \begin_layout Standard
12929 92.3
12930 \end_layout
12931
12932 \end_inset
12933 </cell>
12934 </row>
12935 </lyxtabular>
12936
12937 \end_inset
12938
12939
12940 \end_layout
12941
12942 \end_inset
12943
12944
12945 \end_layout
12946
12947 \begin_layout Section
12948 Vertical Table Alignment
12949 \begin_inset LatexCommand index
12950 name "Table ! Alignment"
12951
12952 \end_inset
12953
12954
12955 \end_layout
12956
12957 \begin_layout Standard
12958 To align tables vertically in a text line the table must be inside a box.
12959  The box can then be vertically aligned as described in section\InsetSpace ~
12960
12961 \begin_inset LatexCommand ref
12962 reference "sec:Box-Dialog"
12963
12964 \end_inset
12965
12966 .
12967 \end_layout
12968
12969 \begin_layout Standard
12970 In the following example the tables are inside a minipage
12971 \begin_inset Foot
12972 status collapsed
12973
12974 \begin_layout Standard
12975 Minipages are described in section\InsetSpace ~
12976
12977 \begin_inset LatexCommand ref
12978 reference "sec:Minipages"
12979
12980 \end_inset
12981
12982 .
12983 \end_layout
12984
12985 \end_inset
12986
12987  box that has a width of 15\InsetSpace \thinspace{}
12988 col%:
12989 \end_layout
12990
12991 \begin_layout Itemize
12992 test 
12993 \begin_inset Box Frameless
12994 position "t"
12995 hor_pos "c"
12996 has_inner_box 1
12997 inner_pos "c"
12998 use_parbox 0
12999 width "15col%"
13000 special "none"
13001 height "1in"
13002 height_special "totalheight"
13003 status collapsed
13004
13005 \begin_layout Standard
13006 \begin_inset Tabular
13007 <lyxtabular version="3" rows="3" columns="3">
13008 <features>
13009 <column alignment="center" valignment="top" leftline="true" width="0">
13010 <column alignment="center" valignment="top" leftline="true" width="0">
13011 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13012 <row topline="true">
13013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13014 \begin_inset Text
13015
13016 \begin_layout Standard
13017 a
13018 \end_layout
13019
13020 \end_inset
13021 </cell>
13022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13023 \begin_inset Text
13024
13025 \begin_layout Standard
13026 d
13027 \end_layout
13028
13029 \end_inset
13030 </cell>
13031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13032 \begin_inset Text
13033
13034 \begin_layout Standard
13035 g
13036 \end_layout
13037
13038 \end_inset
13039 </cell>
13040 </row>
13041 <row topline="true">
13042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13043 \begin_inset Text
13044
13045 \begin_layout Standard
13046 b
13047 \end_layout
13048
13049 \end_inset
13050 </cell>
13051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13052 \begin_inset Text
13053
13054 \begin_layout Standard
13055 e
13056 \end_layout
13057
13058 \end_inset
13059 </cell>
13060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13061 \begin_inset Text
13062
13063 \begin_layout Standard
13064 h
13065 \end_layout
13066
13067 \end_inset
13068 </cell>
13069 </row>
13070 <row topline="true" bottomline="true">
13071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13072 \begin_inset Text
13073
13074 \begin_layout Standard
13075 c
13076 \end_layout
13077
13078 \end_inset
13079 </cell>
13080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13081 \begin_inset Text
13082
13083 \begin_layout Standard
13084 f
13085 \end_layout
13086
13087 \end_inset
13088 </cell>
13089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13090 \begin_inset Text
13091
13092 \begin_layout Standard
13093 i
13094 \end_layout
13095
13096 \end_inset
13097 </cell>
13098 </row>
13099 </lyxtabular>
13100
13101 \end_inset
13102
13103
13104 \end_layout
13105
13106 \end_inset
13107
13108  test 
13109 \begin_inset ERT
13110 status collapsed
13111
13112 \begin_layout Standard
13113
13114
13115 \backslash
13116 raisebox{0.85
13117 \backslash
13118 baselineskip}{
13119 \end_layout
13120
13121 \end_inset
13122
13123
13124 \begin_inset Box Frameless
13125 position "t"
13126 hor_pos "c"
13127 has_inner_box 1
13128 inner_pos "c"
13129 use_parbox 0
13130 width "15col%"
13131 special "none"
13132 height "1in"
13133 height_special "totalheight"
13134 status collapsed
13135
13136 \begin_layout Standard
13137 \begin_inset Tabular
13138 <lyxtabular version="3" rows="3" columns="3">
13139 <features>
13140 <column alignment="center" valignment="top" leftline="true" width="0">
13141 <column alignment="center" valignment="top" leftline="true" width="0">
13142 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13143 <row topline="true">
13144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13145 \begin_inset Text
13146
13147 \begin_layout Standard
13148 a
13149 \end_layout
13150
13151 \end_inset
13152 </cell>
13153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13154 \begin_inset Text
13155
13156 \begin_layout Standard
13157 d
13158 \end_layout
13159
13160 \end_inset
13161 </cell>
13162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13163 \begin_inset Text
13164
13165 \begin_layout Standard
13166 g
13167 \end_layout
13168
13169 \end_inset
13170 </cell>
13171 </row>
13172 <row topline="true">
13173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13174 \begin_inset Text
13175
13176 \begin_layout Standard
13177 b
13178 \end_layout
13179
13180 \end_inset
13181 </cell>
13182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13183 \begin_inset Text
13184
13185 \begin_layout Standard
13186 e
13187 \end_layout
13188
13189 \end_inset
13190 </cell>
13191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13192 \begin_inset Text
13193
13194 \begin_layout Standard
13195 h
13196 \end_layout
13197
13198 \end_inset
13199 </cell>
13200 </row>
13201 <row topline="true" bottomline="true">
13202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13203 \begin_inset Text
13204
13205 \begin_layout Standard
13206 c
13207 \end_layout
13208
13209 \end_inset
13210 </cell>
13211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13212 \begin_inset Text
13213
13214 \begin_layout Standard
13215 f
13216 \end_layout
13217
13218 \end_inset
13219 </cell>
13220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13221 \begin_inset Text
13222
13223 \begin_layout Standard
13224 i
13225 \end_layout
13226
13227 \end_inset
13228 </cell>
13229 </row>
13230 </lyxtabular>
13231
13232 \end_inset
13233
13234
13235 \end_layout
13236
13237 \end_inset
13238
13239
13240 \begin_inset ERT
13241 status collapsed
13242
13243 \begin_layout Standard
13244
13245 }
13246 \end_layout
13247
13248 \end_inset
13249
13250
13251 \end_layout
13252
13253 \begin_layout Itemize
13254 test 
13255 \begin_inset Box Frameless
13256 position "c"
13257 hor_pos "c"
13258 has_inner_box 1
13259 inner_pos "c"
13260 use_parbox 0
13261 width "15col%"
13262 special "none"
13263 height "1in"
13264 height_special "totalheight"
13265 status collapsed
13266
13267 \begin_layout Standard
13268 \begin_inset Tabular
13269 <lyxtabular version="3" rows="3" columns="3">
13270 <features>
13271 <column alignment="center" valignment="top" leftline="true" width="0">
13272 <column alignment="center" valignment="top" leftline="true" width="0">
13273 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13274 <row topline="true">
13275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13276 \begin_inset Text
13277
13278 \begin_layout Standard
13279 a
13280 \end_layout
13281
13282 \end_inset
13283 </cell>
13284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13285 \begin_inset Text
13286
13287 \begin_layout Standard
13288 d
13289 \end_layout
13290
13291 \end_inset
13292 </cell>
13293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13294 \begin_inset Text
13295
13296 \begin_layout Standard
13297 g
13298 \end_layout
13299
13300 \end_inset
13301 </cell>
13302 </row>
13303 <row topline="true">
13304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13305 \begin_inset Text
13306
13307 \begin_layout Standard
13308 b
13309 \end_layout
13310
13311 \end_inset
13312 </cell>
13313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13314 \begin_inset Text
13315
13316 \begin_layout Standard
13317 e
13318 \end_layout
13319
13320 \end_inset
13321 </cell>
13322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13323 \begin_inset Text
13324
13325 \begin_layout Standard
13326 h
13327 \end_layout
13328
13329 \end_inset
13330 </cell>
13331 </row>
13332 <row topline="true" bottomline="true">
13333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13334 \begin_inset Text
13335
13336 \begin_layout Standard
13337 c
13338 \end_layout
13339
13340 \end_inset
13341 </cell>
13342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13343 \begin_inset Text
13344
13345 \begin_layout Standard
13346 f
13347 \end_layout
13348
13349 \end_inset
13350 </cell>
13351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13352 \begin_inset Text
13353
13354 \begin_layout Standard
13355 i
13356 \end_layout
13357
13358 \end_inset
13359 </cell>
13360 </row>
13361 </lyxtabular>
13362
13363 \end_inset
13364
13365
13366 \end_layout
13367
13368 \end_inset
13369
13370
13371 \end_layout
13372
13373 \begin_layout Itemize
13374 test 
13375 \begin_inset Box Frameless
13376 position "b"
13377 hor_pos "c"
13378 has_inner_box 1
13379 inner_pos "c"
13380 use_parbox 0
13381 width "15col%"
13382 special "none"
13383 height "1in"
13384 height_special "totalheight"
13385 status collapsed
13386
13387 \begin_layout Standard
13388 \begin_inset Tabular
13389 <lyxtabular version="3" rows="3" columns="3">
13390 <features>
13391 <column alignment="center" valignment="top" leftline="true" width="0">
13392 <column alignment="center" valignment="top" leftline="true" width="0">
13393 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13394 <row topline="true">
13395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13396 \begin_inset Text
13397
13398 \begin_layout Standard
13399 a
13400 \end_layout
13401
13402 \end_inset
13403 </cell>
13404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13405 \begin_inset Text
13406
13407 \begin_layout Standard
13408 d
13409 \end_layout
13410
13411 \end_inset
13412 </cell>
13413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13414 \begin_inset Text
13415
13416 \begin_layout Standard
13417 g
13418 \end_layout
13419
13420 \end_inset
13421 </cell>
13422 </row>
13423 <row topline="true">
13424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13425 \begin_inset Text
13426
13427 \begin_layout Standard
13428 b
13429 \end_layout
13430
13431 \end_inset
13432 </cell>
13433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13434 \begin_inset Text
13435
13436 \begin_layout Standard
13437 e
13438 \end_layout
13439
13440 \end_inset
13441 </cell>
13442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13443 \begin_inset Text
13444
13445 \begin_layout Standard
13446 h
13447 \end_layout
13448
13449 \end_inset
13450 </cell>
13451 </row>
13452 <row topline="true" bottomline="true">
13453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13454 \begin_inset Text
13455
13456 \begin_layout Standard
13457 c
13458 \end_layout
13459
13460 \end_inset
13461 </cell>
13462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13463 \begin_inset Text
13464
13465 \begin_layout Standard
13466 f
13467 \end_layout
13468
13469 \end_inset
13470 </cell>
13471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13472 \begin_inset Text
13473
13474 \begin_layout Standard
13475 i
13476 \end_layout
13477
13478 \end_inset
13479 </cell>
13480 </row>
13481 </lyxtabular>
13482
13483 \end_inset
13484
13485
13486 \end_layout
13487
13488 \end_inset
13489
13490  test 
13491 \begin_inset ERT
13492 status collapsed
13493
13494 \begin_layout Standard
13495
13496
13497 \backslash
13498 raisebox{-0.32
13499 \backslash
13500 baselineskip}{
13501 \end_layout
13502
13503 \end_inset
13504
13505
13506 \begin_inset Box Frameless
13507 position "b"
13508 hor_pos "c"
13509 has_inner_box 1
13510 inner_pos "c"
13511 use_parbox 0
13512 width "15col%"
13513 special "none"
13514 height "1in"
13515 height_special "totalheight"
13516 status collapsed
13517
13518 \begin_layout Standard
13519 \begin_inset Tabular
13520 <lyxtabular version="3" rows="3" columns="3">
13521 <features>
13522 <column alignment="center" valignment="top" leftline="true" width="0">
13523 <column alignment="center" valignment="top" leftline="true" width="0">
13524 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13525 <row topline="true">
13526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13527 \begin_inset Text
13528
13529 \begin_layout Standard
13530 a
13531 \end_layout
13532
13533 \end_inset
13534 </cell>
13535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13536 \begin_inset Text
13537
13538 \begin_layout Standard
13539 d
13540 \end_layout
13541
13542 \end_inset
13543 </cell>
13544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13545 \begin_inset Text
13546
13547 \begin_layout Standard
13548 g
13549 \end_layout
13550
13551 \end_inset
13552 </cell>
13553 </row>
13554 <row topline="true">
13555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13556 \begin_inset Text
13557
13558 \begin_layout Standard
13559 b
13560 \end_layout
13561
13562 \end_inset
13563 </cell>
13564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13565 \begin_inset Text
13566
13567 \begin_layout Standard
13568 e
13569 \end_layout
13570
13571 \end_inset
13572 </cell>
13573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13574 \begin_inset Text
13575
13576 \begin_layout Standard
13577 h
13578 \end_layout
13579
13580 \end_inset
13581 </cell>
13582 </row>
13583 <row topline="true" bottomline="true">
13584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13585 \begin_inset Text
13586
13587 \begin_layout Standard
13588 c
13589 \end_layout
13590
13591 \end_inset
13592 </cell>
13593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13594 \begin_inset Text
13595
13596 \begin_layout Standard
13597 f
13598 \end_layout
13599
13600 \end_inset
13601 </cell>
13602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13603 \begin_inset Text
13604
13605 \begin_layout Standard
13606 i
13607 \end_layout
13608
13609 \end_inset
13610 </cell>
13611 </row>
13612 </lyxtabular>
13613
13614 \end_inset
13615
13616
13617 \end_layout
13618
13619 \end_inset
13620
13621
13622 \begin_inset ERT
13623 status collapsed
13624
13625 \begin_layout Standard
13626
13627 }
13628 \end_layout
13629
13630 \end_inset
13631
13632
13633 \end_layout
13634
13635 \begin_layout Standard
13636 As you can see, the content of the first and last table row is not correctly
13637  aligned with the text line where the table is in.
13638  To get this alignment, the minipage box must be set into a raisebox
13639 \begin_inset Foot
13640 status collapsed
13641
13642 \begin_layout Standard
13643 Raiseboxes are described in section\InsetSpace ~
13644
13645 \begin_inset LatexCommand ref
13646 reference "sub:Vertical-Alignment"
13647
13648 \end_inset
13649
13650 .
13651 \end_layout
13652
13653 \end_inset
13654
13655 .
13656  In the example above the second table in the first item is aligned using
13657  the ERT-command
13658 \end_layout
13659
13660 \begin_layout Standard
13661
13662 \series bold
13663
13664 \backslash
13665 raisebox{0.85
13666 \backslash
13667 baselineskip}{
13668 \end_layout
13669
13670 \begin_layout Standard
13671 before the box.
13672  Behind the box the closing brace 
13673 \series bold
13674 }
13675 \series default
13676  is inserted as ERT.
13677  For the second table in the last item the command
13678 \end_layout
13679
13680 \begin_layout Standard
13681
13682 \series bold
13683
13684 \backslash
13685 raisebox{-0.32
13686 \backslash
13687 baselineskip}{
13688 \end_layout
13689
13690 \begin_layout Standard
13691 is used.
13692 \end_layout
13693
13694 \begin_layout Standard
13695 \begin_inset Note Greyedout
13696 status open
13697
13698 \begin_layout Standard
13699
13700 \series bold
13701 Note:
13702 \series default
13703  The alignment of the table row content to the surrounding text line is
13704  not exact.
13705  The needed factor of the 
13706 \series bold
13707
13708 \backslash
13709 raisebox
13710 \series default
13711  command for this alignment depends on the document font, the font size,
13712  and the table line thickness.
13713 \end_layout
13714
13715 \end_inset
13716
13717
13718 \end_layout
13719
13720 \begin_layout Section
13721 Colored Tables
13722 \begin_inset LatexCommand label
13723 name "sec:Colored-Tables"
13724
13725 \end_inset
13726
13727
13728 \begin_inset LatexCommand index
13729 name "Table ! Color"
13730
13731 \end_inset
13732
13733
13734 \end_layout
13735
13736 \begin_layout Subsection
13737 Colored Cells
13738 \begin_inset LatexCommand index
13739 name "Table Color ! for Cells"
13740
13741 \end_inset
13742
13743
13744 \begin_inset LatexCommand index
13745 name "Color ! for Table Cells"
13746
13747 \end_inset
13748
13749
13750 \end_layout
13751
13752 \begin_layout Standard
13753 \begin_inset Float table
13754 placement h
13755 wide false
13756 sideways false
13757 status open
13758
13759 \begin_layout Standard
13760 \begin_inset Caption
13761
13762 \begin_layout Standard
13763 \begin_inset LatexCommand label
13764 name "tab:Table-colored-without"
13765
13766 \end_inset
13767
13768 Table colored without using the package 
13769 \series bold
13770 colortbl
13771 \series default
13772
13773 \begin_inset OptArg
13774 status collapsed
13775
13776 \begin_layout Standard
13777 Table without colortbl
13778 \end_layout
13779
13780 \end_inset
13781
13782
13783 \end_layout
13784
13785 \end_inset
13786
13787
13788 \end_layout
13789
13790 \begin_layout Standard
13791 \align center
13792 \begin_inset Tabular
13793 <lyxtabular version="3" rows="3" columns="3">
13794 <features>
13795 <column alignment="center" valignment="top" leftline="true" width="0">
13796 <column alignment="center" valignment="top" leftline="true" width="0">
13797 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13798 <row topline="true">
13799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13800 \begin_inset Text
13801
13802 \begin_layout Standard
13803
13804 \color green
13805 a
13806 \end_layout
13807
13808 \end_inset
13809 </cell>
13810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13811 \begin_inset Text
13812
13813 \begin_layout Standard
13814
13815 \color red
13816 b
13817 \end_layout
13818
13819 \end_inset
13820 </cell>
13821 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13822 \begin_inset Text
13823
13824 \begin_layout Standard
13825
13826 \color red
13827 c
13828 \end_layout
13829
13830 \end_inset
13831 </cell>
13832 </row>
13833 <row topline="true">
13834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13835 \begin_inset Text
13836
13837 \begin_layout Standard
13838
13839 \color green
13840 d
13841 \end_layout
13842
13843 \end_inset
13844 </cell>
13845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13846 \begin_inset Text
13847
13848 \begin_layout Standard
13849
13850 \color blue
13851 e
13852 \end_layout
13853
13854 \end_inset
13855 </cell>
13856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13857 \begin_inset Text
13858
13859 \begin_layout Standard
13860
13861 \color blue
13862 f
13863 \end_layout
13864
13865 \end_inset
13866 </cell>
13867 </row>
13868 <row topline="true" bottomline="true">
13869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13870 \begin_inset Text
13871
13872 \begin_layout Standard
13873
13874 \color green
13875 g
13876 \end_layout
13877
13878 \end_inset
13879 </cell>
13880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13881 \begin_inset Text
13882
13883 \begin_layout Standard
13884
13885 \color blue
13886 h
13887 \end_layout
13888
13889 \end_inset
13890 </cell>
13891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13892 \begin_inset Text
13893
13894 \begin_layout Standard
13895
13896 \color blue
13897 i
13898 \end_layout
13899
13900 \end_inset
13901 </cell>
13902 </row>
13903 </lyxtabular>
13904
13905 \end_inset
13906
13907
13908 \end_layout
13909
13910 \end_inset
13911
13912
13913 \end_layout
13914
13915 \begin_layout Standard
13916 If you only need colored text, mark the cells and choose a color in the
13917  menu 
13918 \family sans
13919 Edit\SpecialChar \menuseparator
13920 Text\InsetSpace ~
13921 Style
13922 \family default
13923 .
13924  This was used to create Table\InsetSpace ~
13925
13926 \begin_inset LatexCommand ref
13927 reference "tab:Table-colored-without"
13928
13929 \end_inset
13930
13931 .
13932  In any other case you have to use the LaTeX-package 
13933 \series bold
13934 colortbl
13935 \series default
13936 .
13937 \begin_inset LatexCommand index
13938 name "LaTeX-packages ! colortbl"
13939
13940 \end_inset
13941
13942
13943 \end_layout
13944
13945 \begin_layout Standard
13946 To create colored tables, 
13947 \series bold
13948 colortbl
13949 \series default
13950  must be loaded in the preamble with the line
13951 \end_layout
13952
13953 \begin_layout Standard
13954
13955 \series bold
13956
13957 \backslash
13958 usepackage{colortbl}
13959 \end_layout
13960
13961 \begin_layout Standard
13962 The color of a column is adjusted with the command
13963 \end_layout
13964
13965 \begin_layout Standard
13966
13967 \series bold
13968
13969 \backslash
13970 columncolor{name of color}
13971 \end_layout
13972
13973 \begin_layout Standard
13974 inside the command 
13975 \series bold
13976 >{ }
13977 \series default
13978 .
13979  More about the command 
13980 \series bold
13981 >{}
13982 \series default
13983  is described in section\InsetSpace ~
13984
13985 \begin_inset LatexCommand ref
13986 reference "sub:Multicolumn-Calculations"
13987
13988 \end_inset
13989
13990 .
13991 \end_layout
13992
13993 \begin_layout Standard
13994 The following color names are predefined:
13995 \end_layout
13996
13997 \begin_layout Standard
13998
13999 \family sans
14000 red
14001 \family default
14002
14003 \family sans
14004 green
14005 \family default
14006
14007 \family sans
14008 yellow
14009 \family default
14010
14011 \family sans
14012 blue
14013 \family default
14014
14015 \family sans
14016 cyan
14017 \family default
14018
14019 \family sans
14020 magenta
14021 \family default
14022
14023 \family sans
14024 black
14025 \family default
14026  and 
14027 \family sans
14028 white
14029 \end_layout
14030
14031 \begin_layout Standard
14032 \begin_inset VSpace medskip
14033 \end_inset
14034
14035
14036 \end_layout
14037
14038 \begin_layout Standard
14039 You can also define your own color with the command
14040 \end_layout
14041
14042 \begin_layout Standard
14043
14044 \series bold
14045
14046 \backslash
14047 def\SpecialChar \textcompwordmark{}
14048 inecolor{color name}{color model}{color values}
14049 \end_layout
14050
14051 \begin_layout Standard
14052 The color model can be
14053 \end_layout
14054
14055 \begin_layout Labeling
14056 \labelwidthstring 00.00.0000
14057 cmyk: cyan, magenta, yellow, black
14058 \end_layout
14059
14060 \begin_layout Labeling
14061 \labelwidthstring 00.00.0000
14062 rgb: red, green blue
14063 \end_layout
14064
14065 \begin_layout Labeling
14066 \labelwidthstring 00.00.0000
14067 gray gray
14068 \end_layout
14069
14070 \begin_layout Standard
14071 and the color values are comma separated numbers between 0 and 1 describing
14072  the factor for the corresponding color of the color model.
14073 \end_layout
14074
14075 \begin_layout Standard
14076 You can e.\InsetSpace \thinspace{}
14077 g.\InsetSpace ~
14078 define the color "
14079 \emph on
14080 darkgreen
14081 \emph default
14082 " in the preamble with
14083 \end_layout
14084
14085 \begin_layout Standard
14086
14087 \series bold
14088
14089 \backslash
14090 def\SpecialChar \textcompwordmark{}
14091 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14092 \end_layout
14093
14094 \begin_layout Standard
14095 and the color "
14096 \emph on
14097 lightgray
14098 \emph default
14099 " with
14100 \end_layout
14101
14102 \begin_layout Standard
14103
14104 \series bold
14105
14106 \backslash
14107 def\SpecialChar \textcompwordmark{}
14108 inecolor{lightgray}{gray}{0.8}
14109 \end_layout
14110
14111 \begin_layout Standard
14112 \begin_inset VSpace medskip
14113 \end_inset
14114
14115
14116 \end_layout
14117
14118 \begin_layout Standard
14119 Lines are colored with the command
14120 \end_layout
14121
14122 \begin_layout Standard
14123
14124 \series bold
14125
14126 \backslash
14127 rowcolor{name of color}
14128 \end_layout
14129
14130 \begin_layout Standard
14131 and cells are colored with the command
14132 \end_layout
14133
14134 \begin_layout Standard
14135
14136 \series bold
14137
14138 \backslash
14139 cellcolor{name of color}
14140 \end_layout
14141
14142 \begin_layout Standard
14143 Both commands are inserted at the beginning of a cell as ERT.
14144 \end_layout
14145
14146 \begin_layout Standard
14147 To color characters in the table, mark the cells and use the LyX menu 
14148 \family sans
14149 Edit\SpecialChar \menuseparator
14150 Text\InsetSpace ~
14151 Style
14152 \family default
14153 .
14154  If a cell contains ERT mark only the characters, otherwise the colored
14155  ERT will cause LaTeX-errors.
14156 \end_layout
14157
14158 \begin_layout Standard
14159 \begin_inset Note Greyedout
14160 status open
14161
14162 \begin_layout Standard
14163
14164 \series bold
14165 Note:
14166 \series default
14167  Not all DVI-viewers are able to display self-defined colors.
14168 \end_layout
14169
14170 \end_inset
14171
14172
14173 \end_layout
14174
14175 \begin_layout Standard
14176 \begin_inset VSpace bigskip
14177 \end_inset
14178
14179
14180 \end_layout
14181
14182 \begin_layout Standard
14183 To create Table\InsetSpace ~
14184
14185 \begin_inset LatexCommand ref
14186 reference "tab:Table-colored-using"
14187
14188 \end_inset
14189
14190  do the following: The color of the first column should be 
14191 \emph on
14192 darkgreen
14193 \emph default
14194 .
14195  So insert
14196 \end_layout
14197
14198 \begin_layout Standard
14199
14200 \series bold
14201 >{
14202 \backslash
14203 columncolor{darkgreen}
14204 \backslash
14205 centering}c
14206 \end_layout
14207
14208 \begin_layout Standard
14209 as LaTeX-argument for this column.
14210  The first row should be blue, therefore the ERT command
14211 \end_layout
14212
14213 \begin_layout Standard
14214
14215 \series bold
14216
14217 \backslash
14218 rowcolow{cyan}
14219 \end_layout
14220
14221 \begin_layout Standard
14222 is inserted to the first cell of this row.
14223  Note that this overwrites the column color for the first cell.
14224  The last cell of the last row is colored magenta by inserting the ERT command
14225 \end_layout
14226
14227 \begin_layout Standard
14228
14229 \series bold
14230
14231 \backslash
14232 cellcolor{magenta}
14233 \end_layout
14234
14235 \begin_layout Standard
14236 The characters could now be colored using the menu 
14237 \family sans
14238 Edit\SpecialChar \menuseparator
14239 Text\InsetSpace ~
14240 Style
14241 \family default
14242 .
14243 \end_layout
14244
14245 \begin_layout Standard
14246 \begin_inset Float table
14247 placement h
14248 wide false
14249 sideways false
14250 status open
14251
14252 \begin_layout Standard
14253 \begin_inset Caption
14254
14255 \begin_layout Standard
14256 \begin_inset LatexCommand label
14257 name "tab:Table-colored-using"
14258
14259 \end_inset
14260
14261 Table colored using the package 
14262 \series bold
14263 colortbl
14264 \series default
14265
14266 \begin_inset OptArg
14267 status collapsed
14268
14269 \begin_layout Standard
14270 Table with colortbl
14271 \end_layout
14272
14273 \end_inset
14274
14275
14276 \end_layout
14277
14278 \end_inset
14279
14280
14281 \end_layout
14282
14283 \begin_layout Standard
14284 \align center
14285 \begin_inset Tabular
14286 <lyxtabular version="3" rows="3" columns="3">
14287 <features>
14288 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14289 <column alignment="center" valignment="top" width="0">
14290 <column alignment="center" valignment="top" width="0">
14291 <row>
14292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14293 \begin_inset Text
14294
14295 \begin_layout Standard
14296 \begin_inset ERT
14297 status collapsed
14298
14299 \begin_layout Standard
14300
14301
14302 \backslash
14303 rowcolor{cyan}
14304 \end_layout
14305
14306 \end_inset
14307
14308
14309 \color magenta
14310 a
14311 \end_layout
14312
14313 \end_inset
14314 </cell>
14315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14316 \begin_inset Text
14317
14318 \begin_layout Standard
14319
14320 \color red
14321 b
14322 \end_layout
14323
14324 \end_inset
14325 </cell>
14326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14327 \begin_inset Text
14328
14329 \begin_layout Standard
14330
14331 \color red
14332 c
14333 \end_layout
14334
14335 \end_inset
14336 </cell>
14337 </row>
14338 <row>
14339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14340 \begin_inset Text
14341
14342 \begin_layout Standard
14343
14344 \color yellow
14345 d
14346 \end_layout
14347
14348 \end_inset
14349 </cell>
14350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14351 \begin_inset Text
14352
14353 \begin_layout Standard
14354
14355 \color blue
14356 e
14357 \end_layout
14358
14359 \end_inset
14360 </cell>
14361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14362 \begin_inset Text
14363
14364 \begin_layout Standard
14365
14366 \color blue
14367 f
14368 \end_layout
14369
14370 \end_inset
14371 </cell>
14372 </row>
14373 <row>
14374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14375 \begin_inset Text
14376
14377 \begin_layout Standard
14378
14379 \color yellow
14380 g
14381 \end_layout
14382
14383 \end_inset
14384 </cell>
14385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14386 \begin_inset Text
14387
14388 \begin_layout Standard
14389
14390 \color blue
14391 h
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 Standard
14400 \begin_inset ERT
14401 status collapsed
14402
14403 \begin_layout Standard
14404
14405
14406 \backslash
14407 cellcolor{magenta}
14408 \end_layout
14409
14410 \end_inset
14411
14412
14413 \color green
14414 i
14415 \end_layout
14416
14417 \end_inset
14418 </cell>
14419 </row>
14420 </lyxtabular>
14421
14422 \end_inset
14423
14424
14425 \end_layout
14426
14427 \end_inset
14428
14429
14430 \end_layout
14431
14432 \begin_layout Subsection
14433 Colored Lines
14434 \begin_inset LatexCommand index
14435 name "Table Color ! for Lines"
14436
14437 \end_inset
14438
14439
14440 \begin_inset LatexCommand index
14441 name "Color ! for Table Lines"
14442
14443 \end_inset
14444
14445
14446 \end_layout
14447
14448 \begin_layout Standard
14449 As described in section\InsetSpace ~
14450
14451 \begin_inset LatexCommand ref
14452 reference "sub:Line-Thickness"
14453
14454 \end_inset
14455
14456 , the line thickness for all lines in a table can be adjusted with the length
14457  
14458 \series bold
14459
14460 \backslash
14461 arrayrulewidth
14462 \series default
14463 .
14464  It is set to 1.5\InsetSpace \thinspace{}
14465 pt for all tables of this section.
14466 \begin_inset ERT
14467 status collapsed
14468
14469 \begin_layout Standard
14470
14471
14472 \backslash
14473 setlength{
14474 \backslash
14475 arrayrulewidth}{1.5pt}
14476 \end_layout
14477
14478 \end_inset
14479
14480
14481 \end_layout
14482
14483 \begin_layout Standard
14484 To color vertical lines for example with green, create the following column
14485  format in the document preamble, according to the description in section\InsetSpace ~
14486
14487 \begin_inset LatexCommand ref
14488 reference "sub:Customized-Format"
14489
14490 \end_inset
14491
14492 :
14493 \end_layout
14494
14495 \begin_layout Standard
14496
14497 \series bold
14498
14499 \backslash
14500 newcolumntype{W}{!{
14501 \backslash
14502 color{green}
14503 \backslash
14504 vline}}
14505 \end_layout
14506
14507 \begin_layout Standard
14508 For Table\InsetSpace ~
14509
14510 \begin_inset LatexCommand ref
14511 reference "tab:Table-with-vertical-colored"
14512
14513 \end_inset
14514
14515  the LaTeX-argument
14516 \series bold
14517  WcW
14518 \series default
14519  was used for the last column and
14520 \series bold
14521  Wc
14522 \series default
14523  for the other columns.
14524 \end_layout
14525
14526 \begin_layout Standard
14527 If you want to have several colors, define more column formats.
14528 \end_layout
14529
14530 \begin_layout Standard
14531 \begin_inset Float table
14532 wide false
14533 sideways false
14534 status open
14535
14536 \begin_layout Standard
14537 \begin_inset Caption
14538
14539 \begin_layout Standard
14540 \begin_inset LatexCommand label
14541 name "tab:Table-with-vertical-colored"
14542
14543 \end_inset
14544
14545 Table with colored vertical lines
14546 \end_layout
14547
14548 \end_inset
14549
14550
14551 \end_layout
14552
14553 \begin_layout Standard
14554 \align center
14555 \begin_inset Tabular
14556 <lyxtabular version="3" rows="3" columns="3">
14557 <features>
14558 <column alignment="center" valignment="top" width="0" special="Wc">
14559 <column alignment="center" valignment="top" width="0" special="Wc">
14560 <column alignment="center" valignment="top" width="0" special="WcW">
14561 <row topline="true">
14562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14563 \begin_inset Text
14564
14565 \begin_layout Standard
14566 sd
14567 \end_layout
14568
14569 \end_inset
14570 </cell>
14571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14572 \begin_inset Text
14573
14574 \begin_layout Standard
14575
14576 \end_layout
14577
14578 \end_inset
14579 </cell>
14580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14581 \begin_inset Text
14582
14583 \begin_layout Standard
14584
14585 \end_layout
14586
14587 \end_inset
14588 </cell>
14589 </row>
14590 <row topline="true">
14591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14592 \begin_inset Text
14593
14594 \begin_layout Standard
14595
14596 \end_layout
14597
14598 \end_inset
14599 </cell>
14600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14601 \begin_inset Text
14602
14603 \begin_layout Standard
14604 sd
14605 \end_layout
14606
14607 \end_inset
14608 </cell>
14609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14610 \begin_inset Text
14611
14612 \begin_layout Standard
14613
14614 \end_layout
14615
14616 \end_inset
14617 </cell>
14618 </row>
14619 <row topline="true" bottomline="true">
14620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14621 \begin_inset Text
14622
14623 \begin_layout Standard
14624
14625 \end_layout
14626
14627 \end_inset
14628 </cell>
14629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14630 \begin_inset Text
14631
14632 \begin_layout Standard
14633
14634 \end_layout
14635
14636 \end_inset
14637 </cell>
14638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14639 \begin_inset Text
14640
14641 \begin_layout Standard
14642 sd
14643 \end_layout
14644
14645 \end_inset
14646 </cell>
14647 </row>
14648 </lyxtabular>
14649
14650 \end_inset
14651
14652
14653 \end_layout
14654
14655 \end_inset
14656
14657
14658 \end_layout
14659
14660 \begin_layout Standard
14661 \begin_inset VSpace bigskip
14662 \end_inset
14663
14664 To color horizontal lines for example with red, like in Table\InsetSpace ~
14665
14666 \begin_inset LatexCommand ref
14667 reference "tab:Table-with-horizontal-colored"
14668
14669 \end_inset
14670
14671 , insert these commands in ERT before the table or table float:
14672 \end_layout
14673
14674 \begin_layout Standard
14675
14676 \series bold
14677
14678 \backslash
14679 let
14680 \backslash
14681 myHlineC
14682 \backslash
14683 hline
14684 \newline
14685
14686 \backslash
14687 renewcommand{
14688 \backslash
14689 hline}
14690 \newline
14691
14692 \begin_inset ERT
14693 status collapsed
14694
14695 \begin_layout Standard
14696
14697
14698 \backslash
14699 hphantom{ }
14700 \end_layout
14701
14702 \end_inset
14703
14704 {
14705 \backslash
14706 arrayrulecolor{red}
14707 \backslash
14708 myHlineC
14709 \backslash
14710 arrayrulecolor{black}}
14711 \end_layout
14712
14713 \begin_layout Standard
14714 \begin_inset ERT
14715 status collapsed
14716
14717 \begin_layout Standard
14718
14719
14720 \backslash
14721 let
14722 \backslash
14723 myHlineC
14724 \backslash
14725 hline
14726 \end_layout
14727
14728 \begin_layout Standard
14729
14730
14731 \backslash
14732 renewcommand{
14733 \backslash
14734 hline}
14735 \end_layout
14736
14737 \begin_layout Standard
14738
14739  {
14740 \backslash
14741 arrayrulecolor{red}
14742 \backslash
14743 myHlineC
14744 \backslash
14745 arrayrulecolor{black}}
14746 \end_layout
14747
14748 \end_inset
14749
14750
14751 \begin_inset Float table
14752 wide false
14753 sideways false
14754 status open
14755
14756 \begin_layout Standard
14757 \begin_inset Caption
14758
14759 \begin_layout Standard
14760 \begin_inset LatexCommand label
14761 name "tab:Table-with-horizontal-colored"
14762
14763 \end_inset
14764
14765 Table with colored horizontal lines
14766 \end_layout
14767
14768 \end_inset
14769
14770
14771 \end_layout
14772
14773 \begin_layout Standard
14774 \align center
14775 \begin_inset Tabular
14776 <lyxtabular version="3" rows="3" columns="3">
14777 <features>
14778 <column alignment="center" valignment="top" leftline="true" width="0">
14779 <column alignment="center" valignment="top" leftline="true" width="0">
14780 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14781 <row topline="true">
14782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14783 \begin_inset Text
14784
14785 \begin_layout Standard
14786 sd
14787 \end_layout
14788
14789 \end_inset
14790 </cell>
14791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14792 \begin_inset Text
14793
14794 \begin_layout Standard
14795
14796 \end_layout
14797
14798 \end_inset
14799 </cell>
14800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14801 \begin_inset Text
14802
14803 \begin_layout Standard
14804
14805 \end_layout
14806
14807 \end_inset
14808 </cell>
14809 </row>
14810 <row topline="true">
14811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14812 \begin_inset Text
14813
14814 \begin_layout Standard
14815
14816 \end_layout
14817
14818 \end_inset
14819 </cell>
14820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14821 \begin_inset Text
14822
14823 \begin_layout Standard
14824 sd
14825 \end_layout
14826
14827 \end_inset
14828 </cell>
14829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14830 \begin_inset Text
14831
14832 \begin_layout Standard
14833
14834 \end_layout
14835
14836 \end_inset
14837 </cell>
14838 </row>
14839 <row topline="true" bottomline="true">
14840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14841 \begin_inset Text
14842
14843 \begin_layout Standard
14844
14845 \end_layout
14846
14847 \end_inset
14848 </cell>
14849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14850 \begin_inset Text
14851
14852 \begin_layout Standard
14853
14854 \end_layout
14855
14856 \end_inset
14857 </cell>
14858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14859 \begin_inset Text
14860
14861 \begin_layout Standard
14862 sd
14863 \end_layout
14864
14865 \end_inset
14866 </cell>
14867 </row>
14868 </lyxtabular>
14869
14870 \end_inset
14871
14872
14873 \end_layout
14874
14875 \end_inset
14876
14877
14878 \end_layout
14879
14880 \begin_layout Standard
14881 \begin_inset ERT
14882 status collapsed
14883
14884 \begin_layout Standard
14885
14886
14887 \backslash
14888 pagebreak 
14889 \end_layout
14890
14891 \end_inset
14892
14893
14894 \end_layout
14895
14896 \begin_layout Standard
14897 To return to the default line color black, insert this command in ERT behind
14898  the table or table float:
14899 \end_layout
14900
14901 \begin_layout Standard
14902
14903 \series bold
14904
14905 \backslash
14906 renewcommand{
14907 \backslash
14908 hline}{
14909 \backslash
14910 myHlineC}
14911 \end_layout
14912
14913 \begin_layout Standard
14914 Table\InsetSpace ~
14915
14916 \begin_inset LatexCommand ref
14917 reference "tab:Table-with-colored"
14918
14919 \end_inset
14920
14921  is an example with colored vertical and horizontal lines.
14922 \end_layout
14923
14924 \begin_layout Standard
14925 \begin_inset Float table
14926 placement h
14927 wide false
14928 sideways false
14929 status open
14930
14931 \begin_layout Standard
14932 \begin_inset Caption
14933
14934 \begin_layout Standard
14935 \begin_inset LatexCommand label
14936 name "tab:Table-with-colored"
14937
14938 \end_inset
14939
14940 Table with colored lines
14941 \end_layout
14942
14943 \end_inset
14944
14945
14946 \end_layout
14947
14948 \begin_layout Standard
14949 \align center
14950 \begin_inset Tabular
14951 <lyxtabular version="3" rows="3" columns="3">
14952 <features>
14953 <column alignment="center" valignment="top" width="0" special="Wc">
14954 <column alignment="center" valignment="top" width="0" special="Wc">
14955 <column alignment="center" valignment="top" width="0" special="WcW">
14956 <row topline="true">
14957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14958 \begin_inset Text
14959
14960 \begin_layout Standard
14961 sd
14962 \end_layout
14963
14964 \end_inset
14965 </cell>
14966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14967 \begin_inset Text
14968
14969 \begin_layout Standard
14970
14971 \end_layout
14972
14973 \end_inset
14974 </cell>
14975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14976 \begin_inset Text
14977
14978 \begin_layout Standard
14979
14980 \end_layout
14981
14982 \end_inset
14983 </cell>
14984 </row>
14985 <row topline="true">
14986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14987 \begin_inset Text
14988
14989 \begin_layout Standard
14990
14991 \end_layout
14992
14993 \end_inset
14994 </cell>
14995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14996 \begin_inset Text
14997
14998 \begin_layout Standard
14999 sd
15000 \end_layout
15001
15002 \end_inset
15003 </cell>
15004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15005 \begin_inset Text
15006
15007 \begin_layout Standard
15008
15009 \end_layout
15010
15011 \end_inset
15012 </cell>
15013 </row>
15014 <row topline="true" bottomline="true" topspace="default">
15015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15016 \begin_inset Text
15017
15018 \begin_layout Standard
15019
15020 \end_layout
15021
15022 \end_inset
15023 </cell>
15024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15025 \begin_inset Text
15026
15027 \begin_layout Standard
15028
15029 \end_layout
15030
15031 \end_inset
15032 </cell>
15033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15034 \begin_inset Text
15035
15036 \begin_layout Standard
15037 sd
15038 \end_layout
15039
15040 \end_inset
15041 </cell>
15042 </row>
15043 </lyxtabular>
15044
15045 \end_inset
15046
15047
15048 \end_layout
15049
15050 \end_inset
15051
15052
15053 \end_layout
15054
15055 \begin_layout Standard
15056 \begin_inset ERT
15057 status collapsed
15058
15059 \begin_layout Standard
15060
15061
15062 \backslash
15063 renewcommand{
15064 \backslash
15065 hline}{
15066 \backslash
15067 myHlineC}
15068 \end_layout
15069
15070 \end_inset
15071
15072
15073 \end_layout
15074
15075 \begin_layout Standard
15076 \begin_inset ERT
15077 status collapsed
15078
15079 \begin_layout Standard
15080
15081
15082 \backslash
15083 setlength{
15084 \backslash
15085 arrayrulewidth}{0.4pt}
15086 \end_layout
15087
15088 \end_inset
15089
15090
15091 \end_layout
15092
15093 \begin_layout Section
15094 Table Customization
15095 \begin_inset LatexCommand index
15096 name "Table Customization"
15097
15098 \end_inset
15099
15100
15101 \begin_inset LatexCommand index
15102 name "Table ! Customization"
15103
15104 \end_inset
15105
15106
15107 \end_layout
15108
15109 \begin_layout Subsection
15110 Row Spacing
15111 \begin_inset LatexCommand label
15112 name "sub:Row-Spacing"
15113
15114 \end_inset
15115
15116
15117 \begin_inset LatexCommand index
15118 name "Table Customization ! Row Spacing"
15119
15120 \end_inset
15121
15122
15123 \end_layout
15124
15125 \begin_layout Standard
15126 You can add vertical space to table rows in the 
15127 \family sans
15128 Borders
15129 \family default
15130  tab of the table dialog.
15131  You find there three possibilities:
15132 \end_layout
15133
15134 \begin_layout Description
15135 Top\InsetSpace ~
15136 of\InsetSpace ~
15137 row will add space above the characters of the table row.
15138  If the table is a formal table
15139 \begin_inset Foot
15140 status collapsed
15141
15142 \begin_layout Standard
15143 Formal tables are explained in section\InsetSpace ~
15144
15145 \begin_inset LatexCommand ref
15146 reference "sec:Formal-Tables"
15147
15148 \end_inset
15149
15150 .
15151 \end_layout
15152
15153 \end_inset
15154
15155  LyX will insert as default 0.5\InsetSpace \thinspace{}
15156 em space.
15157  For normal tables the inserted space will unfortunately destroy the vertical
15158  table lines as in the following table:
15159 \begin_inset VSpace medskip
15160 \end_inset
15161
15162
15163 \newline
15164
15165 \begin_inset ERT
15166 status collapsed
15167
15168 \begin_layout Standard
15169
15170
15171 \backslash
15172 hspace*{0pt}
15173 \end_layout
15174
15175 \end_inset
15176
15177
15178 \hfill
15179
15180 \begin_inset Tabular
15181 <lyxtabular version="3" rows="3" columns="1">
15182 <features>
15183 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15184 <row topline="true">
15185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15186 \begin_inset Text
15187
15188 \begin_layout Standard
15189 A
15190 \end_layout
15191
15192 \end_inset
15193 </cell>
15194 </row>
15195 <row topline="true" topspace="3mm">
15196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15197 \begin_inset Text
15198
15199 \begin_layout Standard
15200 3\InsetSpace \thinspace{}
15201 mm space top of row
15202 \end_layout
15203
15204 \end_inset
15205 </cell>
15206 </row>
15207 <row topline="true" bottomline="true">
15208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15209 \begin_inset Text
15210
15211 \begin_layout Standard
15212 C
15213 \end_layout
15214
15215 \end_inset
15216 </cell>
15217 </row>
15218 </lyxtabular>
15219
15220 \end_inset
15221
15222
15223 \hfill
15224
15225 \begin_inset ERT
15226 status collapsed
15227
15228 \begin_layout Standard
15229
15230
15231 \backslash
15232 hspace*{0pt}
15233 \end_layout
15234
15235 \end_inset
15236
15237
15238 \begin_inset VSpace medskip
15239 \end_inset
15240
15241
15242 \newline
15243 So inserting space to the top of row for normal tables is only useful when
15244  you don't have vertical lines.
15245 \end_layout
15246
15247 \begin_layout Description
15248 Bottom\InsetSpace ~
15249 of\InsetSpace ~
15250 row will add space below the characters of the table row.
15251  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15252 em space, for
15253  normal tables the default size is 2\InsetSpace \thinspace{}
15254 pt.
15255 \end_layout
15256
15257 \begin_layout Description
15258 Between\InsetSpace ~
15259 rows adds space between the current and the following row.
15260  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15261 em space.
15262  For normal tables the inserted space will unfortunately destroy the vertical
15263  table lines as in the following table:
15264 \begin_inset VSpace medskip
15265 \end_inset
15266
15267
15268 \newline
15269
15270 \begin_inset ERT
15271 status collapsed
15272
15273 \begin_layout Standard
15274
15275
15276 \backslash
15277 hspace*{0pt}
15278 \end_layout
15279
15280 \end_inset
15281
15282
15283 \hfill
15284
15285 \begin_inset Tabular
15286 <lyxtabular version="3" rows="3" columns="1">
15287 <features>
15288 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15289 <row topline="true">
15290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15291 \begin_inset Text
15292
15293 \begin_layout Standard
15294 A
15295 \end_layout
15296
15297 \end_inset
15298 </cell>
15299 </row>
15300 <row topline="true" interlinespace="3mm">
15301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15302 \begin_inset Text
15303
15304 \begin_layout Standard
15305 \begin_inset Formula $\downarrow$
15306 \end_inset
15307
15308  3\InsetSpace \thinspace{}
15309 mm space between row 
15310 \begin_inset Formula $\downarrow$
15311 \end_inset
15312
15313
15314 \end_layout
15315
15316 \end_inset
15317 </cell>
15318 </row>
15319 <row topline="true" bottomline="true">
15320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15321 \begin_inset Text
15322
15323 \begin_layout Standard
15324 \begin_inset Formula $\uparrow$
15325 \end_inset
15326
15327  3\InsetSpace \thinspace{}
15328 mm space between row 
15329 \begin_inset Formula $\uparrow$
15330 \end_inset
15331
15332
15333 \end_layout
15334
15335 \end_inset
15336 </cell>
15337 </row>
15338 </lyxtabular>
15339
15340 \end_inset
15341
15342
15343 \hfill
15344
15345 \begin_inset ERT
15346 status collapsed
15347
15348 \begin_layout Standard
15349
15350
15351 \backslash
15352 hspace*{0pt}
15353 \end_layout
15354
15355 \end_inset
15356
15357
15358 \begin_inset VSpace medskip
15359 \end_inset
15360
15361
15362 \newline
15363 So inserting space between rows for normal tables is only useful when you
15364  don't have vertical lines.
15365 \end_layout
15366
15367 \begin_layout Standard
15368 \begin_inset VSpace bigskip
15369 \end_inset
15370
15371 When you want to add extra height to all cells of all tables, you can do
15372  this with the following preamble lines:
15373 \end_layout
15374
15375 \begin_layout Standard
15376
15377 \series bold
15378
15379 \backslash
15380 @ifundef\SpecialChar \textcompwordmark{}
15381 ined{extrarowheight}
15382 \newline
15383
15384 \begin_inset ERT
15385 status collapsed
15386
15387 \begin_layout Standard
15388
15389
15390 \backslash
15391 hphantom{ }
15392 \end_layout
15393
15394 \end_inset
15395
15396 {
15397 \backslash
15398 usepackage{array}}{}
15399 \newline
15400
15401 \backslash
15402 setlength{
15403 \backslash
15404 extrarowheight}{height}
15405 \end_layout
15406
15407 \begin_layout Standard
15408 But this has the disadvantage that the cell texts are no longer exactly
15409  vertically centered.
15410  (The package 
15411 \series bold
15412 array
15413 \series default
15414  will be loaded automatically by LyX when you use self defined table formats.
15415  To avoid that it is loaded twice the command 
15416 \series bold
15417
15418 \backslash
15419 @ifundef\SpecialChar \textcompwordmark{}
15420 ined
15421 \series default
15422  is used in the above command.)
15423 \end_layout
15424
15425 \begin_layout Subsection
15426 Special Cell Alignment
15427 \begin_inset LatexCommand index
15428 name "Table Customization ! Special Cell Alignment"
15429
15430 \end_inset
15431
15432
15433 \end_layout
15434
15435 \begin_layout Standard
15436 Sometimes it looks better when the cell entries of a column are aligned
15437  with a special character, e.\InsetSpace \thinspace{}
15438 g.\InsetSpace ~
15439 with the decimal separator as in Table\InsetSpace ~
15440
15441 \begin_inset LatexCommand ref
15442 reference "tab:Table-cells-of"
15443
15444 \end_inset
15445
15446 .
15447 \end_layout
15448
15449 \begin_layout Standard
15450 \begin_inset Float table
15451 placement h
15452 wide false
15453 sideways false
15454 status open
15455
15456 \begin_layout Standard
15457 \begin_inset Caption
15458
15459 \begin_layout Standard
15460 \begin_inset LatexCommand label
15461 name "tab:Table-cells-of"
15462
15463 \end_inset
15464
15465 Table cells of a column aligned with the decimal separator.
15466 \end_layout
15467
15468 \end_inset
15469
15470
15471 \end_layout
15472
15473 \begin_layout Standard
15474 \align center
15475 \begin_inset Tabular
15476 <lyxtabular version="3" rows="4" columns="2">
15477 <features>
15478 <column alignment="right" valignment="top" width="0">
15479 <column alignment="left" valignment="top" width="0" special="@{}l">
15480 <row bottomline="true">
15481 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15482 \begin_inset Text
15483
15484 \begin_layout Standard
15485 heading
15486 \end_layout
15487
15488 \end_inset
15489 </cell>
15490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15491 \begin_inset Text
15492
15493 \begin_layout Standard
15494
15495 \end_layout
15496
15497 \end_inset
15498 </cell>
15499 </row>
15500 <row>
15501 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15502 \begin_inset Text
15503
15504 \begin_layout Standard
15505 12.
15506 \end_layout
15507
15508 \end_inset
15509 </cell>
15510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15511 \begin_inset Text
15512
15513 \begin_layout Standard
15514 6
15515 \end_layout
15516
15517 \end_inset
15518 </cell>
15519 </row>
15520 <row>
15521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15522 \begin_inset Text
15523
15524 \begin_layout Standard
15525 0.
15526 \end_layout
15527
15528 \end_inset
15529 </cell>
15530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15531 \begin_inset Text
15532
15533 \begin_layout Standard
15534 68
15535 \end_layout
15536
15537 \end_inset
15538 </cell>
15539 </row>
15540 <row>
15541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15542 \begin_inset Text
15543
15544 \begin_layout Standard
15545 -123.
15546 \end_layout
15547
15548 \end_inset
15549 </cell>
15550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15551 \begin_inset Text
15552
15553 \begin_layout Standard
15554 0
15555 \end_layout
15556
15557 \end_inset
15558 </cell>
15559 </row>
15560 </lyxtabular>
15561
15562 \end_inset
15563
15564
15565 \end_layout
15566
15567 \end_inset
15568
15569
15570 \end_layout
15571
15572 \begin_layout Standard
15573 This table was created with a 4×2 table.
15574  The heading is a centered multicolumn.
15575  The first column is right-aligned and contains the digits before the decimal
15576  point and the decimal point.
15577  The second column is left aligned and contains the digits after the decimal
15578  point.
15579  To omit the space that is normally between two table columns, use the following
15580  LaTeX-argument for the second column:
15581 \end_layout
15582
15583 \begin_layout Standard
15584
15585 \series bold
15586 @{}l
15587 \end_layout
15588
15589 \begin_layout Standard
15590 Table\InsetSpace ~
15591
15592 \begin_inset LatexCommand ref
15593 reference "tab:Several-table-cell"
15594
15595 \end_inset
15596
15597  shows some example alignments.
15598  For the alignment with the relation sign, you must add the second smallest
15599  math-space at the beginning of the last column to get the correct space
15600  surrounding the relation sign.
15601 \end_layout
15602
15603 \begin_layout Standard
15604 \begin_inset Float table
15605 wide false
15606 sideways false
15607 status open
15608
15609 \begin_layout Standard
15610 \begin_inset Caption
15611
15612 \begin_layout Standard
15613 \begin_inset LatexCommand label
15614 name "tab:Several-table-cell"
15615
15616 \end_inset
15617
15618 Several table cell alignments.
15619 \end_layout
15620
15621 \end_inset
15622
15623
15624 \end_layout
15625
15626 \begin_layout Standard
15627 \align center
15628 \begin_inset Tabular
15629 <lyxtabular version="3" rows="4" columns="6">
15630 <features>
15631 <column alignment="right" valignment="top" width="0">
15632 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15633 <column alignment="right" valignment="top" width="0">
15634 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15635 <column alignment="right" valignment="top" width="0">
15636 <column alignment="left" valignment="top" width="0" special="@{}l">
15637 <row bottomline="true">
15638 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15639 \begin_inset Text
15640
15641 \begin_layout Standard
15642 units
15643 \end_layout
15644
15645 \end_inset
15646 </cell>
15647 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15648 \begin_inset Text
15649
15650 \begin_layout Standard
15651
15652 \end_layout
15653
15654 \end_inset
15655 </cell>
15656 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15657 \begin_inset Text
15658
15659 \begin_layout Standard
15660 exponents
15661 \end_layout
15662
15663 \end_inset
15664 </cell>
15665 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15666 \begin_inset Text
15667
15668 \begin_layout Standard
15669
15670 \end_layout
15671
15672 \end_inset
15673 </cell>
15674 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15675 \begin_inset Text
15676
15677 \begin_layout Standard
15678 relations
15679 \end_layout
15680
15681 \end_inset
15682 </cell>
15683 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15684 \begin_inset Text
15685
15686 \begin_layout Standard
15687
15688 \end_layout
15689
15690 \end_inset
15691 </cell>
15692 </row>
15693 <row>
15694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15695 \begin_inset Text
15696
15697 \begin_layout Standard
15698 12×
15699 \end_layout
15700
15701 \end_inset
15702 </cell>
15703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15704 \begin_inset Text
15705
15706 \begin_layout Standard
15707 24\InsetSpace \thinspace{}
15708 bottles
15709 \end_layout
15710
15711 \end_inset
15712 </cell>
15713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15714 \begin_inset Text
15715
15716 \begin_layout Standard
15717 \begin_inset Formula $10\cdot$
15718 \end_inset
15719
15720
15721 \end_layout
15722
15723 \end_inset
15724 </cell>
15725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15726 \begin_inset Text
15727
15728 \begin_layout Standard
15729 \begin_inset Formula $10^{\mbox{-}17}$
15730 \end_inset
15731
15732
15733 \end_layout
15734
15735 \end_inset
15736 </cell>
15737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15738 \begin_inset Text
15739
15740 \begin_layout Standard
15741 \begin_inset Formula $\Gamma(t)\propto$
15742 \end_inset
15743
15744
15745 \end_layout
15746
15747 \end_inset
15748 </cell>
15749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15750 \begin_inset Text
15751
15752 \begin_layout Standard
15753 \begin_inset Formula $\:\Upsilon(t)$
15754 \end_inset
15755
15756
15757 \end_layout
15758
15759 \end_inset
15760 </cell>
15761 </row>
15762 <row>
15763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15764 \begin_inset Text
15765
15766 \begin_layout Standard
15767 1024×
15768 \end_layout
15769
15770 \end_inset
15771 </cell>
15772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15773 \begin_inset Text
15774
15775 \begin_layout Standard
15776 768\InsetSpace \thinspace{}
15777 Pixels
15778 \end_layout
15779
15780 \end_inset
15781 </cell>
15782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15783 \begin_inset Text
15784
15785 \begin_layout Standard
15786 \begin_inset Formula $5.78\cdot$
15787 \end_inset
15788
15789
15790 \end_layout
15791
15792 \end_inset
15793 </cell>
15794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15795 \begin_inset Text
15796
15797 \begin_layout Standard
15798 \begin_inset Formula $10^{7}$
15799 \end_inset
15800
15801
15802 \end_layout
15803
15804 \end_inset
15805 </cell>
15806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15807 \begin_inset Text
15808
15809 \begin_layout Standard
15810 \begin_inset Formula $A\ne$
15811 \end_inset
15812
15813
15814 \end_layout
15815
15816 \end_inset
15817 </cell>
15818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15819 \begin_inset Text
15820
15821 \begin_layout Standard
15822 \begin_inset Formula $\: B_{\mathrm{red}}$
15823 \end_inset
15824
15825
15826 \end_layout
15827
15828 \end_inset
15829 </cell>
15830 </row>
15831 <row>
15832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15833 \begin_inset Text
15834
15835 \begin_layout Standard
15836 32×
15837 \end_layout
15838
15839 \end_inset
15840 </cell>
15841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15842 \begin_inset Text
15843
15844 \begin_layout Standard
15845 6\InsetSpace \thinspace{}
15846 cm
15847 \end_layout
15848
15849 \end_inset
15850 </cell>
15851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15852 \begin_inset Text
15853
15854 \begin_layout Standard
15855 -
15856 \begin_inset Formula $33.5\cdot$
15857 \end_inset
15858
15859
15860 \end_layout
15861
15862 \end_inset
15863 </cell>
15864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15865 \begin_inset Text
15866
15867 \begin_layout Standard
15868 \begin_inset Formula $10^{4}$
15869 \end_inset
15870
15871
15872 \end_layout
15873
15874 \end_inset
15875 </cell>
15876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15877 \begin_inset Text
15878
15879 \begin_layout Standard
15880 \begin_inset Formula $\sin(\alpha)\ge$
15881 \end_inset
15882
15883
15884 \end_layout
15885
15886 \end_inset
15887 </cell>
15888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15889 \begin_inset Text
15890
15891 \begin_layout Standard
15892 \begin_inset Formula $\:\sin(\beta)$
15893 \end_inset
15894
15895
15896 \end_layout
15897
15898 \end_inset
15899 </cell>
15900 </row>
15901 </lyxtabular>
15902
15903 \end_inset
15904
15905
15906 \end_layout
15907
15908 \end_inset
15909
15910
15911 \end_layout
15912
15913 \begin_layout Standard
15914 \begin_inset VSpace bigskip
15915 \end_inset
15916
15917 There is also the LaTeX-package 
15918 \series bold
15919 dcolumn
15920 \series default
15921
15922 \begin_inset LatexCommand index
15923 name "LaTeX-packages ! dcolumn"
15924
15925 \end_inset
15926
15927  that provides table cell alignments.
15928  But this unfortunately treats the cell entries as math and doesn't allow
15929  formulas in table cells: The first column of Table\InsetSpace ~
15930
15931 \begin_inset LatexCommand ref
15932 reference "tab:Several-table-cell"
15933
15934 \end_inset
15935
15936  will look with 
15937 \series bold
15938 dcolumn
15939 \series default
15940  like the first column in Table\InsetSpace ~
15941
15942 \begin_inset LatexCommand ref
15943 reference "tab:Alignments-when"
15944
15945 \end_inset
15946
15947  and only with some tricks like the expected.
15948  The alignment of the second and third column of Table\InsetSpace ~
15949
15950 \begin_inset LatexCommand ref
15951 reference "tab:Several-table-cell"
15952
15953 \end_inset
15954
15955  is not possible with 
15956 \series bold
15957 dcolumn
15958 \series default
15959 .
15960 \end_layout
15961
15962 \begin_layout Standard
15963 \begin_inset Float table
15964 placement h
15965 wide false
15966 sideways false
15967 status open
15968
15969 \begin_layout Standard
15970 \begin_inset Caption
15971
15972 \begin_layout Standard
15973 \begin_inset LatexCommand label
15974 name "tab:Alignments-when"
15975
15976 \end_inset
15977
15978 Alignments when LaTeX-package dcolumn is used.
15979  For all column alignments tricks have to be used to get the output.
15980 \end_layout
15981
15982 \end_inset
15983
15984
15985 \end_layout
15986
15987 \begin_layout Standard
15988 \align center
15989 \begin_inset Tabular
15990 <lyxtabular version="3" rows="4" columns="3">
15991 <features>
15992 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15993 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15994 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15995 <row bottomline="true">
15996 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15997 \begin_inset Text
15998
15999 \begin_layout Standard
16000 units
16001 \end_layout
16002
16003 \end_inset
16004 </cell>
16005 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16006 \begin_inset Text
16007
16008 \begin_layout Standard
16009 units
16010 \end_layout
16011
16012 \end_inset
16013 </cell>
16014 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16015 \begin_inset Text
16016
16017 \begin_layout Standard
16018 units
16019 \end_layout
16020
16021 \end_inset
16022 </cell>
16023 </row>
16024 <row>
16025 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16026 \begin_inset Text
16027
16028 \begin_layout Standard
16029 12x24\InsetSpace \thinspace{}
16030 bottles
16031 \end_layout
16032
16033 \end_inset
16034 </cell>
16035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16036 \begin_inset Text
16037
16038 \begin_layout Standard
16039 12x24\InsetSpace \thinspace{}
16040
16041 \begin_inset Formula $\mbox{bottles}$
16042 \end_inset
16043
16044
16045 \end_layout
16046
16047 \end_inset
16048 </cell>
16049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16050 \begin_inset Text
16051
16052 \begin_layout Standard
16053 12
16054 \begin_inset ERT
16055 status collapsed
16056
16057 \begin_layout Standard
16058
16059
16060 \backslash
16061 times 
16062 \end_layout
16063
16064 \end_inset
16065
16066 24~
16067 \begin_inset Formula $\mbox{bottles}$
16068 \end_inset
16069
16070
16071 \end_layout
16072
16073 \end_inset
16074 </cell>
16075 </row>
16076 <row>
16077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16078 \begin_inset Text
16079
16080 \begin_layout Standard
16081 1024x768\InsetSpace \thinspace{}
16082 Pixels
16083 \end_layout
16084
16085 \end_inset
16086 </cell>
16087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16088 \begin_inset Text
16089
16090 \begin_layout Standard
16091 1024x768\InsetSpace \thinspace{}
16092
16093 \begin_inset Formula $\mbox{Pixels}$
16094 \end_inset
16095
16096
16097 \end_layout
16098
16099 \end_inset
16100 </cell>
16101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16102 \begin_inset Text
16103
16104 \begin_layout Standard
16105 1024
16106 \begin_inset ERT
16107 status collapsed
16108
16109 \begin_layout Standard
16110
16111
16112 \backslash
16113 times 
16114 \end_layout
16115
16116 \end_inset
16117
16118 768~
16119 \begin_inset Formula $\mbox{Pixels}$
16120 \end_inset
16121
16122
16123 \end_layout
16124
16125 \end_inset
16126 </cell>
16127 </row>
16128 <row>
16129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16130 \begin_inset Text
16131
16132 \begin_layout Standard
16133 32x6\InsetSpace \thinspace{}
16134 cm
16135 \end_layout
16136
16137 \end_inset
16138 </cell>
16139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16140 \begin_inset Text
16141
16142 \begin_layout Standard
16143 32x6\InsetSpace \thinspace{}
16144
16145 \begin_inset Formula $\mbox{cm}$
16146 \end_inset
16147
16148
16149 \end_layout
16150
16151 \end_inset
16152 </cell>
16153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16154 \begin_inset Text
16155
16156 \begin_layout Standard
16157 32
16158 \begin_inset ERT
16159 status collapsed
16160
16161 \begin_layout Standard
16162
16163
16164 \backslash
16165 times 
16166 \end_layout
16167
16168 \end_inset
16169
16170 6~
16171 \begin_inset Formula $\mbox{cm}$
16172 \end_inset
16173
16174
16175 \end_layout
16176
16177 \end_inset
16178 </cell>
16179 </row>
16180 </lyxtabular>
16181
16182 \end_inset
16183
16184
16185 \end_layout
16186
16187 \end_inset
16188
16189
16190 \end_layout
16191
16192 \begin_layout Subsection
16193 Customized Cell/Column Format
16194 \begin_inset LatexCommand label
16195 name "sub:Customized-Format"
16196
16197 \end_inset
16198
16199
16200 \begin_inset LatexCommand index
16201 name "Table Customization ! Cell/Column Format"
16202
16203 \end_inset
16204
16205
16206 \end_layout
16207
16208 \begin_layout Standard
16209 Calculating the needed width for spanned columns like in section\InsetSpace ~
16210
16211 \begin_inset LatexCommand ref
16212 reference "sub:Multicolumn-Calculations"
16213
16214 \end_inset
16215
16216  is very annoying if you have several tables with multicolumn cells.
16217  To make life easier, you can define a cell/column format in the preamble,
16218  so that it can be used in all tables of the document.
16219  The format is defined with the command
16220 \end_layout
16221
16222 \begin_layout Standard
16223
16224 \series bold
16225
16226 \backslash
16227 newcolumntype{name of format}[number of arguments]{commands}
16228 \end_layout
16229
16230 \begin_layout Standard
16231 The format name may only consist of one letter.
16232  The letters 
16233 \emph on
16234 b
16235 \emph default
16236
16237 \emph on
16238 c
16239 \emph default
16240
16241 \emph on
16242 l
16243 \emph default
16244
16245 \emph on
16246 m
16247 \emph default
16248
16249 \emph on
16250 p
16251 \emph default
16252  and 
16253 \emph on
16254 r
16255 \emph default
16256  are predefined and cannot be used.
16257  But all letters are allowed as capitals.
16258 \end_layout
16259
16260 \begin_layout Standard
16261 \begin_inset VSpace medskip
16262 \end_inset
16263
16264
16265 \end_layout
16266
16267 \begin_layout Standard
16268 For vertically and horizontally centered multicolumn cells with a fixed
16269  width you can define the cell format
16270 \end_layout
16271
16272 \begin_layout Standard
16273
16274 \series bold
16275
16276 \backslash
16277 newcolumntype{M}[1]{>{
16278 \backslash
16279 centering
16280 \backslash
16281 hspace{0pt}}m{#1}}
16282 \end_layout
16283
16284 \begin_layout Standard
16285 where 
16286 \series bold
16287
16288 \backslash
16289 hspace{0pt}
16290 \series default
16291  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
16292
16293 \begin_inset LatexCommand ref
16294 reference "sub:Multiple-Lines-in"
16295
16296 \end_inset
16297
16298 .
16299  Now you can simply enter
16300 \end_layout
16301
16302 \begin_layout Standard
16303
16304 \series bold
16305 M{width}
16306 \end_layout
16307
16308 \begin_layout Standard
16309 as LaTeX-argument in the table dialog to create a multicolumn.
16310 \end_layout
16311
16312 \begin_layout Standard
16313 \begin_inset VSpace bigskip
16314 \end_inset
16315
16316
16317 \end_layout
16318
16319 \begin_layout Standard
16320 For cells spanned by a multicolumn cell, you can define the format
16321 \end_layout
16322
16323 \begin_layout Standard
16324
16325 \series bold
16326
16327 \backslash
16328 newcolumntype{S}[2]{>{
16329 \backslash
16330 centering
16331 \backslash
16332 hspace{0pt}}
16333 \newline
16334
16335 \begin_inset ERT
16336 status collapsed
16337
16338 \begin_layout Standard
16339
16340
16341 \backslash
16342 phantom{
16343 \end_layout
16344
16345 \end_inset
16346
16347
16348 \backslash
16349 newcolumntype{S}[2]
16350 \begin_inset ERT
16351 status collapsed
16352
16353 \begin_layout Standard
16354
16355 }
16356 \end_layout
16357
16358 \end_inset
16359
16360 m{(#1+(2
16361 \backslash
16362 tabcolsep+
16363 \backslash
16364 arrayrulewidth)*(1-#2))/#2}}
16365 \end_layout
16366
16367 \begin_layout Standard
16368 This format uses equation 
16369 \begin_inset LatexCommand eqref
16370 reference "eq:Wgn"
16371
16372 \end_inset
16373
16374  to calculate the needed width so that each spanned cell has the same width.
16375 \end_layout
16376
16377 \begin_layout Standard
16378 You can now enter
16379 \end_layout
16380
16381 \begin_layout Standard
16382
16383 \series bold
16384 S{width of multicolumn cell}{number of spanned columns}
16385 \end_layout
16386
16387 \begin_layout Standard
16388 as LaTeX-argument of the column.
16389 \end_layout
16390
16391 \begin_layout Standard
16392 \begin_inset VSpace bigskip
16393 \end_inset
16394
16395
16396 \end_layout
16397
16398 \begin_layout Standard
16399 For colored columns, you can define
16400 \end_layout
16401
16402 \begin_layout Standard
16403
16404 \series bold
16405
16406 \backslash
16407 newcolumntype{K}[1]{>{
16408 \backslash
16409 columncolor{#1}
16410 \backslash
16411 hspace{0pt}}c}
16412 \end_layout
16413
16414 \begin_layout Standard
16415 The 
16416 \begin_inset Quotes eld
16417 \end_inset
16418
16419 c
16420 \begin_inset Quotes erd
16421 \end_inset
16422
16423  at the end creates a column with a flexible width whose text is horizontally
16424  centered.
16425  You can now enter
16426 \end_layout
16427
16428 \begin_layout Standard
16429
16430 \series bold
16431 K{color name}
16432 \end_layout
16433
16434 \begin_layout Standard
16435 as LaTeX-argument.
16436 \end_layout
16437
16438 \begin_layout Standard
16439 \begin_inset VSpace bigskip
16440 \end_inset
16441
16442
16443 \end_layout
16444
16445 \begin_layout Standard
16446 To create Table\InsetSpace ~
16447
16448 \begin_inset LatexCommand ref
16449 reference "tab:Table-using-user-defined"
16450
16451 \end_inset
16452
16453  use the LaTeX-arguments
16454 \end_layout
16455
16456 \begin_layout Standard
16457
16458 \series bold
16459 M{2.5cm}
16460 \end_layout
16461
16462 \begin_layout Standard
16463 for the first column and the multicolumn,
16464 \end_layout
16465
16466 \begin_layout Standard
16467
16468 \series bold
16469 K{red}
16470 \end_layout
16471
16472 \begin_layout Standard
16473 for the the last column, and
16474 \end_layout
16475
16476 \begin_layout Standard
16477
16478 \series bold
16479 S{2.5cm}{2}
16480 \end_layout
16481
16482 \begin_layout Standard
16483 for the cells in the second column.
16484 \end_layout
16485
16486 \begin_layout Standard
16487 \begin_inset Float table
16488 placement h
16489 wide false
16490 sideways false
16491 status open
16492
16493 \begin_layout Standard
16494 \begin_inset Caption
16495
16496 \begin_layout Standard
16497 \begin_inset LatexCommand label
16498 name "tab:Table-using-user-defined"
16499
16500 \end_inset
16501
16502 Table using user-defined table formats
16503 \end_layout
16504
16505 \end_inset
16506
16507
16508 \end_layout
16509
16510 \begin_layout Standard
16511 \align center
16512 \begin_inset Tabular
16513 <lyxtabular version="3" rows="3" columns="4">
16514 <features>
16515 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16516 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16517 <column alignment="center" valignment="middle" leftline="true" width="0">
16518 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16519 <row topline="true">
16520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16521 \begin_inset Text
16522
16523 \begin_layout Standard
16524 verylongtablecellword
16525 \end_layout
16526
16527 \end_inset
16528 </cell>
16529 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16530 \begin_inset Text
16531
16532 \begin_layout Standard
16533 multiple lines multicolumn
16534 \end_layout
16535
16536 \end_inset
16537 </cell>
16538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16539 \begin_inset Text
16540
16541 \begin_layout Standard
16542
16543 \end_layout
16544
16545 \end_inset
16546 </cell>
16547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16548 \begin_inset Text
16549
16550 \begin_layout Standard
16551 c
16552 \end_layout
16553
16554 \end_inset
16555 </cell>
16556 </row>
16557 <row topline="true">
16558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16559 \begin_inset Text
16560
16561 \begin_layout Standard
16562 d
16563 \end_layout
16564
16565 \end_inset
16566 </cell>
16567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16568 \begin_inset Text
16569
16570 \begin_layout Standard
16571 e
16572 \end_layout
16573
16574 \end_inset
16575 </cell>
16576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16577 \begin_inset Text
16578
16579 \begin_layout Standard
16580 f
16581 \end_layout
16582
16583 \end_inset
16584 </cell>
16585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16586 \begin_inset Text
16587
16588 \begin_layout Standard
16589 g
16590 \end_layout
16591
16592 \end_inset
16593 </cell>
16594 </row>
16595 <row topline="true" bottomline="true">
16596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16597 \begin_inset Text
16598
16599 \begin_layout Standard
16600 h
16601 \end_layout
16602
16603 \end_inset
16604 </cell>
16605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16606 \begin_inset Text
16607
16608 \begin_layout Standard
16609 i
16610 \end_layout
16611
16612 \end_inset
16613 </cell>
16614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16615 \begin_inset Text
16616
16617 \begin_layout Standard
16618 j
16619 \end_layout
16620
16621 \end_inset
16622 </cell>
16623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16624 \begin_inset Text
16625
16626 \begin_layout Standard
16627 k
16628 \end_layout
16629
16630 \end_inset
16631 </cell>
16632 </row>
16633 </lyxtabular>
16634
16635 \end_inset
16636
16637
16638 \end_layout
16639
16640 \end_inset
16641
16642
16643 \end_layout
16644
16645 \begin_layout Subsection
16646 Line Thickness
16647 \begin_inset LatexCommand label
16648 name "sub:Line-Thickness"
16649
16650 \end_inset
16651
16652
16653 \begin_inset LatexCommand index
16654 name "Table Customization ! Line Thickness"
16655
16656 \end_inset
16657
16658
16659 \end_layout
16660
16661 \begin_layout Standard
16662 The line thickness for all lines in a table can be adjusted with the length
16663  
16664 \series bold
16665
16666 \backslash
16667 arrayrulewidth
16668 \series default
16669 .
16670  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16671 pt, like in Table\InsetSpace ~
16672
16673 \begin_inset LatexCommand ref
16674 reference "tab:Table-with-1.5"
16675
16676 \end_inset
16677
16678 , insert the command
16679 \end_layout
16680
16681 \begin_layout Standard
16682
16683 \series bold
16684
16685 \backslash
16686 setlength{
16687 \backslash
16688 arrayrulewidth}{1.5pt}
16689 \end_layout
16690
16691 \begin_layout Standard
16692 in ERT before the table or table float.
16693  The changed thickness is valid for all following tables.
16694  To use the default value again, set 
16695 \series bold
16696
16697 \backslash
16698 arrayrulewidth
16699 \series default
16700  to 0.4\InsetSpace \thinspace{}
16701 pt in ERT behind the table or table float.
16702 \end_layout
16703
16704 \begin_layout Standard
16705 \begin_inset ERT
16706 status collapsed
16707
16708 \begin_layout Standard
16709
16710
16711 \backslash
16712 setlength{
16713 \backslash
16714 arrayrulewidth}{1.5pt}
16715 \end_layout
16716
16717 \end_inset
16718
16719
16720 \begin_inset Float table
16721 wide false
16722 sideways false
16723 status open
16724
16725 \begin_layout Standard
16726 \begin_inset Caption
16727
16728 \begin_layout Standard
16729 \begin_inset LatexCommand label
16730 name "tab:Table-with-1.5"
16731
16732 \end_inset
16733
16734 Table with 1.5\InsetSpace \thinspace{}
16735 pt thick lines
16736 \end_layout
16737
16738 \end_inset
16739
16740
16741 \end_layout
16742
16743 \begin_layout Standard
16744 \align center
16745 \begin_inset Tabular
16746 <lyxtabular version="3" rows="3" columns="3">
16747 <features>
16748 <column alignment="center" valignment="top" leftline="true" width="0">
16749 <column alignment="center" valignment="top" leftline="true" width="0">
16750 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16751 <row topline="true">
16752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16753 \begin_inset Text
16754
16755 \begin_layout Standard
16756 sd
16757 \end_layout
16758
16759 \end_inset
16760 </cell>
16761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16762 \begin_inset Text
16763
16764 \begin_layout Standard
16765
16766 \end_layout
16767
16768 \end_inset
16769 </cell>
16770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16771 \begin_inset Text
16772
16773 \begin_layout Standard
16774
16775 \end_layout
16776
16777 \end_inset
16778 </cell>
16779 </row>
16780 <row topline="true">
16781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16782 \begin_inset Text
16783
16784 \begin_layout Standard
16785
16786 \end_layout
16787
16788 \end_inset
16789 </cell>
16790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16791 \begin_inset Text
16792
16793 \begin_layout Standard
16794 sd
16795 \end_layout
16796
16797 \end_inset
16798 </cell>
16799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16800 \begin_inset Text
16801
16802 \begin_layout Standard
16803
16804 \end_layout
16805
16806 \end_inset
16807 </cell>
16808 </row>
16809 <row topline="true" bottomline="true">
16810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16811 \begin_inset Text
16812
16813 \begin_layout Standard
16814
16815 \end_layout
16816
16817 \end_inset
16818 </cell>
16819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16820 \begin_inset Text
16821
16822 \begin_layout Standard
16823
16824 \end_layout
16825
16826 \end_inset
16827 </cell>
16828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16829 \begin_inset Text
16830
16831 \begin_layout Standard
16832 sd
16833 \end_layout
16834
16835 \end_inset
16836 </cell>
16837 </row>
16838 </lyxtabular>
16839
16840 \end_inset
16841
16842
16843 \end_layout
16844
16845 \end_inset
16846
16847
16848 \begin_inset ERT
16849 status collapsed
16850
16851 \begin_layout Standard
16852
16853
16854 \backslash
16855 setlength{
16856 \backslash
16857 arrayrulewidth}{0.4pt}
16858 \end_layout
16859
16860 \end_inset
16861
16862
16863 \end_layout
16864
16865 \begin_layout Standard
16866 \begin_inset VSpace bigskip
16867 \end_inset
16868
16869 To set the line thickness to 1.5\InsetSpace \thinspace{}
16870 pt only for horizontal lines, like in Table\InsetSpace ~
16871
16872 \begin_inset LatexCommand ref
16873 reference "tab:Table-with-horizontal"
16874
16875 \end_inset
16876
16877 , insert these commands in ERT before the table or table float:
16878 \end_layout
16879
16880 \begin_layout Standard
16881
16882 \series bold
16883
16884 \backslash
16885 let
16886 \backslash
16887 myHline
16888 \backslash
16889 hline
16890 \newline
16891
16892 \backslash
16893 renewcommand{
16894 \backslash
16895 hline}
16896 \newline
16897  {
16898 \backslash
16899 noalign{
16900 \backslash
16901 global
16902 \backslash
16903 arrayrulewidth 1.5pt}
16904 \newline
16905  
16906 \backslash
16907 myHline
16908 \backslash
16909 noalign{
16910 \backslash
16911 global
16912 \backslash
16913 arrayrulewidth 0.4pt}}
16914 \end_layout
16915
16916 \begin_layout Standard
16917 To return to the default line thickness, insert this command in ERT behind
16918  the table or table float:
16919 \end_layout
16920
16921 \begin_layout Standard
16922
16923 \series bold
16924
16925 \backslash
16926 renewcommand{
16927 \backslash
16928 hline}{
16929 \backslash
16930 myHline}
16931 \end_layout
16932
16933 \begin_layout Standard
16934 \begin_inset ERT
16935 status collapsed
16936
16937 \begin_layout Standard
16938
16939
16940 \backslash
16941 let
16942 \backslash
16943 myHline
16944 \backslash
16945 hline
16946 \end_layout
16947
16948 \begin_layout Standard
16949
16950
16951 \backslash
16952 renewcommand{
16953 \backslash
16954 hline}
16955 \end_layout
16956
16957 \begin_layout Standard
16958
16959  {
16960 \backslash
16961 noalign{
16962 \backslash
16963 global
16964 \backslash
16965 arrayrulewidth 1.5pt}
16966 \end_layout
16967
16968 \begin_layout Standard
16969
16970   
16971 \backslash
16972 myHline
16973 \backslash
16974 noalign{
16975 \backslash
16976 global
16977 \backslash
16978 arrayrulewidth 0.4pt}}
16979 \end_layout
16980
16981 \end_inset
16982
16983
16984 \begin_inset Float table
16985 wide false
16986 sideways false
16987 status open
16988
16989 \begin_layout Standard
16990 \begin_inset Caption
16991
16992 \begin_layout Standard
16993 \begin_inset LatexCommand label
16994 name "tab:Table-with-horizontal"
16995
16996 \end_inset
16997
16998 Table with 1.5\InsetSpace \thinspace{}
16999 pt thick horizontal lines
17000 \end_layout
17001
17002 \end_inset
17003
17004
17005 \end_layout
17006
17007 \begin_layout Standard
17008 \align center
17009 \begin_inset Tabular
17010 <lyxtabular version="3" rows="3" columns="3">
17011 <features>
17012 <column alignment="center" valignment="top" leftline="true" width="0">
17013 <column alignment="center" valignment="top" leftline="true" width="0">
17014 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17015 <row topline="true">
17016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17017 \begin_inset Text
17018
17019 \begin_layout Standard
17020 sd
17021 \end_layout
17022
17023 \end_inset
17024 </cell>
17025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17026 \begin_inset Text
17027
17028 \begin_layout Standard
17029
17030 \end_layout
17031
17032 \end_inset
17033 </cell>
17034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17035 \begin_inset Text
17036
17037 \begin_layout Standard
17038
17039 \end_layout
17040
17041 \end_inset
17042 </cell>
17043 </row>
17044 <row topline="true">
17045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17046 \begin_inset Text
17047
17048 \begin_layout Standard
17049
17050 \end_layout
17051
17052 \end_inset
17053 </cell>
17054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17055 \begin_inset Text
17056
17057 \begin_layout Standard
17058 sd
17059 \end_layout
17060
17061 \end_inset
17062 </cell>
17063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17064 \begin_inset Text
17065
17066 \begin_layout Standard
17067
17068 \end_layout
17069
17070 \end_inset
17071 </cell>
17072 </row>
17073 <row topline="true" bottomline="true">
17074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17075 \begin_inset Text
17076
17077 \begin_layout Standard
17078
17079 \end_layout
17080
17081 \end_inset
17082 </cell>
17083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17084 \begin_inset Text
17085
17086 \begin_layout Standard
17087
17088 \end_layout
17089
17090 \end_inset
17091 </cell>
17092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17093 \begin_inset Text
17094
17095 \begin_layout Standard
17096 sd
17097 \end_layout
17098
17099 \end_inset
17100 </cell>
17101 </row>
17102 </lyxtabular>
17103
17104 \end_inset
17105
17106
17107 \end_layout
17108
17109 \end_inset
17110
17111
17112 \begin_inset ERT
17113 status collapsed
17114
17115 \begin_layout Standard
17116
17117
17118 \backslash
17119 renewcommand{
17120 \backslash
17121 hline}{
17122 \backslash
17123 myHline}
17124 \end_layout
17125
17126 \end_inset
17127
17128
17129 \end_layout
17130
17131 \begin_layout Standard
17132 \begin_inset VSpace bigskip
17133 \end_inset
17134
17135 To set the line thickness to 1.5\InsetSpace \thinspace{}
17136 pt only for vertical lines, create the following
17137  column format in the document preamble, according to the description in
17138  section\InsetSpace ~
17139
17140 \begin_inset LatexCommand ref
17141 reference "sub:Customized-Format"
17142
17143 \end_inset
17144
17145 :
17146 \end_layout
17147
17148 \begin_layout Standard
17149
17150 \series bold
17151
17152 \backslash
17153 newcolumntype{V}{!{
17154 \backslash
17155 vrule width 1.5pt}}
17156 \end_layout
17157
17158 \begin_layout Standard
17159 For Table\InsetSpace ~
17160
17161 \begin_inset LatexCommand ref
17162 reference "tab:Table-with-vertical"
17163
17164 \end_inset
17165
17166  the LaTeX-argument
17167 \end_layout
17168
17169 \begin_layout Standard
17170
17171 \series bold
17172 VcV
17173 \end_layout
17174
17175 \begin_layout Standard
17176 was used for the last column and
17177 \end_layout
17178
17179 \begin_layout Standard
17180
17181 \series bold
17182 Vc
17183 \end_layout
17184
17185 \begin_layout Standard
17186 for the other columns.
17187 \end_layout
17188
17189 \begin_layout Standard
17190 \begin_inset Float table
17191 wide false
17192 sideways false
17193 status open
17194
17195 \begin_layout Standard
17196 \begin_inset Caption
17197
17198 \begin_layout Standard
17199 \begin_inset LatexCommand label
17200 name "tab:Table-with-vertical"
17201
17202 \end_inset
17203
17204 Table with 1.5\InsetSpace \thinspace{}
17205 pt thick vertical lines
17206 \end_layout
17207
17208 \end_inset
17209
17210
17211 \end_layout
17212
17213 \begin_layout Standard
17214 \align center
17215 \begin_inset Tabular
17216 <lyxtabular version="3" rows="3" columns="3">
17217 <features>
17218 <column alignment="center" valignment="top" width="0" special="Vc">
17219 <column alignment="center" valignment="top" width="0" special="Vc">
17220 <column alignment="center" valignment="top" width="0" special="VcV">
17221 <row topline="true">
17222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17223 \begin_inset Text
17224
17225 \begin_layout Standard
17226 sd
17227 \end_layout
17228
17229 \end_inset
17230 </cell>
17231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17232 \begin_inset Text
17233
17234 \begin_layout Standard
17235
17236 \end_layout
17237
17238 \end_inset
17239 </cell>
17240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17241 \begin_inset Text
17242
17243 \begin_layout Standard
17244
17245 \end_layout
17246
17247 \end_inset
17248 </cell>
17249 </row>
17250 <row topline="true">
17251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17252 \begin_inset Text
17253
17254 \begin_layout Standard
17255
17256 \end_layout
17257
17258 \end_inset
17259 </cell>
17260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17261 \begin_inset Text
17262
17263 \begin_layout Standard
17264 sd
17265 \end_layout
17266
17267 \end_inset
17268 </cell>
17269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17270 \begin_inset Text
17271
17272 \begin_layout Standard
17273
17274 \end_layout
17275
17276 \end_inset
17277 </cell>
17278 </row>
17279 <row topline="true" bottomline="true">
17280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17281 \begin_inset Text
17282
17283 \begin_layout Standard
17284
17285 \end_layout
17286
17287 \end_inset
17288 </cell>
17289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17290 \begin_inset Text
17291
17292 \begin_layout Standard
17293
17294 \end_layout
17295
17296 \end_inset
17297 </cell>
17298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17299 \begin_inset Text
17300
17301 \begin_layout Standard
17302 sd
17303 \end_layout
17304
17305 \end_inset
17306 </cell>
17307 </row>
17308 </lyxtabular>
17309
17310 \end_inset
17311
17312
17313 \end_layout
17314
17315 \end_inset
17316
17317
17318 \end_layout
17319
17320 \begin_layout Subsection
17321 Dashed Lines
17322 \begin_inset LatexCommand index
17323 name "Table Customization ! Dashed Lines"
17324
17325 \end_inset
17326
17327
17328 \end_layout
17329
17330 \begin_layout Standard
17331 \begin_inset ERT
17332 status collapsed
17333
17334 \begin_layout Standard
17335
17336
17337 \backslash
17338 ifarydshln
17339 \end_layout
17340
17341 \end_inset
17342
17343
17344 \begin_inset Note Note
17345 status open
17346
17347 \begin_layout Standard
17348 The following section will only be displayed when you have the LaTeX-package
17349  
17350 \series bold
17351 arydshln
17352 \series default
17353  is installed.
17354 \end_layout
17355
17356 \end_inset
17357
17358
17359 \end_layout
17360
17361 \begin_layout Standard
17362 \begin_inset Float table
17363 placement H
17364 wide false
17365 sideways false
17366 status open
17367
17368 \begin_layout Standard
17369 \begin_inset Caption
17370
17371 \begin_layout Standard
17372 \begin_inset LatexCommand label
17373 name "tab:Table-with-dashed"
17374
17375 \end_inset
17376
17377 Table with dashed lines
17378 \end_layout
17379
17380 \end_inset
17381
17382
17383 \end_layout
17384
17385 \begin_layout Standard
17386 \align center
17387 \begin_inset Tabular
17388 <lyxtabular version="3" rows="5" columns="5">
17389 <features>
17390 <column alignment="center" valignment="top" leftline="true" width="0">
17391 <column alignment="center" valignment="top" leftline="true" width="0">
17392 <column alignment="center" valignment="top" width="0" special=":c">
17393 <column alignment="center" valignment="top" leftline="true" width="0">
17394 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17395 <row topline="true" bottomline="true">
17396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17397 \begin_inset Text
17398
17399 \begin_layout Standard
17400 a
17401 \end_layout
17402
17403 \end_inset
17404 </cell>
17405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17406 \begin_inset Text
17407
17408 \begin_layout Standard
17409 b
17410 \end_layout
17411
17412 \end_inset
17413 </cell>
17414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17415 \begin_inset Text
17416
17417 \begin_layout Standard
17418 c
17419 \end_layout
17420
17421 \end_inset
17422 </cell>
17423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17424 \begin_inset Text
17425
17426 \begin_layout Standard
17427 d
17428 \end_layout
17429
17430 \end_inset
17431 </cell>
17432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17433 \begin_inset Text
17434
17435 \begin_layout Standard
17436 e
17437 \end_layout
17438
17439 \end_inset
17440 </cell>
17441 </row>
17442 <row topline="true">
17443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17444 \begin_inset Text
17445
17446 \begin_layout Standard
17447 f
17448 \end_layout
17449
17450 \end_inset
17451 </cell>
17452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17453 \begin_inset Text
17454
17455 \begin_layout Standard
17456 g
17457 \end_layout
17458
17459 \end_inset
17460 </cell>
17461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17462 \begin_inset Text
17463
17464 \begin_layout Standard
17465 h
17466 \end_layout
17467
17468 \end_inset
17469 </cell>
17470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17471 \begin_inset Text
17472
17473 \begin_layout Standard
17474 i
17475 \end_layout
17476
17477 \end_inset
17478 </cell>
17479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17480 \begin_inset Text
17481
17482 \begin_layout Standard
17483 j
17484 \end_layout
17485
17486 \end_inset
17487 </cell>
17488 </row>
17489 <row>
17490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17491 \begin_inset Text
17492
17493 \begin_layout Standard
17494 \begin_inset ERT
17495 status collapsed
17496
17497 \begin_layout Standard
17498
17499
17500 \backslash
17501 hdashline 
17502 \end_layout
17503
17504 \end_inset
17505
17506 k
17507 \end_layout
17508
17509 \end_inset
17510 </cell>
17511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17512 \begin_inset Text
17513
17514 \begin_layout Standard
17515 l
17516 \end_layout
17517
17518 \end_inset
17519 </cell>
17520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17521 \begin_inset Text
17522
17523 \begin_layout Standard
17524 m
17525 \end_layout
17526
17527 \end_inset
17528 </cell>
17529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17530 \begin_inset Text
17531
17532 \begin_layout Standard
17533 n
17534 \end_layout
17535
17536 \end_inset
17537 </cell>
17538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17539 \begin_inset Text
17540
17541 \begin_layout Standard
17542 o
17543 \end_layout
17544
17545 \end_inset
17546 </cell>
17547 </row>
17548 <row topline="true">
17549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17550 \begin_inset Text
17551
17552 \begin_layout Standard
17553 \begin_inset ERT
17554 status collapsed
17555
17556 \begin_layout Standard
17557
17558
17559 \backslash
17560 cdashline{4-5}
17561 \end_layout
17562
17563 \end_inset
17564
17565 p
17566 \end_layout
17567
17568 \end_inset
17569 </cell>
17570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17571 \begin_inset Text
17572
17573 \begin_layout Standard
17574 q
17575 \end_layout
17576
17577 \end_inset
17578 </cell>
17579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17580 \begin_inset Text
17581
17582 \begin_layout Standard
17583 r
17584 \end_layout
17585
17586 \end_inset
17587 </cell>
17588 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17589 \begin_inset Text
17590
17591 \begin_layout Standard
17592 s
17593 \end_layout
17594
17595 \end_inset
17596 </cell>
17597 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17598 \begin_inset Text
17599
17600 \begin_layout Standard
17601
17602 \end_layout
17603
17604 \end_inset
17605 </cell>
17606 </row>
17607 <row topline="true" bottomline="true">
17608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17609 \begin_inset Text
17610
17611 \begin_layout Standard
17612 t
17613 \end_layout
17614
17615 \end_inset
17616 </cell>
17617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17618 \begin_inset Text
17619
17620 \begin_layout Standard
17621 u
17622 \end_layout
17623
17624 \end_inset
17625 </cell>
17626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17627 \begin_inset Text
17628
17629 \begin_layout Standard
17630 v
17631 \end_layout
17632
17633 \end_inset
17634 </cell>
17635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17636 \begin_inset Text
17637
17638 \begin_layout Standard
17639 w
17640 \end_layout
17641
17642 \end_inset
17643 </cell>
17644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17645 \begin_inset Text
17646
17647 \begin_layout Standard
17648 x
17649 \end_layout
17650
17651 \end_inset
17652 </cell>
17653 </row>
17654 </lyxtabular>
17655
17656 \end_inset
17657
17658
17659 \end_layout
17660
17661 \end_inset
17662
17663
17664 \end_layout
17665
17666 \begin_layout Standard
17667 LyX doesn't natively support dashed lines, so you have to use ERT.
17668  As prerequisite the LaTeX-package 
17669 \series bold
17670 arydshln
17671 \series default
17672
17673 \begin_inset LatexCommand index
17674 name "LaTeX-packages ! arydshln"
17675
17676 \end_inset
17677
17678  must be loaded in the document preamble with the command
17679 \end_layout
17680
17681 \begin_layout Standard
17682
17683 \series bold
17684
17685 \backslash
17686 usepackage{arydshln}
17687 \end_layout
17688
17689 \begin_layout Standard
17690 To make a vertical line dashed, enter the colon 
17691 \begin_inset Quotes eld
17692 \end_inset
17693
17694 :
17695 \begin_inset Quotes erd
17696 \end_inset
17697
17698  together with the character for the horizontal alignment as LaTeX-argument
17699  in the table cell dialog.
17700 \end_layout
17701
17702 \begin_layout Standard
17703 For a horizontal dashed line add the command
17704 \end_layout
17705
17706 \begin_layout Standard
17707
17708 \series bold
17709
17710 \backslash
17711 hdashline
17712 \end_layout
17713
17714 \begin_layout Standard
17715 in ERT as first element of the first cell in the table row.
17716 \end_layout
17717
17718 \begin_layout Standard
17719 For dashed multicolumn lines use the command
17720 \end_layout
17721
17722 \begin_layout Standard
17723
17724 \series bold
17725
17726 \backslash
17727 cdashline{line number
17728 \series default
17729 }
17730 \end_layout
17731
17732 \begin_layout Standard
17733 in ERT as first element of the first cell in the table row.
17734  If you have for example a multicolumn spanning over columns 2 to 4 and
17735  you want to have a dashed line above, add the command
17736 \end_layout
17737
17738 \begin_layout Standard
17739
17740 \series bold
17741
17742 \backslash
17743 cdashline{2-4}
17744 \end_layout
17745
17746 \begin_layout Standard
17747 as first element of the first cell in the row of the multicolumn.
17748 \end_layout
17749
17750 \begin_layout Standard
17751 \begin_inset VSpace bigskip
17752 \end_inset
17753
17754
17755 \end_layout
17756
17757 \begin_layout Standard
17758 Table\InsetSpace ~
17759
17760 \begin_inset LatexCommand ref
17761 reference "tab:Table-with-dashed"
17762
17763 \end_inset
17764
17765  was created using 
17766 \begin_inset Quotes eld
17767 \end_inset
17768
17769
17770 \series bold
17771 :c
17772 \series default
17773
17774 \begin_inset Quotes erd
17775 \end_inset
17776
17777  as LaTeX-argument of the third column.
17778  The ERT command 
17779 \series bold
17780
17781 \backslash
17782 hdashline
17783 \series default
17784  was inserted to the first cell of the third row and the the ERT command
17785 \newline
17786
17787  
17788 \series bold
17789
17790 \backslash
17791 cdashline{4-5}
17792 \series default
17793  was inserted to the first cell of the fourth row.
17794 \end_layout
17795
17796 \begin_layout Standard
17797 \begin_inset Note Greyedout
17798 status open
17799
17800 \begin_layout Standard
17801
17802 \series bold
17803 Note:
17804 \series default
17805  The used LaTeX-package 
17806 \series bold
17807 arydshln
17808 \series default
17809  is apparently not compatible with the LaTeX-package 
17810 \series bold
17811 colortbl
17812 \series default
17813
17814 \begin_inset LatexCommand index
17815 name "LaTeX-packages ! colortbl"
17816
17817 \end_inset
17818
17819  that is used for colored tables in section\InsetSpace ~
17820
17821 \begin_inset LatexCommand ref
17822 reference "sec:Colored-Tables"
17823
17824 \end_inset
17825
17826 .
17827  That means colored tables cannot have dashed lines.
17828 \end_layout
17829
17830 \end_inset
17831
17832
17833 \end_layout
17834
17835 \begin_layout Standard
17836 \begin_inset ERT
17837 status collapsed
17838
17839 \begin_layout Standard
17840
17841
17842 \backslash
17843 else
17844 \end_layout
17845
17846 \end_inset
17847
17848
17849 \begin_inset Note Note
17850 status open
17851
17852 \begin_layout Standard
17853 The following will be displayed when the LaTeX-package 
17854 \series bold
17855 arydshln
17856 \series default
17857  is not installed:
17858 \end_layout
17859
17860 \end_inset
17861
17862
17863 \end_layout
17864
17865 \begin_layout Standard
17866 You need to install the package 
17867 \series bold
17868 arydshln
17869 \series default
17870  to see the contents of this section in the output.
17871 \end_layout
17872
17873 \begin_layout Standard
17874 \begin_inset ERT
17875 status collapsed
17876
17877 \begin_layout Standard
17878
17879
17880 \backslash
17881 fi
17882 \end_layout
17883
17884 \end_inset
17885
17886
17887 \end_layout
17888
17889 \begin_layout Chapter
17890 Floats
17891 \begin_inset LatexCommand index
17892 name "Floats"
17893
17894 \end_inset
17895
17896
17897 \begin_inset LatexCommand label
17898 name "cha:Floats"
17899
17900 \end_inset
17901
17902
17903 \end_layout
17904
17905 \begin_layout Section
17906 Introduction
17907 \begin_inset LatexCommand label
17908 name "sec:FloatIntroduction"
17909
17910 \end_inset
17911
17912
17913 \begin_inset LatexCommand index
17914 name "Floats ! Introduction"
17915
17916 \end_inset
17917
17918
17919 \end_layout
17920
17921 \begin_layout Standard
17922 A float is a block of text associated with some sort of label, which doesn't
17923  have a fixed location.
17924  It can 
17925 \begin_inset Quotes eld
17926 \end_inset
17927
17928 float
17929 \begin_inset Quotes erd
17930 \end_inset
17931
17932  forward or backward a page or two, to wherever it fits best.
17933  
17934 \family sans
17935 Footnotes
17936 \family default
17937  and 
17938 \family sans
17939 Margin\InsetSpace ~
17940 Notes
17941 \family default
17942  are also floats, because they can float to the next page when there are
17943  too many notes at the page.
17944 \end_layout
17945
17946 \begin_layout Standard
17947 Floats allow a high quality layout.
17948  Images and tables can evenly be spread to the pages to avoid white space
17949  and pages without text.
17950  As the floating often destroys the context between the text and the image/table
17951 , every float can be referenced in the text.
17952  Floats are therefore numbered.
17953  Referencing is described in section\InsetSpace ~
17954
17955 \begin_inset LatexCommand ref
17956 reference "sec:Referencing-Floats"
17957
17958 \end_inset
17959
17960 .
17961 \end_layout
17962
17963 \begin_layout Standard
17964 To insert a float, use the menu 
17965 \family sans
17966 Insert\SpecialChar \menuseparator
17967 Float
17968 \family default
17969 .
17970  This inserts the 
17971 \family sans
17972 Caption
17973 \family default
17974  inset, a box with a label.
17975  The label will automatically be translated to the document language in
17976  the output.
17977  Behind the label you can insert the caption text.
17978  The image or table is inserted above or below the caption in a separate
17979  paragraph within the float.
17980  More about the caption placement is described in section\InsetSpace ~
17981
17982 \begin_inset LatexCommand ref
17983 reference "sec:Caption-Placement"
17984
17985 \end_inset
17986
17987 .
17988  To keep your LyX-document readable, you can open and close the float box
17989  by left-clicking on the box label.
17990  A closed float box looks like this: 
17991 \begin_inset Graphics
17992         filename clipart/floatQt4.png
17993         scale 70
17994         scaleBeforeRotation
17995
17996 \end_inset
17997
17998  -- a gray button with a red label.
17999 \end_layout
18000
18001 \begin_layout Standard
18002 It is recommended to insert floats as a separate paragraph to avoid possible
18003  LaTeX-errors that can occur when the surrounding text is specially formatted.
18004 \end_layout
18005
18006 \begin_layout Standard
18007 Existing figures or tables can be put into a float by marking them and then
18008  pressing the corresponding toolbar button for a new float.
18009 \end_layout
18010
18011 \begin_layout Section
18012 Float Types
18013 \end_layout
18014
18015 \begin_layout Standard
18016 Besides figure and table floats that are described in section\InsetSpace ~
18017
18018 \begin_inset LatexCommand ref
18019 reference "sec:Figure-Floats"
18020
18021 \end_inset
18022
18023  and 
18024 \begin_inset LatexCommand ref
18025 reference "sec:Table-Floats"
18026
18027 \end_inset
18028
18029 , respectively, LyX offers the float types 
18030 \series bold
18031 Algorithm
18032 \series default
18033  and 
18034 \series bold
18035 Text\InsetSpace ~
18036 Wrap\InsetSpace ~
18037 Float
18038 \series default
18039 .
18040 \end_layout
18041
18042 \begin_layout Subsection
18043 Algorithm Floats
18044 \begin_inset LatexCommand index
18045 name "Floats ! Algorithms"
18046
18047 \end_inset
18048
18049
18050 \end_layout
18051
18052 \begin_layout Standard
18053 \begin_inset Float algorithm
18054 placement h
18055 wide false
18056 sideways false
18057 status open
18058
18059 \begin_layout Standard
18060 \begin_inset Caption
18061
18062 \begin_layout Standard
18063 \begin_inset LatexCommand label
18064 name "alg:Example-Algorithm-float"
18065
18066 \end_inset
18067
18068 Example Algorithm float
18069 \end_layout
18070
18071 \end_inset
18072
18073
18074 \end_layout
18075
18076 \begin_layout LyX-Code
18077 for I in 1..N loop
18078 \newline
18079  Sum:= Sum + A(I); /*comment*/
18080 \newline
18081 end loop
18082 \begin_inset VSpace -4mm
18083 \end_inset
18084
18085
18086 \end_layout
18087
18088 \end_inset
18089
18090
18091 \end_layout
18092
18093 \begin_layout Standard
18094 This float type is inserted with the menu 
18095 \family sans
18096 Insert\SpecialChar \menuseparator
18097 Floats\SpecialChar \menuseparator
18098 Algorithm
18099 \family default
18100 .
18101  It is used for program codes and descriptions of algorithms.
18102  A possible environment for algorithms is the 
18103 \family sans
18104 LyX-Code
18105 \family default
18106 , described in LyX's 
18107 \emph on
18108 Userguide
18109 \emph default
18110 .
18111  Algorithm\InsetSpace ~
18112
18113 \begin_inset LatexCommand ref
18114 reference "alg:Example-Algorithm-float"
18115
18116 \end_inset
18117
18118  is an example of an algorithm float where -4\InsetSpace \thinspace{}
18119 mm vertical space was added
18120  at the end of the float to have the bottom rule exactly below the last
18121  text line.
18122 \end_layout
18123
18124 \begin_layout Standard
18125 The float label is not automatically translated into the document language.
18126  If your document is not in English, you have to do this manually by adding
18127  the following line to the document preamble
18128 \series bold
18129 :
18130 \end_layout
18131
18132 \begin_layout Standard
18133
18134 \series bold
18135
18136 \backslash
18137 floatname{algorithm}{your\InsetSpace ~
18138 name}
18139 \end_layout
18140
18141 \begin_layout Standard
18142
18143 \family sans
18144 your\InsetSpace ~
18145 name
18146 \family default
18147  is the word 
18148 \begin_inset Quotes eld
18149 \end_inset
18150
18151
18152 \emph on
18153 algorithm
18154 \emph default
18155
18156 \begin_inset Quotes erd
18157 \end_inset
18158
18159  in your language.
18160 \end_layout
18161
18162 \begin_layout Description
18163
18164 \series bold
18165 Note:
18166 \series default
18167  When the LaTeX-package 
18168 \series bold
18169 hyperref
18170 \series default
18171
18172 \begin_inset LatexCommand index
18173 name "LaTeX-packages ! hyperref"
18174
18175 \end_inset
18176
18177  is used to link cross-references to floats in the PDF-output, it must be
18178  loaded in the document preamble before the definition of floats to be able
18179  to reference floats.
18180  As LyX sets the float definition for algorithm floats automatically before
18181  the user editable part of the document preamble, you need to insert the
18182  following preamble lines 
18183 \emph on
18184 after
18185 \emph default
18186  the loading command of 
18187 \series bold
18188 hyperref
18189 \series default
18190 :
18191 \series bold
18192
18193 \begin_inset VSpace defskip
18194 \end_inset
18195
18196
18197 \newline
18198
18199 \backslash
18200 newfloat{Xalgorithm}{tbp}{loa}
18201 \newline
18202
18203 \backslash
18204 floatname{Xalgorithm}{your\InsetSpace ~
18205 name}
18206 \newline
18207
18208 \backslash
18209 newcommand{
18210 \backslash
18211 theHalgorithm}{
18212 \backslash
18213 theHXalgorithm}
18214 \newline
18215
18216 \backslash
18217 renewenvironment{algorithm}[1][tbp]
18218 \newline
18219
18220 \begin_inset ERT
18221 status collapsed
18222
18223 \begin_layout Standard
18224
18225
18226 \backslash
18227 hphantom{ }
18228 \end_layout
18229
18230 \end_inset
18231
18232 {
18233 \backslash
18234 begin{Xalgorithm}[#1]}{
18235 \backslash
18236 end{Xalgorithm}}
18237 \begin_inset VSpace defskip
18238 \end_inset
18239
18240
18241 \end_layout
18242
18243 \begin_layout Standard
18244 Algorithm floats are not by default numbered in the scheme 
18245 \begin_inset Quotes eld
18246 \end_inset
18247
18248 chapter.algorithm
18249 \begin_inset Quotes erd
18250 \end_inset
18251
18252  like it is the case for table and figure floats in many document-classes.
18253  To number algorithm floats in the same scheme, add this command to your
18254  document preamble:
18255 \end_layout
18256
18257 \begin_layout Standard
18258
18259 \series bold
18260
18261 \backslash
18262 numberwithin{algorithm}{chapter}
18263 \end_layout
18264
18265 \begin_layout Standard
18266 If you use the LaTeX-package 
18267 \series bold
18268 hyperref
18269 \series default
18270 , add this line instead 
18271 \emph on
18272 after
18273 \emph default
18274  the definition of 
18275 \family sans
18276 Xalgorithm
18277 \family default
18278  (the commands from above) to the preamble:
18279 \end_layout
18280
18281 \begin_layout Standard
18282
18283 \series bold
18284
18285 \backslash
18286 numberwithin{Xalgorithm}{chapter}
18287 \end_layout
18288
18289 \begin_layout Standard
18290 To be able to use the command 
18291 \series bold
18292
18293 \backslash
18294 numberwithin
18295 \series default
18296 , set in the tab 
18297 \family sans
18298 Math\InsetSpace ~
18299 Options
18300 \family default
18301  in the document settings the option 
18302 \family sans
18303 Use\InsetSpace ~
18304 AMS\InsetSpace ~
18305 math\InsetSpace ~
18306 package
18307 \family default
18308 .
18309 \end_layout
18310
18311 \begin_layout Subsection
18312 Text Wrap Floats
18313 \begin_inset LatexCommand index
18314 name "Floats ! Text Wrap Floats"
18315
18316 \end_inset
18317
18318
18319 \begin_inset LatexCommand label
18320 name "sub:floatflt-wrap-float"
18321
18322 \end_inset
18323
18324
18325 \end_layout
18326
18327 \begin_layout Standard
18328 This float type is used if you want to 
18329 \begin_inset Quotes eld
18330 \end_inset
18331
18332 wrap
18333 \begin_inset Quotes erd
18334 \end_inset
18335
18336  text around a figure so that it only occupies some fraction of the column
18337  width.
18338  It can be inserted using the menu 
18339 \begin_inset Wrap figure
18340 placement l
18341 width "40col%"
18342 status open
18343
18344 \begin_layout Standard
18345 \begin_inset Graphics
18346         filename clipart/mobius.eps
18347         display color
18348         width 40col%
18349         scaleBeforeRotation
18350         rotateOrigin center
18351
18352 \end_inset
18353
18354
18355 \end_layout
18356
18357 \begin_layout Standard
18358 \begin_inset Caption
18359
18360 \begin_layout Standard
18361 \begin_inset LatexCommand label
18362 name "fig:This-is-a"
18363
18364 \end_inset
18365
18366 This is a wrapped figure, and this is the brilliant caption that describes
18367  it.
18368 \begin_inset VSpace medskip
18369 \end_inset
18370
18371
18372 \end_layout
18373
18374 \end_inset
18375
18376
18377 \end_layout
18378
18379 \end_inset
18380
18381  
18382 \family sans
18383 Insert\SpecialChar \menuseparator
18384 Floats\SpecialChar \menuseparator
18385 Text\InsetSpace ~
18386 Wrap\InsetSpace ~
18387 Float
18388 \family default
18389  if the LaTeX-package 
18390 \series bold
18391 f\SpecialChar \textcompwordmark{}
18392 loatf\SpecialChar \textcompwordmark{}
18393 lt
18394 \series default
18395
18396 \begin_inset LatexCommand index
18397 name "LaTeX-packages ! floatflt"
18398
18399 \end_inset
18400
18401  is installed.
18402 \begin_inset Foot
18403 status collapsed
18404
18405 \begin_layout Standard
18406 Installing a LaTeX-package is explained it in the 
18407 \emph on
18408 LaTeX\InsetSpace ~
18409 Configuration
18410 \emph default
18411  manual.
18412 \end_layout
18413
18414 \end_inset
18415
18416  The width and placement of the float is adjusted by right-clicking on the
18417  float box.
18418  Figure\InsetSpace ~
18419
18420 \begin_inset LatexCommand ref
18421 reference "fig:This-is-a"
18422
18423 \end_inset
18424
18425  is an example text wrap float with a width of 40
18426 \begin_inset Formula $\,$
18427 \end_inset
18428
18429 col%.
18430 \begin_inset Foot
18431 status collapsed
18432
18433 \begin_layout Standard
18434 Available units are explained in 
18435 \begin_inset LatexCommand ref
18436 reference "cha:Units-available-in"
18437
18438 \end_inset
18439
18440 .
18441 \end_layout
18442
18443 \end_inset
18444
18445  Some space was added under the caption to separate it better from the surroundi
18446 ng text.
18447 \end_layout
18448
18449 \begin_layout Standard
18450 The LaTeX-package 
18451 \series bold
18452 f\SpecialChar \textcompwordmark{}
18453 loatf\SpecialChar \textcompwordmark{}
18454 lt
18455 \series default
18456  also supports table wrap floats, but they are not yet supported by LyX.
18457  If you need this, read the documentation of 
18458 \series bold
18459 f\SpecialChar \textcompwordmark{}
18460 loatf\SpecialChar \textcompwordmark{}
18461 lt
18462 \series default
18463  
18464 \begin_inset LatexCommand cite
18465 key "floatflt"
18466
18467 \end_inset
18468
18469 .
18470 \end_layout
18471
18472 \begin_layout Standard
18473 \begin_inset Note Greyedout
18474 status open
18475
18476 \begin_layout Standard
18477
18478 \series bold
18479 Note:
18480 \series default
18481  Text\InsetSpace ~
18482 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18483 g.\InsetSpace ~
18484 having a figure too close to the bottom
18485  of the page can mess things up in the way that the float doesn't appear
18486  in the output or that it is placed over some other text.
18487 \begin_inset Foot
18488 status open
18489
18490 \begin_layout Standard
18491 The better solution is to use the LaTeX-package 
18492 \series bold
18493 wrapf\SpecialChar \textcompwordmark{}
18494 ig
18495 \series default
18496
18497 \begin_inset LatexCommand index
18498 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18499
18500 \end_inset
18501
18502  instead of 
18503 \series bold
18504 f\SpecialChar \textcompwordmark{}
18505 loatf\SpecialChar \textcompwordmark{}
18506 lt
18507 \series default
18508 , but it is currently not supported by LyX.
18509 \end_layout
18510
18511 \end_inset
18512
18513
18514 \end_layout
18515
18516 \end_inset
18517
18518
18519 \end_layout
18520
18521 \begin_layout Standard
18522 In general:
18523 \end_layout
18524
18525 \begin_layout Itemize
18526 Wrap floats should not be placed in paragraphs that run over a page break.
18527  That means that wrap floats should better be inserted to the exact place
18528  when the document is nearly finished and you are able to estimate where
18529  page breaks will appear.
18530 \end_layout
18531
18532 \begin_layout Itemize
18533 Wrap floats should either be placed in an own paragraph before the paragraph
18534  where they should wrap into or within a paragraph.
18535 \end_layout
18536
18537 \begin_layout Itemize
18538 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18539  there is a text paragraph between them as separator.
18540 \end_layout
18541
18542 \begin_layout Itemize
18543 Wrap floats are not allowed in section headings or tables.
18544 \end_layout
18545
18546 \begin_layout Section
18547 Float Numbering
18548 \begin_inset LatexCommand label
18549 name "sec:Float-Numbering"
18550
18551 \end_inset
18552
18553
18554 \begin_inset LatexCommand index
18555 name "Floats ! Numbering"
18556
18557 \end_inset
18558
18559
18560 \end_layout
18561
18562 \begin_layout Standard
18563 Floats are usually numbered either independent from the sections the floats
18564  are in, or in the scheme 
18565 \begin_inset Quotes eld
18566 \end_inset
18567
18568 chapter.number
18569 \begin_inset Quotes erd
18570 \end_inset
18571
18572  or 
18573 \begin_inset Quotes eld
18574 \end_inset
18575
18576 section.number
18577 \begin_inset Quotes erd
18578 \end_inset
18579
18580 .
18581  This depends on the used document class.
18582 \end_layout
18583
18584 \begin_layout Standard
18585 To change the section independent numbering, you can use this command in
18586  the document preamble:
18587 \end_layout
18588
18589 \begin_layout Standard
18590
18591 \series bold
18592
18593 \backslash
18594 renewcommand{
18595 \backslash
18596 thetable}{
18597 \backslash
18598 roman{table}}
18599 \end_layout
18600
18601 \begin_layout Standard
18602
18603 \series bold
18604
18605 \backslash
18606 thetable
18607 \series default
18608  is the command that prints the table number, for figure floats, the command
18609  would be 
18610 \series bold
18611
18612 \backslash
18613 thefigure
18614 \series default
18615 .
18616  The command 
18617 \series bold
18618
18619 \backslash
18620 roman
18621 \series default
18622  prints in the command above the table number as small roman number.
18623 \end_layout
18624
18625 \begin_layout Standard
18626 To change the numbering scheme for example to 
18627 \begin_inset Quotes eld
18628 \end_inset
18629
18630 subsection.number
18631 \begin_inset Quotes erd
18632 \end_inset
18633
18634 , use this command in the preamble:
18635 \end_layout
18636
18637 \begin_layout Standard
18638
18639 \series bold
18640
18641 \backslash
18642 numberwithin{table}{subsection}
18643 \end_layout
18644
18645 \begin_layout Standard
18646 To be able to use the command 
18647 \series bold
18648
18649 \backslash
18650 numberwithin
18651 \series default
18652 , set in the tab 
18653 \family sans
18654 Math\InsetSpace ~
18655 Options
18656 \family default
18657  in the document settings the option 
18658 \family sans
18659 Use\InsetSpace ~
18660 AMS\InsetSpace ~
18661 math\InsetSpace ~
18662 package
18663 \family default
18664 .
18665 \end_layout
18666
18667 \begin_layout Standard
18668 Please also have a look at section\InsetSpace ~
18669
18670 \begin_inset LatexCommand ref
18671 reference "sub:Footnote-Numbering"
18672
18673 \end_inset
18674
18675  for the details and important notes about the numbering commands.
18676 \end_layout
18677
18678 \begin_layout Section
18679 Referencing Floats
18680 \begin_inset LatexCommand label
18681 name "sec:Referencing-Floats"
18682
18683 \end_inset
18684
18685
18686 \begin_inset LatexCommand index
18687 name "Floats ! References"
18688
18689 \end_inset
18690
18691
18692 \begin_inset LatexCommand index
18693 name "References"
18694
18695 \end_inset
18696
18697
18698 \end_layout
18699
18700 \begin_layout Standard
18701 To reference a float, insert a label into its caption using the menu 
18702 \family sans
18703 Insert\SpecialChar \menuseparator
18704 Label
18705 \family default
18706  or the toolbar button 
18707 \begin_inset Graphics
18708         filename ../images/label-insert.xpm
18709         scale 85
18710         scaleBeforeRotation
18711
18712 \end_inset
18713
18714 .
18715  A grey label box like this one: 
18716 \begin_inset Graphics
18717         filename clipart/labelQt4.png
18718         scale 85
18719         scaleBeforeRotation
18720
18721 \end_inset
18722
18723  will be inserted and the label window pops up asking for the label text.
18724  LyX offers as text the first words of the caption with a prefix.
18725  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18726 g.\InsetSpace ~
18727 for figure floats the prefix will
18728  be "
18729 \family sans
18730 fig:
18731 \family default
18732 ".
18733 \end_layout
18734
18735 \begin_layout Standard
18736 The label is used as anchor and name for the reference.
18737  You can refer to the label using the menu 
18738 \family sans
18739 Insert\SpecialChar \menuseparator
18740 Cross-reference
18741 \family default
18742  or the toolbar button 
18743 \begin_inset Graphics
18744         filename ../images/dialog-show-new-inset_ref.xpm
18745         scale 85
18746         scaleBeforeRotation
18747
18748 \end_inset
18749
18750 .
18751  A grey cross-reference box like this one: 
18752 \begin_inset Graphics
18753         filename clipart/referenceQt4.png
18754         scale 85
18755         scaleBeforeRotation
18756
18757 \end_inset
18758
18759  will be inserted and the cross-reference window appear showing all labels
18760  of the document.
18761  If you have multiple LyX-documents opened, choose the one you are working
18762  on from the drop-list at the top of the dialog.
18763  You can now sort the labels alphabetically and then choose one.
18764  At the position of the cross-reference box the float number will appear
18765  in the output.
18766 \end_layout
18767
18768 \begin_layout Standard
18769 It is recommended to use a protected space between the cross-reference name
18770  and its number to avoid line breaks between them.
18771  If a cross-reference refers to a non-existing label, you will see two question
18772  marks in the output instead of the reference.
18773 \end_layout
18774
18775 \begin_layout Standard
18776 You can change labels at any time by clicking on the label box.
18777  References to the changed label will automatically change its link to the
18778  new label text, so that you don't need to take care about this.
18779 \end_layout
18780
18781 \begin_layout Standard
18782 The button 
18783 \family sans
18784 Go\InsetSpace ~
18785 to\InsetSpace ~
18786 Label
18787 \family default
18788  in the cross-reference window sets the cursor before the referred label.
18789  The button text changes then to Go\InsetSpace ~
18790 Back and you can use it to set the cursor
18791  back to the cross-reference.
18792  Right-clicking on a cross-reference box also sets the cursor before the
18793  referenced label but without a possibility to go back.
18794 \end_layout
18795
18796 \begin_layout Subsection
18797 Cross-Reference Formats
18798 \begin_inset LatexCommand label
18799 name "sub:Cross-Reference-Formats"
18800
18801 \end_inset
18802
18803
18804 \begin_inset LatexCommand index
18805 name "References ! Formats"
18806
18807 \end_inset
18808
18809
18810 \end_layout
18811
18812 \begin_layout Standard
18813 There are six varieties of cross-references:
18814 \end_layout
18815
18816 \begin_layout Description
18817 <reference>: prints the float number, this is the default: 
18818 \begin_inset LatexCommand ref
18819 reference "fig:Two-distorted-images"
18820
18821 \end_inset
18822
18823
18824 \end_layout
18825
18826 \begin_layout Description
18827 (<reference>): prints the float number within two parentheses, this is the
18828  style normally used to reference formulas, especially when the reference
18829  name 
18830 \begin_inset Quotes eld
18831 \end_inset
18832
18833 Equation
18834 \begin_inset Quotes erd
18835 \end_inset
18836
18837  is omitted: 
18838 \begin_inset LatexCommand eqref
18839 reference "eq:Wgn"
18840
18841 \end_inset
18842
18843
18844 \end_layout
18845
18846 \begin_layout Description
18847 <page>: prints the page number: Page\InsetSpace ~
18848
18849 \begin_inset LatexCommand pageref
18850 reference "fig:Two-distorted-images"
18851
18852 \end_inset
18853
18854
18855 \end_layout
18856
18857 \begin_layout Description
18858 on\InsetSpace ~
18859 page\InsetSpace ~
18860 <page>: prints the text "on page" and the page number: 
18861 \begin_inset LatexCommand vpageref
18862 reference "fig:Two-distorted-images"
18863
18864 \end_inset
18865
18866
18867 \end_layout
18868
18869 \begin_layout Description
18870 <reference>\InsetSpace ~
18871 on\InsetSpace ~
18872 page\InsetSpace ~
18873 <page>: prints the float number, the text "on page", and
18874  the page number: 
18875 \begin_inset LatexCommand vref
18876 reference "fig:Two-distorted-images"
18877
18878 \end_inset
18879
18880
18881 \end_layout
18882
18883 \begin_layout Description
18884 Formatted\InsetSpace ~
18885 reference: prints a self defined cross-reference format.
18886  
18887 \begin_inset Note Greyedout
18888 status open
18889
18890 \begin_layout Standard
18891
18892 \series bold
18893 Note:
18894 \series default
18895  This feature is only available when you have the LaTeX-package 
18896 \series bold
18897 prettyref
18898 \series default
18899  installed.
18900 \end_layout
18901
18902 \end_inset
18903
18904
18905 \end_layout
18906
18907 \begin_layout Standard
18908 Note that the style <page> won't print the page number if the label is on
18909  the previous, the same, or the next page.
18910  You will e.\InsetSpace \thinspace{}
18911 g.\InsetSpace ~
18912 see the text 
18913 \begin_inset Quotes eld
18914 \end_inset
18915
18916
18917 \family sans
18918 on this page
18919 \family default
18920
18921 \begin_inset Quotes erd
18922 \end_inset
18923
18924  instead.
18925 \end_layout
18926
18927 \begin_layout Standard
18928 The number and current page of the referred document part in the output,
18929  is automatically calculated by LaTeX.
18930  The varieties are adjusted in the field 
18931 \family sans
18932 Format
18933 \family default
18934  of the cross-reference window, that appear when you click on the cross-referenc
18935 e box.
18936 \end_layout
18937
18938 \begin_layout Subsection
18939 Referencing Subfigures
18940 \begin_inset LatexCommand label
18941 name "sub:Referencing-Subfigures"
18942
18943 \end_inset
18944
18945
18946 \begin_inset LatexCommand index
18947 name "References ! to Subfigures"
18948
18949 \end_inset
18950
18951
18952 \end_layout
18953
18954 \begin_layout Standard
18955 Currently referencing subfigures is not supported by LyX, so you have to
18956  use LaTeX-commands.
18957  The label is the created with the command
18958 \end_layout
18959
18960 \begin_layout Standard
18961
18962 \series bold
18963
18964 \backslash
18965 label{fig:YourLabelName}
18966 \end_layout
18967
18968 \begin_layout Standard
18969 that is directly inserted into the subfigure caption field.
18970  To reference the label add this command in ERT
18971 \end_layout
18972
18973 \begin_layout Standard
18974
18975 \series bold
18976
18977 \backslash
18978 ref{fig:YourLabelName}
18979 \end_layout
18980
18981 \begin_layout Standard
18982 to the position in your document where the reference should be placed.
18983  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18984
18985 \begin_inset ERT
18986 status collapsed
18987
18988 \begin_layout Standard
18989
18990
18991 \backslash
18992 ref{fig:Platypus}
18993 \end_layout
18994
18995 \end_inset
18996
18997 .
18998 \end_layout
18999
19000 \begin_layout Subsection
19001 Automatic Reference Naming
19002 \begin_inset LatexCommand index
19003 name "References ! Automatic Reference Naming"
19004
19005 \end_inset
19006
19007
19008 \end_layout
19009
19010 \begin_layout Standard
19011 The LaTeX-package 
19012 \series bold
19013 hyperref
19014 \series default
19015  provides a very useful feature that cross-references automatically include
19016  the name of the referenced floats (or text parts like sections).
19017  You save to write e.\InsetSpace \thinspace{}
19018 g.\InsetSpace ~
19019 the name 
19020 \begin_inset Quotes eld
19021 \end_inset
19022
19023 Figure
19024 \begin_inset Quotes erd
19025 \end_inset
19026
19027  before every reference box.
19028  To get this automatic reference naming, you have to load the LaTeX-package
19029  
19030 \series bold
19031 hyperref
19032 \series default
19033
19034 \begin_inset LatexCommand index
19035 name "LaTeX-packages ! hyperref"
19036
19037 \end_inset
19038
19039  in the document preamble with
19040 \end_layout
19041
19042 \begin_layout Standard
19043
19044 \series bold
19045
19046 \backslash
19047 usepackage[pdfborder={0 0 0}]{hyperref}
19048 \newline
19049
19050 \backslash
19051 AtBeginDocument{
19052 \backslash
19053 renewcommand{
19054 \backslash
19055 ref}[1]{
19056 \backslash
19057 mbox{
19058 \backslash
19059 autoref{#1}}}}
19060 \end_layout
19061
19062 \begin_layout Standard
19063
19064 \series bold
19065 hyperref
19066 \series default
19067  is used to link cross-references in the DVI- and PDF-output, this means
19068  that the reader of your document will be able to click on a table of content
19069  (TOC) entry or on a reference and he will be shown the referenced document
19070  part.
19071  
19072 \series bold
19073 hyperref
19074 \series default
19075  also creates PDF-bookmarks for every section of your document to make it
19076  easier for readers to navigate through the document.
19077  This is also used in this document but when you have a look in the document
19078  preamble you will find various options in the load command of 
19079 \series bold
19080 hyperref
19081 \series default
19082 .
19083  To learn more about the 
19084 \series bold
19085 hyperref
19086 \series default
19087  package, we refer to its documentation 
19088 \begin_inset LatexCommand cite
19089 key "hyperref"
19090
19091 \end_inset
19092
19093 .
19094 \end_layout
19095
19096 \begin_layout Standard
19097 \begin_inset Note Greyedout
19098 status open
19099
19100 \begin_layout Standard
19101
19102 \series bold
19103 Note:
19104 \series default
19105  Automatic reference naming cannot be used when you use cross-references
19106  in the 
19107 \family sans
19108 Formatted\InsetSpace ~
19109 reference
19110 \family default
19111  style, described in section\InsetSpace ~
19112
19113 \begin_inset LatexCommand ref
19114 reference "sub:Cross-Reference-Formats"
19115
19116 \end_inset
19117
19118 .
19119 \end_layout
19120
19121 \end_inset
19122
19123
19124 \end_layout
19125
19126 \begin_layout Subsection
19127 Reference Position
19128 \begin_inset LatexCommand label
19129 name "sub:Reference-Position"
19130
19131 \end_inset
19132
19133
19134 \begin_inset LatexCommand index
19135 name "References ! Reference Position"
19136
19137 \end_inset
19138
19139
19140 \end_layout
19141
19142 \begin_layout Standard
19143 If you use 
19144 \series bold
19145 hyperref
19146 \series default
19147
19148 \begin_inset LatexCommand index
19149 name "LaTeX-packages ! hyperref"
19150
19151 \end_inset
19152
19153  to link cross-references in the output, you will see that clicking on an
19154  image float reference jumps to the image label.
19155  The caption will be the first text part on the screen, so that you cannot
19156  see the image without scrolling.
19157  This is because the reference link anchor is placed at the position of
19158  the label.
19159  With the use of the package 
19160 \series bold
19161 hypcap
19162 \series default
19163
19164 \begin_inset LatexCommand index
19165 name "LaTeX-packages ! hypcap"
19166
19167 \end_inset
19168
19169 , which is part of the LaTeX-package 
19170 \series bold
19171 oberdiek
19172 \series default
19173
19174 \begin_inset LatexCommand index
19175 name "LaTeX-packages ! oberdiek"
19176
19177 \end_inset
19178
19179 , the link anchor is placed at the beginning of a float.
19180  To use this feature for figure floats, load 
19181 \series bold
19182 hypcap
19183 \series default
19184  in the document preamble with the line
19185 \end_layout
19186
19187 \begin_layout Standard
19188
19189 \series bold
19190
19191 \backslash
19192 usepackage[f\SpecialChar \textcompwordmark{}
19193 igure]{hypcap}
19194 \end_layout
19195
19196 \begin_layout Standard
19197 You can also use 
19198 \series bold
19199 hypcap
19200 \series default
19201  for all floats but this isn't recommended for stability reasons.
19202  For more informations, have a look at 
19203 \series bold
19204 hypcap
19205 \series default
19206 's manual 
19207 \begin_inset LatexCommand cite
19208 key "hypcap"
19209
19210 \end_inset
19211
19212 .
19213 \end_layout
19214
19215 \begin_layout Standard
19216 \begin_inset Note Greyedout
19217 status open
19218
19219 \begin_layout Standard
19220
19221 \series bold
19222 Note:
19223 \series default
19224  
19225 \series bold
19226 hypcap
19227 \series default
19228  must be loaded after 
19229 \series bold
19230 hyperref
19231 \series default
19232  in the document preamble.
19233 \end_layout
19234
19235 \end_inset
19236
19237
19238 \end_layout
19239
19240 \begin_layout Standard
19241 \begin_inset Note Greyedout
19242 status open
19243
19244 \begin_layout Standard
19245
19246 \series bold
19247 Note:
19248 \series default
19249  
19250 \series bold
19251 hypcap
19252 \series default
19253  has no effect for references to subfigures.
19254 \end_layout
19255
19256 \end_inset
19257
19258
19259 \end_layout
19260
19261 \begin_layout Section
19262 Float Placement
19263 \begin_inset LatexCommand label
19264 name "sec:Float-Placement"
19265
19266 \end_inset
19267
19268
19269 \begin_inset LatexCommand index
19270 name "Floats ! Placement"
19271
19272 \end_inset
19273
19274
19275 \end_layout
19276
19277 \begin_layout Standard
19278 Right-clicking on a float-box opens a dialog where you can alter the placement
19279  options that LaTeX uses for positioning the float.
19280 \newline
19281 The option 
19282 \family sans
19283 Span\InsetSpace ~
19284 columns
19285 \family default
19286  is only useful for two-column documents: If you select it, the float will
19287  span across both columns on the page instead of being confined to just
19288  one.
19289 \newline
19290 The option 
19291 \family sans
19292 Rotate\InsetSpace ~
19293 sideways
19294 \family default
19295  is used to rotate floats, see section 
19296 \begin_inset LatexCommand ref
19297 reference "sec:Rotated-Floats"
19298
19299 \end_inset
19300
19301 .
19302 \end_layout
19303
19304 \begin_layout Standard
19305 You can use one ore more of the following options in the float dialog to
19306  set the placement for a particular float when you uncheck the option 
19307 \family sans
19308 Use\InsetSpace ~
19309 default\InsetSpace ~
19310 placement
19311 \family default
19312 :
19313 \end_layout
19314
19315 \begin_layout Description
19316 Here\InsetSpace ~
19317 if\InsetSpace ~
19318 possible try to place the float on the position where it is inserted
19319 \end_layout
19320
19321 \begin_layout Description
19322 Top\InsetSpace ~
19323 of\InsetSpace ~
19324 page try to place the float on the top of the current page
19325 \end_layout
19326
19327 \begin_layout Description
19328 Bottom\InsetSpace ~
19329 of\InsetSpace ~
19330 page try to place the float on the bottom of the current page
19331 \end_layout
19332
19333 \begin_layout Description
19334 Page\InsetSpace ~
19335 of\InsetSpace ~
19336 floats try to place the float on an own page 
19337 \end_layout
19338
19339 \begin_layout Standard
19340 The order of the above option is 
19341 \emph on
19342 always
19343 \emph default
19344  used by LaTeX.
19345  That means, if you use the default placement, LaTeX will first try out
19346  
19347 \family sans
19348 Here\InsetSpace ~
19349 if\InsetSpace ~
19350 possible
19351 \family default
19352 , then 
19353 \family sans
19354 Top\InsetSpace ~
19355 of\InsetSpace ~
19356 page
19357 \family default
19358 , and then the others.
19359  If you don't use the default, LaTeX will try only the checked options but
19360  in the same order.
19361  If none of the 4 placements are possible the procedure is internally repeated
19362  but it is tried to put the float on the following page.
19363 \end_layout
19364
19365 \begin_layout Standard
19366 By default, each option has its own rules:
19367 \end_layout
19368
19369 \begin_layout Labeling
19370 \labelwidthstring 00.00.0000
19371
19372 \family sans
19373 Top\InsetSpace ~
19374 of\InsetSpace ~
19375 page
19376 \family default
19377  only floats occupying less than 70\InsetSpace \thinspace{}
19378 % of the page can be placed at the top
19379  of a page (
19380 \series bold
19381
19382 \backslash
19383 topfraction
19384 \series default
19385 )
19386 \end_layout
19387
19388 \begin_layout Labeling
19389 \labelwidthstring 00.00.0000
19390
19391 \family sans
19392 Bottom\InsetSpace ~
19393 of\InsetSpace ~
19394 page
19395 \family default
19396 : only floats occupying less than 30\InsetSpace \thinspace{}
19397 % of the page can be placed at the bottom
19398  of a page.
19399  (
19400 \series bold
19401
19402 \backslash
19403 bottomfraction
19404 \series default
19405 )
19406 \end_layout
19407
19408 \begin_layout Labeling
19409 \labelwidthstring 00.00.0000
19410
19411 \family sans
19412 Page\InsetSpace ~
19413 of\InsetSpace ~
19414 floats
19415 \family default
19416 : only if more than 50\InsetSpace \thinspace{}
19417 % of the page are occupied by floats, several floats
19418  can be set together on a page.
19419  (
19420 \series bold
19421
19422 \backslash
19423 f\SpecialChar \textcompwordmark{}
19424 loatpagefraction
19425 \series default
19426 )
19427 \end_layout
19428
19429 \begin_layout Standard
19430 If you don't like these rules, you can ignore them by using the additional
19431  option 
19432 \family sans
19433 Ignore\InsetSpace ~
19434 LaTeX\InsetSpace ~
19435 rules
19436 \family default
19437 .
19438 \newline
19439 You can also redefine the rules with LaTeX-commands that are given in parenthese
19440 s behind the rules description above.
19441  To increase for example the often too small default of the bottom-rule
19442  to 50\InsetSpace \thinspace{}
19443 % of the page, add this line to your document preamble:
19444 \end_layout
19445
19446 \begin_layout Standard
19447
19448 \series bold
19449
19450 \backslash
19451 renewcommand{
19452 \backslash
19453 bottomfraction}{0.5}
19454 \end_layout
19455
19456 \begin_layout Standard
19457 Sometimes you might need, under all circumstances, a float to be placed
19458  exactly at the position where it is inserted.
19459  For this case you can use the option 
19460 \family sans
19461 Here\InsetSpace ~
19462 definitely
19463 \family default
19464 .
19465  Use this option very rarely and only if the document is nearly ready to
19466  be printed.
19467  Because the float is then no longer able to 
19468 \begin_inset Quotes eld
19469 \end_inset
19470
19471 float
19472 \begin_inset Quotes erd
19473 \end_inset
19474
19475  when you change your document and this will often destroy the page layout.
19476 \end_layout
19477
19478 \begin_layout Standard
19479 There are no placement options for text wrap floats, because they are always
19480  surrounded by the text of a certain paragraph.
19481 \begin_inset VSpace bigskip
19482 \end_inset
19483
19484
19485 \end_layout
19486
19487 \begin_layout Standard
19488 Sometimes you have the problem that a float is placed at the top of a page
19489  while its corresponding section starts at the middle of the page, so that
19490  the reader could think the float is part of the previous section.
19491  To avoid this the LaTeX-command 
19492 \series bold
19493
19494 \backslash
19495 suppressf\SpecialChar \textcompwordmark{}
19496 loats
19497 \series default
19498  can be used.
19499  It suppresses a given float placement for the page where it is inserted
19500  and can therefore be used to avoid that floats could be set before a section
19501  starts.
19502  To get this, add these commands to your document preamble:
19503 \end_layout
19504
19505 \begin_layout Standard
19506
19507 \series bold
19508
19509 \backslash
19510 let
19511 \backslash
19512 mySection
19513 \backslash
19514 section
19515 \newline
19516
19517 \backslash
19518 renewcommand{
19519 \backslash
19520 section}{
19521 \backslash
19522 suppressf\SpecialChar \textcompwordmark{}
19523 loats[t]
19524 \backslash
19525 mySection}
19526 \end_layout
19527
19528 \begin_layout Standard
19529 You can define the same for all section headings, like chapters and subsections.
19530  This definition is not recommended to be used for small text parts like
19531  subsubsections because LaTeX may then have problems to find a suitable
19532  placement.
19533 \end_layout
19534
19535 \begin_layout Standard
19536 \begin_inset VSpace bigskip
19537 \end_inset
19538
19539 In some cases it is required to have all figures/tables at the end of the
19540  document.
19541  For this purpose the LaTeX-package 
19542 \series bold
19543 endf\SpecialChar \textcompwordmark{}
19544 loat
19545 \series default
19546
19547 \begin_inset LatexCommand index
19548 name "LaTeX-packages ! endfloat"
19549
19550 \end_inset
19551
19552  was developed.
19553  It puts all figure and table floats at the end of the document into own
19554  sections.
19555  At the original float position a text hint like 
19556 \begin_inset Quotes eld
19557 \end_inset
19558
19559
19560 \family sans
19561 [Figure\InsetSpace ~
19562 3.2 about here.]
19563 \family default
19564
19565 \begin_inset Quotes erd
19566 \end_inset
19567
19568  is inserted.
19569  The endfloat-package is loaded in the preamble with the line
19570 \end_layout
19571
19572 \begin_layout Standard
19573
19574 \series bold
19575
19576 \backslash
19577 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19578 loat}
19579 \end_layout
19580
19581 \begin_layout Standard
19582 There are various package options to format the created figure/table sections.
19583  For more information we refer to the 
19584 \series bold
19585 endf\SpecialChar \textcompwordmark{}
19586 loat
19587 \series default
19588  documentation 
19589 \begin_inset LatexCommand cite
19590 key "endfloat"
19591
19592 \end_inset
19593
19594 .
19595 \newline
19596
19597 \begin_inset Note Greyedout
19598 status open
19599
19600 \begin_layout Standard
19601
19602 \series bold
19603 Note: endf\SpecialChar \textcompwordmark{}
19604 loat
19605 \series default
19606  doesn't provide an automatic translation for the text hint, you have to
19607  do this manually, see section\InsetSpace ~
19608 4 in 
19609 \begin_inset LatexCommand cite
19610 key "endfloat"
19611
19612 \end_inset
19613
19614 .
19615 \end_layout
19616
19617 \end_inset
19618
19619
19620 \newline
19621
19622 \begin_inset Note Greyedout
19623 status open
19624
19625 \begin_layout Standard
19626
19627 \series bold
19628 Note:
19629 \series default
19630  There is currently a bug in 
19631 \series bold
19632 endf\SpecialChar \textcompwordmark{}
19633 loat
19634 \series default
19635  when the caption contains a German 
19636 \begin_inset Quotes eld
19637 \end_inset
19638
19639 ß
19640 \begin_inset Quotes erd
19641 \end_inset
19642
19643 .
19644  Use in this case the command 
19645 \begin_inset Quotes eld
19646 \end_inset
19647
19648
19649 \series bold
19650
19651 \backslash
19652 ss
19653 \series default
19654
19655 \begin_inset Quotes erd
19656 \end_inset
19657
19658  in ERT instead of 
19659 \begin_inset Quotes eld
19660 \end_inset
19661
19662 ß
19663 \begin_inset Quotes erd
19664 \end_inset
19665
19666 .
19667 \end_layout
19668
19669 \end_inset
19670
19671
19672 \end_layout
19673
19674 \begin_layout Standard
19675 \begin_inset VSpace bigskip
19676 \end_inset
19677
19678 For more details about float placements, have a look at LaTeX books, 
19679 \begin_inset LatexCommand cite
19680 key "latexcompanion,latexguide,latexbook"
19681
19682 \end_inset
19683
19684 .
19685 \end_layout
19686
19687 \begin_layout Section
19688 Rotated Floats
19689 \begin_inset LatexCommand label
19690 name "sec:Rotated-Floats"
19691
19692 \end_inset
19693
19694
19695 \begin_inset LatexCommand index
19696 name "Floats ! Rotating"
19697
19698 \end_inset
19699
19700
19701 \end_layout
19702
19703 \begin_layout Standard
19704 Especially for wide tables you might have floats rotated.
19705  To rotate a whole float including the caption, right-click on the float-box
19706  and use the option 
19707 \family sans
19708 Rotate\InsetSpace ~
19709 sideways
19710 \family default
19711 .
19712 \end_layout
19713
19714 \begin_layout Standard
19715 Rotated floats are always placed on its own page (or column, when you have
19716  a two-column document).
19717  They are normally rotated so that you can read them from the outside margin
19718  -- to the left on even pages, to the right on odd pages.
19719  To force a certain rotation direction for all pages, you can add either
19720  the option 
19721 \series bold
19722 f\SpecialChar \textcompwordmark{}
19723 iguresleft
19724 \series default
19725  or 
19726 \series bold
19727 f\SpecialChar \textcompwordmark{}
19728 iguresright
19729 \series default
19730  to the document class options.
19731 \end_layout
19732
19733 \begin_layout Standard
19734 Referencing rotated floats is the same like for normal floats, the caption
19735  format is also the same: Table\InsetSpace ~
19736
19737 \begin_inset LatexCommand ref
19738 reference "tab:Rotated-table"
19739
19740 \end_inset
19741
19742  is an example of a rotated table float.
19743 \end_layout
19744
19745 \begin_layout Standard
19746 \begin_inset Note Greyedout
19747 status open
19748
19749 \begin_layout Standard
19750
19751 \series bold
19752 Note:
19753 \series default
19754  Not all DVI-viewers are able to display rotated floats.
19755 \end_layout
19756
19757 \end_inset
19758
19759
19760 \end_layout
19761
19762 \begin_layout Standard
19763 \begin_inset Float table
19764 wide false
19765 sideways true
19766 status open
19767
19768 \begin_layout Standard
19769 \begin_inset Caption
19770
19771 \begin_layout Standard
19772 \begin_inset LatexCommand label
19773 name "tab:Rotated-table"
19774
19775 \end_inset
19776
19777  Rotated table
19778 \end_layout
19779
19780 \end_inset
19781
19782
19783 \end_layout
19784
19785 \begin_layout Standard
19786 \align center
19787 \begin_inset Tabular
19788 <lyxtabular version="3" rows="1" columns="5">
19789 <features>
19790 <column alignment="center" valignment="top" leftline="true" width="0">
19791 <column alignment="center" valignment="top" leftline="true" width="0">
19792 <column alignment="center" valignment="top" leftline="true" width="0">
19793 <column alignment="center" valignment="top" leftline="true" width="0">
19794 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19795 <row topline="true" bottomline="true">
19796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19797 \begin_inset Text
19798
19799 \begin_layout Standard
19800 test
19801 \end_layout
19802
19803 \end_inset
19804 </cell>
19805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19806 \begin_inset Text
19807
19808 \begin_layout Standard
19809 b
19810 \end_layout
19811
19812 \end_inset
19813 </cell>
19814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19815 \begin_inset Text
19816
19817 \begin_layout Standard
19818 c
19819 \end_layout
19820
19821 \end_inset
19822 </cell>
19823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19824 \begin_inset Text
19825
19826 \begin_layout Standard
19827 d
19828 \end_layout
19829
19830 \end_inset
19831 </cell>
19832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19833 \begin_inset Text
19834
19835 \begin_layout Standard
19836 e
19837 \end_layout
19838
19839 \end_inset
19840 </cell>
19841 </row>
19842 </lyxtabular>
19843
19844 \end_inset
19845
19846
19847 \end_layout
19848
19849 \end_inset
19850
19851
19852 \end_layout
19853
19854 \begin_layout Section
19855 Caption Formatting
19856 \begin_inset LatexCommand index
19857 name "Caption ! Formatting"
19858
19859 \end_inset
19860
19861
19862 \begin_inset LatexCommand index
19863 name "Floats ! Caption Formatting"
19864
19865 \end_inset
19866
19867
19868 \begin_inset LatexCommand index
19869 name "LaTeX-packages ! caption"
19870
19871 \end_inset
19872
19873
19874 \begin_inset LatexCommand label
19875 name "sec:Caption-Formatting"
19876
19877 \end_inset
19878
19879
19880 \end_layout
19881
19882 \begin_layout Standard
19883 The 
19884 \family sans
19885 Caption
19886 \family default
19887  environment is the default paragraph environment for 
19888 \family sans
19889 Floats
19890 \family default
19891 .
19892  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19893 g.\InsetSpace ~
19894
19895 \begin_inset Quotes eld
19896 \end_inset
19897
19898
19899 \family sans
19900 Figure #:
19901 \family default
19902
19903 \begin_inset Quotes erd
19904 \end_inset
19905
19906  followed by the caption text.
19907  
19908 \begin_inset Quotes eld
19909 \end_inset
19910
19911 #
19912 \begin_inset Quotes erd
19913 \end_inset
19914
19915  is the actual reference number.
19916  By default the label and the number are in the same font as the caption
19917  text and a colon follows the number to divide the label from the text.
19918  This caption format is not suitable for all document formats.
19919  
19920 \end_layout
19921
19922 \begin_layout Standard
19923 To change the default caption format, load the LaTeX-package 
19924 \series bold
19925 caption
19926 \series default
19927
19928 \begin_inset LatexCommand index
19929 name "LaTeX-packages ! caption"
19930
19931 \end_inset
19932
19933  in the document preamble with this line:
19934 \end_layout
19935
19936 \begin_layout Standard
19937
19938 \series bold
19939
19940 \backslash
19941 usepackage[format definition]{caption}
19942 \end_layout
19943
19944 \begin_layout Standard
19945 To have for example the label and the number in sans-serif bold font and
19946  the table captions always above the table like in this document, use the
19947  following command:
19948 \end_layout
19949
19950 \begin_layout Standard
19951
19952 \series bold
19953
19954 \backslash
19955 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19956 \end_layout
19957
19958 \begin_layout Standard
19959 You can also define different caption formats for the different float types.
19960  In this case load the 
19961 \series bold
19962 caption
19963 \series default
19964  package without format specific options and define the different formats
19965  with the help of the command
19966 \end_layout
19967
19968 \begin_layout Standard
19969
19970 \series bold
19971
19972 \backslash
19973 captionsetup[float type]{format definition}
19974 \end_layout
19975
19976 \begin_layout Standard
19977 in the document preamble.
19978  For example the caption formats of Figure\InsetSpace ~
19979
19980 \begin_inset LatexCommand ref
19981 reference "fig:This-is-an-fig"
19982
19983 \end_inset
19984
19985  and Table\InsetSpace ~
19986
19987 \begin_inset LatexCommand ref
19988 reference "tab:This-is-an-tab"
19989
19990 \end_inset
19991
19992  can be created using these commands in the document preamble:
19993 \end_layout
19994
19995 \begin_layout Standard
19996
19997 \series bold
19998
19999 \backslash
20000 usepackage[tableposition=top]{caption}
20001 \series default
20002
20003 \newline
20004
20005 \series bold
20006
20007 \backslash
20008 captionsetup[f\SpecialChar \textcompwordmark{}
20009 igure]{labelfont={tt}, textfont=it, indention=1cm,%
20010 \newline
20011
20012 \begin_inset ERT
20013 status collapsed
20014
20015 \begin_layout Standard
20016
20017
20018 \backslash
20019 hphantom{
20020 \backslash
20021
20022 \backslash
20023 captionsetup[figure]
20024 \backslash
20025 {}
20026 \end_layout
20027
20028 \end_inset
20029
20030  labelsep=period}
20031 \newline
20032
20033 \backslash
20034 captionsetup[table]{labelfont={bf,sf}}
20035 \end_layout
20036
20037 \begin_layout Standard
20038 \begin_inset Note Greyedout
20039 status open
20040
20041 \begin_layout Standard
20042
20043 \series bold
20044 Note:
20045 \series default
20046  The option 
20047 \series bold
20048 tableposition=top
20049 \series default
20050  has no effect when a 
20051 \series bold
20052 koma-script
20053 \series default
20054
20055 \begin_inset LatexCommand index
20056 name "LaTeX-packages ! koma-script"
20057
20058 \end_inset
20059
20060  document class is used.
20061  In this case the document class option 
20062 \series bold
20063 tablecaptionabove
20064 \series default
20065  must be used.
20066 \end_layout
20067
20068 \end_inset
20069
20070
20071 \end_layout
20072
20073 \begin_layout Standard
20074 For more information about the package 
20075 \series bold
20076 caption
20077 \series default
20078  we refer to its documentation 
20079 \begin_inset LatexCommand cite
20080 key "caption,caption-de"
20081
20082 \end_inset
20083
20084 .
20085 \end_layout
20086
20087 \begin_layout Standard
20088 To change the label name from e.g.
20089  
20090 \begin_inset Quotes eld
20091 \end_inset
20092
20093 Figure
20094 \begin_inset Quotes erd
20095 \end_inset
20096
20097  to 
20098 \begin_inset Quotes eld
20099 \end_inset
20100
20101 Image
20102 \begin_inset Quotes erd
20103 \end_inset
20104
20105  use this preamble command:
20106 \end_layout
20107
20108 \begin_layout Standard
20109
20110 \series bold
20111
20112 \backslash
20113 renewcommand{
20114 \backslash
20115 fnum@figure}{Image~
20116 \backslash
20117 thefigure}
20118 \end_layout
20119
20120 \begin_layout Standard
20121 where 
20122 \series bold
20123
20124 \backslash
20125 thefigure
20126 \series default
20127  inserts the figure number and
20128 \series bold
20129  
20130 \begin_inset Quotes eld
20131 \end_inset
20132
20133 ~
20134 \series default
20135
20136 \begin_inset Quotes erd
20137 \end_inset
20138
20139  creates a protected space.
20140 \end_layout
20141
20142 \begin_layout Standard
20143 \begin_inset VSpace bigskip
20144 \end_inset
20145
20146 If you are using a 
20147 \series bold
20148 koma-script
20149 \series default
20150
20151 \begin_inset LatexCommand index
20152 name "LaTeX-packages ! koma-script"
20153
20154 \end_inset
20155
20156  document class (
20157 \family sans
20158 article (koma-script)
20159 \family default
20160
20161 \family sans
20162 book (koma-script)
20163 \family default
20164
20165 \family sans
20166 letter (koma-script)
20167 \family default
20168 , or 
20169 \family sans
20170 report (koma-script)
20171 \family default
20172 \InsetSpace \thinspace{}
20173 ), you can alternatively to the 
20174 \series bold
20175 caption
20176 \series default
20177  package use 
20178 \series bold
20179 koma-script
20180 \series default
20181 's built-in command 
20182 \series bold
20183
20184 \backslash
20185 setkomafont
20186 \series default
20187 .
20188  For example, to have the caption label in bold, add this command to your
20189  document preamble:
20190 \end_layout
20191
20192 \begin_layout Standard
20193
20194 \series bold
20195
20196 \backslash
20197 setkomafont{captionlabel}{
20198 \backslash
20199 bfseries}
20200 \end_layout
20201
20202 \begin_layout Standard
20203 For more information about 
20204 \series bold
20205
20206 \backslash
20207 setkomafont
20208 \series default
20209  we refer to the 
20210 \series bold
20211 koma-script
20212 \series default
20213  documentation 
20214 \begin_inset LatexCommand cite
20215 key "koma-script,koma-script-de"
20216
20217 \end_inset
20218
20219 .
20220 \end_layout
20221
20222 \begin_layout Standard
20223 \begin_inset ERT
20224 status collapsed
20225
20226 \begin_layout Standard
20227
20228
20229 \backslash
20230 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
20231 }
20232 \end_layout
20233
20234 \end_inset
20235
20236
20237 \begin_inset Note Note
20238 status open
20239
20240 \begin_layout Standard
20241 The caption format is changed only for this example.
20242 \end_layout
20243
20244 \end_inset
20245
20246
20247 \end_layout
20248
20249 \begin_layout Standard
20250 \begin_inset Float figure
20251 placement !p
20252 wide false
20253 sideways false
20254 status open
20255
20256 \begin_layout Standard
20257 \align center
20258 \begin_inset Graphics
20259         filename clipart/mobius.eps
20260         lyxscale 50
20261         scale 50
20262         scaleBeforeRotation
20263
20264 \end_inset
20265
20266
20267 \end_layout
20268
20269 \begin_layout Standard
20270 \begin_inset Caption
20271
20272 \begin_layout Standard
20273 \begin_inset LatexCommand label
20274 name "fig:This-is-an-fig"
20275
20276 \end_inset
20277
20278 This is an example figure caption that is longer than one line to show the
20279  different caption format.
20280  Here a self-defined caption format is used.
20281 \end_layout
20282
20283 \end_inset
20284
20285
20286 \end_layout
20287
20288 \end_inset
20289
20290
20291 \end_layout
20292
20293 \begin_layout Standard
20294 \begin_inset ERT
20295 status collapsed
20296
20297 \begin_layout Standard
20298
20299
20300 \backslash
20301 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
20302 on}
20303 \end_layout
20304
20305 \end_inset
20306
20307
20308 \end_layout
20309
20310 \begin_layout Standard
20311 \begin_inset Float table
20312 placement !p
20313 wide false
20314 sideways false
20315 status open
20316
20317 \begin_layout Standard
20318 \begin_inset Caption
20319
20320 \begin_layout Standard
20321 \begin_inset LatexCommand label
20322 name "tab:This-is-an-tab"
20323
20324 \end_inset
20325
20326 This is an example table caption that is longer than one line to show the
20327  different caption format.
20328  Here the standard caption format for tables in this document is used.
20329 \end_layout
20330
20331 \end_inset
20332
20333
20334 \end_layout
20335
20336 \begin_layout Standard
20337 \align center
20338 \begin_inset Tabular
20339 <lyxtabular version="3" rows="1" columns="5">
20340 <features>
20341 <column alignment="center" valignment="top" leftline="true" width="0">
20342 <column alignment="center" valignment="top" leftline="true" width="0">
20343 <column alignment="center" valignment="top" leftline="true" width="0">
20344 <column alignment="center" valignment="top" leftline="true" width="0">
20345 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20346 <row topline="true" bottomline="true">
20347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20348 \begin_inset Text
20349
20350 \begin_layout Standard
20351 a
20352 \end_layout
20353
20354 \end_inset
20355 </cell>
20356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20357 \begin_inset Text
20358
20359 \begin_layout Standard
20360 b
20361 \end_layout
20362
20363 \end_inset
20364 </cell>
20365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20366 \begin_inset Text
20367
20368 \begin_layout Standard
20369 c
20370 \end_layout
20371
20372 \end_inset
20373 </cell>
20374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20375 \begin_inset Text
20376
20377 \begin_layout Standard
20378 d
20379 \end_layout
20380
20381 \end_inset
20382 </cell>
20383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20384 \begin_inset Text
20385
20386 \begin_layout Standard
20387 e
20388 \end_layout
20389
20390 \end_inset
20391 </cell>
20392 </row>
20393 </lyxtabular>
20394
20395 \end_inset
20396
20397
20398 \end_layout
20399
20400 \end_inset
20401
20402
20403 \end_layout
20404
20405 \begin_layout Section
20406 Caption Placement
20407 \begin_inset LatexCommand index
20408 name "Caption ! Placement"
20409
20410 \end_inset
20411
20412
20413 \begin_inset LatexCommand index
20414 name "Floats ! Caption Placement"
20415
20416 \end_inset
20417
20418
20419 \begin_inset LatexCommand label
20420 name "sec:Caption-Placement"
20421
20422 \end_inset
20423
20424
20425 \end_layout
20426
20427 \begin_layout Standard
20428 The common caption placement rule is:
20429 \end_layout
20430
20431 \begin_layout Description
20432 Figure: Caption is set below the figure
20433 \end_layout
20434
20435 \begin_layout Description
20436 Table: Caption is set above the table
20437 \end_layout
20438
20439 \begin_layout Standard
20440 Having the caption above the table is unfortunately not supported in LaTeX's
20441  standard classes.
20442  That means if you are using the document classes 
20443 \family sans
20444 article
20445 \family default
20446
20447 \family sans
20448 book
20449 \family default
20450
20451 \family sans
20452 letter
20453 \family default
20454 , or 
20455 \family sans
20456 report
20457 \family default
20458  there will be no space between the caption and the table.
20459  To insert the needed space, add the following option to the load command
20460  of the LaTeX-package 
20461 \series bold
20462 caption
20463 \series default
20464  in your document preamble
20465 \begin_inset Foot
20466 status collapsed
20467
20468 \begin_layout Standard
20469 See section\InsetSpace ~
20470
20471 \begin_inset LatexCommand ref
20472 reference "sec:Caption-Formatting"
20473
20474 \end_inset
20475
20476  for more information of the package 
20477 \series bold
20478 caption
20479 \series default
20480 .
20481 \end_layout
20482
20483 \end_inset
20484
20485 :
20486 \end_layout
20487
20488 \begin_layout Standard
20489
20490 \series bold
20491 tableposition=top
20492 \end_layout
20493
20494 \begin_layout Standard
20495 If you are using a 
20496 \series bold
20497 koma-script
20498 \series default
20499
20500 \begin_inset LatexCommand index
20501 name "LaTeX-packages ! koma-script"
20502
20503 \end_inset
20504
20505  document class (
20506 \family sans
20507 article (koma-script)
20508 \family default
20509
20510 \family sans
20511 book (koma-script)
20512 \family default
20513
20514 \family sans
20515 letter (koma-script)
20516 \family default
20517 , or 
20518 \family sans
20519 report (koma-script)
20520 \family default
20521 \InsetSpace \thinspace{}
20522 ), you can alternatively to the 
20523 \series bold
20524 caption
20525 \series default
20526  package set the document class option 
20527 \series bold
20528 tablecaptionabove
20529 \series default
20530 .
20531 \end_layout
20532
20533 \begin_layout Standard
20534 \begin_inset VSpace bigskip
20535 \end_inset
20536
20537 It is also possible to set the caption beside a figure or table.
20538  To get this the LaTeX-package 
20539 \series bold
20540 sidecap
20541 \series default
20542
20543 \begin_inset LatexCommand index
20544 name "LaTeX-packages ! sidecap"
20545
20546 \end_inset
20547
20548  has to be loaded in the document preamble with the line
20549 \end_layout
20550
20551 \begin_layout Standard
20552
20553 \series bold
20554
20555 \backslash
20556 usepackage[option]{sidecap}
20557 \end_layout
20558
20559 \begin_layout Standard
20560 If you set no option, the caption is placed on the side of the outer page
20561  margin -- to the right on odd pages, to the left on even pages.
20562  You can change the placement to inner margin with the option 
20563 \series bold
20564 innercaption
20565 \series default
20566 .
20567  To force the placement always to the right or left, use the option 
20568 \series bold
20569 rightcaption
20570 \series default
20571  or 
20572 \series bold
20573 leftcaption
20574 \series default
20575 , respectively.
20576 \end_layout
20577
20578 \begin_layout Standard
20579 To place in LyX the caption of a float on the side, it is necessary to add
20580  these commands to the document preamble:
20581 \end_layout
20582
20583 \begin_layout Standard
20584
20585 \lyxline
20586
20587 \end_layout
20588
20589 \begin_layout Standard
20590
20591 \series bold
20592
20593 \backslash
20594 newcommand{
20595 \backslash
20596 TabBesBeg}{%
20597 \newline
20598
20599 \begin_inset ERT
20600 status collapsed
20601
20602 \begin_layout Standard
20603
20604
20605 \backslash
20606 hphantom{ }
20607 \end_layout
20608
20609 \end_inset
20610
20611
20612 \backslash
20613 let
20614 \backslash
20615 MyTable
20616 \backslash
20617 table
20618 \newline
20619
20620 \begin_inset ERT
20621 status collapsed
20622
20623 \begin_layout Standard
20624
20625
20626 \backslash
20627 hphantom{ }
20628 \end_layout
20629
20630 \end_inset
20631
20632
20633 \backslash
20634 let
20635 \backslash
20636 MyEndtable
20637 \backslash
20638 endtable
20639 \newline
20640
20641 \begin_inset ERT
20642 status collapsed
20643
20644 \begin_layout Standard
20645
20646
20647 \backslash
20648 hphantom{ }
20649 \end_layout
20650
20651 \end_inset
20652
20653
20654 \backslash
20655 renewenvironment{table}{
20656 \backslash
20657 begin{SCtable}}{
20658 \backslash
20659 end{SCtable}}}
20660 \end_layout
20661
20662 \begin_layout Standard
20663
20664 \series bold
20665
20666 \backslash
20667 newcommand{
20668 \backslash
20669 TabBesEnd}{%
20670 \newline
20671
20672 \begin_inset ERT
20673 status collapsed
20674
20675 \begin_layout Standard
20676
20677
20678 \backslash
20679 hphantom{ }
20680 \end_layout
20681
20682 \end_inset
20683
20684
20685 \backslash
20686 let
20687 \backslash
20688 table
20689 \backslash
20690 MyTable
20691 \newline
20692
20693 \begin_inset ERT
20694 status collapsed
20695
20696 \begin_layout Standard
20697
20698
20699 \backslash
20700 hphantom{ }
20701 \end_layout
20702
20703 \end_inset
20704
20705
20706 \backslash
20707 let
20708 \backslash
20709 endtable
20710 \backslash
20711 MyEndtable
20712 \end_layout
20713
20714 \begin_layout Standard
20715
20716 \series bold
20717
20718 \backslash
20719 newcommand{
20720 \backslash
20721 FigBesBeg}{%
20722 \newline
20723
20724 \begin_inset ERT
20725 status collapsed
20726
20727 \begin_layout Standard
20728
20729
20730 \backslash
20731 hphantom{ }
20732 \end_layout
20733
20734 \end_inset
20735
20736
20737 \backslash
20738 let
20739 \backslash
20740 MyFigure
20741 \backslash
20742 f\SpecialChar \textcompwordmark{}
20743 igure
20744 \newline
20745
20746 \begin_inset ERT
20747 status collapsed
20748
20749 \begin_layout Standard
20750
20751
20752 \backslash
20753 hphantom{ }
20754 \end_layout
20755
20756 \end_inset
20757
20758
20759 \backslash
20760 let
20761 \backslash
20762 MyEndf\SpecialChar \textcompwordmark{}
20763 igure
20764 \backslash
20765 endf\SpecialChar \textcompwordmark{}
20766 igure
20767 \newline
20768
20769 \begin_inset ERT
20770 status collapsed
20771
20772 \begin_layout Standard
20773
20774
20775 \backslash
20776 hphantom{ }
20777 \end_layout
20778
20779 \end_inset
20780
20781
20782 \backslash
20783 renewenvironment{f\SpecialChar \textcompwordmark{}
20784 igure}{
20785 \backslash
20786 begin{SCf\SpecialChar \textcompwordmark{}
20787 igure}}{
20788 \backslash
20789 end{SCf\SpecialChar \textcompwordmark{}
20790 igure}}}
20791 \end_layout
20792
20793 \begin_layout Standard
20794
20795 \series bold
20796
20797 \backslash
20798 newcommand{
20799 \backslash
20800 FigBesEnd}{%
20801 \newline
20802
20803 \begin_inset ERT
20804 status collapsed
20805
20806 \begin_layout Standard
20807
20808
20809 \backslash
20810 hphantom{ }
20811 \end_layout
20812
20813 \end_inset
20814
20815
20816 \backslash
20817 let
20818 \backslash
20819 f\SpecialChar \textcompwordmark{}
20820 igure
20821 \backslash
20822 MyFigure
20823 \newline
20824
20825 \begin_inset ERT
20826 status collapsed
20827
20828 \begin_layout Standard
20829
20830
20831 \backslash
20832 hphantom{ }
20833 \end_layout
20834
20835 \end_inset
20836
20837
20838 \backslash
20839 let
20840 \backslash
20841 endf\SpecialChar \textcompwordmark{}
20842 igure
20843 \backslash
20844 MyEndf\SpecialChar \textcompwordmark{}
20845 igure}
20846 \end_layout
20847
20848 \begin_layout Standard
20849
20850 \lyxline
20851
20852 \end_layout
20853
20854 \begin_layout Standard
20855 The commands allow you to redefine the floats so that the caption is set
20856  on the side.
20857  For figure floats use the command
20858 \end_layout
20859
20860 \begin_layout Standard
20861
20862 \series bold
20863
20864 \backslash
20865 FigBesBeg
20866 \end_layout
20867
20868 \begin_layout Standard
20869 in ERT before the float.
20870  Behind the float insert the command
20871 \end_layout
20872
20873 \begin_layout Standard
20874
20875 \series bold
20876
20877 \backslash
20878 FigBesEnd
20879 \end_layout
20880
20881 \begin_layout Standard
20882 in ERT to get back to the original float definition.
20883 \end_layout
20884
20885 \begin_layout Standard
20886 For table floats use the corresponding commands
20887 \end_layout
20888
20889 \begin_layout Standard
20890
20891 \series bold
20892
20893 \backslash
20894 TabBesBeg
20895 \series default
20896  and 
20897 \series bold
20898
20899 \backslash
20900 TabBesEnd
20901 \end_layout
20902
20903 \begin_layout Standard
20904 Figure\InsetSpace ~
20905
20906 \begin_inset LatexCommand ref
20907 reference "fig:cap-beside-fig"
20908
20909 \end_inset
20910
20911  and Table\InsetSpace ~
20912
20913 \begin_inset LatexCommand ref
20914 reference "tab:cap-beside-tab"
20915
20916 \end_inset
20917
20918  are examples where the caption is set beside.
20919 \end_layout
20920
20921 \begin_layout Standard
20922 You can see in the examples that the caption text appears at the top of
20923  the floats for table floats and at the bottom for figure floats.
20924  To change this, you can use the command
20925 \end_layout
20926
20927 \begin_layout Standard
20928
20929 \series bold
20930
20931 \backslash
20932 sidecaptionvpos{float type}{placement}
20933 \end_layout
20934
20935 \begin_layout Standard
20936 in the document preamble or in ERT before the float.
20937  The float type is either 
20938 \family sans
20939 figure
20940 \family default
20941  or 
20942 \family sans
20943 table
20944 \family default
20945 , the placement can be 
20946 \begin_inset Quotes eld
20947 \end_inset
20948
20949
20950 \family sans
20951 t
20952 \family default
20953
20954 \begin_inset Quotes erd
20955 \end_inset
20956
20957  for top, 
20958 \begin_inset Quotes eld
20959 \end_inset
20960
20961
20962 \family sans
20963 c
20964 \family default
20965
20966 \begin_inset Quotes erd
20967 \end_inset
20968
20969  for center, or 
20970 \begin_inset Quotes eld
20971 \end_inset
20972
20973
20974 \family sans
20975 b
20976 \family default
20977
20978 \begin_inset Quotes erd
20979 \end_inset
20980
20981  for bottom.
20982  To have for example the caption of figure floats vertically centered, use
20983  the command
20984 \end_layout
20985
20986 \begin_layout Standard
20987
20988 \series bold
20989
20990 \backslash
20991 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20992 igure}{c}
20993 \end_layout
20994
20995 \begin_layout Standard
20996 This was used for Figure\InsetSpace ~
20997
20998 \begin_inset LatexCommand ref
20999 reference "fig:cap-beside-fig-2"
21000
21001 \end_inset
21002
21003 .
21004 \end_layout
21005
21006 \begin_layout Standard
21007 \begin_inset VSpace medskip
21008 \end_inset
21009
21010 For more information about the package 
21011 \series bold
21012 sidecap
21013 \series default
21014  we refer to its documentation 
21015 \begin_inset LatexCommand cite
21016 key "sidecap"
21017
21018 \end_inset
21019
21020 .
21021 \end_layout
21022
21023 \begin_layout Standard
21024 \begin_inset Note Greyedout
21025 status open
21026
21027 \begin_layout Standard
21028
21029 \series bold
21030 Note:
21031 \series default
21032  The LaTeX-package 
21033 \series bold
21034 hypcap
21035 \series default
21036
21037 \begin_inset LatexCommand index
21038 name "LaTeX-packages ! hypcap"
21039
21040 \end_inset
21041
21042 , described in section\InsetSpace ~
21043
21044 \begin_inset LatexCommand ref
21045 reference "sub:Reference-Position"
21046
21047 \end_inset
21048
21049 , has no effect on floats with the caption set beside.
21050 \end_layout
21051
21052 \end_inset
21053
21054
21055 \end_layout
21056
21057 \begin_layout Standard
21058 \begin_inset ERT
21059 status collapsed
21060
21061 \begin_layout Standard
21062
21063
21064 \backslash
21065 FigBesBeg 
21066 \end_layout
21067
21068 \end_inset
21069
21070
21071 \end_layout
21072
21073 \begin_layout Standard
21074 \begin_inset Float figure
21075 wide false
21076 sideways false
21077 status open
21078
21079 \begin_layout Standard
21080 \begin_inset Graphics
21081         filename clipart/escher-lsd.eps
21082         scale 75
21083         scaleBeforeRotation
21084
21085 \end_inset
21086
21087
21088 \end_layout
21089
21090 \begin_layout Standard
21091 \begin_inset Caption
21092
21093 \begin_layout Standard
21094 \begin_inset LatexCommand label
21095 name "fig:cap-beside-fig"
21096
21097 \end_inset
21098
21099 This is a caption beside a figure.
21100 \end_layout
21101
21102 \end_inset
21103
21104
21105 \end_layout
21106
21107 \end_inset
21108
21109
21110 \end_layout
21111
21112 \begin_layout Standard
21113 \begin_inset ERT
21114 status collapsed
21115
21116 \begin_layout Standard
21117
21118
21119 \backslash
21120 TabBesBeg 
21121 \end_layout
21122
21123 \end_inset
21124
21125
21126 \end_layout
21127
21128 \begin_layout Standard
21129 \begin_inset Float table
21130 wide false
21131 sideways false
21132 status open
21133
21134 \begin_layout Standard
21135 \begin_inset Caption
21136
21137 \begin_layout Standard
21138 \begin_inset LatexCommand label
21139 name "tab:cap-beside-tab"
21140
21141 \end_inset
21142
21143 This is a caption beside a table.
21144 \end_layout
21145
21146 \end_inset
21147
21148
21149 \end_layout
21150
21151 \begin_layout Standard
21152 \begin_inset Tabular
21153 <lyxtabular version="3" rows="4" columns="5">
21154 <features>
21155 <column alignment="center" valignment="top" leftline="true" width="0">
21156 <column alignment="center" valignment="top" leftline="true" width="0">
21157 <column alignment="center" valignment="top" leftline="true" width="0">
21158 <column alignment="center" valignment="top" leftline="true" width="0">
21159 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
21160 <row topline="true">
21161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21162 \begin_inset Text
21163
21164 \begin_layout Standard
21165 a
21166 \end_layout
21167
21168 \end_inset
21169 </cell>
21170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21171 \begin_inset Text
21172
21173 \begin_layout Standard
21174
21175 \end_layout
21176
21177 \end_inset
21178 </cell>
21179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21180 \begin_inset Text
21181
21182 \begin_layout Standard
21183 b
21184 \end_layout
21185
21186 \end_inset
21187 </cell>
21188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21189 \begin_inset Text
21190
21191 \begin_layout Standard
21192
21193 \end_layout
21194
21195 \end_inset
21196 </cell>
21197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21198 \begin_inset Text
21199
21200 \begin_layout Standard
21201 c
21202 \end_layout
21203
21204 \end_inset
21205 </cell>
21206 </row>
21207 <row topline="true">
21208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21209 \begin_inset Text
21210
21211 \begin_layout Standard
21212
21213 \end_layout
21214
21215 \end_inset
21216 </cell>
21217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21218 \begin_inset Text
21219
21220 \begin_layout Standard
21221 d
21222 \end_layout
21223
21224 \end_inset
21225 </cell>
21226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21227 \begin_inset Text
21228
21229 \begin_layout Standard
21230
21231 \end_layout
21232
21233 \end_inset
21234 </cell>
21235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21236 \begin_inset Text
21237
21238 \begin_layout Standard
21239 e
21240 \end_layout
21241
21242 \end_inset
21243 </cell>
21244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21245 \begin_inset Text
21246
21247 \begin_layout Standard
21248
21249 \end_layout
21250
21251 \end_inset
21252 </cell>
21253 </row>
21254 <row topline="true">
21255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21256 \begin_inset Text
21257
21258 \begin_layout Standard
21259 f
21260 \end_layout
21261
21262 \end_inset
21263 </cell>
21264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21265 \begin_inset Text
21266
21267 \begin_layout Standard
21268
21269 \end_layout
21270
21271 \end_inset
21272 </cell>
21273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21274 \begin_inset Text
21275
21276 \begin_layout Standard
21277 g
21278 \end_layout
21279
21280 \end_inset
21281 </cell>
21282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21283 \begin_inset Text
21284
21285 \begin_layout Standard
21286
21287 \end_layout
21288
21289 \end_inset
21290 </cell>
21291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21292 \begin_inset Text
21293
21294 \begin_layout Standard
21295 h
21296 \end_layout
21297
21298 \end_inset
21299 </cell>
21300 </row>
21301 <row topline="true" bottomline="true">
21302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21303 \begin_inset Text
21304
21305 \begin_layout Standard
21306
21307 \end_layout
21308
21309 \end_inset
21310 </cell>
21311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21312 \begin_inset Text
21313
21314 \begin_layout Standard
21315 i
21316 \end_layout
21317
21318 \end_inset
21319 </cell>
21320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21321 \begin_inset Text
21322
21323 \begin_layout Standard
21324
21325 \end_layout
21326
21327 \end_inset
21328 </cell>
21329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21330 \begin_inset Text
21331
21332 \begin_layout Standard
21333 j
21334 \end_layout
21335
21336 \end_inset
21337 </cell>
21338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21339 \begin_inset Text
21340
21341 \begin_layout Standard
21342
21343 \end_layout
21344
21345 \end_inset
21346 </cell>
21347 </row>
21348 </lyxtabular>
21349
21350 \end_inset
21351
21352
21353 \end_layout
21354
21355 \end_inset
21356
21357
21358 \end_layout
21359
21360 \begin_layout Standard
21361 \begin_inset ERT
21362 status collapsed
21363
21364 \begin_layout Standard
21365
21366
21367 \backslash
21368 TabBesEnd
21369 \end_layout
21370
21371 \end_inset
21372
21373
21374 \end_layout
21375
21376 \begin_layout Standard
21377 \begin_inset ERT
21378 status collapsed
21379
21380 \begin_layout Standard
21381
21382
21383 \backslash
21384 sidecaptionvpos{figure}{c}
21385 \end_layout
21386
21387 \end_inset
21388
21389
21390 \begin_inset Float figure
21391 wide false
21392 sideways false
21393 status open
21394
21395 \begin_layout Standard
21396 \begin_inset Graphics
21397         filename clipart/escher-lsd.eps
21398         scale 75
21399         scaleBeforeRotation
21400
21401 \end_inset
21402
21403
21404 \end_layout
21405
21406 \begin_layout Standard
21407 \begin_inset Caption
21408
21409 \begin_layout Standard
21410 \begin_inset LatexCommand label
21411 name "fig:cap-beside-fig-2"
21412
21413 \end_inset
21414
21415 This is a vertically centered caption beside a figure.
21416 \end_layout
21417
21418 \end_inset
21419
21420
21421 \end_layout
21422
21423 \end_inset
21424
21425
21426 \end_layout
21427
21428 \begin_layout Standard
21429 \begin_inset ERT
21430 status collapsed
21431
21432 \begin_layout Standard
21433
21434
21435 \backslash
21436 FigBesEnd
21437 \end_layout
21438
21439 \end_inset
21440
21441
21442 \end_layout
21443
21444 \begin_layout Section
21445 Listings of Floats
21446 \begin_inset LatexCommand label
21447 name "sec:Listings-of-Floats"
21448
21449 \end_inset
21450
21451
21452 \begin_inset LatexCommand index
21453 name "Floats ! Float Lists"
21454
21455 \end_inset
21456
21457
21458 \end_layout
21459
21460 \begin_layout Standard
21461 Similar to the the table of contents where the sections of the document
21462  are listed, there are listings for all float types, like the figures of
21463  the documents.
21464  You can insert them via the 
21465 \family sans
21466 Insert\SpecialChar \menuseparator
21467 List\InsetSpace ~
21468 /\InsetSpace ~
21469 TOC
21470 \family default
21471  sub menus.
21472 \end_layout
21473
21474 \begin_layout Standard
21475 The list entries are the float captions or its short title, the float number,
21476  and the page number where they appear in the document.
21477 \end_layout
21478
21479 \begin_layout Standard
21480 You can find the list of figures and tables at the end of this document.
21481 \end_layout
21482
21483 \begin_layout Chapter
21484 Notes
21485 \end_layout
21486
21487 \begin_layout Section
21488 LyX Notes
21489 \begin_inset LatexCommand label
21490 name "sec:LyX-Notes"
21491
21492 \end_inset
21493
21494
21495 \begin_inset LatexCommand index
21496 name "Notes ! LyX Notes"
21497
21498 \end_inset
21499
21500
21501 \end_layout
21502
21503 \begin_layout Standard
21504 Notes are inserted with the toolbar button 
21505 \begin_inset Graphics
21506         filename ../images/note-insert.xpm
21507         scale 85
21508         scaleBeforeRotation
21509
21510 \end_inset
21511
21512  or the menu 
21513 \family sans
21514 Insert\SpecialChar \menuseparator
21515 Note
21516 \family default
21517 .
21518  There are five types of notes:
21519 \end_layout
21520
21521 \begin_layout Description
21522 LyX\InsetSpace ~
21523 Note This note type is for internal notes that won't appear in the output.
21524  Its note-box looks like this:
21525 \newline
21526
21527 \newline
21528
21529 \begin_inset Graphics
21530         filename clipart/LyXNoteImageQt4.png
21531         display none
21532         scale 85
21533         scaleBeforeRotation
21534
21535 \end_inset
21536
21537  
21538 \begin_inset Note Note
21539 status open
21540
21541 \begin_layout Standard
21542 This is text in a note box that doesn't appear in the output.
21543 \end_layout
21544
21545 \end_inset
21546
21547
21548 \end_layout
21549
21550 \begin_layout Description
21551 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21552 ent, when you export the document to LaTeX via the menu 
21553 \family sans
21554 File\SpecialChar \menuseparator
21555 Export\SpecialChar \menuseparator
21556 LaTeX (pdflatex) / (plain)
21557 \family default
21558 .
21559  Its note-box looks like this:
21560 \newline
21561
21562 \newline
21563
21564 \begin_inset Graphics
21565         filename clipart/CommentNoteImageQt4.png
21566         display none
21567         scale 85
21568         scaleBeforeRotation
21569
21570 \end_inset
21571
21572  
21573 \begin_inset Note Comment
21574 status open
21575
21576 \begin_layout Standard
21577 This is text in a note box that only appears as comment in LaTeX-files.
21578 \end_layout
21579
21580 \end_inset
21581
21582
21583 \end_layout
21584
21585 \begin_layout Description
21586 Greyed\InsetSpace ~
21587 Out This note will appear in the output as grey text.
21588  Its note-box looks like this:
21589 \newline
21590
21591 \newline
21592
21593 \begin_inset Graphics
21594         filename clipart/GreyedOutNoteImageQt4.png
21595         display none
21596         scale 85
21597         scaleBeforeRotation
21598
21599 \end_inset
21600
21601
21602 \newline
21603
21604 \begin_inset ERT
21605 status collapsed
21606
21607 \begin_layout Standard
21608
21609
21610 \backslash
21611 renewenvironment{lyxgreyedout}
21612 \end_layout
21613
21614 \begin_layout Standard
21615
21616 {
21617 \backslash
21618 textcolor[gray]{0.8}
21619 \backslash
21620 bgroup}{
21621 \backslash
21622 egroup}
21623 \end_layout
21624
21625 \end_inset
21626
21627
21628 \begin_inset Note Greyedout
21629 status open
21630
21631 \begin_layout Standard
21632 This is text
21633 \begin_inset Foot
21634 status open
21635
21636 \begin_layout Standard
21637 This is an example footnote within a greyed out note.
21638 \end_layout
21639
21640 \end_inset
21641
21642  of a comment that appears in the output as grey text.
21643 \end_layout
21644
21645 \end_inset
21646
21647
21648 \begin_inset ERT
21649 status collapsed
21650
21651 \begin_layout Standard
21652
21653
21654 \backslash
21655 renewenvironment{lyxgreyedout}
21656 \end_layout
21657
21658 \begin_layout Standard
21659
21660 {
21661 \backslash
21662 textcolor{blue}
21663 \backslash
21664 bgroup}{
21665 \backslash
21666 egroup}
21667 \end_layout
21668
21669 \end_inset
21670
21671
21672 \begin_inset Note Note
21673 status collapsed
21674
21675 \begin_layout Standard
21676 The greyed out note is here redefined to show it with the original LyX definitio
21677 n because greyed out notes are redefined in the preamble of this document,
21678  as described below, to have blue text.
21679 \end_layout
21680
21681 \end_inset
21682
21683
21684 \newline
21685
21686 \newline
21687 As you can see in the example, the first line of greyed out notes is a bit
21688  indented and greyed out notes can have footnotes.
21689 \end_layout
21690
21691 \begin_layout Description
21692 Framed This note will appear in the output as framed text.
21693  Its note-box looks like this:
21694 \newline
21695
21696 \newline
21697
21698 \begin_inset Graphics
21699         filename clipart/FramedNoteImageQt4.png
21700         display none
21701         scale 85
21702         scaleBeforeRotation
21703
21704 \end_inset
21705
21706  
21707 \begin_inset Note Framed
21708 status open
21709
21710 \begin_layout Standard
21711 This is text in a note box that appears framed in the output.
21712 \end_layout
21713
21714 \end_inset
21715
21716  In contrary to framed boxes
21717 \begin_inset Foot
21718 status collapsed
21719
21720 \begin_layout Standard
21721 Framed boxes are described in section\InsetSpace ~
21722
21723 \begin_inset LatexCommand ref
21724 reference "sec:Framed-Boxes"
21725
21726 \end_inset
21727
21728 .
21729 \end_layout
21730
21731 \end_inset
21732
21733  the frame uses always the whole text width and the note is set into its
21734  own paragraph.
21735 \end_layout
21736
21737 \begin_layout Description
21738 Shaded This note will appear in the output with red background color.
21739  Its note box looks like this:
21740 \newline
21741
21742 \newline
21743
21744 \begin_inset Graphics
21745         filename clipart/ShadedNoteImageQt4.png
21746         display none
21747         scale 85
21748         scaleBeforeRotation
21749
21750 \end_inset
21751
21752
21753 \begin_inset Note Shaded
21754 status open
21755
21756 \begin_layout Standard
21757 This text in a note box appears in the output with red background.
21758 \end_layout
21759
21760 \end_inset
21761
21762 In contrary to colored boxes
21763 \begin_inset Foot
21764 status collapsed
21765
21766 \begin_layout Standard
21767 Colored boxes are described in section\InsetSpace ~
21768
21769 \begin_inset LatexCommand ref
21770 reference "sec:Colored-Boxes"
21771
21772 \end_inset
21773
21774 .
21775 \end_layout
21776
21777 \end_inset
21778
21779  the note uses always the whole text width and the note is set into its
21780  own paragraph.
21781 \end_layout
21782
21783 \begin_layout Standard
21784 \begin_inset VSpace bigskip
21785 \end_inset
21786
21787 When you use the toolbar button 
21788 \begin_inset Graphics
21789         filename ../images/note-insert.xpm
21790         scale 85
21791         scaleBeforeRotation
21792
21793 \end_inset
21794
21795  to insert notes, a 
21796 \family sans
21797 LyX\InsetSpace ~
21798 Note
21799 \family default
21800  is inserted.
21801  You can switch between the five note types by right-clicking on the note-box.
21802  
21803 \family roman
21804 \series medium
21805 \bar no
21806 If you want to turn existing text into a note, mark it and click on the
21807  note
21808 \family default
21809 \series default
21810 \bar default
21811  toolbar 
21812 \family roman
21813 \series medium
21814 \bar no
21815 button
21816 \family default
21817 \series default
21818 \bar default
21819 .
21820 \end_layout
21821
21822 \begin_layout Standard
21823 \begin_inset VSpace bigskip
21824 \end_inset
21825
21826 You can change the text color of the greyed out notes in the preamble with
21827  the following command:
21828 \end_layout
21829
21830 \begin_layout Standard
21831
21832 \series bold
21833
21834 \backslash
21835 renewenvironment{lyxgreyedout}
21836 \newline
21837
21838 \begin_inset ERT
21839 status collapsed
21840
21841 \begin_layout Standard
21842
21843
21844 \backslash
21845 hphantom{ }
21846 \end_layout
21847
21848 \end_inset
21849
21850 {
21851 \backslash
21852 textcolor{color}
21853 \backslash
21854 bgroup}{
21855 \backslash
21856 egroup}
21857 \end_layout
21858
21859 \begin_layout Standard
21860 The available colors and the method to define own colors is explained in
21861  section\InsetSpace ~
21862
21863 \begin_inset LatexCommand ref
21864 reference "sec:Colored-Tables"
21865
21866 \end_inset
21867
21868 .
21869 \end_layout
21870
21871 \begin_layout Standard
21872 Notes that appear in blue in this document are set using greyed out notes
21873  with blue text.
21874 \end_layout
21875
21876 \begin_layout Standard
21877 \begin_inset VSpace bigskip
21878 \end_inset
21879
21880
21881 \end_layout
21882
21883 \begin_layout Standard
21884 The text style of 
21885 \family sans
21886 Framed
21887 \family default
21888  and 
21889 \family sans
21890 Shaded
21891 \family default
21892  notes can be set in the 
21893 \family sans
21894 Text Style
21895 \family default
21896  dialog.
21897 \end_layout
21898
21899 \begin_layout Standard
21900 The default frame width for 
21901 \family sans
21902 Framed
21903 \family default
21904  notes is 0.4\InsetSpace \thinspace{}
21905 pt; it can be changed by changing the size 
21906 \series bold
21907
21908 \backslash
21909 FrameRule
21910 \series default
21911 .
21912  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21913 pt; it can
21914  be changed by changing the size 
21915 \series bold
21916
21917 \backslash
21918 FrameSep
21919 \series default
21920 .
21921  For example the frame appearance of the following 
21922 \family sans
21923 Framed
21924 \family default
21925  note is set with the ERT commands
21926 \end_layout
21927
21928 \begin_layout Standard
21929
21930 \series bold
21931
21932 \backslash
21933 FrameRule 5pt 
21934 \backslash
21935 FrameSep 0.5cm
21936 \end_layout
21937
21938 \begin_layout Standard
21939 \begin_inset ERT
21940 status collapsed
21941
21942 \begin_layout Standard
21943
21944
21945 \backslash
21946 FrameRule 5pt 
21947 \backslash
21948 FrameSep 0.5cm
21949 \end_layout
21950
21951 \end_inset
21952
21953
21954 \begin_inset Note Framed
21955 status open
21956
21957 \begin_layout Standard
21958 This is text in a 
21959 \family sans
21960 Framed
21961 \family default
21962  note.
21963 \end_layout
21964
21965 \end_inset
21966
21967
21968 \begin_inset ERT
21969 status collapsed
21970
21971 \begin_layout Standard
21972
21973
21974 \backslash
21975 FrameRule 0.4pt 
21976 \backslash
21977 FrameSep 9pt
21978 \end_layout
21979
21980 \end_inset
21981
21982
21983 \end_layout
21984
21985 \begin_layout Standard
21986 \begin_inset VSpace bigskip
21987 \end_inset
21988
21989
21990 \end_layout
21991
21992 \begin_layout Standard
21993 For 
21994 \family sans
21995 Shaded
21996 \family default
21997  notes the default space between the note content and the note border is
21998  3\InsetSpace \thinspace{}
21999 pt; it can be changed by changing the size 
22000 \series bold
22001
22002 \backslash
22003 fboxsep
22004 \series default
22005 .
22006 \newline
22007 The default background color red can be changed with the command 
22008 \series bold
22009
22010 \backslash
22011 def\SpecialChar \textcompwordmark{}
22012 inecolor{shadebox}
22013 \series default
22014 .
22015  The scheme of the 
22016 \series bold
22017
22018 \backslash
22019 def\SpecialChar \textcompwordmark{}
22020 inecolor
22021 \series default
22022  command is explained in section\InsetSpace ~
22023
22024 \begin_inset LatexCommand ref
22025 reference "sec:Colored-Tables"
22026
22027 \end_inset
22028
22029
22030 \begin_inset Foot
22031 status collapsed
22032
22033 \begin_layout Standard
22034 Note that 
22035 \series bold
22036
22037 \backslash
22038 def
22039 \series default
22040 \SpecialChar \textcompwordmark{}
22041
22042 \series bold
22043 inecolor
22044 \series default
22045  requires the LaTeX-package 
22046 \series bold
22047 color
22048 \series default
22049  in the preamble, see section\InsetSpace ~
22050
22051 \begin_inset LatexCommand ref
22052 reference "sec:Colored-Boxes"
22053
22054 \end_inset
22055
22056 .
22057 \end_layout
22058
22059 \end_inset
22060
22061 .
22062 \end_layout
22063
22064 \begin_layout Standard
22065 For example the appearance of the following 
22066 \family sans
22067 Shaded
22068 \family default
22069  note is set with the ERT commands
22070 \end_layout
22071
22072 \begin_layout Standard
22073
22074 \series bold
22075
22076 \backslash
22077 fboxsep 0.5cm
22078 \series default
22079
22080 \newline
22081
22082 \series bold
22083
22084 \backslash
22085 def\SpecialChar \textcompwordmark{}
22086 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22087 \end_layout
22088
22089 \begin_layout Standard
22090 \begin_inset ERT
22091 status collapsed
22092
22093 \begin_layout Standard
22094
22095
22096 \backslash
22097 fboxsep 0.5cm
22098 \end_layout
22099
22100 \end_inset
22101
22102
22103 \begin_inset ERT
22104 status collapsed
22105
22106 \begin_layout Standard
22107
22108
22109 \backslash
22110 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22111 \end_layout
22112
22113 \end_inset
22114
22115
22116 \begin_inset Note Shaded
22117 status open
22118
22119 \begin_layout Standard
22120
22121 \color yellow
22122 This is yellow text in a
22123 \color none
22124  
22125 \family sans
22126 \color yellow
22127 Shaded
22128 \family default
22129 \color none
22130  
22131 \color yellow
22132 note with darkgreen background.
22133 \end_layout
22134
22135 \end_inset
22136
22137
22138 \begin_inset ERT
22139 status collapsed
22140
22141 \begin_layout Standard
22142
22143
22144 \backslash
22145 fboxsep 3pt
22146 \end_layout
22147
22148 \end_inset
22149
22150
22151 \begin_inset ERT
22152 status collapsed
22153
22154 \begin_layout Standard
22155
22156
22157 \backslash
22158 definecolor{shadecolor}{rgb}{1,0,0}
22159 \end_layout
22160
22161 \end_inset
22162
22163
22164 \end_layout
22165
22166 \begin_layout Section
22167 Footnotes
22168 \begin_inset LatexCommand label
22169 name "sec:Footnotes"
22170
22171 \end_inset
22172
22173
22174 \begin_inset LatexCommand index
22175 name "Notes ! Footnotes"
22176
22177 \end_inset
22178
22179
22180 \begin_inset LatexCommand index
22181 name "Footnotes"
22182
22183 \end_inset
22184
22185
22186 \end_layout
22187
22188 \begin_layout Standard
22189 Footnotes can be inserted using the toolbar button 
22190 \begin_inset Graphics
22191         filename ../images/footnote-insert.xpm
22192         scale 85
22193         scaleBeforeRotation
22194
22195 \end_inset
22196
22197  or the menu 
22198 \family sans
22199 Insert\SpecialChar \menuseparator
22200 Footnote
22201 \family default
22202 .
22203  
22204 \family roman
22205 \series medium
22206 \bar no
22207 You'll see
22208 \family default
22209 \series default
22210 \bar default
22211  then the following footnote-box: 
22212 \begin_inset Graphics
22213         filename clipart/footnoteQt4.png
22214         scale 80
22215         scaleBeforeRotation
22216
22217 \end_inset
22218
22219  
22220 \family roman
22221 \series medium
22222 \bar no
22223 where you can enter the footnote text.
22224  If you want to turn existing text into a footnote, mark it and click on
22225  the footnote
22226 \family default
22227 \series default
22228 \bar default
22229  toolbar 
22230 \family roman
22231 \series medium
22232 \bar no
22233 button
22234 \family default
22235 \series default
22236 \bar default
22237 .
22238 \end_layout
22239
22240 \begin_layout Standard
22241 Here is an example footnote:
22242 \family roman
22243 \series medium
22244 \bar no
22245
22246 \begin_inset Foot
22247 status open
22248
22249 \begin_layout Standard
22250 \begin_inset LatexCommand label
22251 name "foot:This-is-an"
22252
22253 \end_inset
22254
22255 This is an example footnote.
22256 \end_layout
22257
22258 \end_inset
22259
22260
22261 \family default
22262 \series default
22263 \bar default
22264
22265 \begin_inset ERT
22266 status collapsed
22267
22268 \begin_layout Standard
22269
22270
22271 \backslash
22272 newcounter{MyRepeatFoot}
22273 \end_layout
22274
22275 \begin_layout Standard
22276
22277
22278 \backslash
22279 setcounter{MyRepeatFoot}{
22280 \backslash
22281 thefootnote}
22282 \end_layout
22283
22284 \end_inset
22285
22286
22287 \end_layout
22288
22289 \begin_layout Standard
22290 The footnote will appear in the output as a superscript number at the text
22291  position where the footnote box is placed.
22292  The footnote text is placed at the bottom of the current page.
22293  The footnote number is calculated by LaTeX, the numbers are consecutive.
22294  It depends on your document-class, if the footnote number is reset for
22295  every chapter.
22296 \end_layout
22297
22298 \begin_layout Standard
22299 Footnotes can be referenced like floats: Insert a label into the footnote
22300  and cross-reference this label in the text as described in section\InsetSpace ~
22301
22302 \begin_inset LatexCommand ref
22303 reference "sec:Referencing-Floats"
22304
22305 \end_inset
22306
22307 .
22308 \newline
22309 This is a cross-reference of Footnote\InsetSpace ~
22310
22311 \begin_inset LatexCommand ref
22312 reference "foot:This-is-an"
22313
22314 \end_inset
22315
22316 .
22317 \end_layout
22318
22319 \begin_layout Standard
22320 \begin_inset VSpace defskip
22321 \end_inset
22322
22323 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
22324
22325 \begin_inset LatexCommand ref
22326 reference "sec:Minipages"
22327
22328 \end_inset
22329
22330 .
22331  Footnotes within longtables are described in section\InsetSpace ~
22332
22333 \begin_inset LatexCommand ref
22334 reference "sub:Footnotes-in-Longtables"
22335
22336 \end_inset
22337
22338 .
22339 \end_layout
22340
22341 \begin_layout Standard
22342 \begin_inset VSpace defskip
22343 \end_inset
22344
22345 To create only a mark for a footnote, use the command 
22346 \series bold
22347
22348 \backslash
22349 footnotemark[number]
22350 \series default
22351  in ERT.
22352  This is used when you have the same annotation several times in a text
22353  but doesn't want to print the footnote text every time.
22354 \newline
22355 As you don't know
22356  the number of the repeating footnote while you are writing the text, you
22357  have to store its number.
22358  For the following footnote mark example, these commands were inserted in
22359  ERT behind Footnote\InsetSpace ~
22360
22361 \begin_inset LatexCommand ref
22362 reference "foot:This-is-an"
22363
22364 \end_inset
22365
22366  to store the footnote number:
22367 \end_layout
22368
22369 \begin_layout Standard
22370
22371 \series bold
22372
22373 \backslash
22374 newcounter{MyRepeatFoot}
22375 \newline
22376
22377 \backslash
22378 setcounter{MyRepeatFoot}{
22379 \backslash
22380 thefootnote}
22381 \end_layout
22382
22383 \begin_layout Standard
22384 The footnote mark was then created with this command:
22385 \end_layout
22386
22387 \begin_layout Standard
22388
22389 \series bold
22390
22391 \backslash
22392 footnotemark[
22393 \backslash
22394 theMyRepeatFoot]
22395 \end_layout
22396
22397 \begin_layout Standard
22398 Here is an example footnote mark:
22399 \family roman
22400 \series medium
22401 \bar no
22402
22403 \begin_inset ERT
22404 status collapsed
22405
22406 \begin_layout Standard
22407
22408
22409 \backslash
22410 footnotemark[
22411 \backslash
22412 theMyRepeatFoot]
22413 \end_layout
22414
22415 \end_inset
22416
22417
22418 \end_layout
22419
22420 \begin_layout Subsection
22421 Footnote Numbering
22422 \begin_inset LatexCommand label
22423 name "sub:Footnote-Numbering"
22424
22425 \end_inset
22426
22427
22428 \begin_inset LatexCommand index
22429 name "Footnotes ! Numbering"
22430
22431 \end_inset
22432
22433
22434 \end_layout
22435
22436 \begin_layout Standard
22437 To reset the footnote number back to 1 after each section
22438 \family roman
22439 , add this command to your document preamble:
22440 \end_layout
22441
22442 \begin_layout Standard
22443
22444 \series bold
22445
22446 \backslash
22447 @addtoreset{footnote}{section}
22448 \end_layout
22449
22450 \begin_layout Standard
22451 \begin_inset VSpace bigskip
22452 \end_inset
22453
22454 The following preamble command changes the footnote numbering style to small
22455  roman numerals:
22456 \end_layout
22457
22458 \begin_layout Standard
22459
22460 \series bold
22461
22462 \backslash
22463 renewcommand{
22464 \backslash
22465 thefootnote}{
22466 \backslash
22467 roman{footnote}}
22468 \end_layout
22469
22470 \begin_layout Standard
22471 \begin_inset ERT
22472 status collapsed
22473
22474 \begin_layout Standard
22475
22476
22477 \backslash
22478 renewcommand{
22479 \backslash
22480 thefootnote}{
22481 \backslash
22482 roman{footnote}}
22483 \end_layout
22484
22485 \end_inset
22486
22487  This is a footnote with roman numbering:
22488 \begin_inset Foot
22489 status open
22490
22491 \begin_layout Standard
22492 This is an example footnote with roman numbering.
22493 \end_layout
22494
22495 \end_inset
22496
22497
22498 \end_layout
22499
22500 \begin_layout Standard
22501 To change the numbering style to capital roman numerals replace in the command
22502  above 
22503 \series bold
22504
22505 \backslash
22506 roman
22507 \series default
22508  by 
22509 \series bold
22510
22511 \backslash
22512 Roman
22513 \series default
22514 .
22515  To 
22516 \begin_inset Quotes eld
22517 \end_inset
22518
22519 number
22520 \begin_inset Quotes erd
22521 \end_inset
22522
22523  footnotes with capital or small Latin letters use 
22524 \series bold
22525
22526 \backslash
22527 Alph
22528 \series default
22529  or 
22530 \series bold
22531
22532 \backslash
22533 alph
22534 \series default
22535 , respectively.
22536  To 
22537 \begin_inset Quotes eld
22538 \end_inset
22539
22540 number
22541 \begin_inset Quotes erd
22542 \end_inset
22543
22544  footnotes with symbols use 
22545 \series bold
22546
22547 \backslash
22548 fnsymbol
22549 \series default
22550 .
22551 \end_layout
22552
22553 \begin_layout Standard
22554 \begin_inset Note Greyedout
22555 status open
22556
22557 \begin_layout Standard
22558
22559 \series bold
22560 Note:
22561 \series default
22562  You can only number 26 footnotes with Latin letters, because this numbering
22563  is limited to single letters.
22564 \end_layout
22565
22566 \end_inset
22567
22568
22569 \newline
22570
22571 \begin_inset Note Greyedout
22572 status open
22573
22574 \begin_layout Standard
22575
22576 \series bold
22577 Note:
22578 \series default
22579  You can only number 9 footnotes with symbols.
22580 \end_layout
22581
22582 \end_inset
22583
22584
22585 \end_layout
22586
22587 \begin_layout Standard
22588 To return to the default numbering style when you changed to another one,
22589  use 
22590 \series bold
22591
22592 \backslash
22593 arabic
22594 \series default
22595  instead of 
22596 \series bold
22597
22598 \backslash
22599 roman
22600 \series default
22601  in the command above.
22602 \begin_inset ERT
22603 status collapsed
22604
22605 \begin_layout Standard
22606
22607
22608 \backslash
22609 renewcommand{
22610 \backslash
22611 thefootnote}{
22612 \backslash
22613 arabic{footnote}}
22614 \end_layout
22615
22616 \end_inset
22617
22618
22619 \end_layout
22620
22621 \begin_layout Standard
22622 \begin_inset VSpace bigskip
22623 \end_inset
22624
22625
22626 \end_layout
22627
22628 \begin_layout Standard
22629 If you want to have footnotes numbered in the scheme 
22630 \begin_inset Quotes eld
22631 \end_inset
22632
22633 chapter.footnote
22634 \begin_inset Quotes erd
22635 \end_inset
22636
22637 , add the following command to your document preamble:
22638 \end_layout
22639
22640 \begin_layout Standard
22641
22642 \series bold
22643
22644 \backslash
22645 numberwithin{footnote}{chapter}
22646 \end_layout
22647
22648 \begin_layout Standard
22649 To be able to use the command 
22650 \series bold
22651
22652 \backslash
22653 numberwithin
22654 \series default
22655 , set in the tab 
22656 \family sans
22657 Math\InsetSpace ~
22658 Options
22659 \family default
22660  in the document settings the option 
22661 \family sans
22662 Use\InsetSpace ~
22663 AMS\InsetSpace ~
22664 math\InsetSpace ~
22665 package
22666 \family default
22667 .
22668 \end_layout
22669
22670 \begin_layout Standard
22671 \begin_inset ERT
22672 status collapsed
22673
22674 \begin_layout Standard
22675
22676
22677 \backslash
22678 numberwithin{footnote}{chapter}
22679 \end_layout
22680
22681 \end_inset
22682
22683 This is another example footnote:
22684 \series bold
22685
22686 \begin_inset Foot
22687 status open
22688
22689 \begin_layout Standard
22690 This is a footnote numbered in the scheme 
22691 \begin_inset Quotes eld
22692 \end_inset
22693
22694 chapter.footnote
22695 \begin_inset Quotes erd
22696 \end_inset
22697
22698 .
22699 \end_layout
22700
22701 \end_inset
22702
22703
22704 \series default
22705
22706 \begin_inset ERT
22707 status collapsed
22708
22709 \begin_layout Standard
22710
22711
22712 \backslash
22713 renewcommand{
22714 \backslash
22715 thefootnote}{
22716 \backslash
22717 arabic{footnote}}
22718 \end_layout
22719
22720 \end_inset
22721
22722
22723 \end_layout
22724
22725 \begin_layout Standard
22726 \begin_inset Note Greyedout
22727 status open
22728
22729 \begin_layout Standard
22730
22731 \series bold
22732 Note:
22733 \series default
22734  
22735 \series bold
22736
22737 \backslash
22738 numberwithin
22739 \series default
22740  always prints out the footnote number as arabic number; previous redefinitions
22741  to get non-arabic numbers are overwritten.
22742 \end_layout
22743
22744 \end_inset
22745
22746
22747 \end_layout
22748
22749 \begin_layout Standard
22750 So to get for example the scheme 
22751 \begin_inset Quotes eld
22752 \end_inset
22753
22754 chapter.
22755 \backslash
22756 Roman{footnote}
22757 \begin_inset Quotes erd
22758 \end_inset
22759
22760 , use this command instead of 
22761 \series bold
22762
22763 \backslash
22764 numberwithin
22765 \series default
22766 :
22767 \end_layout
22768
22769 \begin_layout Standard
22770
22771 \series bold
22772
22773 \backslash
22774 renewcommand{
22775 \backslash
22776 thefootnote}{
22777 \backslash
22778 thechapter.
22779 \backslash
22780 Roman{footnote}}
22781 \end_layout
22782
22783 \begin_layout Subsection
22784 Footnote Placement
22785 \begin_inset LatexCommand index
22786 name "Footnotes ! Placement"
22787
22788 \end_inset
22789
22790
22791 \end_layout
22792
22793 \begin_layout Standard
22794 If you have several footnotes in one page, they appear without vertical
22795  space between them at the bottom of the page.
22796  To make them better readable you can e.\InsetSpace \thinspace{}
22797 g.\InsetSpace ~
22798 add 1.5\InsetSpace \thinspace{}
22799 mm space with the following
22800  preamble command:
22801 \end_layout
22802
22803 \begin_layout Standard
22804
22805 \series bold
22806
22807 \backslash
22808 let
22809 \backslash
22810 myFoot
22811 \backslash
22812 footnote
22813 \newline
22814
22815 \backslash
22816 renewcommand{
22817 \backslash
22818 footnote}[1]{
22819 \backslash
22820 myFoot{#1
22821 \backslash
22822 vspace{1.5mm}}}
22823 \end_layout
22824
22825 \begin_layout Standard
22826 \begin_inset VSpace bigskip
22827 \end_inset
22828
22829 In a two-column document the footnotes appear at the bottom of every column,
22830  see Figure\InsetSpace ~
22831
22832 \begin_inset LatexCommand ref
22833 reference "fig:Standard-footnote-placement"
22834
22835 \end_inset
22836
22837 .
22838  If the footnotes should only appear at the bottom of the right column,
22839  as in Figure\InsetSpace ~
22840
22841 \begin_inset LatexCommand ref
22842 reference "fig:Footnote-placement-in"
22843
22844 \end_inset
22845
22846 , use the LaTeX-package 
22847 \series bold
22848 ftnright
22849 \series default
22850
22851 \begin_inset LatexCommand index
22852 name "LaTeX-packages ! ftnright"
22853
22854 \end_inset
22855
22856  with this command in the document preamble:
22857 \end_layout
22858
22859 \begin_layout Standard
22860
22861 \series bold
22862
22863 \backslash
22864 usepackage{ftnright}
22865 \end_layout
22866
22867 \begin_layout Standard
22868 \begin_inset Float figure
22869 placement !h
22870 wide false
22871 sideways false
22872 status open
22873
22874 \begin_layout Standard
22875 \begin_inset ERT
22876 status collapsed
22877
22878 \begin_layout Standard
22879
22880
22881 \backslash
22882 framebox{
22883 \end_layout
22884
22885 \end_inset
22886
22887
22888 \begin_inset Graphics
22889         filename clipart/without_fntright.pdf
22890         width 100col%
22891         scaleBeforeRotation
22892
22893 \end_inset
22894
22895
22896 \begin_inset ERT
22897 status collapsed
22898
22899 \begin_layout Standard
22900
22901 }
22902 \end_layout
22903
22904 \end_inset
22905
22906
22907 \end_layout
22908
22909 \begin_layout Standard
22910 \begin_inset Caption
22911
22912 \begin_layout Standard
22913 \begin_inset LatexCommand label
22914 name "fig:Standard-footnote-placement"
22915
22916 \end_inset
22917
22918 Standard footnote placement in two-column documents.
22919 \end_layout
22920
22921 \end_inset
22922
22923
22924 \end_layout
22925
22926 \end_inset
22927
22928
22929 \end_layout
22930
22931 \begin_layout Standard
22932 \begin_inset Float figure
22933 placement !h
22934 wide false
22935 sideways false
22936 status open
22937
22938 \begin_layout Standard
22939 \begin_inset ERT
22940 status collapsed
22941
22942 \begin_layout Standard
22943
22944
22945 \backslash
22946 framebox{
22947 \end_layout
22948
22949 \end_inset
22950
22951
22952 \begin_inset Graphics
22953         filename clipart/with_fntright.pdf
22954         width 100col%
22955         scaleBeforeRotation
22956
22957 \end_inset
22958
22959
22960 \begin_inset ERT
22961 status collapsed
22962
22963 \begin_layout Standard
22964
22965 }
22966 \end_layout
22967
22968 \end_inset
22969
22970
22971 \end_layout
22972
22973 \begin_layout Standard
22974 \begin_inset Caption
22975
22976 \begin_layout Standard
22977 \begin_inset LatexCommand label
22978 name "fig:Footnote-placement-in"
22979
22980 \end_inset
22981
22982 Footnote placement in two-column documents when the LaTeX-package 
22983 \series bold
22984 ftnright
22985 \series default
22986  is used.
22987 \end_layout
22988
22989 \end_inset
22990
22991
22992 \end_layout
22993
22994 \end_inset
22995
22996
22997 \end_layout
22998
22999 \begin_layout Standard
23000 \begin_inset VSpace bigskip
23001 \end_inset
23002
23003 In some scientific literature it is usual to collect the footnotes and print
23004  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
23005
23006 \begin_inset LatexCommand ref
23007 reference "fig:Endnotes----footnotes"
23008
23009 \end_inset
23010
23011 .
23012  They are then so called 
23013 \begin_inset Quotes eld
23014 \end_inset
23015
23016 endnotes
23017 \begin_inset Quotes erd
23018 \end_inset
23019
23020 .
23021  To use endnotes instead of footnotes in your document, load the LaTeX-package
23022  
23023 \series bold
23024 endnotes
23025 \series default
23026
23027 \begin_inset LatexCommand index
23028 name "LaTeX-packages ! endnotes"
23029
23030 \end_inset
23031
23032  with the document preamble lines
23033 \end_layout
23034
23035 \begin_layout Standard
23036
23037 \series bold
23038
23039 \backslash
23040 usepackage{endnotes}
23041 \newline
23042
23043 \backslash
23044 let
23045 \backslash
23046 footnote
23047 \backslash
23048 endnote
23049 \end_layout
23050
23051 \begin_layout Standard
23052 To insert the collected footnotes, insert the command
23053 \end_layout
23054
23055 \begin_layout Standard
23056
23057 \series bold
23058
23059 \backslash
23060 theendnotes
23061 \end_layout
23062
23063 \begin_layout Standard
23064 in ERT at the the end of a section or chapter.
23065 \end_layout
23066
23067 \begin_layout Standard
23068 \begin_inset Float figure
23069 wide false
23070 sideways false
23071 status open
23072
23073 \begin_layout Standard
23074 \align center
23075 \begin_inset ERT
23076 status collapsed
23077
23078 \begin_layout Standard
23079
23080
23081 \backslash
23082 framebox{
23083 \end_layout
23084
23085 \end_inset
23086
23087
23088 \begin_inset Graphics
23089         filename clipart/endnotes.pdf
23090         scaleBeforeRotation
23091
23092 \end_inset
23093
23094
23095 \begin_inset ERT
23096 status collapsed
23097
23098 \begin_layout Standard
23099
23100 }
23101 \end_layout
23102
23103 \end_inset
23104
23105
23106 \end_layout
23107
23108 \begin_layout Standard
23109 \begin_inset Caption
23110
23111 \begin_layout Standard
23112 \begin_inset LatexCommand label
23113 name "fig:Endnotes----footnotes"
23114
23115 \end_inset
23116
23117 Endnotes -- footnotes are printed in a separate paragraph at the end of
23118  sections or chapters.
23119 \end_layout
23120
23121 \end_inset
23122
23123
23124 \end_layout
23125
23126 \end_inset
23127
23128
23129 \end_layout
23130
23131 \begin_layout Standard
23132 \begin_inset VSpace medskip
23133 \end_inset
23134
23135 The paragraph heading for the endnotes isn't automatically translated into
23136  the document language, this must be done manually.
23137  The following preamble command translate the default English name 
23138 \begin_inset Quotes eld
23139 \end_inset
23140
23141 Notes
23142 \begin_inset Quotes erd
23143 \end_inset
23144
23145  to the German translation 
23146 \begin_inset Quotes eld
23147 \end_inset
23148
23149 Anmerkungen
23150 \begin_inset Quotes erd
23151 \end_inset
23152
23153 :
23154 \end_layout
23155
23156 \begin_layout Standard
23157
23158 \series bold
23159
23160 \backslash
23161 renewcommand{
23162 \backslash
23163 notesname}{Anmerkungen}
23164 \end_layout
23165
23166 \begin_layout Standard
23167 \begin_inset VSpace medskip
23168 \end_inset
23169
23170 The numbering of endnotes can be changed like the footnote numbering as
23171  described in section\InsetSpace ~
23172
23173 \begin_inset LatexCommand ref
23174 reference "sub:Footnote-Numbering"
23175
23176 \end_inset
23177
23178 ; just replace the command 
23179 \series bold
23180
23181 \backslash
23182 thefootnote
23183 \series default
23184  by 
23185 \series bold
23186
23187 \backslash
23188 theendnote
23189 \series default
23190 .
23191  To reset the endnote number use the command 
23192 \series bold
23193
23194 \backslash
23195 @addtoreset
23196 \series default
23197  as described in section\InsetSpace ~
23198
23199 \begin_inset LatexCommand ref
23200 reference "sub:Footnote-Numbering"
23201
23202 \end_inset
23203
23204  and replace the command parameter 
23205 \series bold
23206 footnote
23207 \series default
23208  by 
23209 \series bold
23210 endnote
23211 \series default
23212 .
23213 \end_layout
23214
23215 \begin_layout Standard
23216 To create only a mark for an endnote, use the command 
23217 \series bold
23218
23219 \backslash
23220 endnotemark[number]
23221 \series default
23222  similar to the command 
23223 \series bold
23224
23225 \backslash
23226 footnotemark
23227 \series default
23228 , described in section\InsetSpace ~
23229
23230 \begin_inset LatexCommand ref
23231 reference "sec:Footnotes"
23232
23233 \end_inset
23234
23235 .
23236 \end_layout
23237
23238 \begin_layout Standard
23239 \begin_inset VSpace bigskip
23240 \end_inset
23241
23242 Footnotes can also be placed in the page margin and the footnote text alignment
23243  can be changed, see the LaTeX-package 
23244 \series bold
23245 footmisc
23246 \series default
23247
23248 \begin_inset LatexCommand index
23249 name "LaTeX-packages ! footmisc"
23250
23251 \end_inset
23252
23253
23254 \begin_inset LatexCommand cite
23255 key "footmisc"
23256
23257 \end_inset
23258
23259  for more information about this.
23260 \end_layout
23261
23262 \begin_layout Standard
23263 For various further footnote formatting issues have a look at LaTeX-books,
23264  
23265 \begin_inset LatexCommand cite
23266 key "latexcompanion,latexguide,latexbook"
23267
23268 \end_inset
23269
23270 .
23271 \end_layout
23272
23273 \begin_layout Section
23274 Margin Notes
23275 \begin_inset LatexCommand index
23276 name "Notes ! Margin Notes"
23277
23278 \end_inset
23279
23280
23281 \end_layout
23282
23283 \begin_layout Standard
23284 Margin notes look and behave in LyX like footnotes.
23285  They are inserted via the menu 
23286 \family sans
23287 Insert\SpecialChar \menuseparator
23288 Marginal\InsetSpace ~
23289 Note
23290 \family default
23291  or the toolbar button 
23292 \begin_inset Graphics
23293         filename ../images/marginalnote-insert.xpm
23294         scale 85
23295         scaleBeforeRotation
23296
23297 \end_inset
23298
23299 .
23300  A grey 
23301 \family roman
23302 \series medium
23303 box with the
23304 \family default
23305 \series default
23306  red 
23307 \family roman
23308 \series medium
23309 label 
23310 \begin_inset Quotes eld
23311 \end_inset
23312
23313 margin
23314 \begin_inset Quotes erd
23315 \end_inset
23316
23317  appears where you can enter the text of the margin note.
23318 \end_layout
23319
23320 \begin_layout Standard
23321 At the side is an example margin note.
23322 \family roman
23323 \series medium
23324
23325 \begin_inset Marginal
23326 status open
23327
23328 \begin_layout Standard
23329 This is a margin note.
23330 \end_layout
23331
23332 \end_inset
23333
23334
23335 \end_layout
23336
23337 \begin_layout Standard
23338 Margin notes appear at the right side in single-sided documents.
23339  In double-sided documents they appear in the outer margin -- left on even
23340  pages, right on odd pages.
23341  The text of margin notes is aligned opposite to the outer margin -- right-align
23342 ed when the note appears in the left margin.
23343  The first line of the margin note is placed at the position of the text
23344  line where it is inserted in the document.
23345 \end_layout
23346
23347 \begin_layout Standard
23348 \begin_inset VSpace bigskip
23349 \end_inset
23350
23351 To place the margin note in the inner margin, add the command
23352 \end_layout
23353
23354 \begin_layout Standard
23355
23356 \series bold
23357
23358 \backslash
23359 reversemarginpar
23360 \end_layout
23361
23362 \begin_layout Standard
23363 in ERT before a margin note.
23364  The new placement is valid for all following margin notes.
23365 \begin_inset ERT
23366 status collapsed
23367
23368 \begin_layout Standard
23369
23370
23371 \backslash
23372 reversemarginpar 
23373 \end_layout
23374
23375 \end_inset
23376
23377
23378 \begin_inset Marginal
23379 status open
23380
23381 \begin_layout Standard
23382 This is a margin note in the inner margin.
23383 \end_layout
23384
23385 \end_inset
23386
23387
23388 \series bold
23389
23390 \newline
23391
23392 \series default
23393
23394 \begin_inset Note Greyedout
23395 status open
23396
23397 \begin_layout Standard
23398
23399 \series bold
23400 Note:
23401 \series default
23402  There is often not enough space in the inner margin so that the notes are
23403  not correctly displayed in the output.
23404 \end_layout
23405
23406 \end_inset
23407
23408
23409 \end_layout
23410
23411 \begin_layout Standard
23412 To return to the default placement insert the command
23413 \end_layout
23414
23415 \begin_layout Standard
23416
23417 \series bold
23418
23419 \backslash
23420 normalmarginpar
23421 \end_layout
23422
23423 \begin_layout Standard
23424 in ERT.
23425 \begin_inset ERT
23426 status collapsed
23427
23428 \begin_layout Standard
23429
23430
23431 \backslash
23432 normalmarginpar 
23433 \end_layout
23434
23435 \end_inset
23436
23437  
23438 \begin_inset Note Greyedout
23439 status open
23440
23441 \begin_layout Standard
23442
23443 \series bold
23444 Note:
23445 \series default
23446  The command is ignored when it is within a paragraph where also the command
23447  
23448 \series bold
23449
23450 \backslash
23451 reversemarginpar
23452 \series default
23453  is inserted.
23454 \end_layout
23455
23456 \end_inset
23457
23458
23459 \end_layout
23460
23461 \begin_layout Standard
23462 \begin_inset VSpace bigskip
23463 \end_inset
23464
23465
23466 \family roman
23467 \series medium
23468
23469 \begin_inset Marginal
23470 status open
23471
23472 \begin_layout Standard
23473 AVeryLongMarginParWord that isn't hyphenated.
23474 \end_layout
23475
23476 \end_inset
23477
23478
23479 \family default
23480 \series default
23481 Similar to the case described in section\InsetSpace ~
23482
23483 \begin_inset LatexCommand ref
23484 reference "sub:Multiple-Lines-in"
23485
23486 \end_inset
23487
23488 , long words cannot be hyphenated when they are the first word in a margin
23489  note.
23490  To avoid this, insert the command
23491 \end_layout
23492
23493 \begin_layout Standard
23494
23495 \series bold
23496
23497 \backslash
23498 hspace{0pt}
23499 \end_layout
23500
23501 \begin_layout Standard
23502 in ERT before the word
23503 \family roman
23504 \series medium
23505 .
23506 \begin_inset Marginal
23507 status open
23508
23509 \begin_layout Standard
23510 \begin_inset ERT
23511 status collapsed
23512
23513 \begin_layout Standard
23514
23515
23516 \backslash
23517 hspace{0pt}
23518 \end_layout
23519
23520 \end_inset
23521
23522 AVeryLongMarginParWord that is hyphenated.
23523 \end_layout
23524
23525 \end_inset
23526
23527
23528 \end_layout
23529
23530 \begin_layout Standard
23531 \begin_inset VSpace bigskip
23532 \end_inset
23533
23534
23535 \end_layout
23536
23537 \begin_layout Standard
23538 \begin_inset Note Greyedout
23539 status open
23540
23541 \begin_layout Standard
23542
23543 \series bold
23544 Note:
23545 \series default
23546  Margin notes can normally not be used inside tables, floats, and footnotes.
23547 \end_layout
23548
23549 \end_inset
23550
23551
23552 \end_layout
23553
23554 \begin_layout Standard
23555 \begin_inset VSpace bigskip
23556 \end_inset
23557
23558
23559 \end_layout
23560
23561 \begin_layout Standard
23562 \begin_inset ERT
23563 status collapsed
23564
23565 \begin_layout Standard
23566
23567
23568 \backslash
23569 ifmarginnote
23570 \end_layout
23571
23572 \end_inset
23573
23574
23575 \begin_inset Note Note
23576 status open
23577
23578 \begin_layout Standard
23579 The following section will only be displayed when you have the LaTeX-package
23580  
23581 \series bold
23582 marginnote
23583 \series default
23584  is installed.
23585 \end_layout
23586
23587 \end_inset
23588
23589
23590 \end_layout
23591
23592 \begin_layout Standard
23593 This restriction can be evaded by using the LaTeX-package 
23594 \series bold
23595 marginnote
23596 \series default
23597
23598 \begin_inset LatexCommand index
23599 name "LaTeX-packages ! marginnote"
23600
23601 \end_inset
23602
23603 .
23604  By adding these two lines to your document preamble, the command used by
23605  LyX for margin notes is redefined to use the command provided by the 
23606 \series bold
23607 marginnote
23608 \series default
23609 -package:
23610 \end_layout
23611
23612 \begin_layout Standard
23613
23614 \series bold
23615
23616 \backslash
23617 usepackage{marginnote}
23618 \newline
23619
23620 \backslash
23621 let
23622 \backslash
23623 marginpar
23624 \backslash
23625 marginnote
23626 \end_layout
23627
23628 \begin_layout Standard
23629 This is also used in this document because 
23630 \series bold
23631 marginnote
23632 \series default
23633  has another useful feature: You can set a vertical offset for the note.
23634  This is often needed when too many margin notes are too close together
23635  or for a better page layout.
23636  The offset is set in LyX as ERT directly behind the margin note in the
23637  scheme
23638 \end_layout
23639
23640 \begin_layout Standard
23641
23642 \series bold
23643 [offset]
23644 \end_layout
23645
23646 \begin_layout Standard
23647 where the offset is a length with one of the units listed in Table\InsetSpace ~
23648
23649 \begin_inset LatexCommand ref
23650 reference "tab:Units"
23651
23652 \end_inset
23653
23654 .
23655  A negative value shifts the note up, a positive value shifts it down.
23656  
23657 \family roman
23658 \series medium
23659 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23660 cm with
23661  the ERT-command 
23662 \begin_inset Quotes eld
23663 \end_inset
23664
23665
23666 \family default
23667 \series bold
23668 [-1.5cm]
23669 \family roman
23670 \series medium
23671
23672 \begin_inset Quotes erd
23673 \end_inset
23674
23675
23676 \begin_inset Marginal
23677 status open
23678
23679 \begin_layout Standard
23680 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23681 cm from its original position.
23682 \end_layout
23683
23684 \end_inset
23685
23686
23687 \family default
23688 \series default
23689
23690 \begin_inset ERT
23691 status collapsed
23692
23693 \begin_layout Standard
23694
23695 [-1.5cm]
23696 \end_layout
23697
23698 \end_inset
23699
23700
23701 \end_layout
23702
23703 \begin_layout Standard
23704 \begin_inset VSpace medskip
23705 \end_inset
23706
23707 With 
23708 \series bold
23709 marginnote
23710 \series default
23711  you can also change the alignment of the text in the margin note.
23712  For example the commands
23713 \end_layout
23714
23715 \begin_layout Standard
23716
23717 \series bold
23718
23719 \backslash
23720 renewcommand*{
23721 \backslash
23722 raggedleftmarginnote}{
23723 \backslash
23724 centering}
23725 \newline
23726
23727 \backslash
23728 renewcommand*{
23729 \backslash
23730 raggedrightmarginnote}{
23731 \backslash
23732 centering}
23733 \end_layout
23734
23735 \begin_layout Standard
23736 set the alignment to centered.
23737  
23738 \series bold
23739
23740 \backslash
23741 raggedleftmarginnote
23742 \series default
23743  denotes margin notes that appear at the left side.
23744 \family roman
23745 \series medium
23746
23747 \begin_inset ERT
23748 status collapsed
23749
23750 \begin_layout Standard
23751
23752
23753 \backslash
23754 renewcommand*{
23755 \backslash
23756 raggedleftmarginnote}{
23757 \backslash
23758 centering}
23759 \end_layout
23760
23761 \begin_layout Standard
23762
23763
23764 \backslash
23765 renewcommand*{
23766 \backslash
23767 raggedrightmarginnote}{
23768 \backslash
23769 centering}
23770 \end_layout
23771
23772 \end_inset
23773
23774
23775 \begin_inset Marginal
23776 status open
23777
23778 \begin_layout Standard
23779 The text of this margin note is centered.
23780 \end_layout
23781
23782 \end_inset
23783
23784
23785 \family default
23786 \series default
23787  The default is
23788 \end_layout
23789
23790 \begin_layout Standard
23791
23792 \series bold
23793
23794 \backslash
23795 renewcommand*{
23796 \backslash
23797 raggedleftmarginnote}{
23798 \backslash
23799 raggedleft}
23800 \newline
23801
23802 \backslash
23803 renewcommand*{
23804 \backslash
23805 raggedrightmarginnote}{
23806 \backslash
23807 raggedright}
23808 \family roman
23809 \series medium
23810
23811 \begin_inset ERT
23812 status collapsed
23813
23814 \begin_layout Standard
23815
23816
23817 \backslash
23818 renewcommand*{
23819 \backslash
23820 raggedleftmarginnote}{
23821 \backslash
23822 raggedleft}
23823 \end_layout
23824
23825 \begin_layout Standard
23826
23827
23828 \backslash
23829 renewcommand*{
23830 \backslash
23831 raggedrightmarginnote}{
23832 \backslash
23833 raggedright}
23834 \end_layout
23835
23836 \end_inset
23837
23838
23839 \end_layout
23840
23841 \begin_layout Standard
23842 \begin_inset VSpace medskip
23843 \end_inset
23844
23845 For the other features of 
23846 \series bold
23847 marginnote
23848 \series default
23849  we refer to its documentation 
23850 \begin_inset LatexCommand cite
23851 key "marginnote"
23852
23853 \end_inset
23854
23855 .
23856 \end_layout
23857
23858 \begin_layout Standard
23859 \begin_inset VSpace bigskip
23860 \end_inset
23861
23862 You can adjust the layout of margin notes by changing its definition.
23863  To create for example a header for all margin notes with the underlined,
23864  sans-serif, and bold header text 
23865 \begin_inset Quotes eld
23866 \end_inset
23867
23868
23869 \family sans
23870 \series bold
23871 \bar under
23872 Attention!
23873 \family default
23874 \series default
23875 \bar default
23876
23877 \begin_inset Quotes erd
23878 \end_inset
23879
23880 , add this to your document preamble:
23881 \end_layout
23882
23883 \begin_layout Standard
23884
23885 \series bold
23886
23887 \backslash
23888 let
23889 \backslash
23890 myMarginpar
23891 \backslash
23892 marginpar
23893 \newline
23894
23895 \backslash
23896 renewcommand{
23897 \backslash
23898 marginpar}[1]{
23899 \backslash
23900 myMarginpar{%
23901 \newline
23902
23903 \begin_inset ERT
23904 status collapsed
23905
23906 \begin_layout Standard
23907
23908
23909 \backslash
23910 hphantom{ }
23911 \end_layout
23912
23913 \end_inset
23914
23915
23916 \backslash
23917 hspace{0pt}
23918 \backslash
23919 textsf{
23920 \backslash
23921 textbf{
23922 \backslash
23923 underbar{Attention!}}}%
23924 \newline
23925
23926 \begin_inset ERT
23927 status collapsed
23928
23929 \begin_layout Standard
23930
23931
23932 \backslash
23933 hphantom{ }
23934 \end_layout
23935
23936 \end_inset
23937
23938
23939 \backslash
23940 vspace{1.5mm}
23941 \backslash
23942
23943 \backslash
23944 #1}}
23945 \end_layout
23946
23947 \begin_layout Standard
23948
23949 \family roman
23950 \series medium
23951 \begin_inset ERT
23952 status collapsed
23953
23954 \begin_layout Standard
23955
23956
23957 \backslash
23958 let
23959 \backslash
23960 myMarginpar
23961 \backslash
23962 marginpar
23963 \end_layout
23964
23965 \begin_layout Standard
23966
23967
23968 \backslash
23969 renewcommand{
23970 \backslash
23971 marginpar}[1]{
23972 \backslash
23973 myMarginpar{%
23974 \end_layout
23975
23976 \begin_layout Standard
23977
23978    
23979 \backslash
23980 textsf{
23981 \backslash
23982 textbf{
23983 \backslash
23984 underbar{Attention!}}}%
23985 \end_layout
23986
23987 \begin_layout Standard
23988
23989    
23990 \backslash
23991 vspace{1.5mm}
23992 \backslash
23993
23994 \backslash
23995 #1}}
23996 \end_layout
23997
23998 \end_inset
23999
24000
24001 \begin_inset Marginal
24002 status open
24003
24004 \begin_layout Standard
24005 This is a margin note with a defined heading.
24006 \end_layout
24007
24008 \end_inset
24009
24010
24011 \family default
24012 \series default
24013
24014 \begin_inset ERT
24015 status collapsed
24016
24017 \begin_layout Standard
24018
24019 [-1.5cm]
24020 \end_layout
24021
24022 \end_inset
24023
24024
24025 \family roman
24026 \series medium
24027
24028 \begin_inset ERT
24029 status collapsed
24030
24031 \begin_layout Standard
24032
24033
24034 \backslash
24035 renewcommand{
24036 \backslash
24037 marginpar}[1]{
24038 \backslash
24039 myMarginpar{#1}}
24040 \end_layout
24041
24042 \end_inset
24043
24044
24045 \family default
24046 \series default
24047
24048 \begin_inset Note Note
24049 status collapsed
24050
24051 \begin_layout Standard
24052 The margin note format is changed only for this example.
24053 \end_layout
24054
24055 \end_inset
24056
24057
24058 \end_layout
24059
24060 \begin_layout Standard
24061 \begin_inset ERT
24062 status collapsed
24063
24064 \begin_layout Standard
24065
24066
24067 \backslash
24068 else
24069 \end_layout
24070
24071 \end_inset
24072
24073
24074 \begin_inset Note Note
24075 status open
24076
24077 \begin_layout Standard
24078 The following will be displayed when the LaTeX-package 
24079 \series bold
24080 marginnote
24081 \series default
24082  is not installed:
24083 \end_layout
24084
24085 \end_inset
24086
24087
24088 \end_layout
24089
24090 \begin_layout Standard
24091 You need to install the LaTeX-package 
24092 \series bold
24093 marginnote
24094 \series default
24095  to see the following part of this section in the output.
24096 \end_layout
24097
24098 \begin_layout Standard
24099 \begin_inset ERT
24100 status collapsed
24101
24102 \begin_layout Standard
24103
24104
24105 \backslash
24106 fi
24107 \end_layout
24108
24109 \end_inset
24110
24111
24112 \end_layout
24113
24114 \begin_layout Chapter
24115 Boxes
24116 \end_layout
24117
24118 \begin_layout Section
24119 Introduction
24120 \begin_inset LatexCommand index
24121 name "Boxes ! Introduction"
24122
24123 \end_inset
24124
24125
24126 \end_layout
24127
24128 \begin_layout Standard
24129 Boxes are used to format a block of text.
24130  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
24131
24132 \begin_inset LatexCommand ref
24133 reference "sec:Minipages"
24134
24135 \end_inset
24136
24137 , to frame texts, see section\InsetSpace ~
24138
24139 \begin_inset LatexCommand ref
24140 reference "sec:Framed-Boxes"
24141
24142 \end_inset
24143
24144 , to prevent words to be hyphenated, see section\InsetSpace ~
24145
24146 \begin_inset LatexCommand ref
24147 reference "sec:Prevent-Hyphenation"
24148
24149 \end_inset
24150
24151 , to align text, see section\InsetSpace ~
24152
24153 \begin_inset LatexCommand ref
24154 reference "sub:Vertical-Alignment"
24155
24156 \end_inset
24157
24158 , or to set the background color of texts, see section\InsetSpace ~
24159
24160 \begin_inset LatexCommand ref
24161 reference "sec:Colored-Boxes"
24162
24163 \end_inset
24164
24165 .
24166 \end_layout
24167
24168 \begin_layout Standard
24169 Boxes can be inserted with the menu 
24170 \family sans
24171 Insert\SpecialChar \menuseparator
24172 Box
24173 \family default
24174 .
24175  A grey box with the label 
24176 \family sans
24177 Box (Minipage)
24178 \family default
24179
24180 \begin_inset Graphics
24181         filename clipart/BoxInsetDefaultQt4.png
24182         scale 85
24183         scaleBeforeRotation
24184
24185 \end_inset
24186
24187 , will be inserted.
24188  The box type can be specified by right-clicking on the box.
24189  The appearing box dialog offers the 
24190 \family sans
24191 Inner\InsetSpace ~
24192 Box
24193 \family default
24194  types 
24195 \family sans
24196 Parbox
24197 \family default
24198  and 
24199 \family sans
24200 Minipage
24201 \family default
24202 .
24203  The type 
24204 \family sans
24205 Minipage
24206 \family default
24207  is the default for new boxes and is explained in section\InsetSpace ~
24208
24209 \begin_inset LatexCommand ref
24210 reference "sec:Minipages"
24211
24212 \end_inset
24213
24214 ; the type 
24215 \family sans
24216 Parbox
24217 \family default
24218  is described in section\InsetSpace ~
24219
24220 \begin_inset LatexCommand ref
24221 reference "sec:Parboxes"
24222
24223 \end_inset
24224
24225 .
24226 \end_layout
24227
24228 \begin_layout Standard
24229 Boxes aren't numbered and can therefore not be referenced like floats or
24230  footnotes.
24231 \end_layout
24232
24233 \begin_layout Standard
24234 \begin_inset Note Greyedout
24235 status open
24236
24237 \begin_layout Standard
24238
24239 \series bold
24240 Note:
24241 \series default
24242  Due to a bug in LyX you have to insert a protected space behind a box when
24243  you want to separate in a line the box from the following text with a space.
24244 \end_layout
24245
24246 \end_inset
24247
24248
24249 \end_layout
24250
24251 \begin_layout Standard
24252 \begin_inset Note Greyedout
24253 status open
24254
24255 \begin_layout Standard
24256
24257 \series bold
24258 Note:
24259 \series default
24260  Boxes must not be the item in an 
24261 \family sans
24262 Itemize
24263 \family default
24264  or 
24265 \family sans
24266 Description
24267 \family default
24268  environment.
24269 \end_layout
24270
24271 \end_inset
24272
24273
24274 \end_layout
24275
24276 \begin_layout Standard
24277 \begin_inset Note Greyedout
24278 status open
24279
24280 \begin_layout Standard
24281
24282 \series bold
24283 Note:
24284 \series default
24285  For an unknown reason you can only set the 
24286 \family sans
24287 Inner\InsetSpace ~
24288 Box
24289 \family default
24290  type to 
24291 \family sans
24292 None
24293 \family default
24294  when you use a framed box.
24295  Boxes without an 
24296 \family sans
24297 Inner\InsetSpace ~
24298 Box
24299 \family default
24300  type and without frames are explained in section\InsetSpace ~
24301
24302 \begin_inset LatexCommand ref
24303 reference "sec:Prevent-Hyphenation"
24304
24305 \end_inset
24306
24307 .
24308 \end_layout
24309
24310 \end_inset
24311
24312
24313 \end_layout
24314
24315 \begin_layout Section
24316 Box Dialog
24317 \begin_inset LatexCommand label
24318 name "sec:Box-Dialog"
24319
24320 \end_inset
24321
24322
24323 \begin_inset LatexCommand index
24324 name "Boxes ! Box Dialog"
24325
24326 \end_inset
24327
24328
24329 \begin_inset LatexCommand index
24330 name "Boxes ! Alignment"
24331
24332 \end_inset
24333
24334
24335 \end_layout
24336
24337 \begin_layout Standard
24338 In the box dialog you can adjust the box geometry in the fields 
24339 \family sans
24340 Width
24341 \family default
24342  and 
24343 \family sans
24344 Height
24345 \family default
24346 .
24347  The available units for the geometry are explained in Table\InsetSpace ~
24348
24349 \begin_inset LatexCommand ref
24350 reference "tab:Units"
24351
24352 \end_inset
24353
24354 .
24355  The field 
24356 \family sans
24357 Heigth
24358 \family default
24359  offers the following additional sizes:
24360 \end_layout
24361
24362 \begin_layout Description
24363 Depth This is the plain text 
24364 \begin_inset Quotes eld
24365 \end_inset
24366
24367 height
24368 \begin_inset Quotes erd
24369 \end_inset
24370
24371 .
24372  It ignores the total depth when there are multiple text lines in the box:
24373 \newline
24374
24375 \newline
24376
24377 \newline
24378
24379 \begin_inset Box Boxed
24380 position "c"
24381 hor_pos "c"
24382 has_inner_box 1
24383 inner_pos "c"
24384 use_parbox 0
24385 width "12col%"
24386 special "none"
24387 height "1in"
24388 height_special "depth"
24389 status collapsed
24390
24391 \begin_layout Standard
24392 \align center
24393 Box height set to 1\InsetSpace \thinspace{}
24394 Depth
24395 \end_layout
24396
24397 \end_inset
24398
24399
24400 \newline
24401
24402 \newline
24403
24404 \end_layout
24405
24406 \begin_layout Description
24407 Height This is the heigth of the text that is inside the box.
24408  A value of e.\InsetSpace \thinspace{}
24409 g.\InsetSpace ~
24410 2 for this size will set the box heigth to 2 times the text
24411  height: 
24412 \begin_inset Box Boxed
24413 position "c"
24414 hor_pos "c"
24415 has_inner_box 1
24416 inner_pos "c"
24417 use_parbox 0
24418 width "20col%"
24419 special "none"
24420 height "2in"
24421 height_special "height"
24422 status collapsed
24423
24424 \begin_layout Standard
24425 \align center
24426 Box height set to 2\InsetSpace \thinspace{}
24427 Height
24428 \end_layout
24429
24430 \end_inset
24431
24432
24433 \end_layout
24434
24435 \begin_layout Description
24436 Total\InsetSpace ~
24437 Height This is the Height\InsetSpace \thinspace{}
24438 +\InsetSpace \thinspace{}
24439 Depth: 
24440 \begin_inset Box Boxed
24441 position "c"
24442 hor_pos "c"
24443 has_inner_box 1
24444 inner_pos "c"
24445 use_parbox 0
24446 width "20col%"
24447 special "none"
24448 height "1in"
24449 height_special "totalheight"
24450 status collapsed
24451
24452 \begin_layout Standard
24453 \align center
24454 Box height set to 1\InsetSpace \thinspace{}
24455 Total\InsetSpace ~
24456 Height
24457 \end_layout
24458
24459 \end_inset
24460
24461
24462 \end_layout
24463
24464 \begin_layout Description
24465 Width This set the width of the box as heigth: 
24466 \begin_inset Box Boxed
24467 position "c"
24468 hor_pos "c"
24469 has_inner_box 1
24470 inner_pos "c"
24471 use_parbox 0
24472 width "12col%"
24473 special "none"
24474 height "1in"
24475 height_special "width"
24476 status collapsed
24477
24478 \begin_layout Standard
24479 \align center
24480 Box height set to 1\InsetSpace \thinspace{}
24481 Width
24482 \end_layout
24483
24484 \end_inset
24485
24486
24487 \end_layout
24488
24489 \begin_layout Standard
24490 \begin_inset VSpace bigskip
24491 \end_inset
24492
24493 When you have chosen an 
24494 \family sans
24495 Inner\InsetSpace ~
24496 Box
24497 \family default
24498 , the vertical box alignment can be:
24499 \end_layout
24500
24501 \begin_layout Description
24502 Top This is an example text line.
24503  
24504 \begin_inset Box Boxed
24505 position "t"
24506 hor_pos "c"
24507 has_inner_box 1
24508 inner_pos "c"
24509 use_parbox 0
24510 width "12col%"
24511 special "none"
24512 height "1in"
24513 height_special "totalheight"
24514 status collapsed
24515
24516 \begin_layout Standard
24517 \align center
24518 This box is top-aligned.
24519 \end_layout
24520
24521 \end_inset
24522
24523 \InsetSpace ~
24524 This is an example text line.
24525 \end_layout
24526
24527 \begin_layout Description
24528 Middle This is an example text line.
24529  
24530 \begin_inset Box Boxed
24531 position "c"
24532 hor_pos "c"
24533 has_inner_box 1
24534 inner_pos "c"
24535 use_parbox 0
24536 width "12col%"
24537 special "none"
24538 height "1in"
24539 height_special "totalheight"
24540 status collapsed
24541
24542 \begin_layout Standard
24543 \align center
24544 This box is middle-aligned.
24545 \end_layout
24546
24547 \end_inset
24548
24549 \InsetSpace ~
24550 This is an example text line.
24551 \end_layout
24552
24553 \begin_layout Description
24554 Bottom This is an example text line.
24555  
24556 \begin_inset Box Boxed
24557 position "b"
24558 hor_pos "c"
24559 has_inner_box 1
24560 inner_pos "c"
24561 use_parbox 0
24562 width "12col%"
24563 special "none"
24564 height "1in"
24565 height_special "totalheight"
24566 status collapsed
24567
24568 \begin_layout Standard
24569 \align center
24570 This box is bottom-aligned.
24571 \end_layout
24572
24573 \end_inset
24574
24575 \InsetSpace ~
24576 This is an example text line.
24577 \end_layout
24578
24579 \begin_layout Standard
24580 The horizontal box alignment can be set via LyX's paragraph dialog when
24581  you set the box into its own paragraph.
24582 \end_layout
24583
24584 \begin_layout Standard
24585 \begin_inset VSpace bigskip
24586 \end_inset
24587
24588 When you have chosen an 
24589 \family sans
24590 Inner\InsetSpace ~
24591 Box
24592 \family default
24593 , the box content can be vertical aligned to:
24594 \end_layout
24595
24596 \begin_layout Description
24597 top This is an example text line.
24598  
24599 \begin_inset Box Boxed
24600 position "c"
24601 hor_pos "c"
24602 has_inner_box 1
24603 inner_pos "t"
24604 use_parbox 0
24605 width "12col%"
24606 special "none"
24607 height "1.5in"
24608 height_special "totalheight"
24609 status collapsed
24610
24611 \begin_layout Standard
24612 \align center
24613 This box text is top-aligned.
24614 \end_layout
24615
24616 \end_inset
24617
24618 \InsetSpace ~
24619 This is an example text line.
24620 \end_layout
24621
24622 \begin_layout Description
24623 middle This is an example text line.
24624  
24625 \begin_inset Box Boxed
24626 position "c"
24627 hor_pos "c"
24628 has_inner_box 1
24629 inner_pos "c"
24630 use_parbox 0
24631 width "12col%"
24632 special "none"
24633 height "1.5in"
24634 height_special "totalheight"
24635 status collapsed
24636
24637 \begin_layout Standard
24638 \align center
24639 This box text is middle-aligned.
24640 \end_layout
24641
24642 \end_inset
24643
24644 \InsetSpace ~
24645 This is an example text line.
24646 \end_layout
24647
24648 \begin_layout Description
24649 bottom This is an example text line.
24650  
24651 \begin_inset Box Boxed
24652 position "c"
24653 hor_pos "c"
24654 has_inner_box 1
24655 inner_pos "b"
24656 use_parbox 0
24657 width "12col%"
24658 special "none"
24659 height "1.5in"
24660 height_special "totalheight"
24661 status collapsed
24662
24663 \begin_layout Standard
24664 \align center
24665 This box text is bottom-aligned.
24666 \end_layout
24667
24668 \end_inset
24669
24670 \InsetSpace ~
24671 This is an example text line.
24672 \end_layout
24673
24674 \begin_layout Description
24675 stretch This is an example text line.
24676  
24677 \begin_inset Box Boxed
24678 position "c"
24679 hor_pos "c"
24680 has_inner_box 1
24681 inner_pos "s"
24682 use_parbox 0
24683 width "12col%"
24684 special "none"
24685 height "1.5in"
24686 height_special "totalheight"
24687 status collapsed
24688
24689 \begin_layout Standard
24690 \align center
24691 This box
24692 \end_layout
24693
24694 \begin_layout Standard
24695 \align center
24696 text is
24697 \end_layout
24698
24699 \begin_layout Standard
24700 \align center
24701 stretched.
24702 \end_layout
24703
24704 \end_inset
24705
24706 \InsetSpace ~
24707 This is an example text line.
24708 \end_layout
24709
24710 \begin_layout Standard
24711 To stretch the box content, it must consist of more than one paragraph.
24712  In the example above every text line is in an own paragraph.
24713 \end_layout
24714
24715 \begin_layout Standard
24716 \begin_inset VSpace bigskip
24717 \end_inset
24718
24719 To align the box content horizontally you can use LyX's paragraph dialog
24720  when you have chosen an 
24721 \family sans
24722 Inner\InsetSpace ~
24723 Box
24724 \family default
24725 .
24726 \end_layout
24727
24728 \begin_layout Standard
24729 \align center
24730 \begin_inset Box Boxed
24731 position "c"
24732 hor_pos "c"
24733 has_inner_box 1
24734 inner_pos "s"
24735 use_parbox 0
24736 width "15col%"
24737 special "none"
24738 height "1.25in"
24739 height_special "totalheight"
24740 status collapsed
24741
24742 \begin_layout Standard
24743 \align left
24744 This box
24745 \end_layout
24746
24747 \begin_layout Standard
24748 \align center
24749 text is
24750 \end_layout
24751
24752 \begin_layout Standard
24753 \align right
24754 stretched.
24755 \end_layout
24756
24757 \end_inset
24758
24759
24760 \end_layout
24761
24762 \begin_layout Standard
24763 If you haven't set an 
24764 \family sans
24765 Inner\InsetSpace ~
24766 Box
24767 \family default
24768 , you can align the box content horizontally in the box dialog.
24769 \end_layout
24770
24771 \begin_layout Standard
24772 \align center
24773 \begin_inset Box Boxed
24774 position "c"
24775 hor_pos "s"
24776 has_inner_box 0
24777 inner_pos "s"
24778 use_parbox 0
24779 width "90col%"
24780 special "none"
24781 height "1.25in"
24782 height_special "totalheight"
24783 status collapsed
24784
24785 \begin_layout Standard
24786 \align left
24787 This box text is horizontally stretched.
24788 \end_layout
24789
24790 \end_inset
24791
24792
24793 \end_layout
24794
24795 \begin_layout Section
24796 Framed Boxes
24797 \begin_inset LatexCommand label
24798 name "sec:Framed-Boxes"
24799
24800 \end_inset
24801
24802
24803 \begin_inset LatexCommand index
24804 name "Boxes ! Frames"
24805
24806 \end_inset
24807
24808
24809 \end_layout
24810
24811 \begin_layout Standard
24812 The frame style of the box can be specified in the box-dialog in the drop-down
24813  list 
24814 \family sans
24815 Type
24816 \family default
24817 .
24818  The following frame types are possible:
24819 \end_layout
24820
24821 \begin_layout Description
24822 Rectangular\InsetSpace ~
24823 box This draws a rectangle frame around the box.
24824  The frame line thickness has the size of 
24825 \series bold
24826
24827 \backslash
24828 fboxrule
24829 \series default
24830 .
24831  
24832 \begin_inset Box Boxed
24833 position "c"
24834 hor_pos "c"
24835 has_inner_box 1
24836 inner_pos "c"
24837 use_parbox 0
24838 width "20col%"
24839 special "none"
24840 height "1in"
24841 height_special "totalheight"
24842 status collapsed
24843
24844 \begin_layout Standard
24845 \align center
24846 Rectangular box
24847 \end_layout
24848
24849 \end_inset
24850
24851
24852 \end_layout
24853
24854 \begin_layout Description
24855 Oval\InsetSpace ~
24856 box,\InsetSpace ~
24857 thin This draws an oval frame around the box.
24858  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24859 pt.
24860  
24861 \begin_inset Box ovalbox
24862 position "c"
24863 hor_pos "c"
24864 has_inner_box 1
24865 inner_pos "c"
24866 use_parbox 0
24867 width "20col%"
24868 special "none"
24869 height "1in"
24870 height_special "totalheight"
24871 status collapsed
24872
24873 \begin_layout Standard
24874 \align center
24875 Oval box, thin
24876 \end_layout
24877
24878 \end_inset
24879
24880
24881 \end_layout
24882
24883 \begin_layout Description
24884 Oval\InsetSpace ~
24885 box,\InsetSpace ~
24886 thick This draws an oval frame around the box.
24887  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24888 pt.
24889  
24890 \begin_inset Box Ovalbox
24891 position "c"
24892 hor_pos "c"
24893 has_inner_box 1
24894 inner_pos "c"
24895 use_parbox 0
24896 width "20col%"
24897 special "none"
24898 height "1in"
24899 height_special "totalheight"
24900 status collapsed
24901
24902 \begin_layout Standard
24903 \align center
24904 Oval box, thick
24905 \end_layout
24906
24907 \end_inset
24908
24909
24910 \end_layout
24911
24912 \begin_layout Description
24913 Shadow\InsetSpace ~
24914 box This draws a rectangle frame with a shadow around the box.
24915  The frame line thickness has the size of 
24916 \series bold
24917
24918 \backslash
24919 fboxrule
24920 \series default
24921 , the shadow has a width of 4\InsetSpace \thinspace{}
24922 pt.
24923  
24924 \begin_inset Box Shadowbox
24925 position "c"
24926 hor_pos "c"
24927 has_inner_box 1
24928 inner_pos "c"
24929 use_parbox 0
24930 width "20col%"
24931 special "none"
24932 height "1in"
24933 height_special "totalheight"
24934 status collapsed
24935
24936 \begin_layout Standard
24937 \align center
24938 Shadow box
24939 \end_layout
24940
24941 \end_inset
24942
24943
24944 \end_layout
24945
24946 \begin_layout Description
24947 Double\InsetSpace ~
24948 box This draws a double-line rectangle frame around the box.
24949  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24950
24951 \series bold
24952
24953 \backslash
24954 fboxrule
24955 \series default
24956 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24957
24958 \series bold
24959
24960 \backslash
24961 fboxrule
24962 \series default
24963 .
24964  The distance between the lines is 1.5\InsetSpace \thinspace{}
24965
24966 \series bold
24967
24968 \backslash
24969 fboxrule
24970 \series default
24971 \InsetSpace \thinspace{}
24972 +\InsetSpace \thinspace{}
24973 0.5\InsetSpace \thinspace{}
24974 pt.
24975  
24976 \begin_inset Box Doublebox
24977 position "c"
24978 hor_pos "c"
24979 has_inner_box 1
24980 inner_pos "c"
24981 use_parbox 0
24982 width "20col%"
24983 special "none"
24984 height "1in"
24985 height_special "totalheight"
24986 status collapsed
24987
24988 \begin_layout Standard
24989 \align center
24990 Double box
24991 \end_layout
24992
24993 \end_inset
24994
24995
24996 \end_layout
24997
24998 \begin_layout Standard
24999 \begin_inset VSpace bigskip
25000 \end_inset
25001
25002 LyX's box label will change to the used frame style when you set a frame.
25003  To be able to use the different frame styles, the LaTeX-package 
25004 \series bold
25005 fancybox
25006 \series default
25007
25008 \begin_inset LatexCommand index
25009 name "LaTeX-packages ! fancybox"
25010
25011 \end_inset
25012
25013  must be installed.
25014 \end_layout
25015
25016 \begin_layout Standard
25017 \begin_inset VSpace bigskip
25018 \end_inset
25019
25020 The default value for the size 
25021 \series bold
25022
25023 \backslash
25024 fboxrule
25025 \series default
25026  is 0.4\InsetSpace \thinspace{}
25027 pt.
25028  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
25029 g.\InsetSpace ~
25030 2\InsetSpace \thinspace{}
25031 pt:
25032 \end_layout
25033
25034 \begin_layout Standard
25035
25036 \series bold
25037
25038 \backslash
25039 setlength{
25040 \backslash
25041 fboxrule}{2pt}
25042 \end_layout
25043
25044 \begin_layout Standard
25045 \begin_inset ERT
25046 status collapsed
25047
25048 \begin_layout Standard
25049
25050
25051 \backslash
25052 setlength{
25053 \backslash
25054 fboxrule}{2pt}
25055 \end_layout
25056
25057 \end_inset
25058
25059
25060 \begin_inset Box Boxed
25061 position "c"
25062 hor_pos "c"
25063 has_inner_box 1
25064 inner_pos "c"
25065 use_parbox 0
25066 width "25col%"
25067 special "none"
25068 height "1in"
25069 height_special "totalheight"
25070 status collapsed
25071
25072 \begin_layout Standard
25073 \align center
25074 Rectangular box with 
25075 \series bold
25076
25077 \backslash
25078 fboxrule
25079 \series default
25080 \InsetSpace \thinspace{}
25081 =\InsetSpace \thinspace{}
25082 2\InsetSpace \thinspace{}
25083 pt
25084 \end_layout
25085
25086 \end_inset
25087
25088
25089 \begin_inset ERT
25090 status collapsed
25091
25092 \begin_layout Standard
25093
25094
25095 \backslash
25096 setlength{
25097 \backslash
25098 fboxrule}{0.4pt}
25099 \end_layout
25100
25101 \end_inset
25102
25103
25104 \end_layout
25105
25106 \begin_layout Standard
25107 \begin_inset VSpace bigskip
25108 \end_inset
25109
25110 The space between the frame and the box content is for all frame styles
25111  by default 3\InsetSpace \thinspace{}
25112 pt.
25113  You can change it by setting the length 
25114 \series bold
25115
25116 \backslash
25117 fboxsep
25118 \series default
25119  to another value.
25120  For example the command
25121 \end_layout
25122
25123 \begin_layout Standard
25124
25125 \series bold
25126
25127 \backslash
25128 setlength{
25129 \backslash
25130 fboxsep}{10pt}
25131 \end_layout
25132
25133 \begin_layout Standard
25134 sets the value to 10\InsetSpace \thinspace{}
25135 pt, like for the following box:
25136 \end_layout
25137
25138 \begin_layout Standard
25139 \begin_inset ERT
25140 status collapsed
25141
25142 \begin_layout Standard
25143
25144
25145 \backslash
25146 setlength{
25147 \backslash
25148 fboxsep}{10pt}
25149 \end_layout
25150
25151 \end_inset
25152
25153
25154 \begin_inset Box Boxed
25155 position "c"
25156 hor_pos "c"
25157 has_inner_box 1
25158 inner_pos "c"
25159 use_parbox 0
25160 width "25col%"
25161 special "none"
25162 height "1in"
25163 height_special "totalheight"
25164 status collapsed
25165
25166 \begin_layout Standard
25167 \align center
25168 Rectangular box with 
25169 \series bold
25170
25171 \backslash
25172 fboxsep
25173 \series default
25174 \InsetSpace \thinspace{}
25175 =\InsetSpace \thinspace{}
25176 10\InsetSpace \thinspace{}
25177 pt
25178 \end_layout
25179
25180 \end_inset
25181
25182
25183 \begin_inset ERT
25184 status collapsed
25185
25186 \begin_layout Standard
25187
25188
25189 \backslash
25190 setlength{
25191 \backslash
25192 fboxsep}{3pt}
25193 \end_layout
25194
25195 \end_inset
25196
25197
25198 \end_layout
25199
25200 \begin_layout Standard
25201 \begin_inset VSpace bigskip
25202 \end_inset
25203
25204 The diameter of the round corners of the oval boxes can be set with the
25205  command 
25206 \series bold
25207
25208 \backslash
25209 cornersize
25210 \series default
25211 .
25212  The command
25213 \end_layout
25214
25215 \begin_layout Standard
25216
25217 \series bold
25218
25219 \backslash
25220 cornersize*{1cm}
25221 \end_layout
25222
25223 \begin_layout Standard
25224 sets the diameter to 1\InsetSpace \thinspace{}
25225 cm.
25226  The command
25227 \end_layout
25228
25229 \begin_layout Standard
25230
25231 \series bold
25232
25233 \backslash
25234 cornersize{num}
25235 \end_layout
25236
25237 \begin_layout Standard
25238 sets the diameter to 
25239 \family sans
25240 num\InsetSpace \thinspace{}
25241 ×\InsetSpace \thinspace{}
25242 minimum(width and heigth of box)
25243 \family default
25244 .
25245  The default is 
25246 \series bold
25247
25248 \backslash
25249 cornersize{0.5}
25250 \series default
25251 .
25252 \end_layout
25253
25254 \begin_layout Standard
25255 \begin_inset ERT
25256 status collapsed
25257
25258 \begin_layout Standard
25259
25260
25261 \backslash
25262 cornersize*{1.5cm}
25263 \end_layout
25264
25265 \end_inset
25266
25267
25268 \begin_inset Box Ovalbox
25269 position "c"
25270 hor_pos "c"
25271 has_inner_box 1
25272 inner_pos "c"
25273 use_parbox 0
25274 width "25col%"
25275 special "none"
25276 height "1in"
25277 height_special "totalheight"
25278 status collapsed
25279
25280 \begin_layout Standard
25281 \align center
25282 Oval box with 
25283 \series bold
25284
25285 \backslash
25286 cornersize
25287 \series default
25288 \InsetSpace \thinspace{}
25289 =\InsetSpace \thinspace{}
25290 1.5\InsetSpace \thinspace{}
25291 cm
25292 \end_layout
25293
25294 \end_inset
25295
25296
25297 \begin_inset ERT
25298 status collapsed
25299
25300 \begin_layout Standard
25301
25302
25303 \backslash
25304 cornersize{0.5}
25305 \end_layout
25306
25307 \end_inset
25308
25309
25310 \end_layout
25311
25312 \begin_layout Standard
25313 \begin_inset VSpace bigskip
25314 \end_inset
25315
25316 The size of the shadow can be adjusted by changing the length 
25317 \series bold
25318
25319 \backslash
25320 shadowsize
25321 \series default
25322 .
25323  It it set to 2\InsetSpace \thinspace{}
25324 pt for the following box by this command:
25325 \end_layout
25326
25327 \begin_layout Standard
25328
25329 \series bold
25330
25331 \backslash
25332 setlength{
25333 \backslash
25334 shadowsize}{2pt}
25335 \end_layout
25336
25337 \begin_layout Standard
25338 \begin_inset ERT
25339 status collapsed
25340
25341 \begin_layout Standard
25342
25343
25344 \backslash
25345 setlength{
25346 \backslash
25347 shadowsize}{2pt}
25348 \end_layout
25349
25350 \end_inset
25351
25352
25353 \begin_inset Box Shadowbox
25354 position "c"
25355 hor_pos "c"
25356 has_inner_box 1
25357 inner_pos "c"
25358 use_parbox 0
25359 width "25col%"
25360 special "none"
25361 height "1in"
25362 height_special "totalheight"
25363 status collapsed
25364
25365 \begin_layout Standard
25366 \align center
25367 Shadow box with 
25368 \series bold
25369
25370 \backslash
25371 shadowsize
25372 \series default
25373 \InsetSpace \thinspace{}
25374 =\InsetSpace \thinspace{}
25375 2\InsetSpace \thinspace{}
25376 pt
25377 \end_layout
25378
25379 \end_inset
25380
25381
25382 \begin_inset ERT
25383 status collapsed
25384
25385 \begin_layout Standard
25386
25387
25388 \backslash
25389 setlength{
25390 \backslash
25391 shadowsize}{4pt}
25392 \end_layout
25393
25394 \end_inset
25395
25396
25397 \end_layout
25398
25399 \begin_layout Standard
25400 \begin_inset VSpace bigskip
25401 \end_inset
25402
25403 Changed lengths and widths are valid for all boxes following the commands
25404  that change them.
25405 \end_layout
25406
25407 \begin_layout Section
25408 Minipages
25409 \begin_inset LatexCommand label
25410 name "sec:Minipages"
25411
25412 \end_inset
25413
25414
25415 \begin_inset LatexCommand index
25416 name "Boxes ! Minipages"
25417
25418 \end_inset
25419
25420
25421 \end_layout
25422
25423 \begin_layout Standard
25424 Minipages are treated by LaTeX as pages within pages and can therefore for
25425  example have their own footnotes.
25426 \end_layout
25427
25428 \begin_layout Standard
25429 Minipages are useful when you write documents with different languages.
25430 \end_layout
25431
25432 \begin_layout Standard
25433 Below are two example minipages side by side.
25434  Their width is set to 45\InsetSpace \thinspace{}
25435 col% and they are separated by a horizontal fill,
25436  that was inserted via the menu 
25437 \family sans
25438 Insert\SpecialChar \menuseparator
25439 Special\InsetSpace ~
25440 Formatting\SpecialChar \menuseparator
25441 Horizontal\InsetSpace ~
25442 Fill
25443 \family default
25444 .
25445 \end_layout
25446
25447 \begin_layout Standard
25448 \begin_inset Box Frameless
25449 position "t"
25450 hor_pos "c"
25451 has_inner_box 1
25452 inner_pos "c"
25453 use_parbox 0
25454 width "45col%"
25455 special "none"
25456 height "1in"
25457 height_special "totalheight"
25458 status open
25459
25460 \begin_layout Standard
25461
25462 \lang german
25463 Dies ist ein deutscher Text.
25464  Dies ist ein deutscher Text.
25465  Dies ist ein deutscher Text.
25466  Dies ist ein deutscher Text.
25467  Dies ist ein deutscher Text.
25468  Dies ist ein deutscher Text.
25469  Dies ist ein deutscher Text.
25470  Dies ist ein deutscher Text.
25471  Dies ist ein deutscher Text.
25472  Dies ist ein deutscher Text.
25473  Dies ist ein deutscher Text.
25474  Dies ist ein deutscher Text.
25475  Dies ist ein deutscher Text
25476 \begin_inset Foot
25477 status collapsed
25478
25479 \begin_layout Standard
25480
25481 \lang german
25482 Dies ist eine deutsche Fußnote.
25483 \end_layout
25484
25485 \end_inset
25486
25487 .
25488  Dies ist ein deutscher Text.
25489  Dies ist ein deutscher Text.
25490 \end_layout
25491
25492 \end_inset
25493
25494
25495 \hfill
25496
25497 \begin_inset Box Frameless
25498 position "t"
25499 hor_pos "c"
25500 has_inner_box 1
25501 inner_pos "c"
25502 use_parbox 0
25503 width "45col%"
25504 special "none"
25505 height "1in"
25506 height_special "totalheight"
25507 status open
25508
25509 \begin_layout Standard
25510 This is an English Text.
25511  This is an English Text.
25512  This is an English Text.
25513  This is an English Text.
25514  This is an English Text.
25515  This is an English Text.
25516  This is an English Text.
25517  This is an English Text.
25518  This is an English Text.
25519  This is an English Text.
25520  This is an English Text.
25521  This is an English Text.
25522  This is an English Text.
25523  This is an English Text.
25524  This is an English Text.
25525  This is an English Text.
25526 \begin_inset Foot
25527 status collapsed
25528
25529 \begin_layout Standard
25530 This is an English footnote.
25531 \end_layout
25532
25533 \end_inset
25534
25535  This is an English Text.
25536  
25537 \end_layout
25538
25539 \end_inset
25540
25541
25542 \end_layout
25543
25544 \begin_layout Standard
25545 \begin_inset VSpace bigskip
25546 \end_inset
25547
25548 Another application for minipages are footnotes within tables.
25549  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25550  bottom of the current page.
25551  But when you put the table with the footnote to a minipage, the footnote
25552  will appear at its bottom, numbered with Latin letters.
25553  The footnote number is reset to 1 in every minipage but not outside the
25554  minipages.
25555 \end_layout
25556
25557 \begin_layout Standard
25558 The footnote of this table doesn't appear: 
25559 \begin_inset Tabular
25560 <lyxtabular version="3" rows="3" columns="4">
25561 <features>
25562 <column alignment="center" valignment="top" leftline="true" width="0pt">
25563 <column alignment="center" valignment="top" leftline="true" width="0pt">
25564 <column alignment="center" valignment="top" leftline="true" width="0pt">
25565 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25566 <row topline="true">
25567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25568 \begin_inset Text
25569
25570 \begin_layout Standard
25571 1
25572 \end_layout
25573
25574 \end_inset
25575 </cell>
25576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25577 \begin_inset Text
25578
25579 \begin_layout Standard
25580 2
25581 \end_layout
25582
25583 \end_inset
25584 </cell>
25585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25586 \begin_inset Text
25587
25588 \begin_layout Standard
25589 3
25590 \begin_inset Foot
25591 status collapsed
25592
25593 \begin_layout Standard
25594 This is a footnote within a table.
25595 \end_layout
25596
25597 \end_inset
25598
25599
25600 \end_layout
25601
25602 \end_inset
25603 </cell>
25604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25605 \begin_inset Text
25606
25607 \begin_layout Standard
25608 4
25609 \end_layout
25610
25611 \end_inset
25612 </cell>
25613 </row>
25614 <row topline="true">
25615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25616 \begin_inset Text
25617
25618 \begin_layout Standard
25619 a
25620 \end_layout
25621
25622 \end_inset
25623 </cell>
25624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25625 \begin_inset Text
25626
25627 \begin_layout Standard
25628 b
25629 \end_layout
25630
25631 \end_inset
25632 </cell>
25633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25634 \begin_inset Text
25635
25636 \begin_layout Standard
25637 c
25638 \end_layout
25639
25640 \end_inset
25641 </cell>
25642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25643 \begin_inset Text
25644
25645 \begin_layout Standard
25646 d
25647 \end_layout
25648
25649 \end_inset
25650 </cell>
25651 </row>
25652 <row topline="true" bottomline="true">
25653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25654 \begin_inset Text
25655
25656 \begin_layout Standard
25657 e
25658 \end_layout
25659
25660 \end_inset
25661 </cell>
25662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25663 \begin_inset Text
25664
25665 \begin_layout Standard
25666 f
25667 \end_layout
25668
25669 \end_inset
25670 </cell>
25671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25672 \begin_inset Text
25673
25674 \begin_layout Standard
25675 g
25676 \end_layout
25677
25678 \end_inset
25679 </cell>
25680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25681 \begin_inset Text
25682
25683 \begin_layout Standard
25684 h
25685 \end_layout
25686
25687 \end_inset
25688 </cell>
25689 </row>
25690 </lyxtabular>
25691
25692 \end_inset
25693
25694
25695 \end_layout
25696
25697 \begin_layout Standard
25698 \align center
25699 \begin_inset Box Frameless
25700 position "t"
25701 hor_pos "c"
25702 has_inner_box 1
25703 inner_pos "c"
25704 use_parbox 0
25705 width "30col%"
25706 special "none"
25707 height "1in"
25708 height_special "totalheight"
25709 status open
25710
25711 \begin_layout Standard
25712 \align center
25713 \begin_inset Tabular
25714 <lyxtabular version="3" rows="3" columns="4">
25715 <features>
25716 <column alignment="center" valignment="top" leftline="true" width="0pt">
25717 <column alignment="center" valignment="top" leftline="true" width="0pt">
25718 <column alignment="center" valignment="top" leftline="true" width="0pt">
25719 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25720 <row topline="true">
25721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25722 \begin_inset Text
25723
25724 \begin_layout Standard
25725 1
25726 \end_layout
25727
25728 \end_inset
25729 </cell>
25730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25731 \begin_inset Text
25732
25733 \begin_layout Standard
25734 2
25735 \end_layout
25736
25737 \end_inset
25738 </cell>
25739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25740 \begin_inset Text
25741
25742 \begin_layout Standard
25743 3
25744 \begin_inset Foot
25745 status collapsed
25746
25747 \begin_layout Standard
25748 This is a footnote within a table.
25749 \end_layout
25750
25751 \end_inset
25752
25753
25754 \end_layout
25755
25756 \end_inset
25757 </cell>
25758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25759 \begin_inset Text
25760
25761 \begin_layout Standard
25762 4
25763 \end_layout
25764
25765 \end_inset
25766 </cell>
25767 </row>
25768 <row topline="true">
25769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25770 \begin_inset Text
25771
25772 \begin_layout Standard
25773 a
25774 \end_layout
25775
25776 \end_inset
25777 </cell>
25778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25779 \begin_inset Text
25780
25781 \begin_layout Standard
25782 b
25783 \end_layout
25784
25785 \end_inset
25786 </cell>
25787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25788 \begin_inset Text
25789
25790 \begin_layout Standard
25791 c
25792 \end_layout
25793
25794 \end_inset
25795 </cell>
25796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25797 \begin_inset Text
25798
25799 \begin_layout Standard
25800 d
25801 \end_layout
25802
25803 \end_inset
25804 </cell>
25805 </row>
25806 <row topline="true" bottomline="true">
25807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25808 \begin_inset Text
25809
25810 \begin_layout Standard
25811 e
25812 \end_layout
25813
25814 \end_inset
25815 </cell>
25816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25817 \begin_inset Text
25818
25819 \begin_layout Standard
25820 f
25821 \end_layout
25822
25823 \end_inset
25824 </cell>
25825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25826 \begin_inset Text
25827
25828 \begin_layout Standard
25829 g
25830 \end_layout
25831
25832 \end_inset
25833 </cell>
25834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25835 \begin_inset Text
25836
25837 \begin_layout Standard
25838 h
25839 \end_layout
25840
25841 \end_inset
25842 </cell>
25843 </row>
25844 </lyxtabular>
25845
25846 \end_inset
25847
25848
25849 \end_layout
25850
25851 \end_inset
25852
25853
25854 \end_layout
25855
25856 \begin_layout Standard
25857 \begin_inset VSpace bigskip
25858 \end_inset
25859
25860 The document-wide paragraph settings are ignored within minipages.
25861  That means that there will be no space between paragraphs in minipages
25862  although you set it to e.\InsetSpace \thinspace{}
25863 g.\InsetSpace ~
25864
25865 \family sans
25866 MedSkip
25867 \family default
25868  in the document settings.
25869 \end_layout
25870
25871 \begin_layout Standard
25872 Minipages can also be used to set a background color for text parts, see
25873  section\InsetSpace ~
25874
25875 \begin_inset LatexCommand ref
25876 reference "sub:Color-for-Paragraphs"
25877
25878 \end_inset
25879
25880 .
25881 \end_layout
25882
25883 \begin_layout Standard
25884 \begin_inset Note Greyedout
25885 status open
25886
25887 \begin_layout Standard
25888
25889 \series bold
25890 Note:
25891 \series default
25892  You cannot have floats or margin notes inside minipages but minipages can
25893  be used inside tables, floats, and other boxes.
25894 \end_layout
25895
25896 \end_inset
25897
25898
25899 \end_layout
25900
25901 \begin_layout Section
25902 Parboxes
25903 \begin_inset LatexCommand label
25904 name "sec:Parboxes"
25905
25906 \end_inset
25907
25908
25909 \begin_inset LatexCommand index
25910 name "Boxes ! Parboxes"
25911
25912 \end_inset
25913
25914
25915 \end_layout
25916
25917 \begin_layout Standard
25918 Parboxes are very similar to minipages with the difference that they cannot
25919  have footnotes.
25920  The main difference to minipages is that minipages are in contrary to parboxes
25921  no real boxes but LaTeX-environments.
25922 \end_layout
25923
25924 \begin_layout Standard
25925 \align center
25926 \begin_inset Box Frameless
25927 position "t"
25928 hor_pos "c"
25929 has_inner_box 1
25930 inner_pos "t"
25931 use_parbox 1
25932 width "33col%"
25933 special "none"
25934 height "1in"
25935 height_special "totalheight"
25936 status collapsed
25937
25938 \begin_layout Standard
25939 This a text within a parbox.
25940  This a text within a parbox.
25941 \end_layout
25942
25943 \begin_layout Standard
25944 This footnote won't appear:
25945 \begin_inset Foot
25946 status collapsed
25947
25948 \begin_layout Standard
25949 This footnote is inside a parbox and will therefore not appear.
25950 \end_layout
25951
25952 \end_inset
25953
25954
25955 \end_layout
25956
25957 \end_inset
25958
25959
25960 \end_layout
25961
25962 \begin_layout Section
25963 Boxes for Words and Characters
25964 \begin_inset LatexCommand index
25965 name "Boxes ! for Characters"
25966
25967 \end_inset
25968
25969
25970 \end_layout
25971
25972 \begin_layout Subsection
25973 Prevent Hyphenation
25974 \begin_inset LatexCommand label
25975 name "sec:Prevent-Hyphenation"
25976
25977 \end_inset
25978
25979
25980 \begin_inset LatexCommand index
25981 name "Boxes ! to Prevent Hyphenation"
25982
25983 \end_inset
25984
25985
25986 \end_layout
25987
25988 \begin_layout Standard
25989 You can use a special kind of boxes to prevent words or text to be hyphenated.
25990 \newline
25991 Her
25992 e is an example text:
25993 \end_layout
25994
25995 \begin_layout Standard
25996 This line is an example to show how you can prevent the hyphenation of 
25997 \begin_inset Quotes eld
25998 \end_inset
25999
26000 veryverylongword
26001 \begin_inset Quotes erd
26002 \end_inset
26003
26004 .
26005 \end_layout
26006
26007 \begin_layout Standard
26008 To prevent the hyphenation of the word 
26009 \begin_inset Quotes eld
26010 \end_inset
26011
26012 veryverylongword
26013 \begin_inset Quotes erd
26014 \end_inset
26015
26016 , add the command
26017 \end_layout
26018
26019 \begin_layout Standard
26020
26021 \series bold
26022
26023 \backslash
26024 mbox{
26025 \end_layout
26026
26027 \begin_layout Standard
26028 in ERT before the word.
26029  Behind the word insert a closing brace 
26030 \begin_inset Quotes eld
26031 \end_inset
26032
26033
26034 \series bold
26035 }
26036 \series default
26037
26038 \begin_inset Quotes erd
26039 \end_inset
26040
26041  in ERT.
26042 \begin_inset ERT
26043 status collapsed
26044
26045 \begin_layout Standard
26046
26047
26048 \backslash
26049 pagebreak 
26050 \end_layout
26051
26052 \end_inset
26053
26054
26055 \end_layout
26056
26057 \begin_layout Standard
26058 This is the result:
26059 \end_layout
26060
26061 \begin_layout Standard
26062 This line is an example to show how you can prevent the hyphenation of 
26063 \begin_inset ERT
26064 status collapsed
26065
26066 \begin_layout Standard
26067
26068
26069 \backslash
26070 mbox{
26071 \end_layout
26072
26073 \end_inset
26074
26075
26076 \begin_inset Quotes eld
26077 \end_inset
26078
26079 veryverylongword
26080 \begin_inset Quotes erd
26081 \end_inset
26082
26083 .
26084 \begin_inset ERT
26085 status collapsed
26086
26087 \begin_layout Standard
26088
26089 }
26090 \end_layout
26091
26092 \end_inset
26093
26094
26095 \end_layout
26096
26097 \begin_layout Standard
26098 You can alternatively set the command 
26099 \begin_inset Quotes eld
26100 \end_inset
26101
26102
26103 \series bold
26104
26105 \backslash
26106 -
26107 \series default
26108
26109 \begin_inset Quotes grd
26110 \end_inset
26111
26112  as ERT directly before the word:
26113 \end_layout
26114
26115 \begin_layout Standard
26116 This line is an example to show how you can prevent the hyphenation of 
26117 \begin_inset Quotes eld
26118 \end_inset
26119
26120
26121 \begin_inset ERT
26122 status collapsed
26123
26124 \begin_layout Standard
26125
26126
26127 \backslash
26128 -
26129 \end_layout
26130
26131 \end_inset
26132
26133 veryverylongword
26134 \begin_inset Quotes erd
26135 \end_inset
26136
26137 .
26138 \end_layout
26139
26140 \begin_layout Standard
26141 Of course the word now protrudes over the side margin.
26142  To avoid this, add via the menu 
26143 \family sans
26144 Insert\SpecialChar \menuseparator
26145 Special\InsetSpace ~
26146 Formatting\SpecialChar \menuseparator
26147 Line\InsetSpace ~
26148 Break
26149 \family default
26150  (shortcut 
26151 \series bold
26152 Ctrl-Return
26153 \series default
26154 ) a line break before the word:
26155 \end_layout
26156
26157 \begin_layout Standard
26158 This line is an example to show how you can prevent the hyphenation of 
26159 \newline
26160
26161 \begin_inset ERT
26162 status collapsed
26163
26164 \begin_layout Standard
26165
26166
26167 \backslash
26168 mbox{
26169 \end_layout
26170
26171 \end_inset
26172
26173
26174 \begin_inset Quotes eld
26175 \end_inset
26176
26177 veryverylongword
26178 \begin_inset Quotes erd
26179 \end_inset
26180
26181 .
26182 \begin_inset ERT
26183 status collapsed
26184
26185 \begin_layout Standard
26186
26187 }
26188 \end_layout
26189
26190 \end_inset
26191
26192
26193 \end_layout
26194
26195 \begin_layout Subsection
26196 Vertical Alignment
26197 \begin_inset LatexCommand label
26198 name "sub:Vertical-Alignment"
26199
26200 \end_inset
26201
26202
26203 \begin_inset LatexCommand index
26204 name "Boxes ! for Vertical Alignment"
26205
26206 \end_inset
26207
26208
26209 \begin_inset LatexCommand index
26210 name "Boxes ! Raiseboxes"
26211
26212 \end_inset
26213
26214
26215 \end_layout
26216
26217 \begin_layout Standard
26218 With the help of the command 
26219 \series bold
26220
26221 \backslash
26222 raisebox
26223 \series default
26224  you can align words, characters or other boxes vertically to the surrounding
26225  text.
26226  
26227 \series bold
26228
26229 \backslash
26230 raisebox
26231 \series default
26232  is used with the following scheme:
26233 \end_layout
26234
26235 \begin_layout Standard
26236
26237 \series bold
26238
26239 \backslash
26240 raisebox{lift}[height][depth]{box content}
26241 \end_layout
26242
26243 \begin_layout Standard
26244 The lift can be a positive value to raise the box or a negative value to
26245  lower the box.
26246 \end_layout
26247
26248 \begin_layout Standard
26249 To align for example the word 
26250 \begin_inset Quotes eld
26251 \end_inset
26252
26253 preventing
26254 \begin_inset Quotes erd
26255 \end_inset
26256
26257  so that the bottom of the 
26258 \begin_inset Quotes eld
26259 \end_inset
26260
26261 deepest
26262 \begin_inset Quotes erd
26263 \end_inset
26264
26265  character 
26266 \begin_inset Quotes eld
26267 \end_inset
26268
26269 p
26270 \begin_inset Quotes erd
26271 \end_inset
26272
26273  is at the baseline, insert the command
26274 \end_layout
26275
26276 \begin_layout Standard
26277
26278 \series bold
26279
26280 \backslash
26281 raisebox{
26282 \backslash
26283 depth}{
26284 \end_layout
26285
26286 \begin_layout Standard
26287 in ERT before the word.
26288  Behind the word insert a closing brace 
26289 \begin_inset Quotes eld
26290 \end_inset
26291
26292
26293 \series bold
26294 }
26295 \series default
26296
26297 \begin_inset Quotes erd
26298 \end_inset
26299
26300  in ERT.
26301 \newline
26302 This is the result:
26303 \end_layout
26304
26305 \begin_layout Standard
26306 This is a text line with the word 
26307 \begin_inset ERT
26308 status collapsed
26309
26310 \begin_layout Standard
26311
26312
26313 \backslash
26314 raisebox{
26315 \backslash
26316 depth}{
26317 \end_layout
26318
26319 \end_inset
26320
26321
26322 \begin_inset Quotes eld
26323 \end_inset
26324
26325 preventing
26326 \begin_inset Quotes erd
26327 \end_inset
26328
26329
26330 \begin_inset ERT
26331 status collapsed
26332
26333 \begin_layout Standard
26334
26335 }
26336 \end_layout
26337
26338 \end_inset
26339
26340  as raised word.
26341 \end_layout
26342
26343 \begin_layout Standard
26344 \begin_inset VSpace bigskip
26345 \end_inset
26346
26347 When you raise or lower characters in a line, the line distance will be
26348  spread:
26349 \end_layout
26350
26351 \begin_layout Standard
26352 This is a text line with the word 
26353 \begin_inset ERT
26354 status collapsed
26355
26356 \begin_layout Standard
26357
26358
26359 \backslash
26360 raisebox{-
26361 \backslash
26362 depth}{
26363 \end_layout
26364
26365 \end_inset
26366
26367
26368 \begin_inset Quotes eld
26369 \end_inset
26370
26371 preventing
26372 \begin_inset Quotes erd
26373 \end_inset
26374
26375
26376 \begin_inset ERT
26377 status collapsed
26378
26379 \begin_layout Standard
26380
26381 }
26382 \end_layout
26383
26384 \end_inset
26385
26386  as lowered word.
26387 \newline
26388 This is a text line with the word 
26389 \begin_inset ERT
26390 status collapsed
26391
26392 \begin_layout Standard
26393
26394
26395 \backslash
26396 raisebox{0.5cm}{
26397 \end_layout
26398
26399 \end_inset
26400
26401
26402 \begin_inset Quotes eld
26403 \end_inset
26404
26405 testing
26406 \begin_inset Quotes erd
26407 \end_inset
26408
26409
26410 \begin_inset ERT
26411 status collapsed
26412
26413 \begin_layout Standard
26414
26415 }
26416 \end_layout
26417
26418 \end_inset
26419
26420  as raised word.
26421 \end_layout
26422
26423 \begin_layout Standard
26424 If you want to prevent this for a certain reason, set the box height to
26425  a zero value.
26426  For example use
26427 \end_layout
26428
26429 \begin_layout Standard
26430
26431 \series bold
26432
26433 \backslash
26434 raisebox{-
26435 \backslash
26436 depth}[0pt]{
26437 \end_layout
26438
26439 \begin_layout Standard
26440 This is a text line with the word 
26441 \begin_inset ERT
26442 status collapsed
26443
26444 \begin_layout Standard
26445
26446
26447 \backslash
26448 raisebox{-
26449 \backslash
26450 depth}[0pt]{
26451 \end_layout
26452
26453 \end_inset
26454
26455
26456 \begin_inset Quotes eld
26457 \end_inset
26458
26459 preventing
26460 \begin_inset Quotes erd
26461 \end_inset
26462
26463
26464 \begin_inset ERT
26465 status collapsed
26466
26467 \begin_layout Standard
26468
26469 }
26470 \end_layout
26471
26472 \end_inset
26473
26474  as lowered word.
26475 \newline
26476 This is a text line with the word 
26477 \begin_inset ERT
26478 status collapsed
26479
26480 \begin_layout Standard
26481
26482
26483 \backslash
26484 raisebox{0.5cm}[0pt]{
26485 \end_layout
26486
26487 \end_inset
26488
26489
26490 \begin_inset Quotes eld
26491 \end_inset
26492
26493 testing
26494 \begin_inset Quotes erd
26495 \end_inset
26496
26497
26498 \begin_inset ERT
26499 status collapsed
26500
26501 \begin_layout Standard
26502
26503 }
26504 \end_layout
26505
26506 \end_inset
26507
26508  as raised word.
26509 \end_layout
26510
26511 \begin_layout Section
26512 Colored Boxes
26513 \begin_inset LatexCommand label
26514 name "sec:Colored-Boxes"
26515
26516 \end_inset
26517
26518
26519 \begin_inset LatexCommand index
26520 name "Boxes ! Color"
26521
26522 \end_inset
26523
26524
26525 \end_layout
26526
26527 \begin_layout Subsection
26528 Color for Text
26529 \begin_inset LatexCommand index
26530 name "Color ! for Text"
26531
26532 \end_inset
26533
26534
26535 \end_layout
26536
26537 \begin_layout Standard
26538 To color the background of text the text must be put into a so called 
26539 \begin_inset Quotes eld
26540 \end_inset
26541
26542 colorbox
26543 \begin_inset Quotes erd
26544 \end_inset
26545
26546 .
26547  This requires that the LaTeX-package 
26548 \series bold
26549 color
26550 \series default
26551
26552 \begin_inset LatexCommand index
26553 name "LaTeX-packages ! color"
26554
26555 \end_inset
26556
26557  is loaded in the document preamble with the command
26558 \end_layout
26559
26560 \begin_layout Standard
26561
26562 \series bold
26563
26564 \backslash
26565 @ifundef\SpecialChar \textcompwordmark{}
26566 ined{textcolor}
26567 \newline
26568
26569 \begin_inset ERT
26570 status collapsed
26571
26572 \begin_layout Standard
26573
26574
26575 \backslash
26576 hphantom{ }
26577 \end_layout
26578
26579 \end_inset
26580
26581 {
26582 \backslash
26583 usepackage{color}}{}
26584 \end_layout
26585
26586 \begin_layout Standard
26587 The package 
26588 \series bold
26589 color
26590 \series default
26591  will be loaded automatically by LyX when you color text
26592 \begin_inset Foot
26593 status collapsed
26594
26595 \begin_layout Standard
26596 To avoid that it is loaded twice the command 
26597 \series bold
26598
26599 \backslash
26600 @ifundef\SpecialChar \textcompwordmark{}
26601 ined
26602 \series default
26603  is used.
26604 \end_layout
26605
26606 \end_inset
26607
26608 .
26609 \end_layout
26610
26611 \begin_layout Standard
26612 \begin_inset VSpace medskip
26613 \end_inset
26614
26615 Colorboxes are created with the command 
26616 \series bold
26617
26618 \backslash
26619 colorbox
26620 \series default
26621 .
26622  This will be used with the following scheme:
26623 \end_layout
26624
26625 \begin_layout Standard
26626
26627 \series bold
26628
26629 \backslash
26630 colorbox{color}{box content}
26631 \end_layout
26632
26633 \begin_layout Standard
26634 The box content can also be a box and colorboxes can also be within other
26635  boxes.
26636 \end_layout
26637
26638 \begin_layout Standard
26639 The following colors are predefined:
26640 \newline
26641
26642 \family sans
26643 black
26644 \family default
26645
26646 \family sans
26647 blue
26648 \family default
26649
26650 \family sans
26651 cyan
26652 \family default
26653 \series bold
26654 ,
26655 \series default
26656  
26657 \family sans
26658 green
26659 \family default
26660
26661 \family sans
26662 magenta
26663 \family default
26664
26665 \family sans
26666 red
26667 \family default
26668
26669 \family sans
26670 white
26671 \family default
26672 , and 
26673 \family sans
26674 yellow
26675 \family default
26676 .
26677 \newline
26678 You can also define your own color as described in section\InsetSpace ~
26679
26680 \begin_inset LatexCommand ref
26681 reference "sec:Colored-Tables"
26682
26683 \end_inset
26684
26685 .
26686 \end_layout
26687
26688 \begin_layout Standard
26689 To have e.\InsetSpace \thinspace{}
26690 g.\InsetSpace ~
26691 a red background for a word, insert the command
26692 \end_layout
26693
26694 \begin_layout Standard
26695
26696 \series bold
26697
26698 \backslash
26699 colorbox{red}{
26700 \end_layout
26701
26702 \begin_layout Standard
26703 before the word in ERT.
26704  Behind the word insert a closing brace 
26705 \begin_inset Quotes eld
26706 \end_inset
26707
26708
26709 \series bold
26710 }
26711 \series default
26712
26713 \begin_inset Quotes erd
26714 \end_inset
26715
26716  in ERT.
26717 \newline
26718 This is the result:
26719 \end_layout
26720
26721 \begin_layout Standard
26722 This is a line where the word 
26723 \begin_inset ERT
26724 status collapsed
26725
26726 \begin_layout Standard
26727
26728
26729 \backslash
26730 colorbox{red}{
26731 \end_layout
26732
26733 \end_inset
26734
26735
26736 \begin_inset Quotes eld
26737 \end_inset
26738
26739 Attention!
26740 \begin_inset Quotes erd
26741 \end_inset
26742
26743
26744 \begin_inset ERT
26745 status collapsed
26746
26747 \begin_layout Standard
26748
26749 }
26750 \end_layout
26751
26752 \end_inset
26753
26754  has a red background.
26755 \end_layout
26756
26757 \begin_layout Standard
26758 \begin_inset VSpace bigskip
26759 \end_inset
26760
26761 If you would have the box frame in a different color, you can use the command
26762  
26763 \series bold
26764
26765 \backslash
26766 fcolorbox
26767 \series default
26768  with the following scheme:
26769 \end_layout
26770
26771 \begin_layout Standard
26772
26773 \series bold
26774
26775 \backslash
26776 fcolorbox{frame color}{box color}{box content}
26777 \end_layout
26778
26779 \begin_layout Standard
26780
26781 \series bold
26782
26783 \backslash
26784 fcolorbox
26785 \series default
26786  is an extension to 
26787 \series bold
26788
26789 \backslash
26790 colorbox
26791 \series default
26792 .
26793  The frame thickness and the space between the frame and the box content
26794  can be adjusted with the lengths 
26795 \series bold
26796
26797 \backslash
26798 fboxrule
26799 \series default
26800  and 
26801 \series bold
26802
26803 \backslash
26804 fboxsep
26805 \series default
26806 , respectively, as described in section\InsetSpace ~
26807
26808 \begin_inset LatexCommand ref
26809 reference "sec:Framed-Boxes"
26810
26811 \end_inset
26812
26813 .
26814 \end_layout
26815
26816 \begin_layout Standard
26817 For the following example the command
26818 \end_layout
26819
26820 \begin_layout Standard
26821
26822 \series bold
26823
26824 \backslash
26825 fcolorbox{cyan}{magenta}{
26826 \end_layout
26827
26828 \begin_layout Standard
26829 was used.
26830 \end_layout
26831
26832 \begin_layout Standard
26833 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26834 mm:
26835 \newline
26836
26837 \begin_inset ERT
26838 status collapsed
26839
26840 \begin_layout Standard
26841
26842
26843 \backslash
26844 fboxrule 1mm 
26845 \backslash
26846 fboxsep 1mm
26847 \end_layout
26848
26849 \end_inset
26850
26851
26852 \begin_inset ERT
26853 status collapsed
26854
26855 \begin_layout Standard
26856
26857
26858 \backslash
26859 fcolorbox{cyan}{magenta}{
26860 \end_layout
26861
26862 \end_inset
26863
26864 This is text within a colored, framed box.
26865 \begin_inset ERT
26866 status collapsed
26867
26868 \begin_layout Standard
26869
26870 }
26871 \end_layout
26872
26873 \end_inset
26874
26875
26876 \end_layout
26877
26878 \begin_layout Standard
26879 \begin_inset VSpace bigskip
26880 \end_inset
26881
26882 Of course you can also have colored text inside a colorbox:
26883 \newline
26884
26885 \begin_inset ERT
26886 status collapsed
26887
26888 \begin_layout Standard
26889
26890
26891 \backslash
26892 fcolorbox{cyan}{magenta}{
26893 \end_layout
26894
26895 \end_inset
26896
26897
26898 \color yellow
26899 This is colored text within a colored, framed box.
26900 \color none
26901
26902 \begin_inset ERT
26903 status collapsed
26904
26905 \begin_layout Standard
26906
26907 }
26908 \end_layout
26909
26910 \end_inset
26911
26912
26913 \begin_inset ERT
26914 status collapsed
26915
26916 \begin_layout Standard
26917
26918
26919 \backslash
26920 fboxrule 0.4pt 
26921 \backslash
26922 fboxsep 3pt
26923 \end_layout
26924
26925 \end_inset
26926
26927
26928 \end_layout
26929
26930 \begin_layout Standard
26931
26932 \series bold
26933 \begin_inset VSpace medskip
26934 \end_inset
26935
26936
26937 \end_layout
26938
26939 \begin_layout Standard
26940 \begin_inset Note Greyedout
26941 status open
26942
26943 \begin_layout Standard
26944
26945 \series bold
26946 Note:
26947 \series default
26948  Text in colorboxes cannot have line breaks.
26949  To color multiple text lines or paragraphs, use a box inside a colorbox
26950  as described in the following.
26951 \end_layout
26952
26953 \end_inset
26954
26955
26956 \end_layout
26957
26958 \begin_layout Subsection
26959 Color for Paragraphs
26960 \begin_inset LatexCommand label
26961 name "sub:Color-for-Paragraphs"
26962
26963 \end_inset
26964
26965
26966 \begin_inset LatexCommand index
26967 name "Color ! for Paragraphs"
26968
26969 \end_inset
26970
26971
26972 \end_layout
26973
26974 \begin_layout Standard
26975 To set the background color for more than one text line, put the text into
26976  a minipage.
26977  Before the minipage insert the 
26978 \series bold
26979
26980 \backslash
26981 colorbox
26982 \series default
26983  command
26984 \end_layout
26985
26986 \begin_layout Standard
26987
26988 \series bold
26989
26990 \backslash
26991 colorbox{color}{
26992 \end_layout
26993
26994 \begin_layout Standard
26995 in ERT.
26996  Behind the minipage insert a closing brace 
26997 \begin_inset Quotes eld
26998 \end_inset
26999
27000
27001 \series bold
27002 }
27003 \series default
27004
27005 \begin_inset Quotes erd
27006 \end_inset
27007
27008  in ERT.
27009 \end_layout
27010
27011 \begin_layout Standard
27012 \begin_inset ERT
27013 status collapsed
27014
27015 \begin_layout Standard
27016
27017
27018 \backslash
27019 colorbox{lightgrey}{
27020 \end_layout
27021
27022 \end_inset
27023
27024
27025 \begin_inset Box Frameless
27026 position "t"
27027 hor_pos "c"
27028 has_inner_box 1
27029 inner_pos "t"
27030 use_parbox 0
27031 width "100col%"
27032 special "none"
27033 height "1in"
27034 height_special "totalheight"
27035 status collapsed
27036
27037 \begin_layout Standard
27038 This is text with background color.
27039  This is text with background color.
27040 \end_layout
27041
27042 \begin_layout Standard
27043 \begin_inset VSpace defskip
27044 \end_inset
27045
27046 The text can have footnotes
27047 \begin_inset Foot
27048 status collapsed
27049
27050 \begin_layout Standard
27051 Another example footnote
27052 \end_layout
27053
27054 \end_inset
27055
27056  and can include tables and figures.
27057 \end_layout
27058
27059 \begin_layout Standard
27060 \align center
27061 \begin_inset Tabular
27062 <lyxtabular version="3" rows="3" columns="3">
27063 <features>
27064 <column alignment="center" valignment="top" leftline="true" width="0">
27065 <column alignment="center" valignment="top" leftline="true" width="0">
27066 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27067 <row topline="true">
27068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27069 \begin_inset Text
27070
27071 \begin_layout Standard
27072 a
27073 \end_layout
27074
27075 \end_inset
27076 </cell>
27077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27078 \begin_inset Text
27079
27080 \begin_layout Standard
27081 !
27082 \end_layout
27083
27084 \end_inset
27085 </cell>
27086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27087 \begin_inset Text
27088
27089 \begin_layout Standard
27090 3
27091 \end_layout
27092
27093 \end_inset
27094 </cell>
27095 </row>
27096 <row topline="true">
27097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27098 \begin_inset Text
27099
27100 \begin_layout Standard
27101 <
27102 \end_layout
27103
27104 \end_inset
27105 </cell>
27106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27107 \begin_inset Text
27108
27109 \begin_layout Standard
27110 b2
27111 \begin_inset Quotes erd
27112 \end_inset
27113
27114 |
27115 \end_layout
27116
27117 \end_inset
27118 </cell>
27119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27120 \begin_inset Text
27121
27122 \begin_layout Standard
27123 >
27124 \end_layout
27125
27126 \end_inset
27127 </cell>
27128 </row>
27129 <row topline="true" bottomline="true">
27130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27131 \begin_inset Text
27132
27133 \begin_layout Standard
27134 1
27135 \end_layout
27136
27137 \end_inset
27138 </cell>
27139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27140 \begin_inset Text
27141
27142 \begin_layout Standard
27143 §
27144 \end_layout
27145
27146 \end_inset
27147 </cell>
27148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27149 \begin_inset Text
27150
27151 \begin_layout Standard
27152 c
27153 \end_layout
27154
27155 \end_inset
27156 </cell>
27157 </row>
27158 </lyxtabular>
27159
27160 \end_inset
27161
27162
27163 \end_layout
27164
27165 \end_inset
27166
27167
27168 \begin_inset ERT
27169 status collapsed
27170
27171 \begin_layout Standard
27172
27173 }
27174 \end_layout
27175
27176 \end_inset
27177
27178
27179 \end_layout
27180
27181 \begin_layout Section
27182 URLs (Uniform Resource Locators)
27183 \begin_inset LatexCommand index
27184 name "URLs"
27185
27186 \end_inset
27187
27188
27189 \end_layout
27190
27191 \begin_layout Standard
27192 Links to web pages or email addresses can be inserted via the menu 
27193 \family sans
27194 Insert\SpecialChar \menuseparator
27195 URL
27196 \family default
27197 .
27198  The appearing URL dialog has two fields; the 
27199 \family sans
27200 URL
27201 \family default
27202  field and the 
27203 \family sans
27204 Name
27205 \family default
27206  field for the URL description, which will be typeset as plain text immediately
27207  before the URL.
27208 \end_layout
27209
27210 \begin_layout Standard
27211 Here is an example URL: 
27212 \begin_inset LatexCommand url
27213 name "LyX's homepage"
27214 target "http://www.lyx.org"
27215
27216 \end_inset
27217
27218
27219 \end_layout
27220
27221 \begin_layout Standard
27222 The option 
27223 \family sans
27224 Generate\InsetSpace ~
27225 hyperlink
27226 \family default
27227  in the URL dialog does nothing.
27228  This relict will be removed in the next LyX-version.
27229 \end_layout
27230
27231 \begin_layout Standard
27232 You cannot change the style of the link text.
27233  The text of the 
27234 \family sans
27235 Name
27236 \family default
27237  field will have the default text style of the document while the text of
27238  the 
27239 \family sans
27240 URL
27241 \family default
27242  field will have the style 
27243 \begin_inset Quotes eld
27244 \end_inset
27245
27246
27247 \family sans
27248 Typewriter
27249 \family default
27250
27251 \begin_inset Quotes erd
27252 \end_inset
27253
27254 .
27255 \end_layout
27256
27257 \begin_layout Standard
27258 When you use the LaTeX-package 
27259 \series bold
27260 hyperref
27261 \series default
27262
27263 \begin_inset LatexCommand index
27264 name "LaTeX-packages ! hyperref"
27265
27266 \end_inset
27267
27268  to link cross-references in the output, URLs will automatically become
27269  clickable hyperlinks in DVI and PDF-output.
27270 \end_layout
27271
27272 \begin_layout Standard
27273 \begin_inset Note Greyedout
27274 status open
27275
27276 \begin_layout Standard
27277
27278 \series bold
27279 Note:
27280 \series default
27281  When you use the following characters: "%", "#", "^", you have to write
27282  them with a preceding backslash, e.\InsetSpace \thinspace{}
27283 g.\InsetSpace ~
27284
27285 \begin_inset Quotes eld
27286 \end_inset
27287
27288
27289 \backslash
27290 #
27291 \begin_inset Quotes erd
27292 \end_inset
27293
27294 .
27295  URLs must not end with a backslash.
27296 \end_layout
27297
27298 \end_inset
27299
27300
27301 \end_layout
27302
27303 \begin_layout Standard
27304 \begin_inset VSpace bigskip
27305 \end_inset
27306
27307 To create real hyperlinks without the force to write the link location to
27308  the text, you can use the command
27309 \end_layout
27310
27311 \begin_layout Standard
27312
27313 \series bold
27314
27315 \backslash
27316 href{link location}{link text}
27317 \end_layout
27318
27319 \begin_layout Standard
27320 in ERT.
27321  To get for example a link to LyX's web page, write the command
27322 \end_layout
27323
27324 \begin_layout Standard
27325
27326 \series bold
27327
27328 \backslash
27329 href{http://www.lyx.org}{
27330 \end_layout
27331
27332 \begin_layout Standard
27333 in ERT.
27334  Insert after the command the link text 
27335 \begin_inset Quotes eld
27336 \end_inset
27337
27338 LyX's homepage
27339 \begin_inset Quotes erd
27340 \end_inset
27341
27342  as normal text followed by a closing brace 
27343 \begin_inset Quotes eld
27344 \end_inset
27345
27346
27347 \series bold
27348 }
27349 \series default
27350
27351 \begin_inset Quotes erd
27352 \end_inset
27353
27354  in ERT.
27355  This is the result: 
27356 \begin_inset ERT
27357 status collapsed
27358
27359 \begin_layout Standard
27360
27361
27362 \backslash
27363 href{http://www.lyx.org}{
27364 \end_layout
27365
27366 \end_inset
27367
27368 LyX's homepage
27369 \begin_inset ERT
27370 status collapsed
27371
27372 \begin_layout Standard
27373
27374 }
27375 \end_layout
27376
27377 \end_inset
27378
27379
27380 \end_layout
27381
27382 \begin_layout Standard
27383 To link to email addresses, add the prefix 
27384 \begin_inset Quotes eld
27385 \end_inset
27386
27387
27388 \family sans
27389 mailto:
27390 \family default
27391
27392 \begin_inset Quotes erd
27393 \end_inset
27394
27395  to the link location:
27396 \newline
27397 Email to 
27398 \begin_inset ERT
27399 status collapsed
27400
27401 \begin_layout Standard
27402
27403
27404 \backslash
27405 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
27406 \end_layout
27407
27408 \end_inset
27409
27410 lyx-docs mailing list
27411 \begin_inset ERT
27412 status collapsed
27413
27414 \begin_layout Standard
27415
27416 }
27417 \end_layout
27418
27419 \end_inset
27420
27421 .
27422 \end_layout
27423
27424 \begin_layout Standard
27425 Using 
27426 \series bold
27427
27428 \backslash
27429 href
27430 \series default
27431  instead of LyX's URL box has the advantage that you can specify the text
27432  style of the link text like for all other text parts.
27433  You can then set hyphenation points and forced linebreaks to have long
27434  link text broken at the page margin.
27435  You are furthermore able to change the text style for all URLs in your
27436  document with an option in 
27437 \series bold
27438 hyperref
27439 \series default
27440 's load command and the restrictions mentioned above doesn't apply for 
27441 \series bold
27442
27443 \backslash
27444 href
27445 \series default
27446 .
27447 \end_layout
27448
27449 \begin_layout Chapter
27450 External Stuff
27451 \begin_inset LatexCommand index
27452 name "External Stuff"
27453
27454 \end_inset
27455
27456
27457 \end_layout
27458
27459 \begin_layout Standard
27460 With the menu 
27461 \family sans
27462 Insert\SpecialChar \menuseparator
27463 File
27464 \family default
27465  you can insert external material to your document.
27466  This can be:
27467 \end_layout
27468
27469 \begin_layout Description
27470 LyX\InsetSpace ~
27471 Document Another LyX document; its content is directly inserted to your
27472  document.
27473 \end_layout
27474
27475 \begin_layout Description
27476 Plain\InsetSpace ~
27477 Text A text document; every of its text lines is inserted to your document
27478  as own paragraph.
27479 \end_layout
27480
27481 \begin_layout Description
27482 Plain\InsetSpace ~
27483 Text,\InsetSpace ~
27484 Join\InsetSpace ~
27485 Lines A text document; its text lines are inserted as they
27486  are.
27487  Empty text lines creates a new paragraph in your document.
27488 \end_layout
27489
27490 \begin_layout Description
27491 External\InsetSpace ~
27492 Material Files in various formats.
27493 \end_layout
27494
27495 \begin_layout Description
27496 Child\InsetSpace ~
27497 Document LyX or LaTeX-documents.
27498 \end_layout
27499
27500 \begin_layout Section
27501 External Material
27502 \begin_inset LatexCommand index
27503 name "External Stuff ! External Material"
27504
27505 \end_inset
27506
27507
27508 \end_layout
27509
27510 \begin_layout Standard
27511 The external material feature allows you to insert files to your document
27512  without converting them previously to a format that can be read by the
27513  document output format because LyX takes care of needed conversions.
27514  This is similar to images that can be inserted in various image formats
27515  to LyX documents.
27516 \end_layout
27517
27518 \begin_layout Standard
27519 External material can be inserted via the 
27520 \family sans
27521 External Material
27522 \family default
27523  dialog that is accessible with the menu 
27524 \family sans
27525 Insert\SpecialChar \menuseparator
27526 File\SpecialChar \menuseparator
27527 External\InsetSpace ~
27528 Material
27529 \family default
27530 .
27531  Currently the following file types (
27532 \family sans
27533 Templates
27534 \family default
27535 ) are allowed:
27536 \end_layout
27537
27538 \begin_layout Description
27539 ChessDiagram This template supports chess position diagrams made with the
27540  program 
27541 \begin_inset ERT
27542 status collapsed
27543
27544 \begin_layout Standard
27545
27546
27547 \backslash
27548 href{http://en.wikipedia.org/wiki/XBoard}{
27549 \end_layout
27550
27551 \end_inset
27552
27553
27554 \series bold
27555 XBoard
27556 \series default
27557
27558 \begin_inset ERT
27559 status collapsed
27560
27561 \begin_layout Standard
27562
27563 }
27564 \end_layout
27565
27566 \end_inset
27567
27568 .
27569 \end_layout
27570
27571 \begin_layout Description
27572 Date This inserts the date in the form 
27573 \emph on
27574 Day-Month-Year
27575 \emph default
27576 .
27577  This is a date inserted as external material: 
27578 \begin_inset External
27579         template Date
27580         filename .
27581
27582 \end_inset
27583
27584
27585 \newline
27586 The date is not shown within LyX, only in the output.
27587  There are two other methods of inserting a date: Via menu 
27588 \family sans
27589 Insert\SpecialChar \menuseparator
27590 Date
27591 \family default
27592  and with the LaTeX command 
27593 \series bold
27594
27595 \backslash
27596 today
27597 \series default
27598  as ERT.
27599  The different methods are compared in Table\InsetSpace ~
27600
27601 \begin_inset LatexCommand ref
27602 reference "tab:Comparison-of-the"
27603
27604 \end_inset
27605
27606 .
27607 \end_layout
27608
27609 \begin_layout Description
27610 LilyPond This template is used for music notation typeset with the program
27611 \begin_inset ERT
27612 status collapsed
27613
27614 \begin_layout Standard
27615
27616
27617 \backslash
27618 linebreak 
27619 \end_layout
27620
27621 \end_inset
27622
27623
27624 \begin_inset ERT
27625 status collapsed
27626
27627 \begin_layout Standard
27628
27629
27630 \backslash
27631 href{http://en.wikipedia.org/wiki/LilyPond}{
27632 \end_layout
27633
27634 \end_inset
27635
27636
27637 \series bold
27638 LilyPond
27639 \series default
27640
27641 \begin_inset ERT
27642 status collapsed
27643
27644 \begin_layout Standard
27645
27646 }
27647 \end_layout
27648
27649 \end_inset
27650
27651 .
27652 \begin_inset Note Note
27653 status collapsed
27654
27655 \begin_layout Standard
27656 The command 
27657 \series bold
27658
27659 \backslash
27660 linebreak
27661 \series default
27662  breaks the line while the remaining text in the line is stretched to the
27663  page margin.
27664 \end_layout
27665
27666 \end_inset
27667
27668
27669 \end_layout
27670
27671 \begin_layout Description
27672 RasterImage This can be used for bitmap images.
27673  Nearly all popular image formats are supported.
27674  The image can be treated in the 
27675 \family sans
27676 External material
27677 \family default
27678  dialog like the images that are usually included via the 
27679 \family sans
27680 Graphics
27681 \family default
27682  dialog as described in section\InsetSpace ~
27683
27684 \begin_inset LatexCommand ref
27685 reference "sec:Graphics-Dialog"
27686
27687 \end_inset
27688
27689 .
27690  The difference is that only raster images are allowed, that means that
27691  PDF and EPS-images are not supported.
27692 \end_layout
27693
27694 \begin_layout Description
27695 XFig This template supports images created with the program 
27696 \begin_inset ERT
27697 status collapsed
27698
27699 \begin_layout Standard
27700
27701
27702 \backslash
27703 href{http://en.wikipedia.org/wiki/Xfig}{
27704 \end_layout
27705
27706 \end_inset
27707
27708
27709 \series bold
27710 Xfig
27711 \series default
27712
27713 \begin_inset ERT
27714 status collapsed
27715
27716 \begin_layout Standard
27717
27718 }
27719 \end_layout
27720
27721 \end_inset
27722
27723 .
27724 \end_layout
27725
27726 \begin_layout Standard
27727 \begin_inset Float table
27728 placement h
27729 wide false
27730 sideways false
27731 status open
27732
27733 \begin_layout Standard
27734 \begin_inset Caption
27735
27736 \begin_layout Standard
27737 \begin_inset LatexCommand label
27738 name "tab:Comparison-of-the"
27739
27740 \end_inset
27741
27742 Comparison of the date input methods.
27743 \end_layout
27744
27745 \end_inset
27746
27747
27748 \end_layout
27749
27750 \begin_layout Standard
27751 \align center
27752 \begin_inset Tabular
27753 <lyxtabular version="3" rows="4" columns="4">
27754 <features>
27755 <column alignment="center" valignment="top" leftline="true" width="0">
27756 <column alignment="center" valignment="top" leftline="true" width="0">
27757 <column alignment="center" valignment="top" leftline="true" width="0">
27758 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27759 <row topline="true">
27760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27761 \begin_inset Text
27762
27763 \begin_layout Standard
27764 Document format
27765 \end_layout
27766
27767 \end_inset
27768 </cell>
27769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27770 \begin_inset Text
27771
27772 \begin_layout Standard
27773
27774 \family sans
27775 External Material\SpecialChar \menuseparator
27776 Date
27777 \end_layout
27778
27779 \end_inset
27780 </cell>
27781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27782 \begin_inset Text
27783
27784 \begin_layout Standard
27785
27786 \family sans
27787 Insert\SpecialChar \menuseparator
27788 Date
27789 \end_layout
27790
27791 \end_inset
27792 </cell>
27793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27794 \begin_inset Text
27795
27796 \begin_layout Standard
27797 command 
27798 \series bold
27799
27800 \backslash
27801 today
27802 \end_layout
27803
27804 \end_inset
27805 </cell>
27806 </row>
27807 <row topline="true">
27808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27809 \begin_inset Text
27810
27811 \begin_layout Standard
27812 LyX
27813 \end_layout
27814
27815 \end_inset
27816 </cell>
27817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27818 \begin_inset Text
27819
27820 \begin_layout Standard
27821 as inset box
27822 \end_layout
27823
27824 \end_inset
27825 </cell>
27826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27827 \begin_inset Text
27828
27829 \begin_layout Standard
27830 as date
27831 \end_layout
27832
27833 \end_inset
27834 </cell>
27835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27836 \begin_inset Text
27837
27838 \begin_layout Standard
27839 as ERT inset box
27840 \end_layout
27841
27842 \end_inset
27843 </cell>
27844 </row>
27845 <row topline="true">
27846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27847 \begin_inset Text
27848
27849 \begin_layout Standard
27850 LaTeX
27851 \end_layout
27852
27853 \end_inset
27854 </cell>
27855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27856 \begin_inset Text
27857
27858 \begin_layout Standard
27859 as date
27860 \end_layout
27861
27862 \end_inset
27863 </cell>
27864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27865 \begin_inset Text
27866
27867 \begin_layout Standard
27868 as date
27869 \end_layout
27870
27871 \end_inset
27872 </cell>
27873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27874 \begin_inset Text
27875
27876 \begin_layout Standard
27877 as command
27878 \end_layout
27879
27880 \end_inset
27881 </cell>
27882 </row>
27883 <row topline="true" bottomline="true">
27884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27885 \begin_inset Text
27886
27887 \begin_layout Standard
27888 DVI, PDF, PS
27889 \end_layout
27890
27891 \end_inset
27892 </cell>
27893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27894 \begin_inset Text
27895
27896 \begin_layout Standard
27897 as date
27898 \end_layout
27899
27900 \end_inset
27901 </cell>
27902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27903 \begin_inset Text
27904
27905 \begin_layout Standard
27906 as date
27907 \end_layout
27908
27909 \end_inset
27910 </cell>
27911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27912 \begin_inset Text
27913
27914 \begin_layout Standard
27915 as date
27916 \end_layout
27917
27918 \end_inset
27919 </cell>
27920 </row>
27921 </lyxtabular>
27922
27923 \end_inset
27924
27925
27926 \end_layout
27927
27928 \end_inset
27929
27930
27931 \end_layout
27932
27933 \begin_layout Standard
27934 When you use the option 
27935 \family sans
27936 Draft
27937 \family default
27938  in the 
27939 \family sans
27940 File
27941 \family default
27942  tab of the 
27943 \family sans
27944 External Material
27945 \family default
27946  dialog, only the path to the inserted file is shown in the output.
27947 \newline
27948 External
27949  material is displayed in LyX either as box like this: 
27950 \begin_inset Graphics
27951         filename clipart/ExternalMaterialQt4.png
27952         scale 85
27953         scaleBeforeRotation
27954
27955 \end_inset
27956
27957  or as image, depending on the setting in the 
27958 \family sans
27959 LyX\InsetSpace ~
27960 View
27961 \family default
27962  tab of the 
27963 \family sans
27964 External Material
27965 \family default
27966  dialog.
27967 \end_layout
27968
27969 \begin_layout Standard
27970 The 
27971 \family sans
27972 \emph on
27973 Customization
27974 \family default
27975 \emph default
27976  manual explains how you can define your own templates.
27977 \end_layout
27978
27979 \begin_layout Section
27980 Child Documents
27981 \begin_inset LatexCommand label
27982 name "sec:Child-Documents"
27983
27984 \end_inset
27985
27986
27987 \begin_inset LatexCommand index
27988 name "External Stuff ! Child Documents"
27989
27990 \end_inset
27991
27992
27993 \begin_inset LatexCommand index
27994 name "Files ! Include"
27995
27996 \end_inset
27997
27998
27999 \end_layout
28000
28001 \begin_layout Standard
28002 Child documents are used when you have a long document consisting of several
28003  larger parts or sections.
28004  For maintenance it is often useful and sometimes even required to split
28005  the document in several files that can be revised separately.
28006  The different documents are then the so called child documents and a master
28007  document connects them to print the full document or parts of it.
28008 \end_layout
28009
28010 \begin_layout Standard
28011 Included documents are displayed in LyX as a box like this: 
28012 \begin_inset Graphics
28013         filename clipart/ChildDocumentQt4.png
28014         scale 85
28015         scaleBeforeRotation
28016
28017 \end_inset
28018
28019  To include child documents to a master document use the menu 
28020 \family sans
28021 Insert\SpecialChar \menuseparator
28022 File\SpecialChar \menuseparator
28023 Child\InsetSpace ~
28024 Documents
28025 \family default
28026 .
28027  A dialog pops up where you can choose between four include methods:
28028 \end_layout
28029
28030 \begin_layout Description
28031 Include You can include LyX and LaTeX-documents.
28032  When you press the 
28033 \family sans
28034 Load
28035 \family default
28036  button in the 
28037 \family sans
28038 Child Document
28039 \family default
28040  dialog, the included documents will be opened in LyX in a new file tab
28041  so that you can modify it.
28042 \newline
28043
28044 \end_layout
28045
28046 \begin_layout Standard
28047 Here is a child document inserted using 
28048 \family sans
28049 Include
28050 \family default
28051
28052 \begin_inset Include \include{DummyDocument1.lyx}
28053 preview false
28054
28055 \end_inset
28056
28057
28058 \end_layout
28059
28060 \begin_layout Standard
28061 The section numbering includes the sections of the included files in the
28062  order they are inserted in the master document.
28063  The included example document has for example a subsection that is numbered
28064  as subsection of this section.
28065  Labels of included documents can be referenced: Subsection\InsetSpace ~
28066
28067 \begin_inset LatexCommand ref
28068 reference "sub:External-Subsection-1"
28069
28070 \end_inset
28071
28072
28073 \end_layout
28074
28075 \begin_layout Standard
28076 The preamble of the child document is ignored, only the preamble of the
28077  master document is used.
28078  Included documents are inserted starting on a new page and end with a pagebreak.
28079 \end_layout
28080
28081 \begin_layout Standard
28082 With the LaTeX-command 
28083 \series bold
28084
28085 \backslash
28086 includeonly 
28087 \series default
28088 you can specify which included child documents are processed when the output
28089  is generated.
28090  This is useful when you are perhaps only working on a certain chapter of
28091  your large document as this saves compiling time.
28092  
28093 \series bold
28094
28095 \backslash
28096 includeonly
28097 \series default
28098  is inserted to the master document preamble.
28099  It takes a comma-separated list of the filenames as argument, e.g.
28100 \end_layout
28101
28102 \begin_layout Standard
28103
28104 \series bold
28105
28106 \backslash
28107 includeonly{chapter1,chapter5}
28108 \end_layout
28109
28110 \begin_layout Standard
28111 will only process the included files named 
28112 \begin_inset Quotes eld
28113 \end_inset
28114
28115 chapter1.lyx
28116 \begin_inset Quotes erd
28117 \end_inset
28118
28119  (or 
28120 \begin_inset Quotes eld
28121 \end_inset
28122
28123 chapter1.tex
28124 \begin_inset Quotes erd
28125 \end_inset
28126
28127 ) and 
28128 \begin_inset Quotes eld
28129 \end_inset
28130
28131 chapter5.lyx
28132 \begin_inset Quotes erd
28133 \end_inset
28134
28135  .
28136 \end_layout
28137
28138 \begin_layout Standard
28139 \begin_inset Note Greyedout
28140 status open
28141
28142 \begin_layout Standard
28143
28144 \series bold
28145 Note:
28146 \series default
28147  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
28148 w the document in case that the child document uses another document class
28149  than the master document as this will lead to unexpected outputs.
28150 \end_layout
28151
28152 \end_inset
28153
28154
28155 \end_layout
28156
28157 \begin_layout Description
28158 Input This method is very similar to the Include method.
28159  The differences are:
28160 \end_layout
28161
28162 \begin_deeper
28163 \begin_layout Itemize
28164 Input files don't start with a new page and don't end with a pagebreak.
28165 \end_layout
28166
28167 \begin_layout Itemize
28168 Input files can be previewed in LyX when 
28169 \family sans
28170 Instant\InsetSpace ~
28171 Preview
28172 \family default
28173  is enabled in LyX's preferences under 
28174 \family sans
28175 Look\InsetSpace ~
28176 and\InsetSpace ~
28177 feel\SpecialChar \menuseparator
28178 Graphics
28179 \family default
28180 .
28181 \end_layout
28182
28183 \begin_layout Itemize
28184 The LaTeX-command 
28185 \series bold
28186
28187 \backslash
28188 includeonly
28189 \series default
28190  cannot be used.
28191 \end_layout
28192
28193 \end_deeper
28194 \begin_layout Standard
28195 Here is a child document inserted using 
28196 \family sans
28197 Input
28198 \family default
28199
28200 \begin_inset Include \input{DummyDocument2.lyx}
28201 preview false
28202
28203 \end_inset
28204
28205
28206 \end_layout
28207
28208 \begin_layout Description
28209 Verbatim With this method every text file can be included.
28210  The file is shown in the output with its source code, no command used in
28211  the text is invoked.
28212  You can use the option 
28213 \family sans
28214 Mark spaces in output
28215 \family default
28216  that displays the character 
28217 \begin_inset Quotes eld
28218 \end_inset
28219
28220
28221 \begin_inset ERT
28222 status collapsed
28223
28224 \begin_layout Standard
28225
28226
28227 \backslash
28228 textvisiblespace 
28229 \end_layout
28230
28231 \end_inset
28232
28233
28234 \begin_inset Quotes erd
28235 \end_inset
28236
28237  for every space character in the source code.
28238  The difference to the method via the menu 
28239 \family sans
28240 Insert\SpecialChar \menuseparator
28241 File\SpecialChar \menuseparator
28242 Plain\InsetSpace ~
28243 Text
28244 \family default
28245  is that the document content is not shown in LyX.
28246 \end_layout
28247
28248 \begin_layout Standard
28249 Here is a child document inserted as Verbatim: 
28250 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
28251 preview false
28252
28253 \end_inset
28254
28255
28256 \begin_inset VSpace bigskip
28257 \end_inset
28258
28259 Here is a child document inserted as Verbatim using the 
28260 \family sans
28261 Mark spaces in output
28262 \family default
28263  option: 
28264 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
28265 preview false
28266
28267 \end_inset
28268
28269
28270 \end_layout
28271
28272 \begin_layout Standard
28273 \begin_inset VSpace bigskip
28274 \end_inset
28275
28276
28277 \end_layout
28278
28279 \begin_layout Standard
28280 \begin_inset Note Greyedout
28281 status open
28282
28283 \begin_layout Standard
28284
28285 \series bold
28286 Note:
28287 \series default
28288  As you can see in the examples above, the text of the documents included
28289  as 
28290 \family sans
28291 verbatim
28292 \family default
28293  is not broken at the end of the document lines.
28294 \end_layout
28295
28296 \end_inset
28297
28298
28299 \end_layout
28300
28301 \begin_layout Description
28302 Listings This type is described in chapter\InsetSpace ~
28303
28304 \begin_inset LatexCommand ref
28305 reference "cha:Program-Code-Listings"
28306
28307 \end_inset
28308
28309 .
28310 \end_layout
28311
28312 \begin_layout Standard
28313 \begin_inset Note Greyedout
28314 status open
28315
28316 \begin_layout Standard
28317
28318 \series bold
28319 Note:
28320 \series default
28321  Including the same document twice in a document using different methods
28322  could cause LaTeX-problems.
28323 \end_layout
28324
28325 \end_inset
28326
28327
28328 \end_layout
28329
28330 \begin_layout Chapter
28331 Program Code Listings
28332 \begin_inset LatexCommand label
28333 name "cha:Program-Code-Listings"
28334
28335 \end_inset
28336
28337
28338 \begin_inset LatexCommand index
28339 name "Listings"
28340
28341 \end_inset
28342
28343
28344 \begin_inset LatexCommand index
28345 name "Program Code"
28346
28347 \end_inset
28348
28349
28350 \begin_inset LatexCommand index
28351 name "Floats ! Listings"
28352
28353 \end_inset
28354
28355
28356 \end_layout
28357
28358 \begin_layout Standard
28359 To include and typeset program code you can use the 
28360 \family sans
28361 Listings
28362 \family default
28363  inset that can be inserted via the menu 
28364 \family sans
28365 Insert\SpecialChar \menuseparator
28366 Program Listing
28367 \family default
28368 .
28369  The LaTeX-package 
28370 \series bold
28371 listings
28372 \series default
28373
28374 \begin_inset LatexCommand index
28375 name "LaTeX-packages ! listings"
28376
28377 \end_inset
28378
28379  provides a powerful and flexible way to insert program source code to your
28380  document.
28381 \end_layout
28382
28383 \begin_layout Standard
28384 When right-clicking on a listings inset a dialog pops up where you can set
28385  the listings format.
28386 \end_layout
28387
28388 \begin_layout Standard
28389 By default, a listing starts a new paragraph in the output.
28390  The placement option 
28391 \family sans
28392 Inline\InsetSpace ~
28393 listing
28394 \family default
28395  prints the listing inline like this: 
28396 \begin_inset listings
28397 lstparams "language={C++}"
28398 inline true
28399 status open
28400
28401 \begin_layout Standard
28402
28403 int a=5;
28404 \end_layout
28405
28406 \end_inset
28407
28408
28409 \newline
28410 The option 
28411 \family sans
28412 Float
28413 \family default
28414  creates a listings float where you can specify the placement options 
28415 \begin_inset Quotes eld
28416 \end_inset
28417
28418
28419 \family sans
28420 h
28421 \family default
28422
28423 \begin_inset Quotes erd
28424 \end_inset
28425
28426
28427 \begin_inset Quotes eld
28428 \end_inset
28429
28430
28431 \family sans
28432 t
28433 \family default
28434
28435 \begin_inset Quotes erd
28436 \end_inset
28437
28438
28439 \begin_inset Quotes eld
28440 \end_inset
28441
28442
28443 \family sans
28444 b
28445 \family default
28446
28447 \begin_inset Quotes erd
28448 \end_inset
28449
28450 , and 
28451 \begin_inset Quotes eld
28452 \end_inset
28453
28454
28455 \family sans
28456 p
28457 \family default
28458
28459 \begin_inset Quotes erd
28460 \end_inset
28461
28462  corresponding to the float placement options described in section\InsetSpace ~
28463
28464 \begin_inset LatexCommand ref
28465 reference "sec:Float-Placement"
28466
28467 \end_inset
28468
28469 .
28470  The placement options can be mixed and are inserted without any separation,
28471  e.\InsetSpace \thinspace{}
28472 g.\InsetSpace ~
28473
28474 \begin_inset Quotes eld
28475 \end_inset
28476
28477
28478 \family sans
28479 htbp
28480 \family default
28481
28482 \begin_inset Quotes erd
28483 \end_inset
28484
28485 .
28486  The option 
28487 \begin_inset Quotes eld
28488 \end_inset
28489
28490 h
28491 \begin_inset Quotes erd
28492 \end_inset
28493
28494  has sometimes no effect, but you don't need to use the 
28495 \family sans
28496 Float
28497 \family default
28498  option in this case as also non-float listings can have captions and be
28499  referenced.
28500 \end_layout
28501
28502 \begin_layout Standard
28503 You can add captions to listings with the menu 
28504 \family sans
28505 Insert\SpecialChar \menuseparator
28506 Caption
28507 \family default
28508 .
28509  Listings can be referenced like floats: Listing\InsetSpace ~
28510
28511 \begin_inset LatexCommand ref
28512 reference "lst:Example-Listing"
28513
28514 \end_inset
28515
28516
28517 \end_layout
28518
28519 \begin_layout Standard
28520 \begin_inset listings
28521 lstparams "language=Python"
28522 inline false
28523 status open
28524
28525 \begin_layout Standard
28526
28527 \begin_inset Caption
28528
28529 \begin_layout Standard
28530 \begin_inset LatexCommand label
28531 name "lst:Example-Listing"
28532
28533 \end_inset
28534
28535 Example Listing float
28536 \end_layout
28537
28538 \end_inset
28539
28540 # Example listing float
28541 \end_layout
28542
28543 \begin_layout Standard
28544
28545 def func(param):
28546 \end_layout
28547
28548 \begin_layout Standard
28549
28550     'this is a python function'
28551 \end_layout
28552
28553 \begin_layout Standard
28554
28555     pass
28556 \end_layout
28557
28558 \end_inset
28559
28560
28561 \end_layout
28562
28563 \begin_layout Standard
28564 When you have set a programming language in the listings dialog, the keywords
28565  of this language will be recognized and specially typeset in the output.
28566  In the example listings the Python keyword 
28567 \begin_inset Quotes eld
28568 \end_inset
28569
28570 def
28571 \begin_inset Quotes erd
28572 \end_inset
28573
28574  is recognized and printed bold in the output.
28575 \end_layout
28576
28577 \begin_layout Standard
28578 \begin_inset Note Greyedout
28579 status open
28580
28581 \begin_layout Standard
28582
28583 \series bold
28584 Note:
28585 \series default
28586  If you don't get bold keywords when using typewriter fonts, your typewriter
28587  font probably doesn't provide a bold shape.
28588  In this case select a different one in the menu 
28589 \family sans
28590 Document\SpecialChar \menuseparator
28591 Settings\SpecialChar \menuseparator
28592 Fonts
28593 \family default
28594 .
28595  (The fonts 
28596 \emph on
28597 LuxiMono, BeraMono
28598 \emph default
28599  and 
28600 \emph on
28601 Courier
28602 \emph default
28603  provide bold shapes.)
28604 \end_layout
28605
28606 \end_inset
28607
28608
28609 \end_layout
28610
28611 \begin_layout Standard
28612 In section 
28613 \family sans
28614 Line\InsetSpace ~
28615 numbering
28616 \family default
28617  of the listings dialog you can specify the line numbering style.
28618  You can insert a number to specify which lines are numbered to the field
28619  
28620 \family sans
28621 Step
28622 \family default
28623 .
28624  When you insert e.g.
28625  
28626 \begin_inset Quotes eld
28627 \end_inset
28628
28629 3
28630 \begin_inset Quotes erd
28631 \end_inset
28632
28633 , only every 3rd line will be numbered.
28634 \end_layout
28635
28636 \begin_layout Standard
28637 You can furthermore specify a range of lines, only these will then appear
28638  in the output.
28639  The option 
28640 \family sans
28641 Extended\InsetSpace ~
28642 chars
28643 \family default
28644  should be used when you use national characters like the German umlauts
28645  in the listing.
28646 \newline
28647 Here is an example listing with left line numbering, step
28648  
28649 \begin_inset Quotes eld
28650 \end_inset
28651
28652 3
28653 \begin_inset Quotes erd
28654 \end_inset
28655
28656 , language 
28657 \begin_inset Quotes eld
28658 \end_inset
28659
28660 Python
28661 \begin_inset Quotes erd
28662 \end_inset
28663
28664 , options 
28665 \begin_inset Quotes eld
28666 \end_inset
28667
28668 Extended\InsetSpace ~
28669 chars
28670 \begin_inset Quotes erd
28671 \end_inset
28672
28673  and 
28674 \begin_inset Quotes eld
28675 \end_inset
28676
28677 Space\InsetSpace ~
28678 as\InsetSpace ~
28679 Symbol
28680 \begin_inset Quotes erd
28681 \end_inset
28682
28683 , range lines 3\InsetSpace \thinspace{}
28684 -\InsetSpace \thinspace{}
28685 8:
28686 \end_layout
28687
28688 \begin_layout Standard
28689 \begin_inset listings
28690 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
28691 inline false
28692 status open
28693
28694 \begin_layout Standard
28695
28696 def func(param):
28697 \end_layout
28698
28699 \begin_layout Standard
28700
28701     'this is a python function'
28702 \end_layout
28703
28704 \begin_layout Standard
28705
28706     pass
28707 \end_layout
28708
28709 \begin_layout Standard
28710
28711 def func(param):
28712 \end_layout
28713
28714 \begin_layout Standard
28715
28716 'This is a German word: Tschüß'
28717 \end_layout
28718
28719 \begin_layout Standard
28720
28721 pass
28722 \end_layout
28723
28724 \begin_layout Standard
28725
28726 def func(param):
28727 \end_layout
28728
28729 \begin_layout Standard
28730
28731 'this is a python function'
28732 \end_layout
28733
28734 \begin_layout Standard
28735
28736 pass
28737 \end_layout
28738
28739 \end_inset
28740
28741
28742 \end_layout
28743
28744 \begin_layout Standard
28745 \begin_inset Note Greyedout
28746 status open
28747
28748 \begin_layout Standard
28749
28750 \series bold
28751 Note:
28752 \series default
28753  Due to a bug in the 
28754 \series bold
28755 listings
28756 \series default
28757  package the line numbering is shifted by a line by every previous listing.
28758  That's the reason why the lines 2 and 5 are numbered in the above listing
28759  and not the lines 3 and 6.
28760 \end_layout
28761
28762 \end_inset
28763
28764
28765 \end_layout
28766
28767 \begin_layout Standard
28768 \begin_inset VSpace bigskip
28769 \end_inset
28770
28771
28772 \end_layout
28773
28774 \begin_layout Standard
28775 It is also possible to print lines from a file as listing.
28776  To do this, use the menu 
28777 \family sans
28778 Insert\SpecialChar \menuseparator
28779 File\SpecialChar \menuseparator
28780 Child Document
28781 \family default
28782  and choose the type 
28783 \family sans
28784 Listings
28785 \family default
28786 .
28787 \begin_inset Foot
28788 status collapsed
28789
28790 \begin_layout Standard
28791 The other child document types are described in section\InsetSpace ~
28792
28793 \begin_inset LatexCommand ref
28794 reference "sec:Child-Documents"
28795
28796 \end_inset
28797
28798 .
28799 \end_layout
28800
28801 \end_inset
28802
28803  In the child document dialog you can specify the listing parameters in
28804  a text box.
28805  To show a list of all available parameters, type in a question mark 
28806 \begin_inset Quotes eld
28807 \end_inset
28808
28809 ?
28810 \begin_inset Quotes erd
28811 \end_inset
28812
28813  in the text box.
28814 \end_layout
28815
28816 \begin_layout Standard
28817 To reference child document listings, write a label text into the corresponding
28818  field of the child document dialog.
28819  The label can then be referenced using the menu 
28820 \family sans
28821 Insert\SpecialChar \menuseparator
28822 Cross-Reference
28823 \family default
28824 .
28825 \end_layout
28826
28827 \begin_layout Standard
28828 Listing\InsetSpace ~
28829
28830 \begin_inset LatexCommand ref
28831 reference "lst:file-listing"
28832
28833 \end_inset
28834
28835  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
28836 -\InsetSpace \thinspace{}
28837 15 of this LyX
28838  file are listed.
28839 \end_layout
28840
28841 \begin_layout Standard
28842 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15]
28843 preview false
28844
28845 \end_inset
28846
28847
28848 \end_layout
28849
28850 \begin_layout Standard
28851 \begin_inset VSpace bigskip
28852 \end_inset
28853
28854
28855 \end_layout
28856
28857 \begin_layout Standard
28858 Global listings settings can be set in the 
28859 \family sans
28860 Document\SpecialChar \menuseparator
28861 Settings\SpecialChar \menuseparator
28862 Text Layout
28863 \family default
28864  dialog.
28865  To get there a list of available options, type in a question mark 
28866 \begin_inset Quotes eld
28867 \end_inset
28868
28869 ?
28870 \begin_inset Quotes erd
28871 \end_inset
28872
28873  in the 
28874 \family sans
28875 Listings\InsetSpace ~
28876 settings
28877 \family default
28878  field.
28879 \end_layout
28880
28881 \begin_layout Standard
28882 For more information about the 
28883 \series bold
28884 listings
28885 \series default
28886  package, we refer to its documentation 
28887 \begin_inset LatexCommand cite
28888 key "listings"
28889
28890 \end_inset
28891
28892 .
28893 \end_layout
28894
28895 \begin_layout Standard
28896
28897 \newpage
28898
28899 \end_layout
28900
28901 \begin_layout Chapter
28902 \start_of_appendix
28903 Units available in LyX
28904 \begin_inset LatexCommand index
28905 name "Units"
28906
28907 \end_inset
28908
28909
28910 \begin_inset LatexCommand label
28911 name "cha:Units-available-in"
28912
28913 \end_inset
28914
28915
28916 \end_layout
28917
28918 \begin_layout Standard
28919 To understand the units described in this documentation, Table\InsetSpace ~
28920
28921 \begin_inset LatexCommand ref
28922 reference "tab:Units"
28923
28924 \end_inset
28925
28926  explains all units available in LyX.
28927 \end_layout
28928
28929 \begin_layout Standard
28930 \begin_inset Float table
28931 placement h
28932 wide false
28933 sideways false
28934 status open
28935
28936 \begin_layout Standard
28937 \begin_inset Caption
28938
28939 \begin_layout Standard
28940 \begin_inset LatexCommand label
28941 name "tab:Units"
28942
28943 \end_inset
28944
28945 Units
28946 \end_layout
28947
28948 \end_inset
28949
28950
28951 \end_layout
28952
28953 \begin_layout Standard
28954 \begin_inset VSpace medskip
28955 \end_inset
28956
28957
28958 \end_layout
28959
28960 \begin_layout Standard
28961 \align center
28962 \begin_inset Tabular
28963 <lyxtabular version="3" rows="20" columns="2">
28964 <features>
28965 <column alignment="center" valignment="top" leftline="true" width="0">
28966 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28967 <row topline="true" bottomline="true">
28968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28969 \begin_inset Text
28970
28971 \begin_layout Standard
28972 unit
28973 \end_layout
28974
28975 \end_inset
28976 </cell>
28977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28978 \begin_inset Text
28979
28980 \begin_layout Standard
28981 name/description
28982 \end_layout
28983
28984 \end_inset
28985 </cell>
28986 </row>
28987 <row topline="true">
28988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28989 \begin_inset Text
28990
28991 \begin_layout Standard
28992 mm
28993 \end_layout
28994
28995 \end_inset
28996 </cell>
28997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28998 \begin_inset Text
28999
29000 \begin_layout Standard
29001 millimeter
29002 \end_layout
29003
29004 \end_inset
29005 </cell>
29006 </row>
29007 <row topline="true">
29008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29009 \begin_inset Text
29010
29011 \begin_layout Standard
29012 cm
29013 \end_layout
29014
29015 \end_inset
29016 </cell>
29017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29018 \begin_inset Text
29019
29020 \begin_layout Standard
29021 centimeter
29022 \end_layout
29023
29024 \end_inset
29025 </cell>
29026 </row>
29027 <row topline="true">
29028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29029 \begin_inset Text
29030
29031 \begin_layout Standard
29032 in
29033 \end_layout
29034
29035 \end_inset
29036 </cell>
29037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29038 \begin_inset Text
29039
29040 \begin_layout Standard
29041 inch
29042 \end_layout
29043
29044 \end_inset
29045 </cell>
29046 </row>
29047 <row topline="true">
29048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29049 \begin_inset Text
29050
29051 \begin_layout Standard
29052 pt
29053 \end_layout
29054
29055 \end_inset
29056 </cell>
29057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29058 \begin_inset Text
29059
29060 \begin_layout Standard
29061 point (72.27\InsetSpace \thinspace{}
29062 pt = 1\InsetSpace \thinspace{}
29063 in)
29064 \end_layout
29065
29066 \end_inset
29067 </cell>
29068 </row>
29069 <row topline="true">
29070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29071 \begin_inset Text
29072
29073 \begin_layout Standard
29074 pc
29075 \end_layout
29076
29077 \end_inset
29078 </cell>
29079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29080 \begin_inset Text
29081
29082 \begin_layout Standard
29083 pica (1\InsetSpace \thinspace{}
29084 pc = 12\InsetSpace \thinspace{}
29085 pt)
29086 \end_layout
29087
29088 \end_inset
29089 </cell>
29090 </row>
29091 <row topline="true">
29092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29093 \begin_inset Text
29094
29095 \begin_layout Standard
29096 sp
29097 \end_layout
29098
29099 \end_inset
29100 </cell>
29101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29102 \begin_inset Text
29103
29104 \begin_layout Standard
29105 scaled point (65536\InsetSpace \thinspace{}
29106 sp = 1\InsetSpace \thinspace{}
29107 pt)
29108 \end_layout
29109
29110 \end_inset
29111 </cell>
29112 </row>
29113 <row topline="true">
29114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29115 \begin_inset Text
29116
29117 \begin_layout Standard
29118 bp
29119 \end_layout
29120
29121 \end_inset
29122 </cell>
29123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29124 \begin_inset Text
29125
29126 \begin_layout Standard
29127 big point (72\InsetSpace \thinspace{}
29128 bp = 1\InsetSpace \thinspace{}
29129 in)
29130 \end_layout
29131
29132 \end_inset
29133 </cell>
29134 </row>
29135 <row topline="true">
29136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29137 \begin_inset Text
29138
29139 \begin_layout Standard
29140 dd
29141 \end_layout
29142
29143 \end_inset
29144 </cell>
29145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29146 \begin_inset Text
29147
29148 \begin_layout Standard
29149 didot (1\InsetSpace \thinspace{}
29150 dd 
29151 \begin_inset Formula $\approx$
29152 \end_inset
29153
29154  0.376\InsetSpace \thinspace{}
29155 mm)
29156 \end_layout
29157
29158 \end_inset
29159 </cell>
29160 </row>
29161 <row topline="true">
29162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29163 \begin_inset Text
29164
29165 \begin_layout Standard
29166 cc
29167 \end_layout
29168
29169 \end_inset
29170 </cell>
29171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29172 \begin_inset Text
29173
29174 \begin_layout Standard
29175 cicero (1\InsetSpace \thinspace{}
29176 cc = 12\InsetSpace \thinspace{}
29177 dd)
29178 \end_layout
29179
29180 \end_inset
29181 </cell>
29182 </row>
29183 <row topline="true">
29184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29185 \begin_inset Text
29186
29187 \begin_layout Standard
29188 Scale%
29189 \end_layout
29190
29191 \end_inset
29192 </cell>
29193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29194 \begin_inset Text
29195
29196 \begin_layout Standard
29197 % of original image width
29198 \end_layout
29199
29200 \end_inset
29201 </cell>
29202 </row>
29203 <row topline="true">
29204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29205 \begin_inset Text
29206
29207 \begin_layout Standard
29208 text%
29209 \end_layout
29210
29211 \end_inset
29212 </cell>
29213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29214 \begin_inset Text
29215
29216 \begin_layout Standard
29217 % of text width
29218 \end_layout
29219
29220 \end_inset
29221 </cell>
29222 </row>
29223 <row topline="true">
29224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29225 \begin_inset Text
29226
29227 \begin_layout Standard
29228 col%
29229 \end_layout
29230
29231 \end_inset
29232 </cell>
29233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29234 \begin_inset Text
29235
29236 \begin_layout Standard
29237 % of column width
29238 \end_layout
29239
29240 \end_inset
29241 </cell>
29242 </row>
29243 <row topline="true">
29244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29245 \begin_inset Text
29246
29247 \begin_layout Standard
29248 page%
29249 \end_layout
29250
29251 \end_inset
29252 </cell>
29253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29254 \begin_inset Text
29255
29256 \begin_layout Standard
29257 % of paper width
29258 \end_layout
29259
29260 \end_inset
29261 </cell>
29262 </row>
29263 <row topline="true">
29264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29265 \begin_inset Text
29266
29267 \begin_layout Standard
29268 line%
29269 \end_layout
29270
29271 \end_inset
29272 </cell>
29273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29274 \begin_inset Text
29275
29276 \begin_layout Standard
29277 % of line width
29278 \end_layout
29279
29280 \end_inset
29281 </cell>
29282 </row>
29283 <row topline="true">
29284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29285 \begin_inset Text
29286
29287 \begin_layout Standard
29288 theight%
29289 \end_layout
29290
29291 \end_inset
29292 </cell>
29293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29294 \begin_inset Text
29295
29296 \begin_layout Standard
29297 % of text height
29298 \end_layout
29299
29300 \end_inset
29301 </cell>
29302 </row>
29303 <row topline="true">
29304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29305 \begin_inset Text
29306
29307 \begin_layout Standard
29308 pheight%
29309 \end_layout
29310
29311 \end_inset
29312 </cell>
29313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29314 \begin_inset Text
29315
29316 \begin_layout Standard
29317 % of paper height
29318 \end_layout
29319
29320 \end_inset
29321 </cell>
29322 </row>
29323 <row topline="true">
29324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29325 \begin_inset Text
29326
29327 \begin_layout Standard
29328 ex
29329 \end_layout
29330
29331 \end_inset
29332 </cell>
29333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29334 \begin_inset Text
29335
29336 \begin_layout Standard
29337 height of letter 
29338 \emph on
29339 x
29340 \emph default
29341  in current font
29342 \end_layout
29343
29344 \end_inset
29345 </cell>
29346 </row>
29347 <row topline="true">
29348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29349 \begin_inset Text
29350
29351 \begin_layout Standard
29352 em
29353 \end_layout
29354
29355 \end_inset
29356 </cell>
29357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29358 \begin_inset Text
29359
29360 \begin_layout Standard
29361 width of letter 
29362 \emph on
29363 M
29364 \emph default
29365  in current font
29366 \end_layout
29367
29368 \end_inset
29369 </cell>
29370 </row>
29371 <row topline="true" bottomline="true">
29372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29373 \begin_inset Text
29374
29375 \begin_layout Standard
29376 mu
29377 \end_layout
29378
29379 \end_inset
29380 </cell>
29381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29382 \begin_inset Text
29383
29384 \begin_layout Standard
29385 math unit (1\InsetSpace \thinspace{}
29386 mu = 1/18\InsetSpace \thinspace{}
29387 em)
29388 \end_layout
29389
29390 \end_inset
29391 </cell>
29392 </row>
29393 </lyxtabular>
29394
29395 \end_inset
29396
29397
29398 \end_layout
29399
29400 \end_inset
29401
29402
29403 \end_layout
29404
29405 \begin_layout Chapter
29406 Output File Formats with Graphics
29407 \begin_inset LatexCommand label
29408 name "cha:Output-File-Formats"
29409
29410 \end_inset
29411
29412
29413 \end_layout
29414
29415 \begin_layout Section
29416 DVI
29417 \begin_inset LatexCommand index
29418 name "File Formats ! DVI"
29419
29420 \end_inset
29421
29422
29423 \begin_inset LatexCommand index
29424 name "DVI|see{File Formats}"
29425
29426 \end_inset
29427
29428
29429 \end_layout
29430
29431 \begin_layout Standard
29432 This file type has the extension 
29433 \begin_inset Quotes eld
29434 \end_inset
29435
29436
29437 \family typewriter
29438 .dvi
29439 \family default
29440
29441 \begin_inset Quotes erd
29442 \end_inset
29443
29444 .
29445  It is called 
29446 \begin_inset Quotes eld
29447 \end_inset
29448
29449 device-independent
29450 \begin_inset Quotes erd
29451 \end_inset
29452
29453  (DVI), because it is completely portable; you can move them from one machine
29454  to another without needing to do any sort of conversion.
29455  At the time when this file-format was developed, this was no matter of
29456  course.
29457  DVIs are used for quick previews and as pre-stage for other output formats,
29458  like PostScript.
29459 \end_layout
29460
29461 \begin_layout Standard
29462 \begin_inset Note Greyedout
29463 status open
29464
29465 \begin_layout Standard
29466
29467 \series bold
29468 Note:
29469 \series default
29470  DVI-files doesn't contain images, they will only be a linked.
29471 \end_layout
29472
29473 \end_inset
29474
29475  So don't forget this, if you move your 
29476 \family typewriter
29477 .dvi
29478 \family default
29479  file to another computer.
29480  This property can also slow down your computer when you view the DVI.
29481  Because the DVI-viewer has to convert the image in the background to make
29482  it visible when you scroll in the DVI.
29483  So we recommend to use PDF for files with many images.
29484 \end_layout
29485
29486 \begin_layout Standard
29487 You can export your document to DVI by using the menu 
29488 \family sans
29489 File\SpecialChar \menuseparator
29490 Export\SpecialChar \menuseparator
29491 DVI
29492 \family default
29493 .
29494  You can view your document as DVI via the 
29495 \family sans
29496 View
29497 \family default
29498  menu or by using the toolbar button 
29499 \begin_inset Graphics
29500         filename ../images/buffer-view_dvi.xpm
29501         scale 85
29502         scaleBeforeRotation
29503
29504 \end_inset
29505
29506 .
29507 \end_layout
29508
29509 \begin_layout Section
29510 PostScript
29511 \begin_inset LatexCommand label
29512 name "sec:PostScript"
29513
29514 \end_inset
29515
29516
29517 \begin_inset LatexCommand index
29518 name "File Formats ! PostScript"
29519
29520 \end_inset
29521
29522
29523 \begin_inset LatexCommand index
29524 name "PostScript|see{File Formats}"
29525
29526 \end_inset
29527
29528
29529 \end_layout
29530
29531 \begin_layout Standard
29532 This file type has the extension 
29533 \begin_inset Quotes eld
29534 \end_inset
29535
29536
29537 \family typewriter
29538 .ps
29539 \family default
29540
29541 \begin_inset Quotes erd
29542 \end_inset
29543
29544 .
29545  PostScript was developed by the company 
29546 \family typewriter
29547 Adobe
29548 \family default
29549  as printer language.
29550  The file contains therefore commands that the printer uses to print the
29551  file.
29552  PostScript can be seen as 
29553 \begin_inset Quotes eld
29554 \end_inset
29555
29556 programming language
29557 \begin_inset Quotes erd
29558 \end_inset
29559
29560 ; you can calculate with it and draw diagrams and images
29561 \begin_inset Foot
29562 status collapsed
29563
29564 \begin_layout Standard
29565 If you are interested to learn more about this, have a look at the LaTeX-package
29566  
29567 \series bold
29568 PSTricks
29569 \series default
29570  
29571 \begin_inset LatexCommand cite
29572 key "pstricks"
29573
29574 \end_inset
29575
29576 .
29577 \end_layout
29578
29579 \end_inset
29580
29581 .
29582  Due to this ability, the files are often bigger than PDFs.
29583 \end_layout
29584
29585 \begin_layout Standard
29586 PostScript can only contain images in the format 
29587 \begin_inset Quotes eld
29588 \end_inset
29589
29590 Encapsulated PostScript
29591 \begin_inset Quotes erd
29592 \end_inset
29593
29594  (EPS, file extension 
29595 \begin_inset Quotes eld
29596 \end_inset
29597
29598
29599 \family typewriter
29600 .eps
29601 \family default
29602
29603 \begin_inset Quotes erd
29604 \end_inset
29605
29606 ).
29607  As LyX allows you to use any known image format in your document, it has
29608  to convert images in the background to EPS.
29609  If you have e.g 50 images in your document, LyX has to do 50 conversions
29610  whenever you view or export your document.
29611  This will slow down your work flow with LyX drastically.
29612  So if you plan to use PostScript, you can insert your images directly as
29613  EPS to avoid this problem.
29614 \end_layout
29615
29616 \begin_layout Standard
29617 You can export your document to PostScript using the menu 
29618 \family sans
29619 File\SpecialChar \menuseparator
29620 Export\SpecialChar \menuseparator
29621 Postscript
29622 \family default
29623 .
29624  You can view your document as PostScript via the 
29625 \family sans
29626 View
29627 \family default
29628  menu or by using the toolbar button 
29629 \begin_inset Graphics
29630         filename ../images/buffer-view_ps.xpm
29631         scale 85
29632         scaleBeforeRotation
29633
29634 \end_inset
29635
29636 .
29637 \end_layout
29638
29639 \begin_layout Section
29640 PDF
29641 \begin_inset LatexCommand label
29642 name "sec:PDF"
29643
29644 \end_inset
29645
29646
29647 \begin_inset LatexCommand index
29648 name "File Formats ! PDF"
29649
29650 \end_inset
29651
29652
29653 \begin_inset LatexCommand index
29654 name "PDF"
29655
29656 \end_inset
29657
29658
29659 \end_layout
29660
29661 \begin_layout Standard
29662 This file type has the extension 
29663 \begin_inset Quotes eld
29664 \end_inset
29665
29666
29667 \family typewriter
29668 .pdf
29669 \family default
29670
29671 \begin_inset Quotes erd
29672 \end_inset
29673
29674 .
29675  The 
29676 \begin_inset Quotes eld
29677 \end_inset
29678
29679 Portable Document Format
29680 \begin_inset Quotes erd
29681 \end_inset
29682
29683  (PDF) is developed by 
29684 \family typewriter
29685 Adobe
29686 \family default
29687  as derivative from PostScript.
29688  It is more compressed and it uses much less commands than PostScript.
29689  As the name 
29690 \begin_inset Quotes eld
29691 \end_inset
29692
29693 portable
29694 \begin_inset Quotes erd
29695 \end_inset
29696
29697  implies, it can be processed at any computer system and the printed output
29698  looks exactly the same.
29699 \end_layout
29700
29701 \begin_layout Standard
29702 PDF can contain images in its own PDF format, in the format 
29703 \begin_inset Quotes eld
29704 \end_inset
29705
29706 Joint Photographic Experts Group
29707 \begin_inset Quotes erd
29708 \end_inset
29709
29710  (JPG, file extension 
29711 \begin_inset Quotes eld
29712 \end_inset
29713
29714
29715 \family typewriter
29716 .jpg
29717 \family default
29718
29719 \begin_inset Quotes erd
29720 \end_inset
29721
29722  or 
29723 \begin_inset Quotes eld
29724 \end_inset
29725
29726
29727 \family typewriter
29728 .jpeg
29729 \family default
29730
29731 \begin_inset Quotes erd
29732 \end_inset
29733
29734 ), and in the format 
29735 \begin_inset Quotes eld
29736 \end_inset
29737
29738 Portable Network Graphics
29739 \begin_inset Quotes erd
29740 \end_inset
29741
29742  (PNG, file extension 
29743 \begin_inset Quotes eld
29744 \end_inset
29745
29746
29747 \family typewriter
29748 .png
29749 \family default
29750
29751 \begin_inset Quotes erd
29752 \end_inset
29753
29754 ).
29755  Nevertheless you can use any other image format, because LyX converts them
29756  in the background to one of these formats.
29757  But as described in the section about PostScript, the image conversion
29758  will slow down your work flow.
29759  So it is recommended to use images in one of the three mentioned formats.
29760 \end_layout
29761
29762 \begin_layout Standard
29763 You can export your document to PDF via the menu 
29764 \family sans
29765 File\SpecialChar \menuseparator
29766 Export
29767 \family default
29768  in three different ways:
29769 \end_layout
29770
29771 \begin_layout Description
29772 PDF\InsetSpace ~
29773 (ps2pdf) This uses the program 
29774 \family typewriter
29775 ps2pdf
29776 \family default
29777  that creates a PDF from a PostScript-version of your file.
29778  The PostScript-version is produced by the program 
29779 \family typewriter
29780 dvips
29781 \family default
29782  which uses a DVI-version as intermediate step.
29783  So this export variant consist of three conversions.
29784 \end_layout
29785
29786 \begin_layout Description
29787 PDF\InsetSpace ~
29788 (dvipdfm) This uses the program 
29789 \family typewriter
29790 dvipdfm
29791 \family default
29792  that converts your file in the background to DVI and in a second step to
29793  PDF.
29794 \end_layout
29795
29796 \begin_layout Description
29797 PDF\InsetSpace ~
29798 (pdflatex) This uses the program 
29799 \family typewriter
29800 pdftex
29801 \family default
29802  that converts your file directly to PDF.
29803 \end_layout
29804
29805 \begin_layout Standard
29806 It is recommended to use 
29807 \family sans
29808 PDF\InsetSpace ~
29809 (pdflatex)
29810 \family default
29811  because 
29812 \family typewriter
29813 pdftex
29814 \family default
29815  supports all features of actual PDF-versions, is quick and works stable
29816  without problems.
29817  The program 
29818 \family typewriter
29819 dvipdfm
29820 \family default
29821  is not under development and therefore a bit outdated.
29822 \end_layout
29823
29824 \begin_layout Standard
29825 You can view your document as PDF via the 
29826 \family sans
29827 View
29828 \family default
29829  menu or by using the toolbar button 
29830 \begin_inset Graphics
29831         filename ../images/buffer-view_pdf2.xpm
29832         scale 85
29833         scaleBeforeRotation
29834
29835 \end_inset
29836
29837  
29838 \family sans
29839 (
29840 \family default
29841 that uses 
29842 \family sans
29843 PDF\InsetSpace ~
29844 (pdflatex)
29845 \family default
29846 ).
29847 \end_layout
29848
29849 \begin_layout Chapter
29850 Explanation of Equation\InsetSpace ~
29851
29852 \begin_inset LatexCommand eqref
29853 reference "eq:Wgn"
29854
29855 \end_inset
29856
29857
29858 \begin_inset LatexCommand label
29859 name "cha:Explanation-of-Equation"
29860
29861 \end_inset
29862
29863
29864 \end_layout
29865
29866 \begin_layout Standard
29867 The total width of 
29868 \emph on
29869 n
29870 \emph default
29871  table cells 
29872 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29873 \end_inset
29874
29875  can be calculated to
29876 \end_layout
29877
29878 \begin_layout Standard
29879 \begin_inset Formula \begin{equation}
29880 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29881
29882 \end_inset
29883
29884
29885 \end_layout
29886
29887 \begin_layout Standard
29888 Where 
29889 \begin_inset Formula $W_{g\, n}$
29890 \end_inset
29891
29892  is the given width of all cells.
29893  
29894 \series bold
29895
29896 \backslash
29897 tabcolsep
29898 \series default
29899  is the LaTeX-length between the cell text and the cell border, its default
29900  value is 6\InsetSpace \thinspace{}
29901 pt.
29902  
29903 \series bold
29904
29905 \backslash
29906 arrayrulewidth
29907 \series default
29908  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29909 pt.
29910 \end_layout
29911
29912 \begin_layout Standard
29913 Following equation\InsetSpace ~
29914
29915 \begin_inset LatexCommand eqref
29916 reference "eq:Wtot_n"
29917
29918 \end_inset
29919
29920 , the total width of a multicolumn 
29921 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29922 \end_inset
29923
29924  is
29925 \end_layout
29926
29927 \begin_layout Standard
29928 \begin_inset Formula \begin{equation}
29929 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29930
29931 \end_inset
29932
29933
29934 \end_layout
29935
29936 \begin_layout Standard
29937 By setting equation\InsetSpace ~
29938
29939 \begin_inset LatexCommand eqref
29940 reference "eq:Wtot_n"
29941
29942 \end_inset
29943
29944  and 
29945 \begin_inset LatexCommand eqref
29946 reference "eq:Wtot_mult"
29947
29948 \end_inset
29949
29950  equal we can calculate the needed given width 
29951 \begin_inset Formula $W_{g\, n}$
29952 \end_inset
29953
29954  when 
29955 \emph on
29956 n
29957 \emph default
29958  columns are spanned, so that each column has a total width of 
29959 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29960 \end_inset
29961
29962 :
29963 \end_layout
29964
29965 \begin_layout Standard
29966 \begin_inset Formula \begin{equation}
29967 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29968
29969 \end_inset
29970
29971
29972 \end_layout
29973
29974 \begin_layout Bibliography
29975 \begin_inset LatexCommand bibitem
29976 key "latexcompanion"
29977
29978 \end_inset
29979
29980 Frank Mittelbach and Michel Goossens: 
29981 \emph on
29982 The LaTeX Companion Second Edition.
29983
29984 \emph default
29985  Addison-Wesley, 2004
29986 \end_layout
29987
29988 \begin_layout Bibliography
29989 \begin_inset LatexCommand bibitem
29990 key "latexguide"
29991
29992 \end_inset
29993
29994 Helmut Kopka and Patrick W.
29995  Daly: 
29996 \emph on
29997 A Guide to LaTeX Fourth Edition.
29998
29999 \emph default
30000  Addison-Wesley, 2003
30001 \end_layout
30002
30003 \begin_layout Bibliography
30004 \begin_inset LatexCommand bibitem
30005 key "latexbook"
30006
30007 \end_inset
30008
30009 Leslie Lamport: 
30010 \emph on
30011 LaTeX: A Document Preparation System.
30012
30013 \emph default
30014  Addison-Wesley, second edition, 1994
30015 \end_layout
30016
30017 \begin_layout Bibliography
30018 \begin_inset LatexCommand bibitem
30019 key "booktabs"
30020
30021 \end_inset
30022
30023
30024 \begin_inset ERT
30025 status collapsed
30026
30027 \begin_layout Standard
30028
30029
30030 \backslash
30031 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
30032 {
30033 \end_layout
30034
30035 \end_inset
30036
30037 Documentation
30038 \begin_inset ERT
30039 status collapsed
30040
30041 \begin_layout Standard
30042
30043 }
30044 \end_layout
30045
30046 \end_inset
30047
30048  of the LaTeX-package 
30049 \series bold
30050 booktabs
30051 \series default
30052
30053 \begin_inset LatexCommand index
30054 name "LaTeX-packages ! booktabs"
30055
30056 \end_inset
30057
30058
30059 \end_layout
30060
30061 \begin_layout Bibliography
30062 \begin_inset LatexCommand bibitem
30063 key "caption"
30064
30065 \end_inset
30066
30067
30068 \begin_inset ERT
30069 status collapsed
30070
30071 \begin_layout Standard
30072
30073
30074 \backslash
30075 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
30076 \end_layout
30077
30078 \end_inset
30079
30080 Documentation
30081 \begin_inset ERT
30082 status collapsed
30083
30084 \begin_layout Standard
30085
30086 }
30087 \end_layout
30088
30089 \end_inset
30090
30091  of the LaTeX-package 
30092 \series bold
30093 caption
30094 \series default
30095
30096 \begin_inset LatexCommand index
30097 name "LaTeX-packages ! caption"
30098
30099 \end_inset
30100
30101
30102 \end_layout
30103
30104 \begin_layout Bibliography
30105 \begin_inset LatexCommand bibitem
30106 key "caption-de"
30107
30108 \end_inset
30109
30110 German 
30111 \begin_inset ERT
30112 status collapsed
30113
30114 \begin_layout Standard
30115
30116
30117 \backslash
30118 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
30119 {
30120 \end_layout
30121
30122 \end_inset
30123
30124 documentation
30125 \begin_inset ERT
30126 status collapsed
30127
30128 \begin_layout Standard
30129
30130 }
30131 \end_layout
30132
30133 \end_inset
30134
30135  of the LaTeX-package 
30136 \series bold
30137 caption
30138 \end_layout
30139
30140 \begin_layout Bibliography
30141 \begin_inset LatexCommand bibitem
30142 key "endfloat"
30143
30144 \end_inset
30145
30146
30147 \begin_inset ERT
30148 status collapsed
30149
30150 \begin_layout Standard
30151
30152
30153 \backslash
30154 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
30155 {
30156 \end_layout
30157
30158 \end_inset
30159
30160 Documentation
30161 \begin_inset ERT
30162 status collapsed
30163
30164 \begin_layout Standard
30165
30166 }
30167 \end_layout
30168
30169 \end_inset
30170
30171  of the LaTeX-package 
30172 \series bold
30173 endf\SpecialChar \textcompwordmark{}
30174 loat
30175 \series default
30176
30177 \begin_inset LatexCommand index
30178 name "LaTeX-packages ! endfloat"
30179
30180 \end_inset
30181
30182
30183 \end_layout
30184
30185 \begin_layout Bibliography
30186 \begin_inset LatexCommand bibitem
30187 key "floatflt"
30188
30189 \end_inset
30190
30191
30192 \begin_inset ERT
30193 status collapsed
30194
30195 \begin_layout Standard
30196
30197
30198 \backslash
30199 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
30200 {
30201 \end_layout
30202
30203 \end_inset
30204
30205 Documentation
30206 \begin_inset ERT
30207 status collapsed
30208
30209 \begin_layout Standard
30210
30211 }
30212 \end_layout
30213
30214 \end_inset
30215
30216  of the LaTeX-package 
30217 \series bold
30218 f\SpecialChar \textcompwordmark{}
30219 loatf\SpecialChar \textcompwordmark{}
30220 lt
30221 \series default
30222
30223 \begin_inset LatexCommand index
30224 name "LaTeX-packages ! floatflt"
30225
30226 \end_inset
30227
30228
30229 \end_layout
30230
30231 \begin_layout Bibliography
30232 \begin_inset LatexCommand bibitem
30233 key "footmisc"
30234
30235 \end_inset
30236
30237
30238 \begin_inset ERT
30239 status collapsed
30240
30241 \begin_layout Standard
30242
30243
30244 \backslash
30245 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
30246 {
30247 \end_layout
30248
30249 \end_inset
30250
30251 Documentation
30252 \begin_inset ERT
30253 status collapsed
30254
30255 \begin_layout Standard
30256
30257 }
30258 \end_layout
30259
30260 \end_inset
30261
30262  of the LaTeX-package 
30263 \series bold
30264 footmisc
30265 \series default
30266
30267 \begin_inset LatexCommand index
30268 name "LaTeX-packages ! footmisc"
30269
30270 \end_inset
30271
30272
30273 \end_layout
30274
30275 \begin_layout Bibliography
30276 \begin_inset LatexCommand bibitem
30277 key "hypcap"
30278
30279 \end_inset
30280
30281
30282 \begin_inset ERT
30283 status collapsed
30284
30285 \begin_layout Standard
30286
30287
30288 \backslash
30289 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
30290 \end_layout
30291
30292 \end_inset
30293
30294 Documentation
30295 \begin_inset ERT
30296 status collapsed
30297
30298 \begin_layout Standard
30299
30300 }
30301 \end_layout
30302
30303 \end_inset
30304
30305  of the LaTeX-package 
30306 \series bold
30307 hypcap
30308 \series default
30309
30310 \begin_inset LatexCommand index
30311 name "LaTeX-packages ! hyperref"
30312
30313 \end_inset
30314
30315
30316 \end_layout
30317
30318 \begin_layout Bibliography
30319 \begin_inset LatexCommand bibitem
30320 key "hyperref"
30321
30322 \end_inset
30323
30324
30325 \begin_inset ERT
30326 status collapsed
30327
30328 \begin_layout Standard
30329
30330
30331 \backslash
30332 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
30333 {
30334 \end_layout
30335
30336 \end_inset
30337
30338 Documentation
30339 \begin_inset ERT
30340 status collapsed
30341
30342 \begin_layout Standard
30343
30344 }
30345 \end_layout
30346
30347 \end_inset
30348
30349  of the LaTeX-package 
30350 \series bold
30351 hyperref
30352 \series default
30353
30354 \begin_inset LatexCommand index
30355 name "LaTeX-packages ! hyperref"
30356
30357 \end_inset
30358
30359
30360 \end_layout
30361
30362 \begin_layout Bibliography
30363 \begin_inset LatexCommand bibitem
30364 key "koma-script"
30365
30366 \end_inset
30367
30368
30369 \begin_inset ERT
30370 status collapsed
30371
30372 \begin_layout Standard
30373
30374
30375 \backslash
30376 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
30377 df}{
30378 \end_layout
30379
30380 \end_inset
30381
30382 Documentation
30383 \begin_inset ERT
30384 status collapsed
30385
30386 \begin_layout Standard
30387
30388 }
30389 \end_layout
30390
30391 \end_inset
30392
30393  of the LaTeX-package 
30394 \series bold
30395 koma-script
30396 \series default
30397
30398 \begin_inset LatexCommand index
30399 name "LaTeX-packages ! koma-script"
30400
30401 \end_inset
30402
30403
30404 \end_layout
30405
30406 \begin_layout Bibliography
30407 \begin_inset LatexCommand bibitem
30408 key "koma-script-de"
30409
30410 \end_inset
30411
30412 German 
30413 \begin_inset ERT
30414 status collapsed
30415
30416 \begin_layout Standard
30417
30418
30419 \backslash
30420 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
30421 df}{
30422 \end_layout
30423
30424 \end_inset
30425
30426 documentation
30427 \begin_inset ERT
30428 status collapsed
30429
30430 \begin_layout Standard
30431
30432 }
30433 \end_layout
30434
30435 \end_inset
30436
30437  of the LaTeX-package 
30438 \series bold
30439 koma-script
30440 \series default
30441
30442 \begin_inset LatexCommand index
30443 name "LaTeX-packages ! koma-script"
30444
30445 \end_inset
30446
30447
30448 \end_layout
30449
30450 \begin_layout Bibliography
30451 \begin_inset LatexCommand bibitem
30452 key "listings"
30453
30454 \end_inset
30455
30456
30457 \begin_inset ERT
30458 status collapsed
30459
30460 \begin_layout Standard
30461
30462
30463 \backslash
30464 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
30465 {
30466 \end_layout
30467
30468 \end_inset
30469
30470 Documentation
30471 \begin_inset ERT
30472 status collapsed
30473
30474 \begin_layout Standard
30475
30476 }
30477 \end_layout
30478
30479 \end_inset
30480
30481  of the LaTeX-package 
30482 \series bold
30483 listings
30484 \series default
30485
30486 \begin_inset LatexCommand index
30487 name "LaTeX-packages ! listings"
30488
30489 \end_inset
30490
30491
30492 \end_layout
30493
30494 \begin_layout Bibliography
30495 \begin_inset LatexCommand bibitem
30496 key "marginnote"
30497
30498 \end_inset
30499
30500
30501 \begin_inset ERT
30502 status collapsed
30503
30504 \begin_layout Standard
30505
30506
30507 \backslash
30508 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
30509 pdf}{
30510 \end_layout
30511
30512 \end_inset
30513
30514 Documentation
30515 \begin_inset ERT
30516 status collapsed
30517
30518 \begin_layout Standard
30519
30520 }
30521 \end_layout
30522
30523 \end_inset
30524
30525  of the LaTeX-package 
30526 \series bold
30527 marginnote
30528 \series default
30529
30530 \begin_inset LatexCommand index
30531 name "LaTeX-packages ! marginnote"
30532
30533 \end_inset
30534
30535
30536 \end_layout
30537
30538 \begin_layout Bibliography
30539 \begin_inset LatexCommand bibitem
30540 key "pstricks"
30541
30542 \end_inset
30543
30544
30545 \begin_inset ERT
30546 status collapsed
30547
30548 \begin_layout Standard
30549
30550
30551 \backslash
30552 href{http://tug.org/PSTricks/main.cgi/}{
30553 \end_layout
30554
30555 \end_inset
30556
30557 Web page
30558 \begin_inset ERT
30559 status collapsed
30560
30561 \begin_layout Standard
30562
30563 }
30564 \end_layout
30565
30566 \end_inset
30567
30568  of the LaTeX-package 
30569 \series bold
30570 PSTricks
30571 \series default
30572
30573 \begin_inset LatexCommand index
30574 name "LaTeX-packages ! PSTricks"
30575
30576 \end_inset
30577
30578
30579 \end_layout
30580
30581 \begin_layout Bibliography
30582 \begin_inset LatexCommand bibitem
30583 key "sidecap"
30584
30585 \end_inset
30586
30587
30588 \begin_inset ERT
30589 status collapsed
30590
30591 \begin_layout Standard
30592
30593
30594 \backslash
30595 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30596 \end_layout
30597
30598 \end_inset
30599
30600 Documentation
30601 \begin_inset ERT
30602 status collapsed
30603
30604 \begin_layout Standard
30605
30606 }
30607 \end_layout
30608
30609 \end_inset
30610
30611  of the LaTeX-package 
30612 \series bold
30613 sidecap
30614 \series default
30615
30616 \begin_inset LatexCommand index
30617 name "LaTeX-packages ! sidecap"
30618
30619 \end_inset
30620
30621
30622 \end_layout
30623
30624 \begin_layout Bibliography
30625 \begin_inset LatexCommand bibitem
30626 key "NewInLyX15"
30627
30628 \end_inset
30629
30630
30631 \begin_inset ERT
30632 status collapsed
30633
30634 \begin_layout Standard
30635
30636
30637 \backslash
30638 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30639 \end_layout
30640
30641 \end_inset
30642
30643 Wiki page
30644 \begin_inset ERT
30645 status collapsed
30646
30647 \begin_layout Standard
30648
30649 }
30650 \end_layout
30651
30652 \end_inset
30653
30654  about new LyX-features planned for the release 
30655 \family sans
30656 LyX 1.5
30657 \family default
30658 .0.
30659 \end_layout
30660
30661 \begin_layout Standard
30662 \begin_inset LatexCommand printindex
30663
30664 \end_inset
30665
30666
30667 \end_layout
30668
30669 \begin_layout Standard
30670 \begin_inset FloatList figure
30671
30672 \end_inset
30673
30674
30675 \end_layout
30676
30677 \begin_layout Standard
30678 \begin_inset FloatList table
30679
30680 \end_inset
30681
30682
30683 \end_layout
30684
30685 \end_body
30686 \end_document