]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Spanish updates from Ignacio
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 258
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 % define a new reference format
96 \newrefformat{fig}
97  {Figure~float~\ref{#1} printed on page~\pageref{#1}}
98
99 % used for colored tables
100 \@ifundefined{textcolor}
101  {\usepackage{color}}{}
102 \usepackage{colortbl}
103 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
104 \definecolor{lightgrey}{gray}{0.8}
105
106 % used for multirows
107 \usepackage{multirow}
108 %\renewcommand{\multirowsetup}{\centering}
109
110 % used for book-style tables
111 \usepackage{booktabs}
112
113 % used to have extra space in table cells,
114 \setlength{\extrarowheight}{2pt}
115
116 % used for customized tables
117 % ---
118 \newcolumntype{M}[1]
119  {>{\centering\hspace{0pt}}m{#1}}
120
121 \newcolumntype{S}[2]
122  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
123
124 \newcolumntype{K}[1]
125  {>{\columncolor{#1}\hspace{0pt}}c}
126
127 \newcolumntype{V}{!{\vrule width 1.5pt}}
128
129 \newcolumntype{W}{!{\color{green}\vline}}
130 % ---
131
132 % To be able to enter the characters ° and · directly in LyX
133 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
134 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
135
136 % insert additional vertical space of
137 % 1.5 mm between footnotes
138 \let\myFoot\footnote
139 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
140
141 % enable algorithm floats to be referenced
142 \newfloat{Xalgorithm}{tbp}{loa}
143 \floatname{Xalgorithm}{Algorithm}
144 \newcommand{\theHalgorithm}{\theHXalgorithm}
145 \renewenvironment{algorithm}[1][tbp]
146  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
147
148 % number algorithm floats within chapters
149 \numberwithin{Xalgorithm}{chapter}
150
151 % redefine the greyed out note
152 \renewenvironment{lyxgreyedout}
153  {\textcolor{blue}\bgroup}{\egroup}
154
155 % ------------------------------------
156 % used to check for needed LaTeX packages
157 \usepackage{ifthen}
158
159 % check for package arydshln
160 % used for tables with dashed lines
161 \newboolean{arydshln}
162 \IfFileExists{arydshln.sty}
163  {\usepackage{arydshln}
164   \setboolean{arydshln}{true}}
165  {\setboolean{arydshln}{false}}
166
167 % check for package marginnote
168 % used for margin notes
169 \newboolean{marginnote}
170 \IfFileExists{marginnote.sty}
171  {\usepackage{marginnote}
172   \let\marginpar\marginnote
173   \setboolean{marginnote}{true}}
174  {\setboolean{marginnote}{false}}
175 \end_preamble
176 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
177 \language english
178 \inputencoding auto
179 \font_roman default
180 \font_sans default
181 \font_typewriter default
182 \font_default_family default
183 \font_sc false
184 \font_osf false
185 \font_sf_scale 100
186 \font_tt_scale 100
187 \graphics default
188 \paperfontsize 12
189 \spacing single
190 \papersize default
191 \use_geometry false
192 \use_amsmath 2
193 \use_esint 0
194 \cite_engine basic
195 \use_bibtopic false
196 \paperorientation portrait
197 \secnumdepth 3
198 \tocdepth 3
199 \paragraph_separation skip
200 \defskip medskip
201 \quotes_language english
202 \papercolumns 1
203 \papersides 2
204 \paperpagestyle default
205 \bullet 1 1 34 -1
206 \bullet 2 2 35 -1
207 \bullet 3 2 7 -1
208 \tracking_changes false
209 \output_changes true
210 \author "" 
211 \end_header
212
213 \begin_body
214
215 \begin_layout Title
216 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
217 \end_layout
218
219 \begin_layout Author
220 by the LyX Team
221 \begin_inset Foot
222 status collapsed
223
224 \begin_layout Standard
225 \noindent
226 If you have comments or error corrections, please send them to the LyX Documenta
227 tion mailing list: 
228 \family typewriter
229
230 \begin_inset ERT
231 status open
232
233 \begin_layout Standard
234
235
236 \backslash
237 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
238 \end_layout
239
240 \end_inset
241
242 lyx-docs@lists.lyx.org
243 \begin_inset ERT
244 status collapsed
245
246 \begin_layout Standard
247
248 }
249 \end_layout
250
251 \end_inset
252
253
254 \end_layout
255
256 \end_inset
257
258
259 \begin_inset Note Note
260 status collapsed
261
262 \begin_layout Standard
263 original author: Uwe Stöhr
264 \end_layout
265
266 \end_inset
267
268
269 \newline
270
271 \newline
272
273 \family sans
274 Version 1.5.0-
275 \family default
276 1
277 \end_layout
278
279 \begin_layout Standard
280 \begin_inset LatexCommand tableofcontents
281
282 \end_inset
283
284
285 \end_layout
286
287 \begin_layout Standard
288 \begin_inset Note Note
289 status open
290
291 \begin_layout Standard
292 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
293  
294 \series bold
295 arydshln
296 \series default
297  and 
298 \series bold
299 marginnote
300 \series default
301  must be installed.
302  If they are not installed you can export the document anyway but the sections
303  where the packages are required won't appear in the output.
304 \end_layout
305
306 \begin_layout Standard
307 The latest PDF-version of this document can be found here:
308 \newline
309
310 \series bold
311 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
312 \end_layout
313
314 \end_inset
315
316
317 \end_layout
318
319 \begin_layout Chapter
320 Figures
321 \begin_inset LatexCommand label
322 name "cha:Figures"
323
324 \end_inset
325
326
327 \begin_inset LatexCommand index
328 name "Figure"
329
330 \end_inset
331
332
333 \end_layout
334
335 \begin_layout Section
336 Graphics Dialog
337 \begin_inset LatexCommand index
338 name "Figure ! Graphics Dialog"
339
340 \end_inset
341
342
343 \end_layout
344
345 \begin_layout Standard
346 To insert an image into your document, place the cursor at the text position
347  you want and click on the toolbar icon 
348 \begin_inset Graphics
349         filename ../images/dialog-show-new-inset_graphics.xpm
350         scale 85
351
352 \end_inset
353
354  or use the menu 
355 \family sans
356 Insert\SpecialChar \menuseparator
357 Graphics
358 \family default
359 .
360  Then a dialog will appear to choose the file to load.
361  The image will appear in the output exactly at the position where it is
362  in the text.
363 \end_layout
364
365 \begin_layout Standard
366 The graphics dialog can be called at any time by right-clicking on an image.
367  This dialog has three tabs:
368 \end_layout
369
370 \begin_layout Description
371
372 \family sans
373 Graphics
374 \family default
375  Here you can choose an image file and adjust its appearance in the output.
376  The available units for the image size are explained in appendix\InsetSpace ~
377
378 \begin_inset LatexCommand ref
379 reference "cha:Units-available-in"
380
381 \end_inset
382
383 .
384 \newline
385 You can rotate images counter-clockwise by setting a rotation angle and
386  a rotation origin.
387  The image will also be rotated inside LyX.
388 \end_layout
389
390 \begin_layout Description
391
392 \family sans
393 Clipping
394 \family default
395  Alternatively to the usage of scaling units it is possible to set image
396  coordinates to adjust the height and width of the image in the output.
397  The coordinates can also be calculated automatically by pressing the button
398  
399 \family sans
400 Get\InsetSpace ~
401 from\InsetSpace ~
402 File
403 \family default
404 .
405  The option 
406 \family sans
407 Clip\InsetSpace ~
408 to\InsetSpace ~
409 bounding\InsetSpace ~
410 box
411 \family default
412  will only print the image region within the given coordinates.
413  Normally you don't need to take care about image coordinates and can ignore
414  this tab.
415 \end_layout
416
417 \begin_layout Description
418
419 \family sans
420 Extra\InsetSpace ~
421 options
422 \family default
423  In this tab you can modify the appearance of the image within LyX and set
424  the image to be a subfigure of a figure float with an own caption.
425  Subfigures are explained in section\InsetSpace ~
426
427 \begin_inset LatexCommand ref
428 reference "sec:Figure-Floats"
429
430 \end_inset
431
432 .
433 \newline
434  LaTeX experts can also specify on this tab additional LaTeX options.
435 \newline
436  The
437  option 
438 \family sans
439 Draft\InsetSpace ~
440 mode
441 \family default
442  makes the image appear in the output only as a frame with the size of the
443  image.
444 \newline
445 The 
446 \family sans
447 Don't\InsetSpace ~
448 unzip\InsetSpace ~
449 on\InsetSpace ~
450 export
451 \family default
452  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
453 g.\InsetSpace ~
454
455 \emph on
456 x.eps.gz
457 \emph default
458 .
459  When the option is used the images will not be unzipped on export, since
460  LaTeX can handle them as they are.
461 \newline
462 Zipped EPS-graphics are useful to save
463  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
464
465 \begin_inset LatexCommand ref
466 reference "sec:PostScript"
467
468 \end_inset
469
470 .
471  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
472  console:
473 \newline
474
475 \series bold
476 gzip x.eps
477 \series default
478
479 \newline
480
481 \series bold
482 zgrep %%Bounding x.eps.gz > x.eps.bb
483 \series default
484
485 \newline
486 The second command creates the bounding box file 
487 \begin_inset Quotes eld
488 \end_inset
489
490 x.eps.bb
491 \begin_inset Quotes erd
492 \end_inset
493
494  that is needed by LaTeX for zipped graphics.
495 \end_layout
496
497 \begin_layout Standard
498
499 \newpage
500 This is an example image in EPS format
501 \begin_inset Foot
502 status collapsed
503
504 \begin_layout Standard
505 Image formats are explained in section\InsetSpace ~
506
507 \begin_inset LatexCommand ref
508 reference "sec:Image-Formats"
509
510 \end_inset
511
512 .
513 \end_layout
514
515 \end_inset
516
517  within a separate, horizontally centered paragraph:
518 \end_layout
519
520 \begin_layout Standard
521 \align center
522 \begin_inset Graphics
523         filename mobius.eps
524         display color
525         scale 70
526         rotateOrigin center
527
528 \end_inset
529
530
531 \end_layout
532
533 \begin_layout Standard
534 This is the same image like the one above but in draft mode:
535 \end_layout
536
537 \begin_layout Standard
538 \align center
539 \begin_inset Graphics
540         filename mobius.eps
541         display color
542         scale 70
543         draft
544         rotateOrigin center
545
546 \end_inset
547
548
549 \end_layout
550
551 \begin_layout Section
552 Figure Floats
553 \begin_inset LatexCommand label
554 name "sec:Figure-Floats"
555
556 \end_inset
557
558
559 \begin_inset LatexCommand index
560 name "Floats ! Figure Floats"
561
562 \end_inset
563
564
565 \begin_inset LatexCommand index
566 name "Figure ! Floats"
567
568 \end_inset
569
570
571 \end_layout
572
573 \begin_layout Standard
574 For general explanations about floats, have a look at section\InsetSpace ~
575
576 \begin_inset LatexCommand ref
577 reference "sec:FloatIntroduction"
578
579 \end_inset
580
581 .
582 \end_layout
583
584 \begin_layout Standard
585 The toolbar button 
586 \begin_inset Graphics
587         filename ../images/float-insert_figure.xpm
588         scale 85
589
590 \end_inset
591
592  and the menu 
593 \family sans
594 Insert\SpecialChar \menuseparator
595 Float\SpecialChar \menuseparator
596 Figure 
597 \family default
598 inserts a float with the label 
599 \begin_inset Quotes eld
600 \end_inset
601
602
603 \series bold
604 Figure\InsetSpace ~
605 #:
606 \series default
607
608 \begin_inset Quotes erd
609 \end_inset
610
611 .
612  Set the cursor behind this label, press Enter and insert the image as described
613  above to get the caption printed below the image.
614  This was done for Figure\InsetSpace ~
615
616 \begin_inset LatexCommand ref
617 reference "fig:kill-plat"
618
619 \end_inset
620
621 .
622  If you want the caption to be above the image, set the cursor at the end
623  of the caption, press enter and insert the image.
624  This was done in Figure\InsetSpace ~
625
626 \begin_inset LatexCommand ref
627 reference "fig:escher"
628
629 \end_inset
630
631 .
632  More about the caption placement is described in section\InsetSpace ~
633
634 \begin_inset LatexCommand ref
635 reference "sec:Caption-Placement"
636
637 \end_inset
638
639 .
640 \end_layout
641
642 \begin_layout Standard
643 \begin_inset Float figure
644 wide false
645 sideways false
646 status open
647
648 \begin_layout Standard
649 \align center
650 \begin_inset Graphics
651         filename platypus.eps
652         display color
653         width 50col%
654         rotateOrigin center
655
656 \end_inset
657
658
659 \end_layout
660
661 \begin_layout Standard
662 \begin_inset Caption
663
664 \begin_layout Standard
665 \begin_inset LatexCommand label
666 name "fig:kill-plat"
667
668 \end_inset
669
670 A severely distorted platypus in a float.
671 \end_layout
672
673 \end_inset
674
675
676 \end_layout
677
678 \end_inset
679
680
681 \end_layout
682
683 \begin_layout Standard
684 \begin_inset Float figure
685 wide false
686 sideways false
687 status open
688
689 \begin_layout Standard
690 \begin_inset Caption
691
692 \begin_layout Standard
693 \begin_inset LatexCommand label
694 name "fig:escher"
695
696 \end_inset
697
698 M.C.
699  Escher on acid.
700 \end_layout
701
702 \end_inset
703
704
705 \end_layout
706
707 \begin_layout Standard
708 \align center
709 \begin_inset Graphics
710         filename escher-lsd.eps
711         display color
712         scale 80
713         rotateOrigin center
714
715 \end_inset
716
717
718 \end_layout
719
720 \end_inset
721
722
723 \end_layout
724
725 \begin_layout Standard
726 \begin_inset LatexCommand index
727 name "References ! to Figures"
728
729 \end_inset
730
731 Figure\InsetSpace ~
732
733 \begin_inset LatexCommand ref
734 reference "fig:kill-plat"
735
736 \end_inset
737
738  and 
739 \begin_inset LatexCommand ref
740 reference "fig:escher"
741
742 \end_inset
743
744  are examples of cross-referenced figures.
745  Figures can be cross-referenced in the text by referencing their label.
746  To do this insert a label in the caption using the menu 
747 \family sans
748 Insert\SpecialChar \menuseparator
749 Label
750 \family default
751  or the toolbar button 
752 \begin_inset Graphics
753         filename ../images/label-insert.xpm
754         scale 85
755
756 \end_inset
757
758 .
759  You can now refer to the label using the menu 
760 \family sans
761 Insert\SpecialChar \menuseparator
762 Cross\InsetSpace ~
763 reference
764 \family default
765  or the toolbar button 
766 \begin_inset Graphics
767         filename ../images/dialog-show-new-inset_ref.xpm
768         scale 85
769
770 \end_inset
771
772 .
773  It is important to use references to floats, rather than using vague references
774  like 
775 \begin_inset Quotes eld
776 \end_inset
777
778 the figure above
779 \begin_inset Quotes erd
780 \end_inset
781
782 , because as LaTeX will reposition the floats in the final document, it
783  might not be 
784 \begin_inset Quotes eld
785 \end_inset
786
787 above
788 \begin_inset Quotes erd
789 \end_inset
790
791  at all.
792 \end_layout
793
794 \begin_layout Standard
795 Normally only one image is inserted to a figure float, but sometimes you
796  might want to use two images with separate subcaptions.
797  This can be set in the tab
798 \family sans
799  Extra\InsetSpace ~
800 options
801 \family default
802  of the graphics dialog.
803  Choose there the option 
804 \family sans
805 Subfigure
806 \family default
807  and enter the subcaption for the image in the caption field.
808  Note that only the main caption of the float is added to the List of Figures.
809 \end_layout
810
811 \begin_layout Standard
812 Figure\InsetSpace ~
813
814 \begin_inset LatexCommand ref
815 reference "fig:Two-distorted-images"
816
817 \end_inset
818
819  is an example of a figure float with two images set side by side.
820  You can also set the images one below the other.
821 \end_layout
822
823 \begin_layout Standard
824 \begin_inset Float figure
825 wide false
826 sideways false
827 status open
828
829 \begin_layout Standard
830
831 \hfill
832
833 \begin_inset Graphics
834         filename escher-lsd.eps
835         width 45col%
836         subcaption
837         subcaptionText "Undefinable structure"
838
839 \end_inset
840
841
842 \hfill
843
844 \begin_inset Graphics
845         filename platypus.eps
846         lyxscale 60
847         width 45col%
848         subcaption
849         subcaptionText "Platypus"
850
851 \end_inset
852
853
854 \hfill
855
856 \end_layout
857
858 \begin_layout Standard
859 \begin_inset Caption
860
861 \begin_layout Standard
862 \begin_inset LatexCommand label
863 name "fig:Two-distorted-images"
864
865 \end_inset
866
867 Two distorted images.
868 \end_layout
869
870 \end_inset
871
872
873 \end_layout
874
875 \end_inset
876
877
878 \end_layout
879
880 \begin_layout Section
881 Image Formats
882 \begin_inset LatexCommand label
883 name "sec:Image-Formats"
884
885 \end_inset
886
887
888 \begin_inset LatexCommand index
889 name "Image Formats"
890
891 \end_inset
892
893
894 \begin_inset LatexCommand index
895 name "Figure ! Image Formats"
896
897 \end_inset
898
899
900 \end_layout
901
902 \begin_layout Standard
903 You can insert images in any known file format.
904  But as explained in appendix\InsetSpace ~
905
906 \begin_inset LatexCommand ref
907 reference "cha:Output-File-Formats"
908
909 \end_inset
910
911 , every output document format allows only a few image formats.
912  LyX uses therefore the program 
913 \family typewriter
914 Imagemagick
915 \family default
916  in the background to convert the images to the right format.
917  To increase your work flow by avoiding these conversions in the background,
918  you can use only the image formats that can directly be embedded in the
919  output file format.
920  The output file formats are explained in appendix\InsetSpace ~
921
922 \begin_inset LatexCommand ref
923 reference "cha:Output-File-Formats"
924
925 \end_inset
926
927 .
928 \end_layout
929
930 \begin_layout Standard
931 Similar to fonts there are two types of image formats:
932 \end_layout
933
934 \begin_layout Description
935 Bitmap\InsetSpace ~
936 images consist of pixel values, often in a compressed form.
937  They are therefore not fully scalable and look pixeled in large zooms.
938  Well-known bitmap image formats are 
939 \begin_inset Quotes eld
940 \end_inset
941
942 Graphics Interchange Format
943 \begin_inset Quotes erd
944 \end_inset
945
946  (GIF, file extension 
947 \begin_inset Quotes eld
948 \end_inset
949
950
951 \family typewriter
952 .gif
953 \family default
954
955 \begin_inset Quotes erd
956 \end_inset
957
958 )
959 \begin_inset LatexCommand index
960 name "GIF|see{Image formats}"
961
962 \end_inset
963
964
965 \begin_inset Quotes eld
966 \end_inset
967
968 Portable Network Graphics
969 \begin_inset Quotes erd
970 \end_inset
971
972  (PNG, file extension 
973 \begin_inset Quotes eld
974 \end_inset
975
976
977 \family typewriter
978 .png
979 \family default
980
981 \begin_inset Quotes erd
982 \end_inset
983
984 )
985 \begin_inset LatexCommand index
986 name "PNG|see{Image formats}"
987
988 \end_inset
989
990 , and 
991 \begin_inset Quotes eld
992 \end_inset
993
994 Joint Photographic Experts Group
995 \begin_inset Quotes erd
996 \end_inset
997
998  (JPG, file extension 
999 \begin_inset Quotes eld
1000 \end_inset
1001
1002
1003 \family typewriter
1004 .jpg
1005 \family default
1006
1007 \begin_inset Quotes erd
1008 \end_inset
1009
1010  or 
1011 \begin_inset Quotes eld
1012 \end_inset
1013
1014
1015 \family typewriter
1016 .jpeg
1017 \family default
1018
1019 \begin_inset Quotes erd
1020 \end_inset
1021
1022 )
1023 \begin_inset LatexCommand index
1024 name "JPG|see{Image formats}"
1025
1026 \end_inset
1027
1028 .
1029 \end_layout
1030
1031 \begin_layout Description
1032 Vector\InsetSpace ~
1033 images consist of vectors and can therefore be scaled to any size
1034  without data loss.
1035  The scaling ability is necessary if you want to create presentations, because
1036  presentations are always scaled by the video projector.
1037  Scaling is also useful for online documents to let the user zoom into diagrams.
1038 \newline
1039 W
1040 ell-known scalable image formats are 
1041 \begin_inset Quotes eld
1042 \end_inset
1043
1044 Scalable Vector Graphics
1045 \begin_inset Quotes erd
1046 \end_inset
1047
1048  (SVG, file extension 
1049 \begin_inset Quotes eld
1050 \end_inset
1051
1052
1053 \family typewriter
1054 .svg
1055 \family default
1056
1057 \begin_inset Quotes erd
1058 \end_inset
1059
1060 )
1061 \begin_inset LatexCommand index
1062 name "SVG|see{Image formats}"
1063
1064 \end_inset
1065
1066
1067 \begin_inset Quotes eld
1068 \end_inset
1069
1070 Encapsulated PostScript
1071 \begin_inset Quotes erd
1072 \end_inset
1073
1074  (EPS, file extension 
1075 \begin_inset Quotes eld
1076 \end_inset
1077
1078
1079 \family typewriter
1080 .eps
1081 \family default
1082
1083 \begin_inset Quotes erd
1084 \end_inset
1085
1086 )
1087 \begin_inset LatexCommand index
1088 name "EPS|see{Image formats}"
1089
1090 \end_inset
1091
1092
1093 \begin_inset Quotes eld
1094 \end_inset
1095
1096 Portable Document Format
1097 \begin_inset Quotes erd
1098 \end_inset
1099
1100  (PDF, file extension 
1101 \begin_inset Quotes eld
1102 \end_inset
1103
1104
1105 \family typewriter
1106 .pdf
1107 \family default
1108
1109 \begin_inset Quotes erd
1110 \end_inset
1111
1112 )
1113 \begin_inset LatexCommand index
1114 name "PDF"
1115
1116 \end_inset
1117
1118 , and 
1119 \begin_inset Quotes eld
1120 \end_inset
1121
1122 Windows Metafile
1123 \begin_inset Quotes erd
1124 \end_inset
1125
1126  (WMF, file extension 
1127 \begin_inset Quotes eld
1128 \end_inset
1129
1130
1131 \family typewriter
1132 .wmf
1133 \family default
1134
1135 \begin_inset Quotes erd
1136 \end_inset
1137
1138 )
1139 \begin_inset LatexCommand index
1140 name "SVG|see{Image formats}"
1141
1142 \end_inset
1143
1144 .
1145  We wrote 
1146 \begin_inset Quotes eld
1147 \end_inset
1148
1149 can be
1150 \begin_inset Quotes erd
1151 \end_inset
1152
1153 , because you can convert any bitmap image to a PDF or EPS-image and the
1154  result will still be a bitmap image.
1155  In this cases only a header with the image properties is added to the original
1156  image
1157 \begin_inset Foot
1158 status open
1159
1160 \begin_layout Standard
1161 In the case of PDF, the original image is additionally compressed.
1162 \end_layout
1163
1164 \end_inset
1165
1166 .
1167  The PDF-files generated by 
1168 \family typewriter
1169 Adobe Photoshop
1170 \family default
1171  are for example bitmap images.
1172 \end_layout
1173
1174 \begin_layout Standard
1175 Normally it is not possible to convert a bitmap image into a scalable one,
1176  only vice versa.
1177  Only the image formats PDF and EPS can directly be embedded to PDF and
1178  PostScript output files, respectively.
1179  SVG and WMF-images are currently recalculated to bitmaps when the output
1180  file is generated because there is currently no adequate WMF/SVG
1181 \begin_inset Formula $\to$
1182 \end_inset
1183
1184 PDF/EPS converter available.
1185 \end_layout
1186
1187 \begin_layout Chapter
1188 Tables
1189 \begin_inset LatexCommand label
1190 name "cha:Tables"
1191
1192 \end_inset
1193
1194
1195 \begin_inset LatexCommand index
1196 name "Table"
1197
1198 \end_inset
1199
1200
1201 \end_layout
1202
1203 \begin_layout Section
1204 Introduction
1205 \begin_inset LatexCommand index
1206 name "Table ! Introduction"
1207
1208 \end_inset
1209
1210
1211 \end_layout
1212
1213 \begin_layout Standard
1214 You can insert a table using either the toolbar button 
1215 \begin_inset Graphics
1216         filename ../images/tabular-insert.xpm
1217         scale 85
1218
1219 \end_inset
1220
1221  or the menu 
1222 \family sans
1223 Insert\SpecialChar \menuseparator
1224 Table
1225 \family default
1226 .
1227  The toolbar button offers you a graphical selection: Move the mouse to
1228  set the column/row number of the table that should be created and then
1229  press a mouse button.
1230  When you use the menu to create a table, a dialog will appear, asking you
1231  for the number of rows and columns.
1232 \newline
1233  The default table has lines around any
1234  cell and the first row appears separated from the rest of the table.
1235  This separation occurs due to a double line: The cells of the first row
1236  have a line below them and the cells of the second row have a line above
1237  them.
1238  Here is an example table:
1239 \end_layout
1240
1241 \begin_layout Standard
1242 \align center
1243 \begin_inset Tabular
1244 <lyxtabular version="3" rows="4" columns="4">
1245 <features>
1246 <column alignment="center" valignment="top" leftline="true" width="0">
1247 <column alignment="center" valignment="top" leftline="true" width="0">
1248 <column alignment="center" valignment="top" leftline="true" width="0">
1249 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1250 <row topline="true" bottomline="true">
1251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1252 \begin_inset Text
1253
1254 \begin_layout Standard
1255
1256 \end_layout
1257
1258 \end_inset
1259 </cell>
1260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1261 \begin_inset Text
1262
1263 \begin_layout Standard
1264
1265 \family roman
1266 \series medium
1267 \shape up
1268 \size normal
1269 \emph off
1270 \bar no
1271 \noun off
1272 \color none
1273 1
1274 \end_layout
1275
1276 \end_inset
1277 </cell>
1278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1279 \begin_inset Text
1280
1281 \begin_layout Standard
1282 2
1283 \end_layout
1284
1285 \end_inset
1286 </cell>
1287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1288 \begin_inset Text
1289
1290 \begin_layout Standard
1291 3
1292 \end_layout
1293
1294 \end_inset
1295 </cell>
1296 </row>
1297 <row topline="true">
1298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1299 \begin_inset Text
1300
1301 \begin_layout Standard
1302
1303 \family roman
1304 \series medium
1305 \shape up
1306 \size normal
1307 \emph off
1308 \bar no
1309 \noun off
1310 \color none
1311 A
1312 \end_layout
1313
1314 \end_inset
1315 </cell>
1316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1317 \begin_inset Text
1318
1319 \begin_layout Standard
1320
1321 \end_layout
1322
1323 \end_inset
1324 </cell>
1325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1326 \begin_inset Text
1327
1328 \begin_layout Standard
1329
1330 \end_layout
1331
1332 \end_inset
1333 </cell>
1334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1335 \begin_inset Text
1336
1337 \begin_layout Standard
1338
1339 \end_layout
1340
1341 \end_inset
1342 </cell>
1343 </row>
1344 <row topline="true">
1345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1346 \begin_inset Text
1347
1348 \begin_layout Standard
1349
1350 \family roman
1351 \series medium
1352 \shape up
1353 \size normal
1354 \emph off
1355 \bar no
1356 \noun off
1357 \color none
1358 B
1359 \end_layout
1360
1361 \end_inset
1362 </cell>
1363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1364 \begin_inset Text
1365
1366 \begin_layout Standard
1367
1368 \end_layout
1369
1370 \end_inset
1371 </cell>
1372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1373 \begin_inset Text
1374
1375 \begin_layout Standard
1376
1377 \end_layout
1378
1379 \end_inset
1380 </cell>
1381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1382 \begin_inset Text
1383
1384 \begin_layout Standard
1385
1386 \end_layout
1387
1388 \end_inset
1389 </cell>
1390 </row>
1391 <row topline="true" bottomline="true">
1392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1393 \begin_inset Text
1394
1395 \begin_layout Standard
1396
1397 \family roman
1398 \series medium
1399 \shape up
1400 \size normal
1401 \emph off
1402 \bar no
1403 \noun off
1404 \color none
1405 C
1406 \end_layout
1407
1408 \end_inset
1409 </cell>
1410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1411 \begin_inset Text
1412
1413 \begin_layout Standard
1414
1415 \end_layout
1416
1417 \end_inset
1418 </cell>
1419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1420 \begin_inset Text
1421
1422 \begin_layout Standard
1423
1424 \end_layout
1425
1426 \end_inset
1427 </cell>
1428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1429 \begin_inset Text
1430
1431 \begin_layout Standard
1432
1433 \end_layout
1434
1435 \end_inset
1436 </cell>
1437 </row>
1438 </lyxtabular>
1439
1440 \end_inset
1441
1442
1443 \end_layout
1444
1445 \begin_layout Section
1446 Table Dialog
1447 \begin_inset LatexCommand index
1448 name "Table ! Dialog"
1449
1450 \end_inset
1451
1452
1453 \end_layout
1454
1455 \begin_layout Standard
1456 You can alter a table by clicking on it with the right mouse button, which
1457  brings up the table dialog.
1458  Here you can adjust the settings of that cell and row/column respectively
1459  where the cursor is currently placed.
1460  Most of the dialog options also work on selections.
1461  This means if you select more cells, columns or rows, the action is done
1462  for the whole selection.
1463  Note that there is a difference between selecting the 
1464 \emph on
1465 contents
1466 \emph default
1467  of the cell, and the cell itself.
1468  You can alter tables with the following tabs of the table dialog:
1469 \end_layout
1470
1471 \begin_layout Description
1472
1473 \family sans
1474 Table\InsetSpace ~
1475 Settings
1476 \family default
1477  Here you can set the horizontal alignment for the current row and the width
1478  of the current column.
1479  When you have set a width you can also adjust the vertical alignment of
1480  the current column.
1481  A given width will allow the cell to have line breaks and multiple paragraphs
1482  of text, see section\InsetSpace ~
1483
1484 \begin_inset LatexCommand ref
1485 reference "sub:Multiple-Lines-in"
1486
1487 \end_inset
1488
1489 .
1490  If you set no width, the column is as wide as their widest cell content
1491  is.
1492 \newline
1493 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1494  cell, see section\InsetSpace ~
1495
1496 \begin_inset LatexCommand ref
1497 reference "sub:Multicolumns"
1498
1499 \end_inset
1500
1501 .
1502 \newline
1503 The rotate check boxes rotates the current cell, a selection, or the whole
1504  table counter-clockwise by 90°.
1505  The rotation is not shown within LyX, only in the output.
1506 \newline
1507
1508 \begin_inset Note Greyedout
1509 status open
1510
1511 \begin_layout Standard
1512
1513 \series bold
1514 Note:
1515 \series default
1516  Not all DVI-viewers are able to display rotations.
1517 \end_layout
1518
1519 \end_inset
1520
1521
1522 \newline
1523 It is also possible to enter a LaTeX-argument which is needed for special
1524  table formattings, see section\InsetSpace ~
1525
1526 \begin_inset LatexCommand ref
1527 reference "sub:Multicolumn-Calculations"
1528
1529 \end_inset
1530
1531  and 
1532 \begin_inset LatexCommand ref
1533 reference "sec:Colored-Tables"
1534
1535 \end_inset
1536
1537 .
1538 \end_layout
1539
1540 \begin_layout Description
1541
1542 \family sans
1543 Borders
1544 \family default
1545  In this tab you can add and delete border lines for the current row/column.
1546 \newline
1547 Using
1548  the style option 
1549 \family sans
1550 Formal
1551 \family default
1552  will convert the table to a formal table as described in section\InsetSpace ~
1553
1554 \begin_inset LatexCommand ref
1555 reference "sec:Formal-Tables"
1556
1557 \end_inset
1558
1559 .
1560 \newline
1561 You can also add here space to table rows as decribed in section\InsetSpace ~
1562
1563 \begin_inset LatexCommand ref
1564 reference "sub:Row-Spacing"
1565
1566 \end_inset
1567
1568 .
1569 \end_layout
1570
1571 \begin_layout Description
1572
1573 \family sans
1574 Longtable
1575 \family default
1576  This tab is to make a table a so called 
1577 \begin_inset Quotes eld
1578 \end_inset
1579
1580
1581 \emph on
1582 longtable
1583 \emph default
1584
1585 \begin_inset Quotes erd
1586 \end_inset
1587
1588  that can run over several pages.
1589  Section\InsetSpace ~
1590
1591 \begin_inset LatexCommand ref
1592 reference "sec:Longtables"
1593
1594 \end_inset
1595
1596  and 
1597 \begin_inset LatexCommand ref
1598 reference "sec:Special-Longtable-Issues"
1599
1600 \end_inset
1601
1602  describe the longtable features in detail.
1603 \end_layout
1604
1605 \begin_layout Standard
1606 When the table toolbar is opened, you can move the cursor with the arrow
1607  keys from cell to cell and the property of the current cell will immediately
1608  be displayed in the dialog.
1609 \end_layout
1610
1611 \begin_layout Section
1612 Table Toolbar
1613 \begin_inset LatexCommand index
1614 name "Table ! Toolbar"
1615
1616 \end_inset
1617
1618
1619 \end_layout
1620
1621 \begin_layout Standard
1622 The table toolbar is an alternative to the table dialog to be able to alter
1623  tables faster.
1624  It should normally appear at the bottom of LyX's main window when the cursor
1625  is inside a table.
1626  You can alternatively switch it on to appear always, by right-clicking
1627  in LyX's main menu bar.
1628 \end_layout
1629
1630 \begin_layout Standard
1631 The toolbar has the following icons:
1632 \end_layout
1633
1634 \begin_layout Labeling
1635 \labelwidthstring 00.00.0000
1636 \begin_inset Graphics
1637         filename ../images/tabular-feature_append-row.xpm
1638
1639 \end_inset
1640
1641  adds a row below the current cell or selection
1642 \end_layout
1643
1644 \begin_layout Labeling
1645 \labelwidthstring 00.00.0000
1646 \begin_inset Graphics
1647         filename ../images/tabular-feature_append-column.xpm
1648
1649 \end_inset
1650
1651  adds a column right beside the current cell or selection
1652 \end_layout
1653
1654 \begin_layout Labeling
1655 \labelwidthstring 00.00.0000
1656 \begin_inset Graphics
1657         filename ../images/tabular-feature_delete-row.xpm
1658
1659 \end_inset
1660
1661  deletes the current row or selection
1662 \end_layout
1663
1664 \begin_layout Labeling
1665 \labelwidthstring 00.00.0000
1666 \begin_inset Graphics
1667         filename ../images/tabular-feature_delete-column.xpm
1668
1669 \end_inset
1670
1671  deletes the current column or selection
1672 \end_layout
1673
1674 \begin_layout Labeling
1675 \labelwidthstring 00.00.0000
1676 \begin_inset Graphics
1677         filename ../images/tabular-feature_toggle-line-top.xpm
1678
1679 \end_inset
1680
1681  adds a line at the top of the current cell / row or of a selection
1682 \end_layout
1683
1684 \begin_layout Labeling
1685 \labelwidthstring 00.00.0000
1686 \begin_inset Graphics
1687         filename ../images/tabular-feature_toggle-line-bottom.xpm
1688
1689 \end_inset
1690
1691  adds a line at the bottom of the current cell / row or of a selection
1692 \end_layout
1693
1694 \begin_layout Labeling
1695 \labelwidthstring 00.00.0000
1696 \begin_inset Graphics
1697         filename ../images/tabular-feature_toggle-line-left.xpm
1698
1699 \end_inset
1700
1701  adds a line at the left side of the current cell / row or of a selection
1702 \end_layout
1703
1704 \begin_layout Labeling
1705 \labelwidthstring 00.00.0000
1706 \begin_inset Graphics
1707         filename ../images/tabular-feature_toggle-line-right.xpm
1708
1709 \end_inset
1710
1711  adds a line at the right side of the current cell / row or of a selection
1712 \end_layout
1713
1714 \begin_layout Labeling
1715 \labelwidthstring 00.00.0000
1716 \begin_inset Graphics
1717         filename ../images/tabular-feature_set-all-lines.xpm
1718
1719 \end_inset
1720
1721  adds lines around the current or selected cells - if the current cell no
1722  multicolumn this also affects the current row and column
1723 \end_layout
1724
1725 \begin_layout Labeling
1726 \labelwidthstring 00.00.0000
1727 \begin_inset Graphics
1728         filename ../images/tabular-feature_unset-all-lines.xpm
1729
1730 \end_inset
1731
1732  deletes all lines of the current or selected cells - if the current cell
1733  no multicolumn this also affects the current row and column
1734 \end_layout
1735
1736 \begin_layout Labeling
1737 \labelwidthstring 00.00.0000
1738 \begin_inset Graphics
1739         filename ../images/tabular-feature_align-left.xpm
1740
1741 \end_inset
1742
1743  left-aligns the content of the current cell / column
1744 \end_layout
1745
1746 \begin_layout Labeling
1747 \labelwidthstring 00.00.0000
1748 \begin_inset Graphics
1749         filename ../images/tabular-feature_align-center.xpm
1750
1751 \end_inset
1752
1753  centers the content of the current cell / column horizontally
1754 \end_layout
1755
1756 \begin_layout Labeling
1757 \labelwidthstring 00.00.0000
1758 \begin_inset Graphics
1759         filename ../images/tabular-feature_align-right.xpm
1760
1761 \end_inset
1762
1763  right-aligns the content of the current cell / column
1764 \end_layout
1765
1766 \begin_layout Labeling
1767 \labelwidthstring 00.00.0000
1768 \begin_inset Graphics
1769         filename ../images/tabular-feature_valign-top.xpm
1770
1771 \end_inset
1772
1773  aligns the content of the current cell vertically to the top
1774 \end_layout
1775
1776 \begin_layout Labeling
1777 \labelwidthstring 00.00.0000
1778 \begin_inset Graphics
1779         filename ../images/tabular-feature_valign-middle.xpm
1780
1781 \end_inset
1782
1783  centers the content of the current cell vertically
1784 \end_layout
1785
1786 \begin_layout Labeling
1787 \labelwidthstring 00.00.0000
1788 \begin_inset Graphics
1789         filename ../images/tabular-feature_valign-bottom.xpm
1790
1791 \end_inset
1792
1793  aligns the content of the current cell vertically to the bottom
1794 \end_layout
1795
1796 \begin_layout Labeling
1797 \labelwidthstring 00.00.0000
1798 \begin_inset Graphics
1799         filename ../images/tabular-feature_set-rotate-cell.xpm
1800
1801 \end_inset
1802
1803  rotates the current cell or selection counter-clockwise by 90°
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Graphics
1809         filename ../images/tabular-feature_set-rotate-tabular.xpm
1810
1811 \end_inset
1812
1813  rotates the whole table counter-clockwise by 90°
1814 \end_layout
1815
1816 \begin_layout Labeling
1817 \labelwidthstring 00.00.0000
1818 \begin_inset Graphics
1819         filename ../images/tabular-feature_multicolumn.xpm
1820
1821 \end_inset
1822
1823  sets the current cell or selection as a multicolumn
1824 \end_layout
1825
1826 \begin_layout Section
1827 Edit Table Menu
1828 \begin_inset LatexCommand index
1829 name "Table ! Edit Menu"
1830
1831 \end_inset
1832
1833
1834 \end_layout
1835
1836 \begin_layout Standard
1837 Additionally to the table dialog and toolbar, the menu 
1838 \family sans
1839 Edit\SpecialChar \menuseparator
1840 Table
1841 \family default
1842  allows you to add and delete border lines for the current row/column and
1843  to set the current selection as multicolumn.
1844  The menu is only available when the cursor is inside a table.
1845 \end_layout
1846
1847 \begin_layout Section
1848 Table Floats
1849 \begin_inset LatexCommand label
1850 name "sec:Table-Floats"
1851
1852 \end_inset
1853
1854
1855 \begin_inset LatexCommand index
1856 name "Floats ! Tables"
1857
1858 \end_inset
1859
1860
1861 \begin_inset LatexCommand index
1862 name "Table ! Floats"
1863
1864 \end_inset
1865
1866
1867 \end_layout
1868
1869 \begin_layout Standard
1870 For general explanations about floats, have a look at section\InsetSpace ~
1871
1872 \begin_inset LatexCommand ref
1873 reference "sec:FloatIntroduction"
1874
1875 \end_inset
1876
1877 .
1878 \end_layout
1879
1880 \begin_layout Standard
1881 \begin_inset Float table
1882 placement h
1883 wide false
1884 sideways false
1885 status open
1886
1887 \begin_layout Standard
1888 \begin_inset Caption
1889
1890 \begin_layout Standard
1891 \begin_inset LatexCommand label
1892 name "tab:a table float"
1893
1894 \end_inset
1895
1896 A table float.
1897 \end_layout
1898
1899 \end_inset
1900
1901
1902 \end_layout
1903
1904 \begin_layout Standard
1905 \align center
1906 \begin_inset Tabular
1907 <lyxtabular version="3" rows="3" columns="3">
1908 <features>
1909 <column alignment="center" valignment="top" leftline="true" width="0pt">
1910 <column alignment="center" valignment="top" leftline="true" width="0pt">
1911 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1912 <row topline="true" bottomline="true">
1913 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1914 \begin_inset Text
1915
1916 \begin_layout Standard
1917
1918 \family roman
1919 \series medium
1920 \shape up
1921 \size normal
1922 \emph off
1923 \bar no
1924 \noun off
1925 \color none
1926 1
1927 \end_layout
1928
1929 \end_inset
1930 </cell>
1931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1932 \begin_inset Text
1933
1934 \begin_layout Standard
1935
1936 \family roman
1937 \series medium
1938 \shape up
1939 \size normal
1940 \emph off
1941 \bar no
1942 \noun off
1943 \color none
1944 2
1945 \end_layout
1946
1947 \end_inset
1948 </cell>
1949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1950 \begin_inset Text
1951
1952 \begin_layout Standard
1953
1954 \family roman
1955 \series medium
1956 \shape up
1957 \size normal
1958 \emph off
1959 \bar no
1960 \noun off
1961 \color none
1962 3
1963 \end_layout
1964
1965 \end_inset
1966 </cell>
1967 </row>
1968 <row topline="true">
1969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1970 \begin_inset Text
1971
1972 \begin_layout Standard
1973
1974 \family roman
1975 \series medium
1976 \shape up
1977 \size normal
1978 \emph off
1979 \bar no
1980 \noun off
1981 \color none
1982 Joe
1983 \end_layout
1984
1985 \end_inset
1986 </cell>
1987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1988 \begin_inset Text
1989
1990 \begin_layout Standard
1991
1992 \family roman
1993 \series medium
1994 \shape up
1995 \size normal
1996 \emph off
1997 \bar no
1998 \noun off
1999 \color none
2000 Mary
2001 \end_layout
2002
2003 \end_inset
2004 </cell>
2005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2006 \begin_inset Text
2007
2008 \begin_layout Standard
2009
2010 \family roman
2011 \series medium
2012 \shape up
2013 \size normal
2014 \emph off
2015 \bar no
2016 \noun off
2017 \color none
2018 Ted
2019 \end_layout
2020
2021 \end_inset
2022 </cell>
2023 </row>
2024 <row topline="true" bottomline="true">
2025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2026 \begin_inset Text
2027
2028 \begin_layout Standard
2029
2030 \family roman
2031 \series medium
2032 \shape up
2033 \size normal
2034 \emph off
2035 \bar no
2036 \noun off
2037 \color none
2038 \begin_inset Formula $\int x^{2}dx$
2039 \end_inset
2040
2041
2042 \end_layout
2043
2044 \end_inset
2045 </cell>
2046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2047 \begin_inset Text
2048
2049 \begin_layout Standard
2050
2051 \family roman
2052 \series medium
2053 \shape up
2054 \size normal
2055 \emph off
2056 \bar no
2057 \noun off
2058 \color none
2059 \begin_inset Formula $\left[\begin{array}{cc}
2060 a & b\\
2061 c & d\end{array}\right]$
2062 \end_inset
2063
2064
2065 \end_layout
2066
2067 \end_inset
2068 </cell>
2069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2070 \begin_inset Text
2071
2072 \begin_layout Standard
2073
2074 \family roman
2075 \series medium
2076 \shape up
2077 \size normal
2078 \emph off
2079 \bar no
2080 \noun off
2081 \color none
2082 \begin_inset Formula $1+1=2$
2083 \end_inset
2084
2085
2086 \end_layout
2087
2088 \end_inset
2089 </cell>
2090 </row>
2091 </lyxtabular>
2092
2093 \end_inset
2094
2095
2096 \end_layout
2097
2098 \end_inset
2099
2100
2101 \end_layout
2102
2103 \begin_layout Standard
2104 Table floats can be inserted using the menu 
2105 \family sans
2106 Insert\SpecialChar \menuseparator
2107 Float\SpecialChar \menuseparator
2108 Table
2109 \family default
2110  or the toolbar button 
2111 \begin_inset Graphics
2112         filename ../images/float-insert_table.xpm
2113         scale 85
2114
2115 \end_inset
2116
2117 .
2118 \end_layout
2119
2120 \begin_layout Standard
2121 The float appears as a collapsible box with the label 
2122 \begin_inset Quotes eld
2123 \end_inset
2124
2125
2126 \series bold
2127 Table\InsetSpace ~
2128 #:
2129 \series default
2130
2131 \begin_inset Quotes erd
2132 \end_inset
2133
2134  inside it.
2135  The text following the label is the caption of the table.
2136  To insert a table to the the float set the cursor at the end of the caption
2137  text, press enter and insert the table.
2138  The caption is now printed above the table.
2139 \end_layout
2140
2141 \begin_layout Standard
2142 Table\InsetSpace ~
2143
2144 \begin_inset LatexCommand ref
2145 reference "tab:a table float"
2146
2147 \end_inset
2148
2149  is an example table within a table float.
2150 \end_layout
2151
2152 \begin_layout Standard
2153 Having the caption above the table is the common rule that is unfortunately
2154  not supported in LaTeX's standard classes.
2155  That means if you are using the document classes 
2156 \family sans
2157 article
2158 \family default
2159
2160 \family sans
2161 book
2162 \family default
2163
2164 \family sans
2165 letter
2166 \family default
2167 , or 
2168 \family sans
2169 report
2170 \family default
2171  there will be no space between the caption and the table.
2172  To insert the needed space, add the following option to the load command
2173  of the LaTeX-package 
2174 \series bold
2175 caption
2176 \series default
2177
2178 \begin_inset LatexCommand index
2179 name "LaTeX-packages ! caption"
2180
2181 \end_inset
2182
2183  in your document preamble
2184 \begin_inset Foot
2185 status collapsed
2186
2187 \begin_layout Standard
2188 For more information have a look at section\InsetSpace ~
2189
2190 \begin_inset LatexCommand ref
2191 reference "sec:Caption-Placement"
2192
2193 \end_inset
2194
2195 .
2196 \end_layout
2197
2198 \end_inset
2199
2200 :
2201 \end_layout
2202
2203 \begin_layout Standard
2204
2205 \series bold
2206 tableposition=top
2207 \end_layout
2208
2209 \begin_layout Standard
2210 The package 
2211 \series bold
2212 caption
2213 \series default
2214 , which is described in section\InsetSpace ~
2215
2216 \begin_inset LatexCommand ref
2217 reference "sec:Caption-Formatting"
2218
2219 \end_inset
2220
2221 , is used to adjust the caption format.
2222 \end_layout
2223
2224 \begin_layout Standard
2225 \begin_inset LatexCommand index
2226 name "References ! to Tables"
2227
2228 \end_inset
2229
2230 Tables can be cross-referenced in the text by referencing their label.
2231  To do this insert a label in the caption using the menu 
2232 \family sans
2233 Insert\SpecialChar \menuseparator
2234 Label
2235 \family default
2236  or the toolbar button 
2237 \begin_inset Graphics
2238         filename ../images/label-insert.xpm
2239         scale 85
2240
2241 \end_inset
2242
2243 .
2244  You can now refer to the label using the menu 
2245 \family sans
2246 Insert\SpecialChar \menuseparator
2247 Cross\InsetSpace ~
2248 reference
2249 \family default
2250  or the toolbar button 
2251 \begin_inset Graphics
2252         filename ../images/dialog-show-new-inset_ref.xpm
2253         scale 85
2254
2255 \end_inset
2256
2257 .
2258 \end_layout
2259
2260 \begin_layout Standard
2261
2262 \end_layout
2263
2264 \begin_layout Section
2265 Longtables
2266 \begin_inset LatexCommand label
2267 name "sec:Longtables"
2268
2269 \end_inset
2270
2271
2272 \begin_inset LatexCommand index
2273 name "Longtables"
2274
2275 \end_inset
2276
2277
2278 \begin_inset LatexCommand index
2279 name "Table ! Longtables"
2280
2281 \end_inset
2282
2283
2284 \end_layout
2285
2286 \begin_layout Standard
2287 If the table is too long to fit on one page, you can use the option 
2288 \family sans
2289 Use\InsetSpace ~
2290 long\InsetSpace ~
2291 table
2292 \family default
2293  in the tab 
2294 \family sans
2295 Longtable
2296 \family default
2297  of the table dialog to split the table automatically over more pages.
2298  Doing this enables some check boxes and you can now define:
2299 \end_layout
2300
2301 \begin_layout Description
2302
2303 \family sans
2304 Header
2305 \family default
2306 : The current row and all rows above, that don't have any special options
2307  defined, are defined to be the header rows of all pages of the longtable;
2308  except for the first page, if 
2309 \family sans
2310 First\InsetSpace ~
2311 header
2312 \family default
2313  is defined.
2314  This therefore called the main header.
2315 \end_layout
2316
2317 \begin_layout Description
2318
2319 \family sans
2320 First\InsetSpace ~
2321 header
2322 \family default
2323 : The current row and all rows above, that don't have any special options
2324  defined, are defined to be the header rows of the first page of the longtable.
2325 \end_layout
2326
2327 \begin_layout Description
2328
2329 \family sans
2330 Footer
2331 \family default
2332 : The current row and all rows below, that don't have any special options
2333  defined, are defined to be the footer rows of all pages of the longtable;
2334  except for the last page, if 
2335 \family sans
2336 Last\InsetSpace ~
2337 footer
2338 \family default
2339  is defined.
2340 \end_layout
2341
2342 \begin_layout Description
2343
2344 \family sans
2345 Last\InsetSpace ~
2346 footer
2347 \family default
2348 : The current row and all rows below, that don't have any special options
2349  defined, are defined to be the footer rows of the last page of the longtable.
2350 \end_layout
2351
2352 \begin_layout Standard
2353 You can also specify a row where the table is splitted.
2354  If you set more than one option in the same table row, you should be aware
2355  of the fact that only the first one is used in the given table row.
2356  The others will then be defined as 
2357 \emph on
2358 empty
2359 \emph default
2360 .
2361  In this context, first means first in this order: 
2362 \family sans
2363 Footer, Last\InsetSpace ~
2364 footer,
2365 \family default
2366  
2367 \family sans
2368 Header,
2369 \family default
2370  
2371 \family sans
2372 First\InsetSpace ~
2373 header.
2374
2375 \family default
2376 \emph on
2377  
2378 \emph default
2379 See the following longtable to see how it works:
2380 \end_layout
2381
2382 \begin_layout Standard
2383 \align center
2384 \begin_inset Tabular
2385 <lyxtabular version="3" rows="69" columns="3">
2386 <features islongtable="true">
2387 <column alignment="left" valignment="top" leftline="true" width="0cm">
2388 <column alignment="left" valignment="top" width="0pt">
2389 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2390 <row topline="true" bottomline="true" endfirsthead="true">
2391 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2392 \begin_inset Text
2393
2394 \begin_layout Standard
2395
2396 \series bold
2397 Example Phone List (ignore the names)
2398 \end_layout
2399
2400 \end_inset
2401 </cell>
2402 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2403 \begin_inset Text
2404
2405 \begin_layout Standard
2406
2407 \end_layout
2408
2409 \end_inset
2410 </cell>
2411 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2412 \begin_inset Text
2413
2414 \begin_layout Standard
2415
2416 \end_layout
2417
2418 \end_inset
2419 </cell>
2420 </row>
2421 <row topline="true" bottomline="true" endfirsthead="true">
2422 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2423 \begin_inset Text
2424
2425 \begin_layout Standard
2426
2427 \series bold
2428 NAME
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="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2443 \begin_inset Text
2444
2445 \begin_layout Standard
2446
2447 \series bold
2448 TEL.
2449 \end_layout
2450
2451 \end_inset
2452 </cell>
2453 </row>
2454 <row topline="true" bottomline="true" endhead="true">
2455 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2456 \begin_inset Text
2457
2458 \begin_layout Standard
2459
2460 \series bold
2461 Example Phone List
2462 \end_layout
2463
2464 \end_inset
2465 </cell>
2466 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2467 \begin_inset Text
2468
2469 \begin_layout Standard
2470
2471 \end_layout
2472
2473 \end_inset
2474 </cell>
2475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2476 \begin_inset Text
2477
2478 \begin_layout Standard
2479
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" bottomline="true" leftline="true" usebox="none">
2487 \begin_inset Text
2488
2489 \begin_layout Standard
2490
2491 \series bold
2492 NAME
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="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2507 \begin_inset Text
2508
2509 \begin_layout Standard
2510
2511 \series bold
2512 TEL.
2513 \end_layout
2514
2515 \end_inset
2516 </cell>
2517 </row>
2518 <row topline="true" bottomline="true" endfoot="true">
2519 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2520 \begin_inset Text
2521
2522 \begin_layout Standard
2523  continued on next page
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="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2538 \begin_inset Text
2539
2540 \begin_layout Standard
2541
2542 \end_layout
2543
2544 \end_inset
2545 </cell>
2546 </row>
2547 <row>
2548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2549 \begin_inset Text
2550
2551 \begin_layout Standard
2552
2553 \series bold
2554 Annovi
2555 \end_layout
2556
2557 \end_inset
2558 </cell>
2559 <cell alignment="center" valignment="top" topline="true" usebox="none">
2560 \begin_inset Text
2561
2562 \begin_layout Standard
2563 Silvia
2564 \end_layout
2565
2566 \end_inset
2567 </cell>
2568 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572 111
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 Bertoli
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 Stefano
2595 \end_layout
2596
2597 \end_inset
2598 </cell>
2599 <cell alignment="center" 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 Bozzi
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 Walter
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 Cachia
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 Maria
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 Maurizio
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 Cinquemani
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 Giusi
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 Colin
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 Bernard
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 Concli
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 Gianfranco
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 Dal Bosco
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 Carolina
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 Dalpiaz
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 Annamaria
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 Feliciello
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 Domenico
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 Focarelli
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 Paola
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 Galletti
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 Oreste
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 Gasparini
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 Franca
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 Rizzardi
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 Paola
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 Lassini
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 Giancarlo
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 Malfatti
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 Luciano
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 Valeriano
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 Meneguzzo
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 Roberto
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 Mezzadra
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 Pirpamer
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 Erich
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 Pochiesa
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 Paolo
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, 222
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 Radina
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 Claudio
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
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 Stuffer
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 Oskar
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 Tacchelli
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 Ugo
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 Tezzele
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 Margit
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 Unterkalmsteiner
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 Frieda
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 Vieider
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 Hilde
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 Vigna
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 Jürgen
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 Weber
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 Maurizio
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 bottomline="true">
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 Winkler
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 Franz
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 multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Standard
3513  
3514 \end_layout
3515
3516 \end_inset
3517 </cell>
3518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3519 \begin_inset Text
3520
3521 \begin_layout Standard
3522
3523 \end_layout
3524
3525 \end_inset
3526 </cell>
3527 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3528 \begin_inset Text
3529
3530 \begin_layout Standard
3531
3532 \end_layout
3533
3534 \end_inset
3535 </cell>
3536 </row>
3537 <row>
3538 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3539 \begin_inset Text
3540
3541 \begin_layout Standard
3542
3543 \series bold
3544 Annovi
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 <cell alignment="center" valignment="top" topline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Standard
3553 Silvia
3554 \end_layout
3555
3556 \end_inset
3557 </cell>
3558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3559 \begin_inset Text
3560
3561 \begin_layout Standard
3562 555
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 Bertoli
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 Stefano
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 Bozzi
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 Walter
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 Cachia
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 Maria
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 Maurizio
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 Cinquemani
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 Giusi
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 Colin
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 Bernard
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 Concli
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 Gianfranco
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 Dal Bosco
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 Carolina
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 Dalpiaz
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 Annamaria
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 Feliciello
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 Domenico
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 Focarelli
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 Paola
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 Galletti
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 Oreste
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 Gasparini
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 Franca
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 Rizzardi
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 Paola
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 Lassini
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 Giancarlo
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 Malfatti
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 Luciano
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 Valeriano
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 Meneguzzo
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 Roberto
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 Mezzadra
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 Pirpamer
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 Erich
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 Pochiesa
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 Paolo
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, 222
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 Radina
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 Claudio
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
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 Stuffer
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 Oskar
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 Tacchelli
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 Ugo
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 Tezzele
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 Margit
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 Unterkalmsteiner
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 Frieda
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 Vieider
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 Hilde
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 Vigna
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 Jürgen
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 999
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 Weber
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 Maurizio
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 555
4462 \end_layout
4463
4464 \end_inset
4465 </cell>
4466 </row>
4467 <row bottomline="true">
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 Winkler
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 Franz
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" endlastfoot="true">
4499 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Standard
4503 end
4504 \end_layout
4505
4506 \end_inset
4507 </cell>
4508 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4509 \begin_inset Text
4510
4511 \begin_layout Standard
4512
4513 \end_layout
4514
4515 \end_inset
4516 </cell>
4517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4518 \begin_inset Text
4519
4520 \begin_layout Standard
4521
4522 \end_layout
4523
4524 \end_inset
4525 </cell>
4526 </row>
4527 </lyxtabular>
4528
4529 \end_inset
4530
4531
4532 \begin_inset ERT
4533 status collapsed
4534
4535 \begin_layout Standard
4536
4537
4538 \backslash
4539 addtocounter{table}{-1}
4540 \end_layout
4541
4542 \end_inset
4543
4544
4545 \begin_inset Note Note
4546 status collapsed
4547
4548 \begin_layout Standard
4549 See greyed-out note in section 2.6.2 for an explanation of this command.
4550 \end_layout
4551
4552 \end_inset
4553
4554
4555 \end_layout
4556
4557 \begin_layout Subsection
4558 Footnotes in Longtables
4559 \begin_inset LatexCommand label
4560 name "sub:Footnotes-in-Longtables"
4561
4562 \end_inset
4563
4564
4565 \begin_inset LatexCommand index
4566 name "Longtables ! Footnotes"
4567
4568 \end_inset
4569
4570
4571 \end_layout
4572
4573 \begin_layout Standard
4574 Footnotes can be inserted to every longtable cell.
4575  They appear at the bottom of the page where the table cell with the footnote
4576  appears.
4577  Table\InsetSpace ~
4578
4579 \begin_inset LatexCommand ref
4580 reference "tab:DiffCaptions"
4581
4582 \end_inset
4583
4584  has for example a footnote.
4585 \end_layout
4586
4587 \begin_layout Subsection
4588 Longtable Captions
4589 \begin_inset LatexCommand index
4590 name "Longtables ! Captions"
4591
4592 \end_inset
4593
4594
4595 \end_layout
4596
4597 \begin_layout Standard
4598 A longtable cannot be put into a table float because floats can only be
4599  on one page but the caption environment of floats can also be used for
4600  longtables.
4601 \end_layout
4602
4603 \begin_layout Standard
4604 As LyX does not yet fully support captions in longtables, a hack is needed
4605  to create them:
4606 \end_layout
4607
4608 \begin_layout Enumerate
4609 Create a longtable
4610 \family sans
4611 .
4612 \end_layout
4613
4614 \begin_layout Enumerate
4615 Mark the first row an disable its upper line.
4616 \end_layout
4617
4618 \begin_layout Enumerate
4619 Insert a caption via the menu 
4620 \family sans
4621 Insert\SpecialChar \menuseparator
4622 Caption
4623 \family default
4624 \series bold
4625  
4626 \series default
4627 into the first table cell.
4628 \newline
4629 You can also add a short title for the caption.
4630 \end_layout
4631
4632 \begin_layout Enumerate
4633 Insert a 
4634 \begin_inset Quotes eld
4635 \end_inset
4636
4637
4638 \series bold
4639
4640 \backslash
4641
4642 \backslash
4643 %
4644 \series default
4645
4646 \begin_inset Quotes erd
4647 \end_inset
4648
4649  as ERT behind the caption.
4650 \end_layout
4651
4652 \begin_layout Standard
4653 A short title that will appear in the LOT instead of the full title.
4654  The 
4655 \series bold
4656
4657 \backslash
4658
4659 \backslash
4660 %
4661 \series default
4662  behind the caption omits the vertical lines between the following cells
4663  in the row.
4664  The first table row is now only a dummy row for the caption, the actual
4665  table starts with the second row.
4666 \end_layout
4667
4668 \begin_layout Standard
4669 Here is a short longtable to see how it works:
4670 \end_layout
4671
4672 \begin_layout Standard
4673 \begin_inset Tabular
4674 <lyxtabular version="3" rows="6" columns="5">
4675 <features islongtable="true">
4676 <column alignment="center" valignment="top" leftline="true" width="0">
4677 <column alignment="center" valignment="top" leftline="true" width="0">
4678 <column alignment="center" valignment="top" leftline="true" width="0">
4679 <column alignment="center" valignment="top" leftline="true" width="0">
4680 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4681 <row>
4682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4683 \begin_inset Text
4684
4685 \begin_layout Standard
4686 \begin_inset Caption
4687
4688 \begin_layout Standard
4689 Longtable with caption
4690 \begin_inset OptArg
4691 status open
4692
4693 \begin_layout Standard
4694 Longtable
4695 \end_layout
4696
4697 \end_inset
4698
4699
4700 \end_layout
4701
4702 \end_inset
4703
4704
4705 \begin_inset ERT
4706 status collapsed
4707
4708 \begin_layout Standard
4709
4710
4711 \backslash
4712
4713 \backslash
4714 %
4715 \end_layout
4716
4717 \end_inset
4718
4719
4720 \end_layout
4721
4722 \end_inset
4723 </cell>
4724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4725 \begin_inset Text
4726
4727 \begin_layout Standard
4728
4729 \end_layout
4730
4731 \end_inset
4732 </cell>
4733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4734 \begin_inset Text
4735
4736 \begin_layout Standard
4737
4738 \end_layout
4739
4740 \end_inset
4741 </cell>
4742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4743 \begin_inset Text
4744
4745 \begin_layout Standard
4746
4747 \end_layout
4748
4749 \end_inset
4750 </cell>
4751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4752 \begin_inset Text
4753
4754 \begin_layout Standard
4755
4756 \end_layout
4757
4758 \end_inset
4759 </cell>
4760 </row>
4761 <row topline="true">
4762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4763 \begin_inset Text
4764
4765 \begin_layout Standard
4766 1
4767 \end_layout
4768
4769 \end_inset
4770 </cell>
4771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4772 \begin_inset Text
4773
4774 \begin_layout Standard
4775 2
4776 \end_layout
4777
4778 \end_inset
4779 </cell>
4780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4781 \begin_inset Text
4782
4783 \begin_layout Standard
4784 3
4785 \end_layout
4786
4787 \end_inset
4788 </cell>
4789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4790 \begin_inset Text
4791
4792 \begin_layout Standard
4793 4
4794 \end_layout
4795
4796 \end_inset
4797 </cell>
4798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4799 \begin_inset Text
4800
4801 \begin_layout Standard
4802 5
4803 \end_layout
4804
4805 \end_inset
4806 </cell>
4807 </row>
4808 <row topline="true">
4809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4810 \begin_inset Text
4811
4812 \begin_layout Standard
4813 asd
4814 \end_layout
4815
4816 \end_inset
4817 </cell>
4818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4819 \begin_inset Text
4820
4821 \begin_layout Standard
4822 s
4823 \end_layout
4824
4825 \end_inset
4826 </cell>
4827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4828 \begin_inset Text
4829
4830 \begin_layout Standard
4831 s
4832 \end_layout
4833
4834 \end_inset
4835 </cell>
4836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4837 \begin_inset Text
4838
4839 \begin_layout Standard
4840 s
4841 \end_layout
4842
4843 \end_inset
4844 </cell>
4845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4846 \begin_inset Text
4847
4848 \begin_layout Standard
4849 asd
4850 \end_layout
4851
4852 \end_inset
4853 </cell>
4854 </row>
4855 <row topline="true">
4856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4857 \begin_inset Text
4858
4859 \begin_layout Standard
4860 asd
4861 \end_layout
4862
4863 \end_inset
4864 </cell>
4865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Standard
4869 s
4870 \end_layout
4871
4872 \end_inset
4873 </cell>
4874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4875 \begin_inset Text
4876
4877 \begin_layout Standard
4878 s
4879 \end_layout
4880
4881 \end_inset
4882 </cell>
4883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4884 \begin_inset Text
4885
4886 \begin_layout Standard
4887 s
4888 \end_layout
4889
4890 \end_inset
4891 </cell>
4892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4893 \begin_inset Text
4894
4895 \begin_layout Standard
4896 asd
4897 \end_layout
4898
4899 \end_inset
4900 </cell>
4901 </row>
4902 <row topline="true">
4903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4904 \begin_inset Text
4905
4906 \begin_layout Standard
4907 asd
4908 \end_layout
4909
4910 \end_inset
4911 </cell>
4912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4913 \begin_inset Text
4914
4915 \begin_layout Standard
4916 s
4917 \end_layout
4918
4919 \end_inset
4920 </cell>
4921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4922 \begin_inset Text
4923
4924 \begin_layout Standard
4925 s
4926 \end_layout
4927
4928 \end_inset
4929 </cell>
4930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4931 \begin_inset Text
4932
4933 \begin_layout Standard
4934 s
4935 \end_layout
4936
4937 \end_inset
4938 </cell>
4939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4940 \begin_inset Text
4941
4942 \begin_layout Standard
4943 asd
4944 \end_layout
4945
4946 \end_inset
4947 </cell>
4948 </row>
4949 <row topline="true" bottomline="true">
4950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4951 \begin_inset Text
4952
4953 \begin_layout Standard
4954 asd
4955 \end_layout
4956
4957 \end_inset
4958 </cell>
4959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4960 \begin_inset Text
4961
4962 \begin_layout Standard
4963 asd
4964 \end_layout
4965
4966 \end_inset
4967 </cell>
4968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4969 \begin_inset Text
4970
4971 \begin_layout Standard
4972 asd
4973 \end_layout
4974
4975 \end_inset
4976 </cell>
4977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4978 \begin_inset Text
4979
4980 \begin_layout Standard
4981 asd
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4987 \begin_inset Text
4988
4989 \begin_layout Standard
4990 asd
4991 \end_layout
4992
4993 \end_inset
4994 </cell>
4995 </row>
4996 </lyxtabular>
4997
4998 \end_inset
4999
5000
5001 \end_layout
5002
5003 \begin_layout Standard
5004 \begin_inset VSpace medskip
5005 \end_inset
5006
5007
5008 \begin_inset Note Greyedout
5009 status open
5010
5011 \begin_layout Standard
5012
5013 \series bold
5014 Note:
5015 \series default
5016  The table number is increased for every longtable, also if you didn't set
5017  a caption for it.
5018  For this reason you could have the case that e.g.
5019  Table\InsetSpace ~
5020 2.4 follows on Table\InsetSpace ~
5021 2.1 in the list of tables if there are two longtables
5022  without captions.
5023  To avoid this you can add the following command in ERT behind every longtable
5024  without a caption:
5025 \end_layout
5026
5027 \begin_layout Standard
5028
5029 \series bold
5030
5031 \backslash
5032 addtocounter{table}{-1}
5033 \end_layout
5034
5035 \end_inset
5036
5037
5038 \end_layout
5039
5040 \begin_layout Standard
5041 \begin_inset Note Greyedout
5042 status open
5043
5044 \begin_layout Standard
5045
5046 \series bold
5047 Note:
5048 \series default
5049  If you are using the LaTeX-package 
5050 \series bold
5051 hyperref
5052 \series default
5053
5054 \begin_inset LatexCommand index
5055 name "LaTeX-packages ! hyperref"
5056
5057 \end_inset
5058
5059  to link cross-references, the link to a longtable caption will always point
5060  to the beginning of the document.
5061 \end_layout
5062
5063 \end_inset
5064
5065
5066 \end_layout
5067
5068 \begin_layout Subsubsection
5069 References to Longtables
5070 \begin_inset LatexCommand index
5071 name "Longtables ! References"
5072
5073 \end_inset
5074
5075
5076 \end_layout
5077
5078 \begin_layout Standard
5079 \begin_inset Tabular
5080 <lyxtabular version="3" rows="6" columns="5">
5081 <features islongtable="true">
5082 <column alignment="center" valignment="top" leftline="true" width="0">
5083 <column alignment="center" valignment="top" leftline="true" width="0">
5084 <column alignment="center" valignment="top" leftline="true" width="0">
5085 <column alignment="center" valignment="top" leftline="true" width="0">
5086 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5087 <row>
5088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5089 \begin_inset Text
5090
5091 \begin_layout Standard
5092 \begin_inset Caption
5093
5094 \begin_layout Standard
5095 Referenced longtable
5096 \begin_inset LatexCommand label
5097 name "tab:RefExample"
5098
5099 \end_inset
5100
5101
5102 \end_layout
5103
5104 \end_inset
5105
5106
5107 \begin_inset ERT
5108 status collapsed
5109
5110 \begin_layout Standard
5111
5112
5113 \backslash
5114
5115 \backslash
5116 %
5117 \end_layout
5118
5119 \end_inset
5120
5121
5122 \end_layout
5123
5124 \end_inset
5125 </cell>
5126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5127 \begin_inset Text
5128
5129 \begin_layout Standard
5130
5131 \end_layout
5132
5133 \end_inset
5134 </cell>
5135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5136 \begin_inset Text
5137
5138 \begin_layout Standard
5139
5140 \end_layout
5141
5142 \end_inset
5143 </cell>
5144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5145 \begin_inset Text
5146
5147 \begin_layout Standard
5148
5149 \end_layout
5150
5151 \end_inset
5152 </cell>
5153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5154 \begin_inset Text
5155
5156 \begin_layout Standard
5157
5158 \end_layout
5159
5160 \end_inset
5161 </cell>
5162 </row>
5163 <row topline="true">
5164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5165 \begin_inset Text
5166
5167 \begin_layout Standard
5168 1
5169 \end_layout
5170
5171 \end_inset
5172 </cell>
5173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5174 \begin_inset Text
5175
5176 \begin_layout Standard
5177 2
5178 \end_layout
5179
5180 \end_inset
5181 </cell>
5182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5183 \begin_inset Text
5184
5185 \begin_layout Standard
5186 3
5187 \end_layout
5188
5189 \end_inset
5190 </cell>
5191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5192 \begin_inset Text
5193
5194 \begin_layout Standard
5195 4
5196 \end_layout
5197
5198 \end_inset
5199 </cell>
5200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5201 \begin_inset Text
5202
5203 \begin_layout Standard
5204 5
5205 \end_layout
5206
5207 \end_inset
5208 </cell>
5209 </row>
5210 <row topline="true">
5211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5212 \begin_inset Text
5213
5214 \begin_layout Standard
5215 asd
5216 \end_layout
5217
5218 \end_inset
5219 </cell>
5220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5221 \begin_inset Text
5222
5223 \begin_layout Standard
5224 s
5225 \end_layout
5226
5227 \end_inset
5228 </cell>
5229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5230 \begin_inset Text
5231
5232 \begin_layout Standard
5233 s
5234 \end_layout
5235
5236 \end_inset
5237 </cell>
5238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5239 \begin_inset Text
5240
5241 \begin_layout Standard
5242 s
5243 \end_layout
5244
5245 \end_inset
5246 </cell>
5247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5248 \begin_inset Text
5249
5250 \begin_layout Standard
5251 asd
5252 \end_layout
5253
5254 \end_inset
5255 </cell>
5256 </row>
5257 <row topline="true">
5258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5259 \begin_inset Text
5260
5261 \begin_layout Standard
5262 asd
5263 \end_layout
5264
5265 \end_inset
5266 </cell>
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5268 \begin_inset Text
5269
5270 \begin_layout Standard
5271 s
5272 \end_layout
5273
5274 \end_inset
5275 </cell>
5276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5277 \begin_inset Text
5278
5279 \begin_layout Standard
5280 s
5281 \end_layout
5282
5283 \end_inset
5284 </cell>
5285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5286 \begin_inset Text
5287
5288 \begin_layout Standard
5289 s
5290 \end_layout
5291
5292 \end_inset
5293 </cell>
5294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5295 \begin_inset Text
5296
5297 \begin_layout Standard
5298 asd
5299 \end_layout
5300
5301 \end_inset
5302 </cell>
5303 </row>
5304 <row topline="true">
5305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5306 \begin_inset Text
5307
5308 \begin_layout Standard
5309 asd
5310 \end_layout
5311
5312 \end_inset
5313 </cell>
5314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5315 \begin_inset Text
5316
5317 \begin_layout Standard
5318 s
5319 \end_layout
5320
5321 \end_inset
5322 </cell>
5323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5324 \begin_inset Text
5325
5326 \begin_layout Standard
5327 s
5328 \end_layout
5329
5330 \end_inset
5331 </cell>
5332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5333 \begin_inset Text
5334
5335 \begin_layout Standard
5336 s
5337 \end_layout
5338
5339 \end_inset
5340 </cell>
5341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5342 \begin_inset Text
5343
5344 \begin_layout Standard
5345 asd
5346 \end_layout
5347
5348 \end_inset
5349 </cell>
5350 </row>
5351 <row topline="true" bottomline="true">
5352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5353 \begin_inset Text
5354
5355 \begin_layout Standard
5356 asd
5357 \end_layout
5358
5359 \end_inset
5360 </cell>
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5362 \begin_inset Text
5363
5364 \begin_layout Standard
5365 sad
5366 \end_layout
5367
5368 \end_inset
5369 </cell>
5370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5371 \begin_inset Text
5372
5373 \begin_layout Standard
5374 asd
5375 \end_layout
5376
5377 \end_inset
5378 </cell>
5379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5380 \begin_inset Text
5381
5382 \begin_layout Standard
5383 asd
5384 \end_layout
5385
5386 \end_inset
5387 </cell>
5388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5389 \begin_inset Text
5390
5391 \begin_layout Standard
5392 asd
5393 \end_layout
5394
5395 \end_inset
5396 </cell>
5397 </row>
5398 </lyxtabular>
5399
5400 \end_inset
5401
5402
5403 \end_layout
5404
5405 \begin_layout Standard
5406 To reference a longtable, insert a label into the caption.
5407  Note that you have to add the label prefix 
5408 \begin_inset Quotes eld
5409 \end_inset
5410
5411
5412 \emph on
5413 tab:
5414 \emph default
5415
5416 \begin_inset Quotes eld
5417 \end_inset
5418
5419  manually in the label field.
5420 \end_layout
5421
5422 \begin_layout Standard
5423 This is a reference to Table\InsetSpace ~
5424
5425 \begin_inset LatexCommand ref
5426 reference "tab:RefExample"
5427
5428 \end_inset
5429
5430 .
5431 \end_layout
5432
5433 \begin_layout Standard
5434 The caption layout can be set together with all other caption of your document
5435  using the LaTeX-package 
5436 \series bold
5437 caption
5438 \series default
5439
5440 \begin_inset LatexCommand index
5441 name "LaTeX-packages ! caption"
5442
5443 \end_inset
5444
5445 , see section\InsetSpace ~
5446
5447 \begin_inset LatexCommand ref
5448 reference "sec:Caption-Formatting"
5449
5450 \end_inset
5451
5452 .
5453 \end_layout
5454
5455 \begin_layout Subsubsection
5456 Caption Width
5457 \begin_inset LatexCommand index
5458 name "Longtables ! Caption Width"
5459
5460 \end_inset
5461
5462
5463 \end_layout
5464
5465 \begin_layout Standard
5466 The maximal width of of caption lines is defined by the length 
5467 \series bold
5468
5469 \backslash
5470 LTcapwidth
5471 \series default
5472 .
5473  Its default value is 4\InsetSpace \thinspace{}
5474 in.
5475  To change it add the following command to your document preamble or as
5476  ERT into your document before the longtable that should be affected
5477 \end_layout
5478
5479 \begin_layout Standard
5480
5481 \series bold
5482
5483 \backslash
5484 setlength{
5485 \backslash
5486 LTcapwidth}{width}
5487 \end_layout
5488
5489 \begin_layout Standard
5490 where the width could have one of the units listed in appendix\InsetSpace ~
5491
5492 \begin_inset LatexCommand ref
5493 reference "cha:Units-available-in"
5494
5495 \end_inset
5496
5497 .
5498 \end_layout
5499
5500 \begin_layout Standard
5501 The following tables show the difference:
5502 \end_layout
5503
5504 \begin_layout Standard
5505 \begin_inset Tabular
5506 <lyxtabular version="3" rows="6" columns="5">
5507 <features islongtable="true">
5508 <column alignment="center" valignment="top" leftline="true" width="0">
5509 <column alignment="center" valignment="top" leftline="true" width="0">
5510 <column alignment="center" valignment="top" leftline="true" width="0">
5511 <column alignment="center" valignment="top" leftline="true" width="0">
5512 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5513 <row>
5514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5515 \begin_inset Text
5516
5517 \begin_layout Standard
5518 \begin_inset Caption
5519
5520 \begin_layout Standard
5521 long full title with default width long full title with default width long
5522  full title with default width
5523 \begin_inset OptArg
5524 status collapsed
5525
5526 \begin_layout Standard
5527 caption with default width
5528 \end_layout
5529
5530 \end_inset
5531
5532
5533 \end_layout
5534
5535 \end_inset
5536
5537
5538 \begin_inset ERT
5539 status collapsed
5540
5541 \begin_layout Standard
5542
5543
5544 \backslash
5545
5546 \backslash
5547 %
5548 \end_layout
5549
5550 \end_inset
5551
5552
5553 \end_layout
5554
5555 \end_inset
5556 </cell>
5557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5558 \begin_inset Text
5559
5560 \begin_layout Standard
5561
5562 \end_layout
5563
5564 \end_inset
5565 </cell>
5566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5567 \begin_inset Text
5568
5569 \begin_layout Standard
5570
5571 \end_layout
5572
5573 \end_inset
5574 </cell>
5575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5576 \begin_inset Text
5577
5578 \begin_layout Standard
5579
5580 \end_layout
5581
5582 \end_inset
5583 </cell>
5584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5585 \begin_inset Text
5586
5587 \begin_layout Standard
5588
5589 \end_layout
5590
5591 \end_inset
5592 </cell>
5593 </row>
5594 <row topline="true">
5595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5596 \begin_inset Text
5597
5598 \begin_layout Standard
5599 1
5600 \end_layout
5601
5602 \end_inset
5603 </cell>
5604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5605 \begin_inset Text
5606
5607 \begin_layout Standard
5608 2
5609 \end_layout
5610
5611 \end_inset
5612 </cell>
5613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5614 \begin_inset Text
5615
5616 \begin_layout Standard
5617 3
5618 \end_layout
5619
5620 \end_inset
5621 </cell>
5622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5623 \begin_inset Text
5624
5625 \begin_layout Standard
5626 4
5627 \end_layout
5628
5629 \end_inset
5630 </cell>
5631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5632 \begin_inset Text
5633
5634 \begin_layout Standard
5635 5
5636 \end_layout
5637
5638 \end_inset
5639 </cell>
5640 </row>
5641 <row topline="true">
5642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5643 \begin_inset Text
5644
5645 \begin_layout Standard
5646 asd
5647 \end_layout
5648
5649 \end_inset
5650 </cell>
5651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5652 \begin_inset Text
5653
5654 \begin_layout Standard
5655 s
5656 \end_layout
5657
5658 \end_inset
5659 </cell>
5660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5661 \begin_inset Text
5662
5663 \begin_layout Standard
5664 s
5665 \end_layout
5666
5667 \end_inset
5668 </cell>
5669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5670 \begin_inset Text
5671
5672 \begin_layout Standard
5673 s
5674 \end_layout
5675
5676 \end_inset
5677 </cell>
5678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5679 \begin_inset Text
5680
5681 \begin_layout Standard
5682 asd
5683 \end_layout
5684
5685 \end_inset
5686 </cell>
5687 </row>
5688 <row topline="true">
5689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5690 \begin_inset Text
5691
5692 \begin_layout Standard
5693 asd
5694 \end_layout
5695
5696 \end_inset
5697 </cell>
5698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5699 \begin_inset Text
5700
5701 \begin_layout Standard
5702 s
5703 \end_layout
5704
5705 \end_inset
5706 </cell>
5707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5708 \begin_inset Text
5709
5710 \begin_layout Standard
5711 s
5712 \end_layout
5713
5714 \end_inset
5715 </cell>
5716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5717 \begin_inset Text
5718
5719 \begin_layout Standard
5720 s
5721 \end_layout
5722
5723 \end_inset
5724 </cell>
5725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5726 \begin_inset Text
5727
5728 \begin_layout Standard
5729 asd
5730 \end_layout
5731
5732 \end_inset
5733 </cell>
5734 </row>
5735 <row topline="true">
5736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5737 \begin_inset Text
5738
5739 \begin_layout Standard
5740 asd
5741 \end_layout
5742
5743 \end_inset
5744 </cell>
5745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5746 \begin_inset Text
5747
5748 \begin_layout Standard
5749 s
5750 \end_layout
5751
5752 \end_inset
5753 </cell>
5754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5755 \begin_inset Text
5756
5757 \begin_layout Standard
5758 s
5759 \end_layout
5760
5761 \end_inset
5762 </cell>
5763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5764 \begin_inset Text
5765
5766 \begin_layout Standard
5767 s
5768 \end_layout
5769
5770 \end_inset
5771 </cell>
5772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5773 \begin_inset Text
5774
5775 \begin_layout Standard
5776 asd
5777 \end_layout
5778
5779 \end_inset
5780 </cell>
5781 </row>
5782 <row topline="true" bottomline="true">
5783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5784 \begin_inset Text
5785
5786 \begin_layout Standard
5787 asd
5788 \end_layout
5789
5790 \end_inset
5791 </cell>
5792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5793 \begin_inset Text
5794
5795 \begin_layout Standard
5796 sad
5797 \end_layout
5798
5799 \end_inset
5800 </cell>
5801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5802 \begin_inset Text
5803
5804 \begin_layout Standard
5805 asd
5806 \end_layout
5807
5808 \end_inset
5809 </cell>
5810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5811 \begin_inset Text
5812
5813 \begin_layout Standard
5814 asd
5815 \end_layout
5816
5817 \end_inset
5818 </cell>
5819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5820 \begin_inset Text
5821
5822 \begin_layout Standard
5823 asd
5824 \end_layout
5825
5826 \end_inset
5827 </cell>
5828 </row>
5829 </lyxtabular>
5830
5831 \end_inset
5832
5833
5834 \end_layout
5835
5836 \begin_layout Standard
5837 \begin_inset ERT
5838 status collapsed
5839
5840 \begin_layout Standard
5841
5842
5843 \backslash
5844 setlength{
5845 \backslash
5846 LTcapwidth}{5cm}
5847 \end_layout
5848
5849 \end_inset
5850
5851
5852 \begin_inset Tabular
5853 <lyxtabular version="3" rows="6" columns="5">
5854 <features islongtable="true">
5855 <column alignment="center" valignment="top" leftline="true" width="0">
5856 <column alignment="center" valignment="top" leftline="true" width="0">
5857 <column alignment="center" valignment="top" leftline="true" width="0">
5858 <column alignment="center" valignment="top" leftline="true" width="0">
5859 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5860 <row>
5861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5862 \begin_inset Text
5863
5864 \begin_layout Standard
5865 \begin_inset Caption
5866
5867 \begin_layout Standard
5868 long full title with width set to 5\InsetSpace \thinspace{}
5869 cm long full title with width set to
5870  5\InsetSpace \thinspace{}
5871 cm long full title with width set to 5\InsetSpace \thinspace{}
5872 cm
5873 \begin_inset OptArg
5874 status collapsed
5875
5876 \begin_layout Standard
5877 caption with width\InsetSpace \thinspace{}
5878 =\InsetSpace \thinspace{}
5879 5\InsetSpace \thinspace{}
5880 cm
5881 \end_layout
5882
5883 \end_inset
5884
5885
5886 \end_layout
5887
5888 \end_inset
5889
5890
5891 \begin_inset ERT
5892 status collapsed
5893
5894 \begin_layout Standard
5895
5896
5897 \backslash
5898
5899 \backslash
5900 %
5901 \end_layout
5902
5903 \end_inset
5904
5905
5906 \end_layout
5907
5908 \end_inset
5909 </cell>
5910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5911 \begin_inset Text
5912
5913 \begin_layout Standard
5914
5915 \end_layout
5916
5917 \end_inset
5918 </cell>
5919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5920 \begin_inset Text
5921
5922 \begin_layout Standard
5923
5924 \end_layout
5925
5926 \end_inset
5927 </cell>
5928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5929 \begin_inset Text
5930
5931 \begin_layout Standard
5932
5933 \end_layout
5934
5935 \end_inset
5936 </cell>
5937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5938 \begin_inset Text
5939
5940 \begin_layout Standard
5941
5942 \end_layout
5943
5944 \end_inset
5945 </cell>
5946 </row>
5947 <row topline="true">
5948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5949 \begin_inset Text
5950
5951 \begin_layout Standard
5952 1
5953 \end_layout
5954
5955 \end_inset
5956 </cell>
5957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5958 \begin_inset Text
5959
5960 \begin_layout Standard
5961 2
5962 \end_layout
5963
5964 \end_inset
5965 </cell>
5966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5967 \begin_inset Text
5968
5969 \begin_layout Standard
5970 3
5971 \end_layout
5972
5973 \end_inset
5974 </cell>
5975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5976 \begin_inset Text
5977
5978 \begin_layout Standard
5979 4
5980 \end_layout
5981
5982 \end_inset
5983 </cell>
5984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5985 \begin_inset Text
5986
5987 \begin_layout Standard
5988 5
5989 \end_layout
5990
5991 \end_inset
5992 </cell>
5993 </row>
5994 <row topline="true">
5995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5996 \begin_inset Text
5997
5998 \begin_layout Standard
5999 asd
6000 \end_layout
6001
6002 \end_inset
6003 </cell>
6004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6005 \begin_inset Text
6006
6007 \begin_layout Standard
6008 s
6009 \end_layout
6010
6011 \end_inset
6012 </cell>
6013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6014 \begin_inset Text
6015
6016 \begin_layout Standard
6017 s
6018 \end_layout
6019
6020 \end_inset
6021 </cell>
6022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6023 \begin_inset Text
6024
6025 \begin_layout Standard
6026 s
6027 \end_layout
6028
6029 \end_inset
6030 </cell>
6031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6032 \begin_inset Text
6033
6034 \begin_layout Standard
6035 asd
6036 \end_layout
6037
6038 \end_inset
6039 </cell>
6040 </row>
6041 <row topline="true">
6042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6043 \begin_inset Text
6044
6045 \begin_layout Standard
6046 asd
6047 \end_layout
6048
6049 \end_inset
6050 </cell>
6051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6052 \begin_inset Text
6053
6054 \begin_layout Standard
6055 s
6056 \end_layout
6057
6058 \end_inset
6059 </cell>
6060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6061 \begin_inset Text
6062
6063 \begin_layout Standard
6064 s
6065 \end_layout
6066
6067 \end_inset
6068 </cell>
6069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6070 \begin_inset Text
6071
6072 \begin_layout Standard
6073 s
6074 \end_layout
6075
6076 \end_inset
6077 </cell>
6078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6079 \begin_inset Text
6080
6081 \begin_layout Standard
6082 asd
6083 \end_layout
6084
6085 \end_inset
6086 </cell>
6087 </row>
6088 <row topline="true">
6089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6090 \begin_inset Text
6091
6092 \begin_layout Standard
6093 asd
6094 \end_layout
6095
6096 \end_inset
6097 </cell>
6098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6099 \begin_inset Text
6100
6101 \begin_layout Standard
6102 s
6103 \end_layout
6104
6105 \end_inset
6106 </cell>
6107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6108 \begin_inset Text
6109
6110 \begin_layout Standard
6111 s
6112 \end_layout
6113
6114 \end_inset
6115 </cell>
6116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6117 \begin_inset Text
6118
6119 \begin_layout Standard
6120 s
6121 \end_layout
6122
6123 \end_inset
6124 </cell>
6125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6126 \begin_inset Text
6127
6128 \begin_layout Standard
6129 asd
6130 \end_layout
6131
6132 \end_inset
6133 </cell>
6134 </row>
6135 <row topline="true" bottomline="true">
6136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6137 \begin_inset Text
6138
6139 \begin_layout Standard
6140 asd
6141 \end_layout
6142
6143 \end_inset
6144 </cell>
6145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6146 \begin_inset Text
6147
6148 \begin_layout Standard
6149 sad
6150 \end_layout
6151
6152 \end_inset
6153 </cell>
6154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6155 \begin_inset Text
6156
6157 \begin_layout Standard
6158 asd
6159 \end_layout
6160
6161 \end_inset
6162 </cell>
6163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6164 \begin_inset Text
6165
6166 \begin_layout Standard
6167 asd
6168 \end_layout
6169
6170 \end_inset
6171 </cell>
6172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6173 \begin_inset Text
6174
6175 \begin_layout Standard
6176 asd
6177 \end_layout
6178
6179 \end_inset
6180 </cell>
6181 </row>
6182 </lyxtabular>
6183
6184 \end_inset
6185
6186
6187 \begin_inset ERT
6188 status collapsed
6189
6190 \begin_layout Standard
6191
6192
6193 \backslash
6194 setlength{
6195 \backslash
6196 LTcapwidth}{4in}
6197 \end_layout
6198
6199 \end_inset
6200
6201
6202 \end_layout
6203
6204 \begin_layout Standard
6205
6206 \end_layout
6207
6208 \begin_layout Subsubsection
6209 Different Captions for Table Pages
6210 \begin_inset LatexCommand index
6211 name "Longtables ! Different Captions for Pages"
6212
6213 \end_inset
6214
6215
6216 \end_layout
6217
6218 \begin_layout Standard
6219 When the other captions should differ from the one of the first table page,
6220  insert a caption with a non-empty short title in a dummy caption row marked
6221  as first header.
6222  The caption used for the other table pages is inserted as caption without
6223  a short title in a dummy caption row that is marked as main header.
6224  When this caption shouldn't include the table number, use the command
6225 \end_layout
6226
6227 \begin_layout Standard
6228
6229 \series bold
6230
6231 \backslash
6232 caption*{caption text}
6233 \end_layout
6234
6235 \begin_layout Standard
6236 instead of LyX's caption box.
6237  The label to reference the table is inserted into the caption of the first
6238  header.
6239  Table\InsetSpace ~
6240
6241 \begin_inset LatexCommand ref
6242 reference "tab:DiffCaptions"
6243
6244 \end_inset
6245
6246  is an example for a longtable with different heading where the second caption
6247  doesn't include the table number.
6248 \end_layout
6249
6250 \begin_layout Standard
6251 \align center
6252 \begin_inset Tabular
6253 <lyxtabular version="3" rows="60" columns="3">
6254 <features islongtable="true">
6255 <column alignment="left" valignment="top" leftline="true" width="0cm">
6256 <column alignment="left" valignment="top" rightline="true" width="0pt">
6257 <column alignment="right" valignment="top" rightline="true" width="0pt">
6258 <row endfirsthead="true">
6259 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6260 \begin_inset Text
6261
6262 \begin_layout Standard
6263 \begin_inset Caption
6264
6265 \begin_layout Standard
6266 Example Phone List
6267 \begin_inset LatexCommand label
6268 name "tab:DiffCaptions"
6269
6270 \end_inset
6271
6272
6273 \begin_inset OptArg
6274 status collapsed
6275
6276 \begin_layout Standard
6277 Example Phone List
6278 \end_layout
6279
6280 \end_inset
6281
6282
6283 \end_layout
6284
6285 \end_inset
6286
6287
6288 \begin_inset ERT
6289 status collapsed
6290
6291 \begin_layout Standard
6292
6293
6294 \backslash
6295
6296 \backslash
6297 %
6298 \end_layout
6299
6300 \end_inset
6301
6302
6303 \end_layout
6304
6305 \end_inset
6306 </cell>
6307 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6308 \begin_inset Text
6309
6310 \begin_layout Standard
6311
6312 \end_layout
6313
6314 \end_inset
6315 </cell>
6316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6317 \begin_inset Text
6318
6319 \begin_layout Standard
6320
6321 \end_layout
6322
6323 \end_inset
6324 </cell>
6325 </row>
6326 <row topline="true" bottomline="true" endfirsthead="true">
6327 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6328 \begin_inset Text
6329
6330 \begin_layout Standard
6331
6332 \series bold
6333 Example Phone List (ignore the names)
6334 \end_layout
6335
6336 \end_inset
6337 </cell>
6338 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6339 \begin_inset Text
6340
6341 \begin_layout Standard
6342
6343 \end_layout
6344
6345 \end_inset
6346 </cell>
6347 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6348 \begin_inset Text
6349
6350 \begin_layout Standard
6351
6352 \end_layout
6353
6354 \end_inset
6355 </cell>
6356 </row>
6357 <row topline="true" bottomline="true" endfirsthead="true">
6358 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6359 \begin_inset Text
6360
6361 \begin_layout Standard
6362
6363 \series bold
6364 NAME
6365 \end_layout
6366
6367 \end_inset
6368 </cell>
6369 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6370 \begin_inset Text
6371
6372 \begin_layout Standard
6373
6374 \end_layout
6375
6376 \end_inset
6377 </cell>
6378 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6379 \begin_inset Text
6380
6381 \begin_layout Standard
6382
6383 \series bold
6384 TEL.
6385 \end_layout
6386
6387 \end_inset
6388 </cell>
6389 </row>
6390 <row bottomline="true" endhead="true">
6391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6392 \begin_inset Text
6393
6394 \begin_layout Standard
6395 \begin_inset ERT
6396 status collapsed
6397
6398 \begin_layout Standard
6399
6400
6401 \backslash
6402 caption*{Continued Example Phone List}
6403 \backslash
6404
6405 \backslash
6406 %
6407 \end_layout
6408
6409 \end_inset
6410
6411
6412 \end_layout
6413
6414 \end_inset
6415 </cell>
6416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6417 \begin_inset Text
6418
6419 \begin_layout Standard
6420
6421 \end_layout
6422
6423 \end_inset
6424 </cell>
6425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6426 \begin_inset Text
6427
6428 \begin_layout Standard
6429
6430 \end_layout
6431
6432 \end_inset
6433 </cell>
6434 </row>
6435 <row topline="true" bottomline="true" endhead="true">
6436 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6437 \begin_inset Text
6438
6439 \begin_layout Standard
6440
6441 \series bold
6442 Example Phone List
6443 \end_layout
6444
6445 \end_inset
6446 </cell>
6447 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6448 \begin_inset Text
6449
6450 \begin_layout Standard
6451
6452 \end_layout
6453
6454 \end_inset
6455 </cell>
6456 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Standard
6460
6461 \end_layout
6462
6463 \end_inset
6464 </cell>
6465 </row>
6466 <row topline="true" bottomline="true" endhead="true">
6467 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6468 \begin_inset Text
6469
6470 \begin_layout Standard
6471
6472 \series bold
6473 NAME
6474 \end_layout
6475
6476 \end_inset
6477 </cell>
6478 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6479 \begin_inset Text
6480
6481 \begin_layout Standard
6482
6483 \end_layout
6484
6485 \end_inset
6486 </cell>
6487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6488 \begin_inset Text
6489
6490 \begin_layout Standard
6491
6492 \series bold
6493 TEL.
6494 \end_layout
6495
6496 \end_inset
6497 </cell>
6498 </row>
6499 <row topline="true" bottomline="true" endfoot="true">
6500 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6501 \begin_inset Text
6502
6503 \begin_layout Standard
6504 continued on next page
6505 \end_layout
6506
6507 \end_inset
6508 </cell>
6509 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6510 \begin_inset Text
6511
6512 \begin_layout Standard
6513
6514 \end_layout
6515
6516 \end_inset
6517 </cell>
6518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6519 \begin_inset Text
6520
6521 \begin_layout Standard
6522
6523 \end_layout
6524
6525 \end_inset
6526 </cell>
6527 </row>
6528 <row>
6529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6530 \begin_inset Text
6531
6532 \begin_layout Standard
6533
6534 \series bold
6535 Annovi
6536 \end_layout
6537
6538 \end_inset
6539 </cell>
6540 <cell alignment="center" valignment="top" topline="true" usebox="none">
6541 \begin_inset Text
6542
6543 \begin_layout Standard
6544 Silvia
6545 \end_layout
6546
6547 \end_inset
6548 </cell>
6549 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6550 \begin_inset Text
6551
6552 \begin_layout Standard
6553 111
6554 \end_layout
6555
6556 \end_inset
6557 </cell>
6558 </row>
6559 <row>
6560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6561 \begin_inset Text
6562
6563 \begin_layout Standard
6564
6565 \series bold
6566 Bertoli
6567 \end_layout
6568
6569 \end_inset
6570 </cell>
6571 <cell alignment="center" valignment="top" topline="true" usebox="none">
6572 \begin_inset Text
6573
6574 \begin_layout Standard
6575 Stefano
6576 \end_layout
6577
6578 \end_inset
6579 </cell>
6580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6581 \begin_inset Text
6582
6583 \begin_layout Standard
6584 111
6585 \end_layout
6586
6587 \end_inset
6588 </cell>
6589 </row>
6590 <row>
6591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6592 \begin_inset Text
6593
6594 \begin_layout Standard
6595
6596 \series bold
6597 Bozzi
6598 \end_layout
6599
6600 \end_inset
6601 </cell>
6602 <cell alignment="center" valignment="top" topline="true" usebox="none">
6603 \begin_inset Text
6604
6605 \begin_layout Standard
6606 Walter
6607 \end_layout
6608
6609 \end_inset
6610 </cell>
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6612 \begin_inset Text
6613
6614 \begin_layout Standard
6615 111
6616 \end_layout
6617
6618 \end_inset
6619 </cell>
6620 </row>
6621 <row>
6622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6623 \begin_inset Text
6624
6625 \begin_layout Standard
6626
6627 \series bold
6628 Cachia
6629 \end_layout
6630
6631 \end_inset
6632 </cell>
6633 <cell alignment="center" valignment="top" topline="true" usebox="none">
6634 \begin_inset Text
6635
6636 \begin_layout Standard
6637 Maria
6638 \end_layout
6639
6640 \end_inset
6641 </cell>
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6643 \begin_inset Text
6644
6645 \begin_layout Standard
6646 111
6647 \end_layout
6648
6649 \end_inset
6650 </cell>
6651 </row>
6652 <row>
6653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6654 \begin_inset Text
6655
6656 \begin_layout Standard
6657
6658 \series bold
6659 Cachia
6660 \end_layout
6661
6662 \end_inset
6663 </cell>
6664 <cell alignment="center" valignment="top" topline="true" usebox="none">
6665 \begin_inset Text
6666
6667 \begin_layout Standard
6668 Maurizio
6669 \end_layout
6670
6671 \end_inset
6672 </cell>
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6674 \begin_inset Text
6675
6676 \begin_layout Standard
6677 111
6678 \end_layout
6679
6680 \end_inset
6681 </cell>
6682 </row>
6683 <row>
6684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6685 \begin_inset Text
6686
6687 \begin_layout Standard
6688
6689 \series bold
6690 Cinquemani
6691 \end_layout
6692
6693 \end_inset
6694 </cell>
6695 <cell alignment="center" valignment="top" topline="true" usebox="none">
6696 \begin_inset Text
6697
6698 \begin_layout Standard
6699 Giusi
6700 \end_layout
6701
6702 \end_inset
6703 </cell>
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6705 \begin_inset Text
6706
6707 \begin_layout Standard
6708 111
6709 \end_layout
6710
6711 \end_inset
6712 </cell>
6713 </row>
6714 <row>
6715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6716 \begin_inset Text
6717
6718 \begin_layout Standard
6719
6720 \series bold
6721 Colin
6722 \end_layout
6723
6724 \end_inset
6725 </cell>
6726 <cell alignment="center" valignment="top" topline="true" usebox="none">
6727 \begin_inset Text
6728
6729 \begin_layout Standard
6730 Bernard
6731 \end_layout
6732
6733 \end_inset
6734 </cell>
6735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6736 \begin_inset Text
6737
6738 \begin_layout Standard
6739 111
6740 \end_layout
6741
6742 \end_inset
6743 </cell>
6744 </row>
6745 <row>
6746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6747 \begin_inset Text
6748
6749 \begin_layout Standard
6750
6751 \series bold
6752 Concli
6753 \end_layout
6754
6755 \end_inset
6756 </cell>
6757 <cell alignment="center" valignment="top" topline="true" usebox="none">
6758 \begin_inset Text
6759
6760 \begin_layout Standard
6761 Gianfranco
6762 \end_layout
6763
6764 \end_inset
6765 </cell>
6766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6767 \begin_inset Text
6768
6769 \begin_layout Standard
6770 111
6771 \end_layout
6772
6773 \end_inset
6774 </cell>
6775 </row>
6776 <row>
6777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6778 \begin_inset Text
6779
6780 \begin_layout Standard
6781
6782 \series bold
6783 Dal Bosco
6784 \end_layout
6785
6786 \end_inset
6787 </cell>
6788 <cell alignment="center" valignment="top" topline="true" usebox="none">
6789 \begin_inset Text
6790
6791 \begin_layout Standard
6792 Carolina
6793 \end_layout
6794
6795 \end_inset
6796 </cell>
6797 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6798 \begin_inset Text
6799
6800 \begin_layout Standard
6801 111
6802 \end_layout
6803
6804 \end_inset
6805 </cell>
6806 </row>
6807 <row>
6808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6809 \begin_inset Text
6810
6811 \begin_layout Standard
6812
6813 \series bold
6814 Dalpiaz
6815 \end_layout
6816
6817 \end_inset
6818 </cell>
6819 <cell alignment="center" valignment="top" topline="true" usebox="none">
6820 \begin_inset Text
6821
6822 \begin_layout Standard
6823 Annamaria
6824 \end_layout
6825
6826 \end_inset
6827 </cell>
6828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6829 \begin_inset Text
6830
6831 \begin_layout Standard
6832 111
6833 \end_layout
6834
6835 \end_inset
6836 </cell>
6837 </row>
6838 <row>
6839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6840 \begin_inset Text
6841
6842 \begin_layout Standard
6843
6844 \series bold
6845 Feliciello
6846 \end_layout
6847
6848 \end_inset
6849 </cell>
6850 <cell alignment="center" valignment="top" topline="true" usebox="none">
6851 \begin_inset Text
6852
6853 \begin_layout Standard
6854 Domenico
6855 \end_layout
6856
6857 \end_inset
6858 </cell>
6859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6860 \begin_inset Text
6861
6862 \begin_layout Standard
6863 111
6864 \end_layout
6865
6866 \end_inset
6867 </cell>
6868 </row>
6869 <row>
6870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6871 \begin_inset Text
6872
6873 \begin_layout Standard
6874
6875 \series bold
6876 Focarelli
6877 \end_layout
6878
6879 \end_inset
6880 </cell>
6881 <cell alignment="center" valignment="top" topline="true" usebox="none">
6882 \begin_inset Text
6883
6884 \begin_layout Standard
6885 Paola
6886 \end_layout
6887
6888 \end_inset
6889 </cell>
6890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6891 \begin_inset Text
6892
6893 \begin_layout Standard
6894 111
6895 \end_layout
6896
6897 \end_inset
6898 </cell>
6899 </row>
6900 <row>
6901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6902 \begin_inset Text
6903
6904 \begin_layout Standard
6905
6906 \series bold
6907 Galletti
6908 \end_layout
6909
6910 \end_inset
6911 </cell>
6912 <cell alignment="center" valignment="top" topline="true" usebox="none">
6913 \begin_inset Text
6914
6915 \begin_layout Standard
6916 Oreste
6917 \end_layout
6918
6919 \end_inset
6920 </cell>
6921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6922 \begin_inset Text
6923
6924 \begin_layout Standard
6925 111
6926 \end_layout
6927
6928 \end_inset
6929 </cell>
6930 </row>
6931 <row>
6932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6933 \begin_inset Text
6934
6935 \begin_layout Standard
6936
6937 \series bold
6938 Gasparini
6939 \end_layout
6940
6941 \end_inset
6942 </cell>
6943 <cell alignment="center" valignment="top" topline="true" usebox="none">
6944 \begin_inset Text
6945
6946 \begin_layout Standard
6947 Franca
6948 \end_layout
6949
6950 \end_inset
6951 </cell>
6952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6953 \begin_inset Text
6954
6955 \begin_layout Standard
6956 111
6957 \end_layout
6958
6959 \end_inset
6960 </cell>
6961 </row>
6962 <row>
6963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6964 \begin_inset Text
6965
6966 \begin_layout Standard
6967
6968 \series bold
6969 Rizzardi
6970 \series default
6971
6972 \begin_inset Foot
6973 status collapsed
6974
6975 \begin_layout Standard
6976 Example footnote
6977 \end_layout
6978
6979 \end_inset
6980
6981
6982 \end_layout
6983
6984 \end_inset
6985 </cell>
6986 <cell alignment="center" valignment="top" topline="true" usebox="none">
6987 \begin_inset Text
6988
6989 \begin_layout Standard
6990 Paola
6991 \end_layout
6992
6993 \end_inset
6994 </cell>
6995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6996 \begin_inset Text
6997
6998 \begin_layout Standard
6999 111
7000 \end_layout
7001
7002 \end_inset
7003 </cell>
7004 </row>
7005 <row>
7006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7007 \begin_inset Text
7008
7009 \begin_layout Standard
7010
7011 \series bold
7012 Lassini
7013 \end_layout
7014
7015 \end_inset
7016 </cell>
7017 <cell alignment="center" valignment="top" topline="true" usebox="none">
7018 \begin_inset Text
7019
7020 \begin_layout Standard
7021 Giancarlo
7022 \end_layout
7023
7024 \end_inset
7025 </cell>
7026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7027 \begin_inset Text
7028
7029 \begin_layout Standard
7030 111
7031 \end_layout
7032
7033 \end_inset
7034 </cell>
7035 </row>
7036 <row>
7037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7038 \begin_inset Text
7039
7040 \begin_layout Standard
7041
7042 \series bold
7043 Malfatti
7044 \end_layout
7045
7046 \end_inset
7047 </cell>
7048 <cell alignment="center" valignment="top" topline="true" usebox="none">
7049 \begin_inset Text
7050
7051 \begin_layout Standard
7052 Luciano
7053 \end_layout
7054
7055 \end_inset
7056 </cell>
7057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7058 \begin_inset Text
7059
7060 \begin_layout Standard
7061 111
7062 \end_layout
7063
7064 \end_inset
7065 </cell>
7066 </row>
7067 <row>
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Standard
7072
7073 \series bold
7074 Malfatti
7075 \end_layout
7076
7077 \end_inset
7078 </cell>
7079 <cell alignment="center" valignment="top" topline="true" usebox="none">
7080 \begin_inset Text
7081
7082 \begin_layout Standard
7083 Valeriano
7084 \end_layout
7085
7086 \end_inset
7087 </cell>
7088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7089 \begin_inset Text
7090
7091 \begin_layout Standard
7092 111
7093 \end_layout
7094
7095 \end_inset
7096 </cell>
7097 </row>
7098 <row>
7099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7100 \begin_inset Text
7101
7102 \begin_layout Standard
7103
7104 \series bold
7105 Meneguzzo
7106 \end_layout
7107
7108 \end_inset
7109 </cell>
7110 <cell alignment="center" valignment="top" topline="true" usebox="none">
7111 \begin_inset Text
7112
7113 \begin_layout Standard
7114 Roberto
7115 \end_layout
7116
7117 \end_inset
7118 </cell>
7119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7120 \begin_inset Text
7121
7122 \begin_layout Standard
7123 111
7124 \end_layout
7125
7126 \end_inset
7127 </cell>
7128 </row>
7129 <row>
7130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7131 \begin_inset Text
7132
7133 \begin_layout Standard
7134
7135 \series bold
7136 Mezzadra
7137 \end_layout
7138
7139 \end_inset
7140 </cell>
7141 <cell alignment="center" valignment="top" topline="true" usebox="none">
7142 \begin_inset Text
7143
7144 \begin_layout Standard
7145 Roberto
7146 \end_layout
7147
7148 \end_inset
7149 </cell>
7150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7151 \begin_inset Text
7152
7153 \begin_layout Standard
7154 111
7155 \end_layout
7156
7157 \end_inset
7158 </cell>
7159 </row>
7160 <row>
7161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7162 \begin_inset Text
7163
7164 \begin_layout Standard
7165
7166 \series bold
7167 Pirpamer
7168 \end_layout
7169
7170 \end_inset
7171 </cell>
7172 <cell alignment="center" valignment="top" topline="true" usebox="none">
7173 \begin_inset Text
7174
7175 \begin_layout Standard
7176 Erich
7177 \end_layout
7178
7179 \end_inset
7180 </cell>
7181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7182 \begin_inset Text
7183
7184 \begin_layout Standard
7185 111
7186 \end_layout
7187
7188 \end_inset
7189 </cell>
7190 </row>
7191 <row>
7192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7193 \begin_inset Text
7194
7195 \begin_layout Standard
7196
7197 \series bold
7198 Pochiesa
7199 \end_layout
7200
7201 \end_inset
7202 </cell>
7203 <cell alignment="center" valignment="top" topline="true" usebox="none">
7204 \begin_inset Text
7205
7206 \begin_layout Standard
7207 Paolo
7208 \end_layout
7209
7210 \end_inset
7211 </cell>
7212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7213 \begin_inset Text
7214
7215 \begin_layout Standard
7216 111, 222
7217 \end_layout
7218
7219 \end_inset
7220 </cell>
7221 </row>
7222 <row>
7223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7224 \begin_inset Text
7225
7226 \begin_layout Standard
7227
7228 \series bold
7229 Radina
7230 \end_layout
7231
7232 \end_inset
7233 </cell>
7234 <cell alignment="center" valignment="top" topline="true" usebox="none">
7235 \begin_inset Text
7236
7237 \begin_layout Standard
7238 Claudio
7239 \end_layout
7240
7241 \end_inset
7242 </cell>
7243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7244 \begin_inset Text
7245
7246 \begin_layout Standard
7247 111
7248 \end_layout
7249
7250 \end_inset
7251 </cell>
7252 </row>
7253 <row>
7254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7255 \begin_inset Text
7256
7257 \begin_layout Standard
7258
7259 \series bold
7260 Stuffer
7261 \end_layout
7262
7263 \end_inset
7264 </cell>
7265 <cell alignment="center" valignment="top" topline="true" usebox="none">
7266 \begin_inset Text
7267
7268 \begin_layout Standard
7269 Oskar
7270 \end_layout
7271
7272 \end_inset
7273 </cell>
7274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7275 \begin_inset Text
7276
7277 \begin_layout Standard
7278 111
7279 \end_layout
7280
7281 \end_inset
7282 </cell>
7283 </row>
7284 <row>
7285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7286 \begin_inset Text
7287
7288 \begin_layout Standard
7289
7290 \series bold
7291 Tacchelli
7292 \end_layout
7293
7294 \end_inset
7295 </cell>
7296 <cell alignment="center" valignment="top" topline="true" usebox="none">
7297 \begin_inset Text
7298
7299 \begin_layout Standard
7300 Ugo
7301 \end_layout
7302
7303 \end_inset
7304 </cell>
7305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7306 \begin_inset Text
7307
7308 \begin_layout Standard
7309 111
7310 \end_layout
7311
7312 \end_inset
7313 </cell>
7314 </row>
7315 <row>
7316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7317 \begin_inset Text
7318
7319 \begin_layout Standard
7320
7321 \series bold
7322 Tezzele
7323 \end_layout
7324
7325 \end_inset
7326 </cell>
7327 <cell alignment="center" valignment="top" topline="true" usebox="none">
7328 \begin_inset Text
7329
7330 \begin_layout Standard
7331 Margit
7332 \end_layout
7333
7334 \end_inset
7335 </cell>
7336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7337 \begin_inset Text
7338
7339 \begin_layout Standard
7340 111
7341 \end_layout
7342
7343 \end_inset
7344 </cell>
7345 </row>
7346 <row>
7347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7348 \begin_inset Text
7349
7350 \begin_layout Standard
7351
7352 \series bold
7353 Unterkalmsteiner
7354 \end_layout
7355
7356 \end_inset
7357 </cell>
7358 <cell alignment="center" valignment="top" topline="true" usebox="none">
7359 \begin_inset Text
7360
7361 \begin_layout Standard
7362 Frieda
7363 \end_layout
7364
7365 \end_inset
7366 </cell>
7367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7368 \begin_inset Text
7369
7370 \begin_layout Standard
7371 111
7372 \end_layout
7373
7374 \end_inset
7375 </cell>
7376 </row>
7377 <row>
7378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7379 \begin_inset Text
7380
7381 \begin_layout Standard
7382
7383 \series bold
7384 Vieider
7385 \end_layout
7386
7387 \end_inset
7388 </cell>
7389 <cell alignment="center" valignment="top" topline="true" usebox="none">
7390 \begin_inset Text
7391
7392 \begin_layout Standard
7393 Hilde
7394 \end_layout
7395
7396 \end_inset
7397 </cell>
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7399 \begin_inset Text
7400
7401 \begin_layout Standard
7402 111
7403 \end_layout
7404
7405 \end_inset
7406 </cell>
7407 </row>
7408 <row>
7409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7410 \begin_inset Text
7411
7412 \begin_layout Standard
7413
7414 \series bold
7415 Vigna
7416 \end_layout
7417
7418 \end_inset
7419 </cell>
7420 <cell alignment="center" valignment="top" topline="true" usebox="none">
7421 \begin_inset Text
7422
7423 \begin_layout Standard
7424 Jürgen
7425 \end_layout
7426
7427 \end_inset
7428 </cell>
7429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7430 \begin_inset Text
7431
7432 \begin_layout Standard
7433 111
7434 \end_layout
7435
7436 \end_inset
7437 </cell>
7438 </row>
7439 <row>
7440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7441 \begin_inset Text
7442
7443 \begin_layout Standard
7444
7445 \series bold
7446 Weber
7447 \end_layout
7448
7449 \end_inset
7450 </cell>
7451 <cell alignment="center" valignment="top" topline="true" usebox="none">
7452 \begin_inset Text
7453
7454 \begin_layout Standard
7455 Maurizio
7456 \end_layout
7457
7458 \end_inset
7459 </cell>
7460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7461 \begin_inset Text
7462
7463 \begin_layout Standard
7464 111
7465 \end_layout
7466
7467 \end_inset
7468 </cell>
7469 </row>
7470 <row bottomline="true">
7471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7472 \begin_inset Text
7473
7474 \begin_layout Standard
7475
7476 \series bold
7477 Winkler
7478 \end_layout
7479
7480 \end_inset
7481 </cell>
7482 <cell alignment="center" valignment="top" topline="true" usebox="none">
7483 \begin_inset Text
7484
7485 \begin_layout Standard
7486 Franz
7487 \end_layout
7488
7489 \end_inset
7490 </cell>
7491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7492 \begin_inset Text
7493
7494 \begin_layout Standard
7495 111
7496 \end_layout
7497
7498 \end_inset
7499 </cell>
7500 </row>
7501 <row bottomline="true">
7502 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7503 \begin_inset Text
7504
7505 \begin_layout Standard
7506  
7507 \end_layout
7508
7509 \end_inset
7510 </cell>
7511 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7512 \begin_inset Text
7513
7514 \begin_layout Standard
7515
7516 \end_layout
7517
7518 \end_inset
7519 </cell>
7520 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7521 \begin_inset Text
7522
7523 \begin_layout Standard
7524
7525 \end_layout
7526
7527 \end_inset
7528 </cell>
7529 </row>
7530 <row>
7531 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7532 \begin_inset Text
7533
7534 \begin_layout Standard
7535
7536 \series bold
7537 Annovi
7538 \end_layout
7539
7540 \end_inset
7541 </cell>
7542 <cell alignment="center" valignment="top" topline="true" usebox="none">
7543 \begin_inset Text
7544
7545 \begin_layout Standard
7546 Silvia
7547 \end_layout
7548
7549 \end_inset
7550 </cell>
7551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Standard
7555 555
7556 \end_layout
7557
7558 \end_inset
7559 </cell>
7560 </row>
7561 <row>
7562 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7563 \begin_inset Text
7564
7565 \begin_layout Standard
7566
7567 \series bold
7568 Bertoli
7569 \end_layout
7570
7571 \end_inset
7572 </cell>
7573 <cell alignment="center" valignment="top" topline="true" usebox="none">
7574 \begin_inset Text
7575
7576 \begin_layout Standard
7577 Stefano
7578 \end_layout
7579
7580 \end_inset
7581 </cell>
7582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Standard
7586 555
7587 \end_layout
7588
7589 \end_inset
7590 </cell>
7591 </row>
7592 <row>
7593 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7594 \begin_inset Text
7595
7596 \begin_layout Standard
7597
7598 \series bold
7599 Bozzi
7600 \end_layout
7601
7602 \end_inset
7603 </cell>
7604 <cell alignment="center" valignment="top" topline="true" usebox="none">
7605 \begin_inset Text
7606
7607 \begin_layout Standard
7608 Walter
7609 \end_layout
7610
7611 \end_inset
7612 </cell>
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Standard
7617 555
7618 \end_layout
7619
7620 \end_inset
7621 </cell>
7622 </row>
7623 <row>
7624 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7625 \begin_inset Text
7626
7627 \begin_layout Standard
7628
7629 \series bold
7630 Cachia
7631 \end_layout
7632
7633 \end_inset
7634 </cell>
7635 <cell alignment="center" valignment="top" topline="true" usebox="none">
7636 \begin_inset Text
7637
7638 \begin_layout Standard
7639 Maria
7640 \end_layout
7641
7642 \end_inset
7643 </cell>
7644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Standard
7648 555
7649 \end_layout
7650
7651 \end_inset
7652 </cell>
7653 </row>
7654 <row>
7655 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7656 \begin_inset Text
7657
7658 \begin_layout Standard
7659
7660 \series bold
7661 Cachia
7662 \end_layout
7663
7664 \end_inset
7665 </cell>
7666 <cell alignment="center" valignment="top" topline="true" usebox="none">
7667 \begin_inset Text
7668
7669 \begin_layout Standard
7670 Maurizio
7671 \end_layout
7672
7673 \end_inset
7674 </cell>
7675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7676 \begin_inset Text
7677
7678 \begin_layout Standard
7679 555
7680 \end_layout
7681
7682 \end_inset
7683 </cell>
7684 </row>
7685 <row>
7686 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7687 \begin_inset Text
7688
7689 \begin_layout Standard
7690
7691 \series bold
7692 Cinquemani
7693 \end_layout
7694
7695 \end_inset
7696 </cell>
7697 <cell alignment="center" valignment="top" topline="true" usebox="none">
7698 \begin_inset Text
7699
7700 \begin_layout Standard
7701 Giusi
7702 \end_layout
7703
7704 \end_inset
7705 </cell>
7706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Standard
7710 555
7711 \end_layout
7712
7713 \end_inset
7714 </cell>
7715 </row>
7716 <row>
7717 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7718 \begin_inset Text
7719
7720 \begin_layout Standard
7721
7722 \series bold
7723 Colin
7724 \end_layout
7725
7726 \end_inset
7727 </cell>
7728 <cell alignment="center" valignment="top" topline="true" usebox="none">
7729 \begin_inset Text
7730
7731 \begin_layout Standard
7732 Bernard
7733 \end_layout
7734
7735 \end_inset
7736 </cell>
7737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7738 \begin_inset Text
7739
7740 \begin_layout Standard
7741 555
7742 \end_layout
7743
7744 \end_inset
7745 </cell>
7746 </row>
7747 <row>
7748 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7749 \begin_inset Text
7750
7751 \begin_layout Standard
7752
7753 \series bold
7754 Concli
7755 \end_layout
7756
7757 \end_inset
7758 </cell>
7759 <cell alignment="center" valignment="top" topline="true" usebox="none">
7760 \begin_inset Text
7761
7762 \begin_layout Standard
7763 Gianfranco
7764 \end_layout
7765
7766 \end_inset
7767 </cell>
7768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7769 \begin_inset Text
7770
7771 \begin_layout Standard
7772 555
7773 \end_layout
7774
7775 \end_inset
7776 </cell>
7777 </row>
7778 <row>
7779 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7780 \begin_inset Text
7781
7782 \begin_layout Standard
7783
7784 \series bold
7785 Dal Bosco
7786 \end_layout
7787
7788 \end_inset
7789 </cell>
7790 <cell alignment="center" valignment="top" topline="true" usebox="none">
7791 \begin_inset Text
7792
7793 \begin_layout Standard
7794 Carolina
7795 \end_layout
7796
7797 \end_inset
7798 </cell>
7799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7800 \begin_inset Text
7801
7802 \begin_layout Standard
7803 555
7804 \end_layout
7805
7806 \end_inset
7807 </cell>
7808 </row>
7809 <row>
7810 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7811 \begin_inset Text
7812
7813 \begin_layout Standard
7814
7815 \series bold
7816 Dalpiaz
7817 \end_layout
7818
7819 \end_inset
7820 </cell>
7821 <cell alignment="center" valignment="top" topline="true" usebox="none">
7822 \begin_inset Text
7823
7824 \begin_layout Standard
7825 Annamaria
7826 \end_layout
7827
7828 \end_inset
7829 </cell>
7830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7831 \begin_inset Text
7832
7833 \begin_layout Standard
7834 555
7835 \end_layout
7836
7837 \end_inset
7838 </cell>
7839 </row>
7840 <row>
7841 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7842 \begin_inset Text
7843
7844 \begin_layout Standard
7845
7846 \series bold
7847 Feliciello
7848 \end_layout
7849
7850 \end_inset
7851 </cell>
7852 <cell alignment="center" valignment="top" topline="true" usebox="none">
7853 \begin_inset Text
7854
7855 \begin_layout Standard
7856 Domenico
7857 \end_layout
7858
7859 \end_inset
7860 </cell>
7861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7862 \begin_inset Text
7863
7864 \begin_layout Standard
7865 555
7866 \end_layout
7867
7868 \end_inset
7869 </cell>
7870 </row>
7871 <row>
7872 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7873 \begin_inset Text
7874
7875 \begin_layout Standard
7876
7877 \series bold
7878 Focarelli
7879 \end_layout
7880
7881 \end_inset
7882 </cell>
7883 <cell alignment="center" valignment="top" topline="true" usebox="none">
7884 \begin_inset Text
7885
7886 \begin_layout Standard
7887 Paola
7888 \end_layout
7889
7890 \end_inset
7891 </cell>
7892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Standard
7896 555
7897 \end_layout
7898
7899 \end_inset
7900 </cell>
7901 </row>
7902 <row>
7903 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Standard
7907
7908 \series bold
7909 Galletti
7910 \end_layout
7911
7912 \end_inset
7913 </cell>
7914 <cell alignment="center" valignment="top" topline="true" usebox="none">
7915 \begin_inset Text
7916
7917 \begin_layout Standard
7918 Oreste
7919 \end_layout
7920
7921 \end_inset
7922 </cell>
7923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Standard
7927 555
7928 \end_layout
7929
7930 \end_inset
7931 </cell>
7932 </row>
7933 <row>
7934 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Standard
7938
7939 \series bold
7940 Gasparini
7941 \end_layout
7942
7943 \end_inset
7944 </cell>
7945 <cell alignment="center" valignment="top" topline="true" usebox="none">
7946 \begin_inset Text
7947
7948 \begin_layout Standard
7949 Franca
7950 \end_layout
7951
7952 \end_inset
7953 </cell>
7954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Standard
7958 555
7959 \end_layout
7960
7961 \end_inset
7962 </cell>
7963 </row>
7964 <row>
7965 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7966 \begin_inset Text
7967
7968 \begin_layout Standard
7969
7970 \series bold
7971 Rizzardi
7972 \end_layout
7973
7974 \end_inset
7975 </cell>
7976 <cell alignment="center" valignment="top" topline="true" usebox="none">
7977 \begin_inset Text
7978
7979 \begin_layout Standard
7980 Paola
7981 \end_layout
7982
7983 \end_inset
7984 </cell>
7985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Standard
7989 555
7990 \end_layout
7991
7992 \end_inset
7993 </cell>
7994 </row>
7995 <row>
7996 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Standard
8000
8001 \series bold
8002 Lassini
8003 \end_layout
8004
8005 \end_inset
8006 </cell>
8007 <cell alignment="center" valignment="top" topline="true" usebox="none">
8008 \begin_inset Text
8009
8010 \begin_layout Standard
8011 Giancarlo
8012 \end_layout
8013
8014 \end_inset
8015 </cell>
8016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Standard
8020 555
8021 \end_layout
8022
8023 \end_inset
8024 </cell>
8025 </row>
8026 <row>
8027 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Standard
8031
8032 \series bold
8033 Malfatti
8034 \end_layout
8035
8036 \end_inset
8037 </cell>
8038 <cell alignment="center" valignment="top" topline="true" usebox="none">
8039 \begin_inset Text
8040
8041 \begin_layout Standard
8042 Luciano
8043 \end_layout
8044
8045 \end_inset
8046 </cell>
8047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Standard
8051 555
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 </row>
8057 <row>
8058 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8059 \begin_inset Text
8060
8061 \begin_layout Standard
8062
8063 \series bold
8064 Malfatti
8065 \end_layout
8066
8067 \end_inset
8068 </cell>
8069 <cell alignment="center" valignment="top" topline="true" usebox="none">
8070 \begin_inset Text
8071
8072 \begin_layout Standard
8073 Valeriano
8074 \end_layout
8075
8076 \end_inset
8077 </cell>
8078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Standard
8082 555
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 </row>
8088 <row>
8089 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8090 \begin_inset Text
8091
8092 \begin_layout Standard
8093
8094 \series bold
8095 Meneguzzo
8096 \end_layout
8097
8098 \end_inset
8099 </cell>
8100 <cell alignment="center" valignment="top" topline="true" usebox="none">
8101 \begin_inset Text
8102
8103 \begin_layout Standard
8104 Roberto
8105 \end_layout
8106
8107 \end_inset
8108 </cell>
8109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Standard
8113 555
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 </row>
8119 <row bottomline="true">
8120 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8121 \begin_inset Text
8122
8123 \begin_layout Standard
8124
8125 \series bold
8126 Mezzadra
8127 \end_layout
8128
8129 \end_inset
8130 </cell>
8131 <cell alignment="center" valignment="top" topline="true" usebox="none">
8132 \begin_inset Text
8133
8134 \begin_layout Standard
8135 Roberto
8136 \end_layout
8137
8138 \end_inset
8139 </cell>
8140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Standard
8144 555
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 </row>
8150 <row bottomline="true" endlastfoot="true">
8151 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Standard
8155
8156 \end_layout
8157
8158 \end_inset
8159 </cell>
8160 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8161 \begin_inset Text
8162
8163 \begin_layout Standard
8164
8165 \end_layout
8166
8167 \end_inset
8168 </cell>
8169 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8170 \begin_inset Text
8171
8172 \begin_layout Standard
8173
8174 \end_layout
8175
8176 \end_inset
8177 </cell>
8178 </row>
8179 </lyxtabular>
8180
8181 \end_inset
8182
8183
8184 \end_layout
8185
8186 \begin_layout Section
8187 Special Longtable Issues
8188 \begin_inset LatexCommand label
8189 name "sec:Special-Longtable-Issues"
8190
8191 \end_inset
8192
8193
8194 \end_layout
8195
8196 \begin_layout Subsection
8197 Longtable Calculation
8198 \begin_inset LatexCommand index
8199 name "Longtables ! Calculation"
8200
8201 \end_inset
8202
8203
8204 \end_layout
8205
8206 \begin_layout Standard
8207 LaTeX calculates the height of table pages and their page breaks using so
8208  called chunks.
8209  Chunks are pieces of the tables that are at once in LaTeX's memory.
8210  The default value is historically set to only 20 table rows.
8211  If you are using longtables with many pages this may slow down the creation
8212  of your document.
8213  You can safely increase the chunk size to values of 100-1000 by adding
8214  this command line to your document preamble:
8215 \end_layout
8216
8217 \begin_layout Standard
8218
8219 \series bold
8220
8221 \backslash
8222 setcounter{LTchunksize}{100}
8223 \end_layout
8224
8225 \begin_layout Subsection
8226 Floats and Longtables
8227 \begin_inset LatexCommand index
8228 name "Longtables ! Floats"
8229
8230 \end_inset
8231
8232
8233 \end_layout
8234
8235 \begin_layout Standard
8236 There might be problems when a float appears on the same page where a longtable
8237  starts.
8238  To avoid such situation, add the command 
8239 \series bold
8240
8241 \backslash
8242 clearpage
8243 \series default
8244  as ERT before your longtable.
8245 \end_layout
8246
8247 \begin_layout Subsection
8248 Forced Page Breaks
8249 \begin_inset LatexCommand index
8250 name "Longtables ! Forced Page Breaks"
8251
8252 \end_inset
8253
8254
8255 \end_layout
8256
8257 \begin_layout Standard
8258 By default tables are only broken between rows.
8259  If you have a cell with multiples lines and want to have a page break within
8260  the cell, insert the new line command 
8261 \begin_inset Quotes eld
8262 \end_inset
8263
8264
8265 \series bold
8266
8267 \backslash
8268
8269 \backslash
8270
8271 \series default
8272
8273 \begin_inset Quotes erd
8274 \end_inset
8275
8276  as ERT at this point of the cell where it should be broken.
8277  Before the 
8278 \series bold
8279
8280 \backslash
8281
8282 \backslash
8283
8284 \series default
8285  command you have to insert in ERT so many 
8286 \begin_inset Quotes eld
8287 \end_inset
8288
8289
8290 \series bold
8291 &
8292 \series default
8293
8294 \begin_inset Quotes erd
8295 \end_inset
8296
8297  characters like the number of the following table columns.
8298  The 
8299 \series bold
8300 &
8301 \series default
8302  is the character to separate table cells.
8303  Write in ERT after each 
8304 \series bold
8305 &
8306 \series default
8307  the content of the corresponding following cell and delete the content
8308  of these cells.
8309 \newline
8310 Behind the the 
8311 \series bold
8312
8313 \backslash
8314
8315 \backslash
8316
8317 \series default
8318  command, insert so many 
8319 \series bold
8320 &
8321 \series default
8322  characters like the number of table columns before the current column.
8323  In Table\InsetSpace ~
8324
8325 \begin_inset LatexCommand ref
8326 reference "tab:ForcedPagebreak"
8327
8328 \end_inset
8329
8330  the cell that should be broken is in the second column followed by another
8331  column.
8332  Therefore the following command was inserted in the cell as ERT behind
8333  
8334 \begin_inset Quotes eld
8335 \end_inset
8336
8337
8338 \emph on
8339 Castelchiodato,
8340 \emph default
8341
8342 \begin_inset Quotes erd
8343 \end_inset
8344
8345 :
8346 \end_layout
8347
8348 \begin_layout Standard
8349
8350 \series bold
8351 & 111
8352 \backslash
8353
8354 \backslash
8355
8356 \newline
8357 &
8358 \end_layout
8359
8360 \begin_layout Standard
8361 The 
8362 \begin_inset Quotes eld
8363 \end_inset
8364
8365 111
8366 \begin_inset Quotes erd
8367 \end_inset
8368
8369  in the third columns of the row was deleted.
8370  If your footer row of the longtable has for a certain reason no upper line
8371  but you would have a horizontal line where the cell is broken, use this
8372  command instead:
8373 \end_layout
8374
8375 \begin_layout Standard
8376
8377 \series bold
8378 & 111
8379 \backslash
8380
8381 \backslash
8382
8383 \newline
8384
8385 \backslash
8386 hline &
8387 \end_layout
8388
8389 \begin_layout Standard
8390 When the cell to be broken is in the last column, the command
8391 \end_layout
8392
8393 \begin_layout Standard
8394
8395 \series bold
8396
8397 \backslash
8398 setlength{
8399 \backslash
8400 parf\SpecialChar \textcompwordmark{}
8401 illskip}{0pt}
8402 \end_layout
8403
8404 \begin_layout Standard
8405 must be inserted as ERT at the beginning of the cell.
8406  This assures that the part of the cell that will be displayed on the new
8407  page appears with the full width.
8408  
8409 \end_layout
8410
8411 \begin_layout Standard
8412 \align center
8413 \begin_inset Tabular
8414 <lyxtabular version="3" rows="39" columns="3">
8415 <features islongtable="true">
8416 <column alignment="left" valignment="top" leftline="true" width="0cm">
8417 <column alignment="left" valignment="top" rightline="true" width="3cm">
8418 <column alignment="right" valignment="top" rightline="true" width="0pt">
8419 <row endfirsthead="true">
8420 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8421 \begin_inset Text
8422
8423 \begin_layout Standard
8424 \begin_inset Caption
8425
8426 \begin_layout Standard
8427 Table with forced page break in table cell
8428 \begin_inset LatexCommand label
8429 name "tab:ForcedPagebreak"
8430
8431 \end_inset
8432
8433
8434 \begin_inset OptArg
8435 status collapsed
8436
8437 \begin_layout Standard
8438 Table with forced page break in table cell
8439 \end_layout
8440
8441 \end_inset
8442
8443
8444 \end_layout
8445
8446 \end_inset
8447
8448
8449 \begin_inset ERT
8450 status collapsed
8451
8452 \begin_layout Standard
8453
8454
8455 \backslash
8456
8457 \backslash
8458 %
8459 \end_layout
8460
8461 \end_inset
8462
8463
8464 \end_layout
8465
8466 \end_inset
8467 </cell>
8468 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8469 \begin_inset Text
8470
8471 \begin_layout Standard
8472
8473 \end_layout
8474
8475 \end_inset
8476 </cell>
8477 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8478 \begin_inset Text
8479
8480 \begin_layout Standard
8481
8482 \end_layout
8483
8484 \end_inset
8485 </cell>
8486 </row>
8487 <row topline="true" bottomline="true" endfirsthead="true">
8488 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8489 \begin_inset Text
8490
8491 \begin_layout Standard
8492
8493 \series bold
8494 Example Phone List (ignore the names)
8495 \end_layout
8496
8497 \end_inset
8498 </cell>
8499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8500 \begin_inset Text
8501
8502 \begin_layout Standard
8503
8504 \end_layout
8505
8506 \end_inset
8507 </cell>
8508 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8509 \begin_inset Text
8510
8511 \begin_layout Standard
8512
8513 \end_layout
8514
8515 \end_inset
8516 </cell>
8517 </row>
8518 <row topline="true" bottomline="true" endfirsthead="true">
8519 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8520 \begin_inset Text
8521
8522 \begin_layout Standard
8523
8524 \series bold
8525 NAME
8526 \end_layout
8527
8528 \end_inset
8529 </cell>
8530 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8531 \begin_inset Text
8532
8533 \begin_layout Standard
8534
8535 \end_layout
8536
8537 \end_inset
8538 </cell>
8539 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8540 \begin_inset Text
8541
8542 \begin_layout Standard
8543
8544 \series bold
8545 TEL.
8546 \end_layout
8547
8548 \end_inset
8549 </cell>
8550 </row>
8551 <row bottomline="true" endhead="true">
8552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8553 \begin_inset Text
8554
8555 \begin_layout Standard
8556 \begin_inset ERT
8557 status collapsed
8558
8559 \begin_layout Standard
8560
8561
8562 \backslash
8563 caption*{Continued table with forced page break in table cell}
8564 \backslash
8565
8566 \backslash
8567 %
8568 \end_layout
8569
8570 \end_inset
8571
8572
8573 \end_layout
8574
8575 \end_inset
8576 </cell>
8577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8578 \begin_inset Text
8579
8580 \begin_layout Standard
8581
8582 \end_layout
8583
8584 \end_inset
8585 </cell>
8586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8587 \begin_inset Text
8588
8589 \begin_layout Standard
8590
8591 \end_layout
8592
8593 \end_inset
8594 </cell>
8595 </row>
8596 <row topline="true" bottomline="true" endhead="true">
8597 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8598 \begin_inset Text
8599
8600 \begin_layout Standard
8601
8602 \series bold
8603  Example Phone List
8604 \end_layout
8605
8606 \end_inset
8607 </cell>
8608 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8609 \begin_inset Text
8610
8611 \begin_layout Standard
8612
8613 \end_layout
8614
8615 \end_inset
8616 </cell>
8617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Standard
8621
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 </row>
8627 <row topline="true" bottomline="true" endhead="true">
8628 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Standard
8632
8633 \series bold
8634 NAME
8635 \end_layout
8636
8637 \end_inset
8638 </cell>
8639 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Standard
8643
8644 \end_layout
8645
8646 \end_inset
8647 </cell>
8648 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8649 \begin_inset Text
8650
8651 \begin_layout Standard
8652
8653 \series bold
8654 TEL.
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 </row>
8660 <row topline="true" bottomline="true" endfoot="true">
8661 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8662 \begin_inset Text
8663
8664 \begin_layout Standard
8665 continued on next page
8666 \end_layout
8667
8668 \end_inset
8669 </cell>
8670 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8671 \begin_inset Text
8672
8673 \begin_layout Standard
8674
8675 \end_layout
8676
8677 \end_inset
8678 </cell>
8679 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8680 \begin_inset Text
8681
8682 \begin_layout Standard
8683
8684 \end_layout
8685
8686 \end_inset
8687 </cell>
8688 </row>
8689 <row>
8690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Standard
8694
8695 \series bold
8696 Annovi
8697 \end_layout
8698
8699 \end_inset
8700 </cell>
8701 <cell alignment="center" valignment="top" topline="true" usebox="none">
8702 \begin_inset Text
8703
8704 \begin_layout Standard
8705 Silvia
8706 \end_layout
8707
8708 \end_inset
8709 </cell>
8710 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8711 \begin_inset Text
8712
8713 \begin_layout Standard
8714 111
8715 \end_layout
8716
8717 \end_inset
8718 </cell>
8719 </row>
8720 <row>
8721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8722 \begin_inset Text
8723
8724 \begin_layout Standard
8725
8726 \series bold
8727 Bertoli
8728 \end_layout
8729
8730 \end_inset
8731 </cell>
8732 <cell alignment="center" valignment="top" topline="true" usebox="none">
8733 \begin_inset Text
8734
8735 \begin_layout Standard
8736 Stefano
8737 \end_layout
8738
8739 \end_inset
8740 </cell>
8741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8742 \begin_inset Text
8743
8744 \begin_layout Standard
8745 111
8746 \end_layout
8747
8748 \end_inset
8749 </cell>
8750 </row>
8751 <row>
8752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8753 \begin_inset Text
8754
8755 \begin_layout Standard
8756
8757 \series bold
8758 Bozzi
8759 \end_layout
8760
8761 \end_inset
8762 </cell>
8763 <cell alignment="center" valignment="top" topline="true" usebox="none">
8764 \begin_inset Text
8765
8766 \begin_layout Standard
8767 Walter
8768 \end_layout
8769
8770 \end_inset
8771 </cell>
8772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8773 \begin_inset Text
8774
8775 \begin_layout Standard
8776 111
8777 \end_layout
8778
8779 \end_inset
8780 </cell>
8781 </row>
8782 <row>
8783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8784 \begin_inset Text
8785
8786 \begin_layout Standard
8787
8788 \series bold
8789 Cachia
8790 \end_layout
8791
8792 \end_inset
8793 </cell>
8794 <cell alignment="center" valignment="top" topline="true" usebox="none">
8795 \begin_inset Text
8796
8797 \begin_layout Standard
8798 Maria
8799 \end_layout
8800
8801 \end_inset
8802 </cell>
8803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8804 \begin_inset Text
8805
8806 \begin_layout Standard
8807 111
8808 \end_layout
8809
8810 \end_inset
8811 </cell>
8812 </row>
8813 <row>
8814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8815 \begin_inset Text
8816
8817 \begin_layout Standard
8818
8819 \series bold
8820 Cachia
8821 \end_layout
8822
8823 \end_inset
8824 </cell>
8825 <cell alignment="center" valignment="top" topline="true" usebox="none">
8826 \begin_inset Text
8827
8828 \begin_layout Standard
8829 Maurizio
8830 \end_layout
8831
8832 \end_inset
8833 </cell>
8834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8835 \begin_inset Text
8836
8837 \begin_layout Standard
8838 111
8839 \end_layout
8840
8841 \end_inset
8842 </cell>
8843 </row>
8844 <row>
8845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8846 \begin_inset Text
8847
8848 \begin_layout Standard
8849
8850 \series bold
8851 Cinquemani
8852 \end_layout
8853
8854 \end_inset
8855 </cell>
8856 <cell alignment="center" valignment="top" topline="true" usebox="none">
8857 \begin_inset Text
8858
8859 \begin_layout Standard
8860 Giusi
8861 \end_layout
8862
8863 \end_inset
8864 </cell>
8865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8866 \begin_inset Text
8867
8868 \begin_layout Standard
8869 111
8870 \end_layout
8871
8872 \end_inset
8873 </cell>
8874 </row>
8875 <row>
8876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8877 \begin_inset Text
8878
8879 \begin_layout Standard
8880
8881 \series bold
8882 Colin
8883 \end_layout
8884
8885 \end_inset
8886 </cell>
8887 <cell alignment="center" valignment="top" topline="true" usebox="none">
8888 \begin_inset Text
8889
8890 \begin_layout Standard
8891 Bernard
8892 \end_layout
8893
8894 \end_inset
8895 </cell>
8896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8897 \begin_inset Text
8898
8899 \begin_layout Standard
8900 111
8901 \end_layout
8902
8903 \end_inset
8904 </cell>
8905 </row>
8906 <row>
8907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8908 \begin_inset Text
8909
8910 \begin_layout Standard
8911
8912 \series bold
8913 Concli
8914 \end_layout
8915
8916 \end_inset
8917 </cell>
8918 <cell alignment="center" valignment="top" topline="true" usebox="none">
8919 \begin_inset Text
8920
8921 \begin_layout Standard
8922 Gianfranco
8923 \end_layout
8924
8925 \end_inset
8926 </cell>
8927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8928 \begin_inset Text
8929
8930 \begin_layout Standard
8931 111
8932 \end_layout
8933
8934 \end_inset
8935 </cell>
8936 </row>
8937 <row>
8938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8939 \begin_inset Text
8940
8941 \begin_layout Standard
8942
8943 \series bold
8944 Dal Bosco
8945 \end_layout
8946
8947 \end_inset
8948 </cell>
8949 <cell alignment="center" valignment="top" topline="true" usebox="none">
8950 \begin_inset Text
8951
8952 \begin_layout Standard
8953 Carolina
8954 \end_layout
8955
8956 \end_inset
8957 </cell>
8958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8959 \begin_inset Text
8960
8961 \begin_layout Standard
8962 111
8963 \end_layout
8964
8965 \end_inset
8966 </cell>
8967 </row>
8968 <row>
8969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8970 \begin_inset Text
8971
8972 \begin_layout Standard
8973
8974 \series bold
8975 Dalpiaz
8976 \end_layout
8977
8978 \end_inset
8979 </cell>
8980 <cell alignment="center" valignment="top" topline="true" usebox="none">
8981 \begin_inset Text
8982
8983 \begin_layout Standard
8984 Annamaria
8985 \end_layout
8986
8987 \end_inset
8988 </cell>
8989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8990 \begin_inset Text
8991
8992 \begin_layout Standard
8993 111
8994 \end_layout
8995
8996 \end_inset
8997 </cell>
8998 </row>
8999 <row>
9000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9001 \begin_inset Text
9002
9003 \begin_layout Standard
9004
9005 \series bold
9006 Feliciello
9007 \end_layout
9008
9009 \end_inset
9010 </cell>
9011 <cell alignment="center" valignment="top" topline="true" usebox="none">
9012 \begin_inset Text
9013
9014 \begin_layout Standard
9015 Domenico
9016 \end_layout
9017
9018 \end_inset
9019 </cell>
9020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9021 \begin_inset Text
9022
9023 \begin_layout Standard
9024 111
9025 \end_layout
9026
9027 \end_inset
9028 </cell>
9029 </row>
9030 <row>
9031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9032 \begin_inset Text
9033
9034 \begin_layout Standard
9035
9036 \series bold
9037 Focarelli
9038 \end_layout
9039
9040 \end_inset
9041 </cell>
9042 <cell alignment="center" valignment="top" topline="true" usebox="none">
9043 \begin_inset Text
9044
9045 \begin_layout Standard
9046 Paola
9047 \end_layout
9048
9049 \end_inset
9050 </cell>
9051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9052 \begin_inset Text
9053
9054 \begin_layout Standard
9055 111
9056 \end_layout
9057
9058 \end_inset
9059 </cell>
9060 </row>
9061 <row>
9062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9063 \begin_inset Text
9064
9065 \begin_layout Standard
9066
9067 \series bold
9068 Galletti
9069 \end_layout
9070
9071 \end_inset
9072 </cell>
9073 <cell alignment="center" valignment="top" topline="true" usebox="none">
9074 \begin_inset Text
9075
9076 \begin_layout Standard
9077 Oreste
9078 \end_layout
9079
9080 \end_inset
9081 </cell>
9082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9083 \begin_inset Text
9084
9085 \begin_layout Standard
9086 111
9087 \end_layout
9088
9089 \end_inset
9090 </cell>
9091 </row>
9092 <row>
9093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9094 \begin_inset Text
9095
9096 \begin_layout Standard
9097
9098 \series bold
9099 Gasparini
9100 \end_layout
9101
9102 \end_inset
9103 </cell>
9104 <cell alignment="center" valignment="top" topline="true" usebox="none">
9105 \begin_inset Text
9106
9107 \begin_layout Standard
9108 Franca
9109 \end_layout
9110
9111 \end_inset
9112 </cell>
9113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9114 \begin_inset Text
9115
9116 \begin_layout Standard
9117 111
9118 \end_layout
9119
9120 \end_inset
9121 </cell>
9122 </row>
9123 <row>
9124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9125 \begin_inset Text
9126
9127 \begin_layout Standard
9128
9129 \series bold
9130 Lassini
9131 \end_layout
9132
9133 \end_inset
9134 </cell>
9135 <cell alignment="center" valignment="top" topline="true" usebox="none">
9136 \begin_inset Text
9137
9138 \begin_layout Standard
9139 Giancarlo
9140 \end_layout
9141
9142 \end_inset
9143 </cell>
9144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9145 \begin_inset Text
9146
9147 \begin_layout Standard
9148 111
9149 \end_layout
9150
9151 \end_inset
9152 </cell>
9153 </row>
9154 <row>
9155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9156 \begin_inset Text
9157
9158 \begin_layout Standard
9159
9160 \series bold
9161 Malfatti
9162 \end_layout
9163
9164 \end_inset
9165 </cell>
9166 <cell alignment="center" valignment="top" topline="true" usebox="none">
9167 \begin_inset Text
9168
9169 \begin_layout Standard
9170 Luciano
9171 \end_layout
9172
9173 \end_inset
9174 </cell>
9175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9176 \begin_inset Text
9177
9178 \begin_layout Standard
9179 111
9180 \end_layout
9181
9182 \end_inset
9183 </cell>
9184 </row>
9185 <row>
9186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9187 \begin_inset Text
9188
9189 \begin_layout Standard
9190
9191 \series bold
9192 Malfatti
9193 \end_layout
9194
9195 \end_inset
9196 </cell>
9197 <cell alignment="center" valignment="top" topline="true" usebox="none">
9198 \begin_inset Text
9199
9200 \begin_layout Standard
9201 Valeriano
9202 \end_layout
9203
9204 \end_inset
9205 </cell>
9206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9207 \begin_inset Text
9208
9209 \begin_layout Standard
9210 111
9211 \end_layout
9212
9213 \end_inset
9214 </cell>
9215 </row>
9216 <row>
9217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9218 \begin_inset Text
9219
9220 \begin_layout Standard
9221
9222 \series bold
9223 Meneguzzo
9224 \end_layout
9225
9226 \end_inset
9227 </cell>
9228 <cell alignment="center" valignment="top" topline="true" usebox="none">
9229 \begin_inset Text
9230
9231 \begin_layout Standard
9232 Roberto
9233 \end_layout
9234
9235 \end_inset
9236 </cell>
9237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9238 \begin_inset Text
9239
9240 \begin_layout Standard
9241 111
9242 \end_layout
9243
9244 \end_inset
9245 </cell>
9246 </row>
9247 <row>
9248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9249 \begin_inset Text
9250
9251 \begin_layout Standard
9252
9253 \series bold
9254 Mezzadra
9255 \end_layout
9256
9257 \end_inset
9258 </cell>
9259 <cell alignment="center" valignment="top" topline="true" usebox="none">
9260 \begin_inset Text
9261
9262 \begin_layout Standard
9263 Roberto
9264 \end_layout
9265
9266 \end_inset
9267 </cell>
9268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9269 \begin_inset Text
9270
9271 \begin_layout Standard
9272 111
9273 \end_layout
9274
9275 \end_inset
9276 </cell>
9277 </row>
9278 <row>
9279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9280 \begin_inset Text
9281
9282 \begin_layout Standard
9283
9284 \series bold
9285 Pirpamer
9286 \end_layout
9287
9288 \end_inset
9289 </cell>
9290 <cell alignment="center" valignment="top" topline="true" usebox="none">
9291 \begin_inset Text
9292
9293 \begin_layout Standard
9294 Erich
9295 \end_layout
9296
9297 \end_inset
9298 </cell>
9299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9300 \begin_inset Text
9301
9302 \begin_layout Standard
9303 111
9304 \end_layout
9305
9306 \end_inset
9307 </cell>
9308 </row>
9309 <row>
9310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9311 \begin_inset Text
9312
9313 \begin_layout Standard
9314
9315 \series bold
9316 Pochiesa
9317 \end_layout
9318
9319 \end_inset
9320 </cell>
9321 <cell alignment="center" valignment="top" topline="true" usebox="none">
9322 \begin_inset Text
9323
9324 \begin_layout Standard
9325 Paolo
9326 \end_layout
9327
9328 \end_inset
9329 </cell>
9330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9331 \begin_inset Text
9332
9333 \begin_layout Standard
9334 111, 222
9335 \end_layout
9336
9337 \end_inset
9338 </cell>
9339 </row>
9340 <row>
9341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9342 \begin_inset Text
9343
9344 \begin_layout Standard
9345
9346 \series bold
9347 Radina
9348 \end_layout
9349
9350 \end_inset
9351 </cell>
9352 <cell alignment="center" valignment="top" topline="true" usebox="none">
9353 \begin_inset Text
9354
9355 \begin_layout Standard
9356 Claudio
9357 \end_layout
9358
9359 \end_inset
9360 </cell>
9361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9362 \begin_inset Text
9363
9364 \begin_layout Standard
9365 111
9366 \end_layout
9367
9368 \end_inset
9369 </cell>
9370 </row>
9371 <row>
9372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9373 \begin_inset Text
9374
9375 \begin_layout Standard
9376
9377 \series bold
9378 Rizzardi
9379 \end_layout
9380
9381 \end_inset
9382 </cell>
9383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9384 \begin_inset Text
9385
9386 \begin_layout Standard
9387 Paolo, 11.
9388  Fürst von Montecompatri, 11.
9389  Fürst von Sulmona und Vivaro, 10.
9390  Fürst von Rossano, 5.
9391  Herzog von Canemorte, 11.
9392  Herzog von Palombara, 5.
9393  Herzog von Castelchiodato,
9394 \begin_inset ERT
9395 status collapsed
9396
9397 \begin_layout Standard
9398
9399 & 111
9400 \backslash
9401
9402 \backslash
9403
9404 \end_layout
9405
9406 \begin_layout Standard
9407
9408 &
9409 \end_layout
9410
9411 \end_inset
9412
9413  11.
9414  Herzog von Poggionativo, 11.
9415  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9416  Graf von Valinfreda, 11.
9417  Baron von Cropalati, 11.
9418  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9419 \end_layout
9420
9421 \end_inset
9422 </cell>
9423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9424 \begin_inset Text
9425
9426 \begin_layout Standard
9427
9428 \end_layout
9429
9430 \end_inset
9431 </cell>
9432 </row>
9433 <row>
9434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9435 \begin_inset Text
9436
9437 \begin_layout Standard
9438
9439 \series bold
9440 Stuffer
9441 \end_layout
9442
9443 \end_inset
9444 </cell>
9445 <cell alignment="center" valignment="top" topline="true" usebox="none">
9446 \begin_inset Text
9447
9448 \begin_layout Standard
9449 Oskar
9450 \end_layout
9451
9452 \end_inset
9453 </cell>
9454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9455 \begin_inset Text
9456
9457 \begin_layout Standard
9458 111
9459 \end_layout
9460
9461 \end_inset
9462 </cell>
9463 </row>
9464 <row>
9465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9466 \begin_inset Text
9467
9468 \begin_layout Standard
9469
9470 \series bold
9471 Tacchelli
9472 \end_layout
9473
9474 \end_inset
9475 </cell>
9476 <cell alignment="center" valignment="top" topline="true" usebox="none">
9477 \begin_inset Text
9478
9479 \begin_layout Standard
9480 Ugo
9481 \end_layout
9482
9483 \end_inset
9484 </cell>
9485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9486 \begin_inset Text
9487
9488 \begin_layout Standard
9489 111
9490 \end_layout
9491
9492 \end_inset
9493 </cell>
9494 </row>
9495 <row>
9496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9497 \begin_inset Text
9498
9499 \begin_layout Standard
9500
9501 \series bold
9502 Tezzele
9503 \end_layout
9504
9505 \end_inset
9506 </cell>
9507 <cell alignment="center" valignment="top" topline="true" usebox="none">
9508 \begin_inset Text
9509
9510 \begin_layout Standard
9511 Margit
9512 \end_layout
9513
9514 \end_inset
9515 </cell>
9516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9517 \begin_inset Text
9518
9519 \begin_layout Standard
9520 111
9521 \end_layout
9522
9523 \end_inset
9524 </cell>
9525 </row>
9526 <row>
9527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9528 \begin_inset Text
9529
9530 \begin_layout Standard
9531
9532 \series bold
9533 Unterkalmsteiner
9534 \end_layout
9535
9536 \end_inset
9537 </cell>
9538 <cell alignment="center" valignment="top" topline="true" usebox="none">
9539 \begin_inset Text
9540
9541 \begin_layout Standard
9542 Frieda
9543 \end_layout
9544
9545 \end_inset
9546 </cell>
9547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9548 \begin_inset Text
9549
9550 \begin_layout Standard
9551 111
9552 \end_layout
9553
9554 \end_inset
9555 </cell>
9556 </row>
9557 <row>
9558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9559 \begin_inset Text
9560
9561 \begin_layout Standard
9562
9563 \series bold
9564 Vieider
9565 \end_layout
9566
9567 \end_inset
9568 </cell>
9569 <cell alignment="center" valignment="top" topline="true" usebox="none">
9570 \begin_inset Text
9571
9572 \begin_layout Standard
9573 Hilde
9574 \end_layout
9575
9576 \end_inset
9577 </cell>
9578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9579 \begin_inset Text
9580
9581 \begin_layout Standard
9582 111
9583 \end_layout
9584
9585 \end_inset
9586 </cell>
9587 </row>
9588 <row>
9589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9590 \begin_inset Text
9591
9592 \begin_layout Standard
9593
9594 \series bold
9595 Vigna
9596 \end_layout
9597
9598 \end_inset
9599 </cell>
9600 <cell alignment="center" valignment="top" topline="true" usebox="none">
9601 \begin_inset Text
9602
9603 \begin_layout Standard
9604 Jürgen
9605 \end_layout
9606
9607 \end_inset
9608 </cell>
9609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9610 \begin_inset Text
9611
9612 \begin_layout Standard
9613 111
9614 \end_layout
9615
9616 \end_inset
9617 </cell>
9618 </row>
9619 <row>
9620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9621 \begin_inset Text
9622
9623 \begin_layout Standard
9624
9625 \series bold
9626 Weber
9627 \end_layout
9628
9629 \end_inset
9630 </cell>
9631 <cell alignment="center" valignment="top" topline="true" usebox="none">
9632 \begin_inset Text
9633
9634 \begin_layout Standard
9635 Maurizio
9636 \end_layout
9637
9638 \end_inset
9639 </cell>
9640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9641 \begin_inset Text
9642
9643 \begin_layout Standard
9644 111
9645 \end_layout
9646
9647 \end_inset
9648 </cell>
9649 </row>
9650 <row bottomline="true">
9651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9652 \begin_inset Text
9653
9654 \begin_layout Standard
9655
9656 \series bold
9657 Winkler
9658 \end_layout
9659
9660 \end_inset
9661 </cell>
9662 <cell alignment="center" valignment="top" topline="true" usebox="none">
9663 \begin_inset Text
9664
9665 \begin_layout Standard
9666 Franz
9667 \end_layout
9668
9669 \end_inset
9670 </cell>
9671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9672 \begin_inset Text
9673
9674 \begin_layout Standard
9675 111
9676 \end_layout
9677
9678 \end_inset
9679 </cell>
9680 </row>
9681 <row endlastfoot="true">
9682 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9683 \begin_inset Text
9684
9685 \begin_layout Standard
9686
9687 \end_layout
9688
9689 \end_inset
9690 </cell>
9691 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9692 \begin_inset Text
9693
9694 \begin_layout Standard
9695
9696 \end_layout
9697
9698 \end_inset
9699 </cell>
9700 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9701 \begin_inset Text
9702
9703 \begin_layout Standard
9704
9705 \end_layout
9706
9707 \end_inset
9708 </cell>
9709 </row>
9710 </lyxtabular>
9711
9712 \end_inset
9713
9714
9715 \end_layout
9716
9717 \begin_layout Section
9718 Multiple Lines Columns and Rows
9719 \end_layout
9720
9721 \begin_layout Subsection
9722 Multiple Lines in Table Cells
9723 \begin_inset LatexCommand label
9724 name "sub:Multiple-Lines-in"
9725
9726 \end_inset
9727
9728
9729 \begin_inset LatexCommand index
9730 name "Multiple Lines in Table Cells"
9731
9732 \end_inset
9733
9734
9735 \begin_inset LatexCommand index
9736 name "Table ! Linebreaks"
9737
9738 \end_inset
9739
9740
9741 \end_layout
9742
9743 \begin_layout Standard
9744 \align center
9745 \begin_inset Float table
9746 placement H
9747 wide false
9748 sideways false
9749 status collapsed
9750
9751 \begin_layout Standard
9752 \begin_inset Caption
9753
9754 \begin_layout Standard
9755 \begin_inset LatexCommand label
9756 name "tab:Table-with-multiple"
9757
9758 \end_inset
9759
9760 Table with multiple lines in cells
9761 \end_layout
9762
9763 \end_inset
9764
9765
9766 \end_layout
9767
9768 \begin_layout Standard
9769 \align center
9770 \begin_inset Tabular
9771 <lyxtabular version="3" rows="3" columns="3">
9772 <features>
9773 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9774 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9775 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9776 <row topline="true">
9777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9778 \begin_inset Text
9779
9780 \begin_layout Standard
9781 multiple
9782 \begin_inset ERT
9783 status collapsed
9784
9785 \begin_layout Standard
9786
9787
9788 \backslash
9789 linebreak 
9790 \end_layout
9791
9792 \end_inset
9793
9794  lines
9795 \end_layout
9796
9797 \end_inset
9798 </cell>
9799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9800 \begin_inset Text
9801
9802 \begin_layout Standard
9803 b
9804 \end_layout
9805
9806 \end_inset
9807 </cell>
9808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9809 \begin_inset Text
9810
9811 \begin_layout Standard
9812 c
9813 \end_layout
9814
9815 \end_inset
9816 </cell>
9817 </row>
9818 <row topline="true">
9819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9820 \begin_inset Text
9821
9822 \begin_layout Standard
9823 d
9824 \end_layout
9825
9826 \end_inset
9827 </cell>
9828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9829 \begin_inset Text
9830
9831 \begin_layout Standard
9832 e
9833 \end_layout
9834
9835 \end_inset
9836 </cell>
9837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9838 \begin_inset Text
9839
9840 \begin_layout Standard
9841 f
9842 \end_layout
9843
9844 \end_inset
9845 </cell>
9846 </row>
9847 <row topline="true" bottomline="true">
9848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9849 \begin_inset Text
9850
9851 \begin_layout Standard
9852 g
9853 \end_layout
9854
9855 \end_inset
9856 </cell>
9857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9858 \begin_inset Text
9859
9860 \begin_layout Standard
9861 h
9862 \end_layout
9863
9864 \end_inset
9865 </cell>
9866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9867 \begin_inset Text
9868
9869 \begin_layout Standard
9870 i
9871 \end_layout
9872
9873 \end_inset
9874 </cell>
9875 </row>
9876 </lyxtabular>
9877
9878 \end_inset
9879
9880
9881 \end_layout
9882
9883 \end_inset
9884
9885
9886 \end_layout
9887
9888 \begin_layout Standard
9889 Adjusting a fixed width for a column, enables to enter text as a paragraph
9890  with multiple lines and hyphenations.
9891 \end_layout
9892
9893 \begin_layout Standard
9894 To produce Table\InsetSpace ~
9895
9896 \begin_inset LatexCommand ref
9897 reference "tab:Table-with-multiple"
9898
9899 \end_inset
9900
9901 , create a 3×3 table, mark the first cell and right-click on it.
9902  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9903 cm and choose centered
9904  for the vertical and horizontal alignment.
9905  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9906 cm, only one line will appear.
9907  To get two lines, we add a line break with the command
9908 \end_layout
9909
9910 \begin_layout Standard
9911
9912 \series bold
9913
9914 \backslash
9915 linebreak
9916 \end_layout
9917
9918 \begin_layout Standard
9919 in ERT.
9920  If the text is wider than the set cell width it will automatically be broken
9921  to several lines.
9922 \end_layout
9923
9924 \begin_layout Standard
9925 To center the text inside the two other cells of the first row vertically,
9926  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9927 cm and choose
9928  centered alignments.
9929  Then do the same for the third cell of the row.
9930 \end_layout
9931
9932 \begin_layout Standard
9933 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9934  by LaTeX if it is the first entry.
9935  Therefore you need to insert something, to make the word not being the
9936  first entry: Add the command
9937 \end_layout
9938
9939 \begin_layout Standard
9940
9941 \series bold
9942
9943 \backslash
9944 hspace{0pt}
9945 \end_layout
9946
9947 \begin_layout Standard
9948 in ERT before the word.
9949  As the space is zero, it doesn't change the output.
9950  Table\InsetSpace ~
9951
9952 \begin_inset LatexCommand ref
9953 reference "tab:Table-with-and"
9954
9955 \end_inset
9956
9957  shows the effect.
9958 \end_layout
9959
9960 \begin_layout Standard
9961 \begin_inset Float table
9962 wide false
9963 sideways false
9964 status open
9965
9966 \begin_layout Standard
9967 \begin_inset Caption
9968
9969 \begin_layout Standard
9970 \begin_inset LatexCommand label
9971 name "tab:Table-with-and"
9972
9973 \end_inset
9974
9975 Table with and without hyphenation
9976 \end_layout
9977
9978 \end_inset
9979
9980
9981 \end_layout
9982
9983 \begin_layout Standard
9984
9985 \hfill
9986
9987 \begin_inset Tabular
9988 <lyxtabular version="3" rows="3" columns="3">
9989 <features>
9990 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9991 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9992 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9993 <row topline="true">
9994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9995 \begin_inset Text
9996
9997 \begin_layout Standard
9998 verylongtablecellword
9999 \end_layout
10000
10001 \end_inset
10002 </cell>
10003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10004 \begin_inset Text
10005
10006 \begin_layout Standard
10007 b
10008 \end_layout
10009
10010 \end_inset
10011 </cell>
10012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10013 \begin_inset Text
10014
10015 \begin_layout Standard
10016 c
10017 \end_layout
10018
10019 \end_inset
10020 </cell>
10021 </row>
10022 <row topline="true">
10023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10024 \begin_inset Text
10025
10026 \begin_layout Standard
10027 d
10028 \end_layout
10029
10030 \end_inset
10031 </cell>
10032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10033 \begin_inset Text
10034
10035 \begin_layout Standard
10036 e
10037 \end_layout
10038
10039 \end_inset
10040 </cell>
10041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10042 \begin_inset Text
10043
10044 \begin_layout Standard
10045 f
10046 \end_layout
10047
10048 \end_inset
10049 </cell>
10050 </row>
10051 <row topline="true" bottomline="true">
10052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10053 \begin_inset Text
10054
10055 \begin_layout Standard
10056 g
10057 \end_layout
10058
10059 \end_inset
10060 </cell>
10061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10062 \begin_inset Text
10063
10064 \begin_layout Standard
10065 h
10066 \end_layout
10067
10068 \end_inset
10069 </cell>
10070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10071 \begin_inset Text
10072
10073 \begin_layout Standard
10074 i
10075 \end_layout
10076
10077 \end_inset
10078 </cell>
10079 </row>
10080 </lyxtabular>
10081
10082 \end_inset
10083
10084
10085 \hfill
10086
10087 \begin_inset Tabular
10088 <lyxtabular version="3" rows="3" columns="3">
10089 <features>
10090 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10091 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10092 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10093 <row topline="true">
10094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10095 \begin_inset Text
10096
10097 \begin_layout Standard
10098 \begin_inset ERT
10099 status collapsed
10100
10101 \begin_layout Standard
10102
10103
10104 \backslash
10105 hspace{0pt}
10106 \end_layout
10107
10108 \end_inset
10109
10110 verylongtablecellword
10111 \end_layout
10112
10113 \end_inset
10114 </cell>
10115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10116 \begin_inset Text
10117
10118 \begin_layout Standard
10119 b
10120 \end_layout
10121
10122 \end_inset
10123 </cell>
10124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10125 \begin_inset Text
10126
10127 \begin_layout Standard
10128 c
10129 \end_layout
10130
10131 \end_inset
10132 </cell>
10133 </row>
10134 <row topline="true">
10135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10136 \begin_inset Text
10137
10138 \begin_layout Standard
10139 d
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Standard
10148 e
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Standard
10157 f
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 </row>
10163 <row topline="true" bottomline="true">
10164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Standard
10168 g
10169 \end_layout
10170
10171 \end_inset
10172 </cell>
10173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10174 \begin_inset Text
10175
10176 \begin_layout Standard
10177 h
10178 \end_layout
10179
10180 \end_inset
10181 </cell>
10182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10183 \begin_inset Text
10184
10185 \begin_layout Standard
10186 i
10187 \end_layout
10188
10189 \end_inset
10190 </cell>
10191 </row>
10192 </lyxtabular>
10193
10194 \end_inset
10195
10196
10197 \hfill
10198
10199 \end_layout
10200
10201 \end_inset
10202
10203
10204 \end_layout
10205
10206 \begin_layout Standard
10207
10208 \newpage
10209
10210 \end_layout
10211
10212 \begin_layout Subsection
10213 Multicolumns
10214 \begin_inset LatexCommand label
10215 name "sub:Multicolumns"
10216
10217 \end_inset
10218
10219
10220 \begin_inset LatexCommand index
10221 name "Multicolumns"
10222
10223 \end_inset
10224
10225
10226 \begin_inset LatexCommand index
10227 name "Table ! Multicolumns"
10228
10229 \end_inset
10230
10231
10232 \end_layout
10233
10234 \begin_layout Subsubsection
10235 Multicolumn Basics
10236 \end_layout
10237
10238 \begin_layout Standard
10239 To span a cell over multiple columns, mark as much cells within a line that
10240  should be one spanned cell and use either the table-toolbar button 
10241 \begin_inset Graphics
10242         filename ../images/tabular-feature_multicolumn.xpm
10243         scale 85
10244
10245 \end_inset
10246
10247 , or the menu 
10248 \family sans
10249 Edit\SpecialChar \menuseparator
10250 Table\SpecialChar \menuseparator
10251 Multicolumn
10252 \family default
10253 , or right click on the marked cells and choose multicolumn in the appearing
10254  table dialog under the tab 
10255 \family sans
10256 Table Settings
10257 \family default
10258 .
10259 \end_layout
10260
10261 \begin_layout Standard
10262 Multicolumns have there own cell settings.
10263  That means changing cell borders, cell alignment, and the width only affects
10264  the multicolumn.
10265  Here is an example table with a multicolumn cell in the first row and one
10266  in the last row without the upper border:
10267 \end_layout
10268
10269 \begin_layout Standard
10270 \align center
10271 \begin_inset Tabular
10272 <lyxtabular version="3" rows="3" columns="4">
10273 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10274 <column alignment="center" valignment="top" leftline="true" width="0pt">
10275 <column alignment="center" valignment="middle" leftline="true" width="0">
10276 <column alignment="center" valignment="top" leftline="true" width="0in">
10277 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10278 <row topline="true" bottomline="true">
10279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10280 \begin_inset Text
10281
10282 \begin_layout Standard
10283 abc
10284 \end_layout
10285
10286 \end_inset
10287 </cell>
10288 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10289 \begin_inset Text
10290
10291 \begin_layout Standard
10292 def
10293 \lang ngerman
10294  
10295 \lang english
10296 ghi
10297 \end_layout
10298
10299 \end_inset
10300 </cell>
10301 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10302 \begin_inset Text
10303
10304 \begin_layout Standard
10305
10306 \end_layout
10307
10308 \end_inset
10309 </cell>
10310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10311 \begin_inset Text
10312
10313 \begin_layout Standard
10314 jkl
10315 \end_layout
10316
10317 \end_inset
10318 </cell>
10319 </row>
10320 <row topline="true">
10321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10322 \begin_inset Text
10323
10324 \begin_layout Standard
10325
10326 \family roman
10327 \series medium
10328 \shape up
10329 \size normal
10330 \emph off
10331 \bar no
10332 \noun off
10333 \color none
10334 A
10335 \end_layout
10336
10337 \end_inset
10338 </cell>
10339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10340 \begin_inset Text
10341
10342 \begin_layout Standard
10343 B
10344 \end_layout
10345
10346 \end_inset
10347 </cell>
10348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10349 \begin_inset Text
10350
10351 \begin_layout Standard
10352 C
10353 \end_layout
10354
10355 \end_inset
10356 </cell>
10357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10358 \begin_inset Text
10359
10360 \begin_layout Standard
10361 D
10362 \end_layout
10363
10364 \end_inset
10365 </cell>
10366 </row>
10367 <row topline="true" bottomline="true">
10368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10369 \begin_inset Text
10370
10371 \begin_layout Standard
10372 1
10373 \end_layout
10374
10375 \end_inset
10376 </cell>
10377 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10378 \begin_inset Text
10379
10380 \begin_layout Standard
10381 2
10382 \end_layout
10383
10384 \end_inset
10385 </cell>
10386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10387 \begin_inset Text
10388
10389 \begin_layout Standard
10390 3
10391 \end_layout
10392
10393 \end_inset
10394 </cell>
10395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10396 \begin_inset Text
10397
10398 \begin_layout Standard
10399 4
10400 \end_layout
10401
10402 \end_inset
10403 </cell>
10404 </row>
10405 </lyxtabular>
10406
10407 \end_inset
10408
10409
10410 \end_layout
10411
10412 \begin_layout Subsubsection
10413 Multicolumn Calculations
10414 \begin_inset LatexCommand label
10415 name "sub:Multicolumn-Calculations"
10416
10417 \end_inset
10418
10419
10420 \begin_inset LatexCommand index
10421 name "Multicolumns ! Calculations"
10422
10423 \end_inset
10424
10425
10426 \end_layout
10427
10428 \begin_layout Standard
10429 LyX supports multicolumns directly, but we have to take notice of the cell
10430  width of the columns spanned by the multicolumn cell.
10431 \end_layout
10432
10433 \begin_layout Standard
10434 \begin_inset Float table
10435 wide false
10436 sideways false
10437 status open
10438
10439 \begin_layout Standard
10440 \begin_inset Caption
10441
10442 \begin_layout Standard
10443 \begin_inset LatexCommand label
10444 name "tab:Table-with-centered"
10445
10446 \end_inset
10447
10448 Table with centered multicolumn text above two columns that have exactly
10449  half the width of the multicolumn cell
10450 \begin_inset OptArg
10451 status collapsed
10452
10453 \begin_layout Standard
10454 Perfect multicolumn table
10455 \end_layout
10456
10457 \end_inset
10458
10459
10460 \end_layout
10461
10462 \end_inset
10463
10464
10465 \end_layout
10466
10467 \begin_layout Standard
10468 \align center
10469 \begin_inset Tabular
10470 <lyxtabular version="3" rows="3" columns="3">
10471 <features>
10472 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10473 <column alignment="center" valignment="middle" leftline="true" width="0">
10474 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10475 <row topline="true">
10476 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10477 \begin_inset Text
10478
10479 \begin_layout Standard
10480 multiple lines multicolumn
10481 \end_layout
10482
10483 \end_inset
10484 </cell>
10485 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10486 \begin_inset Text
10487
10488 \begin_layout Standard
10489
10490 \end_layout
10491
10492 \end_inset
10493 </cell>
10494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10495 \begin_inset Text
10496
10497 \begin_layout Standard
10498 c
10499 \end_layout
10500
10501 \end_inset
10502 </cell>
10503 </row>
10504 <row topline="true">
10505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10506 \begin_inset Text
10507
10508 \begin_layout Standard
10509 d
10510 \end_layout
10511
10512 \end_inset
10513 </cell>
10514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10515 \begin_inset Text
10516
10517 \begin_layout Standard
10518 e
10519 \end_layout
10520
10521 \end_inset
10522 </cell>
10523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10524 \begin_inset Text
10525
10526 \begin_layout Standard
10527 f
10528 \end_layout
10529
10530 \end_inset
10531 </cell>
10532 </row>
10533 <row topline="true" bottomline="true">
10534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10535 \begin_inset Text
10536
10537 \begin_layout Standard
10538 g
10539 \end_layout
10540
10541 \end_inset
10542 </cell>
10543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10544 \begin_inset Text
10545
10546 \begin_layout Standard
10547 h
10548 \end_layout
10549
10550 \end_inset
10551 </cell>
10552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10553 \begin_inset Text
10554
10555 \begin_layout Standard
10556 i
10557 \end_layout
10558
10559 \end_inset
10560 </cell>
10561 </row>
10562 </lyxtabular>
10563
10564 \end_inset
10565
10566
10567 \end_layout
10568
10569 \end_inset
10570
10571
10572 \end_layout
10573
10574 \begin_layout Standard
10575 To create for example Table\InsetSpace ~
10576
10577 \begin_inset LatexCommand ref
10578 reference "tab:Table-with-centered"
10579
10580 \end_inset
10581
10582 , mark the first two cells in the first row a 3×3 table and right-click
10583  on them.
10584  Now choose for this cell 
10585 \emph on
10586 multicolumn
10587 \emph default
10588
10589 \emph on
10590 centered alignment
10591 \emph default
10592  and a width of 2.5\InsetSpace \thinspace{}
10593 cm in the table dialog.
10594  The spanned columns should have exactly half the width of the multicolumn
10595  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10596 cm for the first column.
10597  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10598 cm (multicolumn
10599  width - width of first column).
10600  This was done for Table\InsetSpace ~
10601
10602 \begin_inset LatexCommand ref
10603 reference "tab:Table-without-half"
10604
10605 \end_inset
10606
10607 .
10608 \end_layout
10609
10610 \begin_layout Standard
10611 \begin_inset Float table
10612 wide false
10613 sideways false
10614 status open
10615
10616 \begin_layout Standard
10617 \begin_inset Caption
10618
10619 \begin_layout Standard
10620 \begin_inset LatexCommand label
10621 name "tab:Table-without-half"
10622
10623 \end_inset
10624
10625 Table where the spanned table columns have not exactly half the width of
10626  the multicolumn cell
10627 \begin_inset OptArg
10628 status collapsed
10629
10630 \begin_layout Standard
10631 Imperfect multicolumn table
10632 \end_layout
10633
10634 \end_inset
10635
10636
10637 \end_layout
10638
10639 \end_inset
10640
10641
10642 \end_layout
10643
10644 \begin_layout Standard
10645 \align center
10646 \begin_inset Tabular
10647 <lyxtabular version="3" rows="3" columns="3">
10648 <features>
10649 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10650 <column alignment="center" valignment="top" leftline="true" width="0">
10651 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10652 <row topline="true" bottomline="true">
10653 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10654 \begin_inset Text
10655
10656 \begin_layout Standard
10657 multiple lines multicolumn
10658 \end_layout
10659
10660 \end_inset
10661 </cell>
10662 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10663 \begin_inset Text
10664
10665 \begin_layout Standard
10666
10667 \end_layout
10668
10669 \end_inset
10670 </cell>
10671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10672 \begin_inset Text
10673
10674 \begin_layout Standard
10675 c
10676 \end_layout
10677
10678 \end_inset
10679 </cell>
10680 </row>
10681 <row topline="true">
10682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10683 \begin_inset Text
10684
10685 \begin_layout Standard
10686 d
10687 \end_layout
10688
10689 \end_inset
10690 </cell>
10691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10692 \begin_inset Text
10693
10694 \begin_layout Standard
10695 e
10696 \end_layout
10697
10698 \end_inset
10699 </cell>
10700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10701 \begin_inset Text
10702
10703 \begin_layout Standard
10704 f
10705 \end_layout
10706
10707 \end_inset
10708 </cell>
10709 </row>
10710 <row topline="true" bottomline="true">
10711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10712 \begin_inset Text
10713
10714 \begin_layout Standard
10715 g
10716 \end_layout
10717
10718 \end_inset
10719 </cell>
10720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10721 \begin_inset Text
10722
10723 \begin_layout Standard
10724 h
10725 \end_layout
10726
10727 \end_inset
10728 </cell>
10729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10730 \begin_inset Text
10731
10732 \begin_layout Standard
10733 i
10734 \end_layout
10735
10736 \end_inset
10737 </cell>
10738 </row>
10739 </lyxtabular>
10740
10741 \end_inset
10742
10743
10744 \end_layout
10745
10746 \end_inset
10747
10748
10749 \end_layout
10750
10751 \begin_layout Standard
10752 You can see that the first column has not the half width of the multicolumn
10753  cell, it is a bit bigger.
10754  The reason is that the given width of a cell 
10755 \begin_inset Formula $W_{g}$
10756 \end_inset
10757
10758  is not its total width 
10759 \begin_inset Formula $W_{\mathrm{tot}}$
10760 \end_inset
10761
10762  because a cell is always a bit larger than its given width.
10763  Appendix\InsetSpace ~
10764
10765 \begin_inset LatexCommand eqref
10766 reference "cha:Explanation-of-Equation"
10767
10768 \end_inset
10769
10770  explains it in detail.
10771 \end_layout
10772
10773 \begin_layout Standard
10774 The needed given width 
10775 \begin_inset Formula $W_{g\, n}$
10776 \end_inset
10777
10778  when 
10779 \emph on
10780 n
10781 \emph default
10782  columns are spanned columns can be calculated, so that each column has
10783  a total width of 
10784 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10785 \end_inset
10786
10787 :
10788 \begin_inset Formula \begin{equation}
10789 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10790
10791 \end_inset
10792
10793
10794 \end_layout
10795
10796 \begin_layout Standard
10797 In our case we have 
10798 \begin_inset Formula $n=2$
10799 \end_inset
10800
10801
10802 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10803 \end_inset
10804
10805 cm and the default values for the lengths, so that equation 
10806 \begin_inset LatexCommand ref
10807 reference "eq:Wgn"
10808
10809 \end_inset
10810
10811  becomes
10812 \begin_inset Formula \begin{equation}
10813 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10814
10815 \end_inset
10816
10817
10818 \end_layout
10819
10820 \begin_layout Standard
10821 To enable calculations in LaTeX, the LaTeX-package 
10822 \series bold
10823 calc
10824 \series default
10825  must be loaded with the document preamble line
10826 \begin_inset LatexCommand index
10827 name "LaTeX-packages ! calc"
10828
10829 \end_inset
10830
10831
10832 \end_layout
10833
10834 \begin_layout Standard
10835
10836 \series bold
10837
10838 \backslash
10839 usepackage{calc}
10840 \end_layout
10841
10842 \begin_layout Standard
10843 LyX does not allow to calculate lengths in the width-field of the table
10844  dialog.
10845  Therefore you have to format the column by inserting a LaTeX-argument in
10846  the dialog.
10847  Here is an overview about the arguments:
10848 \end_layout
10849
10850 \begin_layout Itemize
10851
10852 \series bold
10853 p{width}
10854 \series default
10855  creates cell with a fixed width, its text is vertically top-aligned
10856 \end_layout
10857
10858 \begin_layout Itemize
10859
10860 \series bold
10861 m{width}
10862 \series default
10863  creates cell with a fixed width, its text is vertically centered
10864 \end_layout
10865
10866 \begin_layout Itemize
10867
10868 \series bold
10869 b{width}
10870 \series default
10871  creates cell with a fixed width, its text is vertically bottom-aligned
10872 \end_layout
10873
10874 \begin_layout Standard
10875 By entering a LaTeX-argument, all cell properties set in the table dialog
10876  are overwritten.
10877  
10878 \begin_inset Note Greyedout
10879 status open
10880
10881 \begin_layout Standard
10882
10883 \series bold
10884 Note:
10885 \series default
10886  Due to a bug, LyX shows the overwritten properties anyway.
10887 \end_layout
10888
10889 \end_inset
10890
10891  As the text should be horizontally centered, the command 
10892 \series bold
10893
10894 \backslash
10895 centering
10896 \series default
10897  is added.
10898  You can now enter the following LaTeX-argument for the first spanned column:
10899 \end_layout
10900
10901 \begin_layout Standard
10902
10903 \series bold
10904 |>{
10905 \backslash
10906 centering}m{1.25cm-6.2pt}
10907 \end_layout
10908
10909 \begin_layout Standard
10910 The bar 
10911 \begin_inset Quotes eld
10912 \end_inset
10913
10914
10915 \series bold
10916 |
10917 \series default
10918
10919 \begin_inset Quotes erd
10920 \end_inset
10921
10922  at the beginning draws the border line and the command 
10923 \series bold
10924 >{ }
10925 \series default
10926  means, that the commands inside the braces are applied before the cell
10927  is created.
10928 \end_layout
10929
10930 \begin_layout Standard
10931 Although we have chosen centered alignment for the text of the multicolumn
10932  cell, it is still left aligned.
10933  This is because LyX only applies the alignment to single columns.
10934  So we have to use for the multicolumn the LaTeX-argument
10935 \end_layout
10936
10937 \begin_layout Standard
10938
10939 \series bold
10940 |>{
10941 \backslash
10942 centering}m{2.5cm}|
10943 \end_layout
10944
10945 \begin_layout Subsection
10946 Multirows
10947 \begin_inset LatexCommand index
10948 name "Multirows"
10949
10950 \end_inset
10951
10952
10953 \begin_inset LatexCommand index
10954 name "Table ! Multirows"
10955
10956 \end_inset
10957
10958
10959 \begin_inset LatexCommand index
10960 name "LaTeX-packages ! multirow"
10961
10962 \end_inset
10963
10964
10965 \end_layout
10966
10967 \begin_layout Standard
10968 In contrary to multicolumns multirows are not yet supported by LyX so a
10969  bit of ERT needs to be used.
10970  To use multirows load the LaTeX-package 
10971 \series bold
10972 multirow
10973 \series default
10974  in your document preamble with the command
10975 \end_layout
10976
10977 \begin_layout Standard
10978
10979 \series bold
10980
10981 \backslash
10982 usepackage{multirow}
10983 \end_layout
10984
10985 \begin_layout Standard
10986 Multirows are created with the command
10987 \end_layout
10988
10989 \begin_layout Standard
10990
10991 \series bold
10992
10993 \backslash
10994 multirow{number of rows}{cell width}{cell entry}
10995 \end_layout
10996
10997 \begin_layout Standard
10998 To create the following table:
10999 \end_layout
11000
11001 \begin_layout Standard
11002 \align center
11003 \begin_inset ERT
11004 status collapsed
11005
11006 \begin_layout Standard
11007
11008
11009 \backslash
11010 renewcommand{
11011 \backslash
11012 multirowsetup}{
11013 \backslash
11014 centering}
11015 \end_layout
11016
11017 \end_inset
11018
11019
11020 \begin_inset Tabular
11021 <lyxtabular version="3" rows="3" columns="3">
11022 <features>
11023 <column alignment="center" valignment="top" leftline="true" width="0">
11024 <column alignment="center" valignment="top" leftline="true" width="0">
11025 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11026 <row topline="true">
11027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11028 \begin_inset Text
11029
11030 \begin_layout Standard
11031 a
11032 \end_layout
11033
11034 \end_inset
11035 </cell>
11036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11037 \begin_inset Text
11038
11039 \begin_layout Standard
11040 b
11041 \end_layout
11042
11043 \end_inset
11044 </cell>
11045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11046 \begin_inset Text
11047
11048 \begin_layout Standard
11049 c
11050 \end_layout
11051
11052 \end_inset
11053 </cell>
11054 </row>
11055 <row topline="true">
11056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11057 \begin_inset Text
11058
11059 \begin_layout Standard
11060 \begin_inset ERT
11061 status collapsed
11062
11063 \begin_layout Standard
11064
11065
11066 \backslash
11067 multirow{2}{2.5cm}{
11068 \end_layout
11069
11070 \end_inset
11071
11072 multirow entry
11073 \begin_inset ERT
11074 status collapsed
11075
11076 \begin_layout Standard
11077
11078 }
11079 \end_layout
11080
11081 \end_inset
11082
11083
11084 \end_layout
11085
11086 \end_inset
11087 </cell>
11088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11089 \begin_inset Text
11090
11091 \begin_layout Standard
11092 e
11093 \end_layout
11094
11095 \end_inset
11096 </cell>
11097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11098 \begin_inset Text
11099
11100 \begin_layout Standard
11101 f
11102 \end_layout
11103
11104 \end_inset
11105 </cell>
11106 </row>
11107 <row topline="true" bottomline="true">
11108 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11109 \begin_inset Text
11110
11111 \begin_layout Standard
11112
11113 \end_layout
11114
11115 \end_inset
11116 </cell>
11117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11118 \begin_inset Text
11119
11120 \begin_layout Standard
11121 h
11122 \end_layout
11123
11124 \end_inset
11125 </cell>
11126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11127 \begin_inset Text
11128
11129 \begin_layout Standard
11130 i
11131 \end_layout
11132
11133 \end_inset
11134 </cell>
11135 </row>
11136 </lyxtabular>
11137
11138 \end_inset
11139
11140
11141 \begin_inset ERT
11142 status collapsed
11143
11144 \begin_layout Standard
11145
11146
11147 \backslash
11148 renewcommand{
11149 \backslash
11150 multirowsetup}{
11151 \backslash
11152 raggedright}
11153 \end_layout
11154
11155 \end_inset
11156
11157
11158 \end_layout
11159
11160 \begin_layout Standard
11161 create a 3×3 table.
11162  To get rid of the line above the last cell in the first column, the cell
11163  is marked as multicolumn and the upper border is unset.
11164  The multirow is now created in the second row of the first column by inserting
11165  there the command
11166 \end_layout
11167
11168 \begin_layout Standard
11169
11170 \series bold
11171
11172 \backslash
11173 multirow{2}{2.5cm}{
11174 \end_layout
11175
11176 \begin_layout Standard
11177 as ERT.
11178  According to the command parameters the multirow spans now two rows and
11179  has a width of 2.5\InsetSpace \thinspace{}
11180 cm.
11181  The content of the multirow cell follows outside the ERT box and the command
11182  is finished with a right brace 
11183 \series bold
11184 }
11185 \series default
11186  in another ERT-box behind the text.
11187 \end_layout
11188
11189 \begin_layout Standard
11190
11191 \series bold
11192
11193 \backslash
11194 multirow
11195 \series default
11196  left-aligns its content by default.
11197  To override the default, renew the command 
11198 \series bold
11199
11200 \backslash
11201 multirowsetup
11202 \series default
11203  with the command
11204 \end_layout
11205
11206 \begin_layout Standard
11207
11208 \series bold
11209
11210 \backslash
11211 renewcommand{
11212 \backslash
11213 multirowsetup}{
11214 \backslash
11215 centering}
11216 \end_layout
11217
11218 \begin_layout Standard
11219 in ERT in the document preamble.
11220  Then all entries of multirow cells in the document are centered.
11221  If centering is only needed for several tables, you can renew the command
11222  in an ERT box just before the table instead of the preamble.
11223  If the text should be right-aligned, replace 
11224 \series bold
11225
11226 \backslash
11227 centering
11228 \series default
11229  by 
11230 \series bold
11231
11232 \backslash
11233 raggedleft
11234 \series default
11235 .
11236  To return to left-alignment 
11237 \series bold
11238
11239 \backslash
11240 raggedright
11241 \series default
11242  is used.
11243 \end_layout
11244
11245 \begin_layout Section
11246 Formal Tables
11247 \begin_inset LatexCommand label
11248 name "sec:Formal-Tables"
11249
11250 \end_inset
11251
11252
11253 \begin_inset LatexCommand index
11254 name "Table ! Formal"
11255
11256 \end_inset
11257
11258
11259 \end_layout
11260
11261 \begin_layout Standard
11262 Tables are often typeset in books similar to Table\InsetSpace ~
11263
11264 \begin_inset LatexCommand ref
11265 reference "tab:Example-booktabs-table"
11266
11267 \end_inset
11268
11269 .
11270  This kind of tables is called 
11271 \begin_inset Quotes eld
11272 \end_inset
11273
11274
11275 \emph on
11276 formal
11277 \emph default
11278
11279 \begin_inset Quotes erd
11280 \end_inset
11281
11282 .
11283  To make a table a formal table use the option 
11284 \family sans
11285 Formal
11286 \family default
11287  in the 
11288 \family sans
11289 Borders
11290 \family default
11291  tab of the table dialog.
11292 \end_layout
11293
11294 \begin_layout Standard
11295 \begin_inset Float table
11296 placement h
11297 wide false
11298 sideways false
11299 status open
11300
11301 \begin_layout Standard
11302 \begin_inset Caption
11303
11304 \begin_layout Standard
11305 \begin_inset LatexCommand label
11306 name "tab:Example-booktabs-table"
11307
11308 \end_inset
11309
11310 Example booktabs-table
11311 \end_layout
11312
11313 \end_inset
11314
11315
11316 \end_layout
11317
11318 \begin_layout Standard
11319 \align center
11320 \begin_inset Tabular
11321 <lyxtabular version="3" rows="8" columns="4">
11322 <features booktabs="true">
11323 <column alignment="center" valignment="top" rightline="true" width="0">
11324 <column alignment="center" valignment="top" width="0">
11325 <column alignment="center" valignment="top" width="0">
11326 <column alignment="center" valignment="top" width="0">
11327 <row topline="true">
11328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11329 \begin_inset Text
11330
11331 \begin_layout Standard
11332 System
11333 \end_layout
11334
11335 \end_inset
11336 </cell>
11337 <cell alignment="center" valignment="top" topline="true" usebox="none">
11338 \begin_inset Text
11339
11340 \begin_layout Standard
11341 Medipix
11342 \begin_inset Formula $\,$
11343 \end_inset
11344
11345 1
11346 \end_layout
11347
11348 \end_inset
11349 </cell>
11350 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11351 \begin_inset Text
11352
11353 \begin_layout Standard
11354 Medipix
11355 \begin_inset Formula $\,$
11356 \end_inset
11357
11358 2
11359 \end_layout
11360
11361 \end_inset
11362 </cell>
11363 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11364 \begin_inset Text
11365
11366 \begin_layout Standard
11367
11368 \end_layout
11369
11370 \end_inset
11371 </cell>
11372 </row>
11373 <row>
11374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11375 \begin_inset Text
11376
11377 \begin_layout Standard
11378 \begin_inset ERT
11379 status collapsed
11380
11381 \begin_layout Standard
11382
11383
11384 \backslash
11385 cmidrule(r){2-2}
11386 \end_layout
11387
11388 \end_inset
11389
11390
11391 \begin_inset ERT
11392 status collapsed
11393
11394 \begin_layout Standard
11395
11396
11397 \backslash
11398 cmidrule(l){3-4}
11399 \end_layout
11400
11401 \end_inset
11402
11403 Detector thickness [µm]
11404 \end_layout
11405
11406 \end_inset
11407 </cell>
11408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11409 \begin_inset Text
11410
11411 \begin_layout Standard
11412 300
11413 \end_layout
11414
11415 \end_inset
11416 </cell>
11417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11418 \begin_inset Text
11419
11420 \begin_layout Standard
11421 300
11422 \end_layout
11423
11424 \end_inset
11425 </cell>
11426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11427 \begin_inset Text
11428
11429 \begin_layout Standard
11430 700
11431 \end_layout
11432
11433 \end_inset
11434 </cell>
11435 </row>
11436 <row topline="true">
11437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11438 \begin_inset Text
11439
11440 \begin_layout Standard
11441 Edge angle [°]
11442 \end_layout
11443
11444 \end_inset
11445 </cell>
11446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11447 \begin_inset Text
11448
11449 \begin_layout Standard
11450 3.55
11451 \end_layout
11452
11453 \end_inset
11454 </cell>
11455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11456 \begin_inset Text
11457
11458 \begin_layout Standard
11459 2.71
11460 \end_layout
11461
11462 \end_inset
11463 </cell>
11464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11465 \begin_inset Text
11466
11467 \begin_layout Standard
11468 7.99
11469 \end_layout
11470
11471 \end_inset
11472 </cell>
11473 </row>
11474 <row topspace="default">
11475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11476 \begin_inset Text
11477
11478 \begin_layout Standard
11479 Spatial resolution [µm]
11480 \end_layout
11481
11482 \end_inset
11483 </cell>
11484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11485 \begin_inset Text
11486
11487 \begin_layout Standard
11488 4.26
11489 \end_layout
11490
11491 \end_inset
11492 </cell>
11493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11494 \begin_inset Text
11495
11496 \begin_layout Standard
11497 10.17
11498 \end_layout
11499
11500 \end_inset
11501 </cell>
11502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11503 \begin_inset Text
11504
11505 \begin_layout Standard
11506 10.56
11507 \end_layout
11508
11509 \end_inset
11510 </cell>
11511 </row>
11512 <row topspace="default">
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11514 \begin_inset Text
11515
11516 \begin_layout Standard
11517 MTF at 
11518 \begin_inset Formula $f_{\mathrm{max}}$
11519 \end_inset
11520
11521
11522 \end_layout
11523
11524 \end_inset
11525 </cell>
11526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11527 \begin_inset Text
11528
11529 \begin_layout Standard
11530 0.53
11531 \end_layout
11532
11533 \end_inset
11534 </cell>
11535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11536 \begin_inset Text
11537
11538 \begin_layout Standard
11539 0.37
11540 \end_layout
11541
11542 \end_inset
11543 </cell>
11544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11545 \begin_inset Text
11546
11547 \begin_layout Standard
11548 0.39
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 </row>
11554 <row topspace="default">
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11556 \begin_inset Text
11557
11558 \begin_layout Standard
11559 \begin_inset ERT
11560 status collapsed
11561
11562 \begin_layout Standard
11563
11564
11565 \backslash
11566 cmidrule(l{10pt}){1-1}
11567 \end_layout
11568
11569 \end_inset
11570
11571 LSF-spatial resolution
11572 \end_layout
11573
11574 \end_inset
11575 </cell>
11576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11577 \begin_inset Text
11578
11579 \begin_layout Standard
11580
11581 \end_layout
11582
11583 \end_inset
11584 </cell>
11585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11586 \begin_inset Text
11587
11588 \begin_layout Standard
11589
11590 \end_layout
11591
11592 \end_inset
11593 </cell>
11594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11595 \begin_inset Text
11596
11597 \begin_layout Standard
11598
11599 \end_layout
11600
11601 \end_inset
11602 </cell>
11603 </row>
11604 <row>
11605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11606 \begin_inset Text
11607
11608 \begin_layout Standard
11609 in µm
11610 \end_layout
11611
11612 \end_inset
11613 </cell>
11614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11615 \begin_inset Text
11616
11617 \begin_layout Standard
11618 129.7
11619 \end_layout
11620
11621 \end_inset
11622 </cell>
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11624 \begin_inset Text
11625
11626 \begin_layout Standard
11627 52.75
11628 \end_layout
11629
11630 \end_inset
11631 </cell>
11632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11633 \begin_inset Text
11634
11635 \begin_layout Standard
11636 50.78
11637 \end_layout
11638
11639 \end_inset
11640 </cell>
11641 </row>
11642 <row bottomline="true">
11643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Standard
11647 in % of pixel size
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Standard
11656 76.3
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11662 \begin_inset Text
11663
11664 \begin_layout Standard
11665 95.9
11666 \end_layout
11667
11668 \end_inset
11669 </cell>
11670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11671 \begin_inset Text
11672
11673 \begin_layout Standard
11674 92.3
11675 \end_layout
11676
11677 \end_inset
11678 </cell>
11679 </row>
11680 </lyxtabular>
11681
11682 \end_inset
11683
11684
11685 \end_layout
11686
11687 \end_inset
11688
11689
11690 \end_layout
11691
11692 \begin_layout Standard
11693 Spaces to table rows can be added using the 
11694 \family sans
11695 Borders
11696 \family default
11697  tab of the table dialog as described in section\InsetSpace ~
11698
11699 \begin_inset LatexCommand ref
11700 reference "sub:Row-Spacing"
11701
11702 \end_inset
11703
11704 .
11705 \end_layout
11706
11707 \begin_layout Standard
11708 In contrary to normal tables, formal tables have no vertical table lines.
11709  The horizontal table lines can be set like for normal tables but they appear
11710  with different width in the output:
11711 \newline
11712 The first and the last table line have
11713  a default width of 0.08\InsetSpace \thinspace{}
11714 em while the other lines have a default width of
11715  0.05\InsetSpace \thinspace{}
11716 em.
11717 \end_layout
11718
11719 \begin_layout Standard
11720 The default widths can be changed with the following preamble lines
11721 \end_layout
11722
11723 \begin_layout Standard
11724
11725 \series bold
11726
11727 \backslash
11728 let
11729 \backslash
11730 mytoprule
11731 \backslash
11732 toprule
11733 \newline
11734
11735 \backslash
11736 renewcommand{
11737 \backslash
11738 toprule}{
11739 \backslash
11740 mytoprule[width]}
11741 \end_layout
11742
11743 \begin_layout Standard
11744 This example is for the first line, the so called toprule.
11745  If you want to change the width for the last line, replace 
11746 \series bold
11747 toprule
11748 \series default
11749  by 
11750 \series bold
11751 bottomrule
11752 \series default
11753 .
11754  To change the width for the other lines replace 
11755 \series bold
11756 toprule
11757 \series default
11758  by 
11759 \series bold
11760 midrule
11761 \series default
11762 .
11763  You can use all units listed in appendix\InsetSpace ~
11764
11765 \begin_inset LatexCommand ref
11766 reference "cha:Units-available-in"
11767
11768 \end_inset
11769
11770  to set the width.
11771 \end_layout
11772
11773 \begin_layout Standard
11774 Lines that don't span over all table columns can be created by setting a
11775  table line for multicolumn cells.
11776  LyX will then internally use the command 
11777 \series bold
11778
11779 \backslash
11780 cmidrule
11781 \series default
11782  to create this line.
11783  Its full scheme is
11784 \end_layout
11785
11786 \begin_layout Standard
11787
11788 \series bold
11789
11790 \backslash
11791 cmidrule[width](trim){startcol-endcol}
11792 \end_layout
11793
11794 \begin_layout Standard
11795 The options of 
11796 \series bold
11797
11798 \backslash
11799 cmidrule
11800 \series default
11801  are are currently not supported by LyX so you have to use ERT to be able
11802  to use them.
11803  
11804 \series bold
11805
11806 \backslash
11807 cmidrule
11808 \series default
11809 s can manually be created by inserting the command as ERT as first cell
11810  entry of the first cell of a row.
11811  The line is then drawn in the output above the current row.
11812 \end_layout
11813
11814 \begin_layout Standard
11815 The default for the width is 0.03\InsetSpace \thinspace{}
11816 em.
11817  Startcol is the number of the column where the line starts and endcol the
11818  column number where the line ends.
11819  The endcol always needs to be specified, also when the line should span
11820  only one column.
11821  The optional parameter trim could be either 
11822 \emph on
11823 l{trimwidth}
11824 \emph default
11825 , or 
11826 \emph on
11827 r{trimwidth}
11828 \emph default
11829  where the trimwidth is also optional.
11830  Using for example the parameter 
11831 \emph on
11832 l{2pt}
11833 \emph default
11834  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11835 pt.
11836  If you don't specify the trimwidth the lines are trimmed by the default
11837  of 0.5\InsetSpace \thinspace{}
11838 em.
11839 \end_layout
11840
11841 \begin_layout Standard
11842 \begin_inset VSpace bigskip
11843 \end_inset
11844
11845 Table\InsetSpace ~
11846
11847 \begin_inset LatexCommand ref
11848 reference "tab:Example-booktabs-table"
11849
11850 \end_inset
11851
11852  was created using the commands
11853 \end_layout
11854
11855 \begin_layout Standard
11856
11857 \series bold
11858
11859 \backslash
11860 cmidrule(r){2-2}
11861 \backslash
11862 cmidrule(l){3-4}
11863 \end_layout
11864
11865 \begin_layout Standard
11866 at the beginning of the in the second row and
11867 \end_layout
11868
11869 \begin_layout Standard
11870
11871 \series bold
11872
11873 \backslash
11874 cmidrule(l{10pt}){1-1}
11875 \end_layout
11876
11877 \begin_layout Standard
11878 in the sixth row.
11879 \end_layout
11880
11881 \begin_layout Standard
11882
11883 \end_layout
11884
11885 \begin_layout Standard
11886 \begin_inset VSpace bigskip
11887 \end_inset
11888
11889
11890 \end_layout
11891
11892 \begin_layout Standard
11893 You might want to have overlapping 
11894 \series bold
11895
11896 \backslash
11897 cmidrule
11898 \series default
11899 s like in Table\InsetSpace ~
11900
11901 \begin_inset LatexCommand ref
11902 reference "tab:Special-booktabs-table"
11903
11904 \end_inset
11905
11906 .
11907  This can be achieved with the ERT command
11908 \end_layout
11909
11910 \begin_layout Standard
11911
11912 \series bold
11913
11914 \backslash
11915 morecmidrules
11916 \end_layout
11917
11918 \begin_layout Standard
11919 The command that was used for the second row of Table\InsetSpace ~
11920
11921 \begin_inset LatexCommand ref
11922 reference "tab:Special-booktabs-table"
11923
11924 \end_inset
11925
11926  is
11927 \end_layout
11928
11929 \begin_layout Standard
11930
11931 \series bold
11932
11933 \backslash
11934 cmidrule(r){2-2}
11935 \backslash
11936 cmidrule(l){3-4}
11937 \backslash
11938 morecmidrules
11939 \backslash
11940 cmidrule{2-4}
11941 \end_layout
11942
11943 \begin_layout Standard
11944 The command for the sixth row is
11945 \end_layout
11946
11947 \begin_layout Standard
11948
11949 \series bold
11950
11951 \backslash
11952 midrule
11953 \backslash
11954 morecmidrules
11955 \backslash
11956 cmidrule{3-4}
11957 \end_layout
11958
11959 \begin_layout Standard
11960 \begin_inset VSpace bigskip
11961 \end_inset
11962
11963
11964 \end_layout
11965
11966 \begin_layout Standard
11967 If you are anyway not satisfied with the border line spacing, you can use
11968  the following command to produce lines that span over all table columns
11969 \series bold
11970 :
11971 \end_layout
11972
11973 \begin_layout Standard
11974
11975 \series bold
11976
11977 \backslash
11978 specialrule{width}{space above}{space below}
11979 \end_layout
11980
11981 \begin_layout Standard
11982 For more informations about these specialties, we refer to the manual of
11983  the LaTeX-package 
11984 \series bold
11985 booktabs
11986 \series default
11987  
11988 \begin_inset LatexCommand cite
11989 key "booktabs"
11990
11991 \end_inset
11992
11993 .
11994 \begin_inset LatexCommand index
11995 name "LaTeX-packages ! booktabs"
11996
11997 \end_inset
11998
11999
12000 \end_layout
12001
12002 \begin_layout Standard
12003 \begin_inset Float table
12004 placement h
12005 wide false
12006 sideways false
12007 status open
12008
12009 \begin_layout Standard
12010 \begin_inset Caption
12011
12012 \begin_layout Standard
12013 \begin_inset LatexCommand label
12014 name "tab:Special-booktabs-table"
12015
12016 \end_inset
12017
12018 Special booktabs-table
12019 \end_layout
12020
12021 \end_inset
12022
12023
12024 \end_layout
12025
12026 \begin_layout Standard
12027 \align center
12028 \begin_inset Tabular
12029 <lyxtabular version="3" rows="8" columns="4">
12030 <features booktabs="true">
12031 <column alignment="center" valignment="top" width="0">
12032 <column alignment="center" valignment="top" width="0">
12033 <column alignment="center" valignment="top" width="0">
12034 <column alignment="center" valignment="top" width="0">
12035 <row topline="true">
12036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12037 \begin_inset Text
12038
12039 \begin_layout Standard
12040 System
12041 \end_layout
12042
12043 \end_inset
12044 </cell>
12045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12046 \begin_inset Text
12047
12048 \begin_layout Standard
12049 Medipix\InsetSpace \thinspace{}
12050 1
12051 \end_layout
12052
12053 \end_inset
12054 </cell>
12055 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12056 \begin_inset Text
12057
12058 \begin_layout Standard
12059 Medipix\InsetSpace \thinspace{}
12060 2
12061 \end_layout
12062
12063 \end_inset
12064 </cell>
12065 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12066 \begin_inset Text
12067
12068 \begin_layout Standard
12069
12070 \end_layout
12071
12072 \end_inset
12073 </cell>
12074 </row>
12075 <row>
12076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12077 \begin_inset Text
12078
12079 \begin_layout Standard
12080 \begin_inset ERT
12081 status collapsed
12082
12083 \begin_layout Standard
12084
12085
12086 \backslash
12087 cmidrule(r){2-2}
12088 \end_layout
12089
12090 \end_inset
12091
12092
12093 \begin_inset ERT
12094 status collapsed
12095
12096 \begin_layout Standard
12097
12098
12099 \backslash
12100 cmidrule(l){3-4}
12101 \end_layout
12102
12103 \end_inset
12104
12105
12106 \begin_inset ERT
12107 status collapsed
12108
12109 \begin_layout Standard
12110
12111
12112 \backslash
12113 morecmidrules 
12114 \end_layout
12115
12116 \end_inset
12117
12118
12119 \begin_inset ERT
12120 status collapsed
12121
12122 \begin_layout Standard
12123
12124
12125 \backslash
12126 cmidrule{2-4}
12127 \end_layout
12128
12129 \end_inset
12130
12131 Detector thickness [µm]
12132 \end_layout
12133
12134 \end_inset
12135 </cell>
12136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12137 \begin_inset Text
12138
12139 \begin_layout Standard
12140 300
12141 \end_layout
12142
12143 \end_inset
12144 </cell>
12145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12146 \begin_inset Text
12147
12148 \begin_layout Standard
12149 300
12150 \end_layout
12151
12152 \end_inset
12153 </cell>
12154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12155 \begin_inset Text
12156
12157 \begin_layout Standard
12158 700
12159 \end_layout
12160
12161 \end_inset
12162 </cell>
12163 </row>
12164 <row topline="true">
12165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12166 \begin_inset Text
12167
12168 \begin_layout Standard
12169 Edge angle [°]
12170 \end_layout
12171
12172 \end_inset
12173 </cell>
12174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12175 \begin_inset Text
12176
12177 \begin_layout Standard
12178 3.55
12179 \end_layout
12180
12181 \end_inset
12182 </cell>
12183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12184 \begin_inset Text
12185
12186 \begin_layout Standard
12187 2.71
12188 \end_layout
12189
12190 \end_inset
12191 </cell>
12192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12193 \begin_inset Text
12194
12195 \begin_layout Standard
12196 7.99
12197 \end_layout
12198
12199 \end_inset
12200 </cell>
12201 </row>
12202 <row topspace="default">
12203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12204 \begin_inset Text
12205
12206 \begin_layout Standard
12207 Spatial resolution [µm]
12208 \end_layout
12209
12210 \end_inset
12211 </cell>
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12213 \begin_inset Text
12214
12215 \begin_layout Standard
12216 4.26
12217 \end_layout
12218
12219 \end_inset
12220 </cell>
12221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12222 \begin_inset Text
12223
12224 \begin_layout Standard
12225 10.17
12226 \end_layout
12227
12228 \end_inset
12229 </cell>
12230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12231 \begin_inset Text
12232
12233 \begin_layout Standard
12234 10.56
12235 \end_layout
12236
12237 \end_inset
12238 </cell>
12239 </row>
12240 <row topspace="default">
12241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12242 \begin_inset Text
12243
12244 \begin_layout Standard
12245 MTF at 
12246 \begin_inset Formula $f_{\mathrm{max}}$
12247 \end_inset
12248
12249
12250 \end_layout
12251
12252 \end_inset
12253 </cell>
12254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12255 \begin_inset Text
12256
12257 \begin_layout Standard
12258 0.53
12259 \end_layout
12260
12261 \end_inset
12262 </cell>
12263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12264 \begin_inset Text
12265
12266 \begin_layout Standard
12267 0.37
12268 \end_layout
12269
12270 \end_inset
12271 </cell>
12272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12273 \begin_inset Text
12274
12275 \begin_layout Standard
12276 0.39
12277 \end_layout
12278
12279 \end_inset
12280 </cell>
12281 </row>
12282 <row topline="true">
12283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12284 \begin_inset Text
12285
12286 \begin_layout Standard
12287 \begin_inset ERT
12288 status collapsed
12289
12290 \begin_layout Standard
12291
12292
12293 \backslash
12294 morecmidrules 
12295 \end_layout
12296
12297 \end_inset
12298
12299
12300 \begin_inset ERT
12301 status collapsed
12302
12303 \begin_layout Standard
12304
12305
12306 \backslash
12307 cmidrule{3-4}
12308 \end_layout
12309
12310 \end_inset
12311
12312 LSF-spatial resolution
12313 \end_layout
12314
12315 \end_inset
12316 </cell>
12317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12318 \begin_inset Text
12319
12320 \begin_layout Standard
12321
12322 \end_layout
12323
12324 \end_inset
12325 </cell>
12326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12327 \begin_inset Text
12328
12329 \begin_layout Standard
12330
12331 \end_layout
12332
12333 \end_inset
12334 </cell>
12335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12336 \begin_inset Text
12337
12338 \begin_layout Standard
12339
12340 \end_layout
12341
12342 \end_inset
12343 </cell>
12344 </row>
12345 <row>
12346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12347 \begin_inset Text
12348
12349 \begin_layout Standard
12350 in µm
12351 \end_layout
12352
12353 \end_inset
12354 </cell>
12355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12356 \begin_inset Text
12357
12358 \begin_layout Standard
12359 129.7
12360 \end_layout
12361
12362 \end_inset
12363 </cell>
12364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12365 \begin_inset Text
12366
12367 \begin_layout Standard
12368 52.75
12369 \end_layout
12370
12371 \end_inset
12372 </cell>
12373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12374 \begin_inset Text
12375
12376 \begin_layout Standard
12377 50.78
12378 \end_layout
12379
12380 \end_inset
12381 </cell>
12382 </row>
12383 <row bottomline="true">
12384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12385 \begin_inset Text
12386
12387 \begin_layout Standard
12388 in % of pixel size
12389 \end_layout
12390
12391 \end_inset
12392 </cell>
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12394 \begin_inset Text
12395
12396 \begin_layout Standard
12397 76.3
12398 \end_layout
12399
12400 \end_inset
12401 </cell>
12402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12403 \begin_inset Text
12404
12405 \begin_layout Standard
12406 95.9
12407 \end_layout
12408
12409 \end_inset
12410 </cell>
12411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12412 \begin_inset Text
12413
12414 \begin_layout Standard
12415 92.3
12416 \end_layout
12417
12418 \end_inset
12419 </cell>
12420 </row>
12421 </lyxtabular>
12422
12423 \end_inset
12424
12425
12426 \end_layout
12427
12428 \end_inset
12429
12430
12431 \end_layout
12432
12433 \begin_layout Section
12434 Vertical Table Alignment
12435 \begin_inset LatexCommand index
12436 name "Table ! Alignment"
12437
12438 \end_inset
12439
12440
12441 \end_layout
12442
12443 \begin_layout Standard
12444 To align tables vertically in a text line the table must be inside a box.
12445  The box can then be vertically aligned as described in section\InsetSpace ~
12446
12447 \begin_inset LatexCommand ref
12448 reference "sec:Box-Dialog"
12449
12450 \end_inset
12451
12452 .
12453 \end_layout
12454
12455 \begin_layout Standard
12456 In the following example the tables are inside a minipage
12457 \begin_inset Foot
12458 status collapsed
12459
12460 \begin_layout Standard
12461 Minipages are described in section\InsetSpace ~
12462
12463 \begin_inset LatexCommand ref
12464 reference "sec:Minipages"
12465
12466 \end_inset
12467
12468 .
12469 \end_layout
12470
12471 \end_inset
12472
12473  box that has a width of 15\InsetSpace \thinspace{}
12474 col%:
12475 \end_layout
12476
12477 \begin_layout Itemize
12478 test 
12479 \begin_inset Box Frameless
12480 position "t"
12481 hor_pos "c"
12482 has_inner_box 1
12483 inner_pos "c"
12484 use_parbox 0
12485 width "15col%"
12486 special "none"
12487 height "1in"
12488 height_special "totalheight"
12489 status collapsed
12490
12491 \begin_layout Standard
12492 \begin_inset Tabular
12493 <lyxtabular version="3" rows="3" columns="3">
12494 <features>
12495 <column alignment="center" valignment="top" leftline="true" width="0">
12496 <column alignment="center" valignment="top" leftline="true" width="0">
12497 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12498 <row topline="true">
12499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12500 \begin_inset Text
12501
12502 \begin_layout Standard
12503 a
12504 \end_layout
12505
12506 \end_inset
12507 </cell>
12508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12509 \begin_inset Text
12510
12511 \begin_layout Standard
12512 d
12513 \end_layout
12514
12515 \end_inset
12516 </cell>
12517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12518 \begin_inset Text
12519
12520 \begin_layout Standard
12521 g
12522 \end_layout
12523
12524 \end_inset
12525 </cell>
12526 </row>
12527 <row topline="true">
12528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12529 \begin_inset Text
12530
12531 \begin_layout Standard
12532 b
12533 \end_layout
12534
12535 \end_inset
12536 </cell>
12537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12538 \begin_inset Text
12539
12540 \begin_layout Standard
12541 e
12542 \end_layout
12543
12544 \end_inset
12545 </cell>
12546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12547 \begin_inset Text
12548
12549 \begin_layout Standard
12550 h
12551 \end_layout
12552
12553 \end_inset
12554 </cell>
12555 </row>
12556 <row topline="true" bottomline="true">
12557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12558 \begin_inset Text
12559
12560 \begin_layout Standard
12561 c
12562 \end_layout
12563
12564 \end_inset
12565 </cell>
12566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12567 \begin_inset Text
12568
12569 \begin_layout Standard
12570 f
12571 \end_layout
12572
12573 \end_inset
12574 </cell>
12575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12576 \begin_inset Text
12577
12578 \begin_layout Standard
12579 i
12580 \end_layout
12581
12582 \end_inset
12583 </cell>
12584 </row>
12585 </lyxtabular>
12586
12587 \end_inset
12588
12589
12590 \end_layout
12591
12592 \end_inset
12593
12594  test 
12595 \begin_inset ERT
12596 status collapsed
12597
12598 \begin_layout Standard
12599
12600
12601 \backslash
12602 raisebox{0.85
12603 \backslash
12604 baselineskip}{
12605 \end_layout
12606
12607 \end_inset
12608
12609
12610 \begin_inset Box Frameless
12611 position "t"
12612 hor_pos "c"
12613 has_inner_box 1
12614 inner_pos "c"
12615 use_parbox 0
12616 width "15col%"
12617 special "none"
12618 height "1in"
12619 height_special "totalheight"
12620 status collapsed
12621
12622 \begin_layout Standard
12623 \begin_inset Tabular
12624 <lyxtabular version="3" rows="3" columns="3">
12625 <features>
12626 <column alignment="center" valignment="top" leftline="true" width="0">
12627 <column alignment="center" valignment="top" leftline="true" width="0">
12628 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12629 <row topline="true">
12630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12631 \begin_inset Text
12632
12633 \begin_layout Standard
12634 a
12635 \end_layout
12636
12637 \end_inset
12638 </cell>
12639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12640 \begin_inset Text
12641
12642 \begin_layout Standard
12643 d
12644 \end_layout
12645
12646 \end_inset
12647 </cell>
12648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12649 \begin_inset Text
12650
12651 \begin_layout Standard
12652 g
12653 \end_layout
12654
12655 \end_inset
12656 </cell>
12657 </row>
12658 <row topline="true">
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12660 \begin_inset Text
12661
12662 \begin_layout Standard
12663 b
12664 \end_layout
12665
12666 \end_inset
12667 </cell>
12668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12669 \begin_inset Text
12670
12671 \begin_layout Standard
12672 e
12673 \end_layout
12674
12675 \end_inset
12676 </cell>
12677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12678 \begin_inset Text
12679
12680 \begin_layout Standard
12681 h
12682 \end_layout
12683
12684 \end_inset
12685 </cell>
12686 </row>
12687 <row topline="true" bottomline="true">
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Standard
12692 c
12693 \end_layout
12694
12695 \end_inset
12696 </cell>
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12698 \begin_inset Text
12699
12700 \begin_layout Standard
12701 f
12702 \end_layout
12703
12704 \end_inset
12705 </cell>
12706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12707 \begin_inset Text
12708
12709 \begin_layout Standard
12710 i
12711 \end_layout
12712
12713 \end_inset
12714 </cell>
12715 </row>
12716 </lyxtabular>
12717
12718 \end_inset
12719
12720
12721 \end_layout
12722
12723 \end_inset
12724
12725
12726 \begin_inset ERT
12727 status collapsed
12728
12729 \begin_layout Standard
12730
12731 }
12732 \end_layout
12733
12734 \end_inset
12735
12736
12737 \end_layout
12738
12739 \begin_layout Itemize
12740 test 
12741 \begin_inset Box Frameless
12742 position "c"
12743 hor_pos "c"
12744 has_inner_box 1
12745 inner_pos "c"
12746 use_parbox 0
12747 width "15col%"
12748 special "none"
12749 height "1in"
12750 height_special "totalheight"
12751 status collapsed
12752
12753 \begin_layout Standard
12754 \begin_inset Tabular
12755 <lyxtabular version="3" rows="3" columns="3">
12756 <features>
12757 <column alignment="center" valignment="top" leftline="true" width="0">
12758 <column alignment="center" valignment="top" leftline="true" width="0">
12759 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12760 <row topline="true">
12761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12762 \begin_inset Text
12763
12764 \begin_layout Standard
12765 a
12766 \end_layout
12767
12768 \end_inset
12769 </cell>
12770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12771 \begin_inset Text
12772
12773 \begin_layout Standard
12774 d
12775 \end_layout
12776
12777 \end_inset
12778 </cell>
12779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12780 \begin_inset Text
12781
12782 \begin_layout Standard
12783 g
12784 \end_layout
12785
12786 \end_inset
12787 </cell>
12788 </row>
12789 <row topline="true">
12790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12791 \begin_inset Text
12792
12793 \begin_layout Standard
12794 b
12795 \end_layout
12796
12797 \end_inset
12798 </cell>
12799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12800 \begin_inset Text
12801
12802 \begin_layout Standard
12803 e
12804 \end_layout
12805
12806 \end_inset
12807 </cell>
12808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12809 \begin_inset Text
12810
12811 \begin_layout Standard
12812 h
12813 \end_layout
12814
12815 \end_inset
12816 </cell>
12817 </row>
12818 <row topline="true" bottomline="true">
12819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12820 \begin_inset Text
12821
12822 \begin_layout Standard
12823 c
12824 \end_layout
12825
12826 \end_inset
12827 </cell>
12828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12829 \begin_inset Text
12830
12831 \begin_layout Standard
12832 f
12833 \end_layout
12834
12835 \end_inset
12836 </cell>
12837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12838 \begin_inset Text
12839
12840 \begin_layout Standard
12841 i
12842 \end_layout
12843
12844 \end_inset
12845 </cell>
12846 </row>
12847 </lyxtabular>
12848
12849 \end_inset
12850
12851
12852 \end_layout
12853
12854 \end_inset
12855
12856
12857 \end_layout
12858
12859 \begin_layout Itemize
12860 test 
12861 \begin_inset Box Frameless
12862 position "b"
12863 hor_pos "c"
12864 has_inner_box 1
12865 inner_pos "c"
12866 use_parbox 0
12867 width "15col%"
12868 special "none"
12869 height "1in"
12870 height_special "totalheight"
12871 status collapsed
12872
12873 \begin_layout Standard
12874 \begin_inset Tabular
12875 <lyxtabular version="3" rows="3" columns="3">
12876 <features>
12877 <column alignment="center" valignment="top" leftline="true" width="0">
12878 <column alignment="center" valignment="top" leftline="true" width="0">
12879 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12880 <row topline="true">
12881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12882 \begin_inset Text
12883
12884 \begin_layout Standard
12885 a
12886 \end_layout
12887
12888 \end_inset
12889 </cell>
12890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12891 \begin_inset Text
12892
12893 \begin_layout Standard
12894 d
12895 \end_layout
12896
12897 \end_inset
12898 </cell>
12899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12900 \begin_inset Text
12901
12902 \begin_layout Standard
12903 g
12904 \end_layout
12905
12906 \end_inset
12907 </cell>
12908 </row>
12909 <row topline="true">
12910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12911 \begin_inset Text
12912
12913 \begin_layout Standard
12914 b
12915 \end_layout
12916
12917 \end_inset
12918 </cell>
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12920 \begin_inset Text
12921
12922 \begin_layout Standard
12923 e
12924 \end_layout
12925
12926 \end_inset
12927 </cell>
12928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12929 \begin_inset Text
12930
12931 \begin_layout Standard
12932 h
12933 \end_layout
12934
12935 \end_inset
12936 </cell>
12937 </row>
12938 <row topline="true" bottomline="true">
12939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12940 \begin_inset Text
12941
12942 \begin_layout Standard
12943 c
12944 \end_layout
12945
12946 \end_inset
12947 </cell>
12948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12949 \begin_inset Text
12950
12951 \begin_layout Standard
12952 f
12953 \end_layout
12954
12955 \end_inset
12956 </cell>
12957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12958 \begin_inset Text
12959
12960 \begin_layout Standard
12961 i
12962 \end_layout
12963
12964 \end_inset
12965 </cell>
12966 </row>
12967 </lyxtabular>
12968
12969 \end_inset
12970
12971
12972 \end_layout
12973
12974 \end_inset
12975
12976  test 
12977 \begin_inset ERT
12978 status collapsed
12979
12980 \begin_layout Standard
12981
12982
12983 \backslash
12984 raisebox{-0.32
12985 \backslash
12986 baselineskip}{
12987 \end_layout
12988
12989 \end_inset
12990
12991
12992 \begin_inset Box Frameless
12993 position "b"
12994 hor_pos "c"
12995 has_inner_box 1
12996 inner_pos "c"
12997 use_parbox 0
12998 width "15col%"
12999 special "none"
13000 height "1in"
13001 height_special "totalheight"
13002 status collapsed
13003
13004 \begin_layout Standard
13005 \begin_inset Tabular
13006 <lyxtabular version="3" rows="3" columns="3">
13007 <features>
13008 <column alignment="center" valignment="top" leftline="true" width="0">
13009 <column alignment="center" valignment="top" leftline="true" width="0">
13010 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13011 <row topline="true">
13012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13013 \begin_inset Text
13014
13015 \begin_layout Standard
13016 a
13017 \end_layout
13018
13019 \end_inset
13020 </cell>
13021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13022 \begin_inset Text
13023
13024 \begin_layout Standard
13025 d
13026 \end_layout
13027
13028 \end_inset
13029 </cell>
13030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13031 \begin_inset Text
13032
13033 \begin_layout Standard
13034 g
13035 \end_layout
13036
13037 \end_inset
13038 </cell>
13039 </row>
13040 <row topline="true">
13041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13042 \begin_inset Text
13043
13044 \begin_layout Standard
13045 b
13046 \end_layout
13047
13048 \end_inset
13049 </cell>
13050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13051 \begin_inset Text
13052
13053 \begin_layout Standard
13054 e
13055 \end_layout
13056
13057 \end_inset
13058 </cell>
13059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13060 \begin_inset Text
13061
13062 \begin_layout Standard
13063 h
13064 \end_layout
13065
13066 \end_inset
13067 </cell>
13068 </row>
13069 <row topline="true" bottomline="true">
13070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13071 \begin_inset Text
13072
13073 \begin_layout Standard
13074 c
13075 \end_layout
13076
13077 \end_inset
13078 </cell>
13079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13080 \begin_inset Text
13081
13082 \begin_layout Standard
13083 f
13084 \end_layout
13085
13086 \end_inset
13087 </cell>
13088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13089 \begin_inset Text
13090
13091 \begin_layout Standard
13092 i
13093 \end_layout
13094
13095 \end_inset
13096 </cell>
13097 </row>
13098 </lyxtabular>
13099
13100 \end_inset
13101
13102
13103 \end_layout
13104
13105 \end_inset
13106
13107
13108 \begin_inset ERT
13109 status collapsed
13110
13111 \begin_layout Standard
13112
13113 }
13114 \end_layout
13115
13116 \end_inset
13117
13118
13119 \end_layout
13120
13121 \begin_layout Standard
13122 As you can see, the content of the first and last table row is not correctly
13123  aligned with the text line where the table is in.
13124  To get this alignment, the minipage box must be set into a raisebox
13125 \begin_inset Foot
13126 status collapsed
13127
13128 \begin_layout Standard
13129 Raiseboxes are described in section\InsetSpace ~
13130
13131 \begin_inset LatexCommand ref
13132 reference "sub:Vertical-Alignment"
13133
13134 \end_inset
13135
13136 .
13137 \end_layout
13138
13139 \end_inset
13140
13141 .
13142  In the example above the second table in the first item is aligned using
13143  the ERT-command
13144 \end_layout
13145
13146 \begin_layout Standard
13147
13148 \series bold
13149
13150 \backslash
13151 raisebox{0.85
13152 \backslash
13153 baselineskip}{
13154 \end_layout
13155
13156 \begin_layout Standard
13157 before the box.
13158  Behind the box the closing brace 
13159 \series bold
13160 }
13161 \series default
13162  is inserted as ERT.
13163  For the second table in the last item the command
13164 \end_layout
13165
13166 \begin_layout Standard
13167
13168 \series bold
13169
13170 \backslash
13171 raisebox{-0.32
13172 \backslash
13173 baselineskip}{
13174 \end_layout
13175
13176 \begin_layout Standard
13177 is used.
13178 \end_layout
13179
13180 \begin_layout Standard
13181 \begin_inset Note Greyedout
13182 status open
13183
13184 \begin_layout Standard
13185
13186 \series bold
13187 Note: 
13188 \series default
13189 The alignment of the table row content to the surrounding text line is not
13190  exact.
13191  The needed factor of the 
13192 \series bold
13193
13194 \backslash
13195 raisebox
13196 \series default
13197  command for this alignment depends on the document font, the font size,
13198  and the table line thickness.
13199 \end_layout
13200
13201 \end_inset
13202
13203
13204 \end_layout
13205
13206 \begin_layout Section
13207 Colored Tables
13208 \begin_inset LatexCommand label
13209 name "sec:Colored-Tables"
13210
13211 \end_inset
13212
13213
13214 \begin_inset LatexCommand index
13215 name "Table ! Color"
13216
13217 \end_inset
13218
13219
13220 \end_layout
13221
13222 \begin_layout Subsection
13223 Colored Cells
13224 \begin_inset LatexCommand index
13225 name "Table Color ! for Cells"
13226
13227 \end_inset
13228
13229
13230 \begin_inset LatexCommand index
13231 name "Color ! for Table Cells"
13232
13233 \end_inset
13234
13235
13236 \end_layout
13237
13238 \begin_layout Standard
13239 \begin_inset Float table
13240 placement h
13241 wide false
13242 sideways false
13243 status open
13244
13245 \begin_layout Standard
13246 \begin_inset Caption
13247
13248 \begin_layout Standard
13249 \begin_inset LatexCommand label
13250 name "tab:Table-colored-without"
13251
13252 \end_inset
13253
13254 Table colored without using the package 
13255 \series bold
13256 colortbl
13257 \series default
13258
13259 \begin_inset OptArg
13260 status collapsed
13261
13262 \begin_layout Standard
13263 Table without colortbl
13264 \end_layout
13265
13266 \end_inset
13267
13268
13269 \end_layout
13270
13271 \end_inset
13272
13273
13274 \end_layout
13275
13276 \begin_layout Standard
13277 \align center
13278 \begin_inset Tabular
13279 <lyxtabular version="3" rows="3" columns="3">
13280 <features>
13281 <column alignment="center" valignment="top" leftline="true" width="0">
13282 <column alignment="center" valignment="top" leftline="true" width="0">
13283 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13284 <row topline="true">
13285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13286 \begin_inset Text
13287
13288 \begin_layout Standard
13289
13290 \color green
13291 a
13292 \end_layout
13293
13294 \end_inset
13295 </cell>
13296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13297 \begin_inset Text
13298
13299 \begin_layout Standard
13300
13301 \color red
13302 b
13303 \end_layout
13304
13305 \end_inset
13306 </cell>
13307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13308 \begin_inset Text
13309
13310 \begin_layout Standard
13311
13312 \color red
13313 c
13314 \end_layout
13315
13316 \end_inset
13317 </cell>
13318 </row>
13319 <row topline="true">
13320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13321 \begin_inset Text
13322
13323 \begin_layout Standard
13324
13325 \color green
13326 d
13327 \end_layout
13328
13329 \end_inset
13330 </cell>
13331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13332 \begin_inset Text
13333
13334 \begin_layout Standard
13335
13336 \color blue
13337 e
13338 \end_layout
13339
13340 \end_inset
13341 </cell>
13342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13343 \begin_inset Text
13344
13345 \begin_layout Standard
13346
13347 \color blue
13348 f
13349 \end_layout
13350
13351 \end_inset
13352 </cell>
13353 </row>
13354 <row topline="true" bottomline="true">
13355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13356 \begin_inset Text
13357
13358 \begin_layout Standard
13359
13360 \color green
13361 g
13362 \end_layout
13363
13364 \end_inset
13365 </cell>
13366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13367 \begin_inset Text
13368
13369 \begin_layout Standard
13370
13371 \color blue
13372 h
13373 \end_layout
13374
13375 \end_inset
13376 </cell>
13377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13378 \begin_inset Text
13379
13380 \begin_layout Standard
13381
13382 \color blue
13383 i
13384 \end_layout
13385
13386 \end_inset
13387 </cell>
13388 </row>
13389 </lyxtabular>
13390
13391 \end_inset
13392
13393
13394 \end_layout
13395
13396 \end_inset
13397
13398
13399 \end_layout
13400
13401 \begin_layout Standard
13402 If you only need colored text, mark the cells and choose a color in the
13403  menu 
13404 \family sans
13405 Edit\SpecialChar \menuseparator
13406 Text\InsetSpace ~
13407 Style
13408 \family default
13409 .
13410  This was used to create Table\InsetSpace ~
13411
13412 \begin_inset LatexCommand ref
13413 reference "tab:Table-colored-without"
13414
13415 \end_inset
13416
13417 .
13418  In any other case you have to use the LaTeX-package 
13419 \series bold
13420 colortbl
13421 \series default
13422 .
13423 \begin_inset LatexCommand index
13424 name "LaTeX-packages ! colortbl"
13425
13426 \end_inset
13427
13428
13429 \end_layout
13430
13431 \begin_layout Standard
13432 To create colored tables, 
13433 \series bold
13434 colortbl
13435 \series default
13436  must be loaded in the preamble with the line
13437 \end_layout
13438
13439 \begin_layout Standard
13440
13441 \series bold
13442
13443 \backslash
13444 usepackage{colortbl}
13445 \end_layout
13446
13447 \begin_layout Standard
13448 The color of a column is adjusted with the command
13449 \end_layout
13450
13451 \begin_layout Standard
13452
13453 \series bold
13454
13455 \backslash
13456 columncolor{name of color}
13457 \end_layout
13458
13459 \begin_layout Standard
13460 inside the command 
13461 \series bold
13462 >{ }
13463 \series default
13464 .
13465  More about the command 
13466 \series bold
13467 >{}
13468 \series default
13469  is described in section\InsetSpace ~
13470
13471 \begin_inset LatexCommand ref
13472 reference "sub:Multicolumn-Calculations"
13473
13474 \end_inset
13475
13476 .
13477 \end_layout
13478
13479 \begin_layout Standard
13480 The following color names are predefined:
13481 \end_layout
13482
13483 \begin_layout Standard
13484
13485 \family sans
13486 red
13487 \family default
13488
13489 \family sans
13490 green
13491 \family default
13492
13493 \family sans
13494 yellow
13495 \family default
13496
13497 \family sans
13498 blue
13499 \family default
13500
13501 \family sans
13502 cyan
13503 \family default
13504
13505 \family sans
13506 magenta
13507 \family default
13508
13509 \family sans
13510 black
13511 \family default
13512  and 
13513 \family sans
13514 white
13515 \end_layout
13516
13517 \begin_layout Standard
13518 \begin_inset VSpace medskip
13519 \end_inset
13520
13521
13522 \end_layout
13523
13524 \begin_layout Standard
13525 You can also define your own color with the command
13526 \end_layout
13527
13528 \begin_layout Standard
13529
13530 \series bold
13531
13532 \backslash
13533 def\SpecialChar \textcompwordmark{}
13534 inecolor{color name}{color model}{color values}
13535 \end_layout
13536
13537 \begin_layout Standard
13538 The color model can be
13539 \end_layout
13540
13541 \begin_layout Labeling
13542 \labelwidthstring 00.00.0000
13543 cmyk: cyan, magenta, yellow, black
13544 \end_layout
13545
13546 \begin_layout Labeling
13547 \labelwidthstring 00.00.0000
13548 rgb: red, green blue
13549 \end_layout
13550
13551 \begin_layout Labeling
13552 \labelwidthstring 00.00.0000
13553 gray gray
13554 \end_layout
13555
13556 \begin_layout Standard
13557 and the color values are comma separated numbers between 0 and 1 describing
13558  the factor for the corresponding color of the color model.
13559 \end_layout
13560
13561 \begin_layout Standard
13562 You can e.\InsetSpace \thinspace{}
13563 g.\InsetSpace ~
13564 define the color "
13565 \emph on
13566 darkgreen
13567 \emph default
13568 " in the preamble with
13569 \end_layout
13570
13571 \begin_layout Standard
13572
13573 \series bold
13574
13575 \backslash
13576 def\SpecialChar \textcompwordmark{}
13577 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13578 \end_layout
13579
13580 \begin_layout Standard
13581 and the color "
13582 \emph on
13583 lightgray
13584 \emph default
13585 " with
13586 \end_layout
13587
13588 \begin_layout Standard
13589
13590 \series bold
13591
13592 \backslash
13593 def\SpecialChar \textcompwordmark{}
13594 inecolor{lightgray}{gray}{0.8}
13595 \end_layout
13596
13597 \begin_layout Standard
13598 \begin_inset VSpace medskip
13599 \end_inset
13600
13601
13602 \end_layout
13603
13604 \begin_layout Standard
13605 Lines are colored with the command
13606 \end_layout
13607
13608 \begin_layout Standard
13609
13610 \series bold
13611
13612 \backslash
13613 rowcolor{name of color}
13614 \end_layout
13615
13616 \begin_layout Standard
13617 and cells are colored with the command
13618 \end_layout
13619
13620 \begin_layout Standard
13621
13622 \series bold
13623
13624 \backslash
13625 cellcolor{name of color}
13626 \end_layout
13627
13628 \begin_layout Standard
13629 Both commands are inserted at the beginning of a cell as ERT.
13630 \end_layout
13631
13632 \begin_layout Standard
13633 To color characters in the table, mark the cells and use the LyX menu 
13634 \family sans
13635 Edit\SpecialChar \menuseparator
13636 Text\InsetSpace ~
13637 Style
13638 \family default
13639 .
13640  If a cell contains ERT mark only the characters, otherwise the colored
13641  ERT will cause LaTeX-errors.
13642 \end_layout
13643
13644 \begin_layout Standard
13645 \begin_inset VSpace bigskip
13646 \end_inset
13647
13648
13649 \end_layout
13650
13651 \begin_layout Standard
13652 To create Table\InsetSpace ~
13653
13654 \begin_inset LatexCommand ref
13655 reference "tab:Table-colored-using"
13656
13657 \end_inset
13658
13659  do the following: The color of the first column should be 
13660 \emph on
13661 darkgreen
13662 \emph default
13663 .
13664  So insert
13665 \end_layout
13666
13667 \begin_layout Standard
13668
13669 \series bold
13670 >{
13671 \backslash
13672 columncolor{darkgreen}
13673 \backslash
13674 centering}c
13675 \end_layout
13676
13677 \begin_layout Standard
13678 as LaTeX-argument for this column.
13679  The first row should be blue, therefore the ERT command
13680 \end_layout
13681
13682 \begin_layout Standard
13683
13684 \series bold
13685
13686 \backslash
13687 rowcolow{cyan}
13688 \end_layout
13689
13690 \begin_layout Standard
13691 is inserted to the first cell of this row.
13692  Note that this overwrites the column color for the first cell.
13693  The last cell of the last row is colored magenta by inserting the ERT command
13694 \end_layout
13695
13696 \begin_layout Standard
13697
13698 \series bold
13699
13700 \backslash
13701 cellcolor{magenta}
13702 \end_layout
13703
13704 \begin_layout Standard
13705 The characters could now be colored using the menu 
13706 \family sans
13707 Edit\SpecialChar \menuseparator
13708 Text\InsetSpace ~
13709 Style
13710 \family default
13711 .
13712 \end_layout
13713
13714 \begin_layout Standard
13715 \begin_inset Float table
13716 placement h
13717 wide false
13718 sideways false
13719 status open
13720
13721 \begin_layout Standard
13722 \begin_inset Caption
13723
13724 \begin_layout Standard
13725 \begin_inset LatexCommand label
13726 name "tab:Table-colored-using"
13727
13728 \end_inset
13729
13730 Table colored using the package 
13731 \series bold
13732 colortbl
13733 \series default
13734
13735 \begin_inset OptArg
13736 status collapsed
13737
13738 \begin_layout Standard
13739 Table with colortbl
13740 \end_layout
13741
13742 \end_inset
13743
13744
13745 \end_layout
13746
13747 \end_inset
13748
13749
13750 \end_layout
13751
13752 \begin_layout Standard
13753 \align center
13754 \begin_inset Tabular
13755 <lyxtabular version="3" rows="3" columns="3">
13756 <features>
13757 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13758 <column alignment="center" valignment="top" width="0">
13759 <column alignment="center" valignment="top" width="0">
13760 <row>
13761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13762 \begin_inset Text
13763
13764 \begin_layout Standard
13765 \begin_inset ERT
13766 status collapsed
13767
13768 \begin_layout Standard
13769
13770
13771 \backslash
13772 rowcolor{cyan}
13773 \end_layout
13774
13775 \end_inset
13776
13777
13778 \color magenta
13779 a
13780 \end_layout
13781
13782 \end_inset
13783 </cell>
13784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13785 \begin_inset Text
13786
13787 \begin_layout Standard
13788
13789 \color red
13790 b
13791 \end_layout
13792
13793 \end_inset
13794 </cell>
13795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13796 \begin_inset Text
13797
13798 \begin_layout Standard
13799
13800 \color red
13801 c
13802 \end_layout
13803
13804 \end_inset
13805 </cell>
13806 </row>
13807 <row>
13808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13809 \begin_inset Text
13810
13811 \begin_layout Standard
13812
13813 \color yellow
13814 d
13815 \end_layout
13816
13817 \end_inset
13818 </cell>
13819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13820 \begin_inset Text
13821
13822 \begin_layout Standard
13823
13824 \color blue
13825 e
13826 \end_layout
13827
13828 \end_inset
13829 </cell>
13830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13831 \begin_inset Text
13832
13833 \begin_layout Standard
13834
13835 \color blue
13836 f
13837 \end_layout
13838
13839 \end_inset
13840 </cell>
13841 </row>
13842 <row>
13843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13844 \begin_inset Text
13845
13846 \begin_layout Standard
13847
13848 \color yellow
13849 g
13850 \end_layout
13851
13852 \end_inset
13853 </cell>
13854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13855 \begin_inset Text
13856
13857 \begin_layout Standard
13858
13859 \color blue
13860 h
13861 \end_layout
13862
13863 \end_inset
13864 </cell>
13865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13866 \begin_inset Text
13867
13868 \begin_layout Standard
13869 \begin_inset ERT
13870 status collapsed
13871
13872 \begin_layout Standard
13873
13874
13875 \backslash
13876 cellcolor{magenta}
13877 \end_layout
13878
13879 \end_inset
13880
13881
13882 \color green
13883 i
13884 \end_layout
13885
13886 \end_inset
13887 </cell>
13888 </row>
13889 </lyxtabular>
13890
13891 \end_inset
13892
13893
13894 \end_layout
13895
13896 \end_inset
13897
13898
13899 \end_layout
13900
13901 \begin_layout Subsection
13902 Colored Lines
13903 \begin_inset LatexCommand index
13904 name "Table Color ! for Lines"
13905
13906 \end_inset
13907
13908
13909 \begin_inset LatexCommand index
13910 name "Color ! for Table Lines"
13911
13912 \end_inset
13913
13914
13915 \end_layout
13916
13917 \begin_layout Standard
13918 As described in section\InsetSpace ~
13919
13920 \begin_inset LatexCommand ref
13921 reference "sub:Line-Thickness"
13922
13923 \end_inset
13924
13925 , the line thickness for all lines in a table can be adjusted with the length
13926  
13927 \series bold
13928
13929 \backslash
13930 arrayrulewidth
13931 \series default
13932 .
13933  It is set to 1.5\InsetSpace \thinspace{}
13934 pt for all tables of this section.
13935 \begin_inset ERT
13936 status collapsed
13937
13938 \begin_layout Standard
13939
13940
13941 \backslash
13942 setlength{
13943 \backslash
13944 arrayrulewidth}{1.5pt}
13945 \end_layout
13946
13947 \end_inset
13948
13949
13950 \end_layout
13951
13952 \begin_layout Standard
13953 To color vertical lines for example with green, create the following column
13954  format in the document preamble, according to the description in section\InsetSpace ~
13955
13956 \begin_inset LatexCommand ref
13957 reference "sub:Customized-Format"
13958
13959 \end_inset
13960
13961 :
13962 \end_layout
13963
13964 \begin_layout Standard
13965
13966 \series bold
13967
13968 \backslash
13969 newcolumntype{W}{!{
13970 \backslash
13971 color{green}
13972 \backslash
13973 vline}}
13974 \end_layout
13975
13976 \begin_layout Standard
13977 For Table\InsetSpace ~
13978
13979 \begin_inset LatexCommand ref
13980 reference "tab:Table-with-vertical-colored"
13981
13982 \end_inset
13983
13984  the LaTeX-argument
13985 \end_layout
13986
13987 \begin_layout Standard
13988
13989 \series bold
13990 WcW
13991 \end_layout
13992
13993 \begin_layout Standard
13994 was used for the last column and
13995 \end_layout
13996
13997 \begin_layout Standard
13998
13999 \series bold
14000 Wc
14001 \end_layout
14002
14003 \begin_layout Standard
14004 for the other columns.
14005 \end_layout
14006
14007 \begin_layout Standard
14008 If you want to have several colors, define more column formats.
14009 \end_layout
14010
14011 \begin_layout Standard
14012 \begin_inset Float table
14013 wide false
14014 sideways false
14015 status open
14016
14017 \begin_layout Standard
14018 \begin_inset Caption
14019
14020 \begin_layout Standard
14021 \begin_inset LatexCommand label
14022 name "tab:Table-with-vertical-colored"
14023
14024 \end_inset
14025
14026 Table with colored vertical lines
14027 \end_layout
14028
14029 \end_inset
14030
14031
14032 \end_layout
14033
14034 \begin_layout Standard
14035 \align center
14036 \begin_inset Tabular
14037 <lyxtabular version="3" rows="3" columns="3">
14038 <features>
14039 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14040 <column alignment="center" valignment="top" width="0" special="Wc">
14041 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14042 <row topline="true">
14043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14044 \begin_inset Text
14045
14046 \begin_layout Standard
14047 sd
14048 \end_layout
14049
14050 \end_inset
14051 </cell>
14052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14053 \begin_inset Text
14054
14055 \begin_layout Standard
14056
14057 \end_layout
14058
14059 \end_inset
14060 </cell>
14061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14062 \begin_inset Text
14063
14064 \begin_layout Standard
14065
14066 \end_layout
14067
14068 \end_inset
14069 </cell>
14070 </row>
14071 <row topline="true">
14072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14073 \begin_inset Text
14074
14075 \begin_layout Standard
14076
14077 \end_layout
14078
14079 \end_inset
14080 </cell>
14081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14082 \begin_inset Text
14083
14084 \begin_layout Standard
14085 sd
14086 \end_layout
14087
14088 \end_inset
14089 </cell>
14090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14091 \begin_inset Text
14092
14093 \begin_layout Standard
14094
14095 \end_layout
14096
14097 \end_inset
14098 </cell>
14099 </row>
14100 <row topline="true" bottomline="true">
14101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14102 \begin_inset Text
14103
14104 \begin_layout Standard
14105
14106 \end_layout
14107
14108 \end_inset
14109 </cell>
14110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14111 \begin_inset Text
14112
14113 \begin_layout Standard
14114
14115 \end_layout
14116
14117 \end_inset
14118 </cell>
14119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14120 \begin_inset Text
14121
14122 \begin_layout Standard
14123 sd
14124 \end_layout
14125
14126 \end_inset
14127 </cell>
14128 </row>
14129 </lyxtabular>
14130
14131 \end_inset
14132
14133
14134 \end_layout
14135
14136 \end_inset
14137
14138
14139 \end_layout
14140
14141 \begin_layout Standard
14142 \begin_inset VSpace bigskip
14143 \end_inset
14144
14145 To color horizontal lines for example with red, like in Table\InsetSpace ~
14146
14147 \begin_inset LatexCommand ref
14148 reference "tab:Table-with-horizontal-colored"
14149
14150 \end_inset
14151
14152 , insert these commands in ERT before the table or table float:
14153 \end_layout
14154
14155 \begin_layout Standard
14156
14157 \series bold
14158
14159 \backslash
14160 let
14161 \backslash
14162 myHlineC
14163 \backslash
14164 hline
14165 \newline
14166
14167 \backslash
14168 renewcommand{
14169 \backslash
14170 hline}{
14171 \backslash
14172 arrayrulecolor{red}
14173 \backslash
14174 myHlineC
14175 \backslash
14176 arrayrulecolor{black}}
14177 \end_layout
14178
14179 \begin_layout Standard
14180 \begin_inset ERT
14181 status collapsed
14182
14183 \begin_layout Standard
14184
14185
14186 \backslash
14187 let
14188 \backslash
14189 myHlineC
14190 \backslash
14191 hline
14192 \end_layout
14193
14194 \begin_layout Standard
14195
14196
14197 \backslash
14198 renewcommand{
14199 \backslash
14200 hline}{
14201 \backslash
14202 arrayrulecolor{red}
14203 \backslash
14204 myHlineC
14205 \backslash
14206 arrayrulecolor{black}}
14207 \end_layout
14208
14209 \end_inset
14210
14211
14212 \begin_inset Float table
14213 wide false
14214 sideways false
14215 status open
14216
14217 \begin_layout Standard
14218 \begin_inset Caption
14219
14220 \begin_layout Standard
14221 \begin_inset LatexCommand label
14222 name "tab:Table-with-horizontal-colored"
14223
14224 \end_inset
14225
14226 Table with colored horizontal lines
14227 \end_layout
14228
14229 \end_inset
14230
14231
14232 \end_layout
14233
14234 \begin_layout Standard
14235 \align center
14236 \begin_inset Tabular
14237 <lyxtabular version="3" rows="3" columns="3">
14238 <features>
14239 <column alignment="center" valignment="top" leftline="true" width="0">
14240 <column alignment="center" valignment="top" leftline="true" width="0">
14241 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14242 <row topline="true">
14243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14244 \begin_inset Text
14245
14246 \begin_layout Standard
14247 sd
14248 \end_layout
14249
14250 \end_inset
14251 </cell>
14252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14253 \begin_inset Text
14254
14255 \begin_layout Standard
14256
14257 \end_layout
14258
14259 \end_inset
14260 </cell>
14261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14262 \begin_inset Text
14263
14264 \begin_layout Standard
14265
14266 \end_layout
14267
14268 \end_inset
14269 </cell>
14270 </row>
14271 <row topline="true">
14272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14273 \begin_inset Text
14274
14275 \begin_layout Standard
14276
14277 \end_layout
14278
14279 \end_inset
14280 </cell>
14281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14282 \begin_inset Text
14283
14284 \begin_layout Standard
14285 sd
14286 \end_layout
14287
14288 \end_inset
14289 </cell>
14290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14291 \begin_inset Text
14292
14293 \begin_layout Standard
14294
14295 \end_layout
14296
14297 \end_inset
14298 </cell>
14299 </row>
14300 <row topline="true" bottomline="true">
14301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14302 \begin_inset Text
14303
14304 \begin_layout Standard
14305
14306 \end_layout
14307
14308 \end_inset
14309 </cell>
14310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14311 \begin_inset Text
14312
14313 \begin_layout Standard
14314
14315 \end_layout
14316
14317 \end_inset
14318 </cell>
14319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14320 \begin_inset Text
14321
14322 \begin_layout Standard
14323 sd
14324 \end_layout
14325
14326 \end_inset
14327 </cell>
14328 </row>
14329 </lyxtabular>
14330
14331 \end_inset
14332
14333
14334 \end_layout
14335
14336 \end_inset
14337
14338
14339 \end_layout
14340
14341 \begin_layout Standard
14342 \begin_inset ERT
14343 status collapsed
14344
14345 \begin_layout Standard
14346
14347
14348 \backslash
14349 pagebreak 
14350 \end_layout
14351
14352 \end_inset
14353
14354
14355 \end_layout
14356
14357 \begin_layout Standard
14358 To return to the default line color black, insert this command in ERT behind
14359  the table or table float:
14360 \end_layout
14361
14362 \begin_layout Standard
14363
14364 \series bold
14365
14366 \backslash
14367 renewcommand{
14368 \backslash
14369 hline}{
14370 \backslash
14371 myHlineC}
14372 \end_layout
14373
14374 \begin_layout Standard
14375 Table\InsetSpace ~
14376
14377 \begin_inset LatexCommand ref
14378 reference "tab:Table-with-colored"
14379
14380 \end_inset
14381
14382  is an example with colored vertical and horizontal lines.
14383 \end_layout
14384
14385 \begin_layout Standard
14386 \begin_inset Float table
14387 wide false
14388 sideways false
14389 status open
14390
14391 \begin_layout Standard
14392 \begin_inset Caption
14393
14394 \begin_layout Standard
14395 \begin_inset LatexCommand label
14396 name "tab:Table-with-colored"
14397
14398 \end_inset
14399
14400 Table with colored lines
14401 \end_layout
14402
14403 \end_inset
14404
14405
14406 \end_layout
14407
14408 \begin_layout Standard
14409 \align center
14410 \begin_inset Tabular
14411 <lyxtabular version="3" rows="3" columns="3">
14412 <features>
14413 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14414 <column alignment="center" valignment="top" width="0" special="Wc">
14415 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14416 <row topline="true">
14417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14418 \begin_inset Text
14419
14420 \begin_layout Standard
14421 sd
14422 \end_layout
14423
14424 \end_inset
14425 </cell>
14426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14427 \begin_inset Text
14428
14429 \begin_layout Standard
14430
14431 \end_layout
14432
14433 \end_inset
14434 </cell>
14435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14436 \begin_inset Text
14437
14438 \begin_layout Standard
14439
14440 \end_layout
14441
14442 \end_inset
14443 </cell>
14444 </row>
14445 <row topline="true">
14446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14447 \begin_inset Text
14448
14449 \begin_layout Standard
14450
14451 \end_layout
14452
14453 \end_inset
14454 </cell>
14455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14456 \begin_inset Text
14457
14458 \begin_layout Standard
14459 sd
14460 \end_layout
14461
14462 \end_inset
14463 </cell>
14464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14465 \begin_inset Text
14466
14467 \begin_layout Standard
14468
14469 \end_layout
14470
14471 \end_inset
14472 </cell>
14473 </row>
14474 <row topline="true" bottomline="true" topspace="default">
14475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14476 \begin_inset Text
14477
14478 \begin_layout Standard
14479
14480 \end_layout
14481
14482 \end_inset
14483 </cell>
14484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14485 \begin_inset Text
14486
14487 \begin_layout Standard
14488
14489 \end_layout
14490
14491 \end_inset
14492 </cell>
14493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14494 \begin_inset Text
14495
14496 \begin_layout Standard
14497 sd
14498 \end_layout
14499
14500 \end_inset
14501 </cell>
14502 </row>
14503 </lyxtabular>
14504
14505 \end_inset
14506
14507
14508 \end_layout
14509
14510 \end_inset
14511
14512
14513 \end_layout
14514
14515 \begin_layout Standard
14516 \begin_inset ERT
14517 status collapsed
14518
14519 \begin_layout Standard
14520
14521
14522 \backslash
14523 renewcommand{
14524 \backslash
14525 hline}{
14526 \backslash
14527 myHlineC}
14528 \end_layout
14529
14530 \end_inset
14531
14532
14533 \end_layout
14534
14535 \begin_layout Standard
14536 \begin_inset ERT
14537 status collapsed
14538
14539 \begin_layout Standard
14540
14541
14542 \backslash
14543 setlength{
14544 \backslash
14545 arrayrulewidth}{0.4pt}
14546 \end_layout
14547
14548 \end_inset
14549
14550
14551 \end_layout
14552
14553 \begin_layout Section
14554 Table Customization
14555 \begin_inset LatexCommand index
14556 name "Table Customization"
14557
14558 \end_inset
14559
14560
14561 \begin_inset LatexCommand index
14562 name "Table ! Customization"
14563
14564 \end_inset
14565
14566
14567 \end_layout
14568
14569 \begin_layout Subsection
14570 Row Spacing
14571 \begin_inset LatexCommand label
14572 name "sub:Row-Spacing"
14573
14574 \end_inset
14575
14576
14577 \begin_inset LatexCommand index
14578 name "Table Customization ! Row Spacing"
14579
14580 \end_inset
14581
14582
14583 \end_layout
14584
14585 \begin_layout Standard
14586 You can add vertical space to table rows in the 
14587 \family sans
14588 Borders
14589 \family default
14590  tab of the table dialog.
14591  You find there three possibilities:
14592 \end_layout
14593
14594 \begin_layout Description
14595 Top\InsetSpace ~
14596 of\InsetSpace ~
14597 row will add space above the characters of the table row.
14598  If the table is a formal table
14599 \begin_inset Foot
14600 status collapsed
14601
14602 \begin_layout Standard
14603 Formal tables are explained in section\InsetSpace ~
14604
14605 \begin_inset LatexCommand ref
14606 reference "sec:Formal-Tables"
14607
14608 \end_inset
14609
14610 .
14611 \end_layout
14612
14613 \end_inset
14614
14615  LyX will insert as default 0.5\InsetSpace \thinspace{}
14616 em space.
14617  For normal tables the inserted space will unfortunately destroy the vertical
14618  table lines as in the following table: 
14619 \begin_inset Tabular
14620 <lyxtabular version="3" rows="3" columns="1">
14621 <features>
14622 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14623 <row topline="true">
14624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14625 \begin_inset Text
14626
14627 \begin_layout Standard
14628 A
14629 \end_layout
14630
14631 \end_inset
14632 </cell>
14633 </row>
14634 <row topline="true" topspace="3mm">
14635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14636 \begin_inset Text
14637
14638 \begin_layout Standard
14639 3\InsetSpace \thinspace{}
14640 mm space top of row
14641 \end_layout
14642
14643 \end_inset
14644 </cell>
14645 </row>
14646 <row topline="true" bottomline="true">
14647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14648 \begin_inset Text
14649
14650 \begin_layout Standard
14651 C
14652 \end_layout
14653
14654 \end_inset
14655 </cell>
14656 </row>
14657 </lyxtabular>
14658
14659 \end_inset
14660
14661
14662 \newline
14663 So inserting space to the top of row for normal tables is only useful when
14664  you don't have vertical lines.
14665 \end_layout
14666
14667 \begin_layout Description
14668 Bottom\InsetSpace ~
14669 of\InsetSpace ~
14670 row will add space below the characters of the table row.
14671  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14672 em space, for
14673  normal tables the default size is 2\InsetSpace \thinspace{}
14674 pt.
14675 \end_layout
14676
14677 \begin_layout Description
14678 Between\InsetSpace ~
14679 rows only has an effect when you have selected the whole table row
14680  before.
14681  The space is added between the current and the following row.
14682  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14683 em space.
14684  For normal tables the inserted space will unfortunately destroy the vertical
14685  table lines as in the following table: 
14686 \begin_inset Tabular
14687 <lyxtabular version="3" rows="3" columns="1">
14688 <features>
14689 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14690 <row topline="true">
14691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14692 \begin_inset Text
14693
14694 \begin_layout Standard
14695 A
14696 \end_layout
14697
14698 \end_inset
14699 </cell>
14700 </row>
14701 <row topline="true" interlinespace="3mm">
14702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14703 \begin_inset Text
14704
14705 \begin_layout Standard
14706 \begin_inset Formula $\downarrow$
14707 \end_inset
14708
14709  3\InsetSpace \thinspace{}
14710 mm space between row 
14711 \begin_inset Formula $\downarrow$
14712 \end_inset
14713
14714
14715 \end_layout
14716
14717 \end_inset
14718 </cell>
14719 </row>
14720 <row topline="true" bottomline="true">
14721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14722 \begin_inset Text
14723
14724 \begin_layout Standard
14725 \begin_inset Formula $\uparrow$
14726 \end_inset
14727
14728  3\InsetSpace \thinspace{}
14729 mm space between row 
14730 \begin_inset Formula $\uparrow$
14731 \end_inset
14732
14733
14734 \end_layout
14735
14736 \end_inset
14737 </cell>
14738 </row>
14739 </lyxtabular>
14740
14741 \end_inset
14742
14743
14744 \newline
14745 So inserting space to the top of row for normal tables is only useful when
14746  you don't have vertical lines.
14747 \end_layout
14748
14749 \begin_layout Standard
14750 When you want to add extra height to all cells of all tables, you can do
14751  this with the following preamble line:
14752 \end_layout
14753
14754 \begin_layout Standard
14755
14756 \series bold
14757
14758 \backslash
14759 setlength{
14760 \backslash
14761 extrarowheight}{height}
14762 \end_layout
14763
14764 \begin_layout Standard
14765 But this has the disadvantage that the cell texts are no longer exactly
14766  vertically centered.
14767 \end_layout
14768
14769 \begin_layout Subsection
14770 Special Cell Alignment
14771 \begin_inset LatexCommand index
14772 name "Table Customization ! Special Cell Alignment"
14773
14774 \end_inset
14775
14776
14777 \end_layout
14778
14779 \begin_layout Standard
14780 Sometimes it looks better when the cell entries of a column are aligned
14781  with a special character, e.\InsetSpace \thinspace{}
14782 g.\InsetSpace ~
14783 with the decimal separator as in Table\InsetSpace ~
14784
14785 \begin_inset LatexCommand ref
14786 reference "tab:Table-cells-of"
14787
14788 \end_inset
14789
14790 .
14791 \end_layout
14792
14793 \begin_layout Standard
14794 \begin_inset Float table
14795 placement h
14796 wide false
14797 sideways false
14798 status open
14799
14800 \begin_layout Standard
14801 \begin_inset Caption
14802
14803 \begin_layout Standard
14804 \begin_inset LatexCommand label
14805 name "tab:Table-cells-of"
14806
14807 \end_inset
14808
14809 Table cells of a column aligned with the decimal separator.
14810 \end_layout
14811
14812 \end_inset
14813
14814
14815 \end_layout
14816
14817 \begin_layout Standard
14818 \align center
14819 \begin_inset Tabular
14820 <lyxtabular version="3" rows="4" columns="2">
14821 <features>
14822 <column alignment="right" valignment="top" width="0">
14823 <column alignment="left" valignment="top" width="0" special="@{}l">
14824 <row bottomline="true">
14825 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14826 \begin_inset Text
14827
14828 \begin_layout Standard
14829 heading
14830 \end_layout
14831
14832 \end_inset
14833 </cell>
14834 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14835 \begin_inset Text
14836
14837 \begin_layout Standard
14838
14839 \end_layout
14840
14841 \end_inset
14842 </cell>
14843 </row>
14844 <row>
14845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14846 \begin_inset Text
14847
14848 \begin_layout Standard
14849 12.
14850 \end_layout
14851
14852 \end_inset
14853 </cell>
14854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14855 \begin_inset Text
14856
14857 \begin_layout Standard
14858 6
14859 \end_layout
14860
14861 \end_inset
14862 </cell>
14863 </row>
14864 <row>
14865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14866 \begin_inset Text
14867
14868 \begin_layout Standard
14869 0.
14870 \end_layout
14871
14872 \end_inset
14873 </cell>
14874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14875 \begin_inset Text
14876
14877 \begin_layout Standard
14878 68
14879 \end_layout
14880
14881 \end_inset
14882 </cell>
14883 </row>
14884 <row>
14885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14886 \begin_inset Text
14887
14888 \begin_layout Standard
14889 -123.
14890 \end_layout
14891
14892 \end_inset
14893 </cell>
14894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14895 \begin_inset Text
14896
14897 \begin_layout Standard
14898 0
14899 \end_layout
14900
14901 \end_inset
14902 </cell>
14903 </row>
14904 </lyxtabular>
14905
14906 \end_inset
14907
14908
14909 \end_layout
14910
14911 \end_inset
14912
14913
14914 \end_layout
14915
14916 \begin_layout Standard
14917 This table was created with a 4×2 table.
14918  The heading is a centered multicolumn.
14919  The first column is right-aligned and contains the digits before the decimal
14920  point and the decimal point.
14921  The second column is left aligned and contains the digits after the decimal
14922  point.
14923  To omit the space that is normally between two table columns, use the following
14924  LaTeX-argument for the second column:
14925 \end_layout
14926
14927 \begin_layout Standard
14928
14929 \series bold
14930 @{}l
14931 \end_layout
14932
14933 \begin_layout Standard
14934 If you need a vertical line right beside the second column, use this LaTeX-argum
14935 ent instead: 
14936 \series bold
14937 @{}l|
14938 \end_layout
14939
14940 \begin_layout Standard
14941 Table\InsetSpace ~
14942
14943 \begin_inset LatexCommand ref
14944 reference "tab:Several-table-cell"
14945
14946 \end_inset
14947
14948  shows some example alignments.
14949  For the alignment with the relation sign, you must add the second smallest
14950  math-space at the beginning of the last column to get the correct space
14951  surrounding the relation sign.
14952 \end_layout
14953
14954 \begin_layout Standard
14955 \begin_inset Float table
14956 wide false
14957 sideways false
14958 status open
14959
14960 \begin_layout Standard
14961 \begin_inset Caption
14962
14963 \begin_layout Standard
14964 \begin_inset LatexCommand label
14965 name "tab:Several-table-cell"
14966
14967 \end_inset
14968
14969 Several table cell alignments.
14970 \end_layout
14971
14972 \end_inset
14973
14974
14975 \end_layout
14976
14977 \begin_layout Standard
14978 \align center
14979 \begin_inset Tabular
14980 <lyxtabular version="3" rows="4" columns="6">
14981 <features>
14982 <column alignment="right" valignment="top" width="0">
14983 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14984 <column alignment="right" valignment="top" width="0">
14985 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14986 <column alignment="right" valignment="top" width="0">
14987 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
14988 <row bottomline="true">
14989 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14990 \begin_inset Text
14991
14992 \begin_layout Standard
14993 units
14994 \end_layout
14995
14996 \end_inset
14997 </cell>
14998 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14999 \begin_inset Text
15000
15001 \begin_layout Standard
15002
15003 \end_layout
15004
15005 \end_inset
15006 </cell>
15007 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15008 \begin_inset Text
15009
15010 \begin_layout Standard
15011 exponents
15012 \end_layout
15013
15014 \end_inset
15015 </cell>
15016 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15017 \begin_inset Text
15018
15019 \begin_layout Standard
15020
15021 \end_layout
15022
15023 \end_inset
15024 </cell>
15025 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15026 \begin_inset Text
15027
15028 \begin_layout Standard
15029 relations
15030 \end_layout
15031
15032 \end_inset
15033 </cell>
15034 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15035 \begin_inset Text
15036
15037 \begin_layout Standard
15038
15039 \end_layout
15040
15041 \end_inset
15042 </cell>
15043 </row>
15044 <row>
15045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15046 \begin_inset Text
15047
15048 \begin_layout Standard
15049 12×
15050 \end_layout
15051
15052 \end_inset
15053 </cell>
15054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15055 \begin_inset Text
15056
15057 \begin_layout Standard
15058 24\InsetSpace \thinspace{}
15059 bottles
15060 \end_layout
15061
15062 \end_inset
15063 </cell>
15064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15065 \begin_inset Text
15066
15067 \begin_layout Standard
15068 \begin_inset Formula $10\cdot$
15069 \end_inset
15070
15071
15072 \end_layout
15073
15074 \end_inset
15075 </cell>
15076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15077 \begin_inset Text
15078
15079 \begin_layout Standard
15080 \begin_inset Formula $10^{\mbox{-}17}$
15081 \end_inset
15082
15083
15084 \end_layout
15085
15086 \end_inset
15087 </cell>
15088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15089 \begin_inset Text
15090
15091 \begin_layout Standard
15092 \begin_inset Formula $\Gamma(t)\propto$
15093 \end_inset
15094
15095
15096 \end_layout
15097
15098 \end_inset
15099 </cell>
15100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15101 \begin_inset Text
15102
15103 \begin_layout Standard
15104 \begin_inset Formula $\:\Upsilon(t)$
15105 \end_inset
15106
15107
15108 \end_layout
15109
15110 \end_inset
15111 </cell>
15112 </row>
15113 <row>
15114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15115 \begin_inset Text
15116
15117 \begin_layout Standard
15118 1024×
15119 \end_layout
15120
15121 \end_inset
15122 </cell>
15123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15124 \begin_inset Text
15125
15126 \begin_layout Standard
15127 768\InsetSpace \thinspace{}
15128 Pixels
15129 \end_layout
15130
15131 \end_inset
15132 </cell>
15133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15134 \begin_inset Text
15135
15136 \begin_layout Standard
15137 \begin_inset Formula $5.78\cdot$
15138 \end_inset
15139
15140
15141 \end_layout
15142
15143 \end_inset
15144 </cell>
15145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15146 \begin_inset Text
15147
15148 \begin_layout Standard
15149 \begin_inset Formula $10^{7}$
15150 \end_inset
15151
15152
15153 \end_layout
15154
15155 \end_inset
15156 </cell>
15157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15158 \begin_inset Text
15159
15160 \begin_layout Standard
15161 \begin_inset Formula $A\ne$
15162 \end_inset
15163
15164
15165 \end_layout
15166
15167 \end_inset
15168 </cell>
15169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15170 \begin_inset Text
15171
15172 \begin_layout Standard
15173 \begin_inset Formula $\: B_{\mathrm{red}}$
15174 \end_inset
15175
15176
15177 \end_layout
15178
15179 \end_inset
15180 </cell>
15181 </row>
15182 <row>
15183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15184 \begin_inset Text
15185
15186 \begin_layout Standard
15187 32×
15188 \end_layout
15189
15190 \end_inset
15191 </cell>
15192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15193 \begin_inset Text
15194
15195 \begin_layout Standard
15196 6\InsetSpace \thinspace{}
15197 cm
15198 \end_layout
15199
15200 \end_inset
15201 </cell>
15202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15203 \begin_inset Text
15204
15205 \begin_layout Standard
15206 -
15207 \begin_inset Formula $33.5\cdot$
15208 \end_inset
15209
15210
15211 \end_layout
15212
15213 \end_inset
15214 </cell>
15215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15216 \begin_inset Text
15217
15218 \begin_layout Standard
15219 \begin_inset Formula $10^{4}$
15220 \end_inset
15221
15222
15223 \end_layout
15224
15225 \end_inset
15226 </cell>
15227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15228 \begin_inset Text
15229
15230 \begin_layout Standard
15231 \begin_inset Formula $\sin(\alpha)\ge$
15232 \end_inset
15233
15234
15235 \end_layout
15236
15237 \end_inset
15238 </cell>
15239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15240 \begin_inset Text
15241
15242 \begin_layout Standard
15243 \begin_inset Formula $\:\sin(\beta)$
15244 \end_inset
15245
15246
15247 \end_layout
15248
15249 \end_inset
15250 </cell>
15251 </row>
15252 </lyxtabular>
15253
15254 \end_inset
15255
15256
15257 \end_layout
15258
15259 \end_inset
15260
15261
15262 \end_layout
15263
15264 \begin_layout Standard
15265 \begin_inset VSpace bigskip
15266 \end_inset
15267
15268 There is also the LaTeX-package 
15269 \series bold
15270 dcolumn
15271 \series default
15272
15273 \begin_inset LatexCommand index
15274 name "LaTeX-packages ! dcolumn"
15275
15276 \end_inset
15277
15278  that provides table cell alignments.
15279  But this unfortunately treats the cell entries as math and doesn't allow
15280  formulas in table cells: The first column of Table\InsetSpace ~
15281
15282 \begin_inset LatexCommand ref
15283 reference "tab:Several-table-cell"
15284
15285 \end_inset
15286
15287  will look with 
15288 \series bold
15289 dcolumn
15290 \series default
15291  like the first column in Table\InsetSpace ~
15292
15293 \begin_inset LatexCommand ref
15294 reference "tab:Alignments-when"
15295
15296 \end_inset
15297
15298  and only with some tricks like the expected.
15299  The alignment of the second and third column of Table\InsetSpace ~
15300
15301 \begin_inset LatexCommand ref
15302 reference "tab:Several-table-cell"
15303
15304 \end_inset
15305
15306  is not possible with 
15307 \series bold
15308 dcolumn
15309 \series default
15310 .
15311 \end_layout
15312
15313 \begin_layout Standard
15314 \begin_inset Float table
15315 placement h
15316 wide false
15317 sideways false
15318 status open
15319
15320 \begin_layout Standard
15321 \begin_inset Caption
15322
15323 \begin_layout Standard
15324 \begin_inset LatexCommand label
15325 name "tab:Alignments-when"
15326
15327 \end_inset
15328
15329 Alignments when LaTeX-package dcolumn is used.
15330  For the second and third alignment some tricks were used.
15331 \end_layout
15332
15333 \end_inset
15334
15335
15336 \end_layout
15337
15338 \begin_layout Standard
15339 \align center
15340 \begin_inset Tabular
15341 <lyxtabular version="3" rows="4" columns="3">
15342 <features>
15343 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15344 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15345 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15346 <row bottomline="true">
15347 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15348 \begin_inset Text
15349
15350 \begin_layout Standard
15351 units
15352 \end_layout
15353
15354 \end_inset
15355 </cell>
15356 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15357 \begin_inset Text
15358
15359 \begin_layout Standard
15360 units
15361 \end_layout
15362
15363 \end_inset
15364 </cell>
15365 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15366 \begin_inset Text
15367
15368 \begin_layout Standard
15369 units
15370 \end_layout
15371
15372 \end_inset
15373 </cell>
15374 </row>
15375 <row>
15376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15377 \begin_inset Text
15378
15379 \begin_layout Standard
15380 12×24\InsetSpace \thinspace{}
15381 bottles
15382 \end_layout
15383
15384 \end_inset
15385 </cell>
15386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15387 \begin_inset Text
15388
15389 \begin_layout Standard
15390 12×24\InsetSpace \thinspace{}
15391
15392 \begin_inset Formula $\mbox{bottles}$
15393 \end_inset
15394
15395
15396 \end_layout
15397
15398 \end_inset
15399 </cell>
15400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15401 \begin_inset Text
15402
15403 \begin_layout Standard
15404 12×24~
15405 \begin_inset Formula $\mbox{bottles}$
15406 \end_inset
15407
15408
15409 \end_layout
15410
15411 \end_inset
15412 </cell>
15413 </row>
15414 <row>
15415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15416 \begin_inset Text
15417
15418 \begin_layout Standard
15419 1024×768\InsetSpace \thinspace{}
15420 Pixels
15421 \end_layout
15422
15423 \end_inset
15424 </cell>
15425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15426 \begin_inset Text
15427
15428 \begin_layout Standard
15429 1024×768\InsetSpace \thinspace{}
15430
15431 \begin_inset Formula $\mbox{Pixels}$
15432 \end_inset
15433
15434
15435 \end_layout
15436
15437 \end_inset
15438 </cell>
15439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15440 \begin_inset Text
15441
15442 \begin_layout Standard
15443 1024×768~
15444 \begin_inset Formula $\mbox{Pixels}$
15445 \end_inset
15446
15447
15448 \end_layout
15449
15450 \end_inset
15451 </cell>
15452 </row>
15453 <row>
15454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15455 \begin_inset Text
15456
15457 \begin_layout Standard
15458 32×6\InsetSpace \thinspace{}
15459 cm
15460 \end_layout
15461
15462 \end_inset
15463 </cell>
15464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15465 \begin_inset Text
15466
15467 \begin_layout Standard
15468 32×6\InsetSpace \thinspace{}
15469
15470 \begin_inset Formula $\mbox{cm}$
15471 \end_inset
15472
15473
15474 \end_layout
15475
15476 \end_inset
15477 </cell>
15478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15479 \begin_inset Text
15480
15481 \begin_layout Standard
15482 32×6~
15483 \begin_inset Formula $\mbox{cm}$
15484 \end_inset
15485
15486
15487 \end_layout
15488
15489 \end_inset
15490 </cell>
15491 </row>
15492 </lyxtabular>
15493
15494 \end_inset
15495
15496
15497 \end_layout
15498
15499 \end_inset
15500
15501
15502 \end_layout
15503
15504 \begin_layout Subsection
15505 Customized Cell/Column Format
15506 \begin_inset LatexCommand label
15507 name "sub:Customized-Format"
15508
15509 \end_inset
15510
15511
15512 \begin_inset LatexCommand index
15513 name "Table Customization ! Cell/Column Format"
15514
15515 \end_inset
15516
15517
15518 \end_layout
15519
15520 \begin_layout Standard
15521 Calculating the needed width for spanned columns like in section\InsetSpace ~
15522
15523 \begin_inset LatexCommand ref
15524 reference "sub:Multicolumn-Calculations"
15525
15526 \end_inset
15527
15528  is very annoying if you have several tables with multicolumn cells.
15529  To make life easier, you can define a cell/column format in the preamble,
15530  so that it can be used in all tables of the document.
15531  The format is defined with the command
15532 \end_layout
15533
15534 \begin_layout Standard
15535
15536 \series bold
15537
15538 \backslash
15539 newcolumntype{name of format}[number of arguments]{commands}
15540 \end_layout
15541
15542 \begin_layout Standard
15543 The format name may only consist of one letter.
15544  The letters 
15545 \emph on
15546 b
15547 \emph default
15548
15549 \emph on
15550 c
15551 \emph default
15552
15553 \emph on
15554 l
15555 \emph default
15556
15557 \emph on
15558 m
15559 \emph default
15560
15561 \emph on
15562 p
15563 \emph default
15564  and 
15565 \emph on
15566 r
15567 \emph default
15568  are predefined and cannot be used.
15569  But all letters are allowed as capitals.
15570 \end_layout
15571
15572 \begin_layout Standard
15573 \begin_inset VSpace medskip
15574 \end_inset
15575
15576
15577 \end_layout
15578
15579 \begin_layout Standard
15580 For vertically and horizontally centered multicolumn cells with a fixed
15581  width you can define the cell format
15582 \end_layout
15583
15584 \begin_layout Standard
15585
15586 \series bold
15587
15588 \backslash
15589 newcolumntype{M}[1]{>{
15590 \backslash
15591 centering
15592 \backslash
15593 hspace{0pt}}m{#1}}
15594 \end_layout
15595
15596 \begin_layout Standard
15597 where 
15598 \series bold
15599
15600 \backslash
15601 hspace{0pt}
15602 \series default
15603  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15604
15605 \begin_inset LatexCommand ref
15606 reference "sub:Multiple-Lines-in"
15607
15608 \end_inset
15609
15610 .
15611  Now you can simply enter
15612 \end_layout
15613
15614 \begin_layout Standard
15615
15616 \series bold
15617 |M{width}
15618 \end_layout
15619
15620 \begin_layout Standard
15621 as LaTeX-argument in the table dialog to create a multicolumn.
15622 \end_layout
15623
15624 \begin_layout Standard
15625 \begin_inset VSpace bigskip
15626 \end_inset
15627
15628
15629 \end_layout
15630
15631 \begin_layout Standard
15632 For cells spanned by a multicolumn cell, you can define the format
15633 \end_layout
15634
15635 \begin_layout Standard
15636
15637 \series bold
15638
15639 \backslash
15640 newcolumntype{S}[2]{>{
15641 \backslash
15642 centering
15643 \backslash
15644 hspace{0pt}}
15645 \newline
15646
15647 \begin_inset ERT
15648 status collapsed
15649
15650 \begin_layout Standard
15651
15652
15653 \backslash
15654 phantom{
15655 \end_layout
15656
15657 \end_inset
15658
15659
15660 \backslash
15661 newcolumntype{S}[2]
15662 \begin_inset ERT
15663 status collapsed
15664
15665 \begin_layout Standard
15666
15667 }
15668 \end_layout
15669
15670 \end_inset
15671
15672 m{(#1+(2
15673 \backslash
15674 tabcolsep+
15675 \backslash
15676 arrayrulewidth)*(1-#2))/#2}}
15677 \end_layout
15678
15679 \begin_layout Standard
15680 This format uses equation 
15681 \begin_inset LatexCommand eqref
15682 reference "eq:Wgn"
15683
15684 \end_inset
15685
15686  to calculate the needed width so that each spanned cell has the same width.
15687 \end_layout
15688
15689 \begin_layout Standard
15690 You can now enter
15691 \end_layout
15692
15693 \begin_layout Standard
15694
15695 \series bold
15696 |S{width of multicolumn cell}{number of spanned columns}
15697 \end_layout
15698
15699 \begin_layout Standard
15700 as LaTeX-argument of the column.
15701 \end_layout
15702
15703 \begin_layout Standard
15704 \begin_inset VSpace bigskip
15705 \end_inset
15706
15707
15708 \end_layout
15709
15710 \begin_layout Standard
15711 For colored columns, you can define
15712 \end_layout
15713
15714 \begin_layout Standard
15715
15716 \series bold
15717
15718 \backslash
15719 newcolumntype{K}[1]{>{
15720 \backslash
15721 columncolor{#1}
15722 \backslash
15723 hspace{0pt}}c}
15724 \end_layout
15725
15726 \begin_layout Standard
15727 The 
15728 \begin_inset Quotes eld
15729 \end_inset
15730
15731 c
15732 \begin_inset Quotes erd
15733 \end_inset
15734
15735  at the end creates a column with a flexible width whose text is horizontally
15736  centered.
15737  You can now enter
15738 \end_layout
15739
15740 \begin_layout Standard
15741
15742 \series bold
15743 K{color name}
15744 \end_layout
15745
15746 \begin_layout Standard
15747 as LaTeX-argument.
15748 \end_layout
15749
15750 \begin_layout Standard
15751 \begin_inset VSpace bigskip
15752 \end_inset
15753
15754
15755 \end_layout
15756
15757 \begin_layout Standard
15758 To create Table\InsetSpace ~
15759
15760 \begin_inset LatexCommand ref
15761 reference "tab:Table-using-user-defined"
15762
15763 \end_inset
15764
15765  use the LaTeX-arguments
15766 \end_layout
15767
15768 \begin_layout Standard
15769
15770 \series bold
15771 |M{2.5cm}
15772 \end_layout
15773
15774 \begin_layout Standard
15775 for the first column and the multicolumn,
15776 \end_layout
15777
15778 \begin_layout Standard
15779
15780 \series bold
15781 |K{red}|
15782 \end_layout
15783
15784 \begin_layout Standard
15785 for the the last column, and
15786 \end_layout
15787
15788 \begin_layout Standard
15789
15790 \series bold
15791 |S{2.5cm}{2}
15792 \end_layout
15793
15794 \begin_layout Standard
15795 for the cells in the second column.
15796 \end_layout
15797
15798 \begin_layout Standard
15799 \begin_inset Float table
15800 placement h
15801 wide false
15802 sideways false
15803 status open
15804
15805 \begin_layout Standard
15806 \begin_inset Caption
15807
15808 \begin_layout Standard
15809 \begin_inset LatexCommand label
15810 name "tab:Table-using-user-defined"
15811
15812 \end_inset
15813
15814 Table using user-defined table formats
15815 \end_layout
15816
15817 \end_inset
15818
15819
15820 \end_layout
15821
15822 \begin_layout Standard
15823 \align center
15824 \begin_inset Tabular
15825 <lyxtabular version="3" rows="3" columns="4">
15826 <features>
15827 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15828 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15829 <column alignment="center" valignment="middle" leftline="true" width="0">
15830 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15831 <row topline="true">
15832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15833 \begin_inset Text
15834
15835 \begin_layout Standard
15836 verylongtablecellword
15837 \end_layout
15838
15839 \end_inset
15840 </cell>
15841 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15842 \begin_inset Text
15843
15844 \begin_layout Standard
15845 multiple lines multicolumn
15846 \end_layout
15847
15848 \end_inset
15849 </cell>
15850 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15851 \begin_inset Text
15852
15853 \begin_layout Standard
15854
15855 \end_layout
15856
15857 \end_inset
15858 </cell>
15859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15860 \begin_inset Text
15861
15862 \begin_layout Standard
15863 c
15864 \end_layout
15865
15866 \end_inset
15867 </cell>
15868 </row>
15869 <row topline="true">
15870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15871 \begin_inset Text
15872
15873 \begin_layout Standard
15874 d
15875 \end_layout
15876
15877 \end_inset
15878 </cell>
15879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15880 \begin_inset Text
15881
15882 \begin_layout Standard
15883 e
15884 \end_layout
15885
15886 \end_inset
15887 </cell>
15888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15889 \begin_inset Text
15890
15891 \begin_layout Standard
15892 f
15893 \end_layout
15894
15895 \end_inset
15896 </cell>
15897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15898 \begin_inset Text
15899
15900 \begin_layout Standard
15901 g
15902 \end_layout
15903
15904 \end_inset
15905 </cell>
15906 </row>
15907 <row topline="true" bottomline="true">
15908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15909 \begin_inset Text
15910
15911 \begin_layout Standard
15912 h
15913 \end_layout
15914
15915 \end_inset
15916 </cell>
15917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15918 \begin_inset Text
15919
15920 \begin_layout Standard
15921 i
15922 \end_layout
15923
15924 \end_inset
15925 </cell>
15926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15927 \begin_inset Text
15928
15929 \begin_layout Standard
15930 j
15931 \end_layout
15932
15933 \end_inset
15934 </cell>
15935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15936 \begin_inset Text
15937
15938 \begin_layout Standard
15939 k
15940 \end_layout
15941
15942 \end_inset
15943 </cell>
15944 </row>
15945 </lyxtabular>
15946
15947 \end_inset
15948
15949
15950 \end_layout
15951
15952 \end_inset
15953
15954
15955 \end_layout
15956
15957 \begin_layout Subsection
15958 Line Thickness
15959 \begin_inset LatexCommand label
15960 name "sub:Line-Thickness"
15961
15962 \end_inset
15963
15964
15965 \begin_inset LatexCommand index
15966 name "Table Customization ! Line Thickness"
15967
15968 \end_inset
15969
15970
15971 \end_layout
15972
15973 \begin_layout Standard
15974 The line thickness for all lines in a table can be adjusted with the length
15975  
15976 \series bold
15977
15978 \backslash
15979 arrayrulewidth
15980 \series default
15981 .
15982  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
15983 pt, like in Table\InsetSpace ~
15984
15985 \begin_inset LatexCommand ref
15986 reference "tab:Table-with-1.5"
15987
15988 \end_inset
15989
15990 , insert the command
15991 \end_layout
15992
15993 \begin_layout Standard
15994
15995 \series bold
15996
15997 \backslash
15998 setlength{
15999 \backslash
16000 arrayrulewidth}{1.5pt}
16001 \end_layout
16002
16003 \begin_layout Standard
16004 in ERT before the table or table float.
16005  The changed thickness is valid for all following tables.
16006  To use the default value again, set 
16007 \series bold
16008
16009 \backslash
16010 arrayrulewidth
16011 \series default
16012  to 0.4\InsetSpace \thinspace{}
16013 pt in ERT behind the table or table float.
16014 \end_layout
16015
16016 \begin_layout Standard
16017 \begin_inset ERT
16018 status collapsed
16019
16020 \begin_layout Standard
16021
16022
16023 \backslash
16024 setlength{
16025 \backslash
16026 arrayrulewidth}{1.5pt}
16027 \end_layout
16028
16029 \end_inset
16030
16031
16032 \begin_inset Float table
16033 wide false
16034 sideways false
16035 status open
16036
16037 \begin_layout Standard
16038 \begin_inset Caption
16039
16040 \begin_layout Standard
16041 \begin_inset LatexCommand label
16042 name "tab:Table-with-1.5"
16043
16044 \end_inset
16045
16046 Table with 1.5\InsetSpace \thinspace{}
16047 pt thick lines
16048 \end_layout
16049
16050 \end_inset
16051
16052
16053 \end_layout
16054
16055 \begin_layout Standard
16056 \align center
16057 \begin_inset Tabular
16058 <lyxtabular version="3" rows="3" columns="3">
16059 <features>
16060 <column alignment="center" valignment="top" leftline="true" width="0">
16061 <column alignment="center" valignment="top" leftline="true" width="0">
16062 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16063 <row topline="true">
16064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16065 \begin_inset Text
16066
16067 \begin_layout Standard
16068 sd
16069 \end_layout
16070
16071 \end_inset
16072 </cell>
16073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16074 \begin_inset Text
16075
16076 \begin_layout Standard
16077
16078 \end_layout
16079
16080 \end_inset
16081 </cell>
16082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16083 \begin_inset Text
16084
16085 \begin_layout Standard
16086
16087 \end_layout
16088
16089 \end_inset
16090 </cell>
16091 </row>
16092 <row topline="true">
16093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16094 \begin_inset Text
16095
16096 \begin_layout Standard
16097
16098 \end_layout
16099
16100 \end_inset
16101 </cell>
16102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16103 \begin_inset Text
16104
16105 \begin_layout Standard
16106 sd
16107 \end_layout
16108
16109 \end_inset
16110 </cell>
16111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16112 \begin_inset Text
16113
16114 \begin_layout Standard
16115
16116 \end_layout
16117
16118 \end_inset
16119 </cell>
16120 </row>
16121 <row topline="true" bottomline="true">
16122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16123 \begin_inset Text
16124
16125 \begin_layout Standard
16126
16127 \end_layout
16128
16129 \end_inset
16130 </cell>
16131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16132 \begin_inset Text
16133
16134 \begin_layout Standard
16135
16136 \end_layout
16137
16138 \end_inset
16139 </cell>
16140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16141 \begin_inset Text
16142
16143 \begin_layout Standard
16144 sd
16145 \end_layout
16146
16147 \end_inset
16148 </cell>
16149 </row>
16150 </lyxtabular>
16151
16152 \end_inset
16153
16154
16155 \end_layout
16156
16157 \end_inset
16158
16159
16160 \begin_inset ERT
16161 status collapsed
16162
16163 \begin_layout Standard
16164
16165
16166 \backslash
16167 setlength{
16168 \backslash
16169 arrayrulewidth}{0.4pt}
16170 \end_layout
16171
16172 \end_inset
16173
16174
16175 \end_layout
16176
16177 \begin_layout Standard
16178 \begin_inset VSpace bigskip
16179 \end_inset
16180
16181 To set the line thickness to 1.5\InsetSpace \thinspace{}
16182 pt only for horizontal lines, like in Table\InsetSpace ~
16183
16184 \begin_inset LatexCommand ref
16185 reference "tab:Table-with-horizontal"
16186
16187 \end_inset
16188
16189 , insert these commands in ERT before the table or table float:
16190 \end_layout
16191
16192 \begin_layout Standard
16193
16194 \series bold
16195
16196 \backslash
16197 let
16198 \backslash
16199 myHline
16200 \backslash
16201 hline
16202 \newline
16203
16204 \backslash
16205 renewcommand{
16206 \backslash
16207 hline}
16208 \newline
16209  {
16210 \backslash
16211 noalign{
16212 \backslash
16213 global
16214 \backslash
16215 arrayrulewidth 1.5pt}
16216 \newline
16217   
16218 \backslash
16219 myHline
16220 \backslash
16221 noalign{
16222 \backslash
16223 global
16224 \backslash
16225 arrayrulewidth 0.4pt}}
16226 \end_layout
16227
16228 \begin_layout Standard
16229 To return to the default line thickness, insert this command in ERT behind
16230  the table or table float:
16231 \end_layout
16232
16233 \begin_layout Standard
16234
16235 \series bold
16236
16237 \backslash
16238 renewcommand{
16239 \backslash
16240 hline}{
16241 \backslash
16242 myHline}
16243 \end_layout
16244
16245 \begin_layout Standard
16246 \begin_inset ERT
16247 status collapsed
16248
16249 \begin_layout Standard
16250
16251
16252 \backslash
16253 let
16254 \backslash
16255 myHline
16256 \backslash
16257 hline
16258 \end_layout
16259
16260 \begin_layout Standard
16261
16262
16263 \backslash
16264 renewcommand{
16265 \backslash
16266 hline}
16267 \end_layout
16268
16269 \begin_layout Standard
16270
16271  {
16272 \backslash
16273 noalign{
16274 \backslash
16275 global
16276 \backslash
16277 arrayrulewidth 1.5pt}
16278 \end_layout
16279
16280 \begin_layout Standard
16281
16282   
16283 \backslash
16284 myHline
16285 \backslash
16286 noalign{
16287 \backslash
16288 global
16289 \backslash
16290 arrayrulewidth 0.4pt}}
16291 \end_layout
16292
16293 \end_inset
16294
16295
16296 \begin_inset Float table
16297 wide false
16298 sideways false
16299 status open
16300
16301 \begin_layout Standard
16302 \begin_inset Caption
16303
16304 \begin_layout Standard
16305 \begin_inset LatexCommand label
16306 name "tab:Table-with-horizontal"
16307
16308 \end_inset
16309
16310 Table with 1.5\InsetSpace \thinspace{}
16311 pt thick horizontal lines
16312 \end_layout
16313
16314 \end_inset
16315
16316
16317 \end_layout
16318
16319 \begin_layout Standard
16320 \align center
16321 \begin_inset Tabular
16322 <lyxtabular version="3" rows="3" columns="3">
16323 <features>
16324 <column alignment="center" valignment="top" leftline="true" width="0">
16325 <column alignment="center" valignment="top" leftline="true" width="0">
16326 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16327 <row topline="true">
16328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16329 \begin_inset Text
16330
16331 \begin_layout Standard
16332 sd
16333 \end_layout
16334
16335 \end_inset
16336 </cell>
16337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16338 \begin_inset Text
16339
16340 \begin_layout Standard
16341
16342 \end_layout
16343
16344 \end_inset
16345 </cell>
16346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16347 \begin_inset Text
16348
16349 \begin_layout Standard
16350
16351 \end_layout
16352
16353 \end_inset
16354 </cell>
16355 </row>
16356 <row topline="true">
16357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16358 \begin_inset Text
16359
16360 \begin_layout Standard
16361
16362 \end_layout
16363
16364 \end_inset
16365 </cell>
16366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16367 \begin_inset Text
16368
16369 \begin_layout Standard
16370 sd
16371 \end_layout
16372
16373 \end_inset
16374 </cell>
16375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16376 \begin_inset Text
16377
16378 \begin_layout Standard
16379
16380 \end_layout
16381
16382 \end_inset
16383 </cell>
16384 </row>
16385 <row topline="true" bottomline="true">
16386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16387 \begin_inset Text
16388
16389 \begin_layout Standard
16390
16391 \end_layout
16392
16393 \end_inset
16394 </cell>
16395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16396 \begin_inset Text
16397
16398 \begin_layout Standard
16399
16400 \end_layout
16401
16402 \end_inset
16403 </cell>
16404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16405 \begin_inset Text
16406
16407 \begin_layout Standard
16408 sd
16409 \end_layout
16410
16411 \end_inset
16412 </cell>
16413 </row>
16414 </lyxtabular>
16415
16416 \end_inset
16417
16418
16419 \end_layout
16420
16421 \end_inset
16422
16423
16424 \begin_inset ERT
16425 status collapsed
16426
16427 \begin_layout Standard
16428
16429
16430 \backslash
16431 renewcommand{
16432 \backslash
16433 hline}{
16434 \backslash
16435 myHline}
16436 \end_layout
16437
16438 \end_inset
16439
16440
16441 \end_layout
16442
16443 \begin_layout Standard
16444 \begin_inset VSpace bigskip
16445 \end_inset
16446
16447 To set the line thickness to 1.5\InsetSpace \thinspace{}
16448 pt only for vertical lines, create the following
16449  column format in the document preamble, according to the description in
16450  section\InsetSpace ~
16451
16452 \begin_inset LatexCommand ref
16453 reference "sub:Customized-Format"
16454
16455 \end_inset
16456
16457 :
16458 \end_layout
16459
16460 \begin_layout Standard
16461
16462 \series bold
16463
16464 \backslash
16465 newcolumntype{V}{!{
16466 \backslash
16467 vrule width 1.5pt}}
16468 \end_layout
16469
16470 \begin_layout Standard
16471 For Table\InsetSpace ~
16472
16473 \begin_inset LatexCommand ref
16474 reference "tab:Table-with-vertical"
16475
16476 \end_inset
16477
16478  the LaTeX-argument
16479 \end_layout
16480
16481 \begin_layout Standard
16482
16483 \series bold
16484 VcV
16485 \end_layout
16486
16487 \begin_layout Standard
16488 was used for the last column and
16489 \end_layout
16490
16491 \begin_layout Standard
16492
16493 \series bold
16494 Vc
16495 \end_layout
16496
16497 \begin_layout Standard
16498 for the other columns.
16499 \end_layout
16500
16501 \begin_layout Standard
16502 \begin_inset Float table
16503 wide false
16504 sideways false
16505 status open
16506
16507 \begin_layout Standard
16508 \begin_inset Caption
16509
16510 \begin_layout Standard
16511 \begin_inset LatexCommand label
16512 name "tab:Table-with-vertical"
16513
16514 \end_inset
16515
16516 Table with 1.5\InsetSpace \thinspace{}
16517 pt thick vertical lines
16518 \end_layout
16519
16520 \end_inset
16521
16522
16523 \end_layout
16524
16525 \begin_layout Standard
16526 \align center
16527 \begin_inset Tabular
16528 <lyxtabular version="3" rows="3" columns="3">
16529 <features>
16530 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16531 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16532 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16533 <row topline="true">
16534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16535 \begin_inset Text
16536
16537 \begin_layout Standard
16538 sd
16539 \end_layout
16540
16541 \end_inset
16542 </cell>
16543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16544 \begin_inset Text
16545
16546 \begin_layout Standard
16547
16548 \end_layout
16549
16550 \end_inset
16551 </cell>
16552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16553 \begin_inset Text
16554
16555 \begin_layout Standard
16556
16557 \end_layout
16558
16559 \end_inset
16560 </cell>
16561 </row>
16562 <row topline="true">
16563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16564 \begin_inset Text
16565
16566 \begin_layout Standard
16567
16568 \end_layout
16569
16570 \end_inset
16571 </cell>
16572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16573 \begin_inset Text
16574
16575 \begin_layout Standard
16576 sd
16577 \end_layout
16578
16579 \end_inset
16580 </cell>
16581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16582 \begin_inset Text
16583
16584 \begin_layout Standard
16585
16586 \end_layout
16587
16588 \end_inset
16589 </cell>
16590 </row>
16591 <row topline="true" bottomline="true">
16592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16593 \begin_inset Text
16594
16595 \begin_layout Standard
16596
16597 \end_layout
16598
16599 \end_inset
16600 </cell>
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16602 \begin_inset Text
16603
16604 \begin_layout Standard
16605
16606 \end_layout
16607
16608 \end_inset
16609 </cell>
16610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16611 \begin_inset Text
16612
16613 \begin_layout Standard
16614 sd
16615 \end_layout
16616
16617 \end_inset
16618 </cell>
16619 </row>
16620 </lyxtabular>
16621
16622 \end_inset
16623
16624
16625 \end_layout
16626
16627 \end_inset
16628
16629
16630 \end_layout
16631
16632 \begin_layout Subsection
16633 Dashed Lines
16634 \begin_inset LatexCommand index
16635 name "Table Customization ! Dashed Lines"
16636
16637 \end_inset
16638
16639
16640 \end_layout
16641
16642 \begin_layout Standard
16643 \begin_inset ERT
16644 status collapsed
16645
16646 \begin_layout Standard
16647
16648
16649 \backslash
16650 ifarydshln
16651 \end_layout
16652
16653 \end_inset
16654
16655
16656 \begin_inset Note Note
16657 status open
16658
16659 \begin_layout Standard
16660 The following section will only be displayed when you have the LaTeX-package
16661  
16662 \series bold
16663 arydshln
16664 \series default
16665  is installed.
16666 \end_layout
16667
16668 \end_inset
16669
16670
16671 \end_layout
16672
16673 \begin_layout Standard
16674 \begin_inset Float table
16675 placement H
16676 wide false
16677 sideways false
16678 status open
16679
16680 \begin_layout Standard
16681 \begin_inset Caption
16682
16683 \begin_layout Standard
16684 \begin_inset LatexCommand label
16685 name "tab:Table-with-dashed"
16686
16687 \end_inset
16688
16689 Table with dashed lines
16690 \end_layout
16691
16692 \end_inset
16693
16694
16695 \end_layout
16696
16697 \begin_layout Standard
16698 \align center
16699 \begin_inset Tabular
16700 <lyxtabular version="3" rows="5" columns="5">
16701 <features>
16702 <column alignment="center" valignment="top" leftline="true" width="0">
16703 <column alignment="center" valignment="top" leftline="true" width="0">
16704 <column alignment="center" valignment="top" width="0" special=":c">
16705 <column alignment="center" valignment="top" leftline="true" width="0">
16706 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16707 <row topline="true" bottomline="true">
16708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16709 \begin_inset Text
16710
16711 \begin_layout Standard
16712 a
16713 \end_layout
16714
16715 \end_inset
16716 </cell>
16717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16718 \begin_inset Text
16719
16720 \begin_layout Standard
16721 b
16722 \end_layout
16723
16724 \end_inset
16725 </cell>
16726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16727 \begin_inset Text
16728
16729 \begin_layout Standard
16730 c
16731 \end_layout
16732
16733 \end_inset
16734 </cell>
16735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16736 \begin_inset Text
16737
16738 \begin_layout Standard
16739 d
16740 \end_layout
16741
16742 \end_inset
16743 </cell>
16744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16745 \begin_inset Text
16746
16747 \begin_layout Standard
16748 e
16749 \end_layout
16750
16751 \end_inset
16752 </cell>
16753 </row>
16754 <row topline="true">
16755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16756 \begin_inset Text
16757
16758 \begin_layout Standard
16759 f
16760 \end_layout
16761
16762 \end_inset
16763 </cell>
16764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16765 \begin_inset Text
16766
16767 \begin_layout Standard
16768 g
16769 \end_layout
16770
16771 \end_inset
16772 </cell>
16773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16774 \begin_inset Text
16775
16776 \begin_layout Standard
16777 h
16778 \end_layout
16779
16780 \end_inset
16781 </cell>
16782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16783 \begin_inset Text
16784
16785 \begin_layout Standard
16786 i
16787 \end_layout
16788
16789 \end_inset
16790 </cell>
16791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16792 \begin_inset Text
16793
16794 \begin_layout Standard
16795 j
16796 \end_layout
16797
16798 \end_inset
16799 </cell>
16800 </row>
16801 <row>
16802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16803 \begin_inset Text
16804
16805 \begin_layout Standard
16806 \begin_inset ERT
16807 status collapsed
16808
16809 \begin_layout Standard
16810
16811
16812 \backslash
16813 hdashline 
16814 \end_layout
16815
16816 \end_inset
16817
16818 k
16819 \end_layout
16820
16821 \end_inset
16822 </cell>
16823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16824 \begin_inset Text
16825
16826 \begin_layout Standard
16827 l
16828 \end_layout
16829
16830 \end_inset
16831 </cell>
16832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16833 \begin_inset Text
16834
16835 \begin_layout Standard
16836 m
16837 \end_layout
16838
16839 \end_inset
16840 </cell>
16841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16842 \begin_inset Text
16843
16844 \begin_layout Standard
16845 n
16846 \end_layout
16847
16848 \end_inset
16849 </cell>
16850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16851 \begin_inset Text
16852
16853 \begin_layout Standard
16854 o
16855 \end_layout
16856
16857 \end_inset
16858 </cell>
16859 </row>
16860 <row topline="true">
16861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16862 \begin_inset Text
16863
16864 \begin_layout Standard
16865 \begin_inset ERT
16866 status collapsed
16867
16868 \begin_layout Standard
16869
16870
16871 \backslash
16872 cdashline{4-5}
16873 \end_layout
16874
16875 \end_inset
16876
16877 p
16878 \end_layout
16879
16880 \end_inset
16881 </cell>
16882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16883 \begin_inset Text
16884
16885 \begin_layout Standard
16886 q
16887 \end_layout
16888
16889 \end_inset
16890 </cell>
16891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16892 \begin_inset Text
16893
16894 \begin_layout Standard
16895 r
16896 \end_layout
16897
16898 \end_inset
16899 </cell>
16900 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16901 \begin_inset Text
16902
16903 \begin_layout Standard
16904 s
16905 \end_layout
16906
16907 \end_inset
16908 </cell>
16909 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16910 \begin_inset Text
16911
16912 \begin_layout Standard
16913
16914 \end_layout
16915
16916 \end_inset
16917 </cell>
16918 </row>
16919 <row topline="true" bottomline="true">
16920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16921 \begin_inset Text
16922
16923 \begin_layout Standard
16924 t
16925 \end_layout
16926
16927 \end_inset
16928 </cell>
16929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16930 \begin_inset Text
16931
16932 \begin_layout Standard
16933 u
16934 \end_layout
16935
16936 \end_inset
16937 </cell>
16938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16939 \begin_inset Text
16940
16941 \begin_layout Standard
16942 v
16943 \end_layout
16944
16945 \end_inset
16946 </cell>
16947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16948 \begin_inset Text
16949
16950 \begin_layout Standard
16951 w
16952 \end_layout
16953
16954 \end_inset
16955 </cell>
16956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16957 \begin_inset Text
16958
16959 \begin_layout Standard
16960 x
16961 \end_layout
16962
16963 \end_inset
16964 </cell>
16965 </row>
16966 </lyxtabular>
16967
16968 \end_inset
16969
16970
16971 \end_layout
16972
16973 \end_inset
16974
16975
16976 \end_layout
16977
16978 \begin_layout Standard
16979 LyX doesn't natively support dashed lines, so you have to use ERT.
16980  As prerequisite the LaTeX-package 
16981 \series bold
16982 arydshln
16983 \series default
16984
16985 \begin_inset LatexCommand index
16986 name "LaTeX-packages ! arydshln"
16987
16988 \end_inset
16989
16990  must be loaded in the document preamble with the command
16991 \end_layout
16992
16993 \begin_layout Standard
16994
16995 \series bold
16996
16997 \backslash
16998 usepackage{arydshln}
16999 \end_layout
17000
17001 \begin_layout Standard
17002 To make a vertical line dashed, enter the colon 
17003 \begin_inset Quotes eld
17004 \end_inset
17005
17006 :
17007 \begin_inset Quotes erd
17008 \end_inset
17009
17010  together with the character for the horizontal alignment as LaTeX-argument
17011  in the table cell dialog.
17012 \end_layout
17013
17014 \begin_layout Standard
17015 For a horizontal dashed line add the command
17016 \end_layout
17017
17018 \begin_layout Standard
17019
17020 \series bold
17021
17022 \backslash
17023 hdashline
17024 \end_layout
17025
17026 \begin_layout Standard
17027 in ERT as first element of the first cell in the table row.
17028 \end_layout
17029
17030 \begin_layout Standard
17031 For dashed multicolumn lines use the command
17032 \end_layout
17033
17034 \begin_layout Standard
17035
17036 \series bold
17037
17038 \backslash
17039 cdashline{line number
17040 \series default
17041 }
17042 \end_layout
17043
17044 \begin_layout Standard
17045 in ERT as first element of the first cell in the table row.
17046  If you have for example a multicolumn spanning over columns 2 to 4 and
17047  you want to have a dashed line above, add the command
17048 \end_layout
17049
17050 \begin_layout Standard
17051
17052 \series bold
17053
17054 \backslash
17055 cdashline{2-4}
17056 \end_layout
17057
17058 \begin_layout Standard
17059 as first element of the first cell in the row of the multicolumn.
17060 \end_layout
17061
17062 \begin_layout Standard
17063 \begin_inset VSpace bigskip
17064 \end_inset
17065
17066
17067 \end_layout
17068
17069 \begin_layout Standard
17070 Table\InsetSpace ~
17071
17072 \begin_inset LatexCommand ref
17073 reference "tab:Table-with-dashed"
17074
17075 \end_inset
17076
17077  was created using 
17078 \begin_inset Quotes eld
17079 \end_inset
17080
17081
17082 \series bold
17083 :c
17084 \series default
17085
17086 \begin_inset Quotes erd
17087 \end_inset
17088
17089  as LaTeX-argument of the third column.
17090  The ERT command 
17091 \series bold
17092
17093 \backslash
17094 hdashline
17095 \series default
17096  was inserted to the first cell of the third row and the the ERT command
17097 \newline
17098
17099  
17100 \series bold
17101
17102 \backslash
17103 cdashline{4-5}
17104 \series default
17105  was inserted to the first cell of the fourth row.
17106 \end_layout
17107
17108 \begin_layout Standard
17109 \begin_inset Note Greyedout
17110 status open
17111
17112 \begin_layout Standard
17113
17114 \series bold
17115 Note:
17116 \series default
17117  The used LaTeX-package 
17118 \series bold
17119 arydshln
17120 \series default
17121  is apparently not compatible with the LaTeX-package 
17122 \series bold
17123 colortbl
17124 \series default
17125
17126 \begin_inset LatexCommand index
17127 name "LaTeX-packages ! colortbl"
17128
17129 \end_inset
17130
17131  that is used for colored tables in section\InsetSpace ~
17132
17133 \begin_inset LatexCommand ref
17134 reference "sec:Colored-Tables"
17135
17136 \end_inset
17137
17138 .
17139  That means colored tables cannot have dashed lines.
17140 \end_layout
17141
17142 \end_inset
17143
17144
17145 \end_layout
17146
17147 \begin_layout Standard
17148 \begin_inset ERT
17149 status collapsed
17150
17151 \begin_layout Standard
17152
17153
17154 \backslash
17155 else
17156 \end_layout
17157
17158 \end_inset
17159
17160
17161 \begin_inset Note Note
17162 status open
17163
17164 \begin_layout Standard
17165 The following will be displayed when the LaTeX-package 
17166 \series bold
17167 arydshln
17168 \series default
17169  is not installed:
17170 \end_layout
17171
17172 \end_inset
17173
17174
17175 \end_layout
17176
17177 \begin_layout Standard
17178 You need to install the package 
17179 \series bold
17180 arydshln
17181 \series default
17182  to see the contents of this section in the output.
17183 \end_layout
17184
17185 \begin_layout Standard
17186 \begin_inset ERT
17187 status collapsed
17188
17189 \begin_layout Standard
17190
17191
17192 \backslash
17193 fi
17194 \end_layout
17195
17196 \end_inset
17197
17198
17199 \end_layout
17200
17201 \begin_layout Chapter
17202 Floats
17203 \begin_inset LatexCommand index
17204 name "Floats"
17205
17206 \end_inset
17207
17208
17209 \begin_inset LatexCommand label
17210 name "cha:Floats"
17211
17212 \end_inset
17213
17214
17215 \end_layout
17216
17217 \begin_layout Section
17218 Introduction
17219 \begin_inset LatexCommand label
17220 name "sec:FloatIntroduction"
17221
17222 \end_inset
17223
17224
17225 \begin_inset LatexCommand index
17226 name "Floats ! Introduction"
17227
17228 \end_inset
17229
17230
17231 \end_layout
17232
17233 \begin_layout Standard
17234 A float is a block of text associated with some sort of label, which doesn't
17235  have a fixed location.
17236  It can 
17237 \begin_inset Quotes eld
17238 \end_inset
17239
17240 float
17241 \begin_inset Quotes erd
17242 \end_inset
17243
17244  forward or backward a page or two, to wherever it fits best.
17245  
17246 \family sans
17247 Footnotes
17248 \family default
17249  and 
17250 \family sans
17251 Margin\InsetSpace ~
17252 Notes
17253 \family default
17254  are also floats, because they can float to the next page when there are
17255  too many notes at the page.
17256 \end_layout
17257
17258 \begin_layout Standard
17259 Floats allow a high quality layout.
17260  Images and tables can evenly be spread to the pages to avoid white space
17261  and pages without text.
17262  As the floating often destroys the context between the text and the image/table
17263 , every float can be referenced in the text.
17264  Floats are therefore numbered.
17265  Referencing is described in section\InsetSpace ~
17266
17267 \begin_inset LatexCommand ref
17268 reference "sec:Referencing-Floats"
17269
17270 \end_inset
17271
17272 .
17273 \end_layout
17274
17275 \begin_layout Standard
17276 To insert a float, use the menu 
17277 \family sans
17278 Insert\SpecialChar \menuseparator
17279 Floats
17280 \family default
17281 .
17282  This inserts a box with a label in the 
17283 \family sans
17284 Caption
17285 \family default
17286  environment
17287 \begin_inset Foot
17288 status collapsed
17289
17290 \begin_layout Standard
17291 The 
17292 \family sans
17293 Caption
17294 \family default
17295  environment is described in LyX's 
17296 \emph on
17297 Userguide
17298 \emph default
17299 .
17300 \end_layout
17301
17302 \end_inset
17303
17304  into your document.
17305  Every label ends with the character 
17306 \begin_inset Quotes eld
17307 \end_inset
17308
17309 #
17310 \begin_inset Quotes erd
17311 \end_inset
17312
17313  as placeholder for the float number in the output.
17314  The label will automatically be translated to the document language in
17315  the output.
17316  Behind the label you can insert the caption text.
17317  The image or table is inserted above or below the caption in a separate
17318  paragraph within the float.
17319  More about the caption placement is described in section\InsetSpace ~
17320
17321 \begin_inset LatexCommand ref
17322 reference "sec:Caption-Placement"
17323
17324 \end_inset
17325
17326 .
17327  To keep your LyX-document readable, you can open and close the float box
17328  by left-clicking on the box label.
17329  A closed float box looks like this: 
17330 \begin_inset Graphics
17331         filename ../clipart/floatQt4.png
17332         scale 70
17333
17334 \end_inset
17335
17336  -- a gray button with a red label.
17337 \end_layout
17338
17339 \begin_layout Standard
17340 It is recommended to insert floats as a separate paragraph to avoid possible
17341  LaTeX-errors that can occur when the surrounding text is specially formatted.
17342 \end_layout
17343
17344 \begin_layout Standard
17345 Existing figures or tables can be put into a float by marking them and then
17346  pressing the corresponding toolbar button for a new float.
17347 \end_layout
17348
17349 \begin_layout Section
17350 Float Types
17351 \end_layout
17352
17353 \begin_layout Standard
17354 Besides figure and table floats that are described in section\InsetSpace ~
17355
17356 \begin_inset LatexCommand ref
17357 reference "sec:Figure-Floats"
17358
17359 \end_inset
17360
17361  and 
17362 \begin_inset LatexCommand ref
17363 reference "sec:Table-Floats"
17364
17365 \end_inset
17366
17367 , respectively, LyX offers the float types 
17368 \series bold
17369 Algorithm
17370 \series default
17371  and 
17372 \series bold
17373 Text\InsetSpace ~
17374 Wrap\InsetSpace ~
17375 Float
17376 \series default
17377 .
17378 \end_layout
17379
17380 \begin_layout Subsection
17381 Algorithm Floats
17382 \begin_inset LatexCommand index
17383 name "Floats ! Algorithm Floats"
17384
17385 \end_inset
17386
17387
17388 \end_layout
17389
17390 \begin_layout Standard
17391 \begin_inset Float algorithm
17392 placement h
17393 wide false
17394 sideways false
17395 status open
17396
17397 \begin_layout Standard
17398 \begin_inset Caption
17399
17400 \begin_layout Standard
17401 \begin_inset LatexCommand label
17402 name "alg:Example-Algorithm-float"
17403
17404 \end_inset
17405
17406 Example Algorithm float
17407 \end_layout
17408
17409 \end_inset
17410
17411
17412 \end_layout
17413
17414 \begin_layout LyX-Code
17415 for I in 1..N loop
17416 \newline
17417  Sum:= Sum + A(I); /*senseless comment*/
17418 \newline
17419 end loop
17420 \begin_inset VSpace -4mm
17421 \end_inset
17422
17423
17424 \end_layout
17425
17426 \end_inset
17427
17428
17429 \end_layout
17430
17431 \begin_layout Standard
17432 This float type is inserted with the menu 
17433 \family sans
17434 Insert\SpecialChar \menuseparator
17435 Floats\SpecialChar \menuseparator
17436 Algorithm
17437 \family default
17438 .
17439  It is used for program codes and descriptions of algorithms.
17440  A possible environment for algorithms is the 
17441 \family sans
17442 LyX-Code
17443 \family default
17444 , described in LyX's 
17445 \emph on
17446 Userguide
17447 \emph default
17448 .
17449  Algorithm\InsetSpace ~
17450
17451 \begin_inset LatexCommand ref
17452 reference "alg:Example-Algorithm-float"
17453
17454 \end_inset
17455
17456  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17457 mm vertical space was added
17458  at the end of the float to have the bottom rule exactly below the last
17459  text line.
17460 \end_layout
17461
17462 \begin_layout Standard
17463 The float label is not automatically translated into the document language.
17464  If your document is not in English, you have to do this manually by adding
17465  the following line
17466 \series bold
17467  
17468 \series default
17469 to the document preamble
17470 \series bold
17471 :
17472 \end_layout
17473
17474 \begin_layout Standard
17475
17476 \series bold
17477
17478 \backslash
17479 floatname{algorithm}{your\InsetSpace ~
17480 name}
17481 \end_layout
17482
17483 \begin_layout Standard
17484
17485 \family sans
17486 your\InsetSpace ~
17487 name
17488 \family default
17489  is the word 
17490 \begin_inset Quotes eld
17491 \end_inset
17492
17493
17494 \emph on
17495 algorithm
17496 \emph default
17497
17498 \begin_inset Quotes erd
17499 \end_inset
17500
17501  in your language.
17502 \end_layout
17503
17504 \begin_layout Description
17505
17506 \series bold
17507 Note:
17508 \series default
17509  When the LaTeX-package 
17510 \series bold
17511 hyperref
17512 \series default
17513
17514 \begin_inset LatexCommand index
17515 name "LaTeX-packages ! hyperref"
17516
17517 \end_inset
17518
17519  is used to link cross-references to floats in the PDF-output, it must be
17520  loaded in the document preamble before the definition of floats to be able
17521  to reference floats.
17522  As LyX sets the float definition for algorithm floats automatically before
17523  the user editable part of the document preamble, you need to insert the
17524  following preamble lines 
17525 \emph on
17526 after
17527 \emph default
17528  the loading command of 
17529 \series bold
17530 hyperref
17531 \series default
17532 :
17533 \series bold
17534
17535 \begin_inset VSpace defskip
17536 \end_inset
17537
17538
17539 \newline
17540
17541 \backslash
17542 newfloat{Xalgorithm}{tbp}{loa}
17543 \newline
17544
17545 \backslash
17546 floatname{Xalgorithm}{your\InsetSpace ~
17547 name}
17548 \newline
17549
17550 \backslash
17551 newcommand{
17552 \backslash
17553 theHalgorithm}{
17554 \backslash
17555 theHXalgorithm}
17556 \newline
17557
17558 \backslash
17559 renewenvironment{algorithm}[1][tbp]
17560 \newline
17561
17562 \begin_inset ERT
17563 status collapsed
17564
17565 \begin_layout Standard
17566
17567
17568 \backslash
17569 hphantom{ }
17570 \end_layout
17571
17572 \end_inset
17573
17574 {
17575 \backslash
17576 begin{Xalgorithm}[#1]}{
17577 \backslash
17578 end{Xalgorithm}}
17579 \begin_inset VSpace defskip
17580 \end_inset
17581
17582
17583 \series default
17584
17585 \newline
17586 Where 
17587 \family sans
17588 your\InsetSpace ~
17589 name
17590 \family default
17591  is the word 
17592 \begin_inset Quotes eld
17593 \end_inset
17594
17595
17596 \emph on
17597 algorithm
17598 \emph default
17599
17600 \begin_inset Quotes erd
17601 \end_inset
17602
17603  in your language.
17604 \end_layout
17605
17606 \begin_layout Standard
17607 Algorithm floats are not by default numbered in the scheme 
17608 \begin_inset Quotes eld
17609 \end_inset
17610
17611 chapter.algorithm
17612 \begin_inset Quotes erd
17613 \end_inset
17614
17615  like it is the case for table and figure floats in many document-classes.
17616  To number algorithm floats in the same scheme, add this command to your
17617  document preamble:
17618 \end_layout
17619
17620 \begin_layout Standard
17621
17622 \series bold
17623
17624 \backslash
17625 numberwithin{algorithm}{chapter}
17626 \end_layout
17627
17628 \begin_layout Standard
17629 If you use the LaTeX-package 
17630 \series bold
17631 hyperref
17632 \series default
17633 , add this line instead 
17634 \emph on
17635 after
17636 \emph default
17637  the definition of 
17638 \family sans
17639 Xalgorithm
17640 \family default
17641  (the commands from above) to the preamble:
17642 \end_layout
17643
17644 \begin_layout Standard
17645
17646 \series bold
17647
17648 \backslash
17649 numberwithin{Xalgorithm}{chapter}
17650 \end_layout
17651
17652 \begin_layout Standard
17653 To be able to use the command 
17654 \series bold
17655
17656 \backslash
17657 numberwithin
17658 \series default
17659 , set in the tab 
17660 \family sans
17661 Math\InsetSpace ~
17662 Options
17663 \family default
17664  in the document settings the option 
17665 \family sans
17666 Use\InsetSpace ~
17667 AMS\InsetSpace ~
17668 math\InsetSpace ~
17669 package
17670 \family default
17671 .
17672 \end_layout
17673
17674 \begin_layout Subsection
17675 Text Wrap Floats
17676 \begin_inset LatexCommand index
17677 name "Floats ! Text Wrap Floats"
17678
17679 \end_inset
17680
17681
17682 \begin_inset LatexCommand label
17683 name "sub:floatflt-wrap-float"
17684
17685 \end_inset
17686
17687
17688 \end_layout
17689
17690 \begin_layout Standard
17691 This float type is used if you want to 
17692 \begin_inset Quotes eld
17693 \end_inset
17694
17695 wrap
17696 \begin_inset Quotes erd
17697 \end_inset
17698
17699  text around a figure so that it only occupies some fraction of the column
17700  width.
17701  It can be inserted using the menu 
17702 \begin_inset Wrap figure
17703 placement l
17704 width "40col%"
17705 status open
17706
17707 \begin_layout Standard
17708 \begin_inset Graphics
17709         filename mobius.eps
17710         display color
17711         width 40col%
17712         rotateOrigin center
17713
17714 \end_inset
17715
17716
17717 \end_layout
17718
17719 \begin_layout Standard
17720 \begin_inset Caption
17721
17722 \begin_layout Standard
17723 \begin_inset LatexCommand label
17724 name "fig:This-is-a"
17725
17726 \end_inset
17727
17728 This is a wrapped figure, and this is the brilliant caption that describes
17729  it.
17730 \begin_inset VSpace medskip
17731 \end_inset
17732
17733
17734 \end_layout
17735
17736 \end_inset
17737
17738
17739 \end_layout
17740
17741 \end_inset
17742
17743  
17744 \family sans
17745 Insert\SpecialChar \menuseparator
17746 Floats\SpecialChar \menuseparator
17747 Text\InsetSpace ~
17748 Wrap\InsetSpace ~
17749 Float
17750 \family default
17751  if the LaTeX-package 
17752 \series bold
17753 floatflt
17754 \series default
17755
17756 \begin_inset LatexCommand index
17757 name "LaTeX-packages ! floatflt"
17758
17759 \end_inset
17760
17761  is installed.
17762 \begin_inset Foot
17763 status collapsed
17764
17765 \begin_layout Standard
17766 Installing a LaTeX-package is explained it in the 
17767 \emph on
17768 LaTeX\InsetSpace ~
17769 Configuration
17770 \emph default
17771  manual.
17772 \end_layout
17773
17774 \end_inset
17775
17776  The width and placement of the float is adjusted by right-clicking on the
17777  float box.
17778  Figure\InsetSpace ~
17779
17780 \begin_inset LatexCommand ref
17781 reference "fig:This-is-a"
17782
17783 \end_inset
17784
17785  is an example text wrap float with a width of 40
17786 \begin_inset Formula $\,$
17787 \end_inset
17788
17789 col%.
17790 \begin_inset Foot
17791 status collapsed
17792
17793 \begin_layout Standard
17794 Available units are explained in 
17795 \begin_inset LatexCommand ref
17796 reference "cha:Units-available-in"
17797
17798 \end_inset
17799
17800 .
17801 \end_layout
17802
17803 \end_inset
17804
17805  Some space was added under the caption to separate it better from the surroundi
17806 ng text.
17807 \end_layout
17808
17809 \begin_layout Standard
17810 The LaTeX-package 
17811 \series bold
17812 floatflt
17813 \series default
17814  also supports table wrap floats, but they are not yet supported by LyX.
17815  If you need this, read the documentation of 
17816 \series bold
17817 floatflt
17818 \series default
17819  
17820 \begin_inset LatexCommand cite
17821 key "floatflt"
17822
17823 \end_inset
17824
17825 .
17826 \end_layout
17827
17828 \begin_layout Standard
17829 \begin_inset Note Greyedout
17830 status open
17831
17832 \begin_layout Standard
17833
17834 \series bold
17835 Note:
17836 \series default
17837  Text\InsetSpace ~
17838 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17839 g.\InsetSpace ~
17840 having a figure too close to the bottom
17841  of the page can mess things up in the way that the float doesn't appear
17842  in the output or that it is placed over some other text.
17843 \begin_inset Foot
17844 status open
17845
17846 \begin_layout Standard
17847 The better solution is to use the LaTeX-package 
17848 \series bold
17849 wrapf\SpecialChar \textcompwordmark{}
17850 ig
17851 \series default
17852
17853 \begin_inset LatexCommand index
17854 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17855
17856 \end_inset
17857
17858  instead of 
17859 \series bold
17860 floatf\SpecialChar \textcompwordmark{}
17861 lt
17862 \series default
17863 , but it is currently not supported by LyX.
17864 \end_layout
17865
17866 \end_inset
17867
17868
17869 \end_layout
17870
17871 \end_inset
17872
17873
17874 \end_layout
17875
17876 \begin_layout Standard
17877 In general:
17878 \end_layout
17879
17880 \begin_layout Itemize
17881 Wrap floats should not be placed in paragraphs that run over a page break.
17882  That means that wrap floats should better be inserted to the exact place
17883  when the document is nearly ready and you are able to estimate where page
17884  breaks will appear.
17885 \end_layout
17886
17887 \begin_layout Itemize
17888 Wrap floats should either be placed in an own paragraph before the paragraph
17889  where they should wrap into or within a paragraph.
17890 \end_layout
17891
17892 \begin_layout Itemize
17893 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17894  there is a text paragraph between them as separator.
17895 \end_layout
17896
17897 \begin_layout Itemize
17898 Wrap floats are not allowed in section headings or tables.
17899 \end_layout
17900
17901 \begin_layout Section
17902 Referencing Floats
17903 \begin_inset LatexCommand label
17904 name "sec:Referencing-Floats"
17905
17906 \end_inset
17907
17908
17909 \begin_inset LatexCommand index
17910 name "Floats ! References"
17911
17912 \end_inset
17913
17914
17915 \begin_inset LatexCommand index
17916 name "References"
17917
17918 \end_inset
17919
17920
17921 \end_layout
17922
17923 \begin_layout Standard
17924 To reference a float, insert a label into its caption using the menu 
17925 \family sans
17926 Insert\SpecialChar \menuseparator
17927 Label
17928 \family default
17929  or the toolbar button 
17930 \begin_inset Graphics
17931         filename ../images/label-insert.xpm
17932         scale 85
17933
17934 \end_inset
17935
17936 .
17937  A grey label box like this one: 
17938 \begin_inset Graphics
17939         filename ../clipart/labelQt4.png
17940         scale 85
17941
17942 \end_inset
17943
17944  will be inserted and the label window pops up asking for the label text.
17945  LyX offers as text the first words of the caption with a prefix.
17946  The prefix depends on the float type, e.\InsetSpace \thinspace{}
17947 g.\InsetSpace ~
17948 for figure floats the prefix will
17949  be "
17950 \family sans
17951 fig:
17952 \family default
17953 ".
17954 \end_layout
17955
17956 \begin_layout Standard
17957 The label is used as anchor and name for the reference.
17958  You can refer to the label using the menu 
17959 \family sans
17960 Insert\SpecialChar \menuseparator
17961 Cross-reference
17962 \family default
17963  or the toolbar button 
17964 \begin_inset Graphics
17965         filename ../images/dialog-show-new-inset_ref.xpm
17966         scale 85
17967
17968 \end_inset
17969
17970 .
17971  A grey cross-reference box like this one: 
17972 \begin_inset Graphics
17973         filename ../clipart/referenceQt4.png
17974         scale 85
17975
17976 \end_inset
17977
17978  will be inserted and the cross-reference window appear showing all labels
17979  of the document.
17980  If you have multiple LyX-documents opened, choose the one you are working
17981  on from the drop-list at the top of the dialog.
17982  You can now sort the labels alphabetically and then choose one.
17983  At the position of the cross-reference box the float number will appear
17984  in the output.
17985 \end_layout
17986
17987 \begin_layout Standard
17988 It is recommended to use a protected space between the cross-reference name
17989  and its number to avoid line breaks between them.
17990  If a cross-reference refers to a non-existing label, you will see two question
17991  marks in the output instead of the reference.
17992 \end_layout
17993
17994 \begin_layout Standard
17995 You can change labels at any time by clicking on the label box.
17996  References to the changed label will automatically change its link to the
17997  new label text, so that you don't need to take care about this.
17998 \end_layout
17999
18000 \begin_layout Standard
18001 The button 
18002 \family sans
18003 Go\InsetSpace ~
18004 to\InsetSpace ~
18005 Label
18006 \family default
18007  in the cross-reference window sets the cursor before the referred label.
18008  The button text changes then to Go\InsetSpace ~
18009 Back and you can use it to set the cursor
18010  back to the cross-reference.
18011  Right-clicking on a cross-reference box also sets the cursor before the
18012  referenced label but without a possibility to go back.
18013 \end_layout
18014
18015 \begin_layout Subsection
18016 Cross-reference formats
18017 \begin_inset LatexCommand label
18018 name "sub:Cross-reference-formats"
18019
18020 \end_inset
18021
18022
18023 \begin_inset LatexCommand index
18024 name "References ! Formats"
18025
18026 \end_inset
18027
18028
18029 \end_layout
18030
18031 \begin_layout Standard
18032 There are six varieties of cross-references:
18033 \end_layout
18034
18035 \begin_layout Description
18036 <reference>: prints the float number, this is the default: 
18037 \begin_inset LatexCommand ref
18038 reference "fig:Two-distorted-images"
18039
18040 \end_inset
18041
18042
18043 \end_layout
18044
18045 \begin_layout Description
18046 (<reference>): prints the float number within two parentheses, this is the
18047  style normally used to reference formulas, especially when the reference
18048  name 
18049 \begin_inset Quotes eld
18050 \end_inset
18051
18052 Equation
18053 \begin_inset Quotes erd
18054 \end_inset
18055
18056  is omitted: 
18057 \begin_inset LatexCommand eqref
18058 reference "eq:Wgn"
18059
18060 \end_inset
18061
18062
18063 \end_layout
18064
18065 \begin_layout Description
18066 <page>: prints the page number: Page\InsetSpace ~
18067
18068 \begin_inset LatexCommand pageref
18069 reference "fig:Two-distorted-images"
18070
18071 \end_inset
18072
18073
18074 \end_layout
18075
18076 \begin_layout Description
18077 on\InsetSpace ~
18078 page\InsetSpace ~
18079 <page>: prints the text "on page" and the page number: 
18080 \begin_inset LatexCommand vpageref
18081 reference "fig:Two-distorted-images"
18082
18083 \end_inset
18084
18085
18086 \end_layout
18087
18088 \begin_layout Description
18089 <reference>\InsetSpace ~
18090 on\InsetSpace ~
18091 page\InsetSpace ~
18092 <page>: prints the float number, the text "on page", and
18093  the page number: 
18094 \begin_inset LatexCommand vref
18095 reference "fig:Two-distorted-images"
18096
18097 \end_inset
18098
18099
18100 \end_layout
18101
18102 \begin_layout Description
18103 Formatted\InsetSpace ~
18104 reference: prints a self defined cross-reference format:
18105 \newline
18106
18107 \begin_inset LatexCommand prettyref
18108 reference "fig:Two-distorted-images"
18109
18110 \end_inset
18111
18112
18113 \end_layout
18114
18115 \begin_layout Standard
18116 Note that the style <page> won't print the page number if the label is on
18117  the previous, the same, or the next page.
18118  You will e.\InsetSpace \thinspace{}
18119 g.\InsetSpace ~
18120 see the text 
18121 \begin_inset Quotes eld
18122 \end_inset
18123
18124
18125 \family sans
18126 on this page
18127 \family default
18128
18129 \begin_inset Quotes erd
18130 \end_inset
18131
18132  instead.
18133 \end_layout
18134
18135 \begin_layout Standard
18136 The number and current page of the referred document part in the output,
18137  is automatically calculated by LaTeX.
18138  The varieties are adjusted in the field 
18139 \family sans
18140 Format
18141 \family default
18142  of the cross-reference window, that appear when you click on the cross-referenc
18143 e box.
18144 \begin_inset VSpace bigskip
18145 \end_inset
18146
18147
18148 \end_layout
18149
18150 \begin_layout Standard
18151 To define a format for the 
18152 \family sans
18153 Formatted\InsetSpace ~
18154 reference
18155 \family default
18156  style, you have to use the following command in the document preamble:
18157 \end_layout
18158
18159 \begin_layout Standard
18160
18161 \series bold
18162
18163 \backslash
18164 newrefformat{prefix}{text}
18165 \end_layout
18166
18167 \begin_layout Standard
18168 This formatting command affects all references to labels with the same prefix.
18169  To get the format of the 
18170 \family sans
18171 Formatted\InsetSpace ~
18172 reference
18173 \family default
18174  example above, this command was used:
18175 \end_layout
18176
18177 \begin_layout Standard
18178
18179 \series bold
18180
18181 \backslash
18182 newrefformat{fig}
18183 \newline
18184
18185 \begin_inset ERT
18186 status collapsed
18187
18188 \begin_layout Standard
18189
18190
18191 \backslash
18192 hphantom{ }
18193 \end_layout
18194
18195 \end_inset
18196
18197 {Figure~float~
18198 \backslash
18199 ref{#1} printed on page~
18200 \backslash
18201 pageref{#1}}
18202 \end_layout
18203
18204 \begin_layout Standard
18205 The tilde "~" is the LaTeX equivalent for the protected space.
18206  The command 
18207 \series bold
18208
18209 \backslash
18210 ref{#1}
18211 \series default
18212  refers to the float number, the command 
18213 \series bold
18214
18215 \backslash
18216 pageref{#1}
18217 \series default
18218  to the page number.
18219 \end_layout
18220
18221 \begin_layout Subsection
18222 Automatic Reference Naming
18223 \begin_inset LatexCommand index
18224 name "References ! Automatic Reference Naming"
18225
18226 \end_inset
18227
18228
18229 \end_layout
18230
18231 \begin_layout Standard
18232 The LaTeX-package 
18233 \series bold
18234 hyperref
18235 \series default
18236  provides a very useful feature that cross-references automatically include
18237  the name of the referenced floats (or text parts like sections).
18238  You save to write e.\InsetSpace \thinspace{}
18239 g.\InsetSpace ~
18240 the name 
18241 \begin_inset Quotes eld
18242 \end_inset
18243
18244 Figure
18245 \begin_inset Quotes erd
18246 \end_inset
18247
18248  before every reference box.
18249  To get this automatic reference naming, you have to load the LaTeX-package
18250  
18251 \series bold
18252 hyperref
18253 \series default
18254
18255 \begin_inset LatexCommand index
18256 name "LaTeX-packages ! hyperref"
18257
18258 \end_inset
18259
18260  in the document preamble with
18261 \end_layout
18262
18263 \begin_layout Standard
18264
18265 \series bold
18266
18267 \backslash
18268 usepackage[pdfborder={0 0 0}]{hyperref}
18269 \newline
18270
18271 \backslash
18272 AtBeginDocument{
18273 \backslash
18274 renewcommand{
18275 \backslash
18276 ref}[1]{
18277 \backslash
18278 mbox{
18279 \backslash
18280 autoref{#1}}}}
18281 \end_layout
18282
18283 \begin_layout Standard
18284
18285 \series bold
18286 hyperref
18287 \series default
18288  is used to link cross-references in the DVI- and PDF-output, this means
18289  that the reader of your document will be able to click on a table of content
18290  (TOC) entry or on a reference and he will be shown the referenced document
18291  part.
18292  
18293 \series bold
18294 hyperref
18295 \series default
18296  also creates PDF-bookmarks for every section of your document to make it
18297  easier for readers to navigate through the document.
18298  This is also used in this document but when you have a look in the document
18299  preamble you will find various options in the load command of 
18300 \series bold
18301 hyperref
18302 \series default
18303 .
18304  To learn more about the 
18305 \series bold
18306 hyperref
18307 \series default
18308  package, we refer to its documentation 
18309 \begin_inset LatexCommand cite
18310 key "hyperref"
18311
18312 \end_inset
18313
18314 .
18315 \end_layout
18316
18317 \begin_layout Standard
18318 \begin_inset Note Greyedout
18319 status open
18320
18321 \begin_layout Standard
18322
18323 \series bold
18324 Note:
18325 \series default
18326  Automatic reference naming cannot be used when you use cross-references
18327  in the 
18328 \family sans
18329 Formatted\InsetSpace ~
18330 reference
18331 \family default
18332  style, described in section\InsetSpace ~
18333
18334 \begin_inset LatexCommand ref
18335 reference "sub:Cross-reference-formats"
18336
18337 \end_inset
18338
18339 .
18340  That is the reason why it is not used in this document.
18341 \end_layout
18342
18343 \end_inset
18344
18345
18346 \end_layout
18347
18348 \begin_layout Subsection
18349 Reference Position
18350 \begin_inset LatexCommand label
18351 name "sub:Reference-Position"
18352
18353 \end_inset
18354
18355
18356 \begin_inset LatexCommand index
18357 name "References ! Reference Position"
18358
18359 \end_inset
18360
18361
18362 \end_layout
18363
18364 \begin_layout Standard
18365 If you use 
18366 \series bold
18367 hyperref
18368 \series default
18369
18370 \begin_inset LatexCommand index
18371 name "LaTeX-packages ! hyperref"
18372
18373 \end_inset
18374
18375  to link cross-references in the output, you will see that clicking on an
18376  image float reference jumps to the image label.
18377  The caption will be the first text part on the screen, so that you cannot
18378  see the image without scrolling.
18379  This is because the reference link anchor is placed at the position of
18380  the label.
18381  With the use of the package 
18382 \series bold
18383 hypcap
18384 \series default
18385
18386 \begin_inset LatexCommand index
18387 name "LaTeX-packages ! hypcap"
18388
18389 \end_inset
18390
18391 , which is part of the LaTeX-package 
18392 \series bold
18393 oberdiek
18394 \series default
18395
18396 \begin_inset LatexCommand index
18397 name "LaTeX-packages ! oberdiek"
18398
18399 \end_inset
18400
18401 , the link anchor is placed at the beginning of a float.
18402  To use this feature for figure floats, load 
18403 \series bold
18404 hypcap
18405 \series default
18406  in the document preamble with the line
18407 \end_layout
18408
18409 \begin_layout Standard
18410
18411 \series bold
18412
18413 \backslash
18414 usepackage[f\SpecialChar \textcompwordmark{}
18415 igure]{hypcap}
18416 \end_layout
18417
18418 \begin_layout Standard
18419 You can also use 
18420 \series bold
18421 hypcap
18422 \series default
18423  for all floats but this isn't recommended for stability reasons.
18424  For more informations, have a look at 
18425 \series bold
18426 hypcap
18427 \series default
18428 's manual 
18429 \begin_inset LatexCommand cite
18430 key "hypcap"
18431
18432 \end_inset
18433
18434 .
18435 \end_layout
18436
18437 \begin_layout Standard
18438 \begin_inset Note Greyedout
18439 status open
18440
18441 \begin_layout Standard
18442
18443 \series bold
18444 Note:
18445 \series default
18446  
18447 \series bold
18448 hypcap
18449 \series default
18450  must be loaded after 
18451 \series bold
18452 hyperref
18453 \series default
18454  in the document preamble.
18455 \end_layout
18456
18457 \end_inset
18458
18459
18460 \end_layout
18461
18462 \begin_layout Section
18463 Float Placement
18464 \begin_inset LatexCommand label
18465 name "sec:Float-Placement"
18466
18467 \end_inset
18468
18469
18470 \begin_inset LatexCommand index
18471 name "Floats ! Placement"
18472
18473 \end_inset
18474
18475
18476 \end_layout
18477
18478 \begin_layout Standard
18479 Right-clicking on a float-box opens a dialog where you can alter the placement
18480  options that LaTeX uses for positioning the float.
18481 \newline
18482 The option 
18483 \family sans
18484 Span\InsetSpace ~
18485 columns
18486 \family default
18487  is only useful for two-column documents: If you select it, the float will
18488  span across both columns on the page instead of being confined to just
18489  one.
18490 \newline
18491 The option 
18492 \family sans
18493 Rotate\InsetSpace ~
18494 sideways
18495 \family default
18496  is used to rotate floats, see section 
18497 \begin_inset LatexCommand ref
18498 reference "sec:Rotated-Floats"
18499
18500 \end_inset
18501
18502 .
18503 \end_layout
18504
18505 \begin_layout Standard
18506 You can use one ore more of the following options in the float dialog to
18507  set the placement for a particular float when you uncheck the option 
18508 \family sans
18509 Use\InsetSpace ~
18510 default\InsetSpace ~
18511 placement
18512 \family default
18513 :
18514 \end_layout
18515
18516 \begin_layout Description
18517 Here\InsetSpace ~
18518 if\InsetSpace ~
18519 possible: try to place the float on the position where it is inserted
18520 \end_layout
18521
18522 \begin_layout Description
18523 Top\InsetSpace ~
18524 of\InsetSpace ~
18525 page: try to place the float on the top of the current page
18526 \end_layout
18527
18528 \begin_layout Description
18529 Bottom\InsetSpace ~
18530 of\InsetSpace ~
18531 page: try to place the float on the bottom of the current page
18532 \end_layout
18533
18534 \begin_layout Description
18535 Page\InsetSpace ~
18536 of\InsetSpace ~
18537 floats: try to place the float on an own page 
18538 \end_layout
18539
18540 \begin_layout Standard
18541 The order of the above option is 
18542 \emph on
18543 always
18544 \emph default
18545  used by LaTeX.
18546  That means, if you use the default placement, LaTeX will first try out
18547  
18548 \family sans
18549 Here\InsetSpace ~
18550 if\InsetSpace ~
18551 possible
18552 \family default
18553 , then 
18554 \family sans
18555 Top\InsetSpace ~
18556 of\InsetSpace ~
18557 page
18558 \family default
18559 , and then the others.
18560  If you don't use the default, LaTeX will try only the checked options but
18561  in the same order.
18562  If none of the 4 placements are possible the procedure is internally repeated
18563  but it is tried to put the float on the following page.
18564 \end_layout
18565
18566 \begin_layout Standard
18567 By default, each options has its own rules:
18568 \end_layout
18569
18570 \begin_layout Labeling
18571 \labelwidthstring 00.00.0000
18572
18573 \family sans
18574 Top\InsetSpace ~
18575 of\InsetSpace ~
18576 page
18577 \family default
18578  only floats occupying less than 70\InsetSpace \thinspace{}
18579 % of the page can be placed at the top
18580  of a page (
18581 \series bold
18582
18583 \backslash
18584 topfraction
18585 \series default
18586 )
18587 \end_layout
18588
18589 \begin_layout Labeling
18590 \labelwidthstring 00.00.0000
18591
18592 \family sans
18593 Bottom\InsetSpace ~
18594 of\InsetSpace ~
18595 page
18596 \family default
18597 : only floats occupying less than 30\InsetSpace \thinspace{}
18598 % of the page can be placed at the bottom
18599  of a page.
18600  (
18601 \series bold
18602
18603 \backslash
18604 bottomfraction
18605 \series default
18606 )
18607 \end_layout
18608
18609 \begin_layout Labeling
18610 \labelwidthstring 00.00.0000
18611
18612 \family sans
18613 Page\InsetSpace ~
18614 of\InsetSpace ~
18615 floats
18616 \family default
18617 : only if more than 50\InsetSpace \thinspace{}
18618 % of the page are occupied by floats, several floats
18619  can be set together on a page.
18620  (
18621 \series bold
18622
18623 \backslash
18624 floatpagefraction
18625 \series default
18626 )
18627 \end_layout
18628
18629 \begin_layout Standard
18630 If you don't like these rules, you can ignore them by using the additional
18631  option 
18632 \family sans
18633 Ignore\InsetSpace ~
18634 LaTeX\InsetSpace ~
18635 rules
18636 \family default
18637 .
18638 \newline
18639 You can also redefine the rules with LaTeX-commands that are given in parenthese
18640 s behind the rules description above.
18641  To increase for example the often too small default of the bottom-rule
18642  to 50\InsetSpace \thinspace{}
18643 % of the page, add this line to your document preamble:
18644 \end_layout
18645
18646 \begin_layout Standard
18647
18648 \series bold
18649
18650 \backslash
18651 renewcommand{
18652 \backslash
18653 bottomfraction}{0.5}
18654 \end_layout
18655
18656 \begin_layout Standard
18657 Sometimes you might need, under all circumstances, a float to be placed
18658  exactly at the position where it is inserted.
18659  For this case you can use the option 
18660 \family sans
18661 Here\InsetSpace ~
18662 definitely
18663 \family default
18664 .
18665  Use this option very rarely and only if the document is nearly ready to
18666  be printed.
18667  Because the float is then no longer able to 
18668 \begin_inset Quotes eld
18669 \end_inset
18670
18671 float
18672 \begin_inset Quotes erd
18673 \end_inset
18674
18675  when you change your document and this will often destroy the page layout.
18676 \end_layout
18677
18678 \begin_layout Standard
18679 There are no placement options for text wrap floats, because they are always
18680  surrounded by the text of a certain paragraph.
18681 \begin_inset VSpace bigskip
18682 \end_inset
18683
18684
18685 \end_layout
18686
18687 \begin_layout Standard
18688 Sometimes you have the problem that a float is placed at the top of a page
18689  while its corresponding section starts at the middle of the page, so that
18690  the reader could think the float is part of the previous section.
18691  To avoid this the LaTeX-command 
18692 \series bold
18693
18694 \backslash
18695 suppressf\SpecialChar \textcompwordmark{}
18696 loats
18697 \series default
18698  can be used.
18699  It suppresses a given float placement for the page where it is inserted
18700  and can therefore be used to avoid that floats could be set before a section
18701  starts.
18702  To get this, add these commands to your document preamble:
18703 \end_layout
18704
18705 \begin_layout Standard
18706
18707 \series bold
18708
18709 \backslash
18710 let
18711 \backslash
18712 mySection
18713 \backslash
18714 section
18715 \newline
18716
18717 \backslash
18718 renewcommand{
18719 \backslash
18720 section}{
18721 \backslash
18722 suppressf\SpecialChar \textcompwordmark{}
18723 loats[t]
18724 \backslash
18725 mySection}
18726 \end_layout
18727
18728 \begin_layout Standard
18729 You can define the same for all section headings, like chapters and subsections.
18730  This definition is not recommended to be used for small text parts like
18731  subsubsections because LaTeX may then have problems to find a suitable
18732  placement.
18733 \end_layout
18734
18735 \begin_layout Standard
18736 \begin_inset VSpace bigskip
18737 \end_inset
18738
18739 In some cases it is required to have all figures/tables at the end of the
18740  document.
18741  For this purpose the LaTeX-package 
18742 \series bold
18743 endf\SpecialChar \textcompwordmark{}
18744 loat
18745 \series default
18746
18747 \begin_inset LatexCommand index
18748 name "LaTeX-packages ! endfloat"
18749
18750 \end_inset
18751
18752  was developed.
18753  It puts all figure and table floats at the end of the document into own
18754  sections.
18755  At the original float position a text hint like 
18756 \begin_inset Quotes eld
18757 \end_inset
18758
18759
18760 \family sans
18761 [Figure\InsetSpace ~
18762 3.2 about here.]
18763 \family default
18764
18765 \begin_inset Quotes erd
18766 \end_inset
18767
18768  is inserted.
18769  The endfloat-package is loaded in the preamble with the line
18770 \end_layout
18771
18772 \begin_layout Standard
18773
18774 \series bold
18775
18776 \backslash
18777 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18778 loat}
18779 \end_layout
18780
18781 \begin_layout Standard
18782 There are various package options to format the created figure/table sections.
18783  For more information we refer to the 
18784 \series bold
18785 endf\SpecialChar \textcompwordmark{}
18786 loat
18787 \series default
18788  documentation 
18789 \begin_inset LatexCommand cite
18790 key "endfloat"
18791
18792 \end_inset
18793
18794 .
18795 \newline
18796
18797 \begin_inset Note Greyedout
18798 status open
18799
18800 \begin_layout Standard
18801
18802 \series bold
18803 Note: endf\SpecialChar \textcompwordmark{}
18804 loat
18805 \series default
18806  doesn't provide an automatic translation for the text hint, you have to
18807  do this manually, see section\InsetSpace ~
18808 4 in 
18809 \begin_inset LatexCommand cite
18810 key "endfloat"
18811
18812 \end_inset
18813
18814 .
18815 \end_layout
18816
18817 \end_inset
18818
18819
18820 \newline
18821
18822 \begin_inset Note Greyedout
18823 status open
18824
18825 \begin_layout Standard
18826
18827 \series bold
18828 Note:
18829 \series default
18830  There is currently a bug in 
18831 \series bold
18832 endf\SpecialChar \textcompwordmark{}
18833 loat
18834 \series default
18835  when the caption contains a German 
18836 \begin_inset Quotes eld
18837 \end_inset
18838
18839 ß
18840 \begin_inset Quotes erd
18841 \end_inset
18842
18843 .
18844  Use in this case the command 
18845 \begin_inset Quotes eld
18846 \end_inset
18847
18848
18849 \series bold
18850
18851 \backslash
18852 ss
18853 \series default
18854
18855 \begin_inset Quotes erd
18856 \end_inset
18857
18858  in ERT instead of 
18859 \begin_inset Quotes eld
18860 \end_inset
18861
18862 ß
18863 \begin_inset Quotes erd
18864 \end_inset
18865
18866 .
18867 \end_layout
18868
18869 \end_inset
18870
18871
18872 \end_layout
18873
18874 \begin_layout Standard
18875 \begin_inset VSpace bigskip
18876 \end_inset
18877
18878 For more details about float placements, have a look at LaTeX books, 
18879 \begin_inset LatexCommand cite
18880 key "latexcompanion,latexguide,latexbook"
18881
18882 \end_inset
18883
18884 .
18885 \end_layout
18886
18887 \begin_layout Section
18888 Rotated Floats
18889 \begin_inset LatexCommand label
18890 name "sec:Rotated-Floats"
18891
18892 \end_inset
18893
18894
18895 \begin_inset LatexCommand index
18896 name "Floats ! Rotating"
18897
18898 \end_inset
18899
18900
18901 \end_layout
18902
18903 \begin_layout Standard
18904 Especially for wide tables you might have floats rotated.
18905  To rotate a whole float including the caption, right-click on the float-box
18906  and use the option 
18907 \family sans
18908 Rotate\InsetSpace ~
18909 sideways
18910 \family default
18911 .
18912 \end_layout
18913
18914 \begin_layout Standard
18915 Rotated floats are always placed on its own page (or column, when you have
18916  a two-column document).
18917  They are normally rotated so that you can read them from the outside margin
18918  -- to the left on even pages, to the right on odd pages.
18919 \end_layout
18920
18921 \begin_layout Standard
18922 Referencing rotated floats is the same like for normal floats, the caption
18923  format is also the same: Table\InsetSpace ~
18924
18925 \begin_inset LatexCommand ref
18926 reference "tab:Rotated-table"
18927
18928 \end_inset
18929
18930  is an example of a rotated table float.
18931 \end_layout
18932
18933 \begin_layout Standard
18934 \begin_inset Note Greyedout
18935 status open
18936
18937 \begin_layout Standard
18938
18939 \series bold
18940 Note:
18941 \series default
18942  Not all DVI-viewers are able to display rotated floats.
18943 \end_layout
18944
18945 \end_inset
18946
18947
18948 \end_layout
18949
18950 \begin_layout Standard
18951 \begin_inset Float table
18952 wide false
18953 sideways true
18954 status open
18955
18956 \begin_layout Standard
18957 \begin_inset Caption
18958
18959 \begin_layout Standard
18960 \begin_inset LatexCommand label
18961 name "tab:Rotated-table"
18962
18963 \end_inset
18964
18965  Rotated table
18966 \end_layout
18967
18968 \end_inset
18969
18970
18971 \end_layout
18972
18973 \begin_layout Standard
18974 \align center
18975 \begin_inset Tabular
18976 <lyxtabular version="3" rows="1" columns="5">
18977 <features>
18978 <column alignment="center" valignment="top" leftline="true" width="0">
18979 <column alignment="center" valignment="top" leftline="true" width="0">
18980 <column alignment="center" valignment="top" leftline="true" width="0">
18981 <column alignment="center" valignment="top" leftline="true" width="0">
18982 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
18983 <row topline="true" bottomline="true">
18984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18985 \begin_inset Text
18986
18987 \begin_layout Standard
18988 test
18989 \end_layout
18990
18991 \end_inset
18992 </cell>
18993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18994 \begin_inset Text
18995
18996 \begin_layout Standard
18997 b
18998 \end_layout
18999
19000 \end_inset
19001 </cell>
19002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19003 \begin_inset Text
19004
19005 \begin_layout Standard
19006 c
19007 \end_layout
19008
19009 \end_inset
19010 </cell>
19011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19012 \begin_inset Text
19013
19014 \begin_layout Standard
19015 d
19016 \end_layout
19017
19018 \end_inset
19019 </cell>
19020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19021 \begin_inset Text
19022
19023 \begin_layout Standard
19024 e
19025 \end_layout
19026
19027 \end_inset
19028 </cell>
19029 </row>
19030 </lyxtabular>
19031
19032 \end_inset
19033
19034
19035 \end_layout
19036
19037 \end_inset
19038
19039
19040 \end_layout
19041
19042 \begin_layout Section
19043 Caption Formatting
19044 \begin_inset LatexCommand index
19045 name "Caption ! Formatting"
19046
19047 \end_inset
19048
19049
19050 \begin_inset LatexCommand index
19051 name "Floats ! Caption Formatting"
19052
19053 \end_inset
19054
19055
19056 \begin_inset LatexCommand index
19057 name "LaTeX-packages ! caption"
19058
19059 \end_inset
19060
19061
19062 \begin_inset LatexCommand label
19063 name "sec:Caption-Formatting"
19064
19065 \end_inset
19066
19067
19068 \end_layout
19069
19070 \begin_layout Standard
19071 The 
19072 \family sans
19073 Caption
19074 \family default
19075  environment is the default paragraph environment for 
19076 \family sans
19077 Floats
19078 \family default
19079 .
19080  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19081 g.\InsetSpace ~
19082
19083 \begin_inset Quotes eld
19084 \end_inset
19085
19086
19087 \family sans
19088 Figure #:
19089 \family default
19090
19091 \begin_inset Quotes erd
19092 \end_inset
19093
19094  followed by the caption text.
19095  The number sign 
19096 \begin_inset Quotes eld
19097 \end_inset
19098
19099 #
19100 \begin_inset Quotes erd
19101 \end_inset
19102
19103  is substituted in the printed output by the actual reference number.
19104  By default the label and the number are in the same font as the caption
19105  text and a colon follows the number to divide then label from the text.
19106  This caption format is not suitable for all document formats.
19107  
19108 \end_layout
19109
19110 \begin_layout Standard
19111 To change the default caption format, load the LaTeX-package 
19112 \series bold
19113 caption
19114 \series default
19115
19116 \begin_inset LatexCommand index
19117 name "LaTeX-packages ! caption"
19118
19119 \end_inset
19120
19121  in the document preamble with this line:
19122 \end_layout
19123
19124 \begin_layout Standard
19125
19126 \series bold
19127
19128 \backslash
19129 usepackage[format definition]{caption}
19130 \end_layout
19131
19132 \begin_layout Standard
19133 To have for example the label and the number in sans-serif bold font and
19134  the table captions always above the table like in this document, use the
19135  following command:
19136 \end_layout
19137
19138 \begin_layout Standard
19139
19140 \series bold
19141
19142 \backslash
19143 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19144 \end_layout
19145
19146 \begin_layout Standard
19147 You can also define different caption formats for the different float types.
19148  In this case load the 
19149 \series bold
19150 caption
19151 \series default
19152  package without format specific options and define the different formats
19153  with the help of the command
19154 \end_layout
19155
19156 \begin_layout Standard
19157
19158 \series bold
19159
19160 \backslash
19161 captionsetup[float type]{format definition}
19162 \end_layout
19163
19164 \begin_layout Standard
19165 in the document preamble.
19166  For example the caption formats of Figure\InsetSpace ~
19167
19168 \begin_inset LatexCommand ref
19169 reference "fig:This-is-an-fig"
19170
19171 \end_inset
19172
19173  and Table\InsetSpace ~
19174
19175 \begin_inset LatexCommand ref
19176 reference "tab:This-is-an-tab"
19177
19178 \end_inset
19179
19180  can be created using these commands in the document preamble:
19181 \end_layout
19182
19183 \begin_layout Standard
19184
19185 \series bold
19186
19187 \backslash
19188 usepackage[tableposition=top]{caption}
19189 \series default
19190
19191 \newline
19192
19193 \series bold
19194
19195 \backslash
19196 captionsetup[f\SpecialChar \textcompwordmark{}
19197 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19198 \newline
19199
19200 \begin_inset ERT
19201 status collapsed
19202
19203 \begin_layout Standard
19204
19205
19206 \backslash
19207 hphantom{
19208 \backslash
19209
19210 \backslash
19211 captionsetup[figure]
19212 \backslash
19213 {}
19214 \end_layout
19215
19216 \end_inset
19217
19218  labelsep=period}
19219 \newline
19220
19221 \backslash
19222 captionsetup[table]{labelfont={bf,sf}}
19223 \end_layout
19224
19225 \begin_layout Standard
19226 For more information about the package 
19227 \series bold
19228 caption
19229 \series default
19230  we refer to its documentation 
19231 \begin_inset LatexCommand cite
19232 key "caption,caption-de"
19233
19234 \end_inset
19235
19236 .
19237 \end_layout
19238
19239 \begin_layout Standard
19240 \begin_inset VSpace bigskip
19241 \end_inset
19242
19243 If you are using a 
19244 \series bold
19245 koma-script
19246 \series default
19247
19248 \begin_inset LatexCommand index
19249 name "LaTeX-packages ! koma-script"
19250
19251 \end_inset
19252
19253  document class (
19254 \family sans
19255 article (koma-script)
19256 \family default
19257
19258 \family sans
19259 book (koma-script)
19260 \family default
19261
19262 \family sans
19263 letter (koma-script)
19264 \family default
19265 , or 
19266 \family sans
19267 report (koma-script)
19268 \family default
19269 \InsetSpace \thinspace{}
19270 ), you can alternatively to the 
19271 \series bold
19272 caption
19273 \series default
19274  package use 
19275 \series bold
19276 koma-script
19277 \series default
19278 's built-in command 
19279 \series bold
19280
19281 \backslash
19282 setkomafont
19283 \series default
19284 .
19285  For example, to have the caption label in bold, add this command to your
19286  document preamble:
19287 \end_layout
19288
19289 \begin_layout Standard
19290
19291 \series bold
19292
19293 \backslash
19294 setkomafont{captionlabel}{
19295 \backslash
19296 bfseries}
19297 \end_layout
19298
19299 \begin_layout Standard
19300 For more information about 
19301 \series bold
19302
19303 \backslash
19304 setkomafont
19305 \series default
19306  we refer to the 
19307 \series bold
19308 koma-script
19309 \series default
19310  documentation 
19311 \begin_inset LatexCommand cite
19312 key "koma-script,koma-script-de"
19313
19314 \end_inset
19315
19316 .
19317 \end_layout
19318
19319 \begin_layout Standard
19320 \begin_inset ERT
19321 status collapsed
19322
19323 \begin_layout Standard
19324
19325
19326 \backslash
19327 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19328 }
19329 \end_layout
19330
19331 \end_inset
19332
19333
19334 \begin_inset Note Note
19335 status open
19336
19337 \begin_layout Standard
19338 The caption format is changed only for this example.
19339 \end_layout
19340
19341 \end_inset
19342
19343
19344 \end_layout
19345
19346 \begin_layout Standard
19347 \begin_inset Float figure
19348 placement !p
19349 wide false
19350 sideways false
19351 status open
19352
19353 \begin_layout Standard
19354 \align center
19355 \begin_inset Graphics
19356         filename mobius.eps
19357         lyxscale 50
19358         scale 50
19359
19360 \end_inset
19361
19362
19363 \end_layout
19364
19365 \begin_layout Standard
19366 \begin_inset Caption
19367
19368 \begin_layout Standard
19369 \begin_inset LatexCommand label
19370 name "fig:This-is-an-fig"
19371
19372 \end_inset
19373
19374 This is an example figure caption that is longer than one line to show the
19375  different caption format.
19376  Here a self-defined caption format is used.
19377 \end_layout
19378
19379 \end_inset
19380
19381
19382 \end_layout
19383
19384 \end_inset
19385
19386
19387 \end_layout
19388
19389 \begin_layout Standard
19390 \begin_inset ERT
19391 status collapsed
19392
19393 \begin_layout Standard
19394
19395
19396 \backslash
19397 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19398 on}
19399 \end_layout
19400
19401 \end_inset
19402
19403
19404 \end_layout
19405
19406 \begin_layout Standard
19407 \begin_inset Float table
19408 placement !p
19409 wide false
19410 sideways false
19411 status open
19412
19413 \begin_layout Standard
19414 \begin_inset Caption
19415
19416 \begin_layout Standard
19417 \begin_inset LatexCommand label
19418 name "tab:This-is-an-tab"
19419
19420 \end_inset
19421
19422 This is an example table caption that is longer than one line to show the
19423  different caption format.
19424  Here the standard caption format for tables in this document is used.
19425 \end_layout
19426
19427 \end_inset
19428
19429
19430 \end_layout
19431
19432 \begin_layout Standard
19433 \align center
19434 \begin_inset Tabular
19435 <lyxtabular version="3" rows="1" columns="5">
19436 <features>
19437 <column alignment="center" valignment="top" leftline="true" width="0">
19438 <column alignment="center" valignment="top" leftline="true" width="0">
19439 <column alignment="center" valignment="top" leftline="true" width="0">
19440 <column alignment="center" valignment="top" leftline="true" width="0">
19441 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19442 <row topline="true" bottomline="true">
19443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19444 \begin_inset Text
19445
19446 \begin_layout Standard
19447 a
19448 \end_layout
19449
19450 \end_inset
19451 </cell>
19452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19453 \begin_inset Text
19454
19455 \begin_layout Standard
19456 b
19457 \end_layout
19458
19459 \end_inset
19460 </cell>
19461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19462 \begin_inset Text
19463
19464 \begin_layout Standard
19465 c
19466 \end_layout
19467
19468 \end_inset
19469 </cell>
19470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19471 \begin_inset Text
19472
19473 \begin_layout Standard
19474 d
19475 \end_layout
19476
19477 \end_inset
19478 </cell>
19479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19480 \begin_inset Text
19481
19482 \begin_layout Standard
19483 e
19484 \end_layout
19485
19486 \end_inset
19487 </cell>
19488 </row>
19489 </lyxtabular>
19490
19491 \end_inset
19492
19493
19494 \end_layout
19495
19496 \end_inset
19497
19498
19499 \end_layout
19500
19501 \begin_layout Section
19502 Caption Placement
19503 \begin_inset LatexCommand index
19504 name "Caption ! Placement"
19505
19506 \end_inset
19507
19508
19509 \begin_inset LatexCommand index
19510 name "Floats ! Caption Placement"
19511
19512 \end_inset
19513
19514
19515 \begin_inset LatexCommand label
19516 name "sec:Caption-Placement"
19517
19518 \end_inset
19519
19520
19521 \end_layout
19522
19523 \begin_layout Standard
19524 The common caption placement rule is:
19525 \end_layout
19526
19527 \begin_layout Description
19528 Figure: Caption is set below the figure
19529 \end_layout
19530
19531 \begin_layout Description
19532 Table: Caption is set above the table
19533 \end_layout
19534
19535 \begin_layout Standard
19536 Having the caption above the table is unfortunately not supported in LaTeX's
19537  standard classes.
19538  That means if you are using the document classes 
19539 \family sans
19540 article
19541 \family default
19542
19543 \family sans
19544 book
19545 \family default
19546
19547 \family sans
19548 letter
19549 \family default
19550 , or 
19551 \family sans
19552 report
19553 \family default
19554  there will be no space between the caption and the table.
19555  To insert the needed space, add the following option to the load command
19556  of the LaTeX-package 
19557 \series bold
19558 caption
19559 \series default
19560  in your document preamble
19561 \begin_inset Foot
19562 status collapsed
19563
19564 \begin_layout Standard
19565 See section\InsetSpace ~
19566
19567 \begin_inset LatexCommand ref
19568 reference "sec:Caption-Formatting"
19569
19570 \end_inset
19571
19572  for more information of the package 
19573 \series bold
19574 caption
19575 \series default
19576 .
19577 \end_layout
19578
19579 \end_inset
19580
19581 :
19582 \end_layout
19583
19584 \begin_layout Standard
19585
19586 \series bold
19587 tableposition=top
19588 \end_layout
19589
19590 \begin_layout Standard
19591 If you are using a 
19592 \series bold
19593 koma-script
19594 \series default
19595
19596 \begin_inset LatexCommand index
19597 name "LaTeX-packages ! koma-script"
19598
19599 \end_inset
19600
19601  document class (
19602 \family sans
19603 article (koma-script)
19604 \family default
19605
19606 \family sans
19607 book (koma-script)
19608 \family default
19609
19610 \family sans
19611 letter (koma-script)
19612 \family default
19613 , or 
19614 \family sans
19615 report (koma-script)
19616 \family default
19617 \InsetSpace \thinspace{}
19618 ), you can alternatively to the 
19619 \series bold
19620 caption
19621 \series default
19622  package set the document class option 
19623 \series bold
19624 tablecaptionabove
19625 \series default
19626 , or you can use the environment 
19627 \family sans
19628 caption\InsetSpace ~
19629 above
19630 \family default
19631  instead of the 
19632 \family sans
19633 caption
19634 \family default
19635  environment.
19636 \end_layout
19637
19638 \begin_layout Standard
19639 \begin_inset VSpace bigskip
19640 \end_inset
19641
19642 It is also possible to set the caption beside a figure or table.
19643  To get this the LaTeX-package 
19644 \series bold
19645 sidecap
19646 \series default
19647
19648 \begin_inset LatexCommand index
19649 name "LaTeX-packages ! sidecap"
19650
19651 \end_inset
19652
19653  has to be loaded in the document preamble with the line
19654 \end_layout
19655
19656 \begin_layout Standard
19657
19658 \series bold
19659
19660 \backslash
19661 usepackage[option]{sidecap}
19662 \end_layout
19663
19664 \begin_layout Standard
19665 If you set no option, the caption is placed on the side of the outer page
19666  margin -- to the right on odd pages, to the left on even pages.
19667  You can change the placement to inner margin with the option 
19668 \series bold
19669 innercaption
19670 \series default
19671 .
19672  To force the placement always to the right or left, use the option 
19673 \series bold
19674 rightcaption
19675 \series default
19676  or 
19677 \series bold
19678 leftcaption
19679 \series default
19680 , respectively.
19681 \end_layout
19682
19683 \begin_layout Standard
19684 To place in LyX the caption of a float on the side, it is necessary to add
19685  these commands to the document preamble:
19686 \end_layout
19687
19688 \begin_layout Standard
19689
19690 \lyxline
19691
19692 \end_layout
19693
19694 \begin_layout Standard
19695
19696 \series bold
19697
19698 \backslash
19699 newcommand{
19700 \backslash
19701 TabBesBeg}{%
19702 \newline
19703
19704 \begin_inset ERT
19705 status collapsed
19706
19707 \begin_layout Standard
19708
19709
19710 \backslash
19711 hphantom{ }
19712 \end_layout
19713
19714 \end_inset
19715
19716
19717 \backslash
19718 let
19719 \backslash
19720 MyTable
19721 \backslash
19722 table
19723 \newline
19724
19725 \begin_inset ERT
19726 status collapsed
19727
19728 \begin_layout Standard
19729
19730
19731 \backslash
19732 hphantom{ }
19733 \end_layout
19734
19735 \end_inset
19736
19737
19738 \backslash
19739 let
19740 \backslash
19741 MyEndtable
19742 \backslash
19743 endtable
19744 \newline
19745
19746 \begin_inset ERT
19747 status collapsed
19748
19749 \begin_layout Standard
19750
19751
19752 \backslash
19753 hphantom{ }
19754 \end_layout
19755
19756 \end_inset
19757
19758
19759 \backslash
19760 renewenvironment{table}{
19761 \backslash
19762 begin{SCtable}}{
19763 \backslash
19764 end{SCtable}}}
19765 \end_layout
19766
19767 \begin_layout Standard
19768
19769 \series bold
19770
19771 \backslash
19772 newcommand{
19773 \backslash
19774 TabBesEnd}{%
19775 \newline
19776
19777 \begin_inset ERT
19778 status collapsed
19779
19780 \begin_layout Standard
19781
19782
19783 \backslash
19784 hphantom{ }
19785 \end_layout
19786
19787 \end_inset
19788
19789
19790 \backslash
19791 let
19792 \backslash
19793 table
19794 \backslash
19795 MyTable
19796 \newline
19797
19798 \begin_inset ERT
19799 status collapsed
19800
19801 \begin_layout Standard
19802
19803
19804 \backslash
19805 hphantom{ }
19806 \end_layout
19807
19808 \end_inset
19809
19810
19811 \backslash
19812 let
19813 \backslash
19814 endtable
19815 \backslash
19816 MyEndtable
19817 \end_layout
19818
19819 \begin_layout Standard
19820
19821 \series bold
19822
19823 \backslash
19824 newcommand{
19825 \backslash
19826 FigBesBeg}{%
19827 \newline
19828
19829 \begin_inset ERT
19830 status collapsed
19831
19832 \begin_layout Standard
19833
19834
19835 \backslash
19836 hphantom{ }
19837 \end_layout
19838
19839 \end_inset
19840
19841
19842 \backslash
19843 let
19844 \backslash
19845 MyFigure
19846 \backslash
19847 f\SpecialChar \textcompwordmark{}
19848 igure
19849 \newline
19850
19851 \begin_inset ERT
19852 status collapsed
19853
19854 \begin_layout Standard
19855
19856
19857 \backslash
19858 hphantom{ }
19859 \end_layout
19860
19861 \end_inset
19862
19863
19864 \backslash
19865 let
19866 \backslash
19867 MyEndf\SpecialChar \textcompwordmark{}
19868 igure
19869 \backslash
19870 endf\SpecialChar \textcompwordmark{}
19871 igure
19872 \newline
19873
19874 \begin_inset ERT
19875 status collapsed
19876
19877 \begin_layout Standard
19878
19879
19880 \backslash
19881 hphantom{ }
19882 \end_layout
19883
19884 \end_inset
19885
19886
19887 \backslash
19888 renewenvironment{f\SpecialChar \textcompwordmark{}
19889 igure}{
19890 \backslash
19891 begin{SCf\SpecialChar \textcompwordmark{}
19892 igure}}{
19893 \backslash
19894 end{SCf\SpecialChar \textcompwordmark{}
19895 igure}}}
19896 \end_layout
19897
19898 \begin_layout Standard
19899
19900 \series bold
19901
19902 \backslash
19903 newcommand{
19904 \backslash
19905 FigBesEnd}{%
19906 \newline
19907
19908 \begin_inset ERT
19909 status collapsed
19910
19911 \begin_layout Standard
19912
19913
19914 \backslash
19915 hphantom{ }
19916 \end_layout
19917
19918 \end_inset
19919
19920
19921 \backslash
19922 let
19923 \backslash
19924 f\SpecialChar \textcompwordmark{}
19925 igure
19926 \backslash
19927 MyFigure
19928 \newline
19929
19930 \begin_inset ERT
19931 status collapsed
19932
19933 \begin_layout Standard
19934
19935
19936 \backslash
19937 hphantom{ }
19938 \end_layout
19939
19940 \end_inset
19941
19942
19943 \backslash
19944 let
19945 \backslash
19946 endf\SpecialChar \textcompwordmark{}
19947 igure
19948 \backslash
19949 MyEndf\SpecialChar \textcompwordmark{}
19950 igure}
19951 \end_layout
19952
19953 \begin_layout Standard
19954
19955 \lyxline
19956
19957 \end_layout
19958
19959 \begin_layout Standard
19960 The commands allow you to redefine the floats so that the caption is set
19961  on the side.
19962  For figure floats use the command
19963 \end_layout
19964
19965 \begin_layout Standard
19966
19967 \series bold
19968
19969 \backslash
19970 FigBesBeg
19971 \end_layout
19972
19973 \begin_layout Standard
19974 in ERT before the float.
19975  Behind the float insert the command
19976 \end_layout
19977
19978 \begin_layout Standard
19979
19980 \series bold
19981
19982 \backslash
19983 FigBesEnd
19984 \end_layout
19985
19986 \begin_layout Standard
19987 in ERT to get back to the original float definition.
19988 \end_layout
19989
19990 \begin_layout Standard
19991 For table floats use the corresponding commands
19992 \end_layout
19993
19994 \begin_layout Standard
19995
19996 \series bold
19997
19998 \backslash
19999 TabBesBeg
20000 \series default
20001  and 
20002 \series bold
20003
20004 \backslash
20005 TabBesEnd
20006 \end_layout
20007
20008 \begin_layout Standard
20009 Figure\InsetSpace ~
20010
20011 \begin_inset LatexCommand ref
20012 reference "fig:cap-beside-fig"
20013
20014 \end_inset
20015
20016  and Table\InsetSpace ~
20017
20018 \begin_inset LatexCommand ref
20019 reference "tab:cap-beside-tab"
20020
20021 \end_inset
20022
20023  are examples where the caption is set beside.
20024 \end_layout
20025
20026 \begin_layout Standard
20027 You can see in the examples that the caption text appears at the top of
20028  the floats for table floats and at the bottom for figure floats.
20029  To change this, you can use the command
20030 \end_layout
20031
20032 \begin_layout Standard
20033
20034 \series bold
20035
20036 \backslash
20037 sidecaptionvpos{float type}{placement}
20038 \end_layout
20039
20040 \begin_layout Standard
20041 in the document preamble or in ERT before the float.
20042  The float type is either 
20043 \family sans
20044 figure
20045 \family default
20046  or 
20047 \family sans
20048 table
20049 \family default
20050 , the placement can be 
20051 \begin_inset Quotes eld
20052 \end_inset
20053
20054
20055 \family sans
20056 t
20057 \family default
20058
20059 \begin_inset Quotes erd
20060 \end_inset
20061
20062  for top, 
20063 \begin_inset Quotes eld
20064 \end_inset
20065
20066
20067 \family sans
20068 c
20069 \family default
20070
20071 \begin_inset Quotes erd
20072 \end_inset
20073
20074  for center, or 
20075 \begin_inset Quotes eld
20076 \end_inset
20077
20078
20079 \family sans
20080 b
20081 \family default
20082
20083 \begin_inset Quotes erd
20084 \end_inset
20085
20086  for bottom.
20087  To have for example the caption of figure floats vertically centered, use
20088  the command
20089 \end_layout
20090
20091 \begin_layout Standard
20092
20093 \series bold
20094
20095 \backslash
20096 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20097 igure}{c}
20098 \end_layout
20099
20100 \begin_layout Standard
20101 This was used for Figure\InsetSpace ~
20102
20103 \begin_inset LatexCommand ref
20104 reference "fig:cap-beside-fig-2"
20105
20106 \end_inset
20107
20108 .
20109 \end_layout
20110
20111 \begin_layout Standard
20112 \begin_inset VSpace defskip
20113 \end_inset
20114
20115 For more information about the package 
20116 \series bold
20117 sidecap
20118 \series default
20119  we refer to its documentation 
20120 \begin_inset LatexCommand cite
20121 key "sidecap"
20122
20123 \end_inset
20124
20125 .
20126 \end_layout
20127
20128 \begin_layout Standard
20129 \begin_inset Note Greyedout
20130 status open
20131
20132 \begin_layout Standard
20133
20134 \series bold
20135 Note:
20136 \series default
20137  The LaTeX-package 
20138 \series bold
20139 hypcap
20140 \series default
20141
20142 \begin_inset LatexCommand index
20143 name "LaTeX-packages ! hypcap"
20144
20145 \end_inset
20146
20147 , described in section\InsetSpace ~
20148
20149 \begin_inset LatexCommand ref
20150 reference "sub:Reference-Position"
20151
20152 \end_inset
20153
20154 , has no effect on floats with the caption set beside.
20155 \end_layout
20156
20157 \end_inset
20158
20159
20160 \end_layout
20161
20162 \begin_layout Standard
20163 \begin_inset ERT
20164 status collapsed
20165
20166 \begin_layout Standard
20167
20168
20169 \backslash
20170 FigBesBeg 
20171 \end_layout
20172
20173 \end_inset
20174
20175
20176 \end_layout
20177
20178 \begin_layout Standard
20179 \begin_inset Float figure
20180 wide false
20181 sideways false
20182 status open
20183
20184 \begin_layout Standard
20185 \begin_inset Graphics
20186         filename escher-lsd.eps
20187         scale 75
20188
20189 \end_inset
20190
20191
20192 \end_layout
20193
20194 \begin_layout Standard
20195 \begin_inset Caption
20196
20197 \begin_layout Standard
20198 \begin_inset LatexCommand label
20199 name "fig:cap-beside-fig"
20200
20201 \end_inset
20202
20203 This is a caption beside a figure.
20204 \end_layout
20205
20206 \end_inset
20207
20208
20209 \end_layout
20210
20211 \end_inset
20212
20213
20214 \end_layout
20215
20216 \begin_layout Standard
20217 \begin_inset ERT
20218 status collapsed
20219
20220 \begin_layout Standard
20221
20222
20223 \backslash
20224 TabBesBeg 
20225 \end_layout
20226
20227 \end_inset
20228
20229
20230 \end_layout
20231
20232 \begin_layout Standard
20233 \begin_inset Float table
20234 wide false
20235 sideways false
20236 status open
20237
20238 \begin_layout Standard
20239 \begin_inset Caption
20240
20241 \begin_layout Standard
20242 \begin_inset LatexCommand label
20243 name "tab:cap-beside-tab"
20244
20245 \end_inset
20246
20247 This is a caption beside a table.
20248 \end_layout
20249
20250 \end_inset
20251
20252
20253 \end_layout
20254
20255 \begin_layout Standard
20256 \begin_inset Tabular
20257 <lyxtabular version="3" rows="4" columns="5">
20258 <features>
20259 <column alignment="center" valignment="top" leftline="true" width="0">
20260 <column alignment="center" valignment="top" leftline="true" width="0">
20261 <column alignment="center" valignment="top" leftline="true" width="0">
20262 <column alignment="center" valignment="top" leftline="true" width="0">
20263 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20264 <row topline="true">
20265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20266 \begin_inset Text
20267
20268 \begin_layout Standard
20269 a
20270 \end_layout
20271
20272 \end_inset
20273 </cell>
20274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20275 \begin_inset Text
20276
20277 \begin_layout Standard
20278
20279 \end_layout
20280
20281 \end_inset
20282 </cell>
20283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20284 \begin_inset Text
20285
20286 \begin_layout Standard
20287 b
20288 \end_layout
20289
20290 \end_inset
20291 </cell>
20292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20293 \begin_inset Text
20294
20295 \begin_layout Standard
20296
20297 \end_layout
20298
20299 \end_inset
20300 </cell>
20301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20302 \begin_inset Text
20303
20304 \begin_layout Standard
20305 c
20306 \end_layout
20307
20308 \end_inset
20309 </cell>
20310 </row>
20311 <row topline="true">
20312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20313 \begin_inset Text
20314
20315 \begin_layout Standard
20316
20317 \end_layout
20318
20319 \end_inset
20320 </cell>
20321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20322 \begin_inset Text
20323
20324 \begin_layout Standard
20325 d
20326 \end_layout
20327
20328 \end_inset
20329 </cell>
20330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20331 \begin_inset Text
20332
20333 \begin_layout Standard
20334
20335 \end_layout
20336
20337 \end_inset
20338 </cell>
20339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20340 \begin_inset Text
20341
20342 \begin_layout Standard
20343 e
20344 \end_layout
20345
20346 \end_inset
20347 </cell>
20348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20349 \begin_inset Text
20350
20351 \begin_layout Standard
20352
20353 \end_layout
20354
20355 \end_inset
20356 </cell>
20357 </row>
20358 <row topline="true">
20359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20360 \begin_inset Text
20361
20362 \begin_layout Standard
20363 f
20364 \end_layout
20365
20366 \end_inset
20367 </cell>
20368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20369 \begin_inset Text
20370
20371 \begin_layout Standard
20372
20373 \end_layout
20374
20375 \end_inset
20376 </cell>
20377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20378 \begin_inset Text
20379
20380 \begin_layout Standard
20381 g
20382 \end_layout
20383
20384 \end_inset
20385 </cell>
20386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20387 \begin_inset Text
20388
20389 \begin_layout Standard
20390
20391 \end_layout
20392
20393 \end_inset
20394 </cell>
20395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20396 \begin_inset Text
20397
20398 \begin_layout Standard
20399 h
20400 \end_layout
20401
20402 \end_inset
20403 </cell>
20404 </row>
20405 <row topline="true" bottomline="true">
20406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20407 \begin_inset Text
20408
20409 \begin_layout Standard
20410
20411 \end_layout
20412
20413 \end_inset
20414 </cell>
20415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20416 \begin_inset Text
20417
20418 \begin_layout Standard
20419 i
20420 \end_layout
20421
20422 \end_inset
20423 </cell>
20424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20425 \begin_inset Text
20426
20427 \begin_layout Standard
20428
20429 \end_layout
20430
20431 \end_inset
20432 </cell>
20433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20434 \begin_inset Text
20435
20436 \begin_layout Standard
20437 j
20438 \end_layout
20439
20440 \end_inset
20441 </cell>
20442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20443 \begin_inset Text
20444
20445 \begin_layout Standard
20446
20447 \end_layout
20448
20449 \end_inset
20450 </cell>
20451 </row>
20452 </lyxtabular>
20453
20454 \end_inset
20455
20456
20457 \end_layout
20458
20459 \end_inset
20460
20461
20462 \end_layout
20463
20464 \begin_layout Standard
20465 \begin_inset ERT
20466 status collapsed
20467
20468 \begin_layout Standard
20469
20470
20471 \backslash
20472 TabBesEnd
20473 \end_layout
20474
20475 \end_inset
20476
20477
20478 \end_layout
20479
20480 \begin_layout Standard
20481 \begin_inset ERT
20482 status collapsed
20483
20484 \begin_layout Standard
20485
20486
20487 \backslash
20488 sidecaptionvpos{figure}{c}
20489 \end_layout
20490
20491 \end_inset
20492
20493
20494 \begin_inset Float figure
20495 wide false
20496 sideways false
20497 status open
20498
20499 \begin_layout Standard
20500 \begin_inset Graphics
20501         filename escher-lsd.eps
20502         scale 75
20503
20504 \end_inset
20505
20506
20507 \end_layout
20508
20509 \begin_layout Standard
20510 \begin_inset Caption
20511
20512 \begin_layout Standard
20513 \begin_inset LatexCommand label
20514 name "fig:cap-beside-fig-2"
20515
20516 \end_inset
20517
20518 This is a vertically centered caption beside a figure.
20519 \end_layout
20520
20521 \end_inset
20522
20523
20524 \end_layout
20525
20526 \end_inset
20527
20528
20529 \end_layout
20530
20531 \begin_layout Standard
20532 \begin_inset ERT
20533 status collapsed
20534
20535 \begin_layout Standard
20536
20537
20538 \backslash
20539 FigBesEnd
20540 \end_layout
20541
20542 \end_inset
20543
20544
20545 \end_layout
20546
20547 \begin_layout Section
20548 Listings of Floats
20549 \begin_inset LatexCommand label
20550 name "sec:Listings-of-Floats"
20551
20552 \end_inset
20553
20554
20555 \begin_inset LatexCommand index
20556 name "Floats ! Listings"
20557
20558 \end_inset
20559
20560
20561 \end_layout
20562
20563 \begin_layout Standard
20564 Similar to the the table of contents where the sections of the document
20565  are listed, there are listings for all float types, like the figures of
20566  the documents.
20567  You can insert them via the 
20568 \family sans
20569 Insert\SpecialChar \menuseparator
20570 List\InsetSpace ~
20571 /\InsetSpace ~
20572 TOC
20573 \family default
20574  sub menus.
20575 \end_layout
20576
20577 \begin_layout Standard
20578 The list entries are the float captions or its short title, the float number,
20579  and the page number where they appear in the document.
20580 \end_layout
20581
20582 \begin_layout Standard
20583 You can find the list of figures and tables at the end of this document.
20584 \end_layout
20585
20586 \begin_layout Chapter
20587 Notes
20588 \end_layout
20589
20590 \begin_layout Section
20591 \begin_inset ERT
20592 status collapsed
20593
20594 \begin_layout Standard
20595
20596
20597 \backslash
20598 texorpdfstring{
20599 \end_layout
20600
20601 \end_inset
20602
20603 LyX
20604 \begin_inset ERT
20605 status collapsed
20606
20607 \begin_layout Standard
20608
20609 }{LyX}
20610 \end_layout
20611
20612 \end_inset
20613
20614  Notes
20615 \begin_inset LatexCommand label
20616 name "sec:LyX-Notes"
20617
20618 \end_inset
20619
20620
20621 \begin_inset LatexCommand index
20622 name "Notes ! LyX Notes"
20623
20624 \end_inset
20625
20626
20627 \begin_inset Note Note
20628 status collapsed
20629
20630 \begin_layout Standard
20631 The command 
20632 \backslash
20633 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20634  are displayed wrongly in PDF-bookmarks.
20635  For more information about this, have a look at 
20636 \begin_inset LatexCommand cite
20637 key "hyperref"
20638
20639 \end_inset
20640
20641 .
20642 \end_layout
20643
20644 \end_inset
20645
20646
20647 \end_layout
20648
20649 \begin_layout Standard
20650 Notes are inserted with the toolbar button 
20651 \begin_inset Graphics
20652         filename ../images/note-insert.xpm
20653         scale 85
20654
20655 \end_inset
20656
20657  or the menu 
20658 \family sans
20659 Insert\SpecialChar \menuseparator
20660 Note
20661 \family default
20662 .
20663  There are three types of notes:
20664 \end_layout
20665
20666 \begin_layout Description
20667 LyX\InsetSpace ~
20668 Note This note type is for internal notes that won't appear in the output.
20669  Its note-box looks like this:
20670 \newline
20671
20672 \newline
20673
20674 \begin_inset Graphics
20675         filename ../clipart/LyXNoteImageQt4.png
20676         display none
20677         scale 85
20678
20679 \end_inset
20680
20681  
20682 \begin_inset Note Note
20683 status open
20684
20685 \begin_layout Standard
20686 This is text in a note box that doesn't appear in the output.
20687 \end_layout
20688
20689 \end_inset
20690
20691
20692 \end_layout
20693
20694 \begin_layout Description
20695 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20696 ent, when you export the document to LaTeX via the menu 
20697 \family sans
20698 File\SpecialChar \menuseparator
20699 Export\SpecialChar \menuseparator
20700 LaTeX (pdflatex) / LaTeX (plain)
20701 \family default
20702 .
20703  Its note-box looks like this:
20704 \newline
20705
20706 \newline
20707
20708 \begin_inset Graphics
20709         filename ../clipart/CommentNoteImageQt4.png
20710         display none
20711         scale 85
20712
20713 \end_inset
20714
20715  
20716 \begin_inset Note Comment
20717 status open
20718
20719 \begin_layout Standard
20720 This is text in a note box that only appears as comment in LaTeX-files.
20721 \end_layout
20722
20723 \end_inset
20724
20725
20726 \end_layout
20727
20728 \begin_layout Description
20729 Greyed\InsetSpace ~
20730 Out This note will appear in the output as grey text.
20731  Its note-box looks like this:
20732 \newline
20733
20734 \newline
20735
20736 \begin_inset Graphics
20737         filename ../clipart/GreyedOutNoteImageQt4.png
20738         display none
20739         scale 85
20740
20741 \end_inset
20742
20743
20744 \newline
20745
20746 \begin_inset ERT
20747 status collapsed
20748
20749 \begin_layout Standard
20750
20751
20752 \backslash
20753 renewenvironment{lyxgreyedout}
20754 \end_layout
20755
20756 \begin_layout Standard
20757
20758 {
20759 \backslash
20760 textcolor[gray]{0.8}
20761 \backslash
20762 bgroup}{
20763 \backslash
20764 egroup}
20765 \end_layout
20766
20767 \end_inset
20768
20769
20770 \begin_inset Note Greyedout
20771 status open
20772
20773 \begin_layout Standard
20774 This is text
20775 \begin_inset Foot
20776 status open
20777
20778 \begin_layout Standard
20779 This is an example footnote within a greyed out note.
20780 \end_layout
20781
20782 \end_inset
20783
20784  of a comment that appears in the output as grey text.
20785 \end_layout
20786
20787 \end_inset
20788
20789
20790 \begin_inset ERT
20791 status collapsed
20792
20793 \begin_layout Standard
20794
20795
20796 \backslash
20797 renewenvironment{lyxgreyedout}
20798 \end_layout
20799
20800 \begin_layout Standard
20801
20802 {
20803 \backslash
20804 textcolor{blue}
20805 \backslash
20806 bgroup}{
20807 \backslash
20808 egroup}
20809 \end_layout
20810
20811 \end_inset
20812
20813
20814 \begin_inset Note Note
20815 status collapsed
20816
20817 \begin_layout Standard
20818 The greyed out note is here redefined to show it with the original LyX definitio
20819 n because greyed out notes are redefined in the preamble of this document,
20820  as described below, to have blue text.
20821 \end_layout
20822
20823 \end_inset
20824
20825
20826 \newline
20827
20828 \newline
20829 As you can see in the example, the first line of greyed out notes is a bit
20830  indented and greyed out notes can have footnotes.
20831 \end_layout
20832
20833 \begin_layout Description
20834 Framed This note will appear in the output as framed text.
20835  Its note-box looks like this:
20836 \newline
20837
20838 \newline
20839
20840 \begin_inset Graphics
20841         filename ../clipart/FramedNoteImageQt4.png
20842         display none
20843         scale 85
20844
20845 \end_inset
20846
20847  
20848 \begin_inset Note Framed
20849 status open
20850
20851 \begin_layout Standard
20852 This is text in a note box that appears framed in the output.
20853 \end_layout
20854
20855 \end_inset
20856
20857  In contrary to framed boxes
20858 \begin_inset Foot
20859 status collapsed
20860
20861 \begin_layout Standard
20862 Framed boxes are described in section\InsetSpace ~
20863
20864 \begin_inset LatexCommand ref
20865 reference "sec:Framed-Boxes"
20866
20867 \end_inset
20868
20869 .
20870 \end_layout
20871
20872 \end_inset
20873
20874  the frame uses always the whole text width and the note is set into its
20875  own paragraph.
20876 \end_layout
20877
20878 \begin_layout Description
20879 Shaded This note will appear in the output with red background color.
20880  Its note box looks like this:
20881 \newline
20882
20883 \newline
20884
20885 \begin_inset Graphics
20886         filename ../clipart/ShadedNoteImageQt4.png
20887         display none
20888         scale 85
20889
20890 \end_inset
20891
20892
20893 \begin_inset Note Shaded
20894 status open
20895
20896 \begin_layout Standard
20897 This text in a note box appears in the output with red background.
20898 \end_layout
20899
20900 \end_inset
20901
20902 In contrary to colored boxes
20903 \begin_inset Foot
20904 status collapsed
20905
20906 \begin_layout Standard
20907 Colored boxes are described in section\InsetSpace ~
20908
20909 \begin_inset LatexCommand ref
20910 reference "sec:Colored-Boxes"
20911
20912 \end_inset
20913
20914 .
20915 \end_layout
20916
20917 \end_inset
20918
20919  the note uses always the whole text width and the note is set into its
20920  own paragraph.
20921 \end_layout
20922
20923 \begin_layout Standard
20924 \begin_inset VSpace bigskip
20925 \end_inset
20926
20927 When you use the toolbar button to insert notes, a 
20928 \family sans
20929 LyX\InsetSpace ~
20930 Note
20931 \family default
20932  is inserted.
20933  You can switch between the three note types by right-clicking on the note-box.
20934  
20935 \family roman
20936 \series medium
20937 \bar no
20938 If you want to turn existing text into a note, mark it and click on the
20939  note 
20940 \family default
20941 \series default
20942 \bar default
20943 toolbar 
20944 \family roman
20945 \series medium
20946 \bar no
20947 button
20948 \family default
20949 \series default
20950 \bar default
20951 .
20952 \end_layout
20953
20954 \begin_layout Standard
20955 \begin_inset VSpace bigskip
20956 \end_inset
20957
20958 You can change the text color of the greyed out notes in the preamble with
20959  the following command:
20960 \end_layout
20961
20962 \begin_layout Standard
20963
20964 \series bold
20965
20966 \backslash
20967 renewenvironment{lyxgreyedout}
20968 \newline
20969
20970 \begin_inset ERT
20971 status collapsed
20972
20973 \begin_layout Standard
20974
20975
20976 \backslash
20977 hphantom{ }
20978 \end_layout
20979
20980 \end_inset
20981
20982 {
20983 \backslash
20984 textcolor{color}
20985 \backslash
20986 bgroup}{
20987 \backslash
20988 egroup}
20989 \end_layout
20990
20991 \begin_layout Standard
20992 The available colors and the method to define own colors is explained in
20993  section\InsetSpace ~
20994
20995 \begin_inset LatexCommand ref
20996 reference "sec:Colored-Tables"
20997
20998 \end_inset
20999
21000 .
21001 \end_layout
21002
21003 \begin_layout Standard
21004 Notes that appear in blue in this document are set using greyed out notes
21005  with blue text.
21006 \end_layout
21007
21008 \begin_layout Standard
21009 \begin_inset VSpace bigskip
21010 \end_inset
21011
21012
21013 \end_layout
21014
21015 \begin_layout Standard
21016 The text style of 
21017 \family sans
21018 Framed
21019 \family default
21020  and 
21021 \family sans
21022 Shaded
21023 \family default
21024  notes can be set in the 
21025 \family sans
21026 Text Style
21027 \family default
21028  dialog.
21029 \end_layout
21030
21031 \begin_layout Standard
21032 The default frame width for 
21033 \family sans
21034 Framed
21035 \family default
21036  notes is 0.4\InsetSpace \thinspace{}
21037 pt; it can be changed by changing the size 
21038 \series bold
21039
21040 \backslash
21041 FrameRule
21042 \series default
21043 .
21044  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21045 pt; it can
21046  be changed by changing the size 
21047 \series bold
21048
21049 \backslash
21050 FrameSep
21051 \series default
21052 .
21053  For example the frame appearance of the following 
21054 \family sans
21055 Framed
21056 \family default
21057  note is set with the ERT commands
21058 \end_layout
21059
21060 \begin_layout Standard
21061
21062 \series bold
21063
21064 \backslash
21065 FrameRule 5pt 
21066 \backslash
21067 FrameSep 0.5cm
21068 \end_layout
21069
21070 \begin_layout Standard
21071 \begin_inset ERT
21072 status collapsed
21073
21074 \begin_layout Standard
21075
21076
21077 \backslash
21078 FrameRule 5pt 
21079 \backslash
21080 FrameSep 0.5cm
21081 \end_layout
21082
21083 \end_inset
21084
21085
21086 \begin_inset Note Framed
21087 status open
21088
21089 \begin_layout Standard
21090 This is text in a 
21091 \family sans
21092 Framed
21093 \family default
21094  note.
21095 \end_layout
21096
21097 \end_inset
21098
21099
21100 \begin_inset ERT
21101 status collapsed
21102
21103 \begin_layout Standard
21104
21105
21106 \backslash
21107 FrameRule 0.4pt 
21108 \backslash
21109 FrameSep 9pt
21110 \end_layout
21111
21112 \end_inset
21113
21114
21115 \end_layout
21116
21117 \begin_layout Standard
21118 \begin_inset VSpace bigskip
21119 \end_inset
21120
21121
21122 \end_layout
21123
21124 \begin_layout Standard
21125 For 
21126 \family sans
21127 Shaded
21128 \family default
21129  notes the default space between the note content and the note border is
21130  3\InsetSpace \thinspace{}
21131 pt; it can be changed by changing the size 
21132 \series bold
21133
21134 \backslash
21135 fboxsep
21136 \series default
21137 .
21138 \newline
21139 The default background color red can be changed with the command 
21140 \series bold
21141
21142 \backslash
21143 def\SpecialChar \textcompwordmark{}
21144 inecolor{shadebox}
21145 \series default
21146 .
21147  The scheme of the 
21148 \series bold
21149
21150 \backslash
21151 def\SpecialChar \textcompwordmark{}
21152 inecolor
21153 \series default
21154  command is explained in section\InsetSpace ~
21155
21156 \begin_inset LatexCommand ref
21157 reference "sec:Colored-Tables"
21158
21159 \end_inset
21160
21161
21162 \begin_inset Foot
21163 status collapsed
21164
21165 \begin_layout Standard
21166 Note that 
21167 \series bold
21168
21169 \backslash
21170 def
21171 \series default
21172 \SpecialChar \textcompwordmark{}
21173
21174 \series bold
21175 inecolor
21176 \series default
21177  requires the LaTeX-package 
21178 \series bold
21179 color
21180 \series default
21181  in the preamble, see section\InsetSpace ~
21182
21183 \begin_inset LatexCommand ref
21184 reference "sec:Colored-Boxes"
21185
21186 \end_inset
21187
21188 .
21189 \end_layout
21190
21191 \end_inset
21192
21193 .
21194 \end_layout
21195
21196 \begin_layout Standard
21197 For example the appearance of the following 
21198 \family sans
21199 Shaded
21200 \family default
21201  note is set with the ERT commands
21202 \end_layout
21203
21204 \begin_layout Standard
21205
21206 \series bold
21207
21208 \backslash
21209 fboxsep 0.5cm
21210 \series default
21211
21212 \newline
21213
21214 \series bold
21215
21216 \backslash
21217 def\SpecialChar \textcompwordmark{}
21218 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21219 \end_layout
21220
21221 \begin_layout Standard
21222 \begin_inset ERT
21223 status collapsed
21224
21225 \begin_layout Standard
21226
21227
21228 \backslash
21229 fboxsep 0.5cm
21230 \end_layout
21231
21232 \end_inset
21233
21234
21235 \begin_inset ERT
21236 status collapsed
21237
21238 \begin_layout Standard
21239
21240
21241 \backslash
21242 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21243 \end_layout
21244
21245 \end_inset
21246
21247
21248 \begin_inset Note Shaded
21249 status open
21250
21251 \begin_layout Standard
21252
21253 \color yellow
21254 This is yellow text in a 
21255 \family sans
21256 Shaded
21257 \family default
21258  note with darkgreen background.
21259 \end_layout
21260
21261 \end_inset
21262
21263
21264 \begin_inset ERT
21265 status collapsed
21266
21267 \begin_layout Standard
21268
21269
21270 \backslash
21271 fboxsep 3pt
21272 \end_layout
21273
21274 \end_inset
21275
21276
21277 \begin_inset ERT
21278 status collapsed
21279
21280 \begin_layout Standard
21281
21282
21283 \backslash
21284 definecolor{shadecolor}{rgb}{1,0,0}
21285 \end_layout
21286
21287 \end_inset
21288
21289
21290 \end_layout
21291
21292 \begin_layout Section
21293 Footnotes
21294 \begin_inset LatexCommand label
21295 name "sec:Footnotes"
21296
21297 \end_inset
21298
21299
21300 \begin_inset LatexCommand index
21301 name "Notes ! Footnotes"
21302
21303 \end_inset
21304
21305
21306 \begin_inset LatexCommand index
21307 name "Footnotes"
21308
21309 \end_inset
21310
21311
21312 \end_layout
21313
21314 \begin_layout Standard
21315 Footnotes can be inserted using the toolbar button 
21316 \begin_inset Graphics
21317         filename ../images/footnote-insert.xpm
21318         scale 85
21319
21320 \end_inset
21321
21322  or the menu 
21323 \family sans
21324 Insert\SpecialChar \menuseparator
21325 Footnote
21326 \family default
21327 .
21328  
21329 \family roman
21330 \series medium
21331 \bar no
21332 You'll see 
21333 \family default
21334 \series default
21335 \bar default
21336 then the following footnote-box: 
21337 \begin_inset Graphics
21338         filename ../clipart/footnoteQt4.png
21339         scale 80
21340
21341 \end_inset
21342
21343
21344 \family roman
21345 \series medium
21346 \bar no
21347  where you can enter the footnote text.
21348  If you want to turn existing text into a footnote, mark it and click on
21349  the footnote 
21350 \family default
21351 \series default
21352 \bar default
21353 toolbar 
21354 \family roman
21355 \series medium
21356 \bar no
21357 button
21358 \family default
21359 \series default
21360 \bar default
21361 .
21362 \end_layout
21363
21364 \begin_layout Standard
21365 Here is an example footnote:
21366 \family roman
21367 \series medium
21368 \bar no
21369
21370 \begin_inset Foot
21371 status open
21372
21373 \begin_layout Standard
21374 \begin_inset LatexCommand label
21375 name "foot:This-is-an"
21376
21377 \end_inset
21378
21379 This is an example footnote.
21380 \end_layout
21381
21382 \end_inset
21383
21384
21385 \family default
21386 \series default
21387 \bar default
21388
21389 \begin_inset ERT
21390 status collapsed
21391
21392 \begin_layout Standard
21393
21394
21395 \backslash
21396 newcounter{MyRepeatFoot}
21397 \end_layout
21398
21399 \begin_layout Standard
21400
21401
21402 \backslash
21403 setcounter{MyRepeatFoot}{
21404 \backslash
21405 thefootnote}
21406 \end_layout
21407
21408 \end_inset
21409
21410
21411 \end_layout
21412
21413 \begin_layout Standard
21414 The footnote will appear in the output as a superscript number at the text
21415  position where the footnote box is placed.
21416  The footnote text is placed at the bottom of the current page.
21417  The footnote number is calculated by LaTeX, the numbers are consecutive.
21418  It depends on your document-class, if the footnote number is reset for
21419  every chapter.
21420 \end_layout
21421
21422 \begin_layout Standard
21423 Footnotes can be referenced like floats: Insert a label into the footnote
21424  and cross-reference this label in the text as described in section\InsetSpace ~
21425
21426 \begin_inset LatexCommand ref
21427 reference "sec:Referencing-Floats"
21428
21429 \end_inset
21430
21431 .
21432 \newline
21433 This is a cross-reference of Footnote\InsetSpace ~
21434
21435 \begin_inset LatexCommand prettyref
21436 reference "foot:This-is-an"
21437
21438 \end_inset
21439
21440 .
21441 \newline
21442
21443 \begin_inset Note Greyedout
21444 status open
21445
21446 \begin_layout Standard
21447
21448 \series bold
21449 Note:
21450 \series default
21451  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21452  e.\InsetSpace \thinspace{}
21453 g.\InsetSpace ~
21454 the prefix 
21455 \family sans
21456
21457 \begin_inset Quotes eld
21458 \end_inset
21459
21460 foot:
21461 \family default
21462
21463 \begin_inset Quotes erd
21464 \end_inset
21465
21466  manually when you want to use the reference style 
21467 \family sans
21468 Formatted\InsetSpace ~
21469 reference
21470 \family default
21471 .
21472 \end_layout
21473
21474 \end_inset
21475
21476
21477 \end_layout
21478
21479 \begin_layout Standard
21480 \begin_inset VSpace defskip
21481 \end_inset
21482
21483 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21484
21485 \begin_inset LatexCommand ref
21486 reference "sec:Minipages"
21487
21488 \end_inset
21489
21490 .
21491  Footnotes within longtables are described in section\InsetSpace ~
21492
21493 \begin_inset LatexCommand ref
21494 reference "sub:Footnotes-in-Longtables"
21495
21496 \end_inset
21497
21498 .
21499 \end_layout
21500
21501 \begin_layout Standard
21502 \begin_inset VSpace defskip
21503 \end_inset
21504
21505 To create only a mark for a footnote, use the command 
21506 \series bold
21507
21508 \backslash
21509 footnotemark[number]
21510 \series default
21511  in ERT.
21512  This is used when you have the same annotation several times in a text
21513  but doesn't want to print the footnote text every time.
21514 \newline
21515 As you don't know
21516  the number of the repeating footnote while you are writing the text, you
21517  have to store its number.
21518  For the following footnote mark example, these commands were inserted in
21519  ERT behind Footnote\InsetSpace ~
21520
21521 \begin_inset LatexCommand ref
21522 reference "foot:This-is-an"
21523
21524 \end_inset
21525
21526  to store the footnote number:
21527 \end_layout
21528
21529 \begin_layout Standard
21530
21531 \series bold
21532
21533 \backslash
21534 newcounter{MyRepeatFoot}
21535 \newline
21536
21537 \backslash
21538 setcounter{MyRepeatFoot}{
21539 \backslash
21540 thefootnote}
21541 \end_layout
21542
21543 \begin_layout Standard
21544 The footnote mark was then created with this command:
21545 \end_layout
21546
21547 \begin_layout Standard
21548
21549 \series bold
21550
21551 \backslash
21552 footnotemark[
21553 \backslash
21554 theMyRepeatFoot]
21555 \end_layout
21556
21557 \begin_layout Standard
21558 Here is an example footnote mark:
21559 \family roman
21560 \series medium
21561 \bar no
21562
21563 \begin_inset ERT
21564 status collapsed
21565
21566 \begin_layout Standard
21567
21568
21569 \backslash
21570 footnotemark[
21571 \backslash
21572 theMyRepeatFoot]
21573 \end_layout
21574
21575 \end_inset
21576
21577
21578 \end_layout
21579
21580 \begin_layout Subsection
21581 Footnote Numbering
21582 \begin_inset LatexCommand label
21583 name "sub:Footnote-Numbering"
21584
21585 \end_inset
21586
21587
21588 \begin_inset LatexCommand index
21589 name "Footnotes ! Numbering"
21590
21591 \end_inset
21592
21593
21594 \end_layout
21595
21596 \begin_layout Standard
21597 If you want to have footnotes numbered in the scheme 
21598 \begin_inset Quotes eld
21599 \end_inset
21600
21601 chapter.footnote
21602 \begin_inset Quotes erd
21603 \end_inset
21604
21605 , add the following command to your document preamble:
21606 \end_layout
21607
21608 \begin_layout Standard
21609
21610 \series bold
21611
21612 \backslash
21613 numberwithin{footnote}{chapter}
21614 \end_layout
21615
21616 \begin_layout Standard
21617 To be able to use the command 
21618 \series bold
21619
21620 \backslash
21621 numberwithin
21622 \series default
21623 , set in the tab 
21624 \family sans
21625 Math\InsetSpace ~
21626 Options
21627 \family default
21628  in the document settings the option 
21629 \family sans
21630 Use\InsetSpace ~
21631 AMS\InsetSpace ~
21632 math\InsetSpace ~
21633 package
21634 \family default
21635 .
21636 \end_layout
21637
21638 \begin_layout Standard
21639 \begin_inset ERT
21640 status collapsed
21641
21642 \begin_layout Standard
21643
21644
21645 \backslash
21646 numberwithin{footnote}{chapter}
21647 \end_layout
21648
21649 \end_inset
21650
21651 This is another example footnote:
21652 \series bold
21653
21654 \begin_inset Foot
21655 status open
21656
21657 \begin_layout Standard
21658 This is a footnote numbered in the scheme 
21659 \begin_inset Quotes eld
21660 \end_inset
21661
21662 chapter.footnote
21663 \begin_inset Quotes erd
21664 \end_inset
21665
21666 .
21667 \end_layout
21668
21669 \end_inset
21670
21671
21672 \series default
21673
21674 \begin_inset ERT
21675 status collapsed
21676
21677 \begin_layout Standard
21678
21679
21680 \backslash
21681 numberwithin{footnote}{part}
21682 \end_layout
21683
21684 \end_inset
21685
21686
21687 \end_layout
21688
21689 \begin_layout Standard
21690 \begin_inset VSpace bigskip
21691 \end_inset
21692
21693
21694 \end_layout
21695
21696 \begin_layout Standard
21697 To reset the footnote number back to 1 after each section
21698 \family roman
21699 , add this command to your document preamble:
21700 \end_layout
21701
21702 \begin_layout Standard
21703
21704 \series bold
21705
21706 \backslash
21707 @addtoreset{footnote}{section}
21708 \end_layout
21709
21710 \begin_layout Standard
21711 \begin_inset VSpace bigskip
21712 \end_inset
21713
21714 The following preamble command changes the footnote numbering style to small
21715  roman numerals:
21716 \end_layout
21717
21718 \begin_layout Standard
21719
21720 \series bold
21721
21722 \backslash
21723 renewcommand{
21724 \backslash
21725 thefootnote}{
21726 \backslash
21727 roman{footnote}}
21728 \end_layout
21729
21730 \begin_layout Standard
21731 \begin_inset ERT
21732 status collapsed
21733
21734 \begin_layout Standard
21735
21736
21737 \backslash
21738 renewcommand{
21739 \backslash
21740 thefootnote}{
21741 \backslash
21742 roman{footnote}}
21743 \end_layout
21744
21745 \end_inset
21746
21747  This is a footnote with roman numbering:
21748 \begin_inset Foot
21749 status open
21750
21751 \begin_layout Standard
21752 This is an example footnote with roman numbering.
21753 \end_layout
21754
21755 \end_inset
21756
21757
21758 \begin_inset ERT
21759 status collapsed
21760
21761 \begin_layout Standard
21762
21763
21764 \backslash
21765 renewcommand{
21766 \backslash
21767 thefootnote}{
21768 \backslash
21769 arabic{footnote}}
21770 \end_layout
21771
21772 \end_inset
21773
21774
21775 \end_layout
21776
21777 \begin_layout Standard
21778 To change the numbering style to capital roman numerals replace in the command
21779  above 
21780 \series bold
21781
21782 \backslash
21783 roman
21784 \series default
21785  by 
21786 \series bold
21787
21788 \backslash
21789 Roman
21790 \series default
21791 .
21792  To 
21793 \begin_inset Quotes eld
21794 \end_inset
21795
21796 number
21797 \begin_inset Quotes erd
21798 \end_inset
21799
21800  footnotes with capital or small Latin letters use 
21801 \series bold
21802
21803 \backslash
21804 Alph
21805 \series default
21806  or 
21807 \series bold
21808
21809 \backslash
21810 alph
21811 \series default
21812 , respectively.
21813  To 
21814 \begin_inset Quotes eld
21815 \end_inset
21816
21817 number
21818 \begin_inset Quotes erd
21819 \end_inset
21820
21821  footnotes with symbols use 
21822 \series bold
21823
21824 \backslash
21825 fnsymbol
21826 \series default
21827 .
21828 \end_layout
21829
21830 \begin_layout Standard
21831 \begin_inset Note Greyedout
21832 status open
21833
21834 \begin_layout Standard
21835
21836 \series bold
21837 Note:
21838 \series medium
21839  
21840 \series default
21841 You can only number 26 footnotes with Latin letters, because this numbering
21842  is limited to single letters.
21843 \end_layout
21844
21845 \end_inset
21846
21847
21848 \newline
21849
21850 \begin_inset Note Greyedout
21851 status open
21852
21853 \begin_layout Standard
21854
21855 \series bold
21856 Note:
21857 \series default
21858  You can only number 9 footnotes with symbols.
21859 \end_layout
21860
21861 \end_inset
21862
21863
21864 \end_layout
21865
21866 \begin_layout Standard
21867 To return to the default numbering style when you changed to another one,
21868  use 
21869 \series bold
21870
21871 \backslash
21872 arabic
21873 \series default
21874  instead of 
21875 \series bold
21876
21877 \backslash
21878 roman
21879 \series default
21880  in the command above.
21881 \end_layout
21882
21883 \begin_layout Subsection
21884 Footnote Placement
21885 \begin_inset LatexCommand index
21886 name "Footnotes ! Placement"
21887
21888 \end_inset
21889
21890
21891 \end_layout
21892
21893 \begin_layout Standard
21894 If you have several footnotes in one page, they appear without vertical
21895  space between them at the bottom of the page.
21896  To make them better readable you can e.\InsetSpace \thinspace{}
21897 g.\InsetSpace ~
21898 add 1.5\InsetSpace \thinspace{}
21899 mm space with the following
21900  preamble command:
21901 \end_layout
21902
21903 \begin_layout Standard
21904
21905 \series bold
21906
21907 \backslash
21908 let
21909 \backslash
21910 myFoot
21911 \backslash
21912 footnote
21913 \newline
21914
21915 \backslash
21916 renewcommand{
21917 \backslash
21918 footnote}[1]{
21919 \backslash
21920 myFoot{#1
21921 \backslash
21922 vspace{1.5mm}}}
21923 \end_layout
21924
21925 \begin_layout Standard
21926 \begin_inset VSpace bigskip
21927 \end_inset
21928
21929 In a two-column document the footnotes appear at the bottom of every column,
21930  see Figure\InsetSpace ~
21931
21932 \begin_inset LatexCommand ref
21933 reference "fig:Standard-footnote-placement"
21934
21935 \end_inset
21936
21937 .
21938  If the footnotes should only appear at the bottom of the right column,
21939  as in Figure\InsetSpace ~
21940
21941 \begin_inset LatexCommand ref
21942 reference "fig:Footnote-placement-in"
21943
21944 \end_inset
21945
21946 , use the LaTeX-package 
21947 \series bold
21948 ftnright
21949 \series default
21950
21951 \begin_inset LatexCommand index
21952 name "LaTeX-packages ! ftnright"
21953
21954 \end_inset
21955
21956  with this command in the document preamble:
21957 \end_layout
21958
21959 \begin_layout Standard
21960
21961 \series bold
21962
21963 \backslash
21964 usepackage{ftnright}
21965 \end_layout
21966
21967 \begin_layout Standard
21968 \begin_inset Float figure
21969 placement !h
21970 wide false
21971 sideways false
21972 status open
21973
21974 \begin_layout Standard
21975 \begin_inset ERT
21976 status collapsed
21977
21978 \begin_layout Standard
21979
21980
21981 \backslash
21982 framebox{
21983 \end_layout
21984
21985 \end_inset
21986
21987
21988 \begin_inset Graphics
21989         filename ../clipart/without_fntright.pdf
21990         width 100col%
21991
21992 \end_inset
21993
21994
21995 \begin_inset ERT
21996 status collapsed
21997
21998 \begin_layout Standard
21999
22000 }
22001 \end_layout
22002
22003 \end_inset
22004
22005
22006 \end_layout
22007
22008 \begin_layout Standard
22009 \begin_inset Caption
22010
22011 \begin_layout Standard
22012 \begin_inset LatexCommand label
22013 name "fig:Standard-footnote-placement"
22014
22015 \end_inset
22016
22017 Standard footnote placement in two-column documents.
22018 \end_layout
22019
22020 \end_inset
22021
22022
22023 \end_layout
22024
22025 \end_inset
22026
22027
22028 \end_layout
22029
22030 \begin_layout Standard
22031 \begin_inset Float figure
22032 placement !h
22033 wide false
22034 sideways false
22035 status open
22036
22037 \begin_layout Standard
22038 \begin_inset ERT
22039 status collapsed
22040
22041 \begin_layout Standard
22042
22043
22044 \backslash
22045 framebox{
22046 \end_layout
22047
22048 \end_inset
22049
22050
22051 \begin_inset Graphics
22052         filename ../clipart/with_fntright.pdf
22053         width 100col%
22054
22055 \end_inset
22056
22057
22058 \begin_inset ERT
22059 status collapsed
22060
22061 \begin_layout Standard
22062
22063 }
22064 \end_layout
22065
22066 \end_inset
22067
22068
22069 \end_layout
22070
22071 \begin_layout Standard
22072 \begin_inset Caption
22073
22074 \begin_layout Standard
22075 \begin_inset LatexCommand label
22076 name "fig:Footnote-placement-in"
22077
22078 \end_inset
22079
22080 Footnote placement in two-column documents when the LaTeX-package 
22081 \series bold
22082 ftnright
22083 \series default
22084  is used.
22085 \end_layout
22086
22087 \end_inset
22088
22089
22090 \end_layout
22091
22092 \end_inset
22093
22094
22095 \end_layout
22096
22097 \begin_layout Standard
22098 \begin_inset VSpace bigskip
22099 \end_inset
22100
22101 In some scientific literature it is usual to collect the footnotes and print
22102  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22103
22104 \begin_inset LatexCommand ref
22105 reference "fig:Endnotes----footnotes"
22106
22107 \end_inset
22108
22109 .
22110  They are then so called 
22111 \begin_inset Quotes eld
22112 \end_inset
22113
22114 endnotes
22115 \begin_inset Quotes erd
22116 \end_inset
22117
22118 .
22119  To use endnotes instead of footnotes in your document, load the LaTeX-package
22120  
22121 \series bold
22122 endnotes
22123 \series default
22124
22125 \begin_inset LatexCommand index
22126 name "LaTeX-packages ! endnotes"
22127
22128 \end_inset
22129
22130  with the document preamble lines
22131 \end_layout
22132
22133 \begin_layout Standard
22134
22135 \series bold
22136
22137 \backslash
22138 usepackage{endnotes}
22139 \newline
22140
22141 \backslash
22142 let
22143 \backslash
22144 footnote
22145 \backslash
22146 endnote
22147 \end_layout
22148
22149 \begin_layout Standard
22150 To insert the collected footnotes, insert the command
22151 \end_layout
22152
22153 \begin_layout Standard
22154
22155 \series bold
22156
22157 \backslash
22158 theendnotes
22159 \end_layout
22160
22161 \begin_layout Standard
22162 in ERT at the the end of a section or chapter.
22163 \end_layout
22164
22165 \begin_layout Standard
22166 \begin_inset Float figure
22167 wide false
22168 sideways false
22169 status open
22170
22171 \begin_layout Standard
22172 \align center
22173 \begin_inset ERT
22174 status collapsed
22175
22176 \begin_layout Standard
22177
22178
22179 \backslash
22180 framebox{
22181 \end_layout
22182
22183 \end_inset
22184
22185
22186 \begin_inset Graphics
22187         filename ../clipart/endnotes.pdf
22188
22189 \end_inset
22190
22191
22192 \begin_inset ERT
22193 status collapsed
22194
22195 \begin_layout Standard
22196
22197 }
22198 \end_layout
22199
22200 \end_inset
22201
22202
22203 \end_layout
22204
22205 \begin_layout Standard
22206 \begin_inset Caption
22207
22208 \begin_layout Standard
22209 \begin_inset LatexCommand label
22210 name "fig:Endnotes----footnotes"
22211
22212 \end_inset
22213
22214 Endnotes -- footnotes are printed in a separate paragraph at the end of
22215  sections or chapters.
22216 \end_layout
22217
22218 \end_inset
22219
22220
22221 \end_layout
22222
22223 \end_inset
22224
22225
22226 \end_layout
22227
22228 \begin_layout Standard
22229 \begin_inset VSpace defskip
22230 \end_inset
22231
22232 The paragraph heading for the endnotes isn't automatically translated into
22233  the document language, this must be done manually.
22234  The following preamble command translate the default English name 
22235 \begin_inset Quotes eld
22236 \end_inset
22237
22238 Notes
22239 \begin_inset Quotes erd
22240 \end_inset
22241
22242  to the German translation 
22243 \begin_inset Quotes eld
22244 \end_inset
22245
22246 Anmerkungen
22247 \begin_inset Quotes erd
22248 \end_inset
22249
22250 :
22251 \end_layout
22252
22253 \begin_layout Standard
22254
22255 \series bold
22256
22257 \backslash
22258 renewcommand{
22259 \backslash
22260 notesname}{Anmerkungen}
22261 \end_layout
22262
22263 \begin_layout Standard
22264 \begin_inset VSpace defskip
22265 \end_inset
22266
22267 The numbering of endnotes can be changed like the footnote numbering as
22268  described in section\InsetSpace ~
22269
22270 \begin_inset LatexCommand ref
22271 reference "sub:Footnote-Numbering"
22272
22273 \end_inset
22274
22275 ; just replace the command 
22276 \series bold
22277
22278 \backslash
22279 thefootnote
22280 \series default
22281  by 
22282 \series bold
22283
22284 \backslash
22285 theendnote
22286 \series default
22287 .
22288  To reset the endnote number use the command 
22289 \series bold
22290
22291 \backslash
22292 @addtoreset 
22293 \series default
22294 as described in section\InsetSpace ~
22295
22296 \begin_inset LatexCommand ref
22297 reference "sub:Footnote-Numbering"
22298
22299 \end_inset
22300
22301  and replace the command parameter 
22302 \series bold
22303 footnote
22304 \series default
22305  by 
22306 \series bold
22307 endnote
22308 \series default
22309 .
22310 \end_layout
22311
22312 \begin_layout Standard
22313 To create only a mark for an endnote, use the command 
22314 \series bold
22315
22316 \backslash
22317 endnotemark[number]
22318 \series default
22319  similar to the command 
22320 \series bold
22321
22322 \backslash
22323 footnotemark
22324 \series default
22325 , described in section\InsetSpace ~
22326
22327 \begin_inset LatexCommand ref
22328 reference "sec:Footnotes"
22329
22330 \end_inset
22331
22332 .
22333 \end_layout
22334
22335 \begin_layout Standard
22336 \begin_inset VSpace bigskip
22337 \end_inset
22338
22339 Footnotes can also be placed in the page margin and the footnote text alignment
22340  can be changed, see the LaTeX-package 
22341 \series bold
22342 footmisc
22343 \series default
22344
22345 \begin_inset LatexCommand index
22346 name "LaTeX-packages ! footmisc"
22347
22348 \end_inset
22349
22350
22351 \begin_inset LatexCommand cite
22352 key "footmisc"
22353
22354 \end_inset
22355
22356  for more information about this.
22357 \end_layout
22358
22359 \begin_layout Standard
22360 For various further footnote formatting issues have a look at LaTeX-books,
22361  
22362 \begin_inset LatexCommand cite
22363 key "latexcompanion,latexguide,latexbook"
22364
22365 \end_inset
22366
22367 .
22368 \end_layout
22369
22370 \begin_layout Section
22371 Margin Notes
22372 \begin_inset LatexCommand index
22373 name "Notes ! Margin Notes"
22374
22375 \end_inset
22376
22377
22378 \end_layout
22379
22380 \begin_layout Standard
22381 Margin notes look and behave in LyX like footnotes.
22382  They are inserted via the menu 
22383 \family sans
22384 Insert\SpecialChar \menuseparator
22385 Marginal\InsetSpace ~
22386 Note
22387 \family default
22388  or the toolbar button 
22389 \begin_inset Graphics
22390         filename ../images/marginalnote-insert.xpm
22391         scale 85
22392
22393 \end_inset
22394
22395 .
22396  A
22397 \family roman
22398 \series medium
22399  
22400 \family default
22401 \series default
22402 grey
22403 \family roman
22404 \series medium
22405  box with the 
22406 \family default
22407 \series default
22408 red 
22409 \family roman
22410 \series medium
22411 label 
22412 \begin_inset Quotes eld
22413 \end_inset
22414
22415 margin
22416 \begin_inset Quotes erd
22417 \end_inset
22418
22419  appears where you can enter the text of the margin note.
22420 \end_layout
22421
22422 \begin_layout Standard
22423 At the side is an example margin note.
22424 \family roman
22425 \series medium
22426
22427 \begin_inset Marginal
22428 status open
22429
22430 \begin_layout Standard
22431 This is a margin note.
22432 \end_layout
22433
22434 \end_inset
22435
22436
22437 \end_layout
22438
22439 \begin_layout Standard
22440 Margin notes appear at the right side in single-sided documents.
22441  In double-sided documents they appear in the outer margin -- left on even
22442  pages, right on odd pages.
22443  The text of margin notes is aligned opposite to the outer margin -- right-align
22444 ed when the note appears in the left margin.
22445  The first line of the margin note is placed at the position of the text
22446  line where it is inserted in the document.
22447 \end_layout
22448
22449 \begin_layout Standard
22450 \begin_inset VSpace bigskip
22451 \end_inset
22452
22453 To place the margin note in the inner margin, add the command
22454 \end_layout
22455
22456 \begin_layout Standard
22457
22458 \series bold
22459
22460 \backslash
22461 reversemarginpar
22462 \end_layout
22463
22464 \begin_layout Standard
22465 in ERT before a margin note.
22466  The new placement is valid for all following margin notes.
22467 \begin_inset ERT
22468 status collapsed
22469
22470 \begin_layout Standard
22471
22472
22473 \backslash
22474 reversemarginpar 
22475 \end_layout
22476
22477 \end_inset
22478
22479
22480 \begin_inset Marginal
22481 status open
22482
22483 \begin_layout Standard
22484 This is a margin note in the inner margin.
22485 \end_layout
22486
22487 \end_inset
22488
22489
22490 \series bold
22491
22492 \newline
22493
22494 \series default
22495
22496 \begin_inset Note Greyedout
22497 status open
22498
22499 \begin_layout Standard
22500
22501 \series bold
22502 Note:
22503 \series default
22504  There is often not enough space in the inner margin so that the notes are
22505  not correctly displayed in the output.
22506 \end_layout
22507
22508 \end_inset
22509
22510
22511 \end_layout
22512
22513 \begin_layout Standard
22514 \begin_inset ERT
22515 status collapsed
22516
22517 \begin_layout Standard
22518
22519
22520 \backslash
22521 normalmarginpar 
22522 \end_layout
22523
22524 \end_inset
22525
22526 To return to the default placement insert the command
22527 \end_layout
22528
22529 \begin_layout Standard
22530
22531 \series bold
22532
22533 \backslash
22534 normalmarginpar
22535 \end_layout
22536
22537 \begin_layout Standard
22538 in ERT.
22539  
22540 \begin_inset Note Greyedout
22541 status open
22542
22543 \begin_layout Standard
22544
22545 \series bold
22546 Note:
22547 \series default
22548  The command is ignored when it is within a paragraph where also the command
22549  
22550 \series bold
22551
22552 \backslash
22553 reversemarginpar
22554 \series default
22555  is inserted.
22556 \end_layout
22557
22558 \end_inset
22559
22560
22561 \end_layout
22562
22563 \begin_layout Standard
22564 \begin_inset VSpace bigskip
22565 \end_inset
22566
22567
22568 \family roman
22569 \series medium
22570
22571 \begin_inset Marginal
22572 status open
22573
22574 \begin_layout Standard
22575 AVeryLongMarginParWord that isn't hyphenated.
22576 \end_layout
22577
22578 \end_inset
22579
22580
22581 \family default
22582 \series default
22583 Similar to the case described in section\InsetSpace ~
22584
22585 \begin_inset LatexCommand ref
22586 reference "sub:Multiple-Lines-in"
22587
22588 \end_inset
22589
22590 , long words cannot be hyphenated when they are the first word in a margin
22591  note.
22592  To avoid this, insert the command
22593 \end_layout
22594
22595 \begin_layout Standard
22596
22597 \series bold
22598
22599 \backslash
22600 hspace{0pt}
22601 \end_layout
22602
22603 \begin_layout Standard
22604 in ERT before the word
22605 \family roman
22606 \series medium
22607 .
22608 \begin_inset Marginal
22609 status open
22610
22611 \begin_layout Standard
22612 \begin_inset ERT
22613 status collapsed
22614
22615 \begin_layout Standard
22616
22617
22618 \backslash
22619 hspace{0pt}
22620 \end_layout
22621
22622 \end_inset
22623
22624 AVeryLongMarginParWord that is hyphenated.
22625 \end_layout
22626
22627 \end_inset
22628
22629
22630 \end_layout
22631
22632 \begin_layout Standard
22633 \begin_inset VSpace bigskip
22634 \end_inset
22635
22636
22637 \end_layout
22638
22639 \begin_layout Standard
22640 \begin_inset Note Greyedout
22641 status open
22642
22643 \begin_layout Standard
22644
22645 \series bold
22646 Note:
22647 \series default
22648  Margin notes can normally not be used inside tables, floats, and footnotes.
22649 \end_layout
22650
22651 \end_inset
22652
22653
22654 \end_layout
22655
22656 \begin_layout Standard
22657 \begin_inset VSpace bigskip
22658 \end_inset
22659
22660
22661 \end_layout
22662
22663 \begin_layout Standard
22664 \begin_inset ERT
22665 status collapsed
22666
22667 \begin_layout Standard
22668
22669
22670 \backslash
22671 ifmarginnote
22672 \end_layout
22673
22674 \end_inset
22675
22676
22677 \begin_inset Note Note
22678 status open
22679
22680 \begin_layout Standard
22681 The following section will only be displayed when you have the LaTeX-package
22682  
22683 \series bold
22684 marginnote
22685 \series default
22686  is installed.
22687 \end_layout
22688
22689 \end_inset
22690
22691
22692 \end_layout
22693
22694 \begin_layout Standard
22695 This restriction can be evaded by using the LaTeX-package 
22696 \series bold
22697 marginnote
22698 \series default
22699
22700 \begin_inset LatexCommand index
22701 name "LaTeX-packages ! marginnote"
22702
22703 \end_inset
22704
22705 .
22706  By adding these two lines to your document preamble, the command used by
22707  LyX for margin notes is redefined to use the command provided by the 
22708 \series bold
22709 marginnote
22710 \series default
22711 -package:
22712 \end_layout
22713
22714 \begin_layout Standard
22715
22716 \series bold
22717
22718 \backslash
22719 usepackage{marginnote}
22720 \newline
22721
22722 \backslash
22723 let
22724 \backslash
22725 marginpar
22726 \backslash
22727 marginnote
22728 \end_layout
22729
22730 \begin_layout Standard
22731 This is also used in this document because 
22732 \series bold
22733 marginnote
22734 \series default
22735  has another useful feature: You can set a vertical offset for the note.
22736  This is often needed when too many margin notes are too close together
22737  or for a better page layout.
22738  The offset is set in LyX as ERT directly behind the margin note in the
22739  scheme
22740 \end_layout
22741
22742 \begin_layout Standard
22743
22744 \series bold
22745 [offset]
22746 \end_layout
22747
22748 \begin_layout Standard
22749 where the offset is a length with one of the units listed in Table\InsetSpace ~
22750
22751 \begin_inset LatexCommand ref
22752 reference "tab:Units"
22753
22754 \end_inset
22755
22756 .
22757  A negative value shifts the note up, a positive value shifts it down.
22758
22759 \family roman
22760 \series medium
22761  For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22762 cm with
22763  the ERT-command 
22764 \begin_inset Quotes eld
22765 \end_inset
22766
22767
22768 \family default
22769 \series bold
22770 [-1.5cm]
22771 \family roman
22772 \series medium
22773
22774 \begin_inset Quotes erd
22775 \end_inset
22776
22777
22778 \begin_inset Marginal
22779 status open
22780
22781 \begin_layout Standard
22782 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22783 cm from its original position.
22784 \end_layout
22785
22786 \end_inset
22787
22788
22789 \family default
22790 \series default
22791
22792 \begin_inset ERT
22793 status collapsed
22794
22795 \begin_layout Standard
22796
22797 [-1.5cm]
22798 \end_layout
22799
22800 \end_inset
22801
22802
22803 \end_layout
22804
22805 \begin_layout Standard
22806 \begin_inset VSpace defskip
22807 \end_inset
22808
22809 With 
22810 \series bold
22811 marginnote
22812 \series default
22813  you can also change the alignment of the text in the margin note.
22814  For example the commands
22815 \end_layout
22816
22817 \begin_layout Standard
22818
22819 \series bold
22820
22821 \backslash
22822 renewcommand*{
22823 \backslash
22824 raggedleftmarginnote}{
22825 \backslash
22826 centering}
22827 \newline
22828
22829 \backslash
22830 renewcommand*{
22831 \backslash
22832 raggedrightmarginnote}{
22833 \backslash
22834 centering}
22835 \end_layout
22836
22837 \begin_layout Standard
22838 set the alignment to centered.
22839  
22840 \series bold
22841
22842 \backslash
22843 raggedleftmarginnote
22844 \series default
22845  denotes margin notes that appear at the left side.
22846 \family roman
22847 \series medium
22848
22849 \begin_inset ERT
22850 status collapsed
22851
22852 \begin_layout Standard
22853
22854
22855 \backslash
22856 renewcommand*{
22857 \backslash
22858 raggedleftmarginnote}{
22859 \backslash
22860 centering}
22861 \end_layout
22862
22863 \begin_layout Standard
22864
22865
22866 \backslash
22867 renewcommand*{
22868 \backslash
22869 raggedrightmarginnote}{
22870 \backslash
22871 centering}
22872 \end_layout
22873
22874 \end_inset
22875
22876
22877 \begin_inset Marginal
22878 status open
22879
22880 \begin_layout Standard
22881 The text of this margin note is centered.
22882 \end_layout
22883
22884 \end_inset
22885
22886  
22887 \family default
22888 \series default
22889 The default is
22890 \end_layout
22891
22892 \begin_layout Standard
22893
22894 \series bold
22895
22896 \backslash
22897 renewcommand*{
22898 \backslash
22899 raggedleftmarginnote}{
22900 \backslash
22901 raggedleft}
22902 \newline
22903
22904 \backslash
22905 renewcommand*{
22906 \backslash
22907 raggedrightmarginnote}{
22908 \backslash
22909 raggedright}
22910 \family roman
22911 \series medium
22912
22913 \begin_inset ERT
22914 status collapsed
22915
22916 \begin_layout Standard
22917
22918
22919 \backslash
22920 renewcommand*{
22921 \backslash
22922 raggedleftmarginnote}{
22923 \backslash
22924 raggedleft}
22925 \end_layout
22926
22927 \begin_layout Standard
22928
22929
22930 \backslash
22931 renewcommand*{
22932 \backslash
22933 raggedrightmarginnote}{
22934 \backslash
22935 raggedright}
22936 \end_layout
22937
22938 \end_inset
22939
22940
22941 \end_layout
22942
22943 \begin_layout Standard
22944 \begin_inset VSpace defskip
22945 \end_inset
22946
22947 For the other features of 
22948 \series bold
22949 marginnote
22950 \series default
22951  we refer to its documentation 
22952 \begin_inset LatexCommand cite
22953 key "marginnote"
22954
22955 \end_inset
22956
22957 .
22958 \end_layout
22959
22960 \begin_layout Standard
22961 \begin_inset VSpace bigskip
22962 \end_inset
22963
22964 You can change the layout of margin notes by redefining its definition.
22965  To create for example a header for all margin notes with the underlined,
22966  sans-serif, and bold header text 
22967 \begin_inset Quotes eld
22968 \end_inset
22969
22970
22971 \family sans
22972 \series bold
22973 \bar under
22974 Attention!
22975 \family default
22976 \series default
22977 \bar default
22978
22979 \begin_inset Quotes erd
22980 \end_inset
22981
22982 , add this to your document preamble:
22983 \end_layout
22984
22985 \begin_layout Standard
22986
22987 \series bold
22988
22989 \backslash
22990 let
22991 \backslash
22992 myMarginpar
22993 \backslash
22994 marginpar
22995 \newline
22996
22997 \backslash
22998 renewcommand{
22999 \backslash
23000 marginpar}[1]{
23001 \backslash
23002 myMarginpar{%
23003 \newline
23004
23005 \begin_inset ERT
23006 status collapsed
23007
23008 \begin_layout Standard
23009
23010
23011 \backslash
23012 hphantom{ }
23013 \end_layout
23014
23015 \end_inset
23016
23017
23018 \backslash
23019 hspace{0pt}
23020 \backslash
23021 textsf{
23022 \backslash
23023 textbf{
23024 \backslash
23025 underbar{Attention!}}}%
23026 \newline
23027
23028 \begin_inset ERT
23029 status collapsed
23030
23031 \begin_layout Standard
23032
23033
23034 \backslash
23035 hphantom{ }
23036 \end_layout
23037
23038 \end_inset
23039
23040
23041 \backslash
23042 vspace{1.5mm}
23043 \backslash
23044
23045 \backslash
23046 #1}}
23047 \end_layout
23048
23049 \begin_layout Standard
23050
23051 \family roman
23052 \series medium
23053 \begin_inset ERT
23054 status collapsed
23055
23056 \begin_layout Standard
23057
23058
23059 \backslash
23060 let
23061 \backslash
23062 myMarginpar
23063 \backslash
23064 marginpar
23065 \end_layout
23066
23067 \begin_layout Standard
23068
23069
23070 \backslash
23071 renewcommand{
23072 \backslash
23073 marginpar}[1]{
23074 \backslash
23075 myMarginpar{%
23076 \end_layout
23077
23078 \begin_layout Standard
23079
23080    
23081 \backslash
23082 textsf{
23083 \backslash
23084 textbf{
23085 \backslash
23086 underbar{Attention!}}}%
23087 \end_layout
23088
23089 \begin_layout Standard
23090
23091    
23092 \backslash
23093 vspace{1.5mm}
23094 \backslash
23095
23096 \backslash
23097 #1}}
23098 \end_layout
23099
23100 \end_inset
23101
23102
23103 \begin_inset Marginal
23104 status open
23105
23106 \begin_layout Standard
23107 This is a margin note with a defined heading.
23108 \end_layout
23109
23110 \end_inset
23111
23112
23113 \family default
23114 \series default
23115
23116 \begin_inset ERT
23117 status collapsed
23118
23119 \begin_layout Standard
23120
23121 [-1.5cm]
23122 \end_layout
23123
23124 \end_inset
23125
23126
23127 \family roman
23128 \series medium
23129
23130 \begin_inset ERT
23131 status collapsed
23132
23133 \begin_layout Standard
23134
23135
23136 \backslash
23137 renewcommand{
23138 \backslash
23139 marginpar}[1]{
23140 \backslash
23141 myMarginpar{#1}}
23142 \end_layout
23143
23144 \end_inset
23145
23146
23147 \family default
23148 \series default
23149
23150 \begin_inset Note Note
23151 status collapsed
23152
23153 \begin_layout Standard
23154 The margin note format is changed only for this example.
23155 \end_layout
23156
23157 \end_inset
23158
23159
23160 \end_layout
23161
23162 \begin_layout Standard
23163 \begin_inset ERT
23164 status collapsed
23165
23166 \begin_layout Standard
23167
23168
23169 \backslash
23170 else
23171 \end_layout
23172
23173 \end_inset
23174
23175
23176 \begin_inset Note Note
23177 status open
23178
23179 \begin_layout Standard
23180 The following will be displayed when the LaTeX-package 
23181 \series bold
23182 marginnote
23183 \series default
23184  is not installed:
23185 \end_layout
23186
23187 \end_inset
23188
23189
23190 \end_layout
23191
23192 \begin_layout Standard
23193 You need to install the LaTeX-package 
23194 \series bold
23195 marginnote
23196 \series default
23197  to see the following part of this section in the output.
23198 \end_layout
23199
23200 \begin_layout Standard
23201 \begin_inset ERT
23202 status collapsed
23203
23204 \begin_layout Standard
23205
23206
23207 \backslash
23208 fi
23209 \end_layout
23210
23211 \end_inset
23212
23213
23214 \end_layout
23215
23216 \begin_layout Chapter
23217 Boxes
23218 \end_layout
23219
23220 \begin_layout Section
23221 Introduction
23222 \begin_inset LatexCommand index
23223 name "Boxes ! Introduction"
23224
23225 \end_inset
23226
23227
23228 \end_layout
23229
23230 \begin_layout Standard
23231 Boxes are used to format a block of text.
23232  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23233
23234 \begin_inset LatexCommand ref
23235 reference "sec:Minipages"
23236
23237 \end_inset
23238
23239 , to frame texts, see section\InsetSpace ~
23240
23241 \begin_inset LatexCommand ref
23242 reference "sec:Framed-Boxes"
23243
23244 \end_inset
23245
23246 , to prevent words to be hyphenated, see section\InsetSpace ~
23247
23248 \begin_inset LatexCommand ref
23249 reference "sec:Prevent-Hyphenation"
23250
23251 \end_inset
23252
23253 , to align text, see section\InsetSpace ~
23254
23255 \begin_inset LatexCommand ref
23256 reference "sub:Vertical-Alignment"
23257
23258 \end_inset
23259
23260 , or to set the background color of texts, see section\InsetSpace ~
23261
23262 \begin_inset LatexCommand ref
23263 reference "sec:Colored-Boxes"
23264
23265 \end_inset
23266
23267 .
23268 \end_layout
23269
23270 \begin_layout Standard
23271 Boxes can be inserted with the menu 
23272 \family sans
23273 Insert\SpecialChar \menuseparator
23274 Box
23275 \family default
23276 .
23277  A grey box with the label 
23278 \family sans
23279 Box (Minipage)
23280 \family default
23281
23282 \begin_inset Graphics
23283         filename ../clipart/BoxInsetDefaultQt4.png
23284         scale 85
23285
23286 \end_inset
23287
23288 , will be inserted.
23289  The box type can be specified by right-clicking on the box.
23290  The appearing box dialog offers the 
23291 \family sans
23292 Inner\InsetSpace ~
23293 Box
23294 \family default
23295  types 
23296 \family sans
23297 Parbox
23298 \family default
23299  and 
23300 \family sans
23301 Minipage
23302 \family default
23303 .
23304  The type 
23305 \family sans
23306 Minipage
23307 \family default
23308  is the default for new boxes and is explained in section\InsetSpace ~
23309
23310 \begin_inset LatexCommand ref
23311 reference "sec:Minipages"
23312
23313 \end_inset
23314
23315 ; the type 
23316 \family sans
23317 Parbox
23318 \family default
23319  is described in section\InsetSpace ~
23320
23321 \begin_inset LatexCommand ref
23322 reference "sec:Parboxes"
23323
23324 \end_inset
23325
23326 .
23327 \end_layout
23328
23329 \begin_layout Standard
23330 Boxes aren't numbered and can therefore not be referenced like floats or
23331  footnotes.
23332 \end_layout
23333
23334 \begin_layout Standard
23335 \begin_inset Note Greyedout
23336 status open
23337
23338 \begin_layout Standard
23339
23340 \series bold
23341 Note:
23342 \series default
23343  Due to a bug in LyX you have to insert a protected space behind a box when
23344  you want to separate in a line the box from the following text with a space.
23345 \end_layout
23346
23347 \end_inset
23348
23349
23350 \end_layout
23351
23352 \begin_layout Standard
23353 \begin_inset Note Greyedout
23354 status open
23355
23356 \begin_layout Standard
23357
23358 \series bold
23359 Note:
23360 \series default
23361  Boxes must not be the item in an 
23362 \family sans
23363 Itemize
23364 \family default
23365  or 
23366 \family sans
23367 Description
23368 \family default
23369  environment.
23370 \end_layout
23371
23372 \end_inset
23373
23374
23375 \end_layout
23376
23377 \begin_layout Standard
23378 \begin_inset Note Greyedout
23379 status open
23380
23381 \begin_layout Standard
23382
23383 \series bold
23384 Note:
23385 \series default
23386  For an unknown reason you can only set the 
23387 \family sans
23388 Inner\InsetSpace ~
23389 Box
23390 \family default
23391  type to 
23392 \family sans
23393 None
23394 \family default
23395  when you use a framed box.
23396  Boxes without an 
23397 \family sans
23398 Inner\InsetSpace ~
23399 Box
23400 \family default
23401  type and without frames are explained in section\InsetSpace ~
23402
23403 \begin_inset LatexCommand ref
23404 reference "sec:Prevent-Hyphenation"
23405
23406 \end_inset
23407
23408 .
23409 \end_layout
23410
23411 \end_inset
23412
23413
23414 \end_layout
23415
23416 \begin_layout Section
23417 Box Dialog
23418 \begin_inset LatexCommand label
23419 name "sec:Box-Dialog"
23420
23421 \end_inset
23422
23423
23424 \begin_inset LatexCommand index
23425 name "Boxes ! Box Dialog"
23426
23427 \end_inset
23428
23429
23430 \begin_inset LatexCommand index
23431 name "Boxes ! Alignment"
23432
23433 \end_inset
23434
23435
23436 \end_layout
23437
23438 \begin_layout Standard
23439 In the box dialog you can adjust the box geometry in the fields 
23440 \family sans
23441 Width
23442 \family default
23443  and 
23444 \family sans
23445 Height
23446 \family default
23447 .
23448  The available units for the geometry are explained in Table\InsetSpace ~
23449
23450 \begin_inset LatexCommand ref
23451 reference "tab:Units"
23452
23453 \end_inset
23454
23455 .
23456  The field 
23457 \family sans
23458 Heigth
23459 \family default
23460  offers the following additional sizes:
23461 \end_layout
23462
23463 \begin_layout Description
23464 Depth This is the plain text 
23465 \begin_inset Quotes eld
23466 \end_inset
23467
23468 height
23469 \begin_inset Quotes erd
23470 \end_inset
23471
23472 .
23473  It ignores the total depth when there are multiple text lines in the box:
23474 \newline
23475
23476 \newline
23477
23478 \newline
23479
23480 \begin_inset Box Boxed
23481 position "c"
23482 hor_pos "c"
23483 has_inner_box 1
23484 inner_pos "c"
23485 use_parbox 0
23486 width "12col%"
23487 special "none"
23488 height "1in"
23489 height_special "depth"
23490 status collapsed
23491
23492 \begin_layout Standard
23493 \align center
23494 Box height set to 1\InsetSpace \thinspace{}
23495 Depth
23496 \end_layout
23497
23498 \end_inset
23499
23500
23501 \newline
23502
23503 \newline
23504
23505 \end_layout
23506
23507 \begin_layout Description
23508 Height This is the heigth of the text that is inside the box.
23509  A value of e.\InsetSpace \thinspace{}
23510 g.\InsetSpace ~
23511 2 for this size will set the box heigth to 2 times the text
23512  height: 
23513 \begin_inset Box Boxed
23514 position "c"
23515 hor_pos "c"
23516 has_inner_box 1
23517 inner_pos "c"
23518 use_parbox 0
23519 width "20col%"
23520 special "none"
23521 height "2in"
23522 height_special "height"
23523 status collapsed
23524
23525 \begin_layout Standard
23526 \align center
23527 Box height set to 2\InsetSpace \thinspace{}
23528 Height
23529 \end_layout
23530
23531 \end_inset
23532
23533
23534 \end_layout
23535
23536 \begin_layout Description
23537 Total\InsetSpace ~
23538 Height This is the Height\InsetSpace \thinspace{}
23539 +\InsetSpace \thinspace{}
23540 Depth: 
23541 \begin_inset Box Boxed
23542 position "c"
23543 hor_pos "c"
23544 has_inner_box 1
23545 inner_pos "c"
23546 use_parbox 0
23547 width "20col%"
23548 special "none"
23549 height "1in"
23550 height_special "totalheight"
23551 status collapsed
23552
23553 \begin_layout Standard
23554 \align center
23555 Box height set to 1\InsetSpace \thinspace{}
23556 Total\InsetSpace ~
23557 Height
23558 \end_layout
23559
23560 \end_inset
23561
23562
23563 \end_layout
23564
23565 \begin_layout Description
23566 Width This set the width of the box as heigth: 
23567 \begin_inset Box Boxed
23568 position "c"
23569 hor_pos "c"
23570 has_inner_box 1
23571 inner_pos "c"
23572 use_parbox 0
23573 width "12col%"
23574 special "none"
23575 height "1in"
23576 height_special "width"
23577 status collapsed
23578
23579 \begin_layout Standard
23580 \align center
23581 Box height set to 1\InsetSpace \thinspace{}
23582 Width
23583 \end_layout
23584
23585 \end_inset
23586
23587
23588 \end_layout
23589
23590 \begin_layout Standard
23591 \begin_inset VSpace bigskip
23592 \end_inset
23593
23594 When you have chosen an 
23595 \family sans
23596 Inner\InsetSpace ~
23597 Box
23598 \family default
23599 , the vertical box alignment can be:
23600 \end_layout
23601
23602 \begin_layout Description
23603 Top This is an example text line.
23604  
23605 \begin_inset Box Boxed
23606 position "t"
23607 hor_pos "c"
23608 has_inner_box 1
23609 inner_pos "c"
23610 use_parbox 0
23611 width "12col%"
23612 special "none"
23613 height "1in"
23614 height_special "totalheight"
23615 status collapsed
23616
23617 \begin_layout Standard
23618 \align center
23619 This box is top-aligned.
23620 \end_layout
23621
23622 \end_inset
23623
23624 \InsetSpace ~
23625 This is an example text line.
23626 \end_layout
23627
23628 \begin_layout Description
23629 Middle This is an example text line.
23630  
23631 \begin_inset Box Boxed
23632 position "c"
23633 hor_pos "c"
23634 has_inner_box 1
23635 inner_pos "c"
23636 use_parbox 0
23637 width "12col%"
23638 special "none"
23639 height "1in"
23640 height_special "totalheight"
23641 status collapsed
23642
23643 \begin_layout Standard
23644 \align center
23645 This box is middle-aligned.
23646 \end_layout
23647
23648 \end_inset
23649
23650 \InsetSpace ~
23651 This is an example text line.
23652 \end_layout
23653
23654 \begin_layout Description
23655 Bottom This is an example text line.
23656  
23657 \begin_inset Box Boxed
23658 position "b"
23659 hor_pos "c"
23660 has_inner_box 1
23661 inner_pos "c"
23662 use_parbox 0
23663 width "12col%"
23664 special "none"
23665 height "1in"
23666 height_special "totalheight"
23667 status collapsed
23668
23669 \begin_layout Standard
23670 \align center
23671 This box is bottom-aligned.
23672 \end_layout
23673
23674 \end_inset
23675
23676 \InsetSpace ~
23677 This is an example text line.
23678 \end_layout
23679
23680 \begin_layout Standard
23681 The horizontal box alignment can be set via LyX's paragraph dialog when
23682  you set the box into its own paragraph.
23683 \end_layout
23684
23685 \begin_layout Standard
23686 \begin_inset VSpace bigskip
23687 \end_inset
23688
23689 When you have chosen an 
23690 \family sans
23691 Inner\InsetSpace ~
23692 Box
23693 \family default
23694 , the box content can be vertical aligned to:
23695 \end_layout
23696
23697 \begin_layout Description
23698 top This is an example text line.
23699  
23700 \begin_inset Box Boxed
23701 position "c"
23702 hor_pos "c"
23703 has_inner_box 1
23704 inner_pos "t"
23705 use_parbox 0
23706 width "12col%"
23707 special "none"
23708 height "1.5in"
23709 height_special "totalheight"
23710 status collapsed
23711
23712 \begin_layout Standard
23713 \align center
23714 This box text is top-aligned.
23715 \end_layout
23716
23717 \end_inset
23718
23719 \InsetSpace ~
23720 This is an example text line.
23721 \end_layout
23722
23723 \begin_layout Description
23724 middle This is an example text line.
23725  
23726 \begin_inset Box Boxed
23727 position "c"
23728 hor_pos "c"
23729 has_inner_box 1
23730 inner_pos "c"
23731 use_parbox 0
23732 width "12col%"
23733 special "none"
23734 height "1.5in"
23735 height_special "totalheight"
23736 status collapsed
23737
23738 \begin_layout Standard
23739 \align center
23740 This box text is middle-aligned.
23741 \end_layout
23742
23743 \end_inset
23744
23745 \InsetSpace ~
23746 This is an example text line.
23747 \end_layout
23748
23749 \begin_layout Description
23750 bottom This is an example text line.
23751  
23752 \begin_inset Box Boxed
23753 position "c"
23754 hor_pos "c"
23755 has_inner_box 1
23756 inner_pos "b"
23757 use_parbox 0
23758 width "12col%"
23759 special "none"
23760 height "1.5in"
23761 height_special "totalheight"
23762 status collapsed
23763
23764 \begin_layout Standard
23765 \align center
23766 This box text is bottom-aligned.
23767 \end_layout
23768
23769 \end_inset
23770
23771 \InsetSpace ~
23772 This is an example text line.
23773 \end_layout
23774
23775 \begin_layout Description
23776 stretch This is an example text line.
23777  
23778 \begin_inset Box Boxed
23779 position "c"
23780 hor_pos "c"
23781 has_inner_box 1
23782 inner_pos "s"
23783 use_parbox 0
23784 width "12col%"
23785 special "none"
23786 height "1.5in"
23787 height_special "totalheight"
23788 status collapsed
23789
23790 \begin_layout Standard
23791 \align center
23792 This box
23793 \end_layout
23794
23795 \begin_layout Standard
23796 \align center
23797 text is
23798 \end_layout
23799
23800 \begin_layout Standard
23801 \align center
23802 stretched.
23803 \end_layout
23804
23805 \end_inset
23806
23807 \InsetSpace ~
23808 This is an example text line.
23809 \end_layout
23810
23811 \begin_layout Standard
23812 To stretch the box content, it must consist of more than one paragraph.
23813  In the example above every text line is in an own paragraph.
23814 \end_layout
23815
23816 \begin_layout Standard
23817 \begin_inset VSpace bigskip
23818 \end_inset
23819
23820 To align the box content horizontally you can use LyX's paragraph dialog
23821  when you have chosen an 
23822 \family sans
23823 Inner\InsetSpace ~
23824 Box
23825 \family default
23826 .
23827 \end_layout
23828
23829 \begin_layout Standard
23830 \align center
23831 \begin_inset Box Boxed
23832 position "c"
23833 hor_pos "c"
23834 has_inner_box 1
23835 inner_pos "s"
23836 use_parbox 0
23837 width "15col%"
23838 special "none"
23839 height "1.25in"
23840 height_special "totalheight"
23841 status collapsed
23842
23843 \begin_layout Standard
23844 \align left
23845 This box
23846 \end_layout
23847
23848 \begin_layout Standard
23849 \align center
23850 text is
23851 \end_layout
23852
23853 \begin_layout Standard
23854 \align right
23855 stretched.
23856 \end_layout
23857
23858 \end_inset
23859
23860
23861 \end_layout
23862
23863 \begin_layout Standard
23864 If you haven't set an 
23865 \family sans
23866 Inner\InsetSpace ~
23867 Box
23868 \family default
23869 , you can align the box content horizontally in the box dialog.
23870 \end_layout
23871
23872 \begin_layout Standard
23873 \align center
23874 \begin_inset Box Boxed
23875 position "c"
23876 hor_pos "s"
23877 has_inner_box 0
23878 inner_pos "s"
23879 use_parbox 0
23880 width "90col%"
23881 special "none"
23882 height "1.25in"
23883 height_special "totalheight"
23884 status collapsed
23885
23886 \begin_layout Standard
23887 \align left
23888 This box text is horizontally stretched.
23889 \end_layout
23890
23891 \end_inset
23892
23893
23894 \end_layout
23895
23896 \begin_layout Section
23897 Framed Boxes
23898 \begin_inset LatexCommand label
23899 name "sec:Framed-Boxes"
23900
23901 \end_inset
23902
23903
23904 \begin_inset LatexCommand index
23905 name "Boxes ! Frames"
23906
23907 \end_inset
23908
23909
23910 \end_layout
23911
23912 \begin_layout Standard
23913 The frame style of the box can be specified in the box-dialog in the drop-down
23914  list 
23915 \family sans
23916 Type
23917 \family default
23918 .
23919  The following frame types are possible:
23920 \end_layout
23921
23922 \begin_layout Description
23923 Rectangular\InsetSpace ~
23924 box This draws a rectangle frame around the box.
23925  The frame line thickness has the size of 
23926 \series bold
23927
23928 \backslash
23929 fboxrule
23930 \series default
23931 .
23932  
23933 \begin_inset Box Boxed
23934 position "c"
23935 hor_pos "c"
23936 has_inner_box 1
23937 inner_pos "c"
23938 use_parbox 0
23939 width "20col%"
23940 special "none"
23941 height "1in"
23942 height_special "totalheight"
23943 status collapsed
23944
23945 \begin_layout Standard
23946 \align center
23947 Rectangular box
23948 \end_layout
23949
23950 \end_inset
23951
23952
23953 \end_layout
23954
23955 \begin_layout Description
23956 Oval\InsetSpace ~
23957 box,\InsetSpace ~
23958 thin This draws an oval frame around the box.
23959  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23960 pt.
23961  
23962 \begin_inset Box ovalbox
23963 position "c"
23964 hor_pos "c"
23965 has_inner_box 1
23966 inner_pos "c"
23967 use_parbox 0
23968 width "20col%"
23969 special "none"
23970 height "1in"
23971 height_special "totalheight"
23972 status collapsed
23973
23974 \begin_layout Standard
23975 \align center
23976 Oval box, thin
23977 \end_layout
23978
23979 \end_inset
23980
23981
23982 \end_layout
23983
23984 \begin_layout Description
23985 Oval\InsetSpace ~
23986 box,\InsetSpace ~
23987 thick This draws an oval frame around the box.
23988  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
23989 pt.
23990  
23991 \begin_inset Box Ovalbox
23992 position "c"
23993 hor_pos "c"
23994 has_inner_box 1
23995 inner_pos "c"
23996 use_parbox 0
23997 width "20col%"
23998 special "none"
23999 height "1in"
24000 height_special "totalheight"
24001 status collapsed
24002
24003 \begin_layout Standard
24004 \align center
24005 Oval box, thick
24006 \end_layout
24007
24008 \end_inset
24009
24010
24011 \end_layout
24012
24013 \begin_layout Description
24014 Shadow\InsetSpace ~
24015 box This draws a rectangle frame with a shadow around the box.
24016  The frame line thickness has the size of 
24017 \series bold
24018
24019 \backslash
24020 fboxrule
24021 \series default
24022 , the shadow has a width of 4\InsetSpace \thinspace{}
24023 pt.
24024  
24025 \begin_inset Box Shadowbox
24026 position "c"
24027 hor_pos "c"
24028 has_inner_box 1
24029 inner_pos "c"
24030 use_parbox 0
24031 width "20col%"
24032 special "none"
24033 height "1in"
24034 height_special "totalheight"
24035 status collapsed
24036
24037 \begin_layout Standard
24038 \align center
24039 Shadow box
24040 \end_layout
24041
24042 \end_inset
24043
24044
24045 \end_layout
24046
24047 \begin_layout Description
24048 Double\InsetSpace ~
24049 box This draws a double-line rectangle frame around the box.
24050  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24051
24052 \series bold
24053
24054 \backslash
24055 fboxrule
24056 \series default
24057 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24058
24059 \series bold
24060
24061 \backslash
24062 fboxrule
24063 \series default
24064 .
24065  The distance between the lines is 1.5\InsetSpace \thinspace{}
24066
24067 \series bold
24068
24069 \backslash
24070 fboxrule
24071 \series default
24072 \InsetSpace \thinspace{}
24073 +\InsetSpace \thinspace{}
24074 0.5\InsetSpace \thinspace{}
24075 pt.
24076  
24077 \begin_inset Box Doublebox
24078 position "c"
24079 hor_pos "c"
24080 has_inner_box 1
24081 inner_pos "c"
24082 use_parbox 0
24083 width "20col%"
24084 special "none"
24085 height "1in"
24086 height_special "totalheight"
24087 status collapsed
24088
24089 \begin_layout Standard
24090 \align center
24091 Double box
24092 \end_layout
24093
24094 \end_inset
24095
24096
24097 \end_layout
24098
24099 \begin_layout Standard
24100 \begin_inset VSpace bigskip
24101 \end_inset
24102
24103 LyX's box label will change to the used frame style when you set a frame.
24104  To be able to use the different frame styles, the LaTeX-package 
24105 \series bold
24106 fancybox
24107 \series default
24108
24109 \begin_inset LatexCommand index
24110 name "LaTeX-packages ! fancybox"
24111
24112 \end_inset
24113
24114  must be installed.
24115 \end_layout
24116
24117 \begin_layout Standard
24118 \begin_inset VSpace bigskip
24119 \end_inset
24120
24121 The default value for the size 
24122 \series bold
24123
24124 \backslash
24125 fboxrule
24126 \series default
24127  is 0.4\InsetSpace \thinspace{}
24128 pt.
24129  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24130 g.\InsetSpace ~
24131 2\InsetSpace \thinspace{}
24132 pt:
24133 \end_layout
24134
24135 \begin_layout Standard
24136
24137 \series bold
24138
24139 \backslash
24140 setlength{
24141 \backslash
24142 fboxrule}{2pt}
24143 \end_layout
24144
24145 \begin_layout Standard
24146 \begin_inset ERT
24147 status collapsed
24148
24149 \begin_layout Standard
24150
24151
24152 \backslash
24153 setlength{
24154 \backslash
24155 fboxrule}{2pt}
24156 \end_layout
24157
24158 \end_inset
24159
24160
24161 \begin_inset Box Boxed
24162 position "c"
24163 hor_pos "c"
24164 has_inner_box 1
24165 inner_pos "c"
24166 use_parbox 0
24167 width "25col%"
24168 special "none"
24169 height "1in"
24170 height_special "totalheight"
24171 status collapsed
24172
24173 \begin_layout Standard
24174 \align center
24175 Rectangular box with 
24176 \series bold
24177
24178 \backslash
24179 fboxrule
24180 \series default
24181 \InsetSpace \thinspace{}
24182 =\InsetSpace \thinspace{}
24183 2\InsetSpace \thinspace{}
24184 pt
24185 \end_layout
24186
24187 \end_inset
24188
24189
24190 \begin_inset ERT
24191 status collapsed
24192
24193 \begin_layout Standard
24194
24195
24196 \backslash
24197 setlength{
24198 \backslash
24199 fboxrule}{0.4pt}
24200 \end_layout
24201
24202 \end_inset
24203
24204
24205 \end_layout
24206
24207 \begin_layout Standard
24208 \begin_inset VSpace bigskip
24209 \end_inset
24210
24211 The space between the frame and the box content is for all frame styles
24212  by default 3\InsetSpace \thinspace{}
24213 pt.
24214  You can change it by setting the length 
24215 \series bold
24216
24217 \backslash
24218 fboxsep
24219 \series default
24220  to another value.
24221  For example the command
24222 \end_layout
24223
24224 \begin_layout Standard
24225
24226 \series bold
24227
24228 \backslash
24229 setlength{
24230 \backslash
24231 fboxsep}{10pt}
24232 \end_layout
24233
24234 \begin_layout Standard
24235 sets the value to 10\InsetSpace \thinspace{}
24236 pt, like for the following box:
24237 \end_layout
24238
24239 \begin_layout Standard
24240 \begin_inset ERT
24241 status collapsed
24242
24243 \begin_layout Standard
24244
24245
24246 \backslash
24247 setlength{
24248 \backslash
24249 fboxsep}{10pt}
24250 \end_layout
24251
24252 \end_inset
24253
24254
24255 \begin_inset Box Boxed
24256 position "c"
24257 hor_pos "c"
24258 has_inner_box 1
24259 inner_pos "c"
24260 use_parbox 0
24261 width "25col%"
24262 special "none"
24263 height "1in"
24264 height_special "totalheight"
24265 status collapsed
24266
24267 \begin_layout Standard
24268 \align center
24269 Rectangular box with 
24270 \series bold
24271
24272 \backslash
24273 fboxsep
24274 \series default
24275 \InsetSpace \thinspace{}
24276 =\InsetSpace \thinspace{}
24277 10\InsetSpace \thinspace{}
24278 pt
24279 \end_layout
24280
24281 \end_inset
24282
24283
24284 \begin_inset ERT
24285 status collapsed
24286
24287 \begin_layout Standard
24288
24289
24290 \backslash
24291 setlength{
24292 \backslash
24293 fboxsep}{3pt}
24294 \end_layout
24295
24296 \end_inset
24297
24298
24299 \end_layout
24300
24301 \begin_layout Standard
24302 \begin_inset VSpace bigskip
24303 \end_inset
24304
24305 The diameter of the round corners of the oval boxes can be set with the
24306  command 
24307 \series bold
24308
24309 \backslash
24310 cornersize
24311 \series default
24312 .
24313  The command
24314 \end_layout
24315
24316 \begin_layout Standard
24317
24318 \series bold
24319
24320 \backslash
24321 cornersize*{1cm}
24322 \end_layout
24323
24324 \begin_layout Standard
24325 sets the diameter to 1\InsetSpace \thinspace{}
24326 cm.
24327  The command
24328 \end_layout
24329
24330 \begin_layout Standard
24331
24332 \series bold
24333
24334 \backslash
24335 cornersize{num}
24336 \end_layout
24337
24338 \begin_layout Standard
24339 sets the diameter to 
24340 \family sans
24341 num\InsetSpace \thinspace{}
24342 ×\InsetSpace \thinspace{}
24343 minimum(width and heigth of box)
24344 \family default
24345 .
24346  The default is 
24347 \series bold
24348
24349 \backslash
24350 cornersize{0.5}
24351 \series default
24352 .
24353 \end_layout
24354
24355 \begin_layout Standard
24356 \begin_inset ERT
24357 status collapsed
24358
24359 \begin_layout Standard
24360
24361
24362 \backslash
24363 cornersize*{1.5cm}
24364 \end_layout
24365
24366 \end_inset
24367
24368
24369 \begin_inset Box Ovalbox
24370 position "c"
24371 hor_pos "c"
24372 has_inner_box 1
24373 inner_pos "c"
24374 use_parbox 0
24375 width "25col%"
24376 special "none"
24377 height "1in"
24378 height_special "totalheight"
24379 status collapsed
24380
24381 \begin_layout Standard
24382 \align center
24383 Oval box with 
24384 \series bold
24385
24386 \backslash
24387 cornersize
24388 \series default
24389 \InsetSpace \thinspace{}
24390 =\InsetSpace \thinspace{}
24391 1.5\InsetSpace \thinspace{}
24392 cm
24393 \end_layout
24394
24395 \end_inset
24396
24397
24398 \begin_inset ERT
24399 status collapsed
24400
24401 \begin_layout Standard
24402
24403
24404 \backslash
24405 cornersize{0.5}
24406 \end_layout
24407
24408 \end_inset
24409
24410
24411 \end_layout
24412
24413 \begin_layout Standard
24414 \begin_inset VSpace bigskip
24415 \end_inset
24416
24417 The size of the shadow can be adjusted by changing the length 
24418 \series bold
24419
24420 \backslash
24421 shadowsize
24422 \series default
24423 .
24424  It it set to 2\InsetSpace \thinspace{}
24425 pt for the following box by this command:
24426 \end_layout
24427
24428 \begin_layout Standard
24429
24430 \series bold
24431
24432 \backslash
24433 setlength{
24434 \backslash
24435 shadowsize}{2pt}
24436 \end_layout
24437
24438 \begin_layout Standard
24439 \begin_inset ERT
24440 status collapsed
24441
24442 \begin_layout Standard
24443
24444
24445 \backslash
24446 setlength{
24447 \backslash
24448 shadowsize}{2pt}
24449 \end_layout
24450
24451 \end_inset
24452
24453
24454 \begin_inset Box Shadowbox
24455 position "c"
24456 hor_pos "c"
24457 has_inner_box 1
24458 inner_pos "c"
24459 use_parbox 0
24460 width "25col%"
24461 special "none"
24462 height "1in"
24463 height_special "totalheight"
24464 status collapsed
24465
24466 \begin_layout Standard
24467 \align center
24468 Shadow box with 
24469 \series bold
24470
24471 \backslash
24472 shadowsize
24473 \series default
24474 \InsetSpace \thinspace{}
24475 =\InsetSpace \thinspace{}
24476 2\InsetSpace \thinspace{}
24477 pt
24478 \end_layout
24479
24480 \end_inset
24481
24482
24483 \begin_inset ERT
24484 status collapsed
24485
24486 \begin_layout Standard
24487
24488
24489 \backslash
24490 setlength{
24491 \backslash
24492 shadowsize}{4pt}
24493 \end_layout
24494
24495 \end_inset
24496
24497
24498 \end_layout
24499
24500 \begin_layout Standard
24501 \begin_inset VSpace bigskip
24502 \end_inset
24503
24504 Changed lengths and widths are valid for all boxes following the commands
24505  that change them.
24506 \end_layout
24507
24508 \begin_layout Section
24509 Minipages
24510 \begin_inset LatexCommand label
24511 name "sec:Minipages"
24512
24513 \end_inset
24514
24515
24516 \begin_inset LatexCommand index
24517 name "Boxes ! Minipages"
24518
24519 \end_inset
24520
24521
24522 \end_layout
24523
24524 \begin_layout Standard
24525 Minipages are treated by LaTeX as pages within pages and can therefore for
24526  example have their own footnotes.
24527 \end_layout
24528
24529 \begin_layout Standard
24530 Minipages are useful when you write documents with different languages.
24531 \end_layout
24532
24533 \begin_layout Standard
24534 Below are two example minipages side by side.
24535  Their width is set to 45\InsetSpace \thinspace{}
24536 col% and they are separated by a horizontal fill,
24537  that was inserted via the menu 
24538 \family sans
24539 Insert\SpecialChar \menuseparator
24540 Special\InsetSpace ~
24541 Formatting\SpecialChar \menuseparator
24542 Horizontal\InsetSpace ~
24543 Fill
24544 \family default
24545 .
24546 \end_layout
24547
24548 \begin_layout Standard
24549 \begin_inset Box Frameless
24550 position "t"
24551 hor_pos "c"
24552 has_inner_box 1
24553 inner_pos "c"
24554 use_parbox 0
24555 width "45col%"
24556 special "none"
24557 height "1in"
24558 height_special "totalheight"
24559 status open
24560
24561 \begin_layout Standard
24562
24563 \lang german
24564 Dies ist ein deutscher Text.
24565  Dies ist ein deutscher Text.
24566  Dies ist ein deutscher Text.
24567  Dies ist ein deutscher Text.
24568  Dies ist ein deutscher Text.
24569  Dies ist ein deutscher Text.
24570  Dies ist ein deutscher Text.
24571  Dies ist ein deutscher Text.
24572  Dies ist ein deutscher Text.
24573  Dies ist ein deutscher Text.
24574  Dies ist ein deutscher Text.
24575  Dies ist ein deutscher Text.
24576  Dies ist ein deutscher Text
24577 \begin_inset Foot
24578 status collapsed
24579
24580 \begin_layout Standard
24581
24582 \lang german
24583 Dies ist eine deutsche Fußnote.
24584 \end_layout
24585
24586 \end_inset
24587
24588 .
24589  Dies ist ein deutscher Text.
24590  Dies ist ein deutscher Text.
24591 \end_layout
24592
24593 \end_inset
24594
24595
24596 \hfill
24597
24598 \begin_inset Box Frameless
24599 position "t"
24600 hor_pos "c"
24601 has_inner_box 1
24602 inner_pos "c"
24603 use_parbox 0
24604 width "45col%"
24605 special "none"
24606 height "1in"
24607 height_special "totalheight"
24608 status open
24609
24610 \begin_layout Standard
24611 This is an English Text.
24612  This is an English Text.
24613  This is an English Text.
24614  This is an English Text.
24615  This is an English Text.
24616  This is an English Text.
24617  This is an English Text.
24618  This is an English Text.
24619  This is an English Text.
24620  This is an English Text.
24621  This is an English Text.
24622  This is an English Text.
24623  This is an English Text.
24624  This is an English Text.
24625  This is an English Text.
24626  This is an English Text.
24627 \begin_inset Foot
24628 status collapsed
24629
24630 \begin_layout Standard
24631 This is an English footnote.
24632 \end_layout
24633
24634 \end_inset
24635
24636  This is an English Text.
24637  
24638 \end_layout
24639
24640 \end_inset
24641
24642
24643 \end_layout
24644
24645 \begin_layout Standard
24646 \begin_inset VSpace bigskip
24647 \end_inset
24648
24649 Another application for minipages are footnotes within tables.
24650  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24651  bottom of the current page.
24652  But when you put the table with the footnote to a minipage, the footnote
24653  will appear at its bottom, numbered with Latin letters.
24654  The footnote number is reset to 1 in every minipage but not outside the
24655  minipages.
24656 \end_layout
24657
24658 \begin_layout Standard
24659 The footnote of this table doesn't appear: 
24660 \begin_inset Tabular
24661 <lyxtabular version="3" rows="3" columns="4">
24662 <features>
24663 <column alignment="center" valignment="top" leftline="true" width="0pt">
24664 <column alignment="center" valignment="top" leftline="true" width="0pt">
24665 <column alignment="center" valignment="top" leftline="true" width="0pt">
24666 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24667 <row topline="true">
24668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24669 \begin_inset Text
24670
24671 \begin_layout Standard
24672 1
24673 \end_layout
24674
24675 \end_inset
24676 </cell>
24677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24678 \begin_inset Text
24679
24680 \begin_layout Standard
24681 2
24682 \end_layout
24683
24684 \end_inset
24685 </cell>
24686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24687 \begin_inset Text
24688
24689 \begin_layout Standard
24690 3
24691 \begin_inset Foot
24692 status collapsed
24693
24694 \begin_layout Standard
24695 This is a footnote within a table.
24696 \end_layout
24697
24698 \end_inset
24699
24700
24701 \end_layout
24702
24703 \end_inset
24704 </cell>
24705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24706 \begin_inset Text
24707
24708 \begin_layout Standard
24709 4
24710 \end_layout
24711
24712 \end_inset
24713 </cell>
24714 </row>
24715 <row topline="true">
24716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24717 \begin_inset Text
24718
24719 \begin_layout Standard
24720 a
24721 \end_layout
24722
24723 \end_inset
24724 </cell>
24725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24726 \begin_inset Text
24727
24728 \begin_layout Standard
24729 b
24730 \end_layout
24731
24732 \end_inset
24733 </cell>
24734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24735 \begin_inset Text
24736
24737 \begin_layout Standard
24738 c
24739 \end_layout
24740
24741 \end_inset
24742 </cell>
24743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24744 \begin_inset Text
24745
24746 \begin_layout Standard
24747 d
24748 \end_layout
24749
24750 \end_inset
24751 </cell>
24752 </row>
24753 <row topline="true" bottomline="true">
24754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24755 \begin_inset Text
24756
24757 \begin_layout Standard
24758 e
24759 \end_layout
24760
24761 \end_inset
24762 </cell>
24763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24764 \begin_inset Text
24765
24766 \begin_layout Standard
24767 f
24768 \end_layout
24769
24770 \end_inset
24771 </cell>
24772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24773 \begin_inset Text
24774
24775 \begin_layout Standard
24776 g
24777 \end_layout
24778
24779 \end_inset
24780 </cell>
24781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24782 \begin_inset Text
24783
24784 \begin_layout Standard
24785 h
24786 \end_layout
24787
24788 \end_inset
24789 </cell>
24790 </row>
24791 </lyxtabular>
24792
24793 \end_inset
24794
24795
24796 \end_layout
24797
24798 \begin_layout Standard
24799 \align center
24800 \begin_inset Box Frameless
24801 position "t"
24802 hor_pos "c"
24803 has_inner_box 1
24804 inner_pos "c"
24805 use_parbox 0
24806 width "30col%"
24807 special "none"
24808 height "1in"
24809 height_special "totalheight"
24810 status open
24811
24812 \begin_layout Standard
24813 \align center
24814 \begin_inset Tabular
24815 <lyxtabular version="3" rows="3" columns="4">
24816 <features>
24817 <column alignment="center" valignment="top" leftline="true" width="0pt">
24818 <column alignment="center" valignment="top" leftline="true" width="0pt">
24819 <column alignment="center" valignment="top" leftline="true" width="0pt">
24820 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24821 <row topline="true">
24822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24823 \begin_inset Text
24824
24825 \begin_layout Standard
24826 1
24827 \end_layout
24828
24829 \end_inset
24830 </cell>
24831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24832 \begin_inset Text
24833
24834 \begin_layout Standard
24835 2
24836 \end_layout
24837
24838 \end_inset
24839 </cell>
24840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24841 \begin_inset Text
24842
24843 \begin_layout Standard
24844 3
24845 \begin_inset Foot
24846 status collapsed
24847
24848 \begin_layout Standard
24849 This is a footnote within a table.
24850 \end_layout
24851
24852 \end_inset
24853
24854
24855 \end_layout
24856
24857 \end_inset
24858 </cell>
24859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24860 \begin_inset Text
24861
24862 \begin_layout Standard
24863 4
24864 \end_layout
24865
24866 \end_inset
24867 </cell>
24868 </row>
24869 <row topline="true">
24870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24871 \begin_inset Text
24872
24873 \begin_layout Standard
24874 a
24875 \end_layout
24876
24877 \end_inset
24878 </cell>
24879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24880 \begin_inset Text
24881
24882 \begin_layout Standard
24883 b
24884 \end_layout
24885
24886 \end_inset
24887 </cell>
24888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24889 \begin_inset Text
24890
24891 \begin_layout Standard
24892 c
24893 \end_layout
24894
24895 \end_inset
24896 </cell>
24897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24898 \begin_inset Text
24899
24900 \begin_layout Standard
24901 d
24902 \end_layout
24903
24904 \end_inset
24905 </cell>
24906 </row>
24907 <row topline="true" bottomline="true">
24908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24909 \begin_inset Text
24910
24911 \begin_layout Standard
24912 e
24913 \end_layout
24914
24915 \end_inset
24916 </cell>
24917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24918 \begin_inset Text
24919
24920 \begin_layout Standard
24921 f
24922 \end_layout
24923
24924 \end_inset
24925 </cell>
24926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24927 \begin_inset Text
24928
24929 \begin_layout Standard
24930 g
24931 \end_layout
24932
24933 \end_inset
24934 </cell>
24935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24936 \begin_inset Text
24937
24938 \begin_layout Standard
24939 h
24940 \end_layout
24941
24942 \end_inset
24943 </cell>
24944 </row>
24945 </lyxtabular>
24946
24947 \end_inset
24948
24949
24950 \end_layout
24951
24952 \end_inset
24953
24954
24955 \end_layout
24956
24957 \begin_layout Standard
24958 \begin_inset VSpace bigskip
24959 \end_inset
24960
24961 The document-wide paragraph settings are ignored within minipages.
24962  That means that there will be no space between paragraphs in minipages
24963  although you set it to e.\InsetSpace \thinspace{}
24964 g.\InsetSpace ~
24965
24966 \family sans
24967 MedSkip
24968 \family default
24969  in the document settings.
24970 \end_layout
24971
24972 \begin_layout Standard
24973 Minipages can also be used to set a background color for text parts, see
24974  section\InsetSpace ~
24975
24976 \begin_inset LatexCommand ref
24977 reference "sub:Color-for-Paragraphs"
24978
24979 \end_inset
24980
24981 .
24982 \end_layout
24983
24984 \begin_layout Standard
24985 \begin_inset Note Greyedout
24986 status open
24987
24988 \begin_layout Standard
24989
24990 \series bold
24991 Note:
24992 \series default
24993  You cannot have floats or margin notes inside minipages but minipages can
24994  be used inside tables, floats, and other boxes.
24995 \end_layout
24996
24997 \end_inset
24998
24999
25000 \end_layout
25001
25002 \begin_layout Section
25003 Parboxes
25004 \begin_inset LatexCommand label
25005 name "sec:Parboxes"
25006
25007 \end_inset
25008
25009
25010 \begin_inset LatexCommand index
25011 name "Boxes ! Parboxes"
25012
25013 \end_inset
25014
25015
25016 \end_layout
25017
25018 \begin_layout Standard
25019 Parboxes are very similar to minipages with the difference that they cannot
25020  have footnotes.
25021  The main difference to minipages is that minipages are in contrary to parboxes
25022  no real boxes but LaTeX-environments.
25023 \end_layout
25024
25025 \begin_layout Standard
25026 \align center
25027 \begin_inset Box Frameless
25028 position "t"
25029 hor_pos "c"
25030 has_inner_box 1
25031 inner_pos "t"
25032 use_parbox 1
25033 width "33col%"
25034 special "none"
25035 height "1in"
25036 height_special "totalheight"
25037 status collapsed
25038
25039 \begin_layout Standard
25040 This a text within a parbox.
25041  This a text within a parbox.
25042 \end_layout
25043
25044 \begin_layout Standard
25045 This footnote won't appear:
25046 \begin_inset Foot
25047 status collapsed
25048
25049 \begin_layout Standard
25050 This footnote is inside a parbox and will therefore not appear.
25051 \end_layout
25052
25053 \end_inset
25054
25055
25056 \end_layout
25057
25058 \end_inset
25059
25060
25061 \end_layout
25062
25063 \begin_layout Section
25064 Boxes for Words and Characters
25065 \begin_inset LatexCommand index
25066 name "Boxes ! for Characters"
25067
25068 \end_inset
25069
25070
25071 \end_layout
25072
25073 \begin_layout Subsection
25074 Prevent Hyphenation
25075 \begin_inset LatexCommand label
25076 name "sec:Prevent-Hyphenation"
25077
25078 \end_inset
25079
25080
25081 \begin_inset LatexCommand index
25082 name "Boxes ! to Prevent Hyphenation"
25083
25084 \end_inset
25085
25086
25087 \end_layout
25088
25089 \begin_layout Standard
25090 You can use a special kind of boxes to prevent words or text to be hyphenated.
25091 \newline
25092 Her
25093 e is an example text:
25094 \end_layout
25095
25096 \begin_layout Standard
25097 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25098 g.\InsetSpace ~
25099 veryver
25100 ylongwords.
25101 \end_layout
25102
25103 \begin_layout Standard
25104 To prevent the hyphenation of the word 
25105 \begin_inset Quotes eld
25106 \end_inset
25107
25108 veryverylongwords
25109 \begin_inset Quotes erd
25110 \end_inset
25111
25112 , add the command
25113 \end_layout
25114
25115 \begin_layout Standard
25116
25117 \series bold
25118
25119 \backslash
25120 mbox{
25121 \end_layout
25122
25123 \begin_layout Standard
25124 in ERT before the word.
25125  Behind the word insert a closing brace 
25126 \begin_inset Quotes eld
25127 \end_inset
25128
25129
25130 \series bold
25131 }
25132 \series default
25133
25134 \begin_inset Quotes erd
25135 \end_inset
25136
25137  in ERT.
25138 \begin_inset ERT
25139 status collapsed
25140
25141 \begin_layout Standard
25142
25143
25144 \backslash
25145 pagebreak 
25146 \end_layout
25147
25148 \end_inset
25149
25150
25151 \end_layout
25152
25153 \begin_layout Standard
25154 This is the result:
25155 \end_layout
25156
25157 \begin_layout Standard
25158 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25159 g.\InsetSpace ~
25160
25161 \begin_inset ERT
25162 status collapsed
25163
25164 \begin_layout Standard
25165
25166
25167 \backslash
25168 mbox{
25169 \end_layout
25170
25171 \end_inset
25172
25173 veryverylongwords.
25174 \begin_inset ERT
25175 status collapsed
25176
25177 \begin_layout Standard
25178
25179 }
25180 \end_layout
25181
25182 \end_inset
25183
25184
25185 \end_layout
25186
25187 \begin_layout Standard
25188 Of course the word now protrudes over the side margin.
25189  To avoid this, add via the menu 
25190 \family sans
25191 Insert\SpecialChar \menuseparator
25192 Special\InsetSpace ~
25193 Formatting\SpecialChar \menuseparator
25194 Line\InsetSpace ~
25195 Break
25196 \family default
25197  (shortcut 
25198 \series bold
25199 Ctrl-Return
25200 \series default
25201 ) a line break before the word:
25202 \end_layout
25203
25204 \begin_layout Standard
25205 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25206 g.\InsetSpace ~
25207
25208 \newline
25209
25210 \begin_inset ERT
25211 status collapsed
25212
25213 \begin_layout Standard
25214
25215
25216 \backslash
25217 mbox{
25218 \end_layout
25219
25220 \end_inset
25221
25222 veryverylongwords.
25223 \begin_inset ERT
25224 status collapsed
25225
25226 \begin_layout Standard
25227
25228 }
25229 \end_layout
25230
25231 \end_inset
25232
25233
25234 \end_layout
25235
25236 \begin_layout Subsection
25237 Vertical Alignment
25238 \begin_inset LatexCommand label
25239 name "sub:Vertical-Alignment"
25240
25241 \end_inset
25242
25243
25244 \begin_inset LatexCommand index
25245 name "Boxes ! for Vertical Alignment"
25246
25247 \end_inset
25248
25249
25250 \begin_inset LatexCommand index
25251 name "Boxes ! Raiseboxes"
25252
25253 \end_inset
25254
25255
25256 \end_layout
25257
25258 \begin_layout Standard
25259 With the help of the command 
25260 \series bold
25261
25262 \backslash
25263 raisebox
25264 \series default
25265  you can align words, characters or other boxes vertically to the surrounding
25266  text.
25267  
25268 \series bold
25269
25270 \backslash
25271 raisebox
25272 \series default
25273  is used with the following scheme:
25274 \end_layout
25275
25276 \begin_layout Standard
25277
25278 \series bold
25279
25280 \backslash
25281 raisebox{lift}[height][depth]{box content}
25282 \end_layout
25283
25284 \begin_layout Standard
25285 The lift can be a positive value to raise the box or a negative value to
25286  lower the box.
25287 \end_layout
25288
25289 \begin_layout Standard
25290 To align for example the word 
25291 \begin_inset Quotes eld
25292 \end_inset
25293
25294 preventing
25295 \begin_inset Quotes erd
25296 \end_inset
25297
25298  so that the bottom of the 
25299 \begin_inset Quotes eld
25300 \end_inset
25301
25302 deepest
25303 \begin_inset Quotes erd
25304 \end_inset
25305
25306  character 
25307 \begin_inset Quotes eld
25308 \end_inset
25309
25310 p
25311 \begin_inset Quotes erd
25312 \end_inset
25313
25314  is at the baseline, insert the command
25315 \end_layout
25316
25317 \begin_layout Standard
25318
25319 \series bold
25320
25321 \backslash
25322 raisebox{
25323 \backslash
25324 depth}{
25325 \end_layout
25326
25327 \begin_layout Standard
25328 in ERT before the word.
25329  Behind the word insert a closing brace 
25330 \begin_inset Quotes eld
25331 \end_inset
25332
25333
25334 \series bold
25335 }
25336 \series default
25337
25338 \begin_inset Quotes erd
25339 \end_inset
25340
25341  in ERT.
25342 \newline
25343 This is the result:
25344 \end_layout
25345
25346 \begin_layout Standard
25347 This is a text line with the word 
25348 \begin_inset ERT
25349 status collapsed
25350
25351 \begin_layout Standard
25352
25353
25354 \backslash
25355 raisebox{
25356 \backslash
25357 depth}{
25358 \end_layout
25359
25360 \end_inset
25361
25362
25363 \begin_inset Quotes eld
25364 \end_inset
25365
25366 preventing
25367 \begin_inset Quotes erd
25368 \end_inset
25369
25370
25371 \begin_inset ERT
25372 status collapsed
25373
25374 \begin_layout Standard
25375
25376 }
25377 \end_layout
25378
25379 \end_inset
25380
25381  as raised word.
25382 \end_layout
25383
25384 \begin_layout Standard
25385 \begin_inset VSpace bigskip
25386 \end_inset
25387
25388 When you raise or lower characters in a line, the line distance will be
25389  spread:
25390 \end_layout
25391
25392 \begin_layout Standard
25393 This is a text line with the word 
25394 \begin_inset ERT
25395 status collapsed
25396
25397 \begin_layout Standard
25398
25399
25400 \backslash
25401 raisebox{-
25402 \backslash
25403 depth}{
25404 \end_layout
25405
25406 \end_inset
25407
25408
25409 \begin_inset Quotes eld
25410 \end_inset
25411
25412 preventing
25413 \begin_inset Quotes erd
25414 \end_inset
25415
25416
25417 \begin_inset ERT
25418 status collapsed
25419
25420 \begin_layout Standard
25421
25422 }
25423 \end_layout
25424
25425 \end_inset
25426
25427  as lowered word.
25428 \newline
25429 This is a text line with the word 
25430 \begin_inset ERT
25431 status collapsed
25432
25433 \begin_layout Standard
25434
25435
25436 \backslash
25437 raisebox{0.5cm}{
25438 \end_layout
25439
25440 \end_inset
25441
25442
25443 \begin_inset Quotes eld
25444 \end_inset
25445
25446 testing
25447 \begin_inset Quotes erd
25448 \end_inset
25449
25450
25451 \begin_inset ERT
25452 status collapsed
25453
25454 \begin_layout Standard
25455
25456 }
25457 \end_layout
25458
25459 \end_inset
25460
25461  as raised word.
25462 \end_layout
25463
25464 \begin_layout Standard
25465 If you want to prevent this for a certain reason, set the box height to
25466  a zero value.
25467  For example use
25468 \end_layout
25469
25470 \begin_layout Standard
25471
25472 \series bold
25473
25474 \backslash
25475 raisebox{-
25476 \backslash
25477 depth}[0pt]{
25478 \end_layout
25479
25480 \begin_layout Standard
25481 This is a text line with the word 
25482 \begin_inset ERT
25483 status collapsed
25484
25485 \begin_layout Standard
25486
25487
25488 \backslash
25489 raisebox{-
25490 \backslash
25491 depth}[0pt]{
25492 \end_layout
25493
25494 \end_inset
25495
25496
25497 \begin_inset Quotes eld
25498 \end_inset
25499
25500 preventing
25501 \begin_inset Quotes erd
25502 \end_inset
25503
25504
25505 \begin_inset ERT
25506 status collapsed
25507
25508 \begin_layout Standard
25509
25510 }
25511 \end_layout
25512
25513 \end_inset
25514
25515  as lowered word.
25516 \newline
25517 This is a text line with the word 
25518 \begin_inset ERT
25519 status collapsed
25520
25521 \begin_layout Standard
25522
25523
25524 \backslash
25525 raisebox{0.5cm}[0pt]{
25526 \end_layout
25527
25528 \end_inset
25529
25530
25531 \begin_inset Quotes eld
25532 \end_inset
25533
25534 testing
25535 \begin_inset Quotes erd
25536 \end_inset
25537
25538
25539 \begin_inset ERT
25540 status collapsed
25541
25542 \begin_layout Standard
25543
25544 }
25545 \end_layout
25546
25547 \end_inset
25548
25549  as raised word.
25550 \end_layout
25551
25552 \begin_layout Section
25553 Colored Boxes
25554 \begin_inset LatexCommand label
25555 name "sec:Colored-Boxes"
25556
25557 \end_inset
25558
25559
25560 \begin_inset LatexCommand index
25561 name "Boxes ! Color"
25562
25563 \end_inset
25564
25565
25566 \end_layout
25567
25568 \begin_layout Subsection
25569 Color for Text
25570 \begin_inset LatexCommand index
25571 name "Color ! for Text"
25572
25573 \end_inset
25574
25575
25576 \end_layout
25577
25578 \begin_layout Standard
25579 To color the background of text the text must be put into a so called colorbox.
25580  This requires that the LaTeX-package 
25581 \series bold
25582 color
25583 \series default
25584
25585 \begin_inset LatexCommand index
25586 name "LaTeX-packages ! color"
25587
25588 \end_inset
25589
25590  is loaded in the document preamble with the command
25591 \end_layout
25592
25593 \begin_layout Standard
25594
25595 \series bold
25596
25597 \backslash
25598 @ifundef\SpecialChar \textcompwordmark{}
25599 ined{textcolor}
25600 \newline
25601
25602 \begin_inset ERT
25603 status collapsed
25604
25605 \begin_layout Standard
25606
25607
25608 \backslash
25609 hphantom{ }
25610 \end_layout
25611
25612 \end_inset
25613
25614 {
25615 \backslash
25616 usepackage{color}}{}
25617 \end_layout
25618
25619 \begin_layout Standard
25620 The package 
25621 \series bold
25622 color
25623 \series default
25624  will be loaded automatically by LyX when you color text
25625 \begin_inset Foot
25626 status collapsed
25627
25628 \begin_layout Standard
25629 To avoid that it is loaded twice the command 
25630 \series bold
25631
25632 \backslash
25633 @ifundef\SpecialChar \textcompwordmark{}
25634 ined
25635 \series default
25636  is used.
25637 \end_layout
25638
25639 \end_inset
25640
25641 .
25642 \end_layout
25643
25644 \begin_layout Standard
25645 \begin_inset VSpace medskip
25646 \end_inset
25647
25648 Colorboxes are created with the command 
25649 \series bold
25650
25651 \backslash
25652 colorbox
25653 \series default
25654 .
25655  This will be used with the following scheme:
25656 \end_layout
25657
25658 \begin_layout Standard
25659
25660 \series bold
25661
25662 \backslash
25663 colorbox{color}{box content}
25664 \end_layout
25665
25666 \begin_layout Standard
25667 The box content can also be a box and colorboxes can also be within other
25668  boxes.
25669 \end_layout
25670
25671 \begin_layout Standard
25672 The following colors are predefined:
25673 \newline
25674
25675 \family sans
25676 black
25677 \family default
25678
25679 \family sans
25680 blue
25681 \family default
25682
25683 \family sans
25684 cyan
25685 \family default
25686 \series bold
25687
25688 \family sans
25689 \series default
25690 green
25691 \family default
25692
25693 \family sans
25694 magenta
25695 \family default
25696
25697 \family sans
25698 red
25699 \family default
25700
25701 \family sans
25702 white
25703 \family default
25704 , and 
25705 \family sans
25706 yellow
25707 \family default
25708 .
25709 \newline
25710 You can also define your own color as described in section\InsetSpace ~
25711
25712 \begin_inset LatexCommand ref
25713 reference "sec:Colored-Tables"
25714
25715 \end_inset
25716
25717 .
25718 \end_layout
25719
25720 \begin_layout Standard
25721 To have e.\InsetSpace \thinspace{}
25722 g.\InsetSpace ~
25723 a red background for a word, insert the command
25724 \end_layout
25725
25726 \begin_layout Standard
25727
25728 \series bold
25729
25730 \backslash
25731 colorbox{red}{
25732 \end_layout
25733
25734 \begin_layout Standard
25735 before the word in ERT.
25736  Behind the word insert a closing brace 
25737 \begin_inset Quotes eld
25738 \end_inset
25739
25740
25741 \series bold
25742 }
25743 \series default
25744
25745 \begin_inset Quotes erd
25746 \end_inset
25747
25748  in ERT.
25749 \newline
25750 This is the result:
25751 \end_layout
25752
25753 \begin_layout Standard
25754 This is a line where the word 
25755 \begin_inset ERT
25756 status collapsed
25757
25758 \begin_layout Standard
25759
25760
25761 \backslash
25762 colorbox{red}{
25763 \end_layout
25764
25765 \end_inset
25766
25767
25768 \begin_inset Quotes eld
25769 \end_inset
25770
25771 Attention!
25772 \begin_inset Quotes erd
25773 \end_inset
25774
25775
25776 \begin_inset ERT
25777 status collapsed
25778
25779 \begin_layout Standard
25780
25781 }
25782 \end_layout
25783
25784 \end_inset
25785
25786  has a red background.
25787 \end_layout
25788
25789 \begin_layout Standard
25790 \begin_inset VSpace bigskip
25791 \end_inset
25792
25793 If you would have the box frame in a different color, you can use the command
25794  
25795 \series bold
25796
25797 \backslash
25798 fcolorbox
25799 \series default
25800  with the following scheme:
25801 \end_layout
25802
25803 \begin_layout Standard
25804
25805 \series bold
25806
25807 \backslash
25808 fcolorbox{frame color}{box color}{box content}
25809 \end_layout
25810
25811 \begin_layout Standard
25812
25813 \series bold
25814
25815 \backslash
25816 fcolorbox
25817 \series default
25818  is an extension to 
25819 \series bold
25820
25821 \backslash
25822 colorbox
25823 \series default
25824 .
25825  The frame thickness and the space between the frame and the box content
25826  can be adjusted with the lengths 
25827 \series bold
25828
25829 \backslash
25830 fboxrule
25831 \series default
25832  and 
25833 \series bold
25834
25835 \backslash
25836 fboxsep
25837 \series default
25838 , respectively, as described in section\InsetSpace ~
25839
25840 \begin_inset LatexCommand ref
25841 reference "sec:Framed-Boxes"
25842
25843 \end_inset
25844
25845 .
25846 \end_layout
25847
25848 \begin_layout Standard
25849 For the following example the command
25850 \end_layout
25851
25852 \begin_layout Standard
25853
25854 \series bold
25855
25856 \backslash
25857 fcolorbox{cyan}{magenta}{
25858 \end_layout
25859
25860 \begin_layout Standard
25861 was used.
25862 \end_layout
25863
25864 \begin_layout Standard
25865 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25866 mm:
25867 \newline
25868
25869 \begin_inset ERT
25870 status collapsed
25871
25872 \begin_layout Standard
25873
25874
25875 \backslash
25876 fboxrule 1mm 
25877 \backslash
25878 fboxsep 1mm
25879 \end_layout
25880
25881 \end_inset
25882
25883
25884 \begin_inset ERT
25885 status collapsed
25886
25887 \begin_layout Standard
25888
25889
25890 \backslash
25891 fcolorbox{cyan}{magenta}{
25892 \end_layout
25893
25894 \end_inset
25895
25896 This is text within a colored, framed box.
25897 \begin_inset ERT
25898 status collapsed
25899
25900 \begin_layout Standard
25901
25902 }
25903 \end_layout
25904
25905 \end_inset
25906
25907
25908 \end_layout
25909
25910 \begin_layout Standard
25911 \begin_inset VSpace bigskip
25912 \end_inset
25913
25914 Of course you can also have colored text inside a colorbox:
25915 \newline
25916
25917 \begin_inset ERT
25918 status collapsed
25919
25920 \begin_layout Standard
25921
25922
25923 \backslash
25924 fcolorbox{cyan}{magenta}{
25925 \end_layout
25926
25927 \end_inset
25928
25929
25930 \color yellow
25931 This is colored text within a colored, framed box.
25932 \color none
25933
25934 \begin_inset ERT
25935 status collapsed
25936
25937 \begin_layout Standard
25938
25939 }
25940 \end_layout
25941
25942 \end_inset
25943
25944
25945 \begin_inset ERT
25946 status collapsed
25947
25948 \begin_layout Standard
25949
25950
25951 \backslash
25952 fboxrule 0.4pt 
25953 \backslash
25954 fboxsep 3pt
25955 \end_layout
25956
25957 \end_inset
25958
25959
25960 \end_layout
25961
25962 \begin_layout Standard
25963
25964 \series bold
25965 \begin_inset VSpace medskip
25966 \end_inset
25967
25968
25969 \end_layout
25970
25971 \begin_layout Standard
25972 \begin_inset Note Greyedout
25973 status open
25974
25975 \begin_layout Standard
25976
25977 \series bold
25978 Note:
25979 \series default
25980  Text in colorboxes cannot have line breaks.
25981  To color multiple text lines or paragraphs, use a box inside a colorbox
25982  as described in the following.
25983 \end_layout
25984
25985 \end_inset
25986
25987
25988 \end_layout
25989
25990 \begin_layout Subsection
25991 Color for Paragraphs
25992 \begin_inset LatexCommand label
25993 name "sub:Color-for-Paragraphs"
25994
25995 \end_inset
25996
25997
25998 \begin_inset LatexCommand index
25999 name "Color ! for Paragraphs"
26000
26001 \end_inset
26002
26003
26004 \end_layout
26005
26006 \begin_layout Standard
26007 To set the background color for more than one text line, put the text into
26008  a minipage.
26009  Before the minipage insert the 
26010 \series bold
26011
26012 \backslash
26013 colorbox
26014 \series default
26015  command
26016 \end_layout
26017
26018 \begin_layout Standard
26019
26020 \series bold
26021
26022 \backslash
26023 colorbox{color}{
26024 \end_layout
26025
26026 \begin_layout Standard
26027 in ERT.
26028  Behind the minipage insert a closing brace 
26029 \begin_inset Quotes eld
26030 \end_inset
26031
26032
26033 \series bold
26034 }
26035 \series default
26036
26037 \begin_inset Quotes erd
26038 \end_inset
26039
26040  in ERT.
26041 \end_layout
26042
26043 \begin_layout Standard
26044 \begin_inset ERT
26045 status collapsed
26046
26047 \begin_layout Standard
26048
26049
26050 \backslash
26051 colorbox{lightgrey}{
26052 \end_layout
26053
26054 \end_inset
26055
26056
26057 \begin_inset Box Frameless
26058 position "t"
26059 hor_pos "c"
26060 has_inner_box 1
26061 inner_pos "t"
26062 use_parbox 0
26063 width "100col%"
26064 special "none"
26065 height "1in"
26066 height_special "totalheight"
26067 status collapsed
26068
26069 \begin_layout Standard
26070 This is text with background color.
26071  This is text with background color.
26072 \end_layout
26073
26074 \begin_layout Standard
26075 \begin_inset VSpace defskip
26076 \end_inset
26077
26078 The text can have footnotes
26079 \begin_inset Foot
26080 status collapsed
26081
26082 \begin_layout Standard
26083 Another example footnote
26084 \end_layout
26085
26086 \end_inset
26087
26088  and can include tables and figures.
26089 \end_layout
26090
26091 \begin_layout Standard
26092 \align center
26093 \begin_inset Tabular
26094 <lyxtabular version="3" rows="3" columns="3">
26095 <features>
26096 <column alignment="center" valignment="top" leftline="true" width="0">
26097 <column alignment="center" valignment="top" leftline="true" width="0">
26098 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26099 <row topline="true">
26100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26101 \begin_inset Text
26102
26103 \begin_layout Standard
26104 a
26105 \end_layout
26106
26107 \end_inset
26108 </cell>
26109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26110 \begin_inset Text
26111
26112 \begin_layout Standard
26113 !
26114 \end_layout
26115
26116 \end_inset
26117 </cell>
26118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26119 \begin_inset Text
26120
26121 \begin_layout Standard
26122 3
26123 \end_layout
26124
26125 \end_inset
26126 </cell>
26127 </row>
26128 <row topline="true">
26129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26130 \begin_inset Text
26131
26132 \begin_layout Standard
26133 <
26134 \end_layout
26135
26136 \end_inset
26137 </cell>
26138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26139 \begin_inset Text
26140
26141 \begin_layout Standard
26142 b2
26143 \begin_inset Quotes erd
26144 \end_inset
26145
26146 |
26147 \end_layout
26148
26149 \end_inset
26150 </cell>
26151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26152 \begin_inset Text
26153
26154 \begin_layout Standard
26155 >
26156 \end_layout
26157
26158 \end_inset
26159 </cell>
26160 </row>
26161 <row topline="true" bottomline="true">
26162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26163 \begin_inset Text
26164
26165 \begin_layout Standard
26166 1
26167 \end_layout
26168
26169 \end_inset
26170 </cell>
26171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26172 \begin_inset Text
26173
26174 \begin_layout Standard
26175 §
26176 \end_layout
26177
26178 \end_inset
26179 </cell>
26180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26181 \begin_inset Text
26182
26183 \begin_layout Standard
26184 c
26185 \end_layout
26186
26187 \end_inset
26188 </cell>
26189 </row>
26190 </lyxtabular>
26191
26192 \end_inset
26193
26194
26195 \end_layout
26196
26197 \end_inset
26198
26199
26200 \begin_inset ERT
26201 status collapsed
26202
26203 \begin_layout Standard
26204
26205 }
26206 \end_layout
26207
26208 \end_inset
26209
26210
26211 \end_layout
26212
26213 \begin_layout Section
26214 URLs (Uniform Resource Locators)
26215 \begin_inset LatexCommand index
26216 name "URLs"
26217
26218 \end_inset
26219
26220
26221 \end_layout
26222
26223 \begin_layout Standard
26224 Links to web pages or email addresses can be inserted via the menu 
26225 \family sans
26226 Insert\SpecialChar \menuseparator
26227 URL
26228 \family default
26229 .
26230  The appearing URL dialog has two fields; the 
26231 \family sans
26232 URL
26233 \family default
26234  field and the 
26235 \family sans
26236 Name
26237 \family default
26238  field for the URL description, which will be typeset as plain text immediately
26239  before the URL.
26240 \end_layout
26241
26242 \begin_layout Standard
26243 Here is an example URL: 
26244 \begin_inset LatexCommand url
26245 name "LyX's homepage"
26246 target "http://www.lyx.org"
26247
26248 \end_inset
26249
26250
26251 \end_layout
26252
26253 \begin_layout Standard
26254 The option 
26255 \family sans
26256 Generate\InsetSpace ~
26257 hyperlink
26258 \family default
26259  in the URL dialog has only an affect when you export your document to the
26260  format 
26261 \begin_inset Quotes eld
26262 \end_inset
26263
26264
26265 \family sans
26266 LinuxDoc
26267 \family default
26268
26269 \begin_inset Quotes erd
26270 \end_inset
26271
26272 .
26273 \end_layout
26274
26275 \begin_layout Standard
26276 You cannot change the style of the link text.
26277  The text of the 
26278 \family sans
26279 Name
26280 \family default
26281  field will have the default text style of the document while the text of
26282  the 
26283 \family sans
26284 URL
26285 \family default
26286  field will have the style 
26287 \begin_inset Quotes eld
26288 \end_inset
26289
26290
26291 \family sans
26292 Typewriter
26293 \family default
26294
26295 \begin_inset Quotes erd
26296 \end_inset
26297
26298 .
26299 \end_layout
26300
26301 \begin_layout Standard
26302 When you use the LaTeX-package 
26303 \series bold
26304 hyperref
26305 \series default
26306
26307 \begin_inset LatexCommand index
26308 name "LaTeX-packages ! hyperref"
26309
26310 \end_inset
26311
26312  to link cross-references in the output, URLs will automatically become
26313  clickable hyperlinks in DVI and PDF-output.
26314 \end_layout
26315
26316 \begin_layout Standard
26317 \begin_inset Note Greyedout
26318 status open
26319
26320 \begin_layout Standard
26321
26322 \series bold
26323 Note: 
26324 \series default
26325 When you use the following characters: "%", "#", "^", you have to write
26326  them with a preceding backslash, e.\InsetSpace \thinspace{}
26327 g.\InsetSpace ~
26328
26329 \begin_inset Quotes eld
26330 \end_inset
26331
26332
26333 \backslash
26334 #
26335 \begin_inset Quotes erd
26336 \end_inset
26337
26338 .
26339  URLs must not end with a backslash.
26340 \end_layout
26341
26342 \end_inset
26343
26344
26345 \end_layout
26346
26347 \begin_layout Standard
26348 \begin_inset VSpace bigskip
26349 \end_inset
26350
26351 To create real hyperlinks without the force to write the link location to
26352  the text, you can use the command
26353 \end_layout
26354
26355 \begin_layout Standard
26356
26357 \series bold
26358
26359 \backslash
26360 href{link location}{link text}
26361 \end_layout
26362
26363 \begin_layout Standard
26364 in ERT.
26365  To get for example a link to LyX's web page, write the command
26366 \end_layout
26367
26368 \begin_layout Standard
26369
26370 \series bold
26371
26372 \backslash
26373 href{http://www.lyx.org}{
26374 \end_layout
26375
26376 \begin_layout Standard
26377 in ERT.
26378  Insert after the command the link text 
26379 \begin_inset Quotes eld
26380 \end_inset
26381
26382 LyX's homepage
26383 \begin_inset Quotes erd
26384 \end_inset
26385
26386  as normal text followed by a closing brace 
26387 \begin_inset Quotes eld
26388 \end_inset
26389
26390
26391 \series bold
26392 }
26393 \series default
26394
26395 \begin_inset Quotes erd
26396 \end_inset
26397
26398  in ERT.
26399  This is the result: 
26400 \begin_inset ERT
26401 status collapsed
26402
26403 \begin_layout Standard
26404
26405
26406 \backslash
26407 href{http://www.lyx.org}{
26408 \end_layout
26409
26410 \end_inset
26411
26412 LyX's homepage
26413 \begin_inset ERT
26414 status collapsed
26415
26416 \begin_layout Standard
26417
26418 }
26419 \end_layout
26420
26421 \end_inset
26422
26423
26424 \end_layout
26425
26426 \begin_layout Standard
26427 To link to email addresses, add the prefix 
26428 \begin_inset Quotes eld
26429 \end_inset
26430
26431
26432 \family sans
26433 mailto:
26434 \family default
26435
26436 \begin_inset Quotes erd
26437 \end_inset
26438
26439  to the link location:
26440 \newline
26441 Email to 
26442 \begin_inset ERT
26443 status collapsed
26444
26445 \begin_layout Standard
26446
26447
26448 \backslash
26449 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26450 \end_layout
26451
26452 \end_inset
26453
26454 lyx-docs mailing list
26455 \begin_inset ERT
26456 status collapsed
26457
26458 \begin_layout Standard
26459
26460 }
26461 \end_layout
26462
26463 \end_inset
26464
26465 .
26466 \end_layout
26467
26468 \begin_layout Standard
26469 Using 
26470 \series bold
26471
26472 \backslash
26473 href
26474 \series default
26475  instead of LyX's URL box has the advantage that you can specify the text
26476  style of the link text like for all other text parts.
26477  You can therefore set hyphenation points and forced linebreaks to have
26478  long link text broken at the page margin.
26479  You are furthermore able to change the text style for all URLs in your
26480  document with an option in 
26481 \series bold
26482 hyperref
26483 \series default
26484 's load command and the restrictions mentioned above doesn't apply for 
26485 \series bold
26486
26487 \backslash
26488 href
26489 \series default
26490 .
26491 \end_layout
26492
26493 \begin_layout Standard
26494
26495 \newpage
26496
26497 \end_layout
26498
26499 \begin_layout Chapter
26500 \start_of_appendix
26501 Units available in 
26502 \begin_inset ERT
26503 status collapsed
26504
26505 \begin_layout Standard
26506
26507
26508 \backslash
26509 texorpdfstring{
26510 \end_layout
26511
26512 \end_inset
26513
26514 LyX
26515 \begin_inset ERT
26516 status collapsed
26517
26518 \begin_layout Standard
26519
26520 }{LyX}
26521 \end_layout
26522
26523 \end_inset
26524
26525
26526 \begin_inset LatexCommand index
26527 name "Units"
26528
26529 \end_inset
26530
26531
26532 \begin_inset LatexCommand label
26533 name "cha:Units-available-in"
26534
26535 \end_inset
26536
26537
26538 \begin_inset Note Note
26539 status collapsed
26540
26541 \begin_layout Standard
26542 The command 
26543 \backslash
26544 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26545  are displayed wrongly in PDF-bookmarks.
26546  For more information about this, have a look at 
26547 \begin_inset LatexCommand cite
26548 key "hyperref"
26549
26550 \end_inset
26551
26552 .
26553 \end_layout
26554
26555 \end_inset
26556
26557
26558 \end_layout
26559
26560 \begin_layout Standard
26561 To understand the units described in this documentation, Table\InsetSpace ~
26562
26563 \begin_inset LatexCommand ref
26564 reference "tab:Units"
26565
26566 \end_inset
26567
26568  explains all units available in LyX.
26569 \end_layout
26570
26571 \begin_layout Standard
26572 \begin_inset Float table
26573 placement h
26574 wide false
26575 sideways false
26576 status open
26577
26578 \begin_layout Standard
26579 \begin_inset Caption
26580
26581 \begin_layout Standard
26582 \begin_inset LatexCommand label
26583 name "tab:Units"
26584
26585 \end_inset
26586
26587 Units
26588 \end_layout
26589
26590 \end_inset
26591
26592
26593 \end_layout
26594
26595 \begin_layout Standard
26596 \begin_inset VSpace medskip
26597 \end_inset
26598
26599
26600 \end_layout
26601
26602 \begin_layout Standard
26603 \align center
26604 \begin_inset Tabular
26605 <lyxtabular version="3" rows="20" columns="2">
26606 <features>
26607 <column alignment="center" valignment="top" leftline="true" width="0">
26608 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26609 <row topline="true" bottomline="true">
26610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26611 \begin_inset Text
26612
26613 \begin_layout Standard
26614 unit
26615 \end_layout
26616
26617 \end_inset
26618 </cell>
26619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26620 \begin_inset Text
26621
26622 \begin_layout Standard
26623 name/description
26624 \end_layout
26625
26626 \end_inset
26627 </cell>
26628 </row>
26629 <row topline="true">
26630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26631 \begin_inset Text
26632
26633 \begin_layout Standard
26634 mm
26635 \end_layout
26636
26637 \end_inset
26638 </cell>
26639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26640 \begin_inset Text
26641
26642 \begin_layout Standard
26643 millimeter
26644 \end_layout
26645
26646 \end_inset
26647 </cell>
26648 </row>
26649 <row topline="true">
26650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26651 \begin_inset Text
26652
26653 \begin_layout Standard
26654 cm
26655 \end_layout
26656
26657 \end_inset
26658 </cell>
26659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26660 \begin_inset Text
26661
26662 \begin_layout Standard
26663 centimeter
26664 \end_layout
26665
26666 \end_inset
26667 </cell>
26668 </row>
26669 <row topline="true">
26670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26671 \begin_inset Text
26672
26673 \begin_layout Standard
26674 in
26675 \end_layout
26676
26677 \end_inset
26678 </cell>
26679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26680 \begin_inset Text
26681
26682 \begin_layout Standard
26683 inch
26684 \end_layout
26685
26686 \end_inset
26687 </cell>
26688 </row>
26689 <row topline="true">
26690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26691 \begin_inset Text
26692
26693 \begin_layout Standard
26694 pt
26695 \end_layout
26696
26697 \end_inset
26698 </cell>
26699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26700 \begin_inset Text
26701
26702 \begin_layout Standard
26703 point (72.27\InsetSpace \thinspace{}
26704 pt = 1\InsetSpace \thinspace{}
26705 in)
26706 \end_layout
26707
26708 \end_inset
26709 </cell>
26710 </row>
26711 <row topline="true">
26712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26713 \begin_inset Text
26714
26715 \begin_layout Standard
26716 pc
26717 \end_layout
26718
26719 \end_inset
26720 </cell>
26721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26722 \begin_inset Text
26723
26724 \begin_layout Standard
26725 pica (1\InsetSpace \thinspace{}
26726 pc = 12\InsetSpace \thinspace{}
26727 pt)
26728 \end_layout
26729
26730 \end_inset
26731 </cell>
26732 </row>
26733 <row topline="true">
26734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26735 \begin_inset Text
26736
26737 \begin_layout Standard
26738 sp
26739 \end_layout
26740
26741 \end_inset
26742 </cell>
26743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26744 \begin_inset Text
26745
26746 \begin_layout Standard
26747 scaled point (65536\InsetSpace \thinspace{}
26748 sp = 1\InsetSpace \thinspace{}
26749 pt)
26750 \end_layout
26751
26752 \end_inset
26753 </cell>
26754 </row>
26755 <row topline="true">
26756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26757 \begin_inset Text
26758
26759 \begin_layout Standard
26760 bp
26761 \end_layout
26762
26763 \end_inset
26764 </cell>
26765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26766 \begin_inset Text
26767
26768 \begin_layout Standard
26769 big point (72\InsetSpace \thinspace{}
26770 bp = 1\InsetSpace \thinspace{}
26771 in)
26772 \end_layout
26773
26774 \end_inset
26775 </cell>
26776 </row>
26777 <row topline="true">
26778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26779 \begin_inset Text
26780
26781 \begin_layout Standard
26782 dd
26783 \end_layout
26784
26785 \end_inset
26786 </cell>
26787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26788 \begin_inset Text
26789
26790 \begin_layout Standard
26791 didot (72\InsetSpace \thinspace{}
26792 dd 
26793 \begin_inset Formula $\approx$
26794 \end_inset
26795
26796  37.6\InsetSpace \thinspace{}
26797 mm)
26798 \end_layout
26799
26800 \end_inset
26801 </cell>
26802 </row>
26803 <row topline="true">
26804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26805 \begin_inset Text
26806
26807 \begin_layout Standard
26808 cc
26809 \end_layout
26810
26811 \end_inset
26812 </cell>
26813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26814 \begin_inset Text
26815
26816 \begin_layout Standard
26817 cicero (1\InsetSpace \thinspace{}
26818 cc = 12\InsetSpace \thinspace{}
26819 dd)
26820 \end_layout
26821
26822 \end_inset
26823 </cell>
26824 </row>
26825 <row topline="true">
26826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26827 \begin_inset Text
26828
26829 \begin_layout Standard
26830 Scale%
26831 \end_layout
26832
26833 \end_inset
26834 </cell>
26835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26836 \begin_inset Text
26837
26838 \begin_layout Standard
26839 % of original image width
26840 \end_layout
26841
26842 \end_inset
26843 </cell>
26844 </row>
26845 <row topline="true">
26846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26847 \begin_inset Text
26848
26849 \begin_layout Standard
26850 text%
26851 \end_layout
26852
26853 \end_inset
26854 </cell>
26855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26856 \begin_inset Text
26857
26858 \begin_layout Standard
26859 % of text width
26860 \end_layout
26861
26862 \end_inset
26863 </cell>
26864 </row>
26865 <row topline="true">
26866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26867 \begin_inset Text
26868
26869 \begin_layout Standard
26870 col%
26871 \end_layout
26872
26873 \end_inset
26874 </cell>
26875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26876 \begin_inset Text
26877
26878 \begin_layout Standard
26879 % of column width
26880 \end_layout
26881
26882 \end_inset
26883 </cell>
26884 </row>
26885 <row topline="true">
26886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26887 \begin_inset Text
26888
26889 \begin_layout Standard
26890 page%
26891 \end_layout
26892
26893 \end_inset
26894 </cell>
26895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26896 \begin_inset Text
26897
26898 \begin_layout Standard
26899 % of paper width
26900 \end_layout
26901
26902 \end_inset
26903 </cell>
26904 </row>
26905 <row topline="true">
26906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26907 \begin_inset Text
26908
26909 \begin_layout Standard
26910 line%
26911 \end_layout
26912
26913 \end_inset
26914 </cell>
26915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26916 \begin_inset Text
26917
26918 \begin_layout Standard
26919 % of line width
26920 \end_layout
26921
26922 \end_inset
26923 </cell>
26924 </row>
26925 <row topline="true">
26926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26927 \begin_inset Text
26928
26929 \begin_layout Standard
26930 theight%
26931 \end_layout
26932
26933 \end_inset
26934 </cell>
26935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26936 \begin_inset Text
26937
26938 \begin_layout Standard
26939 % of text height
26940 \end_layout
26941
26942 \end_inset
26943 </cell>
26944 </row>
26945 <row topline="true">
26946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26947 \begin_inset Text
26948
26949 \begin_layout Standard
26950 pheight%
26951 \end_layout
26952
26953 \end_inset
26954 </cell>
26955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26956 \begin_inset Text
26957
26958 \begin_layout Standard
26959 % of paper height
26960 \end_layout
26961
26962 \end_inset
26963 </cell>
26964 </row>
26965 <row topline="true">
26966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26967 \begin_inset Text
26968
26969 \begin_layout Standard
26970 ex
26971 \end_layout
26972
26973 \end_inset
26974 </cell>
26975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26976 \begin_inset Text
26977
26978 \begin_layout Standard
26979 height of letter 
26980 \emph on
26981 x
26982 \emph default
26983  in current font
26984 \end_layout
26985
26986 \end_inset
26987 </cell>
26988 </row>
26989 <row topline="true">
26990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26991 \begin_inset Text
26992
26993 \begin_layout Standard
26994 em
26995 \end_layout
26996
26997 \end_inset
26998 </cell>
26999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27000 \begin_inset Text
27001
27002 \begin_layout Standard
27003 width of letter 
27004 \emph on
27005 M
27006 \emph default
27007  in current font
27008 \end_layout
27009
27010 \end_inset
27011 </cell>
27012 </row>
27013 <row topline="true" bottomline="true">
27014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27015 \begin_inset Text
27016
27017 \begin_layout Standard
27018 mu
27019 \end_layout
27020
27021 \end_inset
27022 </cell>
27023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27024 \begin_inset Text
27025
27026 \begin_layout Standard
27027 math unit (1\InsetSpace \thinspace{}
27028 mu = 1/18\InsetSpace \thinspace{}
27029 em)
27030 \end_layout
27031
27032 \end_inset
27033 </cell>
27034 </row>
27035 </lyxtabular>
27036
27037 \end_inset
27038
27039
27040 \end_layout
27041
27042 \end_inset
27043
27044
27045 \end_layout
27046
27047 \begin_layout Chapter
27048 Output File Formats with Graphics
27049 \begin_inset LatexCommand label
27050 name "cha:Output-File-Formats"
27051
27052 \end_inset
27053
27054
27055 \end_layout
27056
27057 \begin_layout Section
27058 DVI
27059 \begin_inset LatexCommand index
27060 name "File Formats ! DVI"
27061
27062 \end_inset
27063
27064
27065 \begin_inset LatexCommand index
27066 name "DVI|see{File Formats}"
27067
27068 \end_inset
27069
27070
27071 \end_layout
27072
27073 \begin_layout Standard
27074 This file type has the extension 
27075 \begin_inset Quotes eld
27076 \end_inset
27077
27078
27079 \family typewriter
27080 .dvi
27081 \family default
27082
27083 \begin_inset Quotes erd
27084 \end_inset
27085
27086 .
27087  It is called 
27088 \begin_inset Quotes eld
27089 \end_inset
27090
27091 device-independent
27092 \begin_inset Quotes erd
27093 \end_inset
27094
27095  (DVI), because it is completely portable; you can move them from one machine
27096  to another without needing to do any sort of conversion.
27097  At the time when this file-format was developed, this was no matter of
27098  course.
27099  DVIs are used for quick previews and as pre-stage for other output formats,
27100  like PostScript.
27101 \end_layout
27102
27103 \begin_layout Standard
27104 \begin_inset Note Greyedout
27105 status open
27106
27107 \begin_layout Standard
27108
27109 \series bold
27110 Note:
27111 \series default
27112  DVI-files doesn't contain images, they will only be a linked.
27113 \end_layout
27114
27115 \end_inset
27116
27117  So don't forget this, if you move your 
27118 \family typewriter
27119 .dvi
27120 \family default
27121  file to another computer.
27122  This property can also slow down your computer when you view the DVI.
27123  Because the DVI-viewer has to convert the image in the background to make
27124  it visible when you scroll in the DVI.
27125  So we recommend to use PDF for files with many images.
27126 \end_layout
27127
27128 \begin_layout Standard
27129 You can export your document to DVI by using the menu 
27130 \family sans
27131 File\SpecialChar \menuseparator
27132 Export\SpecialChar \menuseparator
27133 DVI
27134 \family default
27135 .
27136  You can view your document as PostScript via the 
27137 \family sans
27138 View
27139 \family default
27140  menu or by using the toolbar button 
27141 \begin_inset Graphics
27142         filename ../images/buffer-view_dvi.xpm
27143         scale 85
27144
27145 \end_inset
27146
27147 .
27148 \end_layout
27149
27150 \begin_layout Section
27151 PostScript
27152 \begin_inset LatexCommand label
27153 name "sec:PostScript"
27154
27155 \end_inset
27156
27157
27158 \begin_inset LatexCommand index
27159 name "File Formats ! PostScript\\protect\\pagebreak"
27160
27161 \end_inset
27162
27163
27164 \begin_inset LatexCommand index
27165 name "PostScript|see{File Formats}"
27166
27167 \end_inset
27168
27169
27170 \end_layout
27171
27172 \begin_layout Standard
27173 This file type has the extension 
27174 \begin_inset Quotes eld
27175 \end_inset
27176
27177
27178 \family typewriter
27179 .ps
27180 \family default
27181
27182 \begin_inset Quotes erd
27183 \end_inset
27184
27185 .
27186  PostScript was developed by the company 
27187 \family typewriter
27188 Adobe
27189 \family default
27190  as printer language.
27191  The file contains therefore commands that the printer uses to print the
27192  file.
27193  PostScript can be seen as 
27194 \begin_inset Quotes eld
27195 \end_inset
27196
27197 programming language
27198 \begin_inset Quotes erd
27199 \end_inset
27200
27201 ; you can calculate with it and draw diagrams and images
27202 \begin_inset Foot
27203 status collapsed
27204
27205 \begin_layout Standard
27206 If you are interested to learn more about this, have a look at the LaTeX-package
27207  
27208 \series bold
27209 PSTricks
27210 \series default
27211  
27212 \begin_inset LatexCommand cite
27213 key "pstricks"
27214
27215 \end_inset
27216
27217 .
27218 \end_layout
27219
27220 \end_inset
27221
27222 .
27223  Due to this ability, the files are often bigger than PDFs.
27224 \end_layout
27225
27226 \begin_layout Standard
27227 PostScript can only contain images in the format 
27228 \begin_inset Quotes eld
27229 \end_inset
27230
27231 Encapsulated PostScript
27232 \begin_inset Quotes erd
27233 \end_inset
27234
27235  (EPS, file extension 
27236 \begin_inset Quotes eld
27237 \end_inset
27238
27239
27240 \family typewriter
27241 .eps
27242 \family default
27243
27244 \begin_inset Quotes erd
27245 \end_inset
27246
27247 ).
27248  As LyX allows you to use any known image format in your document, it has
27249  to convert images in the background to EPS.
27250  If you have e.g 50 images in your document, LyX has to do 50 conversions
27251  whenever you view or export your document.
27252  This will slow down your work flow with LyX drastically.
27253  So if you plan to use PostScript, you can insert your images directly as
27254  EPS to avoid this problem.
27255 \end_layout
27256
27257 \begin_layout Standard
27258 You can export your document to PostScript using the menu 
27259 \family sans
27260 File\SpecialChar \menuseparator
27261 Export\SpecialChar \menuseparator
27262 Postscript
27263 \family default
27264 .
27265  You can view your document as PostScript via the 
27266 \family sans
27267 View
27268 \family default
27269  menu or by using the toolbar button 
27270 \begin_inset Graphics
27271         filename ../images/buffer-view_ps.xpm
27272         scale 85
27273
27274 \end_inset
27275
27276 .
27277 \end_layout
27278
27279 \begin_layout Section
27280 PDF
27281 \begin_inset LatexCommand label
27282 name "sec:PDF"
27283
27284 \end_inset
27285
27286
27287 \begin_inset LatexCommand index
27288 name "File Formats ! PDF"
27289
27290 \end_inset
27291
27292
27293 \begin_inset LatexCommand index
27294 name "PDF"
27295
27296 \end_inset
27297
27298
27299 \end_layout
27300
27301 \begin_layout Standard
27302 This file type has the extension 
27303 \begin_inset Quotes eld
27304 \end_inset
27305
27306
27307 \family typewriter
27308 .pdf
27309 \family default
27310
27311 \begin_inset Quotes erd
27312 \end_inset
27313
27314 .
27315  The 
27316 \begin_inset Quotes eld
27317 \end_inset
27318
27319 Portable Document Format
27320 \begin_inset Quotes erd
27321 \end_inset
27322
27323  (PDF) is developed by 
27324 \family typewriter
27325 Adobe
27326 \family default
27327  as derivative from PostScript.
27328  It is more compressed and it uses much less commands than PostScript.
27329  As the name 
27330 \begin_inset Quotes eld
27331 \end_inset
27332
27333 portable
27334 \begin_inset Quotes erd
27335 \end_inset
27336
27337  implies, it can be processed at any computer system and the printed output
27338  looks exactly the same.
27339 \end_layout
27340
27341 \begin_layout Standard
27342 PDF can contain images in its own PDF format, in the format 
27343 \begin_inset Quotes eld
27344 \end_inset
27345
27346 Joint Photographic Experts Group
27347 \begin_inset Quotes erd
27348 \end_inset
27349
27350  (JPG, file extension 
27351 \begin_inset Quotes eld
27352 \end_inset
27353
27354
27355 \family typewriter
27356 .jpg
27357 \family default
27358
27359 \begin_inset Quotes erd
27360 \end_inset
27361
27362  or 
27363 \begin_inset Quotes eld
27364 \end_inset
27365
27366
27367 \family typewriter
27368 .jpeg
27369 \family default
27370
27371 \begin_inset Quotes erd
27372 \end_inset
27373
27374 ), and in the format 
27375 \begin_inset Quotes eld
27376 \end_inset
27377
27378 Portable Network Graphics
27379 \begin_inset Quotes erd
27380 \end_inset
27381
27382  (PNG, file extension 
27383 \begin_inset Quotes eld
27384 \end_inset
27385
27386
27387 \family typewriter
27388 .png
27389 \family default
27390
27391 \begin_inset Quotes erd
27392 \end_inset
27393
27394 ).
27395  You can although use any other image format, because LyX converts them
27396  in the background to one of these formats.
27397  But as described in the section about PostScript, the image conversion
27398  will slow down your work flow.
27399  So it is recommended to use images in one of the three mentioned formats.
27400 \end_layout
27401
27402 \begin_layout Standard
27403 You can export your document to PDF via the menu 
27404 \family sans
27405 File\SpecialChar \menuseparator
27406 Export
27407 \family default
27408  in three different ways:
27409 \end_layout
27410
27411 \begin_layout Description
27412 PDF This uses the program 
27413 \family typewriter
27414 ps2pdf
27415 \family default
27416  that creates a PDF from a PostScript-version of your file.
27417  The PostScript-version is produced by the program 
27418 \family typewriter
27419 dvips
27420 \family default
27421  which uses a DVI-version as intermediate step.
27422  So this export variant consist of three conversions.
27423 \end_layout
27424
27425 \begin_layout Description
27426 PDF\InsetSpace ~
27427 (dvipdfm) This uses the program 
27428 \family typewriter
27429 dvipdfm
27430 \family default
27431  that converts your file in the background to DVI and in a second step to
27432  PDF.
27433 \end_layout
27434
27435 \begin_layout Description
27436 PDF\InsetSpace ~
27437 (pdflatex) This uses the program 
27438 \family typewriter
27439 pdftex
27440 \family default
27441  that converts your file directly to PDF.
27442 \end_layout
27443
27444 \begin_layout Standard
27445 It is recommended to use 
27446 \family sans
27447 PDF\InsetSpace ~
27448 (pdflatex)
27449 \family default
27450  because 
27451 \family typewriter
27452 pdftex
27453 \family default
27454  supports all features of actual PDF-versions, is quick and works stable
27455  without problems.
27456  The program 
27457 \family typewriter
27458 dvipdfm
27459 \family default
27460  is not under development and therefore a bit outdated.
27461 \end_layout
27462
27463 \begin_layout Standard
27464 You can view your document as PDF via the 
27465 \family sans
27466 View
27467 \family default
27468  menu or by using the toolbar button 
27469 \begin_inset Graphics
27470         filename ../images/buffer-view_pdf2.xpm
27471         scale 85
27472
27473 \end_inset
27474
27475  
27476 \family sans
27477 (
27478 \family default
27479 that uses 
27480 \family sans
27481 PDF\InsetSpace ~
27482 (pdflatex)
27483 \family default
27484 ).
27485 \end_layout
27486
27487 \begin_layout Chapter
27488 Explanation of Equation\InsetSpace ~
27489
27490 \begin_inset LatexCommand eqref
27491 reference "eq:Wgn"
27492
27493 \end_inset
27494
27495
27496 \begin_inset LatexCommand label
27497 name "cha:Explanation-of-Equation"
27498
27499 \end_inset
27500
27501
27502 \end_layout
27503
27504 \begin_layout Standard
27505 The total width of 
27506 \emph on
27507 n
27508 \emph default
27509  table cells 
27510 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27511 \end_inset
27512
27513  can be calculated to
27514 \end_layout
27515
27516 \begin_layout Standard
27517 \begin_inset Formula \begin{equation}
27518 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27519
27520 \end_inset
27521
27522
27523 \end_layout
27524
27525 \begin_layout Standard
27526 Where 
27527 \begin_inset Formula $W_{g\, n}$
27528 \end_inset
27529
27530  is the given width of all cells.
27531  
27532 \series bold
27533
27534 \backslash
27535 tabcolsep
27536 \series default
27537  is the LaTeX-length between the cell text and the cell border, its default
27538  value is 6\InsetSpace \thinspace{}
27539 pt.
27540  
27541 \series bold
27542
27543 \backslash
27544 arrayrulewidth
27545 \series default
27546  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27547 pt.
27548 \end_layout
27549
27550 \begin_layout Standard
27551 Following equation\InsetSpace ~
27552
27553 \begin_inset LatexCommand eqref
27554 reference "eq:Wtot_n"
27555
27556 \end_inset
27557
27558 , the total width of a multicolumn 
27559 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27560 \end_inset
27561
27562  is
27563 \end_layout
27564
27565 \begin_layout Standard
27566 \begin_inset Formula \begin{equation}
27567 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27568
27569 \end_inset
27570
27571
27572 \end_layout
27573
27574 \begin_layout Standard
27575 By setting equation\InsetSpace ~
27576
27577 \begin_inset LatexCommand eqref
27578 reference "eq:Wtot_n"
27579
27580 \end_inset
27581
27582  and 
27583 \begin_inset LatexCommand eqref
27584 reference "eq:Wtot_mult"
27585
27586 \end_inset
27587
27588  equal we can calculate the needed given width 
27589 \begin_inset Formula $W_{g\, n}$
27590 \end_inset
27591
27592  when 
27593 \emph on
27594 n
27595 \emph default
27596  columns are spanned, so that each column has a total width of 
27597 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27598 \end_inset
27599
27600 :
27601 \end_layout
27602
27603 \begin_layout Standard
27604 \begin_inset Formula \begin{equation}
27605 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27606
27607 \end_inset
27608
27609
27610 \end_layout
27611
27612 \begin_layout Bibliography
27613 \begin_inset LatexCommand bibitem
27614 key "latexcompanion"
27615
27616 \end_inset
27617
27618 Frank Mittelbach and Michel Goossens: 
27619 \emph on
27620 The LaTeX Companion Second Edition.
27621  
27622 \emph default
27623 Addison-Wesley, 2004
27624 \end_layout
27625
27626 \begin_layout Bibliography
27627 \begin_inset LatexCommand bibitem
27628 key "latexguide"
27629
27630 \end_inset
27631
27632 Helmut Kopka and Patrick W.
27633  Daly: 
27634 \emph on
27635 A Guide to LaTeX Fourth Edition.
27636  
27637 \emph default
27638 Addison-Wesley, 2003
27639 \end_layout
27640
27641 \begin_layout Bibliography
27642 \begin_inset LatexCommand bibitem
27643 key "latexbook"
27644
27645 \end_inset
27646
27647 Leslie Lamport: 
27648 \emph on
27649 LaTeX: A Document Preparation System.
27650  
27651 \emph default
27652 Addison-Wesley, second edition, 1994
27653 \end_layout
27654
27655 \begin_layout Bibliography
27656 \begin_inset LatexCommand bibitem
27657 key "booktabs"
27658
27659 \end_inset
27660
27661
27662 \begin_inset ERT
27663 status collapsed
27664
27665 \begin_layout Standard
27666
27667
27668 \backslash
27669 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27670 {
27671 \end_layout
27672
27673 \end_inset
27674
27675 Documentation
27676 \begin_inset ERT
27677 status collapsed
27678
27679 \begin_layout Standard
27680
27681 }
27682 \end_layout
27683
27684 \end_inset
27685
27686  of the LaTeX-package 
27687 \series bold
27688 booktabs
27689 \series default
27690
27691 \begin_inset LatexCommand index
27692 name "LaTeX-packages ! booktabs"
27693
27694 \end_inset
27695
27696
27697 \end_layout
27698
27699 \begin_layout Bibliography
27700 \begin_inset LatexCommand bibitem
27701 key "caption"
27702
27703 \end_inset
27704
27705
27706 \begin_inset ERT
27707 status collapsed
27708
27709 \begin_layout Standard
27710
27711
27712 \backslash
27713 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27714 \end_layout
27715
27716 \end_inset
27717
27718 Documentation
27719 \begin_inset ERT
27720 status collapsed
27721
27722 \begin_layout Standard
27723
27724 }
27725 \end_layout
27726
27727 \end_inset
27728
27729  of the LaTeX-package 
27730 \series bold
27731 caption
27732 \series default
27733
27734 \begin_inset LatexCommand index
27735 name "LaTeX-packages ! caption"
27736
27737 \end_inset
27738
27739
27740 \end_layout
27741
27742 \begin_layout Bibliography
27743 \begin_inset LatexCommand bibitem
27744 key "caption-de"
27745
27746 \end_inset
27747
27748 German 
27749 \begin_inset ERT
27750 status collapsed
27751
27752 \begin_layout Standard
27753
27754
27755 \backslash
27756 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27757 {
27758 \end_layout
27759
27760 \end_inset
27761
27762 documentation
27763 \begin_inset ERT
27764 status collapsed
27765
27766 \begin_layout Standard
27767
27768 }
27769 \end_layout
27770
27771 \end_inset
27772
27773  of the LaTeX-package 
27774 \series bold
27775 caption
27776 \end_layout
27777
27778 \begin_layout Bibliography
27779 \begin_inset LatexCommand bibitem
27780 key "endfloat"
27781
27782 \end_inset
27783
27784
27785 \begin_inset ERT
27786 status collapsed
27787
27788 \begin_layout Standard
27789
27790
27791 \backslash
27792 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27793 {
27794 \end_layout
27795
27796 \end_inset
27797
27798 Documentation
27799 \begin_inset ERT
27800 status collapsed
27801
27802 \begin_layout Standard
27803
27804 }
27805 \end_layout
27806
27807 \end_inset
27808
27809  of the LaTeX-package 
27810 \series bold
27811 endf\SpecialChar \textcompwordmark{}
27812 loat
27813 \series default
27814
27815 \begin_inset LatexCommand index
27816 name "LaTeX-packages ! endfloat"
27817
27818 \end_inset
27819
27820
27821 \end_layout
27822
27823 \begin_layout Bibliography
27824 \begin_inset LatexCommand bibitem
27825 key "floatflt"
27826
27827 \end_inset
27828
27829
27830 \begin_inset ERT
27831 status collapsed
27832
27833 \begin_layout Standard
27834
27835
27836 \backslash
27837 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27838 {
27839 \end_layout
27840
27841 \end_inset
27842
27843 Documentation
27844 \begin_inset ERT
27845 status collapsed
27846
27847 \begin_layout Standard
27848
27849 }
27850 \end_layout
27851
27852 \end_inset
27853
27854  of the LaTeX-package 
27855 \series bold
27856 floatf\SpecialChar \textcompwordmark{}
27857 lt
27858 \series default
27859
27860 \begin_inset LatexCommand index
27861 name "LaTeX-packages ! floatflt"
27862
27863 \end_inset
27864
27865
27866 \end_layout
27867
27868 \begin_layout Bibliography
27869 \begin_inset LatexCommand bibitem
27870 key "footmisc"
27871
27872 \end_inset
27873
27874
27875 \begin_inset ERT
27876 status collapsed
27877
27878 \begin_layout Standard
27879
27880
27881 \backslash
27882 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27883 {
27884 \end_layout
27885
27886 \end_inset
27887
27888 Documentation
27889 \begin_inset ERT
27890 status collapsed
27891
27892 \begin_layout Standard
27893
27894 }
27895 \end_layout
27896
27897 \end_inset
27898
27899  of the LaTeX-package 
27900 \series bold
27901 footmisc
27902 \series default
27903
27904 \begin_inset LatexCommand index
27905 name "LaTeX-packages ! footmisc"
27906
27907 \end_inset
27908
27909
27910 \end_layout
27911
27912 \begin_layout Bibliography
27913 \begin_inset LatexCommand bibitem
27914 key "hypcap"
27915
27916 \end_inset
27917
27918
27919 \begin_inset ERT
27920 status collapsed
27921
27922 \begin_layout Standard
27923
27924
27925 \backslash
27926 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27927 \end_layout
27928
27929 \end_inset
27930
27931 Documentation
27932 \begin_inset ERT
27933 status collapsed
27934
27935 \begin_layout Standard
27936
27937 }
27938 \end_layout
27939
27940 \end_inset
27941
27942  of the LaTeX-package 
27943 \series bold
27944 hypcap
27945 \series default
27946
27947 \begin_inset LatexCommand index
27948 name "LaTeX-packages ! hyperref"
27949
27950 \end_inset
27951
27952
27953 \end_layout
27954
27955 \begin_layout Bibliography
27956 \begin_inset LatexCommand bibitem
27957 key "hyperref"
27958
27959 \end_inset
27960
27961
27962 \begin_inset ERT
27963 status collapsed
27964
27965 \begin_layout Standard
27966
27967
27968 \backslash
27969 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
27970 {
27971 \end_layout
27972
27973 \end_inset
27974
27975 Documentation
27976 \begin_inset ERT
27977 status collapsed
27978
27979 \begin_layout Standard
27980
27981 }
27982 \end_layout
27983
27984 \end_inset
27985
27986  of the LaTeX-package 
27987 \series bold
27988 hyperref
27989 \series default
27990
27991 \begin_inset LatexCommand index
27992 name "LaTeX-packages ! hyperref"
27993
27994 \end_inset
27995
27996
27997 \end_layout
27998
27999 \begin_layout Bibliography
28000 \begin_inset LatexCommand bibitem
28001 key "koma-script"
28002
28003 \end_inset
28004
28005
28006 \begin_inset ERT
28007 status collapsed
28008
28009 \begin_layout Standard
28010
28011
28012 \backslash
28013 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28014 df}{
28015 \end_layout
28016
28017 \end_inset
28018
28019 Documentation
28020 \begin_inset ERT
28021 status collapsed
28022
28023 \begin_layout Standard
28024
28025 }
28026 \end_layout
28027
28028 \end_inset
28029
28030  of the LaTeX-package 
28031 \series bold
28032 koma-script
28033 \series default
28034
28035 \begin_inset LatexCommand index
28036 name "LaTeX-packages ! koma-script"
28037
28038 \end_inset
28039
28040
28041 \end_layout
28042
28043 \begin_layout Bibliography
28044 \begin_inset LatexCommand bibitem
28045 key "koma-script-de"
28046
28047 \end_inset
28048
28049 German 
28050 \begin_inset ERT
28051 status collapsed
28052
28053 \begin_layout Standard
28054
28055
28056 \backslash
28057 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28058 df}{
28059 \end_layout
28060
28061 \end_inset
28062
28063 documentation
28064 \begin_inset ERT
28065 status collapsed
28066
28067 \begin_layout Standard
28068
28069 }
28070 \end_layout
28071
28072 \end_inset
28073
28074  of the LaTeX-package 
28075 \series bold
28076 koma-script
28077 \series default
28078
28079 \begin_inset LatexCommand index
28080 name "LaTeX-packages ! koma-script"
28081
28082 \end_inset
28083
28084
28085 \end_layout
28086
28087 \begin_layout Bibliography
28088 \begin_inset LatexCommand bibitem
28089 key "marginnote"
28090
28091 \end_inset
28092
28093
28094 \begin_inset ERT
28095 status collapsed
28096
28097 \begin_layout Standard
28098
28099
28100 \backslash
28101 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28102 pdf}{
28103 \end_layout
28104
28105 \end_inset
28106
28107 Documentation
28108 \begin_inset ERT
28109 status collapsed
28110
28111 \begin_layout Standard
28112
28113 }
28114 \end_layout
28115
28116 \end_inset
28117
28118  of the LaTeX-package 
28119 \series bold
28120 marginnote
28121 \series default
28122
28123 \begin_inset LatexCommand index
28124 name "LaTeX-packages ! marginnote"
28125
28126 \end_inset
28127
28128
28129 \end_layout
28130
28131 \begin_layout Bibliography
28132 \begin_inset LatexCommand bibitem
28133 key "pstricks"
28134
28135 \end_inset
28136
28137
28138 \begin_inset ERT
28139 status collapsed
28140
28141 \begin_layout Standard
28142
28143
28144 \backslash
28145 href{http://tug.org/PSTricks/main.cgi/}{
28146 \end_layout
28147
28148 \end_inset
28149
28150 Web page
28151 \begin_inset ERT
28152 status collapsed
28153
28154 \begin_layout Standard
28155
28156 }
28157 \end_layout
28158
28159 \end_inset
28160
28161  of the LaTeX-package 
28162 \series bold
28163 PSTricks
28164 \series default
28165
28166 \begin_inset LatexCommand index
28167 name "LaTeX-packages ! PSTricks"
28168
28169 \end_inset
28170
28171
28172 \end_layout
28173
28174 \begin_layout Bibliography
28175 \begin_inset LatexCommand bibitem
28176 key "sidecap"
28177
28178 \end_inset
28179
28180
28181 \begin_inset ERT
28182 status collapsed
28183
28184 \begin_layout Standard
28185
28186
28187 \backslash
28188 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28189 \end_layout
28190
28191 \end_inset
28192
28193 Documentation
28194 \begin_inset ERT
28195 status collapsed
28196
28197 \begin_layout Standard
28198
28199 }
28200 \end_layout
28201
28202 \end_inset
28203
28204  of the LaTeX-package 
28205 \series bold
28206 sidecap
28207 \series default
28208
28209 \begin_inset LatexCommand index
28210 name "LaTeX-packages ! sidecap"
28211
28212 \end_inset
28213
28214
28215 \end_layout
28216
28217 \begin_layout Bibliography
28218 \begin_inset LatexCommand bibitem
28219 key "NewInLyX15"
28220
28221 \end_inset
28222
28223
28224 \begin_inset ERT
28225 status collapsed
28226
28227 \begin_layout Standard
28228
28229
28230 \backslash
28231 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28232 \end_layout
28233
28234 \end_inset
28235
28236 Wiki page
28237 \begin_inset ERT
28238 status collapsed
28239
28240 \begin_layout Standard
28241
28242 }
28243 \end_layout
28244
28245 \end_inset
28246
28247  about new LyX-features planned for the release 
28248 \family sans
28249 LyX 1.5
28250 \family default
28251 .
28252 \end_layout
28253
28254 \begin_layout Standard
28255 \begin_inset LatexCommand printindex
28256
28257 \end_inset
28258
28259
28260 \end_layout
28261
28262 \begin_layout Standard
28263 \begin_inset FloatList figure
28264
28265 \end_inset
28266
28267
28268 \end_layout
28269
28270 \begin_layout Standard
28271 \begin_inset FloatList table
28272
28273 \end_inset
28274
28275
28276 \end_layout
28277
28278 \end_body
28279 \end_document