]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
957fbdc167a9574bed4f5b9b3b14bd3b5f037b99
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 263
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 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "usti" 
207 \author "Uwe Stöhr" 
208 \author "" 
209 \end_header
210
211 \begin_body
212
213 \begin_layout Title
214 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
215 \end_layout
216
217 \begin_layout Author
218 by the LyX Team
219 \begin_inset Foot
220 status collapsed
221
222 \begin_layout Standard
223 \noindent
224 If you have comments or error corrections, please send them to the LyX Documenta
225 tion mailing list: 
226 \family typewriter
227
228 \begin_inset ERT
229 status open
230
231 \begin_layout Standard
232
233
234 \backslash
235 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
236 \end_layout
237
238 \end_inset
239
240 lyx-docs@lists.lyx.org
241 \begin_inset ERT
242 status collapsed
243
244 \begin_layout Standard
245
246 }
247 \end_layout
248
249 \end_inset
250
251
252 \end_layout
253
254 \end_inset
255
256
257 \begin_inset Note Note
258 status collapsed
259
260 \begin_layout Standard
261 original author: Uwe Stöhr
262 \end_layout
263
264 \end_inset
265
266
267 \newline
268
269 \newline
270
271 \family sans
272 Version 1.5.0-
273 \family default
274 1
275 \end_layout
276
277 \begin_layout Standard
278 \begin_inset LatexCommand tableofcontents
279
280 \end_inset
281
282
283 \end_layout
284
285 \begin_layout Standard
286 \begin_inset Note Note
287 status open
288
289 \begin_layout Standard
290 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
291  
292 \series bold
293 arydshln
294 \series default
295  and 
296 \series bold
297 marginnote
298 \series default
299  must be installed.
300  If they are not installed you can export the document anyway but the sections
301  where the packages are required won't appear in the output.
302 \end_layout
303
304 \begin_layout Standard
305 The latest PDF-version of this document can be found here:
306 \newline
307
308 \series bold
309 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
310 \end_layout
311
312 \end_inset
313
314
315 \end_layout
316
317 \begin_layout Chapter
318 Figures
319 \begin_inset LatexCommand label
320 name "cha:Figures"
321
322 \end_inset
323
324
325 \begin_inset LatexCommand index
326 name "Figures"
327
328 \end_inset
329
330
331 \begin_inset LatexCommand index
332 name "Graphics|see{Figures}"
333
334 \end_inset
335
336
337 \end_layout
338
339 \begin_layout Section
340 Graphics Dialog
341 \begin_inset LatexCommand index
342 name "Figures ! Graphics Dialog"
343
344 \end_inset
345
346
347 \begin_inset LatexCommand label
348 name "sec:Graphics-Dialog"
349
350 \end_inset
351
352
353 \end_layout
354
355 \begin_layout Standard
356 To insert an image into your document, place the cursor at the text position
357  you want and click on the toolbar icon 
358 \begin_inset Graphics
359         filename ../images/dialog-show-new-inset_graphics.xpm
360         scale 85
361
362 \end_inset
363
364  or use the menu 
365 \family sans
366 Insert\SpecialChar \menuseparator
367 Graphics
368 \family default
369 .
370  Then a dialog will appear to choose the file to load.
371  The image will appear in the output exactly at the position where it is
372  in the text.
373 \end_layout
374
375 \begin_layout Standard
376 The graphics dialog can be called at any time by right-clicking on an image.
377  This dialog has three tabs:
378 \end_layout
379
380 \begin_layout Description
381
382 \family sans
383 Graphics
384 \family default
385  Here you can choose an image file and adjust its appearance in the output.
386  The available units for the image size are explained in appendix\InsetSpace ~
387
388 \begin_inset LatexCommand ref
389 reference "cha:Units-available-in"
390
391 \end_inset
392
393 .
394 \newline
395 You can rotate images counter-clockwise by setting a rotation angle and
396  a rotation origin.
397  The image will also be rotated inside LyX.
398 \newline
399 Images can be opened in a program
400  of your choice when pressing the 
401 \family sans
402 Edit
403 \family default
404  button.
405  The program can be set for every image format in the file format settings
406  in LyX's preferences.
407 \end_layout
408
409 \begin_layout Description
410
411 \family sans
412 Clipping
413 \family default
414  Alternatively to the usage of scaling units it is possible to set image
415  coordinates to adjust the height and width of the image in the output.
416  The coordinates can also be calculated automatically by pressing the button
417  
418 \family sans
419 Get\InsetSpace ~
420 from\InsetSpace ~
421 File
422 \family default
423 .
424  The option 
425 \family sans
426 Clip\InsetSpace ~
427 to\InsetSpace ~
428 bounding\InsetSpace ~
429 box
430 \family default
431  will only print the image region within the given coordinates.
432  Normally you don't need to take care about image coordinates and can ignore
433  this tab.
434 \end_layout
435
436 \begin_layout Description
437
438 \family sans
439 Extra\InsetSpace ~
440 options
441 \family default
442  In this tab you can modify the appearance of the image within LyX and set
443  the image to be a subfigure of a figure float with an own caption.
444  Subfigures are explained in section\InsetSpace ~
445
446 \begin_inset LatexCommand ref
447 reference "sec:Figure-Floats"
448
449 \end_inset
450
451 .
452 \newline
453  LaTeX experts can also specify on this tab additional LaTeX options.
454 \newline
455  The
456  option 
457 \family sans
458 Draft\InsetSpace ~
459 mode
460 \family default
461  makes the image appear in the output only as a frame with the size of the
462  image.
463 \newline
464 The 
465 \family sans
466 Don't\InsetSpace ~
467 unzip\InsetSpace ~
468 on\InsetSpace ~
469 export
470 \family default
471  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
472 g.\InsetSpace ~
473
474 \emph on
475 x.eps.gz
476 \emph default
477 .
478  When the option is used the images will not be unzipped on export, since
479  LaTeX can handle them as they are.
480 \newline
481 Zipped EPS-graphics are useful to save
482  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
483
484 \begin_inset LatexCommand ref
485 reference "sec:PostScript"
486
487 \end_inset
488
489 .
490  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
491  console:
492 \newline
493
494 \series bold
495 gzip x.eps
496 \series default
497
498 \newline
499
500 \series bold
501 zgrep %%Bounding x.eps.gz > x.eps.bb
502 \series default
503
504 \newline
505 The second command creates the bounding box file 
506 \begin_inset Quotes eld
507 \end_inset
508
509 x.eps.bb
510 \begin_inset Quotes erd
511 \end_inset
512
513  that is needed by LaTeX for zipped graphics.
514 \end_layout
515
516 \begin_layout Standard
517 \begin_inset VSpace bigskip
518 \end_inset
519
520
521 \end_layout
522
523 \begin_layout Standard
524 This is an example image in EPS format
525 \begin_inset Foot
526 status collapsed
527
528 \begin_layout Standard
529 Image formats are explained in section\InsetSpace ~
530
531 \begin_inset LatexCommand ref
532 reference "sec:Image-Formats"
533
534 \end_inset
535
536 .
537 \end_layout
538
539 \end_inset
540
541  within a separate, horizontally centered paragraph:
542 \end_layout
543
544 \begin_layout Standard
545 \align center
546 \begin_inset Graphics
547         filename clipart/mobius.eps
548         display color
549         scale 70
550         rotateOrigin center
551
552 \end_inset
553
554
555 \end_layout
556
557 \begin_layout Standard
558 This is the same image like the one above but in draft mode:
559 \end_layout
560
561 \begin_layout Standard
562 \align center
563 \begin_inset Graphics
564         filename clipart/mobius.eps
565         display color
566         scale 70
567         draft
568         rotateOrigin center
569
570 \end_inset
571
572
573 \end_layout
574
575 \begin_layout Section
576 Figure Floats
577 \begin_inset LatexCommand label
578 name "sec:Figure-Floats"
579
580 \end_inset
581
582
583 \begin_inset LatexCommand index
584 name "Floats ! Figure Floats"
585
586 \end_inset
587
588
589 \begin_inset LatexCommand index
590 name "Figures ! Floats"
591
592 \end_inset
593
594
595 \end_layout
596
597 \begin_layout Standard
598 For general explanations about floats, have a look at section\InsetSpace ~
599
600 \begin_inset LatexCommand ref
601 reference "sec:FloatIntroduction"
602
603 \end_inset
604
605 .
606 \end_layout
607
608 \begin_layout Standard
609 The toolbar button 
610 \begin_inset Graphics
611         filename ../images/float-insert_figure.xpm
612         scale 85
613
614 \end_inset
615
616  and the menu 
617 \family sans
618 Insert\SpecialChar \menuseparator
619 Float\SpecialChar \menuseparator
620 Figure
621 \family default
622  inserts a float with a caption that has the label 
623 \begin_inset Quotes eld
624 \end_inset
625
626 Figure\InsetSpace ~
627 #:
628 \begin_inset Quotes erd
629 \end_inset
630
631  (# is the actual number).
632  You can insert the image above the caption, like in Figure\InsetSpace ~
633
634 \begin_inset LatexCommand ref
635 reference "fig:kill-plat"
636
637 \end_inset
638
639  or below the caption, like in Figure\InsetSpace ~
640
641 \begin_inset LatexCommand ref
642 reference "fig:escher"
643
644 \end_inset
645
646 .
647  More about the caption placement is described in section\InsetSpace ~
648
649 \begin_inset LatexCommand ref
650 reference "sec:Caption-Placement"
651
652 \end_inset
653
654 .
655 \end_layout
656
657 \begin_layout Standard
658 \begin_inset Float figure
659 wide false
660 sideways false
661 status open
662
663 \begin_layout Standard
664 \align center
665 \begin_inset Graphics
666         filename clipart/platypus.eps
667         display color
668         width 50col%
669         rotateOrigin center
670
671 \end_inset
672
673
674 \end_layout
675
676 \begin_layout Standard
677 \begin_inset Caption
678
679 \begin_layout Standard
680 \begin_inset LatexCommand label
681 name "fig:kill-plat"
682
683 \end_inset
684
685 A severely distorted platypus in a float.
686 \end_layout
687
688 \end_inset
689
690
691 \end_layout
692
693 \end_inset
694
695
696 \end_layout
697
698 \begin_layout Standard
699 \begin_inset Float figure
700 wide false
701 sideways false
702 status open
703
704 \begin_layout Standard
705 \begin_inset Caption
706
707 \begin_layout Standard
708 \begin_inset LatexCommand label
709 name "fig:escher"
710
711 \end_inset
712
713 M.C.
714  Escher on acid.
715 \end_layout
716
717 \end_inset
718
719
720 \end_layout
721
722 \begin_layout Standard
723 \align center
724 \begin_inset Graphics
725         filename clipart/escher-lsd.eps
726         display color
727         scale 80
728         rotateOrigin center
729
730 \end_inset
731
732
733 \end_layout
734
735 \end_inset
736
737
738 \end_layout
739
740 \begin_layout Standard
741 \begin_inset LatexCommand index
742 name "References ! to Figures"
743
744 \end_inset
745
746 Figure\InsetSpace ~
747
748 \begin_inset LatexCommand ref
749 reference "fig:kill-plat"
750
751 \end_inset
752
753  and 
754 \begin_inset LatexCommand ref
755 reference "fig:escher"
756
757 \end_inset
758
759  are examples of referenced figures.
760  Figures can be referenced in the text by referencing their label.
761  To do this insert a label in the caption using the menu 
762 \family sans
763 Insert\SpecialChar \menuseparator
764 Label
765 \family default
766  or the toolbar button 
767 \begin_inset Graphics
768         filename ../images/label-insert.xpm
769         scale 85
770
771 \end_inset
772
773 .
774  You can now refer to the label using the menu 
775 \family sans
776 Insert\SpecialChar \menuseparator
777 Cross\InsetSpace ~
778 reference
779 \family default
780  or the toolbar button 
781 \begin_inset Graphics
782         filename ../images/dialog-show-new-inset_ref.xpm
783         scale 85
784
785 \end_inset
786
787 .
788  It is important to use references to floats, rather than using vague references
789  like 
790 \begin_inset Quotes eld
791 \end_inset
792
793 the figure above
794 \begin_inset Quotes erd
795 \end_inset
796
797 , because as LaTeX will reposition the floats in the final document, it
798  might not be 
799 \begin_inset Quotes eld
800 \end_inset
801
802 above
803 \begin_inset Quotes erd
804 \end_inset
805
806  at all.
807 \newline
808 Referencing is explained in detail in section\InsetSpace ~
809
810 \begin_inset LatexCommand ref
811 reference "sec:Referencing-Floats"
812
813 \end_inset
814
815 .
816 \end_layout
817
818 \begin_layout Standard
819 Normally only one image is inserted to a figure float, but sometimes you
820  might want to use two images with separate subcaptions.
821  This can be set in the tab 
822 \family sans
823 Extra\InsetSpace ~
824 options
825 \family default
826  of the graphics dialog.
827  Choose there the option 
828 \family sans
829 Subfigure
830 \family default
831  and enter the subcaption for the image in the caption field.
832  Note that only the main caption of the float is added to the List of Figures.
833 \newline
834 Ref
835 erencing subfigures is explained in section\InsetSpace ~
836
837 \begin_inset LatexCommand ref
838 reference "sub:Referencing-Subfigures"
839
840 \end_inset
841
842 .
843 \end_layout
844
845 \begin_layout Standard
846 Figure\InsetSpace ~
847
848 \begin_inset LatexCommand ref
849 reference "fig:Two-distorted-images"
850
851 \end_inset
852
853  is an example of a figure float with two images set side by side.
854  You can also set the images one below the other.
855 \end_layout
856
857 \begin_layout Standard
858 \begin_inset Float figure
859 wide false
860 sideways false
861 status open
862
863 \begin_layout Standard
864
865 \hfill
866
867 \begin_inset Graphics
868         filename clipart/escher-lsd.eps
869         width 45col%
870         subcaption
871         subcaptionText "Undefinable structure"
872
873 \end_inset
874
875
876 \hfill
877
878 \begin_inset Graphics
879         filename clipart/platypus.eps
880         lyxscale 60
881         width 45col%
882         subcaption
883         subcaptionText "\label{fig:Platypus} Platypus"
884
885 \end_inset
886
887
888 \hfill
889
890 \end_layout
891
892 \begin_layout Standard
893 \begin_inset Caption
894
895 \begin_layout Standard
896 \begin_inset LatexCommand label
897 name "fig:Two-distorted-images"
898
899 \end_inset
900
901 Two distorted images.
902 \end_layout
903
904 \end_inset
905
906
907 \end_layout
908
909 \end_inset
910
911
912 \end_layout
913
914 \begin_layout Section
915 Image Formats
916 \begin_inset LatexCommand label
917 name "sec:Image-Formats"
918
919 \end_inset
920
921
922 \begin_inset LatexCommand index
923 name "Image Formats"
924
925 \end_inset
926
927
928 \begin_inset LatexCommand index
929 name "Figures ! Image Formats"
930
931 \end_inset
932
933
934 \end_layout
935
936 \begin_layout Standard
937 You can insert images in any known file format.
938  But as explained in appendix\InsetSpace ~
939
940 \begin_inset LatexCommand ref
941 reference "cha:Output-File-Formats"
942
943 \end_inset
944
945 , every output document format allows only a few image formats.
946  LyX uses therefore the program 
947 \family typewriter
948 Imagemagick
949 \family default
950  in the background to convert the images to the right format.
951  To increase your work flow by avoiding these conversions in the background,
952  you can use only the image formats that can directly be embedded in the
953  output file format.
954  The output file formats are explained in appendix\InsetSpace ~
955
956 \begin_inset LatexCommand ref
957 reference "cha:Output-File-Formats"
958
959 \end_inset
960
961 .
962 \end_layout
963
964 \begin_layout Standard
965 Similar to fonts there are two types of image formats:
966 \end_layout
967
968 \begin_layout Description
969 Bitmap\InsetSpace ~
970 images consist of pixel values, often in a compressed form.
971  They are therefore not fully scalable and look pixeled in large zooms.
972  Well-known bitmap image formats are 
973 \begin_inset Quotes eld
974 \end_inset
975
976 Graphics Interchange Format
977 \begin_inset Quotes erd
978 \end_inset
979
980  (GIF, file extension 
981 \begin_inset Quotes eld
982 \end_inset
983
984
985 \family typewriter
986 .gif
987 \family default
988
989 \begin_inset Quotes erd
990 \end_inset
991
992 )
993 \begin_inset LatexCommand index
994 name "GIF|see{Image formats}"
995
996 \end_inset
997
998
999 \begin_inset Quotes eld
1000 \end_inset
1001
1002 Portable Network Graphics
1003 \begin_inset Quotes erd
1004 \end_inset
1005
1006  (PNG, file extension 
1007 \begin_inset Quotes eld
1008 \end_inset
1009
1010
1011 \family typewriter
1012 .png
1013 \family default
1014
1015 \begin_inset Quotes erd
1016 \end_inset
1017
1018 )
1019 \begin_inset LatexCommand index
1020 name "PNG|see{Image formats}"
1021
1022 \end_inset
1023
1024 , and 
1025 \begin_inset Quotes eld
1026 \end_inset
1027
1028 Joint Photographic Experts Group
1029 \begin_inset Quotes erd
1030 \end_inset
1031
1032  (JPG, file extension 
1033 \begin_inset Quotes eld
1034 \end_inset
1035
1036
1037 \family typewriter
1038 .jpg
1039 \family default
1040
1041 \begin_inset Quotes erd
1042 \end_inset
1043
1044  or 
1045 \begin_inset Quotes eld
1046 \end_inset
1047
1048
1049 \family typewriter
1050 .jpeg
1051 \family default
1052
1053 \begin_inset Quotes erd
1054 \end_inset
1055
1056 )
1057 \begin_inset LatexCommand index
1058 name "JPG|see{Image formats}"
1059
1060 \end_inset
1061
1062 .
1063 \end_layout
1064
1065 \begin_layout Description
1066 Vector\InsetSpace ~
1067 images consist of vectors and can therefore be scaled to any size
1068  without data loss.
1069  The scaling ability is necessary if you want to create presentations, because
1070  presentations are always scaled by the video projector.
1071  Scaling is also useful for online documents to let the user zoom into diagrams.
1072 \newline
1073 W
1074 ell-known scalable image formats are 
1075 \begin_inset Quotes eld
1076 \end_inset
1077
1078 Scalable Vector Graphics
1079 \begin_inset Quotes erd
1080 \end_inset
1081
1082  (SVG, file extension 
1083 \begin_inset Quotes eld
1084 \end_inset
1085
1086
1087 \family typewriter
1088 .svg
1089 \family default
1090
1091 \begin_inset Quotes erd
1092 \end_inset
1093
1094 )
1095 \begin_inset LatexCommand index
1096 name "SVG|see{Image formats}"
1097
1098 \end_inset
1099
1100
1101 \begin_inset Quotes eld
1102 \end_inset
1103
1104 Encapsulated PostScript
1105 \begin_inset Quotes erd
1106 \end_inset
1107
1108  (EPS, file extension 
1109 \begin_inset Quotes eld
1110 \end_inset
1111
1112
1113 \family typewriter
1114 .eps
1115 \family default
1116
1117 \begin_inset Quotes erd
1118 \end_inset
1119
1120 )
1121 \begin_inset LatexCommand index
1122 name "EPS|see{Image formats}"
1123
1124 \end_inset
1125
1126
1127 \begin_inset Quotes eld
1128 \end_inset
1129
1130 Portable Document Format
1131 \begin_inset Quotes erd
1132 \end_inset
1133
1134  (PDF, file extension 
1135 \begin_inset Quotes eld
1136 \end_inset
1137
1138
1139 \family typewriter
1140 .pdf
1141 \family default
1142
1143 \begin_inset Quotes erd
1144 \end_inset
1145
1146 )
1147 \begin_inset LatexCommand index
1148 name "PDF"
1149
1150 \end_inset
1151
1152 , and 
1153 \begin_inset Quotes eld
1154 \end_inset
1155
1156 Windows Metafile
1157 \begin_inset Quotes erd
1158 \end_inset
1159
1160  (WMF, file extension 
1161 \begin_inset Quotes eld
1162 \end_inset
1163
1164
1165 \family typewriter
1166 .wmf
1167 \family default
1168
1169 \begin_inset Quotes erd
1170 \end_inset
1171
1172 )
1173 \begin_inset LatexCommand index
1174 name "SVG|see{Image formats}"
1175
1176 \end_inset
1177
1178 .
1179  We wrote 
1180 \begin_inset Quotes eld
1181 \end_inset
1182
1183 can be
1184 \begin_inset Quotes erd
1185 \end_inset
1186
1187 , because you can convert any bitmap image to a PDF or EPS-image and the
1188  result will still be a bitmap image.
1189  In this cases only a header with the image properties is added to the original
1190  image
1191 \begin_inset Foot
1192 status open
1193
1194 \begin_layout Standard
1195 In the case of PDF, the original image is additionally compressed.
1196 \end_layout
1197
1198 \end_inset
1199
1200 .
1201  The PDF-files generated by 
1202 \family typewriter
1203 Adobe Photoshop
1204 \family default
1205  are for example bitmap images.
1206 \end_layout
1207
1208 \begin_layout Standard
1209 Normally it is not possible to convert a bitmap image into a scalable one,
1210  only vice versa.
1211  Only the image formats PDF and EPS can directly be embedded to PDF and
1212  PostScript output files, respectively.
1213  SVG and WMF-images are currently recalculated to bitmaps when the output
1214  file is generated because there is currently no adequate WMF/SVG
1215 \begin_inset Formula $\to$
1216 \end_inset
1217
1218 PDF/EPS converter available.
1219 \end_layout
1220
1221 \begin_layout Chapter
1222 Tables
1223 \begin_inset LatexCommand label
1224 name "cha:Tables"
1225
1226 \end_inset
1227
1228
1229 \begin_inset LatexCommand index
1230 name "Table"
1231
1232 \end_inset
1233
1234
1235 \end_layout
1236
1237 \begin_layout Section
1238 Introduction
1239 \begin_inset LatexCommand index
1240 name "Table ! Introduction"
1241
1242 \end_inset
1243
1244
1245 \end_layout
1246
1247 \begin_layout Standard
1248 You can insert a table using either the toolbar button 
1249 \begin_inset Graphics
1250         filename ../images/tabular-insert.xpm
1251         scale 85
1252
1253 \end_inset
1254
1255  or the menu 
1256 \family sans
1257 Insert\SpecialChar \menuseparator
1258 Table
1259 \family default
1260 .
1261  The toolbar button offers you a graphical selection: Move the mouse to
1262  set the column/row number of the table that should be created and then
1263  press a mouse button.
1264  When you use the menu to create a table, a dialog will appear, asking you
1265  for the number of rows and columns.
1266 \newline
1267  The default table has lines around any
1268  cell and the first row appears separated from the rest of the table.
1269  This separation occurs due to a double line: The cells of the first row
1270  have a line below them and the cells of the second row have a line above
1271  them.
1272  Here is an example table:
1273 \end_layout
1274
1275 \begin_layout Standard
1276 \align center
1277 \begin_inset Tabular
1278 <lyxtabular version="3" rows="4" columns="4">
1279 <features>
1280 <column alignment="center" valignment="top" leftline="true" width="0">
1281 <column alignment="center" valignment="top" leftline="true" width="0">
1282 <column alignment="center" valignment="top" leftline="true" width="0">
1283 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1284 <row topline="true" bottomline="true">
1285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1286 \begin_inset Text
1287
1288 \begin_layout Standard
1289
1290 \end_layout
1291
1292 \end_inset
1293 </cell>
1294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1295 \begin_inset Text
1296
1297 \begin_layout Standard
1298
1299 \family roman
1300 \series medium
1301 \shape up
1302 \size normal
1303 \emph off
1304 \bar no
1305 \noun off
1306 \color none
1307 1
1308 \end_layout
1309
1310 \end_inset
1311 </cell>
1312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1313 \begin_inset Text
1314
1315 \begin_layout Standard
1316 2
1317 \end_layout
1318
1319 \end_inset
1320 </cell>
1321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1322 \begin_inset Text
1323
1324 \begin_layout Standard
1325 3
1326 \end_layout
1327
1328 \end_inset
1329 </cell>
1330 </row>
1331 <row topline="true">
1332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1333 \begin_inset Text
1334
1335 \begin_layout Standard
1336
1337 \family roman
1338 \series medium
1339 \shape up
1340 \size normal
1341 \emph off
1342 \bar no
1343 \noun off
1344 \color none
1345 A
1346 \end_layout
1347
1348 \end_inset
1349 </cell>
1350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1351 \begin_inset Text
1352
1353 \begin_layout Standard
1354
1355 \end_layout
1356
1357 \end_inset
1358 </cell>
1359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1360 \begin_inset Text
1361
1362 \begin_layout Standard
1363
1364 \end_layout
1365
1366 \end_inset
1367 </cell>
1368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1369 \begin_inset Text
1370
1371 \begin_layout Standard
1372
1373 \end_layout
1374
1375 \end_inset
1376 </cell>
1377 </row>
1378 <row topline="true">
1379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1380 \begin_inset Text
1381
1382 \begin_layout Standard
1383
1384 \family roman
1385 \series medium
1386 \shape up
1387 \size normal
1388 \emph off
1389 \bar no
1390 \noun off
1391 \color none
1392 B
1393 \end_layout
1394
1395 \end_inset
1396 </cell>
1397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1398 \begin_inset Text
1399
1400 \begin_layout Standard
1401
1402 \end_layout
1403
1404 \end_inset
1405 </cell>
1406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1407 \begin_inset Text
1408
1409 \begin_layout Standard
1410
1411 \end_layout
1412
1413 \end_inset
1414 </cell>
1415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1416 \begin_inset Text
1417
1418 \begin_layout Standard
1419
1420 \end_layout
1421
1422 \end_inset
1423 </cell>
1424 </row>
1425 <row topline="true" bottomline="true">
1426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1427 \begin_inset Text
1428
1429 \begin_layout Standard
1430
1431 \family roman
1432 \series medium
1433 \shape up
1434 \size normal
1435 \emph off
1436 \bar no
1437 \noun off
1438 \color none
1439 C
1440 \end_layout
1441
1442 \end_inset
1443 </cell>
1444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1445 \begin_inset Text
1446
1447 \begin_layout Standard
1448
1449 \end_layout
1450
1451 \end_inset
1452 </cell>
1453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1454 \begin_inset Text
1455
1456 \begin_layout Standard
1457
1458 \end_layout
1459
1460 \end_inset
1461 </cell>
1462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1463 \begin_inset Text
1464
1465 \begin_layout Standard
1466
1467 \end_layout
1468
1469 \end_inset
1470 </cell>
1471 </row>
1472 </lyxtabular>
1473
1474 \end_inset
1475
1476
1477 \end_layout
1478
1479 \begin_layout Section
1480 Table Dialog
1481 \begin_inset LatexCommand index
1482 name "Table ! Dialog"
1483
1484 \end_inset
1485
1486
1487 \end_layout
1488
1489 \begin_layout Standard
1490 You can alter a table by clicking on it with the right mouse button, which
1491  brings up the table dialog.
1492  Here you can adjust the settings of that cell and row/column respectively
1493  where the cursor is currently placed.
1494  Most of the dialog options also work on selections.
1495  This means if you select more cells, columns or rows, the action is done
1496  for the whole selection.
1497  Note that there is a difference between selecting the 
1498 \emph on
1499 contents
1500 \emph default
1501  of the cell, and the cell itself.
1502  You can alter tables with the following tabs of the table dialog:
1503 \end_layout
1504
1505 \begin_layout Description
1506
1507 \family sans
1508 Table\InsetSpace ~
1509 Settings
1510 \family default
1511  Here you can set the horizontal alignment for the current row and the width
1512  of the current column.
1513  When you have set a width you can also adjust the vertical alignment of
1514  the current column.
1515  A given width will allow the cell to have line breaks and multiple paragraphs
1516  of text, see section\InsetSpace ~
1517
1518 \begin_inset LatexCommand ref
1519 reference "sub:Multiple-Lines-in"
1520
1521 \end_inset
1522
1523 .
1524  If you set no width, the column is as wide as their widest cell content
1525  is.
1526 \newline
1527 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1528  cell, see section\InsetSpace ~
1529
1530 \begin_inset LatexCommand ref
1531 reference "sub:Multicolumns"
1532
1533 \end_inset
1534
1535 .
1536 \newline
1537 The rotate check boxes rotates the current cell, a selection, or the whole
1538  table counter-clockwise by 90°.
1539  The rotation is not shown within LyX, only in the output.
1540 \newline
1541
1542 \begin_inset Note Greyedout
1543 status open
1544
1545 \begin_layout Standard
1546
1547 \series bold
1548 Note:
1549 \series default
1550  Not all DVI-viewers are able to display rotations.
1551 \end_layout
1552
1553 \end_inset
1554
1555
1556 \newline
1557 It is also possible to enter a LaTeX-argument which is needed for special
1558  table formattings, see section\InsetSpace ~
1559
1560 \begin_inset LatexCommand ref
1561 reference "sub:Multicolumn-Calculations"
1562
1563 \end_inset
1564
1565  and 
1566 \begin_inset LatexCommand ref
1567 reference "sec:Colored-Tables"
1568
1569 \end_inset
1570
1571 .
1572 \end_layout
1573
1574 \begin_layout Description
1575
1576 \family sans
1577 Borders
1578 \family default
1579  In this tab you can add and delete border lines for the current row/column.
1580 \newline
1581 Using
1582  the style option 
1583 \family sans
1584 Formal
1585 \family default
1586  will convert the table to a formal table as described in section\InsetSpace ~
1587
1588 \begin_inset LatexCommand ref
1589 reference "sec:Formal-Tables"
1590
1591 \end_inset
1592
1593 .
1594 \newline
1595 You can also add here space to table rows as decribed in section\InsetSpace ~
1596
1597 \begin_inset LatexCommand ref
1598 reference "sub:Row-Spacing"
1599
1600 \end_inset
1601
1602 .
1603 \end_layout
1604
1605 \begin_layout Description
1606
1607 \family sans
1608 Longtable
1609 \family default
1610  This tab is to make a table a so called 
1611 \begin_inset Quotes eld
1612 \end_inset
1613
1614
1615 \emph on
1616 longtable
1617 \emph default
1618
1619 \begin_inset Quotes erd
1620 \end_inset
1621
1622  that can run over several pages.
1623  Section\InsetSpace ~
1624
1625 \begin_inset LatexCommand ref
1626 reference "sec:Longtables"
1627
1628 \end_inset
1629
1630  and 
1631 \begin_inset LatexCommand ref
1632 reference "sec:Special-Longtable-Issues"
1633
1634 \end_inset
1635
1636  describe the longtable features in detail.
1637 \end_layout
1638
1639 \begin_layout Standard
1640 When the table toolbar is opened, you can move the cursor with the arrow
1641  keys from cell to cell and the property of the current cell will immediately
1642  be displayed in the dialog.
1643 \end_layout
1644
1645 \begin_layout Section
1646 Table Toolbar
1647 \begin_inset LatexCommand index
1648 name "Table ! Toolbar"
1649
1650 \end_inset
1651
1652
1653 \end_layout
1654
1655 \begin_layout Standard
1656 The table toolbar is an alternative to the table dialog to be able to alter
1657  tables faster.
1658  It should normally appear at the bottom of LyX's main window when the cursor
1659  is inside a table.
1660  You can alternatively switch it on to appear always, by right-clicking
1661  in LyX's main menu bar.
1662 \end_layout
1663
1664 \begin_layout Standard
1665 The toolbar has the following icons:
1666 \end_layout
1667
1668 \begin_layout Labeling
1669 \labelwidthstring 00.00.0000
1670 \begin_inset Graphics
1671         filename ../images/tabular-feature_append-row.xpm
1672
1673 \end_inset
1674
1675  adds a row below the current cell or selection
1676 \end_layout
1677
1678 \begin_layout Labeling
1679 \labelwidthstring 00.00.0000
1680 \begin_inset Graphics
1681         filename ../images/tabular-feature_append-column.xpm
1682
1683 \end_inset
1684
1685  adds a column right beside the current cell or selection
1686 \end_layout
1687
1688 \begin_layout Labeling
1689 \labelwidthstring 00.00.0000
1690 \begin_inset Graphics
1691         filename ../images/tabular-feature_delete-row.xpm
1692
1693 \end_inset
1694
1695  deletes the current row or selection
1696 \end_layout
1697
1698 \begin_layout Labeling
1699 \labelwidthstring 00.00.0000
1700 \begin_inset Graphics
1701         filename ../images/tabular-feature_delete-column.xpm
1702
1703 \end_inset
1704
1705  deletes the current column or selection
1706 \end_layout
1707
1708 \begin_layout Labeling
1709 \labelwidthstring 00.00.0000
1710 \begin_inset Graphics
1711         filename ../images/tabular-feature_toggle-line-top.xpm
1712
1713 \end_inset
1714
1715  adds a line at the top of the current cell / row or of a selection
1716 \end_layout
1717
1718 \begin_layout Labeling
1719 \labelwidthstring 00.00.0000
1720 \begin_inset Graphics
1721         filename ../images/tabular-feature_toggle-line-bottom.xpm
1722
1723 \end_inset
1724
1725  adds a line at the bottom of the current cell / row or of a selection
1726 \end_layout
1727
1728 \begin_layout Labeling
1729 \labelwidthstring 00.00.0000
1730 \begin_inset Graphics
1731         filename ../images/tabular-feature_toggle-line-left.xpm
1732
1733 \end_inset
1734
1735  adds a line at the left side of the current cell / row or of a 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-right.xpm
1742
1743 \end_inset
1744
1745  adds a line at the right side of the current cell / row or of a selection
1746 \end_layout
1747
1748 \begin_layout Labeling
1749 \labelwidthstring 00.00.0000
1750 \begin_inset Graphics
1751         filename ../images/tabular-feature_set-all-lines.xpm
1752
1753 \end_inset
1754
1755  adds lines around the current or selected cells - if the current cell no
1756  multicolumn this also affects the current row and column
1757 \end_layout
1758
1759 \begin_layout Labeling
1760 \labelwidthstring 00.00.0000
1761 \begin_inset Graphics
1762         filename ../images/tabular-feature_unset-all-lines.xpm
1763
1764 \end_inset
1765
1766  deletes all lines of the current or selected cells - if the current cell
1767  no multicolumn this also affects the current row and column
1768 \end_layout
1769
1770 \begin_layout Labeling
1771 \labelwidthstring 00.00.0000
1772 \begin_inset Graphics
1773         filename ../images/tabular-feature_align-left.xpm
1774
1775 \end_inset
1776
1777  left-aligns the content of the current cell / column
1778 \end_layout
1779
1780 \begin_layout Labeling
1781 \labelwidthstring 00.00.0000
1782 \begin_inset Graphics
1783         filename ../images/tabular-feature_align-center.xpm
1784
1785 \end_inset
1786
1787  centers the content of the current cell / column horizontally
1788 \end_layout
1789
1790 \begin_layout Labeling
1791 \labelwidthstring 00.00.0000
1792 \begin_inset Graphics
1793         filename ../images/tabular-feature_align-right.xpm
1794
1795 \end_inset
1796
1797  right-aligns the content of the current cell / column
1798 \end_layout
1799
1800 \begin_layout Labeling
1801 \labelwidthstring 00.00.0000
1802 \begin_inset Graphics
1803         filename ../images/tabular-feature_valign-top.xpm
1804
1805 \end_inset
1806
1807  aligns the content of the current cell vertically to the top
1808 \end_layout
1809
1810 \begin_layout Labeling
1811 \labelwidthstring 00.00.0000
1812 \begin_inset Graphics
1813         filename ../images/tabular-feature_valign-middle.xpm
1814
1815 \end_inset
1816
1817  centers the content of the current cell vertically
1818 \end_layout
1819
1820 \begin_layout Labeling
1821 \labelwidthstring 00.00.0000
1822 \begin_inset Graphics
1823         filename ../images/tabular-feature_valign-bottom.xpm
1824
1825 \end_inset
1826
1827  aligns the content of the current cell vertically to the bottom
1828 \end_layout
1829
1830 \begin_layout Labeling
1831 \labelwidthstring 00.00.0000
1832 \begin_inset Graphics
1833         filename ../images/tabular-feature_set-rotate-cell.xpm
1834
1835 \end_inset
1836
1837  rotates the current cell or selection counter-clockwise by 90°
1838 \end_layout
1839
1840 \begin_layout Labeling
1841 \labelwidthstring 00.00.0000
1842 \begin_inset Graphics
1843         filename ../images/tabular-feature_set-rotate-tabular.xpm
1844
1845 \end_inset
1846
1847  rotates the whole table counter-clockwise by 90°
1848 \end_layout
1849
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Graphics
1853         filename ../images/tabular-feature_multicolumn.xpm
1854
1855 \end_inset
1856
1857  sets the current cell or selection as a multicolumn
1858 \end_layout
1859
1860 \begin_layout Section
1861 Edit Table Menu
1862 \begin_inset LatexCommand index
1863 name "Table ! Edit Menu"
1864
1865 \end_inset
1866
1867
1868 \end_layout
1869
1870 \begin_layout Standard
1871 Additionally to the table dialog and toolbar, the menu 
1872 \family sans
1873 Edit\SpecialChar \menuseparator
1874 Table
1875 \family default
1876  allows you to add and delete border lines for the current row/column and
1877  to set the current selection as multicolumn.
1878  The menu is only available when the cursor is inside a table.
1879 \end_layout
1880
1881 \begin_layout Section
1882 Table Floats
1883 \begin_inset LatexCommand label
1884 name "sec:Table-Floats"
1885
1886 \end_inset
1887
1888
1889 \begin_inset LatexCommand index
1890 name "Floats ! Tables"
1891
1892 \end_inset
1893
1894
1895 \begin_inset LatexCommand index
1896 name "Table ! Floats"
1897
1898 \end_inset
1899
1900
1901 \end_layout
1902
1903 \begin_layout Standard
1904 For general explanations about floats, have a look at section\InsetSpace ~
1905
1906 \begin_inset LatexCommand ref
1907 reference "sec:FloatIntroduction"
1908
1909 \end_inset
1910
1911 .
1912 \end_layout
1913
1914 \begin_layout Standard
1915 \begin_inset Float table
1916 placement h
1917 wide false
1918 sideways false
1919 status open
1920
1921 \begin_layout Standard
1922 \begin_inset Caption
1923
1924 \begin_layout Standard
1925 \begin_inset LatexCommand label
1926 name "tab:a table float"
1927
1928 \end_inset
1929
1930 A table float.
1931 \end_layout
1932
1933 \end_inset
1934
1935
1936 \end_layout
1937
1938 \begin_layout Standard
1939 \align center
1940 \begin_inset Tabular
1941 <lyxtabular version="3" rows="3" columns="3">
1942 <features>
1943 <column alignment="center" valignment="top" leftline="true" width="0pt">
1944 <column alignment="center" valignment="top" leftline="true" width="0pt">
1945 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1946 <row topline="true" bottomline="true">
1947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1948 \begin_inset Text
1949
1950 \begin_layout Standard
1951
1952 \family roman
1953 \series medium
1954 \shape up
1955 \size normal
1956 \emph off
1957 \bar no
1958 \noun off
1959 \color none
1960 1
1961 \end_layout
1962
1963 \end_inset
1964 </cell>
1965 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1966 \begin_inset Text
1967
1968 \begin_layout Standard
1969
1970 \family roman
1971 \series medium
1972 \shape up
1973 \size normal
1974 \emph off
1975 \bar no
1976 \noun off
1977 \color none
1978 2
1979 \end_layout
1980
1981 \end_inset
1982 </cell>
1983 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1984 \begin_inset Text
1985
1986 \begin_layout Standard
1987
1988 \family roman
1989 \series medium
1990 \shape up
1991 \size normal
1992 \emph off
1993 \bar no
1994 \noun off
1995 \color none
1996 3
1997 \end_layout
1998
1999 \end_inset
2000 </cell>
2001 </row>
2002 <row topline="true">
2003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2004 \begin_inset Text
2005
2006 \begin_layout Standard
2007
2008 \family roman
2009 \series medium
2010 \shape up
2011 \size normal
2012 \emph off
2013 \bar no
2014 \noun off
2015 \color none
2016 Joe
2017 \end_layout
2018
2019 \end_inset
2020 </cell>
2021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2022 \begin_inset Text
2023
2024 \begin_layout Standard
2025
2026 \family roman
2027 \series medium
2028 \shape up
2029 \size normal
2030 \emph off
2031 \bar no
2032 \noun off
2033 \color none
2034 Mary
2035 \end_layout
2036
2037 \end_inset
2038 </cell>
2039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2040 \begin_inset Text
2041
2042 \begin_layout Standard
2043
2044 \family roman
2045 \series medium
2046 \shape up
2047 \size normal
2048 \emph off
2049 \bar no
2050 \noun off
2051 \color none
2052 Ted
2053 \end_layout
2054
2055 \end_inset
2056 </cell>
2057 </row>
2058 <row topline="true" bottomline="true">
2059 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2060 \begin_inset Text
2061
2062 \begin_layout Standard
2063
2064 \family roman
2065 \series medium
2066 \shape up
2067 \size normal
2068 \emph off
2069 \bar no
2070 \noun off
2071 \color none
2072 \begin_inset Formula $\int x^{2}dx$
2073 \end_inset
2074
2075
2076 \end_layout
2077
2078 \end_inset
2079 </cell>
2080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2081 \begin_inset Text
2082
2083 \begin_layout Standard
2084
2085 \family roman
2086 \series medium
2087 \shape up
2088 \size normal
2089 \emph off
2090 \bar no
2091 \noun off
2092 \color none
2093 \begin_inset Formula $\left[\begin{array}{cc}
2094 a & b\\
2095 c & d\end{array}\right]$
2096 \end_inset
2097
2098
2099 \end_layout
2100
2101 \end_inset
2102 </cell>
2103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2104 \begin_inset Text
2105
2106 \begin_layout Standard
2107
2108 \family roman
2109 \series medium
2110 \shape up
2111 \size normal
2112 \emph off
2113 \bar no
2114 \noun off
2115 \color none
2116 \begin_inset Formula $1+1=2$
2117 \end_inset
2118
2119
2120 \end_layout
2121
2122 \end_inset
2123 </cell>
2124 </row>
2125 </lyxtabular>
2126
2127 \end_inset
2128
2129
2130 \end_layout
2131
2132 \end_inset
2133
2134
2135 \end_layout
2136
2137 \begin_layout Standard
2138 Table floats can be inserted using the menu 
2139 \family sans
2140 Insert\SpecialChar \menuseparator
2141 Float\SpecialChar \menuseparator
2142 Table
2143 \family default
2144  or the toolbar button 
2145 \begin_inset Graphics
2146         filename ../images/float-insert_table.xpm
2147         scale 85
2148
2149 \end_inset
2150
2151 .
2152 \end_layout
2153
2154 \begin_layout Standard
2155 The float appears as a collapsible box with a caption that has the label
2156  
2157 \begin_inset Quotes eld
2158 \end_inset
2159
2160 Table\InsetSpace ~
2161 #:
2162 \begin_inset Quotes erd
2163 \end_inset
2164
2165  (# is the actual table number).
2166  You can insert tables to the float above or below the caption.
2167 \end_layout
2168
2169 \begin_layout Standard
2170 Table\InsetSpace ~
2171
2172 \begin_inset LatexCommand ref
2173 reference "tab:a table float"
2174
2175 \end_inset
2176
2177  is an example table within a table float.
2178 \end_layout
2179
2180 \begin_layout Standard
2181 Having the caption above the table is the common rule that is unfortunately
2182  not supported in LaTeX's standard classes.
2183  That means if you are using the document classes 
2184 \family sans
2185 article
2186 \family default
2187
2188 \family sans
2189 book
2190 \family default
2191
2192 \family sans
2193 letter
2194 \family default
2195 , or 
2196 \family sans
2197 report
2198 \family default
2199  there will be no space between the caption and the table.
2200  To insert the needed space, add the following option to the load command
2201  of the LaTeX-package 
2202 \series bold
2203 caption
2204 \series default
2205
2206 \begin_inset LatexCommand index
2207 name "LaTeX-packages ! caption"
2208
2209 \end_inset
2210
2211  in your document preamble
2212 \begin_inset Foot
2213 status collapsed
2214
2215 \begin_layout Standard
2216 For more information have a look at section\InsetSpace ~
2217
2218 \begin_inset LatexCommand ref
2219 reference "sec:Caption-Placement"
2220
2221 \end_inset
2222
2223 .
2224 \end_layout
2225
2226 \end_inset
2227
2228 :
2229 \end_layout
2230
2231 \begin_layout Standard
2232
2233 \series bold
2234 tableposition=top
2235 \end_layout
2236
2237 \begin_layout Standard
2238 The package 
2239 \series bold
2240 caption
2241 \series default
2242 , which is described in section\InsetSpace ~
2243
2244 \begin_inset LatexCommand ref
2245 reference "sec:Caption-Formatting"
2246
2247 \end_inset
2248
2249 , is used to adjust the caption format.
2250 \end_layout
2251
2252 \begin_layout Standard
2253 \begin_inset LatexCommand index
2254 name "References ! to Tables"
2255
2256 \end_inset
2257
2258 Tables can be cross-referenced in the text by referencing their label.
2259  To do this insert a label in the caption using the menu 
2260 \family sans
2261 Insert\SpecialChar \menuseparator
2262 Label
2263 \family default
2264  or the toolbar button 
2265 \begin_inset Graphics
2266         filename ../images/label-insert.xpm
2267         scale 85
2268
2269 \end_inset
2270
2271 .
2272  You can now refer to the label using the menu 
2273 \family sans
2274 Insert\SpecialChar \menuseparator
2275 Cross\InsetSpace ~
2276 reference
2277 \family default
2278  or the toolbar button 
2279 \begin_inset Graphics
2280         filename ../images/dialog-show-new-inset_ref.xpm
2281         scale 85
2282
2283 \end_inset
2284
2285 .
2286 \newline
2287 Referencing is explained in detail in section\InsetSpace ~
2288
2289 \begin_inset LatexCommand ref
2290 reference "sec:Referencing-Floats"
2291
2292 \end_inset
2293
2294 .
2295 \end_layout
2296
2297 \begin_layout Section
2298 Longtables
2299 \begin_inset LatexCommand label
2300 name "sec:Longtables"
2301
2302 \end_inset
2303
2304
2305 \begin_inset LatexCommand index
2306 name "Longtables"
2307
2308 \end_inset
2309
2310
2311 \begin_inset LatexCommand index
2312 name "Table ! Longtables"
2313
2314 \end_inset
2315
2316
2317 \end_layout
2318
2319 \begin_layout Standard
2320 If the table is too long to fit on one page, you can use the option 
2321 \family sans
2322 Use\InsetSpace ~
2323 long\InsetSpace ~
2324 table
2325 \family default
2326  in the tab 
2327 \family sans
2328 Longtable
2329 \family default
2330  of the table dialog to split the table automatically over more pages.
2331  Doing this enables some check boxes and you can now define:
2332 \end_layout
2333
2334 \begin_layout Description
2335
2336 \family sans
2337 Header
2338 \family default
2339 : The current row and all rows above, that don't have any special options
2340  defined, are defined to be the header rows of all pages of the longtable;
2341  except for the first page, if 
2342 \family sans
2343 First\InsetSpace ~
2344 header
2345 \family default
2346  is defined.
2347  This therefore called the main header.
2348 \end_layout
2349
2350 \begin_layout Description
2351
2352 \family sans
2353 First\InsetSpace ~
2354 header
2355 \family default
2356 : The current row and all rows above, that don't have any special options
2357  defined, are defined to be the header rows of the first page of the longtable.
2358 \end_layout
2359
2360 \begin_layout Description
2361
2362 \family sans
2363 Footer
2364 \family default
2365 : The current row and all rows below, that don't have any special options
2366  defined, are defined to be the footer rows of all pages of the longtable;
2367  except for the last page, if 
2368 \family sans
2369 Last\InsetSpace ~
2370 footer
2371 \family default
2372  is defined.
2373 \end_layout
2374
2375 \begin_layout Description
2376
2377 \family sans
2378 Last\InsetSpace ~
2379 footer
2380 \family default
2381 : The current row and all rows below, that don't have any special options
2382  defined, are defined to be the footer rows of the last page of the longtable.
2383 \end_layout
2384
2385 \begin_layout Standard
2386 You can also specify a row where the table is splitted.
2387  If you set more than one option in the same table row, you should be aware
2388  of the fact that only the first one is used in the given table row.
2389  The others will then be defined as 
2390 \emph on
2391 empty
2392 \emph default
2393 .
2394  In this context, first means first in this order: 
2395 \family sans
2396 Footer, Last\InsetSpace ~
2397 footer,
2398 \family default
2399  
2400 \family sans
2401 Header,
2402 \family default
2403  
2404 \family sans
2405 First\InsetSpace ~
2406 header.
2407
2408 \family default
2409  See the following longtable to see how it works:
2410 \end_layout
2411
2412 \begin_layout Standard
2413 \align center
2414 \begin_inset Tabular
2415 <lyxtabular version="3" rows="69" columns="3">
2416 <features islongtable="true">
2417 <column alignment="left" valignment="top" leftline="true" width="0cm">
2418 <column alignment="left" valignment="top" width="0pt">
2419 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2420 <row topline="true" bottomline="true" endfirsthead="true">
2421 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2422 \begin_inset Text
2423
2424 \begin_layout Standard
2425
2426 \series bold
2427 Example Phone List (ignore the names)
2428 \end_layout
2429
2430 \end_inset
2431 </cell>
2432 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2433 \begin_inset Text
2434
2435 \begin_layout Standard
2436
2437 \end_layout
2438
2439 \end_inset
2440 </cell>
2441 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2442 \begin_inset Text
2443
2444 \begin_layout Standard
2445
2446 \end_layout
2447
2448 \end_inset
2449 </cell>
2450 </row>
2451 <row topline="true" bottomline="true" endfirsthead="true">
2452 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2453 \begin_inset Text
2454
2455 \begin_layout Standard
2456
2457 \series bold
2458 NAME
2459 \end_layout
2460
2461 \end_inset
2462 </cell>
2463 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2464 \begin_inset Text
2465
2466 \begin_layout Standard
2467
2468 \end_layout
2469
2470 \end_inset
2471 </cell>
2472 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2473 \begin_inset Text
2474
2475 \begin_layout Standard
2476
2477 \series bold
2478 TEL.
2479 \end_layout
2480
2481 \end_inset
2482 </cell>
2483 </row>
2484 <row topline="true" bottomline="true" endhead="true">
2485 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2486 \begin_inset Text
2487
2488 \begin_layout Standard
2489
2490 \series bold
2491 Example Phone List
2492 \end_layout
2493
2494 \end_inset
2495 </cell>
2496 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2497 \begin_inset Text
2498
2499 \begin_layout Standard
2500
2501 \end_layout
2502
2503 \end_inset
2504 </cell>
2505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2506 \begin_inset Text
2507
2508 \begin_layout Standard
2509
2510 \end_layout
2511
2512 \end_inset
2513 </cell>
2514 </row>
2515 <row topline="true" bottomline="true" endhead="true">
2516 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2517 \begin_inset Text
2518
2519 \begin_layout Standard
2520
2521 \series bold
2522 NAME
2523 \end_layout
2524
2525 \end_inset
2526 </cell>
2527 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2528 \begin_inset Text
2529
2530 \begin_layout Standard
2531
2532 \end_layout
2533
2534 \end_inset
2535 </cell>
2536 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2537 \begin_inset Text
2538
2539 \begin_layout Standard
2540
2541 \series bold
2542 TEL.
2543 \end_layout
2544
2545 \end_inset
2546 </cell>
2547 </row>
2548 <row topline="true" bottomline="true" endfoot="true">
2549 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2550 \begin_inset Text
2551
2552 \begin_layout Standard
2553  continued on next page
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>
2578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2579 \begin_inset Text
2580
2581 \begin_layout Standard
2582
2583 \series bold
2584 Annovi
2585 \end_layout
2586
2587 \end_inset
2588 </cell>
2589 <cell alignment="center" valignment="top" topline="true" usebox="none">
2590 \begin_inset Text
2591
2592 \begin_layout Standard
2593 Silvia
2594 \end_layout
2595
2596 \end_inset
2597 </cell>
2598 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2599 \begin_inset Text
2600
2601 \begin_layout Standard
2602 111
2603 \end_layout
2604
2605 \end_inset
2606 </cell>
2607 </row>
2608 <row>
2609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2610 \begin_inset Text
2611
2612 \begin_layout Standard
2613
2614 \series bold
2615 Bertoli
2616 \end_layout
2617
2618 \end_inset
2619 </cell>
2620 <cell alignment="center" valignment="top" topline="true" usebox="none">
2621 \begin_inset Text
2622
2623 \begin_layout Standard
2624 Stefano
2625 \end_layout
2626
2627 \end_inset
2628 </cell>
2629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2630 \begin_inset Text
2631
2632 \begin_layout Standard
2633 111
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 Bozzi
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 Walter
2656 \end_layout
2657
2658 \end_inset
2659 </cell>
2660 <cell alignment="center" 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 Cachia
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 Maria
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 Cachia
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 Maurizio
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 Cinquemani
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 Giusi
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 Colin
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 Bernard
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 Concli
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 Gianfranco
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 Dal Bosco
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 Carolina
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 Dalpiaz
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 Annamaria
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 Feliciello
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 Domenico
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 Focarelli
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 Paola
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 Galletti
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 Oreste
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 Gasparini
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 Franca
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 Rizzardi
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 Paola
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 Lassini
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 Giancarlo
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 Malfatti
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 Luciano
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 Malfatti
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 Valeriano
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 Meneguzzo
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 Roberto
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 Mezzadra
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 Roberto
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 Pirpamer
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 Erich
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 Pochiesa
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 Paolo
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, 222
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 Radina
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 Claudio
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 Stuffer
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 Oskar
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
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 Tacchelli
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 Ugo
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 Tezzele
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 Margit
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 Unterkalmsteiner
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 Frieda
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 Vieider
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 Hilde
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 Vigna
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 Jürgen
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 Weber
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 Maurizio
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 bottomline="true">
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 Winkler
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 Franz
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 bottomline="true">
3539 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3540 \begin_inset Text
3541
3542 \begin_layout Standard
3543  
3544 \end_layout
3545
3546 \end_inset
3547 </cell>
3548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3549 \begin_inset Text
3550
3551 \begin_layout Standard
3552
3553 \end_layout
3554
3555 \end_inset
3556 </cell>
3557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3558 \begin_inset Text
3559
3560 \begin_layout Standard
3561
3562 \end_layout
3563
3564 \end_inset
3565 </cell>
3566 </row>
3567 <row>
3568 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3569 \begin_inset Text
3570
3571 \begin_layout Standard
3572
3573 \series bold
3574 Annovi
3575 \end_layout
3576
3577 \end_inset
3578 </cell>
3579 <cell alignment="center" valignment="top" topline="true" usebox="none">
3580 \begin_inset Text
3581
3582 \begin_layout Standard
3583 Silvia
3584 \end_layout
3585
3586 \end_inset
3587 </cell>
3588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3589 \begin_inset Text
3590
3591 \begin_layout Standard
3592 555
3593 \end_layout
3594
3595 \end_inset
3596 </cell>
3597 </row>
3598 <row>
3599 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3600 \begin_inset Text
3601
3602 \begin_layout Standard
3603
3604 \series bold
3605 Bertoli
3606 \end_layout
3607
3608 \end_inset
3609 </cell>
3610 <cell alignment="center" valignment="top" topline="true" usebox="none">
3611 \begin_inset Text
3612
3613 \begin_layout Standard
3614 Stefano
3615 \end_layout
3616
3617 \end_inset
3618 </cell>
3619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3620 \begin_inset Text
3621
3622 \begin_layout Standard
3623 555
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 Bozzi
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 Walter
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 Cachia
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 Maria
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 Cachia
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 Maurizio
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 Cinquemani
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 Giusi
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 Colin
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 Bernard
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 Concli
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 Gianfranco
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 Dal Bosco
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 Carolina
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 Dalpiaz
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 Annamaria
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 Feliciello
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 Domenico
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 Focarelli
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 Paola
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 Galletti
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 Oreste
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 Gasparini
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 Franca
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 Rizzardi
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 Paola
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 Lassini
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 Giancarlo
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 Malfatti
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 Luciano
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 Malfatti
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 Valeriano
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 Meneguzzo
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 Roberto
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 Mezzadra
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 Roberto
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 Pirpamer
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 Erich
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 Pochiesa
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 Paolo
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, 222
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 Radina
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 Claudio
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 Stuffer
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 Oskar
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
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 Tacchelli
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 Ugo
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 Tezzele
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 Margit
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 Unterkalmsteiner
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 Frieda
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 Vieider
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 Hilde
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 Vigna
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 Jürgen
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 999
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 Weber
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 Maurizio
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 bottomline="true">
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 Winkler
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 Franz
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 555
4523 \end_layout
4524
4525 \end_inset
4526 </cell>
4527 </row>
4528 <row bottomline="true" endlastfoot="true">
4529 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4530 \begin_inset Text
4531
4532 \begin_layout Standard
4533 end
4534 \end_layout
4535
4536 \end_inset
4537 </cell>
4538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4539 \begin_inset Text
4540
4541 \begin_layout Standard
4542
4543 \end_layout
4544
4545 \end_inset
4546 </cell>
4547 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4548 \begin_inset Text
4549
4550 \begin_layout Standard
4551
4552 \end_layout
4553
4554 \end_inset
4555 </cell>
4556 </row>
4557 </lyxtabular>
4558
4559 \end_inset
4560
4561
4562 \begin_inset ERT
4563 status collapsed
4564
4565 \begin_layout Standard
4566
4567
4568 \backslash
4569 addtocounter{table}{-1}
4570 \end_layout
4571
4572 \end_inset
4573
4574
4575 \begin_inset Note Note
4576 status collapsed
4577
4578 \begin_layout Standard
4579 See greyed-out note in section 2.6.2 for an explanation of this command.
4580 \end_layout
4581
4582 \end_inset
4583
4584
4585 \end_layout
4586
4587 \begin_layout Subsection
4588 Footnotes in Longtables
4589 \begin_inset LatexCommand label
4590 name "sub:Footnotes-in-Longtables"
4591
4592 \end_inset
4593
4594
4595 \begin_inset LatexCommand index
4596 name "Longtables ! Footnotes"
4597
4598 \end_inset
4599
4600
4601 \end_layout
4602
4603 \begin_layout Standard
4604 Footnotes can be inserted to every longtable cell.
4605  They appear at the bottom of the page where the table cell with the footnote
4606  appears.
4607  Table\InsetSpace ~
4608
4609 \begin_inset LatexCommand ref
4610 reference "tab:DiffCaptions"
4611
4612 \end_inset
4613
4614  has for example a footnote.
4615 \end_layout
4616
4617 \begin_layout Subsection
4618 Longtable Captions
4619 \begin_inset LatexCommand index
4620 name "Longtables ! Captions"
4621
4622 \end_inset
4623
4624
4625 \end_layout
4626
4627 \begin_layout Standard
4628 A longtable cannot be put into a table float because floats can only be
4629  on one page but the caption environment of floats can also be used for
4630  longtables.
4631 \end_layout
4632
4633 \begin_layout Standard
4634 As LyX does not yet fully support captions in longtables, a hack is needed
4635  to create them:
4636 \end_layout
4637
4638 \begin_layout Enumerate
4639 Create a longtable
4640 \family sans
4641 .
4642 \end_layout
4643
4644 \begin_layout Enumerate
4645 Mark the first row an disable its upper line.
4646 \end_layout
4647
4648 \begin_layout Enumerate
4649 Insert a caption via the menu 
4650 \family sans
4651 Insert\SpecialChar \menuseparator
4652 Caption
4653 \family default
4654  into the first table cell.
4655 \newline
4656 You can also add a short title for the caption.
4657 \end_layout
4658
4659 \begin_layout Enumerate
4660 Insert a 
4661 \begin_inset Quotes eld
4662 \end_inset
4663
4664
4665 \series bold
4666
4667 \backslash
4668
4669 \backslash
4670 %
4671 \series default
4672
4673 \begin_inset Quotes erd
4674 \end_inset
4675
4676  as ERT behind the caption.
4677 \end_layout
4678
4679 \begin_layout Standard
4680 A short title that will appear in the LOT instead of the full title.
4681  The 
4682 \series bold
4683
4684 \backslash
4685
4686 \backslash
4687 %
4688 \series default
4689  behind the caption omits the vertical lines between the following cells
4690  in the row.
4691  The first table row is now only a dummy row for the caption, the actual
4692  table starts with the second row.
4693 \end_layout
4694
4695 \begin_layout Standard
4696 Here is a short longtable to see how it works:
4697 \end_layout
4698
4699 \begin_layout Standard
4700 \begin_inset Tabular
4701 <lyxtabular version="3" rows="6" columns="5">
4702 <features islongtable="true">
4703 <column alignment="center" valignment="top" leftline="true" width="0">
4704 <column alignment="center" valignment="top" leftline="true" width="0">
4705 <column alignment="center" valignment="top" leftline="true" width="0">
4706 <column alignment="center" valignment="top" leftline="true" width="0">
4707 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4708 <row>
4709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4710 \begin_inset Text
4711
4712 \begin_layout Standard
4713 \begin_inset Caption
4714
4715 \begin_layout Standard
4716 Longtable with caption
4717 \begin_inset OptArg
4718 status open
4719
4720 \begin_layout Standard
4721 Longtable
4722 \end_layout
4723
4724 \end_inset
4725
4726
4727 \end_layout
4728
4729 \end_inset
4730
4731
4732 \begin_inset ERT
4733 status collapsed
4734
4735 \begin_layout Standard
4736
4737
4738 \backslash
4739
4740 \backslash
4741 %
4742 \end_layout
4743
4744 \end_inset
4745
4746
4747 \end_layout
4748
4749 \end_inset
4750 </cell>
4751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4752 \begin_inset Text
4753
4754 \begin_layout Standard
4755
4756 \end_layout
4757
4758 \end_inset
4759 </cell>
4760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4761 \begin_inset Text
4762
4763 \begin_layout Standard
4764
4765 \end_layout
4766
4767 \end_inset
4768 </cell>
4769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4770 \begin_inset Text
4771
4772 \begin_layout Standard
4773
4774 \end_layout
4775
4776 \end_inset
4777 </cell>
4778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4779 \begin_inset Text
4780
4781 \begin_layout Standard
4782
4783 \end_layout
4784
4785 \end_inset
4786 </cell>
4787 </row>
4788 <row topline="true">
4789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4790 \begin_inset Text
4791
4792 \begin_layout Standard
4793 1
4794 \end_layout
4795
4796 \end_inset
4797 </cell>
4798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4799 \begin_inset Text
4800
4801 \begin_layout Standard
4802 2
4803 \end_layout
4804
4805 \end_inset
4806 </cell>
4807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4808 \begin_inset Text
4809
4810 \begin_layout Standard
4811 3
4812 \end_layout
4813
4814 \end_inset
4815 </cell>
4816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4817 \begin_inset Text
4818
4819 \begin_layout Standard
4820 4
4821 \end_layout
4822
4823 \end_inset
4824 </cell>
4825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4826 \begin_inset Text
4827
4828 \begin_layout Standard
4829 5
4830 \end_layout
4831
4832 \end_inset
4833 </cell>
4834 </row>
4835 <row topline="true">
4836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4837 \begin_inset Text
4838
4839 \begin_layout Standard
4840 asd
4841 \end_layout
4842
4843 \end_inset
4844 </cell>
4845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4846 \begin_inset Text
4847
4848 \begin_layout Standard
4849 s
4850 \end_layout
4851
4852 \end_inset
4853 </cell>
4854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4855 \begin_inset Text
4856
4857 \begin_layout Standard
4858 s
4859 \end_layout
4860
4861 \end_inset
4862 </cell>
4863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4864 \begin_inset Text
4865
4866 \begin_layout Standard
4867 s
4868 \end_layout
4869
4870 \end_inset
4871 </cell>
4872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4873 \begin_inset Text
4874
4875 \begin_layout Standard
4876 asd
4877 \end_layout
4878
4879 \end_inset
4880 </cell>
4881 </row>
4882 <row topline="true">
4883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4884 \begin_inset Text
4885
4886 \begin_layout Standard
4887 asd
4888 \end_layout
4889
4890 \end_inset
4891 </cell>
4892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4893 \begin_inset Text
4894
4895 \begin_layout Standard
4896 s
4897 \end_layout
4898
4899 \end_inset
4900 </cell>
4901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4902 \begin_inset Text
4903
4904 \begin_layout Standard
4905 s
4906 \end_layout
4907
4908 \end_inset
4909 </cell>
4910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4911 \begin_inset Text
4912
4913 \begin_layout Standard
4914 s
4915 \end_layout
4916
4917 \end_inset
4918 </cell>
4919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4920 \begin_inset Text
4921
4922 \begin_layout Standard
4923 asd
4924 \end_layout
4925
4926 \end_inset
4927 </cell>
4928 </row>
4929 <row topline="true">
4930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4931 \begin_inset Text
4932
4933 \begin_layout Standard
4934 asd
4935 \end_layout
4936
4937 \end_inset
4938 </cell>
4939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4940 \begin_inset Text
4941
4942 \begin_layout Standard
4943 s
4944 \end_layout
4945
4946 \end_inset
4947 </cell>
4948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4949 \begin_inset Text
4950
4951 \begin_layout Standard
4952 s
4953 \end_layout
4954
4955 \end_inset
4956 </cell>
4957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4958 \begin_inset Text
4959
4960 \begin_layout Standard
4961 s
4962 \end_layout
4963
4964 \end_inset
4965 </cell>
4966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4967 \begin_inset Text
4968
4969 \begin_layout Standard
4970 asd
4971 \end_layout
4972
4973 \end_inset
4974 </cell>
4975 </row>
4976 <row topline="true" bottomline="true">
4977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4978 \begin_inset Text
4979
4980 \begin_layout Standard
4981 asd
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4987 \begin_inset Text
4988
4989 \begin_layout Standard
4990 asd
4991 \end_layout
4992
4993 \end_inset
4994 </cell>
4995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4996 \begin_inset Text
4997
4998 \begin_layout Standard
4999 asd
5000 \end_layout
5001
5002 \end_inset
5003 </cell>
5004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5005 \begin_inset Text
5006
5007 \begin_layout Standard
5008 asd
5009 \end_layout
5010
5011 \end_inset
5012 </cell>
5013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5014 \begin_inset Text
5015
5016 \begin_layout Standard
5017 asd
5018 \end_layout
5019
5020 \end_inset
5021 </cell>
5022 </row>
5023 </lyxtabular>
5024
5025 \end_inset
5026
5027
5028 \end_layout
5029
5030 \begin_layout Standard
5031 \begin_inset VSpace medskip
5032 \end_inset
5033
5034
5035 \begin_inset Note Greyedout
5036 status open
5037
5038 \begin_layout Standard
5039
5040 \series bold
5041 Note:
5042 \series default
5043  The table number is increased for every longtable, also if you didn't set
5044  a caption for it.
5045  For this reason you could have the case that e.g.
5046  Table\InsetSpace ~
5047 2.4 follows on Table\InsetSpace ~
5048 2.1 in the list of tables if there are two longtables
5049  without captions.
5050  To avoid this you can add the following command in ERT behind every longtable
5051  without a caption:
5052 \end_layout
5053
5054 \begin_layout Standard
5055
5056 \series bold
5057
5058 \backslash
5059 addtocounter{table}{-1}
5060 \end_layout
5061
5062 \end_inset
5063
5064
5065 \end_layout
5066
5067 \begin_layout Standard
5068 \begin_inset Note Greyedout
5069 status open
5070
5071 \begin_layout Standard
5072
5073 \series bold
5074 Note:
5075 \series default
5076  If you are using the LaTeX-package 
5077 \series bold
5078 hyperref
5079 \series default
5080
5081 \begin_inset LatexCommand index
5082 name "LaTeX-packages ! hyperref"
5083
5084 \end_inset
5085
5086  to link cross-references, the link to a longtable caption will always point
5087  to the beginning of the document.
5088 \end_layout
5089
5090 \end_inset
5091
5092
5093 \end_layout
5094
5095 \begin_layout Subsubsection
5096 References to Longtables
5097 \begin_inset LatexCommand index
5098 name "Longtables ! References"
5099
5100 \end_inset
5101
5102
5103 \end_layout
5104
5105 \begin_layout Standard
5106 \begin_inset Tabular
5107 <lyxtabular version="3" rows="6" columns="5">
5108 <features islongtable="true">
5109 <column alignment="center" valignment="top" leftline="true" width="0">
5110 <column alignment="center" valignment="top" leftline="true" width="0">
5111 <column alignment="center" valignment="top" leftline="true" width="0">
5112 <column alignment="center" valignment="top" leftline="true" width="0">
5113 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5114 <row>
5115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5116 \begin_inset Text
5117
5118 \begin_layout Standard
5119 \begin_inset Caption
5120
5121 \begin_layout Standard
5122 Referenced longtable
5123 \begin_inset LatexCommand label
5124 name "tab:RefExample"
5125
5126 \end_inset
5127
5128
5129 \end_layout
5130
5131 \end_inset
5132
5133
5134 \begin_inset ERT
5135 status collapsed
5136
5137 \begin_layout Standard
5138
5139
5140 \backslash
5141
5142 \backslash
5143 %
5144 \end_layout
5145
5146 \end_inset
5147
5148
5149 \end_layout
5150
5151 \end_inset
5152 </cell>
5153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5154 \begin_inset Text
5155
5156 \begin_layout Standard
5157
5158 \end_layout
5159
5160 \end_inset
5161 </cell>
5162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5163 \begin_inset Text
5164
5165 \begin_layout Standard
5166
5167 \end_layout
5168
5169 \end_inset
5170 </cell>
5171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5172 \begin_inset Text
5173
5174 \begin_layout Standard
5175
5176 \end_layout
5177
5178 \end_inset
5179 </cell>
5180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5181 \begin_inset Text
5182
5183 \begin_layout Standard
5184
5185 \end_layout
5186
5187 \end_inset
5188 </cell>
5189 </row>
5190 <row topline="true">
5191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5192 \begin_inset Text
5193
5194 \begin_layout Standard
5195 1
5196 \end_layout
5197
5198 \end_inset
5199 </cell>
5200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5201 \begin_inset Text
5202
5203 \begin_layout Standard
5204 2
5205 \end_layout
5206
5207 \end_inset
5208 </cell>
5209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5210 \begin_inset Text
5211
5212 \begin_layout Standard
5213 3
5214 \end_layout
5215
5216 \end_inset
5217 </cell>
5218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5219 \begin_inset Text
5220
5221 \begin_layout Standard
5222 4
5223 \end_layout
5224
5225 \end_inset
5226 </cell>
5227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5228 \begin_inset Text
5229
5230 \begin_layout Standard
5231 5
5232 \end_layout
5233
5234 \end_inset
5235 </cell>
5236 </row>
5237 <row topline="true">
5238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5239 \begin_inset Text
5240
5241 \begin_layout Standard
5242 asd
5243 \end_layout
5244
5245 \end_inset
5246 </cell>
5247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5248 \begin_inset Text
5249
5250 \begin_layout Standard
5251 s
5252 \end_layout
5253
5254 \end_inset
5255 </cell>
5256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5257 \begin_inset Text
5258
5259 \begin_layout Standard
5260 s
5261 \end_layout
5262
5263 \end_inset
5264 </cell>
5265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5266 \begin_inset Text
5267
5268 \begin_layout Standard
5269 s
5270 \end_layout
5271
5272 \end_inset
5273 </cell>
5274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5275 \begin_inset Text
5276
5277 \begin_layout Standard
5278 asd
5279 \end_layout
5280
5281 \end_inset
5282 </cell>
5283 </row>
5284 <row topline="true">
5285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5286 \begin_inset Text
5287
5288 \begin_layout Standard
5289 asd
5290 \end_layout
5291
5292 \end_inset
5293 </cell>
5294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5295 \begin_inset Text
5296
5297 \begin_layout Standard
5298 s
5299 \end_layout
5300
5301 \end_inset
5302 </cell>
5303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5304 \begin_inset Text
5305
5306 \begin_layout Standard
5307 s
5308 \end_layout
5309
5310 \end_inset
5311 </cell>
5312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5313 \begin_inset Text
5314
5315 \begin_layout Standard
5316 s
5317 \end_layout
5318
5319 \end_inset
5320 </cell>
5321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5322 \begin_inset Text
5323
5324 \begin_layout Standard
5325 asd
5326 \end_layout
5327
5328 \end_inset
5329 </cell>
5330 </row>
5331 <row topline="true">
5332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5333 \begin_inset Text
5334
5335 \begin_layout Standard
5336 asd
5337 \end_layout
5338
5339 \end_inset
5340 </cell>
5341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5342 \begin_inset Text
5343
5344 \begin_layout Standard
5345 s
5346 \end_layout
5347
5348 \end_inset
5349 </cell>
5350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5351 \begin_inset Text
5352
5353 \begin_layout Standard
5354 s
5355 \end_layout
5356
5357 \end_inset
5358 </cell>
5359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5360 \begin_inset Text
5361
5362 \begin_layout Standard
5363 s
5364 \end_layout
5365
5366 \end_inset
5367 </cell>
5368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5369 \begin_inset Text
5370
5371 \begin_layout Standard
5372 asd
5373 \end_layout
5374
5375 \end_inset
5376 </cell>
5377 </row>
5378 <row topline="true" bottomline="true">
5379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5380 \begin_inset Text
5381
5382 \begin_layout Standard
5383 asd
5384 \end_layout
5385
5386 \end_inset
5387 </cell>
5388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5389 \begin_inset Text
5390
5391 \begin_layout Standard
5392 sad
5393 \end_layout
5394
5395 \end_inset
5396 </cell>
5397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5398 \begin_inset Text
5399
5400 \begin_layout Standard
5401 asd
5402 \end_layout
5403
5404 \end_inset
5405 </cell>
5406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5407 \begin_inset Text
5408
5409 \begin_layout Standard
5410 asd
5411 \end_layout
5412
5413 \end_inset
5414 </cell>
5415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5416 \begin_inset Text
5417
5418 \begin_layout Standard
5419 asd
5420 \end_layout
5421
5422 \end_inset
5423 </cell>
5424 </row>
5425 </lyxtabular>
5426
5427 \end_inset
5428
5429
5430 \end_layout
5431
5432 \begin_layout Standard
5433 To reference a longtable, insert a label into the caption.
5434  Note that you have to add the label prefix 
5435 \begin_inset Quotes eld
5436 \end_inset
5437
5438
5439 \emph on
5440 tab:
5441 \emph default
5442
5443 \begin_inset Quotes eld
5444 \end_inset
5445
5446  manually in the label field.
5447 \end_layout
5448
5449 \begin_layout Standard
5450 This is a reference to Table\InsetSpace ~
5451
5452 \begin_inset LatexCommand ref
5453 reference "tab:RefExample"
5454
5455 \end_inset
5456
5457 .
5458 \end_layout
5459
5460 \begin_layout Standard
5461 The caption layout can be set together with all other caption of your document
5462  using the LaTeX-package 
5463 \series bold
5464 caption
5465 \series default
5466
5467 \begin_inset LatexCommand index
5468 name "LaTeX-packages ! caption"
5469
5470 \end_inset
5471
5472 , see section\InsetSpace ~
5473
5474 \begin_inset LatexCommand ref
5475 reference "sec:Caption-Formatting"
5476
5477 \end_inset
5478
5479 .
5480 \end_layout
5481
5482 \begin_layout Subsubsection
5483 Caption Width
5484 \begin_inset LatexCommand index
5485 name "Longtables ! Caption Width"
5486
5487 \end_inset
5488
5489
5490 \end_layout
5491
5492 \begin_layout Standard
5493 The maximal width of of caption lines is defined by the length 
5494 \series bold
5495
5496 \backslash
5497 LTcapwidth
5498 \series default
5499 .
5500  Its default value is 4\InsetSpace \thinspace{}
5501 in.
5502  To change it add the following command to your document preamble or as
5503  ERT into your document before the longtable that should be affected
5504 \end_layout
5505
5506 \begin_layout Standard
5507
5508 \series bold
5509
5510 \backslash
5511 setlength{
5512 \backslash
5513 LTcapwidth}{width}
5514 \end_layout
5515
5516 \begin_layout Standard
5517 where the width could have one of the units listed in appendix\InsetSpace ~
5518
5519 \begin_inset LatexCommand ref
5520 reference "cha:Units-available-in"
5521
5522 \end_inset
5523
5524 .
5525 \end_layout
5526
5527 \begin_layout Standard
5528 The following tables show the difference:
5529 \end_layout
5530
5531 \begin_layout Standard
5532 \begin_inset Tabular
5533 <lyxtabular version="3" rows="6" columns="5">
5534 <features islongtable="true">
5535 <column alignment="center" valignment="top" leftline="true" width="0">
5536 <column alignment="center" valignment="top" leftline="true" width="0">
5537 <column alignment="center" valignment="top" leftline="true" width="0">
5538 <column alignment="center" valignment="top" leftline="true" width="0">
5539 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5540 <row>
5541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5542 \begin_inset Text
5543
5544 \begin_layout Standard
5545 \begin_inset Caption
5546
5547 \begin_layout Standard
5548 long full title with default width long full title with default width long
5549  full title with default width
5550 \begin_inset OptArg
5551 status collapsed
5552
5553 \begin_layout Standard
5554 caption with default width
5555 \end_layout
5556
5557 \end_inset
5558
5559
5560 \end_layout
5561
5562 \end_inset
5563
5564
5565 \begin_inset ERT
5566 status collapsed
5567
5568 \begin_layout Standard
5569
5570
5571 \backslash
5572
5573 \backslash
5574 %
5575 \end_layout
5576
5577 \end_inset
5578
5579
5580 \end_layout
5581
5582 \end_inset
5583 </cell>
5584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5585 \begin_inset Text
5586
5587 \begin_layout Standard
5588
5589 \end_layout
5590
5591 \end_inset
5592 </cell>
5593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5594 \begin_inset Text
5595
5596 \begin_layout Standard
5597
5598 \end_layout
5599
5600 \end_inset
5601 </cell>
5602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5603 \begin_inset Text
5604
5605 \begin_layout Standard
5606
5607 \end_layout
5608
5609 \end_inset
5610 </cell>
5611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5612 \begin_inset Text
5613
5614 \begin_layout Standard
5615
5616 \end_layout
5617
5618 \end_inset
5619 </cell>
5620 </row>
5621 <row topline="true">
5622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5623 \begin_inset Text
5624
5625 \begin_layout Standard
5626 1
5627 \end_layout
5628
5629 \end_inset
5630 </cell>
5631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5632 \begin_inset Text
5633
5634 \begin_layout Standard
5635 2
5636 \end_layout
5637
5638 \end_inset
5639 </cell>
5640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5641 \begin_inset Text
5642
5643 \begin_layout Standard
5644 3
5645 \end_layout
5646
5647 \end_inset
5648 </cell>
5649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5650 \begin_inset Text
5651
5652 \begin_layout Standard
5653 4
5654 \end_layout
5655
5656 \end_inset
5657 </cell>
5658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5659 \begin_inset Text
5660
5661 \begin_layout Standard
5662 5
5663 \end_layout
5664
5665 \end_inset
5666 </cell>
5667 </row>
5668 <row topline="true">
5669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5670 \begin_inset Text
5671
5672 \begin_layout Standard
5673 asd
5674 \end_layout
5675
5676 \end_inset
5677 </cell>
5678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5679 \begin_inset Text
5680
5681 \begin_layout Standard
5682 s
5683 \end_layout
5684
5685 \end_inset
5686 </cell>
5687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5688 \begin_inset Text
5689
5690 \begin_layout Standard
5691 s
5692 \end_layout
5693
5694 \end_inset
5695 </cell>
5696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5697 \begin_inset Text
5698
5699 \begin_layout Standard
5700 s
5701 \end_layout
5702
5703 \end_inset
5704 </cell>
5705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5706 \begin_inset Text
5707
5708 \begin_layout Standard
5709 asd
5710 \end_layout
5711
5712 \end_inset
5713 </cell>
5714 </row>
5715 <row topline="true">
5716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5717 \begin_inset Text
5718
5719 \begin_layout Standard
5720 asd
5721 \end_layout
5722
5723 \end_inset
5724 </cell>
5725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5726 \begin_inset Text
5727
5728 \begin_layout Standard
5729 s
5730 \end_layout
5731
5732 \end_inset
5733 </cell>
5734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5735 \begin_inset Text
5736
5737 \begin_layout Standard
5738 s
5739 \end_layout
5740
5741 \end_inset
5742 </cell>
5743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5744 \begin_inset Text
5745
5746 \begin_layout Standard
5747 s
5748 \end_layout
5749
5750 \end_inset
5751 </cell>
5752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5753 \begin_inset Text
5754
5755 \begin_layout Standard
5756 asd
5757 \end_layout
5758
5759 \end_inset
5760 </cell>
5761 </row>
5762 <row topline="true">
5763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5764 \begin_inset Text
5765
5766 \begin_layout Standard
5767 asd
5768 \end_layout
5769
5770 \end_inset
5771 </cell>
5772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5773 \begin_inset Text
5774
5775 \begin_layout Standard
5776 s
5777 \end_layout
5778
5779 \end_inset
5780 </cell>
5781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5782 \begin_inset Text
5783
5784 \begin_layout Standard
5785 s
5786 \end_layout
5787
5788 \end_inset
5789 </cell>
5790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5791 \begin_inset Text
5792
5793 \begin_layout Standard
5794 s
5795 \end_layout
5796
5797 \end_inset
5798 </cell>
5799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5800 \begin_inset Text
5801
5802 \begin_layout Standard
5803 asd
5804 \end_layout
5805
5806 \end_inset
5807 </cell>
5808 </row>
5809 <row topline="true" bottomline="true">
5810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5811 \begin_inset Text
5812
5813 \begin_layout Standard
5814 asd
5815 \end_layout
5816
5817 \end_inset
5818 </cell>
5819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5820 \begin_inset Text
5821
5822 \begin_layout Standard
5823 sad
5824 \end_layout
5825
5826 \end_inset
5827 </cell>
5828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5829 \begin_inset Text
5830
5831 \begin_layout Standard
5832 asd
5833 \end_layout
5834
5835 \end_inset
5836 </cell>
5837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5838 \begin_inset Text
5839
5840 \begin_layout Standard
5841 asd
5842 \end_layout
5843
5844 \end_inset
5845 </cell>
5846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5847 \begin_inset Text
5848
5849 \begin_layout Standard
5850 asd
5851 \end_layout
5852
5853 \end_inset
5854 </cell>
5855 </row>
5856 </lyxtabular>
5857
5858 \end_inset
5859
5860
5861 \end_layout
5862
5863 \begin_layout Standard
5864 \begin_inset ERT
5865 status collapsed
5866
5867 \begin_layout Standard
5868
5869
5870 \backslash
5871 setlength{
5872 \backslash
5873 LTcapwidth}{5cm}
5874 \end_layout
5875
5876 \end_inset
5877
5878
5879 \begin_inset Tabular
5880 <lyxtabular version="3" rows="6" columns="5">
5881 <features islongtable="true">
5882 <column alignment="center" valignment="top" leftline="true" width="0">
5883 <column alignment="center" valignment="top" leftline="true" width="0">
5884 <column alignment="center" valignment="top" leftline="true" width="0">
5885 <column alignment="center" valignment="top" leftline="true" width="0">
5886 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5887 <row>
5888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5889 \begin_inset Text
5890
5891 \begin_layout Standard
5892 \begin_inset Caption
5893
5894 \begin_layout Standard
5895 long full title with width set to 5\InsetSpace \thinspace{}
5896 cm long full title with width set to
5897  5\InsetSpace \thinspace{}
5898 cm long full title with width set to 5\InsetSpace \thinspace{}
5899 cm
5900 \begin_inset OptArg
5901 status collapsed
5902
5903 \begin_layout Standard
5904 caption with width\InsetSpace \thinspace{}
5905 =\InsetSpace \thinspace{}
5906 5\InsetSpace \thinspace{}
5907 cm
5908 \end_layout
5909
5910 \end_inset
5911
5912
5913 \end_layout
5914
5915 \end_inset
5916
5917
5918 \begin_inset ERT
5919 status collapsed
5920
5921 \begin_layout Standard
5922
5923
5924 \backslash
5925
5926 \backslash
5927 %
5928 \end_layout
5929
5930 \end_inset
5931
5932
5933 \end_layout
5934
5935 \end_inset
5936 </cell>
5937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5938 \begin_inset Text
5939
5940 \begin_layout Standard
5941
5942 \end_layout
5943
5944 \end_inset
5945 </cell>
5946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5947 \begin_inset Text
5948
5949 \begin_layout Standard
5950
5951 \end_layout
5952
5953 \end_inset
5954 </cell>
5955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5956 \begin_inset Text
5957
5958 \begin_layout Standard
5959
5960 \end_layout
5961
5962 \end_inset
5963 </cell>
5964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5965 \begin_inset Text
5966
5967 \begin_layout Standard
5968
5969 \end_layout
5970
5971 \end_inset
5972 </cell>
5973 </row>
5974 <row topline="true">
5975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5976 \begin_inset Text
5977
5978 \begin_layout Standard
5979 1
5980 \end_layout
5981
5982 \end_inset
5983 </cell>
5984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5985 \begin_inset Text
5986
5987 \begin_layout Standard
5988 2
5989 \end_layout
5990
5991 \end_inset
5992 </cell>
5993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5994 \begin_inset Text
5995
5996 \begin_layout Standard
5997 3
5998 \end_layout
5999
6000 \end_inset
6001 </cell>
6002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6003 \begin_inset Text
6004
6005 \begin_layout Standard
6006 4
6007 \end_layout
6008
6009 \end_inset
6010 </cell>
6011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6012 \begin_inset Text
6013
6014 \begin_layout Standard
6015 5
6016 \end_layout
6017
6018 \end_inset
6019 </cell>
6020 </row>
6021 <row topline="true">
6022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6023 \begin_inset Text
6024
6025 \begin_layout Standard
6026 asd
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 s
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 s
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 s
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 asd
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 asd
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 s
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 s
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 s
6101 \end_layout
6102
6103 \end_inset
6104 </cell>
6105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6106 \begin_inset Text
6107
6108 \begin_layout Standard
6109 asd
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" bottomline="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 sad
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 asd
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 asd
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 </lyxtabular>
6210
6211 \end_inset
6212
6213
6214 \begin_inset ERT
6215 status collapsed
6216
6217 \begin_layout Standard
6218
6219
6220 \backslash
6221 setlength{
6222 \backslash
6223 LTcapwidth}{4in}
6224 \end_layout
6225
6226 \end_inset
6227
6228
6229 \end_layout
6230
6231 \begin_layout Standard
6232
6233 \end_layout
6234
6235 \begin_layout Subsubsection
6236 Different Captions for Table Pages
6237 \begin_inset LatexCommand index
6238 name "Longtables ! Different Captions for Pages"
6239
6240 \end_inset
6241
6242
6243 \end_layout
6244
6245 \begin_layout Standard
6246 When the other captions should differ from the one of the first table page,
6247  insert a caption with a non-empty short title in a dummy caption row marked
6248  as first header.
6249  The caption used for the other table pages is inserted as caption without
6250  a short title in a dummy caption row that is marked as main header.
6251  When this caption shouldn't include the table number, use the command
6252 \end_layout
6253
6254 \begin_layout Standard
6255
6256 \series bold
6257
6258 \backslash
6259 caption*{caption text}
6260 \end_layout
6261
6262 \begin_layout Standard
6263 instead of LyX's caption box.
6264  The label to reference the table is inserted into the caption of the first
6265  header.
6266  Table\InsetSpace ~
6267
6268 \begin_inset LatexCommand ref
6269 reference "tab:DiffCaptions"
6270
6271 \end_inset
6272
6273  is an example for a longtable with different heading where the second caption
6274  doesn't include the table number.
6275 \end_layout
6276
6277 \begin_layout Standard
6278 \align center
6279 \begin_inset Tabular
6280 <lyxtabular version="3" rows="60" columns="3">
6281 <features islongtable="true">
6282 <column alignment="left" valignment="top" leftline="true" width="0cm">
6283 <column alignment="left" valignment="top" rightline="true" width="0pt">
6284 <column alignment="right" valignment="top" rightline="true" width="0pt">
6285 <row endfirsthead="true">
6286 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6287 \begin_inset Text
6288
6289 \begin_layout Standard
6290 \begin_inset Caption
6291
6292 \begin_layout Standard
6293 Example Phone List
6294 \begin_inset LatexCommand label
6295 name "tab:DiffCaptions"
6296
6297 \end_inset
6298
6299
6300 \begin_inset OptArg
6301 status collapsed
6302
6303 \begin_layout Standard
6304 Example Phone List
6305 \end_layout
6306
6307 \end_inset
6308
6309
6310 \end_layout
6311
6312 \end_inset
6313
6314
6315 \begin_inset ERT
6316 status collapsed
6317
6318 \begin_layout Standard
6319
6320
6321 \backslash
6322
6323 \backslash
6324 %
6325 \end_layout
6326
6327 \end_inset
6328
6329
6330 \end_layout
6331
6332 \end_inset
6333 </cell>
6334 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6335 \begin_inset Text
6336
6337 \begin_layout Standard
6338
6339 \end_layout
6340
6341 \end_inset
6342 </cell>
6343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6344 \begin_inset Text
6345
6346 \begin_layout Standard
6347
6348 \end_layout
6349
6350 \end_inset
6351 </cell>
6352 </row>
6353 <row topline="true" bottomline="true" endfirsthead="true">
6354 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6355 \begin_inset Text
6356
6357 \begin_layout Standard
6358
6359 \series bold
6360 Example Phone List (ignore the names)
6361 \end_layout
6362
6363 \end_inset
6364 </cell>
6365 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6366 \begin_inset Text
6367
6368 \begin_layout Standard
6369
6370 \end_layout
6371
6372 \end_inset
6373 </cell>
6374 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6375 \begin_inset Text
6376
6377 \begin_layout Standard
6378
6379 \end_layout
6380
6381 \end_inset
6382 </cell>
6383 </row>
6384 <row topline="true" bottomline="true" endfirsthead="true">
6385 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6386 \begin_inset Text
6387
6388 \begin_layout Standard
6389
6390 \series bold
6391 NAME
6392 \end_layout
6393
6394 \end_inset
6395 </cell>
6396 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6397 \begin_inset Text
6398
6399 \begin_layout Standard
6400
6401 \end_layout
6402
6403 \end_inset
6404 </cell>
6405 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6406 \begin_inset Text
6407
6408 \begin_layout Standard
6409
6410 \series bold
6411 TEL.
6412 \end_layout
6413
6414 \end_inset
6415 </cell>
6416 </row>
6417 <row bottomline="true" endhead="true">
6418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6419 \begin_inset Text
6420
6421 \begin_layout Standard
6422 \begin_inset ERT
6423 status collapsed
6424
6425 \begin_layout Standard
6426
6427
6428 \backslash
6429 caption*{Continued Example Phone List}
6430 \backslash
6431
6432 \backslash
6433 %
6434 \end_layout
6435
6436 \end_inset
6437
6438
6439 \end_layout
6440
6441 \end_inset
6442 </cell>
6443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6444 \begin_inset Text
6445
6446 \begin_layout Standard
6447
6448 \end_layout
6449
6450 \end_inset
6451 </cell>
6452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6453 \begin_inset Text
6454
6455 \begin_layout Standard
6456
6457 \end_layout
6458
6459 \end_inset
6460 </cell>
6461 </row>
6462 <row topline="true" bottomline="true" endhead="true">
6463 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6464 \begin_inset Text
6465
6466 \begin_layout Standard
6467
6468 \series bold
6469 Example Phone List
6470 \end_layout
6471
6472 \end_inset
6473 </cell>
6474 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6475 \begin_inset Text
6476
6477 \begin_layout Standard
6478
6479 \end_layout
6480
6481 \end_inset
6482 </cell>
6483 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6484 \begin_inset Text
6485
6486 \begin_layout Standard
6487
6488 \end_layout
6489
6490 \end_inset
6491 </cell>
6492 </row>
6493 <row topline="true" bottomline="true" endhead="true">
6494 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6495 \begin_inset Text
6496
6497 \begin_layout Standard
6498
6499 \series bold
6500 NAME
6501 \end_layout
6502
6503 \end_inset
6504 </cell>
6505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6506 \begin_inset Text
6507
6508 \begin_layout Standard
6509
6510 \end_layout
6511
6512 \end_inset
6513 </cell>
6514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6515 \begin_inset Text
6516
6517 \begin_layout Standard
6518
6519 \series bold
6520 TEL.
6521 \end_layout
6522
6523 \end_inset
6524 </cell>
6525 </row>
6526 <row topline="true" bottomline="true" endfoot="true">
6527 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6528 \begin_inset Text
6529
6530 \begin_layout Standard
6531 continued on next page
6532 \end_layout
6533
6534 \end_inset
6535 </cell>
6536 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6537 \begin_inset Text
6538
6539 \begin_layout Standard
6540
6541 \end_layout
6542
6543 \end_inset
6544 </cell>
6545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6546 \begin_inset Text
6547
6548 \begin_layout Standard
6549
6550 \end_layout
6551
6552 \end_inset
6553 </cell>
6554 </row>
6555 <row>
6556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6557 \begin_inset Text
6558
6559 \begin_layout Standard
6560
6561 \series bold
6562 Annovi
6563 \end_layout
6564
6565 \end_inset
6566 </cell>
6567 <cell alignment="center" valignment="top" topline="true" usebox="none">
6568 \begin_inset Text
6569
6570 \begin_layout Standard
6571 Silvia
6572 \end_layout
6573
6574 \end_inset
6575 </cell>
6576 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6577 \begin_inset Text
6578
6579 \begin_layout Standard
6580 111
6581 \end_layout
6582
6583 \end_inset
6584 </cell>
6585 </row>
6586 <row>
6587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6588 \begin_inset Text
6589
6590 \begin_layout Standard
6591
6592 \series bold
6593 Bertoli
6594 \end_layout
6595
6596 \end_inset
6597 </cell>
6598 <cell alignment="center" valignment="top" topline="true" usebox="none">
6599 \begin_inset Text
6600
6601 \begin_layout Standard
6602 Stefano
6603 \end_layout
6604
6605 \end_inset
6606 </cell>
6607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6608 \begin_inset Text
6609
6610 \begin_layout Standard
6611 111
6612 \end_layout
6613
6614 \end_inset
6615 </cell>
6616 </row>
6617 <row>
6618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6619 \begin_inset Text
6620
6621 \begin_layout Standard
6622
6623 \series bold
6624 Bozzi
6625 \end_layout
6626
6627 \end_inset
6628 </cell>
6629 <cell alignment="center" valignment="top" topline="true" usebox="none">
6630 \begin_inset Text
6631
6632 \begin_layout Standard
6633 Walter
6634 \end_layout
6635
6636 \end_inset
6637 </cell>
6638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6639 \begin_inset Text
6640
6641 \begin_layout Standard
6642 111
6643 \end_layout
6644
6645 \end_inset
6646 </cell>
6647 </row>
6648 <row>
6649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6650 \begin_inset Text
6651
6652 \begin_layout Standard
6653
6654 \series bold
6655 Cachia
6656 \end_layout
6657
6658 \end_inset
6659 </cell>
6660 <cell alignment="center" valignment="top" topline="true" usebox="none">
6661 \begin_inset Text
6662
6663 \begin_layout Standard
6664 Maria
6665 \end_layout
6666
6667 \end_inset
6668 </cell>
6669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6670 \begin_inset Text
6671
6672 \begin_layout Standard
6673 111
6674 \end_layout
6675
6676 \end_inset
6677 </cell>
6678 </row>
6679 <row>
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6681 \begin_inset Text
6682
6683 \begin_layout Standard
6684
6685 \series bold
6686 Cachia
6687 \end_layout
6688
6689 \end_inset
6690 </cell>
6691 <cell alignment="center" valignment="top" topline="true" usebox="none">
6692 \begin_inset Text
6693
6694 \begin_layout Standard
6695 Maurizio
6696 \end_layout
6697
6698 \end_inset
6699 </cell>
6700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6701 \begin_inset Text
6702
6703 \begin_layout Standard
6704 111
6705 \end_layout
6706
6707 \end_inset
6708 </cell>
6709 </row>
6710 <row>
6711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6712 \begin_inset Text
6713
6714 \begin_layout Standard
6715
6716 \series bold
6717 Cinquemani
6718 \end_layout
6719
6720 \end_inset
6721 </cell>
6722 <cell alignment="center" valignment="top" topline="true" usebox="none">
6723 \begin_inset Text
6724
6725 \begin_layout Standard
6726 Giusi
6727 \end_layout
6728
6729 \end_inset
6730 </cell>
6731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6732 \begin_inset Text
6733
6734 \begin_layout Standard
6735 111
6736 \end_layout
6737
6738 \end_inset
6739 </cell>
6740 </row>
6741 <row>
6742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6743 \begin_inset Text
6744
6745 \begin_layout Standard
6746
6747 \series bold
6748 Colin
6749 \end_layout
6750
6751 \end_inset
6752 </cell>
6753 <cell alignment="center" valignment="top" topline="true" usebox="none">
6754 \begin_inset Text
6755
6756 \begin_layout Standard
6757 Bernard
6758 \end_layout
6759
6760 \end_inset
6761 </cell>
6762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6763 \begin_inset Text
6764
6765 \begin_layout Standard
6766 111
6767 \end_layout
6768
6769 \end_inset
6770 </cell>
6771 </row>
6772 <row>
6773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6774 \begin_inset Text
6775
6776 \begin_layout Standard
6777
6778 \series bold
6779 Concli
6780 \end_layout
6781
6782 \end_inset
6783 </cell>
6784 <cell alignment="center" valignment="top" topline="true" usebox="none">
6785 \begin_inset Text
6786
6787 \begin_layout Standard
6788 Gianfranco
6789 \end_layout
6790
6791 \end_inset
6792 </cell>
6793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6794 \begin_inset Text
6795
6796 \begin_layout Standard
6797 111
6798 \end_layout
6799
6800 \end_inset
6801 </cell>
6802 </row>
6803 <row>
6804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6805 \begin_inset Text
6806
6807 \begin_layout Standard
6808
6809 \series bold
6810 Dal Bosco
6811 \end_layout
6812
6813 \end_inset
6814 </cell>
6815 <cell alignment="center" valignment="top" topline="true" usebox="none">
6816 \begin_inset Text
6817
6818 \begin_layout Standard
6819 Carolina
6820 \end_layout
6821
6822 \end_inset
6823 </cell>
6824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6825 \begin_inset Text
6826
6827 \begin_layout Standard
6828 111
6829 \end_layout
6830
6831 \end_inset
6832 </cell>
6833 </row>
6834 <row>
6835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6836 \begin_inset Text
6837
6838 \begin_layout Standard
6839
6840 \series bold
6841 Dalpiaz
6842 \end_layout
6843
6844 \end_inset
6845 </cell>
6846 <cell alignment="center" valignment="top" topline="true" usebox="none">
6847 \begin_inset Text
6848
6849 \begin_layout Standard
6850 Annamaria
6851 \end_layout
6852
6853 \end_inset
6854 </cell>
6855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6856 \begin_inset Text
6857
6858 \begin_layout Standard
6859 111
6860 \end_layout
6861
6862 \end_inset
6863 </cell>
6864 </row>
6865 <row>
6866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6867 \begin_inset Text
6868
6869 \begin_layout Standard
6870
6871 \series bold
6872 Feliciello
6873 \end_layout
6874
6875 \end_inset
6876 </cell>
6877 <cell alignment="center" valignment="top" topline="true" usebox="none">
6878 \begin_inset Text
6879
6880 \begin_layout Standard
6881 Domenico
6882 \end_layout
6883
6884 \end_inset
6885 </cell>
6886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6887 \begin_inset Text
6888
6889 \begin_layout Standard
6890 111
6891 \end_layout
6892
6893 \end_inset
6894 </cell>
6895 </row>
6896 <row>
6897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6898 \begin_inset Text
6899
6900 \begin_layout Standard
6901
6902 \series bold
6903 Focarelli
6904 \end_layout
6905
6906 \end_inset
6907 </cell>
6908 <cell alignment="center" valignment="top" topline="true" usebox="none">
6909 \begin_inset Text
6910
6911 \begin_layout Standard
6912 Paola
6913 \end_layout
6914
6915 \end_inset
6916 </cell>
6917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6918 \begin_inset Text
6919
6920 \begin_layout Standard
6921 111
6922 \end_layout
6923
6924 \end_inset
6925 </cell>
6926 </row>
6927 <row>
6928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6929 \begin_inset Text
6930
6931 \begin_layout Standard
6932
6933 \series bold
6934 Galletti
6935 \end_layout
6936
6937 \end_inset
6938 </cell>
6939 <cell alignment="center" valignment="top" topline="true" usebox="none">
6940 \begin_inset Text
6941
6942 \begin_layout Standard
6943 Oreste
6944 \end_layout
6945
6946 \end_inset
6947 </cell>
6948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6949 \begin_inset Text
6950
6951 \begin_layout Standard
6952 111
6953 \end_layout
6954
6955 \end_inset
6956 </cell>
6957 </row>
6958 <row>
6959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6960 \begin_inset Text
6961
6962 \begin_layout Standard
6963
6964 \series bold
6965 Gasparini
6966 \end_layout
6967
6968 \end_inset
6969 </cell>
6970 <cell alignment="center" valignment="top" topline="true" usebox="none">
6971 \begin_inset Text
6972
6973 \begin_layout Standard
6974 Franca
6975 \end_layout
6976
6977 \end_inset
6978 </cell>
6979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6980 \begin_inset Text
6981
6982 \begin_layout Standard
6983 111
6984 \end_layout
6985
6986 \end_inset
6987 </cell>
6988 </row>
6989 <row>
6990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6991 \begin_inset Text
6992
6993 \begin_layout Standard
6994
6995 \series bold
6996 Rizzardi
6997 \series default
6998
6999 \begin_inset Foot
7000 status collapsed
7001
7002 \begin_layout Standard
7003 Example footnote
7004 \end_layout
7005
7006 \end_inset
7007
7008
7009 \end_layout
7010
7011 \end_inset
7012 </cell>
7013 <cell alignment="center" valignment="top" topline="true" usebox="none">
7014 \begin_inset Text
7015
7016 \begin_layout Standard
7017 Paola
7018 \end_layout
7019
7020 \end_inset
7021 </cell>
7022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7023 \begin_inset Text
7024
7025 \begin_layout Standard
7026 111
7027 \end_layout
7028
7029 \end_inset
7030 </cell>
7031 </row>
7032 <row>
7033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7034 \begin_inset Text
7035
7036 \begin_layout Standard
7037
7038 \series bold
7039 Lassini
7040 \end_layout
7041
7042 \end_inset
7043 </cell>
7044 <cell alignment="center" valignment="top" topline="true" usebox="none">
7045 \begin_inset Text
7046
7047 \begin_layout Standard
7048 Giancarlo
7049 \end_layout
7050
7051 \end_inset
7052 </cell>
7053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7054 \begin_inset Text
7055
7056 \begin_layout Standard
7057 111
7058 \end_layout
7059
7060 \end_inset
7061 </cell>
7062 </row>
7063 <row>
7064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7065 \begin_inset Text
7066
7067 \begin_layout Standard
7068
7069 \series bold
7070 Malfatti
7071 \end_layout
7072
7073 \end_inset
7074 </cell>
7075 <cell alignment="center" valignment="top" topline="true" usebox="none">
7076 \begin_inset Text
7077
7078 \begin_layout Standard
7079 Luciano
7080 \end_layout
7081
7082 \end_inset
7083 </cell>
7084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7085 \begin_inset Text
7086
7087 \begin_layout Standard
7088 111
7089 \end_layout
7090
7091 \end_inset
7092 </cell>
7093 </row>
7094 <row>
7095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7096 \begin_inset Text
7097
7098 \begin_layout Standard
7099
7100 \series bold
7101 Malfatti
7102 \end_layout
7103
7104 \end_inset
7105 </cell>
7106 <cell alignment="center" valignment="top" topline="true" usebox="none">
7107 \begin_inset Text
7108
7109 \begin_layout Standard
7110 Valeriano
7111 \end_layout
7112
7113 \end_inset
7114 </cell>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Standard
7119 111
7120 \end_layout
7121
7122 \end_inset
7123 </cell>
7124 </row>
7125 <row>
7126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7127 \begin_inset Text
7128
7129 \begin_layout Standard
7130
7131 \series bold
7132 Meneguzzo
7133 \end_layout
7134
7135 \end_inset
7136 </cell>
7137 <cell alignment="center" valignment="top" topline="true" usebox="none">
7138 \begin_inset Text
7139
7140 \begin_layout Standard
7141 Roberto
7142 \end_layout
7143
7144 \end_inset
7145 </cell>
7146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7147 \begin_inset Text
7148
7149 \begin_layout Standard
7150 111
7151 \end_layout
7152
7153 \end_inset
7154 </cell>
7155 </row>
7156 <row>
7157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7158 \begin_inset Text
7159
7160 \begin_layout Standard
7161
7162 \series bold
7163 Mezzadra
7164 \end_layout
7165
7166 \end_inset
7167 </cell>
7168 <cell alignment="center" valignment="top" topline="true" usebox="none">
7169 \begin_inset Text
7170
7171 \begin_layout Standard
7172 Roberto
7173 \end_layout
7174
7175 \end_inset
7176 </cell>
7177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7178 \begin_inset Text
7179
7180 \begin_layout Standard
7181 111
7182 \end_layout
7183
7184 \end_inset
7185 </cell>
7186 </row>
7187 <row>
7188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7189 \begin_inset Text
7190
7191 \begin_layout Standard
7192
7193 \series bold
7194 Pirpamer
7195 \end_layout
7196
7197 \end_inset
7198 </cell>
7199 <cell alignment="center" valignment="top" topline="true" usebox="none">
7200 \begin_inset Text
7201
7202 \begin_layout Standard
7203 Erich
7204 \end_layout
7205
7206 \end_inset
7207 </cell>
7208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7209 \begin_inset Text
7210
7211 \begin_layout Standard
7212 111
7213 \end_layout
7214
7215 \end_inset
7216 </cell>
7217 </row>
7218 <row>
7219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7220 \begin_inset Text
7221
7222 \begin_layout Standard
7223
7224 \series bold
7225 Pochiesa
7226 \end_layout
7227
7228 \end_inset
7229 </cell>
7230 <cell alignment="center" valignment="top" topline="true" usebox="none">
7231 \begin_inset Text
7232
7233 \begin_layout Standard
7234 Paolo
7235 \end_layout
7236
7237 \end_inset
7238 </cell>
7239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7240 \begin_inset Text
7241
7242 \begin_layout Standard
7243 111, 222
7244 \end_layout
7245
7246 \end_inset
7247 </cell>
7248 </row>
7249 <row>
7250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7251 \begin_inset Text
7252
7253 \begin_layout Standard
7254
7255 \series bold
7256 Radina
7257 \end_layout
7258
7259 \end_inset
7260 </cell>
7261 <cell alignment="center" valignment="top" topline="true" usebox="none">
7262 \begin_inset Text
7263
7264 \begin_layout Standard
7265 Claudio
7266 \end_layout
7267
7268 \end_inset
7269 </cell>
7270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7271 \begin_inset Text
7272
7273 \begin_layout Standard
7274 111
7275 \end_layout
7276
7277 \end_inset
7278 </cell>
7279 </row>
7280 <row>
7281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7282 \begin_inset Text
7283
7284 \begin_layout Standard
7285
7286 \series bold
7287 Stuffer
7288 \end_layout
7289
7290 \end_inset
7291 </cell>
7292 <cell alignment="center" valignment="top" topline="true" usebox="none">
7293 \begin_inset Text
7294
7295 \begin_layout Standard
7296 Oskar
7297 \end_layout
7298
7299 \end_inset
7300 </cell>
7301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7302 \begin_inset Text
7303
7304 \begin_layout Standard
7305 111
7306 \end_layout
7307
7308 \end_inset
7309 </cell>
7310 </row>
7311 <row>
7312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7313 \begin_inset Text
7314
7315 \begin_layout Standard
7316
7317 \series bold
7318 Tacchelli
7319 \end_layout
7320
7321 \end_inset
7322 </cell>
7323 <cell alignment="center" valignment="top" topline="true" usebox="none">
7324 \begin_inset Text
7325
7326 \begin_layout Standard
7327 Ugo
7328 \end_layout
7329
7330 \end_inset
7331 </cell>
7332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7333 \begin_inset Text
7334
7335 \begin_layout Standard
7336 111
7337 \end_layout
7338
7339 \end_inset
7340 </cell>
7341 </row>
7342 <row>
7343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7344 \begin_inset Text
7345
7346 \begin_layout Standard
7347
7348 \series bold
7349 Tezzele
7350 \end_layout
7351
7352 \end_inset
7353 </cell>
7354 <cell alignment="center" valignment="top" topline="true" usebox="none">
7355 \begin_inset Text
7356
7357 \begin_layout Standard
7358 Margit
7359 \end_layout
7360
7361 \end_inset
7362 </cell>
7363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7364 \begin_inset Text
7365
7366 \begin_layout Standard
7367 111
7368 \end_layout
7369
7370 \end_inset
7371 </cell>
7372 </row>
7373 <row>
7374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7375 \begin_inset Text
7376
7377 \begin_layout Standard
7378
7379 \series bold
7380 Unterkalmsteiner
7381 \end_layout
7382
7383 \end_inset
7384 </cell>
7385 <cell alignment="center" valignment="top" topline="true" usebox="none">
7386 \begin_inset Text
7387
7388 \begin_layout Standard
7389 Frieda
7390 \end_layout
7391
7392 \end_inset
7393 </cell>
7394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7395 \begin_inset Text
7396
7397 \begin_layout Standard
7398 111
7399 \end_layout
7400
7401 \end_inset
7402 </cell>
7403 </row>
7404 <row>
7405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7406 \begin_inset Text
7407
7408 \begin_layout Standard
7409
7410 \series bold
7411 Vieider
7412 \end_layout
7413
7414 \end_inset
7415 </cell>
7416 <cell alignment="center" valignment="top" topline="true" usebox="none">
7417 \begin_inset Text
7418
7419 \begin_layout Standard
7420 Hilde
7421 \end_layout
7422
7423 \end_inset
7424 </cell>
7425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7426 \begin_inset Text
7427
7428 \begin_layout Standard
7429 111
7430 \end_layout
7431
7432 \end_inset
7433 </cell>
7434 </row>
7435 <row>
7436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7437 \begin_inset Text
7438
7439 \begin_layout Standard
7440
7441 \series bold
7442 Vigna
7443 \end_layout
7444
7445 \end_inset
7446 </cell>
7447 <cell alignment="center" valignment="top" topline="true" usebox="none">
7448 \begin_inset Text
7449
7450 \begin_layout Standard
7451 Jürgen
7452 \end_layout
7453
7454 \end_inset
7455 </cell>
7456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7457 \begin_inset Text
7458
7459 \begin_layout Standard
7460 111
7461 \end_layout
7462
7463 \end_inset
7464 </cell>
7465 </row>
7466 <row>
7467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7468 \begin_inset Text
7469
7470 \begin_layout Standard
7471
7472 \series bold
7473 Weber
7474 \end_layout
7475
7476 \end_inset
7477 </cell>
7478 <cell alignment="center" valignment="top" topline="true" usebox="none">
7479 \begin_inset Text
7480
7481 \begin_layout Standard
7482 Maurizio
7483 \end_layout
7484
7485 \end_inset
7486 </cell>
7487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7488 \begin_inset Text
7489
7490 \begin_layout Standard
7491 111
7492 \end_layout
7493
7494 \end_inset
7495 </cell>
7496 </row>
7497 <row bottomline="true">
7498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7499 \begin_inset Text
7500
7501 \begin_layout Standard
7502
7503 \series bold
7504 Winkler
7505 \end_layout
7506
7507 \end_inset
7508 </cell>
7509 <cell alignment="center" valignment="top" topline="true" usebox="none">
7510 \begin_inset Text
7511
7512 \begin_layout Standard
7513 Franz
7514 \end_layout
7515
7516 \end_inset
7517 </cell>
7518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7519 \begin_inset Text
7520
7521 \begin_layout Standard
7522 111
7523 \end_layout
7524
7525 \end_inset
7526 </cell>
7527 </row>
7528 <row bottomline="true">
7529 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7530 \begin_inset Text
7531
7532 \begin_layout Standard
7533  
7534 \end_layout
7535
7536 \end_inset
7537 </cell>
7538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7539 \begin_inset Text
7540
7541 \begin_layout Standard
7542
7543 \end_layout
7544
7545 \end_inset
7546 </cell>
7547 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7548 \begin_inset Text
7549
7550 \begin_layout Standard
7551
7552 \end_layout
7553
7554 \end_inset
7555 </cell>
7556 </row>
7557 <row>
7558 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7559 \begin_inset Text
7560
7561 \begin_layout Standard
7562
7563 \series bold
7564 Annovi
7565 \end_layout
7566
7567 \end_inset
7568 </cell>
7569 <cell alignment="center" valignment="top" topline="true" usebox="none">
7570 \begin_inset Text
7571
7572 \begin_layout Standard
7573 Silvia
7574 \end_layout
7575
7576 \end_inset
7577 </cell>
7578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7579 \begin_inset Text
7580
7581 \begin_layout Standard
7582 555
7583 \end_layout
7584
7585 \end_inset
7586 </cell>
7587 </row>
7588 <row>
7589 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7590 \begin_inset Text
7591
7592 \begin_layout Standard
7593
7594 \series bold
7595 Bertoli
7596 \end_layout
7597
7598 \end_inset
7599 </cell>
7600 <cell alignment="center" valignment="top" topline="true" usebox="none">
7601 \begin_inset Text
7602
7603 \begin_layout Standard
7604 Stefano
7605 \end_layout
7606
7607 \end_inset
7608 </cell>
7609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7610 \begin_inset Text
7611
7612 \begin_layout Standard
7613 555
7614 \end_layout
7615
7616 \end_inset
7617 </cell>
7618 </row>
7619 <row>
7620 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7621 \begin_inset Text
7622
7623 \begin_layout Standard
7624
7625 \series bold
7626 Bozzi
7627 \end_layout
7628
7629 \end_inset
7630 </cell>
7631 <cell alignment="center" valignment="top" topline="true" usebox="none">
7632 \begin_inset Text
7633
7634 \begin_layout Standard
7635 Walter
7636 \end_layout
7637
7638 \end_inset
7639 </cell>
7640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7641 \begin_inset Text
7642
7643 \begin_layout Standard
7644 555
7645 \end_layout
7646
7647 \end_inset
7648 </cell>
7649 </row>
7650 <row>
7651 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7652 \begin_inset Text
7653
7654 \begin_layout Standard
7655
7656 \series bold
7657 Cachia
7658 \end_layout
7659
7660 \end_inset
7661 </cell>
7662 <cell alignment="center" valignment="top" topline="true" usebox="none">
7663 \begin_inset Text
7664
7665 \begin_layout Standard
7666 Maria
7667 \end_layout
7668
7669 \end_inset
7670 </cell>
7671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7672 \begin_inset Text
7673
7674 \begin_layout Standard
7675 555
7676 \end_layout
7677
7678 \end_inset
7679 </cell>
7680 </row>
7681 <row>
7682 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7683 \begin_inset Text
7684
7685 \begin_layout Standard
7686
7687 \series bold
7688 Cachia
7689 \end_layout
7690
7691 \end_inset
7692 </cell>
7693 <cell alignment="center" valignment="top" topline="true" usebox="none">
7694 \begin_inset Text
7695
7696 \begin_layout Standard
7697 Maurizio
7698 \end_layout
7699
7700 \end_inset
7701 </cell>
7702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7703 \begin_inset Text
7704
7705 \begin_layout Standard
7706 555
7707 \end_layout
7708
7709 \end_inset
7710 </cell>
7711 </row>
7712 <row>
7713 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7714 \begin_inset Text
7715
7716 \begin_layout Standard
7717
7718 \series bold
7719 Cinquemani
7720 \end_layout
7721
7722 \end_inset
7723 </cell>
7724 <cell alignment="center" valignment="top" topline="true" usebox="none">
7725 \begin_inset Text
7726
7727 \begin_layout Standard
7728 Giusi
7729 \end_layout
7730
7731 \end_inset
7732 </cell>
7733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7734 \begin_inset Text
7735
7736 \begin_layout Standard
7737 555
7738 \end_layout
7739
7740 \end_inset
7741 </cell>
7742 </row>
7743 <row>
7744 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7745 \begin_inset Text
7746
7747 \begin_layout Standard
7748
7749 \series bold
7750 Colin
7751 \end_layout
7752
7753 \end_inset
7754 </cell>
7755 <cell alignment="center" valignment="top" topline="true" usebox="none">
7756 \begin_inset Text
7757
7758 \begin_layout Standard
7759 Bernard
7760 \end_layout
7761
7762 \end_inset
7763 </cell>
7764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7765 \begin_inset Text
7766
7767 \begin_layout Standard
7768 555
7769 \end_layout
7770
7771 \end_inset
7772 </cell>
7773 </row>
7774 <row>
7775 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7776 \begin_inset Text
7777
7778 \begin_layout Standard
7779
7780 \series bold
7781 Concli
7782 \end_layout
7783
7784 \end_inset
7785 </cell>
7786 <cell alignment="center" valignment="top" topline="true" usebox="none">
7787 \begin_inset Text
7788
7789 \begin_layout Standard
7790 Gianfranco
7791 \end_layout
7792
7793 \end_inset
7794 </cell>
7795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7796 \begin_inset Text
7797
7798 \begin_layout Standard
7799 555
7800 \end_layout
7801
7802 \end_inset
7803 </cell>
7804 </row>
7805 <row>
7806 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7807 \begin_inset Text
7808
7809 \begin_layout Standard
7810
7811 \series bold
7812 Dal Bosco
7813 \end_layout
7814
7815 \end_inset
7816 </cell>
7817 <cell alignment="center" valignment="top" topline="true" usebox="none">
7818 \begin_inset Text
7819
7820 \begin_layout Standard
7821 Carolina
7822 \end_layout
7823
7824 \end_inset
7825 </cell>
7826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7827 \begin_inset Text
7828
7829 \begin_layout Standard
7830 555
7831 \end_layout
7832
7833 \end_inset
7834 </cell>
7835 </row>
7836 <row>
7837 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7838 \begin_inset Text
7839
7840 \begin_layout Standard
7841
7842 \series bold
7843 Dalpiaz
7844 \end_layout
7845
7846 \end_inset
7847 </cell>
7848 <cell alignment="center" valignment="top" topline="true" usebox="none">
7849 \begin_inset Text
7850
7851 \begin_layout Standard
7852 Annamaria
7853 \end_layout
7854
7855 \end_inset
7856 </cell>
7857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7858 \begin_inset Text
7859
7860 \begin_layout Standard
7861 555
7862 \end_layout
7863
7864 \end_inset
7865 </cell>
7866 </row>
7867 <row>
7868 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7869 \begin_inset Text
7870
7871 \begin_layout Standard
7872
7873 \series bold
7874 Feliciello
7875 \end_layout
7876
7877 \end_inset
7878 </cell>
7879 <cell alignment="center" valignment="top" topline="true" usebox="none">
7880 \begin_inset Text
7881
7882 \begin_layout Standard
7883 Domenico
7884 \end_layout
7885
7886 \end_inset
7887 </cell>
7888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7889 \begin_inset Text
7890
7891 \begin_layout Standard
7892 555
7893 \end_layout
7894
7895 \end_inset
7896 </cell>
7897 </row>
7898 <row>
7899 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7900 \begin_inset Text
7901
7902 \begin_layout Standard
7903
7904 \series bold
7905 Focarelli
7906 \end_layout
7907
7908 \end_inset
7909 </cell>
7910 <cell alignment="center" valignment="top" topline="true" usebox="none">
7911 \begin_inset Text
7912
7913 \begin_layout Standard
7914 Paola
7915 \end_layout
7916
7917 \end_inset
7918 </cell>
7919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7920 \begin_inset Text
7921
7922 \begin_layout Standard
7923 555
7924 \end_layout
7925
7926 \end_inset
7927 </cell>
7928 </row>
7929 <row>
7930 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7931 \begin_inset Text
7932
7933 \begin_layout Standard
7934
7935 \series bold
7936 Galletti
7937 \end_layout
7938
7939 \end_inset
7940 </cell>
7941 <cell alignment="center" valignment="top" topline="true" usebox="none">
7942 \begin_inset Text
7943
7944 \begin_layout Standard
7945 Oreste
7946 \end_layout
7947
7948 \end_inset
7949 </cell>
7950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7951 \begin_inset Text
7952
7953 \begin_layout Standard
7954 555
7955 \end_layout
7956
7957 \end_inset
7958 </cell>
7959 </row>
7960 <row>
7961 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7962 \begin_inset Text
7963
7964 \begin_layout Standard
7965
7966 \series bold
7967 Gasparini
7968 \end_layout
7969
7970 \end_inset
7971 </cell>
7972 <cell alignment="center" valignment="top" topline="true" usebox="none">
7973 \begin_inset Text
7974
7975 \begin_layout Standard
7976 Franca
7977 \end_layout
7978
7979 \end_inset
7980 </cell>
7981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7982 \begin_inset Text
7983
7984 \begin_layout Standard
7985 555
7986 \end_layout
7987
7988 \end_inset
7989 </cell>
7990 </row>
7991 <row>
7992 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7993 \begin_inset Text
7994
7995 \begin_layout Standard
7996
7997 \series bold
7998 Rizzardi
7999 \end_layout
8000
8001 \end_inset
8002 </cell>
8003 <cell alignment="center" valignment="top" topline="true" usebox="none">
8004 \begin_inset Text
8005
8006 \begin_layout Standard
8007 Paola
8008 \end_layout
8009
8010 \end_inset
8011 </cell>
8012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8013 \begin_inset Text
8014
8015 \begin_layout Standard
8016 555
8017 \end_layout
8018
8019 \end_inset
8020 </cell>
8021 </row>
8022 <row>
8023 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8024 \begin_inset Text
8025
8026 \begin_layout Standard
8027
8028 \series bold
8029 Lassini
8030 \end_layout
8031
8032 \end_inset
8033 </cell>
8034 <cell alignment="center" valignment="top" topline="true" usebox="none">
8035 \begin_inset Text
8036
8037 \begin_layout Standard
8038 Giancarlo
8039 \end_layout
8040
8041 \end_inset
8042 </cell>
8043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8044 \begin_inset Text
8045
8046 \begin_layout Standard
8047 555
8048 \end_layout
8049
8050 \end_inset
8051 </cell>
8052 </row>
8053 <row>
8054 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8055 \begin_inset Text
8056
8057 \begin_layout Standard
8058
8059 \series bold
8060 Malfatti
8061 \end_layout
8062
8063 \end_inset
8064 </cell>
8065 <cell alignment="center" valignment="top" topline="true" usebox="none">
8066 \begin_inset Text
8067
8068 \begin_layout Standard
8069 Luciano
8070 \end_layout
8071
8072 \end_inset
8073 </cell>
8074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8075 \begin_inset Text
8076
8077 \begin_layout Standard
8078 555
8079 \end_layout
8080
8081 \end_inset
8082 </cell>
8083 </row>
8084 <row>
8085 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8086 \begin_inset Text
8087
8088 \begin_layout Standard
8089
8090 \series bold
8091 Malfatti
8092 \end_layout
8093
8094 \end_inset
8095 </cell>
8096 <cell alignment="center" valignment="top" topline="true" usebox="none">
8097 \begin_inset Text
8098
8099 \begin_layout Standard
8100 Valeriano
8101 \end_layout
8102
8103 \end_inset
8104 </cell>
8105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8106 \begin_inset Text
8107
8108 \begin_layout Standard
8109 555
8110 \end_layout
8111
8112 \end_inset
8113 </cell>
8114 </row>
8115 <row>
8116 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8117 \begin_inset Text
8118
8119 \begin_layout Standard
8120
8121 \series bold
8122 Meneguzzo
8123 \end_layout
8124
8125 \end_inset
8126 </cell>
8127 <cell alignment="center" valignment="top" topline="true" usebox="none">
8128 \begin_inset Text
8129
8130 \begin_layout Standard
8131 Roberto
8132 \end_layout
8133
8134 \end_inset
8135 </cell>
8136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8137 \begin_inset Text
8138
8139 \begin_layout Standard
8140 555
8141 \end_layout
8142
8143 \end_inset
8144 </cell>
8145 </row>
8146 <row bottomline="true">
8147 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8148 \begin_inset Text
8149
8150 \begin_layout Standard
8151
8152 \series bold
8153 Mezzadra
8154 \end_layout
8155
8156 \end_inset
8157 </cell>
8158 <cell alignment="center" valignment="top" topline="true" usebox="none">
8159 \begin_inset Text
8160
8161 \begin_layout Standard
8162 Roberto
8163 \end_layout
8164
8165 \end_inset
8166 </cell>
8167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8168 \begin_inset Text
8169
8170 \begin_layout Standard
8171 555
8172 \end_layout
8173
8174 \end_inset
8175 </cell>
8176 </row>
8177 <row bottomline="true" endlastfoot="true">
8178 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8179 \begin_inset Text
8180
8181 \begin_layout Standard
8182
8183 \end_layout
8184
8185 \end_inset
8186 </cell>
8187 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8188 \begin_inset Text
8189
8190 \begin_layout Standard
8191
8192 \end_layout
8193
8194 \end_inset
8195 </cell>
8196 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8197 \begin_inset Text
8198
8199 \begin_layout Standard
8200
8201 \end_layout
8202
8203 \end_inset
8204 </cell>
8205 </row>
8206 </lyxtabular>
8207
8208 \end_inset
8209
8210
8211 \end_layout
8212
8213 \begin_layout Section
8214 Special Longtable Issues
8215 \begin_inset LatexCommand label
8216 name "sec:Special-Longtable-Issues"
8217
8218 \end_inset
8219
8220
8221 \end_layout
8222
8223 \begin_layout Subsection
8224 Longtable Calculation
8225 \begin_inset LatexCommand index
8226 name "Longtables ! Calculation"
8227
8228 \end_inset
8229
8230
8231 \end_layout
8232
8233 \begin_layout Standard
8234 LaTeX calculates the height of table pages and their page breaks using so
8235  called chunks.
8236  Chunks are pieces of the tables that are at once in LaTeX's memory.
8237  The default value is historically set to only 20 table rows.
8238  If you are using longtables with many pages this may slow down the creation
8239  of your document.
8240  You can safely increase the chunk size to values of 100-1000 by adding
8241  this command line to your document preamble:
8242 \end_layout
8243
8244 \begin_layout Standard
8245
8246 \series bold
8247
8248 \backslash
8249 setcounter{LTchunksize}{100}
8250 \end_layout
8251
8252 \begin_layout Subsection
8253 Floats and Longtables
8254 \begin_inset LatexCommand index
8255 name "Longtables ! Floats"
8256
8257 \end_inset
8258
8259
8260 \end_layout
8261
8262 \begin_layout Standard
8263 There might be problems when a float appears on the same page where a longtable
8264  starts.
8265  To avoid such situation, add the command 
8266 \series bold
8267
8268 \backslash
8269 clearpage
8270 \series default
8271  as ERT before your longtable.
8272 \end_layout
8273
8274 \begin_layout Subsection
8275 Forced Page Breaks
8276 \begin_inset LatexCommand index
8277 name "Longtables ! Forced Page Breaks"
8278
8279 \end_inset
8280
8281
8282 \end_layout
8283
8284 \begin_layout Standard
8285 By default tables are only broken between rows.
8286  If you have a cell with multiples lines and want to have a page break within
8287  the cell, insert the new line command 
8288 \begin_inset Quotes eld
8289 \end_inset
8290
8291
8292 \series bold
8293
8294 \backslash
8295
8296 \backslash
8297
8298 \series default
8299
8300 \begin_inset Quotes erd
8301 \end_inset
8302
8303  as ERT at this point of the cell where it should be broken.
8304  Before the 
8305 \series bold
8306
8307 \backslash
8308
8309 \backslash
8310
8311 \series default
8312  command you have to insert in ERT so many 
8313 \begin_inset Quotes eld
8314 \end_inset
8315
8316
8317 \series bold
8318 &
8319 \series default
8320
8321 \begin_inset Quotes erd
8322 \end_inset
8323
8324  characters like the number of the following table columns.
8325  The 
8326 \series bold
8327 &
8328 \series default
8329  is the character to separate table cells.
8330  Write in ERT after each 
8331 \series bold
8332 &
8333 \series default
8334  the content of the corresponding following cell and delete the content
8335  of these cells.
8336 \newline
8337 Behind the the 
8338 \series bold
8339
8340 \backslash
8341
8342 \backslash
8343
8344 \series default
8345  command, insert so many 
8346 \series bold
8347 &
8348 \series default
8349  characters like the number of table columns before the current column.
8350  In Table\InsetSpace ~
8351
8352 \begin_inset LatexCommand ref
8353 reference "tab:ForcedPagebreak"
8354
8355 \end_inset
8356
8357  the cell that should be broken is in the second column followed by another
8358  column.
8359  Therefore the following command was inserted in the cell as ERT behind
8360  
8361 \begin_inset Quotes eld
8362 \end_inset
8363
8364
8365 \emph on
8366 Castelchiodato,
8367 \emph default
8368
8369 \begin_inset Quotes erd
8370 \end_inset
8371
8372 :
8373 \end_layout
8374
8375 \begin_layout Standard
8376
8377 \series bold
8378 & 111
8379 \backslash
8380
8381 \backslash
8382
8383 \newline
8384 &
8385 \end_layout
8386
8387 \begin_layout Standard
8388 The 
8389 \begin_inset Quotes eld
8390 \end_inset
8391
8392 111
8393 \begin_inset Quotes erd
8394 \end_inset
8395
8396  in the third columns of the row was deleted.
8397  If your footer row of the longtable has for a certain reason no upper line
8398  but you would have a horizontal line where the cell is broken, use this
8399  command instead:
8400 \end_layout
8401
8402 \begin_layout Standard
8403
8404 \series bold
8405 & 111
8406 \backslash
8407
8408 \backslash
8409
8410 \newline
8411
8412 \backslash
8413 hline &
8414 \end_layout
8415
8416 \begin_layout Standard
8417 When the cell to be broken is in the last column, the command
8418 \end_layout
8419
8420 \begin_layout Standard
8421
8422 \series bold
8423
8424 \backslash
8425 setlength{
8426 \backslash
8427 parf\SpecialChar \textcompwordmark{}
8428 illskip}{0pt}
8429 \end_layout
8430
8431 \begin_layout Standard
8432 must be inserted as ERT at the beginning of the cell.
8433  This assures that the part of the cell that will be displayed on the new
8434  page appears with the full width.
8435  
8436 \end_layout
8437
8438 \begin_layout Standard
8439 \align center
8440 \begin_inset Tabular
8441 <lyxtabular version="3" rows="39" columns="3">
8442 <features islongtable="true">
8443 <column alignment="left" valignment="top" leftline="true" width="0cm">
8444 <column alignment="left" valignment="top" rightline="true" width="3cm">
8445 <column alignment="right" valignment="top" rightline="true" width="0pt">
8446 <row endfirsthead="true">
8447 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8448 \begin_inset Text
8449
8450 \begin_layout Standard
8451 \begin_inset Caption
8452
8453 \begin_layout Standard
8454 Table with forced page break in table cell
8455 \begin_inset LatexCommand label
8456 name "tab:ForcedPagebreak"
8457
8458 \end_inset
8459
8460
8461 \begin_inset OptArg
8462 status collapsed
8463
8464 \begin_layout Standard
8465 Table with forced page break in table cell
8466 \end_layout
8467
8468 \end_inset
8469
8470
8471 \end_layout
8472
8473 \end_inset
8474
8475
8476 \begin_inset ERT
8477 status collapsed
8478
8479 \begin_layout Standard
8480
8481
8482 \backslash
8483
8484 \backslash
8485 %
8486 \end_layout
8487
8488 \end_inset
8489
8490
8491 \end_layout
8492
8493 \end_inset
8494 </cell>
8495 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8496 \begin_inset Text
8497
8498 \begin_layout Standard
8499
8500 \end_layout
8501
8502 \end_inset
8503 </cell>
8504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8505 \begin_inset Text
8506
8507 \begin_layout Standard
8508
8509 \end_layout
8510
8511 \end_inset
8512 </cell>
8513 </row>
8514 <row topline="true" bottomline="true" endfirsthead="true">
8515 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8516 \begin_inset Text
8517
8518 \begin_layout Standard
8519
8520 \series bold
8521 Example Phone List (ignore the names)
8522 \end_layout
8523
8524 \end_inset
8525 </cell>
8526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8527 \begin_inset Text
8528
8529 \begin_layout Standard
8530
8531 \end_layout
8532
8533 \end_inset
8534 </cell>
8535 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8536 \begin_inset Text
8537
8538 \begin_layout Standard
8539
8540 \end_layout
8541
8542 \end_inset
8543 </cell>
8544 </row>
8545 <row topline="true" bottomline="true" endfirsthead="true">
8546 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8547 \begin_inset Text
8548
8549 \begin_layout Standard
8550
8551 \series bold
8552 NAME
8553 \end_layout
8554
8555 \end_inset
8556 </cell>
8557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8558 \begin_inset Text
8559
8560 \begin_layout Standard
8561
8562 \end_layout
8563
8564 \end_inset
8565 </cell>
8566 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8567 \begin_inset Text
8568
8569 \begin_layout Standard
8570
8571 \series bold
8572 TEL.
8573 \end_layout
8574
8575 \end_inset
8576 </cell>
8577 </row>
8578 <row bottomline="true" endhead="true">
8579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8580 \begin_inset Text
8581
8582 \begin_layout Standard
8583 \begin_inset ERT
8584 status collapsed
8585
8586 \begin_layout Standard
8587
8588
8589 \backslash
8590 caption*{Continued table with forced page break in table cell}
8591 \backslash
8592
8593 \backslash
8594 %
8595 \end_layout
8596
8597 \end_inset
8598
8599
8600 \end_layout
8601
8602 \end_inset
8603 </cell>
8604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8605 \begin_inset Text
8606
8607 \begin_layout Standard
8608
8609 \end_layout
8610
8611 \end_inset
8612 </cell>
8613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8614 \begin_inset Text
8615
8616 \begin_layout Standard
8617
8618 \end_layout
8619
8620 \end_inset
8621 </cell>
8622 </row>
8623 <row topline="true" bottomline="true" endhead="true">
8624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8625 \begin_inset Text
8626
8627 \begin_layout Standard
8628  
8629 \series bold
8630 Example Phone List
8631 \end_layout
8632
8633 \end_inset
8634 </cell>
8635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8636 \begin_inset Text
8637
8638 \begin_layout Standard
8639
8640 \end_layout
8641
8642 \end_inset
8643 </cell>
8644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8645 \begin_inset Text
8646
8647 \begin_layout Standard
8648
8649 \end_layout
8650
8651 \end_inset
8652 </cell>
8653 </row>
8654 <row topline="true" bottomline="true" endhead="true">
8655 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8656 \begin_inset Text
8657
8658 \begin_layout Standard
8659
8660 \series bold
8661 NAME
8662 \end_layout
8663
8664 \end_inset
8665 </cell>
8666 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8667 \begin_inset Text
8668
8669 \begin_layout Standard
8670
8671 \end_layout
8672
8673 \end_inset
8674 </cell>
8675 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8676 \begin_inset Text
8677
8678 \begin_layout Standard
8679
8680 \series bold
8681 TEL.
8682 \end_layout
8683
8684 \end_inset
8685 </cell>
8686 </row>
8687 <row topline="true" bottomline="true" endfoot="true">
8688 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8689 \begin_inset Text
8690
8691 \begin_layout Standard
8692 continued on next page
8693 \end_layout
8694
8695 \end_inset
8696 </cell>
8697 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8698 \begin_inset Text
8699
8700 \begin_layout Standard
8701
8702 \end_layout
8703
8704 \end_inset
8705 </cell>
8706 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8707 \begin_inset Text
8708
8709 \begin_layout Standard
8710
8711 \end_layout
8712
8713 \end_inset
8714 </cell>
8715 </row>
8716 <row>
8717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8718 \begin_inset Text
8719
8720 \begin_layout Standard
8721
8722 \series bold
8723 Annovi
8724 \end_layout
8725
8726 \end_inset
8727 </cell>
8728 <cell alignment="center" valignment="top" topline="true" usebox="none">
8729 \begin_inset Text
8730
8731 \begin_layout Standard
8732 Silvia
8733 \end_layout
8734
8735 \end_inset
8736 </cell>
8737 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8738 \begin_inset Text
8739
8740 \begin_layout Standard
8741 111
8742 \end_layout
8743
8744 \end_inset
8745 </cell>
8746 </row>
8747 <row>
8748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8749 \begin_inset Text
8750
8751 \begin_layout Standard
8752
8753 \series bold
8754 Bertoli
8755 \end_layout
8756
8757 \end_inset
8758 </cell>
8759 <cell alignment="center" valignment="top" topline="true" usebox="none">
8760 \begin_inset Text
8761
8762 \begin_layout Standard
8763 Stefano
8764 \end_layout
8765
8766 \end_inset
8767 </cell>
8768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8769 \begin_inset Text
8770
8771 \begin_layout Standard
8772 111
8773 \end_layout
8774
8775 \end_inset
8776 </cell>
8777 </row>
8778 <row>
8779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8780 \begin_inset Text
8781
8782 \begin_layout Standard
8783
8784 \series bold
8785 Bozzi
8786 \end_layout
8787
8788 \end_inset
8789 </cell>
8790 <cell alignment="center" valignment="top" topline="true" usebox="none">
8791 \begin_inset Text
8792
8793 \begin_layout Standard
8794 Walter
8795 \end_layout
8796
8797 \end_inset
8798 </cell>
8799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8800 \begin_inset Text
8801
8802 \begin_layout Standard
8803 111
8804 \end_layout
8805
8806 \end_inset
8807 </cell>
8808 </row>
8809 <row>
8810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8811 \begin_inset Text
8812
8813 \begin_layout Standard
8814
8815 \series bold
8816 Cachia
8817 \end_layout
8818
8819 \end_inset
8820 </cell>
8821 <cell alignment="center" valignment="top" topline="true" usebox="none">
8822 \begin_inset Text
8823
8824 \begin_layout Standard
8825 Maria
8826 \end_layout
8827
8828 \end_inset
8829 </cell>
8830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8831 \begin_inset Text
8832
8833 \begin_layout Standard
8834 111
8835 \end_layout
8836
8837 \end_inset
8838 </cell>
8839 </row>
8840 <row>
8841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8842 \begin_inset Text
8843
8844 \begin_layout Standard
8845
8846 \series bold
8847 Cachia
8848 \end_layout
8849
8850 \end_inset
8851 </cell>
8852 <cell alignment="center" valignment="top" topline="true" usebox="none">
8853 \begin_inset Text
8854
8855 \begin_layout Standard
8856 Maurizio
8857 \end_layout
8858
8859 \end_inset
8860 </cell>
8861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8862 \begin_inset Text
8863
8864 \begin_layout Standard
8865 111
8866 \end_layout
8867
8868 \end_inset
8869 </cell>
8870 </row>
8871 <row>
8872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8873 \begin_inset Text
8874
8875 \begin_layout Standard
8876
8877 \series bold
8878 Cinquemani
8879 \end_layout
8880
8881 \end_inset
8882 </cell>
8883 <cell alignment="center" valignment="top" topline="true" usebox="none">
8884 \begin_inset Text
8885
8886 \begin_layout Standard
8887 Giusi
8888 \end_layout
8889
8890 \end_inset
8891 </cell>
8892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8893 \begin_inset Text
8894
8895 \begin_layout Standard
8896 111
8897 \end_layout
8898
8899 \end_inset
8900 </cell>
8901 </row>
8902 <row>
8903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8904 \begin_inset Text
8905
8906 \begin_layout Standard
8907
8908 \series bold
8909 Colin
8910 \end_layout
8911
8912 \end_inset
8913 </cell>
8914 <cell alignment="center" valignment="top" topline="true" usebox="none">
8915 \begin_inset Text
8916
8917 \begin_layout Standard
8918 Bernard
8919 \end_layout
8920
8921 \end_inset
8922 </cell>
8923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8924 \begin_inset Text
8925
8926 \begin_layout Standard
8927 111
8928 \end_layout
8929
8930 \end_inset
8931 </cell>
8932 </row>
8933 <row>
8934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8935 \begin_inset Text
8936
8937 \begin_layout Standard
8938
8939 \series bold
8940 Concli
8941 \end_layout
8942
8943 \end_inset
8944 </cell>
8945 <cell alignment="center" valignment="top" topline="true" usebox="none">
8946 \begin_inset Text
8947
8948 \begin_layout Standard
8949 Gianfranco
8950 \end_layout
8951
8952 \end_inset
8953 </cell>
8954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8955 \begin_inset Text
8956
8957 \begin_layout Standard
8958 111
8959 \end_layout
8960
8961 \end_inset
8962 </cell>
8963 </row>
8964 <row>
8965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8966 \begin_inset Text
8967
8968 \begin_layout Standard
8969
8970 \series bold
8971 Dal Bosco
8972 \end_layout
8973
8974 \end_inset
8975 </cell>
8976 <cell alignment="center" valignment="top" topline="true" usebox="none">
8977 \begin_inset Text
8978
8979 \begin_layout Standard
8980 Carolina
8981 \end_layout
8982
8983 \end_inset
8984 </cell>
8985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8986 \begin_inset Text
8987
8988 \begin_layout Standard
8989 111
8990 \end_layout
8991
8992 \end_inset
8993 </cell>
8994 </row>
8995 <row>
8996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8997 \begin_inset Text
8998
8999 \begin_layout Standard
9000
9001 \series bold
9002 Dalpiaz
9003 \end_layout
9004
9005 \end_inset
9006 </cell>
9007 <cell alignment="center" valignment="top" topline="true" usebox="none">
9008 \begin_inset Text
9009
9010 \begin_layout Standard
9011 Annamaria
9012 \end_layout
9013
9014 \end_inset
9015 </cell>
9016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9017 \begin_inset Text
9018
9019 \begin_layout Standard
9020 111
9021 \end_layout
9022
9023 \end_inset
9024 </cell>
9025 </row>
9026 <row>
9027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9028 \begin_inset Text
9029
9030 \begin_layout Standard
9031
9032 \series bold
9033 Feliciello
9034 \end_layout
9035
9036 \end_inset
9037 </cell>
9038 <cell alignment="center" valignment="top" topline="true" usebox="none">
9039 \begin_inset Text
9040
9041 \begin_layout Standard
9042 Domenico
9043 \end_layout
9044
9045 \end_inset
9046 </cell>
9047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9048 \begin_inset Text
9049
9050 \begin_layout Standard
9051 111
9052 \end_layout
9053
9054 \end_inset
9055 </cell>
9056 </row>
9057 <row>
9058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9059 \begin_inset Text
9060
9061 \begin_layout Standard
9062
9063 \series bold
9064 Focarelli
9065 \end_layout
9066
9067 \end_inset
9068 </cell>
9069 <cell alignment="center" valignment="top" topline="true" usebox="none">
9070 \begin_inset Text
9071
9072 \begin_layout Standard
9073 Paola
9074 \end_layout
9075
9076 \end_inset
9077 </cell>
9078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9079 \begin_inset Text
9080
9081 \begin_layout Standard
9082 111
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 </row>
9088 <row>
9089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9090 \begin_inset Text
9091
9092 \begin_layout Standard
9093
9094 \series bold
9095 Galletti
9096 \end_layout
9097
9098 \end_inset
9099 </cell>
9100 <cell alignment="center" valignment="top" topline="true" usebox="none">
9101 \begin_inset Text
9102
9103 \begin_layout Standard
9104 Oreste
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 111
9114 \end_layout
9115
9116 \end_inset
9117 </cell>
9118 </row>
9119 <row>
9120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9121 \begin_inset Text
9122
9123 \begin_layout Standard
9124
9125 \series bold
9126 Gasparini
9127 \end_layout
9128
9129 \end_inset
9130 </cell>
9131 <cell alignment="center" valignment="top" topline="true" usebox="none">
9132 \begin_inset Text
9133
9134 \begin_layout Standard
9135 Franca
9136 \end_layout
9137
9138 \end_inset
9139 </cell>
9140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9141 \begin_inset Text
9142
9143 \begin_layout Standard
9144 111
9145 \end_layout
9146
9147 \end_inset
9148 </cell>
9149 </row>
9150 <row>
9151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9152 \begin_inset Text
9153
9154 \begin_layout Standard
9155
9156 \series bold
9157 Lassini
9158 \end_layout
9159
9160 \end_inset
9161 </cell>
9162 <cell alignment="center" valignment="top" topline="true" usebox="none">
9163 \begin_inset Text
9164
9165 \begin_layout Standard
9166 Giancarlo
9167 \end_layout
9168
9169 \end_inset
9170 </cell>
9171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9172 \begin_inset Text
9173
9174 \begin_layout Standard
9175 111
9176 \end_layout
9177
9178 \end_inset
9179 </cell>
9180 </row>
9181 <row>
9182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9183 \begin_inset Text
9184
9185 \begin_layout Standard
9186
9187 \series bold
9188 Malfatti
9189 \end_layout
9190
9191 \end_inset
9192 </cell>
9193 <cell alignment="center" valignment="top" topline="true" usebox="none">
9194 \begin_inset Text
9195
9196 \begin_layout Standard
9197 Luciano
9198 \end_layout
9199
9200 \end_inset
9201 </cell>
9202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9203 \begin_inset Text
9204
9205 \begin_layout Standard
9206 111
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 Malfatti
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 Valeriano
9229 \end_layout
9230
9231 \end_inset
9232 </cell>
9233 <cell alignment="center" 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 Meneguzzo
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 Roberto
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 Mezzadra
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 Roberto
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 Pirpamer
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 Erich
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 Pochiesa
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 Paolo
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, 222
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 Radina
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 Claudio
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 Rizzardi
9406 \end_layout
9407
9408 \end_inset
9409 </cell>
9410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9411 \begin_inset Text
9412
9413 \begin_layout Standard
9414 Paolo, 11.
9415  Fürst von Montecompatri, 11.
9416  Fürst von Sulmona und Vivaro, 10.
9417  Fürst von Rossano, 5.
9418  Herzog von Canemorte, 11.
9419  Herzog von Palombara, 5.
9420  Herzog von Castelchiodato,
9421 \begin_inset ERT
9422 status collapsed
9423
9424 \begin_layout Standard
9425
9426 & 111
9427 \backslash
9428
9429 \backslash
9430
9431 \end_layout
9432
9433 \begin_layout Standard
9434
9435 &
9436 \end_layout
9437
9438 \end_inset
9439
9440  11.
9441  Herzog von Poggionativo, 11.
9442  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9443  Graf von Valinfreda, 11.
9444  Baron von Cropalati, 11.
9445  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
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
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 Stuffer
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 Oskar
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 Tacchelli
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 Ugo
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 Tezzele
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 Margit
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 Unterkalmsteiner
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 Frieda
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 Vieider
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 Hilde
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 Vigna
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 Jürgen
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 Weber
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 Maurizio
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 bottomline="true">
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 Winkler
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 Franz
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 endlastfoot="true">
9709 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9710 \begin_inset Text
9711
9712 \begin_layout Standard
9713
9714 \end_layout
9715
9716 \end_inset
9717 </cell>
9718 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9719 \begin_inset Text
9720
9721 \begin_layout Standard
9722
9723 \end_layout
9724
9725 \end_inset
9726 </cell>
9727 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9728 \begin_inset Text
9729
9730 \begin_layout Standard
9731
9732 \end_layout
9733
9734 \end_inset
9735 </cell>
9736 </row>
9737 </lyxtabular>
9738
9739 \end_inset
9740
9741
9742 \end_layout
9743
9744 \begin_layout Section
9745 Multiple Lines Columns and Rows
9746 \end_layout
9747
9748 \begin_layout Subsection
9749 Multiple Lines in Table Cells
9750 \begin_inset LatexCommand label
9751 name "sub:Multiple-Lines-in"
9752
9753 \end_inset
9754
9755
9756 \begin_inset LatexCommand index
9757 name "Multiple Lines in Table Cells"
9758
9759 \end_inset
9760
9761
9762 \begin_inset LatexCommand index
9763 name "Table ! Linebreaks"
9764
9765 \end_inset
9766
9767
9768 \end_layout
9769
9770 \begin_layout Standard
9771 \align center
9772 \begin_inset Float table
9773 placement H
9774 wide false
9775 sideways false
9776 status collapsed
9777
9778 \begin_layout Standard
9779 \begin_inset Caption
9780
9781 \begin_layout Standard
9782 \begin_inset LatexCommand label
9783 name "tab:Table-with-multiple"
9784
9785 \end_inset
9786
9787 Table with multiple lines in cells
9788 \end_layout
9789
9790 \end_inset
9791
9792
9793 \end_layout
9794
9795 \begin_layout Standard
9796 \align center
9797 \begin_inset Tabular
9798 <lyxtabular version="3" rows="3" columns="3">
9799 <features>
9800 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9801 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9802 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9803 <row topline="true">
9804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9805 \begin_inset Text
9806
9807 \begin_layout Standard
9808 multiple
9809 \begin_inset ERT
9810 status collapsed
9811
9812 \begin_layout Standard
9813
9814
9815 \backslash
9816 linebreak 
9817 \end_layout
9818
9819 \end_inset
9820
9821  lines
9822 \end_layout
9823
9824 \end_inset
9825 </cell>
9826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9827 \begin_inset Text
9828
9829 \begin_layout Standard
9830 b
9831 \end_layout
9832
9833 \end_inset
9834 </cell>
9835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9836 \begin_inset Text
9837
9838 \begin_layout Standard
9839 c
9840 \end_layout
9841
9842 \end_inset
9843 </cell>
9844 </row>
9845 <row topline="true">
9846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9847 \begin_inset Text
9848
9849 \begin_layout Standard
9850 d
9851 \end_layout
9852
9853 \end_inset
9854 </cell>
9855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9856 \begin_inset Text
9857
9858 \begin_layout Standard
9859 e
9860 \end_layout
9861
9862 \end_inset
9863 </cell>
9864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9865 \begin_inset Text
9866
9867 \begin_layout Standard
9868 f
9869 \end_layout
9870
9871 \end_inset
9872 </cell>
9873 </row>
9874 <row topline="true" bottomline="true">
9875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9876 \begin_inset Text
9877
9878 \begin_layout Standard
9879 g
9880 \end_layout
9881
9882 \end_inset
9883 </cell>
9884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9885 \begin_inset Text
9886
9887 \begin_layout Standard
9888 h
9889 \end_layout
9890
9891 \end_inset
9892 </cell>
9893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9894 \begin_inset Text
9895
9896 \begin_layout Standard
9897 i
9898 \end_layout
9899
9900 \end_inset
9901 </cell>
9902 </row>
9903 </lyxtabular>
9904
9905 \end_inset
9906
9907
9908 \end_layout
9909
9910 \end_inset
9911
9912
9913 \end_layout
9914
9915 \begin_layout Standard
9916 Adjusting a fixed width for a column, enables to enter text as a paragraph
9917  with multiple lines and hyphenations.
9918 \end_layout
9919
9920 \begin_layout Standard
9921 To produce Table\InsetSpace ~
9922
9923 \begin_inset LatexCommand ref
9924 reference "tab:Table-with-multiple"
9925
9926 \end_inset
9927
9928 , create a 3×3 table, mark the first cell and right-click on it.
9929  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9930 cm and choose centered
9931  for the vertical and horizontal alignment.
9932  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9933 cm, only one line will appear.
9934  To get two lines, we add a line break with the command
9935 \end_layout
9936
9937 \begin_layout Standard
9938
9939 \series bold
9940
9941 \backslash
9942 linebreak
9943 \end_layout
9944
9945 \begin_layout Standard
9946 in ERT.
9947  If the text is wider than the set cell width it will automatically be broken
9948  to several lines.
9949 \end_layout
9950
9951 \begin_layout Standard
9952 To center the text inside the two other cells of the first row vertically,
9953  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9954 cm and choose
9955  centered alignments.
9956  Then do the same for the third cell of the row.
9957 \end_layout
9958
9959 \begin_layout Standard
9960 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9961  by LaTeX if it is the first entry.
9962  Therefore you need to insert something, to make the word not being the
9963  first entry: Add the command
9964 \end_layout
9965
9966 \begin_layout Standard
9967
9968 \series bold
9969
9970 \backslash
9971 hspace{0pt}
9972 \end_layout
9973
9974 \begin_layout Standard
9975 in ERT before the word.
9976  As the space is zero, it doesn't change the output.
9977  Table\InsetSpace ~
9978
9979 \begin_inset LatexCommand ref
9980 reference "tab:Table-with-and"
9981
9982 \end_inset
9983
9984  shows the effect.
9985 \end_layout
9986
9987 \begin_layout Standard
9988 \begin_inset Float table
9989 wide false
9990 sideways false
9991 status open
9992
9993 \begin_layout Standard
9994 \begin_inset Caption
9995
9996 \begin_layout Standard
9997 \begin_inset LatexCommand label
9998 name "tab:Table-with-and"
9999
10000 \end_inset
10001
10002 Table with and without hyphenation
10003 \end_layout
10004
10005 \end_inset
10006
10007
10008 \end_layout
10009
10010 \begin_layout Standard
10011
10012 \hfill
10013
10014 \begin_inset Tabular
10015 <lyxtabular version="3" rows="3" columns="3">
10016 <features>
10017 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10018 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10019 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10020 <row topline="true">
10021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10022 \begin_inset Text
10023
10024 \begin_layout Standard
10025 verylongtablecellword
10026 \end_layout
10027
10028 \end_inset
10029 </cell>
10030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10031 \begin_inset Text
10032
10033 \begin_layout Standard
10034 b
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 c
10044 \end_layout
10045
10046 \end_inset
10047 </cell>
10048 </row>
10049 <row topline="true">
10050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10051 \begin_inset Text
10052
10053 \begin_layout Standard
10054 d
10055 \end_layout
10056
10057 \end_inset
10058 </cell>
10059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10060 \begin_inset Text
10061
10062 \begin_layout Standard
10063 e
10064 \end_layout
10065
10066 \end_inset
10067 </cell>
10068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10069 \begin_inset Text
10070
10071 \begin_layout Standard
10072 f
10073 \end_layout
10074
10075 \end_inset
10076 </cell>
10077 </row>
10078 <row topline="true" bottomline="true">
10079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10080 \begin_inset Text
10081
10082 \begin_layout Standard
10083 g
10084 \end_layout
10085
10086 \end_inset
10087 </cell>
10088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10089 \begin_inset Text
10090
10091 \begin_layout Standard
10092 h
10093 \end_layout
10094
10095 \end_inset
10096 </cell>
10097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10098 \begin_inset Text
10099
10100 \begin_layout Standard
10101 i
10102 \end_layout
10103
10104 \end_inset
10105 </cell>
10106 </row>
10107 </lyxtabular>
10108
10109 \end_inset
10110
10111
10112 \hfill
10113
10114 \begin_inset Tabular
10115 <lyxtabular version="3" rows="3" columns="3">
10116 <features>
10117 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10118 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10119 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10120 <row topline="true">
10121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10122 \begin_inset Text
10123
10124 \begin_layout Standard
10125 \begin_inset ERT
10126 status collapsed
10127
10128 \begin_layout Standard
10129
10130
10131 \backslash
10132 hspace{0pt}
10133 \end_layout
10134
10135 \end_inset
10136
10137 verylongtablecellword
10138 \end_layout
10139
10140 \end_inset
10141 </cell>
10142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10143 \begin_inset Text
10144
10145 \begin_layout Standard
10146 b
10147 \end_layout
10148
10149 \end_inset
10150 </cell>
10151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10152 \begin_inset Text
10153
10154 \begin_layout Standard
10155 c
10156 \end_layout
10157
10158 \end_inset
10159 </cell>
10160 </row>
10161 <row topline="true">
10162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10163 \begin_inset Text
10164
10165 \begin_layout Standard
10166 d
10167 \end_layout
10168
10169 \end_inset
10170 </cell>
10171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10172 \begin_inset Text
10173
10174 \begin_layout Standard
10175 e
10176 \end_layout
10177
10178 \end_inset
10179 </cell>
10180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10181 \begin_inset Text
10182
10183 \begin_layout Standard
10184 f
10185 \end_layout
10186
10187 \end_inset
10188 </cell>
10189 </row>
10190 <row topline="true" bottomline="true">
10191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10192 \begin_inset Text
10193
10194 \begin_layout Standard
10195 g
10196 \end_layout
10197
10198 \end_inset
10199 </cell>
10200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10201 \begin_inset Text
10202
10203 \begin_layout Standard
10204 h
10205 \end_layout
10206
10207 \end_inset
10208 </cell>
10209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10210 \begin_inset Text
10211
10212 \begin_layout Standard
10213 i
10214 \end_layout
10215
10216 \end_inset
10217 </cell>
10218 </row>
10219 </lyxtabular>
10220
10221 \end_inset
10222
10223
10224 \hfill
10225
10226 \end_layout
10227
10228 \end_inset
10229
10230
10231 \end_layout
10232
10233 \begin_layout Standard
10234
10235 \newpage
10236
10237 \end_layout
10238
10239 \begin_layout Subsection
10240 Multicolumns
10241 \begin_inset LatexCommand label
10242 name "sub:Multicolumns"
10243
10244 \end_inset
10245
10246
10247 \begin_inset LatexCommand index
10248 name "Multicolumns"
10249
10250 \end_inset
10251
10252
10253 \begin_inset LatexCommand index
10254 name "Table ! Multicolumns"
10255
10256 \end_inset
10257
10258
10259 \end_layout
10260
10261 \begin_layout Subsubsection
10262 Multicolumn Basics
10263 \end_layout
10264
10265 \begin_layout Standard
10266 To span a cell over multiple columns, mark as much cells within a line that
10267  should be one spanned cell and use either the table-toolbar button 
10268 \begin_inset Graphics
10269         filename ../images/tabular-feature_multicolumn.xpm
10270         scale 85
10271
10272 \end_inset
10273
10274 , or the menu 
10275 \family sans
10276 Edit\SpecialChar \menuseparator
10277 Table\SpecialChar \menuseparator
10278 Multicolumn
10279 \family default
10280 , or right click on the marked cells and choose multicolumn in the appearing
10281  table dialog under the tab 
10282 \family sans
10283 Table Settings
10284 \family default
10285 .
10286 \end_layout
10287
10288 \begin_layout Standard
10289 Multicolumns have there own cell settings.
10290  That means changing cell borders, cell alignment, and the width only affects
10291  the multicolumn.
10292  Here is an example table with a multicolumn cell in the first row and one
10293  in the last row without the upper border:
10294 \end_layout
10295
10296 \begin_layout Standard
10297 \align center
10298 \begin_inset Tabular
10299 <lyxtabular version="3" rows="3" columns="4">
10300 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10301 <column alignment="center" valignment="top" leftline="true" width="0pt">
10302 <column alignment="center" valignment="middle" leftline="true" width="0">
10303 <column alignment="center" valignment="top" leftline="true" width="0in">
10304 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10305 <row topline="true" bottomline="true">
10306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10307 \begin_inset Text
10308
10309 \begin_layout Standard
10310 abc
10311 \end_layout
10312
10313 \end_inset
10314 </cell>
10315 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10316 \begin_inset Text
10317
10318 \begin_layout Standard
10319 def
10320 \lang ngerman
10321  
10322 \lang english
10323 ghi
10324 \end_layout
10325
10326 \end_inset
10327 </cell>
10328 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10329 \begin_inset Text
10330
10331 \begin_layout Standard
10332
10333 \end_layout
10334
10335 \end_inset
10336 </cell>
10337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10338 \begin_inset Text
10339
10340 \begin_layout Standard
10341 jkl
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
10353 \family roman
10354 \series medium
10355 \shape up
10356 \size normal
10357 \emph off
10358 \bar no
10359 \noun off
10360 \color none
10361 A
10362 \end_layout
10363
10364 \end_inset
10365 </cell>
10366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10367 \begin_inset Text
10368
10369 \begin_layout Standard
10370 B
10371 \end_layout
10372
10373 \end_inset
10374 </cell>
10375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10376 \begin_inset Text
10377
10378 \begin_layout Standard
10379 C
10380 \end_layout
10381
10382 \end_inset
10383 </cell>
10384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10385 \begin_inset Text
10386
10387 \begin_layout Standard
10388 D
10389 \end_layout
10390
10391 \end_inset
10392 </cell>
10393 </row>
10394 <row topline="true" bottomline="true">
10395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10396 \begin_inset Text
10397
10398 \begin_layout Standard
10399 1
10400 \end_layout
10401
10402 \end_inset
10403 </cell>
10404 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10405 \begin_inset Text
10406
10407 \begin_layout Standard
10408 2
10409 \end_layout
10410
10411 \end_inset
10412 </cell>
10413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10414 \begin_inset Text
10415
10416 \begin_layout Standard
10417 3
10418 \end_layout
10419
10420 \end_inset
10421 </cell>
10422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10423 \begin_inset Text
10424
10425 \begin_layout Standard
10426 4
10427 \end_layout
10428
10429 \end_inset
10430 </cell>
10431 </row>
10432 </lyxtabular>
10433
10434 \end_inset
10435
10436
10437 \end_layout
10438
10439 \begin_layout Subsubsection
10440 Multicolumn Calculations
10441 \begin_inset LatexCommand label
10442 name "sub:Multicolumn-Calculations"
10443
10444 \end_inset
10445
10446
10447 \begin_inset LatexCommand index
10448 name "Multicolumns ! Calculations"
10449
10450 \end_inset
10451
10452
10453 \end_layout
10454
10455 \begin_layout Standard
10456 LyX supports multicolumns directly, but we have to take notice of the cell
10457  width of the columns spanned by the multicolumn cell.
10458 \end_layout
10459
10460 \begin_layout Standard
10461 \begin_inset Float table
10462 wide false
10463 sideways false
10464 status open
10465
10466 \begin_layout Standard
10467 \begin_inset Caption
10468
10469 \begin_layout Standard
10470 \begin_inset LatexCommand label
10471 name "tab:Table-with-centered"
10472
10473 \end_inset
10474
10475 Table with centered multicolumn text above two columns that have exactly
10476  half the width of the multicolumn cell
10477 \begin_inset OptArg
10478 status collapsed
10479
10480 \begin_layout Standard
10481 Perfect multicolumn table
10482 \end_layout
10483
10484 \end_inset
10485
10486
10487 \end_layout
10488
10489 \end_inset
10490
10491
10492 \end_layout
10493
10494 \begin_layout Standard
10495 \align center
10496 \begin_inset Tabular
10497 <lyxtabular version="3" rows="3" columns="3">
10498 <features>
10499 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10500 <column alignment="center" valignment="middle" leftline="true" width="0">
10501 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10502 <row topline="true">
10503 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10504 \begin_inset Text
10505
10506 \begin_layout Standard
10507 multiple lines multicolumn
10508 \end_layout
10509
10510 \end_inset
10511 </cell>
10512 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10513 \begin_inset Text
10514
10515 \begin_layout Standard
10516
10517 \end_layout
10518
10519 \end_inset
10520 </cell>
10521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10522 \begin_inset Text
10523
10524 \begin_layout Standard
10525 c
10526 \end_layout
10527
10528 \end_inset
10529 </cell>
10530 </row>
10531 <row topline="true">
10532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10533 \begin_inset Text
10534
10535 \begin_layout Standard
10536 d
10537 \end_layout
10538
10539 \end_inset
10540 </cell>
10541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10542 \begin_inset Text
10543
10544 \begin_layout Standard
10545 e
10546 \end_layout
10547
10548 \end_inset
10549 </cell>
10550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10551 \begin_inset Text
10552
10553 \begin_layout Standard
10554 f
10555 \end_layout
10556
10557 \end_inset
10558 </cell>
10559 </row>
10560 <row topline="true" bottomline="true">
10561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10562 \begin_inset Text
10563
10564 \begin_layout Standard
10565 g
10566 \end_layout
10567
10568 \end_inset
10569 </cell>
10570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10571 \begin_inset Text
10572
10573 \begin_layout Standard
10574 h
10575 \end_layout
10576
10577 \end_inset
10578 </cell>
10579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10580 \begin_inset Text
10581
10582 \begin_layout Standard
10583 i
10584 \end_layout
10585
10586 \end_inset
10587 </cell>
10588 </row>
10589 </lyxtabular>
10590
10591 \end_inset
10592
10593
10594 \end_layout
10595
10596 \end_inset
10597
10598
10599 \end_layout
10600
10601 \begin_layout Standard
10602 To create for example Table\InsetSpace ~
10603
10604 \begin_inset LatexCommand ref
10605 reference "tab:Table-with-centered"
10606
10607 \end_inset
10608
10609 , mark the first two cells in the first row a 3×3 table and right-click
10610  on them.
10611  Now choose for this cell 
10612 \emph on
10613 multicolumn
10614 \emph default
10615
10616 \emph on
10617 centered alignment
10618 \emph default
10619  and a width of 2.5\InsetSpace \thinspace{}
10620 cm in the table dialog.
10621  The spanned columns should have exactly half the width of the multicolumn
10622  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10623 cm for the first column.
10624  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10625 cm (multicolumn
10626  width - width of first column).
10627  This was done for Table\InsetSpace ~
10628
10629 \begin_inset LatexCommand ref
10630 reference "tab:Table-without-half"
10631
10632 \end_inset
10633
10634 .
10635 \end_layout
10636
10637 \begin_layout Standard
10638 \begin_inset Float table
10639 wide false
10640 sideways false
10641 status open
10642
10643 \begin_layout Standard
10644 \begin_inset Caption
10645
10646 \begin_layout Standard
10647 \begin_inset LatexCommand label
10648 name "tab:Table-without-half"
10649
10650 \end_inset
10651
10652 Table where the spanned table columns have not exactly half the width of
10653  the multicolumn cell
10654 \begin_inset OptArg
10655 status collapsed
10656
10657 \begin_layout Standard
10658 Imperfect multicolumn table
10659 \end_layout
10660
10661 \end_inset
10662
10663
10664 \end_layout
10665
10666 \end_inset
10667
10668
10669 \end_layout
10670
10671 \begin_layout Standard
10672 \align center
10673 \begin_inset Tabular
10674 <lyxtabular version="3" rows="3" columns="3">
10675 <features>
10676 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10677 <column alignment="center" valignment="top" leftline="true" width="0">
10678 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10679 <row topline="true" bottomline="true">
10680 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10681 \begin_inset Text
10682
10683 \begin_layout Standard
10684 multiple lines multicolumn
10685 \end_layout
10686
10687 \end_inset
10688 </cell>
10689 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10690 \begin_inset Text
10691
10692 \begin_layout Standard
10693
10694 \end_layout
10695
10696 \end_inset
10697 </cell>
10698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10699 \begin_inset Text
10700
10701 \begin_layout Standard
10702 c
10703 \end_layout
10704
10705 \end_inset
10706 </cell>
10707 </row>
10708 <row topline="true">
10709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10710 \begin_inset Text
10711
10712 \begin_layout Standard
10713 d
10714 \end_layout
10715
10716 \end_inset
10717 </cell>
10718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10719 \begin_inset Text
10720
10721 \begin_layout Standard
10722 e
10723 \end_layout
10724
10725 \end_inset
10726 </cell>
10727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10728 \begin_inset Text
10729
10730 \begin_layout Standard
10731 f
10732 \end_layout
10733
10734 \end_inset
10735 </cell>
10736 </row>
10737 <row topline="true" bottomline="true">
10738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10739 \begin_inset Text
10740
10741 \begin_layout Standard
10742 g
10743 \end_layout
10744
10745 \end_inset
10746 </cell>
10747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10748 \begin_inset Text
10749
10750 \begin_layout Standard
10751 h
10752 \end_layout
10753
10754 \end_inset
10755 </cell>
10756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10757 \begin_inset Text
10758
10759 \begin_layout Standard
10760 i
10761 \end_layout
10762
10763 \end_inset
10764 </cell>
10765 </row>
10766 </lyxtabular>
10767
10768 \end_inset
10769
10770
10771 \end_layout
10772
10773 \end_inset
10774
10775
10776 \end_layout
10777
10778 \begin_layout Standard
10779 You can see that the first column has not the half width of the multicolumn
10780  cell, it is a bit bigger.
10781  The reason is that the given width of a cell 
10782 \begin_inset Formula $W_{g}$
10783 \end_inset
10784
10785  is not its total width 
10786 \begin_inset Formula $W_{\mathrm{tot}}$
10787 \end_inset
10788
10789  because a cell is always a bit larger than its given width.
10790  Appendix\InsetSpace ~
10791
10792 \begin_inset LatexCommand eqref
10793 reference "cha:Explanation-of-Equation"
10794
10795 \end_inset
10796
10797  explains it in detail.
10798 \end_layout
10799
10800 \begin_layout Standard
10801 The needed given width 
10802 \begin_inset Formula $W_{g\, n}$
10803 \end_inset
10804
10805  when 
10806 \emph on
10807 n
10808 \emph default
10809  columns are spanned columns can be calculated, so that each column has
10810  a total width of 
10811 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10812 \end_inset
10813
10814 :
10815 \begin_inset Formula \begin{equation}
10816 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10817
10818 \end_inset
10819
10820
10821 \end_layout
10822
10823 \begin_layout Standard
10824 In our case we have 
10825 \begin_inset Formula $n=2$
10826 \end_inset
10827
10828
10829 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10830 \end_inset
10831
10832 cm and the default values for the lengths, so that equation 
10833 \begin_inset LatexCommand ref
10834 reference "eq:Wgn"
10835
10836 \end_inset
10837
10838  becomes
10839 \begin_inset Formula \begin{equation}
10840 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10841
10842 \end_inset
10843
10844
10845 \end_layout
10846
10847 \begin_layout Standard
10848 To enable calculations in LaTeX, the LaTeX-package 
10849 \series bold
10850 calc
10851 \series default
10852  must be loaded with the document preamble line
10853 \begin_inset LatexCommand index
10854 name "LaTeX-packages ! calc"
10855
10856 \end_inset
10857
10858
10859 \end_layout
10860
10861 \begin_layout Standard
10862
10863 \series bold
10864
10865 \backslash
10866 usepackage{calc}
10867 \end_layout
10868
10869 \begin_layout Standard
10870 LyX does not allow to calculate lengths in the width-field of the table
10871  dialog.
10872  Therefore you have to format the column by inserting a LaTeX-argument in
10873  the dialog.
10874  Here is an overview about the arguments:
10875 \end_layout
10876
10877 \begin_layout Itemize
10878
10879 \series bold
10880 p{width}
10881 \series default
10882  creates cell with a fixed width, its text is vertically top-aligned
10883 \end_layout
10884
10885 \begin_layout Itemize
10886
10887 \series bold
10888 m{width}
10889 \series default
10890  creates cell with a fixed width, its text is vertically centered
10891 \end_layout
10892
10893 \begin_layout Itemize
10894
10895 \series bold
10896 b{width}
10897 \series default
10898  creates cell with a fixed width, its text is vertically bottom-aligned
10899 \end_layout
10900
10901 \begin_layout Standard
10902 By entering a LaTeX-argument, all cell properties set in the table dialog
10903  are overwritten.
10904  
10905 \begin_inset Note Greyedout
10906 status open
10907
10908 \begin_layout Standard
10909
10910 \series bold
10911 Note:
10912 \series default
10913  Due to a bug, LyX shows the overwritten properties anyway.
10914 \end_layout
10915
10916 \end_inset
10917
10918  As the text should be horizontally centered, the command 
10919 \series bold
10920
10921 \backslash
10922 centering
10923 \series default
10924  is added.
10925  You can now enter the following LaTeX-argument for the first spanned column:
10926 \end_layout
10927
10928 \begin_layout Standard
10929
10930 \series bold
10931 |>{
10932 \backslash
10933 centering}m{1.25cm-6.2pt}
10934 \end_layout
10935
10936 \begin_layout Standard
10937 The bar 
10938 \begin_inset Quotes eld
10939 \end_inset
10940
10941
10942 \series bold
10943 |
10944 \series default
10945
10946 \begin_inset Quotes erd
10947 \end_inset
10948
10949  at the beginning draws the border line and the command 
10950 \series bold
10951 >{ }
10952 \series default
10953  means, that the commands inside the braces are applied before the cell
10954  is created.
10955 \end_layout
10956
10957 \begin_layout Standard
10958 Although we have chosen centered alignment for the text of the multicolumn
10959  cell, it is still left aligned.
10960  This is because LyX only applies the alignment to single columns.
10961  So we have to use for the multicolumn the LaTeX-argument
10962 \end_layout
10963
10964 \begin_layout Standard
10965
10966 \series bold
10967 |>{
10968 \backslash
10969 centering}m{2.5cm}|
10970 \end_layout
10971
10972 \begin_layout Subsection
10973 Multirows
10974 \begin_inset LatexCommand index
10975 name "Multirows"
10976
10977 \end_inset
10978
10979
10980 \begin_inset LatexCommand index
10981 name "Table ! Multirows"
10982
10983 \end_inset
10984
10985
10986 \begin_inset LatexCommand index
10987 name "LaTeX-packages ! multirow"
10988
10989 \end_inset
10990
10991
10992 \end_layout
10993
10994 \begin_layout Standard
10995 In contrary to multicolumns multirows are not yet supported by LyX so a
10996  bit of ERT needs to be used.
10997  To use multirows load the LaTeX-package 
10998 \series bold
10999 multirow
11000 \series default
11001  in your document preamble with the command
11002 \end_layout
11003
11004 \begin_layout Standard
11005
11006 \series bold
11007
11008 \backslash
11009 usepackage{multirow}
11010 \end_layout
11011
11012 \begin_layout Standard
11013 Multirows are created with the command
11014 \end_layout
11015
11016 \begin_layout Standard
11017
11018 \series bold
11019
11020 \backslash
11021 multirow{number of rows}{cell width}{cell entry}
11022 \end_layout
11023
11024 \begin_layout Standard
11025 To create the following table:
11026 \end_layout
11027
11028 \begin_layout Standard
11029 \align center
11030 \begin_inset ERT
11031 status collapsed
11032
11033 \begin_layout Standard
11034
11035
11036 \backslash
11037 renewcommand{
11038 \backslash
11039 multirowsetup}{
11040 \backslash
11041 centering}
11042 \end_layout
11043
11044 \end_inset
11045
11046
11047 \begin_inset Tabular
11048 <lyxtabular version="3" rows="3" columns="3">
11049 <features>
11050 <column alignment="center" valignment="top" leftline="true" width="0">
11051 <column alignment="center" valignment="top" leftline="true" width="0">
11052 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11053 <row topline="true">
11054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11055 \begin_inset Text
11056
11057 \begin_layout Standard
11058 a
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 b
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 c
11077 \end_layout
11078
11079 \end_inset
11080 </cell>
11081 </row>
11082 <row topline="true">
11083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11084 \begin_inset Text
11085
11086 \begin_layout Standard
11087 \begin_inset ERT
11088 status collapsed
11089
11090 \begin_layout Standard
11091
11092
11093 \backslash
11094 multirow{2}{2.5cm}{
11095 \end_layout
11096
11097 \end_inset
11098
11099 multirow entry
11100 \begin_inset ERT
11101 status collapsed
11102
11103 \begin_layout Standard
11104
11105 }
11106 \end_layout
11107
11108 \end_inset
11109
11110
11111 \end_layout
11112
11113 \end_inset
11114 </cell>
11115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11116 \begin_inset Text
11117
11118 \begin_layout Standard
11119 e
11120 \end_layout
11121
11122 \end_inset
11123 </cell>
11124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11125 \begin_inset Text
11126
11127 \begin_layout Standard
11128 f
11129 \end_layout
11130
11131 \end_inset
11132 </cell>
11133 </row>
11134 <row topline="true" bottomline="true">
11135 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11136 \begin_inset Text
11137
11138 \begin_layout Standard
11139
11140 \end_layout
11141
11142 \end_inset
11143 </cell>
11144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11145 \begin_inset Text
11146
11147 \begin_layout Standard
11148 h
11149 \end_layout
11150
11151 \end_inset
11152 </cell>
11153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11154 \begin_inset Text
11155
11156 \begin_layout Standard
11157 i
11158 \end_layout
11159
11160 \end_inset
11161 </cell>
11162 </row>
11163 </lyxtabular>
11164
11165 \end_inset
11166
11167
11168 \begin_inset ERT
11169 status collapsed
11170
11171 \begin_layout Standard
11172
11173
11174 \backslash
11175 renewcommand{
11176 \backslash
11177 multirowsetup}{
11178 \backslash
11179 raggedright}
11180 \end_layout
11181
11182 \end_inset
11183
11184
11185 \end_layout
11186
11187 \begin_layout Standard
11188 create a 3×3 table.
11189  To get rid of the line above the last cell in the first column, the cell
11190  is marked as multicolumn and the upper border is unset.
11191  The multirow is now created in the second row of the first column by inserting
11192  there the command
11193 \end_layout
11194
11195 \begin_layout Standard
11196
11197 \series bold
11198
11199 \backslash
11200 multirow{2}{2.5cm}{
11201 \end_layout
11202
11203 \begin_layout Standard
11204 as ERT.
11205  According to the command parameters the multirow spans now two rows and
11206  has a width of 2.5\InsetSpace \thinspace{}
11207 cm.
11208  The content of the multirow cell follows outside the ERT box and the command
11209  is finished with a right brace 
11210 \series bold
11211 }
11212 \series default
11213  in another ERT-box behind the text.
11214 \end_layout
11215
11216 \begin_layout Standard
11217
11218 \series bold
11219
11220 \backslash
11221 multirow
11222 \series default
11223  left-aligns its content by default.
11224  To override the default, renew the command 
11225 \series bold
11226
11227 \backslash
11228 multirowsetup
11229 \series default
11230  with the command
11231 \end_layout
11232
11233 \begin_layout Standard
11234
11235 \series bold
11236
11237 \backslash
11238 renewcommand{
11239 \backslash
11240 multirowsetup}{
11241 \backslash
11242 centering}
11243 \end_layout
11244
11245 \begin_layout Standard
11246 in ERT in the document preamble.
11247  Then all entries of multirow cells in the document are centered.
11248  If centering is only needed for several tables, you can renew the command
11249  in an ERT box just before the table instead of the preamble.
11250  If the text should be right-aligned, replace 
11251 \series bold
11252
11253 \backslash
11254 centering
11255 \series default
11256  by 
11257 \series bold
11258
11259 \backslash
11260 raggedleft
11261 \series default
11262 .
11263  To return to left-alignment 
11264 \series bold
11265
11266 \backslash
11267 raggedright
11268 \series default
11269  is used.
11270 \end_layout
11271
11272 \begin_layout Section
11273 Formal Tables
11274 \begin_inset LatexCommand label
11275 name "sec:Formal-Tables"
11276
11277 \end_inset
11278
11279
11280 \begin_inset LatexCommand index
11281 name "Table ! Formal"
11282
11283 \end_inset
11284
11285
11286 \end_layout
11287
11288 \begin_layout Standard
11289 Tables are often typeset in books similar to Table\InsetSpace ~
11290
11291 \begin_inset LatexCommand ref
11292 reference "tab:Example-booktabs-table"
11293
11294 \end_inset
11295
11296 .
11297  This kind of tables is called 
11298 \begin_inset Quotes eld
11299 \end_inset
11300
11301
11302 \emph on
11303 formal
11304 \emph default
11305
11306 \begin_inset Quotes erd
11307 \end_inset
11308
11309 .
11310  To make a table a formal table use the option 
11311 \family sans
11312 Formal
11313 \family default
11314  in the 
11315 \family sans
11316 Borders
11317 \family default
11318  tab of the table dialog.
11319 \end_layout
11320
11321 \begin_layout Standard
11322 \begin_inset Float table
11323 placement h
11324 wide false
11325 sideways false
11326 status open
11327
11328 \begin_layout Standard
11329 \begin_inset Caption
11330
11331 \begin_layout Standard
11332 \begin_inset LatexCommand label
11333 name "tab:Example-booktabs-table"
11334
11335 \end_inset
11336
11337 Example booktabs-table
11338 \end_layout
11339
11340 \end_inset
11341
11342
11343 \end_layout
11344
11345 \begin_layout Standard
11346 \align center
11347 \begin_inset Tabular
11348 <lyxtabular version="3" rows="8" columns="4">
11349 <features booktabs="true">
11350 <column alignment="center" valignment="top" rightline="true" width="0">
11351 <column alignment="center" valignment="top" width="0">
11352 <column alignment="center" valignment="top" width="0">
11353 <column alignment="center" valignment="top" width="0">
11354 <row topline="true">
11355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11356 \begin_inset Text
11357
11358 \begin_layout Standard
11359 System
11360 \end_layout
11361
11362 \end_inset
11363 </cell>
11364 <cell alignment="center" valignment="top" topline="true" usebox="none">
11365 \begin_inset Text
11366
11367 \begin_layout Standard
11368 Medipix
11369 \begin_inset Formula $\,$
11370 \end_inset
11371
11372 1
11373 \end_layout
11374
11375 \end_inset
11376 </cell>
11377 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11378 \begin_inset Text
11379
11380 \begin_layout Standard
11381 Medipix
11382 \begin_inset Formula $\,$
11383 \end_inset
11384
11385 2
11386 \end_layout
11387
11388 \end_inset
11389 </cell>
11390 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11391 \begin_inset Text
11392
11393 \begin_layout Standard
11394
11395 \end_layout
11396
11397 \end_inset
11398 </cell>
11399 </row>
11400 <row>
11401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11402 \begin_inset Text
11403
11404 \begin_layout Standard
11405 \begin_inset ERT
11406 status collapsed
11407
11408 \begin_layout Standard
11409
11410
11411 \backslash
11412 cmidrule(r){2-2}
11413 \end_layout
11414
11415 \end_inset
11416
11417
11418 \begin_inset ERT
11419 status collapsed
11420
11421 \begin_layout Standard
11422
11423
11424 \backslash
11425 cmidrule(l){3-4}
11426 \end_layout
11427
11428 \end_inset
11429
11430 Detector thickness [µm]
11431 \end_layout
11432
11433 \end_inset
11434 </cell>
11435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11436 \begin_inset Text
11437
11438 \begin_layout Standard
11439 300
11440 \end_layout
11441
11442 \end_inset
11443 </cell>
11444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11445 \begin_inset Text
11446
11447 \begin_layout Standard
11448 300
11449 \end_layout
11450
11451 \end_inset
11452 </cell>
11453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11454 \begin_inset Text
11455
11456 \begin_layout Standard
11457 700
11458 \end_layout
11459
11460 \end_inset
11461 </cell>
11462 </row>
11463 <row topline="true">
11464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11465 \begin_inset Text
11466
11467 \begin_layout Standard
11468 Edge angle [°]
11469 \end_layout
11470
11471 \end_inset
11472 </cell>
11473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11474 \begin_inset Text
11475
11476 \begin_layout Standard
11477 3.55
11478 \end_layout
11479
11480 \end_inset
11481 </cell>
11482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11483 \begin_inset Text
11484
11485 \begin_layout Standard
11486 2.71
11487 \end_layout
11488
11489 \end_inset
11490 </cell>
11491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11492 \begin_inset Text
11493
11494 \begin_layout Standard
11495 7.99
11496 \end_layout
11497
11498 \end_inset
11499 </cell>
11500 </row>
11501 <row topspace="default">
11502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11503 \begin_inset Text
11504
11505 \begin_layout Standard
11506 Spatial resolution [µm]
11507 \end_layout
11508
11509 \end_inset
11510 </cell>
11511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11512 \begin_inset Text
11513
11514 \begin_layout Standard
11515 4.26
11516 \end_layout
11517
11518 \end_inset
11519 </cell>
11520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11521 \begin_inset Text
11522
11523 \begin_layout Standard
11524 10.17
11525 \end_layout
11526
11527 \end_inset
11528 </cell>
11529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11530 \begin_inset Text
11531
11532 \begin_layout Standard
11533 10.56
11534 \end_layout
11535
11536 \end_inset
11537 </cell>
11538 </row>
11539 <row topspace="default">
11540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11541 \begin_inset Text
11542
11543 \begin_layout Standard
11544 MTF at 
11545 \begin_inset Formula $f_{\mathrm{max}}$
11546 \end_inset
11547
11548
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11554 \begin_inset Text
11555
11556 \begin_layout Standard
11557 0.53
11558 \end_layout
11559
11560 \end_inset
11561 </cell>
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11563 \begin_inset Text
11564
11565 \begin_layout Standard
11566 0.37
11567 \end_layout
11568
11569 \end_inset
11570 </cell>
11571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11572 \begin_inset Text
11573
11574 \begin_layout Standard
11575 0.39
11576 \end_layout
11577
11578 \end_inset
11579 </cell>
11580 </row>
11581 <row topspace="default">
11582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11583 \begin_inset Text
11584
11585 \begin_layout Standard
11586 \begin_inset ERT
11587 status collapsed
11588
11589 \begin_layout Standard
11590
11591
11592 \backslash
11593 cmidrule(l{10pt}){1-1}
11594 \end_layout
11595
11596 \end_inset
11597
11598 LSF-spatial resolution
11599 \end_layout
11600
11601 \end_inset
11602 </cell>
11603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11604 \begin_inset Text
11605
11606 \begin_layout Standard
11607
11608 \end_layout
11609
11610 \end_inset
11611 </cell>
11612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11613 \begin_inset Text
11614
11615 \begin_layout Standard
11616
11617 \end_layout
11618
11619 \end_inset
11620 </cell>
11621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11622 \begin_inset Text
11623
11624 \begin_layout Standard
11625
11626 \end_layout
11627
11628 \end_inset
11629 </cell>
11630 </row>
11631 <row>
11632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11633 \begin_inset Text
11634
11635 \begin_layout Standard
11636 in µm
11637 \end_layout
11638
11639 \end_inset
11640 </cell>
11641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11642 \begin_inset Text
11643
11644 \begin_layout Standard
11645 129.7
11646 \end_layout
11647
11648 \end_inset
11649 </cell>
11650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11651 \begin_inset Text
11652
11653 \begin_layout Standard
11654 52.75
11655 \end_layout
11656
11657 \end_inset
11658 </cell>
11659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11660 \begin_inset Text
11661
11662 \begin_layout Standard
11663 50.78
11664 \end_layout
11665
11666 \end_inset
11667 </cell>
11668 </row>
11669 <row bottomline="true">
11670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11671 \begin_inset Text
11672
11673 \begin_layout Standard
11674 in % of pixel size
11675 \end_layout
11676
11677 \end_inset
11678 </cell>
11679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11680 \begin_inset Text
11681
11682 \begin_layout Standard
11683 76.3
11684 \end_layout
11685
11686 \end_inset
11687 </cell>
11688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11689 \begin_inset Text
11690
11691 \begin_layout Standard
11692 95.9
11693 \end_layout
11694
11695 \end_inset
11696 </cell>
11697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11698 \begin_inset Text
11699
11700 \begin_layout Standard
11701 92.3
11702 \end_layout
11703
11704 \end_inset
11705 </cell>
11706 </row>
11707 </lyxtabular>
11708
11709 \end_inset
11710
11711
11712 \end_layout
11713
11714 \end_inset
11715
11716
11717 \end_layout
11718
11719 \begin_layout Standard
11720 Spaces to table rows can be added using the 
11721 \family sans
11722 Borders
11723 \family default
11724  tab of the table dialog as described in section\InsetSpace ~
11725
11726 \begin_inset LatexCommand ref
11727 reference "sub:Row-Spacing"
11728
11729 \end_inset
11730
11731 .
11732 \end_layout
11733
11734 \begin_layout Standard
11735 In contrary to normal tables, formal tables have no vertical table lines.
11736  The horizontal table lines can be set like for normal tables but they appear
11737  with different width in the output:
11738 \newline
11739 The first and the last table line have
11740  a default width of 0.08\InsetSpace \thinspace{}
11741 em while the other lines have a default width of
11742  0.05\InsetSpace \thinspace{}
11743 em.
11744 \end_layout
11745
11746 \begin_layout Standard
11747 The default widths can be changed with the following preamble lines
11748 \end_layout
11749
11750 \begin_layout Standard
11751
11752 \series bold
11753
11754 \backslash
11755 let
11756 \backslash
11757 mytoprule
11758 \backslash
11759 toprule
11760 \newline
11761
11762 \backslash
11763 renewcommand{
11764 \backslash
11765 toprule}{
11766 \backslash
11767 mytoprule[width]}
11768 \end_layout
11769
11770 \begin_layout Standard
11771 This example is for the first line, the so called toprule.
11772  If you want to change the width for the last line, replace 
11773 \series bold
11774 toprule
11775 \series default
11776  by 
11777 \series bold
11778 bottomrule
11779 \series default
11780 .
11781  To change the width for the other lines replace 
11782 \series bold
11783 toprule
11784 \series default
11785  by 
11786 \series bold
11787 midrule
11788 \series default
11789 .
11790  You can use all units listed in appendix\InsetSpace ~
11791
11792 \begin_inset LatexCommand ref
11793 reference "cha:Units-available-in"
11794
11795 \end_inset
11796
11797  to set the width.
11798 \end_layout
11799
11800 \begin_layout Standard
11801 Lines that don't span over all table columns can be created by setting a
11802  table line for multicolumn cells.
11803  LyX will then internally use the command 
11804 \series bold
11805
11806 \backslash
11807 cmidrule
11808 \series default
11809  to create this line.
11810  Its full scheme is
11811 \end_layout
11812
11813 \begin_layout Standard
11814
11815 \series bold
11816
11817 \backslash
11818 cmidrule[width](trim){startcol-endcol}
11819 \end_layout
11820
11821 \begin_layout Standard
11822 The options of 
11823 \series bold
11824
11825 \backslash
11826 cmidrule
11827 \series default
11828  are are currently not supported by LyX so you have to use ERT to be able
11829  to use them.
11830  
11831 \series bold
11832
11833 \backslash
11834 cmidrule
11835 \series default
11836 s can manually be created by inserting the command as ERT as first cell
11837  entry of the first cell of a row.
11838  The line is then drawn in the output above the current row.
11839 \end_layout
11840
11841 \begin_layout Standard
11842 The default for the width is 0.03\InsetSpace \thinspace{}
11843 em.
11844  Startcol is the number of the column where the line starts and endcol the
11845  column number where the line ends.
11846  The endcol always needs to be specified, also when the line should span
11847  only one column.
11848  The optional parameter trim could be either 
11849 \emph on
11850 l{trimwidth}
11851 \emph default
11852 , or 
11853 \emph on
11854 r{trimwidth}
11855 \emph default
11856  where the trimwidth is also optional.
11857  Using for example the parameter 
11858 \emph on
11859 l{2pt}
11860 \emph default
11861  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11862 pt.
11863  If you don't specify the trimwidth the lines are trimmed by the default
11864  of 0.5\InsetSpace \thinspace{}
11865 em.
11866 \end_layout
11867
11868 \begin_layout Standard
11869 \begin_inset VSpace bigskip
11870 \end_inset
11871
11872 Table\InsetSpace ~
11873
11874 \begin_inset LatexCommand ref
11875 reference "tab:Example-booktabs-table"
11876
11877 \end_inset
11878
11879  was created using the commands
11880 \end_layout
11881
11882 \begin_layout Standard
11883
11884 \series bold
11885
11886 \backslash
11887 cmidrule(r){2-2}
11888 \backslash
11889 cmidrule(l){3-4}
11890 \end_layout
11891
11892 \begin_layout Standard
11893 at the beginning of the in the second row and
11894 \end_layout
11895
11896 \begin_layout Standard
11897
11898 \series bold
11899
11900 \backslash
11901 cmidrule(l{10pt}){1-1}
11902 \end_layout
11903
11904 \begin_layout Standard
11905 in the sixth row.
11906 \end_layout
11907
11908 \begin_layout Standard
11909
11910 \end_layout
11911
11912 \begin_layout Standard
11913 \begin_inset VSpace bigskip
11914 \end_inset
11915
11916
11917 \end_layout
11918
11919 \begin_layout Standard
11920 You might want to have overlapping 
11921 \series bold
11922
11923 \backslash
11924 cmidrule
11925 \series default
11926 s like in Table\InsetSpace ~
11927
11928 \begin_inset LatexCommand ref
11929 reference "tab:Special-booktabs-table"
11930
11931 \end_inset
11932
11933 .
11934  This can be achieved with the ERT command
11935 \end_layout
11936
11937 \begin_layout Standard
11938
11939 \series bold
11940
11941 \backslash
11942 morecmidrules
11943 \end_layout
11944
11945 \begin_layout Standard
11946 The command that was used for the second row of Table\InsetSpace ~
11947
11948 \begin_inset LatexCommand ref
11949 reference "tab:Special-booktabs-table"
11950
11951 \end_inset
11952
11953  is
11954 \end_layout
11955
11956 \begin_layout Standard
11957
11958 \series bold
11959
11960 \backslash
11961 cmidrule(r){2-2}
11962 \backslash
11963 cmidrule(l){3-4}
11964 \backslash
11965 morecmidrules
11966 \backslash
11967 cmidrule{2-4}
11968 \end_layout
11969
11970 \begin_layout Standard
11971 The command for the sixth row is
11972 \end_layout
11973
11974 \begin_layout Standard
11975
11976 \series bold
11977
11978 \backslash
11979 midrule
11980 \backslash
11981 morecmidrules
11982 \backslash
11983 cmidrule{3-4}
11984 \end_layout
11985
11986 \begin_layout Standard
11987 \begin_inset VSpace bigskip
11988 \end_inset
11989
11990
11991 \end_layout
11992
11993 \begin_layout Standard
11994 If you are anyway not satisfied with the border line spacing, you can use
11995  the following command to produce lines that span over all table columns
11996 \series bold
11997 :
11998 \end_layout
11999
12000 \begin_layout Standard
12001
12002 \series bold
12003
12004 \backslash
12005 specialrule{width}{space above}{space below}
12006 \end_layout
12007
12008 \begin_layout Standard
12009 For more informations about these specialties, we refer to the manual of
12010  the LaTeX-package 
12011 \series bold
12012 booktabs
12013 \series default
12014  
12015 \begin_inset LatexCommand cite
12016 key "booktabs"
12017
12018 \end_inset
12019
12020 .
12021 \begin_inset LatexCommand index
12022 name "LaTeX-packages ! booktabs"
12023
12024 \end_inset
12025
12026
12027 \end_layout
12028
12029 \begin_layout Standard
12030 \begin_inset Float table
12031 placement h
12032 wide false
12033 sideways false
12034 status open
12035
12036 \begin_layout Standard
12037 \begin_inset Caption
12038
12039 \begin_layout Standard
12040 \begin_inset LatexCommand label
12041 name "tab:Special-booktabs-table"
12042
12043 \end_inset
12044
12045 Special booktabs-table
12046 \end_layout
12047
12048 \end_inset
12049
12050
12051 \end_layout
12052
12053 \begin_layout Standard
12054 \align center
12055 \begin_inset Tabular
12056 <lyxtabular version="3" rows="8" columns="4">
12057 <features booktabs="true">
12058 <column alignment="center" valignment="top" width="0">
12059 <column alignment="center" valignment="top" width="0">
12060 <column alignment="center" valignment="top" width="0">
12061 <column alignment="center" valignment="top" width="0">
12062 <row topline="true">
12063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12064 \begin_inset Text
12065
12066 \begin_layout Standard
12067 System
12068 \end_layout
12069
12070 \end_inset
12071 </cell>
12072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12073 \begin_inset Text
12074
12075 \begin_layout Standard
12076 Medipix\InsetSpace \thinspace{}
12077 1
12078 \end_layout
12079
12080 \end_inset
12081 </cell>
12082 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12083 \begin_inset Text
12084
12085 \begin_layout Standard
12086 Medipix\InsetSpace \thinspace{}
12087 2
12088 \end_layout
12089
12090 \end_inset
12091 </cell>
12092 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12093 \begin_inset Text
12094
12095 \begin_layout Standard
12096
12097 \end_layout
12098
12099 \end_inset
12100 </cell>
12101 </row>
12102 <row>
12103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12104 \begin_inset Text
12105
12106 \begin_layout Standard
12107 \begin_inset ERT
12108 status collapsed
12109
12110 \begin_layout Standard
12111
12112
12113 \backslash
12114 cmidrule(r){2-2}
12115 \end_layout
12116
12117 \end_inset
12118
12119
12120 \begin_inset ERT
12121 status collapsed
12122
12123 \begin_layout Standard
12124
12125
12126 \backslash
12127 cmidrule(l){3-4}
12128 \end_layout
12129
12130 \end_inset
12131
12132
12133 \begin_inset ERT
12134 status collapsed
12135
12136 \begin_layout Standard
12137
12138
12139 \backslash
12140 morecmidrules 
12141 \end_layout
12142
12143 \end_inset
12144
12145
12146 \begin_inset ERT
12147 status collapsed
12148
12149 \begin_layout Standard
12150
12151
12152 \backslash
12153 cmidrule{2-4}
12154 \end_layout
12155
12156 \end_inset
12157
12158 Detector thickness [µm]
12159 \end_layout
12160
12161 \end_inset
12162 </cell>
12163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12164 \begin_inset Text
12165
12166 \begin_layout Standard
12167 300
12168 \end_layout
12169
12170 \end_inset
12171 </cell>
12172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12173 \begin_inset Text
12174
12175 \begin_layout Standard
12176 300
12177 \end_layout
12178
12179 \end_inset
12180 </cell>
12181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12182 \begin_inset Text
12183
12184 \begin_layout Standard
12185 700
12186 \end_layout
12187
12188 \end_inset
12189 </cell>
12190 </row>
12191 <row topline="true">
12192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12193 \begin_inset Text
12194
12195 \begin_layout Standard
12196 Edge angle [°]
12197 \end_layout
12198
12199 \end_inset
12200 </cell>
12201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12202 \begin_inset Text
12203
12204 \begin_layout Standard
12205 3.55
12206 \end_layout
12207
12208 \end_inset
12209 </cell>
12210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12211 \begin_inset Text
12212
12213 \begin_layout Standard
12214 2.71
12215 \end_layout
12216
12217 \end_inset
12218 </cell>
12219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12220 \begin_inset Text
12221
12222 \begin_layout Standard
12223 7.99
12224 \end_layout
12225
12226 \end_inset
12227 </cell>
12228 </row>
12229 <row topspace="default">
12230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12231 \begin_inset Text
12232
12233 \begin_layout Standard
12234 Spatial resolution [µm]
12235 \end_layout
12236
12237 \end_inset
12238 </cell>
12239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12240 \begin_inset Text
12241
12242 \begin_layout Standard
12243 4.26
12244 \end_layout
12245
12246 \end_inset
12247 </cell>
12248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12249 \begin_inset Text
12250
12251 \begin_layout Standard
12252 10.17
12253 \end_layout
12254
12255 \end_inset
12256 </cell>
12257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12258 \begin_inset Text
12259
12260 \begin_layout Standard
12261 10.56
12262 \end_layout
12263
12264 \end_inset
12265 </cell>
12266 </row>
12267 <row topspace="default">
12268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12269 \begin_inset Text
12270
12271 \begin_layout Standard
12272 MTF at 
12273 \begin_inset Formula $f_{\mathrm{max}}$
12274 \end_inset
12275
12276
12277 \end_layout
12278
12279 \end_inset
12280 </cell>
12281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12282 \begin_inset Text
12283
12284 \begin_layout Standard
12285 0.53
12286 \end_layout
12287
12288 \end_inset
12289 </cell>
12290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12291 \begin_inset Text
12292
12293 \begin_layout Standard
12294 0.37
12295 \end_layout
12296
12297 \end_inset
12298 </cell>
12299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12300 \begin_inset Text
12301
12302 \begin_layout Standard
12303 0.39
12304 \end_layout
12305
12306 \end_inset
12307 </cell>
12308 </row>
12309 <row topline="true">
12310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12311 \begin_inset Text
12312
12313 \begin_layout Standard
12314 \begin_inset ERT
12315 status collapsed
12316
12317 \begin_layout Standard
12318
12319
12320 \backslash
12321 morecmidrules 
12322 \end_layout
12323
12324 \end_inset
12325
12326
12327 \begin_inset ERT
12328 status collapsed
12329
12330 \begin_layout Standard
12331
12332
12333 \backslash
12334 cmidrule{3-4}
12335 \end_layout
12336
12337 \end_inset
12338
12339 LSF-spatial resolution
12340 \end_layout
12341
12342 \end_inset
12343 </cell>
12344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12345 \begin_inset Text
12346
12347 \begin_layout Standard
12348
12349 \end_layout
12350
12351 \end_inset
12352 </cell>
12353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12354 \begin_inset Text
12355
12356 \begin_layout Standard
12357
12358 \end_layout
12359
12360 \end_inset
12361 </cell>
12362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12363 \begin_inset Text
12364
12365 \begin_layout Standard
12366
12367 \end_layout
12368
12369 \end_inset
12370 </cell>
12371 </row>
12372 <row>
12373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12374 \begin_inset Text
12375
12376 \begin_layout Standard
12377 in µm
12378 \end_layout
12379
12380 \end_inset
12381 </cell>
12382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12383 \begin_inset Text
12384
12385 \begin_layout Standard
12386 129.7
12387 \end_layout
12388
12389 \end_inset
12390 </cell>
12391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12392 \begin_inset Text
12393
12394 \begin_layout Standard
12395 52.75
12396 \end_layout
12397
12398 \end_inset
12399 </cell>
12400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12401 \begin_inset Text
12402
12403 \begin_layout Standard
12404 50.78
12405 \end_layout
12406
12407 \end_inset
12408 </cell>
12409 </row>
12410 <row bottomline="true">
12411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12412 \begin_inset Text
12413
12414 \begin_layout Standard
12415 in % of pixel size
12416 \end_layout
12417
12418 \end_inset
12419 </cell>
12420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12421 \begin_inset Text
12422
12423 \begin_layout Standard
12424 76.3
12425 \end_layout
12426
12427 \end_inset
12428 </cell>
12429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12430 \begin_inset Text
12431
12432 \begin_layout Standard
12433 95.9
12434 \end_layout
12435
12436 \end_inset
12437 </cell>
12438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12439 \begin_inset Text
12440
12441 \begin_layout Standard
12442 92.3
12443 \end_layout
12444
12445 \end_inset
12446 </cell>
12447 </row>
12448 </lyxtabular>
12449
12450 \end_inset
12451
12452
12453 \end_layout
12454
12455 \end_inset
12456
12457
12458 \end_layout
12459
12460 \begin_layout Section
12461 Vertical Table Alignment
12462 \begin_inset LatexCommand index
12463 name "Table ! Alignment"
12464
12465 \end_inset
12466
12467
12468 \end_layout
12469
12470 \begin_layout Standard
12471 To align tables vertically in a text line the table must be inside a box.
12472  The box can then be vertically aligned as described in section\InsetSpace ~
12473
12474 \begin_inset LatexCommand ref
12475 reference "sec:Box-Dialog"
12476
12477 \end_inset
12478
12479 .
12480 \end_layout
12481
12482 \begin_layout Standard
12483 In the following example the tables are inside a minipage
12484 \begin_inset Foot
12485 status collapsed
12486
12487 \begin_layout Standard
12488 Minipages are described in section\InsetSpace ~
12489
12490 \begin_inset LatexCommand ref
12491 reference "sec:Minipages"
12492
12493 \end_inset
12494
12495 .
12496 \end_layout
12497
12498 \end_inset
12499
12500  box that has a width of 15\InsetSpace \thinspace{}
12501 col%:
12502 \end_layout
12503
12504 \begin_layout Itemize
12505 test 
12506 \begin_inset Box Frameless
12507 position "t"
12508 hor_pos "c"
12509 has_inner_box 1
12510 inner_pos "c"
12511 use_parbox 0
12512 width "15col%"
12513 special "none"
12514 height "1in"
12515 height_special "totalheight"
12516 status collapsed
12517
12518 \begin_layout Standard
12519 \begin_inset Tabular
12520 <lyxtabular version="3" rows="3" columns="3">
12521 <features>
12522 <column alignment="center" valignment="top" leftline="true" width="0">
12523 <column alignment="center" valignment="top" leftline="true" width="0">
12524 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12525 <row topline="true">
12526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12527 \begin_inset Text
12528
12529 \begin_layout Standard
12530 a
12531 \end_layout
12532
12533 \end_inset
12534 </cell>
12535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12536 \begin_inset Text
12537
12538 \begin_layout Standard
12539 d
12540 \end_layout
12541
12542 \end_inset
12543 </cell>
12544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12545 \begin_inset Text
12546
12547 \begin_layout Standard
12548 g
12549 \end_layout
12550
12551 \end_inset
12552 </cell>
12553 </row>
12554 <row topline="true">
12555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12556 \begin_inset Text
12557
12558 \begin_layout Standard
12559 b
12560 \end_layout
12561
12562 \end_inset
12563 </cell>
12564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12565 \begin_inset Text
12566
12567 \begin_layout Standard
12568 e
12569 \end_layout
12570
12571 \end_inset
12572 </cell>
12573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12574 \begin_inset Text
12575
12576 \begin_layout Standard
12577 h
12578 \end_layout
12579
12580 \end_inset
12581 </cell>
12582 </row>
12583 <row topline="true" bottomline="true">
12584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12585 \begin_inset Text
12586
12587 \begin_layout Standard
12588 c
12589 \end_layout
12590
12591 \end_inset
12592 </cell>
12593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12594 \begin_inset Text
12595
12596 \begin_layout Standard
12597 f
12598 \end_layout
12599
12600 \end_inset
12601 </cell>
12602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12603 \begin_inset Text
12604
12605 \begin_layout Standard
12606 i
12607 \end_layout
12608
12609 \end_inset
12610 </cell>
12611 </row>
12612 </lyxtabular>
12613
12614 \end_inset
12615
12616
12617 \end_layout
12618
12619 \end_inset
12620
12621  test 
12622 \begin_inset ERT
12623 status collapsed
12624
12625 \begin_layout Standard
12626
12627
12628 \backslash
12629 raisebox{0.85
12630 \backslash
12631 baselineskip}{
12632 \end_layout
12633
12634 \end_inset
12635
12636
12637 \begin_inset Box Frameless
12638 position "t"
12639 hor_pos "c"
12640 has_inner_box 1
12641 inner_pos "c"
12642 use_parbox 0
12643 width "15col%"
12644 special "none"
12645 height "1in"
12646 height_special "totalheight"
12647 status collapsed
12648
12649 \begin_layout Standard
12650 \begin_inset Tabular
12651 <lyxtabular version="3" rows="3" columns="3">
12652 <features>
12653 <column alignment="center" valignment="top" leftline="true" width="0">
12654 <column alignment="center" valignment="top" leftline="true" width="0">
12655 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12656 <row topline="true">
12657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12658 \begin_inset Text
12659
12660 \begin_layout Standard
12661 a
12662 \end_layout
12663
12664 \end_inset
12665 </cell>
12666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12667 \begin_inset Text
12668
12669 \begin_layout Standard
12670 d
12671 \end_layout
12672
12673 \end_inset
12674 </cell>
12675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12676 \begin_inset Text
12677
12678 \begin_layout Standard
12679 g
12680 \end_layout
12681
12682 \end_inset
12683 </cell>
12684 </row>
12685 <row topline="true">
12686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12687 \begin_inset Text
12688
12689 \begin_layout Standard
12690 b
12691 \end_layout
12692
12693 \end_inset
12694 </cell>
12695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12696 \begin_inset Text
12697
12698 \begin_layout Standard
12699 e
12700 \end_layout
12701
12702 \end_inset
12703 </cell>
12704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12705 \begin_inset Text
12706
12707 \begin_layout Standard
12708 h
12709 \end_layout
12710
12711 \end_inset
12712 </cell>
12713 </row>
12714 <row topline="true" bottomline="true">
12715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12716 \begin_inset Text
12717
12718 \begin_layout Standard
12719 c
12720 \end_layout
12721
12722 \end_inset
12723 </cell>
12724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12725 \begin_inset Text
12726
12727 \begin_layout Standard
12728 f
12729 \end_layout
12730
12731 \end_inset
12732 </cell>
12733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12734 \begin_inset Text
12735
12736 \begin_layout Standard
12737 i
12738 \end_layout
12739
12740 \end_inset
12741 </cell>
12742 </row>
12743 </lyxtabular>
12744
12745 \end_inset
12746
12747
12748 \end_layout
12749
12750 \end_inset
12751
12752
12753 \begin_inset ERT
12754 status collapsed
12755
12756 \begin_layout Standard
12757
12758 }
12759 \end_layout
12760
12761 \end_inset
12762
12763
12764 \end_layout
12765
12766 \begin_layout Itemize
12767 test 
12768 \begin_inset Box Frameless
12769 position "c"
12770 hor_pos "c"
12771 has_inner_box 1
12772 inner_pos "c"
12773 use_parbox 0
12774 width "15col%"
12775 special "none"
12776 height "1in"
12777 height_special "totalheight"
12778 status collapsed
12779
12780 \begin_layout Standard
12781 \begin_inset Tabular
12782 <lyxtabular version="3" rows="3" columns="3">
12783 <features>
12784 <column alignment="center" valignment="top" leftline="true" width="0">
12785 <column alignment="center" valignment="top" leftline="true" width="0">
12786 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12787 <row topline="true">
12788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12789 \begin_inset Text
12790
12791 \begin_layout Standard
12792 a
12793 \end_layout
12794
12795 \end_inset
12796 </cell>
12797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12798 \begin_inset Text
12799
12800 \begin_layout Standard
12801 d
12802 \end_layout
12803
12804 \end_inset
12805 </cell>
12806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12807 \begin_inset Text
12808
12809 \begin_layout Standard
12810 g
12811 \end_layout
12812
12813 \end_inset
12814 </cell>
12815 </row>
12816 <row topline="true">
12817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12818 \begin_inset Text
12819
12820 \begin_layout Standard
12821 b
12822 \end_layout
12823
12824 \end_inset
12825 </cell>
12826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12827 \begin_inset Text
12828
12829 \begin_layout Standard
12830 e
12831 \end_layout
12832
12833 \end_inset
12834 </cell>
12835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12836 \begin_inset Text
12837
12838 \begin_layout Standard
12839 h
12840 \end_layout
12841
12842 \end_inset
12843 </cell>
12844 </row>
12845 <row topline="true" bottomline="true">
12846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12847 \begin_inset Text
12848
12849 \begin_layout Standard
12850 c
12851 \end_layout
12852
12853 \end_inset
12854 </cell>
12855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12856 \begin_inset Text
12857
12858 \begin_layout Standard
12859 f
12860 \end_layout
12861
12862 \end_inset
12863 </cell>
12864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12865 \begin_inset Text
12866
12867 \begin_layout Standard
12868 i
12869 \end_layout
12870
12871 \end_inset
12872 </cell>
12873 </row>
12874 </lyxtabular>
12875
12876 \end_inset
12877
12878
12879 \end_layout
12880
12881 \end_inset
12882
12883
12884 \end_layout
12885
12886 \begin_layout Itemize
12887 test 
12888 \begin_inset Box Frameless
12889 position "b"
12890 hor_pos "c"
12891 has_inner_box 1
12892 inner_pos "c"
12893 use_parbox 0
12894 width "15col%"
12895 special "none"
12896 height "1in"
12897 height_special "totalheight"
12898 status collapsed
12899
12900 \begin_layout Standard
12901 \begin_inset Tabular
12902 <lyxtabular version="3" rows="3" columns="3">
12903 <features>
12904 <column alignment="center" valignment="top" leftline="true" width="0">
12905 <column alignment="center" valignment="top" leftline="true" width="0">
12906 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12907 <row topline="true">
12908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12909 \begin_inset Text
12910
12911 \begin_layout Standard
12912 a
12913 \end_layout
12914
12915 \end_inset
12916 </cell>
12917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12918 \begin_inset Text
12919
12920 \begin_layout Standard
12921 d
12922 \end_layout
12923
12924 \end_inset
12925 </cell>
12926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12927 \begin_inset Text
12928
12929 \begin_layout Standard
12930 g
12931 \end_layout
12932
12933 \end_inset
12934 </cell>
12935 </row>
12936 <row topline="true">
12937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12938 \begin_inset Text
12939
12940 \begin_layout Standard
12941 b
12942 \end_layout
12943
12944 \end_inset
12945 </cell>
12946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12947 \begin_inset Text
12948
12949 \begin_layout Standard
12950 e
12951 \end_layout
12952
12953 \end_inset
12954 </cell>
12955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12956 \begin_inset Text
12957
12958 \begin_layout Standard
12959 h
12960 \end_layout
12961
12962 \end_inset
12963 </cell>
12964 </row>
12965 <row topline="true" bottomline="true">
12966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12967 \begin_inset Text
12968
12969 \begin_layout Standard
12970 c
12971 \end_layout
12972
12973 \end_inset
12974 </cell>
12975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12976 \begin_inset Text
12977
12978 \begin_layout Standard
12979 f
12980 \end_layout
12981
12982 \end_inset
12983 </cell>
12984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12985 \begin_inset Text
12986
12987 \begin_layout Standard
12988 i
12989 \end_layout
12990
12991 \end_inset
12992 </cell>
12993 </row>
12994 </lyxtabular>
12995
12996 \end_inset
12997
12998
12999 \end_layout
13000
13001 \end_inset
13002
13003  test 
13004 \begin_inset ERT
13005 status collapsed
13006
13007 \begin_layout Standard
13008
13009
13010 \backslash
13011 raisebox{-0.32
13012 \backslash
13013 baselineskip}{
13014 \end_layout
13015
13016 \end_inset
13017
13018
13019 \begin_inset Box Frameless
13020 position "b"
13021 hor_pos "c"
13022 has_inner_box 1
13023 inner_pos "c"
13024 use_parbox 0
13025 width "15col%"
13026 special "none"
13027 height "1in"
13028 height_special "totalheight"
13029 status collapsed
13030
13031 \begin_layout Standard
13032 \begin_inset Tabular
13033 <lyxtabular version="3" rows="3" columns="3">
13034 <features>
13035 <column alignment="center" valignment="top" leftline="true" width="0">
13036 <column alignment="center" valignment="top" leftline="true" width="0">
13037 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13038 <row topline="true">
13039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13040 \begin_inset Text
13041
13042 \begin_layout Standard
13043 a
13044 \end_layout
13045
13046 \end_inset
13047 </cell>
13048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13049 \begin_inset Text
13050
13051 \begin_layout Standard
13052 d
13053 \end_layout
13054
13055 \end_inset
13056 </cell>
13057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13058 \begin_inset Text
13059
13060 \begin_layout Standard
13061 g
13062 \end_layout
13063
13064 \end_inset
13065 </cell>
13066 </row>
13067 <row topline="true">
13068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13069 \begin_inset Text
13070
13071 \begin_layout Standard
13072 b
13073 \end_layout
13074
13075 \end_inset
13076 </cell>
13077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13078 \begin_inset Text
13079
13080 \begin_layout Standard
13081 e
13082 \end_layout
13083
13084 \end_inset
13085 </cell>
13086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13087 \begin_inset Text
13088
13089 \begin_layout Standard
13090 h
13091 \end_layout
13092
13093 \end_inset
13094 </cell>
13095 </row>
13096 <row topline="true" bottomline="true">
13097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13098 \begin_inset Text
13099
13100 \begin_layout Standard
13101 c
13102 \end_layout
13103
13104 \end_inset
13105 </cell>
13106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13107 \begin_inset Text
13108
13109 \begin_layout Standard
13110 f
13111 \end_layout
13112
13113 \end_inset
13114 </cell>
13115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13116 \begin_inset Text
13117
13118 \begin_layout Standard
13119 i
13120 \end_layout
13121
13122 \end_inset
13123 </cell>
13124 </row>
13125 </lyxtabular>
13126
13127 \end_inset
13128
13129
13130 \end_layout
13131
13132 \end_inset
13133
13134
13135 \begin_inset ERT
13136 status collapsed
13137
13138 \begin_layout Standard
13139
13140 }
13141 \end_layout
13142
13143 \end_inset
13144
13145
13146 \end_layout
13147
13148 \begin_layout Standard
13149 As you can see, the content of the first and last table row is not correctly
13150  aligned with the text line where the table is in.
13151  To get this alignment, the minipage box must be set into a raisebox
13152 \begin_inset Foot
13153 status collapsed
13154
13155 \begin_layout Standard
13156 Raiseboxes are described in section\InsetSpace ~
13157
13158 \begin_inset LatexCommand ref
13159 reference "sub:Vertical-Alignment"
13160
13161 \end_inset
13162
13163 .
13164 \end_layout
13165
13166 \end_inset
13167
13168 .
13169  In the example above the second table in the first item is aligned using
13170  the ERT-command
13171 \end_layout
13172
13173 \begin_layout Standard
13174
13175 \series bold
13176
13177 \backslash
13178 raisebox{0.85
13179 \backslash
13180 baselineskip}{
13181 \end_layout
13182
13183 \begin_layout Standard
13184 before the box.
13185  Behind the box the closing brace 
13186 \series bold
13187 }
13188 \series default
13189  is inserted as ERT.
13190  For the second table in the last item the command
13191 \end_layout
13192
13193 \begin_layout Standard
13194
13195 \series bold
13196
13197 \backslash
13198 raisebox{-0.32
13199 \backslash
13200 baselineskip}{
13201 \end_layout
13202
13203 \begin_layout Standard
13204 is used.
13205 \end_layout
13206
13207 \begin_layout Standard
13208 \begin_inset Note Greyedout
13209 status open
13210
13211 \begin_layout Standard
13212
13213 \series bold
13214 Note:
13215 \series default
13216  The alignment of the table row content to the surrounding text line is
13217  not exact.
13218  The needed factor of the 
13219 \series bold
13220
13221 \backslash
13222 raisebox
13223 \series default
13224  command for this alignment depends on the document font, the font size,
13225  and the table line thickness.
13226 \end_layout
13227
13228 \end_inset
13229
13230
13231 \end_layout
13232
13233 \begin_layout Section
13234 Colored Tables
13235 \begin_inset LatexCommand label
13236 name "sec:Colored-Tables"
13237
13238 \end_inset
13239
13240
13241 \begin_inset LatexCommand index
13242 name "Table ! Color"
13243
13244 \end_inset
13245
13246
13247 \end_layout
13248
13249 \begin_layout Subsection
13250 Colored Cells
13251 \begin_inset LatexCommand index
13252 name "Table Color ! for Cells"
13253
13254 \end_inset
13255
13256
13257 \begin_inset LatexCommand index
13258 name "Color ! for Table Cells"
13259
13260 \end_inset
13261
13262
13263 \end_layout
13264
13265 \begin_layout Standard
13266 \begin_inset Float table
13267 placement h
13268 wide false
13269 sideways false
13270 status open
13271
13272 \begin_layout Standard
13273 \begin_inset Caption
13274
13275 \begin_layout Standard
13276 \begin_inset LatexCommand label
13277 name "tab:Table-colored-without"
13278
13279 \end_inset
13280
13281 Table colored without using the package 
13282 \series bold
13283 colortbl
13284 \series default
13285
13286 \begin_inset OptArg
13287 status collapsed
13288
13289 \begin_layout Standard
13290 Table without colortbl
13291 \end_layout
13292
13293 \end_inset
13294
13295
13296 \end_layout
13297
13298 \end_inset
13299
13300
13301 \end_layout
13302
13303 \begin_layout Standard
13304 \align center
13305 \begin_inset Tabular
13306 <lyxtabular version="3" rows="3" columns="3">
13307 <features>
13308 <column alignment="center" valignment="top" leftline="true" width="0">
13309 <column alignment="center" valignment="top" leftline="true" width="0">
13310 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13311 <row topline="true">
13312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13313 \begin_inset Text
13314
13315 \begin_layout Standard
13316
13317 \color green
13318 a
13319 \end_layout
13320
13321 \end_inset
13322 </cell>
13323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13324 \begin_inset Text
13325
13326 \begin_layout Standard
13327
13328 \color red
13329 b
13330 \end_layout
13331
13332 \end_inset
13333 </cell>
13334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13335 \begin_inset Text
13336
13337 \begin_layout Standard
13338
13339 \color red
13340 c
13341 \end_layout
13342
13343 \end_inset
13344 </cell>
13345 </row>
13346 <row topline="true">
13347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13348 \begin_inset Text
13349
13350 \begin_layout Standard
13351
13352 \color green
13353 d
13354 \end_layout
13355
13356 \end_inset
13357 </cell>
13358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13359 \begin_inset Text
13360
13361 \begin_layout Standard
13362
13363 \color blue
13364 e
13365 \end_layout
13366
13367 \end_inset
13368 </cell>
13369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13370 \begin_inset Text
13371
13372 \begin_layout Standard
13373
13374 \color blue
13375 f
13376 \end_layout
13377
13378 \end_inset
13379 </cell>
13380 </row>
13381 <row topline="true" bottomline="true">
13382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13383 \begin_inset Text
13384
13385 \begin_layout Standard
13386
13387 \color green
13388 g
13389 \end_layout
13390
13391 \end_inset
13392 </cell>
13393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13394 \begin_inset Text
13395
13396 \begin_layout Standard
13397
13398 \color blue
13399 h
13400 \end_layout
13401
13402 \end_inset
13403 </cell>
13404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13405 \begin_inset Text
13406
13407 \begin_layout Standard
13408
13409 \color blue
13410 i
13411 \end_layout
13412
13413 \end_inset
13414 </cell>
13415 </row>
13416 </lyxtabular>
13417
13418 \end_inset
13419
13420
13421 \end_layout
13422
13423 \end_inset
13424
13425
13426 \end_layout
13427
13428 \begin_layout Standard
13429 If you only need colored text, mark the cells and choose a color in the
13430  menu 
13431 \family sans
13432 Edit\SpecialChar \menuseparator
13433 Text\InsetSpace ~
13434 Style
13435 \family default
13436 .
13437  This was used to create Table\InsetSpace ~
13438
13439 \begin_inset LatexCommand ref
13440 reference "tab:Table-colored-without"
13441
13442 \end_inset
13443
13444 .
13445  In any other case you have to use the LaTeX-package 
13446 \series bold
13447 colortbl
13448 \series default
13449 .
13450 \begin_inset LatexCommand index
13451 name "LaTeX-packages ! colortbl"
13452
13453 \end_inset
13454
13455
13456 \end_layout
13457
13458 \begin_layout Standard
13459 To create colored tables, 
13460 \series bold
13461 colortbl
13462 \series default
13463  must be loaded in the preamble with the line
13464 \end_layout
13465
13466 \begin_layout Standard
13467
13468 \series bold
13469
13470 \backslash
13471 usepackage{colortbl}
13472 \end_layout
13473
13474 \begin_layout Standard
13475 The color of a column is adjusted with the command
13476 \end_layout
13477
13478 \begin_layout Standard
13479
13480 \series bold
13481
13482 \backslash
13483 columncolor{name of color}
13484 \end_layout
13485
13486 \begin_layout Standard
13487 inside the command 
13488 \series bold
13489 >{ }
13490 \series default
13491 .
13492  More about the command 
13493 \series bold
13494 >{}
13495 \series default
13496  is described in section\InsetSpace ~
13497
13498 \begin_inset LatexCommand ref
13499 reference "sub:Multicolumn-Calculations"
13500
13501 \end_inset
13502
13503 .
13504 \end_layout
13505
13506 \begin_layout Standard
13507 The following color names are predefined:
13508 \end_layout
13509
13510 \begin_layout Standard
13511
13512 \family sans
13513 red
13514 \family default
13515
13516 \family sans
13517 green
13518 \family default
13519
13520 \family sans
13521 yellow
13522 \family default
13523
13524 \family sans
13525 blue
13526 \family default
13527
13528 \family sans
13529 cyan
13530 \family default
13531
13532 \family sans
13533 magenta
13534 \family default
13535
13536 \family sans
13537 black
13538 \family default
13539  and 
13540 \family sans
13541 white
13542 \end_layout
13543
13544 \begin_layout Standard
13545 \begin_inset VSpace medskip
13546 \end_inset
13547
13548
13549 \end_layout
13550
13551 \begin_layout Standard
13552 You can also define your own color with the command
13553 \end_layout
13554
13555 \begin_layout Standard
13556
13557 \series bold
13558
13559 \backslash
13560 def\SpecialChar \textcompwordmark{}
13561 inecolor{color name}{color model}{color values}
13562 \end_layout
13563
13564 \begin_layout Standard
13565 The color model can be
13566 \end_layout
13567
13568 \begin_layout Labeling
13569 \labelwidthstring 00.00.0000
13570 cmyk: cyan, magenta, yellow, black
13571 \end_layout
13572
13573 \begin_layout Labeling
13574 \labelwidthstring 00.00.0000
13575 rgb: red, green blue
13576 \end_layout
13577
13578 \begin_layout Labeling
13579 \labelwidthstring 00.00.0000
13580 gray gray
13581 \end_layout
13582
13583 \begin_layout Standard
13584 and the color values are comma separated numbers between 0 and 1 describing
13585  the factor for the corresponding color of the color model.
13586 \end_layout
13587
13588 \begin_layout Standard
13589 You can e.\InsetSpace \thinspace{}
13590 g.\InsetSpace ~
13591 define the color "
13592 \emph on
13593 darkgreen
13594 \emph default
13595 " in the preamble with
13596 \end_layout
13597
13598 \begin_layout Standard
13599
13600 \series bold
13601
13602 \backslash
13603 def\SpecialChar \textcompwordmark{}
13604 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13605 \end_layout
13606
13607 \begin_layout Standard
13608 and the color "
13609 \emph on
13610 lightgray
13611 \emph default
13612 " with
13613 \end_layout
13614
13615 \begin_layout Standard
13616
13617 \series bold
13618
13619 \backslash
13620 def\SpecialChar \textcompwordmark{}
13621 inecolor{lightgray}{gray}{0.8}
13622 \end_layout
13623
13624 \begin_layout Standard
13625 \begin_inset VSpace medskip
13626 \end_inset
13627
13628
13629 \end_layout
13630
13631 \begin_layout Standard
13632 Lines are colored with the command
13633 \end_layout
13634
13635 \begin_layout Standard
13636
13637 \series bold
13638
13639 \backslash
13640 rowcolor{name of color}
13641 \end_layout
13642
13643 \begin_layout Standard
13644 and cells are colored with the command
13645 \end_layout
13646
13647 \begin_layout Standard
13648
13649 \series bold
13650
13651 \backslash
13652 cellcolor{name of color}
13653 \end_layout
13654
13655 \begin_layout Standard
13656 Both commands are inserted at the beginning of a cell as ERT.
13657 \end_layout
13658
13659 \begin_layout Standard
13660 To color characters in the table, mark the cells and use the LyX menu 
13661 \family sans
13662 Edit\SpecialChar \menuseparator
13663 Text\InsetSpace ~
13664 Style
13665 \family default
13666 .
13667  If a cell contains ERT mark only the characters, otherwise the colored
13668  ERT will cause LaTeX-errors.
13669 \end_layout
13670
13671 \begin_layout Standard
13672 \begin_inset VSpace bigskip
13673 \end_inset
13674
13675
13676 \end_layout
13677
13678 \begin_layout Standard
13679 To create Table\InsetSpace ~
13680
13681 \begin_inset LatexCommand ref
13682 reference "tab:Table-colored-using"
13683
13684 \end_inset
13685
13686  do the following: The color of the first column should be 
13687 \emph on
13688 darkgreen
13689 \emph default
13690 .
13691  So insert
13692 \end_layout
13693
13694 \begin_layout Standard
13695
13696 \series bold
13697 >{
13698 \backslash
13699 columncolor{darkgreen}
13700 \backslash
13701 centering}c
13702 \end_layout
13703
13704 \begin_layout Standard
13705 as LaTeX-argument for this column.
13706  The first row should be blue, therefore the ERT command
13707 \end_layout
13708
13709 \begin_layout Standard
13710
13711 \series bold
13712
13713 \backslash
13714 rowcolow{cyan}
13715 \end_layout
13716
13717 \begin_layout Standard
13718 is inserted to the first cell of this row.
13719  Note that this overwrites the column color for the first cell.
13720  The last cell of the last row is colored magenta by inserting the ERT command
13721 \end_layout
13722
13723 \begin_layout Standard
13724
13725 \series bold
13726
13727 \backslash
13728 cellcolor{magenta}
13729 \end_layout
13730
13731 \begin_layout Standard
13732 The characters could now be colored using the menu 
13733 \family sans
13734 Edit\SpecialChar \menuseparator
13735 Text\InsetSpace ~
13736 Style
13737 \family default
13738 .
13739 \end_layout
13740
13741 \begin_layout Standard
13742 \begin_inset Float table
13743 placement h
13744 wide false
13745 sideways false
13746 status open
13747
13748 \begin_layout Standard
13749 \begin_inset Caption
13750
13751 \begin_layout Standard
13752 \begin_inset LatexCommand label
13753 name "tab:Table-colored-using"
13754
13755 \end_inset
13756
13757 Table colored using the package 
13758 \series bold
13759 colortbl
13760 \series default
13761
13762 \begin_inset OptArg
13763 status collapsed
13764
13765 \begin_layout Standard
13766 Table with colortbl
13767 \end_layout
13768
13769 \end_inset
13770
13771
13772 \end_layout
13773
13774 \end_inset
13775
13776
13777 \end_layout
13778
13779 \begin_layout Standard
13780 \align center
13781 \begin_inset Tabular
13782 <lyxtabular version="3" rows="3" columns="3">
13783 <features>
13784 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13785 <column alignment="center" valignment="top" width="0">
13786 <column alignment="center" valignment="top" width="0">
13787 <row>
13788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13789 \begin_inset Text
13790
13791 \begin_layout Standard
13792 \begin_inset ERT
13793 status collapsed
13794
13795 \begin_layout Standard
13796
13797
13798 \backslash
13799 rowcolor{cyan}
13800 \end_layout
13801
13802 \end_inset
13803
13804
13805 \color magenta
13806 a
13807 \end_layout
13808
13809 \end_inset
13810 </cell>
13811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13812 \begin_inset Text
13813
13814 \begin_layout Standard
13815
13816 \color red
13817 b
13818 \end_layout
13819
13820 \end_inset
13821 </cell>
13822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13823 \begin_inset Text
13824
13825 \begin_layout Standard
13826
13827 \color red
13828 c
13829 \end_layout
13830
13831 \end_inset
13832 </cell>
13833 </row>
13834 <row>
13835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13836 \begin_inset Text
13837
13838 \begin_layout Standard
13839
13840 \color yellow
13841 d
13842 \end_layout
13843
13844 \end_inset
13845 </cell>
13846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13847 \begin_inset Text
13848
13849 \begin_layout Standard
13850
13851 \color blue
13852 e
13853 \end_layout
13854
13855 \end_inset
13856 </cell>
13857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13858 \begin_inset Text
13859
13860 \begin_layout Standard
13861
13862 \color blue
13863 f
13864 \end_layout
13865
13866 \end_inset
13867 </cell>
13868 </row>
13869 <row>
13870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13871 \begin_inset Text
13872
13873 \begin_layout Standard
13874
13875 \color yellow
13876 g
13877 \end_layout
13878
13879 \end_inset
13880 </cell>
13881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13882 \begin_inset Text
13883
13884 \begin_layout Standard
13885
13886 \color blue
13887 h
13888 \end_layout
13889
13890 \end_inset
13891 </cell>
13892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13893 \begin_inset Text
13894
13895 \begin_layout Standard
13896 \begin_inset ERT
13897 status collapsed
13898
13899 \begin_layout Standard
13900
13901
13902 \backslash
13903 cellcolor{magenta}
13904 \end_layout
13905
13906 \end_inset
13907
13908
13909 \color green
13910 i
13911 \end_layout
13912
13913 \end_inset
13914 </cell>
13915 </row>
13916 </lyxtabular>
13917
13918 \end_inset
13919
13920
13921 \end_layout
13922
13923 \end_inset
13924
13925
13926 \end_layout
13927
13928 \begin_layout Subsection
13929 Colored Lines
13930 \begin_inset LatexCommand index
13931 name "Table Color ! for Lines"
13932
13933 \end_inset
13934
13935
13936 \begin_inset LatexCommand index
13937 name "Color ! for Table Lines"
13938
13939 \end_inset
13940
13941
13942 \end_layout
13943
13944 \begin_layout Standard
13945 As described in section\InsetSpace ~
13946
13947 \begin_inset LatexCommand ref
13948 reference "sub:Line-Thickness"
13949
13950 \end_inset
13951
13952 , the line thickness for all lines in a table can be adjusted with the length
13953  
13954 \series bold
13955
13956 \backslash
13957 arrayrulewidth
13958 \series default
13959 .
13960  It is set to 1.5\InsetSpace \thinspace{}
13961 pt for all tables of this section.
13962 \begin_inset ERT
13963 status collapsed
13964
13965 \begin_layout Standard
13966
13967
13968 \backslash
13969 setlength{
13970 \backslash
13971 arrayrulewidth}{1.5pt}
13972 \end_layout
13973
13974 \end_inset
13975
13976
13977 \end_layout
13978
13979 \begin_layout Standard
13980 To color vertical lines for example with green, create the following column
13981  format in the document preamble, according to the description in section\InsetSpace ~
13982
13983 \begin_inset LatexCommand ref
13984 reference "sub:Customized-Format"
13985
13986 \end_inset
13987
13988 :
13989 \end_layout
13990
13991 \begin_layout Standard
13992
13993 \series bold
13994
13995 \backslash
13996 newcolumntype{W}{!{
13997 \backslash
13998 color{green}
13999 \backslash
14000 vline}}
14001 \end_layout
14002
14003 \begin_layout Standard
14004 For Table\InsetSpace ~
14005
14006 \begin_inset LatexCommand ref
14007 reference "tab:Table-with-vertical-colored"
14008
14009 \end_inset
14010
14011  the LaTeX-argument
14012 \end_layout
14013
14014 \begin_layout Standard
14015
14016 \series bold
14017 WcW
14018 \end_layout
14019
14020 \begin_layout Standard
14021 was used for the last column and
14022 \end_layout
14023
14024 \begin_layout Standard
14025
14026 \series bold
14027 Wc
14028 \end_layout
14029
14030 \begin_layout Standard
14031 for the other columns.
14032 \end_layout
14033
14034 \begin_layout Standard
14035 If you want to have several colors, define more column formats.
14036 \end_layout
14037
14038 \begin_layout Standard
14039 \begin_inset Float table
14040 wide false
14041 sideways false
14042 status open
14043
14044 \begin_layout Standard
14045 \begin_inset Caption
14046
14047 \begin_layout Standard
14048 \begin_inset LatexCommand label
14049 name "tab:Table-with-vertical-colored"
14050
14051 \end_inset
14052
14053 Table with colored vertical lines
14054 \end_layout
14055
14056 \end_inset
14057
14058
14059 \end_layout
14060
14061 \begin_layout Standard
14062 \align center
14063 \begin_inset Tabular
14064 <lyxtabular version="3" rows="3" columns="3">
14065 <features>
14066 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14067 <column alignment="center" valignment="top" width="0" special="Wc">
14068 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14069 <row topline="true">
14070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14071 \begin_inset Text
14072
14073 \begin_layout Standard
14074 sd
14075 \end_layout
14076
14077 \end_inset
14078 </cell>
14079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14080 \begin_inset Text
14081
14082 \begin_layout Standard
14083
14084 \end_layout
14085
14086 \end_inset
14087 </cell>
14088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14089 \begin_inset Text
14090
14091 \begin_layout Standard
14092
14093 \end_layout
14094
14095 \end_inset
14096 </cell>
14097 </row>
14098 <row topline="true">
14099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14100 \begin_inset Text
14101
14102 \begin_layout Standard
14103
14104 \end_layout
14105
14106 \end_inset
14107 </cell>
14108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14109 \begin_inset Text
14110
14111 \begin_layout Standard
14112 sd
14113 \end_layout
14114
14115 \end_inset
14116 </cell>
14117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14118 \begin_inset Text
14119
14120 \begin_layout Standard
14121
14122 \end_layout
14123
14124 \end_inset
14125 </cell>
14126 </row>
14127 <row topline="true" bottomline="true">
14128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14129 \begin_inset Text
14130
14131 \begin_layout Standard
14132
14133 \end_layout
14134
14135 \end_inset
14136 </cell>
14137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14138 \begin_inset Text
14139
14140 \begin_layout Standard
14141
14142 \end_layout
14143
14144 \end_inset
14145 </cell>
14146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14147 \begin_inset Text
14148
14149 \begin_layout Standard
14150 sd
14151 \end_layout
14152
14153 \end_inset
14154 </cell>
14155 </row>
14156 </lyxtabular>
14157
14158 \end_inset
14159
14160
14161 \end_layout
14162
14163 \end_inset
14164
14165
14166 \end_layout
14167
14168 \begin_layout Standard
14169 \begin_inset VSpace bigskip
14170 \end_inset
14171
14172 To color horizontal lines for example with red, like in Table\InsetSpace ~
14173
14174 \begin_inset LatexCommand ref
14175 reference "tab:Table-with-horizontal-colored"
14176
14177 \end_inset
14178
14179 , insert these commands in ERT before the table or table float:
14180 \end_layout
14181
14182 \begin_layout Standard
14183
14184 \series bold
14185
14186 \backslash
14187 let
14188 \backslash
14189 myHlineC
14190 \backslash
14191 hline
14192 \newline
14193
14194 \backslash
14195 renewcommand{
14196 \backslash
14197 hline}{
14198 \backslash
14199 arrayrulecolor{red}
14200 \backslash
14201 myHlineC
14202 \backslash
14203 arrayrulecolor{black}}
14204 \end_layout
14205
14206 \begin_layout Standard
14207 \begin_inset ERT
14208 status collapsed
14209
14210 \begin_layout Standard
14211
14212
14213 \backslash
14214 let
14215 \backslash
14216 myHlineC
14217 \backslash
14218 hline
14219 \end_layout
14220
14221 \begin_layout Standard
14222
14223
14224 \backslash
14225 renewcommand{
14226 \backslash
14227 hline}{
14228 \backslash
14229 arrayrulecolor{red}
14230 \backslash
14231 myHlineC
14232 \backslash
14233 arrayrulecolor{black}}
14234 \end_layout
14235
14236 \end_inset
14237
14238
14239 \begin_inset Float table
14240 wide false
14241 sideways false
14242 status open
14243
14244 \begin_layout Standard
14245 \begin_inset Caption
14246
14247 \begin_layout Standard
14248 \begin_inset LatexCommand label
14249 name "tab:Table-with-horizontal-colored"
14250
14251 \end_inset
14252
14253 Table with colored horizontal lines
14254 \end_layout
14255
14256 \end_inset
14257
14258
14259 \end_layout
14260
14261 \begin_layout Standard
14262 \align center
14263 \begin_inset Tabular
14264 <lyxtabular version="3" rows="3" columns="3">
14265 <features>
14266 <column alignment="center" valignment="top" leftline="true" width="0">
14267 <column alignment="center" valignment="top" leftline="true" width="0">
14268 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14269 <row topline="true">
14270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14271 \begin_inset Text
14272
14273 \begin_layout Standard
14274 sd
14275 \end_layout
14276
14277 \end_inset
14278 </cell>
14279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14280 \begin_inset Text
14281
14282 \begin_layout Standard
14283
14284 \end_layout
14285
14286 \end_inset
14287 </cell>
14288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14289 \begin_inset Text
14290
14291 \begin_layout Standard
14292
14293 \end_layout
14294
14295 \end_inset
14296 </cell>
14297 </row>
14298 <row topline="true">
14299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14300 \begin_inset Text
14301
14302 \begin_layout Standard
14303
14304 \end_layout
14305
14306 \end_inset
14307 </cell>
14308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14309 \begin_inset Text
14310
14311 \begin_layout Standard
14312 sd
14313 \end_layout
14314
14315 \end_inset
14316 </cell>
14317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14318 \begin_inset Text
14319
14320 \begin_layout Standard
14321
14322 \end_layout
14323
14324 \end_inset
14325 </cell>
14326 </row>
14327 <row topline="true" bottomline="true">
14328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14329 \begin_inset Text
14330
14331 \begin_layout Standard
14332
14333 \end_layout
14334
14335 \end_inset
14336 </cell>
14337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14338 \begin_inset Text
14339
14340 \begin_layout Standard
14341
14342 \end_layout
14343
14344 \end_inset
14345 </cell>
14346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14347 \begin_inset Text
14348
14349 \begin_layout Standard
14350 sd
14351 \end_layout
14352
14353 \end_inset
14354 </cell>
14355 </row>
14356 </lyxtabular>
14357
14358 \end_inset
14359
14360
14361 \end_layout
14362
14363 \end_inset
14364
14365
14366 \end_layout
14367
14368 \begin_layout Standard
14369 \begin_inset ERT
14370 status collapsed
14371
14372 \begin_layout Standard
14373
14374
14375 \backslash
14376 pagebreak 
14377 \end_layout
14378
14379 \end_inset
14380
14381
14382 \end_layout
14383
14384 \begin_layout Standard
14385 To return to the default line color black, insert this command in ERT behind
14386  the table or table float:
14387 \end_layout
14388
14389 \begin_layout Standard
14390
14391 \series bold
14392
14393 \backslash
14394 renewcommand{
14395 \backslash
14396 hline}{
14397 \backslash
14398 myHlineC}
14399 \end_layout
14400
14401 \begin_layout Standard
14402 Table\InsetSpace ~
14403
14404 \begin_inset LatexCommand ref
14405 reference "tab:Table-with-colored"
14406
14407 \end_inset
14408
14409  is an example with colored vertical and horizontal lines.
14410 \end_layout
14411
14412 \begin_layout Standard
14413 \begin_inset Float table
14414 wide false
14415 sideways false
14416 status open
14417
14418 \begin_layout Standard
14419 \begin_inset Caption
14420
14421 \begin_layout Standard
14422 \begin_inset LatexCommand label
14423 name "tab:Table-with-colored"
14424
14425 \end_inset
14426
14427 Table with colored lines
14428 \end_layout
14429
14430 \end_inset
14431
14432
14433 \end_layout
14434
14435 \begin_layout Standard
14436 \align center
14437 \begin_inset Tabular
14438 <lyxtabular version="3" rows="3" columns="3">
14439 <features>
14440 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14441 <column alignment="center" valignment="top" width="0" special="Wc">
14442 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14443 <row topline="true">
14444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14445 \begin_inset Text
14446
14447 \begin_layout Standard
14448 sd
14449 \end_layout
14450
14451 \end_inset
14452 </cell>
14453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14454 \begin_inset Text
14455
14456 \begin_layout Standard
14457
14458 \end_layout
14459
14460 \end_inset
14461 </cell>
14462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14463 \begin_inset Text
14464
14465 \begin_layout Standard
14466
14467 \end_layout
14468
14469 \end_inset
14470 </cell>
14471 </row>
14472 <row topline="true">
14473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14474 \begin_inset Text
14475
14476 \begin_layout Standard
14477
14478 \end_layout
14479
14480 \end_inset
14481 </cell>
14482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14483 \begin_inset Text
14484
14485 \begin_layout Standard
14486 sd
14487 \end_layout
14488
14489 \end_inset
14490 </cell>
14491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14492 \begin_inset Text
14493
14494 \begin_layout Standard
14495
14496 \end_layout
14497
14498 \end_inset
14499 </cell>
14500 </row>
14501 <row topline="true" bottomline="true" topspace="default">
14502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14503 \begin_inset Text
14504
14505 \begin_layout Standard
14506
14507 \end_layout
14508
14509 \end_inset
14510 </cell>
14511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14512 \begin_inset Text
14513
14514 \begin_layout Standard
14515
14516 \end_layout
14517
14518 \end_inset
14519 </cell>
14520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14521 \begin_inset Text
14522
14523 \begin_layout Standard
14524 sd
14525 \end_layout
14526
14527 \end_inset
14528 </cell>
14529 </row>
14530 </lyxtabular>
14531
14532 \end_inset
14533
14534
14535 \end_layout
14536
14537 \end_inset
14538
14539
14540 \end_layout
14541
14542 \begin_layout Standard
14543 \begin_inset ERT
14544 status collapsed
14545
14546 \begin_layout Standard
14547
14548
14549 \backslash
14550 renewcommand{
14551 \backslash
14552 hline}{
14553 \backslash
14554 myHlineC}
14555 \end_layout
14556
14557 \end_inset
14558
14559
14560 \end_layout
14561
14562 \begin_layout Standard
14563 \begin_inset ERT
14564 status collapsed
14565
14566 \begin_layout Standard
14567
14568
14569 \backslash
14570 setlength{
14571 \backslash
14572 arrayrulewidth}{0.4pt}
14573 \end_layout
14574
14575 \end_inset
14576
14577
14578 \end_layout
14579
14580 \begin_layout Section
14581 Table Customization
14582 \begin_inset LatexCommand index
14583 name "Table Customization"
14584
14585 \end_inset
14586
14587
14588 \begin_inset LatexCommand index
14589 name "Table ! Customization"
14590
14591 \end_inset
14592
14593
14594 \end_layout
14595
14596 \begin_layout Subsection
14597 Row Spacing
14598 \begin_inset LatexCommand label
14599 name "sub:Row-Spacing"
14600
14601 \end_inset
14602
14603
14604 \begin_inset LatexCommand index
14605 name "Table Customization ! Row Spacing"
14606
14607 \end_inset
14608
14609
14610 \end_layout
14611
14612 \begin_layout Standard
14613 You can add vertical space to table rows in the 
14614 \family sans
14615 Borders
14616 \family default
14617  tab of the table dialog.
14618  You find there three possibilities:
14619 \end_layout
14620
14621 \begin_layout Description
14622 Top\InsetSpace ~
14623 of\InsetSpace ~
14624 row will add space above the characters of the table row.
14625  If the table is a formal table
14626 \begin_inset Foot
14627 status collapsed
14628
14629 \begin_layout Standard
14630 Formal tables are explained in section\InsetSpace ~
14631
14632 \begin_inset LatexCommand ref
14633 reference "sec:Formal-Tables"
14634
14635 \end_inset
14636
14637 .
14638 \end_layout
14639
14640 \end_inset
14641
14642  LyX will insert as default 0.5\InsetSpace \thinspace{}
14643 em space.
14644  For normal tables the inserted space will unfortunately destroy the vertical
14645  table lines as in the following table: 
14646 \begin_inset Tabular
14647 <lyxtabular version="3" rows="3" columns="1">
14648 <features>
14649 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14650 <row topline="true">
14651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14652 \begin_inset Text
14653
14654 \begin_layout Standard
14655 A
14656 \end_layout
14657
14658 \end_inset
14659 </cell>
14660 </row>
14661 <row topline="true" topspace="3mm">
14662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14663 \begin_inset Text
14664
14665 \begin_layout Standard
14666 3\InsetSpace \thinspace{}
14667 mm space top of row
14668 \end_layout
14669
14670 \end_inset
14671 </cell>
14672 </row>
14673 <row topline="true" bottomline="true">
14674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14675 \begin_inset Text
14676
14677 \begin_layout Standard
14678 C
14679 \end_layout
14680
14681 \end_inset
14682 </cell>
14683 </row>
14684 </lyxtabular>
14685
14686 \end_inset
14687
14688
14689 \newline
14690 So inserting space to the top of row for normal tables is only useful when
14691  you don't have vertical lines.
14692 \end_layout
14693
14694 \begin_layout Description
14695 Bottom\InsetSpace ~
14696 of\InsetSpace ~
14697 row will add space below the characters of the table row.
14698  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14699 em space, for
14700  normal tables the default size is 2\InsetSpace \thinspace{}
14701 pt.
14702 \end_layout
14703
14704 \begin_layout Description
14705 Between\InsetSpace ~
14706 rows only has an effect when you have selected the whole table row
14707  before.
14708  The space is added between the current and the following row.
14709  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14710 em space.
14711  For normal tables the inserted space will unfortunately destroy the vertical
14712  table lines as in the following table: 
14713 \begin_inset Tabular
14714 <lyxtabular version="3" rows="3" columns="1">
14715 <features>
14716 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14717 <row topline="true">
14718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14719 \begin_inset Text
14720
14721 \begin_layout Standard
14722 A
14723 \end_layout
14724
14725 \end_inset
14726 </cell>
14727 </row>
14728 <row topline="true" interlinespace="3mm">
14729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14730 \begin_inset Text
14731
14732 \begin_layout Standard
14733 \begin_inset Formula $\downarrow$
14734 \end_inset
14735
14736  3\InsetSpace \thinspace{}
14737 mm space between row 
14738 \begin_inset Formula $\downarrow$
14739 \end_inset
14740
14741
14742 \end_layout
14743
14744 \end_inset
14745 </cell>
14746 </row>
14747 <row topline="true" bottomline="true">
14748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14749 \begin_inset Text
14750
14751 \begin_layout Standard
14752 \begin_inset Formula $\uparrow$
14753 \end_inset
14754
14755  3\InsetSpace \thinspace{}
14756 mm space between row 
14757 \begin_inset Formula $\uparrow$
14758 \end_inset
14759
14760
14761 \end_layout
14762
14763 \end_inset
14764 </cell>
14765 </row>
14766 </lyxtabular>
14767
14768 \end_inset
14769
14770
14771 \newline
14772 So inserting space between rows for normal tables is only useful when you
14773  don't have vertical lines.
14774 \end_layout
14775
14776 \begin_layout Standard
14777 When you want to add extra height to all cells of all tables, you can do
14778  this with the following preamble line:
14779 \end_layout
14780
14781 \begin_layout Standard
14782
14783 \series bold
14784
14785 \backslash
14786 setlength{
14787 \backslash
14788 extrarowheight}{height}
14789 \end_layout
14790
14791 \begin_layout Standard
14792 But this has the disadvantage that the cell texts are no longer exactly
14793  vertically centered.
14794 \end_layout
14795
14796 \begin_layout Subsection
14797 Special Cell Alignment
14798 \begin_inset LatexCommand index
14799 name "Table Customization ! Special Cell Alignment"
14800
14801 \end_inset
14802
14803
14804 \end_layout
14805
14806 \begin_layout Standard
14807 Sometimes it looks better when the cell entries of a column are aligned
14808  with a special character, e.\InsetSpace \thinspace{}
14809 g.\InsetSpace ~
14810 with the decimal separator as in Table\InsetSpace ~
14811
14812 \begin_inset LatexCommand ref
14813 reference "tab:Table-cells-of"
14814
14815 \end_inset
14816
14817 .
14818 \end_layout
14819
14820 \begin_layout Standard
14821 \begin_inset Float table
14822 placement h
14823 wide false
14824 sideways false
14825 status open
14826
14827 \begin_layout Standard
14828 \begin_inset Caption
14829
14830 \begin_layout Standard
14831 \begin_inset LatexCommand label
14832 name "tab:Table-cells-of"
14833
14834 \end_inset
14835
14836 Table cells of a column aligned with the decimal separator.
14837 \end_layout
14838
14839 \end_inset
14840
14841
14842 \end_layout
14843
14844 \begin_layout Standard
14845 \align center
14846 \begin_inset Tabular
14847 <lyxtabular version="3" rows="4" columns="2">
14848 <features>
14849 <column alignment="right" valignment="top" width="0">
14850 <column alignment="left" valignment="top" width="0" special="@{}l">
14851 <row bottomline="true">
14852 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14853 \begin_inset Text
14854
14855 \begin_layout Standard
14856 heading
14857 \end_layout
14858
14859 \end_inset
14860 </cell>
14861 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14862 \begin_inset Text
14863
14864 \begin_layout Standard
14865
14866 \end_layout
14867
14868 \end_inset
14869 </cell>
14870 </row>
14871 <row>
14872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14873 \begin_inset Text
14874
14875 \begin_layout Standard
14876 12.
14877 \end_layout
14878
14879 \end_inset
14880 </cell>
14881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14882 \begin_inset Text
14883
14884 \begin_layout Standard
14885 6
14886 \end_layout
14887
14888 \end_inset
14889 </cell>
14890 </row>
14891 <row>
14892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14893 \begin_inset Text
14894
14895 \begin_layout Standard
14896 0.
14897 \end_layout
14898
14899 \end_inset
14900 </cell>
14901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14902 \begin_inset Text
14903
14904 \begin_layout Standard
14905 68
14906 \end_layout
14907
14908 \end_inset
14909 </cell>
14910 </row>
14911 <row>
14912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14913 \begin_inset Text
14914
14915 \begin_layout Standard
14916 -123.
14917 \end_layout
14918
14919 \end_inset
14920 </cell>
14921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14922 \begin_inset Text
14923
14924 \begin_layout Standard
14925 0
14926 \end_layout
14927
14928 \end_inset
14929 </cell>
14930 </row>
14931 </lyxtabular>
14932
14933 \end_inset
14934
14935
14936 \end_layout
14937
14938 \end_inset
14939
14940
14941 \end_layout
14942
14943 \begin_layout Standard
14944 This table was created with a 4×2 table.
14945  The heading is a centered multicolumn.
14946  The first column is right-aligned and contains the digits before the decimal
14947  point and the decimal point.
14948  The second column is left aligned and contains the digits after the decimal
14949  point.
14950  To omit the space that is normally between two table columns, use the following
14951  LaTeX-argument for the second column:
14952 \end_layout
14953
14954 \begin_layout Standard
14955
14956 \series bold
14957 @{}l
14958 \end_layout
14959
14960 \begin_layout Standard
14961 If you need a vertical line right beside the second column, use this LaTeX-argum
14962 ent instead: 
14963 \series bold
14964 @{}l|
14965 \end_layout
14966
14967 \begin_layout Standard
14968 Table\InsetSpace ~
14969
14970 \begin_inset LatexCommand ref
14971 reference "tab:Several-table-cell"
14972
14973 \end_inset
14974
14975  shows some example alignments.
14976  For the alignment with the relation sign, you must add the second smallest
14977  math-space at the beginning of the last column to get the correct space
14978  surrounding the relation sign.
14979 \end_layout
14980
14981 \begin_layout Standard
14982 \begin_inset Float table
14983 wide false
14984 sideways false
14985 status open
14986
14987 \begin_layout Standard
14988 \begin_inset Caption
14989
14990 \begin_layout Standard
14991 \begin_inset LatexCommand label
14992 name "tab:Several-table-cell"
14993
14994 \end_inset
14995
14996 Several table cell alignments.
14997 \end_layout
14998
14999 \end_inset
15000
15001
15002 \end_layout
15003
15004 \begin_layout Standard
15005 \align center
15006 \begin_inset Tabular
15007 <lyxtabular version="3" rows="4" columns="6">
15008 <features>
15009 <column alignment="right" valignment="top" width="0">
15010 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15011 <column alignment="right" valignment="top" width="0">
15012 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15013 <column alignment="right" valignment="top" width="0">
15014 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15015 <row bottomline="true">
15016 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15017 \begin_inset Text
15018
15019 \begin_layout Standard
15020 units
15021 \end_layout
15022
15023 \end_inset
15024 </cell>
15025 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15026 \begin_inset Text
15027
15028 \begin_layout Standard
15029
15030 \end_layout
15031
15032 \end_inset
15033 </cell>
15034 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15035 \begin_inset Text
15036
15037 \begin_layout Standard
15038 exponents
15039 \end_layout
15040
15041 \end_inset
15042 </cell>
15043 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15044 \begin_inset Text
15045
15046 \begin_layout Standard
15047
15048 \end_layout
15049
15050 \end_inset
15051 </cell>
15052 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15053 \begin_inset Text
15054
15055 \begin_layout Standard
15056 relations
15057 \end_layout
15058
15059 \end_inset
15060 </cell>
15061 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15062 \begin_inset Text
15063
15064 \begin_layout Standard
15065
15066 \end_layout
15067
15068 \end_inset
15069 </cell>
15070 </row>
15071 <row>
15072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15073 \begin_inset Text
15074
15075 \begin_layout Standard
15076 12×
15077 \end_layout
15078
15079 \end_inset
15080 </cell>
15081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15082 \begin_inset Text
15083
15084 \begin_layout Standard
15085 24\InsetSpace \thinspace{}
15086 bottles
15087 \end_layout
15088
15089 \end_inset
15090 </cell>
15091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15092 \begin_inset Text
15093
15094 \begin_layout Standard
15095 \begin_inset Formula $10\cdot$
15096 \end_inset
15097
15098
15099 \end_layout
15100
15101 \end_inset
15102 </cell>
15103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15104 \begin_inset Text
15105
15106 \begin_layout Standard
15107 \begin_inset Formula $10^{\mbox{-}17}$
15108 \end_inset
15109
15110
15111 \end_layout
15112
15113 \end_inset
15114 </cell>
15115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15116 \begin_inset Text
15117
15118 \begin_layout Standard
15119 \begin_inset Formula $\Gamma(t)\propto$
15120 \end_inset
15121
15122
15123 \end_layout
15124
15125 \end_inset
15126 </cell>
15127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15128 \begin_inset Text
15129
15130 \begin_layout Standard
15131 \begin_inset Formula $\:\Upsilon(t)$
15132 \end_inset
15133
15134
15135 \end_layout
15136
15137 \end_inset
15138 </cell>
15139 </row>
15140 <row>
15141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15142 \begin_inset Text
15143
15144 \begin_layout Standard
15145 1024×
15146 \end_layout
15147
15148 \end_inset
15149 </cell>
15150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15151 \begin_inset Text
15152
15153 \begin_layout Standard
15154 768\InsetSpace \thinspace{}
15155 Pixels
15156 \end_layout
15157
15158 \end_inset
15159 </cell>
15160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15161 \begin_inset Text
15162
15163 \begin_layout Standard
15164 \begin_inset Formula $5.78\cdot$
15165 \end_inset
15166
15167
15168 \end_layout
15169
15170 \end_inset
15171 </cell>
15172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15173 \begin_inset Text
15174
15175 \begin_layout Standard
15176 \begin_inset Formula $10^{7}$
15177 \end_inset
15178
15179
15180 \end_layout
15181
15182 \end_inset
15183 </cell>
15184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15185 \begin_inset Text
15186
15187 \begin_layout Standard
15188 \begin_inset Formula $A\ne$
15189 \end_inset
15190
15191
15192 \end_layout
15193
15194 \end_inset
15195 </cell>
15196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15197 \begin_inset Text
15198
15199 \begin_layout Standard
15200 \begin_inset Formula $\: B_{\mathrm{red}}$
15201 \end_inset
15202
15203
15204 \end_layout
15205
15206 \end_inset
15207 </cell>
15208 </row>
15209 <row>
15210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15211 \begin_inset Text
15212
15213 \begin_layout Standard
15214 32×
15215 \end_layout
15216
15217 \end_inset
15218 </cell>
15219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15220 \begin_inset Text
15221
15222 \begin_layout Standard
15223 6\InsetSpace \thinspace{}
15224 cm
15225 \end_layout
15226
15227 \end_inset
15228 </cell>
15229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15230 \begin_inset Text
15231
15232 \begin_layout Standard
15233 -
15234 \begin_inset Formula $33.5\cdot$
15235 \end_inset
15236
15237
15238 \end_layout
15239
15240 \end_inset
15241 </cell>
15242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15243 \begin_inset Text
15244
15245 \begin_layout Standard
15246 \begin_inset Formula $10^{4}$
15247 \end_inset
15248
15249
15250 \end_layout
15251
15252 \end_inset
15253 </cell>
15254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15255 \begin_inset Text
15256
15257 \begin_layout Standard
15258 \begin_inset Formula $\sin(\alpha)\ge$
15259 \end_inset
15260
15261
15262 \end_layout
15263
15264 \end_inset
15265 </cell>
15266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15267 \begin_inset Text
15268
15269 \begin_layout Standard
15270 \begin_inset Formula $\:\sin(\beta)$
15271 \end_inset
15272
15273
15274 \end_layout
15275
15276 \end_inset
15277 </cell>
15278 </row>
15279 </lyxtabular>
15280
15281 \end_inset
15282
15283
15284 \end_layout
15285
15286 \end_inset
15287
15288
15289 \end_layout
15290
15291 \begin_layout Standard
15292 \begin_inset VSpace bigskip
15293 \end_inset
15294
15295 There is also the LaTeX-package 
15296 \series bold
15297 dcolumn
15298 \series default
15299
15300 \begin_inset LatexCommand index
15301 name "LaTeX-packages ! dcolumn"
15302
15303 \end_inset
15304
15305  that provides table cell alignments.
15306  But this unfortunately treats the cell entries as math and doesn't allow
15307  formulas in table cells: The first column of Table\InsetSpace ~
15308
15309 \begin_inset LatexCommand ref
15310 reference "tab:Several-table-cell"
15311
15312 \end_inset
15313
15314  will look with 
15315 \series bold
15316 dcolumn
15317 \series default
15318  like the first column in Table\InsetSpace ~
15319
15320 \begin_inset LatexCommand ref
15321 reference "tab:Alignments-when"
15322
15323 \end_inset
15324
15325  and only with some tricks like the expected.
15326  The alignment of the second and third column of Table\InsetSpace ~
15327
15328 \begin_inset LatexCommand ref
15329 reference "tab:Several-table-cell"
15330
15331 \end_inset
15332
15333  is not possible with 
15334 \series bold
15335 dcolumn
15336 \series default
15337 .
15338 \end_layout
15339
15340 \begin_layout Standard
15341 \begin_inset Float table
15342 placement h
15343 wide false
15344 sideways false
15345 status open
15346
15347 \begin_layout Standard
15348 \begin_inset Caption
15349
15350 \begin_layout Standard
15351 \begin_inset LatexCommand label
15352 name "tab:Alignments-when"
15353
15354 \end_inset
15355
15356 Alignments when LaTeX-package dcolumn is used.
15357  For the second and third alignment some tricks were used.
15358 \end_layout
15359
15360 \end_inset
15361
15362
15363 \end_layout
15364
15365 \begin_layout Standard
15366 \align center
15367 \begin_inset Tabular
15368 <lyxtabular version="3" rows="4" columns="3">
15369 <features>
15370 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15371 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15372 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15373 <row bottomline="true">
15374 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15375 \begin_inset Text
15376
15377 \begin_layout Standard
15378 units
15379 \end_layout
15380
15381 \end_inset
15382 </cell>
15383 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15384 \begin_inset Text
15385
15386 \begin_layout Standard
15387 units
15388 \end_layout
15389
15390 \end_inset
15391 </cell>
15392 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15393 \begin_inset Text
15394
15395 \begin_layout Standard
15396 units
15397 \end_layout
15398
15399 \end_inset
15400 </cell>
15401 </row>
15402 <row>
15403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15404 \begin_inset Text
15405
15406 \begin_layout Standard
15407 12×24\InsetSpace \thinspace{}
15408 bottles
15409 \end_layout
15410
15411 \end_inset
15412 </cell>
15413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15414 \begin_inset Text
15415
15416 \begin_layout Standard
15417 12×24\InsetSpace \thinspace{}
15418
15419 \begin_inset Formula $\mbox{bottles}$
15420 \end_inset
15421
15422
15423 \end_layout
15424
15425 \end_inset
15426 </cell>
15427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15428 \begin_inset Text
15429
15430 \begin_layout Standard
15431 12×24~
15432 \begin_inset Formula $\mbox{bottles}$
15433 \end_inset
15434
15435
15436 \end_layout
15437
15438 \end_inset
15439 </cell>
15440 </row>
15441 <row>
15442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15443 \begin_inset Text
15444
15445 \begin_layout Standard
15446 1024×768\InsetSpace \thinspace{}
15447 Pixels
15448 \end_layout
15449
15450 \end_inset
15451 </cell>
15452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15453 \begin_inset Text
15454
15455 \begin_layout Standard
15456 1024×768\InsetSpace \thinspace{}
15457
15458 \begin_inset Formula $\mbox{Pixels}$
15459 \end_inset
15460
15461
15462 \end_layout
15463
15464 \end_inset
15465 </cell>
15466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15467 \begin_inset Text
15468
15469 \begin_layout Standard
15470 1024×768~
15471 \begin_inset Formula $\mbox{Pixels}$
15472 \end_inset
15473
15474
15475 \end_layout
15476
15477 \end_inset
15478 </cell>
15479 </row>
15480 <row>
15481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15482 \begin_inset Text
15483
15484 \begin_layout Standard
15485 32×6\InsetSpace \thinspace{}
15486 cm
15487 \end_layout
15488
15489 \end_inset
15490 </cell>
15491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15492 \begin_inset Text
15493
15494 \begin_layout Standard
15495 32×6\InsetSpace \thinspace{}
15496
15497 \begin_inset Formula $\mbox{cm}$
15498 \end_inset
15499
15500
15501 \end_layout
15502
15503 \end_inset
15504 </cell>
15505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15506 \begin_inset Text
15507
15508 \begin_layout Standard
15509 32×6~
15510 \begin_inset Formula $\mbox{cm}$
15511 \end_inset
15512
15513
15514 \end_layout
15515
15516 \end_inset
15517 </cell>
15518 </row>
15519 </lyxtabular>
15520
15521 \end_inset
15522
15523
15524 \end_layout
15525
15526 \end_inset
15527
15528
15529 \end_layout
15530
15531 \begin_layout Subsection
15532 Customized Cell/Column Format
15533 \begin_inset LatexCommand label
15534 name "sub:Customized-Format"
15535
15536 \end_inset
15537
15538
15539 \begin_inset LatexCommand index
15540 name "Table Customization ! Cell/Column Format"
15541
15542 \end_inset
15543
15544
15545 \end_layout
15546
15547 \begin_layout Standard
15548 Calculating the needed width for spanned columns like in section\InsetSpace ~
15549
15550 \begin_inset LatexCommand ref
15551 reference "sub:Multicolumn-Calculations"
15552
15553 \end_inset
15554
15555  is very annoying if you have several tables with multicolumn cells.
15556  To make life easier, you can define a cell/column format in the preamble,
15557  so that it can be used in all tables of the document.
15558  The format is defined with the command
15559 \end_layout
15560
15561 \begin_layout Standard
15562
15563 \series bold
15564
15565 \backslash
15566 newcolumntype{name of format}[number of arguments]{commands}
15567 \end_layout
15568
15569 \begin_layout Standard
15570 The format name may only consist of one letter.
15571  The letters 
15572 \emph on
15573 b
15574 \emph default
15575
15576 \emph on
15577 c
15578 \emph default
15579
15580 \emph on
15581 l
15582 \emph default
15583
15584 \emph on
15585 m
15586 \emph default
15587
15588 \emph on
15589 p
15590 \emph default
15591  and 
15592 \emph on
15593 r
15594 \emph default
15595  are predefined and cannot be used.
15596  But all letters are allowed as capitals.
15597 \end_layout
15598
15599 \begin_layout Standard
15600 \begin_inset VSpace medskip
15601 \end_inset
15602
15603
15604 \end_layout
15605
15606 \begin_layout Standard
15607 For vertically and horizontally centered multicolumn cells with a fixed
15608  width you can define the cell format
15609 \end_layout
15610
15611 \begin_layout Standard
15612
15613 \series bold
15614
15615 \backslash
15616 newcolumntype{M}[1]{>{
15617 \backslash
15618 centering
15619 \backslash
15620 hspace{0pt}}m{#1}}
15621 \end_layout
15622
15623 \begin_layout Standard
15624 where 
15625 \series bold
15626
15627 \backslash
15628 hspace{0pt}
15629 \series default
15630  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15631
15632 \begin_inset LatexCommand ref
15633 reference "sub:Multiple-Lines-in"
15634
15635 \end_inset
15636
15637 .
15638  Now you can simply enter
15639 \end_layout
15640
15641 \begin_layout Standard
15642
15643 \series bold
15644 |M{width}
15645 \end_layout
15646
15647 \begin_layout Standard
15648 as LaTeX-argument in the table dialog to create a multicolumn.
15649 \end_layout
15650
15651 \begin_layout Standard
15652 \begin_inset VSpace bigskip
15653 \end_inset
15654
15655
15656 \end_layout
15657
15658 \begin_layout Standard
15659 For cells spanned by a multicolumn cell, you can define the format
15660 \end_layout
15661
15662 \begin_layout Standard
15663
15664 \series bold
15665
15666 \backslash
15667 newcolumntype{S}[2]{>{
15668 \backslash
15669 centering
15670 \backslash
15671 hspace{0pt}}
15672 \newline
15673
15674 \begin_inset ERT
15675 status collapsed
15676
15677 \begin_layout Standard
15678
15679
15680 \backslash
15681 phantom{
15682 \end_layout
15683
15684 \end_inset
15685
15686
15687 \backslash
15688 newcolumntype{S}[2]
15689 \begin_inset ERT
15690 status collapsed
15691
15692 \begin_layout Standard
15693
15694 }
15695 \end_layout
15696
15697 \end_inset
15698
15699 m{(#1+(2
15700 \backslash
15701 tabcolsep+
15702 \backslash
15703 arrayrulewidth)*(1-#2))/#2}}
15704 \end_layout
15705
15706 \begin_layout Standard
15707 This format uses equation 
15708 \begin_inset LatexCommand eqref
15709 reference "eq:Wgn"
15710
15711 \end_inset
15712
15713  to calculate the needed width so that each spanned cell has the same width.
15714 \end_layout
15715
15716 \begin_layout Standard
15717 You can now enter
15718 \end_layout
15719
15720 \begin_layout Standard
15721
15722 \series bold
15723 |S{width of multicolumn cell}{number of spanned columns}
15724 \end_layout
15725
15726 \begin_layout Standard
15727 as LaTeX-argument of the column.
15728 \end_layout
15729
15730 \begin_layout Standard
15731 \begin_inset VSpace bigskip
15732 \end_inset
15733
15734
15735 \end_layout
15736
15737 \begin_layout Standard
15738 For colored columns, you can define
15739 \end_layout
15740
15741 \begin_layout Standard
15742
15743 \series bold
15744
15745 \backslash
15746 newcolumntype{K}[1]{>{
15747 \backslash
15748 columncolor{#1}
15749 \backslash
15750 hspace{0pt}}c}
15751 \end_layout
15752
15753 \begin_layout Standard
15754 The 
15755 \begin_inset Quotes eld
15756 \end_inset
15757
15758 c
15759 \begin_inset Quotes erd
15760 \end_inset
15761
15762  at the end creates a column with a flexible width whose text is horizontally
15763  centered.
15764  You can now enter
15765 \end_layout
15766
15767 \begin_layout Standard
15768
15769 \series bold
15770 K{color name}
15771 \end_layout
15772
15773 \begin_layout Standard
15774 as LaTeX-argument.
15775 \end_layout
15776
15777 \begin_layout Standard
15778 \begin_inset VSpace bigskip
15779 \end_inset
15780
15781
15782 \end_layout
15783
15784 \begin_layout Standard
15785 To create Table\InsetSpace ~
15786
15787 \begin_inset LatexCommand ref
15788 reference "tab:Table-using-user-defined"
15789
15790 \end_inset
15791
15792  use the LaTeX-arguments
15793 \end_layout
15794
15795 \begin_layout Standard
15796
15797 \series bold
15798 |M{2.5cm}
15799 \end_layout
15800
15801 \begin_layout Standard
15802 for the first column and the multicolumn,
15803 \end_layout
15804
15805 \begin_layout Standard
15806
15807 \series bold
15808 |K{red}|
15809 \end_layout
15810
15811 \begin_layout Standard
15812 for the the last column, and
15813 \end_layout
15814
15815 \begin_layout Standard
15816
15817 \series bold
15818 |S{2.5cm}{2}
15819 \end_layout
15820
15821 \begin_layout Standard
15822 for the cells in the second column.
15823 \end_layout
15824
15825 \begin_layout Standard
15826 \begin_inset Float table
15827 placement h
15828 wide false
15829 sideways false
15830 status open
15831
15832 \begin_layout Standard
15833 \begin_inset Caption
15834
15835 \begin_layout Standard
15836 \begin_inset LatexCommand label
15837 name "tab:Table-using-user-defined"
15838
15839 \end_inset
15840
15841 Table using user-defined table formats
15842 \end_layout
15843
15844 \end_inset
15845
15846
15847 \end_layout
15848
15849 \begin_layout Standard
15850 \align center
15851 \begin_inset Tabular
15852 <lyxtabular version="3" rows="3" columns="4">
15853 <features>
15854 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15855 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15856 <column alignment="center" valignment="middle" leftline="true" width="0">
15857 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15858 <row topline="true">
15859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15860 \begin_inset Text
15861
15862 \begin_layout Standard
15863 verylongtablecellword
15864 \end_layout
15865
15866 \end_inset
15867 </cell>
15868 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15869 \begin_inset Text
15870
15871 \begin_layout Standard
15872 multiple lines multicolumn
15873 \end_layout
15874
15875 \end_inset
15876 </cell>
15877 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15878 \begin_inset Text
15879
15880 \begin_layout Standard
15881
15882 \end_layout
15883
15884 \end_inset
15885 </cell>
15886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15887 \begin_inset Text
15888
15889 \begin_layout Standard
15890 c
15891 \end_layout
15892
15893 \end_inset
15894 </cell>
15895 </row>
15896 <row topline="true">
15897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15898 \begin_inset Text
15899
15900 \begin_layout Standard
15901 d
15902 \end_layout
15903
15904 \end_inset
15905 </cell>
15906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15907 \begin_inset Text
15908
15909 \begin_layout Standard
15910 e
15911 \end_layout
15912
15913 \end_inset
15914 </cell>
15915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15916 \begin_inset Text
15917
15918 \begin_layout Standard
15919 f
15920 \end_layout
15921
15922 \end_inset
15923 </cell>
15924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15925 \begin_inset Text
15926
15927 \begin_layout Standard
15928 g
15929 \end_layout
15930
15931 \end_inset
15932 </cell>
15933 </row>
15934 <row topline="true" bottomline="true">
15935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15936 \begin_inset Text
15937
15938 \begin_layout Standard
15939 h
15940 \end_layout
15941
15942 \end_inset
15943 </cell>
15944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15945 \begin_inset Text
15946
15947 \begin_layout Standard
15948 i
15949 \end_layout
15950
15951 \end_inset
15952 </cell>
15953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15954 \begin_inset Text
15955
15956 \begin_layout Standard
15957 j
15958 \end_layout
15959
15960 \end_inset
15961 </cell>
15962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15963 \begin_inset Text
15964
15965 \begin_layout Standard
15966 k
15967 \end_layout
15968
15969 \end_inset
15970 </cell>
15971 </row>
15972 </lyxtabular>
15973
15974 \end_inset
15975
15976
15977 \end_layout
15978
15979 \end_inset
15980
15981
15982 \end_layout
15983
15984 \begin_layout Subsection
15985 Line Thickness
15986 \begin_inset LatexCommand label
15987 name "sub:Line-Thickness"
15988
15989 \end_inset
15990
15991
15992 \begin_inset LatexCommand index
15993 name "Table Customization ! Line Thickness"
15994
15995 \end_inset
15996
15997
15998 \end_layout
15999
16000 \begin_layout Standard
16001 The line thickness for all lines in a table can be adjusted with the length
16002  
16003 \series bold
16004
16005 \backslash
16006 arrayrulewidth
16007 \series default
16008 .
16009  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16010 pt, like in Table\InsetSpace ~
16011
16012 \begin_inset LatexCommand ref
16013 reference "tab:Table-with-1.5"
16014
16015 \end_inset
16016
16017 , insert the command
16018 \end_layout
16019
16020 \begin_layout Standard
16021
16022 \series bold
16023
16024 \backslash
16025 setlength{
16026 \backslash
16027 arrayrulewidth}{1.5pt}
16028 \end_layout
16029
16030 \begin_layout Standard
16031 in ERT before the table or table float.
16032  The changed thickness is valid for all following tables.
16033  To use the default value again, set 
16034 \series bold
16035
16036 \backslash
16037 arrayrulewidth
16038 \series default
16039  to 0.4\InsetSpace \thinspace{}
16040 pt in ERT behind the table or table float.
16041 \end_layout
16042
16043 \begin_layout Standard
16044 \begin_inset ERT
16045 status collapsed
16046
16047 \begin_layout Standard
16048
16049
16050 \backslash
16051 setlength{
16052 \backslash
16053 arrayrulewidth}{1.5pt}
16054 \end_layout
16055
16056 \end_inset
16057
16058
16059 \begin_inset Float table
16060 wide false
16061 sideways false
16062 status open
16063
16064 \begin_layout Standard
16065 \begin_inset Caption
16066
16067 \begin_layout Standard
16068 \begin_inset LatexCommand label
16069 name "tab:Table-with-1.5"
16070
16071 \end_inset
16072
16073 Table with 1.5\InsetSpace \thinspace{}
16074 pt thick lines
16075 \end_layout
16076
16077 \end_inset
16078
16079
16080 \end_layout
16081
16082 \begin_layout Standard
16083 \align center
16084 \begin_inset Tabular
16085 <lyxtabular version="3" rows="3" columns="3">
16086 <features>
16087 <column alignment="center" valignment="top" leftline="true" width="0">
16088 <column alignment="center" valignment="top" leftline="true" width="0">
16089 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16090 <row topline="true">
16091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16092 \begin_inset Text
16093
16094 \begin_layout Standard
16095 sd
16096 \end_layout
16097
16098 \end_inset
16099 </cell>
16100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16101 \begin_inset Text
16102
16103 \begin_layout Standard
16104
16105 \end_layout
16106
16107 \end_inset
16108 </cell>
16109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16110 \begin_inset Text
16111
16112 \begin_layout Standard
16113
16114 \end_layout
16115
16116 \end_inset
16117 </cell>
16118 </row>
16119 <row topline="true">
16120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16121 \begin_inset Text
16122
16123 \begin_layout Standard
16124
16125 \end_layout
16126
16127 \end_inset
16128 </cell>
16129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16130 \begin_inset Text
16131
16132 \begin_layout Standard
16133 sd
16134 \end_layout
16135
16136 \end_inset
16137 </cell>
16138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16139 \begin_inset Text
16140
16141 \begin_layout Standard
16142
16143 \end_layout
16144
16145 \end_inset
16146 </cell>
16147 </row>
16148 <row topline="true" bottomline="true">
16149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16150 \begin_inset Text
16151
16152 \begin_layout Standard
16153
16154 \end_layout
16155
16156 \end_inset
16157 </cell>
16158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16159 \begin_inset Text
16160
16161 \begin_layout Standard
16162
16163 \end_layout
16164
16165 \end_inset
16166 </cell>
16167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16168 \begin_inset Text
16169
16170 \begin_layout Standard
16171 sd
16172 \end_layout
16173
16174 \end_inset
16175 </cell>
16176 </row>
16177 </lyxtabular>
16178
16179 \end_inset
16180
16181
16182 \end_layout
16183
16184 \end_inset
16185
16186
16187 \begin_inset ERT
16188 status collapsed
16189
16190 \begin_layout Standard
16191
16192
16193 \backslash
16194 setlength{
16195 \backslash
16196 arrayrulewidth}{0.4pt}
16197 \end_layout
16198
16199 \end_inset
16200
16201
16202 \end_layout
16203
16204 \begin_layout Standard
16205 \begin_inset VSpace bigskip
16206 \end_inset
16207
16208 To set the line thickness to 1.5\InsetSpace \thinspace{}
16209 pt only for horizontal lines, like in Table\InsetSpace ~
16210
16211 \begin_inset LatexCommand ref
16212 reference "tab:Table-with-horizontal"
16213
16214 \end_inset
16215
16216 , insert these commands in ERT before the table or table float:
16217 \end_layout
16218
16219 \begin_layout Standard
16220
16221 \series bold
16222
16223 \backslash
16224 let
16225 \backslash
16226 myHline
16227 \backslash
16228 hline
16229 \newline
16230
16231 \backslash
16232 renewcommand{
16233 \backslash
16234 hline}
16235 \newline
16236  {
16237 \backslash
16238 noalign{
16239 \backslash
16240 global
16241 \backslash
16242 arrayrulewidth 1.5pt}
16243 \newline
16244   
16245 \backslash
16246 myHline
16247 \backslash
16248 noalign{
16249 \backslash
16250 global
16251 \backslash
16252 arrayrulewidth 0.4pt}}
16253 \end_layout
16254
16255 \begin_layout Standard
16256 To return to the default line thickness, insert this command in ERT behind
16257  the table or table float:
16258 \end_layout
16259
16260 \begin_layout Standard
16261
16262 \series bold
16263
16264 \backslash
16265 renewcommand{
16266 \backslash
16267 hline}{
16268 \backslash
16269 myHline}
16270 \end_layout
16271
16272 \begin_layout Standard
16273 \begin_inset ERT
16274 status collapsed
16275
16276 \begin_layout Standard
16277
16278
16279 \backslash
16280 let
16281 \backslash
16282 myHline
16283 \backslash
16284 hline
16285 \end_layout
16286
16287 \begin_layout Standard
16288
16289
16290 \backslash
16291 renewcommand{
16292 \backslash
16293 hline}
16294 \end_layout
16295
16296 \begin_layout Standard
16297
16298  {
16299 \backslash
16300 noalign{
16301 \backslash
16302 global
16303 \backslash
16304 arrayrulewidth 1.5pt}
16305 \end_layout
16306
16307 \begin_layout Standard
16308
16309   
16310 \backslash
16311 myHline
16312 \backslash
16313 noalign{
16314 \backslash
16315 global
16316 \backslash
16317 arrayrulewidth 0.4pt}}
16318 \end_layout
16319
16320 \end_inset
16321
16322
16323 \begin_inset Float table
16324 wide false
16325 sideways false
16326 status open
16327
16328 \begin_layout Standard
16329 \begin_inset Caption
16330
16331 \begin_layout Standard
16332 \begin_inset LatexCommand label
16333 name "tab:Table-with-horizontal"
16334
16335 \end_inset
16336
16337 Table with 1.5\InsetSpace \thinspace{}
16338 pt thick horizontal lines
16339 \end_layout
16340
16341 \end_inset
16342
16343
16344 \end_layout
16345
16346 \begin_layout Standard
16347 \align center
16348 \begin_inset Tabular
16349 <lyxtabular version="3" rows="3" columns="3">
16350 <features>
16351 <column alignment="center" valignment="top" leftline="true" width="0">
16352 <column alignment="center" valignment="top" leftline="true" width="0">
16353 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16354 <row topline="true">
16355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16356 \begin_inset Text
16357
16358 \begin_layout Standard
16359 sd
16360 \end_layout
16361
16362 \end_inset
16363 </cell>
16364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16365 \begin_inset Text
16366
16367 \begin_layout Standard
16368
16369 \end_layout
16370
16371 \end_inset
16372 </cell>
16373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16374 \begin_inset Text
16375
16376 \begin_layout Standard
16377
16378 \end_layout
16379
16380 \end_inset
16381 </cell>
16382 </row>
16383 <row topline="true">
16384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16385 \begin_inset Text
16386
16387 \begin_layout Standard
16388
16389 \end_layout
16390
16391 \end_inset
16392 </cell>
16393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16394 \begin_inset Text
16395
16396 \begin_layout Standard
16397 sd
16398 \end_layout
16399
16400 \end_inset
16401 </cell>
16402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16403 \begin_inset Text
16404
16405 \begin_layout Standard
16406
16407 \end_layout
16408
16409 \end_inset
16410 </cell>
16411 </row>
16412 <row topline="true" bottomline="true">
16413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16414 \begin_inset Text
16415
16416 \begin_layout Standard
16417
16418 \end_layout
16419
16420 \end_inset
16421 </cell>
16422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16423 \begin_inset Text
16424
16425 \begin_layout Standard
16426
16427 \end_layout
16428
16429 \end_inset
16430 </cell>
16431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16432 \begin_inset Text
16433
16434 \begin_layout Standard
16435 sd
16436 \end_layout
16437
16438 \end_inset
16439 </cell>
16440 </row>
16441 </lyxtabular>
16442
16443 \end_inset
16444
16445
16446 \end_layout
16447
16448 \end_inset
16449
16450
16451 \begin_inset ERT
16452 status collapsed
16453
16454 \begin_layout Standard
16455
16456
16457 \backslash
16458 renewcommand{
16459 \backslash
16460 hline}{
16461 \backslash
16462 myHline}
16463 \end_layout
16464
16465 \end_inset
16466
16467
16468 \end_layout
16469
16470 \begin_layout Standard
16471 \begin_inset VSpace bigskip
16472 \end_inset
16473
16474 To set the line thickness to 1.5\InsetSpace \thinspace{}
16475 pt only for vertical lines, create the following
16476  column format in the document preamble, according to the description in
16477  section\InsetSpace ~
16478
16479 \begin_inset LatexCommand ref
16480 reference "sub:Customized-Format"
16481
16482 \end_inset
16483
16484 :
16485 \end_layout
16486
16487 \begin_layout Standard
16488
16489 \series bold
16490
16491 \backslash
16492 newcolumntype{V}{!{
16493 \backslash
16494 vrule width 1.5pt}}
16495 \end_layout
16496
16497 \begin_layout Standard
16498 For Table\InsetSpace ~
16499
16500 \begin_inset LatexCommand ref
16501 reference "tab:Table-with-vertical"
16502
16503 \end_inset
16504
16505  the LaTeX-argument
16506 \end_layout
16507
16508 \begin_layout Standard
16509
16510 \series bold
16511 VcV
16512 \end_layout
16513
16514 \begin_layout Standard
16515 was used for the last column and
16516 \end_layout
16517
16518 \begin_layout Standard
16519
16520 \series bold
16521 Vc
16522 \end_layout
16523
16524 \begin_layout Standard
16525 for the other columns.
16526 \end_layout
16527
16528 \begin_layout Standard
16529 \begin_inset Float table
16530 wide false
16531 sideways false
16532 status open
16533
16534 \begin_layout Standard
16535 \begin_inset Caption
16536
16537 \begin_layout Standard
16538 \begin_inset LatexCommand label
16539 name "tab:Table-with-vertical"
16540
16541 \end_inset
16542
16543 Table with 1.5\InsetSpace \thinspace{}
16544 pt thick vertical lines
16545 \end_layout
16546
16547 \end_inset
16548
16549
16550 \end_layout
16551
16552 \begin_layout Standard
16553 \align center
16554 \begin_inset Tabular
16555 <lyxtabular version="3" rows="3" columns="3">
16556 <features>
16557 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16558 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16559 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16560 <row topline="true">
16561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16562 \begin_inset Text
16563
16564 \begin_layout Standard
16565 sd
16566 \end_layout
16567
16568 \end_inset
16569 </cell>
16570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16571 \begin_inset Text
16572
16573 \begin_layout Standard
16574
16575 \end_layout
16576
16577 \end_inset
16578 </cell>
16579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16580 \begin_inset Text
16581
16582 \begin_layout Standard
16583
16584 \end_layout
16585
16586 \end_inset
16587 </cell>
16588 </row>
16589 <row topline="true">
16590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16591 \begin_inset Text
16592
16593 \begin_layout Standard
16594
16595 \end_layout
16596
16597 \end_inset
16598 </cell>
16599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16600 \begin_inset Text
16601
16602 \begin_layout Standard
16603 sd
16604 \end_layout
16605
16606 \end_inset
16607 </cell>
16608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16609 \begin_inset Text
16610
16611 \begin_layout Standard
16612
16613 \end_layout
16614
16615 \end_inset
16616 </cell>
16617 </row>
16618 <row topline="true" bottomline="true">
16619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16620 \begin_inset Text
16621
16622 \begin_layout Standard
16623
16624 \end_layout
16625
16626 \end_inset
16627 </cell>
16628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16629 \begin_inset Text
16630
16631 \begin_layout Standard
16632
16633 \end_layout
16634
16635 \end_inset
16636 </cell>
16637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16638 \begin_inset Text
16639
16640 \begin_layout Standard
16641 sd
16642 \end_layout
16643
16644 \end_inset
16645 </cell>
16646 </row>
16647 </lyxtabular>
16648
16649 \end_inset
16650
16651
16652 \end_layout
16653
16654 \end_inset
16655
16656
16657 \end_layout
16658
16659 \begin_layout Subsection
16660 Dashed Lines
16661 \begin_inset LatexCommand index
16662 name "Table Customization ! Dashed Lines"
16663
16664 \end_inset
16665
16666
16667 \end_layout
16668
16669 \begin_layout Standard
16670 \begin_inset ERT
16671 status collapsed
16672
16673 \begin_layout Standard
16674
16675
16676 \backslash
16677 ifarydshln
16678 \end_layout
16679
16680 \end_inset
16681
16682
16683 \begin_inset Note Note
16684 status open
16685
16686 \begin_layout Standard
16687 The following section will only be displayed when you have the LaTeX-package
16688  
16689 \series bold
16690 arydshln
16691 \series default
16692  is installed.
16693 \end_layout
16694
16695 \end_inset
16696
16697
16698 \end_layout
16699
16700 \begin_layout Standard
16701 \begin_inset Float table
16702 placement H
16703 wide false
16704 sideways false
16705 status open
16706
16707 \begin_layout Standard
16708 \begin_inset Caption
16709
16710 \begin_layout Standard
16711 \begin_inset LatexCommand label
16712 name "tab:Table-with-dashed"
16713
16714 \end_inset
16715
16716 Table with dashed lines
16717 \end_layout
16718
16719 \end_inset
16720
16721
16722 \end_layout
16723
16724 \begin_layout Standard
16725 \align center
16726 \begin_inset Tabular
16727 <lyxtabular version="3" rows="5" columns="5">
16728 <features>
16729 <column alignment="center" valignment="top" leftline="true" width="0">
16730 <column alignment="center" valignment="top" leftline="true" width="0">
16731 <column alignment="center" valignment="top" width="0" special=":c">
16732 <column alignment="center" valignment="top" leftline="true" width="0">
16733 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16734 <row topline="true" bottomline="true">
16735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16736 \begin_inset Text
16737
16738 \begin_layout Standard
16739 a
16740 \end_layout
16741
16742 \end_inset
16743 </cell>
16744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16745 \begin_inset Text
16746
16747 \begin_layout Standard
16748 b
16749 \end_layout
16750
16751 \end_inset
16752 </cell>
16753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16754 \begin_inset Text
16755
16756 \begin_layout Standard
16757 c
16758 \end_layout
16759
16760 \end_inset
16761 </cell>
16762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16763 \begin_inset Text
16764
16765 \begin_layout Standard
16766 d
16767 \end_layout
16768
16769 \end_inset
16770 </cell>
16771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16772 \begin_inset Text
16773
16774 \begin_layout Standard
16775 e
16776 \end_layout
16777
16778 \end_inset
16779 </cell>
16780 </row>
16781 <row topline="true">
16782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16783 \begin_inset Text
16784
16785 \begin_layout Standard
16786 f
16787 \end_layout
16788
16789 \end_inset
16790 </cell>
16791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16792 \begin_inset Text
16793
16794 \begin_layout Standard
16795 g
16796 \end_layout
16797
16798 \end_inset
16799 </cell>
16800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16801 \begin_inset Text
16802
16803 \begin_layout Standard
16804 h
16805 \end_layout
16806
16807 \end_inset
16808 </cell>
16809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16810 \begin_inset Text
16811
16812 \begin_layout Standard
16813 i
16814 \end_layout
16815
16816 \end_inset
16817 </cell>
16818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16819 \begin_inset Text
16820
16821 \begin_layout Standard
16822 j
16823 \end_layout
16824
16825 \end_inset
16826 </cell>
16827 </row>
16828 <row>
16829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16830 \begin_inset Text
16831
16832 \begin_layout Standard
16833 \begin_inset ERT
16834 status collapsed
16835
16836 \begin_layout Standard
16837
16838
16839 \backslash
16840 hdashline 
16841 \end_layout
16842
16843 \end_inset
16844
16845 k
16846 \end_layout
16847
16848 \end_inset
16849 </cell>
16850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16851 \begin_inset Text
16852
16853 \begin_layout Standard
16854 l
16855 \end_layout
16856
16857 \end_inset
16858 </cell>
16859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16860 \begin_inset Text
16861
16862 \begin_layout Standard
16863 m
16864 \end_layout
16865
16866 \end_inset
16867 </cell>
16868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16869 \begin_inset Text
16870
16871 \begin_layout Standard
16872 n
16873 \end_layout
16874
16875 \end_inset
16876 </cell>
16877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16878 \begin_inset Text
16879
16880 \begin_layout Standard
16881 o
16882 \end_layout
16883
16884 \end_inset
16885 </cell>
16886 </row>
16887 <row topline="true">
16888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16889 \begin_inset Text
16890
16891 \begin_layout Standard
16892 \begin_inset ERT
16893 status collapsed
16894
16895 \begin_layout Standard
16896
16897
16898 \backslash
16899 cdashline{4-5}
16900 \end_layout
16901
16902 \end_inset
16903
16904 p
16905 \end_layout
16906
16907 \end_inset
16908 </cell>
16909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16910 \begin_inset Text
16911
16912 \begin_layout Standard
16913 q
16914 \end_layout
16915
16916 \end_inset
16917 </cell>
16918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16919 \begin_inset Text
16920
16921 \begin_layout Standard
16922 r
16923 \end_layout
16924
16925 \end_inset
16926 </cell>
16927 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16928 \begin_inset Text
16929
16930 \begin_layout Standard
16931 s
16932 \end_layout
16933
16934 \end_inset
16935 </cell>
16936 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16937 \begin_inset Text
16938
16939 \begin_layout Standard
16940
16941 \end_layout
16942
16943 \end_inset
16944 </cell>
16945 </row>
16946 <row topline="true" bottomline="true">
16947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16948 \begin_inset Text
16949
16950 \begin_layout Standard
16951 t
16952 \end_layout
16953
16954 \end_inset
16955 </cell>
16956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16957 \begin_inset Text
16958
16959 \begin_layout Standard
16960 u
16961 \end_layout
16962
16963 \end_inset
16964 </cell>
16965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16966 \begin_inset Text
16967
16968 \begin_layout Standard
16969 v
16970 \end_layout
16971
16972 \end_inset
16973 </cell>
16974 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16975 \begin_inset Text
16976
16977 \begin_layout Standard
16978 w
16979 \end_layout
16980
16981 \end_inset
16982 </cell>
16983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16984 \begin_inset Text
16985
16986 \begin_layout Standard
16987 x
16988 \end_layout
16989
16990 \end_inset
16991 </cell>
16992 </row>
16993 </lyxtabular>
16994
16995 \end_inset
16996
16997
16998 \end_layout
16999
17000 \end_inset
17001
17002
17003 \end_layout
17004
17005 \begin_layout Standard
17006 LyX doesn't natively support dashed lines, so you have to use ERT.
17007  As prerequisite the LaTeX-package 
17008 \series bold
17009 arydshln
17010 \series default
17011
17012 \begin_inset LatexCommand index
17013 name "LaTeX-packages ! arydshln"
17014
17015 \end_inset
17016
17017  must be loaded in the document preamble with the command
17018 \end_layout
17019
17020 \begin_layout Standard
17021
17022 \series bold
17023
17024 \backslash
17025 usepackage{arydshln}
17026 \end_layout
17027
17028 \begin_layout Standard
17029 To make a vertical line dashed, enter the colon 
17030 \begin_inset Quotes eld
17031 \end_inset
17032
17033 :
17034 \begin_inset Quotes erd
17035 \end_inset
17036
17037  together with the character for the horizontal alignment as LaTeX-argument
17038  in the table cell dialog.
17039 \end_layout
17040
17041 \begin_layout Standard
17042 For a horizontal dashed line add the command
17043 \end_layout
17044
17045 \begin_layout Standard
17046
17047 \series bold
17048
17049 \backslash
17050 hdashline
17051 \end_layout
17052
17053 \begin_layout Standard
17054 in ERT as first element of the first cell in the table row.
17055 \end_layout
17056
17057 \begin_layout Standard
17058 For dashed multicolumn lines use the command
17059 \end_layout
17060
17061 \begin_layout Standard
17062
17063 \series bold
17064
17065 \backslash
17066 cdashline{line number
17067 \series default
17068 }
17069 \end_layout
17070
17071 \begin_layout Standard
17072 in ERT as first element of the first cell in the table row.
17073  If you have for example a multicolumn spanning over columns 2 to 4 and
17074  you want to have a dashed line above, add the command
17075 \end_layout
17076
17077 \begin_layout Standard
17078
17079 \series bold
17080
17081 \backslash
17082 cdashline{2-4}
17083 \end_layout
17084
17085 \begin_layout Standard
17086 as first element of the first cell in the row of the multicolumn.
17087 \end_layout
17088
17089 \begin_layout Standard
17090 \begin_inset VSpace bigskip
17091 \end_inset
17092
17093
17094 \end_layout
17095
17096 \begin_layout Standard
17097 Table\InsetSpace ~
17098
17099 \begin_inset LatexCommand ref
17100 reference "tab:Table-with-dashed"
17101
17102 \end_inset
17103
17104  was created using 
17105 \begin_inset Quotes eld
17106 \end_inset
17107
17108
17109 \series bold
17110 :c
17111 \series default
17112
17113 \begin_inset Quotes erd
17114 \end_inset
17115
17116  as LaTeX-argument of the third column.
17117  The ERT command 
17118 \series bold
17119
17120 \backslash
17121 hdashline
17122 \series default
17123  was inserted to the first cell of the third row and the the ERT command
17124 \newline
17125
17126  
17127 \series bold
17128
17129 \backslash
17130 cdashline{4-5}
17131 \series default
17132  was inserted to the first cell of the fourth row.
17133 \end_layout
17134
17135 \begin_layout Standard
17136 \begin_inset Note Greyedout
17137 status open
17138
17139 \begin_layout Standard
17140
17141 \series bold
17142 Note:
17143 \series default
17144  The used LaTeX-package 
17145 \series bold
17146 arydshln
17147 \series default
17148  is apparently not compatible with the LaTeX-package 
17149 \series bold
17150 colortbl
17151 \series default
17152
17153 \begin_inset LatexCommand index
17154 name "LaTeX-packages ! colortbl"
17155
17156 \end_inset
17157
17158  that is used for colored tables in section\InsetSpace ~
17159
17160 \begin_inset LatexCommand ref
17161 reference "sec:Colored-Tables"
17162
17163 \end_inset
17164
17165 .
17166  That means colored tables cannot have dashed lines.
17167 \end_layout
17168
17169 \end_inset
17170
17171
17172 \end_layout
17173
17174 \begin_layout Standard
17175 \begin_inset ERT
17176 status collapsed
17177
17178 \begin_layout Standard
17179
17180
17181 \backslash
17182 else
17183 \end_layout
17184
17185 \end_inset
17186
17187
17188 \begin_inset Note Note
17189 status open
17190
17191 \begin_layout Standard
17192 The following will be displayed when the LaTeX-package 
17193 \series bold
17194 arydshln
17195 \series default
17196  is not installed:
17197 \end_layout
17198
17199 \end_inset
17200
17201
17202 \end_layout
17203
17204 \begin_layout Standard
17205 You need to install the package 
17206 \series bold
17207 arydshln
17208 \series default
17209  to see the contents of this section in the output.
17210 \end_layout
17211
17212 \begin_layout Standard
17213 \begin_inset ERT
17214 status collapsed
17215
17216 \begin_layout Standard
17217
17218
17219 \backslash
17220 fi
17221 \end_layout
17222
17223 \end_inset
17224
17225
17226 \end_layout
17227
17228 \begin_layout Chapter
17229 Floats
17230 \begin_inset LatexCommand index
17231 name "Floats"
17232
17233 \end_inset
17234
17235
17236 \begin_inset LatexCommand label
17237 name "cha:Floats"
17238
17239 \end_inset
17240
17241
17242 \end_layout
17243
17244 \begin_layout Section
17245 Introduction
17246 \begin_inset LatexCommand label
17247 name "sec:FloatIntroduction"
17248
17249 \end_inset
17250
17251
17252 \begin_inset LatexCommand index
17253 name "Floats ! Introduction"
17254
17255 \end_inset
17256
17257
17258 \end_layout
17259
17260 \begin_layout Standard
17261 A float is a block of text associated with some sort of label, which doesn't
17262  have a fixed location.
17263  It can 
17264 \begin_inset Quotes eld
17265 \end_inset
17266
17267 float
17268 \begin_inset Quotes erd
17269 \end_inset
17270
17271  forward or backward a page or two, to wherever it fits best.
17272  
17273 \family sans
17274 Footnotes
17275 \family default
17276  and 
17277 \family sans
17278 Margin\InsetSpace ~
17279 Notes
17280 \family default
17281  are also floats, because they can float to the next page when there are
17282  too many notes at the page.
17283 \end_layout
17284
17285 \begin_layout Standard
17286 Floats allow a high quality layout.
17287  Images and tables can evenly be spread to the pages to avoid white space
17288  and pages without text.
17289  As the floating often destroys the context between the text and the image/table
17290 , every float can be referenced in the text.
17291  Floats are therefore numbered.
17292  Referencing is described in section\InsetSpace ~
17293
17294 \begin_inset LatexCommand ref
17295 reference "sec:Referencing-Floats"
17296
17297 \end_inset
17298
17299 .
17300 \end_layout
17301
17302 \begin_layout Standard
17303 To insert a float, use the menu 
17304 \family sans
17305 Insert\SpecialChar \menuseparator
17306 Floats
17307 \family default
17308 .
17309  This inserts a box with a label in the 
17310 \family sans
17311 Caption
17312 \family default
17313  environment
17314 \begin_inset Foot
17315 status collapsed
17316
17317 \begin_layout Standard
17318 The 
17319 \family sans
17320 Caption
17321 \family default
17322  environment is described in LyX's 
17323 \emph on
17324 Userguide
17325 \emph default
17326 .
17327 \end_layout
17328
17329 \end_inset
17330
17331  into your document.
17332  Every label ends with the character 
17333 \begin_inset Quotes eld
17334 \end_inset
17335
17336 #
17337 \begin_inset Quotes erd
17338 \end_inset
17339
17340  as placeholder for the float number in the output.
17341  The label will automatically be translated to the document language in
17342  the output.
17343  Behind the label you can insert the caption text.
17344  The image or table is inserted above or below the caption in a separate
17345  paragraph within the float.
17346  More about the caption placement is described in section\InsetSpace ~
17347
17348 \begin_inset LatexCommand ref
17349 reference "sec:Caption-Placement"
17350
17351 \end_inset
17352
17353 .
17354  To keep your LyX-document readable, you can open and close the float box
17355  by left-clicking on the box label.
17356  A closed float box looks like this: 
17357 \begin_inset Graphics
17358         filename clipart/floatQt4.png
17359         scale 70
17360
17361 \end_inset
17362
17363  -- a gray button with a red label.
17364 \end_layout
17365
17366 \begin_layout Standard
17367 It is recommended to insert floats as a separate paragraph to avoid possible
17368  LaTeX-errors that can occur when the surrounding text is specially formatted.
17369 \end_layout
17370
17371 \begin_layout Standard
17372 Existing figures or tables can be put into a float by marking them and then
17373  pressing the corresponding toolbar button for a new float.
17374 \end_layout
17375
17376 \begin_layout Section
17377 Float Types
17378 \end_layout
17379
17380 \begin_layout Standard
17381 Besides figure and table floats that are described in section\InsetSpace ~
17382
17383 \begin_inset LatexCommand ref
17384 reference "sec:Figure-Floats"
17385
17386 \end_inset
17387
17388  and 
17389 \begin_inset LatexCommand ref
17390 reference "sec:Table-Floats"
17391
17392 \end_inset
17393
17394 , respectively, LyX offers the float types 
17395 \series bold
17396 Algorithm
17397 \series default
17398  and 
17399 \series bold
17400 Text\InsetSpace ~
17401 Wrap\InsetSpace ~
17402 Float
17403 \series default
17404 .
17405 \end_layout
17406
17407 \begin_layout Subsection
17408 Algorithm Floats
17409 \begin_inset LatexCommand index
17410 name "Floats ! Algorithm Floats"
17411
17412 \end_inset
17413
17414
17415 \end_layout
17416
17417 \begin_layout Standard
17418 \begin_inset Float algorithm
17419 placement h
17420 wide false
17421 sideways false
17422 status open
17423
17424 \begin_layout Standard
17425 \begin_inset Caption
17426
17427 \begin_layout Standard
17428 \begin_inset LatexCommand label
17429 name "alg:Example-Algorithm-float"
17430
17431 \end_inset
17432
17433 Example Algorithm float
17434 \end_layout
17435
17436 \end_inset
17437
17438
17439 \end_layout
17440
17441 \begin_layout LyX-Code
17442 for I in 1..N loop
17443 \newline
17444  Sum:= Sum + A(I); /*senseless comment*/
17445 \newline
17446 end loop
17447 \begin_inset VSpace -4mm
17448 \end_inset
17449
17450
17451 \end_layout
17452
17453 \end_inset
17454
17455
17456 \end_layout
17457
17458 \begin_layout Standard
17459 This float type is inserted with the menu 
17460 \family sans
17461 Insert\SpecialChar \menuseparator
17462 Floats\SpecialChar \menuseparator
17463 Algorithm
17464 \family default
17465 .
17466  It is used for program codes and descriptions of algorithms.
17467  A possible environment for algorithms is the 
17468 \family sans
17469 LyX-Code
17470 \family default
17471 , described in LyX's 
17472 \emph on
17473 Userguide
17474 \emph default
17475 .
17476  Algorithm\InsetSpace ~
17477
17478 \begin_inset LatexCommand ref
17479 reference "alg:Example-Algorithm-float"
17480
17481 \end_inset
17482
17483  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17484 mm vertical space was added
17485  at the end of the float to have the bottom rule exactly below the last
17486  text line.
17487 \end_layout
17488
17489 \begin_layout Standard
17490 The float label is not automatically translated into the document language.
17491  If your document is not in English, you have to do this manually by adding
17492  the following line to the document preamble
17493 \series bold
17494 :
17495 \end_layout
17496
17497 \begin_layout Standard
17498
17499 \series bold
17500
17501 \backslash
17502 floatname{algorithm}{your\InsetSpace ~
17503 name}
17504 \end_layout
17505
17506 \begin_layout Standard
17507
17508 \family sans
17509 your\InsetSpace ~
17510 name
17511 \family default
17512  is the word 
17513 \begin_inset Quotes eld
17514 \end_inset
17515
17516
17517 \emph on
17518 algorithm
17519 \emph default
17520
17521 \begin_inset Quotes erd
17522 \end_inset
17523
17524  in your language.
17525 \end_layout
17526
17527 \begin_layout Description
17528
17529 \series bold
17530 Note:
17531 \series default
17532  When the LaTeX-package 
17533 \series bold
17534 hyperref
17535 \series default
17536
17537 \begin_inset LatexCommand index
17538 name "LaTeX-packages ! hyperref"
17539
17540 \end_inset
17541
17542  is used to link cross-references to floats in the PDF-output, it must be
17543  loaded in the document preamble before the definition of floats to be able
17544  to reference floats.
17545  As LyX sets the float definition for algorithm floats automatically before
17546  the user editable part of the document preamble, you need to insert the
17547  following preamble lines 
17548 \emph on
17549 after
17550 \emph default
17551  the loading command of 
17552 \series bold
17553 hyperref
17554 \series default
17555 :
17556 \series bold
17557
17558 \begin_inset VSpace defskip
17559 \end_inset
17560
17561
17562 \newline
17563
17564 \backslash
17565 newfloat{Xalgorithm}{tbp}{loa}
17566 \newline
17567
17568 \backslash
17569 floatname{Xalgorithm}{your\InsetSpace ~
17570 name}
17571 \newline
17572
17573 \backslash
17574 newcommand{
17575 \backslash
17576 theHalgorithm}{
17577 \backslash
17578 theHXalgorithm}
17579 \newline
17580
17581 \backslash
17582 renewenvironment{algorithm}[1][tbp]
17583 \newline
17584
17585 \begin_inset ERT
17586 status collapsed
17587
17588 \begin_layout Standard
17589
17590
17591 \backslash
17592 hphantom{ }
17593 \end_layout
17594
17595 \end_inset
17596
17597 {
17598 \backslash
17599 begin{Xalgorithm}[#1]}{
17600 \backslash
17601 end{Xalgorithm}}
17602 \begin_inset VSpace defskip
17603 \end_inset
17604
17605
17606 \series default
17607
17608 \newline
17609 Where 
17610 \family sans
17611 your\InsetSpace ~
17612 name
17613 \family default
17614  is the word 
17615 \begin_inset Quotes eld
17616 \end_inset
17617
17618
17619 \emph on
17620 algorithm
17621 \emph default
17622
17623 \begin_inset Quotes erd
17624 \end_inset
17625
17626  in your language.
17627 \end_layout
17628
17629 \begin_layout Standard
17630 Algorithm floats are not by default numbered in the scheme 
17631 \begin_inset Quotes eld
17632 \end_inset
17633
17634 chapter.algorithm
17635 \begin_inset Quotes erd
17636 \end_inset
17637
17638  like it is the case for table and figure floats in many document-classes.
17639  To number algorithm floats in the same scheme, add this command to your
17640  document preamble:
17641 \end_layout
17642
17643 \begin_layout Standard
17644
17645 \series bold
17646
17647 \backslash
17648 numberwithin{algorithm}{chapter}
17649 \end_layout
17650
17651 \begin_layout Standard
17652 If you use the LaTeX-package 
17653 \series bold
17654 hyperref
17655 \series default
17656 , add this line instead 
17657 \emph on
17658 after
17659 \emph default
17660  the definition of 
17661 \family sans
17662 Xalgorithm
17663 \family default
17664  (the commands from above) to the preamble:
17665 \end_layout
17666
17667 \begin_layout Standard
17668
17669 \series bold
17670
17671 \backslash
17672 numberwithin{Xalgorithm}{chapter}
17673 \end_layout
17674
17675 \begin_layout Standard
17676 To be able to use the command 
17677 \series bold
17678
17679 \backslash
17680 numberwithin
17681 \series default
17682 , set in the tab 
17683 \family sans
17684 Math\InsetSpace ~
17685 Options
17686 \family default
17687  in the document settings the option 
17688 \family sans
17689 Use\InsetSpace ~
17690 AMS\InsetSpace ~
17691 math\InsetSpace ~
17692 package
17693 \family default
17694 .
17695 \end_layout
17696
17697 \begin_layout Subsection
17698 Text Wrap Floats
17699 \begin_inset LatexCommand index
17700 name "Floats ! Text Wrap Floats"
17701
17702 \end_inset
17703
17704
17705 \begin_inset LatexCommand label
17706 name "sub:floatflt-wrap-float"
17707
17708 \end_inset
17709
17710
17711 \end_layout
17712
17713 \begin_layout Standard
17714 This float type is used if you want to 
17715 \begin_inset Quotes eld
17716 \end_inset
17717
17718 wrap
17719 \begin_inset Quotes erd
17720 \end_inset
17721
17722  text around a figure so that it only occupies some fraction of the column
17723  width.
17724  It can be inserted using the menu 
17725 \begin_inset Wrap figure
17726 placement l
17727 width "40col%"
17728 status open
17729
17730 \begin_layout Standard
17731 \begin_inset Graphics
17732         filename clipart/mobius.eps
17733         display color
17734         width 40col%
17735         rotateOrigin center
17736
17737 \end_inset
17738
17739
17740 \end_layout
17741
17742 \begin_layout Standard
17743 \begin_inset Caption
17744
17745 \begin_layout Standard
17746 \begin_inset LatexCommand label
17747 name "fig:This-is-a"
17748
17749 \end_inset
17750
17751 This is a wrapped figure, and this is the brilliant caption that describes
17752  it.
17753 \begin_inset VSpace medskip
17754 \end_inset
17755
17756
17757 \end_layout
17758
17759 \end_inset
17760
17761
17762 \end_layout
17763
17764 \end_inset
17765
17766  
17767 \family sans
17768 Insert\SpecialChar \menuseparator
17769 Floats\SpecialChar \menuseparator
17770 Text\InsetSpace ~
17771 Wrap\InsetSpace ~
17772 Float
17773 \family default
17774  if the LaTeX-package 
17775 \series bold
17776 floatflt
17777 \series default
17778
17779 \begin_inset LatexCommand index
17780 name "LaTeX-packages ! floatflt"
17781
17782 \end_inset
17783
17784  is installed.
17785 \begin_inset Foot
17786 status collapsed
17787
17788 \begin_layout Standard
17789 Installing a LaTeX-package is explained it in the 
17790 \emph on
17791 LaTeX\InsetSpace ~
17792 Configuration
17793 \emph default
17794  manual.
17795 \end_layout
17796
17797 \end_inset
17798
17799  The width and placement of the float is adjusted by right-clicking on the
17800  float box.
17801  Figure\InsetSpace ~
17802
17803 \begin_inset LatexCommand ref
17804 reference "fig:This-is-a"
17805
17806 \end_inset
17807
17808  is an example text wrap float with a width of 40
17809 \begin_inset Formula $\,$
17810 \end_inset
17811
17812 col%.
17813 \begin_inset Foot
17814 status collapsed
17815
17816 \begin_layout Standard
17817 Available units are explained in 
17818 \begin_inset LatexCommand ref
17819 reference "cha:Units-available-in"
17820
17821 \end_inset
17822
17823 .
17824 \end_layout
17825
17826 \end_inset
17827
17828  Some space was added under the caption to separate it better from the surroundi
17829 ng text.
17830 \end_layout
17831
17832 \begin_layout Standard
17833 The LaTeX-package 
17834 \series bold
17835 floatflt
17836 \series default
17837  also supports table wrap floats, but they are not yet supported by LyX.
17838  If you need this, read the documentation of 
17839 \series bold
17840 floatflt
17841 \series default
17842  
17843 \begin_inset LatexCommand cite
17844 key "floatflt"
17845
17846 \end_inset
17847
17848 .
17849 \end_layout
17850
17851 \begin_layout Standard
17852 \begin_inset Note Greyedout
17853 status open
17854
17855 \begin_layout Standard
17856
17857 \series bold
17858 Note:
17859 \series default
17860  Text\InsetSpace ~
17861 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17862 g.\InsetSpace ~
17863 having a figure too close to the bottom
17864  of the page can mess things up in the way that the float doesn't appear
17865  in the output or that it is placed over some other text.
17866 \begin_inset Foot
17867 status open
17868
17869 \begin_layout Standard
17870 The better solution is to use the LaTeX-package 
17871 \series bold
17872 wrapf\SpecialChar \textcompwordmark{}
17873 ig
17874 \series default
17875
17876 \begin_inset LatexCommand index
17877 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17878
17879 \end_inset
17880
17881  instead of 
17882 \series bold
17883 floatf\SpecialChar \textcompwordmark{}
17884 lt
17885 \series default
17886 , but it is currently not supported by LyX.
17887 \end_layout
17888
17889 \end_inset
17890
17891
17892 \end_layout
17893
17894 \end_inset
17895
17896
17897 \end_layout
17898
17899 \begin_layout Standard
17900 In general:
17901 \end_layout
17902
17903 \begin_layout Itemize
17904 Wrap floats should not be placed in paragraphs that run over a page break.
17905  That means that wrap floats should better be inserted to the exact place
17906  when the document is nearly ready and you are able to estimate where page
17907  breaks will appear.
17908 \end_layout
17909
17910 \begin_layout Itemize
17911 Wrap floats should either be placed in an own paragraph before the paragraph
17912  where they should wrap into or within a paragraph.
17913 \end_layout
17914
17915 \begin_layout Itemize
17916 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17917  there is a text paragraph between them as separator.
17918 \end_layout
17919
17920 \begin_layout Itemize
17921 Wrap floats are not allowed in section headings or tables.
17922 \end_layout
17923
17924 \begin_layout Section
17925 Referencing Floats
17926 \begin_inset LatexCommand label
17927 name "sec:Referencing-Floats"
17928
17929 \end_inset
17930
17931
17932 \begin_inset LatexCommand index
17933 name "Floats ! References"
17934
17935 \end_inset
17936
17937
17938 \begin_inset LatexCommand index
17939 name "References"
17940
17941 \end_inset
17942
17943
17944 \end_layout
17945
17946 \begin_layout Standard
17947 To reference a float, insert a label into its caption using the menu 
17948 \family sans
17949 Insert\SpecialChar \menuseparator
17950 Label
17951 \family default
17952  or the toolbar button 
17953 \begin_inset Graphics
17954         filename ../images/label-insert.xpm
17955         scale 85
17956
17957 \end_inset
17958
17959 .
17960  A grey label box like this one: 
17961 \begin_inset Graphics
17962         filename clipart/labelQt4.png
17963         scale 85
17964
17965 \end_inset
17966
17967  will be inserted and the label window pops up asking for the label text.
17968  LyX offers as text the first words of the caption with a prefix.
17969  The prefix depends on the float type, e.\InsetSpace \thinspace{}
17970 g.\InsetSpace ~
17971 for figure floats the prefix will
17972  be "
17973 \family sans
17974 fig:
17975 \family default
17976 ".
17977 \end_layout
17978
17979 \begin_layout Standard
17980 The label is used as anchor and name for the reference.
17981  You can refer to the label using the menu 
17982 \family sans
17983 Insert\SpecialChar \menuseparator
17984 Cross-reference
17985 \family default
17986  or the toolbar button 
17987 \begin_inset Graphics
17988         filename ../images/dialog-show-new-inset_ref.xpm
17989         scale 85
17990
17991 \end_inset
17992
17993 .
17994  A grey cross-reference box like this one: 
17995 \begin_inset Graphics
17996         filename clipart/referenceQt4.png
17997         scale 85
17998
17999 \end_inset
18000
18001  will be inserted and the cross-reference window appear showing all labels
18002  of the document.
18003  If you have multiple LyX-documents opened, choose the one you are working
18004  on from the drop-list at the top of the dialog.
18005  You can now sort the labels alphabetically and then choose one.
18006  At the position of the cross-reference box the float number will appear
18007  in the output.
18008 \end_layout
18009
18010 \begin_layout Standard
18011 It is recommended to use a protected space between the cross-reference name
18012  and its number to avoid line breaks between them.
18013  If a cross-reference refers to a non-existing label, you will see two question
18014  marks in the output instead of the reference.
18015 \end_layout
18016
18017 \begin_layout Standard
18018 You can change labels at any time by clicking on the label box.
18019  References to the changed label will automatically change its link to the
18020  new label text, so that you don't need to take care about this.
18021 \end_layout
18022
18023 \begin_layout Standard
18024 The button 
18025 \family sans
18026 Go\InsetSpace ~
18027 to\InsetSpace ~
18028 Label
18029 \family default
18030  in the cross-reference window sets the cursor before the referred label.
18031  The button text changes then to Go\InsetSpace ~
18032 Back and you can use it to set the cursor
18033  back to the cross-reference.
18034  Right-clicking on a cross-reference box also sets the cursor before the
18035  referenced label but without a possibility to go back.
18036 \end_layout
18037
18038 \begin_layout Subsection
18039 Cross-Reference Formats
18040 \begin_inset LatexCommand label
18041 name "sub:Cross-Reference-Formats"
18042
18043 \end_inset
18044
18045
18046 \begin_inset LatexCommand index
18047 name "References ! Formats"
18048
18049 \end_inset
18050
18051
18052 \end_layout
18053
18054 \begin_layout Standard
18055 There are six varieties of cross-references:
18056 \end_layout
18057
18058 \begin_layout Description
18059 <reference>: prints the float number, this is the default: 
18060 \begin_inset LatexCommand ref
18061 reference "fig:Two-distorted-images"
18062
18063 \end_inset
18064
18065
18066 \end_layout
18067
18068 \begin_layout Description
18069 (<reference>): prints the float number within two parentheses, this is the
18070  style normally used to reference formulas, especially when the reference
18071  name 
18072 \begin_inset Quotes eld
18073 \end_inset
18074
18075 Equation
18076 \begin_inset Quotes erd
18077 \end_inset
18078
18079  is omitted: 
18080 \begin_inset LatexCommand eqref
18081 reference "eq:Wgn"
18082
18083 \end_inset
18084
18085
18086 \end_layout
18087
18088 \begin_layout Description
18089 <page>: prints the page number: Page\InsetSpace ~
18090
18091 \begin_inset LatexCommand pageref
18092 reference "fig:Two-distorted-images"
18093
18094 \end_inset
18095
18096
18097 \end_layout
18098
18099 \begin_layout Description
18100 on\InsetSpace ~
18101 page\InsetSpace ~
18102 <page>: prints the text "on page" and the page number: 
18103 \begin_inset LatexCommand vpageref
18104 reference "fig:Two-distorted-images"
18105
18106 \end_inset
18107
18108
18109 \end_layout
18110
18111 \begin_layout Description
18112 <reference>\InsetSpace ~
18113 on\InsetSpace ~
18114 page\InsetSpace ~
18115 <page>: prints the float number, the text "on page", and
18116  the page number: 
18117 \begin_inset LatexCommand vref
18118 reference "fig:Two-distorted-images"
18119
18120 \end_inset
18121
18122
18123 \end_layout
18124
18125 \begin_layout Description
18126 Formatted\InsetSpace ~
18127 reference: prints a self defined cross-reference format.
18128  
18129 \begin_inset Note Greyedout
18130 status open
18131
18132 \begin_layout Standard
18133
18134 \series bold
18135 Note:
18136 \series default
18137  This feature is only available when you have the LaTeX-package 
18138 \series bold
18139 prettyref
18140 \series default
18141  installed.
18142 \end_layout
18143
18144 \end_inset
18145
18146
18147 \end_layout
18148
18149 \begin_layout Standard
18150 Note that the style <page> won't print the page number if the label is on
18151  the previous, the same, or the next page.
18152  You will e.\InsetSpace \thinspace{}
18153 g.\InsetSpace ~
18154 see the text 
18155 \begin_inset Quotes eld
18156 \end_inset
18157
18158
18159 \family sans
18160 on this page
18161 \family default
18162
18163 \begin_inset Quotes erd
18164 \end_inset
18165
18166  instead.
18167 \end_layout
18168
18169 \begin_layout Standard
18170 The number and current page of the referred document part in the output,
18171  is automatically calculated by LaTeX.
18172  The varieties are adjusted in the field 
18173 \family sans
18174 Format
18175 \family default
18176  of the cross-reference window, that appear when you click on the cross-referenc
18177 e box.
18178 \end_layout
18179
18180 \begin_layout Subsection
18181 Referencing Subfigures
18182 \begin_inset LatexCommand label
18183 name "sub:Referencing-Subfigures"
18184
18185 \end_inset
18186
18187
18188 \begin_inset LatexCommand index
18189 name "References ! to Subfigures"
18190
18191 \end_inset
18192
18193
18194 \end_layout
18195
18196 \begin_layout Standard
18197 Currently referencing subfigures is not supported by LyX, so you have to
18198  use LaTeX-commands.
18199  The label is the created with the command
18200 \end_layout
18201
18202 \begin_layout Standard
18203
18204 \series bold
18205
18206 \backslash
18207 label{fig:YourLabelName}
18208 \end_layout
18209
18210 \begin_layout Standard
18211 that is directly inserted into the subfigure caption field.
18212  To reference the label add this command in ERT
18213 \end_layout
18214
18215 \begin_layout Standard
18216
18217 \series bold
18218
18219 \backslash
18220 ref{fig:YourLabelName}
18221 \end_layout
18222
18223 \begin_layout Standard
18224 to the position in your document where the reference should be placed.
18225  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18226
18227 \begin_inset ERT
18228 status collapsed
18229
18230 \begin_layout Standard
18231
18232
18233 \backslash
18234 ref{fig:Platypus}
18235 \end_layout
18236
18237 \end_inset
18238
18239 .
18240 \end_layout
18241
18242 \begin_layout Subsection
18243 Automatic Reference Naming
18244 \begin_inset LatexCommand index
18245 name "References ! Automatic Reference Naming"
18246
18247 \end_inset
18248
18249
18250 \end_layout
18251
18252 \begin_layout Standard
18253 The LaTeX-package 
18254 \series bold
18255 hyperref
18256 \series default
18257  provides a very useful feature that cross-references automatically include
18258  the name of the referenced floats (or text parts like sections).
18259  You save to write e.\InsetSpace \thinspace{}
18260 g.\InsetSpace ~
18261 the name 
18262 \begin_inset Quotes eld
18263 \end_inset
18264
18265 Figure
18266 \begin_inset Quotes erd
18267 \end_inset
18268
18269  before every reference box.
18270  To get this automatic reference naming, you have to load the LaTeX-package
18271  
18272 \series bold
18273 hyperref
18274 \series default
18275
18276 \begin_inset LatexCommand index
18277 name "LaTeX-packages ! hyperref"
18278
18279 \end_inset
18280
18281  in the document preamble with
18282 \end_layout
18283
18284 \begin_layout Standard
18285
18286 \series bold
18287
18288 \backslash
18289 usepackage[pdfborder={0 0 0}]{hyperref}
18290 \newline
18291
18292 \backslash
18293 AtBeginDocument{
18294 \backslash
18295 renewcommand{
18296 \backslash
18297 ref}[1]{
18298 \backslash
18299 mbox{
18300 \backslash
18301 autoref{#1}}}}
18302 \end_layout
18303
18304 \begin_layout Standard
18305
18306 \series bold
18307 hyperref
18308 \series default
18309  is used to link cross-references in the DVI- and PDF-output, this means
18310  that the reader of your document will be able to click on a table of content
18311  (TOC) entry or on a reference and he will be shown the referenced document
18312  part.
18313  
18314 \series bold
18315 hyperref
18316 \series default
18317  also creates PDF-bookmarks for every section of your document to make it
18318  easier for readers to navigate through the document.
18319  This is also used in this document but when you have a look in the document
18320  preamble you will find various options in the load command of 
18321 \series bold
18322 hyperref
18323 \series default
18324 .
18325  To learn more about the 
18326 \series bold
18327 hyperref
18328 \series default
18329  package, we refer to its documentation 
18330 \begin_inset LatexCommand cite
18331 key "hyperref"
18332
18333 \end_inset
18334
18335 .
18336 \end_layout
18337
18338 \begin_layout Standard
18339 \begin_inset Note Greyedout
18340 status open
18341
18342 \begin_layout Standard
18343
18344 \series bold
18345 Note:
18346 \series default
18347  Automatic reference naming cannot be used when you use cross-references
18348  in the 
18349 \family sans
18350 Formatted\InsetSpace ~
18351 reference
18352 \family default
18353  style, described in section\InsetSpace ~
18354
18355 \begin_inset LatexCommand ref
18356 reference "sub:Cross-Reference-Formats"
18357
18358 \end_inset
18359
18360 .
18361 \end_layout
18362
18363 \end_inset
18364
18365
18366 \end_layout
18367
18368 \begin_layout Subsection
18369 Reference Position
18370 \begin_inset LatexCommand label
18371 name "sub:Reference-Position"
18372
18373 \end_inset
18374
18375
18376 \begin_inset LatexCommand index
18377 name "References ! Reference Position"
18378
18379 \end_inset
18380
18381
18382 \end_layout
18383
18384 \begin_layout Standard
18385 If you use 
18386 \series bold
18387 hyperref
18388 \series default
18389
18390 \begin_inset LatexCommand index
18391 name "LaTeX-packages ! hyperref"
18392
18393 \end_inset
18394
18395  to link cross-references in the output, you will see that clicking on an
18396  image float reference jumps to the image label.
18397  The caption will be the first text part on the screen, so that you cannot
18398  see the image without scrolling.
18399  This is because the reference link anchor is placed at the position of
18400  the label.
18401  With the use of the package 
18402 \series bold
18403 hypcap
18404 \series default
18405
18406 \begin_inset LatexCommand index
18407 name "LaTeX-packages ! hypcap"
18408
18409 \end_inset
18410
18411 , which is part of the LaTeX-package 
18412 \series bold
18413 oberdiek
18414 \series default
18415
18416 \begin_inset LatexCommand index
18417 name "LaTeX-packages ! oberdiek"
18418
18419 \end_inset
18420
18421 , the link anchor is placed at the beginning of a float.
18422  To use this feature for figure floats, load 
18423 \series bold
18424 hypcap
18425 \series default
18426  in the document preamble with the line
18427 \end_layout
18428
18429 \begin_layout Standard
18430
18431 \series bold
18432
18433 \backslash
18434 usepackage[f\SpecialChar \textcompwordmark{}
18435 igure]{hypcap}
18436 \end_layout
18437
18438 \begin_layout Standard
18439 You can also use 
18440 \series bold
18441 hypcap
18442 \series default
18443  for all floats but this isn't recommended for stability reasons.
18444  For more informations, have a look at 
18445 \series bold
18446 hypcap
18447 \series default
18448 's manual 
18449 \begin_inset LatexCommand cite
18450 key "hypcap"
18451
18452 \end_inset
18453
18454 .
18455 \end_layout
18456
18457 \begin_layout Standard
18458 \begin_inset Note Greyedout
18459 status open
18460
18461 \begin_layout Standard
18462
18463 \series bold
18464 Note:
18465 \series default
18466  
18467 \series bold
18468 hypcap
18469 \series default
18470  must be loaded after 
18471 \series bold
18472 hyperref
18473 \series default
18474  in the document preamble.
18475 \end_layout
18476
18477 \end_inset
18478
18479
18480 \end_layout
18481
18482 \begin_layout Standard
18483 \begin_inset Note Greyedout
18484 status open
18485
18486 \begin_layout Standard
18487
18488 \series bold
18489 Note:
18490 \series default
18491  The set reference position has no effect for references to subfigures.
18492 \end_layout
18493
18494 \end_inset
18495
18496
18497 \end_layout
18498
18499 \begin_layout Section
18500 Float Placement
18501 \begin_inset LatexCommand label
18502 name "sec:Float-Placement"
18503
18504 \end_inset
18505
18506
18507 \begin_inset LatexCommand index
18508 name "Floats ! Placement"
18509
18510 \end_inset
18511
18512
18513 \end_layout
18514
18515 \begin_layout Standard
18516 Right-clicking on a float-box opens a dialog where you can alter the placement
18517  options that LaTeX uses for positioning the float.
18518 \newline
18519 The option 
18520 \family sans
18521 Span\InsetSpace ~
18522 columns
18523 \family default
18524  is only useful for two-column documents: If you select it, the float will
18525  span across both columns on the page instead of being confined to just
18526  one.
18527 \newline
18528 The option 
18529 \family sans
18530 Rotate\InsetSpace ~
18531 sideways
18532 \family default
18533  is used to rotate floats, see section 
18534 \begin_inset LatexCommand ref
18535 reference "sec:Rotated-Floats"
18536
18537 \end_inset
18538
18539 .
18540 \end_layout
18541
18542 \begin_layout Standard
18543 You can use one ore more of the following options in the float dialog to
18544  set the placement for a particular float when you uncheck the option 
18545 \family sans
18546 Use\InsetSpace ~
18547 default\InsetSpace ~
18548 placement
18549 \family default
18550 :
18551 \end_layout
18552
18553 \begin_layout Description
18554 Here\InsetSpace ~
18555 if\InsetSpace ~
18556 possible: try to place the float on the position where it is inserted
18557 \end_layout
18558
18559 \begin_layout Description
18560 Top\InsetSpace ~
18561 of\InsetSpace ~
18562 page: try to place the float on the top of the current page
18563 \end_layout
18564
18565 \begin_layout Description
18566 Bottom\InsetSpace ~
18567 of\InsetSpace ~
18568 page: try to place the float on the bottom of the current page
18569 \end_layout
18570
18571 \begin_layout Description
18572 Page\InsetSpace ~
18573 of\InsetSpace ~
18574 floats: try to place the float on an own page 
18575 \end_layout
18576
18577 \begin_layout Standard
18578 The order of the above option is 
18579 \emph on
18580 always
18581 \emph default
18582  used by LaTeX.
18583  That means, if you use the default placement, LaTeX will first try out
18584  
18585 \family sans
18586 Here\InsetSpace ~
18587 if\InsetSpace ~
18588 possible
18589 \family default
18590 , then 
18591 \family sans
18592 Top\InsetSpace ~
18593 of\InsetSpace ~
18594 page
18595 \family default
18596 , and then the others.
18597  If you don't use the default, LaTeX will try only the checked options but
18598  in the same order.
18599  If none of the 4 placements are possible the procedure is internally repeated
18600  but it is tried to put the float on the following page.
18601 \end_layout
18602
18603 \begin_layout Standard
18604 By default, each options has its own rules:
18605 \end_layout
18606
18607 \begin_layout Labeling
18608 \labelwidthstring 00.00.0000
18609
18610 \family sans
18611 Top\InsetSpace ~
18612 of\InsetSpace ~
18613 page
18614 \family default
18615  only floats occupying less than 70\InsetSpace \thinspace{}
18616 % of the page can be placed at the top
18617  of a page (
18618 \series bold
18619
18620 \backslash
18621 topfraction
18622 \series default
18623 )
18624 \end_layout
18625
18626 \begin_layout Labeling
18627 \labelwidthstring 00.00.0000
18628
18629 \family sans
18630 Bottom\InsetSpace ~
18631 of\InsetSpace ~
18632 page
18633 \family default
18634 : only floats occupying less than 30\InsetSpace \thinspace{}
18635 % of the page can be placed at the bottom
18636  of a page.
18637  (
18638 \series bold
18639
18640 \backslash
18641 bottomfraction
18642 \series default
18643 )
18644 \end_layout
18645
18646 \begin_layout Labeling
18647 \labelwidthstring 00.00.0000
18648
18649 \family sans
18650 Page\InsetSpace ~
18651 of\InsetSpace ~
18652 floats
18653 \family default
18654 : only if more than 50\InsetSpace \thinspace{}
18655 % of the page are occupied by floats, several floats
18656  can be set together on a page.
18657  (
18658 \series bold
18659
18660 \backslash
18661 floatpagefraction
18662 \series default
18663 )
18664 \end_layout
18665
18666 \begin_layout Standard
18667 If you don't like these rules, you can ignore them by using the additional
18668  option 
18669 \family sans
18670 Ignore\InsetSpace ~
18671 LaTeX\InsetSpace ~
18672 rules
18673 \family default
18674 .
18675 \newline
18676 You can also redefine the rules with LaTeX-commands that are given in parenthese
18677 s behind the rules description above.
18678  To increase for example the often too small default of the bottom-rule
18679  to 50\InsetSpace \thinspace{}
18680 % of the page, add this line to your document preamble:
18681 \end_layout
18682
18683 \begin_layout Standard
18684
18685 \series bold
18686
18687 \backslash
18688 renewcommand{
18689 \backslash
18690 bottomfraction}{0.5}
18691 \end_layout
18692
18693 \begin_layout Standard
18694 Sometimes you might need, under all circumstances, a float to be placed
18695  exactly at the position where it is inserted.
18696  For this case you can use the option 
18697 \family sans
18698 Here\InsetSpace ~
18699 definitely
18700 \family default
18701 .
18702  Use this option very rarely and only if the document is nearly ready to
18703  be printed.
18704  Because the float is then no longer able to 
18705 \begin_inset Quotes eld
18706 \end_inset
18707
18708 float
18709 \begin_inset Quotes erd
18710 \end_inset
18711
18712  when you change your document and this will often destroy the page layout.
18713 \end_layout
18714
18715 \begin_layout Standard
18716 There are no placement options for text wrap floats, because they are always
18717  surrounded by the text of a certain paragraph.
18718 \begin_inset VSpace bigskip
18719 \end_inset
18720
18721
18722 \end_layout
18723
18724 \begin_layout Standard
18725 Sometimes you have the problem that a float is placed at the top of a page
18726  while its corresponding section starts at the middle of the page, so that
18727  the reader could think the float is part of the previous section.
18728  To avoid this the LaTeX-command 
18729 \series bold
18730
18731 \backslash
18732 suppressf\SpecialChar \textcompwordmark{}
18733 loats
18734 \series default
18735  can be used.
18736  It suppresses a given float placement for the page where it is inserted
18737  and can therefore be used to avoid that floats could be set before a section
18738  starts.
18739  To get this, add these commands to your document preamble:
18740 \end_layout
18741
18742 \begin_layout Standard
18743
18744 \series bold
18745
18746 \backslash
18747 let
18748 \backslash
18749 mySection
18750 \backslash
18751 section
18752 \newline
18753
18754 \backslash
18755 renewcommand{
18756 \backslash
18757 section}{
18758 \backslash
18759 suppressf\SpecialChar \textcompwordmark{}
18760 loats[t]
18761 \backslash
18762 mySection}
18763 \end_layout
18764
18765 \begin_layout Standard
18766 You can define the same for all section headings, like chapters and subsections.
18767  This definition is not recommended to be used for small text parts like
18768  subsubsections because LaTeX may then have problems to find a suitable
18769  placement.
18770 \end_layout
18771
18772 \begin_layout Standard
18773 \begin_inset VSpace bigskip
18774 \end_inset
18775
18776 In some cases it is required to have all figures/tables at the end of the
18777  document.
18778  For this purpose the LaTeX-package 
18779 \series bold
18780 endf\SpecialChar \textcompwordmark{}
18781 loat
18782 \series default
18783
18784 \begin_inset LatexCommand index
18785 name "LaTeX-packages ! endfloat"
18786
18787 \end_inset
18788
18789  was developed.
18790  It puts all figure and table floats at the end of the document into own
18791  sections.
18792  At the original float position a text hint like 
18793 \begin_inset Quotes eld
18794 \end_inset
18795
18796
18797 \family sans
18798 [Figure\InsetSpace ~
18799 3.2 about here.]
18800 \family default
18801
18802 \begin_inset Quotes erd
18803 \end_inset
18804
18805  is inserted.
18806  The endfloat-package is loaded in the preamble with the line
18807 \end_layout
18808
18809 \begin_layout Standard
18810
18811 \series bold
18812
18813 \backslash
18814 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18815 loat}
18816 \end_layout
18817
18818 \begin_layout Standard
18819 There are various package options to format the created figure/table sections.
18820  For more information we refer to the 
18821 \series bold
18822 endf\SpecialChar \textcompwordmark{}
18823 loat
18824 \series default
18825  documentation 
18826 \begin_inset LatexCommand cite
18827 key "endfloat"
18828
18829 \end_inset
18830
18831 .
18832 \newline
18833
18834 \begin_inset Note Greyedout
18835 status open
18836
18837 \begin_layout Standard
18838
18839 \series bold
18840 Note: endf\SpecialChar \textcompwordmark{}
18841 loat
18842 \series default
18843  doesn't provide an automatic translation for the text hint, you have to
18844  do this manually, see section\InsetSpace ~
18845 4 in 
18846 \begin_inset LatexCommand cite
18847 key "endfloat"
18848
18849 \end_inset
18850
18851 .
18852 \end_layout
18853
18854 \end_inset
18855
18856
18857 \newline
18858
18859 \begin_inset Note Greyedout
18860 status open
18861
18862 \begin_layout Standard
18863
18864 \series bold
18865 Note:
18866 \series default
18867  There is currently a bug in 
18868 \series bold
18869 endf\SpecialChar \textcompwordmark{}
18870 loat
18871 \series default
18872  when the caption contains a German 
18873 \begin_inset Quotes eld
18874 \end_inset
18875
18876 ß
18877 \begin_inset Quotes erd
18878 \end_inset
18879
18880 .
18881  Use in this case the command 
18882 \begin_inset Quotes eld
18883 \end_inset
18884
18885
18886 \series bold
18887
18888 \backslash
18889 ss
18890 \series default
18891
18892 \begin_inset Quotes erd
18893 \end_inset
18894
18895  in ERT instead of 
18896 \begin_inset Quotes eld
18897 \end_inset
18898
18899 ß
18900 \begin_inset Quotes erd
18901 \end_inset
18902
18903 .
18904 \end_layout
18905
18906 \end_inset
18907
18908
18909 \end_layout
18910
18911 \begin_layout Standard
18912 \begin_inset VSpace bigskip
18913 \end_inset
18914
18915 For more details about float placements, have a look at LaTeX books, 
18916 \begin_inset LatexCommand cite
18917 key "latexcompanion,latexguide,latexbook"
18918
18919 \end_inset
18920
18921 .
18922 \end_layout
18923
18924 \begin_layout Section
18925 Rotated Floats
18926 \begin_inset LatexCommand label
18927 name "sec:Rotated-Floats"
18928
18929 \end_inset
18930
18931
18932 \begin_inset LatexCommand index
18933 name "Floats ! Rotating"
18934
18935 \end_inset
18936
18937
18938 \end_layout
18939
18940 \begin_layout Standard
18941 Especially for wide tables you might have floats rotated.
18942  To rotate a whole float including the caption, right-click on the float-box
18943  and use the option 
18944 \family sans
18945 Rotate\InsetSpace ~
18946 sideways
18947 \family default
18948 .
18949 \end_layout
18950
18951 \begin_layout Standard
18952 Rotated floats are always placed on its own page (or column, when you have
18953  a two-column document).
18954  They are normally rotated so that you can read them from the outside margin
18955  -- to the left on even pages, to the right on odd pages.
18956 \end_layout
18957
18958 \begin_layout Standard
18959 Referencing rotated floats is the same like for normal floats, the caption
18960  format is also the same: Table\InsetSpace ~
18961
18962 \begin_inset LatexCommand ref
18963 reference "tab:Rotated-table"
18964
18965 \end_inset
18966
18967  is an example of a rotated table float.
18968 \end_layout
18969
18970 \begin_layout Standard
18971 \begin_inset Note Greyedout
18972 status open
18973
18974 \begin_layout Standard
18975
18976 \series bold
18977 Note:
18978 \series default
18979  Not all DVI-viewers are able to display rotated floats.
18980 \end_layout
18981
18982 \end_inset
18983
18984
18985 \end_layout
18986
18987 \begin_layout Standard
18988 \begin_inset Float table
18989 wide false
18990 sideways true
18991 status open
18992
18993 \begin_layout Standard
18994 \begin_inset Caption
18995
18996 \begin_layout Standard
18997 \begin_inset LatexCommand label
18998 name "tab:Rotated-table"
18999
19000 \end_inset
19001
19002  Rotated table
19003 \end_layout
19004
19005 \end_inset
19006
19007
19008 \end_layout
19009
19010 \begin_layout Standard
19011 \align center
19012 \begin_inset Tabular
19013 <lyxtabular version="3" rows="1" columns="5">
19014 <features>
19015 <column alignment="center" valignment="top" leftline="true" width="0">
19016 <column alignment="center" valignment="top" leftline="true" width="0">
19017 <column alignment="center" valignment="top" leftline="true" width="0">
19018 <column alignment="center" valignment="top" leftline="true" width="0">
19019 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19020 <row topline="true" bottomline="true">
19021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19022 \begin_inset Text
19023
19024 \begin_layout Standard
19025 test
19026 \end_layout
19027
19028 \end_inset
19029 </cell>
19030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19031 \begin_inset Text
19032
19033 \begin_layout Standard
19034 b
19035 \end_layout
19036
19037 \end_inset
19038 </cell>
19039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19040 \begin_inset Text
19041
19042 \begin_layout Standard
19043 c
19044 \end_layout
19045
19046 \end_inset
19047 </cell>
19048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19049 \begin_inset Text
19050
19051 \begin_layout Standard
19052 d
19053 \end_layout
19054
19055 \end_inset
19056 </cell>
19057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19058 \begin_inset Text
19059
19060 \begin_layout Standard
19061 e
19062 \end_layout
19063
19064 \end_inset
19065 </cell>
19066 </row>
19067 </lyxtabular>
19068
19069 \end_inset
19070
19071
19072 \end_layout
19073
19074 \end_inset
19075
19076
19077 \end_layout
19078
19079 \begin_layout Section
19080 Caption Formatting
19081 \begin_inset LatexCommand index
19082 name "Caption ! Formatting"
19083
19084 \end_inset
19085
19086
19087 \begin_inset LatexCommand index
19088 name "Floats ! Caption Formatting"
19089
19090 \end_inset
19091
19092
19093 \begin_inset LatexCommand index
19094 name "LaTeX-packages ! caption"
19095
19096 \end_inset
19097
19098
19099 \begin_inset LatexCommand label
19100 name "sec:Caption-Formatting"
19101
19102 \end_inset
19103
19104
19105 \end_layout
19106
19107 \begin_layout Standard
19108 The 
19109 \family sans
19110 Caption
19111 \family default
19112  environment is the default paragraph environment for 
19113 \family sans
19114 Floats
19115 \family default
19116 .
19117  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19118 g.\InsetSpace ~
19119
19120 \begin_inset Quotes eld
19121 \end_inset
19122
19123
19124 \family sans
19125 Figure #:
19126 \family default
19127
19128 \begin_inset Quotes erd
19129 \end_inset
19130
19131  followed by the caption text.
19132  The number sign 
19133 \begin_inset Quotes eld
19134 \end_inset
19135
19136 #
19137 \begin_inset Quotes erd
19138 \end_inset
19139
19140  is substituted in the printed output by the actual reference number.
19141  By default the label and the number are in the same font as the caption
19142  text and a colon follows the number to divide then label from the text.
19143  This caption format is not suitable for all document formats.
19144  
19145 \end_layout
19146
19147 \begin_layout Standard
19148 To change the default caption format, load the LaTeX-package 
19149 \series bold
19150 caption
19151 \series default
19152
19153 \begin_inset LatexCommand index
19154 name "LaTeX-packages ! caption"
19155
19156 \end_inset
19157
19158  in the document preamble with this line:
19159 \end_layout
19160
19161 \begin_layout Standard
19162
19163 \series bold
19164
19165 \backslash
19166 usepackage[format definition]{caption}
19167 \end_layout
19168
19169 \begin_layout Standard
19170 To have for example the label and the number in sans-serif bold font and
19171  the table captions always above the table like in this document, use the
19172  following command:
19173 \end_layout
19174
19175 \begin_layout Standard
19176
19177 \series bold
19178
19179 \backslash
19180 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19181 \end_layout
19182
19183 \begin_layout Standard
19184 You can also define different caption formats for the different float types.
19185  In this case load the 
19186 \series bold
19187 caption
19188 \series default
19189  package without format specific options and define the different formats
19190  with the help of the command
19191 \end_layout
19192
19193 \begin_layout Standard
19194
19195 \series bold
19196
19197 \backslash
19198 captionsetup[float type]{format definition}
19199 \end_layout
19200
19201 \begin_layout Standard
19202 in the document preamble.
19203  For example the caption formats of Figure\InsetSpace ~
19204
19205 \begin_inset LatexCommand ref
19206 reference "fig:This-is-an-fig"
19207
19208 \end_inset
19209
19210  and Table\InsetSpace ~
19211
19212 \begin_inset LatexCommand ref
19213 reference "tab:This-is-an-tab"
19214
19215 \end_inset
19216
19217  can be created using these commands in the document preamble:
19218 \end_layout
19219
19220 \begin_layout Standard
19221
19222 \series bold
19223
19224 \backslash
19225 usepackage[tableposition=top]{caption}
19226 \series default
19227
19228 \newline
19229
19230 \series bold
19231
19232 \backslash
19233 captionsetup[f\SpecialChar \textcompwordmark{}
19234 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19235 \newline
19236
19237 \begin_inset ERT
19238 status collapsed
19239
19240 \begin_layout Standard
19241
19242
19243 \backslash
19244 hphantom{
19245 \backslash
19246
19247 \backslash
19248 captionsetup[figure]
19249 \backslash
19250 {}
19251 \end_layout
19252
19253 \end_inset
19254
19255  labelsep=period}
19256 \newline
19257
19258 \backslash
19259 captionsetup[table]{labelfont={bf,sf}}
19260 \end_layout
19261
19262 \begin_layout Standard
19263 \begin_inset Note Greyedout
19264 status open
19265
19266 \begin_layout Standard
19267
19268 \series bold
19269 Note:
19270 \series default
19271  The option 
19272 \series bold
19273 tableposition=top
19274 \series default
19275  has no effect when a 
19276 \series bold
19277 koma-script
19278 \series default
19279
19280 \begin_inset LatexCommand index
19281 name "LaTeX-packages ! koma-script"
19282
19283 \end_inset
19284
19285  document class is used.
19286  In this case the document class option 
19287 \series bold
19288 tablecaptionabove
19289 \series default
19290  must be used.
19291 \end_layout
19292
19293 \end_inset
19294
19295
19296 \end_layout
19297
19298 \begin_layout Standard
19299 For more information about the package 
19300 \series bold
19301 caption
19302 \series default
19303  we refer to its documentation 
19304 \begin_inset LatexCommand cite
19305 key "caption,caption-de"
19306
19307 \end_inset
19308
19309 .
19310 \end_layout
19311
19312 \begin_layout Standard
19313 To change the label name from e.g.
19314  
19315 \begin_inset Quotes eld
19316 \end_inset
19317
19318 Figure
19319 \begin_inset Quotes erd
19320 \end_inset
19321
19322  to 
19323 \begin_inset Quotes eld
19324 \end_inset
19325
19326 Image
19327 \begin_inset Quotes erd
19328 \end_inset
19329
19330  use this preamble command:
19331 \end_layout
19332
19333 \begin_layout Standard
19334
19335 \series bold
19336
19337 \backslash
19338 renewcommand{
19339 \backslash
19340 fnum@figure}{Image~
19341 \backslash
19342 thefigure}
19343 \end_layout
19344
19345 \begin_layout Standard
19346 where 
19347 \series bold
19348
19349 \backslash
19350 thefigure
19351 \series default
19352  inserts the figure number and
19353 \series bold
19354  
19355 \begin_inset Quotes eld
19356 \end_inset
19357
19358 ~
19359 \series default
19360
19361 \begin_inset Quotes erd
19362 \end_inset
19363
19364  creates a protected space.
19365 \end_layout
19366
19367 \begin_layout Standard
19368 \begin_inset VSpace bigskip
19369 \end_inset
19370
19371 If you are using a 
19372 \series bold
19373 koma-script
19374 \series default
19375
19376 \begin_inset LatexCommand index
19377 name "LaTeX-packages ! koma-script"
19378
19379 \end_inset
19380
19381  document class (
19382 \family sans
19383 article (koma-script)
19384 \family default
19385
19386 \family sans
19387 book (koma-script)
19388 \family default
19389
19390 \family sans
19391 letter (koma-script)
19392 \family default
19393 , or 
19394 \family sans
19395 report (koma-script)
19396 \family default
19397 \InsetSpace \thinspace{}
19398 ), you can alternatively to the 
19399 \series bold
19400 caption
19401 \series default
19402  package use 
19403 \series bold
19404 koma-script
19405 \series default
19406 's built-in command 
19407 \series bold
19408
19409 \backslash
19410 setkomafont
19411 \series default
19412 .
19413  For example, to have the caption label in bold, add this command to your
19414  document preamble:
19415 \end_layout
19416
19417 \begin_layout Standard
19418
19419 \series bold
19420
19421 \backslash
19422 setkomafont{captionlabel}{
19423 \backslash
19424 bfseries}
19425 \end_layout
19426
19427 \begin_layout Standard
19428 For more information about 
19429 \series bold
19430
19431 \backslash
19432 setkomafont
19433 \series default
19434  we refer to the 
19435 \series bold
19436 koma-script
19437 \series default
19438  documentation 
19439 \begin_inset LatexCommand cite
19440 key "koma-script,koma-script-de"
19441
19442 \end_inset
19443
19444 .
19445 \end_layout
19446
19447 \begin_layout Standard
19448 \begin_inset ERT
19449 status collapsed
19450
19451 \begin_layout Standard
19452
19453
19454 \backslash
19455 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19456 }
19457 \end_layout
19458
19459 \end_inset
19460
19461
19462 \begin_inset Note Note
19463 status open
19464
19465 \begin_layout Standard
19466 The caption format is changed only for this example.
19467 \end_layout
19468
19469 \end_inset
19470
19471
19472 \end_layout
19473
19474 \begin_layout Standard
19475 \begin_inset Float figure
19476 placement !p
19477 wide false
19478 sideways false
19479 status open
19480
19481 \begin_layout Standard
19482 \align center
19483 \begin_inset Graphics
19484         filename clipart/mobius.eps
19485         lyxscale 50
19486         scale 50
19487
19488 \end_inset
19489
19490
19491 \end_layout
19492
19493 \begin_layout Standard
19494 \begin_inset Caption
19495
19496 \begin_layout Standard
19497 \begin_inset LatexCommand label
19498 name "fig:This-is-an-fig"
19499
19500 \end_inset
19501
19502 This is an example figure caption that is longer than one line to show the
19503  different caption format.
19504  Here a self-defined caption format is used.
19505 \end_layout
19506
19507 \end_inset
19508
19509
19510 \end_layout
19511
19512 \end_inset
19513
19514
19515 \end_layout
19516
19517 \begin_layout Standard
19518 \begin_inset ERT
19519 status collapsed
19520
19521 \begin_layout Standard
19522
19523
19524 \backslash
19525 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19526 on}
19527 \end_layout
19528
19529 \end_inset
19530
19531
19532 \end_layout
19533
19534 \begin_layout Standard
19535 \begin_inset Float table
19536 placement !p
19537 wide false
19538 sideways false
19539 status open
19540
19541 \begin_layout Standard
19542 \begin_inset Caption
19543
19544 \begin_layout Standard
19545 \begin_inset LatexCommand label
19546 name "tab:This-is-an-tab"
19547
19548 \end_inset
19549
19550 This is an example table caption that is longer than one line to show the
19551  different caption format.
19552  Here the standard caption format for tables in this document is used.
19553 \end_layout
19554
19555 \end_inset
19556
19557
19558 \end_layout
19559
19560 \begin_layout Standard
19561 \align center
19562 \begin_inset Tabular
19563 <lyxtabular version="3" rows="1" columns="5">
19564 <features>
19565 <column alignment="center" valignment="top" leftline="true" width="0">
19566 <column alignment="center" valignment="top" leftline="true" width="0">
19567 <column alignment="center" valignment="top" leftline="true" width="0">
19568 <column alignment="center" valignment="top" leftline="true" width="0">
19569 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19570 <row topline="true" bottomline="true">
19571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19572 \begin_inset Text
19573
19574 \begin_layout Standard
19575 a
19576 \end_layout
19577
19578 \end_inset
19579 </cell>
19580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19581 \begin_inset Text
19582
19583 \begin_layout Standard
19584 b
19585 \end_layout
19586
19587 \end_inset
19588 </cell>
19589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19590 \begin_inset Text
19591
19592 \begin_layout Standard
19593 c
19594 \end_layout
19595
19596 \end_inset
19597 </cell>
19598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19599 \begin_inset Text
19600
19601 \begin_layout Standard
19602 d
19603 \end_layout
19604
19605 \end_inset
19606 </cell>
19607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19608 \begin_inset Text
19609
19610 \begin_layout Standard
19611 e
19612 \end_layout
19613
19614 \end_inset
19615 </cell>
19616 </row>
19617 </lyxtabular>
19618
19619 \end_inset
19620
19621
19622 \end_layout
19623
19624 \end_inset
19625
19626
19627 \end_layout
19628
19629 \begin_layout Section
19630 Caption Placement
19631 \begin_inset LatexCommand index
19632 name "Caption ! Placement"
19633
19634 \end_inset
19635
19636
19637 \begin_inset LatexCommand index
19638 name "Floats ! Caption Placement"
19639
19640 \end_inset
19641
19642
19643 \begin_inset LatexCommand label
19644 name "sec:Caption-Placement"
19645
19646 \end_inset
19647
19648
19649 \end_layout
19650
19651 \begin_layout Standard
19652 The common caption placement rule is:
19653 \end_layout
19654
19655 \begin_layout Description
19656 Figure: Caption is set below the figure
19657 \end_layout
19658
19659 \begin_layout Description
19660 Table: Caption is set above the table
19661 \end_layout
19662
19663 \begin_layout Standard
19664 Having the caption above the table is unfortunately not supported in LaTeX's
19665  standard classes.
19666  That means if you are using the document classes 
19667 \family sans
19668 article
19669 \family default
19670
19671 \family sans
19672 book
19673 \family default
19674
19675 \family sans
19676 letter
19677 \family default
19678 , or 
19679 \family sans
19680 report
19681 \family default
19682  there will be no space between the caption and the table.
19683  To insert the needed space, add the following option to the load command
19684  of the LaTeX-package 
19685 \series bold
19686 caption
19687 \series default
19688  in your document preamble
19689 \begin_inset Foot
19690 status collapsed
19691
19692 \begin_layout Standard
19693 See section\InsetSpace ~
19694
19695 \begin_inset LatexCommand ref
19696 reference "sec:Caption-Formatting"
19697
19698 \end_inset
19699
19700  for more information of the package 
19701 \series bold
19702 caption
19703 \series default
19704 .
19705 \end_layout
19706
19707 \end_inset
19708
19709 :
19710 \end_layout
19711
19712 \begin_layout Standard
19713
19714 \series bold
19715 tableposition=top
19716 \end_layout
19717
19718 \begin_layout Standard
19719 If you are using a 
19720 \series bold
19721 koma-script
19722 \series default
19723
19724 \begin_inset LatexCommand index
19725 name "LaTeX-packages ! koma-script"
19726
19727 \end_inset
19728
19729  document class (
19730 \family sans
19731 article (koma-script)
19732 \family default
19733
19734 \family sans
19735 book (koma-script)
19736 \family default
19737
19738 \family sans
19739 letter (koma-script)
19740 \family default
19741 , or 
19742 \family sans
19743 report (koma-script)
19744 \family default
19745 \InsetSpace \thinspace{}
19746 ), you can alternatively to the 
19747 \series bold
19748 caption
19749 \series default
19750  package set the document class option 
19751 \series bold
19752 tablecaptionabove
19753 \series default
19754 , or you can use the environment 
19755 \family sans
19756 caption\InsetSpace ~
19757 above
19758 \family default
19759  instead of the 
19760 \family sans
19761 caption
19762 \family default
19763  environment.
19764 \end_layout
19765
19766 \begin_layout Standard
19767 \begin_inset VSpace bigskip
19768 \end_inset
19769
19770 It is also possible to set the caption beside a figure or table.
19771  To get this the LaTeX-package 
19772 \series bold
19773 sidecap
19774 \series default
19775
19776 \begin_inset LatexCommand index
19777 name "LaTeX-packages ! sidecap"
19778
19779 \end_inset
19780
19781  has to be loaded in the document preamble with the line
19782 \end_layout
19783
19784 \begin_layout Standard
19785
19786 \series bold
19787
19788 \backslash
19789 usepackage[option]{sidecap}
19790 \end_layout
19791
19792 \begin_layout Standard
19793 If you set no option, the caption is placed on the side of the outer page
19794  margin -- to the right on odd pages, to the left on even pages.
19795  You can change the placement to inner margin with the option 
19796 \series bold
19797 innercaption
19798 \series default
19799 .
19800  To force the placement always to the right or left, use the option 
19801 \series bold
19802 rightcaption
19803 \series default
19804  or 
19805 \series bold
19806 leftcaption
19807 \series default
19808 , respectively.
19809 \end_layout
19810
19811 \begin_layout Standard
19812 To place in LyX the caption of a float on the side, it is necessary to add
19813  these commands to the document preamble:
19814 \end_layout
19815
19816 \begin_layout Standard
19817
19818 \lyxline
19819
19820 \end_layout
19821
19822 \begin_layout Standard
19823
19824 \series bold
19825
19826 \backslash
19827 newcommand{
19828 \backslash
19829 TabBesBeg}{%
19830 \newline
19831
19832 \begin_inset ERT
19833 status collapsed
19834
19835 \begin_layout Standard
19836
19837
19838 \backslash
19839 hphantom{ }
19840 \end_layout
19841
19842 \end_inset
19843
19844
19845 \backslash
19846 let
19847 \backslash
19848 MyTable
19849 \backslash
19850 table
19851 \newline
19852
19853 \begin_inset ERT
19854 status collapsed
19855
19856 \begin_layout Standard
19857
19858
19859 \backslash
19860 hphantom{ }
19861 \end_layout
19862
19863 \end_inset
19864
19865
19866 \backslash
19867 let
19868 \backslash
19869 MyEndtable
19870 \backslash
19871 endtable
19872 \newline
19873
19874 \begin_inset ERT
19875 status collapsed
19876
19877 \begin_layout Standard
19878
19879
19880 \backslash
19881 hphantom{ }
19882 \end_layout
19883
19884 \end_inset
19885
19886
19887 \backslash
19888 renewenvironment{table}{
19889 \backslash
19890 begin{SCtable}}{
19891 \backslash
19892 end{SCtable}}}
19893 \end_layout
19894
19895 \begin_layout Standard
19896
19897 \series bold
19898
19899 \backslash
19900 newcommand{
19901 \backslash
19902 TabBesEnd}{%
19903 \newline
19904
19905 \begin_inset ERT
19906 status collapsed
19907
19908 \begin_layout Standard
19909
19910
19911 \backslash
19912 hphantom{ }
19913 \end_layout
19914
19915 \end_inset
19916
19917
19918 \backslash
19919 let
19920 \backslash
19921 table
19922 \backslash
19923 MyTable
19924 \newline
19925
19926 \begin_inset ERT
19927 status collapsed
19928
19929 \begin_layout Standard
19930
19931
19932 \backslash
19933 hphantom{ }
19934 \end_layout
19935
19936 \end_inset
19937
19938
19939 \backslash
19940 let
19941 \backslash
19942 endtable
19943 \backslash
19944 MyEndtable
19945 \end_layout
19946
19947 \begin_layout Standard
19948
19949 \series bold
19950
19951 \backslash
19952 newcommand{
19953 \backslash
19954 FigBesBeg}{%
19955 \newline
19956
19957 \begin_inset ERT
19958 status collapsed
19959
19960 \begin_layout Standard
19961
19962
19963 \backslash
19964 hphantom{ }
19965 \end_layout
19966
19967 \end_inset
19968
19969
19970 \backslash
19971 let
19972 \backslash
19973 MyFigure
19974 \backslash
19975 f\SpecialChar \textcompwordmark{}
19976 igure
19977 \newline
19978
19979 \begin_inset ERT
19980 status collapsed
19981
19982 \begin_layout Standard
19983
19984
19985 \backslash
19986 hphantom{ }
19987 \end_layout
19988
19989 \end_inset
19990
19991
19992 \backslash
19993 let
19994 \backslash
19995 MyEndf\SpecialChar \textcompwordmark{}
19996 igure
19997 \backslash
19998 endf\SpecialChar \textcompwordmark{}
19999 igure
20000 \newline
20001
20002 \begin_inset ERT
20003 status collapsed
20004
20005 \begin_layout Standard
20006
20007
20008 \backslash
20009 hphantom{ }
20010 \end_layout
20011
20012 \end_inset
20013
20014
20015 \backslash
20016 renewenvironment{f\SpecialChar \textcompwordmark{}
20017 igure}{
20018 \backslash
20019 begin{SCf\SpecialChar \textcompwordmark{}
20020 igure}}{
20021 \backslash
20022 end{SCf\SpecialChar \textcompwordmark{}
20023 igure}}}
20024 \end_layout
20025
20026 \begin_layout Standard
20027
20028 \series bold
20029
20030 \backslash
20031 newcommand{
20032 \backslash
20033 FigBesEnd}{%
20034 \newline
20035
20036 \begin_inset ERT
20037 status collapsed
20038
20039 \begin_layout Standard
20040
20041
20042 \backslash
20043 hphantom{ }
20044 \end_layout
20045
20046 \end_inset
20047
20048
20049 \backslash
20050 let
20051 \backslash
20052 f\SpecialChar \textcompwordmark{}
20053 igure
20054 \backslash
20055 MyFigure
20056 \newline
20057
20058 \begin_inset ERT
20059 status collapsed
20060
20061 \begin_layout Standard
20062
20063
20064 \backslash
20065 hphantom{ }
20066 \end_layout
20067
20068 \end_inset
20069
20070
20071 \backslash
20072 let
20073 \backslash
20074 endf\SpecialChar \textcompwordmark{}
20075 igure
20076 \backslash
20077 MyEndf\SpecialChar \textcompwordmark{}
20078 igure}
20079 \end_layout
20080
20081 \begin_layout Standard
20082
20083 \lyxline
20084
20085 \end_layout
20086
20087 \begin_layout Standard
20088 The commands allow you to redefine the floats so that the caption is set
20089  on the side.
20090  For figure floats use the command
20091 \end_layout
20092
20093 \begin_layout Standard
20094
20095 \series bold
20096
20097 \backslash
20098 FigBesBeg
20099 \end_layout
20100
20101 \begin_layout Standard
20102 in ERT before the float.
20103  Behind the float insert the command
20104 \end_layout
20105
20106 \begin_layout Standard
20107
20108 \series bold
20109
20110 \backslash
20111 FigBesEnd
20112 \end_layout
20113
20114 \begin_layout Standard
20115 in ERT to get back to the original float definition.
20116 \end_layout
20117
20118 \begin_layout Standard
20119 For table floats use the corresponding commands
20120 \end_layout
20121
20122 \begin_layout Standard
20123
20124 \series bold
20125
20126 \backslash
20127 TabBesBeg
20128 \series default
20129  and 
20130 \series bold
20131
20132 \backslash
20133 TabBesEnd
20134 \end_layout
20135
20136 \begin_layout Standard
20137 Figure\InsetSpace ~
20138
20139 \begin_inset LatexCommand ref
20140 reference "fig:cap-beside-fig"
20141
20142 \end_inset
20143
20144  and Table\InsetSpace ~
20145
20146 \begin_inset LatexCommand ref
20147 reference "tab:cap-beside-tab"
20148
20149 \end_inset
20150
20151  are examples where the caption is set beside.
20152 \end_layout
20153
20154 \begin_layout Standard
20155 You can see in the examples that the caption text appears at the top of
20156  the floats for table floats and at the bottom for figure floats.
20157  To change this, you can use the command
20158 \end_layout
20159
20160 \begin_layout Standard
20161
20162 \series bold
20163
20164 \backslash
20165 sidecaptionvpos{float type}{placement}
20166 \end_layout
20167
20168 \begin_layout Standard
20169 in the document preamble or in ERT before the float.
20170  The float type is either 
20171 \family sans
20172 figure
20173 \family default
20174  or 
20175 \family sans
20176 table
20177 \family default
20178 , the placement can be 
20179 \begin_inset Quotes eld
20180 \end_inset
20181
20182
20183 \family sans
20184 t
20185 \family default
20186
20187 \begin_inset Quotes erd
20188 \end_inset
20189
20190  for top, 
20191 \begin_inset Quotes eld
20192 \end_inset
20193
20194
20195 \family sans
20196 c
20197 \family default
20198
20199 \begin_inset Quotes erd
20200 \end_inset
20201
20202  for center, or 
20203 \begin_inset Quotes eld
20204 \end_inset
20205
20206
20207 \family sans
20208 b
20209 \family default
20210
20211 \begin_inset Quotes erd
20212 \end_inset
20213
20214  for bottom.
20215  To have for example the caption of figure floats vertically centered, use
20216  the command
20217 \end_layout
20218
20219 \begin_layout Standard
20220
20221 \series bold
20222
20223 \backslash
20224 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20225 igure}{c}
20226 \end_layout
20227
20228 \begin_layout Standard
20229 This was used for Figure\InsetSpace ~
20230
20231 \begin_inset LatexCommand ref
20232 reference "fig:cap-beside-fig-2"
20233
20234 \end_inset
20235
20236 .
20237 \end_layout
20238
20239 \begin_layout Standard
20240 \begin_inset VSpace defskip
20241 \end_inset
20242
20243 For more information about the package 
20244 \series bold
20245 sidecap
20246 \series default
20247  we refer to its documentation 
20248 \begin_inset LatexCommand cite
20249 key "sidecap"
20250
20251 \end_inset
20252
20253 .
20254 \end_layout
20255
20256 \begin_layout Standard
20257 \begin_inset Note Greyedout
20258 status open
20259
20260 \begin_layout Standard
20261
20262 \series bold
20263 Note:
20264 \series default
20265  The LaTeX-package 
20266 \series bold
20267 hypcap
20268 \series default
20269
20270 \begin_inset LatexCommand index
20271 name "LaTeX-packages ! hypcap"
20272
20273 \end_inset
20274
20275 , described in section\InsetSpace ~
20276
20277 \begin_inset LatexCommand ref
20278 reference "sub:Reference-Position"
20279
20280 \end_inset
20281
20282 , has no effect on floats with the caption set beside.
20283 \end_layout
20284
20285 \end_inset
20286
20287
20288 \end_layout
20289
20290 \begin_layout Standard
20291 \begin_inset ERT
20292 status collapsed
20293
20294 \begin_layout Standard
20295
20296
20297 \backslash
20298 FigBesBeg 
20299 \end_layout
20300
20301 \end_inset
20302
20303
20304 \end_layout
20305
20306 \begin_layout Standard
20307 \begin_inset Float figure
20308 wide false
20309 sideways false
20310 status open
20311
20312 \begin_layout Standard
20313 \begin_inset Graphics
20314         filename clipart/escher-lsd.eps
20315         scale 75
20316
20317 \end_inset
20318
20319
20320 \end_layout
20321
20322 \begin_layout Standard
20323 \begin_inset Caption
20324
20325 \begin_layout Standard
20326 \begin_inset LatexCommand label
20327 name "fig:cap-beside-fig"
20328
20329 \end_inset
20330
20331 This is a caption beside a figure.
20332 \end_layout
20333
20334 \end_inset
20335
20336
20337 \end_layout
20338
20339 \end_inset
20340
20341
20342 \end_layout
20343
20344 \begin_layout Standard
20345 \begin_inset ERT
20346 status collapsed
20347
20348 \begin_layout Standard
20349
20350
20351 \backslash
20352 TabBesBeg 
20353 \end_layout
20354
20355 \end_inset
20356
20357
20358 \end_layout
20359
20360 \begin_layout Standard
20361 \begin_inset Float table
20362 wide false
20363 sideways false
20364 status open
20365
20366 \begin_layout Standard
20367 \begin_inset Caption
20368
20369 \begin_layout Standard
20370 \begin_inset LatexCommand label
20371 name "tab:cap-beside-tab"
20372
20373 \end_inset
20374
20375 This is a caption beside a table.
20376 \end_layout
20377
20378 \end_inset
20379
20380
20381 \end_layout
20382
20383 \begin_layout Standard
20384 \begin_inset Tabular
20385 <lyxtabular version="3" rows="4" columns="5">
20386 <features>
20387 <column alignment="center" valignment="top" leftline="true" width="0">
20388 <column alignment="center" valignment="top" leftline="true" width="0">
20389 <column alignment="center" valignment="top" leftline="true" width="0">
20390 <column alignment="center" valignment="top" leftline="true" width="0">
20391 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20392 <row topline="true">
20393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20394 \begin_inset Text
20395
20396 \begin_layout Standard
20397 a
20398 \end_layout
20399
20400 \end_inset
20401 </cell>
20402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20403 \begin_inset Text
20404
20405 \begin_layout Standard
20406
20407 \end_layout
20408
20409 \end_inset
20410 </cell>
20411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20412 \begin_inset Text
20413
20414 \begin_layout Standard
20415 b
20416 \end_layout
20417
20418 \end_inset
20419 </cell>
20420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20421 \begin_inset Text
20422
20423 \begin_layout Standard
20424
20425 \end_layout
20426
20427 \end_inset
20428 </cell>
20429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20430 \begin_inset Text
20431
20432 \begin_layout Standard
20433 c
20434 \end_layout
20435
20436 \end_inset
20437 </cell>
20438 </row>
20439 <row topline="true">
20440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20441 \begin_inset Text
20442
20443 \begin_layout Standard
20444
20445 \end_layout
20446
20447 \end_inset
20448 </cell>
20449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20450 \begin_inset Text
20451
20452 \begin_layout Standard
20453 d
20454 \end_layout
20455
20456 \end_inset
20457 </cell>
20458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20459 \begin_inset Text
20460
20461 \begin_layout Standard
20462
20463 \end_layout
20464
20465 \end_inset
20466 </cell>
20467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20468 \begin_inset Text
20469
20470 \begin_layout Standard
20471 e
20472 \end_layout
20473
20474 \end_inset
20475 </cell>
20476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20477 \begin_inset Text
20478
20479 \begin_layout Standard
20480
20481 \end_layout
20482
20483 \end_inset
20484 </cell>
20485 </row>
20486 <row topline="true">
20487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20488 \begin_inset Text
20489
20490 \begin_layout Standard
20491 f
20492 \end_layout
20493
20494 \end_inset
20495 </cell>
20496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20497 \begin_inset Text
20498
20499 \begin_layout Standard
20500
20501 \end_layout
20502
20503 \end_inset
20504 </cell>
20505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20506 \begin_inset Text
20507
20508 \begin_layout Standard
20509 g
20510 \end_layout
20511
20512 \end_inset
20513 </cell>
20514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20515 \begin_inset Text
20516
20517 \begin_layout Standard
20518
20519 \end_layout
20520
20521 \end_inset
20522 </cell>
20523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20524 \begin_inset Text
20525
20526 \begin_layout Standard
20527 h
20528 \end_layout
20529
20530 \end_inset
20531 </cell>
20532 </row>
20533 <row topline="true" bottomline="true">
20534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20535 \begin_inset Text
20536
20537 \begin_layout Standard
20538
20539 \end_layout
20540
20541 \end_inset
20542 </cell>
20543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20544 \begin_inset Text
20545
20546 \begin_layout Standard
20547 i
20548 \end_layout
20549
20550 \end_inset
20551 </cell>
20552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20553 \begin_inset Text
20554
20555 \begin_layout Standard
20556
20557 \end_layout
20558
20559 \end_inset
20560 </cell>
20561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20562 \begin_inset Text
20563
20564 \begin_layout Standard
20565 j
20566 \end_layout
20567
20568 \end_inset
20569 </cell>
20570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20571 \begin_inset Text
20572
20573 \begin_layout Standard
20574
20575 \end_layout
20576
20577 \end_inset
20578 </cell>
20579 </row>
20580 </lyxtabular>
20581
20582 \end_inset
20583
20584
20585 \end_layout
20586
20587 \end_inset
20588
20589
20590 \end_layout
20591
20592 \begin_layout Standard
20593 \begin_inset ERT
20594 status collapsed
20595
20596 \begin_layout Standard
20597
20598
20599 \backslash
20600 TabBesEnd
20601 \end_layout
20602
20603 \end_inset
20604
20605
20606 \end_layout
20607
20608 \begin_layout Standard
20609 \begin_inset ERT
20610 status collapsed
20611
20612 \begin_layout Standard
20613
20614
20615 \backslash
20616 sidecaptionvpos{figure}{c}
20617 \end_layout
20618
20619 \end_inset
20620
20621
20622 \begin_inset Float figure
20623 wide false
20624 sideways false
20625 status open
20626
20627 \begin_layout Standard
20628 \begin_inset Graphics
20629         filename clipart/escher-lsd.eps
20630         scale 75
20631
20632 \end_inset
20633
20634
20635 \end_layout
20636
20637 \begin_layout Standard
20638 \begin_inset Caption
20639
20640 \begin_layout Standard
20641 \begin_inset LatexCommand label
20642 name "fig:cap-beside-fig-2"
20643
20644 \end_inset
20645
20646 This is a vertically centered caption beside a figure.
20647 \end_layout
20648
20649 \end_inset
20650
20651
20652 \end_layout
20653
20654 \end_inset
20655
20656
20657 \end_layout
20658
20659 \begin_layout Standard
20660 \begin_inset ERT
20661 status collapsed
20662
20663 \begin_layout Standard
20664
20665
20666 \backslash
20667 FigBesEnd
20668 \end_layout
20669
20670 \end_inset
20671
20672
20673 \end_layout
20674
20675 \begin_layout Section
20676 Listings of Floats
20677 \begin_inset LatexCommand label
20678 name "sec:Listings-of-Floats"
20679
20680 \end_inset
20681
20682
20683 \begin_inset LatexCommand index
20684 name "Floats ! Listings"
20685
20686 \end_inset
20687
20688
20689 \end_layout
20690
20691 \begin_layout Standard
20692 Similar to the the table of contents where the sections of the document
20693  are listed, there are listings for all float types, like the figures of
20694  the documents.
20695  You can insert them via the 
20696 \family sans
20697 Insert\SpecialChar \menuseparator
20698 List\InsetSpace ~
20699 /\InsetSpace ~
20700 TOC
20701 \family default
20702  sub menus.
20703 \end_layout
20704
20705 \begin_layout Standard
20706 The list entries are the float captions or its short title, the float number,
20707  and the page number where they appear in the document.
20708 \end_layout
20709
20710 \begin_layout Standard
20711 You can find the list of figures and tables at the end of this document.
20712 \end_layout
20713
20714 \begin_layout Chapter
20715 Notes
20716 \end_layout
20717
20718 \begin_layout Section
20719 \begin_inset ERT
20720 status collapsed
20721
20722 \begin_layout Standard
20723
20724
20725 \backslash
20726 texorpdfstring{
20727 \end_layout
20728
20729 \end_inset
20730
20731 LyX
20732 \begin_inset ERT
20733 status collapsed
20734
20735 \begin_layout Standard
20736
20737 }{LyX}
20738 \end_layout
20739
20740 \end_inset
20741
20742  Notes
20743 \begin_inset LatexCommand label
20744 name "sec:LyX-Notes"
20745
20746 \end_inset
20747
20748
20749 \begin_inset LatexCommand index
20750 name "Notes ! LyX Notes"
20751
20752 \end_inset
20753
20754
20755 \begin_inset Note Note
20756 status collapsed
20757
20758 \begin_layout Standard
20759 The command 
20760 \backslash
20761 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20762  are displayed wrongly in PDF-bookmarks.
20763  For more information about this, have a look at 
20764 \begin_inset LatexCommand cite
20765 key "hyperref"
20766
20767 \end_inset
20768
20769 .
20770 \end_layout
20771
20772 \end_inset
20773
20774
20775 \end_layout
20776
20777 \begin_layout Standard
20778 Notes are inserted with the toolbar button 
20779 \begin_inset Graphics
20780         filename ../images/note-insert.xpm
20781         scale 85
20782
20783 \end_inset
20784
20785  or the menu 
20786 \family sans
20787 Insert\SpecialChar \menuseparator
20788 Note
20789 \family default
20790 .
20791  There are three types of notes:
20792 \end_layout
20793
20794 \begin_layout Description
20795 LyX\InsetSpace ~
20796 Note This note type is for internal notes that won't appear in the output.
20797  Its note-box looks like this:
20798 \newline
20799
20800 \newline
20801
20802 \begin_inset Graphics
20803         filename clipart/LyXNoteImageQt4.png
20804         display none
20805         scale 85
20806
20807 \end_inset
20808
20809  
20810 \begin_inset Note Note
20811 status open
20812
20813 \begin_layout Standard
20814 This is text in a note box that doesn't appear in the output.
20815 \end_layout
20816
20817 \end_inset
20818
20819
20820 \end_layout
20821
20822 \begin_layout Description
20823 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20824 ent, when you export the document to LaTeX via the menu 
20825 \family sans
20826 File\SpecialChar \menuseparator
20827 Export\SpecialChar \menuseparator
20828 LaTeX (pdflatex) / LaTeX (plain)
20829 \family default
20830 .
20831  Its note-box looks like this:
20832 \newline
20833
20834 \newline
20835
20836 \begin_inset Graphics
20837         filename clipart/CommentNoteImageQt4.png
20838         display none
20839         scale 85
20840
20841 \end_inset
20842
20843  
20844 \begin_inset Note Comment
20845 status open
20846
20847 \begin_layout Standard
20848 This is text in a note box that only appears as comment in LaTeX-files.
20849 \end_layout
20850
20851 \end_inset
20852
20853
20854 \end_layout
20855
20856 \begin_layout Description
20857 Greyed\InsetSpace ~
20858 Out This note will appear in the output as grey text.
20859  Its note-box looks like this:
20860 \newline
20861
20862 \newline
20863
20864 \begin_inset Graphics
20865         filename clipart/GreyedOutNoteImageQt4.png
20866         display none
20867         scale 85
20868
20869 \end_inset
20870
20871
20872 \newline
20873
20874 \begin_inset ERT
20875 status collapsed
20876
20877 \begin_layout Standard
20878
20879
20880 \backslash
20881 renewenvironment{lyxgreyedout}
20882 \end_layout
20883
20884 \begin_layout Standard
20885
20886 {
20887 \backslash
20888 textcolor[gray]{0.8}
20889 \backslash
20890 bgroup}{
20891 \backslash
20892 egroup}
20893 \end_layout
20894
20895 \end_inset
20896
20897
20898 \begin_inset Note Greyedout
20899 status open
20900
20901 \begin_layout Standard
20902 This is text
20903 \begin_inset Foot
20904 status open
20905
20906 \begin_layout Standard
20907 This is an example footnote within a greyed out note.
20908 \end_layout
20909
20910 \end_inset
20911
20912  of a comment that appears in the output as grey text.
20913 \end_layout
20914
20915 \end_inset
20916
20917
20918 \begin_inset ERT
20919 status collapsed
20920
20921 \begin_layout Standard
20922
20923
20924 \backslash
20925 renewenvironment{lyxgreyedout}
20926 \end_layout
20927
20928 \begin_layout Standard
20929
20930 {
20931 \backslash
20932 textcolor{blue}
20933 \backslash
20934 bgroup}{
20935 \backslash
20936 egroup}
20937 \end_layout
20938
20939 \end_inset
20940
20941
20942 \begin_inset Note Note
20943 status collapsed
20944
20945 \begin_layout Standard
20946 The greyed out note is here redefined to show it with the original LyX definitio
20947 n because greyed out notes are redefined in the preamble of this document,
20948  as described below, to have blue text.
20949 \end_layout
20950
20951 \end_inset
20952
20953
20954 \newline
20955
20956 \newline
20957 As you can see in the example, the first line of greyed out notes is a bit
20958  indented and greyed out notes can have footnotes.
20959 \end_layout
20960
20961 \begin_layout Description
20962 Framed This note will appear in the output as framed text.
20963  Its note-box looks like this:
20964 \newline
20965
20966 \newline
20967
20968 \begin_inset Graphics
20969         filename clipart/FramedNoteImageQt4.png
20970         display none
20971         scale 85
20972
20973 \end_inset
20974
20975  
20976 \begin_inset Note Framed
20977 status open
20978
20979 \begin_layout Standard
20980 This is text in a note box that appears framed in the output.
20981 \end_layout
20982
20983 \end_inset
20984
20985  In contrary to framed boxes
20986 \begin_inset Foot
20987 status collapsed
20988
20989 \begin_layout Standard
20990 Framed boxes are described in section\InsetSpace ~
20991
20992 \begin_inset LatexCommand ref
20993 reference "sec:Framed-Boxes"
20994
20995 \end_inset
20996
20997 .
20998 \end_layout
20999
21000 \end_inset
21001
21002  the frame uses always the whole text width and the note is set into its
21003  own paragraph.
21004 \end_layout
21005
21006 \begin_layout Description
21007 Shaded This note will appear in the output with red background color.
21008  Its note box looks like this:
21009 \newline
21010
21011 \newline
21012
21013 \begin_inset Graphics
21014         filename clipart/ShadedNoteImageQt4.png
21015         display none
21016         scale 85
21017
21018 \end_inset
21019
21020
21021 \begin_inset Note Shaded
21022 status open
21023
21024 \begin_layout Standard
21025 This text in a note box appears in the output with red background.
21026 \end_layout
21027
21028 \end_inset
21029
21030 In contrary to colored boxes
21031 \begin_inset Foot
21032 status collapsed
21033
21034 \begin_layout Standard
21035 Colored boxes are described in section\InsetSpace ~
21036
21037 \begin_inset LatexCommand ref
21038 reference "sec:Colored-Boxes"
21039
21040 \end_inset
21041
21042 .
21043 \end_layout
21044
21045 \end_inset
21046
21047  the note uses always the whole text width and the note is set into its
21048  own paragraph.
21049 \end_layout
21050
21051 \begin_layout Standard
21052 \begin_inset VSpace bigskip
21053 \end_inset
21054
21055 When you use the toolbar button to insert notes, a 
21056 \family sans
21057 LyX\InsetSpace ~
21058 Note
21059 \family default
21060  is inserted.
21061  You can switch between the three note types by right-clicking on the note-box.
21062  
21063 \family roman
21064 \series medium
21065 \bar no
21066 If you want to turn existing text into a note, mark it and click on the
21067  note
21068 \family default
21069 \series default
21070 \bar default
21071  toolbar 
21072 \family roman
21073 \series medium
21074 \bar no
21075 button
21076 \family default
21077 \series default
21078 \bar default
21079 .
21080 \end_layout
21081
21082 \begin_layout Standard
21083 \begin_inset VSpace bigskip
21084 \end_inset
21085
21086 You can change the text color of the greyed out notes in the preamble with
21087  the following command:
21088 \end_layout
21089
21090 \begin_layout Standard
21091
21092 \series bold
21093
21094 \backslash
21095 renewenvironment{lyxgreyedout}
21096 \newline
21097
21098 \begin_inset ERT
21099 status collapsed
21100
21101 \begin_layout Standard
21102
21103
21104 \backslash
21105 hphantom{ }
21106 \end_layout
21107
21108 \end_inset
21109
21110 {
21111 \backslash
21112 textcolor{color}
21113 \backslash
21114 bgroup}{
21115 \backslash
21116 egroup}
21117 \end_layout
21118
21119 \begin_layout Standard
21120 The available colors and the method to define own colors is explained in
21121  section\InsetSpace ~
21122
21123 \begin_inset LatexCommand ref
21124 reference "sec:Colored-Tables"
21125
21126 \end_inset
21127
21128 .
21129 \end_layout
21130
21131 \begin_layout Standard
21132 Notes that appear in blue in this document are set using greyed out notes
21133  with blue text.
21134 \end_layout
21135
21136 \begin_layout Standard
21137 \begin_inset VSpace bigskip
21138 \end_inset
21139
21140
21141 \end_layout
21142
21143 \begin_layout Standard
21144 The text style of 
21145 \family sans
21146 Framed
21147 \family default
21148  and 
21149 \family sans
21150 Shaded
21151 \family default
21152  notes can be set in the 
21153 \family sans
21154 Text Style
21155 \family default
21156  dialog.
21157 \end_layout
21158
21159 \begin_layout Standard
21160 The default frame width for 
21161 \family sans
21162 Framed
21163 \family default
21164  notes is 0.4\InsetSpace \thinspace{}
21165 pt; it can be changed by changing the size 
21166 \series bold
21167
21168 \backslash
21169 FrameRule
21170 \series default
21171 .
21172  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21173 pt; it can
21174  be changed by changing the size 
21175 \series bold
21176
21177 \backslash
21178 FrameSep
21179 \series default
21180 .
21181  For example the frame appearance of the following 
21182 \family sans
21183 Framed
21184 \family default
21185  note is set with the ERT commands
21186 \end_layout
21187
21188 \begin_layout Standard
21189
21190 \series bold
21191
21192 \backslash
21193 FrameRule 5pt 
21194 \backslash
21195 FrameSep 0.5cm
21196 \end_layout
21197
21198 \begin_layout Standard
21199 \begin_inset ERT
21200 status collapsed
21201
21202 \begin_layout Standard
21203
21204
21205 \backslash
21206 FrameRule 5pt 
21207 \backslash
21208 FrameSep 0.5cm
21209 \end_layout
21210
21211 \end_inset
21212
21213
21214 \begin_inset Note Framed
21215 status open
21216
21217 \begin_layout Standard
21218 This is text in a 
21219 \family sans
21220 Framed
21221 \family default
21222  note.
21223 \end_layout
21224
21225 \end_inset
21226
21227
21228 \begin_inset ERT
21229 status collapsed
21230
21231 \begin_layout Standard
21232
21233
21234 \backslash
21235 FrameRule 0.4pt 
21236 \backslash
21237 FrameSep 9pt
21238 \end_layout
21239
21240 \end_inset
21241
21242
21243 \end_layout
21244
21245 \begin_layout Standard
21246 \begin_inset VSpace bigskip
21247 \end_inset
21248
21249
21250 \end_layout
21251
21252 \begin_layout Standard
21253 For 
21254 \family sans
21255 Shaded
21256 \family default
21257  notes the default space between the note content and the note border is
21258  3\InsetSpace \thinspace{}
21259 pt; it can be changed by changing the size 
21260 \series bold
21261
21262 \backslash
21263 fboxsep
21264 \series default
21265 .
21266 \newline
21267 The default background color red can be changed with the command 
21268 \series bold
21269
21270 \backslash
21271 def\SpecialChar \textcompwordmark{}
21272 inecolor{shadebox}
21273 \series default
21274 .
21275  The scheme of the 
21276 \series bold
21277
21278 \backslash
21279 def\SpecialChar \textcompwordmark{}
21280 inecolor
21281 \series default
21282  command is explained in section\InsetSpace ~
21283
21284 \begin_inset LatexCommand ref
21285 reference "sec:Colored-Tables"
21286
21287 \end_inset
21288
21289
21290 \begin_inset Foot
21291 status collapsed
21292
21293 \begin_layout Standard
21294 Note that 
21295 \series bold
21296
21297 \backslash
21298 def
21299 \series default
21300 \SpecialChar \textcompwordmark{}
21301
21302 \series bold
21303 inecolor
21304 \series default
21305  requires the LaTeX-package 
21306 \series bold
21307 color
21308 \series default
21309  in the preamble, see section\InsetSpace ~
21310
21311 \begin_inset LatexCommand ref
21312 reference "sec:Colored-Boxes"
21313
21314 \end_inset
21315
21316 .
21317 \end_layout
21318
21319 \end_inset
21320
21321 .
21322 \end_layout
21323
21324 \begin_layout Standard
21325 For example the appearance of the following 
21326 \family sans
21327 Shaded
21328 \family default
21329  note is set with the ERT commands
21330 \end_layout
21331
21332 \begin_layout Standard
21333
21334 \series bold
21335
21336 \backslash
21337 fboxsep 0.5cm
21338 \series default
21339
21340 \newline
21341
21342 \series bold
21343
21344 \backslash
21345 def\SpecialChar \textcompwordmark{}
21346 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21347 \end_layout
21348
21349 \begin_layout Standard
21350 \begin_inset ERT
21351 status collapsed
21352
21353 \begin_layout Standard
21354
21355
21356 \backslash
21357 fboxsep 0.5cm
21358 \end_layout
21359
21360 \end_inset
21361
21362
21363 \begin_inset ERT
21364 status collapsed
21365
21366 \begin_layout Standard
21367
21368
21369 \backslash
21370 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21371 \end_layout
21372
21373 \end_inset
21374
21375
21376 \begin_inset Note Shaded
21377 status open
21378
21379 \begin_layout Standard
21380
21381 \color yellow
21382 This is yellow text in a
21383 \color none
21384  
21385 \family sans
21386 \color yellow
21387 Shaded
21388 \family default
21389 \color none
21390  
21391 \color yellow
21392 note with darkgreen background.
21393 \end_layout
21394
21395 \end_inset
21396
21397
21398 \begin_inset ERT
21399 status collapsed
21400
21401 \begin_layout Standard
21402
21403
21404 \backslash
21405 fboxsep 3pt
21406 \end_layout
21407
21408 \end_inset
21409
21410
21411 \begin_inset ERT
21412 status collapsed
21413
21414 \begin_layout Standard
21415
21416
21417 \backslash
21418 definecolor{shadecolor}{rgb}{1,0,0}
21419 \end_layout
21420
21421 \end_inset
21422
21423
21424 \end_layout
21425
21426 \begin_layout Section
21427 Footnotes
21428 \begin_inset LatexCommand label
21429 name "sec:Footnotes"
21430
21431 \end_inset
21432
21433
21434 \begin_inset LatexCommand index
21435 name "Notes ! Footnotes"
21436
21437 \end_inset
21438
21439
21440 \begin_inset LatexCommand index
21441 name "Footnotes"
21442
21443 \end_inset
21444
21445
21446 \end_layout
21447
21448 \begin_layout Standard
21449 Footnotes can be inserted using the toolbar button 
21450 \begin_inset Graphics
21451         filename ../images/footnote-insert.xpm
21452         scale 85
21453
21454 \end_inset
21455
21456  or the menu 
21457 \family sans
21458 Insert\SpecialChar \menuseparator
21459 Footnote
21460 \family default
21461 .
21462  
21463 \family roman
21464 \series medium
21465 \bar no
21466 You'll see
21467 \family default
21468 \series default
21469 \bar default
21470  then the following footnote-box: 
21471 \begin_inset Graphics
21472         filename clipart/footnoteQt4.png
21473         scale 80
21474
21475 \end_inset
21476
21477  
21478 \family roman
21479 \series medium
21480 \bar no
21481 where you can enter the footnote text.
21482  If you want to turn existing text into a footnote, mark it and click on
21483  the footnote
21484 \family default
21485 \series default
21486 \bar default
21487  toolbar 
21488 \family roman
21489 \series medium
21490 \bar no
21491 button
21492 \family default
21493 \series default
21494 \bar default
21495 .
21496 \end_layout
21497
21498 \begin_layout Standard
21499 Here is an example footnote:
21500 \family roman
21501 \series medium
21502 \bar no
21503
21504 \begin_inset Foot
21505 status open
21506
21507 \begin_layout Standard
21508 \begin_inset LatexCommand label
21509 name "foot:This-is-an"
21510
21511 \end_inset
21512
21513 This is an example footnote.
21514 \end_layout
21515
21516 \end_inset
21517
21518
21519 \family default
21520 \series default
21521 \bar default
21522
21523 \begin_inset ERT
21524 status collapsed
21525
21526 \begin_layout Standard
21527
21528
21529 \backslash
21530 newcounter{MyRepeatFoot}
21531 \end_layout
21532
21533 \begin_layout Standard
21534
21535
21536 \backslash
21537 setcounter{MyRepeatFoot}{
21538 \backslash
21539 thefootnote}
21540 \end_layout
21541
21542 \end_inset
21543
21544
21545 \end_layout
21546
21547 \begin_layout Standard
21548 The footnote will appear in the output as a superscript number at the text
21549  position where the footnote box is placed.
21550  The footnote text is placed at the bottom of the current page.
21551  The footnote number is calculated by LaTeX, the numbers are consecutive.
21552  It depends on your document-class, if the footnote number is reset for
21553  every chapter.
21554 \end_layout
21555
21556 \begin_layout Standard
21557 Footnotes can be referenced like floats: Insert a label into the footnote
21558  and cross-reference this label in the text as described in section\InsetSpace ~
21559
21560 \begin_inset LatexCommand ref
21561 reference "sec:Referencing-Floats"
21562
21563 \end_inset
21564
21565 .
21566 \newline
21567 This is a cross-reference of Footnote\InsetSpace ~
21568
21569 \begin_inset LatexCommand ref
21570 reference "foot:This-is-an"
21571
21572 \end_inset
21573
21574 .
21575 \newline
21576
21577 \begin_inset Note Greyedout
21578 status open
21579
21580 \begin_layout Standard
21581
21582 \series bold
21583 Note:
21584 \series default
21585  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21586  e.\InsetSpace \thinspace{}
21587 g.\InsetSpace ~
21588 the prefix 
21589 \family sans
21590
21591 \begin_inset Quotes eld
21592 \end_inset
21593
21594 foot:
21595 \family default
21596
21597 \begin_inset Quotes erd
21598 \end_inset
21599
21600  manually when you want to use the reference style 
21601 \family sans
21602 Formatted\InsetSpace ~
21603 reference
21604 \family default
21605 .
21606 \end_layout
21607
21608 \end_inset
21609
21610
21611 \end_layout
21612
21613 \begin_layout Standard
21614 \begin_inset VSpace defskip
21615 \end_inset
21616
21617 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21618
21619 \begin_inset LatexCommand ref
21620 reference "sec:Minipages"
21621
21622 \end_inset
21623
21624 .
21625  Footnotes within longtables are described in section\InsetSpace ~
21626
21627 \begin_inset LatexCommand ref
21628 reference "sub:Footnotes-in-Longtables"
21629
21630 \end_inset
21631
21632 .
21633 \end_layout
21634
21635 \begin_layout Standard
21636 \begin_inset VSpace defskip
21637 \end_inset
21638
21639 To create only a mark for a footnote, use the command 
21640 \series bold
21641
21642 \backslash
21643 footnotemark[number]
21644 \series default
21645  in ERT.
21646  This is used when you have the same annotation several times in a text
21647  but doesn't want to print the footnote text every time.
21648 \newline
21649 As you don't know
21650  the number of the repeating footnote while you are writing the text, you
21651  have to store its number.
21652  For the following footnote mark example, these commands were inserted in
21653  ERT behind Footnote\InsetSpace ~
21654
21655 \begin_inset LatexCommand ref
21656 reference "foot:This-is-an"
21657
21658 \end_inset
21659
21660  to store the footnote number:
21661 \end_layout
21662
21663 \begin_layout Standard
21664
21665 \series bold
21666
21667 \backslash
21668 newcounter{MyRepeatFoot}
21669 \newline
21670
21671 \backslash
21672 setcounter{MyRepeatFoot}{
21673 \backslash
21674 thefootnote}
21675 \end_layout
21676
21677 \begin_layout Standard
21678 The footnote mark was then created with this command:
21679 \end_layout
21680
21681 \begin_layout Standard
21682
21683 \series bold
21684
21685 \backslash
21686 footnotemark[
21687 \backslash
21688 theMyRepeatFoot]
21689 \end_layout
21690
21691 \begin_layout Standard
21692 Here is an example footnote mark:
21693 \family roman
21694 \series medium
21695 \bar no
21696
21697 \begin_inset ERT
21698 status collapsed
21699
21700 \begin_layout Standard
21701
21702
21703 \backslash
21704 footnotemark[
21705 \backslash
21706 theMyRepeatFoot]
21707 \end_layout
21708
21709 \end_inset
21710
21711
21712 \end_layout
21713
21714 \begin_layout Subsection
21715 Footnote Numbering
21716 \begin_inset LatexCommand label
21717 name "sub:Footnote-Numbering"
21718
21719 \end_inset
21720
21721
21722 \begin_inset LatexCommand index
21723 name "Footnotes ! Numbering"
21724
21725 \end_inset
21726
21727
21728 \end_layout
21729
21730 \begin_layout Standard
21731 If you want to have footnotes numbered in the scheme 
21732 \begin_inset Quotes eld
21733 \end_inset
21734
21735 chapter.footnote
21736 \begin_inset Quotes erd
21737 \end_inset
21738
21739 , add the following command to your document preamble:
21740 \end_layout
21741
21742 \begin_layout Standard
21743
21744 \series bold
21745
21746 \backslash
21747 numberwithin{footnote}{chapter}
21748 \end_layout
21749
21750 \begin_layout Standard
21751 To be able to use the command 
21752 \series bold
21753
21754 \backslash
21755 numberwithin
21756 \series default
21757 , set in the tab 
21758 \family sans
21759 Math\InsetSpace ~
21760 Options
21761 \family default
21762  in the document settings the option 
21763 \family sans
21764 Use\InsetSpace ~
21765 AMS\InsetSpace ~
21766 math\InsetSpace ~
21767 package
21768 \family default
21769 .
21770 \end_layout
21771
21772 \begin_layout Standard
21773 \begin_inset ERT
21774 status collapsed
21775
21776 \begin_layout Standard
21777
21778
21779 \backslash
21780 numberwithin{footnote}{chapter}
21781 \end_layout
21782
21783 \end_inset
21784
21785 This is another example footnote:
21786 \series bold
21787
21788 \begin_inset Foot
21789 status open
21790
21791 \begin_layout Standard
21792 This is a footnote numbered in the scheme 
21793 \begin_inset Quotes eld
21794 \end_inset
21795
21796 chapter.footnote
21797 \begin_inset Quotes erd
21798 \end_inset
21799
21800 .
21801 \end_layout
21802
21803 \end_inset
21804
21805
21806 \series default
21807
21808 \begin_inset ERT
21809 status collapsed
21810
21811 \begin_layout Standard
21812
21813
21814 \backslash
21815 numberwithin{footnote}{part}
21816 \end_layout
21817
21818 \end_inset
21819
21820
21821 \end_layout
21822
21823 \begin_layout Standard
21824 \begin_inset VSpace bigskip
21825 \end_inset
21826
21827
21828 \end_layout
21829
21830 \begin_layout Standard
21831 To reset the footnote number back to 1 after each section
21832 \family roman
21833 , add this command to your document preamble:
21834 \end_layout
21835
21836 \begin_layout Standard
21837
21838 \series bold
21839
21840 \backslash
21841 @addtoreset{footnote}{section}
21842 \end_layout
21843
21844 \begin_layout Standard
21845 \begin_inset VSpace bigskip
21846 \end_inset
21847
21848 The following preamble command changes the footnote numbering style to small
21849  roman numerals:
21850 \end_layout
21851
21852 \begin_layout Standard
21853
21854 \series bold
21855
21856 \backslash
21857 renewcommand{
21858 \backslash
21859 thefootnote}{
21860 \backslash
21861 roman{footnote}}
21862 \end_layout
21863
21864 \begin_layout Standard
21865 \begin_inset ERT
21866 status collapsed
21867
21868 \begin_layout Standard
21869
21870
21871 \backslash
21872 renewcommand{
21873 \backslash
21874 thefootnote}{
21875 \backslash
21876 roman{footnote}}
21877 \end_layout
21878
21879 \end_inset
21880
21881  This is a footnote with roman numbering:
21882 \begin_inset Foot
21883 status open
21884
21885 \begin_layout Standard
21886 This is an example footnote with roman numbering.
21887 \end_layout
21888
21889 \end_inset
21890
21891
21892 \begin_inset ERT
21893 status collapsed
21894
21895 \begin_layout Standard
21896
21897
21898 \backslash
21899 renewcommand{
21900 \backslash
21901 thefootnote}{
21902 \backslash
21903 arabic{footnote}}
21904 \end_layout
21905
21906 \end_inset
21907
21908
21909 \end_layout
21910
21911 \begin_layout Standard
21912 To change the numbering style to capital roman numerals replace in the command
21913  above 
21914 \series bold
21915
21916 \backslash
21917 roman
21918 \series default
21919  by 
21920 \series bold
21921
21922 \backslash
21923 Roman
21924 \series default
21925 .
21926  To 
21927 \begin_inset Quotes eld
21928 \end_inset
21929
21930 number
21931 \begin_inset Quotes erd
21932 \end_inset
21933
21934  footnotes with capital or small Latin letters use 
21935 \series bold
21936
21937 \backslash
21938 Alph
21939 \series default
21940  or 
21941 \series bold
21942
21943 \backslash
21944 alph
21945 \series default
21946 , respectively.
21947  To 
21948 \begin_inset Quotes eld
21949 \end_inset
21950
21951 number
21952 \begin_inset Quotes erd
21953 \end_inset
21954
21955  footnotes with symbols use 
21956 \series bold
21957
21958 \backslash
21959 fnsymbol
21960 \series default
21961 .
21962 \end_layout
21963
21964 \begin_layout Standard
21965 \begin_inset Note Greyedout
21966 status open
21967
21968 \begin_layout Standard
21969
21970 \series bold
21971 Note:
21972 \series default
21973  You can only number 26 footnotes with Latin letters, because this numbering
21974  is limited to single letters.
21975 \end_layout
21976
21977 \end_inset
21978
21979
21980 \newline
21981
21982 \begin_inset Note Greyedout
21983 status open
21984
21985 \begin_layout Standard
21986
21987 \series bold
21988 Note:
21989 \series default
21990  You can only number 9 footnotes with symbols.
21991 \end_layout
21992
21993 \end_inset
21994
21995
21996 \end_layout
21997
21998 \begin_layout Standard
21999 To return to the default numbering style when you changed to another one,
22000  use 
22001 \series bold
22002
22003 \backslash
22004 arabic
22005 \series default
22006  instead of 
22007 \series bold
22008
22009 \backslash
22010 roman
22011 \series default
22012  in the command above.
22013 \end_layout
22014
22015 \begin_layout Subsection
22016 Footnote Placement
22017 \begin_inset LatexCommand index
22018 name "Footnotes ! Placement"
22019
22020 \end_inset
22021
22022
22023 \end_layout
22024
22025 \begin_layout Standard
22026 If you have several footnotes in one page, they appear without vertical
22027  space between them at the bottom of the page.
22028  To make them better readable you can e.\InsetSpace \thinspace{}
22029 g.\InsetSpace ~
22030 add 1.5\InsetSpace \thinspace{}
22031 mm space with the following
22032  preamble command:
22033 \end_layout
22034
22035 \begin_layout Standard
22036
22037 \series bold
22038
22039 \backslash
22040 let
22041 \backslash
22042 myFoot
22043 \backslash
22044 footnote
22045 \newline
22046
22047 \backslash
22048 renewcommand{
22049 \backslash
22050 footnote}[1]{
22051 \backslash
22052 myFoot{#1
22053 \backslash
22054 vspace{1.5mm}}}
22055 \end_layout
22056
22057 \begin_layout Standard
22058 \begin_inset VSpace bigskip
22059 \end_inset
22060
22061 In a two-column document the footnotes appear at the bottom of every column,
22062  see Figure\InsetSpace ~
22063
22064 \begin_inset LatexCommand ref
22065 reference "fig:Standard-footnote-placement"
22066
22067 \end_inset
22068
22069 .
22070  If the footnotes should only appear at the bottom of the right column,
22071  as in Figure\InsetSpace ~
22072
22073 \begin_inset LatexCommand ref
22074 reference "fig:Footnote-placement-in"
22075
22076 \end_inset
22077
22078 , use the LaTeX-package 
22079 \series bold
22080 ftnright
22081 \series default
22082
22083 \begin_inset LatexCommand index
22084 name "LaTeX-packages ! ftnright"
22085
22086 \end_inset
22087
22088  with this command in the document preamble:
22089 \end_layout
22090
22091 \begin_layout Standard
22092
22093 \series bold
22094
22095 \backslash
22096 usepackage{ftnright}
22097 \end_layout
22098
22099 \begin_layout Standard
22100 \begin_inset Float figure
22101 placement !h
22102 wide false
22103 sideways false
22104 status open
22105
22106 \begin_layout Standard
22107 \begin_inset ERT
22108 status collapsed
22109
22110 \begin_layout Standard
22111
22112
22113 \backslash
22114 framebox{
22115 \end_layout
22116
22117 \end_inset
22118
22119
22120 \begin_inset Graphics
22121         filename clipart/without_fntright.pdf
22122         width 100col%
22123
22124 \end_inset
22125
22126
22127 \begin_inset ERT
22128 status collapsed
22129
22130 \begin_layout Standard
22131
22132 }
22133 \end_layout
22134
22135 \end_inset
22136
22137
22138 \end_layout
22139
22140 \begin_layout Standard
22141 \begin_inset Caption
22142
22143 \begin_layout Standard
22144 \begin_inset LatexCommand label
22145 name "fig:Standard-footnote-placement"
22146
22147 \end_inset
22148
22149 Standard footnote placement in two-column documents.
22150 \end_layout
22151
22152 \end_inset
22153
22154
22155 \end_layout
22156
22157 \end_inset
22158
22159
22160 \end_layout
22161
22162 \begin_layout Standard
22163 \begin_inset Float figure
22164 placement !h
22165 wide false
22166 sideways false
22167 status open
22168
22169 \begin_layout Standard
22170 \begin_inset ERT
22171 status collapsed
22172
22173 \begin_layout Standard
22174
22175
22176 \backslash
22177 framebox{
22178 \end_layout
22179
22180 \end_inset
22181
22182
22183 \begin_inset Graphics
22184         filename clipart/with_fntright.pdf
22185         width 100col%
22186
22187 \end_inset
22188
22189
22190 \begin_inset ERT
22191 status collapsed
22192
22193 \begin_layout Standard
22194
22195 }
22196 \end_layout
22197
22198 \end_inset
22199
22200
22201 \end_layout
22202
22203 \begin_layout Standard
22204 \begin_inset Caption
22205
22206 \begin_layout Standard
22207 \begin_inset LatexCommand label
22208 name "fig:Footnote-placement-in"
22209
22210 \end_inset
22211
22212 Footnote placement in two-column documents when the LaTeX-package 
22213 \series bold
22214 ftnright
22215 \series default
22216  is used.
22217 \end_layout
22218
22219 \end_inset
22220
22221
22222 \end_layout
22223
22224 \end_inset
22225
22226
22227 \end_layout
22228
22229 \begin_layout Standard
22230 \begin_inset VSpace bigskip
22231 \end_inset
22232
22233 In some scientific literature it is usual to collect the footnotes and print
22234  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22235
22236 \begin_inset LatexCommand ref
22237 reference "fig:Endnotes----footnotes"
22238
22239 \end_inset
22240
22241 .
22242  They are then so called 
22243 \begin_inset Quotes eld
22244 \end_inset
22245
22246 endnotes
22247 \begin_inset Quotes erd
22248 \end_inset
22249
22250 .
22251  To use endnotes instead of footnotes in your document, load the LaTeX-package
22252  
22253 \series bold
22254 endnotes
22255 \series default
22256
22257 \begin_inset LatexCommand index
22258 name "LaTeX-packages ! endnotes"
22259
22260 \end_inset
22261
22262  with the document preamble lines
22263 \end_layout
22264
22265 \begin_layout Standard
22266
22267 \series bold
22268
22269 \backslash
22270 usepackage{endnotes}
22271 \newline
22272
22273 \backslash
22274 let
22275 \backslash
22276 footnote
22277 \backslash
22278 endnote
22279 \end_layout
22280
22281 \begin_layout Standard
22282 To insert the collected footnotes, insert the command
22283 \end_layout
22284
22285 \begin_layout Standard
22286
22287 \series bold
22288
22289 \backslash
22290 theendnotes
22291 \end_layout
22292
22293 \begin_layout Standard
22294 in ERT at the the end of a section or chapter.
22295 \end_layout
22296
22297 \begin_layout Standard
22298 \begin_inset Float figure
22299 wide false
22300 sideways false
22301 status open
22302
22303 \begin_layout Standard
22304 \align center
22305 \begin_inset ERT
22306 status collapsed
22307
22308 \begin_layout Standard
22309
22310
22311 \backslash
22312 framebox{
22313 \end_layout
22314
22315 \end_inset
22316
22317
22318 \begin_inset Graphics
22319         filename clipart/endnotes.pdf
22320
22321 \end_inset
22322
22323
22324 \begin_inset ERT
22325 status collapsed
22326
22327 \begin_layout Standard
22328
22329 }
22330 \end_layout
22331
22332 \end_inset
22333
22334
22335 \end_layout
22336
22337 \begin_layout Standard
22338 \begin_inset Caption
22339
22340 \begin_layout Standard
22341 \begin_inset LatexCommand label
22342 name "fig:Endnotes----footnotes"
22343
22344 \end_inset
22345
22346 Endnotes -- footnotes are printed in a separate paragraph at the end of
22347  sections or chapters.
22348 \end_layout
22349
22350 \end_inset
22351
22352
22353 \end_layout
22354
22355 \end_inset
22356
22357
22358 \end_layout
22359
22360 \begin_layout Standard
22361 \begin_inset VSpace defskip
22362 \end_inset
22363
22364 The paragraph heading for the endnotes isn't automatically translated into
22365  the document language, this must be done manually.
22366  The following preamble command translate the default English name 
22367 \begin_inset Quotes eld
22368 \end_inset
22369
22370 Notes
22371 \begin_inset Quotes erd
22372 \end_inset
22373
22374  to the German translation 
22375 \begin_inset Quotes eld
22376 \end_inset
22377
22378 Anmerkungen
22379 \begin_inset Quotes erd
22380 \end_inset
22381
22382 :
22383 \end_layout
22384
22385 \begin_layout Standard
22386
22387 \series bold
22388
22389 \backslash
22390 renewcommand{
22391 \backslash
22392 notesname}{Anmerkungen}
22393 \end_layout
22394
22395 \begin_layout Standard
22396 \begin_inset VSpace defskip
22397 \end_inset
22398
22399 The numbering of endnotes can be changed like the footnote numbering as
22400  described in section\InsetSpace ~
22401
22402 \begin_inset LatexCommand ref
22403 reference "sub:Footnote-Numbering"
22404
22405 \end_inset
22406
22407 ; just replace the command 
22408 \series bold
22409
22410 \backslash
22411 thefootnote
22412 \series default
22413  by 
22414 \series bold
22415
22416 \backslash
22417 theendnote
22418 \series default
22419 .
22420  To reset the endnote number use the command 
22421 \series bold
22422
22423 \backslash
22424 @addtoreset
22425 \series default
22426  as described in section\InsetSpace ~
22427
22428 \begin_inset LatexCommand ref
22429 reference "sub:Footnote-Numbering"
22430
22431 \end_inset
22432
22433  and replace the command parameter 
22434 \series bold
22435 footnote
22436 \series default
22437  by 
22438 \series bold
22439 endnote
22440 \series default
22441 .
22442 \end_layout
22443
22444 \begin_layout Standard
22445 To create only a mark for an endnote, use the command 
22446 \series bold
22447
22448 \backslash
22449 endnotemark[number]
22450 \series default
22451  similar to the command 
22452 \series bold
22453
22454 \backslash
22455 footnotemark
22456 \series default
22457 , described in section\InsetSpace ~
22458
22459 \begin_inset LatexCommand ref
22460 reference "sec:Footnotes"
22461
22462 \end_inset
22463
22464 .
22465 \end_layout
22466
22467 \begin_layout Standard
22468 \begin_inset VSpace bigskip
22469 \end_inset
22470
22471 Footnotes can also be placed in the page margin and the footnote text alignment
22472  can be changed, see the LaTeX-package 
22473 \series bold
22474 footmisc
22475 \series default
22476
22477 \begin_inset LatexCommand index
22478 name "LaTeX-packages ! footmisc"
22479
22480 \end_inset
22481
22482
22483 \begin_inset LatexCommand cite
22484 key "footmisc"
22485
22486 \end_inset
22487
22488  for more information about this.
22489 \end_layout
22490
22491 \begin_layout Standard
22492 For various further footnote formatting issues have a look at LaTeX-books,
22493  
22494 \begin_inset LatexCommand cite
22495 key "latexcompanion,latexguide,latexbook"
22496
22497 \end_inset
22498
22499 .
22500 \end_layout
22501
22502 \begin_layout Section
22503 Margin Notes
22504 \begin_inset LatexCommand index
22505 name "Notes ! Margin Notes"
22506
22507 \end_inset
22508
22509
22510 \end_layout
22511
22512 \begin_layout Standard
22513 Margin notes look and behave in LyX like footnotes.
22514  They are inserted via the menu 
22515 \family sans
22516 Insert\SpecialChar \menuseparator
22517 Marginal\InsetSpace ~
22518 Note
22519 \family default
22520  or the toolbar button 
22521 \begin_inset Graphics
22522         filename ../images/marginalnote-insert.xpm
22523         scale 85
22524
22525 \end_inset
22526
22527 .
22528  A grey 
22529 \family roman
22530 \series medium
22531 box with the
22532 \family default
22533 \series default
22534  red 
22535 \family roman
22536 \series medium
22537 label 
22538 \begin_inset Quotes eld
22539 \end_inset
22540
22541 margin
22542 \begin_inset Quotes erd
22543 \end_inset
22544
22545  appears where you can enter the text of the margin note.
22546 \end_layout
22547
22548 \begin_layout Standard
22549 At the side is an example margin note.
22550 \family roman
22551 \series medium
22552
22553 \begin_inset Marginal
22554 status open
22555
22556 \begin_layout Standard
22557 This is a margin note.
22558 \end_layout
22559
22560 \end_inset
22561
22562
22563 \end_layout
22564
22565 \begin_layout Standard
22566 Margin notes appear at the right side in single-sided documents.
22567  In double-sided documents they appear in the outer margin -- left on even
22568  pages, right on odd pages.
22569  The text of margin notes is aligned opposite to the outer margin -- right-align
22570 ed when the note appears in the left margin.
22571  The first line of the margin note is placed at the position of the text
22572  line where it is inserted in the document.
22573 \end_layout
22574
22575 \begin_layout Standard
22576 \begin_inset VSpace bigskip
22577 \end_inset
22578
22579 To place the margin note in the inner margin, add the command
22580 \end_layout
22581
22582 \begin_layout Standard
22583
22584 \series bold
22585
22586 \backslash
22587 reversemarginpar
22588 \end_layout
22589
22590 \begin_layout Standard
22591 in ERT before a margin note.
22592  The new placement is valid for all following margin notes.
22593 \begin_inset ERT
22594 status collapsed
22595
22596 \begin_layout Standard
22597
22598
22599 \backslash
22600 reversemarginpar 
22601 \end_layout
22602
22603 \end_inset
22604
22605
22606 \begin_inset Marginal
22607 status open
22608
22609 \begin_layout Standard
22610 This is a margin note in the inner margin.
22611 \end_layout
22612
22613 \end_inset
22614
22615
22616 \series bold
22617
22618 \newline
22619
22620 \series default
22621
22622 \begin_inset Note Greyedout
22623 status open
22624
22625 \begin_layout Standard
22626
22627 \series bold
22628 Note:
22629 \series default
22630  There is often not enough space in the inner margin so that the notes are
22631  not correctly displayed in the output.
22632 \end_layout
22633
22634 \end_inset
22635
22636
22637 \end_layout
22638
22639 \begin_layout Standard
22640 \begin_inset ERT
22641 status collapsed
22642
22643 \begin_layout Standard
22644
22645
22646 \backslash
22647 normalmarginpar 
22648 \end_layout
22649
22650 \end_inset
22651
22652 To return to the default placement insert the command
22653 \end_layout
22654
22655 \begin_layout Standard
22656
22657 \series bold
22658
22659 \backslash
22660 normalmarginpar
22661 \end_layout
22662
22663 \begin_layout Standard
22664 in ERT.
22665  
22666 \begin_inset Note Greyedout
22667 status open
22668
22669 \begin_layout Standard
22670
22671 \series bold
22672 Note:
22673 \series default
22674  The command is ignored when it is within a paragraph where also the command
22675  
22676 \series bold
22677
22678 \backslash
22679 reversemarginpar
22680 \series default
22681  is inserted.
22682 \end_layout
22683
22684 \end_inset
22685
22686
22687 \end_layout
22688
22689 \begin_layout Standard
22690 \begin_inset VSpace bigskip
22691 \end_inset
22692
22693
22694 \family roman
22695 \series medium
22696
22697 \begin_inset Marginal
22698 status open
22699
22700 \begin_layout Standard
22701 AVeryLongMarginParWord that isn't hyphenated.
22702 \end_layout
22703
22704 \end_inset
22705
22706
22707 \family default
22708 \series default
22709 Similar to the case described in section\InsetSpace ~
22710
22711 \begin_inset LatexCommand ref
22712 reference "sub:Multiple-Lines-in"
22713
22714 \end_inset
22715
22716 , long words cannot be hyphenated when they are the first word in a margin
22717  note.
22718  To avoid this, insert the command
22719 \end_layout
22720
22721 \begin_layout Standard
22722
22723 \series bold
22724
22725 \backslash
22726 hspace{0pt}
22727 \end_layout
22728
22729 \begin_layout Standard
22730 in ERT before the word
22731 \family roman
22732 \series medium
22733 .
22734 \begin_inset Marginal
22735 status open
22736
22737 \begin_layout Standard
22738 \begin_inset ERT
22739 status collapsed
22740
22741 \begin_layout Standard
22742
22743
22744 \backslash
22745 hspace{0pt}
22746 \end_layout
22747
22748 \end_inset
22749
22750 AVeryLongMarginParWord that is hyphenated.
22751 \end_layout
22752
22753 \end_inset
22754
22755
22756 \end_layout
22757
22758 \begin_layout Standard
22759 \begin_inset VSpace bigskip
22760 \end_inset
22761
22762
22763 \end_layout
22764
22765 \begin_layout Standard
22766 \begin_inset Note Greyedout
22767 status open
22768
22769 \begin_layout Standard
22770
22771 \series bold
22772 Note:
22773 \series default
22774  Margin notes can normally not be used inside tables, floats, and footnotes.
22775 \end_layout
22776
22777 \end_inset
22778
22779
22780 \end_layout
22781
22782 \begin_layout Standard
22783 \begin_inset VSpace bigskip
22784 \end_inset
22785
22786
22787 \end_layout
22788
22789 \begin_layout Standard
22790 \begin_inset ERT
22791 status collapsed
22792
22793 \begin_layout Standard
22794
22795
22796 \backslash
22797 ifmarginnote
22798 \end_layout
22799
22800 \end_inset
22801
22802
22803 \begin_inset Note Note
22804 status open
22805
22806 \begin_layout Standard
22807 The following section will only be displayed when you have the LaTeX-package
22808  
22809 \series bold
22810 marginnote
22811 \series default
22812  is installed.
22813 \end_layout
22814
22815 \end_inset
22816
22817
22818 \end_layout
22819
22820 \begin_layout Standard
22821 This restriction can be evaded by using the LaTeX-package 
22822 \series bold
22823 marginnote
22824 \series default
22825
22826 \begin_inset LatexCommand index
22827 name "LaTeX-packages ! marginnote"
22828
22829 \end_inset
22830
22831 .
22832  By adding these two lines to your document preamble, the command used by
22833  LyX for margin notes is redefined to use the command provided by the 
22834 \series bold
22835 marginnote
22836 \series default
22837 -package:
22838 \end_layout
22839
22840 \begin_layout Standard
22841
22842 \series bold
22843
22844 \backslash
22845 usepackage{marginnote}
22846 \newline
22847
22848 \backslash
22849 let
22850 \backslash
22851 marginpar
22852 \backslash
22853 marginnote
22854 \end_layout
22855
22856 \begin_layout Standard
22857 This is also used in this document because 
22858 \series bold
22859 marginnote
22860 \series default
22861  has another useful feature: You can set a vertical offset for the note.
22862  This is often needed when too many margin notes are too close together
22863  or for a better page layout.
22864  The offset is set in LyX as ERT directly behind the margin note in the
22865  scheme
22866 \end_layout
22867
22868 \begin_layout Standard
22869
22870 \series bold
22871 [offset]
22872 \end_layout
22873
22874 \begin_layout Standard
22875 where the offset is a length with one of the units listed in Table\InsetSpace ~
22876
22877 \begin_inset LatexCommand ref
22878 reference "tab:Units"
22879
22880 \end_inset
22881
22882 .
22883  A negative value shifts the note up, a positive value shifts it down.
22884  
22885 \family roman
22886 \series medium
22887 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22888 cm with
22889  the ERT-command 
22890 \begin_inset Quotes eld
22891 \end_inset
22892
22893
22894 \family default
22895 \series bold
22896 [-1.5cm]
22897 \family roman
22898 \series medium
22899
22900 \begin_inset Quotes erd
22901 \end_inset
22902
22903
22904 \begin_inset Marginal
22905 status open
22906
22907 \begin_layout Standard
22908 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22909 cm from its original position.
22910 \end_layout
22911
22912 \end_inset
22913
22914
22915 \family default
22916 \series default
22917
22918 \begin_inset ERT
22919 status collapsed
22920
22921 \begin_layout Standard
22922
22923 [-1.5cm]
22924 \end_layout
22925
22926 \end_inset
22927
22928
22929 \end_layout
22930
22931 \begin_layout Standard
22932 \begin_inset VSpace defskip
22933 \end_inset
22934
22935 With 
22936 \series bold
22937 marginnote
22938 \series default
22939  you can also change the alignment of the text in the margin note.
22940  For example the commands
22941 \end_layout
22942
22943 \begin_layout Standard
22944
22945 \series bold
22946
22947 \backslash
22948 renewcommand*{
22949 \backslash
22950 raggedleftmarginnote}{
22951 \backslash
22952 centering}
22953 \newline
22954
22955 \backslash
22956 renewcommand*{
22957 \backslash
22958 raggedrightmarginnote}{
22959 \backslash
22960 centering}
22961 \end_layout
22962
22963 \begin_layout Standard
22964 set the alignment to centered.
22965  
22966 \series bold
22967
22968 \backslash
22969 raggedleftmarginnote
22970 \series default
22971  denotes margin notes that appear at the left side.
22972 \family roman
22973 \series medium
22974
22975 \begin_inset ERT
22976 status collapsed
22977
22978 \begin_layout Standard
22979
22980
22981 \backslash
22982 renewcommand*{
22983 \backslash
22984 raggedleftmarginnote}{
22985 \backslash
22986 centering}
22987 \end_layout
22988
22989 \begin_layout Standard
22990
22991
22992 \backslash
22993 renewcommand*{
22994 \backslash
22995 raggedrightmarginnote}{
22996 \backslash
22997 centering}
22998 \end_layout
22999
23000 \end_inset
23001
23002
23003 \begin_inset Marginal
23004 status open
23005
23006 \begin_layout Standard
23007 The text of this margin note is centered.
23008 \end_layout
23009
23010 \end_inset
23011
23012
23013 \family default
23014 \series default
23015  The default is
23016 \end_layout
23017
23018 \begin_layout Standard
23019
23020 \series bold
23021
23022 \backslash
23023 renewcommand*{
23024 \backslash
23025 raggedleftmarginnote}{
23026 \backslash
23027 raggedleft}
23028 \newline
23029
23030 \backslash
23031 renewcommand*{
23032 \backslash
23033 raggedrightmarginnote}{
23034 \backslash
23035 raggedright}
23036 \family roman
23037 \series medium
23038
23039 \begin_inset ERT
23040 status collapsed
23041
23042 \begin_layout Standard
23043
23044
23045 \backslash
23046 renewcommand*{
23047 \backslash
23048 raggedleftmarginnote}{
23049 \backslash
23050 raggedleft}
23051 \end_layout
23052
23053 \begin_layout Standard
23054
23055
23056 \backslash
23057 renewcommand*{
23058 \backslash
23059 raggedrightmarginnote}{
23060 \backslash
23061 raggedright}
23062 \end_layout
23063
23064 \end_inset
23065
23066
23067 \end_layout
23068
23069 \begin_layout Standard
23070 \begin_inset VSpace defskip
23071 \end_inset
23072
23073 For the other features of 
23074 \series bold
23075 marginnote
23076 \series default
23077  we refer to its documentation 
23078 \begin_inset LatexCommand cite
23079 key "marginnote"
23080
23081 \end_inset
23082
23083 .
23084 \end_layout
23085
23086 \begin_layout Standard
23087 \begin_inset VSpace bigskip
23088 \end_inset
23089
23090 You can change the layout of margin notes by redefining its definition.
23091  To create for example a header for all margin notes with the underlined,
23092  sans-serif, and bold header text 
23093 \begin_inset Quotes eld
23094 \end_inset
23095
23096
23097 \family sans
23098 \series bold
23099 \bar under
23100 Attention!
23101 \family default
23102 \series default
23103 \bar default
23104
23105 \begin_inset Quotes erd
23106 \end_inset
23107
23108 , add this to your document preamble:
23109 \end_layout
23110
23111 \begin_layout Standard
23112
23113 \series bold
23114
23115 \backslash
23116 let
23117 \backslash
23118 myMarginpar
23119 \backslash
23120 marginpar
23121 \newline
23122
23123 \backslash
23124 renewcommand{
23125 \backslash
23126 marginpar}[1]{
23127 \backslash
23128 myMarginpar{%
23129 \newline
23130
23131 \begin_inset ERT
23132 status collapsed
23133
23134 \begin_layout Standard
23135
23136
23137 \backslash
23138 hphantom{ }
23139 \end_layout
23140
23141 \end_inset
23142
23143
23144 \backslash
23145 hspace{0pt}
23146 \backslash
23147 textsf{
23148 \backslash
23149 textbf{
23150 \backslash
23151 underbar{Attention!}}}%
23152 \newline
23153
23154 \begin_inset ERT
23155 status collapsed
23156
23157 \begin_layout Standard
23158
23159
23160 \backslash
23161 hphantom{ }
23162 \end_layout
23163
23164 \end_inset
23165
23166
23167 \backslash
23168 vspace{1.5mm}
23169 \backslash
23170
23171 \backslash
23172 #1}}
23173 \end_layout
23174
23175 \begin_layout Standard
23176
23177 \family roman
23178 \series medium
23179 \begin_inset ERT
23180 status collapsed
23181
23182 \begin_layout Standard
23183
23184
23185 \backslash
23186 let
23187 \backslash
23188 myMarginpar
23189 \backslash
23190 marginpar
23191 \end_layout
23192
23193 \begin_layout Standard
23194
23195
23196 \backslash
23197 renewcommand{
23198 \backslash
23199 marginpar}[1]{
23200 \backslash
23201 myMarginpar{%
23202 \end_layout
23203
23204 \begin_layout Standard
23205
23206    
23207 \backslash
23208 textsf{
23209 \backslash
23210 textbf{
23211 \backslash
23212 underbar{Attention!}}}%
23213 \end_layout
23214
23215 \begin_layout Standard
23216
23217    
23218 \backslash
23219 vspace{1.5mm}
23220 \backslash
23221
23222 \backslash
23223 #1}}
23224 \end_layout
23225
23226 \end_inset
23227
23228
23229 \begin_inset Marginal
23230 status open
23231
23232 \begin_layout Standard
23233 This is a margin note with a defined heading.
23234 \end_layout
23235
23236 \end_inset
23237
23238
23239 \family default
23240 \series default
23241
23242 \begin_inset ERT
23243 status collapsed
23244
23245 \begin_layout Standard
23246
23247 [-1.5cm]
23248 \end_layout
23249
23250 \end_inset
23251
23252
23253 \family roman
23254 \series medium
23255
23256 \begin_inset ERT
23257 status collapsed
23258
23259 \begin_layout Standard
23260
23261
23262 \backslash
23263 renewcommand{
23264 \backslash
23265 marginpar}[1]{
23266 \backslash
23267 myMarginpar{#1}}
23268 \end_layout
23269
23270 \end_inset
23271
23272
23273 \family default
23274 \series default
23275
23276 \begin_inset Note Note
23277 status collapsed
23278
23279 \begin_layout Standard
23280 The margin note format is changed only for this example.
23281 \end_layout
23282
23283 \end_inset
23284
23285
23286 \end_layout
23287
23288 \begin_layout Standard
23289 \begin_inset ERT
23290 status collapsed
23291
23292 \begin_layout Standard
23293
23294
23295 \backslash
23296 else
23297 \end_layout
23298
23299 \end_inset
23300
23301
23302 \begin_inset Note Note
23303 status open
23304
23305 \begin_layout Standard
23306 The following will be displayed when the LaTeX-package 
23307 \series bold
23308 marginnote
23309 \series default
23310  is not installed:
23311 \end_layout
23312
23313 \end_inset
23314
23315
23316 \end_layout
23317
23318 \begin_layout Standard
23319 You need to install the LaTeX-package 
23320 \series bold
23321 marginnote
23322 \series default
23323  to see the following part of this section in the output.
23324 \end_layout
23325
23326 \begin_layout Standard
23327 \begin_inset ERT
23328 status collapsed
23329
23330 \begin_layout Standard
23331
23332
23333 \backslash
23334 fi
23335 \end_layout
23336
23337 \end_inset
23338
23339
23340 \end_layout
23341
23342 \begin_layout Chapter
23343 Boxes
23344 \end_layout
23345
23346 \begin_layout Section
23347 Introduction
23348 \begin_inset LatexCommand index
23349 name "Boxes ! Introduction"
23350
23351 \end_inset
23352
23353
23354 \end_layout
23355
23356 \begin_layout Standard
23357 Boxes are used to format a block of text.
23358  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23359
23360 \begin_inset LatexCommand ref
23361 reference "sec:Minipages"
23362
23363 \end_inset
23364
23365 , to frame texts, see section\InsetSpace ~
23366
23367 \begin_inset LatexCommand ref
23368 reference "sec:Framed-Boxes"
23369
23370 \end_inset
23371
23372 , to prevent words to be hyphenated, see section\InsetSpace ~
23373
23374 \begin_inset LatexCommand ref
23375 reference "sec:Prevent-Hyphenation"
23376
23377 \end_inset
23378
23379 , to align text, see section\InsetSpace ~
23380
23381 \begin_inset LatexCommand ref
23382 reference "sub:Vertical-Alignment"
23383
23384 \end_inset
23385
23386 , or to set the background color of texts, see section\InsetSpace ~
23387
23388 \begin_inset LatexCommand ref
23389 reference "sec:Colored-Boxes"
23390
23391 \end_inset
23392
23393 .
23394 \end_layout
23395
23396 \begin_layout Standard
23397 Boxes can be inserted with the menu 
23398 \family sans
23399 Insert\SpecialChar \menuseparator
23400 Box
23401 \family default
23402 .
23403  A grey box with the label 
23404 \family sans
23405 Box (Minipage)
23406 \family default
23407
23408 \begin_inset Graphics
23409         filename clipart/BoxInsetDefaultQt4.png
23410         scale 85
23411
23412 \end_inset
23413
23414 , will be inserted.
23415  The box type can be specified by right-clicking on the box.
23416  The appearing box dialog offers the 
23417 \family sans
23418 Inner\InsetSpace ~
23419 Box
23420 \family default
23421  types 
23422 \family sans
23423 Parbox
23424 \family default
23425  and 
23426 \family sans
23427 Minipage
23428 \family default
23429 .
23430  The type 
23431 \family sans
23432 Minipage
23433 \family default
23434  is the default for new boxes and is explained in section\InsetSpace ~
23435
23436 \begin_inset LatexCommand ref
23437 reference "sec:Minipages"
23438
23439 \end_inset
23440
23441 ; the type 
23442 \family sans
23443 Parbox
23444 \family default
23445  is described in section\InsetSpace ~
23446
23447 \begin_inset LatexCommand ref
23448 reference "sec:Parboxes"
23449
23450 \end_inset
23451
23452 .
23453 \end_layout
23454
23455 \begin_layout Standard
23456 Boxes aren't numbered and can therefore not be referenced like floats or
23457  footnotes.
23458 \end_layout
23459
23460 \begin_layout Standard
23461 \begin_inset Note Greyedout
23462 status open
23463
23464 \begin_layout Standard
23465
23466 \series bold
23467 Note:
23468 \series default
23469  Due to a bug in LyX you have to insert a protected space behind a box when
23470  you want to separate in a line the box from the following text with a space.
23471 \end_layout
23472
23473 \end_inset
23474
23475
23476 \end_layout
23477
23478 \begin_layout Standard
23479 \begin_inset Note Greyedout
23480 status open
23481
23482 \begin_layout Standard
23483
23484 \series bold
23485 Note:
23486 \series default
23487  Boxes must not be the item in an 
23488 \family sans
23489 Itemize
23490 \family default
23491  or 
23492 \family sans
23493 Description
23494 \family default
23495  environment.
23496 \end_layout
23497
23498 \end_inset
23499
23500
23501 \end_layout
23502
23503 \begin_layout Standard
23504 \begin_inset Note Greyedout
23505 status open
23506
23507 \begin_layout Standard
23508
23509 \series bold
23510 Note:
23511 \series default
23512  For an unknown reason you can only set the 
23513 \family sans
23514 Inner\InsetSpace ~
23515 Box
23516 \family default
23517  type to 
23518 \family sans
23519 None
23520 \family default
23521  when you use a framed box.
23522  Boxes without an 
23523 \family sans
23524 Inner\InsetSpace ~
23525 Box
23526 \family default
23527  type and without frames are explained in section\InsetSpace ~
23528
23529 \begin_inset LatexCommand ref
23530 reference "sec:Prevent-Hyphenation"
23531
23532 \end_inset
23533
23534 .
23535 \end_layout
23536
23537 \end_inset
23538
23539
23540 \end_layout
23541
23542 \begin_layout Section
23543 Box Dialog
23544 \begin_inset LatexCommand label
23545 name "sec:Box-Dialog"
23546
23547 \end_inset
23548
23549
23550 \begin_inset LatexCommand index
23551 name "Boxes ! Box Dialog"
23552
23553 \end_inset
23554
23555
23556 \begin_inset LatexCommand index
23557 name "Boxes ! Alignment"
23558
23559 \end_inset
23560
23561
23562 \end_layout
23563
23564 \begin_layout Standard
23565 In the box dialog you can adjust the box geometry in the fields 
23566 \family sans
23567 Width
23568 \family default
23569  and 
23570 \family sans
23571 Height
23572 \family default
23573 .
23574  The available units for the geometry are explained in Table\InsetSpace ~
23575
23576 \begin_inset LatexCommand ref
23577 reference "tab:Units"
23578
23579 \end_inset
23580
23581 .
23582  The field 
23583 \family sans
23584 Heigth
23585 \family default
23586  offers the following additional sizes:
23587 \end_layout
23588
23589 \begin_layout Description
23590 Depth This is the plain text 
23591 \begin_inset Quotes eld
23592 \end_inset
23593
23594 height
23595 \begin_inset Quotes erd
23596 \end_inset
23597
23598 .
23599  It ignores the total depth when there are multiple text lines in the box:
23600 \newline
23601
23602 \newline
23603
23604 \newline
23605
23606 \begin_inset Box Boxed
23607 position "c"
23608 hor_pos "c"
23609 has_inner_box 1
23610 inner_pos "c"
23611 use_parbox 0
23612 width "12col%"
23613 special "none"
23614 height "1in"
23615 height_special "depth"
23616 status collapsed
23617
23618 \begin_layout Standard
23619 \align center
23620 Box height set to 1\InsetSpace \thinspace{}
23621 Depth
23622 \end_layout
23623
23624 \end_inset
23625
23626
23627 \newline
23628
23629 \newline
23630
23631 \end_layout
23632
23633 \begin_layout Description
23634 Height This is the heigth of the text that is inside the box.
23635  A value of e.\InsetSpace \thinspace{}
23636 g.\InsetSpace ~
23637 2 for this size will set the box heigth to 2 times the text
23638  height: 
23639 \begin_inset Box Boxed
23640 position "c"
23641 hor_pos "c"
23642 has_inner_box 1
23643 inner_pos "c"
23644 use_parbox 0
23645 width "20col%"
23646 special "none"
23647 height "2in"
23648 height_special "height"
23649 status collapsed
23650
23651 \begin_layout Standard
23652 \align center
23653 Box height set to 2\InsetSpace \thinspace{}
23654 Height
23655 \end_layout
23656
23657 \end_inset
23658
23659
23660 \end_layout
23661
23662 \begin_layout Description
23663 Total\InsetSpace ~
23664 Height This is the Height\InsetSpace \thinspace{}
23665 +\InsetSpace \thinspace{}
23666 Depth: 
23667 \begin_inset Box Boxed
23668 position "c"
23669 hor_pos "c"
23670 has_inner_box 1
23671 inner_pos "c"
23672 use_parbox 0
23673 width "20col%"
23674 special "none"
23675 height "1in"
23676 height_special "totalheight"
23677 status collapsed
23678
23679 \begin_layout Standard
23680 \align center
23681 Box height set to 1\InsetSpace \thinspace{}
23682 Total\InsetSpace ~
23683 Height
23684 \end_layout
23685
23686 \end_inset
23687
23688
23689 \end_layout
23690
23691 \begin_layout Description
23692 Width This set the width of the box as heigth: 
23693 \begin_inset Box Boxed
23694 position "c"
23695 hor_pos "c"
23696 has_inner_box 1
23697 inner_pos "c"
23698 use_parbox 0
23699 width "12col%"
23700 special "none"
23701 height "1in"
23702 height_special "width"
23703 status collapsed
23704
23705 \begin_layout Standard
23706 \align center
23707 Box height set to 1\InsetSpace \thinspace{}
23708 Width
23709 \end_layout
23710
23711 \end_inset
23712
23713
23714 \end_layout
23715
23716 \begin_layout Standard
23717 \begin_inset VSpace bigskip
23718 \end_inset
23719
23720 When you have chosen an 
23721 \family sans
23722 Inner\InsetSpace ~
23723 Box
23724 \family default
23725 , the vertical box alignment can be:
23726 \end_layout
23727
23728 \begin_layout Description
23729 Top This is an example text line.
23730  
23731 \begin_inset Box Boxed
23732 position "t"
23733 hor_pos "c"
23734 has_inner_box 1
23735 inner_pos "c"
23736 use_parbox 0
23737 width "12col%"
23738 special "none"
23739 height "1in"
23740 height_special "totalheight"
23741 status collapsed
23742
23743 \begin_layout Standard
23744 \align center
23745 This box is top-aligned.
23746 \end_layout
23747
23748 \end_inset
23749
23750 \InsetSpace ~
23751 This is an example text line.
23752 \end_layout
23753
23754 \begin_layout Description
23755 Middle This is an example text line.
23756  
23757 \begin_inset Box Boxed
23758 position "c"
23759 hor_pos "c"
23760 has_inner_box 1
23761 inner_pos "c"
23762 use_parbox 0
23763 width "12col%"
23764 special "none"
23765 height "1in"
23766 height_special "totalheight"
23767 status collapsed
23768
23769 \begin_layout Standard
23770 \align center
23771 This box is middle-aligned.
23772 \end_layout
23773
23774 \end_inset
23775
23776 \InsetSpace ~
23777 This is an example text line.
23778 \end_layout
23779
23780 \begin_layout Description
23781 Bottom This is an example text line.
23782  
23783 \begin_inset Box Boxed
23784 position "b"
23785 hor_pos "c"
23786 has_inner_box 1
23787 inner_pos "c"
23788 use_parbox 0
23789 width "12col%"
23790 special "none"
23791 height "1in"
23792 height_special "totalheight"
23793 status collapsed
23794
23795 \begin_layout Standard
23796 \align center
23797 This box is bottom-aligned.
23798 \end_layout
23799
23800 \end_inset
23801
23802 \InsetSpace ~
23803 This is an example text line.
23804 \end_layout
23805
23806 \begin_layout Standard
23807 The horizontal box alignment can be set via LyX's paragraph dialog when
23808  you set the box into its own paragraph.
23809 \end_layout
23810
23811 \begin_layout Standard
23812 \begin_inset VSpace bigskip
23813 \end_inset
23814
23815 When you have chosen an 
23816 \family sans
23817 Inner\InsetSpace ~
23818 Box
23819 \family default
23820 , the box content can be vertical aligned to:
23821 \end_layout
23822
23823 \begin_layout Description
23824 top This is an example text line.
23825  
23826 \begin_inset Box Boxed
23827 position "c"
23828 hor_pos "c"
23829 has_inner_box 1
23830 inner_pos "t"
23831 use_parbox 0
23832 width "12col%"
23833 special "none"
23834 height "1.5in"
23835 height_special "totalheight"
23836 status collapsed
23837
23838 \begin_layout Standard
23839 \align center
23840 This box text is top-aligned.
23841 \end_layout
23842
23843 \end_inset
23844
23845 \InsetSpace ~
23846 This is an example text line.
23847 \end_layout
23848
23849 \begin_layout Description
23850 middle This is an example text line.
23851  
23852 \begin_inset Box Boxed
23853 position "c"
23854 hor_pos "c"
23855 has_inner_box 1
23856 inner_pos "c"
23857 use_parbox 0
23858 width "12col%"
23859 special "none"
23860 height "1.5in"
23861 height_special "totalheight"
23862 status collapsed
23863
23864 \begin_layout Standard
23865 \align center
23866 This box text is middle-aligned.
23867 \end_layout
23868
23869 \end_inset
23870
23871 \InsetSpace ~
23872 This is an example text line.
23873 \end_layout
23874
23875 \begin_layout Description
23876 bottom This is an example text line.
23877  
23878 \begin_inset Box Boxed
23879 position "c"
23880 hor_pos "c"
23881 has_inner_box 1
23882 inner_pos "b"
23883 use_parbox 0
23884 width "12col%"
23885 special "none"
23886 height "1.5in"
23887 height_special "totalheight"
23888 status collapsed
23889
23890 \begin_layout Standard
23891 \align center
23892 This box text is bottom-aligned.
23893 \end_layout
23894
23895 \end_inset
23896
23897 \InsetSpace ~
23898 This is an example text line.
23899 \end_layout
23900
23901 \begin_layout Description
23902 stretch This is an example text line.
23903  
23904 \begin_inset Box Boxed
23905 position "c"
23906 hor_pos "c"
23907 has_inner_box 1
23908 inner_pos "s"
23909 use_parbox 0
23910 width "12col%"
23911 special "none"
23912 height "1.5in"
23913 height_special "totalheight"
23914 status collapsed
23915
23916 \begin_layout Standard
23917 \align center
23918 This box
23919 \end_layout
23920
23921 \begin_layout Standard
23922 \align center
23923 text is
23924 \end_layout
23925
23926 \begin_layout Standard
23927 \align center
23928 stretched.
23929 \end_layout
23930
23931 \end_inset
23932
23933 \InsetSpace ~
23934 This is an example text line.
23935 \end_layout
23936
23937 \begin_layout Standard
23938 To stretch the box content, it must consist of more than one paragraph.
23939  In the example above every text line is in an own paragraph.
23940 \end_layout
23941
23942 \begin_layout Standard
23943 \begin_inset VSpace bigskip
23944 \end_inset
23945
23946 To align the box content horizontally you can use LyX's paragraph dialog
23947  when you have chosen an 
23948 \family sans
23949 Inner\InsetSpace ~
23950 Box
23951 \family default
23952 .
23953 \end_layout
23954
23955 \begin_layout Standard
23956 \align center
23957 \begin_inset Box Boxed
23958 position "c"
23959 hor_pos "c"
23960 has_inner_box 1
23961 inner_pos "s"
23962 use_parbox 0
23963 width "15col%"
23964 special "none"
23965 height "1.25in"
23966 height_special "totalheight"
23967 status collapsed
23968
23969 \begin_layout Standard
23970 \align left
23971 This box
23972 \end_layout
23973
23974 \begin_layout Standard
23975 \align center
23976 text is
23977 \end_layout
23978
23979 \begin_layout Standard
23980 \align right
23981 stretched.
23982 \end_layout
23983
23984 \end_inset
23985
23986
23987 \end_layout
23988
23989 \begin_layout Standard
23990 If you haven't set an 
23991 \family sans
23992 Inner\InsetSpace ~
23993 Box
23994 \family default
23995 , you can align the box content horizontally in the box dialog.
23996 \end_layout
23997
23998 \begin_layout Standard
23999 \align center
24000 \begin_inset Box Boxed
24001 position "c"
24002 hor_pos "s"
24003 has_inner_box 0
24004 inner_pos "s"
24005 use_parbox 0
24006 width "90col%"
24007 special "none"
24008 height "1.25in"
24009 height_special "totalheight"
24010 status collapsed
24011
24012 \begin_layout Standard
24013 \align left
24014 This box text is horizontally stretched.
24015 \end_layout
24016
24017 \end_inset
24018
24019
24020 \end_layout
24021
24022 \begin_layout Section
24023 Framed Boxes
24024 \begin_inset LatexCommand label
24025 name "sec:Framed-Boxes"
24026
24027 \end_inset
24028
24029
24030 \begin_inset LatexCommand index
24031 name "Boxes ! Frames"
24032
24033 \end_inset
24034
24035
24036 \end_layout
24037
24038 \begin_layout Standard
24039 The frame style of the box can be specified in the box-dialog in the drop-down
24040  list 
24041 \family sans
24042 Type
24043 \family default
24044 .
24045  The following frame types are possible:
24046 \end_layout
24047
24048 \begin_layout Description
24049 Rectangular\InsetSpace ~
24050 box This draws a rectangle frame around the box.
24051  The frame line thickness has the size of 
24052 \series bold
24053
24054 \backslash
24055 fboxrule
24056 \series default
24057 .
24058  
24059 \begin_inset Box Boxed
24060 position "c"
24061 hor_pos "c"
24062 has_inner_box 1
24063 inner_pos "c"
24064 use_parbox 0
24065 width "20col%"
24066 special "none"
24067 height "1in"
24068 height_special "totalheight"
24069 status collapsed
24070
24071 \begin_layout Standard
24072 \align center
24073 Rectangular box
24074 \end_layout
24075
24076 \end_inset
24077
24078
24079 \end_layout
24080
24081 \begin_layout Description
24082 Oval\InsetSpace ~
24083 box,\InsetSpace ~
24084 thin This draws an oval frame around the box.
24085  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24086 pt.
24087  
24088 \begin_inset Box ovalbox
24089 position "c"
24090 hor_pos "c"
24091 has_inner_box 1
24092 inner_pos "c"
24093 use_parbox 0
24094 width "20col%"
24095 special "none"
24096 height "1in"
24097 height_special "totalheight"
24098 status collapsed
24099
24100 \begin_layout Standard
24101 \align center
24102 Oval box, thin
24103 \end_layout
24104
24105 \end_inset
24106
24107
24108 \end_layout
24109
24110 \begin_layout Description
24111 Oval\InsetSpace ~
24112 box,\InsetSpace ~
24113 thick This draws an oval frame around the box.
24114  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24115 pt.
24116  
24117 \begin_inset Box Ovalbox
24118 position "c"
24119 hor_pos "c"
24120 has_inner_box 1
24121 inner_pos "c"
24122 use_parbox 0
24123 width "20col%"
24124 special "none"
24125 height "1in"
24126 height_special "totalheight"
24127 status collapsed
24128
24129 \begin_layout Standard
24130 \align center
24131 Oval box, thick
24132 \end_layout
24133
24134 \end_inset
24135
24136
24137 \end_layout
24138
24139 \begin_layout Description
24140 Shadow\InsetSpace ~
24141 box This draws a rectangle frame with a shadow around the box.
24142  The frame line thickness has the size of 
24143 \series bold
24144
24145 \backslash
24146 fboxrule
24147 \series default
24148 , the shadow has a width of 4\InsetSpace \thinspace{}
24149 pt.
24150  
24151 \begin_inset Box Shadowbox
24152 position "c"
24153 hor_pos "c"
24154 has_inner_box 1
24155 inner_pos "c"
24156 use_parbox 0
24157 width "20col%"
24158 special "none"
24159 height "1in"
24160 height_special "totalheight"
24161 status collapsed
24162
24163 \begin_layout Standard
24164 \align center
24165 Shadow box
24166 \end_layout
24167
24168 \end_inset
24169
24170
24171 \end_layout
24172
24173 \begin_layout Description
24174 Double\InsetSpace ~
24175 box This draws a double-line rectangle frame around the box.
24176  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24177
24178 \series bold
24179
24180 \backslash
24181 fboxrule
24182 \series default
24183 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24184
24185 \series bold
24186
24187 \backslash
24188 fboxrule
24189 \series default
24190 .
24191  The distance between the lines is 1.5\InsetSpace \thinspace{}
24192
24193 \series bold
24194
24195 \backslash
24196 fboxrule
24197 \series default
24198 \InsetSpace \thinspace{}
24199 +\InsetSpace \thinspace{}
24200 0.5\InsetSpace \thinspace{}
24201 pt.
24202  
24203 \begin_inset Box Doublebox
24204 position "c"
24205 hor_pos "c"
24206 has_inner_box 1
24207 inner_pos "c"
24208 use_parbox 0
24209 width "20col%"
24210 special "none"
24211 height "1in"
24212 height_special "totalheight"
24213 status collapsed
24214
24215 \begin_layout Standard
24216 \align center
24217 Double box
24218 \end_layout
24219
24220 \end_inset
24221
24222
24223 \end_layout
24224
24225 \begin_layout Standard
24226 \begin_inset VSpace bigskip
24227 \end_inset
24228
24229 LyX's box label will change to the used frame style when you set a frame.
24230  To be able to use the different frame styles, the LaTeX-package 
24231 \series bold
24232 fancybox
24233 \series default
24234
24235 \begin_inset LatexCommand index
24236 name "LaTeX-packages ! fancybox"
24237
24238 \end_inset
24239
24240  must be installed.
24241 \end_layout
24242
24243 \begin_layout Standard
24244 \begin_inset VSpace bigskip
24245 \end_inset
24246
24247 The default value for the size 
24248 \series bold
24249
24250 \backslash
24251 fboxrule
24252 \series default
24253  is 0.4\InsetSpace \thinspace{}
24254 pt.
24255  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24256 g.\InsetSpace ~
24257 2\InsetSpace \thinspace{}
24258 pt:
24259 \end_layout
24260
24261 \begin_layout Standard
24262
24263 \series bold
24264
24265 \backslash
24266 setlength{
24267 \backslash
24268 fboxrule}{2pt}
24269 \end_layout
24270
24271 \begin_layout Standard
24272 \begin_inset ERT
24273 status collapsed
24274
24275 \begin_layout Standard
24276
24277
24278 \backslash
24279 setlength{
24280 \backslash
24281 fboxrule}{2pt}
24282 \end_layout
24283
24284 \end_inset
24285
24286
24287 \begin_inset Box Boxed
24288 position "c"
24289 hor_pos "c"
24290 has_inner_box 1
24291 inner_pos "c"
24292 use_parbox 0
24293 width "25col%"
24294 special "none"
24295 height "1in"
24296 height_special "totalheight"
24297 status collapsed
24298
24299 \begin_layout Standard
24300 \align center
24301 Rectangular box with 
24302 \series bold
24303
24304 \backslash
24305 fboxrule
24306 \series default
24307 \InsetSpace \thinspace{}
24308 =\InsetSpace \thinspace{}
24309 2\InsetSpace \thinspace{}
24310 pt
24311 \end_layout
24312
24313 \end_inset
24314
24315
24316 \begin_inset ERT
24317 status collapsed
24318
24319 \begin_layout Standard
24320
24321
24322 \backslash
24323 setlength{
24324 \backslash
24325 fboxrule}{0.4pt}
24326 \end_layout
24327
24328 \end_inset
24329
24330
24331 \end_layout
24332
24333 \begin_layout Standard
24334 \begin_inset VSpace bigskip
24335 \end_inset
24336
24337 The space between the frame and the box content is for all frame styles
24338  by default 3\InsetSpace \thinspace{}
24339 pt.
24340  You can change it by setting the length 
24341 \series bold
24342
24343 \backslash
24344 fboxsep
24345 \series default
24346  to another value.
24347  For example the command
24348 \end_layout
24349
24350 \begin_layout Standard
24351
24352 \series bold
24353
24354 \backslash
24355 setlength{
24356 \backslash
24357 fboxsep}{10pt}
24358 \end_layout
24359
24360 \begin_layout Standard
24361 sets the value to 10\InsetSpace \thinspace{}
24362 pt, like for the following box:
24363 \end_layout
24364
24365 \begin_layout Standard
24366 \begin_inset ERT
24367 status collapsed
24368
24369 \begin_layout Standard
24370
24371
24372 \backslash
24373 setlength{
24374 \backslash
24375 fboxsep}{10pt}
24376 \end_layout
24377
24378 \end_inset
24379
24380
24381 \begin_inset Box Boxed
24382 position "c"
24383 hor_pos "c"
24384 has_inner_box 1
24385 inner_pos "c"
24386 use_parbox 0
24387 width "25col%"
24388 special "none"
24389 height "1in"
24390 height_special "totalheight"
24391 status collapsed
24392
24393 \begin_layout Standard
24394 \align center
24395 Rectangular box with 
24396 \series bold
24397
24398 \backslash
24399 fboxsep
24400 \series default
24401 \InsetSpace \thinspace{}
24402 =\InsetSpace \thinspace{}
24403 10\InsetSpace \thinspace{}
24404 pt
24405 \end_layout
24406
24407 \end_inset
24408
24409
24410 \begin_inset ERT
24411 status collapsed
24412
24413 \begin_layout Standard
24414
24415
24416 \backslash
24417 setlength{
24418 \backslash
24419 fboxsep}{3pt}
24420 \end_layout
24421
24422 \end_inset
24423
24424
24425 \end_layout
24426
24427 \begin_layout Standard
24428 \begin_inset VSpace bigskip
24429 \end_inset
24430
24431 The diameter of the round corners of the oval boxes can be set with the
24432  command 
24433 \series bold
24434
24435 \backslash
24436 cornersize
24437 \series default
24438 .
24439  The command
24440 \end_layout
24441
24442 \begin_layout Standard
24443
24444 \series bold
24445
24446 \backslash
24447 cornersize*{1cm}
24448 \end_layout
24449
24450 \begin_layout Standard
24451 sets the diameter to 1\InsetSpace \thinspace{}
24452 cm.
24453  The command
24454 \end_layout
24455
24456 \begin_layout Standard
24457
24458 \series bold
24459
24460 \backslash
24461 cornersize{num}
24462 \end_layout
24463
24464 \begin_layout Standard
24465 sets the diameter to 
24466 \family sans
24467 num\InsetSpace \thinspace{}
24468 ×\InsetSpace \thinspace{}
24469 minimum(width and heigth of box)
24470 \family default
24471 .
24472  The default is 
24473 \series bold
24474
24475 \backslash
24476 cornersize{0.5}
24477 \series default
24478 .
24479 \end_layout
24480
24481 \begin_layout Standard
24482 \begin_inset ERT
24483 status collapsed
24484
24485 \begin_layout Standard
24486
24487
24488 \backslash
24489 cornersize*{1.5cm}
24490 \end_layout
24491
24492 \end_inset
24493
24494
24495 \begin_inset Box Ovalbox
24496 position "c"
24497 hor_pos "c"
24498 has_inner_box 1
24499 inner_pos "c"
24500 use_parbox 0
24501 width "25col%"
24502 special "none"
24503 height "1in"
24504 height_special "totalheight"
24505 status collapsed
24506
24507 \begin_layout Standard
24508 \align center
24509 Oval box with 
24510 \series bold
24511
24512 \backslash
24513 cornersize
24514 \series default
24515 \InsetSpace \thinspace{}
24516 =\InsetSpace \thinspace{}
24517 1.5\InsetSpace \thinspace{}
24518 cm
24519 \end_layout
24520
24521 \end_inset
24522
24523
24524 \begin_inset ERT
24525 status collapsed
24526
24527 \begin_layout Standard
24528
24529
24530 \backslash
24531 cornersize{0.5}
24532 \end_layout
24533
24534 \end_inset
24535
24536
24537 \end_layout
24538
24539 \begin_layout Standard
24540 \begin_inset VSpace bigskip
24541 \end_inset
24542
24543 The size of the shadow can be adjusted by changing the length 
24544 \series bold
24545
24546 \backslash
24547 shadowsize
24548 \series default
24549 .
24550  It it set to 2\InsetSpace \thinspace{}
24551 pt for the following box by this command:
24552 \end_layout
24553
24554 \begin_layout Standard
24555
24556 \series bold
24557
24558 \backslash
24559 setlength{
24560 \backslash
24561 shadowsize}{2pt}
24562 \end_layout
24563
24564 \begin_layout Standard
24565 \begin_inset ERT
24566 status collapsed
24567
24568 \begin_layout Standard
24569
24570
24571 \backslash
24572 setlength{
24573 \backslash
24574 shadowsize}{2pt}
24575 \end_layout
24576
24577 \end_inset
24578
24579
24580 \begin_inset Box Shadowbox
24581 position "c"
24582 hor_pos "c"
24583 has_inner_box 1
24584 inner_pos "c"
24585 use_parbox 0
24586 width "25col%"
24587 special "none"
24588 height "1in"
24589 height_special "totalheight"
24590 status collapsed
24591
24592 \begin_layout Standard
24593 \align center
24594 Shadow box with 
24595 \series bold
24596
24597 \backslash
24598 shadowsize
24599 \series default
24600 \InsetSpace \thinspace{}
24601 =\InsetSpace \thinspace{}
24602 2\InsetSpace \thinspace{}
24603 pt
24604 \end_layout
24605
24606 \end_inset
24607
24608
24609 \begin_inset ERT
24610 status collapsed
24611
24612 \begin_layout Standard
24613
24614
24615 \backslash
24616 setlength{
24617 \backslash
24618 shadowsize}{4pt}
24619 \end_layout
24620
24621 \end_inset
24622
24623
24624 \end_layout
24625
24626 \begin_layout Standard
24627 \begin_inset VSpace bigskip
24628 \end_inset
24629
24630 Changed lengths and widths are valid for all boxes following the commands
24631  that change them.
24632 \end_layout
24633
24634 \begin_layout Section
24635 Minipages
24636 \begin_inset LatexCommand label
24637 name "sec:Minipages"
24638
24639 \end_inset
24640
24641
24642 \begin_inset LatexCommand index
24643 name "Boxes ! Minipages"
24644
24645 \end_inset
24646
24647
24648 \end_layout
24649
24650 \begin_layout Standard
24651 Minipages are treated by LaTeX as pages within pages and can therefore for
24652  example have their own footnotes.
24653 \end_layout
24654
24655 \begin_layout Standard
24656 Minipages are useful when you write documents with different languages.
24657 \end_layout
24658
24659 \begin_layout Standard
24660 Below are two example minipages side by side.
24661  Their width is set to 45\InsetSpace \thinspace{}
24662 col% and they are separated by a horizontal fill,
24663  that was inserted via the menu 
24664 \family sans
24665 Insert\SpecialChar \menuseparator
24666 Special\InsetSpace ~
24667 Formatting\SpecialChar \menuseparator
24668 Horizontal\InsetSpace ~
24669 Fill
24670 \family default
24671 .
24672 \end_layout
24673
24674 \begin_layout Standard
24675 \begin_inset Box Frameless
24676 position "t"
24677 hor_pos "c"
24678 has_inner_box 1
24679 inner_pos "c"
24680 use_parbox 0
24681 width "45col%"
24682 special "none"
24683 height "1in"
24684 height_special "totalheight"
24685 status open
24686
24687 \begin_layout Standard
24688
24689 \lang german
24690 Dies ist ein deutscher Text.
24691  Dies ist ein deutscher Text.
24692  Dies ist ein deutscher Text.
24693  Dies ist ein deutscher Text.
24694  Dies ist ein deutscher Text.
24695  Dies ist ein deutscher Text.
24696  Dies ist ein deutscher Text.
24697  Dies ist ein deutscher Text.
24698  Dies ist ein deutscher Text.
24699  Dies ist ein deutscher Text.
24700  Dies ist ein deutscher Text.
24701  Dies ist ein deutscher Text.
24702  Dies ist ein deutscher Text
24703 \begin_inset Foot
24704 status collapsed
24705
24706 \begin_layout Standard
24707
24708 \lang german
24709 Dies ist eine deutsche Fußnote.
24710 \end_layout
24711
24712 \end_inset
24713
24714 .
24715  Dies ist ein deutscher Text.
24716  Dies ist ein deutscher Text.
24717 \end_layout
24718
24719 \end_inset
24720
24721
24722 \hfill
24723
24724 \begin_inset Box Frameless
24725 position "t"
24726 hor_pos "c"
24727 has_inner_box 1
24728 inner_pos "c"
24729 use_parbox 0
24730 width "45col%"
24731 special "none"
24732 height "1in"
24733 height_special "totalheight"
24734 status open
24735
24736 \begin_layout Standard
24737 This is an English Text.
24738  This is an English Text.
24739  This is an English Text.
24740  This is an English Text.
24741  This is an English Text.
24742  This is an English Text.
24743  This is an English Text.
24744  This is an English Text.
24745  This is an English Text.
24746  This is an English Text.
24747  This is an English Text.
24748  This is an English Text.
24749  This is an English Text.
24750  This is an English Text.
24751  This is an English Text.
24752  This is an English Text.
24753 \begin_inset Foot
24754 status collapsed
24755
24756 \begin_layout Standard
24757 This is an English footnote.
24758 \end_layout
24759
24760 \end_inset
24761
24762  This is an English Text.
24763  
24764 \end_layout
24765
24766 \end_inset
24767
24768
24769 \end_layout
24770
24771 \begin_layout Standard
24772 \begin_inset VSpace bigskip
24773 \end_inset
24774
24775 Another application for minipages are footnotes within tables.
24776  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24777  bottom of the current page.
24778  But when you put the table with the footnote to a minipage, the footnote
24779  will appear at its bottom, numbered with Latin letters.
24780  The footnote number is reset to 1 in every minipage but not outside the
24781  minipages.
24782 \end_layout
24783
24784 \begin_layout Standard
24785 The footnote of this table doesn't appear: 
24786 \begin_inset Tabular
24787 <lyxtabular version="3" rows="3" columns="4">
24788 <features>
24789 <column alignment="center" valignment="top" leftline="true" width="0pt">
24790 <column alignment="center" valignment="top" leftline="true" width="0pt">
24791 <column alignment="center" valignment="top" leftline="true" width="0pt">
24792 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24793 <row topline="true">
24794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24795 \begin_inset Text
24796
24797 \begin_layout Standard
24798 1
24799 \end_layout
24800
24801 \end_inset
24802 </cell>
24803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24804 \begin_inset Text
24805
24806 \begin_layout Standard
24807 2
24808 \end_layout
24809
24810 \end_inset
24811 </cell>
24812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24813 \begin_inset Text
24814
24815 \begin_layout Standard
24816 3
24817 \begin_inset Foot
24818 status collapsed
24819
24820 \begin_layout Standard
24821 This is a footnote within a table.
24822 \end_layout
24823
24824 \end_inset
24825
24826
24827 \end_layout
24828
24829 \end_inset
24830 </cell>
24831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24832 \begin_inset Text
24833
24834 \begin_layout Standard
24835 4
24836 \end_layout
24837
24838 \end_inset
24839 </cell>
24840 </row>
24841 <row topline="true">
24842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24843 \begin_inset Text
24844
24845 \begin_layout Standard
24846 a
24847 \end_layout
24848
24849 \end_inset
24850 </cell>
24851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24852 \begin_inset Text
24853
24854 \begin_layout Standard
24855 b
24856 \end_layout
24857
24858 \end_inset
24859 </cell>
24860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24861 \begin_inset Text
24862
24863 \begin_layout Standard
24864 c
24865 \end_layout
24866
24867 \end_inset
24868 </cell>
24869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24870 \begin_inset Text
24871
24872 \begin_layout Standard
24873 d
24874 \end_layout
24875
24876 \end_inset
24877 </cell>
24878 </row>
24879 <row topline="true" bottomline="true">
24880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24881 \begin_inset Text
24882
24883 \begin_layout Standard
24884 e
24885 \end_layout
24886
24887 \end_inset
24888 </cell>
24889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24890 \begin_inset Text
24891
24892 \begin_layout Standard
24893 f
24894 \end_layout
24895
24896 \end_inset
24897 </cell>
24898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24899 \begin_inset Text
24900
24901 \begin_layout Standard
24902 g
24903 \end_layout
24904
24905 \end_inset
24906 </cell>
24907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24908 \begin_inset Text
24909
24910 \begin_layout Standard
24911 h
24912 \end_layout
24913
24914 \end_inset
24915 </cell>
24916 </row>
24917 </lyxtabular>
24918
24919 \end_inset
24920
24921
24922 \end_layout
24923
24924 \begin_layout Standard
24925 \align center
24926 \begin_inset Box Frameless
24927 position "t"
24928 hor_pos "c"
24929 has_inner_box 1
24930 inner_pos "c"
24931 use_parbox 0
24932 width "30col%"
24933 special "none"
24934 height "1in"
24935 height_special "totalheight"
24936 status open
24937
24938 \begin_layout Standard
24939 \align center
24940 \begin_inset Tabular
24941 <lyxtabular version="3" rows="3" columns="4">
24942 <features>
24943 <column alignment="center" valignment="top" leftline="true" width="0pt">
24944 <column alignment="center" valignment="top" leftline="true" width="0pt">
24945 <column alignment="center" valignment="top" leftline="true" width="0pt">
24946 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24947 <row topline="true">
24948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24949 \begin_inset Text
24950
24951 \begin_layout Standard
24952 1
24953 \end_layout
24954
24955 \end_inset
24956 </cell>
24957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24958 \begin_inset Text
24959
24960 \begin_layout Standard
24961 2
24962 \end_layout
24963
24964 \end_inset
24965 </cell>
24966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24967 \begin_inset Text
24968
24969 \begin_layout Standard
24970 3
24971 \begin_inset Foot
24972 status collapsed
24973
24974 \begin_layout Standard
24975 This is a footnote within a table.
24976 \end_layout
24977
24978 \end_inset
24979
24980
24981 \end_layout
24982
24983 \end_inset
24984 </cell>
24985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24986 \begin_inset Text
24987
24988 \begin_layout Standard
24989 4
24990 \end_layout
24991
24992 \end_inset
24993 </cell>
24994 </row>
24995 <row topline="true">
24996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24997 \begin_inset Text
24998
24999 \begin_layout Standard
25000 a
25001 \end_layout
25002
25003 \end_inset
25004 </cell>
25005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25006 \begin_inset Text
25007
25008 \begin_layout Standard
25009 b
25010 \end_layout
25011
25012 \end_inset
25013 </cell>
25014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25015 \begin_inset Text
25016
25017 \begin_layout Standard
25018 c
25019 \end_layout
25020
25021 \end_inset
25022 </cell>
25023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25024 \begin_inset Text
25025
25026 \begin_layout Standard
25027 d
25028 \end_layout
25029
25030 \end_inset
25031 </cell>
25032 </row>
25033 <row topline="true" bottomline="true">
25034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25035 \begin_inset Text
25036
25037 \begin_layout Standard
25038 e
25039 \end_layout
25040
25041 \end_inset
25042 </cell>
25043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25044 \begin_inset Text
25045
25046 \begin_layout Standard
25047 f
25048 \end_layout
25049
25050 \end_inset
25051 </cell>
25052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25053 \begin_inset Text
25054
25055 \begin_layout Standard
25056 g
25057 \end_layout
25058
25059 \end_inset
25060 </cell>
25061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25062 \begin_inset Text
25063
25064 \begin_layout Standard
25065 h
25066 \end_layout
25067
25068 \end_inset
25069 </cell>
25070 </row>
25071 </lyxtabular>
25072
25073 \end_inset
25074
25075
25076 \end_layout
25077
25078 \end_inset
25079
25080
25081 \end_layout
25082
25083 \begin_layout Standard
25084 \begin_inset VSpace bigskip
25085 \end_inset
25086
25087 The document-wide paragraph settings are ignored within minipages.
25088  That means that there will be no space between paragraphs in minipages
25089  although you set it to e.\InsetSpace \thinspace{}
25090 g.\InsetSpace ~
25091
25092 \family sans
25093 MedSkip
25094 \family default
25095  in the document settings.
25096 \end_layout
25097
25098 \begin_layout Standard
25099 Minipages can also be used to set a background color for text parts, see
25100  section\InsetSpace ~
25101
25102 \begin_inset LatexCommand ref
25103 reference "sub:Color-for-Paragraphs"
25104
25105 \end_inset
25106
25107 .
25108 \end_layout
25109
25110 \begin_layout Standard
25111 \begin_inset Note Greyedout
25112 status open
25113
25114 \begin_layout Standard
25115
25116 \series bold
25117 Note:
25118 \series default
25119  You cannot have floats or margin notes inside minipages but minipages can
25120  be used inside tables, floats, and other boxes.
25121 \end_layout
25122
25123 \end_inset
25124
25125
25126 \end_layout
25127
25128 \begin_layout Section
25129 Parboxes
25130 \begin_inset LatexCommand label
25131 name "sec:Parboxes"
25132
25133 \end_inset
25134
25135
25136 \begin_inset LatexCommand index
25137 name "Boxes ! Parboxes"
25138
25139 \end_inset
25140
25141
25142 \end_layout
25143
25144 \begin_layout Standard
25145 Parboxes are very similar to minipages with the difference that they cannot
25146  have footnotes.
25147  The main difference to minipages is that minipages are in contrary to parboxes
25148  no real boxes but LaTeX-environments.
25149 \end_layout
25150
25151 \begin_layout Standard
25152 \align center
25153 \begin_inset Box Frameless
25154 position "t"
25155 hor_pos "c"
25156 has_inner_box 1
25157 inner_pos "t"
25158 use_parbox 1
25159 width "33col%"
25160 special "none"
25161 height "1in"
25162 height_special "totalheight"
25163 status collapsed
25164
25165 \begin_layout Standard
25166 This a text within a parbox.
25167  This a text within a parbox.
25168 \end_layout
25169
25170 \begin_layout Standard
25171 This footnote won't appear:
25172 \begin_inset Foot
25173 status collapsed
25174
25175 \begin_layout Standard
25176 This footnote is inside a parbox and will therefore not appear.
25177 \end_layout
25178
25179 \end_inset
25180
25181
25182 \end_layout
25183
25184 \end_inset
25185
25186
25187 \end_layout
25188
25189 \begin_layout Section
25190 Boxes for Words and Characters
25191 \begin_inset LatexCommand index
25192 name "Boxes ! for Characters"
25193
25194 \end_inset
25195
25196
25197 \end_layout
25198
25199 \begin_layout Subsection
25200 Prevent Hyphenation
25201 \begin_inset LatexCommand label
25202 name "sec:Prevent-Hyphenation"
25203
25204 \end_inset
25205
25206
25207 \begin_inset LatexCommand index
25208 name "Boxes ! to Prevent Hyphenation"
25209
25210 \end_inset
25211
25212
25213 \end_layout
25214
25215 \begin_layout Standard
25216 You can use a special kind of boxes to prevent words or text to be hyphenated.
25217 \newline
25218 Her
25219 e is an example text:
25220 \end_layout
25221
25222 \begin_layout Standard
25223 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25224 g.\InsetSpace ~
25225 veryver
25226 ylongwords.
25227 \end_layout
25228
25229 \begin_layout Standard
25230 To prevent the hyphenation of the word 
25231 \begin_inset Quotes eld
25232 \end_inset
25233
25234 veryverylongwords
25235 \begin_inset Quotes erd
25236 \end_inset
25237
25238 , add the command
25239 \end_layout
25240
25241 \begin_layout Standard
25242
25243 \series bold
25244
25245 \backslash
25246 mbox{
25247 \end_layout
25248
25249 \begin_layout Standard
25250 in ERT before the word.
25251  Behind the word insert a closing brace 
25252 \begin_inset Quotes eld
25253 \end_inset
25254
25255
25256 \series bold
25257 }
25258 \series default
25259
25260 \begin_inset Quotes erd
25261 \end_inset
25262
25263  in ERT.
25264 \begin_inset ERT
25265 status collapsed
25266
25267 \begin_layout Standard
25268
25269
25270 \backslash
25271 pagebreak 
25272 \end_layout
25273
25274 \end_inset
25275
25276
25277 \end_layout
25278
25279 \begin_layout Standard
25280 This is the result:
25281 \end_layout
25282
25283 \begin_layout Standard
25284 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25285 g.\InsetSpace ~
25286
25287 \begin_inset ERT
25288 status collapsed
25289
25290 \begin_layout Standard
25291
25292
25293 \backslash
25294 mbox{
25295 \end_layout
25296
25297 \end_inset
25298
25299 veryverylongwords.
25300 \begin_inset ERT
25301 status collapsed
25302
25303 \begin_layout Standard
25304
25305 }
25306 \end_layout
25307
25308 \end_inset
25309
25310
25311 \end_layout
25312
25313 \begin_layout Standard
25314 Of course the word now protrudes over the side margin.
25315  To avoid this, add via the menu 
25316 \family sans
25317 Insert\SpecialChar \menuseparator
25318 Special\InsetSpace ~
25319 Formatting\SpecialChar \menuseparator
25320 Line\InsetSpace ~
25321 Break
25322 \family default
25323  (shortcut 
25324 \series bold
25325 Ctrl-Return
25326 \series default
25327 ) a line break before the word:
25328 \end_layout
25329
25330 \begin_layout Standard
25331 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25332 g.\InsetSpace ~
25333
25334 \newline
25335
25336 \begin_inset ERT
25337 status collapsed
25338
25339 \begin_layout Standard
25340
25341
25342 \backslash
25343 mbox{
25344 \end_layout
25345
25346 \end_inset
25347
25348 veryverylongwords.
25349 \begin_inset ERT
25350 status collapsed
25351
25352 \begin_layout Standard
25353
25354 }
25355 \end_layout
25356
25357 \end_inset
25358
25359
25360 \end_layout
25361
25362 \begin_layout Subsection
25363 Vertical Alignment
25364 \begin_inset LatexCommand label
25365 name "sub:Vertical-Alignment"
25366
25367 \end_inset
25368
25369
25370 \begin_inset LatexCommand index
25371 name "Boxes ! for Vertical Alignment"
25372
25373 \end_inset
25374
25375
25376 \begin_inset LatexCommand index
25377 name "Boxes ! Raiseboxes"
25378
25379 \end_inset
25380
25381
25382 \end_layout
25383
25384 \begin_layout Standard
25385 With the help of the command 
25386 \series bold
25387
25388 \backslash
25389 raisebox
25390 \series default
25391  you can align words, characters or other boxes vertically to the surrounding
25392  text.
25393  
25394 \series bold
25395
25396 \backslash
25397 raisebox
25398 \series default
25399  is used with the following scheme:
25400 \end_layout
25401
25402 \begin_layout Standard
25403
25404 \series bold
25405
25406 \backslash
25407 raisebox{lift}[height][depth]{box content}
25408 \end_layout
25409
25410 \begin_layout Standard
25411 The lift can be a positive value to raise the box or a negative value to
25412  lower the box.
25413 \end_layout
25414
25415 \begin_layout Standard
25416 To align for example the word 
25417 \begin_inset Quotes eld
25418 \end_inset
25419
25420 preventing
25421 \begin_inset Quotes erd
25422 \end_inset
25423
25424  so that the bottom of the 
25425 \begin_inset Quotes eld
25426 \end_inset
25427
25428 deepest
25429 \begin_inset Quotes erd
25430 \end_inset
25431
25432  character 
25433 \begin_inset Quotes eld
25434 \end_inset
25435
25436 p
25437 \begin_inset Quotes erd
25438 \end_inset
25439
25440  is at the baseline, insert the command
25441 \end_layout
25442
25443 \begin_layout Standard
25444
25445 \series bold
25446
25447 \backslash
25448 raisebox{
25449 \backslash
25450 depth}{
25451 \end_layout
25452
25453 \begin_layout Standard
25454 in ERT before the word.
25455  Behind the word insert a closing brace 
25456 \begin_inset Quotes eld
25457 \end_inset
25458
25459
25460 \series bold
25461 }
25462 \series default
25463
25464 \begin_inset Quotes erd
25465 \end_inset
25466
25467  in ERT.
25468 \newline
25469 This is the result:
25470 \end_layout
25471
25472 \begin_layout Standard
25473 This is a text line with the word 
25474 \begin_inset ERT
25475 status collapsed
25476
25477 \begin_layout Standard
25478
25479
25480 \backslash
25481 raisebox{
25482 \backslash
25483 depth}{
25484 \end_layout
25485
25486 \end_inset
25487
25488
25489 \begin_inset Quotes eld
25490 \end_inset
25491
25492 preventing
25493 \begin_inset Quotes erd
25494 \end_inset
25495
25496
25497 \begin_inset ERT
25498 status collapsed
25499
25500 \begin_layout Standard
25501
25502 }
25503 \end_layout
25504
25505 \end_inset
25506
25507  as raised word.
25508 \end_layout
25509
25510 \begin_layout Standard
25511 \begin_inset VSpace bigskip
25512 \end_inset
25513
25514 When you raise or lower characters in a line, the line distance will be
25515  spread:
25516 \end_layout
25517
25518 \begin_layout Standard
25519 This is a text line with the word 
25520 \begin_inset ERT
25521 status collapsed
25522
25523 \begin_layout Standard
25524
25525
25526 \backslash
25527 raisebox{-
25528 \backslash
25529 depth}{
25530 \end_layout
25531
25532 \end_inset
25533
25534
25535 \begin_inset Quotes eld
25536 \end_inset
25537
25538 preventing
25539 \begin_inset Quotes erd
25540 \end_inset
25541
25542
25543 \begin_inset ERT
25544 status collapsed
25545
25546 \begin_layout Standard
25547
25548 }
25549 \end_layout
25550
25551 \end_inset
25552
25553  as lowered word.
25554 \newline
25555 This is a text line with the word 
25556 \begin_inset ERT
25557 status collapsed
25558
25559 \begin_layout Standard
25560
25561
25562 \backslash
25563 raisebox{0.5cm}{
25564 \end_layout
25565
25566 \end_inset
25567
25568
25569 \begin_inset Quotes eld
25570 \end_inset
25571
25572 testing
25573 \begin_inset Quotes erd
25574 \end_inset
25575
25576
25577 \begin_inset ERT
25578 status collapsed
25579
25580 \begin_layout Standard
25581
25582 }
25583 \end_layout
25584
25585 \end_inset
25586
25587  as raised word.
25588 \end_layout
25589
25590 \begin_layout Standard
25591 If you want to prevent this for a certain reason, set the box height to
25592  a zero value.
25593  For example use
25594 \end_layout
25595
25596 \begin_layout Standard
25597
25598 \series bold
25599
25600 \backslash
25601 raisebox{-
25602 \backslash
25603 depth}[0pt]{
25604 \end_layout
25605
25606 \begin_layout Standard
25607 This is a text line with the word 
25608 \begin_inset ERT
25609 status collapsed
25610
25611 \begin_layout Standard
25612
25613
25614 \backslash
25615 raisebox{-
25616 \backslash
25617 depth}[0pt]{
25618 \end_layout
25619
25620 \end_inset
25621
25622
25623 \begin_inset Quotes eld
25624 \end_inset
25625
25626 preventing
25627 \begin_inset Quotes erd
25628 \end_inset
25629
25630
25631 \begin_inset ERT
25632 status collapsed
25633
25634 \begin_layout Standard
25635
25636 }
25637 \end_layout
25638
25639 \end_inset
25640
25641  as lowered word.
25642 \newline
25643 This is a text line with the word 
25644 \begin_inset ERT
25645 status collapsed
25646
25647 \begin_layout Standard
25648
25649
25650 \backslash
25651 raisebox{0.5cm}[0pt]{
25652 \end_layout
25653
25654 \end_inset
25655
25656
25657 \begin_inset Quotes eld
25658 \end_inset
25659
25660 testing
25661 \begin_inset Quotes erd
25662 \end_inset
25663
25664
25665 \begin_inset ERT
25666 status collapsed
25667
25668 \begin_layout Standard
25669
25670 }
25671 \end_layout
25672
25673 \end_inset
25674
25675  as raised word.
25676 \end_layout
25677
25678 \begin_layout Section
25679 Colored Boxes
25680 \begin_inset LatexCommand label
25681 name "sec:Colored-Boxes"
25682
25683 \end_inset
25684
25685
25686 \begin_inset LatexCommand index
25687 name "Boxes ! Color"
25688
25689 \end_inset
25690
25691
25692 \end_layout
25693
25694 \begin_layout Subsection
25695 Color for Text
25696 \begin_inset LatexCommand index
25697 name "Color ! for Text"
25698
25699 \end_inset
25700
25701
25702 \end_layout
25703
25704 \begin_layout Standard
25705 To color the background of text the text must be put into a so called colorbox.
25706  This requires that the LaTeX-package 
25707 \series bold
25708 color
25709 \series default
25710
25711 \begin_inset LatexCommand index
25712 name "LaTeX-packages ! color"
25713
25714 \end_inset
25715
25716  is loaded in the document preamble with the command
25717 \end_layout
25718
25719 \begin_layout Standard
25720
25721 \series bold
25722
25723 \backslash
25724 @ifundef\SpecialChar \textcompwordmark{}
25725 ined{textcolor}
25726 \newline
25727
25728 \begin_inset ERT
25729 status collapsed
25730
25731 \begin_layout Standard
25732
25733
25734 \backslash
25735 hphantom{ }
25736 \end_layout
25737
25738 \end_inset
25739
25740 {
25741 \backslash
25742 usepackage{color}}{}
25743 \end_layout
25744
25745 \begin_layout Standard
25746 The package 
25747 \series bold
25748 color
25749 \series default
25750  will be loaded automatically by LyX when you color text
25751 \begin_inset Foot
25752 status collapsed
25753
25754 \begin_layout Standard
25755 To avoid that it is loaded twice the command 
25756 \series bold
25757
25758 \backslash
25759 @ifundef\SpecialChar \textcompwordmark{}
25760 ined
25761 \series default
25762  is used.
25763 \end_layout
25764
25765 \end_inset
25766
25767 .
25768 \end_layout
25769
25770 \begin_layout Standard
25771 \begin_inset VSpace medskip
25772 \end_inset
25773
25774 Colorboxes are created with the command 
25775 \series bold
25776
25777 \backslash
25778 colorbox
25779 \series default
25780 .
25781  This will be used with the following scheme:
25782 \end_layout
25783
25784 \begin_layout Standard
25785
25786 \series bold
25787
25788 \backslash
25789 colorbox{color}{box content}
25790 \end_layout
25791
25792 \begin_layout Standard
25793 The box content can also be a box and colorboxes can also be within other
25794  boxes.
25795 \end_layout
25796
25797 \begin_layout Standard
25798 The following colors are predefined:
25799 \newline
25800
25801 \family sans
25802 black
25803 \family default
25804
25805 \family sans
25806 blue
25807 \family default
25808
25809 \family sans
25810 cyan
25811 \family default
25812 \series bold
25813 ,
25814 \series default
25815  
25816 \family sans
25817 green
25818 \family default
25819
25820 \family sans
25821 magenta
25822 \family default
25823
25824 \family sans
25825 red
25826 \family default
25827
25828 \family sans
25829 white
25830 \family default
25831 , and 
25832 \family sans
25833 yellow
25834 \family default
25835 .
25836 \newline
25837 You can also define your own color as described in section\InsetSpace ~
25838
25839 \begin_inset LatexCommand ref
25840 reference "sec:Colored-Tables"
25841
25842 \end_inset
25843
25844 .
25845 \end_layout
25846
25847 \begin_layout Standard
25848 To have e.\InsetSpace \thinspace{}
25849 g.\InsetSpace ~
25850 a red background for a word, insert the command
25851 \end_layout
25852
25853 \begin_layout Standard
25854
25855 \series bold
25856
25857 \backslash
25858 colorbox{red}{
25859 \end_layout
25860
25861 \begin_layout Standard
25862 before the word in ERT.
25863  Behind the word insert a closing brace 
25864 \begin_inset Quotes eld
25865 \end_inset
25866
25867
25868 \series bold
25869 }
25870 \series default
25871
25872 \begin_inset Quotes erd
25873 \end_inset
25874
25875  in ERT.
25876 \newline
25877 This is the result:
25878 \end_layout
25879
25880 \begin_layout Standard
25881 This is a line where the word 
25882 \begin_inset ERT
25883 status collapsed
25884
25885 \begin_layout Standard
25886
25887
25888 \backslash
25889 colorbox{red}{
25890 \end_layout
25891
25892 \end_inset
25893
25894
25895 \begin_inset Quotes eld
25896 \end_inset
25897
25898 Attention!
25899 \begin_inset Quotes erd
25900 \end_inset
25901
25902
25903 \begin_inset ERT
25904 status collapsed
25905
25906 \begin_layout Standard
25907
25908 }
25909 \end_layout
25910
25911 \end_inset
25912
25913  has a red background.
25914 \end_layout
25915
25916 \begin_layout Standard
25917 \begin_inset VSpace bigskip
25918 \end_inset
25919
25920 If you would have the box frame in a different color, you can use the command
25921  
25922 \series bold
25923
25924 \backslash
25925 fcolorbox
25926 \series default
25927  with the following scheme:
25928 \end_layout
25929
25930 \begin_layout Standard
25931
25932 \series bold
25933
25934 \backslash
25935 fcolorbox{frame color}{box color}{box content}
25936 \end_layout
25937
25938 \begin_layout Standard
25939
25940 \series bold
25941
25942 \backslash
25943 fcolorbox
25944 \series default
25945  is an extension to 
25946 \series bold
25947
25948 \backslash
25949 colorbox
25950 \series default
25951 .
25952  The frame thickness and the space between the frame and the box content
25953  can be adjusted with the lengths 
25954 \series bold
25955
25956 \backslash
25957 fboxrule
25958 \series default
25959  and 
25960 \series bold
25961
25962 \backslash
25963 fboxsep
25964 \series default
25965 , respectively, as described in section\InsetSpace ~
25966
25967 \begin_inset LatexCommand ref
25968 reference "sec:Framed-Boxes"
25969
25970 \end_inset
25971
25972 .
25973 \end_layout
25974
25975 \begin_layout Standard
25976 For the following example the command
25977 \end_layout
25978
25979 \begin_layout Standard
25980
25981 \series bold
25982
25983 \backslash
25984 fcolorbox{cyan}{magenta}{
25985 \end_layout
25986
25987 \begin_layout Standard
25988 was used.
25989 \end_layout
25990
25991 \begin_layout Standard
25992 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25993 mm:
25994 \newline
25995
25996 \begin_inset ERT
25997 status collapsed
25998
25999 \begin_layout Standard
26000
26001
26002 \backslash
26003 fboxrule 1mm 
26004 \backslash
26005 fboxsep 1mm
26006 \end_layout
26007
26008 \end_inset
26009
26010
26011 \begin_inset ERT
26012 status collapsed
26013
26014 \begin_layout Standard
26015
26016
26017 \backslash
26018 fcolorbox{cyan}{magenta}{
26019 \end_layout
26020
26021 \end_inset
26022
26023 This is text within a colored, framed box.
26024 \begin_inset ERT
26025 status collapsed
26026
26027 \begin_layout Standard
26028
26029 }
26030 \end_layout
26031
26032 \end_inset
26033
26034
26035 \end_layout
26036
26037 \begin_layout Standard
26038 \begin_inset VSpace bigskip
26039 \end_inset
26040
26041 Of course you can also have colored text inside a colorbox:
26042 \newline
26043
26044 \begin_inset ERT
26045 status collapsed
26046
26047 \begin_layout Standard
26048
26049
26050 \backslash
26051 fcolorbox{cyan}{magenta}{
26052 \end_layout
26053
26054 \end_inset
26055
26056
26057 \color yellow
26058 This is colored text within a colored, framed box.
26059 \color none
26060
26061 \begin_inset ERT
26062 status collapsed
26063
26064 \begin_layout Standard
26065
26066 }
26067 \end_layout
26068
26069 \end_inset
26070
26071
26072 \begin_inset ERT
26073 status collapsed
26074
26075 \begin_layout Standard
26076
26077
26078 \backslash
26079 fboxrule 0.4pt 
26080 \backslash
26081 fboxsep 3pt
26082 \end_layout
26083
26084 \end_inset
26085
26086
26087 \end_layout
26088
26089 \begin_layout Standard
26090
26091 \series bold
26092 \begin_inset VSpace medskip
26093 \end_inset
26094
26095
26096 \end_layout
26097
26098 \begin_layout Standard
26099 \begin_inset Note Greyedout
26100 status open
26101
26102 \begin_layout Standard
26103
26104 \series bold
26105 Note:
26106 \series default
26107  Text in colorboxes cannot have line breaks.
26108  To color multiple text lines or paragraphs, use a box inside a colorbox
26109  as described in the following.
26110 \end_layout
26111
26112 \end_inset
26113
26114
26115 \end_layout
26116
26117 \begin_layout Subsection
26118 Color for Paragraphs
26119 \begin_inset LatexCommand label
26120 name "sub:Color-for-Paragraphs"
26121
26122 \end_inset
26123
26124
26125 \begin_inset LatexCommand index
26126 name "Color ! for Paragraphs"
26127
26128 \end_inset
26129
26130
26131 \end_layout
26132
26133 \begin_layout Standard
26134 To set the background color for more than one text line, put the text into
26135  a minipage.
26136  Before the minipage insert the 
26137 \series bold
26138
26139 \backslash
26140 colorbox
26141 \series default
26142  command
26143 \end_layout
26144
26145 \begin_layout Standard
26146
26147 \series bold
26148
26149 \backslash
26150 colorbox{color}{
26151 \end_layout
26152
26153 \begin_layout Standard
26154 in ERT.
26155  Behind the minipage insert a closing brace 
26156 \begin_inset Quotes eld
26157 \end_inset
26158
26159
26160 \series bold
26161 }
26162 \series default
26163
26164 \begin_inset Quotes erd
26165 \end_inset
26166
26167  in ERT.
26168 \end_layout
26169
26170 \begin_layout Standard
26171 \begin_inset ERT
26172 status collapsed
26173
26174 \begin_layout Standard
26175
26176
26177 \backslash
26178 colorbox{lightgrey}{
26179 \end_layout
26180
26181 \end_inset
26182
26183
26184 \begin_inset Box Frameless
26185 position "t"
26186 hor_pos "c"
26187 has_inner_box 1
26188 inner_pos "t"
26189 use_parbox 0
26190 width "100col%"
26191 special "none"
26192 height "1in"
26193 height_special "totalheight"
26194 status collapsed
26195
26196 \begin_layout Standard
26197 This is text with background color.
26198  This is text with background color.
26199 \end_layout
26200
26201 \begin_layout Standard
26202 \begin_inset VSpace defskip
26203 \end_inset
26204
26205 The text can have footnotes
26206 \begin_inset Foot
26207 status collapsed
26208
26209 \begin_layout Standard
26210 Another example footnote
26211 \end_layout
26212
26213 \end_inset
26214
26215  and can include tables and figures.
26216 \end_layout
26217
26218 \begin_layout Standard
26219 \align center
26220 \begin_inset Tabular
26221 <lyxtabular version="3" rows="3" columns="3">
26222 <features>
26223 <column alignment="center" valignment="top" leftline="true" width="0">
26224 <column alignment="center" valignment="top" leftline="true" width="0">
26225 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26226 <row topline="true">
26227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26228 \begin_inset Text
26229
26230 \begin_layout Standard
26231 a
26232 \end_layout
26233
26234 \end_inset
26235 </cell>
26236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26237 \begin_inset Text
26238
26239 \begin_layout Standard
26240 !
26241 \end_layout
26242
26243 \end_inset
26244 </cell>
26245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26246 \begin_inset Text
26247
26248 \begin_layout Standard
26249 3
26250 \end_layout
26251
26252 \end_inset
26253 </cell>
26254 </row>
26255 <row topline="true">
26256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26257 \begin_inset Text
26258
26259 \begin_layout Standard
26260 <
26261 \end_layout
26262
26263 \end_inset
26264 </cell>
26265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26266 \begin_inset Text
26267
26268 \begin_layout Standard
26269 b2
26270 \begin_inset Quotes erd
26271 \end_inset
26272
26273 |
26274 \end_layout
26275
26276 \end_inset
26277 </cell>
26278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26279 \begin_inset Text
26280
26281 \begin_layout Standard
26282 >
26283 \end_layout
26284
26285 \end_inset
26286 </cell>
26287 </row>
26288 <row topline="true" bottomline="true">
26289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26290 \begin_inset Text
26291
26292 \begin_layout Standard
26293 1
26294 \end_layout
26295
26296 \end_inset
26297 </cell>
26298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26299 \begin_inset Text
26300
26301 \begin_layout Standard
26302 §
26303 \end_layout
26304
26305 \end_inset
26306 </cell>
26307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26308 \begin_inset Text
26309
26310 \begin_layout Standard
26311 c
26312 \end_layout
26313
26314 \end_inset
26315 </cell>
26316 </row>
26317 </lyxtabular>
26318
26319 \end_inset
26320
26321
26322 \end_layout
26323
26324 \end_inset
26325
26326
26327 \begin_inset ERT
26328 status collapsed
26329
26330 \begin_layout Standard
26331
26332 }
26333 \end_layout
26334
26335 \end_inset
26336
26337
26338 \end_layout
26339
26340 \begin_layout Section
26341 URLs (Uniform Resource Locators)
26342 \begin_inset LatexCommand index
26343 name "URLs"
26344
26345 \end_inset
26346
26347
26348 \end_layout
26349
26350 \begin_layout Standard
26351 Links to web pages or email addresses can be inserted via the menu 
26352 \family sans
26353 Insert\SpecialChar \menuseparator
26354 URL
26355 \family default
26356 .
26357  The appearing URL dialog has two fields; the 
26358 \family sans
26359 URL
26360 \family default
26361  field and the 
26362 \family sans
26363 Name
26364 \family default
26365  field for the URL description, which will be typeset as plain text immediately
26366  before the URL.
26367 \end_layout
26368
26369 \begin_layout Standard
26370 Here is an example URL: 
26371 \begin_inset LatexCommand url
26372 name "LyX's homepage"
26373 target "http://www.lyx.org"
26374
26375 \end_inset
26376
26377
26378 \end_layout
26379
26380 \begin_layout Standard
26381 The option 
26382 \family sans
26383 Generate\InsetSpace ~
26384 hyperlink
26385 \family default
26386  in the URL dialog has only an affect when you export your document to the
26387  format 
26388 \begin_inset Quotes eld
26389 \end_inset
26390
26391
26392 \family sans
26393 LinuxDoc
26394 \family default
26395
26396 \begin_inset Quotes erd
26397 \end_inset
26398
26399 .
26400 \end_layout
26401
26402 \begin_layout Standard
26403 You cannot change the style of the link text.
26404  The text of the 
26405 \family sans
26406 Name
26407 \family default
26408  field will have the default text style of the document while the text of
26409  the 
26410 \family sans
26411 URL
26412 \family default
26413  field will have the style 
26414 \begin_inset Quotes eld
26415 \end_inset
26416
26417
26418 \family sans
26419 Typewriter
26420 \family default
26421
26422 \begin_inset Quotes erd
26423 \end_inset
26424
26425 .
26426 \end_layout
26427
26428 \begin_layout Standard
26429 When you use the LaTeX-package 
26430 \series bold
26431 hyperref
26432 \series default
26433
26434 \begin_inset LatexCommand index
26435 name "LaTeX-packages ! hyperref"
26436
26437 \end_inset
26438
26439  to link cross-references in the output, URLs will automatically become
26440  clickable hyperlinks in DVI and PDF-output.
26441 \end_layout
26442
26443 \begin_layout Standard
26444 \begin_inset Note Greyedout
26445 status open
26446
26447 \begin_layout Standard
26448
26449 \series bold
26450 Note:
26451 \series default
26452  When you use the following characters: "%", "#", "^", you have to write
26453  them with a preceding backslash, e.\InsetSpace \thinspace{}
26454 g.\InsetSpace ~
26455
26456 \begin_inset Quotes eld
26457 \end_inset
26458
26459
26460 \backslash
26461 #
26462 \begin_inset Quotes erd
26463 \end_inset
26464
26465 .
26466  URLs must not end with a backslash.
26467 \end_layout
26468
26469 \end_inset
26470
26471
26472 \end_layout
26473
26474 \begin_layout Standard
26475 \begin_inset VSpace bigskip
26476 \end_inset
26477
26478 To create real hyperlinks without the force to write the link location to
26479  the text, you can use the command
26480 \end_layout
26481
26482 \begin_layout Standard
26483
26484 \series bold
26485
26486 \backslash
26487 href{link location}{link text}
26488 \end_layout
26489
26490 \begin_layout Standard
26491 in ERT.
26492  To get for example a link to LyX's web page, write the command
26493 \end_layout
26494
26495 \begin_layout Standard
26496
26497 \series bold
26498
26499 \backslash
26500 href{http://www.lyx.org}{
26501 \end_layout
26502
26503 \begin_layout Standard
26504 in ERT.
26505  Insert after the command the link text 
26506 \begin_inset Quotes eld
26507 \end_inset
26508
26509 LyX's homepage
26510 \begin_inset Quotes erd
26511 \end_inset
26512
26513  as normal text followed by a closing brace 
26514 \begin_inset Quotes eld
26515 \end_inset
26516
26517
26518 \series bold
26519 }
26520 \series default
26521
26522 \begin_inset Quotes erd
26523 \end_inset
26524
26525  in ERT.
26526  This is the result: 
26527 \begin_inset ERT
26528 status collapsed
26529
26530 \begin_layout Standard
26531
26532
26533 \backslash
26534 href{http://www.lyx.org}{
26535 \end_layout
26536
26537 \end_inset
26538
26539 LyX's homepage
26540 \begin_inset ERT
26541 status collapsed
26542
26543 \begin_layout Standard
26544
26545 }
26546 \end_layout
26547
26548 \end_inset
26549
26550
26551 \end_layout
26552
26553 \begin_layout Standard
26554 To link to email addresses, add the prefix 
26555 \begin_inset Quotes eld
26556 \end_inset
26557
26558
26559 \family sans
26560 mailto:
26561 \family default
26562
26563 \begin_inset Quotes erd
26564 \end_inset
26565
26566  to the link location:
26567 \newline
26568 Email to 
26569 \begin_inset ERT
26570 status collapsed
26571
26572 \begin_layout Standard
26573
26574
26575 \backslash
26576 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26577 \end_layout
26578
26579 \end_inset
26580
26581 lyx-docs mailing list
26582 \begin_inset ERT
26583 status collapsed
26584
26585 \begin_layout Standard
26586
26587 }
26588 \end_layout
26589
26590 \end_inset
26591
26592 .
26593 \end_layout
26594
26595 \begin_layout Standard
26596 Using 
26597 \series bold
26598
26599 \backslash
26600 href
26601 \series default
26602  instead of LyX's URL box has the advantage that you can specify the text
26603  style of the link text like for all other text parts.
26604  You can therefore set hyphenation points and forced linebreaks to have
26605  long link text broken at the page margin.
26606  You are furthermore able to change the text style for all URLs in your
26607  document with an option in 
26608 \series bold
26609 hyperref
26610 \series default
26611 's load command and the restrictions mentioned above doesn't apply for 
26612 \series bold
26613
26614 \backslash
26615 href
26616 \series default
26617 .
26618 \end_layout
26619
26620 \begin_layout Chapter
26621 External Stuff
26622 \begin_inset LatexCommand index
26623 name "External Stuff"
26624
26625 \end_inset
26626
26627
26628 \end_layout
26629
26630 \begin_layout Standard
26631 With the menu 
26632 \family sans
26633 Insert\SpecialChar \menuseparator
26634 File
26635 \family default
26636  you can insert external material to your document.
26637  This can be:
26638 \end_layout
26639
26640 \begin_layout Description
26641 LyX\InsetSpace ~
26642 Document Another LyX document; its content is directly inserted to your
26643  document.
26644 \end_layout
26645
26646 \begin_layout Description
26647 Plain\InsetSpace ~
26648 Text A text document; every of its text lines is inserted to your document
26649  as own paragraph.
26650 \end_layout
26651
26652 \begin_layout Description
26653 Plain\InsetSpace ~
26654 Text,\InsetSpace ~
26655 Join\InsetSpace ~
26656 Lines A text document; its text lines are inserted as they
26657  are.
26658  Empty text lines creates a new paragraph in your document.
26659 \end_layout
26660
26661 \begin_layout Description
26662 External\InsetSpace ~
26663 Material Files in various formats.
26664 \end_layout
26665
26666 \begin_layout Description
26667 Child\InsetSpace ~
26668 Document LyX or LaTeX-documents.
26669 \end_layout
26670
26671 \begin_layout Section
26672 External Material
26673 \begin_inset LatexCommand index
26674 name "External Stuff ! External Material"
26675
26676 \end_inset
26677
26678
26679 \end_layout
26680
26681 \begin_layout Standard
26682 The external material feature allows you to insert files to your document
26683  without converting them previously to a format that can be read by the
26684  document output format because LyX takes care of needed conversions.
26685  This is similar to images that can be inserted in various image formats
26686  to LyX documents.
26687 \end_layout
26688
26689 \begin_layout Standard
26690 External material can be inserted via the 
26691 \family sans
26692 External Material
26693 \family default
26694  dialog that is accessible with the menu 
26695 \family sans
26696 Insert\SpecialChar \menuseparator
26697 File\SpecialChar \menuseparator
26698 External\InsetSpace ~
26699 Material
26700 \family default
26701 .
26702  Currently the following file types (
26703 \family sans
26704 Templates
26705 \family default
26706 ) are allowed:
26707 \end_layout
26708
26709 \begin_layout Description
26710 ChessDiagram This template supports chess position diagrams made with the
26711  program 
26712 \begin_inset ERT
26713 status collapsed
26714
26715 \begin_layout Standard
26716
26717
26718 \backslash
26719 href{http://en.wikipedia.org/wiki/XBoard}{
26720 \end_layout
26721
26722 \end_inset
26723
26724
26725 \series bold
26726 XBoard
26727 \series default
26728
26729 \begin_inset ERT
26730 status collapsed
26731
26732 \begin_layout Standard
26733
26734 }
26735 \end_layout
26736
26737 \end_inset
26738
26739 .
26740 \end_layout
26741
26742 \begin_layout Description
26743 Date This inserts the date in the form 
26744 \emph on
26745 Date-Month-Year
26746 \emph default
26747 .
26748  This is a date inserted as external material: 
26749 \begin_inset External
26750         template Date
26751         filename .
26752
26753 \end_inset
26754
26755
26756 \newline
26757 The date is not shown within LyX, only in the output.
26758  There are two other methods of inserting a date, via menu 
26759 \family sans
26760 Insert\SpecialChar \menuseparator
26761 Date
26762 \family default
26763  and with the LaTeX command 
26764 \series bold
26765
26766 \backslash
26767 today
26768 \series default
26769  as ERT.
26770  The different methods are compared in Table\InsetSpace ~
26771
26772 \begin_inset LatexCommand ref
26773 reference "tab:Comparison-of-the"
26774
26775 \end_inset
26776
26777 .
26778 \end_layout
26779
26780 \begin_layout Description
26781 LilyPond This template is used for music notation typeset with the program
26782 \begin_inset ERT
26783 status collapsed
26784
26785 \begin_layout Standard
26786
26787
26788 \backslash
26789 linebreak 
26790 \end_layout
26791
26792 \end_inset
26793
26794
26795 \begin_inset ERT
26796 status collapsed
26797
26798 \begin_layout Standard
26799
26800
26801 \backslash
26802 href{http://en.wikipedia.org/wiki/LilyPond}{
26803 \end_layout
26804
26805 \end_inset
26806
26807
26808 \series bold
26809 LilyPond
26810 \series default
26811
26812 \begin_inset ERT
26813 status collapsed
26814
26815 \begin_layout Standard
26816
26817 }
26818 \end_layout
26819
26820 \end_inset
26821
26822 .
26823 \begin_inset Note Note
26824 status collapsed
26825
26826 \begin_layout Standard
26827 The command 
26828 \series bold
26829
26830 \backslash
26831 linebreak
26832 \series default
26833  breaks the line while the remaining text in the line is stretched to the
26834  page margin.
26835 \end_layout
26836
26837 \end_inset
26838
26839
26840 \end_layout
26841
26842 \begin_layout Description
26843 RasterImage This can be used for bitmap images.
26844  Nearly all popular image formats are supported.
26845  The image can be treated in the 
26846 \family sans
26847 External material
26848 \family default
26849  dialog like the images that are usually included via the 
26850 \family sans
26851 Graphics
26852 \family default
26853  dialog as described in section\InsetSpace ~
26854
26855 \begin_inset LatexCommand ref
26856 reference "sec:Graphics-Dialog"
26857
26858 \end_inset
26859
26860 .
26861  The difference is that only raster images are allowed, that means that
26862  PDF and EPS-images are not supported.
26863 \end_layout
26864
26865 \begin_layout Description
26866 XFig This template supports images created with the program 
26867 \begin_inset ERT
26868 status collapsed
26869
26870 \begin_layout Standard
26871
26872
26873 \backslash
26874 href{http://en.wikipedia.org/wiki/Xfig}{
26875 \end_layout
26876
26877 \end_inset
26878
26879
26880 \series bold
26881 Xfig
26882 \series default
26883
26884 \begin_inset ERT
26885 status collapsed
26886
26887 \begin_layout Standard
26888
26889 }
26890 \end_layout
26891
26892 \end_inset
26893
26894 .
26895 \end_layout
26896
26897 \begin_layout Standard
26898 \begin_inset Float table
26899 placement h
26900 wide false
26901 sideways false
26902 status open
26903
26904 \begin_layout Standard
26905 \begin_inset Caption
26906
26907 \begin_layout Standard
26908 \begin_inset LatexCommand label
26909 name "tab:Comparison-of-the"
26910
26911 \end_inset
26912
26913 Comparison of the date input methods.
26914 \end_layout
26915
26916 \end_inset
26917
26918
26919 \end_layout
26920
26921 \begin_layout Standard
26922 \align center
26923 \begin_inset Tabular
26924 <lyxtabular version="3" rows="4" columns="4">
26925 <features>
26926 <column alignment="center" valignment="top" leftline="true" width="0">
26927 <column alignment="center" valignment="top" leftline="true" width="0">
26928 <column alignment="center" valignment="top" leftline="true" width="0">
26929 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26930 <row topline="true">
26931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26932 \begin_inset Text
26933
26934 \begin_layout Standard
26935 Document format
26936 \end_layout
26937
26938 \end_inset
26939 </cell>
26940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26941 \begin_inset Text
26942
26943 \begin_layout Standard
26944
26945 \family sans
26946 External Material\SpecialChar \menuseparator
26947 Date
26948 \end_layout
26949
26950 \end_inset
26951 </cell>
26952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26953 \begin_inset Text
26954
26955 \begin_layout Standard
26956
26957 \family sans
26958 Insert\SpecialChar \menuseparator
26959 Date
26960 \end_layout
26961
26962 \end_inset
26963 </cell>
26964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26965 \begin_inset Text
26966
26967 \begin_layout Standard
26968 command 
26969 \series bold
26970
26971 \backslash
26972 today
26973 \end_layout
26974
26975 \end_inset
26976 </cell>
26977 </row>
26978 <row topline="true">
26979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26980 \begin_inset Text
26981
26982 \begin_layout Standard
26983 LyX
26984 \end_layout
26985
26986 \end_inset
26987 </cell>
26988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26989 \begin_inset Text
26990
26991 \begin_layout Standard
26992 as inset box
26993 \end_layout
26994
26995 \end_inset
26996 </cell>
26997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26998 \begin_inset Text
26999
27000 \begin_layout Standard
27001 as date
27002 \end_layout
27003
27004 \end_inset
27005 </cell>
27006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27007 \begin_inset Text
27008
27009 \begin_layout Standard
27010 as ERT inset box
27011 \end_layout
27012
27013 \end_inset
27014 </cell>
27015 </row>
27016 <row topline="true">
27017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27018 \begin_inset Text
27019
27020 \begin_layout Standard
27021 LaTeX
27022 \end_layout
27023
27024 \end_inset
27025 </cell>
27026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27027 \begin_inset Text
27028
27029 \begin_layout Standard
27030 as date
27031 \end_layout
27032
27033 \end_inset
27034 </cell>
27035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27036 \begin_inset Text
27037
27038 \begin_layout Standard
27039 as date
27040 \end_layout
27041
27042 \end_inset
27043 </cell>
27044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27045 \begin_inset Text
27046
27047 \begin_layout Standard
27048 as command
27049 \end_layout
27050
27051 \end_inset
27052 </cell>
27053 </row>
27054 <row topline="true" bottomline="true">
27055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27056 \begin_inset Text
27057
27058 \begin_layout Standard
27059 DVI, PDF, PS
27060 \end_layout
27061
27062 \end_inset
27063 </cell>
27064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27065 \begin_inset Text
27066
27067 \begin_layout Standard
27068 as date
27069 \end_layout
27070
27071 \end_inset
27072 </cell>
27073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27074 \begin_inset Text
27075
27076 \begin_layout Standard
27077 as date
27078 \end_layout
27079
27080 \end_inset
27081 </cell>
27082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27083 \begin_inset Text
27084
27085 \begin_layout Standard
27086 as date
27087 \end_layout
27088
27089 \end_inset
27090 </cell>
27091 </row>
27092 </lyxtabular>
27093
27094 \end_inset
27095
27096
27097 \end_layout
27098
27099 \end_inset
27100
27101
27102 \end_layout
27103
27104 \begin_layout Standard
27105 When you use the option 
27106 \family sans
27107 Draft
27108 \family default
27109  in the 
27110 \family sans
27111 File
27112 \family default
27113  tab of the 
27114 \family sans
27115 External Material
27116 \family default
27117  dialog, only the path to the inserted file is shown in the output.
27118 \newline
27119 External
27120  material is displayed in LyX either as box like this: 
27121 \begin_inset Graphics
27122         filename clipart/ExternalMaterialQt4.png
27123         scale 85
27124
27125 \end_inset
27126
27127  or as image, depending on the setting in the 
27128 \family sans
27129 LyX\InsetSpace ~
27130 View
27131 \family default
27132  tab of the 
27133 \family sans
27134 External Material
27135 \family default
27136  dialog.
27137 \end_layout
27138
27139 \begin_layout Standard
27140 The 
27141 \family sans
27142 \emph on
27143 Customization
27144 \family default
27145 \emph default
27146  manual explains how you can define your own templates.
27147 \end_layout
27148
27149 \begin_layout Section
27150 Child Documents
27151 \begin_inset LatexCommand index
27152 name "External Stuff ! Child Documents"
27153
27154 \end_inset
27155
27156
27157 \begin_inset LatexCommand index
27158 name "Files ! Include"
27159
27160 \end_inset
27161
27162
27163 \end_layout
27164
27165 \begin_layout Standard
27166 Child documents are used when you have a long document consisting of several
27167  larger parts or sections.
27168  For maintenance it is often useful and sometimes even required to split
27169  the document in several files that can be revised separately.
27170  The different documents are then the so called child documents and a master
27171  document connects them to print the full document or parts of it.
27172 \end_layout
27173
27174 \begin_layout Standard
27175 Included documents are displayed in LyX as a box like this: 
27176 \begin_inset Graphics
27177         filename clipart/ChildDocumentQt4.png
27178         scale 85
27179
27180 \end_inset
27181
27182  To include child documents to a master document use the menu 
27183 \family sans
27184 Insert\SpecialChar \menuseparator
27185 File\SpecialChar \menuseparator
27186 Child\InsetSpace ~
27187 Documents
27188 \family default
27189 .
27190  A dialog pops up where you can choose between three include methods:
27191 \end_layout
27192
27193 \begin_layout Description
27194 Include You can include LyX and LaTeX-documents.
27195  When you press the 
27196 \family sans
27197 Load
27198 \family default
27199  button in the 
27200 \family sans
27201 Child Document
27202 \family default
27203  dialog, the included documents will be opened in LyX in a new file tab
27204  so that you can modify it.
27205 \newline
27206
27207 \end_layout
27208
27209 \begin_layout Standard
27210 Here is a child document inserted using 
27211 \family sans
27212 Include
27213 \family default
27214
27215 \begin_inset Include \include{DummyDocument1.lyx}
27216 preview false
27217
27218 \end_inset
27219
27220
27221 \end_layout
27222
27223 \begin_layout Standard
27224 The section numbering includes the sections of the included files in the
27225  order they are inserted in the master document.
27226  The included example document has for example a subsection that is numbered
27227  as subsection of this section.
27228  Labels of included documents can be referenced: Subsection\InsetSpace ~
27229
27230 \begin_inset LatexCommand ref
27231 reference "sub:External-Subsection-1"
27232
27233 \end_inset
27234
27235
27236 \end_layout
27237
27238 \begin_layout Standard
27239 The preamble of the child document is ignored, only the preamble of the
27240  master document is used.
27241  Included documents are inserted starting on a new page and end with a pagebreak.
27242 \end_layout
27243
27244 \begin_layout Standard
27245 With the LaTeX-command 
27246 \series bold
27247
27248 \backslash
27249 includeonly 
27250 \series default
27251 you can specify which included child documents are processed when the output
27252  is generated.
27253  This is useful when you are perhaps only working on a certain chapter of
27254  your large document as this saves compiling time.
27255  
27256 \series bold
27257
27258 \backslash
27259 includeonly
27260 \series default
27261  is inserted to the master document preamble.
27262  It takes a comma-separated list of the filenames as argument, e.g.
27263 \end_layout
27264
27265 \begin_layout Standard
27266
27267 \series bold
27268
27269 \backslash
27270 includeonly{chapter1,chapter5}
27271 \end_layout
27272
27273 \begin_layout Standard
27274 will only process the included files named 
27275 \begin_inset Quotes eld
27276 \end_inset
27277
27278 chapter1.lyx
27279 \begin_inset Quotes erd
27280 \end_inset
27281
27282  (or 
27283 \begin_inset Quotes eld
27284 \end_inset
27285
27286 chapter1.tex
27287 \begin_inset Quotes erd
27288 \end_inset
27289
27290 ) and 
27291 \begin_inset Quotes eld
27292 \end_inset
27293
27294 chapter5.lyx
27295 \begin_inset Quotes erd
27296 \end_inset
27297
27298  .
27299 \end_layout
27300
27301 \begin_layout Standard
27302 \begin_inset Note Greyedout
27303 status open
27304
27305 \begin_layout Standard
27306
27307 \series bold
27308 Note:
27309 \series default
27310  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27311 w the document in case that the child document uses another document class
27312  than the master document as this will lead to unexpected outputs.
27313 \end_layout
27314
27315 \end_inset
27316
27317
27318 \end_layout
27319
27320 \begin_layout Description
27321 Input This method is very similar to the Include method.
27322  The differences are:
27323 \end_layout
27324
27325 \begin_deeper
27326 \begin_layout Itemize
27327 Input files don't start with a new page and don't end with a pagebreak.
27328 \end_layout
27329
27330 \begin_layout Itemize
27331 Input files can be previewed in LyX when 
27332 \family sans
27333 Instant\InsetSpace ~
27334 Preview
27335 \family default
27336  is enabled in LyX's preferences under 
27337 \family sans
27338 Look\InsetSpace ~
27339 and\InsetSpace ~
27340 feel\SpecialChar \menuseparator
27341 Graphics
27342 \family default
27343 .
27344 \end_layout
27345
27346 \begin_layout Itemize
27347 The LaTeX-command 
27348 \series bold
27349
27350 \backslash
27351 includeonly
27352 \series default
27353  cannot be used.
27354 \end_layout
27355
27356 \end_deeper
27357 \begin_layout Standard
27358 Here is a child document inserted using 
27359 \family sans
27360 Input
27361 \family default
27362
27363 \begin_inset Include \input{DummyDocument2.lyx}
27364 preview true
27365
27366 \end_inset
27367
27368
27369 \end_layout
27370
27371 \begin_layout Description
27372 Verbatim With this method every text file can be included.
27373  The file is shown in the output with its source code, no command used in
27374  the text is invoked.
27375  You can use the option 
27376 \family sans
27377 Mark spaces in output
27378 \family default
27379  that displays the character 
27380 \begin_inset Quotes eld
27381 \end_inset
27382
27383
27384 \begin_inset ERT
27385 status collapsed
27386
27387 \begin_layout Standard
27388
27389
27390 \backslash
27391 textvisiblespace 
27392 \end_layout
27393
27394 \end_inset
27395
27396
27397 \begin_inset Quotes erd
27398 \end_inset
27399
27400  for every space character in the source code.
27401  The difference to the method via the menu 
27402 \family sans
27403 Insert\SpecialChar \menuseparator
27404 File\SpecialChar \menuseparator
27405 Plain\InsetSpace ~
27406 Text
27407 \family default
27408  is that the document content is not shown in LyX.
27409 \end_layout
27410
27411 \begin_layout Standard
27412 Here is a child document inserted as Verbatim: 
27413 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27414 preview false
27415
27416 \end_inset
27417
27418
27419 \begin_inset VSpace bigskip
27420 \end_inset
27421
27422 Here is a child document inserted as Verbatim using the 
27423 \family sans
27424 Mark spaces in output
27425 \family default
27426  option: 
27427 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27428 preview false
27429
27430 \end_inset
27431
27432
27433 \end_layout
27434
27435 \begin_layout Standard
27436 \begin_inset VSpace bigskip
27437 \end_inset
27438
27439
27440 \end_layout
27441
27442 \begin_layout Standard
27443 \begin_inset Note Greyedout
27444 status open
27445
27446 \begin_layout Standard
27447
27448 \series bold
27449 Note:
27450 \series default
27451  As you can see in the examples above, the text of the documents included
27452  as verbatim is not broken at the end of the document lines.
27453 \end_layout
27454
27455 \end_inset
27456
27457
27458 \end_layout
27459
27460 \begin_layout Standard
27461 \begin_inset Note Greyedout
27462 status open
27463
27464 \begin_layout Standard
27465
27466 \series bold
27467 Note:
27468 \series default
27469  Including the same document twice in a document using different methods
27470  could cause LaTeX-problems.
27471 \end_layout
27472
27473 \end_inset
27474
27475
27476 \end_layout
27477
27478 \begin_layout Standard
27479
27480 \newpage
27481
27482 \end_layout
27483
27484 \begin_layout Chapter
27485 \start_of_appendix
27486 Units available in 
27487 \begin_inset ERT
27488 status collapsed
27489
27490 \begin_layout Standard
27491
27492
27493 \backslash
27494 texorpdfstring{
27495 \end_layout
27496
27497 \end_inset
27498
27499 LyX
27500 \begin_inset ERT
27501 status collapsed
27502
27503 \begin_layout Standard
27504
27505 }{LyX}
27506 \end_layout
27507
27508 \end_inset
27509
27510
27511 \begin_inset LatexCommand index
27512 name "Units"
27513
27514 \end_inset
27515
27516
27517 \begin_inset LatexCommand label
27518 name "cha:Units-available-in"
27519
27520 \end_inset
27521
27522
27523 \begin_inset Note Note
27524 status collapsed
27525
27526 \begin_layout Standard
27527 The command 
27528 \backslash
27529 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27530  are displayed wrongly in PDF-bookmarks.
27531  For more information about this, have a look at 
27532 \begin_inset LatexCommand cite
27533 key "hyperref"
27534
27535 \end_inset
27536
27537 .
27538 \end_layout
27539
27540 \end_inset
27541
27542
27543 \end_layout
27544
27545 \begin_layout Standard
27546 To understand the units described in this documentation, Table\InsetSpace ~
27547
27548 \begin_inset LatexCommand ref
27549 reference "tab:Units"
27550
27551 \end_inset
27552
27553  explains all units available in LyX.
27554 \end_layout
27555
27556 \begin_layout Standard
27557 \begin_inset Float table
27558 placement h
27559 wide false
27560 sideways false
27561 status open
27562
27563 \begin_layout Standard
27564 \begin_inset Caption
27565
27566 \begin_layout Standard
27567 \begin_inset LatexCommand label
27568 name "tab:Units"
27569
27570 \end_inset
27571
27572 Units
27573 \end_layout
27574
27575 \end_inset
27576
27577
27578 \end_layout
27579
27580 \begin_layout Standard
27581 \begin_inset VSpace medskip
27582 \end_inset
27583
27584
27585 \end_layout
27586
27587 \begin_layout Standard
27588 \align center
27589 \begin_inset Tabular
27590 <lyxtabular version="3" rows="20" columns="2">
27591 <features>
27592 <column alignment="center" valignment="top" leftline="true" width="0">
27593 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27594 <row topline="true" bottomline="true">
27595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27596 \begin_inset Text
27597
27598 \begin_layout Standard
27599 unit
27600 \end_layout
27601
27602 \end_inset
27603 </cell>
27604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27605 \begin_inset Text
27606
27607 \begin_layout Standard
27608 name/description
27609 \end_layout
27610
27611 \end_inset
27612 </cell>
27613 </row>
27614 <row topline="true">
27615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27616 \begin_inset Text
27617
27618 \begin_layout Standard
27619 mm
27620 \end_layout
27621
27622 \end_inset
27623 </cell>
27624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27625 \begin_inset Text
27626
27627 \begin_layout Standard
27628 millimeter
27629 \end_layout
27630
27631 \end_inset
27632 </cell>
27633 </row>
27634 <row topline="true">
27635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27636 \begin_inset Text
27637
27638 \begin_layout Standard
27639 cm
27640 \end_layout
27641
27642 \end_inset
27643 </cell>
27644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27645 \begin_inset Text
27646
27647 \begin_layout Standard
27648 centimeter
27649 \end_layout
27650
27651 \end_inset
27652 </cell>
27653 </row>
27654 <row topline="true">
27655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27656 \begin_inset Text
27657
27658 \begin_layout Standard
27659 in
27660 \end_layout
27661
27662 \end_inset
27663 </cell>
27664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27665 \begin_inset Text
27666
27667 \begin_layout Standard
27668 inch
27669 \end_layout
27670
27671 \end_inset
27672 </cell>
27673 </row>
27674 <row topline="true">
27675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27676 \begin_inset Text
27677
27678 \begin_layout Standard
27679 pt
27680 \end_layout
27681
27682 \end_inset
27683 </cell>
27684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27685 \begin_inset Text
27686
27687 \begin_layout Standard
27688 point (72.27\InsetSpace \thinspace{}
27689 pt = 1\InsetSpace \thinspace{}
27690 in)
27691 \end_layout
27692
27693 \end_inset
27694 </cell>
27695 </row>
27696 <row topline="true">
27697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27698 \begin_inset Text
27699
27700 \begin_layout Standard
27701 pc
27702 \end_layout
27703
27704 \end_inset
27705 </cell>
27706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27707 \begin_inset Text
27708
27709 \begin_layout Standard
27710 pica (1\InsetSpace \thinspace{}
27711 pc = 12\InsetSpace \thinspace{}
27712 pt)
27713 \end_layout
27714
27715 \end_inset
27716 </cell>
27717 </row>
27718 <row topline="true">
27719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27720 \begin_inset Text
27721
27722 \begin_layout Standard
27723 sp
27724 \end_layout
27725
27726 \end_inset
27727 </cell>
27728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27729 \begin_inset Text
27730
27731 \begin_layout Standard
27732 scaled point (65536\InsetSpace \thinspace{}
27733 sp = 1\InsetSpace \thinspace{}
27734 pt)
27735 \end_layout
27736
27737 \end_inset
27738 </cell>
27739 </row>
27740 <row topline="true">
27741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27742 \begin_inset Text
27743
27744 \begin_layout Standard
27745 bp
27746 \end_layout
27747
27748 \end_inset
27749 </cell>
27750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27751 \begin_inset Text
27752
27753 \begin_layout Standard
27754 big point (72\InsetSpace \thinspace{}
27755 bp = 1\InsetSpace \thinspace{}
27756 in)
27757 \end_layout
27758
27759 \end_inset
27760 </cell>
27761 </row>
27762 <row topline="true">
27763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27764 \begin_inset Text
27765
27766 \begin_layout Standard
27767 dd
27768 \end_layout
27769
27770 \end_inset
27771 </cell>
27772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27773 \begin_inset Text
27774
27775 \begin_layout Standard
27776 didot (72\InsetSpace \thinspace{}
27777 dd 
27778 \begin_inset Formula $\approx$
27779 \end_inset
27780
27781  37.6\InsetSpace \thinspace{}
27782 mm)
27783 \end_layout
27784
27785 \end_inset
27786 </cell>
27787 </row>
27788 <row topline="true">
27789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27790 \begin_inset Text
27791
27792 \begin_layout Standard
27793 cc
27794 \end_layout
27795
27796 \end_inset
27797 </cell>
27798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27799 \begin_inset Text
27800
27801 \begin_layout Standard
27802 cicero (1\InsetSpace \thinspace{}
27803 cc = 12\InsetSpace \thinspace{}
27804 dd)
27805 \end_layout
27806
27807 \end_inset
27808 </cell>
27809 </row>
27810 <row topline="true">
27811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27812 \begin_inset Text
27813
27814 \begin_layout Standard
27815 Scale%
27816 \end_layout
27817
27818 \end_inset
27819 </cell>
27820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27821 \begin_inset Text
27822
27823 \begin_layout Standard
27824 % of original image width
27825 \end_layout
27826
27827 \end_inset
27828 </cell>
27829 </row>
27830 <row topline="true">
27831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27832 \begin_inset Text
27833
27834 \begin_layout Standard
27835 text%
27836 \end_layout
27837
27838 \end_inset
27839 </cell>
27840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27841 \begin_inset Text
27842
27843 \begin_layout Standard
27844 % of text width
27845 \end_layout
27846
27847 \end_inset
27848 </cell>
27849 </row>
27850 <row topline="true">
27851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27852 \begin_inset Text
27853
27854 \begin_layout Standard
27855 col%
27856 \end_layout
27857
27858 \end_inset
27859 </cell>
27860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27861 \begin_inset Text
27862
27863 \begin_layout Standard
27864 % of column width
27865 \end_layout
27866
27867 \end_inset
27868 </cell>
27869 </row>
27870 <row topline="true">
27871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27872 \begin_inset Text
27873
27874 \begin_layout Standard
27875 page%
27876 \end_layout
27877
27878 \end_inset
27879 </cell>
27880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27881 \begin_inset Text
27882
27883 \begin_layout Standard
27884 % of paper width
27885 \end_layout
27886
27887 \end_inset
27888 </cell>
27889 </row>
27890 <row topline="true">
27891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27892 \begin_inset Text
27893
27894 \begin_layout Standard
27895 line%
27896 \end_layout
27897
27898 \end_inset
27899 </cell>
27900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27901 \begin_inset Text
27902
27903 \begin_layout Standard
27904 % of line width
27905 \end_layout
27906
27907 \end_inset
27908 </cell>
27909 </row>
27910 <row topline="true">
27911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27912 \begin_inset Text
27913
27914 \begin_layout Standard
27915 theight%
27916 \end_layout
27917
27918 \end_inset
27919 </cell>
27920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27921 \begin_inset Text
27922
27923 \begin_layout Standard
27924 % of text height
27925 \end_layout
27926
27927 \end_inset
27928 </cell>
27929 </row>
27930 <row topline="true">
27931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27932 \begin_inset Text
27933
27934 \begin_layout Standard
27935 pheight%
27936 \end_layout
27937
27938 \end_inset
27939 </cell>
27940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27941 \begin_inset Text
27942
27943 \begin_layout Standard
27944 % of paper height
27945 \end_layout
27946
27947 \end_inset
27948 </cell>
27949 </row>
27950 <row topline="true">
27951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27952 \begin_inset Text
27953
27954 \begin_layout Standard
27955 ex
27956 \end_layout
27957
27958 \end_inset
27959 </cell>
27960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27961 \begin_inset Text
27962
27963 \begin_layout Standard
27964 height of letter 
27965 \emph on
27966 x
27967 \emph default
27968  in current font
27969 \end_layout
27970
27971 \end_inset
27972 </cell>
27973 </row>
27974 <row topline="true">
27975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27976 \begin_inset Text
27977
27978 \begin_layout Standard
27979 em
27980 \end_layout
27981
27982 \end_inset
27983 </cell>
27984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27985 \begin_inset Text
27986
27987 \begin_layout Standard
27988 width of letter 
27989 \emph on
27990 M
27991 \emph default
27992  in current font
27993 \end_layout
27994
27995 \end_inset
27996 </cell>
27997 </row>
27998 <row topline="true" bottomline="true">
27999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28000 \begin_inset Text
28001
28002 \begin_layout Standard
28003 mu
28004 \end_layout
28005
28006 \end_inset
28007 </cell>
28008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28009 \begin_inset Text
28010
28011 \begin_layout Standard
28012 math unit (1\InsetSpace \thinspace{}
28013 mu = 1/18\InsetSpace \thinspace{}
28014 em)
28015 \end_layout
28016
28017 \end_inset
28018 </cell>
28019 </row>
28020 </lyxtabular>
28021
28022 \end_inset
28023
28024
28025 \end_layout
28026
28027 \end_inset
28028
28029
28030 \end_layout
28031
28032 \begin_layout Chapter
28033 Output File Formats with Graphics
28034 \begin_inset LatexCommand label
28035 name "cha:Output-File-Formats"
28036
28037 \end_inset
28038
28039
28040 \end_layout
28041
28042 \begin_layout Section
28043 DVI
28044 \begin_inset LatexCommand index
28045 name "File Formats ! DVI"
28046
28047 \end_inset
28048
28049
28050 \begin_inset LatexCommand index
28051 name "DVI|see{File Formats}"
28052
28053 \end_inset
28054
28055
28056 \end_layout
28057
28058 \begin_layout Standard
28059 This file type has the extension 
28060 \begin_inset Quotes eld
28061 \end_inset
28062
28063
28064 \family typewriter
28065 .dvi
28066 \family default
28067
28068 \begin_inset Quotes erd
28069 \end_inset
28070
28071 .
28072  It is called 
28073 \begin_inset Quotes eld
28074 \end_inset
28075
28076 device-independent
28077 \begin_inset Quotes erd
28078 \end_inset
28079
28080  (DVI), because it is completely portable; you can move them from one machine
28081  to another without needing to do any sort of conversion.
28082  At the time when this file-format was developed, this was no matter of
28083  course.
28084  DVIs are used for quick previews and as pre-stage for other output formats,
28085  like PostScript.
28086 \end_layout
28087
28088 \begin_layout Standard
28089 \begin_inset Note Greyedout
28090 status open
28091
28092 \begin_layout Standard
28093
28094 \series bold
28095 Note:
28096 \series default
28097  DVI-files doesn't contain images, they will only be a linked.
28098 \end_layout
28099
28100 \end_inset
28101
28102  So don't forget this, if you move your 
28103 \family typewriter
28104 .dvi
28105 \family default
28106  file to another computer.
28107  This property can also slow down your computer when you view the DVI.
28108  Because the DVI-viewer has to convert the image in the background to make
28109  it visible when you scroll in the DVI.
28110  So we recommend to use PDF for files with many images.
28111 \end_layout
28112
28113 \begin_layout Standard
28114 You can export your document to DVI by using the menu 
28115 \family sans
28116 File\SpecialChar \menuseparator
28117 Export\SpecialChar \menuseparator
28118 DVI
28119 \family default
28120 .
28121  You can view your document as DVI via the 
28122 \family sans
28123 View
28124 \family default
28125  menu or by using the toolbar button 
28126 \begin_inset Graphics
28127         filename ../images/buffer-view_dvi.xpm
28128         scale 85
28129
28130 \end_inset
28131
28132 .
28133 \end_layout
28134
28135 \begin_layout Section
28136 PostScript
28137 \begin_inset LatexCommand label
28138 name "sec:PostScript"
28139
28140 \end_inset
28141
28142
28143 \begin_inset LatexCommand index
28144 name "File Formats ! PostScript"
28145
28146 \end_inset
28147
28148
28149 \begin_inset LatexCommand index
28150 name "PostScript|see{File Formats}"
28151
28152 \end_inset
28153
28154
28155 \end_layout
28156
28157 \begin_layout Standard
28158 This file type has the extension 
28159 \begin_inset Quotes eld
28160 \end_inset
28161
28162
28163 \family typewriter
28164 .ps
28165 \family default
28166
28167 \begin_inset Quotes erd
28168 \end_inset
28169
28170 .
28171  PostScript was developed by the company 
28172 \family typewriter
28173 Adobe
28174 \family default
28175  as printer language.
28176  The file contains therefore commands that the printer uses to print the
28177  file.
28178  PostScript can be seen as 
28179 \begin_inset Quotes eld
28180 \end_inset
28181
28182 programming language
28183 \begin_inset Quotes erd
28184 \end_inset
28185
28186 ; you can calculate with it and draw diagrams and images
28187 \begin_inset Foot
28188 status collapsed
28189
28190 \begin_layout Standard
28191 If you are interested to learn more about this, have a look at the LaTeX-package
28192  
28193 \series bold
28194 PSTricks
28195 \series default
28196  
28197 \begin_inset LatexCommand cite
28198 key "pstricks"
28199
28200 \end_inset
28201
28202 .
28203 \end_layout
28204
28205 \end_inset
28206
28207 .
28208  Due to this ability, the files are often bigger than PDFs.
28209 \end_layout
28210
28211 \begin_layout Standard
28212 PostScript can only contain images in the format 
28213 \begin_inset Quotes eld
28214 \end_inset
28215
28216 Encapsulated PostScript
28217 \begin_inset Quotes erd
28218 \end_inset
28219
28220  (EPS, file extension 
28221 \begin_inset Quotes eld
28222 \end_inset
28223
28224
28225 \family typewriter
28226 .eps
28227 \family default
28228
28229 \begin_inset Quotes erd
28230 \end_inset
28231
28232 ).
28233  As LyX allows you to use any known image format in your document, it has
28234  to convert images in the background to EPS.
28235  If you have e.g 50 images in your document, LyX has to do 50 conversions
28236  whenever you view or export your document.
28237  This will slow down your work flow with LyX drastically.
28238  So if you plan to use PostScript, you can insert your images directly as
28239  EPS to avoid this problem.
28240 \end_layout
28241
28242 \begin_layout Standard
28243 You can export your document to PostScript using the menu 
28244 \family sans
28245 File\SpecialChar \menuseparator
28246 Export\SpecialChar \menuseparator
28247 Postscript
28248 \family default
28249 .
28250  You can view your document as PostScript via the 
28251 \family sans
28252 View
28253 \family default
28254  menu or by using the toolbar button 
28255 \begin_inset Graphics
28256         filename ../images/buffer-view_ps.xpm
28257         scale 85
28258
28259 \end_inset
28260
28261 .
28262 \end_layout
28263
28264 \begin_layout Section
28265 PDF
28266 \begin_inset LatexCommand label
28267 name "sec:PDF"
28268
28269 \end_inset
28270
28271
28272 \begin_inset LatexCommand index
28273 name "File Formats ! PDF"
28274
28275 \end_inset
28276
28277
28278 \begin_inset LatexCommand index
28279 name "PDF"
28280
28281 \end_inset
28282
28283
28284 \end_layout
28285
28286 \begin_layout Standard
28287 This file type has the extension 
28288 \begin_inset Quotes eld
28289 \end_inset
28290
28291
28292 \family typewriter
28293 .pdf
28294 \family default
28295
28296 \begin_inset Quotes erd
28297 \end_inset
28298
28299 .
28300  The 
28301 \begin_inset Quotes eld
28302 \end_inset
28303
28304 Portable Document Format
28305 \begin_inset Quotes erd
28306 \end_inset
28307
28308  (PDF) is developed by 
28309 \family typewriter
28310 Adobe
28311 \family default
28312  as derivative from PostScript.
28313  It is more compressed and it uses much less commands than PostScript.
28314  As the name 
28315 \begin_inset Quotes eld
28316 \end_inset
28317
28318 portable
28319 \begin_inset Quotes erd
28320 \end_inset
28321
28322  implies, it can be processed at any computer system and the printed output
28323  looks exactly the same.
28324 \end_layout
28325
28326 \begin_layout Standard
28327 PDF can contain images in its own PDF format, in the format 
28328 \begin_inset Quotes eld
28329 \end_inset
28330
28331 Joint Photographic Experts Group
28332 \begin_inset Quotes erd
28333 \end_inset
28334
28335  (JPG, file extension 
28336 \begin_inset Quotes eld
28337 \end_inset
28338
28339
28340 \family typewriter
28341 .jpg
28342 \family default
28343
28344 \begin_inset Quotes erd
28345 \end_inset
28346
28347  or 
28348 \begin_inset Quotes eld
28349 \end_inset
28350
28351
28352 \family typewriter
28353 .jpeg
28354 \family default
28355
28356 \begin_inset Quotes erd
28357 \end_inset
28358
28359 ), and in the format 
28360 \begin_inset Quotes eld
28361 \end_inset
28362
28363 Portable Network Graphics
28364 \begin_inset Quotes erd
28365 \end_inset
28366
28367  (PNG, file extension 
28368 \begin_inset Quotes eld
28369 \end_inset
28370
28371
28372 \family typewriter
28373 .png
28374 \family default
28375
28376 \begin_inset Quotes erd
28377 \end_inset
28378
28379 ).
28380  You can although use any other image format, because LyX converts them
28381  in the background to one of these formats.
28382  But as described in the section about PostScript, the image conversion
28383  will slow down your work flow.
28384  So it is recommended to use images in one of the three mentioned formats.
28385 \end_layout
28386
28387 \begin_layout Standard
28388 You can export your document to PDF via the menu 
28389 \family sans
28390 File\SpecialChar \menuseparator
28391 Export
28392 \family default
28393  in three different ways:
28394 \end_layout
28395
28396 \begin_layout Description
28397 PDF This uses the program 
28398 \family typewriter
28399 ps2pdf
28400 \family default
28401  that creates a PDF from a PostScript-version of your file.
28402  The PostScript-version is produced by the program 
28403 \family typewriter
28404 dvips
28405 \family default
28406  which uses a DVI-version as intermediate step.
28407  So this export variant consist of three conversions.
28408 \end_layout
28409
28410 \begin_layout Description
28411 PDF\InsetSpace ~
28412 (dvipdfm) This uses the program 
28413 \family typewriter
28414 dvipdfm
28415 \family default
28416  that converts your file in the background to DVI and in a second step to
28417  PDF.
28418 \end_layout
28419
28420 \begin_layout Description
28421 PDF\InsetSpace ~
28422 (pdflatex) This uses the program 
28423 \family typewriter
28424 pdftex
28425 \family default
28426  that converts your file directly to PDF.
28427 \end_layout
28428
28429 \begin_layout Standard
28430 It is recommended to use 
28431 \family sans
28432 PDF\InsetSpace ~
28433 (pdflatex)
28434 \family default
28435  because 
28436 \family typewriter
28437 pdftex
28438 \family default
28439  supports all features of actual PDF-versions, is quick and works stable
28440  without problems.
28441  The program 
28442 \family typewriter
28443 dvipdfm
28444 \family default
28445  is not under development and therefore a bit outdated.
28446 \end_layout
28447
28448 \begin_layout Standard
28449 You can view your document as PDF via the 
28450 \family sans
28451 View
28452 \family default
28453  menu or by using the toolbar button 
28454 \begin_inset Graphics
28455         filename ../images/buffer-view_pdf2.xpm
28456         scale 85
28457
28458 \end_inset
28459
28460  
28461 \family sans
28462 (
28463 \family default
28464 that uses 
28465 \family sans
28466 PDF\InsetSpace ~
28467 (pdflatex)
28468 \family default
28469 ).
28470 \end_layout
28471
28472 \begin_layout Chapter
28473 Explanation of Equation\InsetSpace ~
28474
28475 \begin_inset LatexCommand eqref
28476 reference "eq:Wgn"
28477
28478 \end_inset
28479
28480
28481 \begin_inset LatexCommand label
28482 name "cha:Explanation-of-Equation"
28483
28484 \end_inset
28485
28486
28487 \end_layout
28488
28489 \begin_layout Standard
28490 The total width of 
28491 \emph on
28492 n
28493 \emph default
28494  table cells 
28495 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28496 \end_inset
28497
28498  can be calculated to
28499 \end_layout
28500
28501 \begin_layout Standard
28502 \begin_inset Formula \begin{equation}
28503 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28504
28505 \end_inset
28506
28507
28508 \end_layout
28509
28510 \begin_layout Standard
28511 Where 
28512 \begin_inset Formula $W_{g\, n}$
28513 \end_inset
28514
28515  is the given width of all cells.
28516  
28517 \series bold
28518
28519 \backslash
28520 tabcolsep
28521 \series default
28522  is the LaTeX-length between the cell text and the cell border, its default
28523  value is 6\InsetSpace \thinspace{}
28524 pt.
28525  
28526 \series bold
28527
28528 \backslash
28529 arrayrulewidth
28530 \series default
28531  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28532 pt.
28533 \end_layout
28534
28535 \begin_layout Standard
28536 Following equation\InsetSpace ~
28537
28538 \begin_inset LatexCommand eqref
28539 reference "eq:Wtot_n"
28540
28541 \end_inset
28542
28543 , the total width of a multicolumn 
28544 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28545 \end_inset
28546
28547  is
28548 \end_layout
28549
28550 \begin_layout Standard
28551 \begin_inset Formula \begin{equation}
28552 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28553
28554 \end_inset
28555
28556
28557 \end_layout
28558
28559 \begin_layout Standard
28560 By setting equation\InsetSpace ~
28561
28562 \begin_inset LatexCommand eqref
28563 reference "eq:Wtot_n"
28564
28565 \end_inset
28566
28567  and 
28568 \begin_inset LatexCommand eqref
28569 reference "eq:Wtot_mult"
28570
28571 \end_inset
28572
28573  equal we can calculate the needed given width 
28574 \begin_inset Formula $W_{g\, n}$
28575 \end_inset
28576
28577  when 
28578 \emph on
28579 n
28580 \emph default
28581  columns are spanned, so that each column has a total width of 
28582 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28583 \end_inset
28584
28585 :
28586 \end_layout
28587
28588 \begin_layout Standard
28589 \begin_inset Formula \begin{equation}
28590 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28591
28592 \end_inset
28593
28594
28595 \end_layout
28596
28597 \begin_layout Bibliography
28598 \begin_inset LatexCommand bibitem
28599 key "latexcompanion"
28600
28601 \end_inset
28602
28603 Frank Mittelbach and Michel Goossens: 
28604 \emph on
28605 The LaTeX Companion Second Edition.
28606
28607 \emph default
28608  Addison-Wesley, 2004
28609 \end_layout
28610
28611 \begin_layout Bibliography
28612 \begin_inset LatexCommand bibitem
28613 key "latexguide"
28614
28615 \end_inset
28616
28617 Helmut Kopka and Patrick W.
28618  Daly: 
28619 \emph on
28620 A Guide to LaTeX Fourth Edition.
28621
28622 \emph default
28623  Addison-Wesley, 2003
28624 \end_layout
28625
28626 \begin_layout Bibliography
28627 \begin_inset LatexCommand bibitem
28628 key "latexbook"
28629
28630 \end_inset
28631
28632 Leslie Lamport: 
28633 \emph on
28634 LaTeX: A Document Preparation System.
28635
28636 \emph default
28637  Addison-Wesley, second edition, 1994
28638 \end_layout
28639
28640 \begin_layout Bibliography
28641 \begin_inset LatexCommand bibitem
28642 key "booktabs"
28643
28644 \end_inset
28645
28646
28647 \begin_inset ERT
28648 status collapsed
28649
28650 \begin_layout Standard
28651
28652
28653 \backslash
28654 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28655 {
28656 \end_layout
28657
28658 \end_inset
28659
28660 Documentation
28661 \begin_inset ERT
28662 status collapsed
28663
28664 \begin_layout Standard
28665
28666 }
28667 \end_layout
28668
28669 \end_inset
28670
28671  of the LaTeX-package 
28672 \series bold
28673 booktabs
28674 \series default
28675
28676 \begin_inset LatexCommand index
28677 name "LaTeX-packages ! booktabs"
28678
28679 \end_inset
28680
28681
28682 \end_layout
28683
28684 \begin_layout Bibliography
28685 \begin_inset LatexCommand bibitem
28686 key "caption"
28687
28688 \end_inset
28689
28690
28691 \begin_inset ERT
28692 status collapsed
28693
28694 \begin_layout Standard
28695
28696
28697 \backslash
28698 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
28699 \end_layout
28700
28701 \end_inset
28702
28703 Documentation
28704 \begin_inset ERT
28705 status collapsed
28706
28707 \begin_layout Standard
28708
28709 }
28710 \end_layout
28711
28712 \end_inset
28713
28714  of the LaTeX-package 
28715 \series bold
28716 caption
28717 \series default
28718
28719 \begin_inset LatexCommand index
28720 name "LaTeX-packages ! caption"
28721
28722 \end_inset
28723
28724
28725 \end_layout
28726
28727 \begin_layout Bibliography
28728 \begin_inset LatexCommand bibitem
28729 key "caption-de"
28730
28731 \end_inset
28732
28733 German 
28734 \begin_inset ERT
28735 status collapsed
28736
28737 \begin_layout Standard
28738
28739
28740 \backslash
28741 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28742 {
28743 \end_layout
28744
28745 \end_inset
28746
28747 documentation
28748 \begin_inset ERT
28749 status collapsed
28750
28751 \begin_layout Standard
28752
28753 }
28754 \end_layout
28755
28756 \end_inset
28757
28758  of the LaTeX-package 
28759 \series bold
28760 caption
28761 \end_layout
28762
28763 \begin_layout Bibliography
28764 \begin_inset LatexCommand bibitem
28765 key "endfloat"
28766
28767 \end_inset
28768
28769
28770 \begin_inset ERT
28771 status collapsed
28772
28773 \begin_layout Standard
28774
28775
28776 \backslash
28777 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28778 {
28779 \end_layout
28780
28781 \end_inset
28782
28783 Documentation
28784 \begin_inset ERT
28785 status collapsed
28786
28787 \begin_layout Standard
28788
28789 }
28790 \end_layout
28791
28792 \end_inset
28793
28794  of the LaTeX-package 
28795 \series bold
28796 endf\SpecialChar \textcompwordmark{}
28797 loat
28798 \series default
28799
28800 \begin_inset LatexCommand index
28801 name "LaTeX-packages ! endfloat"
28802
28803 \end_inset
28804
28805
28806 \end_layout
28807
28808 \begin_layout Bibliography
28809 \begin_inset LatexCommand bibitem
28810 key "floatflt"
28811
28812 \end_inset
28813
28814
28815 \begin_inset ERT
28816 status collapsed
28817
28818 \begin_layout Standard
28819
28820
28821 \backslash
28822 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28823 {
28824 \end_layout
28825
28826 \end_inset
28827
28828 Documentation
28829 \begin_inset ERT
28830 status collapsed
28831
28832 \begin_layout Standard
28833
28834 }
28835 \end_layout
28836
28837 \end_inset
28838
28839  of the LaTeX-package 
28840 \series bold
28841 floatf\SpecialChar \textcompwordmark{}
28842 lt
28843 \series default
28844
28845 \begin_inset LatexCommand index
28846 name "LaTeX-packages ! floatflt"
28847
28848 \end_inset
28849
28850
28851 \end_layout
28852
28853 \begin_layout Bibliography
28854 \begin_inset LatexCommand bibitem
28855 key "footmisc"
28856
28857 \end_inset
28858
28859
28860 \begin_inset ERT
28861 status collapsed
28862
28863 \begin_layout Standard
28864
28865
28866 \backslash
28867 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
28868 {
28869 \end_layout
28870
28871 \end_inset
28872
28873 Documentation
28874 \begin_inset ERT
28875 status collapsed
28876
28877 \begin_layout Standard
28878
28879 }
28880 \end_layout
28881
28882 \end_inset
28883
28884  of the LaTeX-package 
28885 \series bold
28886 footmisc
28887 \series default
28888
28889 \begin_inset LatexCommand index
28890 name "LaTeX-packages ! footmisc"
28891
28892 \end_inset
28893
28894
28895 \end_layout
28896
28897 \begin_layout Bibliography
28898 \begin_inset LatexCommand bibitem
28899 key "hypcap"
28900
28901 \end_inset
28902
28903
28904 \begin_inset ERT
28905 status collapsed
28906
28907 \begin_layout Standard
28908
28909
28910 \backslash
28911 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
28912 \end_layout
28913
28914 \end_inset
28915
28916 Documentation
28917 \begin_inset ERT
28918 status collapsed
28919
28920 \begin_layout Standard
28921
28922 }
28923 \end_layout
28924
28925 \end_inset
28926
28927  of the LaTeX-package 
28928 \series bold
28929 hypcap
28930 \series default
28931
28932 \begin_inset LatexCommand index
28933 name "LaTeX-packages ! hyperref"
28934
28935 \end_inset
28936
28937
28938 \end_layout
28939
28940 \begin_layout Bibliography
28941 \begin_inset LatexCommand bibitem
28942 key "hyperref"
28943
28944 \end_inset
28945
28946
28947 \begin_inset ERT
28948 status collapsed
28949
28950 \begin_layout Standard
28951
28952
28953 \backslash
28954 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28955 {
28956 \end_layout
28957
28958 \end_inset
28959
28960 Documentation
28961 \begin_inset ERT
28962 status collapsed
28963
28964 \begin_layout Standard
28965
28966 }
28967 \end_layout
28968
28969 \end_inset
28970
28971  of the LaTeX-package 
28972 \series bold
28973 hyperref
28974 \series default
28975
28976 \begin_inset LatexCommand index
28977 name "LaTeX-packages ! hyperref"
28978
28979 \end_inset
28980
28981
28982 \end_layout
28983
28984 \begin_layout Bibliography
28985 \begin_inset LatexCommand bibitem
28986 key "koma-script"
28987
28988 \end_inset
28989
28990
28991 \begin_inset ERT
28992 status collapsed
28993
28994 \begin_layout Standard
28995
28996
28997 \backslash
28998 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28999 df}{
29000 \end_layout
29001
29002 \end_inset
29003
29004 Documentation
29005 \begin_inset ERT
29006 status collapsed
29007
29008 \begin_layout Standard
29009
29010 }
29011 \end_layout
29012
29013 \end_inset
29014
29015  of the LaTeX-package 
29016 \series bold
29017 koma-script
29018 \series default
29019
29020 \begin_inset LatexCommand index
29021 name "LaTeX-packages ! koma-script"
29022
29023 \end_inset
29024
29025
29026 \end_layout
29027
29028 \begin_layout Bibliography
29029 \begin_inset LatexCommand bibitem
29030 key "koma-script-de"
29031
29032 \end_inset
29033
29034 German 
29035 \begin_inset ERT
29036 status collapsed
29037
29038 \begin_layout Standard
29039
29040
29041 \backslash
29042 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29043 df}{
29044 \end_layout
29045
29046 \end_inset
29047
29048 documentation
29049 \begin_inset ERT
29050 status collapsed
29051
29052 \begin_layout Standard
29053
29054 }
29055 \end_layout
29056
29057 \end_inset
29058
29059  of the LaTeX-package 
29060 \series bold
29061 koma-script
29062 \series default
29063
29064 \begin_inset LatexCommand index
29065 name "LaTeX-packages ! koma-script"
29066
29067 \end_inset
29068
29069
29070 \end_layout
29071
29072 \begin_layout Bibliography
29073 \begin_inset LatexCommand bibitem
29074 key "marginnote"
29075
29076 \end_inset
29077
29078
29079 \begin_inset ERT
29080 status collapsed
29081
29082 \begin_layout Standard
29083
29084
29085 \backslash
29086 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29087 pdf}{
29088 \end_layout
29089
29090 \end_inset
29091
29092 Documentation
29093 \begin_inset ERT
29094 status collapsed
29095
29096 \begin_layout Standard
29097
29098 }
29099 \end_layout
29100
29101 \end_inset
29102
29103  of the LaTeX-package 
29104 \series bold
29105 marginnote
29106 \series default
29107
29108 \begin_inset LatexCommand index
29109 name "LaTeX-packages ! marginnote"
29110
29111 \end_inset
29112
29113
29114 \end_layout
29115
29116 \begin_layout Bibliography
29117 \begin_inset LatexCommand bibitem
29118 key "pstricks"
29119
29120 \end_inset
29121
29122
29123 \begin_inset ERT
29124 status collapsed
29125
29126 \begin_layout Standard
29127
29128
29129 \backslash
29130 href{http://tug.org/PSTricks/main.cgi/}{
29131 \end_layout
29132
29133 \end_inset
29134
29135 Web page
29136 \begin_inset ERT
29137 status collapsed
29138
29139 \begin_layout Standard
29140
29141 }
29142 \end_layout
29143
29144 \end_inset
29145
29146  of the LaTeX-package 
29147 \series bold
29148 PSTricks
29149 \series default
29150
29151 \begin_inset LatexCommand index
29152 name "LaTeX-packages ! PSTricks"
29153
29154 \end_inset
29155
29156
29157 \end_layout
29158
29159 \begin_layout Bibliography
29160 \begin_inset LatexCommand bibitem
29161 key "sidecap"
29162
29163 \end_inset
29164
29165
29166 \begin_inset ERT
29167 status collapsed
29168
29169 \begin_layout Standard
29170
29171
29172 \backslash
29173 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29174 \end_layout
29175
29176 \end_inset
29177
29178 Documentation
29179 \begin_inset ERT
29180 status collapsed
29181
29182 \begin_layout Standard
29183
29184 }
29185 \end_layout
29186
29187 \end_inset
29188
29189  of the LaTeX-package 
29190 \series bold
29191 sidecap
29192 \series default
29193
29194 \begin_inset LatexCommand index
29195 name "LaTeX-packages ! sidecap"
29196
29197 \end_inset
29198
29199
29200 \end_layout
29201
29202 \begin_layout Bibliography
29203 \begin_inset LatexCommand bibitem
29204 key "NewInLyX15"
29205
29206 \end_inset
29207
29208
29209 \begin_inset ERT
29210 status collapsed
29211
29212 \begin_layout Standard
29213
29214
29215 \backslash
29216 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29217 \end_layout
29218
29219 \end_inset
29220
29221 Wiki page
29222 \begin_inset ERT
29223 status collapsed
29224
29225 \begin_layout Standard
29226
29227 }
29228 \end_layout
29229
29230 \end_inset
29231
29232  about new LyX-features planned for the release 
29233 \family sans
29234 LyX 1.5
29235 \family default
29236 .
29237 \end_layout
29238
29239 \begin_layout Standard
29240 \begin_inset LatexCommand printindex
29241
29242 \end_inset
29243
29244
29245 \end_layout
29246
29247 \begin_layout Standard
29248 \begin_inset FloatList figure
29249
29250 \end_inset
29251
29252
29253 \end_layout
29254
29255 \begin_layout Standard
29256 \begin_inset FloatList table
29257
29258 \end_inset
29259
29260
29261 \end_layout
29262
29263 \end_body
29264 \end_document