]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Customization.lyx: add again a hint about bindings to avoid confusions
[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, Boxes and External Material
215  manual
216 \end_layout
217
218 \begin_layout Author
219 by the LyX Team
220 \begin_inset Foot
221 status collapsed
222
223 \begin_layout Standard
224 \noindent
225 If you have comments or error corrections, please send them to the LyX Documenta
226 tion mailing list: 
227 \family typewriter
228
229 \begin_inset ERT
230 status open
231
232 \begin_layout Standard
233
234
235 \backslash
236 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
237 \end_layout
238
239 \end_inset
240
241 lyx-docs@lists.lyx.org
242 \begin_inset ERT
243 status collapsed
244
245 \begin_layout Standard
246
247 }
248 \end_layout
249
250 \end_inset
251
252
253 \end_layout
254
255 \end_inset
256
257
258 \begin_inset Note Note
259 status collapsed
260
261 \begin_layout Standard
262 original author: Uwe Stöhr
263 \end_layout
264
265 \end_inset
266
267
268 \newline
269
270 \newline
271
272 \family sans
273 Version 1.5.0-
274 \family default
275 1
276 \end_layout
277
278 \begin_layout Standard
279 \begin_inset LatexCommand tableofcontents
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout Standard
287 \begin_inset Note Note
288 status open
289
290 \begin_layout Standard
291 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
292  
293 \series bold
294 arydshln
295 \series default
296  and 
297 \series bold
298 marginnote
299 \series default
300  must be installed.
301  If they are not installed you can export the document anyway but the sections
302  where the packages are required won't appear in the output.
303 \end_layout
304
305 \begin_layout Standard
306 The latest PDF-version of this document can be found here:
307 \newline
308
309 \series bold
310 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
311 \end_layout
312
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Chapter
319 Figures
320 \begin_inset LatexCommand label
321 name "cha:Figures"
322
323 \end_inset
324
325
326 \begin_inset LatexCommand index
327 name "Figures"
328
329 \end_inset
330
331
332 \begin_inset LatexCommand index
333 name "Graphics|see{Figures}"
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Section
341 Graphics Dialog
342 \begin_inset LatexCommand index
343 name "Figures ! Graphics Dialog"
344
345 \end_inset
346
347
348 \begin_inset LatexCommand label
349 name "sec:Graphics-Dialog"
350
351 \end_inset
352
353
354 \end_layout
355
356 \begin_layout Standard
357 To insert an image into your document, place the cursor at the text position
358  you want and click on the toolbar icon 
359 \begin_inset Graphics
360         filename ../images/dialog-show-new-inset_graphics.xpm
361         scale 85
362
363 \end_inset
364
365  or use the menu 
366 \family sans
367 Insert\SpecialChar \menuseparator
368 Graphics
369 \family default
370 .
371  Then a dialog will appear to choose the file to load.
372  The image will appear in the output exactly at the position where it is
373  in the text.
374 \end_layout
375
376 \begin_layout Standard
377 The graphics dialog can be called at any time by right-clicking on an image.
378  This dialog has three tabs:
379 \end_layout
380
381 \begin_layout Description
382
383 \family sans
384 Graphics
385 \family default
386  Here you can choose an image file and adjust its appearance in the output.
387  The available units for the image size are explained in appendix\InsetSpace ~
388
389 \begin_inset LatexCommand ref
390 reference "cha:Units-available-in"
391
392 \end_inset
393
394 .
395 \newline
396 You can rotate images counter-clockwise by setting a rotation angle and
397  a rotation origin.
398  The image will also be rotated inside LyX.
399 \newline
400 Images can be opened in a program
401  of your choice when pressing the 
402 \family sans
403 Edit
404 \family default
405  button.
406  The program can be set for every image format in the file format settings
407  in LyX's preferences.
408 \end_layout
409
410 \begin_layout Description
411
412 \family sans
413 Clipping
414 \family default
415  Alternatively to the usage of scaling units it is possible to set image
416  coordinates to adjust the height and width of the image in the output.
417  The coordinates can also be calculated automatically by pressing the button
418  
419 \family sans
420 Get\InsetSpace ~
421 from\InsetSpace ~
422 File
423 \family default
424 .
425  The option 
426 \family sans
427 Clip\InsetSpace ~
428 to\InsetSpace ~
429 bounding\InsetSpace ~
430 box
431 \family default
432  will only print the image region within the given coordinates.
433  Normally you don't need to take care about image coordinates and can ignore
434  this tab.
435 \end_layout
436
437 \begin_layout Description
438
439 \family sans
440 Extra\InsetSpace ~
441 options
442 \family default
443  In this tab you can modify the appearance of the image within LyX and set
444  the image to be a subfigure of a figure float with an own caption.
445  Subfigures are explained in section\InsetSpace ~
446
447 \begin_inset LatexCommand ref
448 reference "sec:Figure-Floats"
449
450 \end_inset
451
452 .
453 \newline
454  LaTeX experts can also specify on this tab additional LaTeX options.
455 \newline
456  The
457  option 
458 \family sans
459 Draft\InsetSpace ~
460 mode
461 \family default
462  makes the image appear in the output only as a frame with the size of the
463  image.
464 \newline
465 The 
466 \family sans
467 Don't\InsetSpace ~
468 unzip\InsetSpace ~
469 on\InsetSpace ~
470 export
471 \family default
472  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
473 g.\InsetSpace ~
474
475 \emph on
476 x.eps.gz
477 \emph default
478 .
479  When the option is used the images will not be unzipped on export, since
480  LaTeX can handle them as they are.
481 \newline
482 Zipped EPS-graphics are useful to save
483  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
484
485 \begin_inset LatexCommand ref
486 reference "sec:PostScript"
487
488 \end_inset
489
490 .
491  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
492  console:
493 \newline
494
495 \series bold
496 gzip x.eps
497 \series default
498
499 \newline
500
501 \series bold
502 zgrep %%Bounding x.eps.gz > x.eps.bb
503 \series default
504
505 \newline
506 The second command creates the bounding box file 
507 \begin_inset Quotes eld
508 \end_inset
509
510 x.eps.bb
511 \begin_inset Quotes erd
512 \end_inset
513
514  that is needed by LaTeX for zipped graphics.
515 \end_layout
516
517 \begin_layout Standard
518 \begin_inset VSpace bigskip
519 \end_inset
520
521
522 \end_layout
523
524 \begin_layout Standard
525 This is an example image in EPS format
526 \begin_inset Foot
527 status collapsed
528
529 \begin_layout Standard
530 Image formats are explained in section\InsetSpace ~
531
532 \begin_inset LatexCommand ref
533 reference "sec:Image-Formats"
534
535 \end_inset
536
537 .
538 \end_layout
539
540 \end_inset
541
542  within a separate, horizontally centered paragraph:
543 \end_layout
544
545 \begin_layout Standard
546 \align center
547 \begin_inset Graphics
548         filename clipart/mobius.eps
549         display color
550         scale 70
551         rotateOrigin center
552
553 \end_inset
554
555
556 \end_layout
557
558 \begin_layout Standard
559 This is the same image like the one above but in draft mode:
560 \end_layout
561
562 \begin_layout Standard
563 \align center
564 \begin_inset Graphics
565         filename clipart/mobius.eps
566         display color
567         scale 70
568         draft
569         rotateOrigin center
570
571 \end_inset
572
573
574 \end_layout
575
576 \begin_layout Section
577 Figure Floats
578 \begin_inset LatexCommand label
579 name "sec:Figure-Floats"
580
581 \end_inset
582
583
584 \begin_inset LatexCommand index
585 name "Floats ! Figure Floats"
586
587 \end_inset
588
589
590 \begin_inset LatexCommand index
591 name "Figures ! Floats"
592
593 \end_inset
594
595
596 \end_layout
597
598 \begin_layout Standard
599 For general explanations about floats, have a look at section\InsetSpace ~
600
601 \begin_inset LatexCommand ref
602 reference "sec:FloatIntroduction"
603
604 \end_inset
605
606 .
607 \end_layout
608
609 \begin_layout Standard
610 The toolbar button 
611 \begin_inset Graphics
612         filename ../images/float-insert_figure.xpm
613         scale 85
614
615 \end_inset
616
617  and the menu 
618 \family sans
619 Insert\SpecialChar \menuseparator
620 Float\SpecialChar \menuseparator
621 Figure
622 \family default
623  inserts a float with a caption that has the label 
624 \begin_inset Quotes eld
625 \end_inset
626
627 Figure\InsetSpace ~
628 #:
629 \begin_inset Quotes erd
630 \end_inset
631
632  (# is the actual number).
633  You can insert the image above the caption, like in Figure\InsetSpace ~
634
635 \begin_inset LatexCommand ref
636 reference "fig:kill-plat"
637
638 \end_inset
639
640  or below the caption, like in Figure\InsetSpace ~
641
642 \begin_inset LatexCommand ref
643 reference "fig:escher"
644
645 \end_inset
646
647 .
648  More about the caption placement is described in section\InsetSpace ~
649
650 \begin_inset LatexCommand ref
651 reference "sec:Caption-Placement"
652
653 \end_inset
654
655 .
656 \end_layout
657
658 \begin_layout Standard
659 \begin_inset Float figure
660 wide false
661 sideways false
662 status open
663
664 \begin_layout Standard
665 \align center
666 \begin_inset Graphics
667         filename clipart/platypus.eps
668         display color
669         width 50col%
670         rotateOrigin center
671
672 \end_inset
673
674
675 \end_layout
676
677 \begin_layout Standard
678 \begin_inset Caption
679
680 \begin_layout Standard
681 \begin_inset LatexCommand label
682 name "fig:kill-plat"
683
684 \end_inset
685
686 A severely distorted platypus in a float.
687 \end_layout
688
689 \end_inset
690
691
692 \end_layout
693
694 \end_inset
695
696
697 \end_layout
698
699 \begin_layout Standard
700 \begin_inset Float figure
701 wide false
702 sideways false
703 status open
704
705 \begin_layout Standard
706 \begin_inset Caption
707
708 \begin_layout Standard
709 \begin_inset LatexCommand label
710 name "fig:escher"
711
712 \end_inset
713
714 M.C.
715  Escher on acid.
716 \end_layout
717
718 \end_inset
719
720
721 \end_layout
722
723 \begin_layout Standard
724 \align center
725 \begin_inset Graphics
726         filename clipart/escher-lsd.eps
727         display color
728         scale 80
729         rotateOrigin center
730
731 \end_inset
732
733
734 \end_layout
735
736 \end_inset
737
738
739 \end_layout
740
741 \begin_layout Standard
742 \begin_inset LatexCommand index
743 name "References ! to Figures"
744
745 \end_inset
746
747 Figure\InsetSpace ~
748
749 \begin_inset LatexCommand ref
750 reference "fig:kill-plat"
751
752 \end_inset
753
754  and 
755 \begin_inset LatexCommand ref
756 reference "fig:escher"
757
758 \end_inset
759
760  are examples of referenced figures.
761  Figures can be referenced in the text by referencing their label.
762  To do this insert a label in the caption using the menu 
763 \family sans
764 Insert\SpecialChar \menuseparator
765 Label
766 \family default
767  or the toolbar button 
768 \begin_inset Graphics
769         filename ../images/label-insert.xpm
770         scale 85
771
772 \end_inset
773
774 .
775  You can now refer to the label using the menu 
776 \family sans
777 Insert\SpecialChar \menuseparator
778 Cross\InsetSpace ~
779 reference
780 \family default
781  or the toolbar button 
782 \begin_inset Graphics
783         filename ../images/dialog-show-new-inset_ref.xpm
784         scale 85
785
786 \end_inset
787
788 .
789  It is important to use references to floats, rather than using vague references
790  like 
791 \begin_inset Quotes eld
792 \end_inset
793
794 the figure above
795 \begin_inset Quotes erd
796 \end_inset
797
798 , because as LaTeX will reposition the floats in the final document, it
799  might not be 
800 \begin_inset Quotes eld
801 \end_inset
802
803 above
804 \begin_inset Quotes erd
805 \end_inset
806
807  at all.
808 \newline
809 Referencing is explained in detail in section\InsetSpace ~
810
811 \begin_inset LatexCommand ref
812 reference "sec:Referencing-Floats"
813
814 \end_inset
815
816 .
817 \end_layout
818
819 \begin_layout Standard
820 Normally only one image is inserted to a figure float, but sometimes you
821  might want to use two images with separate subcaptions.
822  This can be set in the tab 
823 \family sans
824 Extra\InsetSpace ~
825 options
826 \family default
827  of the graphics dialog.
828  Choose there the option 
829 \family sans
830 Subfigure
831 \family default
832  and enter the subcaption for the image in the caption field.
833  Note that only the main caption of the float is added to the List of Figures.
834 \newline
835 Ref
836 erencing subfigures is explained in section\InsetSpace ~
837
838 \begin_inset LatexCommand ref
839 reference "sub:Referencing-Subfigures"
840
841 \end_inset
842
843 .
844 \end_layout
845
846 \begin_layout Standard
847 Figure\InsetSpace ~
848
849 \begin_inset LatexCommand ref
850 reference "fig:Two-distorted-images"
851
852 \end_inset
853
854  is an example of a figure float with two images set side by side.
855  You can also set the images one below the other.
856 \end_layout
857
858 \begin_layout Standard
859 \begin_inset Float figure
860 wide false
861 sideways false
862 status open
863
864 \begin_layout Standard
865
866 \hfill
867
868 \begin_inset Graphics
869         filename clipart/escher-lsd.eps
870         width 45col%
871         subcaption
872         subcaptionText "Undefinable structure"
873
874 \end_inset
875
876
877 \hfill
878
879 \begin_inset Graphics
880         filename clipart/platypus.eps
881         lyxscale 60
882         width 45col%
883         subcaption
884         subcaptionText "\label{fig:Platypus} Platypus"
885
886 \end_inset
887
888
889 \hfill
890
891 \end_layout
892
893 \begin_layout Standard
894 \begin_inset Caption
895
896 \begin_layout Standard
897 \begin_inset LatexCommand label
898 name "fig:Two-distorted-images"
899
900 \end_inset
901
902 Two distorted images.
903 \end_layout
904
905 \end_inset
906
907
908 \end_layout
909
910 \end_inset
911
912
913 \end_layout
914
915 \begin_layout Section
916 Image Formats
917 \begin_inset LatexCommand label
918 name "sec:Image-Formats"
919
920 \end_inset
921
922
923 \begin_inset LatexCommand index
924 name "Image Formats"
925
926 \end_inset
927
928
929 \begin_inset LatexCommand index
930 name "Figures ! Image Formats"
931
932 \end_inset
933
934
935 \end_layout
936
937 \begin_layout Standard
938 You can insert images in any known file format.
939  But as explained in appendix\InsetSpace ~
940
941 \begin_inset LatexCommand ref
942 reference "cha:Output-File-Formats"
943
944 \end_inset
945
946 , every output document format allows only a few image formats.
947  LyX uses therefore the program 
948 \family typewriter
949 Imagemagick
950 \family default
951  in the background to convert the images to the right format.
952  To increase your work flow by avoiding these conversions in the background,
953  you can use only the image formats that can directly be embedded in the
954  output file format.
955  The output file formats are explained in appendix\InsetSpace ~
956
957 \begin_inset LatexCommand ref
958 reference "cha:Output-File-Formats"
959
960 \end_inset
961
962 .
963 \end_layout
964
965 \begin_layout Standard
966 Similar to fonts there are two types of image formats:
967 \end_layout
968
969 \begin_layout Description
970 Bitmap\InsetSpace ~
971 images consist of pixel values, often in a compressed form.
972  They are therefore not fully scalable and look pixeled in large zooms.
973  Well-known bitmap image formats are 
974 \begin_inset Quotes eld
975 \end_inset
976
977 Graphics Interchange Format
978 \begin_inset Quotes erd
979 \end_inset
980
981  (GIF, file extension 
982 \begin_inset Quotes eld
983 \end_inset
984
985
986 \family typewriter
987 .gif
988 \family default
989
990 \begin_inset Quotes erd
991 \end_inset
992
993 )
994 \begin_inset LatexCommand index
995 name "GIF|see{Image formats}"
996
997 \end_inset
998
999
1000 \begin_inset Quotes eld
1001 \end_inset
1002
1003 Portable Network Graphics
1004 \begin_inset Quotes erd
1005 \end_inset
1006
1007  (PNG, file extension 
1008 \begin_inset Quotes eld
1009 \end_inset
1010
1011
1012 \family typewriter
1013 .png
1014 \family default
1015
1016 \begin_inset Quotes erd
1017 \end_inset
1018
1019 )
1020 \begin_inset LatexCommand index
1021 name "PNG|see{Image formats}"
1022
1023 \end_inset
1024
1025 , and 
1026 \begin_inset Quotes eld
1027 \end_inset
1028
1029 Joint Photographic Experts Group
1030 \begin_inset Quotes erd
1031 \end_inset
1032
1033  (JPG, file extension 
1034 \begin_inset Quotes eld
1035 \end_inset
1036
1037
1038 \family typewriter
1039 .jpg
1040 \family default
1041
1042 \begin_inset Quotes erd
1043 \end_inset
1044
1045  or 
1046 \begin_inset Quotes eld
1047 \end_inset
1048
1049
1050 \family typewriter
1051 .jpeg
1052 \family default
1053
1054 \begin_inset Quotes erd
1055 \end_inset
1056
1057 )
1058 \begin_inset LatexCommand index
1059 name "JPG|see{Image formats}"
1060
1061 \end_inset
1062
1063 .
1064 \end_layout
1065
1066 \begin_layout Description
1067 Vector\InsetSpace ~
1068 images consist of vectors and can therefore be scaled to any size
1069  without data loss.
1070  The scaling ability is necessary if you want to create presentations, because
1071  presentations are always scaled by the video projector.
1072  Scaling is also useful for online documents to let the user zoom into diagrams.
1073 \newline
1074 W
1075 ell-known scalable image formats are 
1076 \begin_inset Quotes eld
1077 \end_inset
1078
1079 Scalable Vector Graphics
1080 \begin_inset Quotes erd
1081 \end_inset
1082
1083  (SVG, file extension 
1084 \begin_inset Quotes eld
1085 \end_inset
1086
1087
1088 \family typewriter
1089 .svg
1090 \family default
1091
1092 \begin_inset Quotes erd
1093 \end_inset
1094
1095 )
1096 \begin_inset LatexCommand index
1097 name "SVG|see{Image formats}"
1098
1099 \end_inset
1100
1101
1102 \begin_inset Quotes eld
1103 \end_inset
1104
1105 Encapsulated PostScript
1106 \begin_inset Quotes erd
1107 \end_inset
1108
1109  (EPS, file extension 
1110 \begin_inset Quotes eld
1111 \end_inset
1112
1113
1114 \family typewriter
1115 .eps
1116 \family default
1117
1118 \begin_inset Quotes erd
1119 \end_inset
1120
1121 )
1122 \begin_inset LatexCommand index
1123 name "EPS|see{Image formats}"
1124
1125 \end_inset
1126
1127
1128 \begin_inset Quotes eld
1129 \end_inset
1130
1131 Portable Document Format
1132 \begin_inset Quotes erd
1133 \end_inset
1134
1135  (PDF, file extension 
1136 \begin_inset Quotes eld
1137 \end_inset
1138
1139
1140 \family typewriter
1141 .pdf
1142 \family default
1143
1144 \begin_inset Quotes erd
1145 \end_inset
1146
1147 )
1148 \begin_inset LatexCommand index
1149 name "PDF"
1150
1151 \end_inset
1152
1153 , and 
1154 \begin_inset Quotes eld
1155 \end_inset
1156
1157 Windows Metafile
1158 \begin_inset Quotes erd
1159 \end_inset
1160
1161  (WMF, file extension 
1162 \begin_inset Quotes eld
1163 \end_inset
1164
1165
1166 \family typewriter
1167 .wmf
1168 \family default
1169
1170 \begin_inset Quotes erd
1171 \end_inset
1172
1173 )
1174 \begin_inset LatexCommand index
1175 name "SVG|see{Image formats}"
1176
1177 \end_inset
1178
1179 .
1180  We wrote 
1181 \begin_inset Quotes eld
1182 \end_inset
1183
1184 can be
1185 \begin_inset Quotes erd
1186 \end_inset
1187
1188 , because you can convert any bitmap image to a PDF or EPS-image and the
1189  result will still be a bitmap image.
1190  In this cases only a header with the image properties is added to the original
1191  image
1192 \begin_inset Foot
1193 status open
1194
1195 \begin_layout Standard
1196 In the case of PDF, the original image is additionally compressed.
1197 \end_layout
1198
1199 \end_inset
1200
1201 .
1202  The PDF-files generated by 
1203 \family typewriter
1204 Adobe Photoshop
1205 \family default
1206  are for example bitmap images.
1207 \end_layout
1208
1209 \begin_layout Standard
1210 Normally it is not possible to convert a bitmap image into a scalable one,
1211  only vice versa.
1212  Only the image formats PDF and EPS can directly be embedded to PDF and
1213  PostScript output files, respectively.
1214  SVG and WMF-images are currently recalculated to bitmaps when the output
1215  file is generated because there is currently no adequate WMF/SVG
1216 \begin_inset Formula $\to$
1217 \end_inset
1218
1219 PDF/EPS converter available.
1220 \end_layout
1221
1222 \begin_layout Chapter
1223 Tables
1224 \begin_inset LatexCommand label
1225 name "cha:Tables"
1226
1227 \end_inset
1228
1229
1230 \begin_inset LatexCommand index
1231 name "Table"
1232
1233 \end_inset
1234
1235
1236 \end_layout
1237
1238 \begin_layout Section
1239 Introduction
1240 \begin_inset LatexCommand index
1241 name "Table ! Introduction"
1242
1243 \end_inset
1244
1245
1246 \end_layout
1247
1248 \begin_layout Standard
1249 You can insert a table using either the toolbar button 
1250 \begin_inset Graphics
1251         filename ../images/tabular-insert.xpm
1252         scale 85
1253
1254 \end_inset
1255
1256  or the menu 
1257 \family sans
1258 Insert\SpecialChar \menuseparator
1259 Table
1260 \family default
1261 .
1262  The toolbar button offers you a graphical selection: Move the mouse to
1263  set the column/row number of the table that should be created and then
1264  press a mouse button.
1265  When you use the menu to create a table, a dialog will appear, asking you
1266  for the number of rows and columns.
1267 \newline
1268  The default table has lines around any
1269  cell and the first row appears separated from the rest of the table.
1270  This separation occurs due to a double line: The cells of the first row
1271  have a line below them and the cells of the second row have a line above
1272  them.
1273  Here is an example table:
1274 \end_layout
1275
1276 \begin_layout Standard
1277 \align center
1278 \begin_inset Tabular
1279 <lyxtabular version="3" rows="4" columns="4">
1280 <features>
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" width="0">
1284 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1285 <row topline="true" bottomline="true">
1286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1287 \begin_inset Text
1288
1289 \begin_layout Standard
1290
1291 \end_layout
1292
1293 \end_inset
1294 </cell>
1295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1296 \begin_inset Text
1297
1298 \begin_layout Standard
1299
1300 \family roman
1301 \series medium
1302 \shape up
1303 \size normal
1304 \emph off
1305 \bar no
1306 \noun off
1307 \color none
1308 1
1309 \end_layout
1310
1311 \end_inset
1312 </cell>
1313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1314 \begin_inset Text
1315
1316 \begin_layout Standard
1317 2
1318 \end_layout
1319
1320 \end_inset
1321 </cell>
1322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1323 \begin_inset Text
1324
1325 \begin_layout Standard
1326 3
1327 \end_layout
1328
1329 \end_inset
1330 </cell>
1331 </row>
1332 <row topline="true">
1333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1334 \begin_inset Text
1335
1336 \begin_layout Standard
1337
1338 \family roman
1339 \series medium
1340 \shape up
1341 \size normal
1342 \emph off
1343 \bar no
1344 \noun off
1345 \color none
1346 A
1347 \end_layout
1348
1349 \end_inset
1350 </cell>
1351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1352 \begin_inset Text
1353
1354 \begin_layout Standard
1355
1356 \end_layout
1357
1358 \end_inset
1359 </cell>
1360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1361 \begin_inset Text
1362
1363 \begin_layout Standard
1364
1365 \end_layout
1366
1367 \end_inset
1368 </cell>
1369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1370 \begin_inset Text
1371
1372 \begin_layout Standard
1373
1374 \end_layout
1375
1376 \end_inset
1377 </cell>
1378 </row>
1379 <row topline="true">
1380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1381 \begin_inset Text
1382
1383 \begin_layout Standard
1384
1385 \family roman
1386 \series medium
1387 \shape up
1388 \size normal
1389 \emph off
1390 \bar no
1391 \noun off
1392 \color none
1393 B
1394 \end_layout
1395
1396 \end_inset
1397 </cell>
1398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1399 \begin_inset Text
1400
1401 \begin_layout Standard
1402
1403 \end_layout
1404
1405 \end_inset
1406 </cell>
1407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1408 \begin_inset Text
1409
1410 \begin_layout Standard
1411
1412 \end_layout
1413
1414 \end_inset
1415 </cell>
1416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1417 \begin_inset Text
1418
1419 \begin_layout Standard
1420
1421 \end_layout
1422
1423 \end_inset
1424 </cell>
1425 </row>
1426 <row topline="true" bottomline="true">
1427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1428 \begin_inset Text
1429
1430 \begin_layout Standard
1431
1432 \family roman
1433 \series medium
1434 \shape up
1435 \size normal
1436 \emph off
1437 \bar no
1438 \noun off
1439 \color none
1440 C
1441 \end_layout
1442
1443 \end_inset
1444 </cell>
1445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1446 \begin_inset Text
1447
1448 \begin_layout Standard
1449
1450 \end_layout
1451
1452 \end_inset
1453 </cell>
1454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1455 \begin_inset Text
1456
1457 \begin_layout Standard
1458
1459 \end_layout
1460
1461 \end_inset
1462 </cell>
1463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1464 \begin_inset Text
1465
1466 \begin_layout Standard
1467
1468 \end_layout
1469
1470 \end_inset
1471 </cell>
1472 </row>
1473 </lyxtabular>
1474
1475 \end_inset
1476
1477
1478 \end_layout
1479
1480 \begin_layout Section
1481 Table Dialog
1482 \begin_inset LatexCommand index
1483 name "Table ! Dialog"
1484
1485 \end_inset
1486
1487
1488 \end_layout
1489
1490 \begin_layout Standard
1491 You can alter a table by clicking on it with the right mouse button, which
1492  brings up the table dialog.
1493  Here you can adjust the settings of that cell and row/column respectively
1494  where the cursor is currently placed.
1495  Most of the dialog options also work on selections.
1496  This means if you select more cells, columns or rows, the action is done
1497  for the whole selection.
1498  Note that there is a difference between selecting the 
1499 \emph on
1500 contents
1501 \emph default
1502  of the cell, and the cell itself.
1503  You can alter tables with the following tabs of the table dialog:
1504 \end_layout
1505
1506 \begin_layout Description
1507
1508 \family sans
1509 Table\InsetSpace ~
1510 Settings
1511 \family default
1512  Here you can set the horizontal alignment for the current row and the width
1513  of the current column.
1514  When you have set a width you can also adjust the vertical alignment of
1515  the current column.
1516  A given width will allow the cell to have line breaks and multiple paragraphs
1517  of text, see section\InsetSpace ~
1518
1519 \begin_inset LatexCommand ref
1520 reference "sub:Multiple-Lines-in"
1521
1522 \end_inset
1523
1524 .
1525  If you set no width, the column is as wide as their widest cell content
1526  is.
1527 \newline
1528 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1529  cell, see section\InsetSpace ~
1530
1531 \begin_inset LatexCommand ref
1532 reference "sub:Multicolumns"
1533
1534 \end_inset
1535
1536 .
1537 \newline
1538 The rotate check boxes rotates the current cell, a selection, or the whole
1539  table counter-clockwise by 90°.
1540  The rotation is not shown within LyX, only in the output.
1541 \newline
1542
1543 \begin_inset Note Greyedout
1544 status open
1545
1546 \begin_layout Standard
1547
1548 \series bold
1549 Note:
1550 \series default
1551  Not all DVI-viewers are able to display rotations.
1552 \end_layout
1553
1554 \end_inset
1555
1556
1557 \newline
1558 It is also possible to enter a LaTeX-argument which is needed for special
1559  table formattings, see section\InsetSpace ~
1560
1561 \begin_inset LatexCommand ref
1562 reference "sub:Multicolumn-Calculations"
1563
1564 \end_inset
1565
1566  and 
1567 \begin_inset LatexCommand ref
1568 reference "sec:Colored-Tables"
1569
1570 \end_inset
1571
1572 .
1573 \end_layout
1574
1575 \begin_layout Description
1576
1577 \family sans
1578 Borders
1579 \family default
1580  In this tab you can add and delete border lines for the current row/column.
1581 \newline
1582 Using
1583  the style option 
1584 \family sans
1585 Formal
1586 \family default
1587  will convert the table to a formal table as described in section\InsetSpace ~
1588
1589 \begin_inset LatexCommand ref
1590 reference "sec:Formal-Tables"
1591
1592 \end_inset
1593
1594 .
1595 \newline
1596 You can also add here space to table rows as decribed in section\InsetSpace ~
1597
1598 \begin_inset LatexCommand ref
1599 reference "sub:Row-Spacing"
1600
1601 \end_inset
1602
1603 .
1604 \end_layout
1605
1606 \begin_layout Description
1607
1608 \family sans
1609 Longtable
1610 \family default
1611  This tab is to make a table a so called 
1612 \begin_inset Quotes eld
1613 \end_inset
1614
1615
1616 \emph on
1617 longtable
1618 \emph default
1619
1620 \begin_inset Quotes erd
1621 \end_inset
1622
1623  that can run over several pages.
1624  Section\InsetSpace ~
1625
1626 \begin_inset LatexCommand ref
1627 reference "sec:Longtables"
1628
1629 \end_inset
1630
1631  and 
1632 \begin_inset LatexCommand ref
1633 reference "sec:Special-Longtable-Issues"
1634
1635 \end_inset
1636
1637  describe the longtable features in detail.
1638 \end_layout
1639
1640 \begin_layout Standard
1641 When the table toolbar is opened, you can move the cursor with the arrow
1642  keys from cell to cell and the property of the current cell will immediately
1643  be displayed in the dialog.
1644 \end_layout
1645
1646 \begin_layout Section
1647 Table Toolbar
1648 \begin_inset LatexCommand index
1649 name "Table ! Toolbar"
1650
1651 \end_inset
1652
1653
1654 \end_layout
1655
1656 \begin_layout Standard
1657 The table toolbar is an alternative to the table dialog to be able to alter
1658  tables faster.
1659  It should normally appear at the bottom of LyX's main window when the cursor
1660  is inside a table.
1661  You can alternatively switch it on to appear always, by right-clicking
1662  in LyX's main menu bar.
1663 \end_layout
1664
1665 \begin_layout Standard
1666 The toolbar has the following icons:
1667 \end_layout
1668
1669 \begin_layout Labeling
1670 \labelwidthstring 00.00.0000
1671 \begin_inset Graphics
1672         filename ../images/tabular-feature_append-row.xpm
1673
1674 \end_inset
1675
1676  adds a row below the current cell or selection
1677 \end_layout
1678
1679 \begin_layout Labeling
1680 \labelwidthstring 00.00.0000
1681 \begin_inset Graphics
1682         filename ../images/tabular-feature_append-column.xpm
1683
1684 \end_inset
1685
1686  adds a column right beside the current cell or selection
1687 \end_layout
1688
1689 \begin_layout Labeling
1690 \labelwidthstring 00.00.0000
1691 \begin_inset Graphics
1692         filename ../images/tabular-feature_delete-row.xpm
1693
1694 \end_inset
1695
1696  deletes the current row or selection
1697 \end_layout
1698
1699 \begin_layout Labeling
1700 \labelwidthstring 00.00.0000
1701 \begin_inset Graphics
1702         filename ../images/tabular-feature_delete-column.xpm
1703
1704 \end_inset
1705
1706  deletes the current column or selection
1707 \end_layout
1708
1709 \begin_layout Labeling
1710 \labelwidthstring 00.00.0000
1711 \begin_inset Graphics
1712         filename ../images/tabular-feature_toggle-line-top.xpm
1713
1714 \end_inset
1715
1716  adds a line at the top of the current cell / row or of a selection
1717 \end_layout
1718
1719 \begin_layout Labeling
1720 \labelwidthstring 00.00.0000
1721 \begin_inset Graphics
1722         filename ../images/tabular-feature_toggle-line-bottom.xpm
1723
1724 \end_inset
1725
1726  adds a line at the bottom of the current cell / row or of a selection
1727 \end_layout
1728
1729 \begin_layout Labeling
1730 \labelwidthstring 00.00.0000
1731 \begin_inset Graphics
1732         filename ../images/tabular-feature_toggle-line-left.xpm
1733
1734 \end_inset
1735
1736  adds a line at the left side of the current cell / row or of a selection
1737 \end_layout
1738
1739 \begin_layout Labeling
1740 \labelwidthstring 00.00.0000
1741 \begin_inset Graphics
1742         filename ../images/tabular-feature_toggle-line-right.xpm
1743
1744 \end_inset
1745
1746  adds a line at the right side of the current cell / row or of a selection
1747 \end_layout
1748
1749 \begin_layout Labeling
1750 \labelwidthstring 00.00.0000
1751 \begin_inset Graphics
1752         filename ../images/tabular-feature_set-all-lines.xpm
1753
1754 \end_inset
1755
1756  adds lines around the current or selected cells - if the current cell no
1757  multicolumn this also affects the current row and column
1758 \end_layout
1759
1760 \begin_layout Labeling
1761 \labelwidthstring 00.00.0000
1762 \begin_inset Graphics
1763         filename ../images/tabular-feature_unset-all-lines.xpm
1764
1765 \end_inset
1766
1767  deletes all lines of the current or selected cells - if the current cell
1768  no multicolumn this also affects the current row and column
1769 \end_layout
1770
1771 \begin_layout Labeling
1772 \labelwidthstring 00.00.0000
1773 \begin_inset Graphics
1774         filename ../images/tabular-feature_align-left.xpm
1775
1776 \end_inset
1777
1778  left-aligns the content of the current cell / column
1779 \end_layout
1780
1781 \begin_layout Labeling
1782 \labelwidthstring 00.00.0000
1783 \begin_inset Graphics
1784         filename ../images/tabular-feature_align-center.xpm
1785
1786 \end_inset
1787
1788  centers the content of the current cell / column horizontally
1789 \end_layout
1790
1791 \begin_layout Labeling
1792 \labelwidthstring 00.00.0000
1793 \begin_inset Graphics
1794         filename ../images/tabular-feature_align-right.xpm
1795
1796 \end_inset
1797
1798  right-aligns the content of the current cell / column
1799 \end_layout
1800
1801 \begin_layout Labeling
1802 \labelwidthstring 00.00.0000
1803 \begin_inset Graphics
1804         filename ../images/tabular-feature_valign-top.xpm
1805
1806 \end_inset
1807
1808  aligns the content of the current cell vertically to the top
1809 \end_layout
1810
1811 \begin_layout Labeling
1812 \labelwidthstring 00.00.0000
1813 \begin_inset Graphics
1814         filename ../images/tabular-feature_valign-middle.xpm
1815
1816 \end_inset
1817
1818  centers the content of the current cell vertically
1819 \end_layout
1820
1821 \begin_layout Labeling
1822 \labelwidthstring 00.00.0000
1823 \begin_inset Graphics
1824         filename ../images/tabular-feature_valign-bottom.xpm
1825
1826 \end_inset
1827
1828  aligns the content of the current cell vertically to the bottom
1829 \end_layout
1830
1831 \begin_layout Labeling
1832 \labelwidthstring 00.00.0000
1833 \begin_inset Graphics
1834         filename ../images/tabular-feature_set-rotate-cell.xpm
1835
1836 \end_inset
1837
1838  rotates the current cell or selection counter-clockwise by 90°
1839 \end_layout
1840
1841 \begin_layout Labeling
1842 \labelwidthstring 00.00.0000
1843 \begin_inset Graphics
1844         filename ../images/tabular-feature_set-rotate-tabular.xpm
1845
1846 \end_inset
1847
1848  rotates the whole table counter-clockwise by 90°
1849 \end_layout
1850
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Graphics
1854         filename ../images/tabular-feature_multicolumn.xpm
1855
1856 \end_inset
1857
1858  sets the current cell or selection as a multicolumn
1859 \end_layout
1860
1861 \begin_layout Section
1862 Edit Table Menu
1863 \begin_inset LatexCommand index
1864 name "Table ! Edit Menu"
1865
1866 \end_inset
1867
1868
1869 \end_layout
1870
1871 \begin_layout Standard
1872 Additionally to the table dialog and toolbar, the menu 
1873 \family sans
1874 Edit\SpecialChar \menuseparator
1875 Table
1876 \family default
1877  allows you to add and delete border lines for the current row/column and
1878  to set the current selection as multicolumn.
1879  The menu is only available when the cursor is inside a table.
1880 \end_layout
1881
1882 \begin_layout Section
1883 Table Floats
1884 \begin_inset LatexCommand label
1885 name "sec:Table-Floats"
1886
1887 \end_inset
1888
1889
1890 \begin_inset LatexCommand index
1891 name "Floats ! Tables"
1892
1893 \end_inset
1894
1895
1896 \begin_inset LatexCommand index
1897 name "Table ! Floats"
1898
1899 \end_inset
1900
1901
1902 \end_layout
1903
1904 \begin_layout Standard
1905 For general explanations about floats, have a look at section\InsetSpace ~
1906
1907 \begin_inset LatexCommand ref
1908 reference "sec:FloatIntroduction"
1909
1910 \end_inset
1911
1912 .
1913 \end_layout
1914
1915 \begin_layout Standard
1916 \begin_inset Float table
1917 placement h
1918 wide false
1919 sideways false
1920 status open
1921
1922 \begin_layout Standard
1923 \begin_inset Caption
1924
1925 \begin_layout Standard
1926 \begin_inset LatexCommand label
1927 name "tab:a table float"
1928
1929 \end_inset
1930
1931 A table float.
1932 \end_layout
1933
1934 \end_inset
1935
1936
1937 \end_layout
1938
1939 \begin_layout Standard
1940 \align center
1941 \begin_inset Tabular
1942 <lyxtabular version="3" rows="3" columns="3">
1943 <features>
1944 <column alignment="center" valignment="top" leftline="true" width="0pt">
1945 <column alignment="center" valignment="top" leftline="true" width="0pt">
1946 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1947 <row topline="true" bottomline="true">
1948 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1949 \begin_inset Text
1950
1951 \begin_layout Standard
1952
1953 \family roman
1954 \series medium
1955 \shape up
1956 \size normal
1957 \emph off
1958 \bar no
1959 \noun off
1960 \color none
1961 1
1962 \end_layout
1963
1964 \end_inset
1965 </cell>
1966 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1967 \begin_inset Text
1968
1969 \begin_layout Standard
1970
1971 \family roman
1972 \series medium
1973 \shape up
1974 \size normal
1975 \emph off
1976 \bar no
1977 \noun off
1978 \color none
1979 2
1980 \end_layout
1981
1982 \end_inset
1983 </cell>
1984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1985 \begin_inset Text
1986
1987 \begin_layout Standard
1988
1989 \family roman
1990 \series medium
1991 \shape up
1992 \size normal
1993 \emph off
1994 \bar no
1995 \noun off
1996 \color none
1997 3
1998 \end_layout
1999
2000 \end_inset
2001 </cell>
2002 </row>
2003 <row topline="true">
2004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2005 \begin_inset Text
2006
2007 \begin_layout Standard
2008
2009 \family roman
2010 \series medium
2011 \shape up
2012 \size normal
2013 \emph off
2014 \bar no
2015 \noun off
2016 \color none
2017 Joe
2018 \end_layout
2019
2020 \end_inset
2021 </cell>
2022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2023 \begin_inset Text
2024
2025 \begin_layout Standard
2026
2027 \family roman
2028 \series medium
2029 \shape up
2030 \size normal
2031 \emph off
2032 \bar no
2033 \noun off
2034 \color none
2035 Mary
2036 \end_layout
2037
2038 \end_inset
2039 </cell>
2040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2041 \begin_inset Text
2042
2043 \begin_layout Standard
2044
2045 \family roman
2046 \series medium
2047 \shape up
2048 \size normal
2049 \emph off
2050 \bar no
2051 \noun off
2052 \color none
2053 Ted
2054 \end_layout
2055
2056 \end_inset
2057 </cell>
2058 </row>
2059 <row topline="true" bottomline="true">
2060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2061 \begin_inset Text
2062
2063 \begin_layout Standard
2064
2065 \family roman
2066 \series medium
2067 \shape up
2068 \size normal
2069 \emph off
2070 \bar no
2071 \noun off
2072 \color none
2073 \begin_inset Formula $\int x^{2}dx$
2074 \end_inset
2075
2076
2077 \end_layout
2078
2079 \end_inset
2080 </cell>
2081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2082 \begin_inset Text
2083
2084 \begin_layout Standard
2085
2086 \family roman
2087 \series medium
2088 \shape up
2089 \size normal
2090 \emph off
2091 \bar no
2092 \noun off
2093 \color none
2094 \begin_inset Formula $\left[\begin{array}{cc}
2095 a & b\\
2096 c & d\end{array}\right]$
2097 \end_inset
2098
2099
2100 \end_layout
2101
2102 \end_inset
2103 </cell>
2104 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2105 \begin_inset Text
2106
2107 \begin_layout Standard
2108
2109 \family roman
2110 \series medium
2111 \shape up
2112 \size normal
2113 \emph off
2114 \bar no
2115 \noun off
2116 \color none
2117 \begin_inset Formula $1+1=2$
2118 \end_inset
2119
2120
2121 \end_layout
2122
2123 \end_inset
2124 </cell>
2125 </row>
2126 </lyxtabular>
2127
2128 \end_inset
2129
2130
2131 \end_layout
2132
2133 \end_inset
2134
2135
2136 \end_layout
2137
2138 \begin_layout Standard
2139 Table floats can be inserted using the menu 
2140 \family sans
2141 Insert\SpecialChar \menuseparator
2142 Float\SpecialChar \menuseparator
2143 Table
2144 \family default
2145  or the toolbar button 
2146 \begin_inset Graphics
2147         filename ../images/float-insert_table.xpm
2148         scale 85
2149
2150 \end_inset
2151
2152 .
2153 \end_layout
2154
2155 \begin_layout Standard
2156 The float appears as a collapsible box with a caption that has the label
2157  
2158 \begin_inset Quotes eld
2159 \end_inset
2160
2161 Table\InsetSpace ~
2162 #:
2163 \begin_inset Quotes erd
2164 \end_inset
2165
2166  (# is the actual table number).
2167  You can insert tables to the float above or below the caption.
2168 \end_layout
2169
2170 \begin_layout Standard
2171 Table\InsetSpace ~
2172
2173 \begin_inset LatexCommand ref
2174 reference "tab:a table float"
2175
2176 \end_inset
2177
2178  is an example table within a table float.
2179 \end_layout
2180
2181 \begin_layout Standard
2182 Having the caption above the table is the common rule that is unfortunately
2183  not supported in LaTeX's standard classes.
2184  That means if you are using the document classes 
2185 \family sans
2186 article
2187 \family default
2188
2189 \family sans
2190 book
2191 \family default
2192
2193 \family sans
2194 letter
2195 \family default
2196 , or 
2197 \family sans
2198 report
2199 \family default
2200  there will be no space between the caption and the table.
2201  To insert the needed space, add the following option to the load command
2202  of the LaTeX-package 
2203 \series bold
2204 caption
2205 \series default
2206
2207 \begin_inset LatexCommand index
2208 name "LaTeX-packages ! caption"
2209
2210 \end_inset
2211
2212  in your document preamble
2213 \begin_inset Foot
2214 status collapsed
2215
2216 \begin_layout Standard
2217 For more information have a look at section\InsetSpace ~
2218
2219 \begin_inset LatexCommand ref
2220 reference "sec:Caption-Placement"
2221
2222 \end_inset
2223
2224 .
2225 \end_layout
2226
2227 \end_inset
2228
2229 :
2230 \end_layout
2231
2232 \begin_layout Standard
2233
2234 \series bold
2235 tableposition=top
2236 \end_layout
2237
2238 \begin_layout Standard
2239 The package 
2240 \series bold
2241 caption
2242 \series default
2243 , which is described in section\InsetSpace ~
2244
2245 \begin_inset LatexCommand ref
2246 reference "sec:Caption-Formatting"
2247
2248 \end_inset
2249
2250 , is used to adjust the caption format.
2251 \end_layout
2252
2253 \begin_layout Standard
2254 \begin_inset LatexCommand index
2255 name "References ! to Tables"
2256
2257 \end_inset
2258
2259 Tables can be cross-referenced in the text by referencing their label.
2260  To do this insert a label in the caption using the menu 
2261 \family sans
2262 Insert\SpecialChar \menuseparator
2263 Label
2264 \family default
2265  or the toolbar button 
2266 \begin_inset Graphics
2267         filename ../images/label-insert.xpm
2268         scale 85
2269
2270 \end_inset
2271
2272 .
2273  You can now refer to the label using the menu 
2274 \family sans
2275 Insert\SpecialChar \menuseparator
2276 Cross\InsetSpace ~
2277 reference
2278 \family default
2279  or the toolbar button 
2280 \begin_inset Graphics
2281         filename ../images/dialog-show-new-inset_ref.xpm
2282         scale 85
2283
2284 \end_inset
2285
2286 .
2287 \newline
2288 Referencing is explained in detail in section\InsetSpace ~
2289
2290 \begin_inset LatexCommand ref
2291 reference "sec:Referencing-Floats"
2292
2293 \end_inset
2294
2295 .
2296 \end_layout
2297
2298 \begin_layout Section
2299 Longtables
2300 \begin_inset LatexCommand label
2301 name "sec:Longtables"
2302
2303 \end_inset
2304
2305
2306 \begin_inset LatexCommand index
2307 name "Longtables"
2308
2309 \end_inset
2310
2311
2312 \begin_inset LatexCommand index
2313 name "Table ! Longtables"
2314
2315 \end_inset
2316
2317
2318 \end_layout
2319
2320 \begin_layout Standard
2321 If the table is too long to fit on one page, you can use the option 
2322 \family sans
2323 Use\InsetSpace ~
2324 long\InsetSpace ~
2325 table
2326 \family default
2327  in the tab 
2328 \family sans
2329 Longtable
2330 \family default
2331  of the table dialog to split the table automatically over more pages.
2332  Doing this enables some check boxes and you can now define:
2333 \end_layout
2334
2335 \begin_layout Description
2336
2337 \family sans
2338 Header
2339 \family default
2340 : The current row and all rows above, that don't have any special options
2341  defined, are defined to be the header rows of all pages of the longtable;
2342  except for the first page, if 
2343 \family sans
2344 First\InsetSpace ~
2345 header
2346 \family default
2347  is defined.
2348  This therefore called the main header.
2349 \end_layout
2350
2351 \begin_layout Description
2352
2353 \family sans
2354 First\InsetSpace ~
2355 header
2356 \family default
2357 : The current row and all rows above, that don't have any special options
2358  defined, are defined to be the header rows of the first page of the longtable.
2359 \end_layout
2360
2361 \begin_layout Description
2362
2363 \family sans
2364 Footer
2365 \family default
2366 : The current row and all rows below, that don't have any special options
2367  defined, are defined to be the footer rows of all pages of the longtable;
2368  except for the last page, if 
2369 \family sans
2370 Last\InsetSpace ~
2371 footer
2372 \family default
2373  is defined.
2374 \end_layout
2375
2376 \begin_layout Description
2377
2378 \family sans
2379 Last\InsetSpace ~
2380 footer
2381 \family default
2382 : The current row and all rows below, that don't have any special options
2383  defined, are defined to be the footer rows of the last page of the longtable.
2384 \end_layout
2385
2386 \begin_layout Standard
2387 You can also specify a row where the table is splitted.
2388  If you set more than one option in the same table row, you should be aware
2389  of the fact that only the first one is used in the given table row.
2390  The others will then be defined as 
2391 \emph on
2392 empty
2393 \emph default
2394 .
2395  In this context, first means first in this order: 
2396 \family sans
2397 Footer, Last\InsetSpace ~
2398 footer,
2399 \family default
2400  
2401 \family sans
2402 Header,
2403 \family default
2404  
2405 \family sans
2406 First\InsetSpace ~
2407 header.
2408
2409 \family default
2410  See the following longtable to see how it works:
2411 \end_layout
2412
2413 \begin_layout Standard
2414 \align center
2415 \begin_inset Tabular
2416 <lyxtabular version="3" rows="69" columns="3">
2417 <features islongtable="true">
2418 <column alignment="left" valignment="top" leftline="true" width="0cm">
2419 <column alignment="left" valignment="top" width="0pt">
2420 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2421 <row topline="true" bottomline="true" endfirsthead="true">
2422 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2423 \begin_inset Text
2424
2425 \begin_layout Standard
2426
2427 \series bold
2428 Example Phone List (ignore the names)
2429 \end_layout
2430
2431 \end_inset
2432 </cell>
2433 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2434 \begin_inset Text
2435
2436 \begin_layout Standard
2437
2438 \end_layout
2439
2440 \end_inset
2441 </cell>
2442 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2443 \begin_inset Text
2444
2445 \begin_layout Standard
2446
2447 \end_layout
2448
2449 \end_inset
2450 </cell>
2451 </row>
2452 <row topline="true" bottomline="true" endfirsthead="true">
2453 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2454 \begin_inset Text
2455
2456 \begin_layout Standard
2457
2458 \series bold
2459 NAME
2460 \end_layout
2461
2462 \end_inset
2463 </cell>
2464 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2465 \begin_inset Text
2466
2467 \begin_layout Standard
2468
2469 \end_layout
2470
2471 \end_inset
2472 </cell>
2473 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2474 \begin_inset Text
2475
2476 \begin_layout Standard
2477
2478 \series bold
2479 TEL.
2480 \end_layout
2481
2482 \end_inset
2483 </cell>
2484 </row>
2485 <row topline="true" bottomline="true" endhead="true">
2486 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2487 \begin_inset Text
2488
2489 \begin_layout Standard
2490
2491 \series bold
2492 Example Phone List
2493 \end_layout
2494
2495 \end_inset
2496 </cell>
2497 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2498 \begin_inset Text
2499
2500 \begin_layout Standard
2501
2502 \end_layout
2503
2504 \end_inset
2505 </cell>
2506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2507 \begin_inset Text
2508
2509 \begin_layout Standard
2510
2511 \end_layout
2512
2513 \end_inset
2514 </cell>
2515 </row>
2516 <row topline="true" bottomline="true" endhead="true">
2517 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2518 \begin_inset Text
2519
2520 \begin_layout Standard
2521
2522 \series bold
2523 NAME
2524 \end_layout
2525
2526 \end_inset
2527 </cell>
2528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2529 \begin_inset Text
2530
2531 \begin_layout Standard
2532
2533 \end_layout
2534
2535 \end_inset
2536 </cell>
2537 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2538 \begin_inset Text
2539
2540 \begin_layout Standard
2541
2542 \series bold
2543 TEL.
2544 \end_layout
2545
2546 \end_inset
2547 </cell>
2548 </row>
2549 <row topline="true" bottomline="true" endfoot="true">
2550 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2551 \begin_inset Text
2552
2553 \begin_layout Standard
2554  continued on next page
2555 \end_layout
2556
2557 \end_inset
2558 </cell>
2559 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2560 \begin_inset Text
2561
2562 \begin_layout Standard
2563
2564 \end_layout
2565
2566 \end_inset
2567 </cell>
2568 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \end_layout
2574
2575 \end_inset
2576 </cell>
2577 </row>
2578 <row>
2579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Standard
2583
2584 \series bold
2585 Annovi
2586 \end_layout
2587
2588 \end_inset
2589 </cell>
2590 <cell alignment="center" valignment="top" topline="true" usebox="none">
2591 \begin_inset Text
2592
2593 \begin_layout Standard
2594 Silvia
2595 \end_layout
2596
2597 \end_inset
2598 </cell>
2599 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603 111
2604 \end_layout
2605
2606 \end_inset
2607 </cell>
2608 </row>
2609 <row>
2610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2611 \begin_inset Text
2612
2613 \begin_layout Standard
2614
2615 \series bold
2616 Bertoli
2617 \end_layout
2618
2619 \end_inset
2620 </cell>
2621 <cell alignment="center" valignment="top" topline="true" usebox="none">
2622 \begin_inset Text
2623
2624 \begin_layout Standard
2625 Stefano
2626 \end_layout
2627
2628 \end_inset
2629 </cell>
2630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2631 \begin_inset Text
2632
2633 \begin_layout Standard
2634 111
2635 \end_layout
2636
2637 \end_inset
2638 </cell>
2639 </row>
2640 <row>
2641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2642 \begin_inset Text
2643
2644 \begin_layout Standard
2645
2646 \series bold
2647 Bozzi
2648 \end_layout
2649
2650 \end_inset
2651 </cell>
2652 <cell alignment="center" valignment="top" topline="true" usebox="none">
2653 \begin_inset Text
2654
2655 \begin_layout Standard
2656 Walter
2657 \end_layout
2658
2659 \end_inset
2660 </cell>
2661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665 111
2666 \end_layout
2667
2668 \end_inset
2669 </cell>
2670 </row>
2671 <row>
2672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Standard
2676
2677 \series bold
2678 Cachia
2679 \end_layout
2680
2681 \end_inset
2682 </cell>
2683 <cell alignment="center" valignment="top" topline="true" usebox="none">
2684 \begin_inset Text
2685
2686 \begin_layout Standard
2687 Maria
2688 \end_layout
2689
2690 \end_inset
2691 </cell>
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2693 \begin_inset Text
2694
2695 \begin_layout Standard
2696 111
2697 \end_layout
2698
2699 \end_inset
2700 </cell>
2701 </row>
2702 <row>
2703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2704 \begin_inset Text
2705
2706 \begin_layout Standard
2707
2708 \series bold
2709 Cachia
2710 \end_layout
2711
2712 \end_inset
2713 </cell>
2714 <cell alignment="center" valignment="top" topline="true" usebox="none">
2715 \begin_inset Text
2716
2717 \begin_layout Standard
2718 Maurizio
2719 \end_layout
2720
2721 \end_inset
2722 </cell>
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2724 \begin_inset Text
2725
2726 \begin_layout Standard
2727 111
2728 \end_layout
2729
2730 \end_inset
2731 </cell>
2732 </row>
2733 <row>
2734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2735 \begin_inset Text
2736
2737 \begin_layout Standard
2738
2739 \series bold
2740 Cinquemani
2741 \end_layout
2742
2743 \end_inset
2744 </cell>
2745 <cell alignment="center" valignment="top" topline="true" usebox="none">
2746 \begin_inset Text
2747
2748 \begin_layout Standard
2749 Giusi
2750 \end_layout
2751
2752 \end_inset
2753 </cell>
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2755 \begin_inset Text
2756
2757 \begin_layout Standard
2758 111
2759 \end_layout
2760
2761 \end_inset
2762 </cell>
2763 </row>
2764 <row>
2765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2766 \begin_inset Text
2767
2768 \begin_layout Standard
2769
2770 \series bold
2771 Colin
2772 \end_layout
2773
2774 \end_inset
2775 </cell>
2776 <cell alignment="center" valignment="top" topline="true" usebox="none">
2777 \begin_inset Text
2778
2779 \begin_layout Standard
2780 Bernard
2781 \end_layout
2782
2783 \end_inset
2784 </cell>
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2786 \begin_inset Text
2787
2788 \begin_layout Standard
2789 111
2790 \end_layout
2791
2792 \end_inset
2793 </cell>
2794 </row>
2795 <row>
2796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2797 \begin_inset Text
2798
2799 \begin_layout Standard
2800
2801 \series bold
2802 Concli
2803 \end_layout
2804
2805 \end_inset
2806 </cell>
2807 <cell alignment="center" valignment="top" topline="true" usebox="none">
2808 \begin_inset Text
2809
2810 \begin_layout Standard
2811 Gianfranco
2812 \end_layout
2813
2814 \end_inset
2815 </cell>
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2817 \begin_inset Text
2818
2819 \begin_layout Standard
2820 111
2821 \end_layout
2822
2823 \end_inset
2824 </cell>
2825 </row>
2826 <row>
2827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2828 \begin_inset Text
2829
2830 \begin_layout Standard
2831
2832 \series bold
2833 Dal Bosco
2834 \end_layout
2835
2836 \end_inset
2837 </cell>
2838 <cell alignment="center" valignment="top" topline="true" usebox="none">
2839 \begin_inset Text
2840
2841 \begin_layout Standard
2842 Carolina
2843 \end_layout
2844
2845 \end_inset
2846 </cell>
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851 111
2852 \end_layout
2853
2854 \end_inset
2855 </cell>
2856 </row>
2857 <row>
2858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2859 \begin_inset Text
2860
2861 \begin_layout Standard
2862
2863 \series bold
2864 Dalpiaz
2865 \end_layout
2866
2867 \end_inset
2868 </cell>
2869 <cell alignment="center" valignment="top" topline="true" usebox="none">
2870 \begin_inset Text
2871
2872 \begin_layout Standard
2873 Annamaria
2874 \end_layout
2875
2876 \end_inset
2877 </cell>
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2879 \begin_inset Text
2880
2881 \begin_layout Standard
2882 111
2883 \end_layout
2884
2885 \end_inset
2886 </cell>
2887 </row>
2888 <row>
2889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2890 \begin_inset Text
2891
2892 \begin_layout Standard
2893
2894 \series bold
2895 Feliciello
2896 \end_layout
2897
2898 \end_inset
2899 </cell>
2900 <cell alignment="center" valignment="top" topline="true" usebox="none">
2901 \begin_inset Text
2902
2903 \begin_layout Standard
2904 Domenico
2905 \end_layout
2906
2907 \end_inset
2908 </cell>
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2910 \begin_inset Text
2911
2912 \begin_layout Standard
2913 111
2914 \end_layout
2915
2916 \end_inset
2917 </cell>
2918 </row>
2919 <row>
2920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2921 \begin_inset Text
2922
2923 \begin_layout Standard
2924
2925 \series bold
2926 Focarelli
2927 \end_layout
2928
2929 \end_inset
2930 </cell>
2931 <cell alignment="center" valignment="top" topline="true" usebox="none">
2932 \begin_inset Text
2933
2934 \begin_layout Standard
2935 Paola
2936 \end_layout
2937
2938 \end_inset
2939 </cell>
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Standard
2944 111
2945 \end_layout
2946
2947 \end_inset
2948 </cell>
2949 </row>
2950 <row>
2951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2952 \begin_inset Text
2953
2954 \begin_layout Standard
2955
2956 \series bold
2957 Galletti
2958 \end_layout
2959
2960 \end_inset
2961 </cell>
2962 <cell alignment="center" valignment="top" topline="true" usebox="none">
2963 \begin_inset Text
2964
2965 \begin_layout Standard
2966 Oreste
2967 \end_layout
2968
2969 \end_inset
2970 </cell>
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975 111
2976 \end_layout
2977
2978 \end_inset
2979 </cell>
2980 </row>
2981 <row>
2982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Standard
2986
2987 \series bold
2988 Gasparini
2989 \end_layout
2990
2991 \end_inset
2992 </cell>
2993 <cell alignment="center" valignment="top" topline="true" usebox="none">
2994 \begin_inset Text
2995
2996 \begin_layout Standard
2997 Franca
2998 \end_layout
2999
3000 \end_inset
3001 </cell>
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006 111
3007 \end_layout
3008
3009 \end_inset
3010 </cell>
3011 </row>
3012 <row>
3013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3014 \begin_inset Text
3015
3016 \begin_layout Standard
3017
3018 \series bold
3019 Rizzardi
3020 \end_layout
3021
3022 \end_inset
3023 </cell>
3024 <cell alignment="center" valignment="top" topline="true" usebox="none">
3025 \begin_inset Text
3026
3027 \begin_layout Standard
3028 Paola
3029 \end_layout
3030
3031 \end_inset
3032 </cell>
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3034 \begin_inset Text
3035
3036 \begin_layout Standard
3037 111
3038 \end_layout
3039
3040 \end_inset
3041 </cell>
3042 </row>
3043 <row>
3044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3045 \begin_inset Text
3046
3047 \begin_layout Standard
3048
3049 \series bold
3050 Lassini
3051 \end_layout
3052
3053 \end_inset
3054 </cell>
3055 <cell alignment="center" valignment="top" topline="true" usebox="none">
3056 \begin_inset Text
3057
3058 \begin_layout Standard
3059 Giancarlo
3060 \end_layout
3061
3062 \end_inset
3063 </cell>
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Standard
3068 111
3069 \end_layout
3070
3071 \end_inset
3072 </cell>
3073 </row>
3074 <row>
3075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3076 \begin_inset Text
3077
3078 \begin_layout Standard
3079
3080 \series bold
3081 Malfatti
3082 \end_layout
3083
3084 \end_inset
3085 </cell>
3086 <cell alignment="center" valignment="top" topline="true" usebox="none">
3087 \begin_inset Text
3088
3089 \begin_layout Standard
3090 Luciano
3091 \end_layout
3092
3093 \end_inset
3094 </cell>
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3096 \begin_inset Text
3097
3098 \begin_layout Standard
3099 111
3100 \end_layout
3101
3102 \end_inset
3103 </cell>
3104 </row>
3105 <row>
3106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3107 \begin_inset Text
3108
3109 \begin_layout Standard
3110
3111 \series bold
3112 Malfatti
3113 \end_layout
3114
3115 \end_inset
3116 </cell>
3117 <cell alignment="center" valignment="top" topline="true" usebox="none">
3118 \begin_inset Text
3119
3120 \begin_layout Standard
3121 Valeriano
3122 \end_layout
3123
3124 \end_inset
3125 </cell>
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3127 \begin_inset Text
3128
3129 \begin_layout Standard
3130 111
3131 \end_layout
3132
3133 \end_inset
3134 </cell>
3135 </row>
3136 <row>
3137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3138 \begin_inset Text
3139
3140 \begin_layout Standard
3141
3142 \series bold
3143 Meneguzzo
3144 \end_layout
3145
3146 \end_inset
3147 </cell>
3148 <cell alignment="center" valignment="top" topline="true" usebox="none">
3149 \begin_inset Text
3150
3151 \begin_layout Standard
3152 Roberto
3153 \end_layout
3154
3155 \end_inset
3156 </cell>
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3158 \begin_inset Text
3159
3160 \begin_layout Standard
3161 111
3162 \end_layout
3163
3164 \end_inset
3165 </cell>
3166 </row>
3167 <row>
3168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3169 \begin_inset Text
3170
3171 \begin_layout Standard
3172
3173 \series bold
3174 Mezzadra
3175 \end_layout
3176
3177 \end_inset
3178 </cell>
3179 <cell alignment="center" valignment="top" topline="true" usebox="none">
3180 \begin_inset Text
3181
3182 \begin_layout Standard
3183 Roberto
3184 \end_layout
3185
3186 \end_inset
3187 </cell>
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Standard
3192 111
3193 \end_layout
3194
3195 \end_inset
3196 </cell>
3197 </row>
3198 <row>
3199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3200 \begin_inset Text
3201
3202 \begin_layout Standard
3203
3204 \series bold
3205 Pirpamer
3206 \end_layout
3207
3208 \end_inset
3209 </cell>
3210 <cell alignment="center" valignment="top" topline="true" usebox="none">
3211 \begin_inset Text
3212
3213 \begin_layout Standard
3214 Erich
3215 \end_layout
3216
3217 \end_inset
3218 </cell>
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223 111
3224 \end_layout
3225
3226 \end_inset
3227 </cell>
3228 </row>
3229 <row>
3230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3231 \begin_inset Text
3232
3233 \begin_layout Standard
3234
3235 \series bold
3236 Pochiesa
3237 \end_layout
3238
3239 \end_inset
3240 </cell>
3241 <cell alignment="center" valignment="top" topline="true" usebox="none">
3242 \begin_inset Text
3243
3244 \begin_layout Standard
3245 Paolo
3246 \end_layout
3247
3248 \end_inset
3249 </cell>
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254 111, 222
3255 \end_layout
3256
3257 \end_inset
3258 </cell>
3259 </row>
3260 <row>
3261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3262 \begin_inset Text
3263
3264 \begin_layout Standard
3265
3266 \series bold
3267 Radina
3268 \end_layout
3269
3270 \end_inset
3271 </cell>
3272 <cell alignment="center" valignment="top" topline="true" usebox="none">
3273 \begin_inset Text
3274
3275 \begin_layout Standard
3276 Claudio
3277 \end_layout
3278
3279 \end_inset
3280 </cell>
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Standard
3285 111
3286 \end_layout
3287
3288 \end_inset
3289 </cell>
3290 </row>
3291 <row>
3292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3293 \begin_inset Text
3294
3295 \begin_layout Standard
3296
3297 \series bold
3298 Stuffer
3299 \end_layout
3300
3301 \end_inset
3302 </cell>
3303 <cell alignment="center" valignment="top" topline="true" usebox="none">
3304 \begin_inset Text
3305
3306 \begin_layout Standard
3307 Oskar
3308 \end_layout
3309
3310 \end_inset
3311 </cell>
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3313 \begin_inset Text
3314
3315 \begin_layout Standard
3316 111
3317 \end_layout
3318
3319 \end_inset
3320 </cell>
3321 </row>
3322 <row>
3323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3324 \begin_inset Text
3325
3326 \begin_layout Standard
3327
3328 \series bold
3329 Tacchelli
3330 \end_layout
3331
3332 \end_inset
3333 </cell>
3334 <cell alignment="center" valignment="top" topline="true" usebox="none">
3335 \begin_inset Text
3336
3337 \begin_layout Standard
3338 Ugo
3339 \end_layout
3340
3341 \end_inset
3342 </cell>
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3344 \begin_inset Text
3345
3346 \begin_layout Standard
3347 111
3348 \end_layout
3349
3350 \end_inset
3351 </cell>
3352 </row>
3353 <row>
3354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3355 \begin_inset Text
3356
3357 \begin_layout Standard
3358
3359 \series bold
3360 Tezzele
3361 \end_layout
3362
3363 \end_inset
3364 </cell>
3365 <cell alignment="center" valignment="top" topline="true" usebox="none">
3366 \begin_inset Text
3367
3368 \begin_layout Standard
3369 Margit
3370 \end_layout
3371
3372 \end_inset
3373 </cell>
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Standard
3378 111
3379 \end_layout
3380
3381 \end_inset
3382 </cell>
3383 </row>
3384 <row>
3385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3386 \begin_inset Text
3387
3388 \begin_layout Standard
3389
3390 \series bold
3391 Unterkalmsteiner
3392 \end_layout
3393
3394 \end_inset
3395 </cell>
3396 <cell alignment="center" valignment="top" topline="true" usebox="none">
3397 \begin_inset Text
3398
3399 \begin_layout Standard
3400 Frieda
3401 \end_layout
3402
3403 \end_inset
3404 </cell>
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Standard
3409 111
3410 \end_layout
3411
3412 \end_inset
3413 </cell>
3414 </row>
3415 <row>
3416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Standard
3420
3421 \series bold
3422 Vieider
3423 \end_layout
3424
3425 \end_inset
3426 </cell>
3427 <cell alignment="center" valignment="top" topline="true" usebox="none">
3428 \begin_inset Text
3429
3430 \begin_layout Standard
3431 Hilde
3432 \end_layout
3433
3434 \end_inset
3435 </cell>
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Standard
3440 111
3441 \end_layout
3442
3443 \end_inset
3444 </cell>
3445 </row>
3446 <row>
3447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Standard
3451
3452 \series bold
3453 Vigna
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 <cell alignment="center" valignment="top" topline="true" usebox="none">
3459 \begin_inset Text
3460
3461 \begin_layout Standard
3462 Jürgen
3463 \end_layout
3464
3465 \end_inset
3466 </cell>
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Standard
3471 111
3472 \end_layout
3473
3474 \end_inset
3475 </cell>
3476 </row>
3477 <row>
3478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Standard
3482
3483 \series bold
3484 Weber
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 <cell alignment="center" valignment="top" topline="true" usebox="none">
3490 \begin_inset Text
3491
3492 \begin_layout Standard
3493 Maurizio
3494 \end_layout
3495
3496 \end_inset
3497 </cell>
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Standard
3502 111
3503 \end_layout
3504
3505 \end_inset
3506 </cell>
3507 </row>
3508 <row bottomline="true">
3509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Standard
3513
3514 \series bold
3515 Winkler
3516 \end_layout
3517
3518 \end_inset
3519 </cell>
3520 <cell alignment="center" valignment="top" topline="true" usebox="none">
3521 \begin_inset Text
3522
3523 \begin_layout Standard
3524 Franz
3525 \end_layout
3526
3527 \end_inset
3528 </cell>
3529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Standard
3533 111
3534 \end_layout
3535
3536 \end_inset
3537 </cell>
3538 </row>
3539 <row bottomline="true">
3540 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Standard
3544  
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Standard
3553
3554 \end_layout
3555
3556 \end_inset
3557 </cell>
3558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3559 \begin_inset Text
3560
3561 \begin_layout Standard
3562
3563 \end_layout
3564
3565 \end_inset
3566 </cell>
3567 </row>
3568 <row>
3569 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3570 \begin_inset Text
3571
3572 \begin_layout Standard
3573
3574 \series bold
3575 Annovi
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 <cell alignment="center" valignment="top" topline="true" usebox="none">
3581 \begin_inset Text
3582
3583 \begin_layout Standard
3584 Silvia
3585 \end_layout
3586
3587 \end_inset
3588 </cell>
3589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3590 \begin_inset Text
3591
3592 \begin_layout Standard
3593 555
3594 \end_layout
3595
3596 \end_inset
3597 </cell>
3598 </row>
3599 <row>
3600 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3601 \begin_inset Text
3602
3603 \begin_layout Standard
3604
3605 \series bold
3606 Bertoli
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 <cell alignment="center" valignment="top" topline="true" usebox="none">
3612 \begin_inset Text
3613
3614 \begin_layout Standard
3615 Stefano
3616 \end_layout
3617
3618 \end_inset
3619 </cell>
3620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3621 \begin_inset Text
3622
3623 \begin_layout Standard
3624 555
3625 \end_layout
3626
3627 \end_inset
3628 </cell>
3629 </row>
3630 <row>
3631 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3632 \begin_inset Text
3633
3634 \begin_layout Standard
3635
3636 \series bold
3637 Bozzi
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 <cell alignment="center" valignment="top" topline="true" usebox="none">
3643 \begin_inset Text
3644
3645 \begin_layout Standard
3646 Walter
3647 \end_layout
3648
3649 \end_inset
3650 </cell>
3651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Standard
3655 555
3656 \end_layout
3657
3658 \end_inset
3659 </cell>
3660 </row>
3661 <row>
3662 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3663 \begin_inset Text
3664
3665 \begin_layout Standard
3666
3667 \series bold
3668 Cachia
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 <cell alignment="center" valignment="top" topline="true" usebox="none">
3674 \begin_inset Text
3675
3676 \begin_layout Standard
3677 Maria
3678 \end_layout
3679
3680 \end_inset
3681 </cell>
3682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Standard
3686 555
3687 \end_layout
3688
3689 \end_inset
3690 </cell>
3691 </row>
3692 <row>
3693 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Standard
3697
3698 \series bold
3699 Cachia
3700 \end_layout
3701
3702 \end_inset
3703 </cell>
3704 <cell alignment="center" valignment="top" topline="true" usebox="none">
3705 \begin_inset Text
3706
3707 \begin_layout Standard
3708 Maurizio
3709 \end_layout
3710
3711 \end_inset
3712 </cell>
3713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717 555
3718 \end_layout
3719
3720 \end_inset
3721 </cell>
3722 </row>
3723 <row>
3724 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Standard
3728
3729 \series bold
3730 Cinquemani
3731 \end_layout
3732
3733 \end_inset
3734 </cell>
3735 <cell alignment="center" valignment="top" topline="true" usebox="none">
3736 \begin_inset Text
3737
3738 \begin_layout Standard
3739 Giusi
3740 \end_layout
3741
3742 \end_inset
3743 </cell>
3744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748 555
3749 \end_layout
3750
3751 \end_inset
3752 </cell>
3753 </row>
3754 <row>
3755 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3756 \begin_inset Text
3757
3758 \begin_layout Standard
3759
3760 \series bold
3761 Colin
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 <cell alignment="center" valignment="top" topline="true" usebox="none">
3767 \begin_inset Text
3768
3769 \begin_layout Standard
3770 Bernard
3771 \end_layout
3772
3773 \end_inset
3774 </cell>
3775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Standard
3779 555
3780 \end_layout
3781
3782 \end_inset
3783 </cell>
3784 </row>
3785 <row>
3786 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Standard
3790
3791 \series bold
3792 Concli
3793 \end_layout
3794
3795 \end_inset
3796 </cell>
3797 <cell alignment="center" valignment="top" topline="true" usebox="none">
3798 \begin_inset Text
3799
3800 \begin_layout Standard
3801 Gianfranco
3802 \end_layout
3803
3804 \end_inset
3805 </cell>
3806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Standard
3810 555
3811 \end_layout
3812
3813 \end_inset
3814 </cell>
3815 </row>
3816 <row>
3817 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3818 \begin_inset Text
3819
3820 \begin_layout Standard
3821
3822 \series bold
3823 Dal Bosco
3824 \end_layout
3825
3826 \end_inset
3827 </cell>
3828 <cell alignment="center" valignment="top" topline="true" usebox="none">
3829 \begin_inset Text
3830
3831 \begin_layout Standard
3832 Carolina
3833 \end_layout
3834
3835 \end_inset
3836 </cell>
3837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Standard
3841 555
3842 \end_layout
3843
3844 \end_inset
3845 </cell>
3846 </row>
3847 <row>
3848 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3849 \begin_inset Text
3850
3851 \begin_layout Standard
3852
3853 \series bold
3854 Dalpiaz
3855 \end_layout
3856
3857 \end_inset
3858 </cell>
3859 <cell alignment="center" valignment="top" topline="true" usebox="none">
3860 \begin_inset Text
3861
3862 \begin_layout Standard
3863 Annamaria
3864 \end_layout
3865
3866 \end_inset
3867 </cell>
3868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Standard
3872 555
3873 \end_layout
3874
3875 \end_inset
3876 </cell>
3877 </row>
3878 <row>
3879 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3880 \begin_inset Text
3881
3882 \begin_layout Standard
3883
3884 \series bold
3885 Feliciello
3886 \end_layout
3887
3888 \end_inset
3889 </cell>
3890 <cell alignment="center" valignment="top" topline="true" usebox="none">
3891 \begin_inset Text
3892
3893 \begin_layout Standard
3894 Domenico
3895 \end_layout
3896
3897 \end_inset
3898 </cell>
3899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Standard
3903 555
3904 \end_layout
3905
3906 \end_inset
3907 </cell>
3908 </row>
3909 <row>
3910 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3911 \begin_inset Text
3912
3913 \begin_layout Standard
3914
3915 \series bold
3916 Focarelli
3917 \end_layout
3918
3919 \end_inset
3920 </cell>
3921 <cell alignment="center" valignment="top" topline="true" usebox="none">
3922 \begin_inset Text
3923
3924 \begin_layout Standard
3925 Paola
3926 \end_layout
3927
3928 \end_inset
3929 </cell>
3930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Standard
3934 555
3935 \end_layout
3936
3937 \end_inset
3938 </cell>
3939 </row>
3940 <row>
3941 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3942 \begin_inset Text
3943
3944 \begin_layout Standard
3945
3946 \series bold
3947 Galletti
3948 \end_layout
3949
3950 \end_inset
3951 </cell>
3952 <cell alignment="center" valignment="top" topline="true" usebox="none">
3953 \begin_inset Text
3954
3955 \begin_layout Standard
3956 Oreste
3957 \end_layout
3958
3959 \end_inset
3960 </cell>
3961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Standard
3965 555
3966 \end_layout
3967
3968 \end_inset
3969 </cell>
3970 </row>
3971 <row>
3972 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3973 \begin_inset Text
3974
3975 \begin_layout Standard
3976
3977 \series bold
3978 Gasparini
3979 \end_layout
3980
3981 \end_inset
3982 </cell>
3983 <cell alignment="center" valignment="top" topline="true" usebox="none">
3984 \begin_inset Text
3985
3986 \begin_layout Standard
3987 Franca
3988 \end_layout
3989
3990 \end_inset
3991 </cell>
3992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Standard
3996 555
3997 \end_layout
3998
3999 \end_inset
4000 </cell>
4001 </row>
4002 <row>
4003 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4004 \begin_inset Text
4005
4006 \begin_layout Standard
4007
4008 \series bold
4009 Rizzardi
4010 \end_layout
4011
4012 \end_inset
4013 </cell>
4014 <cell alignment="center" valignment="top" topline="true" usebox="none">
4015 \begin_inset Text
4016
4017 \begin_layout Standard
4018 Paola
4019 \end_layout
4020
4021 \end_inset
4022 </cell>
4023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Standard
4027 555
4028 \end_layout
4029
4030 \end_inset
4031 </cell>
4032 </row>
4033 <row>
4034 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4035 \begin_inset Text
4036
4037 \begin_layout Standard
4038
4039 \series bold
4040 Lassini
4041 \end_layout
4042
4043 \end_inset
4044 </cell>
4045 <cell alignment="center" valignment="top" topline="true" usebox="none">
4046 \begin_inset Text
4047
4048 \begin_layout Standard
4049 Giancarlo
4050 \end_layout
4051
4052 \end_inset
4053 </cell>
4054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Standard
4058 555
4059 \end_layout
4060
4061 \end_inset
4062 </cell>
4063 </row>
4064 <row>
4065 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4066 \begin_inset Text
4067
4068 \begin_layout Standard
4069
4070 \series bold
4071 Malfatti
4072 \end_layout
4073
4074 \end_inset
4075 </cell>
4076 <cell alignment="center" valignment="top" topline="true" usebox="none">
4077 \begin_inset Text
4078
4079 \begin_layout Standard
4080 Luciano
4081 \end_layout
4082
4083 \end_inset
4084 </cell>
4085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Standard
4089 555
4090 \end_layout
4091
4092 \end_inset
4093 </cell>
4094 </row>
4095 <row>
4096 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4097 \begin_inset Text
4098
4099 \begin_layout Standard
4100
4101 \series bold
4102 Malfatti
4103 \end_layout
4104
4105 \end_inset
4106 </cell>
4107 <cell alignment="center" valignment="top" topline="true" usebox="none">
4108 \begin_inset Text
4109
4110 \begin_layout Standard
4111 Valeriano
4112 \end_layout
4113
4114 \end_inset
4115 </cell>
4116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Standard
4120 555
4121 \end_layout
4122
4123 \end_inset
4124 </cell>
4125 </row>
4126 <row>
4127 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4128 \begin_inset Text
4129
4130 \begin_layout Standard
4131
4132 \series bold
4133 Meneguzzo
4134 \end_layout
4135
4136 \end_inset
4137 </cell>
4138 <cell alignment="center" valignment="top" topline="true" usebox="none">
4139 \begin_inset Text
4140
4141 \begin_layout Standard
4142 Roberto
4143 \end_layout
4144
4145 \end_inset
4146 </cell>
4147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Standard
4151 555
4152 \end_layout
4153
4154 \end_inset
4155 </cell>
4156 </row>
4157 <row>
4158 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4159 \begin_inset Text
4160
4161 \begin_layout Standard
4162
4163 \series bold
4164 Mezzadra
4165 \end_layout
4166
4167 \end_inset
4168 </cell>
4169 <cell alignment="center" valignment="top" topline="true" usebox="none">
4170 \begin_inset Text
4171
4172 \begin_layout Standard
4173 Roberto
4174 \end_layout
4175
4176 \end_inset
4177 </cell>
4178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Standard
4182 555
4183 \end_layout
4184
4185 \end_inset
4186 </cell>
4187 </row>
4188 <row>
4189 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4190 \begin_inset Text
4191
4192 \begin_layout Standard
4193
4194 \series bold
4195 Pirpamer
4196 \end_layout
4197
4198 \end_inset
4199 </cell>
4200 <cell alignment="center" valignment="top" topline="true" usebox="none">
4201 \begin_inset Text
4202
4203 \begin_layout Standard
4204 Erich
4205 \end_layout
4206
4207 \end_inset
4208 </cell>
4209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Standard
4213 555
4214 \end_layout
4215
4216 \end_inset
4217 </cell>
4218 </row>
4219 <row>
4220 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4221 \begin_inset Text
4222
4223 \begin_layout Standard
4224
4225 \series bold
4226 Pochiesa
4227 \end_layout
4228
4229 \end_inset
4230 </cell>
4231 <cell alignment="center" valignment="top" topline="true" usebox="none">
4232 \begin_inset Text
4233
4234 \begin_layout Standard
4235 Paolo
4236 \end_layout
4237
4238 \end_inset
4239 </cell>
4240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Standard
4244 555, 222
4245 \end_layout
4246
4247 \end_inset
4248 </cell>
4249 </row>
4250 <row>
4251 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4252 \begin_inset Text
4253
4254 \begin_layout Standard
4255
4256 \series bold
4257 Radina
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 <cell alignment="center" valignment="top" topline="true" usebox="none">
4263 \begin_inset Text
4264
4265 \begin_layout Standard
4266 Claudio
4267 \end_layout
4268
4269 \end_inset
4270 </cell>
4271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Standard
4275 555
4276 \end_layout
4277
4278 \end_inset
4279 </cell>
4280 </row>
4281 <row>
4282 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4283 \begin_inset Text
4284
4285 \begin_layout Standard
4286
4287 \series bold
4288 Stuffer
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 <cell alignment="center" valignment="top" topline="true" usebox="none">
4294 \begin_inset Text
4295
4296 \begin_layout Standard
4297 Oskar
4298 \end_layout
4299
4300 \end_inset
4301 </cell>
4302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Standard
4306 555
4307 \end_layout
4308
4309 \end_inset
4310 </cell>
4311 </row>
4312 <row>
4313 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Standard
4317
4318 \series bold
4319 Tacchelli
4320 \end_layout
4321
4322 \end_inset
4323 </cell>
4324 <cell alignment="center" valignment="top" topline="true" usebox="none">
4325 \begin_inset Text
4326
4327 \begin_layout Standard
4328 Ugo
4329 \end_layout
4330
4331 \end_inset
4332 </cell>
4333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337 555
4338 \end_layout
4339
4340 \end_inset
4341 </cell>
4342 </row>
4343 <row>
4344 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Standard
4348
4349 \series bold
4350 Tezzele
4351 \end_layout
4352
4353 \end_inset
4354 </cell>
4355 <cell alignment="center" valignment="top" topline="true" usebox="none">
4356 \begin_inset Text
4357
4358 \begin_layout Standard
4359 Margit
4360 \end_layout
4361
4362 \end_inset
4363 </cell>
4364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368 555
4369 \end_layout
4370
4371 \end_inset
4372 </cell>
4373 </row>
4374 <row>
4375 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4376 \begin_inset Text
4377
4378 \begin_layout Standard
4379
4380 \series bold
4381 Unterkalmsteiner
4382 \end_layout
4383
4384 \end_inset
4385 </cell>
4386 <cell alignment="center" valignment="top" topline="true" usebox="none">
4387 \begin_inset Text
4388
4389 \begin_layout Standard
4390 Frieda
4391 \end_layout
4392
4393 \end_inset
4394 </cell>
4395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Standard
4399 555
4400 \end_layout
4401
4402 \end_inset
4403 </cell>
4404 </row>
4405 <row>
4406 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4407 \begin_inset Text
4408
4409 \begin_layout Standard
4410
4411 \series bold
4412 Vieider
4413 \end_layout
4414
4415 \end_inset
4416 </cell>
4417 <cell alignment="center" valignment="top" topline="true" usebox="none">
4418 \begin_inset Text
4419
4420 \begin_layout Standard
4421 Hilde
4422 \end_layout
4423
4424 \end_inset
4425 </cell>
4426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Standard
4430 555
4431 \end_layout
4432
4433 \end_inset
4434 </cell>
4435 </row>
4436 <row>
4437 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4438 \begin_inset Text
4439
4440 \begin_layout Standard
4441
4442 \series bold
4443 Vigna
4444 \end_layout
4445
4446 \end_inset
4447 </cell>
4448 <cell alignment="center" valignment="top" topline="true" usebox="none">
4449 \begin_inset Text
4450
4451 \begin_layout Standard
4452 Jürgen
4453 \end_layout
4454
4455 \end_inset
4456 </cell>
4457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Standard
4461 999
4462 \end_layout
4463
4464 \end_inset
4465 </cell>
4466 </row>
4467 <row>
4468 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4469 \begin_inset Text
4470
4471 \begin_layout Standard
4472
4473 \series bold
4474 Weber
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 <cell alignment="center" valignment="top" topline="true" usebox="none">
4480 \begin_inset Text
4481
4482 \begin_layout Standard
4483 Maurizio
4484 \end_layout
4485
4486 \end_inset
4487 </cell>
4488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Standard
4492 555
4493 \end_layout
4494
4495 \end_inset
4496 </cell>
4497 </row>
4498 <row bottomline="true">
4499 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Standard
4503
4504 \series bold
4505 Winkler
4506 \end_layout
4507
4508 \end_inset
4509 </cell>
4510 <cell alignment="center" valignment="top" topline="true" usebox="none">
4511 \begin_inset Text
4512
4513 \begin_layout Standard
4514 Franz
4515 \end_layout
4516
4517 \end_inset
4518 </cell>
4519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Standard
4523 555
4524 \end_layout
4525
4526 \end_inset
4527 </cell>
4528 </row>
4529 <row bottomline="true" endlastfoot="true">
4530 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Standard
4534 end
4535 \end_layout
4536
4537 \end_inset
4538 </cell>
4539 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4540 \begin_inset Text
4541
4542 \begin_layout Standard
4543
4544 \end_layout
4545
4546 \end_inset
4547 </cell>
4548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4549 \begin_inset Text
4550
4551 \begin_layout Standard
4552
4553 \end_layout
4554
4555 \end_inset
4556 </cell>
4557 </row>
4558 </lyxtabular>
4559
4560 \end_inset
4561
4562
4563 \begin_inset ERT
4564 status collapsed
4565
4566 \begin_layout Standard
4567
4568
4569 \backslash
4570 addtocounter{table}{-1}
4571 \end_layout
4572
4573 \end_inset
4574
4575
4576 \begin_inset Note Note
4577 status collapsed
4578
4579 \begin_layout Standard
4580 See greyed-out note in section 2.6.2 for an explanation of this command.
4581 \end_layout
4582
4583 \end_inset
4584
4585
4586 \end_layout
4587
4588 \begin_layout Subsection
4589 Footnotes in Longtables
4590 \begin_inset LatexCommand label
4591 name "sub:Footnotes-in-Longtables"
4592
4593 \end_inset
4594
4595
4596 \begin_inset LatexCommand index
4597 name "Longtables ! Footnotes"
4598
4599 \end_inset
4600
4601
4602 \end_layout
4603
4604 \begin_layout Standard
4605 Footnotes can be inserted to every longtable cell.
4606  They appear at the bottom of the page where the table cell with the footnote
4607  appears.
4608  Table\InsetSpace ~
4609
4610 \begin_inset LatexCommand ref
4611 reference "tab:DiffCaptions"
4612
4613 \end_inset
4614
4615  has for example a footnote.
4616 \end_layout
4617
4618 \begin_layout Subsection
4619 Longtable Captions
4620 \begin_inset LatexCommand index
4621 name "Longtables ! Captions"
4622
4623 \end_inset
4624
4625
4626 \end_layout
4627
4628 \begin_layout Standard
4629 A longtable cannot be put into a table float because floats can only be
4630  on one page but the caption environment of floats can also be used for
4631  longtables.
4632 \end_layout
4633
4634 \begin_layout Standard
4635 As LyX does not yet fully support captions in longtables, a hack is needed
4636  to create them:
4637 \end_layout
4638
4639 \begin_layout Enumerate
4640 Create a longtable
4641 \family sans
4642 .
4643 \end_layout
4644
4645 \begin_layout Enumerate
4646 Mark the first row an disable its upper line.
4647 \end_layout
4648
4649 \begin_layout Enumerate
4650 Insert a caption via the menu 
4651 \family sans
4652 Insert\SpecialChar \menuseparator
4653 Caption
4654 \family default
4655  into the first table cell.
4656 \newline
4657 You can also add a short title for the caption.
4658 \end_layout
4659
4660 \begin_layout Enumerate
4661 Insert a 
4662 \begin_inset Quotes eld
4663 \end_inset
4664
4665
4666 \series bold
4667
4668 \backslash
4669
4670 \backslash
4671 %
4672 \series default
4673
4674 \begin_inset Quotes erd
4675 \end_inset
4676
4677  as ERT behind the caption.
4678 \end_layout
4679
4680 \begin_layout Standard
4681 A short title that will appear in the LOT instead of the full title.
4682  The 
4683 \series bold
4684
4685 \backslash
4686
4687 \backslash
4688 %
4689 \series default
4690  behind the caption omits the vertical lines between the following cells
4691  in the row.
4692  The first table row is now only a dummy row for the caption, the actual
4693  table starts with the second row.
4694 \end_layout
4695
4696 \begin_layout Standard
4697 Here is a short longtable to see how it works:
4698 \end_layout
4699
4700 \begin_layout Standard
4701 \begin_inset Tabular
4702 <lyxtabular version="3" rows="6" columns="5">
4703 <features islongtable="true">
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" width="0">
4708 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4709 <row>
4710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4711 \begin_inset Text
4712
4713 \begin_layout Standard
4714 \begin_inset Caption
4715
4716 \begin_layout Standard
4717 Longtable with caption
4718 \begin_inset OptArg
4719 status open
4720
4721 \begin_layout Standard
4722 Longtable
4723 \end_layout
4724
4725 \end_inset
4726
4727
4728 \end_layout
4729
4730 \end_inset
4731
4732
4733 \begin_inset ERT
4734 status collapsed
4735
4736 \begin_layout Standard
4737
4738
4739 \backslash
4740
4741 \backslash
4742 %
4743 \end_layout
4744
4745 \end_inset
4746
4747
4748 \end_layout
4749
4750 \end_inset
4751 </cell>
4752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4753 \begin_inset Text
4754
4755 \begin_layout Standard
4756
4757 \end_layout
4758
4759 \end_inset
4760 </cell>
4761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4762 \begin_inset Text
4763
4764 \begin_layout Standard
4765
4766 \end_layout
4767
4768 \end_inset
4769 </cell>
4770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4771 \begin_inset Text
4772
4773 \begin_layout Standard
4774
4775 \end_layout
4776
4777 \end_inset
4778 </cell>
4779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4780 \begin_inset Text
4781
4782 \begin_layout Standard
4783
4784 \end_layout
4785
4786 \end_inset
4787 </cell>
4788 </row>
4789 <row topline="true">
4790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4791 \begin_inset Text
4792
4793 \begin_layout Standard
4794 1
4795 \end_layout
4796
4797 \end_inset
4798 </cell>
4799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4800 \begin_inset Text
4801
4802 \begin_layout Standard
4803 2
4804 \end_layout
4805
4806 \end_inset
4807 </cell>
4808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4809 \begin_inset Text
4810
4811 \begin_layout Standard
4812 3
4813 \end_layout
4814
4815 \end_inset
4816 </cell>
4817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4818 \begin_inset Text
4819
4820 \begin_layout Standard
4821 4
4822 \end_layout
4823
4824 \end_inset
4825 </cell>
4826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4827 \begin_inset Text
4828
4829 \begin_layout Standard
4830 5
4831 \end_layout
4832
4833 \end_inset
4834 </cell>
4835 </row>
4836 <row topline="true">
4837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4838 \begin_inset Text
4839
4840 \begin_layout Standard
4841 asd
4842 \end_layout
4843
4844 \end_inset
4845 </cell>
4846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Standard
4850 s
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4856 \begin_inset Text
4857
4858 \begin_layout Standard
4859 s
4860 \end_layout
4861
4862 \end_inset
4863 </cell>
4864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Standard
4868 s
4869 \end_layout
4870
4871 \end_inset
4872 </cell>
4873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4874 \begin_inset Text
4875
4876 \begin_layout Standard
4877 asd
4878 \end_layout
4879
4880 \end_inset
4881 </cell>
4882 </row>
4883 <row topline="true">
4884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4885 \begin_inset Text
4886
4887 \begin_layout Standard
4888 asd
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Standard
4897 s
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Standard
4906 s
4907 \end_layout
4908
4909 \end_inset
4910 </cell>
4911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4912 \begin_inset Text
4913
4914 \begin_layout Standard
4915 s
4916 \end_layout
4917
4918 \end_inset
4919 </cell>
4920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4921 \begin_inset Text
4922
4923 \begin_layout Standard
4924 asd
4925 \end_layout
4926
4927 \end_inset
4928 </cell>
4929 </row>
4930 <row topline="true">
4931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4932 \begin_inset Text
4933
4934 \begin_layout Standard
4935 asd
4936 \end_layout
4937
4938 \end_inset
4939 </cell>
4940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4941 \begin_inset Text
4942
4943 \begin_layout Standard
4944 s
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4950 \begin_inset Text
4951
4952 \begin_layout Standard
4953 s
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Standard
4962 s
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4968 \begin_inset Text
4969
4970 \begin_layout Standard
4971 asd
4972 \end_layout
4973
4974 \end_inset
4975 </cell>
4976 </row>
4977 <row topline="true" bottomline="true">
4978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Standard
4982 asd
4983 \end_layout
4984
4985 \end_inset
4986 </cell>
4987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4988 \begin_inset Text
4989
4990 \begin_layout Standard
4991 asd
4992 \end_layout
4993
4994 \end_inset
4995 </cell>
4996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4997 \begin_inset Text
4998
4999 \begin_layout Standard
5000 asd
5001 \end_layout
5002
5003 \end_inset
5004 </cell>
5005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5006 \begin_inset Text
5007
5008 \begin_layout Standard
5009 asd
5010 \end_layout
5011
5012 \end_inset
5013 </cell>
5014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5015 \begin_inset Text
5016
5017 \begin_layout Standard
5018 asd
5019 \end_layout
5020
5021 \end_inset
5022 </cell>
5023 </row>
5024 </lyxtabular>
5025
5026 \end_inset
5027
5028
5029 \end_layout
5030
5031 \begin_layout Standard
5032 \begin_inset VSpace medskip
5033 \end_inset
5034
5035
5036 \begin_inset Note Greyedout
5037 status open
5038
5039 \begin_layout Standard
5040
5041 \series bold
5042 Note:
5043 \series default
5044  The table number is increased for every longtable, also if you didn't set
5045  a caption for it.
5046  For this reason you could have the case that e.g.
5047  Table\InsetSpace ~
5048 2.4 follows on Table\InsetSpace ~
5049 2.1 in the list of tables if there are two longtables
5050  without captions.
5051  To avoid this you can add the following command in ERT behind every longtable
5052  without a caption:
5053 \end_layout
5054
5055 \begin_layout Standard
5056
5057 \series bold
5058
5059 \backslash
5060 addtocounter{table}{-1}
5061 \end_layout
5062
5063 \end_inset
5064
5065
5066 \end_layout
5067
5068 \begin_layout Standard
5069 \begin_inset Note Greyedout
5070 status open
5071
5072 \begin_layout Standard
5073
5074 \series bold
5075 Note:
5076 \series default
5077  If you are using the LaTeX-package 
5078 \series bold
5079 hyperref
5080 \series default
5081
5082 \begin_inset LatexCommand index
5083 name "LaTeX-packages ! hyperref"
5084
5085 \end_inset
5086
5087  to link cross-references, the link to a longtable caption will always point
5088  to the beginning of the document.
5089 \end_layout
5090
5091 \end_inset
5092
5093
5094 \end_layout
5095
5096 \begin_layout Subsubsection
5097 References to Longtables
5098 \begin_inset LatexCommand index
5099 name "Longtables ! References"
5100
5101 \end_inset
5102
5103
5104 \end_layout
5105
5106 \begin_layout Standard
5107 \begin_inset Tabular
5108 <lyxtabular version="3" rows="6" columns="5">
5109 <features islongtable="true">
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" width="0">
5114 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5115 <row>
5116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5117 \begin_inset Text
5118
5119 \begin_layout Standard
5120 \begin_inset Caption
5121
5122 \begin_layout Standard
5123 Referenced longtable
5124 \begin_inset LatexCommand label
5125 name "tab:RefExample"
5126
5127 \end_inset
5128
5129
5130 \end_layout
5131
5132 \end_inset
5133
5134
5135 \begin_inset ERT
5136 status collapsed
5137
5138 \begin_layout Standard
5139
5140
5141 \backslash
5142
5143 \backslash
5144 %
5145 \end_layout
5146
5147 \end_inset
5148
5149
5150 \end_layout
5151
5152 \end_inset
5153 </cell>
5154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5155 \begin_inset Text
5156
5157 \begin_layout Standard
5158
5159 \end_layout
5160
5161 \end_inset
5162 </cell>
5163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5164 \begin_inset Text
5165
5166 \begin_layout Standard
5167
5168 \end_layout
5169
5170 \end_inset
5171 </cell>
5172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5173 \begin_inset Text
5174
5175 \begin_layout Standard
5176
5177 \end_layout
5178
5179 \end_inset
5180 </cell>
5181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5182 \begin_inset Text
5183
5184 \begin_layout Standard
5185
5186 \end_layout
5187
5188 \end_inset
5189 </cell>
5190 </row>
5191 <row topline="true">
5192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Standard
5196 1
5197 \end_layout
5198
5199 \end_inset
5200 </cell>
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5202 \begin_inset Text
5203
5204 \begin_layout Standard
5205 2
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5211 \begin_inset Text
5212
5213 \begin_layout Standard
5214 3
5215 \end_layout
5216
5217 \end_inset
5218 </cell>
5219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5220 \begin_inset Text
5221
5222 \begin_layout Standard
5223 4
5224 \end_layout
5225
5226 \end_inset
5227 </cell>
5228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5229 \begin_inset Text
5230
5231 \begin_layout Standard
5232 5
5233 \end_layout
5234
5235 \end_inset
5236 </cell>
5237 </row>
5238 <row topline="true">
5239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5240 \begin_inset Text
5241
5242 \begin_layout Standard
5243 asd
5244 \end_layout
5245
5246 \end_inset
5247 </cell>
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5249 \begin_inset Text
5250
5251 \begin_layout Standard
5252 s
5253 \end_layout
5254
5255 \end_inset
5256 </cell>
5257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5258 \begin_inset Text
5259
5260 \begin_layout Standard
5261 s
5262 \end_layout
5263
5264 \end_inset
5265 </cell>
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5267 \begin_inset Text
5268
5269 \begin_layout Standard
5270 s
5271 \end_layout
5272
5273 \end_inset
5274 </cell>
5275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5276 \begin_inset Text
5277
5278 \begin_layout Standard
5279 asd
5280 \end_layout
5281
5282 \end_inset
5283 </cell>
5284 </row>
5285 <row topline="true">
5286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5287 \begin_inset Text
5288
5289 \begin_layout Standard
5290 asd
5291 \end_layout
5292
5293 \end_inset
5294 </cell>
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5296 \begin_inset Text
5297
5298 \begin_layout Standard
5299 s
5300 \end_layout
5301
5302 \end_inset
5303 </cell>
5304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5305 \begin_inset Text
5306
5307 \begin_layout Standard
5308 s
5309 \end_layout
5310
5311 \end_inset
5312 </cell>
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5314 \begin_inset Text
5315
5316 \begin_layout Standard
5317 s
5318 \end_layout
5319
5320 \end_inset
5321 </cell>
5322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5323 \begin_inset Text
5324
5325 \begin_layout Standard
5326 asd
5327 \end_layout
5328
5329 \end_inset
5330 </cell>
5331 </row>
5332 <row topline="true">
5333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5334 \begin_inset Text
5335
5336 \begin_layout Standard
5337 asd
5338 \end_layout
5339
5340 \end_inset
5341 </cell>
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5343 \begin_inset Text
5344
5345 \begin_layout Standard
5346 s
5347 \end_layout
5348
5349 \end_inset
5350 </cell>
5351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5352 \begin_inset Text
5353
5354 \begin_layout Standard
5355 s
5356 \end_layout
5357
5358 \end_inset
5359 </cell>
5360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Standard
5364 s
5365 \end_layout
5366
5367 \end_inset
5368 </cell>
5369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5370 \begin_inset Text
5371
5372 \begin_layout Standard
5373 asd
5374 \end_layout
5375
5376 \end_inset
5377 </cell>
5378 </row>
5379 <row topline="true" bottomline="true">
5380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5381 \begin_inset Text
5382
5383 \begin_layout Standard
5384 asd
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Standard
5393 sad
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Standard
5402 asd
5403 \end_layout
5404
5405 \end_inset
5406 </cell>
5407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5408 \begin_inset Text
5409
5410 \begin_layout Standard
5411 asd
5412 \end_layout
5413
5414 \end_inset
5415 </cell>
5416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5417 \begin_inset Text
5418
5419 \begin_layout Standard
5420 asd
5421 \end_layout
5422
5423 \end_inset
5424 </cell>
5425 </row>
5426 </lyxtabular>
5427
5428 \end_inset
5429
5430
5431 \end_layout
5432
5433 \begin_layout Standard
5434 To reference a longtable, insert a label into the caption.
5435  Note that you have to add the label prefix 
5436 \begin_inset Quotes eld
5437 \end_inset
5438
5439
5440 \emph on
5441 tab:
5442 \emph default
5443
5444 \begin_inset Quotes eld
5445 \end_inset
5446
5447  manually in the label field.
5448 \end_layout
5449
5450 \begin_layout Standard
5451 This is a reference to Table\InsetSpace ~
5452
5453 \begin_inset LatexCommand ref
5454 reference "tab:RefExample"
5455
5456 \end_inset
5457
5458 .
5459 \end_layout
5460
5461 \begin_layout Standard
5462 The caption layout can be set together with all other caption of your document
5463  using the LaTeX-package 
5464 \series bold
5465 caption
5466 \series default
5467
5468 \begin_inset LatexCommand index
5469 name "LaTeX-packages ! caption"
5470
5471 \end_inset
5472
5473 , see section\InsetSpace ~
5474
5475 \begin_inset LatexCommand ref
5476 reference "sec:Caption-Formatting"
5477
5478 \end_inset
5479
5480 .
5481 \end_layout
5482
5483 \begin_layout Subsubsection
5484 Caption Width
5485 \begin_inset LatexCommand index
5486 name "Longtables ! Caption Width"
5487
5488 \end_inset
5489
5490
5491 \end_layout
5492
5493 \begin_layout Standard
5494 The maximal width of of caption lines is defined by the length 
5495 \series bold
5496
5497 \backslash
5498 LTcapwidth
5499 \series default
5500 .
5501  Its default value is 4\InsetSpace \thinspace{}
5502 in.
5503  To change it add the following command to your document preamble or as
5504  ERT into your document before the longtable that should be affected
5505 \end_layout
5506
5507 \begin_layout Standard
5508
5509 \series bold
5510
5511 \backslash
5512 setlength{
5513 \backslash
5514 LTcapwidth}{width}
5515 \end_layout
5516
5517 \begin_layout Standard
5518 where the width could have one of the units listed in appendix\InsetSpace ~
5519
5520 \begin_inset LatexCommand ref
5521 reference "cha:Units-available-in"
5522
5523 \end_inset
5524
5525 .
5526 \end_layout
5527
5528 \begin_layout Standard
5529 The following tables show the difference:
5530 \end_layout
5531
5532 \begin_layout Standard
5533 \begin_inset Tabular
5534 <lyxtabular version="3" rows="6" columns="5">
5535 <features islongtable="true">
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" width="0">
5540 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5541 <row>
5542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5543 \begin_inset Text
5544
5545 \begin_layout Standard
5546 \begin_inset Caption
5547
5548 \begin_layout Standard
5549 long full title with default width long full title with default width long
5550  full title with default width
5551 \begin_inset OptArg
5552 status collapsed
5553
5554 \begin_layout Standard
5555 caption with default width
5556 \end_layout
5557
5558 \end_inset
5559
5560
5561 \end_layout
5562
5563 \end_inset
5564
5565
5566 \begin_inset ERT
5567 status collapsed
5568
5569 \begin_layout Standard
5570
5571
5572 \backslash
5573
5574 \backslash
5575 %
5576 \end_layout
5577
5578 \end_inset
5579
5580
5581 \end_layout
5582
5583 \end_inset
5584 </cell>
5585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5586 \begin_inset Text
5587
5588 \begin_layout Standard
5589
5590 \end_layout
5591
5592 \end_inset
5593 </cell>
5594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5595 \begin_inset Text
5596
5597 \begin_layout Standard
5598
5599 \end_layout
5600
5601 \end_inset
5602 </cell>
5603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5604 \begin_inset Text
5605
5606 \begin_layout Standard
5607
5608 \end_layout
5609
5610 \end_inset
5611 </cell>
5612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5613 \begin_inset Text
5614
5615 \begin_layout Standard
5616
5617 \end_layout
5618
5619 \end_inset
5620 </cell>
5621 </row>
5622 <row topline="true">
5623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5624 \begin_inset Text
5625
5626 \begin_layout Standard
5627 1
5628 \end_layout
5629
5630 \end_inset
5631 </cell>
5632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5633 \begin_inset Text
5634
5635 \begin_layout Standard
5636 2
5637 \end_layout
5638
5639 \end_inset
5640 </cell>
5641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5642 \begin_inset Text
5643
5644 \begin_layout Standard
5645 3
5646 \end_layout
5647
5648 \end_inset
5649 </cell>
5650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5651 \begin_inset Text
5652
5653 \begin_layout Standard
5654 4
5655 \end_layout
5656
5657 \end_inset
5658 </cell>
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Standard
5663 5
5664 \end_layout
5665
5666 \end_inset
5667 </cell>
5668 </row>
5669 <row topline="true">
5670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5671 \begin_inset Text
5672
5673 \begin_layout Standard
5674 asd
5675 \end_layout
5676
5677 \end_inset
5678 </cell>
5679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5680 \begin_inset Text
5681
5682 \begin_layout Standard
5683 s
5684 \end_layout
5685
5686 \end_inset
5687 </cell>
5688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5689 \begin_inset Text
5690
5691 \begin_layout Standard
5692 s
5693 \end_layout
5694
5695 \end_inset
5696 </cell>
5697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5698 \begin_inset Text
5699
5700 \begin_layout Standard
5701 s
5702 \end_layout
5703
5704 \end_inset
5705 </cell>
5706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5707 \begin_inset Text
5708
5709 \begin_layout Standard
5710 asd
5711 \end_layout
5712
5713 \end_inset
5714 </cell>
5715 </row>
5716 <row topline="true">
5717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5718 \begin_inset Text
5719
5720 \begin_layout Standard
5721 asd
5722 \end_layout
5723
5724 \end_inset
5725 </cell>
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5727 \begin_inset Text
5728
5729 \begin_layout Standard
5730 s
5731 \end_layout
5732
5733 \end_inset
5734 </cell>
5735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5736 \begin_inset Text
5737
5738 \begin_layout Standard
5739 s
5740 \end_layout
5741
5742 \end_inset
5743 </cell>
5744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5745 \begin_inset Text
5746
5747 \begin_layout Standard
5748 s
5749 \end_layout
5750
5751 \end_inset
5752 </cell>
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5754 \begin_inset Text
5755
5756 \begin_layout Standard
5757 asd
5758 \end_layout
5759
5760 \end_inset
5761 </cell>
5762 </row>
5763 <row topline="true">
5764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_inset Text
5766
5767 \begin_layout Standard
5768 asd
5769 \end_layout
5770
5771 \end_inset
5772 </cell>
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_inset Text
5775
5776 \begin_layout Standard
5777 s
5778 \end_layout
5779
5780 \end_inset
5781 </cell>
5782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5783 \begin_inset Text
5784
5785 \begin_layout Standard
5786 s
5787 \end_layout
5788
5789 \end_inset
5790 </cell>
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5792 \begin_inset Text
5793
5794 \begin_layout Standard
5795 s
5796 \end_layout
5797
5798 \end_inset
5799 </cell>
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5801 \begin_inset Text
5802
5803 \begin_layout Standard
5804 asd
5805 \end_layout
5806
5807 \end_inset
5808 </cell>
5809 </row>
5810 <row topline="true" bottomline="true">
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_inset Text
5813
5814 \begin_layout Standard
5815 asd
5816 \end_layout
5817
5818 \end_inset
5819 </cell>
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_inset Text
5822
5823 \begin_layout Standard
5824 sad
5825 \end_layout
5826
5827 \end_inset
5828 </cell>
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_inset Text
5831
5832 \begin_layout Standard
5833 asd
5834 \end_layout
5835
5836 \end_inset
5837 </cell>
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5839 \begin_inset Text
5840
5841 \begin_layout Standard
5842 asd
5843 \end_layout
5844
5845 \end_inset
5846 </cell>
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5848 \begin_inset Text
5849
5850 \begin_layout Standard
5851 asd
5852 \end_layout
5853
5854 \end_inset
5855 </cell>
5856 </row>
5857 </lyxtabular>
5858
5859 \end_inset
5860
5861
5862 \end_layout
5863
5864 \begin_layout Standard
5865 \begin_inset ERT
5866 status collapsed
5867
5868 \begin_layout Standard
5869
5870
5871 \backslash
5872 setlength{
5873 \backslash
5874 LTcapwidth}{5cm}
5875 \end_layout
5876
5877 \end_inset
5878
5879
5880 \begin_inset Tabular
5881 <lyxtabular version="3" rows="6" columns="5">
5882 <features islongtable="true">
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" width="0">
5887 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5888 <row>
5889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5890 \begin_inset Text
5891
5892 \begin_layout Standard
5893 \begin_inset Caption
5894
5895 \begin_layout Standard
5896 long full title with width set to 5\InsetSpace \thinspace{}
5897 cm long full title with width set to
5898  5\InsetSpace \thinspace{}
5899 cm long full title with width set to 5\InsetSpace \thinspace{}
5900 cm
5901 \begin_inset OptArg
5902 status collapsed
5903
5904 \begin_layout Standard
5905 caption with width\InsetSpace \thinspace{}
5906 =\InsetSpace \thinspace{}
5907 5\InsetSpace \thinspace{}
5908 cm
5909 \end_layout
5910
5911 \end_inset
5912
5913
5914 \end_layout
5915
5916 \end_inset
5917
5918
5919 \begin_inset ERT
5920 status collapsed
5921
5922 \begin_layout Standard
5923
5924
5925 \backslash
5926
5927 \backslash
5928 %
5929 \end_layout
5930
5931 \end_inset
5932
5933
5934 \end_layout
5935
5936 \end_inset
5937 </cell>
5938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5939 \begin_inset Text
5940
5941 \begin_layout Standard
5942
5943 \end_layout
5944
5945 \end_inset
5946 </cell>
5947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5948 \begin_inset Text
5949
5950 \begin_layout Standard
5951
5952 \end_layout
5953
5954 \end_inset
5955 </cell>
5956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5957 \begin_inset Text
5958
5959 \begin_layout Standard
5960
5961 \end_layout
5962
5963 \end_inset
5964 </cell>
5965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5966 \begin_inset Text
5967
5968 \begin_layout Standard
5969
5970 \end_layout
5971
5972 \end_inset
5973 </cell>
5974 </row>
5975 <row topline="true">
5976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5977 \begin_inset Text
5978
5979 \begin_layout Standard
5980 1
5981 \end_layout
5982
5983 \end_inset
5984 </cell>
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5986 \begin_inset Text
5987
5988 \begin_layout Standard
5989 2
5990 \end_layout
5991
5992 \end_inset
5993 </cell>
5994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5995 \begin_inset Text
5996
5997 \begin_layout Standard
5998 3
5999 \end_layout
6000
6001 \end_inset
6002 </cell>
6003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6004 \begin_inset Text
6005
6006 \begin_layout Standard
6007 4
6008 \end_layout
6009
6010 \end_inset
6011 </cell>
6012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6013 \begin_inset Text
6014
6015 \begin_layout Standard
6016 5
6017 \end_layout
6018
6019 \end_inset
6020 </cell>
6021 </row>
6022 <row topline="true">
6023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6024 \begin_inset Text
6025
6026 \begin_layout Standard
6027 asd
6028 \end_layout
6029
6030 \end_inset
6031 </cell>
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6033 \begin_inset Text
6034
6035 \begin_layout Standard
6036 s
6037 \end_layout
6038
6039 \end_inset
6040 </cell>
6041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6042 \begin_inset Text
6043
6044 \begin_layout Standard
6045 s
6046 \end_layout
6047
6048 \end_inset
6049 </cell>
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6051 \begin_inset Text
6052
6053 \begin_layout Standard
6054 s
6055 \end_layout
6056
6057 \end_inset
6058 </cell>
6059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6060 \begin_inset Text
6061
6062 \begin_layout Standard
6063 asd
6064 \end_layout
6065
6066 \end_inset
6067 </cell>
6068 </row>
6069 <row topline="true">
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6071 \begin_inset Text
6072
6073 \begin_layout Standard
6074 asd
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Standard
6083 s
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6089 \begin_inset Text
6090
6091 \begin_layout Standard
6092 s
6093 \end_layout
6094
6095 \end_inset
6096 </cell>
6097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6098 \begin_inset Text
6099
6100 \begin_layout Standard
6101 s
6102 \end_layout
6103
6104 \end_inset
6105 </cell>
6106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6107 \begin_inset Text
6108
6109 \begin_layout Standard
6110 asd
6111 \end_layout
6112
6113 \end_inset
6114 </cell>
6115 </row>
6116 <row topline="true">
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Standard
6121 asd
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Standard
6130 s
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6136 \begin_inset Text
6137
6138 \begin_layout Standard
6139 s
6140 \end_layout
6141
6142 \end_inset
6143 </cell>
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6145 \begin_inset Text
6146
6147 \begin_layout Standard
6148 s
6149 \end_layout
6150
6151 \end_inset
6152 </cell>
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6154 \begin_inset Text
6155
6156 \begin_layout Standard
6157 asd
6158 \end_layout
6159
6160 \end_inset
6161 </cell>
6162 </row>
6163 <row topline="true" bottomline="true">
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Standard
6168 asd
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Standard
6177 sad
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6183 \begin_inset Text
6184
6185 \begin_layout Standard
6186 asd
6187 \end_layout
6188
6189 \end_inset
6190 </cell>
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6192 \begin_inset Text
6193
6194 \begin_layout Standard
6195 asd
6196 \end_layout
6197
6198 \end_inset
6199 </cell>
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6201 \begin_inset Text
6202
6203 \begin_layout Standard
6204 asd
6205 \end_layout
6206
6207 \end_inset
6208 </cell>
6209 </row>
6210 </lyxtabular>
6211
6212 \end_inset
6213
6214
6215 \begin_inset ERT
6216 status collapsed
6217
6218 \begin_layout Standard
6219
6220
6221 \backslash
6222 setlength{
6223 \backslash
6224 LTcapwidth}{4in}
6225 \end_layout
6226
6227 \end_inset
6228
6229
6230 \end_layout
6231
6232 \begin_layout Standard
6233
6234 \end_layout
6235
6236 \begin_layout Subsubsection
6237 Different Captions for Table Pages
6238 \begin_inset LatexCommand index
6239 name "Longtables ! Different Captions for Pages"
6240
6241 \end_inset
6242
6243
6244 \end_layout
6245
6246 \begin_layout Standard
6247 When the other captions should differ from the one of the first table page,
6248  insert a caption with a non-empty short title in a dummy caption row marked
6249  as first header.
6250  The caption used for the other table pages is inserted as caption without
6251  a short title in a dummy caption row that is marked as main header.
6252  When this caption shouldn't include the table number, use the command
6253 \end_layout
6254
6255 \begin_layout Standard
6256
6257 \series bold
6258
6259 \backslash
6260 caption*{caption text}
6261 \end_layout
6262
6263 \begin_layout Standard
6264 instead of LyX's caption box.
6265  The label to reference the table is inserted into the caption of the first
6266  header.
6267  Table\InsetSpace ~
6268
6269 \begin_inset LatexCommand ref
6270 reference "tab:DiffCaptions"
6271
6272 \end_inset
6273
6274  is an example for a longtable with different heading where the second caption
6275  doesn't include the table number.
6276 \end_layout
6277
6278 \begin_layout Standard
6279 \align center
6280 \begin_inset Tabular
6281 <lyxtabular version="3" rows="60" columns="3">
6282 <features islongtable="true">
6283 <column alignment="left" valignment="top" leftline="true" width="0cm">
6284 <column alignment="left" valignment="top" rightline="true" width="0pt">
6285 <column alignment="right" valignment="top" rightline="true" width="0pt">
6286 <row endfirsthead="true">
6287 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6288 \begin_inset Text
6289
6290 \begin_layout Standard
6291 \begin_inset Caption
6292
6293 \begin_layout Standard
6294 Example Phone List
6295 \begin_inset LatexCommand label
6296 name "tab:DiffCaptions"
6297
6298 \end_inset
6299
6300
6301 \begin_inset OptArg
6302 status collapsed
6303
6304 \begin_layout Standard
6305 Example Phone List
6306 \end_layout
6307
6308 \end_inset
6309
6310
6311 \end_layout
6312
6313 \end_inset
6314
6315
6316 \begin_inset ERT
6317 status collapsed
6318
6319 \begin_layout Standard
6320
6321
6322 \backslash
6323
6324 \backslash
6325 %
6326 \end_layout
6327
6328 \end_inset
6329
6330
6331 \end_layout
6332
6333 \end_inset
6334 </cell>
6335 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6336 \begin_inset Text
6337
6338 \begin_layout Standard
6339
6340 \end_layout
6341
6342 \end_inset
6343 </cell>
6344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6345 \begin_inset Text
6346
6347 \begin_layout Standard
6348
6349 \end_layout
6350
6351 \end_inset
6352 </cell>
6353 </row>
6354 <row topline="true" bottomline="true" endfirsthead="true">
6355 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6356 \begin_inset Text
6357
6358 \begin_layout Standard
6359
6360 \series bold
6361 Example Phone List (ignore the names)
6362 \end_layout
6363
6364 \end_inset
6365 </cell>
6366 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6367 \begin_inset Text
6368
6369 \begin_layout Standard
6370
6371 \end_layout
6372
6373 \end_inset
6374 </cell>
6375 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6376 \begin_inset Text
6377
6378 \begin_layout Standard
6379
6380 \end_layout
6381
6382 \end_inset
6383 </cell>
6384 </row>
6385 <row topline="true" bottomline="true" endfirsthead="true">
6386 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6387 \begin_inset Text
6388
6389 \begin_layout Standard
6390
6391 \series bold
6392 NAME
6393 \end_layout
6394
6395 \end_inset
6396 </cell>
6397 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6398 \begin_inset Text
6399
6400 \begin_layout Standard
6401
6402 \end_layout
6403
6404 \end_inset
6405 </cell>
6406 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6407 \begin_inset Text
6408
6409 \begin_layout Standard
6410
6411 \series bold
6412 TEL.
6413 \end_layout
6414
6415 \end_inset
6416 </cell>
6417 </row>
6418 <row bottomline="true" endhead="true">
6419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6420 \begin_inset Text
6421
6422 \begin_layout Standard
6423 \begin_inset ERT
6424 status collapsed
6425
6426 \begin_layout Standard
6427
6428
6429 \backslash
6430 caption*{Continued Example Phone List}
6431 \backslash
6432
6433 \backslash
6434 %
6435 \end_layout
6436
6437 \end_inset
6438
6439
6440 \end_layout
6441
6442 \end_inset
6443 </cell>
6444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6445 \begin_inset Text
6446
6447 \begin_layout Standard
6448
6449 \end_layout
6450
6451 \end_inset
6452 </cell>
6453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6454 \begin_inset Text
6455
6456 \begin_layout Standard
6457
6458 \end_layout
6459
6460 \end_inset
6461 </cell>
6462 </row>
6463 <row topline="true" bottomline="true" endhead="true">
6464 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6465 \begin_inset Text
6466
6467 \begin_layout Standard
6468
6469 \series bold
6470 Example Phone List
6471 \end_layout
6472
6473 \end_inset
6474 </cell>
6475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6476 \begin_inset Text
6477
6478 \begin_layout Standard
6479
6480 \end_layout
6481
6482 \end_inset
6483 </cell>
6484 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6485 \begin_inset Text
6486
6487 \begin_layout Standard
6488
6489 \end_layout
6490
6491 \end_inset
6492 </cell>
6493 </row>
6494 <row topline="true" bottomline="true" endhead="true">
6495 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6496 \begin_inset Text
6497
6498 \begin_layout Standard
6499
6500 \series bold
6501 NAME
6502 \end_layout
6503
6504 \end_inset
6505 </cell>
6506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6507 \begin_inset Text
6508
6509 \begin_layout Standard
6510
6511 \end_layout
6512
6513 \end_inset
6514 </cell>
6515 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6516 \begin_inset Text
6517
6518 \begin_layout Standard
6519
6520 \series bold
6521 TEL.
6522 \end_layout
6523
6524 \end_inset
6525 </cell>
6526 </row>
6527 <row topline="true" bottomline="true" endfoot="true">
6528 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6529 \begin_inset Text
6530
6531 \begin_layout Standard
6532 continued on next page
6533 \end_layout
6534
6535 \end_inset
6536 </cell>
6537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6538 \begin_inset Text
6539
6540 \begin_layout Standard
6541
6542 \end_layout
6543
6544 \end_inset
6545 </cell>
6546 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6547 \begin_inset Text
6548
6549 \begin_layout Standard
6550
6551 \end_layout
6552
6553 \end_inset
6554 </cell>
6555 </row>
6556 <row>
6557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6558 \begin_inset Text
6559
6560 \begin_layout Standard
6561
6562 \series bold
6563 Annovi
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 <cell alignment="center" valignment="top" topline="true" usebox="none">
6569 \begin_inset Text
6570
6571 \begin_layout Standard
6572 Silvia
6573 \end_layout
6574
6575 \end_inset
6576 </cell>
6577 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6578 \begin_inset Text
6579
6580 \begin_layout Standard
6581 111
6582 \end_layout
6583
6584 \end_inset
6585 </cell>
6586 </row>
6587 <row>
6588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6589 \begin_inset Text
6590
6591 \begin_layout Standard
6592
6593 \series bold
6594 Bertoli
6595 \end_layout
6596
6597 \end_inset
6598 </cell>
6599 <cell alignment="center" valignment="top" topline="true" usebox="none">
6600 \begin_inset Text
6601
6602 \begin_layout Standard
6603 Stefano
6604 \end_layout
6605
6606 \end_inset
6607 </cell>
6608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6609 \begin_inset Text
6610
6611 \begin_layout Standard
6612 111
6613 \end_layout
6614
6615 \end_inset
6616 </cell>
6617 </row>
6618 <row>
6619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Standard
6623
6624 \series bold
6625 Bozzi
6626 \end_layout
6627
6628 \end_inset
6629 </cell>
6630 <cell alignment="center" valignment="top" topline="true" usebox="none">
6631 \begin_inset Text
6632
6633 \begin_layout Standard
6634 Walter
6635 \end_layout
6636
6637 \end_inset
6638 </cell>
6639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6640 \begin_inset Text
6641
6642 \begin_layout Standard
6643 111
6644 \end_layout
6645
6646 \end_inset
6647 </cell>
6648 </row>
6649 <row>
6650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6651 \begin_inset Text
6652
6653 \begin_layout Standard
6654
6655 \series bold
6656 Cachia
6657 \end_layout
6658
6659 \end_inset
6660 </cell>
6661 <cell alignment="center" valignment="top" topline="true" usebox="none">
6662 \begin_inset Text
6663
6664 \begin_layout Standard
6665 Maria
6666 \end_layout
6667
6668 \end_inset
6669 </cell>
6670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6671 \begin_inset Text
6672
6673 \begin_layout Standard
6674 111
6675 \end_layout
6676
6677 \end_inset
6678 </cell>
6679 </row>
6680 <row>
6681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_inset Text
6683
6684 \begin_layout Standard
6685
6686 \series bold
6687 Cachia
6688 \end_layout
6689
6690 \end_inset
6691 </cell>
6692 <cell alignment="center" valignment="top" topline="true" usebox="none">
6693 \begin_inset Text
6694
6695 \begin_layout Standard
6696 Maurizio
6697 \end_layout
6698
6699 \end_inset
6700 </cell>
6701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6702 \begin_inset Text
6703
6704 \begin_layout Standard
6705 111
6706 \end_layout
6707
6708 \end_inset
6709 </cell>
6710 </row>
6711 <row>
6712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6713 \begin_inset Text
6714
6715 \begin_layout Standard
6716
6717 \series bold
6718 Cinquemani
6719 \end_layout
6720
6721 \end_inset
6722 </cell>
6723 <cell alignment="center" valignment="top" topline="true" usebox="none">
6724 \begin_inset Text
6725
6726 \begin_layout Standard
6727 Giusi
6728 \end_layout
6729
6730 \end_inset
6731 </cell>
6732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6733 \begin_inset Text
6734
6735 \begin_layout Standard
6736 111
6737 \end_layout
6738
6739 \end_inset
6740 </cell>
6741 </row>
6742 <row>
6743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6744 \begin_inset Text
6745
6746 \begin_layout Standard
6747
6748 \series bold
6749 Colin
6750 \end_layout
6751
6752 \end_inset
6753 </cell>
6754 <cell alignment="center" valignment="top" topline="true" usebox="none">
6755 \begin_inset Text
6756
6757 \begin_layout Standard
6758 Bernard
6759 \end_layout
6760
6761 \end_inset
6762 </cell>
6763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6764 \begin_inset Text
6765
6766 \begin_layout Standard
6767 111
6768 \end_layout
6769
6770 \end_inset
6771 </cell>
6772 </row>
6773 <row>
6774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6775 \begin_inset Text
6776
6777 \begin_layout Standard
6778
6779 \series bold
6780 Concli
6781 \end_layout
6782
6783 \end_inset
6784 </cell>
6785 <cell alignment="center" valignment="top" topline="true" usebox="none">
6786 \begin_inset Text
6787
6788 \begin_layout Standard
6789 Gianfranco
6790 \end_layout
6791
6792 \end_inset
6793 </cell>
6794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6795 \begin_inset Text
6796
6797 \begin_layout Standard
6798 111
6799 \end_layout
6800
6801 \end_inset
6802 </cell>
6803 </row>
6804 <row>
6805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6806 \begin_inset Text
6807
6808 \begin_layout Standard
6809
6810 \series bold
6811 Dal Bosco
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 <cell alignment="center" valignment="top" topline="true" usebox="none">
6817 \begin_inset Text
6818
6819 \begin_layout Standard
6820 Carolina
6821 \end_layout
6822
6823 \end_inset
6824 </cell>
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6826 \begin_inset Text
6827
6828 \begin_layout Standard
6829 111
6830 \end_layout
6831
6832 \end_inset
6833 </cell>
6834 </row>
6835 <row>
6836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6837 \begin_inset Text
6838
6839 \begin_layout Standard
6840
6841 \series bold
6842 Dalpiaz
6843 \end_layout
6844
6845 \end_inset
6846 </cell>
6847 <cell alignment="center" valignment="top" topline="true" usebox="none">
6848 \begin_inset Text
6849
6850 \begin_layout Standard
6851 Annamaria
6852 \end_layout
6853
6854 \end_inset
6855 </cell>
6856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6857 \begin_inset Text
6858
6859 \begin_layout Standard
6860 111
6861 \end_layout
6862
6863 \end_inset
6864 </cell>
6865 </row>
6866 <row>
6867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6868 \begin_inset Text
6869
6870 \begin_layout Standard
6871
6872 \series bold
6873 Feliciello
6874 \end_layout
6875
6876 \end_inset
6877 </cell>
6878 <cell alignment="center" valignment="top" topline="true" usebox="none">
6879 \begin_inset Text
6880
6881 \begin_layout Standard
6882 Domenico
6883 \end_layout
6884
6885 \end_inset
6886 </cell>
6887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6888 \begin_inset Text
6889
6890 \begin_layout Standard
6891 111
6892 \end_layout
6893
6894 \end_inset
6895 </cell>
6896 </row>
6897 <row>
6898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6899 \begin_inset Text
6900
6901 \begin_layout Standard
6902
6903 \series bold
6904 Focarelli
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 <cell alignment="center" valignment="top" topline="true" usebox="none">
6910 \begin_inset Text
6911
6912 \begin_layout Standard
6913 Paola
6914 \end_layout
6915
6916 \end_inset
6917 </cell>
6918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6919 \begin_inset Text
6920
6921 \begin_layout Standard
6922 111
6923 \end_layout
6924
6925 \end_inset
6926 </cell>
6927 </row>
6928 <row>
6929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6930 \begin_inset Text
6931
6932 \begin_layout Standard
6933
6934 \series bold
6935 Galletti
6936 \end_layout
6937
6938 \end_inset
6939 </cell>
6940 <cell alignment="center" valignment="top" topline="true" usebox="none">
6941 \begin_inset Text
6942
6943 \begin_layout Standard
6944 Oreste
6945 \end_layout
6946
6947 \end_inset
6948 </cell>
6949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6950 \begin_inset Text
6951
6952 \begin_layout Standard
6953 111
6954 \end_layout
6955
6956 \end_inset
6957 </cell>
6958 </row>
6959 <row>
6960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6961 \begin_inset Text
6962
6963 \begin_layout Standard
6964
6965 \series bold
6966 Gasparini
6967 \end_layout
6968
6969 \end_inset
6970 </cell>
6971 <cell alignment="center" valignment="top" topline="true" usebox="none">
6972 \begin_inset Text
6973
6974 \begin_layout Standard
6975 Franca
6976 \end_layout
6977
6978 \end_inset
6979 </cell>
6980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6981 \begin_inset Text
6982
6983 \begin_layout Standard
6984 111
6985 \end_layout
6986
6987 \end_inset
6988 </cell>
6989 </row>
6990 <row>
6991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6992 \begin_inset Text
6993
6994 \begin_layout Standard
6995
6996 \series bold
6997 Rizzardi
6998 \series default
6999
7000 \begin_inset Foot
7001 status collapsed
7002
7003 \begin_layout Standard
7004 Example footnote
7005 \end_layout
7006
7007 \end_inset
7008
7009
7010 \end_layout
7011
7012 \end_inset
7013 </cell>
7014 <cell alignment="center" valignment="top" topline="true" usebox="none">
7015 \begin_inset Text
7016
7017 \begin_layout Standard
7018 Paola
7019 \end_layout
7020
7021 \end_inset
7022 </cell>
7023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Standard
7027 111
7028 \end_layout
7029
7030 \end_inset
7031 </cell>
7032 </row>
7033 <row>
7034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7035 \begin_inset Text
7036
7037 \begin_layout Standard
7038
7039 \series bold
7040 Lassini
7041 \end_layout
7042
7043 \end_inset
7044 </cell>
7045 <cell alignment="center" valignment="top" topline="true" usebox="none">
7046 \begin_inset Text
7047
7048 \begin_layout Standard
7049 Giancarlo
7050 \end_layout
7051
7052 \end_inset
7053 </cell>
7054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Standard
7058 111
7059 \end_layout
7060
7061 \end_inset
7062 </cell>
7063 </row>
7064 <row>
7065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7066 \begin_inset Text
7067
7068 \begin_layout Standard
7069
7070 \series bold
7071 Malfatti
7072 \end_layout
7073
7074 \end_inset
7075 </cell>
7076 <cell alignment="center" valignment="top" topline="true" usebox="none">
7077 \begin_inset Text
7078
7079 \begin_layout Standard
7080 Luciano
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7086 \begin_inset Text
7087
7088 \begin_layout Standard
7089 111
7090 \end_layout
7091
7092 \end_inset
7093 </cell>
7094 </row>
7095 <row>
7096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7097 \begin_inset Text
7098
7099 \begin_layout Standard
7100
7101 \series bold
7102 Malfatti
7103 \end_layout
7104
7105 \end_inset
7106 </cell>
7107 <cell alignment="center" valignment="top" topline="true" usebox="none">
7108 \begin_inset Text
7109
7110 \begin_layout Standard
7111 Valeriano
7112 \end_layout
7113
7114 \end_inset
7115 </cell>
7116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7117 \begin_inset Text
7118
7119 \begin_layout Standard
7120 111
7121 \end_layout
7122
7123 \end_inset
7124 </cell>
7125 </row>
7126 <row>
7127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7128 \begin_inset Text
7129
7130 \begin_layout Standard
7131
7132 \series bold
7133 Meneguzzo
7134 \end_layout
7135
7136 \end_inset
7137 </cell>
7138 <cell alignment="center" valignment="top" topline="true" usebox="none">
7139 \begin_inset Text
7140
7141 \begin_layout Standard
7142 Roberto
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7148 \begin_inset Text
7149
7150 \begin_layout Standard
7151 111
7152 \end_layout
7153
7154 \end_inset
7155 </cell>
7156 </row>
7157 <row>
7158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7159 \begin_inset Text
7160
7161 \begin_layout Standard
7162
7163 \series bold
7164 Mezzadra
7165 \end_layout
7166
7167 \end_inset
7168 </cell>
7169 <cell alignment="center" valignment="top" topline="true" usebox="none">
7170 \begin_inset Text
7171
7172 \begin_layout Standard
7173 Roberto
7174 \end_layout
7175
7176 \end_inset
7177 </cell>
7178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7179 \begin_inset Text
7180
7181 \begin_layout Standard
7182 111
7183 \end_layout
7184
7185 \end_inset
7186 </cell>
7187 </row>
7188 <row>
7189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7190 \begin_inset Text
7191
7192 \begin_layout Standard
7193
7194 \series bold
7195 Pirpamer
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Standard
7204 Erich
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Standard
7213 111
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 </row>
7219 <row>
7220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7221 \begin_inset Text
7222
7223 \begin_layout Standard
7224
7225 \series bold
7226 Pochiesa
7227 \end_layout
7228
7229 \end_inset
7230 </cell>
7231 <cell alignment="center" valignment="top" topline="true" usebox="none">
7232 \begin_inset Text
7233
7234 \begin_layout Standard
7235 Paolo
7236 \end_layout
7237
7238 \end_inset
7239 </cell>
7240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7241 \begin_inset Text
7242
7243 \begin_layout Standard
7244 111, 222
7245 \end_layout
7246
7247 \end_inset
7248 </cell>
7249 </row>
7250 <row>
7251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7252 \begin_inset Text
7253
7254 \begin_layout Standard
7255
7256 \series bold
7257 Radina
7258 \end_layout
7259
7260 \end_inset
7261 </cell>
7262 <cell alignment="center" valignment="top" topline="true" usebox="none">
7263 \begin_inset Text
7264
7265 \begin_layout Standard
7266 Claudio
7267 \end_layout
7268
7269 \end_inset
7270 </cell>
7271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7272 \begin_inset Text
7273
7274 \begin_layout Standard
7275 111
7276 \end_layout
7277
7278 \end_inset
7279 </cell>
7280 </row>
7281 <row>
7282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7283 \begin_inset Text
7284
7285 \begin_layout Standard
7286
7287 \series bold
7288 Stuffer
7289 \end_layout
7290
7291 \end_inset
7292 </cell>
7293 <cell alignment="center" valignment="top" topline="true" usebox="none">
7294 \begin_inset Text
7295
7296 \begin_layout Standard
7297 Oskar
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7303 \begin_inset Text
7304
7305 \begin_layout Standard
7306 111
7307 \end_layout
7308
7309 \end_inset
7310 </cell>
7311 </row>
7312 <row>
7313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7314 \begin_inset Text
7315
7316 \begin_layout Standard
7317
7318 \series bold
7319 Tacchelli
7320 \end_layout
7321
7322 \end_inset
7323 </cell>
7324 <cell alignment="center" valignment="top" topline="true" usebox="none">
7325 \begin_inset Text
7326
7327 \begin_layout Standard
7328 Ugo
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Standard
7337 111
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 </row>
7343 <row>
7344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7345 \begin_inset Text
7346
7347 \begin_layout Standard
7348
7349 \series bold
7350 Tezzele
7351 \end_layout
7352
7353 \end_inset
7354 </cell>
7355 <cell alignment="center" valignment="top" topline="true" usebox="none">
7356 \begin_inset Text
7357
7358 \begin_layout Standard
7359 Margit
7360 \end_layout
7361
7362 \end_inset
7363 </cell>
7364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7365 \begin_inset Text
7366
7367 \begin_layout Standard
7368 111
7369 \end_layout
7370
7371 \end_inset
7372 </cell>
7373 </row>
7374 <row>
7375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7376 \begin_inset Text
7377
7378 \begin_layout Standard
7379
7380 \series bold
7381 Unterkalmsteiner
7382 \end_layout
7383
7384 \end_inset
7385 </cell>
7386 <cell alignment="center" valignment="top" topline="true" usebox="none">
7387 \begin_inset Text
7388
7389 \begin_layout Standard
7390 Frieda
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7396 \begin_inset Text
7397
7398 \begin_layout Standard
7399 111
7400 \end_layout
7401
7402 \end_inset
7403 </cell>
7404 </row>
7405 <row>
7406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7407 \begin_inset Text
7408
7409 \begin_layout Standard
7410
7411 \series bold
7412 Vieider
7413 \end_layout
7414
7415 \end_inset
7416 </cell>
7417 <cell alignment="center" valignment="top" topline="true" usebox="none">
7418 \begin_inset Text
7419
7420 \begin_layout Standard
7421 Hilde
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7427 \begin_inset Text
7428
7429 \begin_layout Standard
7430 111
7431 \end_layout
7432
7433 \end_inset
7434 </cell>
7435 </row>
7436 <row>
7437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7438 \begin_inset Text
7439
7440 \begin_layout Standard
7441
7442 \series bold
7443 Vigna
7444 \end_layout
7445
7446 \end_inset
7447 </cell>
7448 <cell alignment="center" valignment="top" topline="true" usebox="none">
7449 \begin_inset Text
7450
7451 \begin_layout Standard
7452 Jürgen
7453 \end_layout
7454
7455 \end_inset
7456 </cell>
7457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7458 \begin_inset Text
7459
7460 \begin_layout Standard
7461 111
7462 \end_layout
7463
7464 \end_inset
7465 </cell>
7466 </row>
7467 <row>
7468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7469 \begin_inset Text
7470
7471 \begin_layout Standard
7472
7473 \series bold
7474 Weber
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 <cell alignment="center" valignment="top" topline="true" usebox="none">
7480 \begin_inset Text
7481
7482 \begin_layout Standard
7483 Maurizio
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7489 \begin_inset Text
7490
7491 \begin_layout Standard
7492 111
7493 \end_layout
7494
7495 \end_inset
7496 </cell>
7497 </row>
7498 <row bottomline="true">
7499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7500 \begin_inset Text
7501
7502 \begin_layout Standard
7503
7504 \series bold
7505 Winkler
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Standard
7514 Franz
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7520 \begin_inset Text
7521
7522 \begin_layout Standard
7523 111
7524 \end_layout
7525
7526 \end_inset
7527 </cell>
7528 </row>
7529 <row bottomline="true">
7530 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7531 \begin_inset Text
7532
7533 \begin_layout Standard
7534  
7535 \end_layout
7536
7537 \end_inset
7538 </cell>
7539 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7540 \begin_inset Text
7541
7542 \begin_layout Standard
7543
7544 \end_layout
7545
7546 \end_inset
7547 </cell>
7548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7549 \begin_inset Text
7550
7551 \begin_layout Standard
7552
7553 \end_layout
7554
7555 \end_inset
7556 </cell>
7557 </row>
7558 <row>
7559 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7560 \begin_inset Text
7561
7562 \begin_layout Standard
7563
7564 \series bold
7565 Annovi
7566 \end_layout
7567
7568 \end_inset
7569 </cell>
7570 <cell alignment="center" valignment="top" topline="true" usebox="none">
7571 \begin_inset Text
7572
7573 \begin_layout Standard
7574 Silvia
7575 \end_layout
7576
7577 \end_inset
7578 </cell>
7579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7580 \begin_inset Text
7581
7582 \begin_layout Standard
7583 555
7584 \end_layout
7585
7586 \end_inset
7587 </cell>
7588 </row>
7589 <row>
7590 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7591 \begin_inset Text
7592
7593 \begin_layout Standard
7594
7595 \series bold
7596 Bertoli
7597 \end_layout
7598
7599 \end_inset
7600 </cell>
7601 <cell alignment="center" valignment="top" topline="true" usebox="none">
7602 \begin_inset Text
7603
7604 \begin_layout Standard
7605 Stefano
7606 \end_layout
7607
7608 \end_inset
7609 </cell>
7610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7611 \begin_inset Text
7612
7613 \begin_layout Standard
7614 555
7615 \end_layout
7616
7617 \end_inset
7618 </cell>
7619 </row>
7620 <row>
7621 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7622 \begin_inset Text
7623
7624 \begin_layout Standard
7625
7626 \series bold
7627 Bozzi
7628 \end_layout
7629
7630 \end_inset
7631 </cell>
7632 <cell alignment="center" valignment="top" topline="true" usebox="none">
7633 \begin_inset Text
7634
7635 \begin_layout Standard
7636 Walter
7637 \end_layout
7638
7639 \end_inset
7640 </cell>
7641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7642 \begin_inset Text
7643
7644 \begin_layout Standard
7645 555
7646 \end_layout
7647
7648 \end_inset
7649 </cell>
7650 </row>
7651 <row>
7652 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7653 \begin_inset Text
7654
7655 \begin_layout Standard
7656
7657 \series bold
7658 Cachia
7659 \end_layout
7660
7661 \end_inset
7662 </cell>
7663 <cell alignment="center" valignment="top" topline="true" usebox="none">
7664 \begin_inset Text
7665
7666 \begin_layout Standard
7667 Maria
7668 \end_layout
7669
7670 \end_inset
7671 </cell>
7672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7673 \begin_inset Text
7674
7675 \begin_layout Standard
7676 555
7677 \end_layout
7678
7679 \end_inset
7680 </cell>
7681 </row>
7682 <row>
7683 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7684 \begin_inset Text
7685
7686 \begin_layout Standard
7687
7688 \series bold
7689 Cachia
7690 \end_layout
7691
7692 \end_inset
7693 </cell>
7694 <cell alignment="center" valignment="top" topline="true" usebox="none">
7695 \begin_inset Text
7696
7697 \begin_layout Standard
7698 Maurizio
7699 \end_layout
7700
7701 \end_inset
7702 </cell>
7703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7704 \begin_inset Text
7705
7706 \begin_layout Standard
7707 555
7708 \end_layout
7709
7710 \end_inset
7711 </cell>
7712 </row>
7713 <row>
7714 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7715 \begin_inset Text
7716
7717 \begin_layout Standard
7718
7719 \series bold
7720 Cinquemani
7721 \end_layout
7722
7723 \end_inset
7724 </cell>
7725 <cell alignment="center" valignment="top" topline="true" usebox="none">
7726 \begin_inset Text
7727
7728 \begin_layout Standard
7729 Giusi
7730 \end_layout
7731
7732 \end_inset
7733 </cell>
7734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7735 \begin_inset Text
7736
7737 \begin_layout Standard
7738 555
7739 \end_layout
7740
7741 \end_inset
7742 </cell>
7743 </row>
7744 <row>
7745 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7746 \begin_inset Text
7747
7748 \begin_layout Standard
7749
7750 \series bold
7751 Colin
7752 \end_layout
7753
7754 \end_inset
7755 </cell>
7756 <cell alignment="center" valignment="top" topline="true" usebox="none">
7757 \begin_inset Text
7758
7759 \begin_layout Standard
7760 Bernard
7761 \end_layout
7762
7763 \end_inset
7764 </cell>
7765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7766 \begin_inset Text
7767
7768 \begin_layout Standard
7769 555
7770 \end_layout
7771
7772 \end_inset
7773 </cell>
7774 </row>
7775 <row>
7776 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7777 \begin_inset Text
7778
7779 \begin_layout Standard
7780
7781 \series bold
7782 Concli
7783 \end_layout
7784
7785 \end_inset
7786 </cell>
7787 <cell alignment="center" valignment="top" topline="true" usebox="none">
7788 \begin_inset Text
7789
7790 \begin_layout Standard
7791 Gianfranco
7792 \end_layout
7793
7794 \end_inset
7795 </cell>
7796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7797 \begin_inset Text
7798
7799 \begin_layout Standard
7800 555
7801 \end_layout
7802
7803 \end_inset
7804 </cell>
7805 </row>
7806 <row>
7807 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7808 \begin_inset Text
7809
7810 \begin_layout Standard
7811
7812 \series bold
7813 Dal Bosco
7814 \end_layout
7815
7816 \end_inset
7817 </cell>
7818 <cell alignment="center" valignment="top" topline="true" usebox="none">
7819 \begin_inset Text
7820
7821 \begin_layout Standard
7822 Carolina
7823 \end_layout
7824
7825 \end_inset
7826 </cell>
7827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7828 \begin_inset Text
7829
7830 \begin_layout Standard
7831 555
7832 \end_layout
7833
7834 \end_inset
7835 </cell>
7836 </row>
7837 <row>
7838 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7839 \begin_inset Text
7840
7841 \begin_layout Standard
7842
7843 \series bold
7844 Dalpiaz
7845 \end_layout
7846
7847 \end_inset
7848 </cell>
7849 <cell alignment="center" valignment="top" topline="true" usebox="none">
7850 \begin_inset Text
7851
7852 \begin_layout Standard
7853 Annamaria
7854 \end_layout
7855
7856 \end_inset
7857 </cell>
7858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7859 \begin_inset Text
7860
7861 \begin_layout Standard
7862 555
7863 \end_layout
7864
7865 \end_inset
7866 </cell>
7867 </row>
7868 <row>
7869 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7870 \begin_inset Text
7871
7872 \begin_layout Standard
7873
7874 \series bold
7875 Feliciello
7876 \end_layout
7877
7878 \end_inset
7879 </cell>
7880 <cell alignment="center" valignment="top" topline="true" usebox="none">
7881 \begin_inset Text
7882
7883 \begin_layout Standard
7884 Domenico
7885 \end_layout
7886
7887 \end_inset
7888 </cell>
7889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7890 \begin_inset Text
7891
7892 \begin_layout Standard
7893 555
7894 \end_layout
7895
7896 \end_inset
7897 </cell>
7898 </row>
7899 <row>
7900 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7901 \begin_inset Text
7902
7903 \begin_layout Standard
7904
7905 \series bold
7906 Focarelli
7907 \end_layout
7908
7909 \end_inset
7910 </cell>
7911 <cell alignment="center" valignment="top" topline="true" usebox="none">
7912 \begin_inset Text
7913
7914 \begin_layout Standard
7915 Paola
7916 \end_layout
7917
7918 \end_inset
7919 </cell>
7920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7921 \begin_inset Text
7922
7923 \begin_layout Standard
7924 555
7925 \end_layout
7926
7927 \end_inset
7928 </cell>
7929 </row>
7930 <row>
7931 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7932 \begin_inset Text
7933
7934 \begin_layout Standard
7935
7936 \series bold
7937 Galletti
7938 \end_layout
7939
7940 \end_inset
7941 </cell>
7942 <cell alignment="center" valignment="top" topline="true" usebox="none">
7943 \begin_inset Text
7944
7945 \begin_layout Standard
7946 Oreste
7947 \end_layout
7948
7949 \end_inset
7950 </cell>
7951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7952 \begin_inset Text
7953
7954 \begin_layout Standard
7955 555
7956 \end_layout
7957
7958 \end_inset
7959 </cell>
7960 </row>
7961 <row>
7962 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7963 \begin_inset Text
7964
7965 \begin_layout Standard
7966
7967 \series bold
7968 Gasparini
7969 \end_layout
7970
7971 \end_inset
7972 </cell>
7973 <cell alignment="center" valignment="top" topline="true" usebox="none">
7974 \begin_inset Text
7975
7976 \begin_layout Standard
7977 Franca
7978 \end_layout
7979
7980 \end_inset
7981 </cell>
7982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7983 \begin_inset Text
7984
7985 \begin_layout Standard
7986 555
7987 \end_layout
7988
7989 \end_inset
7990 </cell>
7991 </row>
7992 <row>
7993 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7994 \begin_inset Text
7995
7996 \begin_layout Standard
7997
7998 \series bold
7999 Rizzardi
8000 \end_layout
8001
8002 \end_inset
8003 </cell>
8004 <cell alignment="center" valignment="top" topline="true" usebox="none">
8005 \begin_inset Text
8006
8007 \begin_layout Standard
8008 Paola
8009 \end_layout
8010
8011 \end_inset
8012 </cell>
8013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8014 \begin_inset Text
8015
8016 \begin_layout Standard
8017 555
8018 \end_layout
8019
8020 \end_inset
8021 </cell>
8022 </row>
8023 <row>
8024 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8025 \begin_inset Text
8026
8027 \begin_layout Standard
8028
8029 \series bold
8030 Lassini
8031 \end_layout
8032
8033 \end_inset
8034 </cell>
8035 <cell alignment="center" valignment="top" topline="true" usebox="none">
8036 \begin_inset Text
8037
8038 \begin_layout Standard
8039 Giancarlo
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Standard
8048 555
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 </row>
8054 <row>
8055 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8056 \begin_inset Text
8057
8058 \begin_layout Standard
8059
8060 \series bold
8061 Malfatti
8062 \end_layout
8063
8064 \end_inset
8065 </cell>
8066 <cell alignment="center" valignment="top" topline="true" usebox="none">
8067 \begin_inset Text
8068
8069 \begin_layout Standard
8070 Luciano
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Standard
8079 555
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 </row>
8085 <row>
8086 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8087 \begin_inset Text
8088
8089 \begin_layout Standard
8090
8091 \series bold
8092 Malfatti
8093 \end_layout
8094
8095 \end_inset
8096 </cell>
8097 <cell alignment="center" valignment="top" topline="true" usebox="none">
8098 \begin_inset Text
8099
8100 \begin_layout Standard
8101 Valeriano
8102 \end_layout
8103
8104 \end_inset
8105 </cell>
8106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8107 \begin_inset Text
8108
8109 \begin_layout Standard
8110 555
8111 \end_layout
8112
8113 \end_inset
8114 </cell>
8115 </row>
8116 <row>
8117 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8118 \begin_inset Text
8119
8120 \begin_layout Standard
8121
8122 \series bold
8123 Meneguzzo
8124 \end_layout
8125
8126 \end_inset
8127 </cell>
8128 <cell alignment="center" valignment="top" topline="true" usebox="none">
8129 \begin_inset Text
8130
8131 \begin_layout Standard
8132 Roberto
8133 \end_layout
8134
8135 \end_inset
8136 </cell>
8137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8138 \begin_inset Text
8139
8140 \begin_layout Standard
8141 555
8142 \end_layout
8143
8144 \end_inset
8145 </cell>
8146 </row>
8147 <row bottomline="true">
8148 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8149 \begin_inset Text
8150
8151 \begin_layout Standard
8152
8153 \series bold
8154 Mezzadra
8155 \end_layout
8156
8157 \end_inset
8158 </cell>
8159 <cell alignment="center" valignment="top" topline="true" usebox="none">
8160 \begin_inset Text
8161
8162 \begin_layout Standard
8163 Roberto
8164 \end_layout
8165
8166 \end_inset
8167 </cell>
8168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8169 \begin_inset Text
8170
8171 \begin_layout Standard
8172 555
8173 \end_layout
8174
8175 \end_inset
8176 </cell>
8177 </row>
8178 <row bottomline="true" endlastfoot="true">
8179 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8180 \begin_inset Text
8181
8182 \begin_layout Standard
8183
8184 \end_layout
8185
8186 \end_inset
8187 </cell>
8188 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8189 \begin_inset Text
8190
8191 \begin_layout Standard
8192
8193 \end_layout
8194
8195 \end_inset
8196 </cell>
8197 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8198 \begin_inset Text
8199
8200 \begin_layout Standard
8201
8202 \end_layout
8203
8204 \end_inset
8205 </cell>
8206 </row>
8207 </lyxtabular>
8208
8209 \end_inset
8210
8211
8212 \end_layout
8213
8214 \begin_layout Section
8215 Special Longtable Issues
8216 \begin_inset LatexCommand label
8217 name "sec:Special-Longtable-Issues"
8218
8219 \end_inset
8220
8221
8222 \end_layout
8223
8224 \begin_layout Subsection
8225 Longtable Calculation
8226 \begin_inset LatexCommand index
8227 name "Longtables ! Calculation"
8228
8229 \end_inset
8230
8231
8232 \end_layout
8233
8234 \begin_layout Standard
8235 LaTeX calculates the height of table pages and their page breaks using so
8236  called chunks.
8237  Chunks are pieces of the tables that are at once in LaTeX's memory.
8238  The default value is historically set to only 20 table rows.
8239  If you are using longtables with many pages this may slow down the creation
8240  of your document.
8241  You can safely increase the chunk size to values of 100-1000 by adding
8242  this command line to your document preamble:
8243 \end_layout
8244
8245 \begin_layout Standard
8246
8247 \series bold
8248
8249 \backslash
8250 setcounter{LTchunksize}{100}
8251 \end_layout
8252
8253 \begin_layout Subsection
8254 Floats and Longtables
8255 \begin_inset LatexCommand index
8256 name "Longtables ! Floats"
8257
8258 \end_inset
8259
8260
8261 \end_layout
8262
8263 \begin_layout Standard
8264 There might be problems when a float appears on the same page where a longtable
8265  starts.
8266  To avoid such situation, add the command 
8267 \series bold
8268
8269 \backslash
8270 clearpage
8271 \series default
8272  as ERT before your longtable.
8273 \end_layout
8274
8275 \begin_layout Subsection
8276 Forced Page Breaks
8277 \begin_inset LatexCommand index
8278 name "Longtables ! Forced Page Breaks"
8279
8280 \end_inset
8281
8282
8283 \end_layout
8284
8285 \begin_layout Standard
8286 By default tables are only broken between rows.
8287  If you have a cell with multiples lines and want to have a page break within
8288  the cell, insert the new line command 
8289 \begin_inset Quotes eld
8290 \end_inset
8291
8292
8293 \series bold
8294
8295 \backslash
8296
8297 \backslash
8298
8299 \series default
8300
8301 \begin_inset Quotes erd
8302 \end_inset
8303
8304  as ERT at this point of the cell where it should be broken.
8305  Before the 
8306 \series bold
8307
8308 \backslash
8309
8310 \backslash
8311
8312 \series default
8313  command you have to insert in ERT so many 
8314 \begin_inset Quotes eld
8315 \end_inset
8316
8317
8318 \series bold
8319 &
8320 \series default
8321
8322 \begin_inset Quotes erd
8323 \end_inset
8324
8325  characters like the number of the following table columns.
8326  The 
8327 \series bold
8328 &
8329 \series default
8330  is the character to separate table cells.
8331  Write in ERT after each 
8332 \series bold
8333 &
8334 \series default
8335  the content of the corresponding following cell and delete the content
8336  of these cells.
8337 \newline
8338 Behind the the 
8339 \series bold
8340
8341 \backslash
8342
8343 \backslash
8344
8345 \series default
8346  command, insert so many 
8347 \series bold
8348 &
8349 \series default
8350  characters like the number of table columns before the current column.
8351  In Table\InsetSpace ~
8352
8353 \begin_inset LatexCommand ref
8354 reference "tab:ForcedPagebreak"
8355
8356 \end_inset
8357
8358  the cell that should be broken is in the second column followed by another
8359  column.
8360  Therefore the following command was inserted in the cell as ERT behind
8361  
8362 \begin_inset Quotes eld
8363 \end_inset
8364
8365
8366 \emph on
8367 Castelchiodato,
8368 \emph default
8369
8370 \begin_inset Quotes erd
8371 \end_inset
8372
8373 :
8374 \end_layout
8375
8376 \begin_layout Standard
8377
8378 \series bold
8379 & 111
8380 \backslash
8381
8382 \backslash
8383
8384 \newline
8385 &
8386 \end_layout
8387
8388 \begin_layout Standard
8389 The 
8390 \begin_inset Quotes eld
8391 \end_inset
8392
8393 111
8394 \begin_inset Quotes erd
8395 \end_inset
8396
8397  in the third columns of the row was deleted.
8398  If your footer row of the longtable has for a certain reason no upper line
8399  but you would have a horizontal line where the cell is broken, use this
8400  command instead:
8401 \end_layout
8402
8403 \begin_layout Standard
8404
8405 \series bold
8406 & 111
8407 \backslash
8408
8409 \backslash
8410
8411 \newline
8412
8413 \backslash
8414 hline &
8415 \end_layout
8416
8417 \begin_layout Standard
8418 When the cell to be broken is in the last column, the command
8419 \end_layout
8420
8421 \begin_layout Standard
8422
8423 \series bold
8424
8425 \backslash
8426 setlength{
8427 \backslash
8428 parf\SpecialChar \textcompwordmark{}
8429 illskip}{0pt}
8430 \end_layout
8431
8432 \begin_layout Standard
8433 must be inserted as ERT at the beginning of the cell.
8434  This assures that the part of the cell that will be displayed on the new
8435  page appears with the full width.
8436  
8437 \end_layout
8438
8439 \begin_layout Standard
8440 \align center
8441 \begin_inset Tabular
8442 <lyxtabular version="3" rows="39" columns="3">
8443 <features islongtable="true">
8444 <column alignment="left" valignment="top" leftline="true" width="0cm">
8445 <column alignment="left" valignment="top" rightline="true" width="3cm">
8446 <column alignment="right" valignment="top" rightline="true" width="0pt">
8447 <row endfirsthead="true">
8448 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8449 \begin_inset Text
8450
8451 \begin_layout Standard
8452 \begin_inset Caption
8453
8454 \begin_layout Standard
8455 Table with forced page break in table cell
8456 \begin_inset LatexCommand label
8457 name "tab:ForcedPagebreak"
8458
8459 \end_inset
8460
8461
8462 \begin_inset OptArg
8463 status collapsed
8464
8465 \begin_layout Standard
8466 Table with forced page break in table cell
8467 \end_layout
8468
8469 \end_inset
8470
8471
8472 \end_layout
8473
8474 \end_inset
8475
8476
8477 \begin_inset ERT
8478 status collapsed
8479
8480 \begin_layout Standard
8481
8482
8483 \backslash
8484
8485 \backslash
8486 %
8487 \end_layout
8488
8489 \end_inset
8490
8491
8492 \end_layout
8493
8494 \end_inset
8495 </cell>
8496 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8497 \begin_inset Text
8498
8499 \begin_layout Standard
8500
8501 \end_layout
8502
8503 \end_inset
8504 </cell>
8505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8506 \begin_inset Text
8507
8508 \begin_layout Standard
8509
8510 \end_layout
8511
8512 \end_inset
8513 </cell>
8514 </row>
8515 <row topline="true" bottomline="true" endfirsthead="true">
8516 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8517 \begin_inset Text
8518
8519 \begin_layout Standard
8520
8521 \series bold
8522 Example Phone List (ignore the names)
8523 \end_layout
8524
8525 \end_inset
8526 </cell>
8527 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8528 \begin_inset Text
8529
8530 \begin_layout Standard
8531
8532 \end_layout
8533
8534 \end_inset
8535 </cell>
8536 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8537 \begin_inset Text
8538
8539 \begin_layout Standard
8540
8541 \end_layout
8542
8543 \end_inset
8544 </cell>
8545 </row>
8546 <row topline="true" bottomline="true" endfirsthead="true">
8547 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8548 \begin_inset Text
8549
8550 \begin_layout Standard
8551
8552 \series bold
8553 NAME
8554 \end_layout
8555
8556 \end_inset
8557 </cell>
8558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8559 \begin_inset Text
8560
8561 \begin_layout Standard
8562
8563 \end_layout
8564
8565 \end_inset
8566 </cell>
8567 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8568 \begin_inset Text
8569
8570 \begin_layout Standard
8571
8572 \series bold
8573 TEL.
8574 \end_layout
8575
8576 \end_inset
8577 </cell>
8578 </row>
8579 <row bottomline="true" endhead="true">
8580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8581 \begin_inset Text
8582
8583 \begin_layout Standard
8584 \begin_inset ERT
8585 status collapsed
8586
8587 \begin_layout Standard
8588
8589
8590 \backslash
8591 caption*{Continued table with forced page break in table cell}
8592 \backslash
8593
8594 \backslash
8595 %
8596 \end_layout
8597
8598 \end_inset
8599
8600
8601 \end_layout
8602
8603 \end_inset
8604 </cell>
8605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8606 \begin_inset Text
8607
8608 \begin_layout Standard
8609
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Standard
8618
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 </row>
8624 <row topline="true" bottomline="true" endhead="true">
8625 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8626 \begin_inset Text
8627
8628 \begin_layout Standard
8629  
8630 \series bold
8631 Example Phone List
8632 \end_layout
8633
8634 \end_inset
8635 </cell>
8636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8637 \begin_inset Text
8638
8639 \begin_layout Standard
8640
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8646 \begin_inset Text
8647
8648 \begin_layout Standard
8649
8650 \end_layout
8651
8652 \end_inset
8653 </cell>
8654 </row>
8655 <row topline="true" bottomline="true" endhead="true">
8656 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8657 \begin_inset Text
8658
8659 \begin_layout Standard
8660
8661 \series bold
8662 NAME
8663 \end_layout
8664
8665 \end_inset
8666 </cell>
8667 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8668 \begin_inset Text
8669
8670 \begin_layout Standard
8671
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Standard
8680
8681 \series bold
8682 TEL.
8683 \end_layout
8684
8685 \end_inset
8686 </cell>
8687 </row>
8688 <row topline="true" bottomline="true" endfoot="true">
8689 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8690 \begin_inset Text
8691
8692 \begin_layout Standard
8693 continued on next page
8694 \end_layout
8695
8696 \end_inset
8697 </cell>
8698 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8699 \begin_inset Text
8700
8701 \begin_layout Standard
8702
8703 \end_layout
8704
8705 \end_inset
8706 </cell>
8707 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8708 \begin_inset Text
8709
8710 \begin_layout Standard
8711
8712 \end_layout
8713
8714 \end_inset
8715 </cell>
8716 </row>
8717 <row>
8718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8719 \begin_inset Text
8720
8721 \begin_layout Standard
8722
8723 \series bold
8724 Annovi
8725 \end_layout
8726
8727 \end_inset
8728 </cell>
8729 <cell alignment="center" valignment="top" topline="true" usebox="none">
8730 \begin_inset Text
8731
8732 \begin_layout Standard
8733 Silvia
8734 \end_layout
8735
8736 \end_inset
8737 </cell>
8738 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8739 \begin_inset Text
8740
8741 \begin_layout Standard
8742 111
8743 \end_layout
8744
8745 \end_inset
8746 </cell>
8747 </row>
8748 <row>
8749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8750 \begin_inset Text
8751
8752 \begin_layout Standard
8753
8754 \series bold
8755 Bertoli
8756 \end_layout
8757
8758 \end_inset
8759 </cell>
8760 <cell alignment="center" valignment="top" topline="true" usebox="none">
8761 \begin_inset Text
8762
8763 \begin_layout Standard
8764 Stefano
8765 \end_layout
8766
8767 \end_inset
8768 </cell>
8769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8770 \begin_inset Text
8771
8772 \begin_layout Standard
8773 111
8774 \end_layout
8775
8776 \end_inset
8777 </cell>
8778 </row>
8779 <row>
8780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8781 \begin_inset Text
8782
8783 \begin_layout Standard
8784
8785 \series bold
8786 Bozzi
8787 \end_layout
8788
8789 \end_inset
8790 </cell>
8791 <cell alignment="center" valignment="top" topline="true" usebox="none">
8792 \begin_inset Text
8793
8794 \begin_layout Standard
8795 Walter
8796 \end_layout
8797
8798 \end_inset
8799 </cell>
8800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8801 \begin_inset Text
8802
8803 \begin_layout Standard
8804 111
8805 \end_layout
8806
8807 \end_inset
8808 </cell>
8809 </row>
8810 <row>
8811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8812 \begin_inset Text
8813
8814 \begin_layout Standard
8815
8816 \series bold
8817 Cachia
8818 \end_layout
8819
8820 \end_inset
8821 </cell>
8822 <cell alignment="center" valignment="top" topline="true" usebox="none">
8823 \begin_inset Text
8824
8825 \begin_layout Standard
8826 Maria
8827 \end_layout
8828
8829 \end_inset
8830 </cell>
8831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8832 \begin_inset Text
8833
8834 \begin_layout Standard
8835 111
8836 \end_layout
8837
8838 \end_inset
8839 </cell>
8840 </row>
8841 <row>
8842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8843 \begin_inset Text
8844
8845 \begin_layout Standard
8846
8847 \series bold
8848 Cachia
8849 \end_layout
8850
8851 \end_inset
8852 </cell>
8853 <cell alignment="center" valignment="top" topline="true" usebox="none">
8854 \begin_inset Text
8855
8856 \begin_layout Standard
8857 Maurizio
8858 \end_layout
8859
8860 \end_inset
8861 </cell>
8862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8863 \begin_inset Text
8864
8865 \begin_layout Standard
8866 111
8867 \end_layout
8868
8869 \end_inset
8870 </cell>
8871 </row>
8872 <row>
8873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8874 \begin_inset Text
8875
8876 \begin_layout Standard
8877
8878 \series bold
8879 Cinquemani
8880 \end_layout
8881
8882 \end_inset
8883 </cell>
8884 <cell alignment="center" valignment="top" topline="true" usebox="none">
8885 \begin_inset Text
8886
8887 \begin_layout Standard
8888 Giusi
8889 \end_layout
8890
8891 \end_inset
8892 </cell>
8893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8894 \begin_inset Text
8895
8896 \begin_layout Standard
8897 111
8898 \end_layout
8899
8900 \end_inset
8901 </cell>
8902 </row>
8903 <row>
8904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8905 \begin_inset Text
8906
8907 \begin_layout Standard
8908
8909 \series bold
8910 Colin
8911 \end_layout
8912
8913 \end_inset
8914 </cell>
8915 <cell alignment="center" valignment="top" topline="true" usebox="none">
8916 \begin_inset Text
8917
8918 \begin_layout Standard
8919 Bernard
8920 \end_layout
8921
8922 \end_inset
8923 </cell>
8924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8925 \begin_inset Text
8926
8927 \begin_layout Standard
8928 111
8929 \end_layout
8930
8931 \end_inset
8932 </cell>
8933 </row>
8934 <row>
8935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8936 \begin_inset Text
8937
8938 \begin_layout Standard
8939
8940 \series bold
8941 Concli
8942 \end_layout
8943
8944 \end_inset
8945 </cell>
8946 <cell alignment="center" valignment="top" topline="true" usebox="none">
8947 \begin_inset Text
8948
8949 \begin_layout Standard
8950 Gianfranco
8951 \end_layout
8952
8953 \end_inset
8954 </cell>
8955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8956 \begin_inset Text
8957
8958 \begin_layout Standard
8959 111
8960 \end_layout
8961
8962 \end_inset
8963 </cell>
8964 </row>
8965 <row>
8966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8967 \begin_inset Text
8968
8969 \begin_layout Standard
8970
8971 \series bold
8972 Dal Bosco
8973 \end_layout
8974
8975 \end_inset
8976 </cell>
8977 <cell alignment="center" valignment="top" topline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Standard
8981 Carolina
8982 \end_layout
8983
8984 \end_inset
8985 </cell>
8986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8987 \begin_inset Text
8988
8989 \begin_layout Standard
8990 111
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 </row>
8996 <row>
8997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8998 \begin_inset Text
8999
9000 \begin_layout Standard
9001
9002 \series bold
9003 Dalpiaz
9004 \end_layout
9005
9006 \end_inset
9007 </cell>
9008 <cell alignment="center" valignment="top" topline="true" usebox="none">
9009 \begin_inset Text
9010
9011 \begin_layout Standard
9012 Annamaria
9013 \end_layout
9014
9015 \end_inset
9016 </cell>
9017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9018 \begin_inset Text
9019
9020 \begin_layout Standard
9021 111
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 </row>
9027 <row>
9028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9029 \begin_inset Text
9030
9031 \begin_layout Standard
9032
9033 \series bold
9034 Feliciello
9035 \end_layout
9036
9037 \end_inset
9038 </cell>
9039 <cell alignment="center" valignment="top" topline="true" usebox="none">
9040 \begin_inset Text
9041
9042 \begin_layout Standard
9043 Domenico
9044 \end_layout
9045
9046 \end_inset
9047 </cell>
9048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9049 \begin_inset Text
9050
9051 \begin_layout Standard
9052 111
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 </row>
9058 <row>
9059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9060 \begin_inset Text
9061
9062 \begin_layout Standard
9063
9064 \series bold
9065 Focarelli
9066 \end_layout
9067
9068 \end_inset
9069 </cell>
9070 <cell alignment="center" valignment="top" topline="true" usebox="none">
9071 \begin_inset Text
9072
9073 \begin_layout Standard
9074 Paola
9075 \end_layout
9076
9077 \end_inset
9078 </cell>
9079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9080 \begin_inset Text
9081
9082 \begin_layout Standard
9083 111
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 </row>
9089 <row>
9090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9091 \begin_inset Text
9092
9093 \begin_layout Standard
9094
9095 \series bold
9096 Galletti
9097 \end_layout
9098
9099 \end_inset
9100 </cell>
9101 <cell alignment="center" valignment="top" topline="true" usebox="none">
9102 \begin_inset Text
9103
9104 \begin_layout Standard
9105 Oreste
9106 \end_layout
9107
9108 \end_inset
9109 </cell>
9110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9111 \begin_inset Text
9112
9113 \begin_layout Standard
9114 111
9115 \end_layout
9116
9117 \end_inset
9118 </cell>
9119 </row>
9120 <row>
9121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Standard
9125
9126 \series bold
9127 Gasparini
9128 \end_layout
9129
9130 \end_inset
9131 </cell>
9132 <cell alignment="center" valignment="top" topline="true" usebox="none">
9133 \begin_inset Text
9134
9135 \begin_layout Standard
9136 Franca
9137 \end_layout
9138
9139 \end_inset
9140 </cell>
9141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Standard
9145 111
9146 \end_layout
9147
9148 \end_inset
9149 </cell>
9150 </row>
9151 <row>
9152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Standard
9156
9157 \series bold
9158 Lassini
9159 \end_layout
9160
9161 \end_inset
9162 </cell>
9163 <cell alignment="center" valignment="top" topline="true" usebox="none">
9164 \begin_inset Text
9165
9166 \begin_layout Standard
9167 Giancarlo
9168 \end_layout
9169
9170 \end_inset
9171 </cell>
9172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Standard
9176 111
9177 \end_layout
9178
9179 \end_inset
9180 </cell>
9181 </row>
9182 <row>
9183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Standard
9187
9188 \series bold
9189 Malfatti
9190 \end_layout
9191
9192 \end_inset
9193 </cell>
9194 <cell alignment="center" valignment="top" topline="true" usebox="none">
9195 \begin_inset Text
9196
9197 \begin_layout Standard
9198 Luciano
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9204 \begin_inset Text
9205
9206 \begin_layout Standard
9207 111
9208 \end_layout
9209
9210 \end_inset
9211 </cell>
9212 </row>
9213 <row>
9214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Standard
9218
9219 \series bold
9220 Malfatti
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 <cell alignment="center" valignment="top" topline="true" usebox="none">
9226 \begin_inset Text
9227
9228 \begin_layout Standard
9229 Valeriano
9230 \end_layout
9231
9232 \end_inset
9233 </cell>
9234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Standard
9238 111
9239 \end_layout
9240
9241 \end_inset
9242 </cell>
9243 </row>
9244 <row>
9245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Standard
9249
9250 \series bold
9251 Meneguzzo
9252 \end_layout
9253
9254 \end_inset
9255 </cell>
9256 <cell alignment="center" valignment="top" topline="true" usebox="none">
9257 \begin_inset Text
9258
9259 \begin_layout Standard
9260 Roberto
9261 \end_layout
9262
9263 \end_inset
9264 </cell>
9265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Standard
9269 111
9270 \end_layout
9271
9272 \end_inset
9273 </cell>
9274 </row>
9275 <row>
9276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Standard
9280
9281 \series bold
9282 Mezzadra
9283 \end_layout
9284
9285 \end_inset
9286 </cell>
9287 <cell alignment="center" valignment="top" topline="true" usebox="none">
9288 \begin_inset Text
9289
9290 \begin_layout Standard
9291 Roberto
9292 \end_layout
9293
9294 \end_inset
9295 </cell>
9296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Standard
9300 111
9301 \end_layout
9302
9303 \end_inset
9304 </cell>
9305 </row>
9306 <row>
9307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9308 \begin_inset Text
9309
9310 \begin_layout Standard
9311
9312 \series bold
9313 Pirpamer
9314 \end_layout
9315
9316 \end_inset
9317 </cell>
9318 <cell alignment="center" valignment="top" topline="true" usebox="none">
9319 \begin_inset Text
9320
9321 \begin_layout Standard
9322 Erich
9323 \end_layout
9324
9325 \end_inset
9326 </cell>
9327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9328 \begin_inset Text
9329
9330 \begin_layout Standard
9331 111
9332 \end_layout
9333
9334 \end_inset
9335 </cell>
9336 </row>
9337 <row>
9338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9339 \begin_inset Text
9340
9341 \begin_layout Standard
9342
9343 \series bold
9344 Pochiesa
9345 \end_layout
9346
9347 \end_inset
9348 </cell>
9349 <cell alignment="center" valignment="top" topline="true" usebox="none">
9350 \begin_inset Text
9351
9352 \begin_layout Standard
9353 Paolo
9354 \end_layout
9355
9356 \end_inset
9357 </cell>
9358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9359 \begin_inset Text
9360
9361 \begin_layout Standard
9362 111, 222
9363 \end_layout
9364
9365 \end_inset
9366 </cell>
9367 </row>
9368 <row>
9369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9370 \begin_inset Text
9371
9372 \begin_layout Standard
9373
9374 \series bold
9375 Radina
9376 \end_layout
9377
9378 \end_inset
9379 </cell>
9380 <cell alignment="center" valignment="top" topline="true" usebox="none">
9381 \begin_inset Text
9382
9383 \begin_layout Standard
9384 Claudio
9385 \end_layout
9386
9387 \end_inset
9388 </cell>
9389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9390 \begin_inset Text
9391
9392 \begin_layout Standard
9393 111
9394 \end_layout
9395
9396 \end_inset
9397 </cell>
9398 </row>
9399 <row>
9400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9401 \begin_inset Text
9402
9403 \begin_layout Standard
9404
9405 \series bold
9406 Rizzardi
9407 \end_layout
9408
9409 \end_inset
9410 </cell>
9411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9412 \begin_inset Text
9413
9414 \begin_layout Standard
9415 Paolo, 11.
9416  Fürst von Montecompatri, 11.
9417  Fürst von Sulmona und Vivaro, 10.
9418  Fürst von Rossano, 5.
9419  Herzog von Canemorte, 11.
9420  Herzog von Palombara, 5.
9421  Herzog von Castelchiodato,
9422 \begin_inset ERT
9423 status collapsed
9424
9425 \begin_layout Standard
9426
9427 & 111
9428 \backslash
9429
9430 \backslash
9431
9432 \end_layout
9433
9434 \begin_layout Standard
9435
9436 &
9437 \end_layout
9438
9439 \end_inset
9440
9441  11.
9442  Herzog von Poggionativo, 11.
9443  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9444  Graf von Valinfreda, 11.
9445  Baron von Cropalati, 11.
9446  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9447 \end_layout
9448
9449 \end_inset
9450 </cell>
9451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9452 \begin_inset Text
9453
9454 \begin_layout Standard
9455
9456 \end_layout
9457
9458 \end_inset
9459 </cell>
9460 </row>
9461 <row>
9462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9463 \begin_inset Text
9464
9465 \begin_layout Standard
9466
9467 \series bold
9468 Stuffer
9469 \end_layout
9470
9471 \end_inset
9472 </cell>
9473 <cell alignment="center" valignment="top" topline="true" usebox="none">
9474 \begin_inset Text
9475
9476 \begin_layout Standard
9477 Oskar
9478 \end_layout
9479
9480 \end_inset
9481 </cell>
9482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9483 \begin_inset Text
9484
9485 \begin_layout Standard
9486 111
9487 \end_layout
9488
9489 \end_inset
9490 </cell>
9491 </row>
9492 <row>
9493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9494 \begin_inset Text
9495
9496 \begin_layout Standard
9497
9498 \series bold
9499 Tacchelli
9500 \end_layout
9501
9502 \end_inset
9503 </cell>
9504 <cell alignment="center" valignment="top" topline="true" usebox="none">
9505 \begin_inset Text
9506
9507 \begin_layout Standard
9508 Ugo
9509 \end_layout
9510
9511 \end_inset
9512 </cell>
9513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9514 \begin_inset Text
9515
9516 \begin_layout Standard
9517 111
9518 \end_layout
9519
9520 \end_inset
9521 </cell>
9522 </row>
9523 <row>
9524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9525 \begin_inset Text
9526
9527 \begin_layout Standard
9528
9529 \series bold
9530 Tezzele
9531 \end_layout
9532
9533 \end_inset
9534 </cell>
9535 <cell alignment="center" valignment="top" topline="true" usebox="none">
9536 \begin_inset Text
9537
9538 \begin_layout Standard
9539 Margit
9540 \end_layout
9541
9542 \end_inset
9543 </cell>
9544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9545 \begin_inset Text
9546
9547 \begin_layout Standard
9548 111
9549 \end_layout
9550
9551 \end_inset
9552 </cell>
9553 </row>
9554 <row>
9555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9556 \begin_inset Text
9557
9558 \begin_layout Standard
9559
9560 \series bold
9561 Unterkalmsteiner
9562 \end_layout
9563
9564 \end_inset
9565 </cell>
9566 <cell alignment="center" valignment="top" topline="true" usebox="none">
9567 \begin_inset Text
9568
9569 \begin_layout Standard
9570 Frieda
9571 \end_layout
9572
9573 \end_inset
9574 </cell>
9575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9576 \begin_inset Text
9577
9578 \begin_layout Standard
9579 111
9580 \end_layout
9581
9582 \end_inset
9583 </cell>
9584 </row>
9585 <row>
9586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9587 \begin_inset Text
9588
9589 \begin_layout Standard
9590
9591 \series bold
9592 Vieider
9593 \end_layout
9594
9595 \end_inset
9596 </cell>
9597 <cell alignment="center" valignment="top" topline="true" usebox="none">
9598 \begin_inset Text
9599
9600 \begin_layout Standard
9601 Hilde
9602 \end_layout
9603
9604 \end_inset
9605 </cell>
9606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9607 \begin_inset Text
9608
9609 \begin_layout Standard
9610 111
9611 \end_layout
9612
9613 \end_inset
9614 </cell>
9615 </row>
9616 <row>
9617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9618 \begin_inset Text
9619
9620 \begin_layout Standard
9621
9622 \series bold
9623 Vigna
9624 \end_layout
9625
9626 \end_inset
9627 </cell>
9628 <cell alignment="center" valignment="top" topline="true" usebox="none">
9629 \begin_inset Text
9630
9631 \begin_layout Standard
9632 Jürgen
9633 \end_layout
9634
9635 \end_inset
9636 </cell>
9637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9638 \begin_inset Text
9639
9640 \begin_layout Standard
9641 111
9642 \end_layout
9643
9644 \end_inset
9645 </cell>
9646 </row>
9647 <row>
9648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9649 \begin_inset Text
9650
9651 \begin_layout Standard
9652
9653 \series bold
9654 Weber
9655 \end_layout
9656
9657 \end_inset
9658 </cell>
9659 <cell alignment="center" valignment="top" topline="true" usebox="none">
9660 \begin_inset Text
9661
9662 \begin_layout Standard
9663 Maurizio
9664 \end_layout
9665
9666 \end_inset
9667 </cell>
9668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9669 \begin_inset Text
9670
9671 \begin_layout Standard
9672 111
9673 \end_layout
9674
9675 \end_inset
9676 </cell>
9677 </row>
9678 <row bottomline="true">
9679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9680 \begin_inset Text
9681
9682 \begin_layout Standard
9683
9684 \series bold
9685 Winkler
9686 \end_layout
9687
9688 \end_inset
9689 </cell>
9690 <cell alignment="center" valignment="top" topline="true" usebox="none">
9691 \begin_inset Text
9692
9693 \begin_layout Standard
9694 Franz
9695 \end_layout
9696
9697 \end_inset
9698 </cell>
9699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9700 \begin_inset Text
9701
9702 \begin_layout Standard
9703 111
9704 \end_layout
9705
9706 \end_inset
9707 </cell>
9708 </row>
9709 <row endlastfoot="true">
9710 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9711 \begin_inset Text
9712
9713 \begin_layout Standard
9714
9715 \end_layout
9716
9717 \end_inset
9718 </cell>
9719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9720 \begin_inset Text
9721
9722 \begin_layout Standard
9723
9724 \end_layout
9725
9726 \end_inset
9727 </cell>
9728 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9729 \begin_inset Text
9730
9731 \begin_layout Standard
9732
9733 \end_layout
9734
9735 \end_inset
9736 </cell>
9737 </row>
9738 </lyxtabular>
9739
9740 \end_inset
9741
9742
9743 \end_layout
9744
9745 \begin_layout Section
9746 Multiple Lines Columns and Rows
9747 \end_layout
9748
9749 \begin_layout Subsection
9750 Multiple Lines in Table Cells
9751 \begin_inset LatexCommand label
9752 name "sub:Multiple-Lines-in"
9753
9754 \end_inset
9755
9756
9757 \begin_inset LatexCommand index
9758 name "Multiple Lines in Table Cells"
9759
9760 \end_inset
9761
9762
9763 \begin_inset LatexCommand index
9764 name "Table ! Linebreaks"
9765
9766 \end_inset
9767
9768
9769 \end_layout
9770
9771 \begin_layout Standard
9772 \align center
9773 \begin_inset Float table
9774 placement H
9775 wide false
9776 sideways false
9777 status collapsed
9778
9779 \begin_layout Standard
9780 \begin_inset Caption
9781
9782 \begin_layout Standard
9783 \begin_inset LatexCommand label
9784 name "tab:Table-with-multiple"
9785
9786 \end_inset
9787
9788 Table with multiple lines in cells
9789 \end_layout
9790
9791 \end_inset
9792
9793
9794 \end_layout
9795
9796 \begin_layout Standard
9797 \align center
9798 \begin_inset Tabular
9799 <lyxtabular version="3" rows="3" columns="3">
9800 <features>
9801 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9802 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9803 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9804 <row topline="true">
9805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9806 \begin_inset Text
9807
9808 \begin_layout Standard
9809 multiple
9810 \begin_inset ERT
9811 status collapsed
9812
9813 \begin_layout Standard
9814
9815
9816 \backslash
9817 linebreak 
9818 \end_layout
9819
9820 \end_inset
9821
9822  lines
9823 \end_layout
9824
9825 \end_inset
9826 </cell>
9827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9828 \begin_inset Text
9829
9830 \begin_layout Standard
9831 b
9832 \end_layout
9833
9834 \end_inset
9835 </cell>
9836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9837 \begin_inset Text
9838
9839 \begin_layout Standard
9840 c
9841 \end_layout
9842
9843 \end_inset
9844 </cell>
9845 </row>
9846 <row topline="true">
9847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9848 \begin_inset Text
9849
9850 \begin_layout Standard
9851 d
9852 \end_layout
9853
9854 \end_inset
9855 </cell>
9856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9857 \begin_inset Text
9858
9859 \begin_layout Standard
9860 e
9861 \end_layout
9862
9863 \end_inset
9864 </cell>
9865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9866 \begin_inset Text
9867
9868 \begin_layout Standard
9869 f
9870 \end_layout
9871
9872 \end_inset
9873 </cell>
9874 </row>
9875 <row topline="true" bottomline="true">
9876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9877 \begin_inset Text
9878
9879 \begin_layout Standard
9880 g
9881 \end_layout
9882
9883 \end_inset
9884 </cell>
9885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9886 \begin_inset Text
9887
9888 \begin_layout Standard
9889 h
9890 \end_layout
9891
9892 \end_inset
9893 </cell>
9894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9895 \begin_inset Text
9896
9897 \begin_layout Standard
9898 i
9899 \end_layout
9900
9901 \end_inset
9902 </cell>
9903 </row>
9904 </lyxtabular>
9905
9906 \end_inset
9907
9908
9909 \end_layout
9910
9911 \end_inset
9912
9913
9914 \end_layout
9915
9916 \begin_layout Standard
9917 Adjusting a fixed width for a column, enables to enter text as a paragraph
9918  with multiple lines and hyphenations.
9919 \end_layout
9920
9921 \begin_layout Standard
9922 To produce Table\InsetSpace ~
9923
9924 \begin_inset LatexCommand ref
9925 reference "tab:Table-with-multiple"
9926
9927 \end_inset
9928
9929 , create a 3×3 table, mark the first cell and right-click on it.
9930  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9931 cm and choose centered
9932  for the vertical and horizontal alignment.
9933  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9934 cm, only one line will appear.
9935  To get two lines, we add a line break with the command
9936 \end_layout
9937
9938 \begin_layout Standard
9939
9940 \series bold
9941
9942 \backslash
9943 linebreak
9944 \end_layout
9945
9946 \begin_layout Standard
9947 in ERT.
9948  If the text is wider than the set cell width it will automatically be broken
9949  to several lines.
9950 \end_layout
9951
9952 \begin_layout Standard
9953 To center the text inside the two other cells of the first row vertically,
9954  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9955 cm and choose
9956  centered alignments.
9957  Then do the same for the third cell of the row.
9958 \end_layout
9959
9960 \begin_layout Standard
9961 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9962  by LaTeX if it is the first entry.
9963  Therefore you need to insert something, to make the word not being the
9964  first entry: Add the command
9965 \end_layout
9966
9967 \begin_layout Standard
9968
9969 \series bold
9970
9971 \backslash
9972 hspace{0pt}
9973 \end_layout
9974
9975 \begin_layout Standard
9976 in ERT before the word.
9977  As the space is zero, it doesn't change the output.
9978  Table\InsetSpace ~
9979
9980 \begin_inset LatexCommand ref
9981 reference "tab:Table-with-and"
9982
9983 \end_inset
9984
9985  shows the effect.
9986 \end_layout
9987
9988 \begin_layout Standard
9989 \begin_inset Float table
9990 wide false
9991 sideways false
9992 status open
9993
9994 \begin_layout Standard
9995 \begin_inset Caption
9996
9997 \begin_layout Standard
9998 \begin_inset LatexCommand label
9999 name "tab:Table-with-and"
10000
10001 \end_inset
10002
10003 Table with and without hyphenation
10004 \end_layout
10005
10006 \end_inset
10007
10008
10009 \end_layout
10010
10011 \begin_layout Standard
10012
10013 \hfill
10014
10015 \begin_inset Tabular
10016 <lyxtabular version="3" rows="3" columns="3">
10017 <features>
10018 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10019 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10020 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10021 <row topline="true">
10022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10023 \begin_inset Text
10024
10025 \begin_layout Standard
10026 verylongtablecellword
10027 \end_layout
10028
10029 \end_inset
10030 </cell>
10031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10032 \begin_inset Text
10033
10034 \begin_layout Standard
10035 b
10036 \end_layout
10037
10038 \end_inset
10039 </cell>
10040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10041 \begin_inset Text
10042
10043 \begin_layout Standard
10044 c
10045 \end_layout
10046
10047 \end_inset
10048 </cell>
10049 </row>
10050 <row topline="true">
10051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10052 \begin_inset Text
10053
10054 \begin_layout Standard
10055 d
10056 \end_layout
10057
10058 \end_inset
10059 </cell>
10060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10061 \begin_inset Text
10062
10063 \begin_layout Standard
10064 e
10065 \end_layout
10066
10067 \end_inset
10068 </cell>
10069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10070 \begin_inset Text
10071
10072 \begin_layout Standard
10073 f
10074 \end_layout
10075
10076 \end_inset
10077 </cell>
10078 </row>
10079 <row topline="true" bottomline="true">
10080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10081 \begin_inset Text
10082
10083 \begin_layout Standard
10084 g
10085 \end_layout
10086
10087 \end_inset
10088 </cell>
10089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10090 \begin_inset Text
10091
10092 \begin_layout Standard
10093 h
10094 \end_layout
10095
10096 \end_inset
10097 </cell>
10098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10099 \begin_inset Text
10100
10101 \begin_layout Standard
10102 i
10103 \end_layout
10104
10105 \end_inset
10106 </cell>
10107 </row>
10108 </lyxtabular>
10109
10110 \end_inset
10111
10112
10113 \hfill
10114
10115 \begin_inset Tabular
10116 <lyxtabular version="3" rows="3" columns="3">
10117 <features>
10118 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10119 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10120 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10121 <row topline="true">
10122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10123 \begin_inset Text
10124
10125 \begin_layout Standard
10126 \begin_inset ERT
10127 status collapsed
10128
10129 \begin_layout Standard
10130
10131
10132 \backslash
10133 hspace{0pt}
10134 \end_layout
10135
10136 \end_inset
10137
10138 verylongtablecellword
10139 \end_layout
10140
10141 \end_inset
10142 </cell>
10143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10144 \begin_inset Text
10145
10146 \begin_layout Standard
10147 b
10148 \end_layout
10149
10150 \end_inset
10151 </cell>
10152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10153 \begin_inset Text
10154
10155 \begin_layout Standard
10156 c
10157 \end_layout
10158
10159 \end_inset
10160 </cell>
10161 </row>
10162 <row topline="true">
10163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10164 \begin_inset Text
10165
10166 \begin_layout Standard
10167 d
10168 \end_layout
10169
10170 \end_inset
10171 </cell>
10172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10173 \begin_inset Text
10174
10175 \begin_layout Standard
10176 e
10177 \end_layout
10178
10179 \end_inset
10180 </cell>
10181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10182 \begin_inset Text
10183
10184 \begin_layout Standard
10185 f
10186 \end_layout
10187
10188 \end_inset
10189 </cell>
10190 </row>
10191 <row topline="true" bottomline="true">
10192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10193 \begin_inset Text
10194
10195 \begin_layout Standard
10196 g
10197 \end_layout
10198
10199 \end_inset
10200 </cell>
10201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10202 \begin_inset Text
10203
10204 \begin_layout Standard
10205 h
10206 \end_layout
10207
10208 \end_inset
10209 </cell>
10210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10211 \begin_inset Text
10212
10213 \begin_layout Standard
10214 i
10215 \end_layout
10216
10217 \end_inset
10218 </cell>
10219 </row>
10220 </lyxtabular>
10221
10222 \end_inset
10223
10224
10225 \hfill
10226
10227 \end_layout
10228
10229 \end_inset
10230
10231
10232 \end_layout
10233
10234 \begin_layout Standard
10235
10236 \newpage
10237
10238 \end_layout
10239
10240 \begin_layout Subsection
10241 Multicolumns
10242 \begin_inset LatexCommand label
10243 name "sub:Multicolumns"
10244
10245 \end_inset
10246
10247
10248 \begin_inset LatexCommand index
10249 name "Multicolumns"
10250
10251 \end_inset
10252
10253
10254 \begin_inset LatexCommand index
10255 name "Table ! Multicolumns"
10256
10257 \end_inset
10258
10259
10260 \end_layout
10261
10262 \begin_layout Subsubsection
10263 Multicolumn Basics
10264 \end_layout
10265
10266 \begin_layout Standard
10267 To span a cell over multiple columns, mark as much cells within a line that
10268  should be one spanned cell and use either the table-toolbar button 
10269 \begin_inset Graphics
10270         filename ../images/tabular-feature_multicolumn.xpm
10271         scale 85
10272
10273 \end_inset
10274
10275 , or the menu 
10276 \family sans
10277 Edit\SpecialChar \menuseparator
10278 Table\SpecialChar \menuseparator
10279 Multicolumn
10280 \family default
10281 , or right click on the marked cells and choose multicolumn in the appearing
10282  table dialog under the tab 
10283 \family sans
10284 Table Settings
10285 \family default
10286 .
10287 \end_layout
10288
10289 \begin_layout Standard
10290 Multicolumns have there own cell settings.
10291  That means changing cell borders, cell alignment, and the width only affects
10292  the multicolumn.
10293  Here is an example table with a multicolumn cell in the first row and one
10294  in the last row without the upper border:
10295 \end_layout
10296
10297 \begin_layout Standard
10298 \align center
10299 \begin_inset Tabular
10300 <lyxtabular version="3" rows="3" columns="4">
10301 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10302 <column alignment="center" valignment="top" leftline="true" width="0pt">
10303 <column alignment="center" valignment="middle" leftline="true" width="0">
10304 <column alignment="center" valignment="top" leftline="true" width="0in">
10305 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10306 <row topline="true" bottomline="true">
10307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10308 \begin_inset Text
10309
10310 \begin_layout Standard
10311 abc
10312 \end_layout
10313
10314 \end_inset
10315 </cell>
10316 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10317 \begin_inset Text
10318
10319 \begin_layout Standard
10320 def
10321 \lang ngerman
10322  
10323 \lang english
10324 ghi
10325 \end_layout
10326
10327 \end_inset
10328 </cell>
10329 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10330 \begin_inset Text
10331
10332 \begin_layout Standard
10333
10334 \end_layout
10335
10336 \end_inset
10337 </cell>
10338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10339 \begin_inset Text
10340
10341 \begin_layout Standard
10342 jkl
10343 \end_layout
10344
10345 \end_inset
10346 </cell>
10347 </row>
10348 <row topline="true">
10349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10350 \begin_inset Text
10351
10352 \begin_layout Standard
10353
10354 \family roman
10355 \series medium
10356 \shape up
10357 \size normal
10358 \emph off
10359 \bar no
10360 \noun off
10361 \color none
10362 A
10363 \end_layout
10364
10365 \end_inset
10366 </cell>
10367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10368 \begin_inset Text
10369
10370 \begin_layout Standard
10371 B
10372 \end_layout
10373
10374 \end_inset
10375 </cell>
10376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10377 \begin_inset Text
10378
10379 \begin_layout Standard
10380 C
10381 \end_layout
10382
10383 \end_inset
10384 </cell>
10385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10386 \begin_inset Text
10387
10388 \begin_layout Standard
10389 D
10390 \end_layout
10391
10392 \end_inset
10393 </cell>
10394 </row>
10395 <row topline="true" bottomline="true">
10396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10397 \begin_inset Text
10398
10399 \begin_layout Standard
10400 1
10401 \end_layout
10402
10403 \end_inset
10404 </cell>
10405 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10406 \begin_inset Text
10407
10408 \begin_layout Standard
10409 2
10410 \end_layout
10411
10412 \end_inset
10413 </cell>
10414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10415 \begin_inset Text
10416
10417 \begin_layout Standard
10418 3
10419 \end_layout
10420
10421 \end_inset
10422 </cell>
10423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10424 \begin_inset Text
10425
10426 \begin_layout Standard
10427 4
10428 \end_layout
10429
10430 \end_inset
10431 </cell>
10432 </row>
10433 </lyxtabular>
10434
10435 \end_inset
10436
10437
10438 \end_layout
10439
10440 \begin_layout Subsubsection
10441 Multicolumn Calculations
10442 \begin_inset LatexCommand label
10443 name "sub:Multicolumn-Calculations"
10444
10445 \end_inset
10446
10447
10448 \begin_inset LatexCommand index
10449 name "Multicolumns ! Calculations"
10450
10451 \end_inset
10452
10453
10454 \end_layout
10455
10456 \begin_layout Standard
10457 LyX supports multicolumns directly, but we have to take notice of the cell
10458  width of the columns spanned by the multicolumn cell.
10459 \end_layout
10460
10461 \begin_layout Standard
10462 \begin_inset Float table
10463 wide false
10464 sideways false
10465 status open
10466
10467 \begin_layout Standard
10468 \begin_inset Caption
10469
10470 \begin_layout Standard
10471 \begin_inset LatexCommand label
10472 name "tab:Table-with-centered"
10473
10474 \end_inset
10475
10476 Table with centered multicolumn text above two columns that have exactly
10477  half the width of the multicolumn cell
10478 \begin_inset OptArg
10479 status collapsed
10480
10481 \begin_layout Standard
10482 Perfect multicolumn table
10483 \end_layout
10484
10485 \end_inset
10486
10487
10488 \end_layout
10489
10490 \end_inset
10491
10492
10493 \end_layout
10494
10495 \begin_layout Standard
10496 \align center
10497 \begin_inset Tabular
10498 <lyxtabular version="3" rows="3" columns="3">
10499 <features>
10500 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10501 <column alignment="center" valignment="middle" leftline="true" width="0">
10502 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10503 <row topline="true">
10504 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10505 \begin_inset Text
10506
10507 \begin_layout Standard
10508 multiple lines multicolumn
10509 \end_layout
10510
10511 \end_inset
10512 </cell>
10513 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10514 \begin_inset Text
10515
10516 \begin_layout Standard
10517
10518 \end_layout
10519
10520 \end_inset
10521 </cell>
10522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10523 \begin_inset Text
10524
10525 \begin_layout Standard
10526 c
10527 \end_layout
10528
10529 \end_inset
10530 </cell>
10531 </row>
10532 <row topline="true">
10533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10534 \begin_inset Text
10535
10536 \begin_layout Standard
10537 d
10538 \end_layout
10539
10540 \end_inset
10541 </cell>
10542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10543 \begin_inset Text
10544
10545 \begin_layout Standard
10546 e
10547 \end_layout
10548
10549 \end_inset
10550 </cell>
10551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10552 \begin_inset Text
10553
10554 \begin_layout Standard
10555 f
10556 \end_layout
10557
10558 \end_inset
10559 </cell>
10560 </row>
10561 <row topline="true" bottomline="true">
10562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10563 \begin_inset Text
10564
10565 \begin_layout Standard
10566 g
10567 \end_layout
10568
10569 \end_inset
10570 </cell>
10571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10572 \begin_inset Text
10573
10574 \begin_layout Standard
10575 h
10576 \end_layout
10577
10578 \end_inset
10579 </cell>
10580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Standard
10584 i
10585 \end_layout
10586
10587 \end_inset
10588 </cell>
10589 </row>
10590 </lyxtabular>
10591
10592 \end_inset
10593
10594
10595 \end_layout
10596
10597 \end_inset
10598
10599
10600 \end_layout
10601
10602 \begin_layout Standard
10603 To create for example Table\InsetSpace ~
10604
10605 \begin_inset LatexCommand ref
10606 reference "tab:Table-with-centered"
10607
10608 \end_inset
10609
10610 , mark the first two cells in the first row a 3×3 table and right-click
10611  on them.
10612  Now choose for this cell 
10613 \emph on
10614 multicolumn
10615 \emph default
10616
10617 \emph on
10618 centered alignment
10619 \emph default
10620  and a width of 2.5\InsetSpace \thinspace{}
10621 cm in the table dialog.
10622  The spanned columns should have exactly half the width of the multicolumn
10623  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10624 cm for the first column.
10625  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10626 cm (multicolumn
10627  width - width of first column).
10628  This was done for Table\InsetSpace ~
10629
10630 \begin_inset LatexCommand ref
10631 reference "tab:Table-without-half"
10632
10633 \end_inset
10634
10635 .
10636 \end_layout
10637
10638 \begin_layout Standard
10639 \begin_inset Float table
10640 wide false
10641 sideways false
10642 status open
10643
10644 \begin_layout Standard
10645 \begin_inset Caption
10646
10647 \begin_layout Standard
10648 \begin_inset LatexCommand label
10649 name "tab:Table-without-half"
10650
10651 \end_inset
10652
10653 Table where the spanned table columns have not exactly half the width of
10654  the multicolumn cell
10655 \begin_inset OptArg
10656 status collapsed
10657
10658 \begin_layout Standard
10659 Imperfect multicolumn table
10660 \end_layout
10661
10662 \end_inset
10663
10664
10665 \end_layout
10666
10667 \end_inset
10668
10669
10670 \end_layout
10671
10672 \begin_layout Standard
10673 \align center
10674 \begin_inset Tabular
10675 <lyxtabular version="3" rows="3" columns="3">
10676 <features>
10677 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10678 <column alignment="center" valignment="top" leftline="true" width="0">
10679 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10680 <row topline="true" bottomline="true">
10681 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10682 \begin_inset Text
10683
10684 \begin_layout Standard
10685 multiple lines multicolumn
10686 \end_layout
10687
10688 \end_inset
10689 </cell>
10690 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10691 \begin_inset Text
10692
10693 \begin_layout Standard
10694
10695 \end_layout
10696
10697 \end_inset
10698 </cell>
10699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10700 \begin_inset Text
10701
10702 \begin_layout Standard
10703 c
10704 \end_layout
10705
10706 \end_inset
10707 </cell>
10708 </row>
10709 <row topline="true">
10710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10711 \begin_inset Text
10712
10713 \begin_layout Standard
10714 d
10715 \end_layout
10716
10717 \end_inset
10718 </cell>
10719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10720 \begin_inset Text
10721
10722 \begin_layout Standard
10723 e
10724 \end_layout
10725
10726 \end_inset
10727 </cell>
10728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10729 \begin_inset Text
10730
10731 \begin_layout Standard
10732 f
10733 \end_layout
10734
10735 \end_inset
10736 </cell>
10737 </row>
10738 <row topline="true" bottomline="true">
10739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10740 \begin_inset Text
10741
10742 \begin_layout Standard
10743 g
10744 \end_layout
10745
10746 \end_inset
10747 </cell>
10748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10749 \begin_inset Text
10750
10751 \begin_layout Standard
10752 h
10753 \end_layout
10754
10755 \end_inset
10756 </cell>
10757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10758 \begin_inset Text
10759
10760 \begin_layout Standard
10761 i
10762 \end_layout
10763
10764 \end_inset
10765 </cell>
10766 </row>
10767 </lyxtabular>
10768
10769 \end_inset
10770
10771
10772 \end_layout
10773
10774 \end_inset
10775
10776
10777 \end_layout
10778
10779 \begin_layout Standard
10780 You can see that the first column has not the half width of the multicolumn
10781  cell, it is a bit bigger.
10782  The reason is that the given width of a cell 
10783 \begin_inset Formula $W_{g}$
10784 \end_inset
10785
10786  is not its total width 
10787 \begin_inset Formula $W_{\mathrm{tot}}$
10788 \end_inset
10789
10790  because a cell is always a bit larger than its given width.
10791  Appendix\InsetSpace ~
10792
10793 \begin_inset LatexCommand eqref
10794 reference "cha:Explanation-of-Equation"
10795
10796 \end_inset
10797
10798  explains it in detail.
10799 \end_layout
10800
10801 \begin_layout Standard
10802 The needed given width 
10803 \begin_inset Formula $W_{g\, n}$
10804 \end_inset
10805
10806  when 
10807 \emph on
10808 n
10809 \emph default
10810  columns are spanned columns can be calculated, so that each column has
10811  a total width of 
10812 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10813 \end_inset
10814
10815 :
10816 \begin_inset Formula \begin{equation}
10817 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10818
10819 \end_inset
10820
10821
10822 \end_layout
10823
10824 \begin_layout Standard
10825 In our case we have 
10826 \begin_inset Formula $n=2$
10827 \end_inset
10828
10829
10830 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10831 \end_inset
10832
10833 cm and the default values for the lengths, so that equation 
10834 \begin_inset LatexCommand ref
10835 reference "eq:Wgn"
10836
10837 \end_inset
10838
10839  becomes
10840 \begin_inset Formula \begin{equation}
10841 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10842
10843 \end_inset
10844
10845
10846 \end_layout
10847
10848 \begin_layout Standard
10849 To enable calculations in LaTeX, the LaTeX-package 
10850 \series bold
10851 calc
10852 \series default
10853  must be loaded with the document preamble line
10854 \begin_inset LatexCommand index
10855 name "LaTeX-packages ! calc"
10856
10857 \end_inset
10858
10859
10860 \end_layout
10861
10862 \begin_layout Standard
10863
10864 \series bold
10865
10866 \backslash
10867 usepackage{calc}
10868 \end_layout
10869
10870 \begin_layout Standard
10871 LyX does not allow to calculate lengths in the width-field of the table
10872  dialog.
10873  Therefore you have to format the column by inserting a LaTeX-argument in
10874  the dialog.
10875  Here is an overview about the arguments:
10876 \end_layout
10877
10878 \begin_layout Itemize
10879
10880 \series bold
10881 p{width}
10882 \series default
10883  creates cell with a fixed width, its text is vertically top-aligned
10884 \end_layout
10885
10886 \begin_layout Itemize
10887
10888 \series bold
10889 m{width}
10890 \series default
10891  creates cell with a fixed width, its text is vertically centered
10892 \end_layout
10893
10894 \begin_layout Itemize
10895
10896 \series bold
10897 b{width}
10898 \series default
10899  creates cell with a fixed width, its text is vertically bottom-aligned
10900 \end_layout
10901
10902 \begin_layout Standard
10903 By entering a LaTeX-argument, all cell properties set in the table dialog
10904  are overwritten.
10905  
10906 \begin_inset Note Greyedout
10907 status open
10908
10909 \begin_layout Standard
10910
10911 \series bold
10912 Note:
10913 \series default
10914  Due to a bug, LyX shows the overwritten properties anyway.
10915 \end_layout
10916
10917 \end_inset
10918
10919  As the text should be horizontally centered, the command 
10920 \series bold
10921
10922 \backslash
10923 centering
10924 \series default
10925  is added.
10926  You can now enter the following LaTeX-argument for the first spanned column:
10927 \end_layout
10928
10929 \begin_layout Standard
10930
10931 \series bold
10932 |>{
10933 \backslash
10934 centering}m{1.25cm-6.2pt}
10935 \end_layout
10936
10937 \begin_layout Standard
10938 The bar 
10939 \begin_inset Quotes eld
10940 \end_inset
10941
10942
10943 \series bold
10944 |
10945 \series default
10946
10947 \begin_inset Quotes erd
10948 \end_inset
10949
10950  at the beginning draws the border line and the command 
10951 \series bold
10952 >{ }
10953 \series default
10954  means, that the commands inside the braces are applied before the cell
10955  is created.
10956 \end_layout
10957
10958 \begin_layout Standard
10959 Although we have chosen centered alignment for the text of the multicolumn
10960  cell, it is still left aligned.
10961  This is because LyX only applies the alignment to single columns.
10962  So we have to use for the multicolumn the LaTeX-argument
10963 \end_layout
10964
10965 \begin_layout Standard
10966
10967 \series bold
10968 |>{
10969 \backslash
10970 centering}m{2.5cm}|
10971 \end_layout
10972
10973 \begin_layout Subsection
10974 Multirows
10975 \begin_inset LatexCommand index
10976 name "Multirows"
10977
10978 \end_inset
10979
10980
10981 \begin_inset LatexCommand index
10982 name "Table ! Multirows"
10983
10984 \end_inset
10985
10986
10987 \begin_inset LatexCommand index
10988 name "LaTeX-packages ! multirow"
10989
10990 \end_inset
10991
10992
10993 \end_layout
10994
10995 \begin_layout Standard
10996 In contrary to multicolumns multirows are not yet supported by LyX so a
10997  bit of ERT needs to be used.
10998  To use multirows load the LaTeX-package 
10999 \series bold
11000 multirow
11001 \series default
11002  in your document preamble with the command
11003 \end_layout
11004
11005 \begin_layout Standard
11006
11007 \series bold
11008
11009 \backslash
11010 usepackage{multirow}
11011 \end_layout
11012
11013 \begin_layout Standard
11014 Multirows are created with the command
11015 \end_layout
11016
11017 \begin_layout Standard
11018
11019 \series bold
11020
11021 \backslash
11022 multirow{number of rows}{cell width}{cell entry}
11023 \end_layout
11024
11025 \begin_layout Standard
11026 To create the following table:
11027 \end_layout
11028
11029 \begin_layout Standard
11030 \align center
11031 \begin_inset ERT
11032 status collapsed
11033
11034 \begin_layout Standard
11035
11036
11037 \backslash
11038 renewcommand{
11039 \backslash
11040 multirowsetup}{
11041 \backslash
11042 centering}
11043 \end_layout
11044
11045 \end_inset
11046
11047
11048 \begin_inset Tabular
11049 <lyxtabular version="3" rows="3" columns="3">
11050 <features>
11051 <column alignment="center" valignment="top" leftline="true" width="0">
11052 <column alignment="center" valignment="top" leftline="true" width="0">
11053 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11054 <row topline="true">
11055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11056 \begin_inset Text
11057
11058 \begin_layout Standard
11059 a
11060 \end_layout
11061
11062 \end_inset
11063 </cell>
11064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11065 \begin_inset Text
11066
11067 \begin_layout Standard
11068 b
11069 \end_layout
11070
11071 \end_inset
11072 </cell>
11073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11074 \begin_inset Text
11075
11076 \begin_layout Standard
11077 c
11078 \end_layout
11079
11080 \end_inset
11081 </cell>
11082 </row>
11083 <row topline="true">
11084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11085 \begin_inset Text
11086
11087 \begin_layout Standard
11088 \begin_inset ERT
11089 status collapsed
11090
11091 \begin_layout Standard
11092
11093
11094 \backslash
11095 multirow{2}{2.5cm}{
11096 \end_layout
11097
11098 \end_inset
11099
11100 multirow entry
11101 \begin_inset ERT
11102 status collapsed
11103
11104 \begin_layout Standard
11105
11106 }
11107 \end_layout
11108
11109 \end_inset
11110
11111
11112 \end_layout
11113
11114 \end_inset
11115 </cell>
11116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11117 \begin_inset Text
11118
11119 \begin_layout Standard
11120 e
11121 \end_layout
11122
11123 \end_inset
11124 </cell>
11125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11126 \begin_inset Text
11127
11128 \begin_layout Standard
11129 f
11130 \end_layout
11131
11132 \end_inset
11133 </cell>
11134 </row>
11135 <row topline="true" bottomline="true">
11136 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11137 \begin_inset Text
11138
11139 \begin_layout Standard
11140
11141 \end_layout
11142
11143 \end_inset
11144 </cell>
11145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11146 \begin_inset Text
11147
11148 \begin_layout Standard
11149 h
11150 \end_layout
11151
11152 \end_inset
11153 </cell>
11154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11155 \begin_inset Text
11156
11157 \begin_layout Standard
11158 i
11159 \end_layout
11160
11161 \end_inset
11162 </cell>
11163 </row>
11164 </lyxtabular>
11165
11166 \end_inset
11167
11168
11169 \begin_inset ERT
11170 status collapsed
11171
11172 \begin_layout Standard
11173
11174
11175 \backslash
11176 renewcommand{
11177 \backslash
11178 multirowsetup}{
11179 \backslash
11180 raggedright}
11181 \end_layout
11182
11183 \end_inset
11184
11185
11186 \end_layout
11187
11188 \begin_layout Standard
11189 create a 3×3 table.
11190  To get rid of the line above the last cell in the first column, the cell
11191  is marked as multicolumn and the upper border is unset.
11192  The multirow is now created in the second row of the first column by inserting
11193  there the command
11194 \end_layout
11195
11196 \begin_layout Standard
11197
11198 \series bold
11199
11200 \backslash
11201 multirow{2}{2.5cm}{
11202 \end_layout
11203
11204 \begin_layout Standard
11205 as ERT.
11206  According to the command parameters the multirow spans now two rows and
11207  has a width of 2.5\InsetSpace \thinspace{}
11208 cm.
11209  The content of the multirow cell follows outside the ERT box and the command
11210  is finished with a right brace 
11211 \series bold
11212 }
11213 \series default
11214  in another ERT-box behind the text.
11215 \end_layout
11216
11217 \begin_layout Standard
11218
11219 \series bold
11220
11221 \backslash
11222 multirow
11223 \series default
11224  left-aligns its content by default.
11225  To override the default, renew the command 
11226 \series bold
11227
11228 \backslash
11229 multirowsetup
11230 \series default
11231  with the command
11232 \end_layout
11233
11234 \begin_layout Standard
11235
11236 \series bold
11237
11238 \backslash
11239 renewcommand{
11240 \backslash
11241 multirowsetup}{
11242 \backslash
11243 centering}
11244 \end_layout
11245
11246 \begin_layout Standard
11247 in ERT in the document preamble.
11248  Then all entries of multirow cells in the document are centered.
11249  If centering is only needed for several tables, you can renew the command
11250  in an ERT box just before the table instead of the preamble.
11251  If the text should be right-aligned, replace 
11252 \series bold
11253
11254 \backslash
11255 centering
11256 \series default
11257  by 
11258 \series bold
11259
11260 \backslash
11261 raggedleft
11262 \series default
11263 .
11264  To return to left-alignment 
11265 \series bold
11266
11267 \backslash
11268 raggedright
11269 \series default
11270  is used.
11271 \end_layout
11272
11273 \begin_layout Section
11274 Formal Tables
11275 \begin_inset LatexCommand label
11276 name "sec:Formal-Tables"
11277
11278 \end_inset
11279
11280
11281 \begin_inset LatexCommand index
11282 name "Table ! Formal"
11283
11284 \end_inset
11285
11286
11287 \end_layout
11288
11289 \begin_layout Standard
11290 Tables are often typeset in books similar to Table\InsetSpace ~
11291
11292 \begin_inset LatexCommand ref
11293 reference "tab:Example-booktabs-table"
11294
11295 \end_inset
11296
11297 .
11298  This kind of tables is called 
11299 \begin_inset Quotes eld
11300 \end_inset
11301
11302
11303 \emph on
11304 formal
11305 \emph default
11306
11307 \begin_inset Quotes erd
11308 \end_inset
11309
11310 .
11311  To make a table a formal table use the option 
11312 \family sans
11313 Formal
11314 \family default
11315  in the 
11316 \family sans
11317 Borders
11318 \family default
11319  tab of the table dialog.
11320 \end_layout
11321
11322 \begin_layout Standard
11323 \begin_inset Float table
11324 placement h
11325 wide false
11326 sideways false
11327 status open
11328
11329 \begin_layout Standard
11330 \begin_inset Caption
11331
11332 \begin_layout Standard
11333 \begin_inset LatexCommand label
11334 name "tab:Example-booktabs-table"
11335
11336 \end_inset
11337
11338 Example booktabs-table
11339 \end_layout
11340
11341 \end_inset
11342
11343
11344 \end_layout
11345
11346 \begin_layout Standard
11347 \align center
11348 \begin_inset Tabular
11349 <lyxtabular version="3" rows="8" columns="4">
11350 <features booktabs="true">
11351 <column alignment="center" valignment="top" rightline="true" width="0">
11352 <column alignment="center" valignment="top" width="0">
11353 <column alignment="center" valignment="top" width="0">
11354 <column alignment="center" valignment="top" width="0">
11355 <row topline="true">
11356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11357 \begin_inset Text
11358
11359 \begin_layout Standard
11360 System
11361 \end_layout
11362
11363 \end_inset
11364 </cell>
11365 <cell alignment="center" valignment="top" topline="true" usebox="none">
11366 \begin_inset Text
11367
11368 \begin_layout Standard
11369 Medipix
11370 \begin_inset Formula $\,$
11371 \end_inset
11372
11373 1
11374 \end_layout
11375
11376 \end_inset
11377 </cell>
11378 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11379 \begin_inset Text
11380
11381 \begin_layout Standard
11382 Medipix
11383 \begin_inset Formula $\,$
11384 \end_inset
11385
11386 2
11387 \end_layout
11388
11389 \end_inset
11390 </cell>
11391 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11392 \begin_inset Text
11393
11394 \begin_layout Standard
11395
11396 \end_layout
11397
11398 \end_inset
11399 </cell>
11400 </row>
11401 <row>
11402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11403 \begin_inset Text
11404
11405 \begin_layout Standard
11406 \begin_inset ERT
11407 status collapsed
11408
11409 \begin_layout Standard
11410
11411
11412 \backslash
11413 cmidrule(r){2-2}
11414 \end_layout
11415
11416 \end_inset
11417
11418
11419 \begin_inset ERT
11420 status collapsed
11421
11422 \begin_layout Standard
11423
11424
11425 \backslash
11426 cmidrule(l){3-4}
11427 \end_layout
11428
11429 \end_inset
11430
11431 Detector thickness [µm]
11432 \end_layout
11433
11434 \end_inset
11435 </cell>
11436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11437 \begin_inset Text
11438
11439 \begin_layout Standard
11440 300
11441 \end_layout
11442
11443 \end_inset
11444 </cell>
11445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11446 \begin_inset Text
11447
11448 \begin_layout Standard
11449 300
11450 \end_layout
11451
11452 \end_inset
11453 </cell>
11454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11455 \begin_inset Text
11456
11457 \begin_layout Standard
11458 700
11459 \end_layout
11460
11461 \end_inset
11462 </cell>
11463 </row>
11464 <row topline="true">
11465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11466 \begin_inset Text
11467
11468 \begin_layout Standard
11469 Edge angle [°]
11470 \end_layout
11471
11472 \end_inset
11473 </cell>
11474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11475 \begin_inset Text
11476
11477 \begin_layout Standard
11478 3.55
11479 \end_layout
11480
11481 \end_inset
11482 </cell>
11483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11484 \begin_inset Text
11485
11486 \begin_layout Standard
11487 2.71
11488 \end_layout
11489
11490 \end_inset
11491 </cell>
11492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11493 \begin_inset Text
11494
11495 \begin_layout Standard
11496 7.99
11497 \end_layout
11498
11499 \end_inset
11500 </cell>
11501 </row>
11502 <row topspace="default">
11503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11504 \begin_inset Text
11505
11506 \begin_layout Standard
11507 Spatial resolution [µm]
11508 \end_layout
11509
11510 \end_inset
11511 </cell>
11512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11513 \begin_inset Text
11514
11515 \begin_layout Standard
11516 4.26
11517 \end_layout
11518
11519 \end_inset
11520 </cell>
11521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11522 \begin_inset Text
11523
11524 \begin_layout Standard
11525 10.17
11526 \end_layout
11527
11528 \end_inset
11529 </cell>
11530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11531 \begin_inset Text
11532
11533 \begin_layout Standard
11534 10.56
11535 \end_layout
11536
11537 \end_inset
11538 </cell>
11539 </row>
11540 <row topspace="default">
11541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11542 \begin_inset Text
11543
11544 \begin_layout Standard
11545 MTF at 
11546 \begin_inset Formula $f_{\mathrm{max}}$
11547 \end_inset
11548
11549
11550 \end_layout
11551
11552 \end_inset
11553 </cell>
11554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11555 \begin_inset Text
11556
11557 \begin_layout Standard
11558 0.53
11559 \end_layout
11560
11561 \end_inset
11562 </cell>
11563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11564 \begin_inset Text
11565
11566 \begin_layout Standard
11567 0.37
11568 \end_layout
11569
11570 \end_inset
11571 </cell>
11572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11573 \begin_inset Text
11574
11575 \begin_layout Standard
11576 0.39
11577 \end_layout
11578
11579 \end_inset
11580 </cell>
11581 </row>
11582 <row topspace="default">
11583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11584 \begin_inset Text
11585
11586 \begin_layout Standard
11587 \begin_inset ERT
11588 status collapsed
11589
11590 \begin_layout Standard
11591
11592
11593 \backslash
11594 cmidrule(l{10pt}){1-1}
11595 \end_layout
11596
11597 \end_inset
11598
11599 LSF-spatial resolution
11600 \end_layout
11601
11602 \end_inset
11603 </cell>
11604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11605 \begin_inset Text
11606
11607 \begin_layout Standard
11608
11609 \end_layout
11610
11611 \end_inset
11612 </cell>
11613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11614 \begin_inset Text
11615
11616 \begin_layout Standard
11617
11618 \end_layout
11619
11620 \end_inset
11621 </cell>
11622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11623 \begin_inset Text
11624
11625 \begin_layout Standard
11626
11627 \end_layout
11628
11629 \end_inset
11630 </cell>
11631 </row>
11632 <row>
11633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11634 \begin_inset Text
11635
11636 \begin_layout Standard
11637 in µm
11638 \end_layout
11639
11640 \end_inset
11641 </cell>
11642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11643 \begin_inset Text
11644
11645 \begin_layout Standard
11646 129.7
11647 \end_layout
11648
11649 \end_inset
11650 </cell>
11651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11652 \begin_inset Text
11653
11654 \begin_layout Standard
11655 52.75
11656 \end_layout
11657
11658 \end_inset
11659 </cell>
11660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11661 \begin_inset Text
11662
11663 \begin_layout Standard
11664 50.78
11665 \end_layout
11666
11667 \end_inset
11668 </cell>
11669 </row>
11670 <row bottomline="true">
11671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11672 \begin_inset Text
11673
11674 \begin_layout Standard
11675 in % of pixel size
11676 \end_layout
11677
11678 \end_inset
11679 </cell>
11680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11681 \begin_inset Text
11682
11683 \begin_layout Standard
11684 76.3
11685 \end_layout
11686
11687 \end_inset
11688 </cell>
11689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11690 \begin_inset Text
11691
11692 \begin_layout Standard
11693 95.9
11694 \end_layout
11695
11696 \end_inset
11697 </cell>
11698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11699 \begin_inset Text
11700
11701 \begin_layout Standard
11702 92.3
11703 \end_layout
11704
11705 \end_inset
11706 </cell>
11707 </row>
11708 </lyxtabular>
11709
11710 \end_inset
11711
11712
11713 \end_layout
11714
11715 \end_inset
11716
11717
11718 \end_layout
11719
11720 \begin_layout Standard
11721 Spaces to table rows can be added using the 
11722 \family sans
11723 Borders
11724 \family default
11725  tab of the table dialog as described in section\InsetSpace ~
11726
11727 \begin_inset LatexCommand ref
11728 reference "sub:Row-Spacing"
11729
11730 \end_inset
11731
11732 .
11733 \end_layout
11734
11735 \begin_layout Standard
11736 In contrary to normal tables, formal tables have no vertical table lines.
11737  The horizontal table lines can be set like for normal tables but they appear
11738  with different width in the output:
11739 \newline
11740 The first and the last table line have
11741  a default width of 0.08\InsetSpace \thinspace{}
11742 em while the other lines have a default width of
11743  0.05\InsetSpace \thinspace{}
11744 em.
11745 \end_layout
11746
11747 \begin_layout Standard
11748 The default widths can be changed with the following preamble lines
11749 \end_layout
11750
11751 \begin_layout Standard
11752
11753 \series bold
11754
11755 \backslash
11756 let
11757 \backslash
11758 mytoprule
11759 \backslash
11760 toprule
11761 \newline
11762
11763 \backslash
11764 renewcommand{
11765 \backslash
11766 toprule}{
11767 \backslash
11768 mytoprule[width]}
11769 \end_layout
11770
11771 \begin_layout Standard
11772 This example is for the first line, the so called toprule.
11773  If you want to change the width for the last line, replace 
11774 \series bold
11775 toprule
11776 \series default
11777  by 
11778 \series bold
11779 bottomrule
11780 \series default
11781 .
11782  To change the width for the other lines replace 
11783 \series bold
11784 toprule
11785 \series default
11786  by 
11787 \series bold
11788 midrule
11789 \series default
11790 .
11791  You can use all units listed in appendix\InsetSpace ~
11792
11793 \begin_inset LatexCommand ref
11794 reference "cha:Units-available-in"
11795
11796 \end_inset
11797
11798  to set the width.
11799 \end_layout
11800
11801 \begin_layout Standard
11802 Lines that don't span over all table columns can be created by setting a
11803  table line for multicolumn cells.
11804  LyX will then internally use the command 
11805 \series bold
11806
11807 \backslash
11808 cmidrule
11809 \series default
11810  to create this line.
11811  Its full scheme is
11812 \end_layout
11813
11814 \begin_layout Standard
11815
11816 \series bold
11817
11818 \backslash
11819 cmidrule[width](trim){startcol-endcol}
11820 \end_layout
11821
11822 \begin_layout Standard
11823 The options of 
11824 \series bold
11825
11826 \backslash
11827 cmidrule
11828 \series default
11829  are are currently not supported by LyX so you have to use ERT to be able
11830  to use them.
11831  
11832 \series bold
11833
11834 \backslash
11835 cmidrule
11836 \series default
11837 s can manually be created by inserting the command as ERT as first cell
11838  entry of the first cell of a row.
11839  The line is then drawn in the output above the current row.
11840 \end_layout
11841
11842 \begin_layout Standard
11843 The default for the width is 0.03\InsetSpace \thinspace{}
11844 em.
11845  Startcol is the number of the column where the line starts and endcol the
11846  column number where the line ends.
11847  The endcol always needs to be specified, also when the line should span
11848  only one column.
11849  The optional parameter trim could be either 
11850 \emph on
11851 l{trimwidth}
11852 \emph default
11853 , or 
11854 \emph on
11855 r{trimwidth}
11856 \emph default
11857  where the trimwidth is also optional.
11858  Using for example the parameter 
11859 \emph on
11860 l{2pt}
11861 \emph default
11862  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11863 pt.
11864  If you don't specify the trimwidth the lines are trimmed by the default
11865  of 0.5\InsetSpace \thinspace{}
11866 em.
11867 \end_layout
11868
11869 \begin_layout Standard
11870 \begin_inset VSpace bigskip
11871 \end_inset
11872
11873 Table\InsetSpace ~
11874
11875 \begin_inset LatexCommand ref
11876 reference "tab:Example-booktabs-table"
11877
11878 \end_inset
11879
11880  was created using the commands
11881 \end_layout
11882
11883 \begin_layout Standard
11884
11885 \series bold
11886
11887 \backslash
11888 cmidrule(r){2-2}
11889 \backslash
11890 cmidrule(l){3-4}
11891 \end_layout
11892
11893 \begin_layout Standard
11894 at the beginning of the in the second row and
11895 \end_layout
11896
11897 \begin_layout Standard
11898
11899 \series bold
11900
11901 \backslash
11902 cmidrule(l{10pt}){1-1}
11903 \end_layout
11904
11905 \begin_layout Standard
11906 in the sixth row.
11907 \end_layout
11908
11909 \begin_layout Standard
11910
11911 \end_layout
11912
11913 \begin_layout Standard
11914 \begin_inset VSpace bigskip
11915 \end_inset
11916
11917
11918 \end_layout
11919
11920 \begin_layout Standard
11921 You might want to have overlapping 
11922 \series bold
11923
11924 \backslash
11925 cmidrule
11926 \series default
11927 s like in Table\InsetSpace ~
11928
11929 \begin_inset LatexCommand ref
11930 reference "tab:Special-booktabs-table"
11931
11932 \end_inset
11933
11934 .
11935  This can be achieved with the ERT command
11936 \end_layout
11937
11938 \begin_layout Standard
11939
11940 \series bold
11941
11942 \backslash
11943 morecmidrules
11944 \end_layout
11945
11946 \begin_layout Standard
11947 The command that was used for the second row of Table\InsetSpace ~
11948
11949 \begin_inset LatexCommand ref
11950 reference "tab:Special-booktabs-table"
11951
11952 \end_inset
11953
11954  is
11955 \end_layout
11956
11957 \begin_layout Standard
11958
11959 \series bold
11960
11961 \backslash
11962 cmidrule(r){2-2}
11963 \backslash
11964 cmidrule(l){3-4}
11965 \backslash
11966 morecmidrules
11967 \backslash
11968 cmidrule{2-4}
11969 \end_layout
11970
11971 \begin_layout Standard
11972 The command for the sixth row is
11973 \end_layout
11974
11975 \begin_layout Standard
11976
11977 \series bold
11978
11979 \backslash
11980 midrule
11981 \backslash
11982 morecmidrules
11983 \backslash
11984 cmidrule{3-4}
11985 \end_layout
11986
11987 \begin_layout Standard
11988 \begin_inset VSpace bigskip
11989 \end_inset
11990
11991
11992 \end_layout
11993
11994 \begin_layout Standard
11995 If you are anyway not satisfied with the border line spacing, you can use
11996  the following command to produce lines that span over all table columns
11997 \series bold
11998 :
11999 \end_layout
12000
12001 \begin_layout Standard
12002
12003 \series bold
12004
12005 \backslash
12006 specialrule{width}{space above}{space below}
12007 \end_layout
12008
12009 \begin_layout Standard
12010 For more informations about these specialties, we refer to the manual of
12011  the LaTeX-package 
12012 \series bold
12013 booktabs
12014 \series default
12015  
12016 \begin_inset LatexCommand cite
12017 key "booktabs"
12018
12019 \end_inset
12020
12021 .
12022 \begin_inset LatexCommand index
12023 name "LaTeX-packages ! booktabs"
12024
12025 \end_inset
12026
12027
12028 \end_layout
12029
12030 \begin_layout Standard
12031 \begin_inset Float table
12032 placement h
12033 wide false
12034 sideways false
12035 status open
12036
12037 \begin_layout Standard
12038 \begin_inset Caption
12039
12040 \begin_layout Standard
12041 \begin_inset LatexCommand label
12042 name "tab:Special-booktabs-table"
12043
12044 \end_inset
12045
12046 Special booktabs-table
12047 \end_layout
12048
12049 \end_inset
12050
12051
12052 \end_layout
12053
12054 \begin_layout Standard
12055 \align center
12056 \begin_inset Tabular
12057 <lyxtabular version="3" rows="8" columns="4">
12058 <features booktabs="true">
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 <column alignment="center" valignment="top" width="0">
12063 <row topline="true">
12064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12065 \begin_inset Text
12066
12067 \begin_layout Standard
12068 System
12069 \end_layout
12070
12071 \end_inset
12072 </cell>
12073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12074 \begin_inset Text
12075
12076 \begin_layout Standard
12077 Medipix\InsetSpace \thinspace{}
12078 1
12079 \end_layout
12080
12081 \end_inset
12082 </cell>
12083 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12084 \begin_inset Text
12085
12086 \begin_layout Standard
12087 Medipix\InsetSpace \thinspace{}
12088 2
12089 \end_layout
12090
12091 \end_inset
12092 </cell>
12093 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12094 \begin_inset Text
12095
12096 \begin_layout Standard
12097
12098 \end_layout
12099
12100 \end_inset
12101 </cell>
12102 </row>
12103 <row>
12104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12105 \begin_inset Text
12106
12107 \begin_layout Standard
12108 \begin_inset ERT
12109 status collapsed
12110
12111 \begin_layout Standard
12112
12113
12114 \backslash
12115 cmidrule(r){2-2}
12116 \end_layout
12117
12118 \end_inset
12119
12120
12121 \begin_inset ERT
12122 status collapsed
12123
12124 \begin_layout Standard
12125
12126
12127 \backslash
12128 cmidrule(l){3-4}
12129 \end_layout
12130
12131 \end_inset
12132
12133
12134 \begin_inset ERT
12135 status collapsed
12136
12137 \begin_layout Standard
12138
12139
12140 \backslash
12141 morecmidrules 
12142 \end_layout
12143
12144 \end_inset
12145
12146
12147 \begin_inset ERT
12148 status collapsed
12149
12150 \begin_layout Standard
12151
12152
12153 \backslash
12154 cmidrule{2-4}
12155 \end_layout
12156
12157 \end_inset
12158
12159 Detector thickness [µm]
12160 \end_layout
12161
12162 \end_inset
12163 </cell>
12164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12165 \begin_inset Text
12166
12167 \begin_layout Standard
12168 300
12169 \end_layout
12170
12171 \end_inset
12172 </cell>
12173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12174 \begin_inset Text
12175
12176 \begin_layout Standard
12177 300
12178 \end_layout
12179
12180 \end_inset
12181 </cell>
12182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12183 \begin_inset Text
12184
12185 \begin_layout Standard
12186 700
12187 \end_layout
12188
12189 \end_inset
12190 </cell>
12191 </row>
12192 <row topline="true">
12193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12194 \begin_inset Text
12195
12196 \begin_layout Standard
12197 Edge angle [°]
12198 \end_layout
12199
12200 \end_inset
12201 </cell>
12202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12203 \begin_inset Text
12204
12205 \begin_layout Standard
12206 3.55
12207 \end_layout
12208
12209 \end_inset
12210 </cell>
12211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12212 \begin_inset Text
12213
12214 \begin_layout Standard
12215 2.71
12216 \end_layout
12217
12218 \end_inset
12219 </cell>
12220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12221 \begin_inset Text
12222
12223 \begin_layout Standard
12224 7.99
12225 \end_layout
12226
12227 \end_inset
12228 </cell>
12229 </row>
12230 <row topspace="default">
12231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12232 \begin_inset Text
12233
12234 \begin_layout Standard
12235 Spatial resolution [µm]
12236 \end_layout
12237
12238 \end_inset
12239 </cell>
12240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12241 \begin_inset Text
12242
12243 \begin_layout Standard
12244 4.26
12245 \end_layout
12246
12247 \end_inset
12248 </cell>
12249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12250 \begin_inset Text
12251
12252 \begin_layout Standard
12253 10.17
12254 \end_layout
12255
12256 \end_inset
12257 </cell>
12258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12259 \begin_inset Text
12260
12261 \begin_layout Standard
12262 10.56
12263 \end_layout
12264
12265 \end_inset
12266 </cell>
12267 </row>
12268 <row topspace="default">
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12270 \begin_inset Text
12271
12272 \begin_layout Standard
12273 MTF at 
12274 \begin_inset Formula $f_{\mathrm{max}}$
12275 \end_inset
12276
12277
12278 \end_layout
12279
12280 \end_inset
12281 </cell>
12282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12283 \begin_inset Text
12284
12285 \begin_layout Standard
12286 0.53
12287 \end_layout
12288
12289 \end_inset
12290 </cell>
12291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12292 \begin_inset Text
12293
12294 \begin_layout Standard
12295 0.37
12296 \end_layout
12297
12298 \end_inset
12299 </cell>
12300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12301 \begin_inset Text
12302
12303 \begin_layout Standard
12304 0.39
12305 \end_layout
12306
12307 \end_inset
12308 </cell>
12309 </row>
12310 <row topline="true">
12311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12312 \begin_inset Text
12313
12314 \begin_layout Standard
12315 \begin_inset ERT
12316 status collapsed
12317
12318 \begin_layout Standard
12319
12320
12321 \backslash
12322 morecmidrules 
12323 \end_layout
12324
12325 \end_inset
12326
12327
12328 \begin_inset ERT
12329 status collapsed
12330
12331 \begin_layout Standard
12332
12333
12334 \backslash
12335 cmidrule{3-4}
12336 \end_layout
12337
12338 \end_inset
12339
12340 LSF-spatial resolution
12341 \end_layout
12342
12343 \end_inset
12344 </cell>
12345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12346 \begin_inset Text
12347
12348 \begin_layout Standard
12349
12350 \end_layout
12351
12352 \end_inset
12353 </cell>
12354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12355 \begin_inset Text
12356
12357 \begin_layout Standard
12358
12359 \end_layout
12360
12361 \end_inset
12362 </cell>
12363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12364 \begin_inset Text
12365
12366 \begin_layout Standard
12367
12368 \end_layout
12369
12370 \end_inset
12371 </cell>
12372 </row>
12373 <row>
12374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12375 \begin_inset Text
12376
12377 \begin_layout Standard
12378 in µm
12379 \end_layout
12380
12381 \end_inset
12382 </cell>
12383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12384 \begin_inset Text
12385
12386 \begin_layout Standard
12387 129.7
12388 \end_layout
12389
12390 \end_inset
12391 </cell>
12392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12393 \begin_inset Text
12394
12395 \begin_layout Standard
12396 52.75
12397 \end_layout
12398
12399 \end_inset
12400 </cell>
12401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12402 \begin_inset Text
12403
12404 \begin_layout Standard
12405 50.78
12406 \end_layout
12407
12408 \end_inset
12409 </cell>
12410 </row>
12411 <row bottomline="true">
12412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12413 \begin_inset Text
12414
12415 \begin_layout Standard
12416 in % of pixel size
12417 \end_layout
12418
12419 \end_inset
12420 </cell>
12421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12422 \begin_inset Text
12423
12424 \begin_layout Standard
12425 76.3
12426 \end_layout
12427
12428 \end_inset
12429 </cell>
12430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12431 \begin_inset Text
12432
12433 \begin_layout Standard
12434 95.9
12435 \end_layout
12436
12437 \end_inset
12438 </cell>
12439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12440 \begin_inset Text
12441
12442 \begin_layout Standard
12443 92.3
12444 \end_layout
12445
12446 \end_inset
12447 </cell>
12448 </row>
12449 </lyxtabular>
12450
12451 \end_inset
12452
12453
12454 \end_layout
12455
12456 \end_inset
12457
12458
12459 \end_layout
12460
12461 \begin_layout Section
12462 Vertical Table Alignment
12463 \begin_inset LatexCommand index
12464 name "Table ! Alignment"
12465
12466 \end_inset
12467
12468
12469 \end_layout
12470
12471 \begin_layout Standard
12472 To align tables vertically in a text line the table must be inside a box.
12473  The box can then be vertically aligned as described in section\InsetSpace ~
12474
12475 \begin_inset LatexCommand ref
12476 reference "sec:Box-Dialog"
12477
12478 \end_inset
12479
12480 .
12481 \end_layout
12482
12483 \begin_layout Standard
12484 In the following example the tables are inside a minipage
12485 \begin_inset Foot
12486 status collapsed
12487
12488 \begin_layout Standard
12489 Minipages are described in section\InsetSpace ~
12490
12491 \begin_inset LatexCommand ref
12492 reference "sec:Minipages"
12493
12494 \end_inset
12495
12496 .
12497 \end_layout
12498
12499 \end_inset
12500
12501  box that has a width of 15\InsetSpace \thinspace{}
12502 col%:
12503 \end_layout
12504
12505 \begin_layout Itemize
12506 test 
12507 \begin_inset Box Frameless
12508 position "t"
12509 hor_pos "c"
12510 has_inner_box 1
12511 inner_pos "c"
12512 use_parbox 0
12513 width "15col%"
12514 special "none"
12515 height "1in"
12516 height_special "totalheight"
12517 status collapsed
12518
12519 \begin_layout Standard
12520 \begin_inset Tabular
12521 <lyxtabular version="3" rows="3" columns="3">
12522 <features>
12523 <column alignment="center" valignment="top" leftline="true" width="0">
12524 <column alignment="center" valignment="top" leftline="true" width="0">
12525 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12526 <row topline="true">
12527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12528 \begin_inset Text
12529
12530 \begin_layout Standard
12531 a
12532 \end_layout
12533
12534 \end_inset
12535 </cell>
12536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12537 \begin_inset Text
12538
12539 \begin_layout Standard
12540 d
12541 \end_layout
12542
12543 \end_inset
12544 </cell>
12545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12546 \begin_inset Text
12547
12548 \begin_layout Standard
12549 g
12550 \end_layout
12551
12552 \end_inset
12553 </cell>
12554 </row>
12555 <row topline="true">
12556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12557 \begin_inset Text
12558
12559 \begin_layout Standard
12560 b
12561 \end_layout
12562
12563 \end_inset
12564 </cell>
12565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12566 \begin_inset Text
12567
12568 \begin_layout Standard
12569 e
12570 \end_layout
12571
12572 \end_inset
12573 </cell>
12574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12575 \begin_inset Text
12576
12577 \begin_layout Standard
12578 h
12579 \end_layout
12580
12581 \end_inset
12582 </cell>
12583 </row>
12584 <row topline="true" bottomline="true">
12585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12586 \begin_inset Text
12587
12588 \begin_layout Standard
12589 c
12590 \end_layout
12591
12592 \end_inset
12593 </cell>
12594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12595 \begin_inset Text
12596
12597 \begin_layout Standard
12598 f
12599 \end_layout
12600
12601 \end_inset
12602 </cell>
12603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12604 \begin_inset Text
12605
12606 \begin_layout Standard
12607 i
12608 \end_layout
12609
12610 \end_inset
12611 </cell>
12612 </row>
12613 </lyxtabular>
12614
12615 \end_inset
12616
12617
12618 \end_layout
12619
12620 \end_inset
12621
12622  test 
12623 \begin_inset ERT
12624 status collapsed
12625
12626 \begin_layout Standard
12627
12628
12629 \backslash
12630 raisebox{0.85
12631 \backslash
12632 baselineskip}{
12633 \end_layout
12634
12635 \end_inset
12636
12637
12638 \begin_inset Box Frameless
12639 position "t"
12640 hor_pos "c"
12641 has_inner_box 1
12642 inner_pos "c"
12643 use_parbox 0
12644 width "15col%"
12645 special "none"
12646 height "1in"
12647 height_special "totalheight"
12648 status collapsed
12649
12650 \begin_layout Standard
12651 \begin_inset Tabular
12652 <lyxtabular version="3" rows="3" columns="3">
12653 <features>
12654 <column alignment="center" valignment="top" leftline="true" width="0">
12655 <column alignment="center" valignment="top" leftline="true" width="0">
12656 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12657 <row topline="true">
12658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12659 \begin_inset Text
12660
12661 \begin_layout Standard
12662 a
12663 \end_layout
12664
12665 \end_inset
12666 </cell>
12667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12668 \begin_inset Text
12669
12670 \begin_layout Standard
12671 d
12672 \end_layout
12673
12674 \end_inset
12675 </cell>
12676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12677 \begin_inset Text
12678
12679 \begin_layout Standard
12680 g
12681 \end_layout
12682
12683 \end_inset
12684 </cell>
12685 </row>
12686 <row topline="true">
12687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12688 \begin_inset Text
12689
12690 \begin_layout Standard
12691 b
12692 \end_layout
12693
12694 \end_inset
12695 </cell>
12696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12697 \begin_inset Text
12698
12699 \begin_layout Standard
12700 e
12701 \end_layout
12702
12703 \end_inset
12704 </cell>
12705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12706 \begin_inset Text
12707
12708 \begin_layout Standard
12709 h
12710 \end_layout
12711
12712 \end_inset
12713 </cell>
12714 </row>
12715 <row topline="true" bottomline="true">
12716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12717 \begin_inset Text
12718
12719 \begin_layout Standard
12720 c
12721 \end_layout
12722
12723 \end_inset
12724 </cell>
12725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12726 \begin_inset Text
12727
12728 \begin_layout Standard
12729 f
12730 \end_layout
12731
12732 \end_inset
12733 </cell>
12734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12735 \begin_inset Text
12736
12737 \begin_layout Standard
12738 i
12739 \end_layout
12740
12741 \end_inset
12742 </cell>
12743 </row>
12744 </lyxtabular>
12745
12746 \end_inset
12747
12748
12749 \end_layout
12750
12751 \end_inset
12752
12753
12754 \begin_inset ERT
12755 status collapsed
12756
12757 \begin_layout Standard
12758
12759 }
12760 \end_layout
12761
12762 \end_inset
12763
12764
12765 \end_layout
12766
12767 \begin_layout Itemize
12768 test 
12769 \begin_inset Box Frameless
12770 position "c"
12771 hor_pos "c"
12772 has_inner_box 1
12773 inner_pos "c"
12774 use_parbox 0
12775 width "15col%"
12776 special "none"
12777 height "1in"
12778 height_special "totalheight"
12779 status collapsed
12780
12781 \begin_layout Standard
12782 \begin_inset Tabular
12783 <lyxtabular version="3" rows="3" columns="3">
12784 <features>
12785 <column alignment="center" valignment="top" leftline="true" width="0">
12786 <column alignment="center" valignment="top" leftline="true" width="0">
12787 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12788 <row topline="true">
12789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12790 \begin_inset Text
12791
12792 \begin_layout Standard
12793 a
12794 \end_layout
12795
12796 \end_inset
12797 </cell>
12798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12799 \begin_inset Text
12800
12801 \begin_layout Standard
12802 d
12803 \end_layout
12804
12805 \end_inset
12806 </cell>
12807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12808 \begin_inset Text
12809
12810 \begin_layout Standard
12811 g
12812 \end_layout
12813
12814 \end_inset
12815 </cell>
12816 </row>
12817 <row topline="true">
12818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12819 \begin_inset Text
12820
12821 \begin_layout Standard
12822 b
12823 \end_layout
12824
12825 \end_inset
12826 </cell>
12827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12828 \begin_inset Text
12829
12830 \begin_layout Standard
12831 e
12832 \end_layout
12833
12834 \end_inset
12835 </cell>
12836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12837 \begin_inset Text
12838
12839 \begin_layout Standard
12840 h
12841 \end_layout
12842
12843 \end_inset
12844 </cell>
12845 </row>
12846 <row topline="true" bottomline="true">
12847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12848 \begin_inset Text
12849
12850 \begin_layout Standard
12851 c
12852 \end_layout
12853
12854 \end_inset
12855 </cell>
12856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12857 \begin_inset Text
12858
12859 \begin_layout Standard
12860 f
12861 \end_layout
12862
12863 \end_inset
12864 </cell>
12865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12866 \begin_inset Text
12867
12868 \begin_layout Standard
12869 i
12870 \end_layout
12871
12872 \end_inset
12873 </cell>
12874 </row>
12875 </lyxtabular>
12876
12877 \end_inset
12878
12879
12880 \end_layout
12881
12882 \end_inset
12883
12884
12885 \end_layout
12886
12887 \begin_layout Itemize
12888 test 
12889 \begin_inset Box Frameless
12890 position "b"
12891 hor_pos "c"
12892 has_inner_box 1
12893 inner_pos "c"
12894 use_parbox 0
12895 width "15col%"
12896 special "none"
12897 height "1in"
12898 height_special "totalheight"
12899 status collapsed
12900
12901 \begin_layout Standard
12902 \begin_inset Tabular
12903 <lyxtabular version="3" rows="3" columns="3">
12904 <features>
12905 <column alignment="center" valignment="top" leftline="true" width="0">
12906 <column alignment="center" valignment="top" leftline="true" width="0">
12907 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12908 <row topline="true">
12909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12910 \begin_inset Text
12911
12912 \begin_layout Standard
12913 a
12914 \end_layout
12915
12916 \end_inset
12917 </cell>
12918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12919 \begin_inset Text
12920
12921 \begin_layout Standard
12922 d
12923 \end_layout
12924
12925 \end_inset
12926 </cell>
12927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12928 \begin_inset Text
12929
12930 \begin_layout Standard
12931 g
12932 \end_layout
12933
12934 \end_inset
12935 </cell>
12936 </row>
12937 <row topline="true">
12938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12939 \begin_inset Text
12940
12941 \begin_layout Standard
12942 b
12943 \end_layout
12944
12945 \end_inset
12946 </cell>
12947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12948 \begin_inset Text
12949
12950 \begin_layout Standard
12951 e
12952 \end_layout
12953
12954 \end_inset
12955 </cell>
12956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12957 \begin_inset Text
12958
12959 \begin_layout Standard
12960 h
12961 \end_layout
12962
12963 \end_inset
12964 </cell>
12965 </row>
12966 <row topline="true" bottomline="true">
12967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12968 \begin_inset Text
12969
12970 \begin_layout Standard
12971 c
12972 \end_layout
12973
12974 \end_inset
12975 </cell>
12976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12977 \begin_inset Text
12978
12979 \begin_layout Standard
12980 f
12981 \end_layout
12982
12983 \end_inset
12984 </cell>
12985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12986 \begin_inset Text
12987
12988 \begin_layout Standard
12989 i
12990 \end_layout
12991
12992 \end_inset
12993 </cell>
12994 </row>
12995 </lyxtabular>
12996
12997 \end_inset
12998
12999
13000 \end_layout
13001
13002 \end_inset
13003
13004  test 
13005 \begin_inset ERT
13006 status collapsed
13007
13008 \begin_layout Standard
13009
13010
13011 \backslash
13012 raisebox{-0.32
13013 \backslash
13014 baselineskip}{
13015 \end_layout
13016
13017 \end_inset
13018
13019
13020 \begin_inset Box Frameless
13021 position "b"
13022 hor_pos "c"
13023 has_inner_box 1
13024 inner_pos "c"
13025 use_parbox 0
13026 width "15col%"
13027 special "none"
13028 height "1in"
13029 height_special "totalheight"
13030 status collapsed
13031
13032 \begin_layout Standard
13033 \begin_inset Tabular
13034 <lyxtabular version="3" rows="3" columns="3">
13035 <features>
13036 <column alignment="center" valignment="top" leftline="true" width="0">
13037 <column alignment="center" valignment="top" leftline="true" width="0">
13038 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13039 <row topline="true">
13040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13041 \begin_inset Text
13042
13043 \begin_layout Standard
13044 a
13045 \end_layout
13046
13047 \end_inset
13048 </cell>
13049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13050 \begin_inset Text
13051
13052 \begin_layout Standard
13053 d
13054 \end_layout
13055
13056 \end_inset
13057 </cell>
13058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13059 \begin_inset Text
13060
13061 \begin_layout Standard
13062 g
13063 \end_layout
13064
13065 \end_inset
13066 </cell>
13067 </row>
13068 <row topline="true">
13069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13070 \begin_inset Text
13071
13072 \begin_layout Standard
13073 b
13074 \end_layout
13075
13076 \end_inset
13077 </cell>
13078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13079 \begin_inset Text
13080
13081 \begin_layout Standard
13082 e
13083 \end_layout
13084
13085 \end_inset
13086 </cell>
13087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13088 \begin_inset Text
13089
13090 \begin_layout Standard
13091 h
13092 \end_layout
13093
13094 \end_inset
13095 </cell>
13096 </row>
13097 <row topline="true" bottomline="true">
13098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13099 \begin_inset Text
13100
13101 \begin_layout Standard
13102 c
13103 \end_layout
13104
13105 \end_inset
13106 </cell>
13107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13108 \begin_inset Text
13109
13110 \begin_layout Standard
13111 f
13112 \end_layout
13113
13114 \end_inset
13115 </cell>
13116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13117 \begin_inset Text
13118
13119 \begin_layout Standard
13120 i
13121 \end_layout
13122
13123 \end_inset
13124 </cell>
13125 </row>
13126 </lyxtabular>
13127
13128 \end_inset
13129
13130
13131 \end_layout
13132
13133 \end_inset
13134
13135
13136 \begin_inset ERT
13137 status collapsed
13138
13139 \begin_layout Standard
13140
13141 }
13142 \end_layout
13143
13144 \end_inset
13145
13146
13147 \end_layout
13148
13149 \begin_layout Standard
13150 As you can see, the content of the first and last table row is not correctly
13151  aligned with the text line where the table is in.
13152  To get this alignment, the minipage box must be set into a raisebox
13153 \begin_inset Foot
13154 status collapsed
13155
13156 \begin_layout Standard
13157 Raiseboxes are described in section\InsetSpace ~
13158
13159 \begin_inset LatexCommand ref
13160 reference "sub:Vertical-Alignment"
13161
13162 \end_inset
13163
13164 .
13165 \end_layout
13166
13167 \end_inset
13168
13169 .
13170  In the example above the second table in the first item is aligned using
13171  the ERT-command
13172 \end_layout
13173
13174 \begin_layout Standard
13175
13176 \series bold
13177
13178 \backslash
13179 raisebox{0.85
13180 \backslash
13181 baselineskip}{
13182 \end_layout
13183
13184 \begin_layout Standard
13185 before the box.
13186  Behind the box the closing brace 
13187 \series bold
13188 }
13189 \series default
13190  is inserted as ERT.
13191  For the second table in the last item the command
13192 \end_layout
13193
13194 \begin_layout Standard
13195
13196 \series bold
13197
13198 \backslash
13199 raisebox{-0.32
13200 \backslash
13201 baselineskip}{
13202 \end_layout
13203
13204 \begin_layout Standard
13205 is used.
13206 \end_layout
13207
13208 \begin_layout Standard
13209 \begin_inset Note Greyedout
13210 status open
13211
13212 \begin_layout Standard
13213
13214 \series bold
13215 Note:
13216 \series default
13217  The alignment of the table row content to the surrounding text line is
13218  not exact.
13219  The needed factor of the 
13220 \series bold
13221
13222 \backslash
13223 raisebox
13224 \series default
13225  command for this alignment depends on the document font, the font size,
13226  and the table line thickness.
13227 \end_layout
13228
13229 \end_inset
13230
13231
13232 \end_layout
13233
13234 \begin_layout Section
13235 Colored Tables
13236 \begin_inset LatexCommand label
13237 name "sec:Colored-Tables"
13238
13239 \end_inset
13240
13241
13242 \begin_inset LatexCommand index
13243 name "Table ! Color"
13244
13245 \end_inset
13246
13247
13248 \end_layout
13249
13250 \begin_layout Subsection
13251 Colored Cells
13252 \begin_inset LatexCommand index
13253 name "Table Color ! for Cells"
13254
13255 \end_inset
13256
13257
13258 \begin_inset LatexCommand index
13259 name "Color ! for Table Cells"
13260
13261 \end_inset
13262
13263
13264 \end_layout
13265
13266 \begin_layout Standard
13267 \begin_inset Float table
13268 placement h
13269 wide false
13270 sideways false
13271 status open
13272
13273 \begin_layout Standard
13274 \begin_inset Caption
13275
13276 \begin_layout Standard
13277 \begin_inset LatexCommand label
13278 name "tab:Table-colored-without"
13279
13280 \end_inset
13281
13282 Table colored without using the package 
13283 \series bold
13284 colortbl
13285 \series default
13286
13287 \begin_inset OptArg
13288 status collapsed
13289
13290 \begin_layout Standard
13291 Table without colortbl
13292 \end_layout
13293
13294 \end_inset
13295
13296
13297 \end_layout
13298
13299 \end_inset
13300
13301
13302 \end_layout
13303
13304 \begin_layout Standard
13305 \align center
13306 \begin_inset Tabular
13307 <lyxtabular version="3" rows="3" columns="3">
13308 <features>
13309 <column alignment="center" valignment="top" leftline="true" width="0">
13310 <column alignment="center" valignment="top" leftline="true" width="0">
13311 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13312 <row topline="true">
13313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13314 \begin_inset Text
13315
13316 \begin_layout Standard
13317
13318 \color green
13319 a
13320 \end_layout
13321
13322 \end_inset
13323 </cell>
13324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13325 \begin_inset Text
13326
13327 \begin_layout Standard
13328
13329 \color red
13330 b
13331 \end_layout
13332
13333 \end_inset
13334 </cell>
13335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13336 \begin_inset Text
13337
13338 \begin_layout Standard
13339
13340 \color red
13341 c
13342 \end_layout
13343
13344 \end_inset
13345 </cell>
13346 </row>
13347 <row topline="true">
13348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13349 \begin_inset Text
13350
13351 \begin_layout Standard
13352
13353 \color green
13354 d
13355 \end_layout
13356
13357 \end_inset
13358 </cell>
13359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13360 \begin_inset Text
13361
13362 \begin_layout Standard
13363
13364 \color blue
13365 e
13366 \end_layout
13367
13368 \end_inset
13369 </cell>
13370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13371 \begin_inset Text
13372
13373 \begin_layout Standard
13374
13375 \color blue
13376 f
13377 \end_layout
13378
13379 \end_inset
13380 </cell>
13381 </row>
13382 <row topline="true" bottomline="true">
13383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13384 \begin_inset Text
13385
13386 \begin_layout Standard
13387
13388 \color green
13389 g
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13395 \begin_inset Text
13396
13397 \begin_layout Standard
13398
13399 \color blue
13400 h
13401 \end_layout
13402
13403 \end_inset
13404 </cell>
13405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13406 \begin_inset Text
13407
13408 \begin_layout Standard
13409
13410 \color blue
13411 i
13412 \end_layout
13413
13414 \end_inset
13415 </cell>
13416 </row>
13417 </lyxtabular>
13418
13419 \end_inset
13420
13421
13422 \end_layout
13423
13424 \end_inset
13425
13426
13427 \end_layout
13428
13429 \begin_layout Standard
13430 If you only need colored text, mark the cells and choose a color in the
13431  menu 
13432 \family sans
13433 Edit\SpecialChar \menuseparator
13434 Text\InsetSpace ~
13435 Style
13436 \family default
13437 .
13438  This was used to create Table\InsetSpace ~
13439
13440 \begin_inset LatexCommand ref
13441 reference "tab:Table-colored-without"
13442
13443 \end_inset
13444
13445 .
13446  In any other case you have to use the LaTeX-package 
13447 \series bold
13448 colortbl
13449 \series default
13450 .
13451 \begin_inset LatexCommand index
13452 name "LaTeX-packages ! colortbl"
13453
13454 \end_inset
13455
13456
13457 \end_layout
13458
13459 \begin_layout Standard
13460 To create colored tables, 
13461 \series bold
13462 colortbl
13463 \series default
13464  must be loaded in the preamble with the line
13465 \end_layout
13466
13467 \begin_layout Standard
13468
13469 \series bold
13470
13471 \backslash
13472 usepackage{colortbl}
13473 \end_layout
13474
13475 \begin_layout Standard
13476 The color of a column is adjusted with the command
13477 \end_layout
13478
13479 \begin_layout Standard
13480
13481 \series bold
13482
13483 \backslash
13484 columncolor{name of color}
13485 \end_layout
13486
13487 \begin_layout Standard
13488 inside the command 
13489 \series bold
13490 >{ }
13491 \series default
13492 .
13493  More about the command 
13494 \series bold
13495 >{}
13496 \series default
13497  is described in section\InsetSpace ~
13498
13499 \begin_inset LatexCommand ref
13500 reference "sub:Multicolumn-Calculations"
13501
13502 \end_inset
13503
13504 .
13505 \end_layout
13506
13507 \begin_layout Standard
13508 The following color names are predefined:
13509 \end_layout
13510
13511 \begin_layout Standard
13512
13513 \family sans
13514 red
13515 \family default
13516
13517 \family sans
13518 green
13519 \family default
13520
13521 \family sans
13522 yellow
13523 \family default
13524
13525 \family sans
13526 blue
13527 \family default
13528
13529 \family sans
13530 cyan
13531 \family default
13532
13533 \family sans
13534 magenta
13535 \family default
13536
13537 \family sans
13538 black
13539 \family default
13540  and 
13541 \family sans
13542 white
13543 \end_layout
13544
13545 \begin_layout Standard
13546 \begin_inset VSpace medskip
13547 \end_inset
13548
13549
13550 \end_layout
13551
13552 \begin_layout Standard
13553 You can also define your own color with the command
13554 \end_layout
13555
13556 \begin_layout Standard
13557
13558 \series bold
13559
13560 \backslash
13561 def\SpecialChar \textcompwordmark{}
13562 inecolor{color name}{color model}{color values}
13563 \end_layout
13564
13565 \begin_layout Standard
13566 The color model can be
13567 \end_layout
13568
13569 \begin_layout Labeling
13570 \labelwidthstring 00.00.0000
13571 cmyk: cyan, magenta, yellow, black
13572 \end_layout
13573
13574 \begin_layout Labeling
13575 \labelwidthstring 00.00.0000
13576 rgb: red, green blue
13577 \end_layout
13578
13579 \begin_layout Labeling
13580 \labelwidthstring 00.00.0000
13581 gray gray
13582 \end_layout
13583
13584 \begin_layout Standard
13585 and the color values are comma separated numbers between 0 and 1 describing
13586  the factor for the corresponding color of the color model.
13587 \end_layout
13588
13589 \begin_layout Standard
13590 You can e.\InsetSpace \thinspace{}
13591 g.\InsetSpace ~
13592 define the color "
13593 \emph on
13594 darkgreen
13595 \emph default
13596 " in the preamble with
13597 \end_layout
13598
13599 \begin_layout Standard
13600
13601 \series bold
13602
13603 \backslash
13604 def\SpecialChar \textcompwordmark{}
13605 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13606 \end_layout
13607
13608 \begin_layout Standard
13609 and the color "
13610 \emph on
13611 lightgray
13612 \emph default
13613 " with
13614 \end_layout
13615
13616 \begin_layout Standard
13617
13618 \series bold
13619
13620 \backslash
13621 def\SpecialChar \textcompwordmark{}
13622 inecolor{lightgray}{gray}{0.8}
13623 \end_layout
13624
13625 \begin_layout Standard
13626 \begin_inset VSpace medskip
13627 \end_inset
13628
13629
13630 \end_layout
13631
13632 \begin_layout Standard
13633 Lines are colored with the command
13634 \end_layout
13635
13636 \begin_layout Standard
13637
13638 \series bold
13639
13640 \backslash
13641 rowcolor{name of color}
13642 \end_layout
13643
13644 \begin_layout Standard
13645 and cells are colored with the command
13646 \end_layout
13647
13648 \begin_layout Standard
13649
13650 \series bold
13651
13652 \backslash
13653 cellcolor{name of color}
13654 \end_layout
13655
13656 \begin_layout Standard
13657 Both commands are inserted at the beginning of a cell as ERT.
13658 \end_layout
13659
13660 \begin_layout Standard
13661 To color characters in the table, mark the cells and use the LyX menu 
13662 \family sans
13663 Edit\SpecialChar \menuseparator
13664 Text\InsetSpace ~
13665 Style
13666 \family default
13667 .
13668  If a cell contains ERT mark only the characters, otherwise the colored
13669  ERT will cause LaTeX-errors.
13670 \end_layout
13671
13672 \begin_layout Standard
13673 \begin_inset VSpace bigskip
13674 \end_inset
13675
13676
13677 \end_layout
13678
13679 \begin_layout Standard
13680 To create Table\InsetSpace ~
13681
13682 \begin_inset LatexCommand ref
13683 reference "tab:Table-colored-using"
13684
13685 \end_inset
13686
13687  do the following: The color of the first column should be 
13688 \emph on
13689 darkgreen
13690 \emph default
13691 .
13692  So insert
13693 \end_layout
13694
13695 \begin_layout Standard
13696
13697 \series bold
13698 >{
13699 \backslash
13700 columncolor{darkgreen}
13701 \backslash
13702 centering}c
13703 \end_layout
13704
13705 \begin_layout Standard
13706 as LaTeX-argument for this column.
13707  The first row should be blue, therefore the ERT command
13708 \end_layout
13709
13710 \begin_layout Standard
13711
13712 \series bold
13713
13714 \backslash
13715 rowcolow{cyan}
13716 \end_layout
13717
13718 \begin_layout Standard
13719 is inserted to the first cell of this row.
13720  Note that this overwrites the column color for the first cell.
13721  The last cell of the last row is colored magenta by inserting the ERT command
13722 \end_layout
13723
13724 \begin_layout Standard
13725
13726 \series bold
13727
13728 \backslash
13729 cellcolor{magenta}
13730 \end_layout
13731
13732 \begin_layout Standard
13733 The characters could now be colored using the menu 
13734 \family sans
13735 Edit\SpecialChar \menuseparator
13736 Text\InsetSpace ~
13737 Style
13738 \family default
13739 .
13740 \end_layout
13741
13742 \begin_layout Standard
13743 \begin_inset Float table
13744 placement h
13745 wide false
13746 sideways false
13747 status open
13748
13749 \begin_layout Standard
13750 \begin_inset Caption
13751
13752 \begin_layout Standard
13753 \begin_inset LatexCommand label
13754 name "tab:Table-colored-using"
13755
13756 \end_inset
13757
13758 Table colored using the package 
13759 \series bold
13760 colortbl
13761 \series default
13762
13763 \begin_inset OptArg
13764 status collapsed
13765
13766 \begin_layout Standard
13767 Table with colortbl
13768 \end_layout
13769
13770 \end_inset
13771
13772
13773 \end_layout
13774
13775 \end_inset
13776
13777
13778 \end_layout
13779
13780 \begin_layout Standard
13781 \align center
13782 \begin_inset Tabular
13783 <lyxtabular version="3" rows="3" columns="3">
13784 <features>
13785 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13786 <column alignment="center" valignment="top" width="0">
13787 <column alignment="center" valignment="top" width="0">
13788 <row>
13789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13790 \begin_inset Text
13791
13792 \begin_layout Standard
13793 \begin_inset ERT
13794 status collapsed
13795
13796 \begin_layout Standard
13797
13798
13799 \backslash
13800 rowcolor{cyan}
13801 \end_layout
13802
13803 \end_inset
13804
13805
13806 \color magenta
13807 a
13808 \end_layout
13809
13810 \end_inset
13811 </cell>
13812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13813 \begin_inset Text
13814
13815 \begin_layout Standard
13816
13817 \color red
13818 b
13819 \end_layout
13820
13821 \end_inset
13822 </cell>
13823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13824 \begin_inset Text
13825
13826 \begin_layout Standard
13827
13828 \color red
13829 c
13830 \end_layout
13831
13832 \end_inset
13833 </cell>
13834 </row>
13835 <row>
13836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13837 \begin_inset Text
13838
13839 \begin_layout Standard
13840
13841 \color yellow
13842 d
13843 \end_layout
13844
13845 \end_inset
13846 </cell>
13847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13848 \begin_inset Text
13849
13850 \begin_layout Standard
13851
13852 \color blue
13853 e
13854 \end_layout
13855
13856 \end_inset
13857 </cell>
13858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13859 \begin_inset Text
13860
13861 \begin_layout Standard
13862
13863 \color blue
13864 f
13865 \end_layout
13866
13867 \end_inset
13868 </cell>
13869 </row>
13870 <row>
13871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13872 \begin_inset Text
13873
13874 \begin_layout Standard
13875
13876 \color yellow
13877 g
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13883 \begin_inset Text
13884
13885 \begin_layout Standard
13886
13887 \color blue
13888 h
13889 \end_layout
13890
13891 \end_inset
13892 </cell>
13893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13894 \begin_inset Text
13895
13896 \begin_layout Standard
13897 \begin_inset ERT
13898 status collapsed
13899
13900 \begin_layout Standard
13901
13902
13903 \backslash
13904 cellcolor{magenta}
13905 \end_layout
13906
13907 \end_inset
13908
13909
13910 \color green
13911 i
13912 \end_layout
13913
13914 \end_inset
13915 </cell>
13916 </row>
13917 </lyxtabular>
13918
13919 \end_inset
13920
13921
13922 \end_layout
13923
13924 \end_inset
13925
13926
13927 \end_layout
13928
13929 \begin_layout Subsection
13930 Colored Lines
13931 \begin_inset LatexCommand index
13932 name "Table Color ! for Lines"
13933
13934 \end_inset
13935
13936
13937 \begin_inset LatexCommand index
13938 name "Color ! for Table Lines"
13939
13940 \end_inset
13941
13942
13943 \end_layout
13944
13945 \begin_layout Standard
13946 As described in section\InsetSpace ~
13947
13948 \begin_inset LatexCommand ref
13949 reference "sub:Line-Thickness"
13950
13951 \end_inset
13952
13953 , the line thickness for all lines in a table can be adjusted with the length
13954  
13955 \series bold
13956
13957 \backslash
13958 arrayrulewidth
13959 \series default
13960 .
13961  It is set to 1.5\InsetSpace \thinspace{}
13962 pt for all tables of this section.
13963 \begin_inset ERT
13964 status collapsed
13965
13966 \begin_layout Standard
13967
13968
13969 \backslash
13970 setlength{
13971 \backslash
13972 arrayrulewidth}{1.5pt}
13973 \end_layout
13974
13975 \end_inset
13976
13977
13978 \end_layout
13979
13980 \begin_layout Standard
13981 To color vertical lines for example with green, create the following column
13982  format in the document preamble, according to the description in section\InsetSpace ~
13983
13984 \begin_inset LatexCommand ref
13985 reference "sub:Customized-Format"
13986
13987 \end_inset
13988
13989 :
13990 \end_layout
13991
13992 \begin_layout Standard
13993
13994 \series bold
13995
13996 \backslash
13997 newcolumntype{W}{!{
13998 \backslash
13999 color{green}
14000 \backslash
14001 vline}}
14002 \end_layout
14003
14004 \begin_layout Standard
14005 For Table\InsetSpace ~
14006
14007 \begin_inset LatexCommand ref
14008 reference "tab:Table-with-vertical-colored"
14009
14010 \end_inset
14011
14012  the LaTeX-argument
14013 \end_layout
14014
14015 \begin_layout Standard
14016
14017 \series bold
14018 WcW
14019 \end_layout
14020
14021 \begin_layout Standard
14022 was used for the last column and
14023 \end_layout
14024
14025 \begin_layout Standard
14026
14027 \series bold
14028 Wc
14029 \end_layout
14030
14031 \begin_layout Standard
14032 for the other columns.
14033 \end_layout
14034
14035 \begin_layout Standard
14036 If you want to have several colors, define more column formats.
14037 \end_layout
14038
14039 \begin_layout Standard
14040 \begin_inset Float table
14041 wide false
14042 sideways false
14043 status open
14044
14045 \begin_layout Standard
14046 \begin_inset Caption
14047
14048 \begin_layout Standard
14049 \begin_inset LatexCommand label
14050 name "tab:Table-with-vertical-colored"
14051
14052 \end_inset
14053
14054 Table with colored vertical lines
14055 \end_layout
14056
14057 \end_inset
14058
14059
14060 \end_layout
14061
14062 \begin_layout Standard
14063 \align center
14064 \begin_inset Tabular
14065 <lyxtabular version="3" rows="3" columns="3">
14066 <features>
14067 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14068 <column alignment="center" valignment="top" width="0" special="Wc">
14069 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14070 <row topline="true">
14071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14072 \begin_inset Text
14073
14074 \begin_layout Standard
14075 sd
14076 \end_layout
14077
14078 \end_inset
14079 </cell>
14080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14081 \begin_inset Text
14082
14083 \begin_layout Standard
14084
14085 \end_layout
14086
14087 \end_inset
14088 </cell>
14089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14090 \begin_inset Text
14091
14092 \begin_layout Standard
14093
14094 \end_layout
14095
14096 \end_inset
14097 </cell>
14098 </row>
14099 <row topline="true">
14100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14101 \begin_inset Text
14102
14103 \begin_layout Standard
14104
14105 \end_layout
14106
14107 \end_inset
14108 </cell>
14109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14110 \begin_inset Text
14111
14112 \begin_layout Standard
14113 sd
14114 \end_layout
14115
14116 \end_inset
14117 </cell>
14118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14119 \begin_inset Text
14120
14121 \begin_layout Standard
14122
14123 \end_layout
14124
14125 \end_inset
14126 </cell>
14127 </row>
14128 <row topline="true" bottomline="true">
14129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14130 \begin_inset Text
14131
14132 \begin_layout Standard
14133
14134 \end_layout
14135
14136 \end_inset
14137 </cell>
14138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14139 \begin_inset Text
14140
14141 \begin_layout Standard
14142
14143 \end_layout
14144
14145 \end_inset
14146 </cell>
14147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14148 \begin_inset Text
14149
14150 \begin_layout Standard
14151 sd
14152 \end_layout
14153
14154 \end_inset
14155 </cell>
14156 </row>
14157 </lyxtabular>
14158
14159 \end_inset
14160
14161
14162 \end_layout
14163
14164 \end_inset
14165
14166
14167 \end_layout
14168
14169 \begin_layout Standard
14170 \begin_inset VSpace bigskip
14171 \end_inset
14172
14173 To color horizontal lines for example with red, like in Table\InsetSpace ~
14174
14175 \begin_inset LatexCommand ref
14176 reference "tab:Table-with-horizontal-colored"
14177
14178 \end_inset
14179
14180 , insert these commands in ERT before the table or table float:
14181 \end_layout
14182
14183 \begin_layout Standard
14184
14185 \series bold
14186
14187 \backslash
14188 let
14189 \backslash
14190 myHlineC
14191 \backslash
14192 hline
14193 \newline
14194
14195 \backslash
14196 renewcommand{
14197 \backslash
14198 hline}{
14199 \backslash
14200 arrayrulecolor{red}
14201 \backslash
14202 myHlineC
14203 \backslash
14204 arrayrulecolor{black}}
14205 \end_layout
14206
14207 \begin_layout Standard
14208 \begin_inset ERT
14209 status collapsed
14210
14211 \begin_layout Standard
14212
14213
14214 \backslash
14215 let
14216 \backslash
14217 myHlineC
14218 \backslash
14219 hline
14220 \end_layout
14221
14222 \begin_layout Standard
14223
14224
14225 \backslash
14226 renewcommand{
14227 \backslash
14228 hline}{
14229 \backslash
14230 arrayrulecolor{red}
14231 \backslash
14232 myHlineC
14233 \backslash
14234 arrayrulecolor{black}}
14235 \end_layout
14236
14237 \end_inset
14238
14239
14240 \begin_inset Float table
14241 wide false
14242 sideways false
14243 status open
14244
14245 \begin_layout Standard
14246 \begin_inset Caption
14247
14248 \begin_layout Standard
14249 \begin_inset LatexCommand label
14250 name "tab:Table-with-horizontal-colored"
14251
14252 \end_inset
14253
14254 Table with colored horizontal lines
14255 \end_layout
14256
14257 \end_inset
14258
14259
14260 \end_layout
14261
14262 \begin_layout Standard
14263 \align center
14264 \begin_inset Tabular
14265 <lyxtabular version="3" rows="3" columns="3">
14266 <features>
14267 <column alignment="center" valignment="top" leftline="true" width="0">
14268 <column alignment="center" valignment="top" leftline="true" width="0">
14269 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14270 <row topline="true">
14271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14272 \begin_inset Text
14273
14274 \begin_layout Standard
14275 sd
14276 \end_layout
14277
14278 \end_inset
14279 </cell>
14280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14281 \begin_inset Text
14282
14283 \begin_layout Standard
14284
14285 \end_layout
14286
14287 \end_inset
14288 </cell>
14289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14290 \begin_inset Text
14291
14292 \begin_layout Standard
14293
14294 \end_layout
14295
14296 \end_inset
14297 </cell>
14298 </row>
14299 <row topline="true">
14300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14301 \begin_inset Text
14302
14303 \begin_layout Standard
14304
14305 \end_layout
14306
14307 \end_inset
14308 </cell>
14309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14310 \begin_inset Text
14311
14312 \begin_layout Standard
14313 sd
14314 \end_layout
14315
14316 \end_inset
14317 </cell>
14318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14319 \begin_inset Text
14320
14321 \begin_layout Standard
14322
14323 \end_layout
14324
14325 \end_inset
14326 </cell>
14327 </row>
14328 <row topline="true" bottomline="true">
14329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14330 \begin_inset Text
14331
14332 \begin_layout Standard
14333
14334 \end_layout
14335
14336 \end_inset
14337 </cell>
14338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14339 \begin_inset Text
14340
14341 \begin_layout Standard
14342
14343 \end_layout
14344
14345 \end_inset
14346 </cell>
14347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14348 \begin_inset Text
14349
14350 \begin_layout Standard
14351 sd
14352 \end_layout
14353
14354 \end_inset
14355 </cell>
14356 </row>
14357 </lyxtabular>
14358
14359 \end_inset
14360
14361
14362 \end_layout
14363
14364 \end_inset
14365
14366
14367 \end_layout
14368
14369 \begin_layout Standard
14370 \begin_inset ERT
14371 status collapsed
14372
14373 \begin_layout Standard
14374
14375
14376 \backslash
14377 pagebreak 
14378 \end_layout
14379
14380 \end_inset
14381
14382
14383 \end_layout
14384
14385 \begin_layout Standard
14386 To return to the default line color black, insert this command in ERT behind
14387  the table or table float:
14388 \end_layout
14389
14390 \begin_layout Standard
14391
14392 \series bold
14393
14394 \backslash
14395 renewcommand{
14396 \backslash
14397 hline}{
14398 \backslash
14399 myHlineC}
14400 \end_layout
14401
14402 \begin_layout Standard
14403 Table\InsetSpace ~
14404
14405 \begin_inset LatexCommand ref
14406 reference "tab:Table-with-colored"
14407
14408 \end_inset
14409
14410  is an example with colored vertical and horizontal lines.
14411 \end_layout
14412
14413 \begin_layout Standard
14414 \begin_inset Float table
14415 wide false
14416 sideways false
14417 status open
14418
14419 \begin_layout Standard
14420 \begin_inset Caption
14421
14422 \begin_layout Standard
14423 \begin_inset LatexCommand label
14424 name "tab:Table-with-colored"
14425
14426 \end_inset
14427
14428 Table with colored lines
14429 \end_layout
14430
14431 \end_inset
14432
14433
14434 \end_layout
14435
14436 \begin_layout Standard
14437 \align center
14438 \begin_inset Tabular
14439 <lyxtabular version="3" rows="3" columns="3">
14440 <features>
14441 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14442 <column alignment="center" valignment="top" width="0" special="Wc">
14443 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14444 <row topline="true">
14445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14446 \begin_inset Text
14447
14448 \begin_layout Standard
14449 sd
14450 \end_layout
14451
14452 \end_inset
14453 </cell>
14454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14455 \begin_inset Text
14456
14457 \begin_layout Standard
14458
14459 \end_layout
14460
14461 \end_inset
14462 </cell>
14463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14464 \begin_inset Text
14465
14466 \begin_layout Standard
14467
14468 \end_layout
14469
14470 \end_inset
14471 </cell>
14472 </row>
14473 <row topline="true">
14474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14475 \begin_inset Text
14476
14477 \begin_layout Standard
14478
14479 \end_layout
14480
14481 \end_inset
14482 </cell>
14483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14484 \begin_inset Text
14485
14486 \begin_layout Standard
14487 sd
14488 \end_layout
14489
14490 \end_inset
14491 </cell>
14492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14493 \begin_inset Text
14494
14495 \begin_layout Standard
14496
14497 \end_layout
14498
14499 \end_inset
14500 </cell>
14501 </row>
14502 <row topline="true" bottomline="true" topspace="default">
14503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14504 \begin_inset Text
14505
14506 \begin_layout Standard
14507
14508 \end_layout
14509
14510 \end_inset
14511 </cell>
14512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14513 \begin_inset Text
14514
14515 \begin_layout Standard
14516
14517 \end_layout
14518
14519 \end_inset
14520 </cell>
14521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14522 \begin_inset Text
14523
14524 \begin_layout Standard
14525 sd
14526 \end_layout
14527
14528 \end_inset
14529 </cell>
14530 </row>
14531 </lyxtabular>
14532
14533 \end_inset
14534
14535
14536 \end_layout
14537
14538 \end_inset
14539
14540
14541 \end_layout
14542
14543 \begin_layout Standard
14544 \begin_inset ERT
14545 status collapsed
14546
14547 \begin_layout Standard
14548
14549
14550 \backslash
14551 renewcommand{
14552 \backslash
14553 hline}{
14554 \backslash
14555 myHlineC}
14556 \end_layout
14557
14558 \end_inset
14559
14560
14561 \end_layout
14562
14563 \begin_layout Standard
14564 \begin_inset ERT
14565 status collapsed
14566
14567 \begin_layout Standard
14568
14569
14570 \backslash
14571 setlength{
14572 \backslash
14573 arrayrulewidth}{0.4pt}
14574 \end_layout
14575
14576 \end_inset
14577
14578
14579 \end_layout
14580
14581 \begin_layout Section
14582 Table Customization
14583 \begin_inset LatexCommand index
14584 name "Table Customization"
14585
14586 \end_inset
14587
14588
14589 \begin_inset LatexCommand index
14590 name "Table ! Customization"
14591
14592 \end_inset
14593
14594
14595 \end_layout
14596
14597 \begin_layout Subsection
14598 Row Spacing
14599 \begin_inset LatexCommand label
14600 name "sub:Row-Spacing"
14601
14602 \end_inset
14603
14604
14605 \begin_inset LatexCommand index
14606 name "Table Customization ! Row Spacing"
14607
14608 \end_inset
14609
14610
14611 \end_layout
14612
14613 \begin_layout Standard
14614 You can add vertical space to table rows in the 
14615 \family sans
14616 Borders
14617 \family default
14618  tab of the table dialog.
14619  You find there three possibilities:
14620 \end_layout
14621
14622 \begin_layout Description
14623 Top\InsetSpace ~
14624 of\InsetSpace ~
14625 row will add space above the characters of the table row.
14626  If the table is a formal table
14627 \begin_inset Foot
14628 status collapsed
14629
14630 \begin_layout Standard
14631 Formal tables are explained in section\InsetSpace ~
14632
14633 \begin_inset LatexCommand ref
14634 reference "sec:Formal-Tables"
14635
14636 \end_inset
14637
14638 .
14639 \end_layout
14640
14641 \end_inset
14642
14643  LyX will insert as default 0.5\InsetSpace \thinspace{}
14644 em space.
14645  For normal tables the inserted space will unfortunately destroy the vertical
14646  table lines as in the following table: 
14647 \begin_inset Tabular
14648 <lyxtabular version="3" rows="3" columns="1">
14649 <features>
14650 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14651 <row topline="true">
14652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14653 \begin_inset Text
14654
14655 \begin_layout Standard
14656 A
14657 \end_layout
14658
14659 \end_inset
14660 </cell>
14661 </row>
14662 <row topline="true" topspace="3mm">
14663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14664 \begin_inset Text
14665
14666 \begin_layout Standard
14667 3\InsetSpace \thinspace{}
14668 mm space top of row
14669 \end_layout
14670
14671 \end_inset
14672 </cell>
14673 </row>
14674 <row topline="true" bottomline="true">
14675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14676 \begin_inset Text
14677
14678 \begin_layout Standard
14679 C
14680 \end_layout
14681
14682 \end_inset
14683 </cell>
14684 </row>
14685 </lyxtabular>
14686
14687 \end_inset
14688
14689
14690 \newline
14691 So inserting space to the top of row for normal tables is only useful when
14692  you don't have vertical lines.
14693 \end_layout
14694
14695 \begin_layout Description
14696 Bottom\InsetSpace ~
14697 of\InsetSpace ~
14698 row will add space below the characters of the table row.
14699  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14700 em space, for
14701  normal tables the default size is 2\InsetSpace \thinspace{}
14702 pt.
14703 \end_layout
14704
14705 \begin_layout Description
14706 Between\InsetSpace ~
14707 rows only has an effect when you have selected the whole table row
14708  before.
14709  The space is added between the current and the following row.
14710  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14711 em space.
14712  For normal tables the inserted space will unfortunately destroy the vertical
14713  table lines as in the following table: 
14714 \begin_inset Tabular
14715 <lyxtabular version="3" rows="3" columns="1">
14716 <features>
14717 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14718 <row topline="true">
14719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14720 \begin_inset Text
14721
14722 \begin_layout Standard
14723 A
14724 \end_layout
14725
14726 \end_inset
14727 </cell>
14728 </row>
14729 <row topline="true" interlinespace="3mm">
14730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14731 \begin_inset Text
14732
14733 \begin_layout Standard
14734 \begin_inset Formula $\downarrow$
14735 \end_inset
14736
14737  3\InsetSpace \thinspace{}
14738 mm space between row 
14739 \begin_inset Formula $\downarrow$
14740 \end_inset
14741
14742
14743 \end_layout
14744
14745 \end_inset
14746 </cell>
14747 </row>
14748 <row topline="true" bottomline="true">
14749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14750 \begin_inset Text
14751
14752 \begin_layout Standard
14753 \begin_inset Formula $\uparrow$
14754 \end_inset
14755
14756  3\InsetSpace \thinspace{}
14757 mm space between row 
14758 \begin_inset Formula $\uparrow$
14759 \end_inset
14760
14761
14762 \end_layout
14763
14764 \end_inset
14765 </cell>
14766 </row>
14767 </lyxtabular>
14768
14769 \end_inset
14770
14771
14772 \newline
14773 So inserting space between rows for normal tables is only useful when you
14774  don't have vertical lines.
14775 \end_layout
14776
14777 \begin_layout Standard
14778 When you want to add extra height to all cells of all tables, you can do
14779  this with the following preamble line:
14780 \end_layout
14781
14782 \begin_layout Standard
14783
14784 \series bold
14785
14786 \backslash
14787 setlength{
14788 \backslash
14789 extrarowheight}{height}
14790 \end_layout
14791
14792 \begin_layout Standard
14793 But this has the disadvantage that the cell texts are no longer exactly
14794  vertically centered.
14795 \end_layout
14796
14797 \begin_layout Subsection
14798 Special Cell Alignment
14799 \begin_inset LatexCommand index
14800 name "Table Customization ! Special Cell Alignment"
14801
14802 \end_inset
14803
14804
14805 \end_layout
14806
14807 \begin_layout Standard
14808 Sometimes it looks better when the cell entries of a column are aligned
14809  with a special character, e.\InsetSpace \thinspace{}
14810 g.\InsetSpace ~
14811 with the decimal separator as in Table\InsetSpace ~
14812
14813 \begin_inset LatexCommand ref
14814 reference "tab:Table-cells-of"
14815
14816 \end_inset
14817
14818 .
14819 \end_layout
14820
14821 \begin_layout Standard
14822 \begin_inset Float table
14823 placement h
14824 wide false
14825 sideways false
14826 status open
14827
14828 \begin_layout Standard
14829 \begin_inset Caption
14830
14831 \begin_layout Standard
14832 \begin_inset LatexCommand label
14833 name "tab:Table-cells-of"
14834
14835 \end_inset
14836
14837 Table cells of a column aligned with the decimal separator.
14838 \end_layout
14839
14840 \end_inset
14841
14842
14843 \end_layout
14844
14845 \begin_layout Standard
14846 \align center
14847 \begin_inset Tabular
14848 <lyxtabular version="3" rows="4" columns="2">
14849 <features>
14850 <column alignment="right" valignment="top" width="0">
14851 <column alignment="left" valignment="top" width="0" special="@{}l">
14852 <row bottomline="true">
14853 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14854 \begin_inset Text
14855
14856 \begin_layout Standard
14857 heading
14858 \end_layout
14859
14860 \end_inset
14861 </cell>
14862 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14863 \begin_inset Text
14864
14865 \begin_layout Standard
14866
14867 \end_layout
14868
14869 \end_inset
14870 </cell>
14871 </row>
14872 <row>
14873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14874 \begin_inset Text
14875
14876 \begin_layout Standard
14877 12.
14878 \end_layout
14879
14880 \end_inset
14881 </cell>
14882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14883 \begin_inset Text
14884
14885 \begin_layout Standard
14886 6
14887 \end_layout
14888
14889 \end_inset
14890 </cell>
14891 </row>
14892 <row>
14893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14894 \begin_inset Text
14895
14896 \begin_layout Standard
14897 0.
14898 \end_layout
14899
14900 \end_inset
14901 </cell>
14902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14903 \begin_inset Text
14904
14905 \begin_layout Standard
14906 68
14907 \end_layout
14908
14909 \end_inset
14910 </cell>
14911 </row>
14912 <row>
14913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14914 \begin_inset Text
14915
14916 \begin_layout Standard
14917 -123.
14918 \end_layout
14919
14920 \end_inset
14921 </cell>
14922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14923 \begin_inset Text
14924
14925 \begin_layout Standard
14926 0
14927 \end_layout
14928
14929 \end_inset
14930 </cell>
14931 </row>
14932 </lyxtabular>
14933
14934 \end_inset
14935
14936
14937 \end_layout
14938
14939 \end_inset
14940
14941
14942 \end_layout
14943
14944 \begin_layout Standard
14945 This table was created with a 4×2 table.
14946  The heading is a centered multicolumn.
14947  The first column is right-aligned and contains the digits before the decimal
14948  point and the decimal point.
14949  The second column is left aligned and contains the digits after the decimal
14950  point.
14951  To omit the space that is normally between two table columns, use the following
14952  LaTeX-argument for the second column:
14953 \end_layout
14954
14955 \begin_layout Standard
14956
14957 \series bold
14958 @{}l
14959 \end_layout
14960
14961 \begin_layout Standard
14962 If you need a vertical line right beside the second column, use this LaTeX-argum
14963 ent instead: 
14964 \series bold
14965 @{}l|
14966 \end_layout
14967
14968 \begin_layout Standard
14969 Table\InsetSpace ~
14970
14971 \begin_inset LatexCommand ref
14972 reference "tab:Several-table-cell"
14973
14974 \end_inset
14975
14976  shows some example alignments.
14977  For the alignment with the relation sign, you must add the second smallest
14978  math-space at the beginning of the last column to get the correct space
14979  surrounding the relation sign.
14980 \end_layout
14981
14982 \begin_layout Standard
14983 \begin_inset Float table
14984 wide false
14985 sideways false
14986 status open
14987
14988 \begin_layout Standard
14989 \begin_inset Caption
14990
14991 \begin_layout Standard
14992 \begin_inset LatexCommand label
14993 name "tab:Several-table-cell"
14994
14995 \end_inset
14996
14997 Several table cell alignments.
14998 \end_layout
14999
15000 \end_inset
15001
15002
15003 \end_layout
15004
15005 \begin_layout Standard
15006 \align center
15007 \begin_inset Tabular
15008 <lyxtabular version="3" rows="4" columns="6">
15009 <features>
15010 <column alignment="right" valignment="top" width="0">
15011 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15012 <column alignment="right" valignment="top" width="0">
15013 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15014 <column alignment="right" valignment="top" width="0">
15015 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15016 <row bottomline="true">
15017 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15018 \begin_inset Text
15019
15020 \begin_layout Standard
15021 units
15022 \end_layout
15023
15024 \end_inset
15025 </cell>
15026 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15027 \begin_inset Text
15028
15029 \begin_layout Standard
15030
15031 \end_layout
15032
15033 \end_inset
15034 </cell>
15035 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15036 \begin_inset Text
15037
15038 \begin_layout Standard
15039 exponents
15040 \end_layout
15041
15042 \end_inset
15043 </cell>
15044 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15045 \begin_inset Text
15046
15047 \begin_layout Standard
15048
15049 \end_layout
15050
15051 \end_inset
15052 </cell>
15053 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15054 \begin_inset Text
15055
15056 \begin_layout Standard
15057 relations
15058 \end_layout
15059
15060 \end_inset
15061 </cell>
15062 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15063 \begin_inset Text
15064
15065 \begin_layout Standard
15066
15067 \end_layout
15068
15069 \end_inset
15070 </cell>
15071 </row>
15072 <row>
15073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15074 \begin_inset Text
15075
15076 \begin_layout Standard
15077 12×
15078 \end_layout
15079
15080 \end_inset
15081 </cell>
15082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15083 \begin_inset Text
15084
15085 \begin_layout Standard
15086 24\InsetSpace \thinspace{}
15087 bottles
15088 \end_layout
15089
15090 \end_inset
15091 </cell>
15092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15093 \begin_inset Text
15094
15095 \begin_layout Standard
15096 \begin_inset Formula $10\cdot$
15097 \end_inset
15098
15099
15100 \end_layout
15101
15102 \end_inset
15103 </cell>
15104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15105 \begin_inset Text
15106
15107 \begin_layout Standard
15108 \begin_inset Formula $10^{\mbox{-}17}$
15109 \end_inset
15110
15111
15112 \end_layout
15113
15114 \end_inset
15115 </cell>
15116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15117 \begin_inset Text
15118
15119 \begin_layout Standard
15120 \begin_inset Formula $\Gamma(t)\propto$
15121 \end_inset
15122
15123
15124 \end_layout
15125
15126 \end_inset
15127 </cell>
15128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15129 \begin_inset Text
15130
15131 \begin_layout Standard
15132 \begin_inset Formula $\:\Upsilon(t)$
15133 \end_inset
15134
15135
15136 \end_layout
15137
15138 \end_inset
15139 </cell>
15140 </row>
15141 <row>
15142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15143 \begin_inset Text
15144
15145 \begin_layout Standard
15146 1024×
15147 \end_layout
15148
15149 \end_inset
15150 </cell>
15151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15152 \begin_inset Text
15153
15154 \begin_layout Standard
15155 768\InsetSpace \thinspace{}
15156 Pixels
15157 \end_layout
15158
15159 \end_inset
15160 </cell>
15161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15162 \begin_inset Text
15163
15164 \begin_layout Standard
15165 \begin_inset Formula $5.78\cdot$
15166 \end_inset
15167
15168
15169 \end_layout
15170
15171 \end_inset
15172 </cell>
15173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15174 \begin_inset Text
15175
15176 \begin_layout Standard
15177 \begin_inset Formula $10^{7}$
15178 \end_inset
15179
15180
15181 \end_layout
15182
15183 \end_inset
15184 </cell>
15185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15186 \begin_inset Text
15187
15188 \begin_layout Standard
15189 \begin_inset Formula $A\ne$
15190 \end_inset
15191
15192
15193 \end_layout
15194
15195 \end_inset
15196 </cell>
15197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15198 \begin_inset Text
15199
15200 \begin_layout Standard
15201 \begin_inset Formula $\: B_{\mathrm{red}}$
15202 \end_inset
15203
15204
15205 \end_layout
15206
15207 \end_inset
15208 </cell>
15209 </row>
15210 <row>
15211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15212 \begin_inset Text
15213
15214 \begin_layout Standard
15215 32×
15216 \end_layout
15217
15218 \end_inset
15219 </cell>
15220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15221 \begin_inset Text
15222
15223 \begin_layout Standard
15224 6\InsetSpace \thinspace{}
15225 cm
15226 \end_layout
15227
15228 \end_inset
15229 </cell>
15230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15231 \begin_inset Text
15232
15233 \begin_layout Standard
15234 -
15235 \begin_inset Formula $33.5\cdot$
15236 \end_inset
15237
15238
15239 \end_layout
15240
15241 \end_inset
15242 </cell>
15243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15244 \begin_inset Text
15245
15246 \begin_layout Standard
15247 \begin_inset Formula $10^{4}$
15248 \end_inset
15249
15250
15251 \end_layout
15252
15253 \end_inset
15254 </cell>
15255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15256 \begin_inset Text
15257
15258 \begin_layout Standard
15259 \begin_inset Formula $\sin(\alpha)\ge$
15260 \end_inset
15261
15262
15263 \end_layout
15264
15265 \end_inset
15266 </cell>
15267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15268 \begin_inset Text
15269
15270 \begin_layout Standard
15271 \begin_inset Formula $\:\sin(\beta)$
15272 \end_inset
15273
15274
15275 \end_layout
15276
15277 \end_inset
15278 </cell>
15279 </row>
15280 </lyxtabular>
15281
15282 \end_inset
15283
15284
15285 \end_layout
15286
15287 \end_inset
15288
15289
15290 \end_layout
15291
15292 \begin_layout Standard
15293 \begin_inset VSpace bigskip
15294 \end_inset
15295
15296 There is also the LaTeX-package 
15297 \series bold
15298 dcolumn
15299 \series default
15300
15301 \begin_inset LatexCommand index
15302 name "LaTeX-packages ! dcolumn"
15303
15304 \end_inset
15305
15306  that provides table cell alignments.
15307  But this unfortunately treats the cell entries as math and doesn't allow
15308  formulas in table cells: The first column of Table\InsetSpace ~
15309
15310 \begin_inset LatexCommand ref
15311 reference "tab:Several-table-cell"
15312
15313 \end_inset
15314
15315  will look with 
15316 \series bold
15317 dcolumn
15318 \series default
15319  like the first column in Table\InsetSpace ~
15320
15321 \begin_inset LatexCommand ref
15322 reference "tab:Alignments-when"
15323
15324 \end_inset
15325
15326  and only with some tricks like the expected.
15327  The alignment of the second and third column of Table\InsetSpace ~
15328
15329 \begin_inset LatexCommand ref
15330 reference "tab:Several-table-cell"
15331
15332 \end_inset
15333
15334  is not possible with 
15335 \series bold
15336 dcolumn
15337 \series default
15338 .
15339 \end_layout
15340
15341 \begin_layout Standard
15342 \begin_inset Float table
15343 placement h
15344 wide false
15345 sideways false
15346 status open
15347
15348 \begin_layout Standard
15349 \begin_inset Caption
15350
15351 \begin_layout Standard
15352 \begin_inset LatexCommand label
15353 name "tab:Alignments-when"
15354
15355 \end_inset
15356
15357 Alignments when LaTeX-package dcolumn is used.
15358  For the second and third alignment some tricks were used.
15359 \end_layout
15360
15361 \end_inset
15362
15363
15364 \end_layout
15365
15366 \begin_layout Standard
15367 \align center
15368 \begin_inset Tabular
15369 <lyxtabular version="3" rows="4" columns="3">
15370 <features>
15371 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15372 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15373 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15374 <row bottomline="true">
15375 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15376 \begin_inset Text
15377
15378 \begin_layout Standard
15379 units
15380 \end_layout
15381
15382 \end_inset
15383 </cell>
15384 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15385 \begin_inset Text
15386
15387 \begin_layout Standard
15388 units
15389 \end_layout
15390
15391 \end_inset
15392 </cell>
15393 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15394 \begin_inset Text
15395
15396 \begin_layout Standard
15397 units
15398 \end_layout
15399
15400 \end_inset
15401 </cell>
15402 </row>
15403 <row>
15404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15405 \begin_inset Text
15406
15407 \begin_layout Standard
15408 12×24\InsetSpace \thinspace{}
15409 bottles
15410 \end_layout
15411
15412 \end_inset
15413 </cell>
15414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15415 \begin_inset Text
15416
15417 \begin_layout Standard
15418 12×24\InsetSpace \thinspace{}
15419
15420 \begin_inset Formula $\mbox{bottles}$
15421 \end_inset
15422
15423
15424 \end_layout
15425
15426 \end_inset
15427 </cell>
15428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15429 \begin_inset Text
15430
15431 \begin_layout Standard
15432 12×24~
15433 \begin_inset Formula $\mbox{bottles}$
15434 \end_inset
15435
15436
15437 \end_layout
15438
15439 \end_inset
15440 </cell>
15441 </row>
15442 <row>
15443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15444 \begin_inset Text
15445
15446 \begin_layout Standard
15447 1024×768\InsetSpace \thinspace{}
15448 Pixels
15449 \end_layout
15450
15451 \end_inset
15452 </cell>
15453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15454 \begin_inset Text
15455
15456 \begin_layout Standard
15457 1024×768\InsetSpace \thinspace{}
15458
15459 \begin_inset Formula $\mbox{Pixels}$
15460 \end_inset
15461
15462
15463 \end_layout
15464
15465 \end_inset
15466 </cell>
15467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15468 \begin_inset Text
15469
15470 \begin_layout Standard
15471 1024×768~
15472 \begin_inset Formula $\mbox{Pixels}$
15473 \end_inset
15474
15475
15476 \end_layout
15477
15478 \end_inset
15479 </cell>
15480 </row>
15481 <row>
15482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15483 \begin_inset Text
15484
15485 \begin_layout Standard
15486 32×6\InsetSpace \thinspace{}
15487 cm
15488 \end_layout
15489
15490 \end_inset
15491 </cell>
15492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15493 \begin_inset Text
15494
15495 \begin_layout Standard
15496 32×6\InsetSpace \thinspace{}
15497
15498 \begin_inset Formula $\mbox{cm}$
15499 \end_inset
15500
15501
15502 \end_layout
15503
15504 \end_inset
15505 </cell>
15506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15507 \begin_inset Text
15508
15509 \begin_layout Standard
15510 32×6~
15511 \begin_inset Formula $\mbox{cm}$
15512 \end_inset
15513
15514
15515 \end_layout
15516
15517 \end_inset
15518 </cell>
15519 </row>
15520 </lyxtabular>
15521
15522 \end_inset
15523
15524
15525 \end_layout
15526
15527 \end_inset
15528
15529
15530 \end_layout
15531
15532 \begin_layout Subsection
15533 Customized Cell/Column Format
15534 \begin_inset LatexCommand label
15535 name "sub:Customized-Format"
15536
15537 \end_inset
15538
15539
15540 \begin_inset LatexCommand index
15541 name "Table Customization ! Cell/Column Format"
15542
15543 \end_inset
15544
15545
15546 \end_layout
15547
15548 \begin_layout Standard
15549 Calculating the needed width for spanned columns like in section\InsetSpace ~
15550
15551 \begin_inset LatexCommand ref
15552 reference "sub:Multicolumn-Calculations"
15553
15554 \end_inset
15555
15556  is very annoying if you have several tables with multicolumn cells.
15557  To make life easier, you can define a cell/column format in the preamble,
15558  so that it can be used in all tables of the document.
15559  The format is defined with the command
15560 \end_layout
15561
15562 \begin_layout Standard
15563
15564 \series bold
15565
15566 \backslash
15567 newcolumntype{name of format}[number of arguments]{commands}
15568 \end_layout
15569
15570 \begin_layout Standard
15571 The format name may only consist of one letter.
15572  The letters 
15573 \emph on
15574 b
15575 \emph default
15576
15577 \emph on
15578 c
15579 \emph default
15580
15581 \emph on
15582 l
15583 \emph default
15584
15585 \emph on
15586 m
15587 \emph default
15588
15589 \emph on
15590 p
15591 \emph default
15592  and 
15593 \emph on
15594 r
15595 \emph default
15596  are predefined and cannot be used.
15597  But all letters are allowed as capitals.
15598 \end_layout
15599
15600 \begin_layout Standard
15601 \begin_inset VSpace medskip
15602 \end_inset
15603
15604
15605 \end_layout
15606
15607 \begin_layout Standard
15608 For vertically and horizontally centered multicolumn cells with a fixed
15609  width you can define the cell format
15610 \end_layout
15611
15612 \begin_layout Standard
15613
15614 \series bold
15615
15616 \backslash
15617 newcolumntype{M}[1]{>{
15618 \backslash
15619 centering
15620 \backslash
15621 hspace{0pt}}m{#1}}
15622 \end_layout
15623
15624 \begin_layout Standard
15625 where 
15626 \series bold
15627
15628 \backslash
15629 hspace{0pt}
15630 \series default
15631  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15632
15633 \begin_inset LatexCommand ref
15634 reference "sub:Multiple-Lines-in"
15635
15636 \end_inset
15637
15638 .
15639  Now you can simply enter
15640 \end_layout
15641
15642 \begin_layout Standard
15643
15644 \series bold
15645 |M{width}
15646 \end_layout
15647
15648 \begin_layout Standard
15649 as LaTeX-argument in the table dialog to create a multicolumn.
15650 \end_layout
15651
15652 \begin_layout Standard
15653 \begin_inset VSpace bigskip
15654 \end_inset
15655
15656
15657 \end_layout
15658
15659 \begin_layout Standard
15660 For cells spanned by a multicolumn cell, you can define the format
15661 \end_layout
15662
15663 \begin_layout Standard
15664
15665 \series bold
15666
15667 \backslash
15668 newcolumntype{S}[2]{>{
15669 \backslash
15670 centering
15671 \backslash
15672 hspace{0pt}}
15673 \newline
15674
15675 \begin_inset ERT
15676 status collapsed
15677
15678 \begin_layout Standard
15679
15680
15681 \backslash
15682 phantom{
15683 \end_layout
15684
15685 \end_inset
15686
15687
15688 \backslash
15689 newcolumntype{S}[2]
15690 \begin_inset ERT
15691 status collapsed
15692
15693 \begin_layout Standard
15694
15695 }
15696 \end_layout
15697
15698 \end_inset
15699
15700 m{(#1+(2
15701 \backslash
15702 tabcolsep+
15703 \backslash
15704 arrayrulewidth)*(1-#2))/#2}}
15705 \end_layout
15706
15707 \begin_layout Standard
15708 This format uses equation 
15709 \begin_inset LatexCommand eqref
15710 reference "eq:Wgn"
15711
15712 \end_inset
15713
15714  to calculate the needed width so that each spanned cell has the same width.
15715 \end_layout
15716
15717 \begin_layout Standard
15718 You can now enter
15719 \end_layout
15720
15721 \begin_layout Standard
15722
15723 \series bold
15724 |S{width of multicolumn cell}{number of spanned columns}
15725 \end_layout
15726
15727 \begin_layout Standard
15728 as LaTeX-argument of the column.
15729 \end_layout
15730
15731 \begin_layout Standard
15732 \begin_inset VSpace bigskip
15733 \end_inset
15734
15735
15736 \end_layout
15737
15738 \begin_layout Standard
15739 For colored columns, you can define
15740 \end_layout
15741
15742 \begin_layout Standard
15743
15744 \series bold
15745
15746 \backslash
15747 newcolumntype{K}[1]{>{
15748 \backslash
15749 columncolor{#1}
15750 \backslash
15751 hspace{0pt}}c}
15752 \end_layout
15753
15754 \begin_layout Standard
15755 The 
15756 \begin_inset Quotes eld
15757 \end_inset
15758
15759 c
15760 \begin_inset Quotes erd
15761 \end_inset
15762
15763  at the end creates a column with a flexible width whose text is horizontally
15764  centered.
15765  You can now enter
15766 \end_layout
15767
15768 \begin_layout Standard
15769
15770 \series bold
15771 K{color name}
15772 \end_layout
15773
15774 \begin_layout Standard
15775 as LaTeX-argument.
15776 \end_layout
15777
15778 \begin_layout Standard
15779 \begin_inset VSpace bigskip
15780 \end_inset
15781
15782
15783 \end_layout
15784
15785 \begin_layout Standard
15786 To create Table\InsetSpace ~
15787
15788 \begin_inset LatexCommand ref
15789 reference "tab:Table-using-user-defined"
15790
15791 \end_inset
15792
15793  use the LaTeX-arguments
15794 \end_layout
15795
15796 \begin_layout Standard
15797
15798 \series bold
15799 |M{2.5cm}
15800 \end_layout
15801
15802 \begin_layout Standard
15803 for the first column and the multicolumn,
15804 \end_layout
15805
15806 \begin_layout Standard
15807
15808 \series bold
15809 |K{red}|
15810 \end_layout
15811
15812 \begin_layout Standard
15813 for the the last column, and
15814 \end_layout
15815
15816 \begin_layout Standard
15817
15818 \series bold
15819 |S{2.5cm}{2}
15820 \end_layout
15821
15822 \begin_layout Standard
15823 for the cells in the second column.
15824 \end_layout
15825
15826 \begin_layout Standard
15827 \begin_inset Float table
15828 placement h
15829 wide false
15830 sideways false
15831 status open
15832
15833 \begin_layout Standard
15834 \begin_inset Caption
15835
15836 \begin_layout Standard
15837 \begin_inset LatexCommand label
15838 name "tab:Table-using-user-defined"
15839
15840 \end_inset
15841
15842 Table using user-defined table formats
15843 \end_layout
15844
15845 \end_inset
15846
15847
15848 \end_layout
15849
15850 \begin_layout Standard
15851 \align center
15852 \begin_inset Tabular
15853 <lyxtabular version="3" rows="3" columns="4">
15854 <features>
15855 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15856 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15857 <column alignment="center" valignment="middle" leftline="true" width="0">
15858 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15859 <row topline="true">
15860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15861 \begin_inset Text
15862
15863 \begin_layout Standard
15864 verylongtablecellword
15865 \end_layout
15866
15867 \end_inset
15868 </cell>
15869 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15870 \begin_inset Text
15871
15872 \begin_layout Standard
15873 multiple lines multicolumn
15874 \end_layout
15875
15876 \end_inset
15877 </cell>
15878 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15879 \begin_inset Text
15880
15881 \begin_layout Standard
15882
15883 \end_layout
15884
15885 \end_inset
15886 </cell>
15887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15888 \begin_inset Text
15889
15890 \begin_layout Standard
15891 c
15892 \end_layout
15893
15894 \end_inset
15895 </cell>
15896 </row>
15897 <row topline="true">
15898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15899 \begin_inset Text
15900
15901 \begin_layout Standard
15902 d
15903 \end_layout
15904
15905 \end_inset
15906 </cell>
15907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15908 \begin_inset Text
15909
15910 \begin_layout Standard
15911 e
15912 \end_layout
15913
15914 \end_inset
15915 </cell>
15916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15917 \begin_inset Text
15918
15919 \begin_layout Standard
15920 f
15921 \end_layout
15922
15923 \end_inset
15924 </cell>
15925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15926 \begin_inset Text
15927
15928 \begin_layout Standard
15929 g
15930 \end_layout
15931
15932 \end_inset
15933 </cell>
15934 </row>
15935 <row topline="true" bottomline="true">
15936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15937 \begin_inset Text
15938
15939 \begin_layout Standard
15940 h
15941 \end_layout
15942
15943 \end_inset
15944 </cell>
15945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15946 \begin_inset Text
15947
15948 \begin_layout Standard
15949 i
15950 \end_layout
15951
15952 \end_inset
15953 </cell>
15954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15955 \begin_inset Text
15956
15957 \begin_layout Standard
15958 j
15959 \end_layout
15960
15961 \end_inset
15962 </cell>
15963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15964 \begin_inset Text
15965
15966 \begin_layout Standard
15967 k
15968 \end_layout
15969
15970 \end_inset
15971 </cell>
15972 </row>
15973 </lyxtabular>
15974
15975 \end_inset
15976
15977
15978 \end_layout
15979
15980 \end_inset
15981
15982
15983 \end_layout
15984
15985 \begin_layout Subsection
15986 Line Thickness
15987 \begin_inset LatexCommand label
15988 name "sub:Line-Thickness"
15989
15990 \end_inset
15991
15992
15993 \begin_inset LatexCommand index
15994 name "Table Customization ! Line Thickness"
15995
15996 \end_inset
15997
15998
15999 \end_layout
16000
16001 \begin_layout Standard
16002 The line thickness for all lines in a table can be adjusted with the length
16003  
16004 \series bold
16005
16006 \backslash
16007 arrayrulewidth
16008 \series default
16009 .
16010  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16011 pt, like in Table\InsetSpace ~
16012
16013 \begin_inset LatexCommand ref
16014 reference "tab:Table-with-1.5"
16015
16016 \end_inset
16017
16018 , insert the command
16019 \end_layout
16020
16021 \begin_layout Standard
16022
16023 \series bold
16024
16025 \backslash
16026 setlength{
16027 \backslash
16028 arrayrulewidth}{1.5pt}
16029 \end_layout
16030
16031 \begin_layout Standard
16032 in ERT before the table or table float.
16033  The changed thickness is valid for all following tables.
16034  To use the default value again, set 
16035 \series bold
16036
16037 \backslash
16038 arrayrulewidth
16039 \series default
16040  to 0.4\InsetSpace \thinspace{}
16041 pt in ERT behind the table or table float.
16042 \end_layout
16043
16044 \begin_layout Standard
16045 \begin_inset ERT
16046 status collapsed
16047
16048 \begin_layout Standard
16049
16050
16051 \backslash
16052 setlength{
16053 \backslash
16054 arrayrulewidth}{1.5pt}
16055 \end_layout
16056
16057 \end_inset
16058
16059
16060 \begin_inset Float table
16061 wide false
16062 sideways false
16063 status open
16064
16065 \begin_layout Standard
16066 \begin_inset Caption
16067
16068 \begin_layout Standard
16069 \begin_inset LatexCommand label
16070 name "tab:Table-with-1.5"
16071
16072 \end_inset
16073
16074 Table with 1.5\InsetSpace \thinspace{}
16075 pt thick lines
16076 \end_layout
16077
16078 \end_inset
16079
16080
16081 \end_layout
16082
16083 \begin_layout Standard
16084 \align center
16085 \begin_inset Tabular
16086 <lyxtabular version="3" rows="3" columns="3">
16087 <features>
16088 <column alignment="center" valignment="top" leftline="true" width="0">
16089 <column alignment="center" valignment="top" leftline="true" width="0">
16090 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16091 <row topline="true">
16092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16093 \begin_inset Text
16094
16095 \begin_layout Standard
16096 sd
16097 \end_layout
16098
16099 \end_inset
16100 </cell>
16101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16102 \begin_inset Text
16103
16104 \begin_layout Standard
16105
16106 \end_layout
16107
16108 \end_inset
16109 </cell>
16110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16111 \begin_inset Text
16112
16113 \begin_layout Standard
16114
16115 \end_layout
16116
16117 \end_inset
16118 </cell>
16119 </row>
16120 <row topline="true">
16121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16122 \begin_inset Text
16123
16124 \begin_layout Standard
16125
16126 \end_layout
16127
16128 \end_inset
16129 </cell>
16130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16131 \begin_inset Text
16132
16133 \begin_layout Standard
16134 sd
16135 \end_layout
16136
16137 \end_inset
16138 </cell>
16139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16140 \begin_inset Text
16141
16142 \begin_layout Standard
16143
16144 \end_layout
16145
16146 \end_inset
16147 </cell>
16148 </row>
16149 <row topline="true" bottomline="true">
16150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16151 \begin_inset Text
16152
16153 \begin_layout Standard
16154
16155 \end_layout
16156
16157 \end_inset
16158 </cell>
16159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16160 \begin_inset Text
16161
16162 \begin_layout Standard
16163
16164 \end_layout
16165
16166 \end_inset
16167 </cell>
16168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16169 \begin_inset Text
16170
16171 \begin_layout Standard
16172 sd
16173 \end_layout
16174
16175 \end_inset
16176 </cell>
16177 </row>
16178 </lyxtabular>
16179
16180 \end_inset
16181
16182
16183 \end_layout
16184
16185 \end_inset
16186
16187
16188 \begin_inset ERT
16189 status collapsed
16190
16191 \begin_layout Standard
16192
16193
16194 \backslash
16195 setlength{
16196 \backslash
16197 arrayrulewidth}{0.4pt}
16198 \end_layout
16199
16200 \end_inset
16201
16202
16203 \end_layout
16204
16205 \begin_layout Standard
16206 \begin_inset VSpace bigskip
16207 \end_inset
16208
16209 To set the line thickness to 1.5\InsetSpace \thinspace{}
16210 pt only for horizontal lines, like in Table\InsetSpace ~
16211
16212 \begin_inset LatexCommand ref
16213 reference "tab:Table-with-horizontal"
16214
16215 \end_inset
16216
16217 , insert these commands in ERT before the table or table float:
16218 \end_layout
16219
16220 \begin_layout Standard
16221
16222 \series bold
16223
16224 \backslash
16225 let
16226 \backslash
16227 myHline
16228 \backslash
16229 hline
16230 \newline
16231
16232 \backslash
16233 renewcommand{
16234 \backslash
16235 hline}
16236 \newline
16237  {
16238 \backslash
16239 noalign{
16240 \backslash
16241 global
16242 \backslash
16243 arrayrulewidth 1.5pt}
16244 \newline
16245   
16246 \backslash
16247 myHline
16248 \backslash
16249 noalign{
16250 \backslash
16251 global
16252 \backslash
16253 arrayrulewidth 0.4pt}}
16254 \end_layout
16255
16256 \begin_layout Standard
16257 To return to the default line thickness, insert this command in ERT behind
16258  the table or table float:
16259 \end_layout
16260
16261 \begin_layout Standard
16262
16263 \series bold
16264
16265 \backslash
16266 renewcommand{
16267 \backslash
16268 hline}{
16269 \backslash
16270 myHline}
16271 \end_layout
16272
16273 \begin_layout Standard
16274 \begin_inset ERT
16275 status collapsed
16276
16277 \begin_layout Standard
16278
16279
16280 \backslash
16281 let
16282 \backslash
16283 myHline
16284 \backslash
16285 hline
16286 \end_layout
16287
16288 \begin_layout Standard
16289
16290
16291 \backslash
16292 renewcommand{
16293 \backslash
16294 hline}
16295 \end_layout
16296
16297 \begin_layout Standard
16298
16299  {
16300 \backslash
16301 noalign{
16302 \backslash
16303 global
16304 \backslash
16305 arrayrulewidth 1.5pt}
16306 \end_layout
16307
16308 \begin_layout Standard
16309
16310   
16311 \backslash
16312 myHline
16313 \backslash
16314 noalign{
16315 \backslash
16316 global
16317 \backslash
16318 arrayrulewidth 0.4pt}}
16319 \end_layout
16320
16321 \end_inset
16322
16323
16324 \begin_inset Float table
16325 wide false
16326 sideways false
16327 status open
16328
16329 \begin_layout Standard
16330 \begin_inset Caption
16331
16332 \begin_layout Standard
16333 \begin_inset LatexCommand label
16334 name "tab:Table-with-horizontal"
16335
16336 \end_inset
16337
16338 Table with 1.5\InsetSpace \thinspace{}
16339 pt thick horizontal lines
16340 \end_layout
16341
16342 \end_inset
16343
16344
16345 \end_layout
16346
16347 \begin_layout Standard
16348 \align center
16349 \begin_inset Tabular
16350 <lyxtabular version="3" rows="3" columns="3">
16351 <features>
16352 <column alignment="center" valignment="top" leftline="true" width="0">
16353 <column alignment="center" valignment="top" leftline="true" width="0">
16354 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16355 <row topline="true">
16356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16357 \begin_inset Text
16358
16359 \begin_layout Standard
16360 sd
16361 \end_layout
16362
16363 \end_inset
16364 </cell>
16365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16366 \begin_inset Text
16367
16368 \begin_layout Standard
16369
16370 \end_layout
16371
16372 \end_inset
16373 </cell>
16374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16375 \begin_inset Text
16376
16377 \begin_layout Standard
16378
16379 \end_layout
16380
16381 \end_inset
16382 </cell>
16383 </row>
16384 <row topline="true">
16385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16386 \begin_inset Text
16387
16388 \begin_layout Standard
16389
16390 \end_layout
16391
16392 \end_inset
16393 </cell>
16394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16395 \begin_inset Text
16396
16397 \begin_layout Standard
16398 sd
16399 \end_layout
16400
16401 \end_inset
16402 </cell>
16403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16404 \begin_inset Text
16405
16406 \begin_layout Standard
16407
16408 \end_layout
16409
16410 \end_inset
16411 </cell>
16412 </row>
16413 <row topline="true" bottomline="true">
16414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16415 \begin_inset Text
16416
16417 \begin_layout Standard
16418
16419 \end_layout
16420
16421 \end_inset
16422 </cell>
16423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16424 \begin_inset Text
16425
16426 \begin_layout Standard
16427
16428 \end_layout
16429
16430 \end_inset
16431 </cell>
16432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16433 \begin_inset Text
16434
16435 \begin_layout Standard
16436 sd
16437 \end_layout
16438
16439 \end_inset
16440 </cell>
16441 </row>
16442 </lyxtabular>
16443
16444 \end_inset
16445
16446
16447 \end_layout
16448
16449 \end_inset
16450
16451
16452 \begin_inset ERT
16453 status collapsed
16454
16455 \begin_layout Standard
16456
16457
16458 \backslash
16459 renewcommand{
16460 \backslash
16461 hline}{
16462 \backslash
16463 myHline}
16464 \end_layout
16465
16466 \end_inset
16467
16468
16469 \end_layout
16470
16471 \begin_layout Standard
16472 \begin_inset VSpace bigskip
16473 \end_inset
16474
16475 To set the line thickness to 1.5\InsetSpace \thinspace{}
16476 pt only for vertical lines, create the following
16477  column format in the document preamble, according to the description in
16478  section\InsetSpace ~
16479
16480 \begin_inset LatexCommand ref
16481 reference "sub:Customized-Format"
16482
16483 \end_inset
16484
16485 :
16486 \end_layout
16487
16488 \begin_layout Standard
16489
16490 \series bold
16491
16492 \backslash
16493 newcolumntype{V}{!{
16494 \backslash
16495 vrule width 1.5pt}}
16496 \end_layout
16497
16498 \begin_layout Standard
16499 For Table\InsetSpace ~
16500
16501 \begin_inset LatexCommand ref
16502 reference "tab:Table-with-vertical"
16503
16504 \end_inset
16505
16506  the LaTeX-argument
16507 \end_layout
16508
16509 \begin_layout Standard
16510
16511 \series bold
16512 VcV
16513 \end_layout
16514
16515 \begin_layout Standard
16516 was used for the last column and
16517 \end_layout
16518
16519 \begin_layout Standard
16520
16521 \series bold
16522 Vc
16523 \end_layout
16524
16525 \begin_layout Standard
16526 for the other columns.
16527 \end_layout
16528
16529 \begin_layout Standard
16530 \begin_inset Float table
16531 wide false
16532 sideways false
16533 status open
16534
16535 \begin_layout Standard
16536 \begin_inset Caption
16537
16538 \begin_layout Standard
16539 \begin_inset LatexCommand label
16540 name "tab:Table-with-vertical"
16541
16542 \end_inset
16543
16544 Table with 1.5\InsetSpace \thinspace{}
16545 pt thick vertical lines
16546 \end_layout
16547
16548 \end_inset
16549
16550
16551 \end_layout
16552
16553 \begin_layout Standard
16554 \align center
16555 \begin_inset Tabular
16556 <lyxtabular version="3" rows="3" columns="3">
16557 <features>
16558 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16559 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16560 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16561 <row topline="true">
16562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16563 \begin_inset Text
16564
16565 \begin_layout Standard
16566 sd
16567 \end_layout
16568
16569 \end_inset
16570 </cell>
16571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16572 \begin_inset Text
16573
16574 \begin_layout Standard
16575
16576 \end_layout
16577
16578 \end_inset
16579 </cell>
16580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16581 \begin_inset Text
16582
16583 \begin_layout Standard
16584
16585 \end_layout
16586
16587 \end_inset
16588 </cell>
16589 </row>
16590 <row topline="true">
16591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16592 \begin_inset Text
16593
16594 \begin_layout Standard
16595
16596 \end_layout
16597
16598 \end_inset
16599 </cell>
16600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16601 \begin_inset Text
16602
16603 \begin_layout Standard
16604 sd
16605 \end_layout
16606
16607 \end_inset
16608 </cell>
16609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16610 \begin_inset Text
16611
16612 \begin_layout Standard
16613
16614 \end_layout
16615
16616 \end_inset
16617 </cell>
16618 </row>
16619 <row topline="true" bottomline="true">
16620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16621 \begin_inset Text
16622
16623 \begin_layout Standard
16624
16625 \end_layout
16626
16627 \end_inset
16628 </cell>
16629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16630 \begin_inset Text
16631
16632 \begin_layout Standard
16633
16634 \end_layout
16635
16636 \end_inset
16637 </cell>
16638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16639 \begin_inset Text
16640
16641 \begin_layout Standard
16642 sd
16643 \end_layout
16644
16645 \end_inset
16646 </cell>
16647 </row>
16648 </lyxtabular>
16649
16650 \end_inset
16651
16652
16653 \end_layout
16654
16655 \end_inset
16656
16657
16658 \end_layout
16659
16660 \begin_layout Subsection
16661 Dashed Lines
16662 \begin_inset LatexCommand index
16663 name "Table Customization ! Dashed Lines"
16664
16665 \end_inset
16666
16667
16668 \end_layout
16669
16670 \begin_layout Standard
16671 \begin_inset ERT
16672 status collapsed
16673
16674 \begin_layout Standard
16675
16676
16677 \backslash
16678 ifarydshln
16679 \end_layout
16680
16681 \end_inset
16682
16683
16684 \begin_inset Note Note
16685 status open
16686
16687 \begin_layout Standard
16688 The following section will only be displayed when you have the LaTeX-package
16689  
16690 \series bold
16691 arydshln
16692 \series default
16693  is installed.
16694 \end_layout
16695
16696 \end_inset
16697
16698
16699 \end_layout
16700
16701 \begin_layout Standard
16702 \begin_inset Float table
16703 placement H
16704 wide false
16705 sideways false
16706 status open
16707
16708 \begin_layout Standard
16709 \begin_inset Caption
16710
16711 \begin_layout Standard
16712 \begin_inset LatexCommand label
16713 name "tab:Table-with-dashed"
16714
16715 \end_inset
16716
16717 Table with dashed lines
16718 \end_layout
16719
16720 \end_inset
16721
16722
16723 \end_layout
16724
16725 \begin_layout Standard
16726 \align center
16727 \begin_inset Tabular
16728 <lyxtabular version="3" rows="5" columns="5">
16729 <features>
16730 <column alignment="center" valignment="top" leftline="true" width="0">
16731 <column alignment="center" valignment="top" leftline="true" width="0">
16732 <column alignment="center" valignment="top" width="0" special=":c">
16733 <column alignment="center" valignment="top" leftline="true" width="0">
16734 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16735 <row topline="true" bottomline="true">
16736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16737 \begin_inset Text
16738
16739 \begin_layout Standard
16740 a
16741 \end_layout
16742
16743 \end_inset
16744 </cell>
16745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16746 \begin_inset Text
16747
16748 \begin_layout Standard
16749 b
16750 \end_layout
16751
16752 \end_inset
16753 </cell>
16754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16755 \begin_inset Text
16756
16757 \begin_layout Standard
16758 c
16759 \end_layout
16760
16761 \end_inset
16762 </cell>
16763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16764 \begin_inset Text
16765
16766 \begin_layout Standard
16767 d
16768 \end_layout
16769
16770 \end_inset
16771 </cell>
16772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16773 \begin_inset Text
16774
16775 \begin_layout Standard
16776 e
16777 \end_layout
16778
16779 \end_inset
16780 </cell>
16781 </row>
16782 <row topline="true">
16783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16784 \begin_inset Text
16785
16786 \begin_layout Standard
16787 f
16788 \end_layout
16789
16790 \end_inset
16791 </cell>
16792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16793 \begin_inset Text
16794
16795 \begin_layout Standard
16796 g
16797 \end_layout
16798
16799 \end_inset
16800 </cell>
16801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16802 \begin_inset Text
16803
16804 \begin_layout Standard
16805 h
16806 \end_layout
16807
16808 \end_inset
16809 </cell>
16810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16811 \begin_inset Text
16812
16813 \begin_layout Standard
16814 i
16815 \end_layout
16816
16817 \end_inset
16818 </cell>
16819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16820 \begin_inset Text
16821
16822 \begin_layout Standard
16823 j
16824 \end_layout
16825
16826 \end_inset
16827 </cell>
16828 </row>
16829 <row>
16830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16831 \begin_inset Text
16832
16833 \begin_layout Standard
16834 \begin_inset ERT
16835 status collapsed
16836
16837 \begin_layout Standard
16838
16839
16840 \backslash
16841 hdashline 
16842 \end_layout
16843
16844 \end_inset
16845
16846 k
16847 \end_layout
16848
16849 \end_inset
16850 </cell>
16851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16852 \begin_inset Text
16853
16854 \begin_layout Standard
16855 l
16856 \end_layout
16857
16858 \end_inset
16859 </cell>
16860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16861 \begin_inset Text
16862
16863 \begin_layout Standard
16864 m
16865 \end_layout
16866
16867 \end_inset
16868 </cell>
16869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16870 \begin_inset Text
16871
16872 \begin_layout Standard
16873 n
16874 \end_layout
16875
16876 \end_inset
16877 </cell>
16878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16879 \begin_inset Text
16880
16881 \begin_layout Standard
16882 o
16883 \end_layout
16884
16885 \end_inset
16886 </cell>
16887 </row>
16888 <row topline="true">
16889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16890 \begin_inset Text
16891
16892 \begin_layout Standard
16893 \begin_inset ERT
16894 status collapsed
16895
16896 \begin_layout Standard
16897
16898
16899 \backslash
16900 cdashline{4-5}
16901 \end_layout
16902
16903 \end_inset
16904
16905 p
16906 \end_layout
16907
16908 \end_inset
16909 </cell>
16910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16911 \begin_inset Text
16912
16913 \begin_layout Standard
16914 q
16915 \end_layout
16916
16917 \end_inset
16918 </cell>
16919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16920 \begin_inset Text
16921
16922 \begin_layout Standard
16923 r
16924 \end_layout
16925
16926 \end_inset
16927 </cell>
16928 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16929 \begin_inset Text
16930
16931 \begin_layout Standard
16932 s
16933 \end_layout
16934
16935 \end_inset
16936 </cell>
16937 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16938 \begin_inset Text
16939
16940 \begin_layout Standard
16941
16942 \end_layout
16943
16944 \end_inset
16945 </cell>
16946 </row>
16947 <row topline="true" bottomline="true">
16948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16949 \begin_inset Text
16950
16951 \begin_layout Standard
16952 t
16953 \end_layout
16954
16955 \end_inset
16956 </cell>
16957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16958 \begin_inset Text
16959
16960 \begin_layout Standard
16961 u
16962 \end_layout
16963
16964 \end_inset
16965 </cell>
16966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16967 \begin_inset Text
16968
16969 \begin_layout Standard
16970 v
16971 \end_layout
16972
16973 \end_inset
16974 </cell>
16975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16976 \begin_inset Text
16977
16978 \begin_layout Standard
16979 w
16980 \end_layout
16981
16982 \end_inset
16983 </cell>
16984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16985 \begin_inset Text
16986
16987 \begin_layout Standard
16988 x
16989 \end_layout
16990
16991 \end_inset
16992 </cell>
16993 </row>
16994 </lyxtabular>
16995
16996 \end_inset
16997
16998
16999 \end_layout
17000
17001 \end_inset
17002
17003
17004 \end_layout
17005
17006 \begin_layout Standard
17007 LyX doesn't natively support dashed lines, so you have to use ERT.
17008  As prerequisite the LaTeX-package 
17009 \series bold
17010 arydshln
17011 \series default
17012
17013 \begin_inset LatexCommand index
17014 name "LaTeX-packages ! arydshln"
17015
17016 \end_inset
17017
17018  must be loaded in the document preamble with the command
17019 \end_layout
17020
17021 \begin_layout Standard
17022
17023 \series bold
17024
17025 \backslash
17026 usepackage{arydshln}
17027 \end_layout
17028
17029 \begin_layout Standard
17030 To make a vertical line dashed, enter the colon 
17031 \begin_inset Quotes eld
17032 \end_inset
17033
17034 :
17035 \begin_inset Quotes erd
17036 \end_inset
17037
17038  together with the character for the horizontal alignment as LaTeX-argument
17039  in the table cell dialog.
17040 \end_layout
17041
17042 \begin_layout Standard
17043 For a horizontal dashed line add the command
17044 \end_layout
17045
17046 \begin_layout Standard
17047
17048 \series bold
17049
17050 \backslash
17051 hdashline
17052 \end_layout
17053
17054 \begin_layout Standard
17055 in ERT as first element of the first cell in the table row.
17056 \end_layout
17057
17058 \begin_layout Standard
17059 For dashed multicolumn lines use the command
17060 \end_layout
17061
17062 \begin_layout Standard
17063
17064 \series bold
17065
17066 \backslash
17067 cdashline{line number
17068 \series default
17069 }
17070 \end_layout
17071
17072 \begin_layout Standard
17073 in ERT as first element of the first cell in the table row.
17074  If you have for example a multicolumn spanning over columns 2 to 4 and
17075  you want to have a dashed line above, add the command
17076 \end_layout
17077
17078 \begin_layout Standard
17079
17080 \series bold
17081
17082 \backslash
17083 cdashline{2-4}
17084 \end_layout
17085
17086 \begin_layout Standard
17087 as first element of the first cell in the row of the multicolumn.
17088 \end_layout
17089
17090 \begin_layout Standard
17091 \begin_inset VSpace bigskip
17092 \end_inset
17093
17094
17095 \end_layout
17096
17097 \begin_layout Standard
17098 Table\InsetSpace ~
17099
17100 \begin_inset LatexCommand ref
17101 reference "tab:Table-with-dashed"
17102
17103 \end_inset
17104
17105  was created using 
17106 \begin_inset Quotes eld
17107 \end_inset
17108
17109
17110 \series bold
17111 :c
17112 \series default
17113
17114 \begin_inset Quotes erd
17115 \end_inset
17116
17117  as LaTeX-argument of the third column.
17118  The ERT command 
17119 \series bold
17120
17121 \backslash
17122 hdashline
17123 \series default
17124  was inserted to the first cell of the third row and the the ERT command
17125 \newline
17126
17127  
17128 \series bold
17129
17130 \backslash
17131 cdashline{4-5}
17132 \series default
17133  was inserted to the first cell of the fourth row.
17134 \end_layout
17135
17136 \begin_layout Standard
17137 \begin_inset Note Greyedout
17138 status open
17139
17140 \begin_layout Standard
17141
17142 \series bold
17143 Note:
17144 \series default
17145  The used LaTeX-package 
17146 \series bold
17147 arydshln
17148 \series default
17149  is apparently not compatible with the LaTeX-package 
17150 \series bold
17151 colortbl
17152 \series default
17153
17154 \begin_inset LatexCommand index
17155 name "LaTeX-packages ! colortbl"
17156
17157 \end_inset
17158
17159  that is used for colored tables in section\InsetSpace ~
17160
17161 \begin_inset LatexCommand ref
17162 reference "sec:Colored-Tables"
17163
17164 \end_inset
17165
17166 .
17167  That means colored tables cannot have dashed lines.
17168 \end_layout
17169
17170 \end_inset
17171
17172
17173 \end_layout
17174
17175 \begin_layout Standard
17176 \begin_inset ERT
17177 status collapsed
17178
17179 \begin_layout Standard
17180
17181
17182 \backslash
17183 else
17184 \end_layout
17185
17186 \end_inset
17187
17188
17189 \begin_inset Note Note
17190 status open
17191
17192 \begin_layout Standard
17193 The following will be displayed when the LaTeX-package 
17194 \series bold
17195 arydshln
17196 \series default
17197  is not installed:
17198 \end_layout
17199
17200 \end_inset
17201
17202
17203 \end_layout
17204
17205 \begin_layout Standard
17206 You need to install the package 
17207 \series bold
17208 arydshln
17209 \series default
17210  to see the contents of this section in the output.
17211 \end_layout
17212
17213 \begin_layout Standard
17214 \begin_inset ERT
17215 status collapsed
17216
17217 \begin_layout Standard
17218
17219
17220 \backslash
17221 fi
17222 \end_layout
17223
17224 \end_inset
17225
17226
17227 \end_layout
17228
17229 \begin_layout Chapter
17230 Floats
17231 \begin_inset LatexCommand index
17232 name "Floats"
17233
17234 \end_inset
17235
17236
17237 \begin_inset LatexCommand label
17238 name "cha:Floats"
17239
17240 \end_inset
17241
17242
17243 \end_layout
17244
17245 \begin_layout Section
17246 Introduction
17247 \begin_inset LatexCommand label
17248 name "sec:FloatIntroduction"
17249
17250 \end_inset
17251
17252
17253 \begin_inset LatexCommand index
17254 name "Floats ! Introduction"
17255
17256 \end_inset
17257
17258
17259 \end_layout
17260
17261 \begin_layout Standard
17262 A float is a block of text associated with some sort of label, which doesn't
17263  have a fixed location.
17264  It can 
17265 \begin_inset Quotes eld
17266 \end_inset
17267
17268 float
17269 \begin_inset Quotes erd
17270 \end_inset
17271
17272  forward or backward a page or two, to wherever it fits best.
17273  
17274 \family sans
17275 Footnotes
17276 \family default
17277  and 
17278 \family sans
17279 Margin\InsetSpace ~
17280 Notes
17281 \family default
17282  are also floats, because they can float to the next page when there are
17283  too many notes at the page.
17284 \end_layout
17285
17286 \begin_layout Standard
17287 Floats allow a high quality layout.
17288  Images and tables can evenly be spread to the pages to avoid white space
17289  and pages without text.
17290  As the floating often destroys the context between the text and the image/table
17291 , every float can be referenced in the text.
17292  Floats are therefore numbered.
17293  Referencing is described in section\InsetSpace ~
17294
17295 \begin_inset LatexCommand ref
17296 reference "sec:Referencing-Floats"
17297
17298 \end_inset
17299
17300 .
17301 \end_layout
17302
17303 \begin_layout Standard
17304 To insert a float, use the menu 
17305 \family sans
17306 Insert\SpecialChar \menuseparator
17307 Floats
17308 \family default
17309 .
17310  This inserts a box with a label in the 
17311 \family sans
17312 Caption
17313 \family default
17314  environment
17315 \begin_inset Foot
17316 status collapsed
17317
17318 \begin_layout Standard
17319 The 
17320 \family sans
17321 Caption
17322 \family default
17323  environment is described in LyX's 
17324 \emph on
17325 Userguide
17326 \emph default
17327 .
17328 \end_layout
17329
17330 \end_inset
17331
17332  into your document.
17333  Every label ends with the character 
17334 \begin_inset Quotes eld
17335 \end_inset
17336
17337 #
17338 \begin_inset Quotes erd
17339 \end_inset
17340
17341  as placeholder for the float number in the output.
17342  The label will automatically be translated to the document language in
17343  the output.
17344  Behind the label you can insert the caption text.
17345  The image or table is inserted above or below the caption in a separate
17346  paragraph within the float.
17347  More about the caption placement is described in section\InsetSpace ~
17348
17349 \begin_inset LatexCommand ref
17350 reference "sec:Caption-Placement"
17351
17352 \end_inset
17353
17354 .
17355  To keep your LyX-document readable, you can open and close the float box
17356  by left-clicking on the box label.
17357  A closed float box looks like this: 
17358 \begin_inset Graphics
17359         filename clipart/floatQt4.png
17360         scale 70
17361
17362 \end_inset
17363
17364  -- a gray button with a red label.
17365 \end_layout
17366
17367 \begin_layout Standard
17368 It is recommended to insert floats as a separate paragraph to avoid possible
17369  LaTeX-errors that can occur when the surrounding text is specially formatted.
17370 \end_layout
17371
17372 \begin_layout Standard
17373 Existing figures or tables can be put into a float by marking them and then
17374  pressing the corresponding toolbar button for a new float.
17375 \end_layout
17376
17377 \begin_layout Section
17378 Float Types
17379 \end_layout
17380
17381 \begin_layout Standard
17382 Besides figure and table floats that are described in section\InsetSpace ~
17383
17384 \begin_inset LatexCommand ref
17385 reference "sec:Figure-Floats"
17386
17387 \end_inset
17388
17389  and 
17390 \begin_inset LatexCommand ref
17391 reference "sec:Table-Floats"
17392
17393 \end_inset
17394
17395 , respectively, LyX offers the float types 
17396 \series bold
17397 Algorithm
17398 \series default
17399  and 
17400 \series bold
17401 Text\InsetSpace ~
17402 Wrap\InsetSpace ~
17403 Float
17404 \series default
17405 .
17406 \end_layout
17407
17408 \begin_layout Subsection
17409 Algorithm Floats
17410 \begin_inset LatexCommand index
17411 name "Floats ! Algorithm Floats"
17412
17413 \end_inset
17414
17415
17416 \end_layout
17417
17418 \begin_layout Standard
17419 \begin_inset Float algorithm
17420 placement h
17421 wide false
17422 sideways false
17423 status open
17424
17425 \begin_layout Standard
17426 \begin_inset Caption
17427
17428 \begin_layout Standard
17429 \begin_inset LatexCommand label
17430 name "alg:Example-Algorithm-float"
17431
17432 \end_inset
17433
17434 Example Algorithm float
17435 \end_layout
17436
17437 \end_inset
17438
17439
17440 \end_layout
17441
17442 \begin_layout LyX-Code
17443 for I in 1..N loop
17444 \newline
17445  Sum:= Sum + A(I); /*senseless comment*/
17446 \newline
17447 end loop
17448 \begin_inset VSpace -4mm
17449 \end_inset
17450
17451
17452 \end_layout
17453
17454 \end_inset
17455
17456
17457 \end_layout
17458
17459 \begin_layout Standard
17460 This float type is inserted with the menu 
17461 \family sans
17462 Insert\SpecialChar \menuseparator
17463 Floats\SpecialChar \menuseparator
17464 Algorithm
17465 \family default
17466 .
17467  It is used for program codes and descriptions of algorithms.
17468  A possible environment for algorithms is the 
17469 \family sans
17470 LyX-Code
17471 \family default
17472 , described in LyX's 
17473 \emph on
17474 Userguide
17475 \emph default
17476 .
17477  Algorithm\InsetSpace ~
17478
17479 \begin_inset LatexCommand ref
17480 reference "alg:Example-Algorithm-float"
17481
17482 \end_inset
17483
17484  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17485 mm vertical space was added
17486  at the end of the float to have the bottom rule exactly below the last
17487  text line.
17488 \end_layout
17489
17490 \begin_layout Standard
17491 The float label is not automatically translated into the document language.
17492  If your document is not in English, you have to do this manually by adding
17493  the following line to the document preamble
17494 \series bold
17495 :
17496 \end_layout
17497
17498 \begin_layout Standard
17499
17500 \series bold
17501
17502 \backslash
17503 floatname{algorithm}{your\InsetSpace ~
17504 name}
17505 \end_layout
17506
17507 \begin_layout Standard
17508
17509 \family sans
17510 your\InsetSpace ~
17511 name
17512 \family default
17513  is the word 
17514 \begin_inset Quotes eld
17515 \end_inset
17516
17517
17518 \emph on
17519 algorithm
17520 \emph default
17521
17522 \begin_inset Quotes erd
17523 \end_inset
17524
17525  in your language.
17526 \end_layout
17527
17528 \begin_layout Description
17529
17530 \series bold
17531 Note:
17532 \series default
17533  When the LaTeX-package 
17534 \series bold
17535 hyperref
17536 \series default
17537
17538 \begin_inset LatexCommand index
17539 name "LaTeX-packages ! hyperref"
17540
17541 \end_inset
17542
17543  is used to link cross-references to floats in the PDF-output, it must be
17544  loaded in the document preamble before the definition of floats to be able
17545  to reference floats.
17546  As LyX sets the float definition for algorithm floats automatically before
17547  the user editable part of the document preamble, you need to insert the
17548  following preamble lines 
17549 \emph on
17550 after
17551 \emph default
17552  the loading command of 
17553 \series bold
17554 hyperref
17555 \series default
17556 :
17557 \series bold
17558
17559 \begin_inset VSpace defskip
17560 \end_inset
17561
17562
17563 \newline
17564
17565 \backslash
17566 newfloat{Xalgorithm}{tbp}{loa}
17567 \newline
17568
17569 \backslash
17570 floatname{Xalgorithm}{your\InsetSpace ~
17571 name}
17572 \newline
17573
17574 \backslash
17575 newcommand{
17576 \backslash
17577 theHalgorithm}{
17578 \backslash
17579 theHXalgorithm}
17580 \newline
17581
17582 \backslash
17583 renewenvironment{algorithm}[1][tbp]
17584 \newline
17585
17586 \begin_inset ERT
17587 status collapsed
17588
17589 \begin_layout Standard
17590
17591
17592 \backslash
17593 hphantom{ }
17594 \end_layout
17595
17596 \end_inset
17597
17598 {
17599 \backslash
17600 begin{Xalgorithm}[#1]}{
17601 \backslash
17602 end{Xalgorithm}}
17603 \begin_inset VSpace defskip
17604 \end_inset
17605
17606
17607 \series default
17608
17609 \newline
17610 Where 
17611 \family sans
17612 your\InsetSpace ~
17613 name
17614 \family default
17615  is the word 
17616 \begin_inset Quotes eld
17617 \end_inset
17618
17619
17620 \emph on
17621 algorithm
17622 \emph default
17623
17624 \begin_inset Quotes erd
17625 \end_inset
17626
17627  in your language.
17628 \end_layout
17629
17630 \begin_layout Standard
17631 Algorithm floats are not by default numbered in the scheme 
17632 \begin_inset Quotes eld
17633 \end_inset
17634
17635 chapter.algorithm
17636 \begin_inset Quotes erd
17637 \end_inset
17638
17639  like it is the case for table and figure floats in many document-classes.
17640  To number algorithm floats in the same scheme, add this command to your
17641  document preamble:
17642 \end_layout
17643
17644 \begin_layout Standard
17645
17646 \series bold
17647
17648 \backslash
17649 numberwithin{algorithm}{chapter}
17650 \end_layout
17651
17652 \begin_layout Standard
17653 If you use the LaTeX-package 
17654 \series bold
17655 hyperref
17656 \series default
17657 , add this line instead 
17658 \emph on
17659 after
17660 \emph default
17661  the definition of 
17662 \family sans
17663 Xalgorithm
17664 \family default
17665  (the commands from above) to the preamble:
17666 \end_layout
17667
17668 \begin_layout Standard
17669
17670 \series bold
17671
17672 \backslash
17673 numberwithin{Xalgorithm}{chapter}
17674 \end_layout
17675
17676 \begin_layout Standard
17677 To be able to use the command 
17678 \series bold
17679
17680 \backslash
17681 numberwithin
17682 \series default
17683 , set in the tab 
17684 \family sans
17685 Math\InsetSpace ~
17686 Options
17687 \family default
17688  in the document settings the option 
17689 \family sans
17690 Use\InsetSpace ~
17691 AMS\InsetSpace ~
17692 math\InsetSpace ~
17693 package
17694 \family default
17695 .
17696 \end_layout
17697
17698 \begin_layout Subsection
17699 Text Wrap Floats
17700 \begin_inset LatexCommand index
17701 name "Floats ! Text Wrap Floats"
17702
17703 \end_inset
17704
17705
17706 \begin_inset LatexCommand label
17707 name "sub:floatflt-wrap-float"
17708
17709 \end_inset
17710
17711
17712 \end_layout
17713
17714 \begin_layout Standard
17715 This float type is used if you want to 
17716 \begin_inset Quotes eld
17717 \end_inset
17718
17719 wrap
17720 \begin_inset Quotes erd
17721 \end_inset
17722
17723  text around a figure so that it only occupies some fraction of the column
17724  width.
17725  It can be inserted using the menu 
17726 \begin_inset Wrap figure
17727 placement l
17728 width "40col%"
17729 status open
17730
17731 \begin_layout Standard
17732 \begin_inset Graphics
17733         filename clipart/mobius.eps
17734         display color
17735         width 40col%
17736         rotateOrigin center
17737
17738 \end_inset
17739
17740
17741 \end_layout
17742
17743 \begin_layout Standard
17744 \begin_inset Caption
17745
17746 \begin_layout Standard
17747 \begin_inset LatexCommand label
17748 name "fig:This-is-a"
17749
17750 \end_inset
17751
17752 This is a wrapped figure, and this is the brilliant caption that describes
17753  it.
17754 \begin_inset VSpace medskip
17755 \end_inset
17756
17757
17758 \end_layout
17759
17760 \end_inset
17761
17762
17763 \end_layout
17764
17765 \end_inset
17766
17767  
17768 \family sans
17769 Insert\SpecialChar \menuseparator
17770 Floats\SpecialChar \menuseparator
17771 Text\InsetSpace ~
17772 Wrap\InsetSpace ~
17773 Float
17774 \family default
17775  if the LaTeX-package 
17776 \series bold
17777 floatflt
17778 \series default
17779
17780 \begin_inset LatexCommand index
17781 name "LaTeX-packages ! floatflt"
17782
17783 \end_inset
17784
17785  is installed.
17786 \begin_inset Foot
17787 status collapsed
17788
17789 \begin_layout Standard
17790 Installing a LaTeX-package is explained it in the 
17791 \emph on
17792 LaTeX\InsetSpace ~
17793 Configuration
17794 \emph default
17795  manual.
17796 \end_layout
17797
17798 \end_inset
17799
17800  The width and placement of the float is adjusted by right-clicking on the
17801  float box.
17802  Figure\InsetSpace ~
17803
17804 \begin_inset LatexCommand ref
17805 reference "fig:This-is-a"
17806
17807 \end_inset
17808
17809  is an example text wrap float with a width of 40
17810 \begin_inset Formula $\,$
17811 \end_inset
17812
17813 col%.
17814 \begin_inset Foot
17815 status collapsed
17816
17817 \begin_layout Standard
17818 Available units are explained in 
17819 \begin_inset LatexCommand ref
17820 reference "cha:Units-available-in"
17821
17822 \end_inset
17823
17824 .
17825 \end_layout
17826
17827 \end_inset
17828
17829  Some space was added under the caption to separate it better from the surroundi
17830 ng text.
17831 \end_layout
17832
17833 \begin_layout Standard
17834 The LaTeX-package 
17835 \series bold
17836 floatflt
17837 \series default
17838  also supports table wrap floats, but they are not yet supported by LyX.
17839  If you need this, read the documentation of 
17840 \series bold
17841 floatflt
17842 \series default
17843  
17844 \begin_inset LatexCommand cite
17845 key "floatflt"
17846
17847 \end_inset
17848
17849 .
17850 \end_layout
17851
17852 \begin_layout Standard
17853 \begin_inset Note Greyedout
17854 status open
17855
17856 \begin_layout Standard
17857
17858 \series bold
17859 Note:
17860 \series default
17861  Text\InsetSpace ~
17862 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17863 g.\InsetSpace ~
17864 having a figure too close to the bottom
17865  of the page can mess things up in the way that the float doesn't appear
17866  in the output or that it is placed over some other text.
17867 \begin_inset Foot
17868 status open
17869
17870 \begin_layout Standard
17871 The better solution is to use the LaTeX-package 
17872 \series bold
17873 wrapf\SpecialChar \textcompwordmark{}
17874 ig
17875 \series default
17876
17877 \begin_inset LatexCommand index
17878 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17879
17880 \end_inset
17881
17882  instead of 
17883 \series bold
17884 floatf\SpecialChar \textcompwordmark{}
17885 lt
17886 \series default
17887 , but it is currently not supported by LyX.
17888 \end_layout
17889
17890 \end_inset
17891
17892
17893 \end_layout
17894
17895 \end_inset
17896
17897
17898 \end_layout
17899
17900 \begin_layout Standard
17901 In general:
17902 \end_layout
17903
17904 \begin_layout Itemize
17905 Wrap floats should not be placed in paragraphs that run over a page break.
17906  That means that wrap floats should better be inserted to the exact place
17907  when the document is nearly ready and you are able to estimate where page
17908  breaks will appear.
17909 \end_layout
17910
17911 \begin_layout Itemize
17912 Wrap floats should either be placed in an own paragraph before the paragraph
17913  where they should wrap into or within a paragraph.
17914 \end_layout
17915
17916 \begin_layout Itemize
17917 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17918  there is a text paragraph between them as separator.
17919 \end_layout
17920
17921 \begin_layout Itemize
17922 Wrap floats are not allowed in section headings or tables.
17923 \end_layout
17924
17925 \begin_layout Section
17926 Referencing Floats
17927 \begin_inset LatexCommand label
17928 name "sec:Referencing-Floats"
17929
17930 \end_inset
17931
17932
17933 \begin_inset LatexCommand index
17934 name "Floats ! References"
17935
17936 \end_inset
17937
17938
17939 \begin_inset LatexCommand index
17940 name "References"
17941
17942 \end_inset
17943
17944
17945 \end_layout
17946
17947 \begin_layout Standard
17948 To reference a float, insert a label into its caption using the menu 
17949 \family sans
17950 Insert\SpecialChar \menuseparator
17951 Label
17952 \family default
17953  or the toolbar button 
17954 \begin_inset Graphics
17955         filename ../images/label-insert.xpm
17956         scale 85
17957
17958 \end_inset
17959
17960 .
17961  A grey label box like this one: 
17962 \begin_inset Graphics
17963         filename clipart/labelQt4.png
17964         scale 85
17965
17966 \end_inset
17967
17968  will be inserted and the label window pops up asking for the label text.
17969  LyX offers as text the first words of the caption with a prefix.
17970  The prefix depends on the float type, e.\InsetSpace \thinspace{}
17971 g.\InsetSpace ~
17972 for figure floats the prefix will
17973  be "
17974 \family sans
17975 fig:
17976 \family default
17977 ".
17978 \end_layout
17979
17980 \begin_layout Standard
17981 The label is used as anchor and name for the reference.
17982  You can refer to the label using the menu 
17983 \family sans
17984 Insert\SpecialChar \menuseparator
17985 Cross-reference
17986 \family default
17987  or the toolbar button 
17988 \begin_inset Graphics
17989         filename ../images/dialog-show-new-inset_ref.xpm
17990         scale 85
17991
17992 \end_inset
17993
17994 .
17995  A grey cross-reference box like this one: 
17996 \begin_inset Graphics
17997         filename clipart/referenceQt4.png
17998         scale 85
17999
18000 \end_inset
18001
18002  will be inserted and the cross-reference window appear showing all labels
18003  of the document.
18004  If you have multiple LyX-documents opened, choose the one you are working
18005  on from the drop-list at the top of the dialog.
18006  You can now sort the labels alphabetically and then choose one.
18007  At the position of the cross-reference box the float number will appear
18008  in the output.
18009 \end_layout
18010
18011 \begin_layout Standard
18012 It is recommended to use a protected space between the cross-reference name
18013  and its number to avoid line breaks between them.
18014  If a cross-reference refers to a non-existing label, you will see two question
18015  marks in the output instead of the reference.
18016 \end_layout
18017
18018 \begin_layout Standard
18019 You can change labels at any time by clicking on the label box.
18020  References to the changed label will automatically change its link to the
18021  new label text, so that you don't need to take care about this.
18022 \end_layout
18023
18024 \begin_layout Standard
18025 The button 
18026 \family sans
18027 Go\InsetSpace ~
18028 to\InsetSpace ~
18029 Label
18030 \family default
18031  in the cross-reference window sets the cursor before the referred label.
18032  The button text changes then to Go\InsetSpace ~
18033 Back and you can use it to set the cursor
18034  back to the cross-reference.
18035  Right-clicking on a cross-reference box also sets the cursor before the
18036  referenced label but without a possibility to go back.
18037 \end_layout
18038
18039 \begin_layout Subsection
18040 Cross-Reference Formats
18041 \begin_inset LatexCommand label
18042 name "sub:Cross-Reference-Formats"
18043
18044 \end_inset
18045
18046
18047 \begin_inset LatexCommand index
18048 name "References ! Formats"
18049
18050 \end_inset
18051
18052
18053 \end_layout
18054
18055 \begin_layout Standard
18056 There are six varieties of cross-references:
18057 \end_layout
18058
18059 \begin_layout Description
18060 <reference>: prints the float number, this is the default: 
18061 \begin_inset LatexCommand ref
18062 reference "fig:Two-distorted-images"
18063
18064 \end_inset
18065
18066
18067 \end_layout
18068
18069 \begin_layout Description
18070 (<reference>): prints the float number within two parentheses, this is the
18071  style normally used to reference formulas, especially when the reference
18072  name 
18073 \begin_inset Quotes eld
18074 \end_inset
18075
18076 Equation
18077 \begin_inset Quotes erd
18078 \end_inset
18079
18080  is omitted: 
18081 \begin_inset LatexCommand eqref
18082 reference "eq:Wgn"
18083
18084 \end_inset
18085
18086
18087 \end_layout
18088
18089 \begin_layout Description
18090 <page>: prints the page number: Page\InsetSpace ~
18091
18092 \begin_inset LatexCommand pageref
18093 reference "fig:Two-distorted-images"
18094
18095 \end_inset
18096
18097
18098 \end_layout
18099
18100 \begin_layout Description
18101 on\InsetSpace ~
18102 page\InsetSpace ~
18103 <page>: prints the text "on page" and the page number: 
18104 \begin_inset LatexCommand vpageref
18105 reference "fig:Two-distorted-images"
18106
18107 \end_inset
18108
18109
18110 \end_layout
18111
18112 \begin_layout Description
18113 <reference>\InsetSpace ~
18114 on\InsetSpace ~
18115 page\InsetSpace ~
18116 <page>: prints the float number, the text "on page", and
18117  the page number: 
18118 \begin_inset LatexCommand vref
18119 reference "fig:Two-distorted-images"
18120
18121 \end_inset
18122
18123
18124 \end_layout
18125
18126 \begin_layout Description
18127 Formatted\InsetSpace ~
18128 reference: prints a self defined cross-reference format.
18129  
18130 \begin_inset Note Greyedout
18131 status open
18132
18133 \begin_layout Standard
18134
18135 \series bold
18136 Note:
18137 \series default
18138  This feature is only available when you have the LaTeX-package 
18139 \series bold
18140 prettyref
18141 \series default
18142  installed.
18143 \end_layout
18144
18145 \end_inset
18146
18147
18148 \end_layout
18149
18150 \begin_layout Standard
18151 Note that the style <page> won't print the page number if the label is on
18152  the previous, the same, or the next page.
18153  You will e.\InsetSpace \thinspace{}
18154 g.\InsetSpace ~
18155 see the text 
18156 \begin_inset Quotes eld
18157 \end_inset
18158
18159
18160 \family sans
18161 on this page
18162 \family default
18163
18164 \begin_inset Quotes erd
18165 \end_inset
18166
18167  instead.
18168 \end_layout
18169
18170 \begin_layout Standard
18171 The number and current page of the referred document part in the output,
18172  is automatically calculated by LaTeX.
18173  The varieties are adjusted in the field 
18174 \family sans
18175 Format
18176 \family default
18177  of the cross-reference window, that appear when you click on the cross-referenc
18178 e box.
18179 \end_layout
18180
18181 \begin_layout Subsection
18182 Referencing Subfigures
18183 \begin_inset LatexCommand label
18184 name "sub:Referencing-Subfigures"
18185
18186 \end_inset
18187
18188
18189 \begin_inset LatexCommand index
18190 name "References ! to Subfigures"
18191
18192 \end_inset
18193
18194
18195 \end_layout
18196
18197 \begin_layout Standard
18198 Currently referencing subfigures is not supported by LyX, so you have to
18199  use LaTeX-commands.
18200  The label is the created with the command
18201 \end_layout
18202
18203 \begin_layout Standard
18204
18205 \series bold
18206
18207 \backslash
18208 label{fig:YourLabelName}
18209 \end_layout
18210
18211 \begin_layout Standard
18212 that is directly inserted into the subfigure caption field.
18213  To reference the label add this command in ERT
18214 \end_layout
18215
18216 \begin_layout Standard
18217
18218 \series bold
18219
18220 \backslash
18221 ref{fig:YourLabelName}
18222 \end_layout
18223
18224 \begin_layout Standard
18225 to the position in your document where the reference should be placed.
18226  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18227
18228 \begin_inset ERT
18229 status collapsed
18230
18231 \begin_layout Standard
18232
18233
18234 \backslash
18235 ref{fig:Platypus}
18236 \end_layout
18237
18238 \end_inset
18239
18240 .
18241 \end_layout
18242
18243 \begin_layout Subsection
18244 Automatic Reference Naming
18245 \begin_inset LatexCommand index
18246 name "References ! Automatic Reference Naming"
18247
18248 \end_inset
18249
18250
18251 \end_layout
18252
18253 \begin_layout Standard
18254 The LaTeX-package 
18255 \series bold
18256 hyperref
18257 \series default
18258  provides a very useful feature that cross-references automatically include
18259  the name of the referenced floats (or text parts like sections).
18260  You save to write e.\InsetSpace \thinspace{}
18261 g.\InsetSpace ~
18262 the name 
18263 \begin_inset Quotes eld
18264 \end_inset
18265
18266 Figure
18267 \begin_inset Quotes erd
18268 \end_inset
18269
18270  before every reference box.
18271  To get this automatic reference naming, you have to load the LaTeX-package
18272  
18273 \series bold
18274 hyperref
18275 \series default
18276
18277 \begin_inset LatexCommand index
18278 name "LaTeX-packages ! hyperref"
18279
18280 \end_inset
18281
18282  in the document preamble with
18283 \end_layout
18284
18285 \begin_layout Standard
18286
18287 \series bold
18288
18289 \backslash
18290 usepackage[pdfborder={0 0 0}]{hyperref}
18291 \newline
18292
18293 \backslash
18294 AtBeginDocument{
18295 \backslash
18296 renewcommand{
18297 \backslash
18298 ref}[1]{
18299 \backslash
18300 mbox{
18301 \backslash
18302 autoref{#1}}}}
18303 \end_layout
18304
18305 \begin_layout Standard
18306
18307 \series bold
18308 hyperref
18309 \series default
18310  is used to link cross-references in the DVI- and PDF-output, this means
18311  that the reader of your document will be able to click on a table of content
18312  (TOC) entry or on a reference and he will be shown the referenced document
18313  part.
18314  
18315 \series bold
18316 hyperref
18317 \series default
18318  also creates PDF-bookmarks for every section of your document to make it
18319  easier for readers to navigate through the document.
18320  This is also used in this document but when you have a look in the document
18321  preamble you will find various options in the load command of 
18322 \series bold
18323 hyperref
18324 \series default
18325 .
18326  To learn more about the 
18327 \series bold
18328 hyperref
18329 \series default
18330  package, we refer to its documentation 
18331 \begin_inset LatexCommand cite
18332 key "hyperref"
18333
18334 \end_inset
18335
18336 .
18337 \end_layout
18338
18339 \begin_layout Standard
18340 \begin_inset Note Greyedout
18341 status open
18342
18343 \begin_layout Standard
18344
18345 \series bold
18346 Note:
18347 \series default
18348  Automatic reference naming cannot be used when you use cross-references
18349  in the 
18350 \family sans
18351 Formatted\InsetSpace ~
18352 reference
18353 \family default
18354  style, described in section\InsetSpace ~
18355
18356 \begin_inset LatexCommand ref
18357 reference "sub:Cross-Reference-Formats"
18358
18359 \end_inset
18360
18361 .
18362 \end_layout
18363
18364 \end_inset
18365
18366
18367 \end_layout
18368
18369 \begin_layout Subsection
18370 Reference Position
18371 \begin_inset LatexCommand label
18372 name "sub:Reference-Position"
18373
18374 \end_inset
18375
18376
18377 \begin_inset LatexCommand index
18378 name "References ! Reference Position"
18379
18380 \end_inset
18381
18382
18383 \end_layout
18384
18385 \begin_layout Standard
18386 If you use 
18387 \series bold
18388 hyperref
18389 \series default
18390
18391 \begin_inset LatexCommand index
18392 name "LaTeX-packages ! hyperref"
18393
18394 \end_inset
18395
18396  to link cross-references in the output, you will see that clicking on an
18397  image float reference jumps to the image label.
18398  The caption will be the first text part on the screen, so that you cannot
18399  see the image without scrolling.
18400  This is because the reference link anchor is placed at the position of
18401  the label.
18402  With the use of the package 
18403 \series bold
18404 hypcap
18405 \series default
18406
18407 \begin_inset LatexCommand index
18408 name "LaTeX-packages ! hypcap"
18409
18410 \end_inset
18411
18412 , which is part of the LaTeX-package 
18413 \series bold
18414 oberdiek
18415 \series default
18416
18417 \begin_inset LatexCommand index
18418 name "LaTeX-packages ! oberdiek"
18419
18420 \end_inset
18421
18422 , the link anchor is placed at the beginning of a float.
18423  To use this feature for figure floats, load 
18424 \series bold
18425 hypcap
18426 \series default
18427  in the document preamble with the line
18428 \end_layout
18429
18430 \begin_layout Standard
18431
18432 \series bold
18433
18434 \backslash
18435 usepackage[f\SpecialChar \textcompwordmark{}
18436 igure]{hypcap}
18437 \end_layout
18438
18439 \begin_layout Standard
18440 You can also use 
18441 \series bold
18442 hypcap
18443 \series default
18444  for all floats but this isn't recommended for stability reasons.
18445  For more informations, have a look at 
18446 \series bold
18447 hypcap
18448 \series default
18449 's manual 
18450 \begin_inset LatexCommand cite
18451 key "hypcap"
18452
18453 \end_inset
18454
18455 .
18456 \end_layout
18457
18458 \begin_layout Standard
18459 \begin_inset Note Greyedout
18460 status open
18461
18462 \begin_layout Standard
18463
18464 \series bold
18465 Note:
18466 \series default
18467  
18468 \series bold
18469 hypcap
18470 \series default
18471  must be loaded after 
18472 \series bold
18473 hyperref
18474 \series default
18475  in the document preamble.
18476 \end_layout
18477
18478 \end_inset
18479
18480
18481 \end_layout
18482
18483 \begin_layout Standard
18484 \begin_inset Note Greyedout
18485 status open
18486
18487 \begin_layout Standard
18488
18489 \series bold
18490 Note:
18491 \series default
18492  The set reference position has no effect for references to subfigures.
18493 \end_layout
18494
18495 \end_inset
18496
18497
18498 \end_layout
18499
18500 \begin_layout Section
18501 Float Placement
18502 \begin_inset LatexCommand label
18503 name "sec:Float-Placement"
18504
18505 \end_inset
18506
18507
18508 \begin_inset LatexCommand index
18509 name "Floats ! Placement"
18510
18511 \end_inset
18512
18513
18514 \end_layout
18515
18516 \begin_layout Standard
18517 Right-clicking on a float-box opens a dialog where you can alter the placement
18518  options that LaTeX uses for positioning the float.
18519 \newline
18520 The option 
18521 \family sans
18522 Span\InsetSpace ~
18523 columns
18524 \family default
18525  is only useful for two-column documents: If you select it, the float will
18526  span across both columns on the page instead of being confined to just
18527  one.
18528 \newline
18529 The option 
18530 \family sans
18531 Rotate\InsetSpace ~
18532 sideways
18533 \family default
18534  is used to rotate floats, see section 
18535 \begin_inset LatexCommand ref
18536 reference "sec:Rotated-Floats"
18537
18538 \end_inset
18539
18540 .
18541 \end_layout
18542
18543 \begin_layout Standard
18544 You can use one ore more of the following options in the float dialog to
18545  set the placement for a particular float when you uncheck the option 
18546 \family sans
18547 Use\InsetSpace ~
18548 default\InsetSpace ~
18549 placement
18550 \family default
18551 :
18552 \end_layout
18553
18554 \begin_layout Description
18555 Here\InsetSpace ~
18556 if\InsetSpace ~
18557 possible: try to place the float on the position where it is inserted
18558 \end_layout
18559
18560 \begin_layout Description
18561 Top\InsetSpace ~
18562 of\InsetSpace ~
18563 page: try to place the float on the top of the current page
18564 \end_layout
18565
18566 \begin_layout Description
18567 Bottom\InsetSpace ~
18568 of\InsetSpace ~
18569 page: try to place the float on the bottom of the current page
18570 \end_layout
18571
18572 \begin_layout Description
18573 Page\InsetSpace ~
18574 of\InsetSpace ~
18575 floats: try to place the float on an own page 
18576 \end_layout
18577
18578 \begin_layout Standard
18579 The order of the above option is 
18580 \emph on
18581 always
18582 \emph default
18583  used by LaTeX.
18584  That means, if you use the default placement, LaTeX will first try out
18585  
18586 \family sans
18587 Here\InsetSpace ~
18588 if\InsetSpace ~
18589 possible
18590 \family default
18591 , then 
18592 \family sans
18593 Top\InsetSpace ~
18594 of\InsetSpace ~
18595 page
18596 \family default
18597 , and then the others.
18598  If you don't use the default, LaTeX will try only the checked options but
18599  in the same order.
18600  If none of the 4 placements are possible the procedure is internally repeated
18601  but it is tried to put the float on the following page.
18602 \end_layout
18603
18604 \begin_layout Standard
18605 By default, each options has its own rules:
18606 \end_layout
18607
18608 \begin_layout Labeling
18609 \labelwidthstring 00.00.0000
18610
18611 \family sans
18612 Top\InsetSpace ~
18613 of\InsetSpace ~
18614 page
18615 \family default
18616  only floats occupying less than 70\InsetSpace \thinspace{}
18617 % of the page can be placed at the top
18618  of a page (
18619 \series bold
18620
18621 \backslash
18622 topfraction
18623 \series default
18624 )
18625 \end_layout
18626
18627 \begin_layout Labeling
18628 \labelwidthstring 00.00.0000
18629
18630 \family sans
18631 Bottom\InsetSpace ~
18632 of\InsetSpace ~
18633 page
18634 \family default
18635 : only floats occupying less than 30\InsetSpace \thinspace{}
18636 % of the page can be placed at the bottom
18637  of a page.
18638  (
18639 \series bold
18640
18641 \backslash
18642 bottomfraction
18643 \series default
18644 )
18645 \end_layout
18646
18647 \begin_layout Labeling
18648 \labelwidthstring 00.00.0000
18649
18650 \family sans
18651 Page\InsetSpace ~
18652 of\InsetSpace ~
18653 floats
18654 \family default
18655 : only if more than 50\InsetSpace \thinspace{}
18656 % of the page are occupied by floats, several floats
18657  can be set together on a page.
18658  (
18659 \series bold
18660
18661 \backslash
18662 floatpagefraction
18663 \series default
18664 )
18665 \end_layout
18666
18667 \begin_layout Standard
18668 If you don't like these rules, you can ignore them by using the additional
18669  option 
18670 \family sans
18671 Ignore\InsetSpace ~
18672 LaTeX\InsetSpace ~
18673 rules
18674 \family default
18675 .
18676 \newline
18677 You can also redefine the rules with LaTeX-commands that are given in parenthese
18678 s behind the rules description above.
18679  To increase for example the often too small default of the bottom-rule
18680  to 50\InsetSpace \thinspace{}
18681 % of the page, add this line to your document preamble:
18682 \end_layout
18683
18684 \begin_layout Standard
18685
18686 \series bold
18687
18688 \backslash
18689 renewcommand{
18690 \backslash
18691 bottomfraction}{0.5}
18692 \end_layout
18693
18694 \begin_layout Standard
18695 Sometimes you might need, under all circumstances, a float to be placed
18696  exactly at the position where it is inserted.
18697  For this case you can use the option 
18698 \family sans
18699 Here\InsetSpace ~
18700 definitely
18701 \family default
18702 .
18703  Use this option very rarely and only if the document is nearly ready to
18704  be printed.
18705  Because the float is then no longer able to 
18706 \begin_inset Quotes eld
18707 \end_inset
18708
18709 float
18710 \begin_inset Quotes erd
18711 \end_inset
18712
18713  when you change your document and this will often destroy the page layout.
18714 \end_layout
18715
18716 \begin_layout Standard
18717 There are no placement options for text wrap floats, because they are always
18718  surrounded by the text of a certain paragraph.
18719 \begin_inset VSpace bigskip
18720 \end_inset
18721
18722
18723 \end_layout
18724
18725 \begin_layout Standard
18726 Sometimes you have the problem that a float is placed at the top of a page
18727  while its corresponding section starts at the middle of the page, so that
18728  the reader could think the float is part of the previous section.
18729  To avoid this the LaTeX-command 
18730 \series bold
18731
18732 \backslash
18733 suppressf\SpecialChar \textcompwordmark{}
18734 loats
18735 \series default
18736  can be used.
18737  It suppresses a given float placement for the page where it is inserted
18738  and can therefore be used to avoid that floats could be set before a section
18739  starts.
18740  To get this, add these commands to your document preamble:
18741 \end_layout
18742
18743 \begin_layout Standard
18744
18745 \series bold
18746
18747 \backslash
18748 let
18749 \backslash
18750 mySection
18751 \backslash
18752 section
18753 \newline
18754
18755 \backslash
18756 renewcommand{
18757 \backslash
18758 section}{
18759 \backslash
18760 suppressf\SpecialChar \textcompwordmark{}
18761 loats[t]
18762 \backslash
18763 mySection}
18764 \end_layout
18765
18766 \begin_layout Standard
18767 You can define the same for all section headings, like chapters and subsections.
18768  This definition is not recommended to be used for small text parts like
18769  subsubsections because LaTeX may then have problems to find a suitable
18770  placement.
18771 \end_layout
18772
18773 \begin_layout Standard
18774 \begin_inset VSpace bigskip
18775 \end_inset
18776
18777 In some cases it is required to have all figures/tables at the end of the
18778  document.
18779  For this purpose the LaTeX-package 
18780 \series bold
18781 endf\SpecialChar \textcompwordmark{}
18782 loat
18783 \series default
18784
18785 \begin_inset LatexCommand index
18786 name "LaTeX-packages ! endfloat"
18787
18788 \end_inset
18789
18790  was developed.
18791  It puts all figure and table floats at the end of the document into own
18792  sections.
18793  At the original float position a text hint like 
18794 \begin_inset Quotes eld
18795 \end_inset
18796
18797
18798 \family sans
18799 [Figure\InsetSpace ~
18800 3.2 about here.]
18801 \family default
18802
18803 \begin_inset Quotes erd
18804 \end_inset
18805
18806  is inserted.
18807  The endfloat-package is loaded in the preamble with the line
18808 \end_layout
18809
18810 \begin_layout Standard
18811
18812 \series bold
18813
18814 \backslash
18815 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18816 loat}
18817 \end_layout
18818
18819 \begin_layout Standard
18820 There are various package options to format the created figure/table sections.
18821  For more information we refer to the 
18822 \series bold
18823 endf\SpecialChar \textcompwordmark{}
18824 loat
18825 \series default
18826  documentation 
18827 \begin_inset LatexCommand cite
18828 key "endfloat"
18829
18830 \end_inset
18831
18832 .
18833 \newline
18834
18835 \begin_inset Note Greyedout
18836 status open
18837
18838 \begin_layout Standard
18839
18840 \series bold
18841 Note: endf\SpecialChar \textcompwordmark{}
18842 loat
18843 \series default
18844  doesn't provide an automatic translation for the text hint, you have to
18845  do this manually, see section\InsetSpace ~
18846 4 in 
18847 \begin_inset LatexCommand cite
18848 key "endfloat"
18849
18850 \end_inset
18851
18852 .
18853 \end_layout
18854
18855 \end_inset
18856
18857
18858 \newline
18859
18860 \begin_inset Note Greyedout
18861 status open
18862
18863 \begin_layout Standard
18864
18865 \series bold
18866 Note:
18867 \series default
18868  There is currently a bug in 
18869 \series bold
18870 endf\SpecialChar \textcompwordmark{}
18871 loat
18872 \series default
18873  when the caption contains a German 
18874 \begin_inset Quotes eld
18875 \end_inset
18876
18877 ß
18878 \begin_inset Quotes erd
18879 \end_inset
18880
18881 .
18882  Use in this case the command 
18883 \begin_inset Quotes eld
18884 \end_inset
18885
18886
18887 \series bold
18888
18889 \backslash
18890 ss
18891 \series default
18892
18893 \begin_inset Quotes erd
18894 \end_inset
18895
18896  in ERT instead of 
18897 \begin_inset Quotes eld
18898 \end_inset
18899
18900 ß
18901 \begin_inset Quotes erd
18902 \end_inset
18903
18904 .
18905 \end_layout
18906
18907 \end_inset
18908
18909
18910 \end_layout
18911
18912 \begin_layout Standard
18913 \begin_inset VSpace bigskip
18914 \end_inset
18915
18916 For more details about float placements, have a look at LaTeX books, 
18917 \begin_inset LatexCommand cite
18918 key "latexcompanion,latexguide,latexbook"
18919
18920 \end_inset
18921
18922 .
18923 \end_layout
18924
18925 \begin_layout Section
18926 Rotated Floats
18927 \begin_inset LatexCommand label
18928 name "sec:Rotated-Floats"
18929
18930 \end_inset
18931
18932
18933 \begin_inset LatexCommand index
18934 name "Floats ! Rotating"
18935
18936 \end_inset
18937
18938
18939 \end_layout
18940
18941 \begin_layout Standard
18942 Especially for wide tables you might have floats rotated.
18943  To rotate a whole float including the caption, right-click on the float-box
18944  and use the option 
18945 \family sans
18946 Rotate\InsetSpace ~
18947 sideways
18948 \family default
18949 .
18950 \end_layout
18951
18952 \begin_layout Standard
18953 Rotated floats are always placed on its own page (or column, when you have
18954  a two-column document).
18955  They are normally rotated so that you can read them from the outside margin
18956  -- to the left on even pages, to the right on odd pages.
18957 \end_layout
18958
18959 \begin_layout Standard
18960 Referencing rotated floats is the same like for normal floats, the caption
18961  format is also the same: Table\InsetSpace ~
18962
18963 \begin_inset LatexCommand ref
18964 reference "tab:Rotated-table"
18965
18966 \end_inset
18967
18968  is an example of a rotated table float.
18969 \end_layout
18970
18971 \begin_layout Standard
18972 \begin_inset Note Greyedout
18973 status open
18974
18975 \begin_layout Standard
18976
18977 \series bold
18978 Note:
18979 \series default
18980  Not all DVI-viewers are able to display rotated floats.
18981 \end_layout
18982
18983 \end_inset
18984
18985
18986 \end_layout
18987
18988 \begin_layout Standard
18989 \begin_inset Float table
18990 wide false
18991 sideways true
18992 status open
18993
18994 \begin_layout Standard
18995 \begin_inset Caption
18996
18997 \begin_layout Standard
18998 \begin_inset LatexCommand label
18999 name "tab:Rotated-table"
19000
19001 \end_inset
19002
19003  Rotated table
19004 \end_layout
19005
19006 \end_inset
19007
19008
19009 \end_layout
19010
19011 \begin_layout Standard
19012 \align center
19013 \begin_inset Tabular
19014 <lyxtabular version="3" rows="1" columns="5">
19015 <features>
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" width="0">
19020 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19021 <row topline="true" bottomline="true">
19022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19023 \begin_inset Text
19024
19025 \begin_layout Standard
19026 test
19027 \end_layout
19028
19029 \end_inset
19030 </cell>
19031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19032 \begin_inset Text
19033
19034 \begin_layout Standard
19035 b
19036 \end_layout
19037
19038 \end_inset
19039 </cell>
19040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19041 \begin_inset Text
19042
19043 \begin_layout Standard
19044 c
19045 \end_layout
19046
19047 \end_inset
19048 </cell>
19049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19050 \begin_inset Text
19051
19052 \begin_layout Standard
19053 d
19054 \end_layout
19055
19056 \end_inset
19057 </cell>
19058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19059 \begin_inset Text
19060
19061 \begin_layout Standard
19062 e
19063 \end_layout
19064
19065 \end_inset
19066 </cell>
19067 </row>
19068 </lyxtabular>
19069
19070 \end_inset
19071
19072
19073 \end_layout
19074
19075 \end_inset
19076
19077
19078 \end_layout
19079
19080 \begin_layout Section
19081 Caption Formatting
19082 \begin_inset LatexCommand index
19083 name "Caption ! Formatting"
19084
19085 \end_inset
19086
19087
19088 \begin_inset LatexCommand index
19089 name "Floats ! Caption Formatting"
19090
19091 \end_inset
19092
19093
19094 \begin_inset LatexCommand index
19095 name "LaTeX-packages ! caption"
19096
19097 \end_inset
19098
19099
19100 \begin_inset LatexCommand label
19101 name "sec:Caption-Formatting"
19102
19103 \end_inset
19104
19105
19106 \end_layout
19107
19108 \begin_layout Standard
19109 The 
19110 \family sans
19111 Caption
19112 \family default
19113  environment is the default paragraph environment for 
19114 \family sans
19115 Floats
19116 \family default
19117 .
19118  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19119 g.\InsetSpace ~
19120
19121 \begin_inset Quotes eld
19122 \end_inset
19123
19124
19125 \family sans
19126 Figure #:
19127 \family default
19128
19129 \begin_inset Quotes erd
19130 \end_inset
19131
19132  followed by the caption text.
19133  The number sign 
19134 \begin_inset Quotes eld
19135 \end_inset
19136
19137 #
19138 \begin_inset Quotes erd
19139 \end_inset
19140
19141  is substituted in the printed output by the actual reference number.
19142  By default the label and the number are in the same font as the caption
19143  text and a colon follows the number to divide then label from the text.
19144  This caption format is not suitable for all document formats.
19145  
19146 \end_layout
19147
19148 \begin_layout Standard
19149 To change the default caption format, load the LaTeX-package 
19150 \series bold
19151 caption
19152 \series default
19153
19154 \begin_inset LatexCommand index
19155 name "LaTeX-packages ! caption"
19156
19157 \end_inset
19158
19159  in the document preamble with this line:
19160 \end_layout
19161
19162 \begin_layout Standard
19163
19164 \series bold
19165
19166 \backslash
19167 usepackage[format definition]{caption}
19168 \end_layout
19169
19170 \begin_layout Standard
19171 To have for example the label and the number in sans-serif bold font and
19172  the table captions always above the table like in this document, use the
19173  following command:
19174 \end_layout
19175
19176 \begin_layout Standard
19177
19178 \series bold
19179
19180 \backslash
19181 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19182 \end_layout
19183
19184 \begin_layout Standard
19185 You can also define different caption formats for the different float types.
19186  In this case load the 
19187 \series bold
19188 caption
19189 \series default
19190  package without format specific options and define the different formats
19191  with the help of the command
19192 \end_layout
19193
19194 \begin_layout Standard
19195
19196 \series bold
19197
19198 \backslash
19199 captionsetup[float type]{format definition}
19200 \end_layout
19201
19202 \begin_layout Standard
19203 in the document preamble.
19204  For example the caption formats of Figure\InsetSpace ~
19205
19206 \begin_inset LatexCommand ref
19207 reference "fig:This-is-an-fig"
19208
19209 \end_inset
19210
19211  and Table\InsetSpace ~
19212
19213 \begin_inset LatexCommand ref
19214 reference "tab:This-is-an-tab"
19215
19216 \end_inset
19217
19218  can be created using these commands in the document preamble:
19219 \end_layout
19220
19221 \begin_layout Standard
19222
19223 \series bold
19224
19225 \backslash
19226 usepackage[tableposition=top]{caption}
19227 \series default
19228
19229 \newline
19230
19231 \series bold
19232
19233 \backslash
19234 captionsetup[f\SpecialChar \textcompwordmark{}
19235 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19236 \newline
19237
19238 \begin_inset ERT
19239 status collapsed
19240
19241 \begin_layout Standard
19242
19243
19244 \backslash
19245 hphantom{
19246 \backslash
19247
19248 \backslash
19249 captionsetup[figure]
19250 \backslash
19251 {}
19252 \end_layout
19253
19254 \end_inset
19255
19256  labelsep=period}
19257 \newline
19258
19259 \backslash
19260 captionsetup[table]{labelfont={bf,sf}}
19261 \end_layout
19262
19263 \begin_layout Standard
19264 \begin_inset Note Greyedout
19265 status open
19266
19267 \begin_layout Standard
19268
19269 \series bold
19270 Note:
19271 \series default
19272  The option 
19273 \series bold
19274 tableposition=top
19275 \series default
19276  has no effect when a 
19277 \series bold
19278 koma-script
19279 \series default
19280
19281 \begin_inset LatexCommand index
19282 name "LaTeX-packages ! koma-script"
19283
19284 \end_inset
19285
19286  document class is used.
19287  In this case the document class option 
19288 \series bold
19289 tablecaptionabove
19290 \series default
19291  must be used.
19292 \end_layout
19293
19294 \end_inset
19295
19296
19297 \end_layout
19298
19299 \begin_layout Standard
19300 For more information about the package 
19301 \series bold
19302 caption
19303 \series default
19304  we refer to its documentation 
19305 \begin_inset LatexCommand cite
19306 key "caption,caption-de"
19307
19308 \end_inset
19309
19310 .
19311 \end_layout
19312
19313 \begin_layout Standard
19314 To change the label name from e.g.
19315  
19316 \begin_inset Quotes eld
19317 \end_inset
19318
19319 Figure
19320 \begin_inset Quotes erd
19321 \end_inset
19322
19323  to 
19324 \begin_inset Quotes eld
19325 \end_inset
19326
19327 Image
19328 \begin_inset Quotes erd
19329 \end_inset
19330
19331  use this preamble command:
19332 \end_layout
19333
19334 \begin_layout Standard
19335
19336 \series bold
19337
19338 \backslash
19339 renewcommand{
19340 \backslash
19341 fnum@figure}{Image~
19342 \backslash
19343 thefigure}
19344 \end_layout
19345
19346 \begin_layout Standard
19347 where 
19348 \series bold
19349
19350 \backslash
19351 thefigure
19352 \series default
19353  inserts the figure number and
19354 \series bold
19355  
19356 \begin_inset Quotes eld
19357 \end_inset
19358
19359 ~
19360 \series default
19361
19362 \begin_inset Quotes erd
19363 \end_inset
19364
19365  creates a protected space.
19366 \end_layout
19367
19368 \begin_layout Standard
19369 \begin_inset VSpace bigskip
19370 \end_inset
19371
19372 If you are using a 
19373 \series bold
19374 koma-script
19375 \series default
19376
19377 \begin_inset LatexCommand index
19378 name "LaTeX-packages ! koma-script"
19379
19380 \end_inset
19381
19382  document class (
19383 \family sans
19384 article (koma-script)
19385 \family default
19386
19387 \family sans
19388 book (koma-script)
19389 \family default
19390
19391 \family sans
19392 letter (koma-script)
19393 \family default
19394 , or 
19395 \family sans
19396 report (koma-script)
19397 \family default
19398 \InsetSpace \thinspace{}
19399 ), you can alternatively to the 
19400 \series bold
19401 caption
19402 \series default
19403  package use 
19404 \series bold
19405 koma-script
19406 \series default
19407 's built-in command 
19408 \series bold
19409
19410 \backslash
19411 setkomafont
19412 \series default
19413 .
19414  For example, to have the caption label in bold, add this command to your
19415  document preamble:
19416 \end_layout
19417
19418 \begin_layout Standard
19419
19420 \series bold
19421
19422 \backslash
19423 setkomafont{captionlabel}{
19424 \backslash
19425 bfseries}
19426 \end_layout
19427
19428 \begin_layout Standard
19429 For more information about 
19430 \series bold
19431
19432 \backslash
19433 setkomafont
19434 \series default
19435  we refer to the 
19436 \series bold
19437 koma-script
19438 \series default
19439  documentation 
19440 \begin_inset LatexCommand cite
19441 key "koma-script,koma-script-de"
19442
19443 \end_inset
19444
19445 .
19446 \end_layout
19447
19448 \begin_layout Standard
19449 \begin_inset ERT
19450 status collapsed
19451
19452 \begin_layout Standard
19453
19454
19455 \backslash
19456 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19457 }
19458 \end_layout
19459
19460 \end_inset
19461
19462
19463 \begin_inset Note Note
19464 status open
19465
19466 \begin_layout Standard
19467 The caption format is changed only for this example.
19468 \end_layout
19469
19470 \end_inset
19471
19472
19473 \end_layout
19474
19475 \begin_layout Standard
19476 \begin_inset Float figure
19477 placement !p
19478 wide false
19479 sideways false
19480 status open
19481
19482 \begin_layout Standard
19483 \align center
19484 \begin_inset Graphics
19485         filename clipart/mobius.eps
19486         lyxscale 50
19487         scale 50
19488
19489 \end_inset
19490
19491
19492 \end_layout
19493
19494 \begin_layout Standard
19495 \begin_inset Caption
19496
19497 \begin_layout Standard
19498 \begin_inset LatexCommand label
19499 name "fig:This-is-an-fig"
19500
19501 \end_inset
19502
19503 This is an example figure caption that is longer than one line to show the
19504  different caption format.
19505  Here a self-defined caption format is used.
19506 \end_layout
19507
19508 \end_inset
19509
19510
19511 \end_layout
19512
19513 \end_inset
19514
19515
19516 \end_layout
19517
19518 \begin_layout Standard
19519 \begin_inset ERT
19520 status collapsed
19521
19522 \begin_layout Standard
19523
19524
19525 \backslash
19526 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19527 on}
19528 \end_layout
19529
19530 \end_inset
19531
19532
19533 \end_layout
19534
19535 \begin_layout Standard
19536 \begin_inset Float table
19537 placement !p
19538 wide false
19539 sideways false
19540 status open
19541
19542 \begin_layout Standard
19543 \begin_inset Caption
19544
19545 \begin_layout Standard
19546 \begin_inset LatexCommand label
19547 name "tab:This-is-an-tab"
19548
19549 \end_inset
19550
19551 This is an example table caption that is longer than one line to show the
19552  different caption format.
19553  Here the standard caption format for tables in this document is used.
19554 \end_layout
19555
19556 \end_inset
19557
19558
19559 \end_layout
19560
19561 \begin_layout Standard
19562 \align center
19563 \begin_inset Tabular
19564 <lyxtabular version="3" rows="1" columns="5">
19565 <features>
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" width="0">
19570 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19571 <row topline="true" bottomline="true">
19572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19573 \begin_inset Text
19574
19575 \begin_layout Standard
19576 a
19577 \end_layout
19578
19579 \end_inset
19580 </cell>
19581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19582 \begin_inset Text
19583
19584 \begin_layout Standard
19585 b
19586 \end_layout
19587
19588 \end_inset
19589 </cell>
19590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19591 \begin_inset Text
19592
19593 \begin_layout Standard
19594 c
19595 \end_layout
19596
19597 \end_inset
19598 </cell>
19599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19600 \begin_inset Text
19601
19602 \begin_layout Standard
19603 d
19604 \end_layout
19605
19606 \end_inset
19607 </cell>
19608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19609 \begin_inset Text
19610
19611 \begin_layout Standard
19612 e
19613 \end_layout
19614
19615 \end_inset
19616 </cell>
19617 </row>
19618 </lyxtabular>
19619
19620 \end_inset
19621
19622
19623 \end_layout
19624
19625 \end_inset
19626
19627
19628 \end_layout
19629
19630 \begin_layout Section
19631 Caption Placement
19632 \begin_inset LatexCommand index
19633 name "Caption ! Placement"
19634
19635 \end_inset
19636
19637
19638 \begin_inset LatexCommand index
19639 name "Floats ! Caption Placement"
19640
19641 \end_inset
19642
19643
19644 \begin_inset LatexCommand label
19645 name "sec:Caption-Placement"
19646
19647 \end_inset
19648
19649
19650 \end_layout
19651
19652 \begin_layout Standard
19653 The common caption placement rule is:
19654 \end_layout
19655
19656 \begin_layout Description
19657 Figure: Caption is set below the figure
19658 \end_layout
19659
19660 \begin_layout Description
19661 Table: Caption is set above the table
19662 \end_layout
19663
19664 \begin_layout Standard
19665 Having the caption above the table is unfortunately not supported in LaTeX's
19666  standard classes.
19667  That means if you are using the document classes 
19668 \family sans
19669 article
19670 \family default
19671
19672 \family sans
19673 book
19674 \family default
19675
19676 \family sans
19677 letter
19678 \family default
19679 , or 
19680 \family sans
19681 report
19682 \family default
19683  there will be no space between the caption and the table.
19684  To insert the needed space, add the following option to the load command
19685  of the LaTeX-package 
19686 \series bold
19687 caption
19688 \series default
19689  in your document preamble
19690 \begin_inset Foot
19691 status collapsed
19692
19693 \begin_layout Standard
19694 See section\InsetSpace ~
19695
19696 \begin_inset LatexCommand ref
19697 reference "sec:Caption-Formatting"
19698
19699 \end_inset
19700
19701  for more information of the package 
19702 \series bold
19703 caption
19704 \series default
19705 .
19706 \end_layout
19707
19708 \end_inset
19709
19710 :
19711 \end_layout
19712
19713 \begin_layout Standard
19714
19715 \series bold
19716 tableposition=top
19717 \end_layout
19718
19719 \begin_layout Standard
19720 If you are using a 
19721 \series bold
19722 koma-script
19723 \series default
19724
19725 \begin_inset LatexCommand index
19726 name "LaTeX-packages ! koma-script"
19727
19728 \end_inset
19729
19730  document class (
19731 \family sans
19732 article (koma-script)
19733 \family default
19734
19735 \family sans
19736 book (koma-script)
19737 \family default
19738
19739 \family sans
19740 letter (koma-script)
19741 \family default
19742 , or 
19743 \family sans
19744 report (koma-script)
19745 \family default
19746 \InsetSpace \thinspace{}
19747 ), you can alternatively to the 
19748 \series bold
19749 caption
19750 \series default
19751  package set the document class option 
19752 \series bold
19753 tablecaptionabove
19754 \series default
19755 , or you can use the environment 
19756 \family sans
19757 caption\InsetSpace ~
19758 above
19759 \family default
19760  instead of the 
19761 \family sans
19762 caption
19763 \family default
19764  environment.
19765 \end_layout
19766
19767 \begin_layout Standard
19768 \begin_inset VSpace bigskip
19769 \end_inset
19770
19771 It is also possible to set the caption beside a figure or table.
19772  To get this the LaTeX-package 
19773 \series bold
19774 sidecap
19775 \series default
19776
19777 \begin_inset LatexCommand index
19778 name "LaTeX-packages ! sidecap"
19779
19780 \end_inset
19781
19782  has to be loaded in the document preamble with the line
19783 \end_layout
19784
19785 \begin_layout Standard
19786
19787 \series bold
19788
19789 \backslash
19790 usepackage[option]{sidecap}
19791 \end_layout
19792
19793 \begin_layout Standard
19794 If you set no option, the caption is placed on the side of the outer page
19795  margin -- to the right on odd pages, to the left on even pages.
19796  You can change the placement to inner margin with the option 
19797 \series bold
19798 innercaption
19799 \series default
19800 .
19801  To force the placement always to the right or left, use the option 
19802 \series bold
19803 rightcaption
19804 \series default
19805  or 
19806 \series bold
19807 leftcaption
19808 \series default
19809 , respectively.
19810 \end_layout
19811
19812 \begin_layout Standard
19813 To place in LyX the caption of a float on the side, it is necessary to add
19814  these commands to the document preamble:
19815 \end_layout
19816
19817 \begin_layout Standard
19818
19819 \lyxline
19820
19821 \end_layout
19822
19823 \begin_layout Standard
19824
19825 \series bold
19826
19827 \backslash
19828 newcommand{
19829 \backslash
19830 TabBesBeg}{%
19831 \newline
19832
19833 \begin_inset ERT
19834 status collapsed
19835
19836 \begin_layout Standard
19837
19838
19839 \backslash
19840 hphantom{ }
19841 \end_layout
19842
19843 \end_inset
19844
19845
19846 \backslash
19847 let
19848 \backslash
19849 MyTable
19850 \backslash
19851 table
19852 \newline
19853
19854 \begin_inset ERT
19855 status collapsed
19856
19857 \begin_layout Standard
19858
19859
19860 \backslash
19861 hphantom{ }
19862 \end_layout
19863
19864 \end_inset
19865
19866
19867 \backslash
19868 let
19869 \backslash
19870 MyEndtable
19871 \backslash
19872 endtable
19873 \newline
19874
19875 \begin_inset ERT
19876 status collapsed
19877
19878 \begin_layout Standard
19879
19880
19881 \backslash
19882 hphantom{ }
19883 \end_layout
19884
19885 \end_inset
19886
19887
19888 \backslash
19889 renewenvironment{table}{
19890 \backslash
19891 begin{SCtable}}{
19892 \backslash
19893 end{SCtable}}}
19894 \end_layout
19895
19896 \begin_layout Standard
19897
19898 \series bold
19899
19900 \backslash
19901 newcommand{
19902 \backslash
19903 TabBesEnd}{%
19904 \newline
19905
19906 \begin_inset ERT
19907 status collapsed
19908
19909 \begin_layout Standard
19910
19911
19912 \backslash
19913 hphantom{ }
19914 \end_layout
19915
19916 \end_inset
19917
19918
19919 \backslash
19920 let
19921 \backslash
19922 table
19923 \backslash
19924 MyTable
19925 \newline
19926
19927 \begin_inset ERT
19928 status collapsed
19929
19930 \begin_layout Standard
19931
19932
19933 \backslash
19934 hphantom{ }
19935 \end_layout
19936
19937 \end_inset
19938
19939
19940 \backslash
19941 let
19942 \backslash
19943 endtable
19944 \backslash
19945 MyEndtable
19946 \end_layout
19947
19948 \begin_layout Standard
19949
19950 \series bold
19951
19952 \backslash
19953 newcommand{
19954 \backslash
19955 FigBesBeg}{%
19956 \newline
19957
19958 \begin_inset ERT
19959 status collapsed
19960
19961 \begin_layout Standard
19962
19963
19964 \backslash
19965 hphantom{ }
19966 \end_layout
19967
19968 \end_inset
19969
19970
19971 \backslash
19972 let
19973 \backslash
19974 MyFigure
19975 \backslash
19976 f\SpecialChar \textcompwordmark{}
19977 igure
19978 \newline
19979
19980 \begin_inset ERT
19981 status collapsed
19982
19983 \begin_layout Standard
19984
19985
19986 \backslash
19987 hphantom{ }
19988 \end_layout
19989
19990 \end_inset
19991
19992
19993 \backslash
19994 let
19995 \backslash
19996 MyEndf\SpecialChar \textcompwordmark{}
19997 igure
19998 \backslash
19999 endf\SpecialChar \textcompwordmark{}
20000 igure
20001 \newline
20002
20003 \begin_inset ERT
20004 status collapsed
20005
20006 \begin_layout Standard
20007
20008
20009 \backslash
20010 hphantom{ }
20011 \end_layout
20012
20013 \end_inset
20014
20015
20016 \backslash
20017 renewenvironment{f\SpecialChar \textcompwordmark{}
20018 igure}{
20019 \backslash
20020 begin{SCf\SpecialChar \textcompwordmark{}
20021 igure}}{
20022 \backslash
20023 end{SCf\SpecialChar \textcompwordmark{}
20024 igure}}}
20025 \end_layout
20026
20027 \begin_layout Standard
20028
20029 \series bold
20030
20031 \backslash
20032 newcommand{
20033 \backslash
20034 FigBesEnd}{%
20035 \newline
20036
20037 \begin_inset ERT
20038 status collapsed
20039
20040 \begin_layout Standard
20041
20042
20043 \backslash
20044 hphantom{ }
20045 \end_layout
20046
20047 \end_inset
20048
20049
20050 \backslash
20051 let
20052 \backslash
20053 f\SpecialChar \textcompwordmark{}
20054 igure
20055 \backslash
20056 MyFigure
20057 \newline
20058
20059 \begin_inset ERT
20060 status collapsed
20061
20062 \begin_layout Standard
20063
20064
20065 \backslash
20066 hphantom{ }
20067 \end_layout
20068
20069 \end_inset
20070
20071
20072 \backslash
20073 let
20074 \backslash
20075 endf\SpecialChar \textcompwordmark{}
20076 igure
20077 \backslash
20078 MyEndf\SpecialChar \textcompwordmark{}
20079 igure}
20080 \end_layout
20081
20082 \begin_layout Standard
20083
20084 \lyxline
20085
20086 \end_layout
20087
20088 \begin_layout Standard
20089 The commands allow you to redefine the floats so that the caption is set
20090  on the side.
20091  For figure floats use the command
20092 \end_layout
20093
20094 \begin_layout Standard
20095
20096 \series bold
20097
20098 \backslash
20099 FigBesBeg
20100 \end_layout
20101
20102 \begin_layout Standard
20103 in ERT before the float.
20104  Behind the float insert the command
20105 \end_layout
20106
20107 \begin_layout Standard
20108
20109 \series bold
20110
20111 \backslash
20112 FigBesEnd
20113 \end_layout
20114
20115 \begin_layout Standard
20116 in ERT to get back to the original float definition.
20117 \end_layout
20118
20119 \begin_layout Standard
20120 For table floats use the corresponding commands
20121 \end_layout
20122
20123 \begin_layout Standard
20124
20125 \series bold
20126
20127 \backslash
20128 TabBesBeg
20129 \series default
20130  and 
20131 \series bold
20132
20133 \backslash
20134 TabBesEnd
20135 \end_layout
20136
20137 \begin_layout Standard
20138 Figure\InsetSpace ~
20139
20140 \begin_inset LatexCommand ref
20141 reference "fig:cap-beside-fig"
20142
20143 \end_inset
20144
20145  and Table\InsetSpace ~
20146
20147 \begin_inset LatexCommand ref
20148 reference "tab:cap-beside-tab"
20149
20150 \end_inset
20151
20152  are examples where the caption is set beside.
20153 \end_layout
20154
20155 \begin_layout Standard
20156 You can see in the examples that the caption text appears at the top of
20157  the floats for table floats and at the bottom for figure floats.
20158  To change this, you can use the command
20159 \end_layout
20160
20161 \begin_layout Standard
20162
20163 \series bold
20164
20165 \backslash
20166 sidecaptionvpos{float type}{placement}
20167 \end_layout
20168
20169 \begin_layout Standard
20170 in the document preamble or in ERT before the float.
20171  The float type is either 
20172 \family sans
20173 figure
20174 \family default
20175  or 
20176 \family sans
20177 table
20178 \family default
20179 , the placement can be 
20180 \begin_inset Quotes eld
20181 \end_inset
20182
20183
20184 \family sans
20185 t
20186 \family default
20187
20188 \begin_inset Quotes erd
20189 \end_inset
20190
20191  for top, 
20192 \begin_inset Quotes eld
20193 \end_inset
20194
20195
20196 \family sans
20197 c
20198 \family default
20199
20200 \begin_inset Quotes erd
20201 \end_inset
20202
20203  for center, or 
20204 \begin_inset Quotes eld
20205 \end_inset
20206
20207
20208 \family sans
20209 b
20210 \family default
20211
20212 \begin_inset Quotes erd
20213 \end_inset
20214
20215  for bottom.
20216  To have for example the caption of figure floats vertically centered, use
20217  the command
20218 \end_layout
20219
20220 \begin_layout Standard
20221
20222 \series bold
20223
20224 \backslash
20225 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20226 igure}{c}
20227 \end_layout
20228
20229 \begin_layout Standard
20230 This was used for Figure\InsetSpace ~
20231
20232 \begin_inset LatexCommand ref
20233 reference "fig:cap-beside-fig-2"
20234
20235 \end_inset
20236
20237 .
20238 \end_layout
20239
20240 \begin_layout Standard
20241 \begin_inset VSpace defskip
20242 \end_inset
20243
20244 For more information about the package 
20245 \series bold
20246 sidecap
20247 \series default
20248  we refer to its documentation 
20249 \begin_inset LatexCommand cite
20250 key "sidecap"
20251
20252 \end_inset
20253
20254 .
20255 \end_layout
20256
20257 \begin_layout Standard
20258 \begin_inset Note Greyedout
20259 status open
20260
20261 \begin_layout Standard
20262
20263 \series bold
20264 Note:
20265 \series default
20266  The LaTeX-package 
20267 \series bold
20268 hypcap
20269 \series default
20270
20271 \begin_inset LatexCommand index
20272 name "LaTeX-packages ! hypcap"
20273
20274 \end_inset
20275
20276 , described in section\InsetSpace ~
20277
20278 \begin_inset LatexCommand ref
20279 reference "sub:Reference-Position"
20280
20281 \end_inset
20282
20283 , has no effect on floats with the caption set beside.
20284 \end_layout
20285
20286 \end_inset
20287
20288
20289 \end_layout
20290
20291 \begin_layout Standard
20292 \begin_inset ERT
20293 status collapsed
20294
20295 \begin_layout Standard
20296
20297
20298 \backslash
20299 FigBesBeg 
20300 \end_layout
20301
20302 \end_inset
20303
20304
20305 \end_layout
20306
20307 \begin_layout Standard
20308 \begin_inset Float figure
20309 wide false
20310 sideways false
20311 status open
20312
20313 \begin_layout Standard
20314 \begin_inset Graphics
20315         filename clipart/escher-lsd.eps
20316         scale 75
20317
20318 \end_inset
20319
20320
20321 \end_layout
20322
20323 \begin_layout Standard
20324 \begin_inset Caption
20325
20326 \begin_layout Standard
20327 \begin_inset LatexCommand label
20328 name "fig:cap-beside-fig"
20329
20330 \end_inset
20331
20332 This is a caption beside a figure.
20333 \end_layout
20334
20335 \end_inset
20336
20337
20338 \end_layout
20339
20340 \end_inset
20341
20342
20343 \end_layout
20344
20345 \begin_layout Standard
20346 \begin_inset ERT
20347 status collapsed
20348
20349 \begin_layout Standard
20350
20351
20352 \backslash
20353 TabBesBeg 
20354 \end_layout
20355
20356 \end_inset
20357
20358
20359 \end_layout
20360
20361 \begin_layout Standard
20362 \begin_inset Float table
20363 wide false
20364 sideways false
20365 status open
20366
20367 \begin_layout Standard
20368 \begin_inset Caption
20369
20370 \begin_layout Standard
20371 \begin_inset LatexCommand label
20372 name "tab:cap-beside-tab"
20373
20374 \end_inset
20375
20376 This is a caption beside a table.
20377 \end_layout
20378
20379 \end_inset
20380
20381
20382 \end_layout
20383
20384 \begin_layout Standard
20385 \begin_inset Tabular
20386 <lyxtabular version="3" rows="4" columns="5">
20387 <features>
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" width="0">
20392 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20393 <row topline="true">
20394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20395 \begin_inset Text
20396
20397 \begin_layout Standard
20398 a
20399 \end_layout
20400
20401 \end_inset
20402 </cell>
20403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20404 \begin_inset Text
20405
20406 \begin_layout Standard
20407
20408 \end_layout
20409
20410 \end_inset
20411 </cell>
20412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20413 \begin_inset Text
20414
20415 \begin_layout Standard
20416 b
20417 \end_layout
20418
20419 \end_inset
20420 </cell>
20421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20422 \begin_inset Text
20423
20424 \begin_layout Standard
20425
20426 \end_layout
20427
20428 \end_inset
20429 </cell>
20430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20431 \begin_inset Text
20432
20433 \begin_layout Standard
20434 c
20435 \end_layout
20436
20437 \end_inset
20438 </cell>
20439 </row>
20440 <row topline="true">
20441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20442 \begin_inset Text
20443
20444 \begin_layout Standard
20445
20446 \end_layout
20447
20448 \end_inset
20449 </cell>
20450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20451 \begin_inset Text
20452
20453 \begin_layout Standard
20454 d
20455 \end_layout
20456
20457 \end_inset
20458 </cell>
20459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20460 \begin_inset Text
20461
20462 \begin_layout Standard
20463
20464 \end_layout
20465
20466 \end_inset
20467 </cell>
20468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20469 \begin_inset Text
20470
20471 \begin_layout Standard
20472 e
20473 \end_layout
20474
20475 \end_inset
20476 </cell>
20477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20478 \begin_inset Text
20479
20480 \begin_layout Standard
20481
20482 \end_layout
20483
20484 \end_inset
20485 </cell>
20486 </row>
20487 <row topline="true">
20488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20489 \begin_inset Text
20490
20491 \begin_layout Standard
20492 f
20493 \end_layout
20494
20495 \end_inset
20496 </cell>
20497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20498 \begin_inset Text
20499
20500 \begin_layout Standard
20501
20502 \end_layout
20503
20504 \end_inset
20505 </cell>
20506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20507 \begin_inset Text
20508
20509 \begin_layout Standard
20510 g
20511 \end_layout
20512
20513 \end_inset
20514 </cell>
20515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20516 \begin_inset Text
20517
20518 \begin_layout Standard
20519
20520 \end_layout
20521
20522 \end_inset
20523 </cell>
20524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20525 \begin_inset Text
20526
20527 \begin_layout Standard
20528 h
20529 \end_layout
20530
20531 \end_inset
20532 </cell>
20533 </row>
20534 <row topline="true" bottomline="true">
20535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20536 \begin_inset Text
20537
20538 \begin_layout Standard
20539
20540 \end_layout
20541
20542 \end_inset
20543 </cell>
20544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20545 \begin_inset Text
20546
20547 \begin_layout Standard
20548 i
20549 \end_layout
20550
20551 \end_inset
20552 </cell>
20553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20554 \begin_inset Text
20555
20556 \begin_layout Standard
20557
20558 \end_layout
20559
20560 \end_inset
20561 </cell>
20562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20563 \begin_inset Text
20564
20565 \begin_layout Standard
20566 j
20567 \end_layout
20568
20569 \end_inset
20570 </cell>
20571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20572 \begin_inset Text
20573
20574 \begin_layout Standard
20575
20576 \end_layout
20577
20578 \end_inset
20579 </cell>
20580 </row>
20581 </lyxtabular>
20582
20583 \end_inset
20584
20585
20586 \end_layout
20587
20588 \end_inset
20589
20590
20591 \end_layout
20592
20593 \begin_layout Standard
20594 \begin_inset ERT
20595 status collapsed
20596
20597 \begin_layout Standard
20598
20599
20600 \backslash
20601 TabBesEnd
20602 \end_layout
20603
20604 \end_inset
20605
20606
20607 \end_layout
20608
20609 \begin_layout Standard
20610 \begin_inset ERT
20611 status collapsed
20612
20613 \begin_layout Standard
20614
20615
20616 \backslash
20617 sidecaptionvpos{figure}{c}
20618 \end_layout
20619
20620 \end_inset
20621
20622
20623 \begin_inset Float figure
20624 wide false
20625 sideways false
20626 status open
20627
20628 \begin_layout Standard
20629 \begin_inset Graphics
20630         filename clipart/escher-lsd.eps
20631         scale 75
20632
20633 \end_inset
20634
20635
20636 \end_layout
20637
20638 \begin_layout Standard
20639 \begin_inset Caption
20640
20641 \begin_layout Standard
20642 \begin_inset LatexCommand label
20643 name "fig:cap-beside-fig-2"
20644
20645 \end_inset
20646
20647 This is a vertically centered caption beside a figure.
20648 \end_layout
20649
20650 \end_inset
20651
20652
20653 \end_layout
20654
20655 \end_inset
20656
20657
20658 \end_layout
20659
20660 \begin_layout Standard
20661 \begin_inset ERT
20662 status collapsed
20663
20664 \begin_layout Standard
20665
20666
20667 \backslash
20668 FigBesEnd
20669 \end_layout
20670
20671 \end_inset
20672
20673
20674 \end_layout
20675
20676 \begin_layout Section
20677 Listings of Floats
20678 \begin_inset LatexCommand label
20679 name "sec:Listings-of-Floats"
20680
20681 \end_inset
20682
20683
20684 \begin_inset LatexCommand index
20685 name "Floats ! Listings"
20686
20687 \end_inset
20688
20689
20690 \end_layout
20691
20692 \begin_layout Standard
20693 Similar to the the table of contents where the sections of the document
20694  are listed, there are listings for all float types, like the figures of
20695  the documents.
20696  You can insert them via the 
20697 \family sans
20698 Insert\SpecialChar \menuseparator
20699 List\InsetSpace ~
20700 /\InsetSpace ~
20701 TOC
20702 \family default
20703  sub menus.
20704 \end_layout
20705
20706 \begin_layout Standard
20707 The list entries are the float captions or its short title, the float number,
20708  and the page number where they appear in the document.
20709 \end_layout
20710
20711 \begin_layout Standard
20712 You can find the list of figures and tables at the end of this document.
20713 \end_layout
20714
20715 \begin_layout Chapter
20716 Notes
20717 \end_layout
20718
20719 \begin_layout Section
20720 \begin_inset ERT
20721 status collapsed
20722
20723 \begin_layout Standard
20724
20725
20726 \backslash
20727 texorpdfstring{
20728 \end_layout
20729
20730 \end_inset
20731
20732 LyX
20733 \begin_inset ERT
20734 status collapsed
20735
20736 \begin_layout Standard
20737
20738 }{LyX}
20739 \end_layout
20740
20741 \end_inset
20742
20743  Notes
20744 \begin_inset LatexCommand label
20745 name "sec:LyX-Notes"
20746
20747 \end_inset
20748
20749
20750 \begin_inset LatexCommand index
20751 name "Notes ! LyX Notes"
20752
20753 \end_inset
20754
20755
20756 \begin_inset Note Note
20757 status collapsed
20758
20759 \begin_layout Standard
20760 The command 
20761 \backslash
20762 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20763  are displayed wrongly in PDF-bookmarks.
20764  For more information about this, have a look at 
20765 \begin_inset LatexCommand cite
20766 key "hyperref"
20767
20768 \end_inset
20769
20770 .
20771 \end_layout
20772
20773 \end_inset
20774
20775
20776 \end_layout
20777
20778 \begin_layout Standard
20779 Notes are inserted with the toolbar button 
20780 \begin_inset Graphics
20781         filename ../images/note-insert.xpm
20782         scale 85
20783
20784 \end_inset
20785
20786  or the menu 
20787 \family sans
20788 Insert\SpecialChar \menuseparator
20789 Note
20790 \family default
20791 .
20792  There are three types of notes:
20793 \end_layout
20794
20795 \begin_layout Description
20796 LyX\InsetSpace ~
20797 Note This note type is for internal notes that won't appear in the output.
20798  Its note-box looks like this:
20799 \newline
20800
20801 \newline
20802
20803 \begin_inset Graphics
20804         filename clipart/LyXNoteImageQt4.png
20805         display none
20806         scale 85
20807
20808 \end_inset
20809
20810  
20811 \begin_inset Note Note
20812 status open
20813
20814 \begin_layout Standard
20815 This is text in a note box that doesn't appear in the output.
20816 \end_layout
20817
20818 \end_inset
20819
20820
20821 \end_layout
20822
20823 \begin_layout Description
20824 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20825 ent, when you export the document to LaTeX via the menu 
20826 \family sans
20827 File\SpecialChar \menuseparator
20828 Export\SpecialChar \menuseparator
20829 LaTeX (pdflatex) / LaTeX (plain)
20830 \family default
20831 .
20832  Its note-box looks like this:
20833 \newline
20834
20835 \newline
20836
20837 \begin_inset Graphics
20838         filename clipart/CommentNoteImageQt4.png
20839         display none
20840         scale 85
20841
20842 \end_inset
20843
20844  
20845 \begin_inset Note Comment
20846 status open
20847
20848 \begin_layout Standard
20849 This is text in a note box that only appears as comment in LaTeX-files.
20850 \end_layout
20851
20852 \end_inset
20853
20854
20855 \end_layout
20856
20857 \begin_layout Description
20858 Greyed\InsetSpace ~
20859 Out This note will appear in the output as grey text.
20860  Its note-box looks like this:
20861 \newline
20862
20863 \newline
20864
20865 \begin_inset Graphics
20866         filename clipart/GreyedOutNoteImageQt4.png
20867         display none
20868         scale 85
20869
20870 \end_inset
20871
20872
20873 \newline
20874
20875 \begin_inset ERT
20876 status collapsed
20877
20878 \begin_layout Standard
20879
20880
20881 \backslash
20882 renewenvironment{lyxgreyedout}
20883 \end_layout
20884
20885 \begin_layout Standard
20886
20887 {
20888 \backslash
20889 textcolor[gray]{0.8}
20890 \backslash
20891 bgroup}{
20892 \backslash
20893 egroup}
20894 \end_layout
20895
20896 \end_inset
20897
20898
20899 \begin_inset Note Greyedout
20900 status open
20901
20902 \begin_layout Standard
20903 This is text
20904 \begin_inset Foot
20905 status open
20906
20907 \begin_layout Standard
20908 This is an example footnote within a greyed out note.
20909 \end_layout
20910
20911 \end_inset
20912
20913  of a comment that appears in the output as grey text.
20914 \end_layout
20915
20916 \end_inset
20917
20918
20919 \begin_inset ERT
20920 status collapsed
20921
20922 \begin_layout Standard
20923
20924
20925 \backslash
20926 renewenvironment{lyxgreyedout}
20927 \end_layout
20928
20929 \begin_layout Standard
20930
20931 {
20932 \backslash
20933 textcolor{blue}
20934 \backslash
20935 bgroup}{
20936 \backslash
20937 egroup}
20938 \end_layout
20939
20940 \end_inset
20941
20942
20943 \begin_inset Note Note
20944 status collapsed
20945
20946 \begin_layout Standard
20947 The greyed out note is here redefined to show it with the original LyX definitio
20948 n because greyed out notes are redefined in the preamble of this document,
20949  as described below, to have blue text.
20950 \end_layout
20951
20952 \end_inset
20953
20954
20955 \newline
20956
20957 \newline
20958 As you can see in the example, the first line of greyed out notes is a bit
20959  indented and greyed out notes can have footnotes.
20960 \end_layout
20961
20962 \begin_layout Description
20963 Framed This note will appear in the output as framed text.
20964  Its note-box looks like this:
20965 \newline
20966
20967 \newline
20968
20969 \begin_inset Graphics
20970         filename clipart/FramedNoteImageQt4.png
20971         display none
20972         scale 85
20973
20974 \end_inset
20975
20976  
20977 \begin_inset Note Framed
20978 status open
20979
20980 \begin_layout Standard
20981 This is text in a note box that appears framed in the output.
20982 \end_layout
20983
20984 \end_inset
20985
20986  In contrary to framed boxes
20987 \begin_inset Foot
20988 status collapsed
20989
20990 \begin_layout Standard
20991 Framed boxes are described in section\InsetSpace ~
20992
20993 \begin_inset LatexCommand ref
20994 reference "sec:Framed-Boxes"
20995
20996 \end_inset
20997
20998 .
20999 \end_layout
21000
21001 \end_inset
21002
21003  the frame uses always the whole text width and the note is set into its
21004  own paragraph.
21005 \end_layout
21006
21007 \begin_layout Description
21008 Shaded This note will appear in the output with red background color.
21009  Its note box looks like this:
21010 \newline
21011
21012 \newline
21013
21014 \begin_inset Graphics
21015         filename clipart/ShadedNoteImageQt4.png
21016         display none
21017         scale 85
21018
21019 \end_inset
21020
21021
21022 \begin_inset Note Shaded
21023 status open
21024
21025 \begin_layout Standard
21026 This text in a note box appears in the output with red background.
21027 \end_layout
21028
21029 \end_inset
21030
21031 In contrary to colored boxes
21032 \begin_inset Foot
21033 status collapsed
21034
21035 \begin_layout Standard
21036 Colored boxes are described in section\InsetSpace ~
21037
21038 \begin_inset LatexCommand ref
21039 reference "sec:Colored-Boxes"
21040
21041 \end_inset
21042
21043 .
21044 \end_layout
21045
21046 \end_inset
21047
21048  the note uses always the whole text width and the note is set into its
21049  own paragraph.
21050 \end_layout
21051
21052 \begin_layout Standard
21053 \begin_inset VSpace bigskip
21054 \end_inset
21055
21056 When you use the toolbar button to insert notes, a 
21057 \family sans
21058 LyX\InsetSpace ~
21059 Note
21060 \family default
21061  is inserted.
21062  You can switch between the three note types by right-clicking on the note-box.
21063  
21064 \family roman
21065 \series medium
21066 \bar no
21067 If you want to turn existing text into a note, mark it and click on the
21068  note
21069 \family default
21070 \series default
21071 \bar default
21072  toolbar 
21073 \family roman
21074 \series medium
21075 \bar no
21076 button
21077 \family default
21078 \series default
21079 \bar default
21080 .
21081 \end_layout
21082
21083 \begin_layout Standard
21084 \begin_inset VSpace bigskip
21085 \end_inset
21086
21087 You can change the text color of the greyed out notes in the preamble with
21088  the following command:
21089 \end_layout
21090
21091 \begin_layout Standard
21092
21093 \series bold
21094
21095 \backslash
21096 renewenvironment{lyxgreyedout}
21097 \newline
21098
21099 \begin_inset ERT
21100 status collapsed
21101
21102 \begin_layout Standard
21103
21104
21105 \backslash
21106 hphantom{ }
21107 \end_layout
21108
21109 \end_inset
21110
21111 {
21112 \backslash
21113 textcolor{color}
21114 \backslash
21115 bgroup}{
21116 \backslash
21117 egroup}
21118 \end_layout
21119
21120 \begin_layout Standard
21121 The available colors and the method to define own colors is explained in
21122  section\InsetSpace ~
21123
21124 \begin_inset LatexCommand ref
21125 reference "sec:Colored-Tables"
21126
21127 \end_inset
21128
21129 .
21130 \end_layout
21131
21132 \begin_layout Standard
21133 Notes that appear in blue in this document are set using greyed out notes
21134  with blue text.
21135 \end_layout
21136
21137 \begin_layout Standard
21138 \begin_inset VSpace bigskip
21139 \end_inset
21140
21141
21142 \end_layout
21143
21144 \begin_layout Standard
21145 The text style of 
21146 \family sans
21147 Framed
21148 \family default
21149  and 
21150 \family sans
21151 Shaded
21152 \family default
21153  notes can be set in the 
21154 \family sans
21155 Text Style
21156 \family default
21157  dialog.
21158 \end_layout
21159
21160 \begin_layout Standard
21161 The default frame width for 
21162 \family sans
21163 Framed
21164 \family default
21165  notes is 0.4\InsetSpace \thinspace{}
21166 pt; it can be changed by changing the size 
21167 \series bold
21168
21169 \backslash
21170 FrameRule
21171 \series default
21172 .
21173  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21174 pt; it can
21175  be changed by changing the size 
21176 \series bold
21177
21178 \backslash
21179 FrameSep
21180 \series default
21181 .
21182  For example the frame appearance of the following 
21183 \family sans
21184 Framed
21185 \family default
21186  note is set with the ERT commands
21187 \end_layout
21188
21189 \begin_layout Standard
21190
21191 \series bold
21192
21193 \backslash
21194 FrameRule 5pt 
21195 \backslash
21196 FrameSep 0.5cm
21197 \end_layout
21198
21199 \begin_layout Standard
21200 \begin_inset ERT
21201 status collapsed
21202
21203 \begin_layout Standard
21204
21205
21206 \backslash
21207 FrameRule 5pt 
21208 \backslash
21209 FrameSep 0.5cm
21210 \end_layout
21211
21212 \end_inset
21213
21214
21215 \begin_inset Note Framed
21216 status open
21217
21218 \begin_layout Standard
21219 This is text in a 
21220 \family sans
21221 Framed
21222 \family default
21223  note.
21224 \end_layout
21225
21226 \end_inset
21227
21228
21229 \begin_inset ERT
21230 status collapsed
21231
21232 \begin_layout Standard
21233
21234
21235 \backslash
21236 FrameRule 0.4pt 
21237 \backslash
21238 FrameSep 9pt
21239 \end_layout
21240
21241 \end_inset
21242
21243
21244 \end_layout
21245
21246 \begin_layout Standard
21247 \begin_inset VSpace bigskip
21248 \end_inset
21249
21250
21251 \end_layout
21252
21253 \begin_layout Standard
21254 For 
21255 \family sans
21256 Shaded
21257 \family default
21258  notes the default space between the note content and the note border is
21259  3\InsetSpace \thinspace{}
21260 pt; it can be changed by changing the size 
21261 \series bold
21262
21263 \backslash
21264 fboxsep
21265 \series default
21266 .
21267 \newline
21268 The default background color red can be changed with the command 
21269 \series bold
21270
21271 \backslash
21272 def\SpecialChar \textcompwordmark{}
21273 inecolor{shadebox}
21274 \series default
21275 .
21276  The scheme of the 
21277 \series bold
21278
21279 \backslash
21280 def\SpecialChar \textcompwordmark{}
21281 inecolor
21282 \series default
21283  command is explained in section\InsetSpace ~
21284
21285 \begin_inset LatexCommand ref
21286 reference "sec:Colored-Tables"
21287
21288 \end_inset
21289
21290
21291 \begin_inset Foot
21292 status collapsed
21293
21294 \begin_layout Standard
21295 Note that 
21296 \series bold
21297
21298 \backslash
21299 def
21300 \series default
21301 \SpecialChar \textcompwordmark{}
21302
21303 \series bold
21304 inecolor
21305 \series default
21306  requires the LaTeX-package 
21307 \series bold
21308 color
21309 \series default
21310  in the preamble, see section\InsetSpace ~
21311
21312 \begin_inset LatexCommand ref
21313 reference "sec:Colored-Boxes"
21314
21315 \end_inset
21316
21317 .
21318 \end_layout
21319
21320 \end_inset
21321
21322 .
21323 \end_layout
21324
21325 \begin_layout Standard
21326 For example the appearance of the following 
21327 \family sans
21328 Shaded
21329 \family default
21330  note is set with the ERT commands
21331 \end_layout
21332
21333 \begin_layout Standard
21334
21335 \series bold
21336
21337 \backslash
21338 fboxsep 0.5cm
21339 \series default
21340
21341 \newline
21342
21343 \series bold
21344
21345 \backslash
21346 def\SpecialChar \textcompwordmark{}
21347 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21348 \end_layout
21349
21350 \begin_layout Standard
21351 \begin_inset ERT
21352 status collapsed
21353
21354 \begin_layout Standard
21355
21356
21357 \backslash
21358 fboxsep 0.5cm
21359 \end_layout
21360
21361 \end_inset
21362
21363
21364 \begin_inset ERT
21365 status collapsed
21366
21367 \begin_layout Standard
21368
21369
21370 \backslash
21371 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21372 \end_layout
21373
21374 \end_inset
21375
21376
21377 \begin_inset Note Shaded
21378 status open
21379
21380 \begin_layout Standard
21381
21382 \color yellow
21383 This is yellow text in a
21384 \color none
21385  
21386 \family sans
21387 \color yellow
21388 Shaded
21389 \family default
21390 \color none
21391  
21392 \color yellow
21393 note with darkgreen background.
21394 \end_layout
21395
21396 \end_inset
21397
21398
21399 \begin_inset ERT
21400 status collapsed
21401
21402 \begin_layout Standard
21403
21404
21405 \backslash
21406 fboxsep 3pt
21407 \end_layout
21408
21409 \end_inset
21410
21411
21412 \begin_inset ERT
21413 status collapsed
21414
21415 \begin_layout Standard
21416
21417
21418 \backslash
21419 definecolor{shadecolor}{rgb}{1,0,0}
21420 \end_layout
21421
21422 \end_inset
21423
21424
21425 \end_layout
21426
21427 \begin_layout Section
21428 Footnotes
21429 \begin_inset LatexCommand label
21430 name "sec:Footnotes"
21431
21432 \end_inset
21433
21434
21435 \begin_inset LatexCommand index
21436 name "Notes ! Footnotes"
21437
21438 \end_inset
21439
21440
21441 \begin_inset LatexCommand index
21442 name "Footnotes"
21443
21444 \end_inset
21445
21446
21447 \end_layout
21448
21449 \begin_layout Standard
21450 Footnotes can be inserted using the toolbar button 
21451 \begin_inset Graphics
21452         filename ../images/footnote-insert.xpm
21453         scale 85
21454
21455 \end_inset
21456
21457  or the menu 
21458 \family sans
21459 Insert\SpecialChar \menuseparator
21460 Footnote
21461 \family default
21462 .
21463  
21464 \family roman
21465 \series medium
21466 \bar no
21467 You'll see
21468 \family default
21469 \series default
21470 \bar default
21471  then the following footnote-box: 
21472 \begin_inset Graphics
21473         filename clipart/footnoteQt4.png
21474         scale 80
21475
21476 \end_inset
21477
21478  
21479 \family roman
21480 \series medium
21481 \bar no
21482 where you can enter the footnote text.
21483  If you want to turn existing text into a footnote, mark it and click on
21484  the footnote
21485 \family default
21486 \series default
21487 \bar default
21488  toolbar 
21489 \family roman
21490 \series medium
21491 \bar no
21492 button
21493 \family default
21494 \series default
21495 \bar default
21496 .
21497 \end_layout
21498
21499 \begin_layout Standard
21500 Here is an example footnote:
21501 \family roman
21502 \series medium
21503 \bar no
21504
21505 \begin_inset Foot
21506 status open
21507
21508 \begin_layout Standard
21509 \begin_inset LatexCommand label
21510 name "foot:This-is-an"
21511
21512 \end_inset
21513
21514 This is an example footnote.
21515 \end_layout
21516
21517 \end_inset
21518
21519
21520 \family default
21521 \series default
21522 \bar default
21523
21524 \begin_inset ERT
21525 status collapsed
21526
21527 \begin_layout Standard
21528
21529
21530 \backslash
21531 newcounter{MyRepeatFoot}
21532 \end_layout
21533
21534 \begin_layout Standard
21535
21536
21537 \backslash
21538 setcounter{MyRepeatFoot}{
21539 \backslash
21540 thefootnote}
21541 \end_layout
21542
21543 \end_inset
21544
21545
21546 \end_layout
21547
21548 \begin_layout Standard
21549 The footnote will appear in the output as a superscript number at the text
21550  position where the footnote box is placed.
21551  The footnote text is placed at the bottom of the current page.
21552  The footnote number is calculated by LaTeX, the numbers are consecutive.
21553  It depends on your document-class, if the footnote number is reset for
21554  every chapter.
21555 \end_layout
21556
21557 \begin_layout Standard
21558 Footnotes can be referenced like floats: Insert a label into the footnote
21559  and cross-reference this label in the text as described in section\InsetSpace ~
21560
21561 \begin_inset LatexCommand ref
21562 reference "sec:Referencing-Floats"
21563
21564 \end_inset
21565
21566 .
21567 \newline
21568 This is a cross-reference of Footnote\InsetSpace ~
21569
21570 \begin_inset LatexCommand ref
21571 reference "foot:This-is-an"
21572
21573 \end_inset
21574
21575 .
21576 \newline
21577
21578 \begin_inset Note Greyedout
21579 status open
21580
21581 \begin_layout Standard
21582
21583 \series bold
21584 Note:
21585 \series default
21586  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21587  e.\InsetSpace \thinspace{}
21588 g.\InsetSpace ~
21589 the prefix 
21590 \family sans
21591
21592 \begin_inset Quotes eld
21593 \end_inset
21594
21595 foot:
21596 \family default
21597
21598 \begin_inset Quotes erd
21599 \end_inset
21600
21601  manually when you want to use the reference style 
21602 \family sans
21603 Formatted\InsetSpace ~
21604 reference
21605 \family default
21606 .
21607 \end_layout
21608
21609 \end_inset
21610
21611
21612 \end_layout
21613
21614 \begin_layout Standard
21615 \begin_inset VSpace defskip
21616 \end_inset
21617
21618 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21619
21620 \begin_inset LatexCommand ref
21621 reference "sec:Minipages"
21622
21623 \end_inset
21624
21625 .
21626  Footnotes within longtables are described in section\InsetSpace ~
21627
21628 \begin_inset LatexCommand ref
21629 reference "sub:Footnotes-in-Longtables"
21630
21631 \end_inset
21632
21633 .
21634 \end_layout
21635
21636 \begin_layout Standard
21637 \begin_inset VSpace defskip
21638 \end_inset
21639
21640 To create only a mark for a footnote, use the command 
21641 \series bold
21642
21643 \backslash
21644 footnotemark[number]
21645 \series default
21646  in ERT.
21647  This is used when you have the same annotation several times in a text
21648  but doesn't want to print the footnote text every time.
21649 \newline
21650 As you don't know
21651  the number of the repeating footnote while you are writing the text, you
21652  have to store its number.
21653  For the following footnote mark example, these commands were inserted in
21654  ERT behind Footnote\InsetSpace ~
21655
21656 \begin_inset LatexCommand ref
21657 reference "foot:This-is-an"
21658
21659 \end_inset
21660
21661  to store the footnote number:
21662 \end_layout
21663
21664 \begin_layout Standard
21665
21666 \series bold
21667
21668 \backslash
21669 newcounter{MyRepeatFoot}
21670 \newline
21671
21672 \backslash
21673 setcounter{MyRepeatFoot}{
21674 \backslash
21675 thefootnote}
21676 \end_layout
21677
21678 \begin_layout Standard
21679 The footnote mark was then created with this command:
21680 \end_layout
21681
21682 \begin_layout Standard
21683
21684 \series bold
21685
21686 \backslash
21687 footnotemark[
21688 \backslash
21689 theMyRepeatFoot]
21690 \end_layout
21691
21692 \begin_layout Standard
21693 Here is an example footnote mark:
21694 \family roman
21695 \series medium
21696 \bar no
21697
21698 \begin_inset ERT
21699 status collapsed
21700
21701 \begin_layout Standard
21702
21703
21704 \backslash
21705 footnotemark[
21706 \backslash
21707 theMyRepeatFoot]
21708 \end_layout
21709
21710 \end_inset
21711
21712
21713 \end_layout
21714
21715 \begin_layout Subsection
21716 Footnote Numbering
21717 \begin_inset LatexCommand label
21718 name "sub:Footnote-Numbering"
21719
21720 \end_inset
21721
21722
21723 \begin_inset LatexCommand index
21724 name "Footnotes ! Numbering"
21725
21726 \end_inset
21727
21728
21729 \end_layout
21730
21731 \begin_layout Standard
21732 If you want to have footnotes numbered in the scheme 
21733 \begin_inset Quotes eld
21734 \end_inset
21735
21736 chapter.footnote
21737 \begin_inset Quotes erd
21738 \end_inset
21739
21740 , add the following command to your document preamble:
21741 \end_layout
21742
21743 \begin_layout Standard
21744
21745 \series bold
21746
21747 \backslash
21748 numberwithin{footnote}{chapter}
21749 \end_layout
21750
21751 \begin_layout Standard
21752 To be able to use the command 
21753 \series bold
21754
21755 \backslash
21756 numberwithin
21757 \series default
21758 , set in the tab 
21759 \family sans
21760 Math\InsetSpace ~
21761 Options
21762 \family default
21763  in the document settings the option 
21764 \family sans
21765 Use\InsetSpace ~
21766 AMS\InsetSpace ~
21767 math\InsetSpace ~
21768 package
21769 \family default
21770 .
21771 \end_layout
21772
21773 \begin_layout Standard
21774 \begin_inset ERT
21775 status collapsed
21776
21777 \begin_layout Standard
21778
21779
21780 \backslash
21781 numberwithin{footnote}{chapter}
21782 \end_layout
21783
21784 \end_inset
21785
21786 This is another example footnote:
21787 \series bold
21788
21789 \begin_inset Foot
21790 status open
21791
21792 \begin_layout Standard
21793 This is a footnote numbered in the scheme 
21794 \begin_inset Quotes eld
21795 \end_inset
21796
21797 chapter.footnote
21798 \begin_inset Quotes erd
21799 \end_inset
21800
21801 .
21802 \end_layout
21803
21804 \end_inset
21805
21806
21807 \series default
21808
21809 \begin_inset ERT
21810 status collapsed
21811
21812 \begin_layout Standard
21813
21814
21815 \backslash
21816 numberwithin{footnote}{part}
21817 \end_layout
21818
21819 \end_inset
21820
21821
21822 \end_layout
21823
21824 \begin_layout Standard
21825 \begin_inset VSpace bigskip
21826 \end_inset
21827
21828
21829 \end_layout
21830
21831 \begin_layout Standard
21832 To reset the footnote number back to 1 after each section
21833 \family roman
21834 , add this command to your document preamble:
21835 \end_layout
21836
21837 \begin_layout Standard
21838
21839 \series bold
21840
21841 \backslash
21842 @addtoreset{footnote}{section}
21843 \end_layout
21844
21845 \begin_layout Standard
21846 \begin_inset VSpace bigskip
21847 \end_inset
21848
21849 The following preamble command changes the footnote numbering style to small
21850  roman numerals:
21851 \end_layout
21852
21853 \begin_layout Standard
21854
21855 \series bold
21856
21857 \backslash
21858 renewcommand{
21859 \backslash
21860 thefootnote}{
21861 \backslash
21862 roman{footnote}}
21863 \end_layout
21864
21865 \begin_layout Standard
21866 \begin_inset ERT
21867 status collapsed
21868
21869 \begin_layout Standard
21870
21871
21872 \backslash
21873 renewcommand{
21874 \backslash
21875 thefootnote}{
21876 \backslash
21877 roman{footnote}}
21878 \end_layout
21879
21880 \end_inset
21881
21882  This is a footnote with roman numbering:
21883 \begin_inset Foot
21884 status open
21885
21886 \begin_layout Standard
21887 This is an example footnote with roman numbering.
21888 \end_layout
21889
21890 \end_inset
21891
21892
21893 \begin_inset ERT
21894 status collapsed
21895
21896 \begin_layout Standard
21897
21898
21899 \backslash
21900 renewcommand{
21901 \backslash
21902 thefootnote}{
21903 \backslash
21904 arabic{footnote}}
21905 \end_layout
21906
21907 \end_inset
21908
21909
21910 \end_layout
21911
21912 \begin_layout Standard
21913 To change the numbering style to capital roman numerals replace in the command
21914  above 
21915 \series bold
21916
21917 \backslash
21918 roman
21919 \series default
21920  by 
21921 \series bold
21922
21923 \backslash
21924 Roman
21925 \series default
21926 .
21927  To 
21928 \begin_inset Quotes eld
21929 \end_inset
21930
21931 number
21932 \begin_inset Quotes erd
21933 \end_inset
21934
21935  footnotes with capital or small Latin letters use 
21936 \series bold
21937
21938 \backslash
21939 Alph
21940 \series default
21941  or 
21942 \series bold
21943
21944 \backslash
21945 alph
21946 \series default
21947 , respectively.
21948  To 
21949 \begin_inset Quotes eld
21950 \end_inset
21951
21952 number
21953 \begin_inset Quotes erd
21954 \end_inset
21955
21956  footnotes with symbols use 
21957 \series bold
21958
21959 \backslash
21960 fnsymbol
21961 \series default
21962 .
21963 \end_layout
21964
21965 \begin_layout Standard
21966 \begin_inset Note Greyedout
21967 status open
21968
21969 \begin_layout Standard
21970
21971 \series bold
21972 Note:
21973 \series default
21974  You can only number 26 footnotes with Latin letters, because this numbering
21975  is limited to single letters.
21976 \end_layout
21977
21978 \end_inset
21979
21980
21981 \newline
21982
21983 \begin_inset Note Greyedout
21984 status open
21985
21986 \begin_layout Standard
21987
21988 \series bold
21989 Note:
21990 \series default
21991  You can only number 9 footnotes with symbols.
21992 \end_layout
21993
21994 \end_inset
21995
21996
21997 \end_layout
21998
21999 \begin_layout Standard
22000 To return to the default numbering style when you changed to another one,
22001  use 
22002 \series bold
22003
22004 \backslash
22005 arabic
22006 \series default
22007  instead of 
22008 \series bold
22009
22010 \backslash
22011 roman
22012 \series default
22013  in the command above.
22014 \end_layout
22015
22016 \begin_layout Subsection
22017 Footnote Placement
22018 \begin_inset LatexCommand index
22019 name "Footnotes ! Placement"
22020
22021 \end_inset
22022
22023
22024 \end_layout
22025
22026 \begin_layout Standard
22027 If you have several footnotes in one page, they appear without vertical
22028  space between them at the bottom of the page.
22029  To make them better readable you can e.\InsetSpace \thinspace{}
22030 g.\InsetSpace ~
22031 add 1.5\InsetSpace \thinspace{}
22032 mm space with the following
22033  preamble command:
22034 \end_layout
22035
22036 \begin_layout Standard
22037
22038 \series bold
22039
22040 \backslash
22041 let
22042 \backslash
22043 myFoot
22044 \backslash
22045 footnote
22046 \newline
22047
22048 \backslash
22049 renewcommand{
22050 \backslash
22051 footnote}[1]{
22052 \backslash
22053 myFoot{#1
22054 \backslash
22055 vspace{1.5mm}}}
22056 \end_layout
22057
22058 \begin_layout Standard
22059 \begin_inset VSpace bigskip
22060 \end_inset
22061
22062 In a two-column document the footnotes appear at the bottom of every column,
22063  see Figure\InsetSpace ~
22064
22065 \begin_inset LatexCommand ref
22066 reference "fig:Standard-footnote-placement"
22067
22068 \end_inset
22069
22070 .
22071  If the footnotes should only appear at the bottom of the right column,
22072  as in Figure\InsetSpace ~
22073
22074 \begin_inset LatexCommand ref
22075 reference "fig:Footnote-placement-in"
22076
22077 \end_inset
22078
22079 , use the LaTeX-package 
22080 \series bold
22081 ftnright
22082 \series default
22083
22084 \begin_inset LatexCommand index
22085 name "LaTeX-packages ! ftnright"
22086
22087 \end_inset
22088
22089  with this command in the document preamble:
22090 \end_layout
22091
22092 \begin_layout Standard
22093
22094 \series bold
22095
22096 \backslash
22097 usepackage{ftnright}
22098 \end_layout
22099
22100 \begin_layout Standard
22101 \begin_inset Float figure
22102 placement !h
22103 wide false
22104 sideways false
22105 status open
22106
22107 \begin_layout Standard
22108 \begin_inset ERT
22109 status collapsed
22110
22111 \begin_layout Standard
22112
22113
22114 \backslash
22115 framebox{
22116 \end_layout
22117
22118 \end_inset
22119
22120
22121 \begin_inset Graphics
22122         filename clipart/without_fntright.pdf
22123         width 100col%
22124
22125 \end_inset
22126
22127
22128 \begin_inset ERT
22129 status collapsed
22130
22131 \begin_layout Standard
22132
22133 }
22134 \end_layout
22135
22136 \end_inset
22137
22138
22139 \end_layout
22140
22141 \begin_layout Standard
22142 \begin_inset Caption
22143
22144 \begin_layout Standard
22145 \begin_inset LatexCommand label
22146 name "fig:Standard-footnote-placement"
22147
22148 \end_inset
22149
22150 Standard footnote placement in two-column documents.
22151 \end_layout
22152
22153 \end_inset
22154
22155
22156 \end_layout
22157
22158 \end_inset
22159
22160
22161 \end_layout
22162
22163 \begin_layout Standard
22164 \begin_inset Float figure
22165 placement !h
22166 wide false
22167 sideways false
22168 status open
22169
22170 \begin_layout Standard
22171 \begin_inset ERT
22172 status collapsed
22173
22174 \begin_layout Standard
22175
22176
22177 \backslash
22178 framebox{
22179 \end_layout
22180
22181 \end_inset
22182
22183
22184 \begin_inset Graphics
22185         filename clipart/with_fntright.pdf
22186         width 100col%
22187
22188 \end_inset
22189
22190
22191 \begin_inset ERT
22192 status collapsed
22193
22194 \begin_layout Standard
22195
22196 }
22197 \end_layout
22198
22199 \end_inset
22200
22201
22202 \end_layout
22203
22204 \begin_layout Standard
22205 \begin_inset Caption
22206
22207 \begin_layout Standard
22208 \begin_inset LatexCommand label
22209 name "fig:Footnote-placement-in"
22210
22211 \end_inset
22212
22213 Footnote placement in two-column documents when the LaTeX-package 
22214 \series bold
22215 ftnright
22216 \series default
22217  is used.
22218 \end_layout
22219
22220 \end_inset
22221
22222
22223 \end_layout
22224
22225 \end_inset
22226
22227
22228 \end_layout
22229
22230 \begin_layout Standard
22231 \begin_inset VSpace bigskip
22232 \end_inset
22233
22234 In some scientific literature it is usual to collect the footnotes and print
22235  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22236
22237 \begin_inset LatexCommand ref
22238 reference "fig:Endnotes----footnotes"
22239
22240 \end_inset
22241
22242 .
22243  They are then so called 
22244 \begin_inset Quotes eld
22245 \end_inset
22246
22247 endnotes
22248 \begin_inset Quotes erd
22249 \end_inset
22250
22251 .
22252  To use endnotes instead of footnotes in your document, load the LaTeX-package
22253  
22254 \series bold
22255 endnotes
22256 \series default
22257
22258 \begin_inset LatexCommand index
22259 name "LaTeX-packages ! endnotes"
22260
22261 \end_inset
22262
22263  with the document preamble lines
22264 \end_layout
22265
22266 \begin_layout Standard
22267
22268 \series bold
22269
22270 \backslash
22271 usepackage{endnotes}
22272 \newline
22273
22274 \backslash
22275 let
22276 \backslash
22277 footnote
22278 \backslash
22279 endnote
22280 \end_layout
22281
22282 \begin_layout Standard
22283 To insert the collected footnotes, insert the command
22284 \end_layout
22285
22286 \begin_layout Standard
22287
22288 \series bold
22289
22290 \backslash
22291 theendnotes
22292 \end_layout
22293
22294 \begin_layout Standard
22295 in ERT at the the end of a section or chapter.
22296 \end_layout
22297
22298 \begin_layout Standard
22299 \begin_inset Float figure
22300 wide false
22301 sideways false
22302 status open
22303
22304 \begin_layout Standard
22305 \align center
22306 \begin_inset ERT
22307 status collapsed
22308
22309 \begin_layout Standard
22310
22311
22312 \backslash
22313 framebox{
22314 \end_layout
22315
22316 \end_inset
22317
22318
22319 \begin_inset Graphics
22320         filename clipart/endnotes.pdf
22321
22322 \end_inset
22323
22324
22325 \begin_inset ERT
22326 status collapsed
22327
22328 \begin_layout Standard
22329
22330 }
22331 \end_layout
22332
22333 \end_inset
22334
22335
22336 \end_layout
22337
22338 \begin_layout Standard
22339 \begin_inset Caption
22340
22341 \begin_layout Standard
22342 \begin_inset LatexCommand label
22343 name "fig:Endnotes----footnotes"
22344
22345 \end_inset
22346
22347 Endnotes -- footnotes are printed in a separate paragraph at the end of
22348  sections or chapters.
22349 \end_layout
22350
22351 \end_inset
22352
22353
22354 \end_layout
22355
22356 \end_inset
22357
22358
22359 \end_layout
22360
22361 \begin_layout Standard
22362 \begin_inset VSpace defskip
22363 \end_inset
22364
22365 The paragraph heading for the endnotes isn't automatically translated into
22366  the document language, this must be done manually.
22367  The following preamble command translate the default English name 
22368 \begin_inset Quotes eld
22369 \end_inset
22370
22371 Notes
22372 \begin_inset Quotes erd
22373 \end_inset
22374
22375  to the German translation 
22376 \begin_inset Quotes eld
22377 \end_inset
22378
22379 Anmerkungen
22380 \begin_inset Quotes erd
22381 \end_inset
22382
22383 :
22384 \end_layout
22385
22386 \begin_layout Standard
22387
22388 \series bold
22389
22390 \backslash
22391 renewcommand{
22392 \backslash
22393 notesname}{Anmerkungen}
22394 \end_layout
22395
22396 \begin_layout Standard
22397 \begin_inset VSpace defskip
22398 \end_inset
22399
22400 The numbering of endnotes can be changed like the footnote numbering as
22401  described in section\InsetSpace ~
22402
22403 \begin_inset LatexCommand ref
22404 reference "sub:Footnote-Numbering"
22405
22406 \end_inset
22407
22408 ; just replace the command 
22409 \series bold
22410
22411 \backslash
22412 thefootnote
22413 \series default
22414  by 
22415 \series bold
22416
22417 \backslash
22418 theendnote
22419 \series default
22420 .
22421  To reset the endnote number use the command 
22422 \series bold
22423
22424 \backslash
22425 @addtoreset
22426 \series default
22427  as described in section\InsetSpace ~
22428
22429 \begin_inset LatexCommand ref
22430 reference "sub:Footnote-Numbering"
22431
22432 \end_inset
22433
22434  and replace the command parameter 
22435 \series bold
22436 footnote
22437 \series default
22438  by 
22439 \series bold
22440 endnote
22441 \series default
22442 .
22443 \end_layout
22444
22445 \begin_layout Standard
22446 To create only a mark for an endnote, use the command 
22447 \series bold
22448
22449 \backslash
22450 endnotemark[number]
22451 \series default
22452  similar to the command 
22453 \series bold
22454
22455 \backslash
22456 footnotemark
22457 \series default
22458 , described in section\InsetSpace ~
22459
22460 \begin_inset LatexCommand ref
22461 reference "sec:Footnotes"
22462
22463 \end_inset
22464
22465 .
22466 \end_layout
22467
22468 \begin_layout Standard
22469 \begin_inset VSpace bigskip
22470 \end_inset
22471
22472 Footnotes can also be placed in the page margin and the footnote text alignment
22473  can be changed, see the LaTeX-package 
22474 \series bold
22475 footmisc
22476 \series default
22477
22478 \begin_inset LatexCommand index
22479 name "LaTeX-packages ! footmisc"
22480
22481 \end_inset
22482
22483
22484 \begin_inset LatexCommand cite
22485 key "footmisc"
22486
22487 \end_inset
22488
22489  for more information about this.
22490 \end_layout
22491
22492 \begin_layout Standard
22493 For various further footnote formatting issues have a look at LaTeX-books,
22494  
22495 \begin_inset LatexCommand cite
22496 key "latexcompanion,latexguide,latexbook"
22497
22498 \end_inset
22499
22500 .
22501 \end_layout
22502
22503 \begin_layout Section
22504 Margin Notes
22505 \begin_inset LatexCommand index
22506 name "Notes ! Margin Notes"
22507
22508 \end_inset
22509
22510
22511 \end_layout
22512
22513 \begin_layout Standard
22514 Margin notes look and behave in LyX like footnotes.
22515  They are inserted via the menu 
22516 \family sans
22517 Insert\SpecialChar \menuseparator
22518 Marginal\InsetSpace ~
22519 Note
22520 \family default
22521  or the toolbar button 
22522 \begin_inset Graphics
22523         filename ../images/marginalnote-insert.xpm
22524         scale 85
22525
22526 \end_inset
22527
22528 .
22529  A grey 
22530 \family roman
22531 \series medium
22532 box with the
22533 \family default
22534 \series default
22535  red 
22536 \family roman
22537 \series medium
22538 label 
22539 \begin_inset Quotes eld
22540 \end_inset
22541
22542 margin
22543 \begin_inset Quotes erd
22544 \end_inset
22545
22546  appears where you can enter the text of the margin note.
22547 \end_layout
22548
22549 \begin_layout Standard
22550 At the side is an example margin note.
22551 \family roman
22552 \series medium
22553
22554 \begin_inset Marginal
22555 status open
22556
22557 \begin_layout Standard
22558 This is a margin note.
22559 \end_layout
22560
22561 \end_inset
22562
22563
22564 \end_layout
22565
22566 \begin_layout Standard
22567 Margin notes appear at the right side in single-sided documents.
22568  In double-sided documents they appear in the outer margin -- left on even
22569  pages, right on odd pages.
22570  The text of margin notes is aligned opposite to the outer margin -- right-align
22571 ed when the note appears in the left margin.
22572  The first line of the margin note is placed at the position of the text
22573  line where it is inserted in the document.
22574 \end_layout
22575
22576 \begin_layout Standard
22577 \begin_inset VSpace bigskip
22578 \end_inset
22579
22580 To place the margin note in the inner margin, add the command
22581 \end_layout
22582
22583 \begin_layout Standard
22584
22585 \series bold
22586
22587 \backslash
22588 reversemarginpar
22589 \end_layout
22590
22591 \begin_layout Standard
22592 in ERT before a margin note.
22593  The new placement is valid for all following margin notes.
22594 \begin_inset ERT
22595 status collapsed
22596
22597 \begin_layout Standard
22598
22599
22600 \backslash
22601 reversemarginpar 
22602 \end_layout
22603
22604 \end_inset
22605
22606
22607 \begin_inset Marginal
22608 status open
22609
22610 \begin_layout Standard
22611 This is a margin note in the inner margin.
22612 \end_layout
22613
22614 \end_inset
22615
22616
22617 \series bold
22618
22619 \newline
22620
22621 \series default
22622
22623 \begin_inset Note Greyedout
22624 status open
22625
22626 \begin_layout Standard
22627
22628 \series bold
22629 Note:
22630 \series default
22631  There is often not enough space in the inner margin so that the notes are
22632  not correctly displayed in the output.
22633 \end_layout
22634
22635 \end_inset
22636
22637
22638 \end_layout
22639
22640 \begin_layout Standard
22641 \begin_inset ERT
22642 status collapsed
22643
22644 \begin_layout Standard
22645
22646
22647 \backslash
22648 normalmarginpar 
22649 \end_layout
22650
22651 \end_inset
22652
22653 To return to the default placement insert the command
22654 \end_layout
22655
22656 \begin_layout Standard
22657
22658 \series bold
22659
22660 \backslash
22661 normalmarginpar
22662 \end_layout
22663
22664 \begin_layout Standard
22665 in ERT.
22666  
22667 \begin_inset Note Greyedout
22668 status open
22669
22670 \begin_layout Standard
22671
22672 \series bold
22673 Note:
22674 \series default
22675  The command is ignored when it is within a paragraph where also the command
22676  
22677 \series bold
22678
22679 \backslash
22680 reversemarginpar
22681 \series default
22682  is inserted.
22683 \end_layout
22684
22685 \end_inset
22686
22687
22688 \end_layout
22689
22690 \begin_layout Standard
22691 \begin_inset VSpace bigskip
22692 \end_inset
22693
22694
22695 \family roman
22696 \series medium
22697
22698 \begin_inset Marginal
22699 status open
22700
22701 \begin_layout Standard
22702 AVeryLongMarginParWord that isn't hyphenated.
22703 \end_layout
22704
22705 \end_inset
22706
22707
22708 \family default
22709 \series default
22710 Similar to the case described in section\InsetSpace ~
22711
22712 \begin_inset LatexCommand ref
22713 reference "sub:Multiple-Lines-in"
22714
22715 \end_inset
22716
22717 , long words cannot be hyphenated when they are the first word in a margin
22718  note.
22719  To avoid this, insert the command
22720 \end_layout
22721
22722 \begin_layout Standard
22723
22724 \series bold
22725
22726 \backslash
22727 hspace{0pt}
22728 \end_layout
22729
22730 \begin_layout Standard
22731 in ERT before the word
22732 \family roman
22733 \series medium
22734 .
22735 \begin_inset Marginal
22736 status open
22737
22738 \begin_layout Standard
22739 \begin_inset ERT
22740 status collapsed
22741
22742 \begin_layout Standard
22743
22744
22745 \backslash
22746 hspace{0pt}
22747 \end_layout
22748
22749 \end_inset
22750
22751 AVeryLongMarginParWord that is hyphenated.
22752 \end_layout
22753
22754 \end_inset
22755
22756
22757 \end_layout
22758
22759 \begin_layout Standard
22760 \begin_inset VSpace bigskip
22761 \end_inset
22762
22763
22764 \end_layout
22765
22766 \begin_layout Standard
22767 \begin_inset Note Greyedout
22768 status open
22769
22770 \begin_layout Standard
22771
22772 \series bold
22773 Note:
22774 \series default
22775  Margin notes can normally not be used inside tables, floats, and footnotes.
22776 \end_layout
22777
22778 \end_inset
22779
22780
22781 \end_layout
22782
22783 \begin_layout Standard
22784 \begin_inset VSpace bigskip
22785 \end_inset
22786
22787
22788 \end_layout
22789
22790 \begin_layout Standard
22791 \begin_inset ERT
22792 status collapsed
22793
22794 \begin_layout Standard
22795
22796
22797 \backslash
22798 ifmarginnote
22799 \end_layout
22800
22801 \end_inset
22802
22803
22804 \begin_inset Note Note
22805 status open
22806
22807 \begin_layout Standard
22808 The following section will only be displayed when you have the LaTeX-package
22809  
22810 \series bold
22811 marginnote
22812 \series default
22813  is installed.
22814 \end_layout
22815
22816 \end_inset
22817
22818
22819 \end_layout
22820
22821 \begin_layout Standard
22822 This restriction can be evaded by using the LaTeX-package 
22823 \series bold
22824 marginnote
22825 \series default
22826
22827 \begin_inset LatexCommand index
22828 name "LaTeX-packages ! marginnote"
22829
22830 \end_inset
22831
22832 .
22833  By adding these two lines to your document preamble, the command used by
22834  LyX for margin notes is redefined to use the command provided by the 
22835 \series bold
22836 marginnote
22837 \series default
22838 -package:
22839 \end_layout
22840
22841 \begin_layout Standard
22842
22843 \series bold
22844
22845 \backslash
22846 usepackage{marginnote}
22847 \newline
22848
22849 \backslash
22850 let
22851 \backslash
22852 marginpar
22853 \backslash
22854 marginnote
22855 \end_layout
22856
22857 \begin_layout Standard
22858 This is also used in this document because 
22859 \series bold
22860 marginnote
22861 \series default
22862  has another useful feature: You can set a vertical offset for the note.
22863  This is often needed when too many margin notes are too close together
22864  or for a better page layout.
22865  The offset is set in LyX as ERT directly behind the margin note in the
22866  scheme
22867 \end_layout
22868
22869 \begin_layout Standard
22870
22871 \series bold
22872 [offset]
22873 \end_layout
22874
22875 \begin_layout Standard
22876 where the offset is a length with one of the units listed in Table\InsetSpace ~
22877
22878 \begin_inset LatexCommand ref
22879 reference "tab:Units"
22880
22881 \end_inset
22882
22883 .
22884  A negative value shifts the note up, a positive value shifts it down.
22885  
22886 \family roman
22887 \series medium
22888 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22889 cm with
22890  the ERT-command 
22891 \begin_inset Quotes eld
22892 \end_inset
22893
22894
22895 \family default
22896 \series bold
22897 [-1.5cm]
22898 \family roman
22899 \series medium
22900
22901 \begin_inset Quotes erd
22902 \end_inset
22903
22904
22905 \begin_inset Marginal
22906 status open
22907
22908 \begin_layout Standard
22909 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22910 cm from its original position.
22911 \end_layout
22912
22913 \end_inset
22914
22915
22916 \family default
22917 \series default
22918
22919 \begin_inset ERT
22920 status collapsed
22921
22922 \begin_layout Standard
22923
22924 [-1.5cm]
22925 \end_layout
22926
22927 \end_inset
22928
22929
22930 \end_layout
22931
22932 \begin_layout Standard
22933 \begin_inset VSpace defskip
22934 \end_inset
22935
22936 With 
22937 \series bold
22938 marginnote
22939 \series default
22940  you can also change the alignment of the text in the margin note.
22941  For example the commands
22942 \end_layout
22943
22944 \begin_layout Standard
22945
22946 \series bold
22947
22948 \backslash
22949 renewcommand*{
22950 \backslash
22951 raggedleftmarginnote}{
22952 \backslash
22953 centering}
22954 \newline
22955
22956 \backslash
22957 renewcommand*{
22958 \backslash
22959 raggedrightmarginnote}{
22960 \backslash
22961 centering}
22962 \end_layout
22963
22964 \begin_layout Standard
22965 set the alignment to centered.
22966  
22967 \series bold
22968
22969 \backslash
22970 raggedleftmarginnote
22971 \series default
22972  denotes margin notes that appear at the left side.
22973 \family roman
22974 \series medium
22975
22976 \begin_inset ERT
22977 status collapsed
22978
22979 \begin_layout Standard
22980
22981
22982 \backslash
22983 renewcommand*{
22984 \backslash
22985 raggedleftmarginnote}{
22986 \backslash
22987 centering}
22988 \end_layout
22989
22990 \begin_layout Standard
22991
22992
22993 \backslash
22994 renewcommand*{
22995 \backslash
22996 raggedrightmarginnote}{
22997 \backslash
22998 centering}
22999 \end_layout
23000
23001 \end_inset
23002
23003
23004 \begin_inset Marginal
23005 status open
23006
23007 \begin_layout Standard
23008 The text of this margin note is centered.
23009 \end_layout
23010
23011 \end_inset
23012
23013
23014 \family default
23015 \series default
23016  The default is
23017 \end_layout
23018
23019 \begin_layout Standard
23020
23021 \series bold
23022
23023 \backslash
23024 renewcommand*{
23025 \backslash
23026 raggedleftmarginnote}{
23027 \backslash
23028 raggedleft}
23029 \newline
23030
23031 \backslash
23032 renewcommand*{
23033 \backslash
23034 raggedrightmarginnote}{
23035 \backslash
23036 raggedright}
23037 \family roman
23038 \series medium
23039
23040 \begin_inset ERT
23041 status collapsed
23042
23043 \begin_layout Standard
23044
23045
23046 \backslash
23047 renewcommand*{
23048 \backslash
23049 raggedleftmarginnote}{
23050 \backslash
23051 raggedleft}
23052 \end_layout
23053
23054 \begin_layout Standard
23055
23056
23057 \backslash
23058 renewcommand*{
23059 \backslash
23060 raggedrightmarginnote}{
23061 \backslash
23062 raggedright}
23063 \end_layout
23064
23065 \end_inset
23066
23067
23068 \end_layout
23069
23070 \begin_layout Standard
23071 \begin_inset VSpace defskip
23072 \end_inset
23073
23074 For the other features of 
23075 \series bold
23076 marginnote
23077 \series default
23078  we refer to its documentation 
23079 \begin_inset LatexCommand cite
23080 key "marginnote"
23081
23082 \end_inset
23083
23084 .
23085 \end_layout
23086
23087 \begin_layout Standard
23088 \begin_inset VSpace bigskip
23089 \end_inset
23090
23091 You can change the layout of margin notes by redefining its definition.
23092  To create for example a header for all margin notes with the underlined,
23093  sans-serif, and bold header text 
23094 \begin_inset Quotes eld
23095 \end_inset
23096
23097
23098 \family sans
23099 \series bold
23100 \bar under
23101 Attention!
23102 \family default
23103 \series default
23104 \bar default
23105
23106 \begin_inset Quotes erd
23107 \end_inset
23108
23109 , add this to your document preamble:
23110 \end_layout
23111
23112 \begin_layout Standard
23113
23114 \series bold
23115
23116 \backslash
23117 let
23118 \backslash
23119 myMarginpar
23120 \backslash
23121 marginpar
23122 \newline
23123
23124 \backslash
23125 renewcommand{
23126 \backslash
23127 marginpar}[1]{
23128 \backslash
23129 myMarginpar{%
23130 \newline
23131
23132 \begin_inset ERT
23133 status collapsed
23134
23135 \begin_layout Standard
23136
23137
23138 \backslash
23139 hphantom{ }
23140 \end_layout
23141
23142 \end_inset
23143
23144
23145 \backslash
23146 hspace{0pt}
23147 \backslash
23148 textsf{
23149 \backslash
23150 textbf{
23151 \backslash
23152 underbar{Attention!}}}%
23153 \newline
23154
23155 \begin_inset ERT
23156 status collapsed
23157
23158 \begin_layout Standard
23159
23160
23161 \backslash
23162 hphantom{ }
23163 \end_layout
23164
23165 \end_inset
23166
23167
23168 \backslash
23169 vspace{1.5mm}
23170 \backslash
23171
23172 \backslash
23173 #1}}
23174 \end_layout
23175
23176 \begin_layout Standard
23177
23178 \family roman
23179 \series medium
23180 \begin_inset ERT
23181 status collapsed
23182
23183 \begin_layout Standard
23184
23185
23186 \backslash
23187 let
23188 \backslash
23189 myMarginpar
23190 \backslash
23191 marginpar
23192 \end_layout
23193
23194 \begin_layout Standard
23195
23196
23197 \backslash
23198 renewcommand{
23199 \backslash
23200 marginpar}[1]{
23201 \backslash
23202 myMarginpar{%
23203 \end_layout
23204
23205 \begin_layout Standard
23206
23207    
23208 \backslash
23209 textsf{
23210 \backslash
23211 textbf{
23212 \backslash
23213 underbar{Attention!}}}%
23214 \end_layout
23215
23216 \begin_layout Standard
23217
23218    
23219 \backslash
23220 vspace{1.5mm}
23221 \backslash
23222
23223 \backslash
23224 #1}}
23225 \end_layout
23226
23227 \end_inset
23228
23229
23230 \begin_inset Marginal
23231 status open
23232
23233 \begin_layout Standard
23234 This is a margin note with a defined heading.
23235 \end_layout
23236
23237 \end_inset
23238
23239
23240 \family default
23241 \series default
23242
23243 \begin_inset ERT
23244 status collapsed
23245
23246 \begin_layout Standard
23247
23248 [-1.5cm]
23249 \end_layout
23250
23251 \end_inset
23252
23253
23254 \family roman
23255 \series medium
23256
23257 \begin_inset ERT
23258 status collapsed
23259
23260 \begin_layout Standard
23261
23262
23263 \backslash
23264 renewcommand{
23265 \backslash
23266 marginpar}[1]{
23267 \backslash
23268 myMarginpar{#1}}
23269 \end_layout
23270
23271 \end_inset
23272
23273
23274 \family default
23275 \series default
23276
23277 \begin_inset Note Note
23278 status collapsed
23279
23280 \begin_layout Standard
23281 The margin note format is changed only for this example.
23282 \end_layout
23283
23284 \end_inset
23285
23286
23287 \end_layout
23288
23289 \begin_layout Standard
23290 \begin_inset ERT
23291 status collapsed
23292
23293 \begin_layout Standard
23294
23295
23296 \backslash
23297 else
23298 \end_layout
23299
23300 \end_inset
23301
23302
23303 \begin_inset Note Note
23304 status open
23305
23306 \begin_layout Standard
23307 The following will be displayed when the LaTeX-package 
23308 \series bold
23309 marginnote
23310 \series default
23311  is not installed:
23312 \end_layout
23313
23314 \end_inset
23315
23316
23317 \end_layout
23318
23319 \begin_layout Standard
23320 You need to install the LaTeX-package 
23321 \series bold
23322 marginnote
23323 \series default
23324  to see the following part of this section in the output.
23325 \end_layout
23326
23327 \begin_layout Standard
23328 \begin_inset ERT
23329 status collapsed
23330
23331 \begin_layout Standard
23332
23333
23334 \backslash
23335 fi
23336 \end_layout
23337
23338 \end_inset
23339
23340
23341 \end_layout
23342
23343 \begin_layout Chapter
23344 Boxes
23345 \end_layout
23346
23347 \begin_layout Section
23348 Introduction
23349 \begin_inset LatexCommand index
23350 name "Boxes ! Introduction"
23351
23352 \end_inset
23353
23354
23355 \end_layout
23356
23357 \begin_layout Standard
23358 Boxes are used to format a block of text.
23359  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23360
23361 \begin_inset LatexCommand ref
23362 reference "sec:Minipages"
23363
23364 \end_inset
23365
23366 , to frame texts, see section\InsetSpace ~
23367
23368 \begin_inset LatexCommand ref
23369 reference "sec:Framed-Boxes"
23370
23371 \end_inset
23372
23373 , to prevent words to be hyphenated, see section\InsetSpace ~
23374
23375 \begin_inset LatexCommand ref
23376 reference "sec:Prevent-Hyphenation"
23377
23378 \end_inset
23379
23380 , to align text, see section\InsetSpace ~
23381
23382 \begin_inset LatexCommand ref
23383 reference "sub:Vertical-Alignment"
23384
23385 \end_inset
23386
23387 , or to set the background color of texts, see section\InsetSpace ~
23388
23389 \begin_inset LatexCommand ref
23390 reference "sec:Colored-Boxes"
23391
23392 \end_inset
23393
23394 .
23395 \end_layout
23396
23397 \begin_layout Standard
23398 Boxes can be inserted with the menu 
23399 \family sans
23400 Insert\SpecialChar \menuseparator
23401 Box
23402 \family default
23403 .
23404  A grey box with the label 
23405 \family sans
23406 Box (Minipage)
23407 \family default
23408
23409 \begin_inset Graphics
23410         filename clipart/BoxInsetDefaultQt4.png
23411         scale 85
23412
23413 \end_inset
23414
23415 , will be inserted.
23416  The box type can be specified by right-clicking on the box.
23417  The appearing box dialog offers the 
23418 \family sans
23419 Inner\InsetSpace ~
23420 Box
23421 \family default
23422  types 
23423 \family sans
23424 Parbox
23425 \family default
23426  and 
23427 \family sans
23428 Minipage
23429 \family default
23430 .
23431  The type 
23432 \family sans
23433 Minipage
23434 \family default
23435  is the default for new boxes and is explained in section\InsetSpace ~
23436
23437 \begin_inset LatexCommand ref
23438 reference "sec:Minipages"
23439
23440 \end_inset
23441
23442 ; the type 
23443 \family sans
23444 Parbox
23445 \family default
23446  is described in section\InsetSpace ~
23447
23448 \begin_inset LatexCommand ref
23449 reference "sec:Parboxes"
23450
23451 \end_inset
23452
23453 .
23454 \end_layout
23455
23456 \begin_layout Standard
23457 Boxes aren't numbered and can therefore not be referenced like floats or
23458  footnotes.
23459 \end_layout
23460
23461 \begin_layout Standard
23462 \begin_inset Note Greyedout
23463 status open
23464
23465 \begin_layout Standard
23466
23467 \series bold
23468 Note:
23469 \series default
23470  Due to a bug in LyX you have to insert a protected space behind a box when
23471  you want to separate in a line the box from the following text with a space.
23472 \end_layout
23473
23474 \end_inset
23475
23476
23477 \end_layout
23478
23479 \begin_layout Standard
23480 \begin_inset Note Greyedout
23481 status open
23482
23483 \begin_layout Standard
23484
23485 \series bold
23486 Note:
23487 \series default
23488  Boxes must not be the item in an 
23489 \family sans
23490 Itemize
23491 \family default
23492  or 
23493 \family sans
23494 Description
23495 \family default
23496  environment.
23497 \end_layout
23498
23499 \end_inset
23500
23501
23502 \end_layout
23503
23504 \begin_layout Standard
23505 \begin_inset Note Greyedout
23506 status open
23507
23508 \begin_layout Standard
23509
23510 \series bold
23511 Note:
23512 \series default
23513  For an unknown reason you can only set the 
23514 \family sans
23515 Inner\InsetSpace ~
23516 Box
23517 \family default
23518  type to 
23519 \family sans
23520 None
23521 \family default
23522  when you use a framed box.
23523  Boxes without an 
23524 \family sans
23525 Inner\InsetSpace ~
23526 Box
23527 \family default
23528  type and without frames are explained in section\InsetSpace ~
23529
23530 \begin_inset LatexCommand ref
23531 reference "sec:Prevent-Hyphenation"
23532
23533 \end_inset
23534
23535 .
23536 \end_layout
23537
23538 \end_inset
23539
23540
23541 \end_layout
23542
23543 \begin_layout Section
23544 Box Dialog
23545 \begin_inset LatexCommand label
23546 name "sec:Box-Dialog"
23547
23548 \end_inset
23549
23550
23551 \begin_inset LatexCommand index
23552 name "Boxes ! Box Dialog"
23553
23554 \end_inset
23555
23556
23557 \begin_inset LatexCommand index
23558 name "Boxes ! Alignment"
23559
23560 \end_inset
23561
23562
23563 \end_layout
23564
23565 \begin_layout Standard
23566 In the box dialog you can adjust the box geometry in the fields 
23567 \family sans
23568 Width
23569 \family default
23570  and 
23571 \family sans
23572 Height
23573 \family default
23574 .
23575  The available units for the geometry are explained in Table\InsetSpace ~
23576
23577 \begin_inset LatexCommand ref
23578 reference "tab:Units"
23579
23580 \end_inset
23581
23582 .
23583  The field 
23584 \family sans
23585 Heigth
23586 \family default
23587  offers the following additional sizes:
23588 \end_layout
23589
23590 \begin_layout Description
23591 Depth This is the plain text 
23592 \begin_inset Quotes eld
23593 \end_inset
23594
23595 height
23596 \begin_inset Quotes erd
23597 \end_inset
23598
23599 .
23600  It ignores the total depth when there are multiple text lines in the box:
23601 \newline
23602
23603 \newline
23604
23605 \newline
23606
23607 \begin_inset Box Boxed
23608 position "c"
23609 hor_pos "c"
23610 has_inner_box 1
23611 inner_pos "c"
23612 use_parbox 0
23613 width "12col%"
23614 special "none"
23615 height "1in"
23616 height_special "depth"
23617 status collapsed
23618
23619 \begin_layout Standard
23620 \align center
23621 Box height set to 1\InsetSpace \thinspace{}
23622 Depth
23623 \end_layout
23624
23625 \end_inset
23626
23627
23628 \newline
23629
23630 \newline
23631
23632 \end_layout
23633
23634 \begin_layout Description
23635 Height This is the heigth of the text that is inside the box.
23636  A value of e.\InsetSpace \thinspace{}
23637 g.\InsetSpace ~
23638 2 for this size will set the box heigth to 2 times the text
23639  height: 
23640 \begin_inset Box Boxed
23641 position "c"
23642 hor_pos "c"
23643 has_inner_box 1
23644 inner_pos "c"
23645 use_parbox 0
23646 width "20col%"
23647 special "none"
23648 height "2in"
23649 height_special "height"
23650 status collapsed
23651
23652 \begin_layout Standard
23653 \align center
23654 Box height set to 2\InsetSpace \thinspace{}
23655 Height
23656 \end_layout
23657
23658 \end_inset
23659
23660
23661 \end_layout
23662
23663 \begin_layout Description
23664 Total\InsetSpace ~
23665 Height This is the Height\InsetSpace \thinspace{}
23666 +\InsetSpace \thinspace{}
23667 Depth: 
23668 \begin_inset Box Boxed
23669 position "c"
23670 hor_pos "c"
23671 has_inner_box 1
23672 inner_pos "c"
23673 use_parbox 0
23674 width "20col%"
23675 special "none"
23676 height "1in"
23677 height_special "totalheight"
23678 status collapsed
23679
23680 \begin_layout Standard
23681 \align center
23682 Box height set to 1\InsetSpace \thinspace{}
23683 Total\InsetSpace ~
23684 Height
23685 \end_layout
23686
23687 \end_inset
23688
23689
23690 \end_layout
23691
23692 \begin_layout Description
23693 Width This set the width of the box as heigth: 
23694 \begin_inset Box Boxed
23695 position "c"
23696 hor_pos "c"
23697 has_inner_box 1
23698 inner_pos "c"
23699 use_parbox 0
23700 width "12col%"
23701 special "none"
23702 height "1in"
23703 height_special "width"
23704 status collapsed
23705
23706 \begin_layout Standard
23707 \align center
23708 Box height set to 1\InsetSpace \thinspace{}
23709 Width
23710 \end_layout
23711
23712 \end_inset
23713
23714
23715 \end_layout
23716
23717 \begin_layout Standard
23718 \begin_inset VSpace bigskip
23719 \end_inset
23720
23721 When you have chosen an 
23722 \family sans
23723 Inner\InsetSpace ~
23724 Box
23725 \family default
23726 , the vertical box alignment can be:
23727 \end_layout
23728
23729 \begin_layout Description
23730 Top This is an example text line.
23731  
23732 \begin_inset Box Boxed
23733 position "t"
23734 hor_pos "c"
23735 has_inner_box 1
23736 inner_pos "c"
23737 use_parbox 0
23738 width "12col%"
23739 special "none"
23740 height "1in"
23741 height_special "totalheight"
23742 status collapsed
23743
23744 \begin_layout Standard
23745 \align center
23746 This box is top-aligned.
23747 \end_layout
23748
23749 \end_inset
23750
23751 \InsetSpace ~
23752 This is an example text line.
23753 \end_layout
23754
23755 \begin_layout Description
23756 Middle This is an example text line.
23757  
23758 \begin_inset Box Boxed
23759 position "c"
23760 hor_pos "c"
23761 has_inner_box 1
23762 inner_pos "c"
23763 use_parbox 0
23764 width "12col%"
23765 special "none"
23766 height "1in"
23767 height_special "totalheight"
23768 status collapsed
23769
23770 \begin_layout Standard
23771 \align center
23772 This box is middle-aligned.
23773 \end_layout
23774
23775 \end_inset
23776
23777 \InsetSpace ~
23778 This is an example text line.
23779 \end_layout
23780
23781 \begin_layout Description
23782 Bottom This is an example text line.
23783  
23784 \begin_inset Box Boxed
23785 position "b"
23786 hor_pos "c"
23787 has_inner_box 1
23788 inner_pos "c"
23789 use_parbox 0
23790 width "12col%"
23791 special "none"
23792 height "1in"
23793 height_special "totalheight"
23794 status collapsed
23795
23796 \begin_layout Standard
23797 \align center
23798 This box is bottom-aligned.
23799 \end_layout
23800
23801 \end_inset
23802
23803 \InsetSpace ~
23804 This is an example text line.
23805 \end_layout
23806
23807 \begin_layout Standard
23808 The horizontal box alignment can be set via LyX's paragraph dialog when
23809  you set the box into its own paragraph.
23810 \end_layout
23811
23812 \begin_layout Standard
23813 \begin_inset VSpace bigskip
23814 \end_inset
23815
23816 When you have chosen an 
23817 \family sans
23818 Inner\InsetSpace ~
23819 Box
23820 \family default
23821 , the box content can be vertical aligned to:
23822 \end_layout
23823
23824 \begin_layout Description
23825 top This is an example text line.
23826  
23827 \begin_inset Box Boxed
23828 position "c"
23829 hor_pos "c"
23830 has_inner_box 1
23831 inner_pos "t"
23832 use_parbox 0
23833 width "12col%"
23834 special "none"
23835 height "1.5in"
23836 height_special "totalheight"
23837 status collapsed
23838
23839 \begin_layout Standard
23840 \align center
23841 This box text is top-aligned.
23842 \end_layout
23843
23844 \end_inset
23845
23846 \InsetSpace ~
23847 This is an example text line.
23848 \end_layout
23849
23850 \begin_layout Description
23851 middle This is an example text line.
23852  
23853 \begin_inset Box Boxed
23854 position "c"
23855 hor_pos "c"
23856 has_inner_box 1
23857 inner_pos "c"
23858 use_parbox 0
23859 width "12col%"
23860 special "none"
23861 height "1.5in"
23862 height_special "totalheight"
23863 status collapsed
23864
23865 \begin_layout Standard
23866 \align center
23867 This box text is middle-aligned.
23868 \end_layout
23869
23870 \end_inset
23871
23872 \InsetSpace ~
23873 This is an example text line.
23874 \end_layout
23875
23876 \begin_layout Description
23877 bottom This is an example text line.
23878  
23879 \begin_inset Box Boxed
23880 position "c"
23881 hor_pos "c"
23882 has_inner_box 1
23883 inner_pos "b"
23884 use_parbox 0
23885 width "12col%"
23886 special "none"
23887 height "1.5in"
23888 height_special "totalheight"
23889 status collapsed
23890
23891 \begin_layout Standard
23892 \align center
23893 This box text is bottom-aligned.
23894 \end_layout
23895
23896 \end_inset
23897
23898 \InsetSpace ~
23899 This is an example text line.
23900 \end_layout
23901
23902 \begin_layout Description
23903 stretch This is an example text line.
23904  
23905 \begin_inset Box Boxed
23906 position "c"
23907 hor_pos "c"
23908 has_inner_box 1
23909 inner_pos "s"
23910 use_parbox 0
23911 width "12col%"
23912 special "none"
23913 height "1.5in"
23914 height_special "totalheight"
23915 status collapsed
23916
23917 \begin_layout Standard
23918 \align center
23919 This box
23920 \end_layout
23921
23922 \begin_layout Standard
23923 \align center
23924 text is
23925 \end_layout
23926
23927 \begin_layout Standard
23928 \align center
23929 stretched.
23930 \end_layout
23931
23932 \end_inset
23933
23934 \InsetSpace ~
23935 This is an example text line.
23936 \end_layout
23937
23938 \begin_layout Standard
23939 To stretch the box content, it must consist of more than one paragraph.
23940  In the example above every text line is in an own paragraph.
23941 \end_layout
23942
23943 \begin_layout Standard
23944 \begin_inset VSpace bigskip
23945 \end_inset
23946
23947 To align the box content horizontally you can use LyX's paragraph dialog
23948  when you have chosen an 
23949 \family sans
23950 Inner\InsetSpace ~
23951 Box
23952 \family default
23953 .
23954 \end_layout
23955
23956 \begin_layout Standard
23957 \align center
23958 \begin_inset Box Boxed
23959 position "c"
23960 hor_pos "c"
23961 has_inner_box 1
23962 inner_pos "s"
23963 use_parbox 0
23964 width "15col%"
23965 special "none"
23966 height "1.25in"
23967 height_special "totalheight"
23968 status collapsed
23969
23970 \begin_layout Standard
23971 \align left
23972 This box
23973 \end_layout
23974
23975 \begin_layout Standard
23976 \align center
23977 text is
23978 \end_layout
23979
23980 \begin_layout Standard
23981 \align right
23982 stretched.
23983 \end_layout
23984
23985 \end_inset
23986
23987
23988 \end_layout
23989
23990 \begin_layout Standard
23991 If you haven't set an 
23992 \family sans
23993 Inner\InsetSpace ~
23994 Box
23995 \family default
23996 , you can align the box content horizontally in the box dialog.
23997 \end_layout
23998
23999 \begin_layout Standard
24000 \align center
24001 \begin_inset Box Boxed
24002 position "c"
24003 hor_pos "s"
24004 has_inner_box 0
24005 inner_pos "s"
24006 use_parbox 0
24007 width "90col%"
24008 special "none"
24009 height "1.25in"
24010 height_special "totalheight"
24011 status collapsed
24012
24013 \begin_layout Standard
24014 \align left
24015 This box text is horizontally stretched.
24016 \end_layout
24017
24018 \end_inset
24019
24020
24021 \end_layout
24022
24023 \begin_layout Section
24024 Framed Boxes
24025 \begin_inset LatexCommand label
24026 name "sec:Framed-Boxes"
24027
24028 \end_inset
24029
24030
24031 \begin_inset LatexCommand index
24032 name "Boxes ! Frames"
24033
24034 \end_inset
24035
24036
24037 \end_layout
24038
24039 \begin_layout Standard
24040 The frame style of the box can be specified in the box-dialog in the drop-down
24041  list 
24042 \family sans
24043 Type
24044 \family default
24045 .
24046  The following frame types are possible:
24047 \end_layout
24048
24049 \begin_layout Description
24050 Rectangular\InsetSpace ~
24051 box This draws a rectangle frame around the box.
24052  The frame line thickness has the size of 
24053 \series bold
24054
24055 \backslash
24056 fboxrule
24057 \series default
24058 .
24059  
24060 \begin_inset Box Boxed
24061 position "c"
24062 hor_pos "c"
24063 has_inner_box 1
24064 inner_pos "c"
24065 use_parbox 0
24066 width "20col%"
24067 special "none"
24068 height "1in"
24069 height_special "totalheight"
24070 status collapsed
24071
24072 \begin_layout Standard
24073 \align center
24074 Rectangular box
24075 \end_layout
24076
24077 \end_inset
24078
24079
24080 \end_layout
24081
24082 \begin_layout Description
24083 Oval\InsetSpace ~
24084 box,\InsetSpace ~
24085 thin This draws an oval frame around the box.
24086  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24087 pt.
24088  
24089 \begin_inset Box ovalbox
24090 position "c"
24091 hor_pos "c"
24092 has_inner_box 1
24093 inner_pos "c"
24094 use_parbox 0
24095 width "20col%"
24096 special "none"
24097 height "1in"
24098 height_special "totalheight"
24099 status collapsed
24100
24101 \begin_layout Standard
24102 \align center
24103 Oval box, thin
24104 \end_layout
24105
24106 \end_inset
24107
24108
24109 \end_layout
24110
24111 \begin_layout Description
24112 Oval\InsetSpace ~
24113 box,\InsetSpace ~
24114 thick This draws an oval frame around the box.
24115  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24116 pt.
24117  
24118 \begin_inset Box Ovalbox
24119 position "c"
24120 hor_pos "c"
24121 has_inner_box 1
24122 inner_pos "c"
24123 use_parbox 0
24124 width "20col%"
24125 special "none"
24126 height "1in"
24127 height_special "totalheight"
24128 status collapsed
24129
24130 \begin_layout Standard
24131 \align center
24132 Oval box, thick
24133 \end_layout
24134
24135 \end_inset
24136
24137
24138 \end_layout
24139
24140 \begin_layout Description
24141 Shadow\InsetSpace ~
24142 box This draws a rectangle frame with a shadow around the box.
24143  The frame line thickness has the size of 
24144 \series bold
24145
24146 \backslash
24147 fboxrule
24148 \series default
24149 , the shadow has a width of 4\InsetSpace \thinspace{}
24150 pt.
24151  
24152 \begin_inset Box Shadowbox
24153 position "c"
24154 hor_pos "c"
24155 has_inner_box 1
24156 inner_pos "c"
24157 use_parbox 0
24158 width "20col%"
24159 special "none"
24160 height "1in"
24161 height_special "totalheight"
24162 status collapsed
24163
24164 \begin_layout Standard
24165 \align center
24166 Shadow box
24167 \end_layout
24168
24169 \end_inset
24170
24171
24172 \end_layout
24173
24174 \begin_layout Description
24175 Double\InsetSpace ~
24176 box This draws a double-line rectangle frame around the box.
24177  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24178
24179 \series bold
24180
24181 \backslash
24182 fboxrule
24183 \series default
24184 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24185
24186 \series bold
24187
24188 \backslash
24189 fboxrule
24190 \series default
24191 .
24192  The distance between the lines is 1.5\InsetSpace \thinspace{}
24193
24194 \series bold
24195
24196 \backslash
24197 fboxrule
24198 \series default
24199 \InsetSpace \thinspace{}
24200 +\InsetSpace \thinspace{}
24201 0.5\InsetSpace \thinspace{}
24202 pt.
24203  
24204 \begin_inset Box Doublebox
24205 position "c"
24206 hor_pos "c"
24207 has_inner_box 1
24208 inner_pos "c"
24209 use_parbox 0
24210 width "20col%"
24211 special "none"
24212 height "1in"
24213 height_special "totalheight"
24214 status collapsed
24215
24216 \begin_layout Standard
24217 \align center
24218 Double box
24219 \end_layout
24220
24221 \end_inset
24222
24223
24224 \end_layout
24225
24226 \begin_layout Standard
24227 \begin_inset VSpace bigskip
24228 \end_inset
24229
24230 LyX's box label will change to the used frame style when you set a frame.
24231  To be able to use the different frame styles, the LaTeX-package 
24232 \series bold
24233 fancybox
24234 \series default
24235
24236 \begin_inset LatexCommand index
24237 name "LaTeX-packages ! fancybox"
24238
24239 \end_inset
24240
24241  must be installed.
24242 \end_layout
24243
24244 \begin_layout Standard
24245 \begin_inset VSpace bigskip
24246 \end_inset
24247
24248 The default value for the size 
24249 \series bold
24250
24251 \backslash
24252 fboxrule
24253 \series default
24254  is 0.4\InsetSpace \thinspace{}
24255 pt.
24256  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24257 g.\InsetSpace ~
24258 2\InsetSpace \thinspace{}
24259 pt:
24260 \end_layout
24261
24262 \begin_layout Standard
24263
24264 \series bold
24265
24266 \backslash
24267 setlength{
24268 \backslash
24269 fboxrule}{2pt}
24270 \end_layout
24271
24272 \begin_layout Standard
24273 \begin_inset ERT
24274 status collapsed
24275
24276 \begin_layout Standard
24277
24278
24279 \backslash
24280 setlength{
24281 \backslash
24282 fboxrule}{2pt}
24283 \end_layout
24284
24285 \end_inset
24286
24287
24288 \begin_inset Box Boxed
24289 position "c"
24290 hor_pos "c"
24291 has_inner_box 1
24292 inner_pos "c"
24293 use_parbox 0
24294 width "25col%"
24295 special "none"
24296 height "1in"
24297 height_special "totalheight"
24298 status collapsed
24299
24300 \begin_layout Standard
24301 \align center
24302 Rectangular box with 
24303 \series bold
24304
24305 \backslash
24306 fboxrule
24307 \series default
24308 \InsetSpace \thinspace{}
24309 =\InsetSpace \thinspace{}
24310 2\InsetSpace \thinspace{}
24311 pt
24312 \end_layout
24313
24314 \end_inset
24315
24316
24317 \begin_inset ERT
24318 status collapsed
24319
24320 \begin_layout Standard
24321
24322
24323 \backslash
24324 setlength{
24325 \backslash
24326 fboxrule}{0.4pt}
24327 \end_layout
24328
24329 \end_inset
24330
24331
24332 \end_layout
24333
24334 \begin_layout Standard
24335 \begin_inset VSpace bigskip
24336 \end_inset
24337
24338 The space between the frame and the box content is for all frame styles
24339  by default 3\InsetSpace \thinspace{}
24340 pt.
24341  You can change it by setting the length 
24342 \series bold
24343
24344 \backslash
24345 fboxsep
24346 \series default
24347  to another value.
24348  For example the command
24349 \end_layout
24350
24351 \begin_layout Standard
24352
24353 \series bold
24354
24355 \backslash
24356 setlength{
24357 \backslash
24358 fboxsep}{10pt}
24359 \end_layout
24360
24361 \begin_layout Standard
24362 sets the value to 10\InsetSpace \thinspace{}
24363 pt, like for the following box:
24364 \end_layout
24365
24366 \begin_layout Standard
24367 \begin_inset ERT
24368 status collapsed
24369
24370 \begin_layout Standard
24371
24372
24373 \backslash
24374 setlength{
24375 \backslash
24376 fboxsep}{10pt}
24377 \end_layout
24378
24379 \end_inset
24380
24381
24382 \begin_inset Box Boxed
24383 position "c"
24384 hor_pos "c"
24385 has_inner_box 1
24386 inner_pos "c"
24387 use_parbox 0
24388 width "25col%"
24389 special "none"
24390 height "1in"
24391 height_special "totalheight"
24392 status collapsed
24393
24394 \begin_layout Standard
24395 \align center
24396 Rectangular box with 
24397 \series bold
24398
24399 \backslash
24400 fboxsep
24401 \series default
24402 \InsetSpace \thinspace{}
24403 =\InsetSpace \thinspace{}
24404 10\InsetSpace \thinspace{}
24405 pt
24406 \end_layout
24407
24408 \end_inset
24409
24410
24411 \begin_inset ERT
24412 status collapsed
24413
24414 \begin_layout Standard
24415
24416
24417 \backslash
24418 setlength{
24419 \backslash
24420 fboxsep}{3pt}
24421 \end_layout
24422
24423 \end_inset
24424
24425
24426 \end_layout
24427
24428 \begin_layout Standard
24429 \begin_inset VSpace bigskip
24430 \end_inset
24431
24432 The diameter of the round corners of the oval boxes can be set with the
24433  command 
24434 \series bold
24435
24436 \backslash
24437 cornersize
24438 \series default
24439 .
24440  The command
24441 \end_layout
24442
24443 \begin_layout Standard
24444
24445 \series bold
24446
24447 \backslash
24448 cornersize*{1cm}
24449 \end_layout
24450
24451 \begin_layout Standard
24452 sets the diameter to 1\InsetSpace \thinspace{}
24453 cm.
24454  The command
24455 \end_layout
24456
24457 \begin_layout Standard
24458
24459 \series bold
24460
24461 \backslash
24462 cornersize{num}
24463 \end_layout
24464
24465 \begin_layout Standard
24466 sets the diameter to 
24467 \family sans
24468 num\InsetSpace \thinspace{}
24469 ×\InsetSpace \thinspace{}
24470 minimum(width and heigth of box)
24471 \family default
24472 .
24473  The default is 
24474 \series bold
24475
24476 \backslash
24477 cornersize{0.5}
24478 \series default
24479 .
24480 \end_layout
24481
24482 \begin_layout Standard
24483 \begin_inset ERT
24484 status collapsed
24485
24486 \begin_layout Standard
24487
24488
24489 \backslash
24490 cornersize*{1.5cm}
24491 \end_layout
24492
24493 \end_inset
24494
24495
24496 \begin_inset Box Ovalbox
24497 position "c"
24498 hor_pos "c"
24499 has_inner_box 1
24500 inner_pos "c"
24501 use_parbox 0
24502 width "25col%"
24503 special "none"
24504 height "1in"
24505 height_special "totalheight"
24506 status collapsed
24507
24508 \begin_layout Standard
24509 \align center
24510 Oval box with 
24511 \series bold
24512
24513 \backslash
24514 cornersize
24515 \series default
24516 \InsetSpace \thinspace{}
24517 =\InsetSpace \thinspace{}
24518 1.5\InsetSpace \thinspace{}
24519 cm
24520 \end_layout
24521
24522 \end_inset
24523
24524
24525 \begin_inset ERT
24526 status collapsed
24527
24528 \begin_layout Standard
24529
24530
24531 \backslash
24532 cornersize{0.5}
24533 \end_layout
24534
24535 \end_inset
24536
24537
24538 \end_layout
24539
24540 \begin_layout Standard
24541 \begin_inset VSpace bigskip
24542 \end_inset
24543
24544 The size of the shadow can be adjusted by changing the length 
24545 \series bold
24546
24547 \backslash
24548 shadowsize
24549 \series default
24550 .
24551  It it set to 2\InsetSpace \thinspace{}
24552 pt for the following box by this command:
24553 \end_layout
24554
24555 \begin_layout Standard
24556
24557 \series bold
24558
24559 \backslash
24560 setlength{
24561 \backslash
24562 shadowsize}{2pt}
24563 \end_layout
24564
24565 \begin_layout Standard
24566 \begin_inset ERT
24567 status collapsed
24568
24569 \begin_layout Standard
24570
24571
24572 \backslash
24573 setlength{
24574 \backslash
24575 shadowsize}{2pt}
24576 \end_layout
24577
24578 \end_inset
24579
24580
24581 \begin_inset Box Shadowbox
24582 position "c"
24583 hor_pos "c"
24584 has_inner_box 1
24585 inner_pos "c"
24586 use_parbox 0
24587 width "25col%"
24588 special "none"
24589 height "1in"
24590 height_special "totalheight"
24591 status collapsed
24592
24593 \begin_layout Standard
24594 \align center
24595 Shadow box with 
24596 \series bold
24597
24598 \backslash
24599 shadowsize
24600 \series default
24601 \InsetSpace \thinspace{}
24602 =\InsetSpace \thinspace{}
24603 2\InsetSpace \thinspace{}
24604 pt
24605 \end_layout
24606
24607 \end_inset
24608
24609
24610 \begin_inset ERT
24611 status collapsed
24612
24613 \begin_layout Standard
24614
24615
24616 \backslash
24617 setlength{
24618 \backslash
24619 shadowsize}{4pt}
24620 \end_layout
24621
24622 \end_inset
24623
24624
24625 \end_layout
24626
24627 \begin_layout Standard
24628 \begin_inset VSpace bigskip
24629 \end_inset
24630
24631 Changed lengths and widths are valid for all boxes following the commands
24632  that change them.
24633 \end_layout
24634
24635 \begin_layout Section
24636 Minipages
24637 \begin_inset LatexCommand label
24638 name "sec:Minipages"
24639
24640 \end_inset
24641
24642
24643 \begin_inset LatexCommand index
24644 name "Boxes ! Minipages"
24645
24646 \end_inset
24647
24648
24649 \end_layout
24650
24651 \begin_layout Standard
24652 Minipages are treated by LaTeX as pages within pages and can therefore for
24653  example have their own footnotes.
24654 \end_layout
24655
24656 \begin_layout Standard
24657 Minipages are useful when you write documents with different languages.
24658 \end_layout
24659
24660 \begin_layout Standard
24661 Below are two example minipages side by side.
24662  Their width is set to 45\InsetSpace \thinspace{}
24663 col% and they are separated by a horizontal fill,
24664  that was inserted via the menu 
24665 \family sans
24666 Insert\SpecialChar \menuseparator
24667 Special\InsetSpace ~
24668 Formatting\SpecialChar \menuseparator
24669 Horizontal\InsetSpace ~
24670 Fill
24671 \family default
24672 .
24673 \end_layout
24674
24675 \begin_layout Standard
24676 \begin_inset Box Frameless
24677 position "t"
24678 hor_pos "c"
24679 has_inner_box 1
24680 inner_pos "c"
24681 use_parbox 0
24682 width "45col%"
24683 special "none"
24684 height "1in"
24685 height_special "totalheight"
24686 status open
24687
24688 \begin_layout Standard
24689
24690 \lang german
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  Dies ist ein deutscher Text
24704 \begin_inset Foot
24705 status collapsed
24706
24707 \begin_layout Standard
24708
24709 \lang german
24710 Dies ist eine deutsche Fußnote.
24711 \end_layout
24712
24713 \end_inset
24714
24715 .
24716  Dies ist ein deutscher Text.
24717  Dies ist ein deutscher Text.
24718 \end_layout
24719
24720 \end_inset
24721
24722
24723 \hfill
24724
24725 \begin_inset Box Frameless
24726 position "t"
24727 hor_pos "c"
24728 has_inner_box 1
24729 inner_pos "c"
24730 use_parbox 0
24731 width "45col%"
24732 special "none"
24733 height "1in"
24734 height_special "totalheight"
24735 status open
24736
24737 \begin_layout Standard
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  This is an English Text.
24754 \begin_inset Foot
24755 status collapsed
24756
24757 \begin_layout Standard
24758 This is an English footnote.
24759 \end_layout
24760
24761 \end_inset
24762
24763  This is an English Text.
24764  
24765 \end_layout
24766
24767 \end_inset
24768
24769
24770 \end_layout
24771
24772 \begin_layout Standard
24773 \begin_inset VSpace bigskip
24774 \end_inset
24775
24776 Another application for minipages are footnotes within tables.
24777  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24778  bottom of the current page.
24779  But when you put the table with the footnote to a minipage, the footnote
24780  will appear at its bottom, numbered with Latin letters.
24781  The footnote number is reset to 1 in every minipage but not outside the
24782  minipages.
24783 \end_layout
24784
24785 \begin_layout Standard
24786 The footnote of this table doesn't appear: 
24787 \begin_inset Tabular
24788 <lyxtabular version="3" rows="3" columns="4">
24789 <features>
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" width="0pt">
24793 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24794 <row topline="true">
24795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24796 \begin_inset Text
24797
24798 \begin_layout Standard
24799 1
24800 \end_layout
24801
24802 \end_inset
24803 </cell>
24804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24805 \begin_inset Text
24806
24807 \begin_layout Standard
24808 2
24809 \end_layout
24810
24811 \end_inset
24812 </cell>
24813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24814 \begin_inset Text
24815
24816 \begin_layout Standard
24817 3
24818 \begin_inset Foot
24819 status collapsed
24820
24821 \begin_layout Standard
24822 This is a footnote within a table.
24823 \end_layout
24824
24825 \end_inset
24826
24827
24828 \end_layout
24829
24830 \end_inset
24831 </cell>
24832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24833 \begin_inset Text
24834
24835 \begin_layout Standard
24836 4
24837 \end_layout
24838
24839 \end_inset
24840 </cell>
24841 </row>
24842 <row topline="true">
24843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24844 \begin_inset Text
24845
24846 \begin_layout Standard
24847 a
24848 \end_layout
24849
24850 \end_inset
24851 </cell>
24852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24853 \begin_inset Text
24854
24855 \begin_layout Standard
24856 b
24857 \end_layout
24858
24859 \end_inset
24860 </cell>
24861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24862 \begin_inset Text
24863
24864 \begin_layout Standard
24865 c
24866 \end_layout
24867
24868 \end_inset
24869 </cell>
24870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24871 \begin_inset Text
24872
24873 \begin_layout Standard
24874 d
24875 \end_layout
24876
24877 \end_inset
24878 </cell>
24879 </row>
24880 <row topline="true" bottomline="true">
24881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24882 \begin_inset Text
24883
24884 \begin_layout Standard
24885 e
24886 \end_layout
24887
24888 \end_inset
24889 </cell>
24890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24891 \begin_inset Text
24892
24893 \begin_layout Standard
24894 f
24895 \end_layout
24896
24897 \end_inset
24898 </cell>
24899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24900 \begin_inset Text
24901
24902 \begin_layout Standard
24903 g
24904 \end_layout
24905
24906 \end_inset
24907 </cell>
24908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24909 \begin_inset Text
24910
24911 \begin_layout Standard
24912 h
24913 \end_layout
24914
24915 \end_inset
24916 </cell>
24917 </row>
24918 </lyxtabular>
24919
24920 \end_inset
24921
24922
24923 \end_layout
24924
24925 \begin_layout Standard
24926 \align center
24927 \begin_inset Box Frameless
24928 position "t"
24929 hor_pos "c"
24930 has_inner_box 1
24931 inner_pos "c"
24932 use_parbox 0
24933 width "30col%"
24934 special "none"
24935 height "1in"
24936 height_special "totalheight"
24937 status open
24938
24939 \begin_layout Standard
24940 \align center
24941 \begin_inset Tabular
24942 <lyxtabular version="3" rows="3" columns="4">
24943 <features>
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" width="0pt">
24947 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24948 <row topline="true">
24949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24950 \begin_inset Text
24951
24952 \begin_layout Standard
24953 1
24954 \end_layout
24955
24956 \end_inset
24957 </cell>
24958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24959 \begin_inset Text
24960
24961 \begin_layout Standard
24962 2
24963 \end_layout
24964
24965 \end_inset
24966 </cell>
24967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24968 \begin_inset Text
24969
24970 \begin_layout Standard
24971 3
24972 \begin_inset Foot
24973 status collapsed
24974
24975 \begin_layout Standard
24976 This is a footnote within a table.
24977 \end_layout
24978
24979 \end_inset
24980
24981
24982 \end_layout
24983
24984 \end_inset
24985 </cell>
24986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24987 \begin_inset Text
24988
24989 \begin_layout Standard
24990 4
24991 \end_layout
24992
24993 \end_inset
24994 </cell>
24995 </row>
24996 <row topline="true">
24997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24998 \begin_inset Text
24999
25000 \begin_layout Standard
25001 a
25002 \end_layout
25003
25004 \end_inset
25005 </cell>
25006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25007 \begin_inset Text
25008
25009 \begin_layout Standard
25010 b
25011 \end_layout
25012
25013 \end_inset
25014 </cell>
25015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25016 \begin_inset Text
25017
25018 \begin_layout Standard
25019 c
25020 \end_layout
25021
25022 \end_inset
25023 </cell>
25024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25025 \begin_inset Text
25026
25027 \begin_layout Standard
25028 d
25029 \end_layout
25030
25031 \end_inset
25032 </cell>
25033 </row>
25034 <row topline="true" bottomline="true">
25035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25036 \begin_inset Text
25037
25038 \begin_layout Standard
25039 e
25040 \end_layout
25041
25042 \end_inset
25043 </cell>
25044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25045 \begin_inset Text
25046
25047 \begin_layout Standard
25048 f
25049 \end_layout
25050
25051 \end_inset
25052 </cell>
25053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25054 \begin_inset Text
25055
25056 \begin_layout Standard
25057 g
25058 \end_layout
25059
25060 \end_inset
25061 </cell>
25062 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25063 \begin_inset Text
25064
25065 \begin_layout Standard
25066 h
25067 \end_layout
25068
25069 \end_inset
25070 </cell>
25071 </row>
25072 </lyxtabular>
25073
25074 \end_inset
25075
25076
25077 \end_layout
25078
25079 \end_inset
25080
25081
25082 \end_layout
25083
25084 \begin_layout Standard
25085 \begin_inset VSpace bigskip
25086 \end_inset
25087
25088 The document-wide paragraph settings are ignored within minipages.
25089  That means that there will be no space between paragraphs in minipages
25090  although you set it to e.\InsetSpace \thinspace{}
25091 g.\InsetSpace ~
25092
25093 \family sans
25094 MedSkip
25095 \family default
25096  in the document settings.
25097 \end_layout
25098
25099 \begin_layout Standard
25100 Minipages can also be used to set a background color for text parts, see
25101  section\InsetSpace ~
25102
25103 \begin_inset LatexCommand ref
25104 reference "sub:Color-for-Paragraphs"
25105
25106 \end_inset
25107
25108 .
25109 \end_layout
25110
25111 \begin_layout Standard
25112 \begin_inset Note Greyedout
25113 status open
25114
25115 \begin_layout Standard
25116
25117 \series bold
25118 Note:
25119 \series default
25120  You cannot have floats or margin notes inside minipages but minipages can
25121  be used inside tables, floats, and other boxes.
25122 \end_layout
25123
25124 \end_inset
25125
25126
25127 \end_layout
25128
25129 \begin_layout Section
25130 Parboxes
25131 \begin_inset LatexCommand label
25132 name "sec:Parboxes"
25133
25134 \end_inset
25135
25136
25137 \begin_inset LatexCommand index
25138 name "Boxes ! Parboxes"
25139
25140 \end_inset
25141
25142
25143 \end_layout
25144
25145 \begin_layout Standard
25146 Parboxes are very similar to minipages with the difference that they cannot
25147  have footnotes.
25148  The main difference to minipages is that minipages are in contrary to parboxes
25149  no real boxes but LaTeX-environments.
25150 \end_layout
25151
25152 \begin_layout Standard
25153 \align center
25154 \begin_inset Box Frameless
25155 position "t"
25156 hor_pos "c"
25157 has_inner_box 1
25158 inner_pos "t"
25159 use_parbox 1
25160 width "33col%"
25161 special "none"
25162 height "1in"
25163 height_special "totalheight"
25164 status collapsed
25165
25166 \begin_layout Standard
25167 This a text within a parbox.
25168  This a text within a parbox.
25169 \end_layout
25170
25171 \begin_layout Standard
25172 This footnote won't appear:
25173 \begin_inset Foot
25174 status collapsed
25175
25176 \begin_layout Standard
25177 This footnote is inside a parbox and will therefore not appear.
25178 \end_layout
25179
25180 \end_inset
25181
25182
25183 \end_layout
25184
25185 \end_inset
25186
25187
25188 \end_layout
25189
25190 \begin_layout Section
25191 Boxes for Words and Characters
25192 \begin_inset LatexCommand index
25193 name "Boxes ! for Characters"
25194
25195 \end_inset
25196
25197
25198 \end_layout
25199
25200 \begin_layout Subsection
25201 Prevent Hyphenation
25202 \begin_inset LatexCommand label
25203 name "sec:Prevent-Hyphenation"
25204
25205 \end_inset
25206
25207
25208 \begin_inset LatexCommand index
25209 name "Boxes ! to Prevent Hyphenation"
25210
25211 \end_inset
25212
25213
25214 \end_layout
25215
25216 \begin_layout Standard
25217 You can use a special kind of boxes to prevent words or text to be hyphenated.
25218 \newline
25219 Her
25220 e is an example text:
25221 \end_layout
25222
25223 \begin_layout Standard
25224 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25225 g.\InsetSpace ~
25226 veryver
25227 ylongwords.
25228 \end_layout
25229
25230 \begin_layout Standard
25231 To prevent the hyphenation of the word 
25232 \begin_inset Quotes eld
25233 \end_inset
25234
25235 veryverylongwords
25236 \begin_inset Quotes erd
25237 \end_inset
25238
25239 , add the command
25240 \end_layout
25241
25242 \begin_layout Standard
25243
25244 \series bold
25245
25246 \backslash
25247 mbox{
25248 \end_layout
25249
25250 \begin_layout Standard
25251 in ERT before the word.
25252  Behind the word insert a closing brace 
25253 \begin_inset Quotes eld
25254 \end_inset
25255
25256
25257 \series bold
25258 }
25259 \series default
25260
25261 \begin_inset Quotes erd
25262 \end_inset
25263
25264  in ERT.
25265 \begin_inset ERT
25266 status collapsed
25267
25268 \begin_layout Standard
25269
25270
25271 \backslash
25272 pagebreak 
25273 \end_layout
25274
25275 \end_inset
25276
25277
25278 \end_layout
25279
25280 \begin_layout Standard
25281 This is the result:
25282 \end_layout
25283
25284 \begin_layout Standard
25285 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25286 g.\InsetSpace ~
25287
25288 \begin_inset ERT
25289 status collapsed
25290
25291 \begin_layout Standard
25292
25293
25294 \backslash
25295 mbox{
25296 \end_layout
25297
25298 \end_inset
25299
25300 veryverylongwords.
25301 \begin_inset ERT
25302 status collapsed
25303
25304 \begin_layout Standard
25305
25306 }
25307 \end_layout
25308
25309 \end_inset
25310
25311
25312 \end_layout
25313
25314 \begin_layout Standard
25315 Of course the word now protrudes over the side margin.
25316  To avoid this, add via the menu 
25317 \family sans
25318 Insert\SpecialChar \menuseparator
25319 Special\InsetSpace ~
25320 Formatting\SpecialChar \menuseparator
25321 Line\InsetSpace ~
25322 Break
25323 \family default
25324  (shortcut 
25325 \series bold
25326 Ctrl-Return
25327 \series default
25328 ) a line break before the word:
25329 \end_layout
25330
25331 \begin_layout Standard
25332 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25333 g.\InsetSpace ~
25334
25335 \newline
25336
25337 \begin_inset ERT
25338 status collapsed
25339
25340 \begin_layout Standard
25341
25342
25343 \backslash
25344 mbox{
25345 \end_layout
25346
25347 \end_inset
25348
25349 veryverylongwords.
25350 \begin_inset ERT
25351 status collapsed
25352
25353 \begin_layout Standard
25354
25355 }
25356 \end_layout
25357
25358 \end_inset
25359
25360
25361 \end_layout
25362
25363 \begin_layout Subsection
25364 Vertical Alignment
25365 \begin_inset LatexCommand label
25366 name "sub:Vertical-Alignment"
25367
25368 \end_inset
25369
25370
25371 \begin_inset LatexCommand index
25372 name "Boxes ! for Vertical Alignment"
25373
25374 \end_inset
25375
25376
25377 \begin_inset LatexCommand index
25378 name "Boxes ! Raiseboxes"
25379
25380 \end_inset
25381
25382
25383 \end_layout
25384
25385 \begin_layout Standard
25386 With the help of the command 
25387 \series bold
25388
25389 \backslash
25390 raisebox
25391 \series default
25392  you can align words, characters or other boxes vertically to the surrounding
25393  text.
25394  
25395 \series bold
25396
25397 \backslash
25398 raisebox
25399 \series default
25400  is used with the following scheme:
25401 \end_layout
25402
25403 \begin_layout Standard
25404
25405 \series bold
25406
25407 \backslash
25408 raisebox{lift}[height][depth]{box content}
25409 \end_layout
25410
25411 \begin_layout Standard
25412 The lift can be a positive value to raise the box or a negative value to
25413  lower the box.
25414 \end_layout
25415
25416 \begin_layout Standard
25417 To align for example the word 
25418 \begin_inset Quotes eld
25419 \end_inset
25420
25421 preventing
25422 \begin_inset Quotes erd
25423 \end_inset
25424
25425  so that the bottom of the 
25426 \begin_inset Quotes eld
25427 \end_inset
25428
25429 deepest
25430 \begin_inset Quotes erd
25431 \end_inset
25432
25433  character 
25434 \begin_inset Quotes eld
25435 \end_inset
25436
25437 p
25438 \begin_inset Quotes erd
25439 \end_inset
25440
25441  is at the baseline, insert the command
25442 \end_layout
25443
25444 \begin_layout Standard
25445
25446 \series bold
25447
25448 \backslash
25449 raisebox{
25450 \backslash
25451 depth}{
25452 \end_layout
25453
25454 \begin_layout Standard
25455 in ERT before the word.
25456  Behind the word insert a closing brace 
25457 \begin_inset Quotes eld
25458 \end_inset
25459
25460
25461 \series bold
25462 }
25463 \series default
25464
25465 \begin_inset Quotes erd
25466 \end_inset
25467
25468  in ERT.
25469 \newline
25470 This is the result:
25471 \end_layout
25472
25473 \begin_layout Standard
25474 This is a text line with the word 
25475 \begin_inset ERT
25476 status collapsed
25477
25478 \begin_layout Standard
25479
25480
25481 \backslash
25482 raisebox{
25483 \backslash
25484 depth}{
25485 \end_layout
25486
25487 \end_inset
25488
25489
25490 \begin_inset Quotes eld
25491 \end_inset
25492
25493 preventing
25494 \begin_inset Quotes erd
25495 \end_inset
25496
25497
25498 \begin_inset ERT
25499 status collapsed
25500
25501 \begin_layout Standard
25502
25503 }
25504 \end_layout
25505
25506 \end_inset
25507
25508  as raised word.
25509 \end_layout
25510
25511 \begin_layout Standard
25512 \begin_inset VSpace bigskip
25513 \end_inset
25514
25515 When you raise or lower characters in a line, the line distance will be
25516  spread:
25517 \end_layout
25518
25519 \begin_layout Standard
25520 This is a text line with the word 
25521 \begin_inset ERT
25522 status collapsed
25523
25524 \begin_layout Standard
25525
25526
25527 \backslash
25528 raisebox{-
25529 \backslash
25530 depth}{
25531 \end_layout
25532
25533 \end_inset
25534
25535
25536 \begin_inset Quotes eld
25537 \end_inset
25538
25539 preventing
25540 \begin_inset Quotes erd
25541 \end_inset
25542
25543
25544 \begin_inset ERT
25545 status collapsed
25546
25547 \begin_layout Standard
25548
25549 }
25550 \end_layout
25551
25552 \end_inset
25553
25554  as lowered word.
25555 \newline
25556 This is a text line with the word 
25557 \begin_inset ERT
25558 status collapsed
25559
25560 \begin_layout Standard
25561
25562
25563 \backslash
25564 raisebox{0.5cm}{
25565 \end_layout
25566
25567 \end_inset
25568
25569
25570 \begin_inset Quotes eld
25571 \end_inset
25572
25573 testing
25574 \begin_inset Quotes erd
25575 \end_inset
25576
25577
25578 \begin_inset ERT
25579 status collapsed
25580
25581 \begin_layout Standard
25582
25583 }
25584 \end_layout
25585
25586 \end_inset
25587
25588  as raised word.
25589 \end_layout
25590
25591 \begin_layout Standard
25592 If you want to prevent this for a certain reason, set the box height to
25593  a zero value.
25594  For example use
25595 \end_layout
25596
25597 \begin_layout Standard
25598
25599 \series bold
25600
25601 \backslash
25602 raisebox{-
25603 \backslash
25604 depth}[0pt]{
25605 \end_layout
25606
25607 \begin_layout Standard
25608 This is a text line with the word 
25609 \begin_inset ERT
25610 status collapsed
25611
25612 \begin_layout Standard
25613
25614
25615 \backslash
25616 raisebox{-
25617 \backslash
25618 depth}[0pt]{
25619 \end_layout
25620
25621 \end_inset
25622
25623
25624 \begin_inset Quotes eld
25625 \end_inset
25626
25627 preventing
25628 \begin_inset Quotes erd
25629 \end_inset
25630
25631
25632 \begin_inset ERT
25633 status collapsed
25634
25635 \begin_layout Standard
25636
25637 }
25638 \end_layout
25639
25640 \end_inset
25641
25642  as lowered word.
25643 \newline
25644 This is a text line with the word 
25645 \begin_inset ERT
25646 status collapsed
25647
25648 \begin_layout Standard
25649
25650
25651 \backslash
25652 raisebox{0.5cm}[0pt]{
25653 \end_layout
25654
25655 \end_inset
25656
25657
25658 \begin_inset Quotes eld
25659 \end_inset
25660
25661 testing
25662 \begin_inset Quotes erd
25663 \end_inset
25664
25665
25666 \begin_inset ERT
25667 status collapsed
25668
25669 \begin_layout Standard
25670
25671 }
25672 \end_layout
25673
25674 \end_inset
25675
25676  as raised word.
25677 \end_layout
25678
25679 \begin_layout Section
25680 Colored Boxes
25681 \begin_inset LatexCommand label
25682 name "sec:Colored-Boxes"
25683
25684 \end_inset
25685
25686
25687 \begin_inset LatexCommand index
25688 name "Boxes ! Color"
25689
25690 \end_inset
25691
25692
25693 \end_layout
25694
25695 \begin_layout Subsection
25696 Color for Text
25697 \begin_inset LatexCommand index
25698 name "Color ! for Text"
25699
25700 \end_inset
25701
25702
25703 \end_layout
25704
25705 \begin_layout Standard
25706 To color the background of text the text must be put into a so called colorbox.
25707  This requires that the LaTeX-package 
25708 \series bold
25709 color
25710 \series default
25711
25712 \begin_inset LatexCommand index
25713 name "LaTeX-packages ! color"
25714
25715 \end_inset
25716
25717  is loaded in the document preamble with the command
25718 \end_layout
25719
25720 \begin_layout Standard
25721
25722 \series bold
25723
25724 \backslash
25725 @ifundef\SpecialChar \textcompwordmark{}
25726 ined{textcolor}
25727 \newline
25728
25729 \begin_inset ERT
25730 status collapsed
25731
25732 \begin_layout Standard
25733
25734
25735 \backslash
25736 hphantom{ }
25737 \end_layout
25738
25739 \end_inset
25740
25741 {
25742 \backslash
25743 usepackage{color}}{}
25744 \end_layout
25745
25746 \begin_layout Standard
25747 The package 
25748 \series bold
25749 color
25750 \series default
25751  will be loaded automatically by LyX when you color text
25752 \begin_inset Foot
25753 status collapsed
25754
25755 \begin_layout Standard
25756 To avoid that it is loaded twice the command 
25757 \series bold
25758
25759 \backslash
25760 @ifundef\SpecialChar \textcompwordmark{}
25761 ined
25762 \series default
25763  is used.
25764 \end_layout
25765
25766 \end_inset
25767
25768 .
25769 \end_layout
25770
25771 \begin_layout Standard
25772 \begin_inset VSpace medskip
25773 \end_inset
25774
25775 Colorboxes are created with the command 
25776 \series bold
25777
25778 \backslash
25779 colorbox
25780 \series default
25781 .
25782  This will be used with the following scheme:
25783 \end_layout
25784
25785 \begin_layout Standard
25786
25787 \series bold
25788
25789 \backslash
25790 colorbox{color}{box content}
25791 \end_layout
25792
25793 \begin_layout Standard
25794 The box content can also be a box and colorboxes can also be within other
25795  boxes.
25796 \end_layout
25797
25798 \begin_layout Standard
25799 The following colors are predefined:
25800 \newline
25801
25802 \family sans
25803 black
25804 \family default
25805
25806 \family sans
25807 blue
25808 \family default
25809
25810 \family sans
25811 cyan
25812 \family default
25813 \series bold
25814 ,
25815 \series default
25816  
25817 \family sans
25818 green
25819 \family default
25820
25821 \family sans
25822 magenta
25823 \family default
25824
25825 \family sans
25826 red
25827 \family default
25828
25829 \family sans
25830 white
25831 \family default
25832 , and 
25833 \family sans
25834 yellow
25835 \family default
25836 .
25837 \newline
25838 You can also define your own color as described in section\InsetSpace ~
25839
25840 \begin_inset LatexCommand ref
25841 reference "sec:Colored-Tables"
25842
25843 \end_inset
25844
25845 .
25846 \end_layout
25847
25848 \begin_layout Standard
25849 To have e.\InsetSpace \thinspace{}
25850 g.\InsetSpace ~
25851 a red background for a word, insert the command
25852 \end_layout
25853
25854 \begin_layout Standard
25855
25856 \series bold
25857
25858 \backslash
25859 colorbox{red}{
25860 \end_layout
25861
25862 \begin_layout Standard
25863 before the word in ERT.
25864  Behind the word insert a closing brace 
25865 \begin_inset Quotes eld
25866 \end_inset
25867
25868
25869 \series bold
25870 }
25871 \series default
25872
25873 \begin_inset Quotes erd
25874 \end_inset
25875
25876  in ERT.
25877 \newline
25878 This is the result:
25879 \end_layout
25880
25881 \begin_layout Standard
25882 This is a line where the word 
25883 \begin_inset ERT
25884 status collapsed
25885
25886 \begin_layout Standard
25887
25888
25889 \backslash
25890 colorbox{red}{
25891 \end_layout
25892
25893 \end_inset
25894
25895
25896 \begin_inset Quotes eld
25897 \end_inset
25898
25899 Attention!
25900 \begin_inset Quotes erd
25901 \end_inset
25902
25903
25904 \begin_inset ERT
25905 status collapsed
25906
25907 \begin_layout Standard
25908
25909 }
25910 \end_layout
25911
25912 \end_inset
25913
25914  has a red background.
25915 \end_layout
25916
25917 \begin_layout Standard
25918 \begin_inset VSpace bigskip
25919 \end_inset
25920
25921 If you would have the box frame in a different color, you can use the command
25922  
25923 \series bold
25924
25925 \backslash
25926 fcolorbox
25927 \series default
25928  with the following scheme:
25929 \end_layout
25930
25931 \begin_layout Standard
25932
25933 \series bold
25934
25935 \backslash
25936 fcolorbox{frame color}{box color}{box content}
25937 \end_layout
25938
25939 \begin_layout Standard
25940
25941 \series bold
25942
25943 \backslash
25944 fcolorbox
25945 \series default
25946  is an extension to 
25947 \series bold
25948
25949 \backslash
25950 colorbox
25951 \series default
25952 .
25953  The frame thickness and the space between the frame and the box content
25954  can be adjusted with the lengths 
25955 \series bold
25956
25957 \backslash
25958 fboxrule
25959 \series default
25960  and 
25961 \series bold
25962
25963 \backslash
25964 fboxsep
25965 \series default
25966 , respectively, as described in section\InsetSpace ~
25967
25968 \begin_inset LatexCommand ref
25969 reference "sec:Framed-Boxes"
25970
25971 \end_inset
25972
25973 .
25974 \end_layout
25975
25976 \begin_layout Standard
25977 For the following example the command
25978 \end_layout
25979
25980 \begin_layout Standard
25981
25982 \series bold
25983
25984 \backslash
25985 fcolorbox{cyan}{magenta}{
25986 \end_layout
25987
25988 \begin_layout Standard
25989 was used.
25990 \end_layout
25991
25992 \begin_layout Standard
25993 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25994 mm:
25995 \newline
25996
25997 \begin_inset ERT
25998 status collapsed
25999
26000 \begin_layout Standard
26001
26002
26003 \backslash
26004 fboxrule 1mm 
26005 \backslash
26006 fboxsep 1mm
26007 \end_layout
26008
26009 \end_inset
26010
26011
26012 \begin_inset ERT
26013 status collapsed
26014
26015 \begin_layout Standard
26016
26017
26018 \backslash
26019 fcolorbox{cyan}{magenta}{
26020 \end_layout
26021
26022 \end_inset
26023
26024 This is text within a colored, framed box.
26025 \begin_inset ERT
26026 status collapsed
26027
26028 \begin_layout Standard
26029
26030 }
26031 \end_layout
26032
26033 \end_inset
26034
26035
26036 \end_layout
26037
26038 \begin_layout Standard
26039 \begin_inset VSpace bigskip
26040 \end_inset
26041
26042 Of course you can also have colored text inside a colorbox:
26043 \newline
26044
26045 \begin_inset ERT
26046 status collapsed
26047
26048 \begin_layout Standard
26049
26050
26051 \backslash
26052 fcolorbox{cyan}{magenta}{
26053 \end_layout
26054
26055 \end_inset
26056
26057
26058 \color yellow
26059 This is colored text within a colored, framed box.
26060 \color none
26061
26062 \begin_inset ERT
26063 status collapsed
26064
26065 \begin_layout Standard
26066
26067 }
26068 \end_layout
26069
26070 \end_inset
26071
26072
26073 \begin_inset ERT
26074 status collapsed
26075
26076 \begin_layout Standard
26077
26078
26079 \backslash
26080 fboxrule 0.4pt 
26081 \backslash
26082 fboxsep 3pt
26083 \end_layout
26084
26085 \end_inset
26086
26087
26088 \end_layout
26089
26090 \begin_layout Standard
26091
26092 \series bold
26093 \begin_inset VSpace medskip
26094 \end_inset
26095
26096
26097 \end_layout
26098
26099 \begin_layout Standard
26100 \begin_inset Note Greyedout
26101 status open
26102
26103 \begin_layout Standard
26104
26105 \series bold
26106 Note:
26107 \series default
26108  Text in colorboxes cannot have line breaks.
26109  To color multiple text lines or paragraphs, use a box inside a colorbox
26110  as described in the following.
26111 \end_layout
26112
26113 \end_inset
26114
26115
26116 \end_layout
26117
26118 \begin_layout Subsection
26119 Color for Paragraphs
26120 \begin_inset LatexCommand label
26121 name "sub:Color-for-Paragraphs"
26122
26123 \end_inset
26124
26125
26126 \begin_inset LatexCommand index
26127 name "Color ! for Paragraphs"
26128
26129 \end_inset
26130
26131
26132 \end_layout
26133
26134 \begin_layout Standard
26135 To set the background color for more than one text line, put the text into
26136  a minipage.
26137  Before the minipage insert the 
26138 \series bold
26139
26140 \backslash
26141 colorbox
26142 \series default
26143  command
26144 \end_layout
26145
26146 \begin_layout Standard
26147
26148 \series bold
26149
26150 \backslash
26151 colorbox{color}{
26152 \end_layout
26153
26154 \begin_layout Standard
26155 in ERT.
26156  Behind the minipage insert a closing brace 
26157 \begin_inset Quotes eld
26158 \end_inset
26159
26160
26161 \series bold
26162 }
26163 \series default
26164
26165 \begin_inset Quotes erd
26166 \end_inset
26167
26168  in ERT.
26169 \end_layout
26170
26171 \begin_layout Standard
26172 \begin_inset ERT
26173 status collapsed
26174
26175 \begin_layout Standard
26176
26177
26178 \backslash
26179 colorbox{lightgrey}{
26180 \end_layout
26181
26182 \end_inset
26183
26184
26185 \begin_inset Box Frameless
26186 position "t"
26187 hor_pos "c"
26188 has_inner_box 1
26189 inner_pos "t"
26190 use_parbox 0
26191 width "100col%"
26192 special "none"
26193 height "1in"
26194 height_special "totalheight"
26195 status collapsed
26196
26197 \begin_layout Standard
26198 This is text with background color.
26199  This is text with background color.
26200 \end_layout
26201
26202 \begin_layout Standard
26203 \begin_inset VSpace defskip
26204 \end_inset
26205
26206 The text can have footnotes
26207 \begin_inset Foot
26208 status collapsed
26209
26210 \begin_layout Standard
26211 Another example footnote
26212 \end_layout
26213
26214 \end_inset
26215
26216  and can include tables and figures.
26217 \end_layout
26218
26219 \begin_layout Standard
26220 \align center
26221 \begin_inset Tabular
26222 <lyxtabular version="3" rows="3" columns="3">
26223 <features>
26224 <column alignment="center" valignment="top" leftline="true" width="0">
26225 <column alignment="center" valignment="top" leftline="true" width="0">
26226 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26227 <row topline="true">
26228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26229 \begin_inset Text
26230
26231 \begin_layout Standard
26232 a
26233 \end_layout
26234
26235 \end_inset
26236 </cell>
26237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26238 \begin_inset Text
26239
26240 \begin_layout Standard
26241 !
26242 \end_layout
26243
26244 \end_inset
26245 </cell>
26246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26247 \begin_inset Text
26248
26249 \begin_layout Standard
26250 3
26251 \end_layout
26252
26253 \end_inset
26254 </cell>
26255 </row>
26256 <row topline="true">
26257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26258 \begin_inset Text
26259
26260 \begin_layout Standard
26261 <
26262 \end_layout
26263
26264 \end_inset
26265 </cell>
26266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26267 \begin_inset Text
26268
26269 \begin_layout Standard
26270 b2
26271 \begin_inset Quotes erd
26272 \end_inset
26273
26274 |
26275 \end_layout
26276
26277 \end_inset
26278 </cell>
26279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26280 \begin_inset Text
26281
26282 \begin_layout Standard
26283 >
26284 \end_layout
26285
26286 \end_inset
26287 </cell>
26288 </row>
26289 <row topline="true" bottomline="true">
26290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26291 \begin_inset Text
26292
26293 \begin_layout Standard
26294 1
26295 \end_layout
26296
26297 \end_inset
26298 </cell>
26299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26300 \begin_inset Text
26301
26302 \begin_layout Standard
26303 §
26304 \end_layout
26305
26306 \end_inset
26307 </cell>
26308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26309 \begin_inset Text
26310
26311 \begin_layout Standard
26312 c
26313 \end_layout
26314
26315 \end_inset
26316 </cell>
26317 </row>
26318 </lyxtabular>
26319
26320 \end_inset
26321
26322
26323 \end_layout
26324
26325 \end_inset
26326
26327
26328 \begin_inset ERT
26329 status collapsed
26330
26331 \begin_layout Standard
26332
26333 }
26334 \end_layout
26335
26336 \end_inset
26337
26338
26339 \end_layout
26340
26341 \begin_layout Section
26342 URLs (Uniform Resource Locators)
26343 \begin_inset LatexCommand index
26344 name "URLs"
26345
26346 \end_inset
26347
26348
26349 \end_layout
26350
26351 \begin_layout Standard
26352 Links to web pages or email addresses can be inserted via the menu 
26353 \family sans
26354 Insert\SpecialChar \menuseparator
26355 URL
26356 \family default
26357 .
26358  The appearing URL dialog has two fields; the 
26359 \family sans
26360 URL
26361 \family default
26362  field and the 
26363 \family sans
26364 Name
26365 \family default
26366  field for the URL description, which will be typeset as plain text immediately
26367  before the URL.
26368 \end_layout
26369
26370 \begin_layout Standard
26371 Here is an example URL: 
26372 \begin_inset LatexCommand url
26373 name "LyX's homepage"
26374 target "http://www.lyx.org"
26375
26376 \end_inset
26377
26378
26379 \end_layout
26380
26381 \begin_layout Standard
26382 The option 
26383 \family sans
26384 Generate\InsetSpace ~
26385 hyperlink
26386 \family default
26387  in the URL dialog has only an affect when you export your document to the
26388  format 
26389 \begin_inset Quotes eld
26390 \end_inset
26391
26392
26393 \family sans
26394 LinuxDoc
26395 \family default
26396
26397 \begin_inset Quotes erd
26398 \end_inset
26399
26400 .
26401 \end_layout
26402
26403 \begin_layout Standard
26404 You cannot change the style of the link text.
26405  The text of the 
26406 \family sans
26407 Name
26408 \family default
26409  field will have the default text style of the document while the text of
26410  the 
26411 \family sans
26412 URL
26413 \family default
26414  field will have the style 
26415 \begin_inset Quotes eld
26416 \end_inset
26417
26418
26419 \family sans
26420 Typewriter
26421 \family default
26422
26423 \begin_inset Quotes erd
26424 \end_inset
26425
26426 .
26427 \end_layout
26428
26429 \begin_layout Standard
26430 When you use the LaTeX-package 
26431 \series bold
26432 hyperref
26433 \series default
26434
26435 \begin_inset LatexCommand index
26436 name "LaTeX-packages ! hyperref"
26437
26438 \end_inset
26439
26440  to link cross-references in the output, URLs will automatically become
26441  clickable hyperlinks in DVI and PDF-output.
26442 \end_layout
26443
26444 \begin_layout Standard
26445 \begin_inset Note Greyedout
26446 status open
26447
26448 \begin_layout Standard
26449
26450 \series bold
26451 Note:
26452 \series default
26453  When you use the following characters: "%", "#", "^", you have to write
26454  them with a preceding backslash, e.\InsetSpace \thinspace{}
26455 g.\InsetSpace ~
26456
26457 \begin_inset Quotes eld
26458 \end_inset
26459
26460
26461 \backslash
26462 #
26463 \begin_inset Quotes erd
26464 \end_inset
26465
26466 .
26467  URLs must not end with a backslash.
26468 \end_layout
26469
26470 \end_inset
26471
26472
26473 \end_layout
26474
26475 \begin_layout Standard
26476 \begin_inset VSpace bigskip
26477 \end_inset
26478
26479 To create real hyperlinks without the force to write the link location to
26480  the text, you can use the command
26481 \end_layout
26482
26483 \begin_layout Standard
26484
26485 \series bold
26486
26487 \backslash
26488 href{link location}{link text}
26489 \end_layout
26490
26491 \begin_layout Standard
26492 in ERT.
26493  To get for example a link to LyX's web page, write the command
26494 \end_layout
26495
26496 \begin_layout Standard
26497
26498 \series bold
26499
26500 \backslash
26501 href{http://www.lyx.org}{
26502 \end_layout
26503
26504 \begin_layout Standard
26505 in ERT.
26506  Insert after the command the link text 
26507 \begin_inset Quotes eld
26508 \end_inset
26509
26510 LyX's homepage
26511 \begin_inset Quotes erd
26512 \end_inset
26513
26514  as normal text followed by a closing brace 
26515 \begin_inset Quotes eld
26516 \end_inset
26517
26518
26519 \series bold
26520 }
26521 \series default
26522
26523 \begin_inset Quotes erd
26524 \end_inset
26525
26526  in ERT.
26527  This is the result: 
26528 \begin_inset ERT
26529 status collapsed
26530
26531 \begin_layout Standard
26532
26533
26534 \backslash
26535 href{http://www.lyx.org}{
26536 \end_layout
26537
26538 \end_inset
26539
26540 LyX's homepage
26541 \begin_inset ERT
26542 status collapsed
26543
26544 \begin_layout Standard
26545
26546 }
26547 \end_layout
26548
26549 \end_inset
26550
26551
26552 \end_layout
26553
26554 \begin_layout Standard
26555 To link to email addresses, add the prefix 
26556 \begin_inset Quotes eld
26557 \end_inset
26558
26559
26560 \family sans
26561 mailto:
26562 \family default
26563
26564 \begin_inset Quotes erd
26565 \end_inset
26566
26567  to the link location:
26568 \newline
26569 Email to 
26570 \begin_inset ERT
26571 status collapsed
26572
26573 \begin_layout Standard
26574
26575
26576 \backslash
26577 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26578 \end_layout
26579
26580 \end_inset
26581
26582 lyx-docs mailing list
26583 \begin_inset ERT
26584 status collapsed
26585
26586 \begin_layout Standard
26587
26588 }
26589 \end_layout
26590
26591 \end_inset
26592
26593 .
26594 \end_layout
26595
26596 \begin_layout Standard
26597 Using 
26598 \series bold
26599
26600 \backslash
26601 href
26602 \series default
26603  instead of LyX's URL box has the advantage that you can specify the text
26604  style of the link text like for all other text parts.
26605  You can therefore set hyphenation points and forced linebreaks to have
26606  long link text broken at the page margin.
26607  You are furthermore able to change the text style for all URLs in your
26608  document with an option in 
26609 \series bold
26610 hyperref
26611 \series default
26612 's load command and the restrictions mentioned above doesn't apply for 
26613 \series bold
26614
26615 \backslash
26616 href
26617 \series default
26618 .
26619 \end_layout
26620
26621 \begin_layout Chapter
26622 External Stuff
26623 \begin_inset LatexCommand index
26624 name "External Stuff"
26625
26626 \end_inset
26627
26628
26629 \end_layout
26630
26631 \begin_layout Standard
26632 With the menu 
26633 \family sans
26634 Insert\SpecialChar \menuseparator
26635 File
26636 \family default
26637  you can insert external material to your document.
26638  This can be:
26639 \end_layout
26640
26641 \begin_layout Description
26642 LyX\InsetSpace ~
26643 Document Another LyX document; its content is directly inserted to your
26644  document.
26645 \end_layout
26646
26647 \begin_layout Description
26648 Plain\InsetSpace ~
26649 Text A text document; every of its text lines is inserted to your document
26650  as own paragraph.
26651 \end_layout
26652
26653 \begin_layout Description
26654 Plain\InsetSpace ~
26655 Text,\InsetSpace ~
26656 Join\InsetSpace ~
26657 Lines A text document; its text lines are inserted as they
26658  are.
26659  Empty text lines creates a new paragraph in your document.
26660 \end_layout
26661
26662 \begin_layout Description
26663 External\InsetSpace ~
26664 Material Files in various formats.
26665 \end_layout
26666
26667 \begin_layout Description
26668 Child\InsetSpace ~
26669 Document LyX or LaTeX-documents.
26670 \end_layout
26671
26672 \begin_layout Section
26673 External Material
26674 \begin_inset LatexCommand index
26675 name "External Stuff ! External Material"
26676
26677 \end_inset
26678
26679
26680 \end_layout
26681
26682 \begin_layout Standard
26683 The external material feature allows you to insert files to your document
26684  without converting them previously to a format that can be read by the
26685  document output format because LyX takes care of needed conversions.
26686  This is similar to images that can be inserted in various image formats
26687  to LyX documents.
26688 \end_layout
26689
26690 \begin_layout Standard
26691 External material can be inserted via the 
26692 \family sans
26693 External Material
26694 \family default
26695  dialog that is accessible with the menu 
26696 \family sans
26697 Insert\SpecialChar \menuseparator
26698 File\SpecialChar \menuseparator
26699 External\InsetSpace ~
26700 Material
26701 \family default
26702 .
26703  Currently the following file types (
26704 \family sans
26705 Templates
26706 \family default
26707 ) are allowed:
26708 \end_layout
26709
26710 \begin_layout Description
26711 ChessDiagram This template supports chess position diagrams made with the
26712  program 
26713 \begin_inset ERT
26714 status collapsed
26715
26716 \begin_layout Standard
26717
26718
26719 \backslash
26720 href{http://en.wikipedia.org/wiki/XBoard}{
26721 \end_layout
26722
26723 \end_inset
26724
26725
26726 \series bold
26727 XBoard
26728 \series default
26729
26730 \begin_inset ERT
26731 status collapsed
26732
26733 \begin_layout Standard
26734
26735 }
26736 \end_layout
26737
26738 \end_inset
26739
26740 .
26741 \end_layout
26742
26743 \begin_layout Description
26744 Date This inserts the date in the form 
26745 \emph on
26746 Date-Month-Year
26747 \emph default
26748 .
26749  This is a date inserted as external material: 
26750 \begin_inset External
26751         template Date
26752         filename .
26753
26754 \end_inset
26755
26756
26757 \newline
26758 The date is not shown within LyX, only in the output.
26759  There are two other methods of inserting a date, via menu 
26760 \family sans
26761 Insert\SpecialChar \menuseparator
26762 Date
26763 \family default
26764  and with the LaTeX command 
26765 \series bold
26766
26767 \backslash
26768 today
26769 \series default
26770  as ERT.
26771  The different methods are compared in Table\InsetSpace ~
26772
26773 \begin_inset LatexCommand ref
26774 reference "tab:Comparison-of-the"
26775
26776 \end_inset
26777
26778 .
26779 \end_layout
26780
26781 \begin_layout Description
26782 LilyPond This template is used for music notation typeset with the program
26783 \begin_inset ERT
26784 status collapsed
26785
26786 \begin_layout Standard
26787
26788
26789 \backslash
26790 linebreak 
26791 \end_layout
26792
26793 \end_inset
26794
26795
26796 \begin_inset ERT
26797 status collapsed
26798
26799 \begin_layout Standard
26800
26801
26802 \backslash
26803 href{http://en.wikipedia.org/wiki/LilyPond}{
26804 \end_layout
26805
26806 \end_inset
26807
26808
26809 \series bold
26810 LilyPond
26811 \series default
26812
26813 \begin_inset ERT
26814 status collapsed
26815
26816 \begin_layout Standard
26817
26818 }
26819 \end_layout
26820
26821 \end_inset
26822
26823 .
26824 \begin_inset Note Note
26825 status collapsed
26826
26827 \begin_layout Standard
26828 The command 
26829 \series bold
26830
26831 \backslash
26832 linebreak
26833 \series default
26834  breaks the line while the remaining text in the line is stretched to the
26835  page margin.
26836 \end_layout
26837
26838 \end_inset
26839
26840
26841 \end_layout
26842
26843 \begin_layout Description
26844 RasterImage This can be used for bitmap images.
26845  Nearly all popular image formats are supported.
26846  The image can be treated in the 
26847 \family sans
26848 External material
26849 \family default
26850  dialog like the images that are usually included via the 
26851 \family sans
26852 Graphics
26853 \family default
26854  dialog as described in section\InsetSpace ~
26855
26856 \begin_inset LatexCommand ref
26857 reference "sec:Graphics-Dialog"
26858
26859 \end_inset
26860
26861 .
26862  The difference is that only raster images are allowed, that means that
26863  PDF and EPS-images are not supported.
26864 \end_layout
26865
26866 \begin_layout Description
26867 XFig This template supports images created with the program 
26868 \begin_inset ERT
26869 status collapsed
26870
26871 \begin_layout Standard
26872
26873
26874 \backslash
26875 href{http://en.wikipedia.org/wiki/Xfig}{
26876 \end_layout
26877
26878 \end_inset
26879
26880
26881 \series bold
26882 Xfig
26883 \series default
26884
26885 \begin_inset ERT
26886 status collapsed
26887
26888 \begin_layout Standard
26889
26890 }
26891 \end_layout
26892
26893 \end_inset
26894
26895 .
26896 \end_layout
26897
26898 \begin_layout Standard
26899 \begin_inset Float table
26900 placement h
26901 wide false
26902 sideways false
26903 status open
26904
26905 \begin_layout Standard
26906 \begin_inset Caption
26907
26908 \begin_layout Standard
26909 \begin_inset LatexCommand label
26910 name "tab:Comparison-of-the"
26911
26912 \end_inset
26913
26914 Comparison of the date input methods.
26915 \end_layout
26916
26917 \end_inset
26918
26919
26920 \end_layout
26921
26922 \begin_layout Standard
26923 \align center
26924 \begin_inset Tabular
26925 <lyxtabular version="3" rows="4" columns="4">
26926 <features>
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" width="0">
26930 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26931 <row topline="true">
26932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26933 \begin_inset Text
26934
26935 \begin_layout Standard
26936 Document format
26937 \end_layout
26938
26939 \end_inset
26940 </cell>
26941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26942 \begin_inset Text
26943
26944 \begin_layout Standard
26945
26946 \family sans
26947 External Material\SpecialChar \menuseparator
26948 Date
26949 \end_layout
26950
26951 \end_inset
26952 </cell>
26953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26954 \begin_inset Text
26955
26956 \begin_layout Standard
26957
26958 \family sans
26959 Insert\SpecialChar \menuseparator
26960 Date
26961 \end_layout
26962
26963 \end_inset
26964 </cell>
26965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26966 \begin_inset Text
26967
26968 \begin_layout Standard
26969 command 
26970 \series bold
26971
26972 \backslash
26973 today
26974 \end_layout
26975
26976 \end_inset
26977 </cell>
26978 </row>
26979 <row topline="true">
26980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26981 \begin_inset Text
26982
26983 \begin_layout Standard
26984 LyX
26985 \end_layout
26986
26987 \end_inset
26988 </cell>
26989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26990 \begin_inset Text
26991
26992 \begin_layout Standard
26993 as inset box
26994 \end_layout
26995
26996 \end_inset
26997 </cell>
26998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26999 \begin_inset Text
27000
27001 \begin_layout Standard
27002 as date
27003 \end_layout
27004
27005 \end_inset
27006 </cell>
27007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27008 \begin_inset Text
27009
27010 \begin_layout Standard
27011 as ERT inset box
27012 \end_layout
27013
27014 \end_inset
27015 </cell>
27016 </row>
27017 <row topline="true">
27018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27019 \begin_inset Text
27020
27021 \begin_layout Standard
27022 LaTeX
27023 \end_layout
27024
27025 \end_inset
27026 </cell>
27027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27028 \begin_inset Text
27029
27030 \begin_layout Standard
27031 as date
27032 \end_layout
27033
27034 \end_inset
27035 </cell>
27036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27037 \begin_inset Text
27038
27039 \begin_layout Standard
27040 as date
27041 \end_layout
27042
27043 \end_inset
27044 </cell>
27045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27046 \begin_inset Text
27047
27048 \begin_layout Standard
27049 as command
27050 \end_layout
27051
27052 \end_inset
27053 </cell>
27054 </row>
27055 <row topline="true" bottomline="true">
27056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27057 \begin_inset Text
27058
27059 \begin_layout Standard
27060 DVI, PDF, PS
27061 \end_layout
27062
27063 \end_inset
27064 </cell>
27065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27066 \begin_inset Text
27067
27068 \begin_layout Standard
27069 as date
27070 \end_layout
27071
27072 \end_inset
27073 </cell>
27074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27075 \begin_inset Text
27076
27077 \begin_layout Standard
27078 as date
27079 \end_layout
27080
27081 \end_inset
27082 </cell>
27083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27084 \begin_inset Text
27085
27086 \begin_layout Standard
27087 as date
27088 \end_layout
27089
27090 \end_inset
27091 </cell>
27092 </row>
27093 </lyxtabular>
27094
27095 \end_inset
27096
27097
27098 \end_layout
27099
27100 \end_inset
27101
27102
27103 \end_layout
27104
27105 \begin_layout Standard
27106 When you use the option 
27107 \family sans
27108 Draft
27109 \family default
27110  in the 
27111 \family sans
27112 File
27113 \family default
27114  tab of the 
27115 \family sans
27116 External Material
27117 \family default
27118  dialog, only the path to the inserted file is shown in the output.
27119 \newline
27120 External
27121  material is displayed in LyX either as box like this: 
27122 \begin_inset Graphics
27123         filename clipart/ExternalMaterialQt4.png
27124         scale 85
27125
27126 \end_inset
27127
27128  or as image, depending on the setting in the 
27129 \family sans
27130 LyX\InsetSpace ~
27131 View
27132 \family default
27133  tab of the 
27134 \family sans
27135 External Material
27136 \family default
27137  dialog.
27138 \end_layout
27139
27140 \begin_layout Standard
27141 The 
27142 \family sans
27143 \emph on
27144 Customization
27145 \family default
27146 \emph default
27147  manual explains how you can define your own templates.
27148 \end_layout
27149
27150 \begin_layout Section
27151 Child Documents
27152 \begin_inset LatexCommand index
27153 name "External Stuff ! Child Documents"
27154
27155 \end_inset
27156
27157
27158 \begin_inset LatexCommand index
27159 name "Files ! Include"
27160
27161 \end_inset
27162
27163
27164 \end_layout
27165
27166 \begin_layout Standard
27167 Child documents are used when you have a long document consisting of several
27168  larger parts or sections.
27169  For maintenance it is often useful and sometimes even required to split
27170  the document in several files that can be revised separately.
27171  The different documents are then the so called child documents and a master
27172  document connects them to print the full document or parts of it.
27173 \end_layout
27174
27175 \begin_layout Standard
27176 Included documents are displayed in LyX as a box like this: 
27177 \begin_inset Graphics
27178         filename clipart/ChildDocumentQt4.png
27179         scale 85
27180
27181 \end_inset
27182
27183  To include child documents to a master document use the menu 
27184 \family sans
27185 Insert\SpecialChar \menuseparator
27186 File\SpecialChar \menuseparator
27187 Child\InsetSpace ~
27188 Documents
27189 \family default
27190 .
27191  A dialog pops up where you can choose between three include methods:
27192 \end_layout
27193
27194 \begin_layout Description
27195 Include You can include LyX and LaTeX-documents.
27196  When you press the 
27197 \family sans
27198 Load
27199 \family default
27200  button in the 
27201 \family sans
27202 Child Document
27203 \family default
27204  dialog, the included documents will be opened in LyX in a new file tab
27205  so that you can modify it.
27206 \newline
27207
27208 \end_layout
27209
27210 \begin_layout Standard
27211 Here is a child document inserted using 
27212 \family sans
27213 Include
27214 \family default
27215
27216 \begin_inset Include \include{DummyDocument1.lyx}
27217 preview false
27218
27219 \end_inset
27220
27221
27222 \end_layout
27223
27224 \begin_layout Standard
27225 The section numbering includes the sections of the included files in the
27226  order they are inserted in the master document.
27227  The included example document has for example a subsection that is numbered
27228  as subsection of this section.
27229  Labels of included documents can be referenced: Subsection\InsetSpace ~
27230
27231 \begin_inset LatexCommand ref
27232 reference "sub:External-Subsection-1"
27233
27234 \end_inset
27235
27236
27237 \end_layout
27238
27239 \begin_layout Standard
27240 The preamble of the child document is ignored, only the preamble of the
27241  master document is used.
27242  Included documents are inserted starting on a new page and end with a pagebreak.
27243 \end_layout
27244
27245 \begin_layout Standard
27246 With the LaTeX-command 
27247 \series bold
27248
27249 \backslash
27250 includeonly 
27251 \series default
27252 you can specify which included child documents are processed when the output
27253  is generated.
27254  This is useful when you are perhaps only working on a certain chapter of
27255  your large document as this saves compiling time.
27256  
27257 \series bold
27258
27259 \backslash
27260 includeonly
27261 \series default
27262  is inserted to the master document preamble.
27263  It takes a comma-separated list of the filenames as argument, e.g.
27264 \end_layout
27265
27266 \begin_layout Standard
27267
27268 \series bold
27269
27270 \backslash
27271 includeonly{chapter1,chapter5}
27272 \end_layout
27273
27274 \begin_layout Standard
27275 will only process the included files named 
27276 \begin_inset Quotes eld
27277 \end_inset
27278
27279 chapter1.lyx
27280 \begin_inset Quotes erd
27281 \end_inset
27282
27283  (or 
27284 \begin_inset Quotes eld
27285 \end_inset
27286
27287 chapter1.tex
27288 \begin_inset Quotes erd
27289 \end_inset
27290
27291 ) and 
27292 \begin_inset Quotes eld
27293 \end_inset
27294
27295 chapter5.lyx
27296 \begin_inset Quotes erd
27297 \end_inset
27298
27299  .
27300 \end_layout
27301
27302 \begin_layout Standard
27303 \begin_inset Note Greyedout
27304 status open
27305
27306 \begin_layout Standard
27307
27308 \series bold
27309 Note:
27310 \series default
27311  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27312 w the document in case that the child document uses another document class
27313  than the master document as this will lead to unexpected outputs.
27314 \end_layout
27315
27316 \end_inset
27317
27318
27319 \end_layout
27320
27321 \begin_layout Description
27322 Input This method is very similar to the Include method.
27323  The differences are:
27324 \end_layout
27325
27326 \begin_deeper
27327 \begin_layout Itemize
27328 Input files don't start with a new page and don't end with a pagebreak.
27329 \end_layout
27330
27331 \begin_layout Itemize
27332 Input files can be previewed in LyX when 
27333 \family sans
27334 Instant\InsetSpace ~
27335 Preview
27336 \family default
27337  is enabled in LyX's preferences under 
27338 \family sans
27339 Look\InsetSpace ~
27340 and\InsetSpace ~
27341 feel\SpecialChar \menuseparator
27342 Graphics
27343 \family default
27344 .
27345 \end_layout
27346
27347 \begin_layout Itemize
27348 The LaTeX-command 
27349 \series bold
27350
27351 \backslash
27352 includeonly
27353 \series default
27354  cannot be used.
27355 \end_layout
27356
27357 \end_deeper
27358 \begin_layout Standard
27359 Here is a child document inserted using 
27360 \family sans
27361 Input
27362 \family default
27363
27364 \begin_inset Include \input{DummyDocument2.lyx}
27365 preview true
27366
27367 \end_inset
27368
27369
27370 \end_layout
27371
27372 \begin_layout Description
27373 Verbatim With this method every text file can be included.
27374  The file is shown in the output with its source code, no command used in
27375  the text is invoked.
27376  You can use the option 
27377 \family sans
27378 Mark spaces in output
27379 \family default
27380  that displays the character 
27381 \begin_inset Quotes eld
27382 \end_inset
27383
27384
27385 \begin_inset ERT
27386 status collapsed
27387
27388 \begin_layout Standard
27389
27390
27391 \backslash
27392 textvisiblespace 
27393 \end_layout
27394
27395 \end_inset
27396
27397
27398 \begin_inset Quotes erd
27399 \end_inset
27400
27401  for every space character in the source code.
27402  The difference to the method via the menu 
27403 \family sans
27404 Insert\SpecialChar \menuseparator
27405 File\SpecialChar \menuseparator
27406 Plain\InsetSpace ~
27407 Text
27408 \family default
27409  is that the document content is not shown in LyX.
27410 \end_layout
27411
27412 \begin_layout Standard
27413 Here is a child document inserted as Verbatim: 
27414 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27415 preview false
27416
27417 \end_inset
27418
27419
27420 \begin_inset VSpace bigskip
27421 \end_inset
27422
27423 Here is a child document inserted as Verbatim using the 
27424 \family sans
27425 Mark spaces in output
27426 \family default
27427  option: 
27428 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27429 preview false
27430
27431 \end_inset
27432
27433
27434 \end_layout
27435
27436 \begin_layout Standard
27437 \begin_inset VSpace bigskip
27438 \end_inset
27439
27440
27441 \end_layout
27442
27443 \begin_layout Standard
27444 \begin_inset Note Greyedout
27445 status open
27446
27447 \begin_layout Standard
27448
27449 \series bold
27450 Note:
27451 \series default
27452  As you can see in the examples above, the text of the documents included
27453  as verbatim is not broken at the end of the document lines.
27454 \end_layout
27455
27456 \end_inset
27457
27458
27459 \end_layout
27460
27461 \begin_layout Standard
27462 \begin_inset Note Greyedout
27463 status open
27464
27465 \begin_layout Standard
27466
27467 \series bold
27468 Note:
27469 \series default
27470  Including the same document twice in a document using different methods
27471  could cause LaTeX-problems.
27472 \end_layout
27473
27474 \end_inset
27475
27476
27477 \end_layout
27478
27479 \begin_layout Standard
27480
27481 \newpage
27482
27483 \end_layout
27484
27485 \begin_layout Chapter
27486 \start_of_appendix
27487 Units available in 
27488 \begin_inset ERT
27489 status collapsed
27490
27491 \begin_layout Standard
27492
27493
27494 \backslash
27495 texorpdfstring{
27496 \end_layout
27497
27498 \end_inset
27499
27500 LyX
27501 \begin_inset ERT
27502 status collapsed
27503
27504 \begin_layout Standard
27505
27506 }{LyX}
27507 \end_layout
27508
27509 \end_inset
27510
27511
27512 \begin_inset LatexCommand index
27513 name "Units"
27514
27515 \end_inset
27516
27517
27518 \begin_inset LatexCommand label
27519 name "cha:Units-available-in"
27520
27521 \end_inset
27522
27523
27524 \begin_inset Note Note
27525 status collapsed
27526
27527 \begin_layout Standard
27528 The command 
27529 \backslash
27530 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27531  are displayed wrongly in PDF-bookmarks.
27532  For more information about this, have a look at 
27533 \begin_inset LatexCommand cite
27534 key "hyperref"
27535
27536 \end_inset
27537
27538 .
27539 \end_layout
27540
27541 \end_inset
27542
27543
27544 \end_layout
27545
27546 \begin_layout Standard
27547 To understand the units described in this documentation, Table\InsetSpace ~
27548
27549 \begin_inset LatexCommand ref
27550 reference "tab:Units"
27551
27552 \end_inset
27553
27554  explains all units available in LyX.
27555 \end_layout
27556
27557 \begin_layout Standard
27558 \begin_inset Float table
27559 placement h
27560 wide false
27561 sideways false
27562 status open
27563
27564 \begin_layout Standard
27565 \begin_inset Caption
27566
27567 \begin_layout Standard
27568 \begin_inset LatexCommand label
27569 name "tab:Units"
27570
27571 \end_inset
27572
27573 Units
27574 \end_layout
27575
27576 \end_inset
27577
27578
27579 \end_layout
27580
27581 \begin_layout Standard
27582 \begin_inset VSpace medskip
27583 \end_inset
27584
27585
27586 \end_layout
27587
27588 \begin_layout Standard
27589 \align center
27590 \begin_inset Tabular
27591 <lyxtabular version="3" rows="20" columns="2">
27592 <features>
27593 <column alignment="center" valignment="top" leftline="true" width="0">
27594 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27595 <row topline="true" bottomline="true">
27596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27597 \begin_inset Text
27598
27599 \begin_layout Standard
27600 unit
27601 \end_layout
27602
27603 \end_inset
27604 </cell>
27605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27606 \begin_inset Text
27607
27608 \begin_layout Standard
27609 name/description
27610 \end_layout
27611
27612 \end_inset
27613 </cell>
27614 </row>
27615 <row topline="true">
27616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27617 \begin_inset Text
27618
27619 \begin_layout Standard
27620 mm
27621 \end_layout
27622
27623 \end_inset
27624 </cell>
27625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27626 \begin_inset Text
27627
27628 \begin_layout Standard
27629 millimeter
27630 \end_layout
27631
27632 \end_inset
27633 </cell>
27634 </row>
27635 <row topline="true">
27636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27637 \begin_inset Text
27638
27639 \begin_layout Standard
27640 cm
27641 \end_layout
27642
27643 \end_inset
27644 </cell>
27645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27646 \begin_inset Text
27647
27648 \begin_layout Standard
27649 centimeter
27650 \end_layout
27651
27652 \end_inset
27653 </cell>
27654 </row>
27655 <row topline="true">
27656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27657 \begin_inset Text
27658
27659 \begin_layout Standard
27660 in
27661 \end_layout
27662
27663 \end_inset
27664 </cell>
27665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27666 \begin_inset Text
27667
27668 \begin_layout Standard
27669 inch
27670 \end_layout
27671
27672 \end_inset
27673 </cell>
27674 </row>
27675 <row topline="true">
27676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27677 \begin_inset Text
27678
27679 \begin_layout Standard
27680 pt
27681 \end_layout
27682
27683 \end_inset
27684 </cell>
27685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27686 \begin_inset Text
27687
27688 \begin_layout Standard
27689 point (72.27\InsetSpace \thinspace{}
27690 pt = 1\InsetSpace \thinspace{}
27691 in)
27692 \end_layout
27693
27694 \end_inset
27695 </cell>
27696 </row>
27697 <row topline="true">
27698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27699 \begin_inset Text
27700
27701 \begin_layout Standard
27702 pc
27703 \end_layout
27704
27705 \end_inset
27706 </cell>
27707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27708 \begin_inset Text
27709
27710 \begin_layout Standard
27711 pica (1\InsetSpace \thinspace{}
27712 pc = 12\InsetSpace \thinspace{}
27713 pt)
27714 \end_layout
27715
27716 \end_inset
27717 </cell>
27718 </row>
27719 <row topline="true">
27720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27721 \begin_inset Text
27722
27723 \begin_layout Standard
27724 sp
27725 \end_layout
27726
27727 \end_inset
27728 </cell>
27729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27730 \begin_inset Text
27731
27732 \begin_layout Standard
27733 scaled point (65536\InsetSpace \thinspace{}
27734 sp = 1\InsetSpace \thinspace{}
27735 pt)
27736 \end_layout
27737
27738 \end_inset
27739 </cell>
27740 </row>
27741 <row topline="true">
27742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27743 \begin_inset Text
27744
27745 \begin_layout Standard
27746 bp
27747 \end_layout
27748
27749 \end_inset
27750 </cell>
27751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27752 \begin_inset Text
27753
27754 \begin_layout Standard
27755 big point (72\InsetSpace \thinspace{}
27756 bp = 1\InsetSpace \thinspace{}
27757 in)
27758 \end_layout
27759
27760 \end_inset
27761 </cell>
27762 </row>
27763 <row topline="true">
27764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27765 \begin_inset Text
27766
27767 \begin_layout Standard
27768 dd
27769 \end_layout
27770
27771 \end_inset
27772 </cell>
27773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27774 \begin_inset Text
27775
27776 \begin_layout Standard
27777 didot (72\InsetSpace \thinspace{}
27778 dd 
27779 \begin_inset Formula $\approx$
27780 \end_inset
27781
27782  37.6\InsetSpace \thinspace{}
27783 mm)
27784 \end_layout
27785
27786 \end_inset
27787 </cell>
27788 </row>
27789 <row topline="true">
27790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27791 \begin_inset Text
27792
27793 \begin_layout Standard
27794 cc
27795 \end_layout
27796
27797 \end_inset
27798 </cell>
27799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27800 \begin_inset Text
27801
27802 \begin_layout Standard
27803 cicero (1\InsetSpace \thinspace{}
27804 cc = 12\InsetSpace \thinspace{}
27805 dd)
27806 \end_layout
27807
27808 \end_inset
27809 </cell>
27810 </row>
27811 <row topline="true">
27812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27813 \begin_inset Text
27814
27815 \begin_layout Standard
27816 Scale%
27817 \end_layout
27818
27819 \end_inset
27820 </cell>
27821 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27822 \begin_inset Text
27823
27824 \begin_layout Standard
27825 % of original image width
27826 \end_layout
27827
27828 \end_inset
27829 </cell>
27830 </row>
27831 <row topline="true">
27832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27833 \begin_inset Text
27834
27835 \begin_layout Standard
27836 text%
27837 \end_layout
27838
27839 \end_inset
27840 </cell>
27841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27842 \begin_inset Text
27843
27844 \begin_layout Standard
27845 % of text width
27846 \end_layout
27847
27848 \end_inset
27849 </cell>
27850 </row>
27851 <row topline="true">
27852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27853 \begin_inset Text
27854
27855 \begin_layout Standard
27856 col%
27857 \end_layout
27858
27859 \end_inset
27860 </cell>
27861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27862 \begin_inset Text
27863
27864 \begin_layout Standard
27865 % of column width
27866 \end_layout
27867
27868 \end_inset
27869 </cell>
27870 </row>
27871 <row topline="true">
27872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27873 \begin_inset Text
27874
27875 \begin_layout Standard
27876 page%
27877 \end_layout
27878
27879 \end_inset
27880 </cell>
27881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27882 \begin_inset Text
27883
27884 \begin_layout Standard
27885 % of paper width
27886 \end_layout
27887
27888 \end_inset
27889 </cell>
27890 </row>
27891 <row topline="true">
27892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27893 \begin_inset Text
27894
27895 \begin_layout Standard
27896 line%
27897 \end_layout
27898
27899 \end_inset
27900 </cell>
27901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27902 \begin_inset Text
27903
27904 \begin_layout Standard
27905 % of line width
27906 \end_layout
27907
27908 \end_inset
27909 </cell>
27910 </row>
27911 <row topline="true">
27912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27913 \begin_inset Text
27914
27915 \begin_layout Standard
27916 theight%
27917 \end_layout
27918
27919 \end_inset
27920 </cell>
27921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27922 \begin_inset Text
27923
27924 \begin_layout Standard
27925 % of text height
27926 \end_layout
27927
27928 \end_inset
27929 </cell>
27930 </row>
27931 <row topline="true">
27932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27933 \begin_inset Text
27934
27935 \begin_layout Standard
27936 pheight%
27937 \end_layout
27938
27939 \end_inset
27940 </cell>
27941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27942 \begin_inset Text
27943
27944 \begin_layout Standard
27945 % of paper height
27946 \end_layout
27947
27948 \end_inset
27949 </cell>
27950 </row>
27951 <row topline="true">
27952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27953 \begin_inset Text
27954
27955 \begin_layout Standard
27956 ex
27957 \end_layout
27958
27959 \end_inset
27960 </cell>
27961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27962 \begin_inset Text
27963
27964 \begin_layout Standard
27965 height of letter 
27966 \emph on
27967 x
27968 \emph default
27969  in current font
27970 \end_layout
27971
27972 \end_inset
27973 </cell>
27974 </row>
27975 <row topline="true">
27976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27977 \begin_inset Text
27978
27979 \begin_layout Standard
27980 em
27981 \end_layout
27982
27983 \end_inset
27984 </cell>
27985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27986 \begin_inset Text
27987
27988 \begin_layout Standard
27989 width of letter 
27990 \emph on
27991 M
27992 \emph default
27993  in current font
27994 \end_layout
27995
27996 \end_inset
27997 </cell>
27998 </row>
27999 <row topline="true" bottomline="true">
28000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28001 \begin_inset Text
28002
28003 \begin_layout Standard
28004 mu
28005 \end_layout
28006
28007 \end_inset
28008 </cell>
28009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28010 \begin_inset Text
28011
28012 \begin_layout Standard
28013 math unit (1\InsetSpace \thinspace{}
28014 mu = 1/18\InsetSpace \thinspace{}
28015 em)
28016 \end_layout
28017
28018 \end_inset
28019 </cell>
28020 </row>
28021 </lyxtabular>
28022
28023 \end_inset
28024
28025
28026 \end_layout
28027
28028 \end_inset
28029
28030
28031 \end_layout
28032
28033 \begin_layout Chapter
28034 Output File Formats with Graphics
28035 \begin_inset LatexCommand label
28036 name "cha:Output-File-Formats"
28037
28038 \end_inset
28039
28040
28041 \end_layout
28042
28043 \begin_layout Section
28044 DVI
28045 \begin_inset LatexCommand index
28046 name "File Formats ! DVI"
28047
28048 \end_inset
28049
28050
28051 \begin_inset LatexCommand index
28052 name "DVI|see{File Formats}"
28053
28054 \end_inset
28055
28056
28057 \end_layout
28058
28059 \begin_layout Standard
28060 This file type has the extension 
28061 \begin_inset Quotes eld
28062 \end_inset
28063
28064
28065 \family typewriter
28066 .dvi
28067 \family default
28068
28069 \begin_inset Quotes erd
28070 \end_inset
28071
28072 .
28073  It is called 
28074 \begin_inset Quotes eld
28075 \end_inset
28076
28077 device-independent
28078 \begin_inset Quotes erd
28079 \end_inset
28080
28081  (DVI), because it is completely portable; you can move them from one machine
28082  to another without needing to do any sort of conversion.
28083  At the time when this file-format was developed, this was no matter of
28084  course.
28085  DVIs are used for quick previews and as pre-stage for other output formats,
28086  like PostScript.
28087 \end_layout
28088
28089 \begin_layout Standard
28090 \begin_inset Note Greyedout
28091 status open
28092
28093 \begin_layout Standard
28094
28095 \series bold
28096 Note:
28097 \series default
28098  DVI-files doesn't contain images, they will only be a linked.
28099 \end_layout
28100
28101 \end_inset
28102
28103  So don't forget this, if you move your 
28104 \family typewriter
28105 .dvi
28106 \family default
28107  file to another computer.
28108  This property can also slow down your computer when you view the DVI.
28109  Because the DVI-viewer has to convert the image in the background to make
28110  it visible when you scroll in the DVI.
28111  So we recommend to use PDF for files with many images.
28112 \end_layout
28113
28114 \begin_layout Standard
28115 You can export your document to DVI by using the menu 
28116 \family sans
28117 File\SpecialChar \menuseparator
28118 Export\SpecialChar \menuseparator
28119 DVI
28120 \family default
28121 .
28122  You can view your document as DVI via the 
28123 \family sans
28124 View
28125 \family default
28126  menu or by using the toolbar button 
28127 \begin_inset Graphics
28128         filename ../images/buffer-view_dvi.xpm
28129         scale 85
28130
28131 \end_inset
28132
28133 .
28134 \end_layout
28135
28136 \begin_layout Section
28137 PostScript
28138 \begin_inset LatexCommand label
28139 name "sec:PostScript"
28140
28141 \end_inset
28142
28143
28144 \begin_inset LatexCommand index
28145 name "File Formats ! PostScript"
28146
28147 \end_inset
28148
28149
28150 \begin_inset LatexCommand index
28151 name "PostScript|see{File Formats}"
28152
28153 \end_inset
28154
28155
28156 \end_layout
28157
28158 \begin_layout Standard
28159 This file type has the extension 
28160 \begin_inset Quotes eld
28161 \end_inset
28162
28163
28164 \family typewriter
28165 .ps
28166 \family default
28167
28168 \begin_inset Quotes erd
28169 \end_inset
28170
28171 .
28172  PostScript was developed by the company 
28173 \family typewriter
28174 Adobe
28175 \family default
28176  as printer language.
28177  The file contains therefore commands that the printer uses to print the
28178  file.
28179  PostScript can be seen as 
28180 \begin_inset Quotes eld
28181 \end_inset
28182
28183 programming language
28184 \begin_inset Quotes erd
28185 \end_inset
28186
28187 ; you can calculate with it and draw diagrams and images
28188 \begin_inset Foot
28189 status collapsed
28190
28191 \begin_layout Standard
28192 If you are interested to learn more about this, have a look at the LaTeX-package
28193  
28194 \series bold
28195 PSTricks
28196 \series default
28197  
28198 \begin_inset LatexCommand cite
28199 key "pstricks"
28200
28201 \end_inset
28202
28203 .
28204 \end_layout
28205
28206 \end_inset
28207
28208 .
28209  Due to this ability, the files are often bigger than PDFs.
28210 \end_layout
28211
28212 \begin_layout Standard
28213 PostScript can only contain images in the format 
28214 \begin_inset Quotes eld
28215 \end_inset
28216
28217 Encapsulated PostScript
28218 \begin_inset Quotes erd
28219 \end_inset
28220
28221  (EPS, file extension 
28222 \begin_inset Quotes eld
28223 \end_inset
28224
28225
28226 \family typewriter
28227 .eps
28228 \family default
28229
28230 \begin_inset Quotes erd
28231 \end_inset
28232
28233 ).
28234  As LyX allows you to use any known image format in your document, it has
28235  to convert images in the background to EPS.
28236  If you have e.g 50 images in your document, LyX has to do 50 conversions
28237  whenever you view or export your document.
28238  This will slow down your work flow with LyX drastically.
28239  So if you plan to use PostScript, you can insert your images directly as
28240  EPS to avoid this problem.
28241 \end_layout
28242
28243 \begin_layout Standard
28244 You can export your document to PostScript using the menu 
28245 \family sans
28246 File\SpecialChar \menuseparator
28247 Export\SpecialChar \menuseparator
28248 Postscript
28249 \family default
28250 .
28251  You can view your document as PostScript via the 
28252 \family sans
28253 View
28254 \family default
28255  menu or by using the toolbar button 
28256 \begin_inset Graphics
28257         filename ../images/buffer-view_ps.xpm
28258         scale 85
28259
28260 \end_inset
28261
28262 .
28263 \end_layout
28264
28265 \begin_layout Section
28266 PDF
28267 \begin_inset LatexCommand label
28268 name "sec:PDF"
28269
28270 \end_inset
28271
28272
28273 \begin_inset LatexCommand index
28274 name "File Formats ! PDF"
28275
28276 \end_inset
28277
28278
28279 \begin_inset LatexCommand index
28280 name "PDF"
28281
28282 \end_inset
28283
28284
28285 \end_layout
28286
28287 \begin_layout Standard
28288 This file type has the extension 
28289 \begin_inset Quotes eld
28290 \end_inset
28291
28292
28293 \family typewriter
28294 .pdf
28295 \family default
28296
28297 \begin_inset Quotes erd
28298 \end_inset
28299
28300 .
28301  The 
28302 \begin_inset Quotes eld
28303 \end_inset
28304
28305 Portable Document Format
28306 \begin_inset Quotes erd
28307 \end_inset
28308
28309  (PDF) is developed by 
28310 \family typewriter
28311 Adobe
28312 \family default
28313  as derivative from PostScript.
28314  It is more compressed and it uses much less commands than PostScript.
28315  As the name 
28316 \begin_inset Quotes eld
28317 \end_inset
28318
28319 portable
28320 \begin_inset Quotes erd
28321 \end_inset
28322
28323  implies, it can be processed at any computer system and the printed output
28324  looks exactly the same.
28325 \end_layout
28326
28327 \begin_layout Standard
28328 PDF can contain images in its own PDF format, in the format 
28329 \begin_inset Quotes eld
28330 \end_inset
28331
28332 Joint Photographic Experts Group
28333 \begin_inset Quotes erd
28334 \end_inset
28335
28336  (JPG, file extension 
28337 \begin_inset Quotes eld
28338 \end_inset
28339
28340
28341 \family typewriter
28342 .jpg
28343 \family default
28344
28345 \begin_inset Quotes erd
28346 \end_inset
28347
28348  or 
28349 \begin_inset Quotes eld
28350 \end_inset
28351
28352
28353 \family typewriter
28354 .jpeg
28355 \family default
28356
28357 \begin_inset Quotes erd
28358 \end_inset
28359
28360 ), and in the format 
28361 \begin_inset Quotes eld
28362 \end_inset
28363
28364 Portable Network Graphics
28365 \begin_inset Quotes erd
28366 \end_inset
28367
28368  (PNG, file extension 
28369 \begin_inset Quotes eld
28370 \end_inset
28371
28372
28373 \family typewriter
28374 .png
28375 \family default
28376
28377 \begin_inset Quotes erd
28378 \end_inset
28379
28380 ).
28381  You can although use any other image format, because LyX converts them
28382  in the background to one of these formats.
28383  But as described in the section about PostScript, the image conversion
28384  will slow down your work flow.
28385  So it is recommended to use images in one of the three mentioned formats.
28386 \end_layout
28387
28388 \begin_layout Standard
28389 You can export your document to PDF via the menu 
28390 \family sans
28391 File\SpecialChar \menuseparator
28392 Export
28393 \family default
28394  in three different ways:
28395 \end_layout
28396
28397 \begin_layout Description
28398 PDF This uses the program 
28399 \family typewriter
28400 ps2pdf
28401 \family default
28402  that creates a PDF from a PostScript-version of your file.
28403  The PostScript-version is produced by the program 
28404 \family typewriter
28405 dvips
28406 \family default
28407  which uses a DVI-version as intermediate step.
28408  So this export variant consist of three conversions.
28409 \end_layout
28410
28411 \begin_layout Description
28412 PDF\InsetSpace ~
28413 (dvipdfm) This uses the program 
28414 \family typewriter
28415 dvipdfm
28416 \family default
28417  that converts your file in the background to DVI and in a second step to
28418  PDF.
28419 \end_layout
28420
28421 \begin_layout Description
28422 PDF\InsetSpace ~
28423 (pdflatex) This uses the program 
28424 \family typewriter
28425 pdftex
28426 \family default
28427  that converts your file directly to PDF.
28428 \end_layout
28429
28430 \begin_layout Standard
28431 It is recommended to use 
28432 \family sans
28433 PDF\InsetSpace ~
28434 (pdflatex)
28435 \family default
28436  because 
28437 \family typewriter
28438 pdftex
28439 \family default
28440  supports all features of actual PDF-versions, is quick and works stable
28441  without problems.
28442  The program 
28443 \family typewriter
28444 dvipdfm
28445 \family default
28446  is not under development and therefore a bit outdated.
28447 \end_layout
28448
28449 \begin_layout Standard
28450 You can view your document as PDF via the 
28451 \family sans
28452 View
28453 \family default
28454  menu or by using the toolbar button 
28455 \begin_inset Graphics
28456         filename ../images/buffer-view_pdf2.xpm
28457         scale 85
28458
28459 \end_inset
28460
28461  
28462 \family sans
28463 (
28464 \family default
28465 that uses 
28466 \family sans
28467 PDF\InsetSpace ~
28468 (pdflatex)
28469 \family default
28470 ).
28471 \end_layout
28472
28473 \begin_layout Chapter
28474 Explanation of Equation\InsetSpace ~
28475
28476 \begin_inset LatexCommand eqref
28477 reference "eq:Wgn"
28478
28479 \end_inset
28480
28481
28482 \begin_inset LatexCommand label
28483 name "cha:Explanation-of-Equation"
28484
28485 \end_inset
28486
28487
28488 \end_layout
28489
28490 \begin_layout Standard
28491 The total width of 
28492 \emph on
28493 n
28494 \emph default
28495  table cells 
28496 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28497 \end_inset
28498
28499  can be calculated to
28500 \end_layout
28501
28502 \begin_layout Standard
28503 \begin_inset Formula \begin{equation}
28504 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28505
28506 \end_inset
28507
28508
28509 \end_layout
28510
28511 \begin_layout Standard
28512 Where 
28513 \begin_inset Formula $W_{g\, n}$
28514 \end_inset
28515
28516  is the given width of all cells.
28517  
28518 \series bold
28519
28520 \backslash
28521 tabcolsep
28522 \series default
28523  is the LaTeX-length between the cell text and the cell border, its default
28524  value is 6\InsetSpace \thinspace{}
28525 pt.
28526  
28527 \series bold
28528
28529 \backslash
28530 arrayrulewidth
28531 \series default
28532  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28533 pt.
28534 \end_layout
28535
28536 \begin_layout Standard
28537 Following equation\InsetSpace ~
28538
28539 \begin_inset LatexCommand eqref
28540 reference "eq:Wtot_n"
28541
28542 \end_inset
28543
28544 , the total width of a multicolumn 
28545 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28546 \end_inset
28547
28548  is
28549 \end_layout
28550
28551 \begin_layout Standard
28552 \begin_inset Formula \begin{equation}
28553 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28554
28555 \end_inset
28556
28557
28558 \end_layout
28559
28560 \begin_layout Standard
28561 By setting equation\InsetSpace ~
28562
28563 \begin_inset LatexCommand eqref
28564 reference "eq:Wtot_n"
28565
28566 \end_inset
28567
28568  and 
28569 \begin_inset LatexCommand eqref
28570 reference "eq:Wtot_mult"
28571
28572 \end_inset
28573
28574  equal we can calculate the needed given width 
28575 \begin_inset Formula $W_{g\, n}$
28576 \end_inset
28577
28578  when 
28579 \emph on
28580 n
28581 \emph default
28582  columns are spanned, so that each column has a total width of 
28583 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28584 \end_inset
28585
28586 :
28587 \end_layout
28588
28589 \begin_layout Standard
28590 \begin_inset Formula \begin{equation}
28591 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28592
28593 \end_inset
28594
28595
28596 \end_layout
28597
28598 \begin_layout Bibliography
28599 \begin_inset LatexCommand bibitem
28600 key "latexcompanion"
28601
28602 \end_inset
28603
28604 Frank Mittelbach and Michel Goossens: 
28605 \emph on
28606 The LaTeX Companion Second Edition.
28607
28608 \emph default
28609  Addison-Wesley, 2004
28610 \end_layout
28611
28612 \begin_layout Bibliography
28613 \begin_inset LatexCommand bibitem
28614 key "latexguide"
28615
28616 \end_inset
28617
28618 Helmut Kopka and Patrick W.
28619  Daly: 
28620 \emph on
28621 A Guide to LaTeX Fourth Edition.
28622
28623 \emph default
28624  Addison-Wesley, 2003
28625 \end_layout
28626
28627 \begin_layout Bibliography
28628 \begin_inset LatexCommand bibitem
28629 key "latexbook"
28630
28631 \end_inset
28632
28633 Leslie Lamport: 
28634 \emph on
28635 LaTeX: A Document Preparation System.
28636
28637 \emph default
28638  Addison-Wesley, second edition, 1994
28639 \end_layout
28640
28641 \begin_layout Bibliography
28642 \begin_inset LatexCommand bibitem
28643 key "booktabs"
28644
28645 \end_inset
28646
28647
28648 \begin_inset ERT
28649 status collapsed
28650
28651 \begin_layout Standard
28652
28653
28654 \backslash
28655 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28656 {
28657 \end_layout
28658
28659 \end_inset
28660
28661 Documentation
28662 \begin_inset ERT
28663 status collapsed
28664
28665 \begin_layout Standard
28666
28667 }
28668 \end_layout
28669
28670 \end_inset
28671
28672  of the LaTeX-package 
28673 \series bold
28674 booktabs
28675 \series default
28676
28677 \begin_inset LatexCommand index
28678 name "LaTeX-packages ! booktabs"
28679
28680 \end_inset
28681
28682
28683 \end_layout
28684
28685 \begin_layout Bibliography
28686 \begin_inset LatexCommand bibitem
28687 key "caption"
28688
28689 \end_inset
28690
28691
28692 \begin_inset ERT
28693 status collapsed
28694
28695 \begin_layout Standard
28696
28697
28698 \backslash
28699 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
28700 \end_layout
28701
28702 \end_inset
28703
28704 Documentation
28705 \begin_inset ERT
28706 status collapsed
28707
28708 \begin_layout Standard
28709
28710 }
28711 \end_layout
28712
28713 \end_inset
28714
28715  of the LaTeX-package 
28716 \series bold
28717 caption
28718 \series default
28719
28720 \begin_inset LatexCommand index
28721 name "LaTeX-packages ! caption"
28722
28723 \end_inset
28724
28725
28726 \end_layout
28727
28728 \begin_layout Bibliography
28729 \begin_inset LatexCommand bibitem
28730 key "caption-de"
28731
28732 \end_inset
28733
28734 German 
28735 \begin_inset ERT
28736 status collapsed
28737
28738 \begin_layout Standard
28739
28740
28741 \backslash
28742 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28743 {
28744 \end_layout
28745
28746 \end_inset
28747
28748 documentation
28749 \begin_inset ERT
28750 status collapsed
28751
28752 \begin_layout Standard
28753
28754 }
28755 \end_layout
28756
28757 \end_inset
28758
28759  of the LaTeX-package 
28760 \series bold
28761 caption
28762 \end_layout
28763
28764 \begin_layout Bibliography
28765 \begin_inset LatexCommand bibitem
28766 key "endfloat"
28767
28768 \end_inset
28769
28770
28771 \begin_inset ERT
28772 status collapsed
28773
28774 \begin_layout Standard
28775
28776
28777 \backslash
28778 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28779 {
28780 \end_layout
28781
28782 \end_inset
28783
28784 Documentation
28785 \begin_inset ERT
28786 status collapsed
28787
28788 \begin_layout Standard
28789
28790 }
28791 \end_layout
28792
28793 \end_inset
28794
28795  of the LaTeX-package 
28796 \series bold
28797 endf\SpecialChar \textcompwordmark{}
28798 loat
28799 \series default
28800
28801 \begin_inset LatexCommand index
28802 name "LaTeX-packages ! endfloat"
28803
28804 \end_inset
28805
28806
28807 \end_layout
28808
28809 \begin_layout Bibliography
28810 \begin_inset LatexCommand bibitem
28811 key "floatflt"
28812
28813 \end_inset
28814
28815
28816 \begin_inset ERT
28817 status collapsed
28818
28819 \begin_layout Standard
28820
28821
28822 \backslash
28823 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28824 {
28825 \end_layout
28826
28827 \end_inset
28828
28829 Documentation
28830 \begin_inset ERT
28831 status collapsed
28832
28833 \begin_layout Standard
28834
28835 }
28836 \end_layout
28837
28838 \end_inset
28839
28840  of the LaTeX-package 
28841 \series bold
28842 floatf\SpecialChar \textcompwordmark{}
28843 lt
28844 \series default
28845
28846 \begin_inset LatexCommand index
28847 name "LaTeX-packages ! floatflt"
28848
28849 \end_inset
28850
28851
28852 \end_layout
28853
28854 \begin_layout Bibliography
28855 \begin_inset LatexCommand bibitem
28856 key "footmisc"
28857
28858 \end_inset
28859
28860
28861 \begin_inset ERT
28862 status collapsed
28863
28864 \begin_layout Standard
28865
28866
28867 \backslash
28868 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
28869 {
28870 \end_layout
28871
28872 \end_inset
28873
28874 Documentation
28875 \begin_inset ERT
28876 status collapsed
28877
28878 \begin_layout Standard
28879
28880 }
28881 \end_layout
28882
28883 \end_inset
28884
28885  of the LaTeX-package 
28886 \series bold
28887 footmisc
28888 \series default
28889
28890 \begin_inset LatexCommand index
28891 name "LaTeX-packages ! footmisc"
28892
28893 \end_inset
28894
28895
28896 \end_layout
28897
28898 \begin_layout Bibliography
28899 \begin_inset LatexCommand bibitem
28900 key "hypcap"
28901
28902 \end_inset
28903
28904
28905 \begin_inset ERT
28906 status collapsed
28907
28908 \begin_layout Standard
28909
28910
28911 \backslash
28912 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
28913 \end_layout
28914
28915 \end_inset
28916
28917 Documentation
28918 \begin_inset ERT
28919 status collapsed
28920
28921 \begin_layout Standard
28922
28923 }
28924 \end_layout
28925
28926 \end_inset
28927
28928  of the LaTeX-package 
28929 \series bold
28930 hypcap
28931 \series default
28932
28933 \begin_inset LatexCommand index
28934 name "LaTeX-packages ! hyperref"
28935
28936 \end_inset
28937
28938
28939 \end_layout
28940
28941 \begin_layout Bibliography
28942 \begin_inset LatexCommand bibitem
28943 key "hyperref"
28944
28945 \end_inset
28946
28947
28948 \begin_inset ERT
28949 status collapsed
28950
28951 \begin_layout Standard
28952
28953
28954 \backslash
28955 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28956 {
28957 \end_layout
28958
28959 \end_inset
28960
28961 Documentation
28962 \begin_inset ERT
28963 status collapsed
28964
28965 \begin_layout Standard
28966
28967 }
28968 \end_layout
28969
28970 \end_inset
28971
28972  of the LaTeX-package 
28973 \series bold
28974 hyperref
28975 \series default
28976
28977 \begin_inset LatexCommand index
28978 name "LaTeX-packages ! hyperref"
28979
28980 \end_inset
28981
28982
28983 \end_layout
28984
28985 \begin_layout Bibliography
28986 \begin_inset LatexCommand bibitem
28987 key "koma-script"
28988
28989 \end_inset
28990
28991
28992 \begin_inset ERT
28993 status collapsed
28994
28995 \begin_layout Standard
28996
28997
28998 \backslash
28999 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29000 df}{
29001 \end_layout
29002
29003 \end_inset
29004
29005 Documentation
29006 \begin_inset ERT
29007 status collapsed
29008
29009 \begin_layout Standard
29010
29011 }
29012 \end_layout
29013
29014 \end_inset
29015
29016  of the LaTeX-package 
29017 \series bold
29018 koma-script
29019 \series default
29020
29021 \begin_inset LatexCommand index
29022 name "LaTeX-packages ! koma-script"
29023
29024 \end_inset
29025
29026
29027 \end_layout
29028
29029 \begin_layout Bibliography
29030 \begin_inset LatexCommand bibitem
29031 key "koma-script-de"
29032
29033 \end_inset
29034
29035 German 
29036 \begin_inset ERT
29037 status collapsed
29038
29039 \begin_layout Standard
29040
29041
29042 \backslash
29043 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29044 df}{
29045 \end_layout
29046
29047 \end_inset
29048
29049 documentation
29050 \begin_inset ERT
29051 status collapsed
29052
29053 \begin_layout Standard
29054
29055 }
29056 \end_layout
29057
29058 \end_inset
29059
29060  of the LaTeX-package 
29061 \series bold
29062 koma-script
29063 \series default
29064
29065 \begin_inset LatexCommand index
29066 name "LaTeX-packages ! koma-script"
29067
29068 \end_inset
29069
29070
29071 \end_layout
29072
29073 \begin_layout Bibliography
29074 \begin_inset LatexCommand bibitem
29075 key "marginnote"
29076
29077 \end_inset
29078
29079
29080 \begin_inset ERT
29081 status collapsed
29082
29083 \begin_layout Standard
29084
29085
29086 \backslash
29087 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29088 pdf}{
29089 \end_layout
29090
29091 \end_inset
29092
29093 Documentation
29094 \begin_inset ERT
29095 status collapsed
29096
29097 \begin_layout Standard
29098
29099 }
29100 \end_layout
29101
29102 \end_inset
29103
29104  of the LaTeX-package 
29105 \series bold
29106 marginnote
29107 \series default
29108
29109 \begin_inset LatexCommand index
29110 name "LaTeX-packages ! marginnote"
29111
29112 \end_inset
29113
29114
29115 \end_layout
29116
29117 \begin_layout Bibliography
29118 \begin_inset LatexCommand bibitem
29119 key "pstricks"
29120
29121 \end_inset
29122
29123
29124 \begin_inset ERT
29125 status collapsed
29126
29127 \begin_layout Standard
29128
29129
29130 \backslash
29131 href{http://tug.org/PSTricks/main.cgi/}{
29132 \end_layout
29133
29134 \end_inset
29135
29136 Web page
29137 \begin_inset ERT
29138 status collapsed
29139
29140 \begin_layout Standard
29141
29142 }
29143 \end_layout
29144
29145 \end_inset
29146
29147  of the LaTeX-package 
29148 \series bold
29149 PSTricks
29150 \series default
29151
29152 \begin_inset LatexCommand index
29153 name "LaTeX-packages ! PSTricks"
29154
29155 \end_inset
29156
29157
29158 \end_layout
29159
29160 \begin_layout Bibliography
29161 \begin_inset LatexCommand bibitem
29162 key "sidecap"
29163
29164 \end_inset
29165
29166
29167 \begin_inset ERT
29168 status collapsed
29169
29170 \begin_layout Standard
29171
29172
29173 \backslash
29174 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29175 \end_layout
29176
29177 \end_inset
29178
29179 Documentation
29180 \begin_inset ERT
29181 status collapsed
29182
29183 \begin_layout Standard
29184
29185 }
29186 \end_layout
29187
29188 \end_inset
29189
29190  of the LaTeX-package 
29191 \series bold
29192 sidecap
29193 \series default
29194
29195 \begin_inset LatexCommand index
29196 name "LaTeX-packages ! sidecap"
29197
29198 \end_inset
29199
29200
29201 \end_layout
29202
29203 \begin_layout Bibliography
29204 \begin_inset LatexCommand bibitem
29205 key "NewInLyX15"
29206
29207 \end_inset
29208
29209
29210 \begin_inset ERT
29211 status collapsed
29212
29213 \begin_layout Standard
29214
29215
29216 \backslash
29217 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29218 \end_layout
29219
29220 \end_inset
29221
29222 Wiki page
29223 \begin_inset ERT
29224 status collapsed
29225
29226 \begin_layout Standard
29227
29228 }
29229 \end_layout
29230
29231 \end_inset
29232
29233  about new LyX-features planned for the release 
29234 \family sans
29235 LyX 1.5
29236 \family default
29237 .
29238 \end_layout
29239
29240 \begin_layout Standard
29241 \begin_inset LatexCommand printindex
29242
29243 \end_inset
29244
29245
29246 \end_layout
29247
29248 \begin_layout Standard
29249 \begin_inset FloatList figure
29250
29251 \end_inset
29252
29253
29254 \end_layout
29255
29256 \begin_layout Standard
29257 \begin_inset FloatList table
29258
29259 \end_inset
29260
29261
29262 \end_layout
29263
29264 \end_body
29265 \end_document