]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Document Provides tag and changes to LabelString[Appendix]
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 263
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "usti" 
207 \author "Uwe Stöhr" 
208 \author "" 
209 \end_header
210
211 \begin_body
212
213 \begin_layout Title
214 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
215  manual
216 \end_layout
217
218 \begin_layout Author
219 by the LyX Team
220 \begin_inset Foot
221 status collapsed
222
223 \begin_layout Standard
224 \noindent
225 If you have comments or error corrections, please send them to the LyX Documenta
226 tion mailing list: 
227 \family typewriter
228
229 \begin_inset ERT
230 status open
231
232 \begin_layout Standard
233
234
235 \backslash
236 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
237 \end_layout
238
239 \end_inset
240
241 lyx-docs@lists.lyx.org
242 \begin_inset ERT
243 status collapsed
244
245 \begin_layout Standard
246
247 }
248 \end_layout
249
250 \end_inset
251
252
253 \end_layout
254
255 \end_inset
256
257
258 \begin_inset Note Note
259 status collapsed
260
261 \begin_layout Standard
262 original author: Uwe Stöhr
263 \end_layout
264
265 \end_inset
266
267
268 \newline
269
270 \newline
271
272 \family sans
273 Version 1.5.0-
274 \family default
275 1
276 \end_layout
277
278 \begin_layout Standard
279 \begin_inset LatexCommand tableofcontents
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout Standard
287 \begin_inset Note Note
288 status open
289
290 \begin_layout Standard
291 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
292  
293 \series bold
294 arydshln
295 \series default
296  and 
297 \series bold
298 marginnote
299 \series default
300  must be installed.
301  If they are not installed you can export the document anyway but the sections
302  where the packages are required won't appear in the output.
303 \end_layout
304
305 \begin_layout Standard
306 The latest PDF-version of this document can be found here:
307 \newline
308
309 \series bold
310 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
311 \end_layout
312
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Chapter
319 Figures
320 \begin_inset LatexCommand label
321 name "cha:Figures"
322
323 \end_inset
324
325
326 \begin_inset LatexCommand index
327 name "Figures"
328
329 \end_inset
330
331
332 \begin_inset LatexCommand index
333 name "Graphics|see{Figures}"
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Section
341 Graphics Dialog
342 \begin_inset LatexCommand index
343 name "Figures ! Graphics Dialog"
344
345 \end_inset
346
347
348 \begin_inset LatexCommand label
349 name "sec:Graphics-Dialog"
350
351 \end_inset
352
353
354 \end_layout
355
356 \begin_layout Standard
357 To insert an image into your document, place the cursor at the text position
358  you want and click on the toolbar icon 
359 \begin_inset Graphics
360         filename ../images/dialog-show-new-inset_graphics.xpm
361         scale 85
362
363 \end_inset
364
365  or use the menu 
366 \family sans
367 Insert\SpecialChar \menuseparator
368 Graphics
369 \family default
370 .
371  Then a dialog will appear to choose the file to load.
372  The image will appear in the output exactly at the position where it is
373  in the text.
374 \end_layout
375
376 \begin_layout Standard
377 The graphics dialog can be called at any time by right-clicking on an image.
378  This dialog has three tabs:
379 \end_layout
380
381 \begin_layout Description
382
383 \family sans
384 Graphics
385 \family default
386  Here you can choose an image file and adjust its appearance in the output.
387  The available units for the image size are explained in appendix\InsetSpace ~
388
389 \begin_inset LatexCommand ref
390 reference "cha:Units-available-in"
391
392 \end_inset
393
394 .
395 \newline
396 You can rotate images counter-clockwise by setting a rotation angle and
397  a rotation origin.
398  The image will also be rotated inside LyX.
399 \newline
400 Images can be opened in a program
401  of your choice when pressing the 
402 \family sans
403 Edit
404 \family default
405  button.
406  The program can be set for every image format in the file format settings
407  in LyX's preferences.
408 \end_layout
409
410 \begin_layout Description
411
412 \family sans
413 Clipping
414 \family default
415  Alternatively to the usage of scaling units it is possible to set image
416  coordinates to adjust the height and width of the image in the output.
417  The coordinates can also be calculated automatically by pressing the button
418  
419 \family sans
420 Get\InsetSpace ~
421 from\InsetSpace ~
422 File
423 \family default
424 .
425  The option 
426 \family sans
427 Clip\InsetSpace ~
428 to\InsetSpace ~
429 bounding\InsetSpace ~
430 box
431 \family default
432  will only print the image region within the given coordinates.
433  Normally you don't need to take care about image coordinates and can ignore
434  this tab.
435 \end_layout
436
437 \begin_layout Description
438
439 \family sans
440 Extra\InsetSpace ~
441 options
442 \family default
443  In this tab you can modify the appearance of the image within LyX and set
444  the image to be a subfigure of a figure float with an own caption.
445  Subfigures are explained in section\InsetSpace ~
446
447 \begin_inset LatexCommand ref
448 reference "sec:Figure-Floats"
449
450 \end_inset
451
452 .
453 \newline
454  LaTeX experts can also specify on this tab additional LaTeX options.
455 \newline
456  The
457  option 
458 \family sans
459 Draft\InsetSpace ~
460 mode
461 \family default
462  makes the image appear in the output only as a frame with the size of the
463  image.
464 \newline
465 The 
466 \family sans
467 Don't\InsetSpace ~
468 unzip\InsetSpace ~
469 on\InsetSpace ~
470 export
471 \family default
472  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
473 g.\InsetSpace ~
474
475 \emph on
476 x.eps.gz
477 \emph default
478 .
479  When the option is used the images will not be unzipped on export, since
480  LaTeX can handle them as they are.
481 \newline
482 Zipped EPS-graphics are useful to save
483  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
484
485 \begin_inset LatexCommand ref
486 reference "sec:PostScript"
487
488 \end_inset
489
490 .
491  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
492  console:
493 \newline
494
495 \series bold
496 gzip x.eps
497 \series default
498
499 \newline
500
501 \series bold
502 zgrep %%Bounding x.eps.gz > x.eps.bb
503 \series default
504
505 \newline
506 The second command creates the bounding box file 
507 \begin_inset Quotes eld
508 \end_inset
509
510 x.eps.bb
511 \begin_inset Quotes erd
512 \end_inset
513
514  that is needed by LaTeX for zipped graphics.
515 \end_layout
516
517 \begin_layout Standard
518 \begin_inset VSpace bigskip
519 \end_inset
520
521
522 \end_layout
523
524 \begin_layout Standard
525 This is an example image in EPS format
526 \begin_inset Foot
527 status collapsed
528
529 \begin_layout Standard
530 Image formats are explained in section\InsetSpace ~
531
532 \begin_inset LatexCommand ref
533 reference "sec:Image-Formats"
534
535 \end_inset
536
537 .
538 \end_layout
539
540 \end_inset
541
542  within a separate, horizontally centered paragraph:
543 \end_layout
544
545 \begin_layout Standard
546 \align center
547 \begin_inset Graphics
548         filename clipart/mobius.eps
549         display color
550         scale 70
551         rotateOrigin center
552
553 \end_inset
554
555
556 \end_layout
557
558 \begin_layout Standard
559 This is the same image like the one above but in draft mode:
560 \end_layout
561
562 \begin_layout Standard
563 \align center
564 \begin_inset Graphics
565         filename clipart/mobius.eps
566         display color
567         scale 70
568         draft
569         rotateOrigin center
570
571 \end_inset
572
573
574 \end_layout
575
576 \begin_layout Section
577 Figure Floats
578 \begin_inset LatexCommand label
579 name "sec:Figure-Floats"
580
581 \end_inset
582
583
584 \begin_inset LatexCommand index
585 name "Floats ! Figure Floats"
586
587 \end_inset
588
589
590 \begin_inset LatexCommand index
591 name "Figures ! Floats"
592
593 \end_inset
594
595
596 \end_layout
597
598 \begin_layout Standard
599 For general explanations about floats, have a look at section\InsetSpace ~
600
601 \begin_inset LatexCommand ref
602 reference "sec:FloatIntroduction"
603
604 \end_inset
605
606 .
607 \end_layout
608
609 \begin_layout Standard
610 The toolbar button 
611 \begin_inset Graphics
612         filename ../images/float-insert_figure.xpm
613         scale 85
614
615 \end_inset
616
617  and the menu 
618 \family sans
619 Insert\SpecialChar \menuseparator
620 Float\SpecialChar \menuseparator
621 Figure
622 \family default
623  inserts a float with a caption that has the label 
624 \begin_inset Quotes eld
625 \end_inset
626
627 Figure\InsetSpace ~
628 #:
629 \begin_inset Quotes erd
630 \end_inset
631
632  (# is the actual number).
633  You can insert the image above the caption, like in Figure\InsetSpace ~
634
635 \begin_inset LatexCommand ref
636 reference "fig:kill-plat"
637
638 \end_inset
639
640  or below the caption, like in Figure\InsetSpace ~
641
642 \begin_inset LatexCommand ref
643 reference "fig:escher"
644
645 \end_inset
646
647 .
648  More about the caption placement is described in section\InsetSpace ~
649
650 \begin_inset LatexCommand ref
651 reference "sec:Caption-Placement"
652
653 \end_inset
654
655 .
656 \end_layout
657
658 \begin_layout Standard
659 \begin_inset Float figure
660 wide false
661 sideways false
662 status open
663
664 \begin_layout Standard
665 \align center
666 \begin_inset Graphics
667         filename clipart/platypus.eps
668         display color
669         width 50col%
670         rotateOrigin center
671
672 \end_inset
673
674
675 \end_layout
676
677 \begin_layout Standard
678 \begin_inset Caption
679
680 \begin_layout Standard
681 \begin_inset LatexCommand label
682 name "fig:kill-plat"
683
684 \end_inset
685
686 A severely distorted platypus in a float.
687 \end_layout
688
689 \end_inset
690
691
692 \end_layout
693
694 \end_inset
695
696
697 \end_layout
698
699 \begin_layout Standard
700 \begin_inset Float figure
701 wide false
702 sideways false
703 status open
704
705 \begin_layout Standard
706 \begin_inset Caption
707
708 \begin_layout Standard
709 \begin_inset LatexCommand label
710 name "fig:escher"
711
712 \end_inset
713
714 M.C.
715  Escher on acid.
716 \end_layout
717
718 \end_inset
719
720
721 \end_layout
722
723 \begin_layout Standard
724 \align center
725 \begin_inset Graphics
726         filename clipart/escher-lsd.eps
727         display color
728         scale 80
729         rotateOrigin center
730
731 \end_inset
732
733
734 \end_layout
735
736 \end_inset
737
738
739 \end_layout
740
741 \begin_layout Standard
742 \begin_inset LatexCommand index
743 name "References ! to Figures"
744
745 \end_inset
746
747 Figure\InsetSpace ~
748
749 \begin_inset LatexCommand ref
750 reference "fig:kill-plat"
751
752 \end_inset
753
754  and 
755 \begin_inset LatexCommand ref
756 reference "fig:escher"
757
758 \end_inset
759
760  are examples of referenced figures.
761  Figures can be referenced in the text by referencing their label.
762  To do this insert a label in the caption using the menu 
763 \family sans
764 Insert\SpecialChar \menuseparator
765 Label
766 \family default
767  or the toolbar button 
768 \begin_inset Graphics
769         filename ../images/label-insert.xpm
770         scale 85
771
772 \end_inset
773
774 .
775  You can now refer to the label using the menu 
776 \family sans
777 Insert\SpecialChar \menuseparator
778 Cross\InsetSpace ~
779 reference
780 \family default
781  or the toolbar button 
782 \begin_inset Graphics
783         filename ../images/dialog-show-new-inset_ref.xpm
784         scale 85
785
786 \end_inset
787
788 .
789  It is important to use references to floats, rather than using vague references
790  like 
791 \begin_inset Quotes eld
792 \end_inset
793
794 the figure above
795 \begin_inset Quotes erd
796 \end_inset
797
798 , because as LaTeX will reposition the floats in the final document, it
799  might not be 
800 \begin_inset Quotes eld
801 \end_inset
802
803 above
804 \begin_inset Quotes erd
805 \end_inset
806
807  at all.
808 \newline
809 Referencing is explained in detail in section\InsetSpace ~
810
811 \begin_inset LatexCommand ref
812 reference "sec:Referencing-Floats"
813
814 \end_inset
815
816 .
817 \end_layout
818
819 \begin_layout Standard
820 Normally only one image is inserted to a figure float, but sometimes you
821  might want to use two images with separate subcaptions.
822  This can be set in the tab 
823 \family sans
824 Extra\InsetSpace ~
825 options
826 \family default
827  of the graphics dialog.
828  Choose there the option 
829 \family sans
830 Subfigure
831 \family default
832  and enter the subcaption for the image in the caption field.
833  Note that only the main caption of the float is added to the List of Figures.
834 \newline
835 Ref
836 erencing subfigures is explained in section\InsetSpace ~
837
838 \begin_inset LatexCommand ref
839 reference "sub:Referencing-Subfigures"
840
841 \end_inset
842
843 .
844 \end_layout
845
846 \begin_layout Standard
847 Figure\InsetSpace ~
848
849 \begin_inset LatexCommand ref
850 reference "fig:Two-distorted-images"
851
852 \end_inset
853
854  is an example of a figure float with two images set side by side.
855  You can also set the images one below the other.
856 \end_layout
857
858 \begin_layout Standard
859 \begin_inset Float figure
860 wide false
861 sideways false
862 status open
863
864 \begin_layout Standard
865
866 \hfill
867
868 \begin_inset Graphics
869         filename clipart/escher-lsd.eps
870         width 45col%
871         subcaption
872         subcaptionText "Undefinable structure"
873
874 \end_inset
875
876
877 \hfill
878
879 \begin_inset Graphics
880         filename clipart/platypus.eps
881         lyxscale 60
882         width 45col%
883         subcaption
884         subcaptionText "\label{fig:Platypus} Platypus"
885
886 \end_inset
887
888
889 \hfill
890
891 \end_layout
892
893 \begin_layout Standard
894 \begin_inset Caption
895
896 \begin_layout Standard
897 \begin_inset LatexCommand label
898 name "fig:Two-distorted-images"
899
900 \end_inset
901
902 Two distorted images.
903 \end_layout
904
905 \end_inset
906
907
908 \end_layout
909
910 \end_inset
911
912
913 \end_layout
914
915 \begin_layout Section
916 Image Formats
917 \begin_inset LatexCommand label
918 name "sec:Image-Formats"
919
920 \end_inset
921
922
923 \begin_inset LatexCommand index
924 name "Image Formats"
925
926 \end_inset
927
928
929 \begin_inset LatexCommand index
930 name "Figures ! Image Formats"
931
932 \end_inset
933
934
935 \end_layout
936
937 \begin_layout Standard
938 You can insert images in any known file format.
939  But as explained in appendix\InsetSpace ~
940
941 \begin_inset LatexCommand ref
942 reference "cha:Output-File-Formats"
943
944 \end_inset
945
946 , every output document format allows only a few image formats.
947  LyX uses therefore the program 
948 \family typewriter
949 Imagemagick
950 \family default
951  in the background to convert the images to the right format.
952  To increase your work flow by avoiding these conversions in the background,
953  you can use only the image formats that can directly be embedded in the
954  output file format.
955  The output file formats are explained in appendix\InsetSpace ~
956
957 \begin_inset LatexCommand ref
958 reference "cha:Output-File-Formats"
959
960 \end_inset
961
962 .
963 \end_layout
964
965 \begin_layout Standard
966 Similar to fonts there are two types of image formats:
967 \end_layout
968
969 \begin_layout Description
970 Bitmap\InsetSpace ~
971 images consist of pixel values, often in a compressed form.
972  They are therefore not fully scalable and look pixeled in large zooms.
973  Well-known bitmap image formats are 
974 \begin_inset Quotes eld
975 \end_inset
976
977 Graphics Interchange Format
978 \begin_inset Quotes erd
979 \end_inset
980
981  (GIF, file extension 
982 \begin_inset Quotes eld
983 \end_inset
984
985
986 \family typewriter
987 .gif
988 \family default
989
990 \begin_inset Quotes erd
991 \end_inset
992
993 )
994 \begin_inset LatexCommand index
995 name "GIF|see{Image formats}"
996
997 \end_inset
998
999
1000 \begin_inset Quotes eld
1001 \end_inset
1002
1003 Portable Network Graphics
1004 \begin_inset Quotes erd
1005 \end_inset
1006
1007  (PNG, file extension 
1008 \begin_inset Quotes eld
1009 \end_inset
1010
1011
1012 \family typewriter
1013 .png
1014 \family default
1015
1016 \begin_inset Quotes erd
1017 \end_inset
1018
1019 )
1020 \begin_inset LatexCommand index
1021 name "PNG|see{Image formats}"
1022
1023 \end_inset
1024
1025 , and 
1026 \begin_inset Quotes eld
1027 \end_inset
1028
1029 Joint Photographic Experts Group
1030 \begin_inset Quotes erd
1031 \end_inset
1032
1033  (JPG, file extension 
1034 \begin_inset Quotes eld
1035 \end_inset
1036
1037
1038 \family typewriter
1039 .jpg
1040 \family default
1041
1042 \begin_inset Quotes erd
1043 \end_inset
1044
1045  or 
1046 \begin_inset Quotes eld
1047 \end_inset
1048
1049
1050 \family typewriter
1051 .jpeg
1052 \family default
1053
1054 \begin_inset Quotes erd
1055 \end_inset
1056
1057 )
1058 \begin_inset LatexCommand index
1059 name "JPG|see{Image formats}"
1060
1061 \end_inset
1062
1063 .
1064 \end_layout
1065
1066 \begin_layout Description
1067 Vector\InsetSpace ~
1068 images consist of vectors and can therefore be scaled to any size
1069  without data loss.
1070  The scaling ability is necessary if you want to create presentations, because
1071  presentations are always scaled by the video projector.
1072  Scaling is also useful for online documents to let the user zoom into diagrams.
1073 \newline
1074 W
1075 ell-known scalable image formats are 
1076 \begin_inset Quotes eld
1077 \end_inset
1078
1079 Scalable Vector Graphics
1080 \begin_inset Quotes erd
1081 \end_inset
1082
1083  (SVG, file extension 
1084 \begin_inset Quotes eld
1085 \end_inset
1086
1087
1088 \family typewriter
1089 .svg
1090 \family default
1091
1092 \begin_inset Quotes erd
1093 \end_inset
1094
1095 )
1096 \begin_inset LatexCommand index
1097 name "SVG|see{Image formats}"
1098
1099 \end_inset
1100
1101
1102 \begin_inset Quotes eld
1103 \end_inset
1104
1105 Encapsulated PostScript
1106 \begin_inset Quotes erd
1107 \end_inset
1108
1109  (EPS, file extension 
1110 \begin_inset Quotes eld
1111 \end_inset
1112
1113
1114 \family typewriter
1115 .eps
1116 \family default
1117
1118 \begin_inset Quotes erd
1119 \end_inset
1120
1121 )
1122 \begin_inset LatexCommand index
1123 name "EPS|see{Image formats}"
1124
1125 \end_inset
1126
1127
1128 \begin_inset Quotes eld
1129 \end_inset
1130
1131 Portable Document Format
1132 \begin_inset Quotes erd
1133 \end_inset
1134
1135  (PDF, file extension 
1136 \begin_inset Quotes eld
1137 \end_inset
1138
1139
1140 \family typewriter
1141 .pdf
1142 \family default
1143
1144 \begin_inset Quotes erd
1145 \end_inset
1146
1147 )
1148 \begin_inset LatexCommand index
1149 name "PDF"
1150
1151 \end_inset
1152
1153 , and 
1154 \begin_inset Quotes eld
1155 \end_inset
1156
1157 Windows Metafile
1158 \begin_inset Quotes erd
1159 \end_inset
1160
1161  (WMF, file extension 
1162 \begin_inset Quotes eld
1163 \end_inset
1164
1165
1166 \family typewriter
1167 .wmf
1168 \family default
1169
1170 \begin_inset Quotes erd
1171 \end_inset
1172
1173 )
1174 \begin_inset LatexCommand index
1175 name "SVG|see{Image formats}"
1176
1177 \end_inset
1178
1179 .
1180  We wrote 
1181 \begin_inset Quotes eld
1182 \end_inset
1183
1184 can be
1185 \begin_inset Quotes erd
1186 \end_inset
1187
1188 , because you can convert any bitmap image to a PDF or EPS-image and the
1189  result will still be a bitmap image.
1190  In this cases only a header with the image properties is added to the original
1191  image
1192 \begin_inset Foot
1193 status open
1194
1195 \begin_layout Standard
1196 In the case of PDF, the original image is additionally compressed.
1197 \end_layout
1198
1199 \end_inset
1200
1201 .
1202  The PDF-files generated by 
1203 \family typewriter
1204 Adobe Photoshop
1205 \family default
1206  are for example bitmap images.
1207 \end_layout
1208
1209 \begin_layout Standard
1210 Normally it is not possible to convert a bitmap image into a scalable one,
1211  only vice versa.
1212  Only the image formats PDF and EPS can directly be embedded to PDF and
1213  PostScript output files, respectively.
1214  SVG and WMF-images are currently recalculated to bitmaps when the output
1215  file is generated because there is currently no adequate WMF/SVG
1216 \begin_inset Formula $\to$
1217 \end_inset
1218
1219 PDF/EPS converter available.
1220 \end_layout
1221
1222 \begin_layout Chapter
1223 Tables
1224 \begin_inset LatexCommand label
1225 name "cha:Tables"
1226
1227 \end_inset
1228
1229
1230 \begin_inset LatexCommand index
1231 name "Table"
1232
1233 \end_inset
1234
1235
1236 \end_layout
1237
1238 \begin_layout Section
1239 Introduction
1240 \begin_inset LatexCommand index
1241 name "Table ! Introduction"
1242
1243 \end_inset
1244
1245
1246 \end_layout
1247
1248 \begin_layout Standard
1249 You can insert a table using either the toolbar button 
1250 \begin_inset Graphics
1251         filename ../images/tabular-insert.xpm
1252         scale 85
1253
1254 \end_inset
1255
1256  or the menu 
1257 \family sans
1258 Insert\SpecialChar \menuseparator
1259 Table
1260 \family default
1261 .
1262  The toolbar button offers you a graphical selection: Move the mouse to
1263  set the column/row number of the table that should be created and then
1264  press a mouse button.
1265  When you use the menu to create a table, a dialog will appear, asking you
1266  for the number of rows and columns.
1267 \newline
1268  The default table has lines around any
1269  cell and the first row appears separated from the rest of the table.
1270  This separation occurs due to a double line: The cells of the first row
1271  have a line below them and the cells of the second row have a line above
1272  them.
1273  Here is an example table:
1274 \end_layout
1275
1276 \begin_layout Standard
1277 \align center
1278 \begin_inset Tabular
1279 <lyxtabular version="3" rows="4" columns="4">
1280 <features>
1281 <column alignment="center" valignment="top" leftline="true" width="0">
1282 <column alignment="center" valignment="top" leftline="true" width="0">
1283 <column alignment="center" valignment="top" leftline="true" width="0">
1284 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1285 <row topline="true" bottomline="true">
1286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1287 \begin_inset Text
1288
1289 \begin_layout Standard
1290
1291 \end_layout
1292
1293 \end_inset
1294 </cell>
1295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1296 \begin_inset Text
1297
1298 \begin_layout Standard
1299
1300 \family roman
1301 \series medium
1302 \shape up
1303 \size normal
1304 \emph off
1305 \bar no
1306 \noun off
1307 \color none
1308 1
1309 \end_layout
1310
1311 \end_inset
1312 </cell>
1313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1314 \begin_inset Text
1315
1316 \begin_layout Standard
1317 2
1318 \end_layout
1319
1320 \end_inset
1321 </cell>
1322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1323 \begin_inset Text
1324
1325 \begin_layout Standard
1326 3
1327 \end_layout
1328
1329 \end_inset
1330 </cell>
1331 </row>
1332 <row topline="true">
1333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1334 \begin_inset Text
1335
1336 \begin_layout Standard
1337
1338 \family roman
1339 \series medium
1340 \shape up
1341 \size normal
1342 \emph off
1343 \bar no
1344 \noun off
1345 \color none
1346 A
1347 \end_layout
1348
1349 \end_inset
1350 </cell>
1351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1352 \begin_inset Text
1353
1354 \begin_layout Standard
1355
1356 \end_layout
1357
1358 \end_inset
1359 </cell>
1360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1361 \begin_inset Text
1362
1363 \begin_layout Standard
1364
1365 \end_layout
1366
1367 \end_inset
1368 </cell>
1369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1370 \begin_inset Text
1371
1372 \begin_layout Standard
1373
1374 \end_layout
1375
1376 \end_inset
1377 </cell>
1378 </row>
1379 <row topline="true">
1380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1381 \begin_inset Text
1382
1383 \begin_layout Standard
1384
1385 \family roman
1386 \series medium
1387 \shape up
1388 \size normal
1389 \emph off
1390 \bar no
1391 \noun off
1392 \color none
1393 B
1394 \end_layout
1395
1396 \end_inset
1397 </cell>
1398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1399 \begin_inset Text
1400
1401 \begin_layout Standard
1402
1403 \end_layout
1404
1405 \end_inset
1406 </cell>
1407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1408 \begin_inset Text
1409
1410 \begin_layout Standard
1411
1412 \end_layout
1413
1414 \end_inset
1415 </cell>
1416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1417 \begin_inset Text
1418
1419 \begin_layout Standard
1420
1421 \end_layout
1422
1423 \end_inset
1424 </cell>
1425 </row>
1426 <row topline="true" bottomline="true">
1427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1428 \begin_inset Text
1429
1430 \begin_layout Standard
1431
1432 \family roman
1433 \series medium
1434 \shape up
1435 \size normal
1436 \emph off
1437 \bar no
1438 \noun off
1439 \color none
1440 C
1441 \end_layout
1442
1443 \end_inset
1444 </cell>
1445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1446 \begin_inset Text
1447
1448 \begin_layout Standard
1449
1450 \end_layout
1451
1452 \end_inset
1453 </cell>
1454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1455 \begin_inset Text
1456
1457 \begin_layout Standard
1458
1459 \end_layout
1460
1461 \end_inset
1462 </cell>
1463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1464 \begin_inset Text
1465
1466 \begin_layout Standard
1467
1468 \end_layout
1469
1470 \end_inset
1471 </cell>
1472 </row>
1473 </lyxtabular>
1474
1475 \end_inset
1476
1477
1478 \end_layout
1479
1480 \begin_layout Section
1481 Table Dialog
1482 \begin_inset LatexCommand index
1483 name "Table ! Dialog"
1484
1485 \end_inset
1486
1487
1488 \end_layout
1489
1490 \begin_layout Standard
1491 You can alter a table by clicking on it with the right mouse button, which
1492  brings up the table dialog.
1493  Here you can adjust the settings of that cell and row/column respectively
1494  where the cursor is currently placed.
1495  Most of the dialog options also work on selections.
1496  This means if you select more cells, columns or rows, the action is done
1497  for the whole selection.
1498  Note that there is a difference between selecting the 
1499 \emph on
1500 contents
1501 \emph default
1502  of the cell, and the cell itself.
1503  You can alter tables with the following tabs of the table dialog:
1504 \end_layout
1505
1506 \begin_layout Description
1507
1508 \family sans
1509 Table\InsetSpace ~
1510 Settings
1511 \family default
1512  Here you can set the horizontal alignment for the current row and the width
1513  of the current column.
1514  When you have set a width you can also adjust the vertical alignment of
1515  the current column.
1516  A given width will allow the cell to have line breaks and multiple paragraphs
1517  of text, see section\InsetSpace ~
1518
1519 \begin_inset LatexCommand ref
1520 reference "sub:Multiple-Lines-in"
1521
1522 \end_inset
1523
1524 .
1525  If you set no width, the column is as wide as their widest cell content
1526  is.
1527 \newline
1528 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1529  cell, see section\InsetSpace ~
1530
1531 \begin_inset LatexCommand ref
1532 reference "sub:Multicolumns"
1533
1534 \end_inset
1535
1536 .
1537 \newline
1538 The rotate check boxes rotates the current cell, a selection, or the whole
1539  table counter-clockwise by 90°.
1540  The rotation is not shown within LyX, only in the output.
1541 \newline
1542
1543 \begin_inset Note Greyedout
1544 status open
1545
1546 \begin_layout Standard
1547
1548 \series bold
1549 Note:
1550 \series default
1551  Not all DVI-viewers are able to display rotations.
1552 \end_layout
1553
1554 \end_inset
1555
1556
1557 \newline
1558 It is also possible to enter a LaTeX-argument which is needed for special
1559  table formattings, see section\InsetSpace ~
1560
1561 \begin_inset LatexCommand ref
1562 reference "sub:Multicolumn-Calculations"
1563
1564 \end_inset
1565
1566  and 
1567 \begin_inset LatexCommand ref
1568 reference "sec:Colored-Tables"
1569
1570 \end_inset
1571
1572 .
1573 \end_layout
1574
1575 \begin_layout Description
1576
1577 \family sans
1578 Borders
1579 \family default
1580  In this tab you can add and delete border lines for the current row/column.
1581 \newline
1582 Using
1583  the style option 
1584 \family sans
1585 Formal
1586 \family default
1587  will convert the table to a formal table as described in section\InsetSpace ~
1588
1589 \begin_inset LatexCommand ref
1590 reference "sec:Formal-Tables"
1591
1592 \end_inset
1593
1594 .
1595 \newline
1596 You can also add here space to table rows as decribed in section\InsetSpace ~
1597
1598 \begin_inset LatexCommand ref
1599 reference "sub:Row-Spacing"
1600
1601 \end_inset
1602
1603 .
1604 \end_layout
1605
1606 \begin_layout Description
1607
1608 \family sans
1609 Longtable
1610 \family default
1611  This tab is to make a table a so called 
1612 \begin_inset Quotes eld
1613 \end_inset
1614
1615
1616 \emph on
1617 longtable
1618 \emph default
1619
1620 \begin_inset Quotes erd
1621 \end_inset
1622
1623  that can run over several pages.
1624  Section\InsetSpace ~
1625
1626 \begin_inset LatexCommand ref
1627 reference "sec:Longtables"
1628
1629 \end_inset
1630
1631  and 
1632 \begin_inset LatexCommand ref
1633 reference "sec:Special-Longtable-Issues"
1634
1635 \end_inset
1636
1637  describe the longtable features in detail.
1638 \end_layout
1639
1640 \begin_layout Standard
1641 When the table toolbar is opened, you can move the cursor with the arrow
1642  keys from cell to cell and the property of the current cell will immediately
1643  be displayed in the dialog.
1644 \end_layout
1645
1646 \begin_layout Section
1647 Table Toolbar
1648 \begin_inset LatexCommand index
1649 name "Table ! Toolbar"
1650
1651 \end_inset
1652
1653
1654 \end_layout
1655
1656 \begin_layout Standard
1657 The table toolbar is an alternative to the table dialog to be able to alter
1658  tables faster.
1659  It should normally appear at the bottom of LyX's main window when the cursor
1660  is inside a table.
1661  You can alternatively switch it on to appear always, by right-clicking
1662  in LyX's main menu bar.
1663 \end_layout
1664
1665 \begin_layout Standard
1666 The toolbar has the following icons:
1667 \end_layout
1668
1669 \begin_layout Labeling
1670 \labelwidthstring 00.00.0000
1671 \begin_inset Graphics
1672         filename ../images/tabular-feature_append-row.xpm
1673
1674 \end_inset
1675
1676  adds a row below the current cell or selection
1677 \end_layout
1678
1679 \begin_layout Labeling
1680 \labelwidthstring 00.00.0000
1681 \begin_inset Graphics
1682         filename ../images/tabular-feature_append-column.xpm
1683
1684 \end_inset
1685
1686  adds a column right beside the current cell or selection
1687 \end_layout
1688
1689 \begin_layout Labeling
1690 \labelwidthstring 00.00.0000
1691 \begin_inset Graphics
1692         filename ../images/tabular-feature_delete-row.xpm
1693
1694 \end_inset
1695
1696  deletes the current row or selection
1697 \end_layout
1698
1699 \begin_layout Labeling
1700 \labelwidthstring 00.00.0000
1701 \begin_inset Graphics
1702         filename ../images/tabular-feature_delete-column.xpm
1703
1704 \end_inset
1705
1706  deletes the current column or selection
1707 \end_layout
1708
1709 \begin_layout Labeling
1710 \labelwidthstring 00.00.0000
1711 \begin_inset Graphics
1712         filename ../images/tabular-feature_toggle-line-top.xpm
1713
1714 \end_inset
1715
1716  adds a line at the top of the current cell / row or of a selection
1717 \end_layout
1718
1719 \begin_layout Labeling
1720 \labelwidthstring 00.00.0000
1721 \begin_inset Graphics
1722         filename ../images/tabular-feature_toggle-line-bottom.xpm
1723
1724 \end_inset
1725
1726  adds a line at the bottom of the current cell / row or of a selection
1727 \end_layout
1728
1729 \begin_layout Labeling
1730 \labelwidthstring 00.00.0000
1731 \begin_inset Graphics
1732         filename ../images/tabular-feature_toggle-line-left.xpm
1733
1734 \end_inset
1735
1736  adds a line at the left side of the current cell / row or of a selection
1737 \end_layout
1738
1739 \begin_layout Labeling
1740 \labelwidthstring 00.00.0000
1741 \begin_inset Graphics
1742         filename ../images/tabular-feature_toggle-line-right.xpm
1743
1744 \end_inset
1745
1746  adds a line at the right side of the current cell / row or of a selection
1747 \end_layout
1748
1749 \begin_layout Labeling
1750 \labelwidthstring 00.00.0000
1751 \begin_inset Graphics
1752         filename ../images/tabular-feature_set-all-lines.xpm
1753
1754 \end_inset
1755
1756  adds lines around the current or selected cells - if the current cell no
1757  multicolumn this also affects the current row and column
1758 \end_layout
1759
1760 \begin_layout Labeling
1761 \labelwidthstring 00.00.0000
1762 \begin_inset Graphics
1763         filename ../images/tabular-feature_unset-all-lines.xpm
1764
1765 \end_inset
1766
1767  deletes all lines of the current or selected cells - if the current cell
1768  no multicolumn this also affects the current row and column
1769 \end_layout
1770
1771 \begin_layout Labeling
1772 \labelwidthstring 00.00.0000
1773 \begin_inset Graphics
1774         filename ../images/tabular-feature_align-left.xpm
1775
1776 \end_inset
1777
1778  left-aligns the content of the current cell / column
1779 \end_layout
1780
1781 \begin_layout Labeling
1782 \labelwidthstring 00.00.0000
1783 \begin_inset Graphics
1784         filename ../images/tabular-feature_align-center.xpm
1785
1786 \end_inset
1787
1788  centers the content of the current cell / column horizontally
1789 \end_layout
1790
1791 \begin_layout Labeling
1792 \labelwidthstring 00.00.0000
1793 \begin_inset Graphics
1794         filename ../images/tabular-feature_align-right.xpm
1795
1796 \end_inset
1797
1798  right-aligns the content of the current cell / column
1799 \end_layout
1800
1801 \begin_layout Labeling
1802 \labelwidthstring 00.00.0000
1803 \begin_inset Graphics
1804         filename ../images/tabular-feature_valign-top.xpm
1805
1806 \end_inset
1807
1808  aligns the content of the current cell vertically to the top
1809 \end_layout
1810
1811 \begin_layout Labeling
1812 \labelwidthstring 00.00.0000
1813 \begin_inset Graphics
1814         filename ../images/tabular-feature_valign-middle.xpm
1815
1816 \end_inset
1817
1818  centers the content of the current cell vertically
1819 \end_layout
1820
1821 \begin_layout Labeling
1822 \labelwidthstring 00.00.0000
1823 \begin_inset Graphics
1824         filename ../images/tabular-feature_valign-bottom.xpm
1825
1826 \end_inset
1827
1828  aligns the content of the current cell vertically to the bottom
1829 \end_layout
1830
1831 \begin_layout Labeling
1832 \labelwidthstring 00.00.0000
1833 \begin_inset Graphics
1834         filename ../images/tabular-feature_set-rotate-cell.xpm
1835
1836 \end_inset
1837
1838  rotates the current cell or selection counter-clockwise by 90°
1839 \end_layout
1840
1841 \begin_layout Labeling
1842 \labelwidthstring 00.00.0000
1843 \begin_inset Graphics
1844         filename ../images/tabular-feature_set-rotate-tabular.xpm
1845
1846 \end_inset
1847
1848  rotates the whole table counter-clockwise by 90°
1849 \end_layout
1850
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Graphics
1854         filename ../images/tabular-feature_multicolumn.xpm
1855
1856 \end_inset
1857
1858  sets the current cell or selection as a multicolumn
1859 \end_layout
1860
1861 \begin_layout Section
1862 Edit Table Menu
1863 \begin_inset LatexCommand index
1864 name "Table ! Edit Menu"
1865
1866 \end_inset
1867
1868
1869 \end_layout
1870
1871 \begin_layout Standard
1872 Additionally to the table dialog and toolbar, the menu 
1873 \family sans
1874 Edit\SpecialChar \menuseparator
1875 Table
1876 \family default
1877  allows you to add and delete border lines for the current row/column and
1878  to set the current selection as multicolumn.
1879  The menu is only available when the cursor is inside a table.
1880 \end_layout
1881
1882 \begin_layout Section
1883 Table Floats
1884 \begin_inset LatexCommand label
1885 name "sec:Table-Floats"
1886
1887 \end_inset
1888
1889
1890 \begin_inset LatexCommand index
1891 name "Floats ! Tables"
1892
1893 \end_inset
1894
1895
1896 \begin_inset LatexCommand index
1897 name "Table ! Floats"
1898
1899 \end_inset
1900
1901
1902 \end_layout
1903
1904 \begin_layout Standard
1905 For general explanations about floats, have a look at section\InsetSpace ~
1906
1907 \begin_inset LatexCommand ref
1908 reference "sec:FloatIntroduction"
1909
1910 \end_inset
1911
1912 .
1913 \end_layout
1914
1915 \begin_layout Standard
1916 \begin_inset Float table
1917 placement h
1918 wide false
1919 sideways false
1920 status open
1921
1922 \begin_layout Standard
1923 \begin_inset Caption
1924
1925 \begin_layout Standard
1926 \begin_inset LatexCommand label
1927 name "tab:a table float"
1928
1929 \end_inset
1930
1931 A table float.
1932 \end_layout
1933
1934 \end_inset
1935
1936
1937 \end_layout
1938
1939 \begin_layout Standard
1940 \align center
1941 \begin_inset Tabular
1942 <lyxtabular version="3" rows="3" columns="3">
1943 <features>
1944 <column alignment="center" valignment="top" leftline="true" width="0pt">
1945 <column alignment="center" valignment="top" leftline="true" width="0pt">
1946 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1947 <row topline="true" bottomline="true">
1948 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1949 \begin_inset Text
1950
1951 \begin_layout Standard
1952
1953 \family roman
1954 \series medium
1955 \shape up
1956 \size normal
1957 \emph off
1958 \bar no
1959 \noun off
1960 \color none
1961 1
1962 \end_layout
1963
1964 \end_inset
1965 </cell>
1966 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1967 \begin_inset Text
1968
1969 \begin_layout Standard
1970
1971 \family roman
1972 \series medium
1973 \shape up
1974 \size normal
1975 \emph off
1976 \bar no
1977 \noun off
1978 \color none
1979 2
1980 \end_layout
1981
1982 \end_inset
1983 </cell>
1984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1985 \begin_inset Text
1986
1987 \begin_layout Standard
1988
1989 \family roman
1990 \series medium
1991 \shape up
1992 \size normal
1993 \emph off
1994 \bar no
1995 \noun off
1996 \color none
1997 3
1998 \end_layout
1999
2000 \end_inset
2001 </cell>
2002 </row>
2003 <row topline="true">
2004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2005 \begin_inset Text
2006
2007 \begin_layout Standard
2008
2009 \family roman
2010 \series medium
2011 \shape up
2012 \size normal
2013 \emph off
2014 \bar no
2015 \noun off
2016 \color none
2017 Joe
2018 \end_layout
2019
2020 \end_inset
2021 </cell>
2022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2023 \begin_inset Text
2024
2025 \begin_layout Standard
2026
2027 \family roman
2028 \series medium
2029 \shape up
2030 \size normal
2031 \emph off
2032 \bar no
2033 \noun off
2034 \color none
2035 Mary
2036 \end_layout
2037
2038 \end_inset
2039 </cell>
2040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2041 \begin_inset Text
2042
2043 \begin_layout Standard
2044
2045 \family roman
2046 \series medium
2047 \shape up
2048 \size normal
2049 \emph off
2050 \bar no
2051 \noun off
2052 \color none
2053 Ted
2054 \end_layout
2055
2056 \end_inset
2057 </cell>
2058 </row>
2059 <row topline="true" bottomline="true">
2060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2061 \begin_inset Text
2062
2063 \begin_layout Standard
2064
2065 \family roman
2066 \series medium
2067 \shape up
2068 \size normal
2069 \emph off
2070 \bar no
2071 \noun off
2072 \color none
2073 \begin_inset Formula $\int x^{2}dx$
2074 \end_inset
2075
2076
2077 \end_layout
2078
2079 \end_inset
2080 </cell>
2081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2082 \begin_inset Text
2083
2084 \begin_layout Standard
2085
2086 \family roman
2087 \series medium
2088 \shape up
2089 \size normal
2090 \emph off
2091 \bar no
2092 \noun off
2093 \color none
2094 \begin_inset Formula $\left[\begin{array}{cc}
2095 a & b\\
2096 c & d\end{array}\right]$
2097 \end_inset
2098
2099
2100 \end_layout
2101
2102 \end_inset
2103 </cell>
2104 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2105 \begin_inset Text
2106
2107 \begin_layout Standard
2108
2109 \family roman
2110 \series medium
2111 \shape up
2112 \size normal
2113 \emph off
2114 \bar no
2115 \noun off
2116 \color none
2117 \begin_inset Formula $1+1=2$
2118 \end_inset
2119
2120
2121 \end_layout
2122
2123 \end_inset
2124 </cell>
2125 </row>
2126 </lyxtabular>
2127
2128 \end_inset
2129
2130
2131 \end_layout
2132
2133 \end_inset
2134
2135
2136 \end_layout
2137
2138 \begin_layout Standard
2139 Table floats can be inserted using the menu 
2140 \family sans
2141 Insert\SpecialChar \menuseparator
2142 Float\SpecialChar \menuseparator
2143 Table
2144 \family default
2145  or the toolbar button 
2146 \begin_inset Graphics
2147         filename ../images/float-insert_table.xpm
2148         scale 85
2149
2150 \end_inset
2151
2152 .
2153 \end_layout
2154
2155 \begin_layout Standard
2156 The float appears as a collapsible box with a caption that has the label
2157  
2158 \begin_inset Quotes eld
2159 \end_inset
2160
2161 Table\InsetSpace ~
2162 #:
2163 \begin_inset Quotes erd
2164 \end_inset
2165
2166  (# is the actual table number).
2167  You can insert tables to the float above or below the caption.
2168 \end_layout
2169
2170 \begin_layout Standard
2171 Table\InsetSpace ~
2172
2173 \begin_inset LatexCommand ref
2174 reference "tab:a table float"
2175
2176 \end_inset
2177
2178  is an example table within a table float.
2179 \end_layout
2180
2181 \begin_layout Standard
2182 Having the caption above the table is the common rule that is unfortunately
2183  not supported in LaTeX's standard classes.
2184  That means if you are using the document classes 
2185 \family sans
2186 article
2187 \family default
2188
2189 \family sans
2190 book
2191 \family default
2192
2193 \family sans
2194 letter
2195 \family default
2196 , or 
2197 \family sans
2198 report
2199 \family default
2200  there will be no space between the caption and the table.
2201  To insert the needed space, add the following option to the load command
2202  of the LaTeX-package 
2203 \series bold
2204 caption
2205 \series default
2206
2207 \begin_inset LatexCommand index
2208 name "LaTeX-packages ! caption"
2209
2210 \end_inset
2211
2212  in your document preamble
2213 \begin_inset Foot
2214 status collapsed
2215
2216 \begin_layout Standard
2217 For more information have a look at section\InsetSpace ~
2218
2219 \begin_inset LatexCommand ref
2220 reference "sec:Caption-Placement"
2221
2222 \end_inset
2223
2224 .
2225 \end_layout
2226
2227 \end_inset
2228
2229 :
2230 \end_layout
2231
2232 \begin_layout Standard
2233
2234 \series bold
2235 tableposition=top
2236 \end_layout
2237
2238 \begin_layout Standard
2239 The package 
2240 \series bold
2241 caption
2242 \series default
2243 , which is described in section\InsetSpace ~
2244
2245 \begin_inset LatexCommand ref
2246 reference "sec:Caption-Formatting"
2247
2248 \end_inset
2249
2250 , is used to adjust the caption format.
2251 \end_layout
2252
2253 \begin_layout Standard
2254 \begin_inset LatexCommand index
2255 name "References ! to Tables"
2256
2257 \end_inset
2258
2259 Tables can be cross-referenced in the text by referencing their label.
2260  To do this insert a label in the caption using the menu 
2261 \family sans
2262 Insert\SpecialChar \menuseparator
2263 Label
2264 \family default
2265  or the toolbar button 
2266 \begin_inset Graphics
2267         filename ../images/label-insert.xpm
2268         scale 85
2269
2270 \end_inset
2271
2272 .
2273  You can now refer to the label using the menu 
2274 \family sans
2275 Insert\SpecialChar \menuseparator
2276 Cross\InsetSpace ~
2277 reference
2278 \family default
2279  or the toolbar button 
2280 \begin_inset Graphics
2281         filename ../images/dialog-show-new-inset_ref.xpm
2282         scale 85
2283
2284 \end_inset
2285
2286 .
2287 \newline
2288 Referencing is explained in detail in section\InsetSpace ~
2289
2290 \begin_inset LatexCommand ref
2291 reference "sec:Referencing-Floats"
2292
2293 \end_inset
2294
2295 .
2296 \end_layout
2297
2298 \begin_layout Section
2299 Longtables
2300 \begin_inset LatexCommand label
2301 name "sec:Longtables"
2302
2303 \end_inset
2304
2305
2306 \begin_inset LatexCommand index
2307 name "Longtables"
2308
2309 \end_inset
2310
2311
2312 \begin_inset LatexCommand index
2313 name "Table ! Longtables"
2314
2315 \end_inset
2316
2317
2318 \end_layout
2319
2320 \begin_layout Standard
2321 If the table is too long to fit on one page, you can use the option 
2322 \family sans
2323 Use\InsetSpace ~
2324 long\InsetSpace ~
2325 table
2326 \family default
2327  in the tab 
2328 \family sans
2329 Longtable
2330 \family default
2331  of the table dialog to split the table automatically over more pages.
2332  Doing this enables some check boxes and you can now define:
2333 \end_layout
2334
2335 \begin_layout Description
2336
2337 \family sans
2338 Header
2339 \family default
2340 : The current row and all rows above, that don't have any special options
2341  defined, are defined to be the header rows of all pages of the longtable;
2342  except for the first page, if 
2343 \family sans
2344 First\InsetSpace ~
2345 header
2346 \family default
2347  is defined.
2348  This therefore called the main header.
2349 \end_layout
2350
2351 \begin_layout Description
2352
2353 \family sans
2354 First\InsetSpace ~
2355 header
2356 \family default
2357 : The current row and all rows above, that don't have any special options
2358  defined, are defined to be the header rows of the first page of the longtable.
2359 \end_layout
2360
2361 \begin_layout Description
2362
2363 \family sans
2364 Footer
2365 \family default
2366 : The current row and all rows below, that don't have any special options
2367  defined, are defined to be the footer rows of all pages of the longtable;
2368  except for the last page, if 
2369 \family sans
2370 Last\InsetSpace ~
2371 footer
2372 \family default
2373  is defined.
2374 \end_layout
2375
2376 \begin_layout Description
2377
2378 \family sans
2379 Last\InsetSpace ~
2380 footer
2381 \family default
2382 : The current row and all rows below, that don't have any special options
2383  defined, are defined to be the footer rows of the last page of the longtable.
2384 \end_layout
2385
2386 \begin_layout Standard
2387 You can also specify a row where the table is splitted.
2388  If you set more than one option in the same table row, you should be aware
2389  of the fact that only the first one is used in the given table row.
2390  The others will then be defined as 
2391 \emph on
2392 empty
2393 \emph default
2394 .
2395  In this context, first means first in this order: 
2396 \family sans
2397 Footer, Last\InsetSpace ~
2398 footer,
2399 \family default
2400  
2401 \family sans
2402 Header,
2403 \family default
2404  
2405 \family sans
2406 First\InsetSpace ~
2407 header.
2408
2409 \family default
2410  See the following longtable to see how it works:
2411 \end_layout
2412
2413 \begin_layout Standard
2414 \align center
2415 \begin_inset Tabular
2416 <lyxtabular version="3" rows="69" columns="3">
2417 <features islongtable="true">
2418 <column alignment="left" valignment="top" leftline="true" width="0cm">
2419 <column alignment="left" valignment="top" width="0pt">
2420 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2421 <row topline="true" bottomline="true" endfirsthead="true">
2422 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2423 \begin_inset Text
2424
2425 \begin_layout Standard
2426
2427 \series bold
2428 Example Phone List (ignore the names)
2429 \end_layout
2430
2431 \end_inset
2432 </cell>
2433 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2434 \begin_inset Text
2435
2436 \begin_layout Standard
2437
2438 \end_layout
2439
2440 \end_inset
2441 </cell>
2442 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2443 \begin_inset Text
2444
2445 \begin_layout Standard
2446
2447 \end_layout
2448
2449 \end_inset
2450 </cell>
2451 </row>
2452 <row topline="true" bottomline="true" endfirsthead="true">
2453 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2454 \begin_inset Text
2455
2456 \begin_layout Standard
2457
2458 \series bold
2459 NAME
2460 \end_layout
2461
2462 \end_inset
2463 </cell>
2464 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2465 \begin_inset Text
2466
2467 \begin_layout Standard
2468
2469 \end_layout
2470
2471 \end_inset
2472 </cell>
2473 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2474 \begin_inset Text
2475
2476 \begin_layout Standard
2477
2478 \series bold
2479 TEL.
2480 \end_layout
2481
2482 \end_inset
2483 </cell>
2484 </row>
2485 <row topline="true" bottomline="true" endhead="true">
2486 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2487 \begin_inset Text
2488
2489 \begin_layout Standard
2490
2491 \series bold
2492 Example Phone List
2493 \end_layout
2494
2495 \end_inset
2496 </cell>
2497 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2498 \begin_inset Text
2499
2500 \begin_layout Standard
2501
2502 \end_layout
2503
2504 \end_inset
2505 </cell>
2506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2507 \begin_inset Text
2508
2509 \begin_layout Standard
2510
2511 \end_layout
2512
2513 \end_inset
2514 </cell>
2515 </row>
2516 <row topline="true" bottomline="true" endhead="true">
2517 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2518 \begin_inset Text
2519
2520 \begin_layout Standard
2521
2522 \series bold
2523 NAME
2524 \end_layout
2525
2526 \end_inset
2527 </cell>
2528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2529 \begin_inset Text
2530
2531 \begin_layout Standard
2532
2533 \end_layout
2534
2535 \end_inset
2536 </cell>
2537 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2538 \begin_inset Text
2539
2540 \begin_layout Standard
2541
2542 \series bold
2543 TEL.
2544 \end_layout
2545
2546 \end_inset
2547 </cell>
2548 </row>
2549 <row topline="true" bottomline="true" endfoot="true">
2550 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2551 \begin_inset Text
2552
2553 \begin_layout Standard
2554  continued on next page
2555 \end_layout
2556
2557 \end_inset
2558 </cell>
2559 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2560 \begin_inset Text
2561
2562 \begin_layout Standard
2563
2564 \end_layout
2565
2566 \end_inset
2567 </cell>
2568 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \end_layout
2574
2575 \end_inset
2576 </cell>
2577 </row>
2578 <row>
2579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Standard
2583
2584 \series bold
2585 Annovi
2586 \end_layout
2587
2588 \end_inset
2589 </cell>
2590 <cell alignment="center" valignment="top" topline="true" usebox="none">
2591 \begin_inset Text
2592
2593 \begin_layout Standard
2594 Silvia
2595 \end_layout
2596
2597 \end_inset
2598 </cell>
2599 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603 111
2604 \end_layout
2605
2606 \end_inset
2607 </cell>
2608 </row>
2609 <row>
2610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2611 \begin_inset Text
2612
2613 \begin_layout Standard
2614
2615 \series bold
2616 Bertoli
2617 \end_layout
2618
2619 \end_inset
2620 </cell>
2621 <cell alignment="center" valignment="top" topline="true" usebox="none">
2622 \begin_inset Text
2623
2624 \begin_layout Standard
2625 Stefano
2626 \end_layout
2627
2628 \end_inset
2629 </cell>
2630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2631 \begin_inset Text
2632
2633 \begin_layout Standard
2634 111
2635 \end_layout
2636
2637 \end_inset
2638 </cell>
2639 </row>
2640 <row>
2641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2642 \begin_inset Text
2643
2644 \begin_layout Standard
2645
2646 \series bold
2647 Bozzi
2648 \end_layout
2649
2650 \end_inset
2651 </cell>
2652 <cell alignment="center" valignment="top" topline="true" usebox="none">
2653 \begin_inset Text
2654
2655 \begin_layout Standard
2656 Walter
2657 \end_layout
2658
2659 \end_inset
2660 </cell>
2661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665 111
2666 \end_layout
2667
2668 \end_inset
2669 </cell>
2670 </row>
2671 <row>
2672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Standard
2676
2677 \series bold
2678 Cachia
2679 \end_layout
2680
2681 \end_inset
2682 </cell>
2683 <cell alignment="center" valignment="top" topline="true" usebox="none">
2684 \begin_inset Text
2685
2686 \begin_layout Standard
2687 Maria
2688 \end_layout
2689
2690 \end_inset
2691 </cell>
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2693 \begin_inset Text
2694
2695 \begin_layout Standard
2696 111
2697 \end_layout
2698
2699 \end_inset
2700 </cell>
2701 </row>
2702 <row>
2703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2704 \begin_inset Text
2705
2706 \begin_layout Standard
2707
2708 \series bold
2709 Cachia
2710 \end_layout
2711
2712 \end_inset
2713 </cell>
2714 <cell alignment="center" valignment="top" topline="true" usebox="none">
2715 \begin_inset Text
2716
2717 \begin_layout Standard
2718 Maurizio
2719 \end_layout
2720
2721 \end_inset
2722 </cell>
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2724 \begin_inset Text
2725
2726 \begin_layout Standard
2727 111
2728 \end_layout
2729
2730 \end_inset
2731 </cell>
2732 </row>
2733 <row>
2734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2735 \begin_inset Text
2736
2737 \begin_layout Standard
2738
2739 \series bold
2740 Cinquemani
2741 \end_layout
2742
2743 \end_inset
2744 </cell>
2745 <cell alignment="center" valignment="top" topline="true" usebox="none">
2746 \begin_inset Text
2747
2748 \begin_layout Standard
2749 Giusi
2750 \end_layout
2751
2752 \end_inset
2753 </cell>
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2755 \begin_inset Text
2756
2757 \begin_layout Standard
2758 111
2759 \end_layout
2760
2761 \end_inset
2762 </cell>
2763 </row>
2764 <row>
2765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2766 \begin_inset Text
2767
2768 \begin_layout Standard
2769
2770 \series bold
2771 Colin
2772 \end_layout
2773
2774 \end_inset
2775 </cell>
2776 <cell alignment="center" valignment="top" topline="true" usebox="none">
2777 \begin_inset Text
2778
2779 \begin_layout Standard
2780 Bernard
2781 \end_layout
2782
2783 \end_inset
2784 </cell>
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2786 \begin_inset Text
2787
2788 \begin_layout Standard
2789 111
2790 \end_layout
2791
2792 \end_inset
2793 </cell>
2794 </row>
2795 <row>
2796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2797 \begin_inset Text
2798
2799 \begin_layout Standard
2800
2801 \series bold
2802 Concli
2803 \end_layout
2804
2805 \end_inset
2806 </cell>
2807 <cell alignment="center" valignment="top" topline="true" usebox="none">
2808 \begin_inset Text
2809
2810 \begin_layout Standard
2811 Gianfranco
2812 \end_layout
2813
2814 \end_inset
2815 </cell>
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2817 \begin_inset Text
2818
2819 \begin_layout Standard
2820 111
2821 \end_layout
2822
2823 \end_inset
2824 </cell>
2825 </row>
2826 <row>
2827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2828 \begin_inset Text
2829
2830 \begin_layout Standard
2831
2832 \series bold
2833 Dal Bosco
2834 \end_layout
2835
2836 \end_inset
2837 </cell>
2838 <cell alignment="center" valignment="top" topline="true" usebox="none">
2839 \begin_inset Text
2840
2841 \begin_layout Standard
2842 Carolina
2843 \end_layout
2844
2845 \end_inset
2846 </cell>
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851 111
2852 \end_layout
2853
2854 \end_inset
2855 </cell>
2856 </row>
2857 <row>
2858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2859 \begin_inset Text
2860
2861 \begin_layout Standard
2862
2863 \series bold
2864 Dalpiaz
2865 \end_layout
2866
2867 \end_inset
2868 </cell>
2869 <cell alignment="center" valignment="top" topline="true" usebox="none">
2870 \begin_inset Text
2871
2872 \begin_layout Standard
2873 Annamaria
2874 \end_layout
2875
2876 \end_inset
2877 </cell>
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2879 \begin_inset Text
2880
2881 \begin_layout Standard
2882 111
2883 \end_layout
2884
2885 \end_inset
2886 </cell>
2887 </row>
2888 <row>
2889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2890 \begin_inset Text
2891
2892 \begin_layout Standard
2893
2894 \series bold
2895 Feliciello
2896 \end_layout
2897
2898 \end_inset
2899 </cell>
2900 <cell alignment="center" valignment="top" topline="true" usebox="none">
2901 \begin_inset Text
2902
2903 \begin_layout Standard
2904 Domenico
2905 \end_layout
2906
2907 \end_inset
2908 </cell>
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2910 \begin_inset Text
2911
2912 \begin_layout Standard
2913 111
2914 \end_layout
2915
2916 \end_inset
2917 </cell>
2918 </row>
2919 <row>
2920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2921 \begin_inset Text
2922
2923 \begin_layout Standard
2924
2925 \series bold
2926 Focarelli
2927 \end_layout
2928
2929 \end_inset
2930 </cell>
2931 <cell alignment="center" valignment="top" topline="true" usebox="none">
2932 \begin_inset Text
2933
2934 \begin_layout Standard
2935 Paola
2936 \end_layout
2937
2938 \end_inset
2939 </cell>
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Standard
2944 111
2945 \end_layout
2946
2947 \end_inset
2948 </cell>
2949 </row>
2950 <row>
2951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2952 \begin_inset Text
2953
2954 \begin_layout Standard
2955
2956 \series bold
2957 Galletti
2958 \end_layout
2959
2960 \end_inset
2961 </cell>
2962 <cell alignment="center" valignment="top" topline="true" usebox="none">
2963 \begin_inset Text
2964
2965 \begin_layout Standard
2966 Oreste
2967 \end_layout
2968
2969 \end_inset
2970 </cell>
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975 111
2976 \end_layout
2977
2978 \end_inset
2979 </cell>
2980 </row>
2981 <row>
2982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Standard
2986
2987 \series bold
2988 Gasparini
2989 \end_layout
2990
2991 \end_inset
2992 </cell>
2993 <cell alignment="center" valignment="top" topline="true" usebox="none">
2994 \begin_inset Text
2995
2996 \begin_layout Standard
2997 Franca
2998 \end_layout
2999
3000 \end_inset
3001 </cell>
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006 111
3007 \end_layout
3008
3009 \end_inset
3010 </cell>
3011 </row>
3012 <row>
3013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3014 \begin_inset Text
3015
3016 \begin_layout Standard
3017
3018 \series bold
3019 Rizzardi
3020 \end_layout
3021
3022 \end_inset
3023 </cell>
3024 <cell alignment="center" valignment="top" topline="true" usebox="none">
3025 \begin_inset Text
3026
3027 \begin_layout Standard
3028 Paola
3029 \end_layout
3030
3031 \end_inset
3032 </cell>
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3034 \begin_inset Text
3035
3036 \begin_layout Standard
3037 111
3038 \end_layout
3039
3040 \end_inset
3041 </cell>
3042 </row>
3043 <row>
3044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3045 \begin_inset Text
3046
3047 \begin_layout Standard
3048
3049 \series bold
3050 Lassini
3051 \end_layout
3052
3053 \end_inset
3054 </cell>
3055 <cell alignment="center" valignment="top" topline="true" usebox="none">
3056 \begin_inset Text
3057
3058 \begin_layout Standard
3059 Giancarlo
3060 \end_layout
3061
3062 \end_inset
3063 </cell>
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Standard
3068 111
3069 \end_layout
3070
3071 \end_inset
3072 </cell>
3073 </row>
3074 <row>
3075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3076 \begin_inset Text
3077
3078 \begin_layout Standard
3079
3080 \series bold
3081 Malfatti
3082 \end_layout
3083
3084 \end_inset
3085 </cell>
3086 <cell alignment="center" valignment="top" topline="true" usebox="none">
3087 \begin_inset Text
3088
3089 \begin_layout Standard
3090 Luciano
3091 \end_layout
3092
3093 \end_inset
3094 </cell>
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3096 \begin_inset Text
3097
3098 \begin_layout Standard
3099 111
3100 \end_layout
3101
3102 \end_inset
3103 </cell>
3104 </row>
3105 <row>
3106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3107 \begin_inset Text
3108
3109 \begin_layout Standard
3110
3111 \series bold
3112 Malfatti
3113 \end_layout
3114
3115 \end_inset
3116 </cell>
3117 <cell alignment="center" valignment="top" topline="true" usebox="none">
3118 \begin_inset Text
3119
3120 \begin_layout Standard
3121 Valeriano
3122 \end_layout
3123
3124 \end_inset
3125 </cell>
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3127 \begin_inset Text
3128
3129 \begin_layout Standard
3130 111
3131 \end_layout
3132
3133 \end_inset
3134 </cell>
3135 </row>
3136 <row>
3137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3138 \begin_inset Text
3139
3140 \begin_layout Standard
3141
3142 \series bold
3143 Meneguzzo
3144 \end_layout
3145
3146 \end_inset
3147 </cell>
3148 <cell alignment="center" valignment="top" topline="true" usebox="none">
3149 \begin_inset Text
3150
3151 \begin_layout Standard
3152 Roberto
3153 \end_layout
3154
3155 \end_inset
3156 </cell>
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3158 \begin_inset Text
3159
3160 \begin_layout Standard
3161 111
3162 \end_layout
3163
3164 \end_inset
3165 </cell>
3166 </row>
3167 <row>
3168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3169 \begin_inset Text
3170
3171 \begin_layout Standard
3172
3173 \series bold
3174 Mezzadra
3175 \end_layout
3176
3177 \end_inset
3178 </cell>
3179 <cell alignment="center" valignment="top" topline="true" usebox="none">
3180 \begin_inset Text
3181
3182 \begin_layout Standard
3183 Roberto
3184 \end_layout
3185
3186 \end_inset
3187 </cell>
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Standard
3192 111
3193 \end_layout
3194
3195 \end_inset
3196 </cell>
3197 </row>
3198 <row>
3199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3200 \begin_inset Text
3201
3202 \begin_layout Standard
3203
3204 \series bold
3205 Pirpamer
3206 \end_layout
3207
3208 \end_inset
3209 </cell>
3210 <cell alignment="center" valignment="top" topline="true" usebox="none">
3211 \begin_inset Text
3212
3213 \begin_layout Standard
3214 Erich
3215 \end_layout
3216
3217 \end_inset
3218 </cell>
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223 111
3224 \end_layout
3225
3226 \end_inset
3227 </cell>
3228 </row>
3229 <row>
3230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3231 \begin_inset Text
3232
3233 \begin_layout Standard
3234
3235 \series bold
3236 Pochiesa
3237 \end_layout
3238
3239 \end_inset
3240 </cell>
3241 <cell alignment="center" valignment="top" topline="true" usebox="none">
3242 \begin_inset Text
3243
3244 \begin_layout Standard
3245 Paolo
3246 \end_layout
3247
3248 \end_inset
3249 </cell>
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254 111, 222
3255 \end_layout
3256
3257 \end_inset
3258 </cell>
3259 </row>
3260 <row>
3261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3262 \begin_inset Text
3263
3264 \begin_layout Standard
3265
3266 \series bold
3267 Radina
3268 \end_layout
3269
3270 \end_inset
3271 </cell>
3272 <cell alignment="center" valignment="top" topline="true" usebox="none">
3273 \begin_inset Text
3274
3275 \begin_layout Standard
3276 Claudio
3277 \end_layout
3278
3279 \end_inset
3280 </cell>
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Standard
3285 111
3286 \end_layout
3287
3288 \end_inset
3289 </cell>
3290 </row>
3291 <row>
3292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3293 \begin_inset Text
3294
3295 \begin_layout Standard
3296
3297 \series bold
3298 Stuffer
3299 \end_layout
3300
3301 \end_inset
3302 </cell>
3303 <cell alignment="center" valignment="top" topline="true" usebox="none">
3304 \begin_inset Text
3305
3306 \begin_layout Standard
3307 Oskar
3308 \end_layout
3309
3310 \end_inset
3311 </cell>
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3313 \begin_inset Text
3314
3315 \begin_layout Standard
3316 111
3317 \end_layout
3318
3319 \end_inset
3320 </cell>
3321 </row>
3322 <row>
3323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3324 \begin_inset Text
3325
3326 \begin_layout Standard
3327
3328 \series bold
3329 Tacchelli
3330 \end_layout
3331
3332 \end_inset
3333 </cell>
3334 <cell alignment="center" valignment="top" topline="true" usebox="none">
3335 \begin_inset Text
3336
3337 \begin_layout Standard
3338 Ugo
3339 \end_layout
3340
3341 \end_inset
3342 </cell>
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3344 \begin_inset Text
3345
3346 \begin_layout Standard
3347 111
3348 \end_layout
3349
3350 \end_inset
3351 </cell>
3352 </row>
3353 <row>
3354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3355 \begin_inset Text
3356
3357 \begin_layout Standard
3358
3359 \series bold
3360 Tezzele
3361 \end_layout
3362
3363 \end_inset
3364 </cell>
3365 <cell alignment="center" valignment="top" topline="true" usebox="none">
3366 \begin_inset Text
3367
3368 \begin_layout Standard
3369 Margit
3370 \end_layout
3371
3372 \end_inset
3373 </cell>
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Standard
3378 111
3379 \end_layout
3380
3381 \end_inset
3382 </cell>
3383 </row>
3384 <row>
3385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3386 \begin_inset Text
3387
3388 \begin_layout Standard
3389
3390 \series bold
3391 Unterkalmsteiner
3392 \end_layout
3393
3394 \end_inset
3395 </cell>
3396 <cell alignment="center" valignment="top" topline="true" usebox="none">
3397 \begin_inset Text
3398
3399 \begin_layout Standard
3400 Frieda
3401 \end_layout
3402
3403 \end_inset
3404 </cell>
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Standard
3409 111
3410 \end_layout
3411
3412 \end_inset
3413 </cell>
3414 </row>
3415 <row>
3416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Standard
3420
3421 \series bold
3422 Vieider
3423 \end_layout
3424
3425 \end_inset
3426 </cell>
3427 <cell alignment="center" valignment="top" topline="true" usebox="none">
3428 \begin_inset Text
3429
3430 \begin_layout Standard
3431 Hilde
3432 \end_layout
3433
3434 \end_inset
3435 </cell>
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Standard
3440 111
3441 \end_layout
3442
3443 \end_inset
3444 </cell>
3445 </row>
3446 <row>
3447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Standard
3451
3452 \series bold
3453 Vigna
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 <cell alignment="center" valignment="top" topline="true" usebox="none">
3459 \begin_inset Text
3460
3461 \begin_layout Standard
3462 Jürgen
3463 \end_layout
3464
3465 \end_inset
3466 </cell>
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Standard
3471 111
3472 \end_layout
3473
3474 \end_inset
3475 </cell>
3476 </row>
3477 <row>
3478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Standard
3482
3483 \series bold
3484 Weber
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 <cell alignment="center" valignment="top" topline="true" usebox="none">
3490 \begin_inset Text
3491
3492 \begin_layout Standard
3493 Maurizio
3494 \end_layout
3495
3496 \end_inset
3497 </cell>
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Standard
3502 111
3503 \end_layout
3504
3505 \end_inset
3506 </cell>
3507 </row>
3508 <row bottomline="true">
3509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Standard
3513
3514 \series bold
3515 Winkler
3516 \end_layout
3517
3518 \end_inset
3519 </cell>
3520 <cell alignment="center" valignment="top" topline="true" usebox="none">
3521 \begin_inset Text
3522
3523 \begin_layout Standard
3524 Franz
3525 \end_layout
3526
3527 \end_inset
3528 </cell>
3529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Standard
3533 111
3534 \end_layout
3535
3536 \end_inset
3537 </cell>
3538 </row>
3539 <row bottomline="true">
3540 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Standard
3544  
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Standard
3553
3554 \end_layout
3555
3556 \end_inset
3557 </cell>
3558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3559 \begin_inset Text
3560
3561 \begin_layout Standard
3562
3563 \end_layout
3564
3565 \end_inset
3566 </cell>
3567 </row>
3568 <row>
3569 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3570 \begin_inset Text
3571
3572 \begin_layout Standard
3573
3574 \series bold
3575 Annovi
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 <cell alignment="center" valignment="top" topline="true" usebox="none">
3581 \begin_inset Text
3582
3583 \begin_layout Standard
3584 Silvia
3585 \end_layout
3586
3587 \end_inset
3588 </cell>
3589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3590 \begin_inset Text
3591
3592 \begin_layout Standard
3593 555
3594 \end_layout
3595
3596 \end_inset
3597 </cell>
3598 </row>
3599 <row>
3600 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3601 \begin_inset Text
3602
3603 \begin_layout Standard
3604
3605 \series bold
3606 Bertoli
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 <cell alignment="center" valignment="top" topline="true" usebox="none">
3612 \begin_inset Text
3613
3614 \begin_layout Standard
3615 Stefano
3616 \end_layout
3617
3618 \end_inset
3619 </cell>
3620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3621 \begin_inset Text
3622
3623 \begin_layout Standard
3624 555
3625 \end_layout
3626
3627 \end_inset
3628 </cell>
3629 </row>
3630 <row>
3631 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3632 \begin_inset Text
3633
3634 \begin_layout Standard
3635
3636 \series bold
3637 Bozzi
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 <cell alignment="center" valignment="top" topline="true" usebox="none">
3643 \begin_inset Text
3644
3645 \begin_layout Standard
3646 Walter
3647 \end_layout
3648
3649 \end_inset
3650 </cell>
3651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Standard
3655 555
3656 \end_layout
3657
3658 \end_inset
3659 </cell>
3660 </row>
3661 <row>
3662 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3663 \begin_inset Text
3664
3665 \begin_layout Standard
3666
3667 \series bold
3668 Cachia
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 <cell alignment="center" valignment="top" topline="true" usebox="none">
3674 \begin_inset Text
3675
3676 \begin_layout Standard
3677 Maria
3678 \end_layout
3679
3680 \end_inset
3681 </cell>
3682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Standard
3686 555
3687 \end_layout
3688
3689 \end_inset
3690 </cell>
3691 </row>
3692 <row>
3693 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Standard
3697
3698 \series bold
3699 Cachia
3700 \end_layout
3701
3702 \end_inset
3703 </cell>
3704 <cell alignment="center" valignment="top" topline="true" usebox="none">
3705 \begin_inset Text
3706
3707 \begin_layout Standard
3708 Maurizio
3709 \end_layout
3710
3711 \end_inset
3712 </cell>
3713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717 555
3718 \end_layout
3719
3720 \end_inset
3721 </cell>
3722 </row>
3723 <row>
3724 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Standard
3728
3729 \series bold
3730 Cinquemani
3731 \end_layout
3732
3733 \end_inset
3734 </cell>
3735 <cell alignment="center" valignment="top" topline="true" usebox="none">
3736 \begin_inset Text
3737
3738 \begin_layout Standard
3739 Giusi
3740 \end_layout
3741
3742 \end_inset
3743 </cell>
3744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748 555
3749 \end_layout
3750
3751 \end_inset
3752 </cell>
3753 </row>
3754 <row>
3755 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3756 \begin_inset Text
3757
3758 \begin_layout Standard
3759
3760 \series bold
3761 Colin
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 <cell alignment="center" valignment="top" topline="true" usebox="none">
3767 \begin_inset Text
3768
3769 \begin_layout Standard
3770 Bernard
3771 \end_layout
3772
3773 \end_inset
3774 </cell>
3775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Standard
3779 555
3780 \end_layout
3781
3782 \end_inset
3783 </cell>
3784 </row>
3785 <row>
3786 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Standard
3790
3791 \series bold
3792 Concli
3793 \end_layout
3794
3795 \end_inset
3796 </cell>
3797 <cell alignment="center" valignment="top" topline="true" usebox="none">
3798 \begin_inset Text
3799
3800 \begin_layout Standard
3801 Gianfranco
3802 \end_layout
3803
3804 \end_inset
3805 </cell>
3806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Standard
3810 555
3811 \end_layout
3812
3813 \end_inset
3814 </cell>
3815 </row>
3816 <row>
3817 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3818 \begin_inset Text
3819
3820 \begin_layout Standard
3821
3822 \series bold
3823 Dal Bosco
3824 \end_layout
3825
3826 \end_inset
3827 </cell>
3828 <cell alignment="center" valignment="top" topline="true" usebox="none">
3829 \begin_inset Text
3830
3831 \begin_layout Standard
3832 Carolina
3833 \end_layout
3834
3835 \end_inset
3836 </cell>
3837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Standard
3841 555
3842 \end_layout
3843
3844 \end_inset
3845 </cell>
3846 </row>
3847 <row>
3848 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3849 \begin_inset Text
3850
3851 \begin_layout Standard
3852
3853 \series bold
3854 Dalpiaz
3855 \end_layout
3856
3857 \end_inset
3858 </cell>
3859 <cell alignment="center" valignment="top" topline="true" usebox="none">
3860 \begin_inset Text
3861
3862 \begin_layout Standard
3863 Annamaria
3864 \end_layout
3865
3866 \end_inset
3867 </cell>
3868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Standard
3872 555
3873 \end_layout
3874
3875 \end_inset
3876 </cell>
3877 </row>
3878 <row>
3879 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3880 \begin_inset Text
3881
3882 \begin_layout Standard
3883
3884 \series bold
3885 Feliciello
3886 \end_layout
3887
3888 \end_inset
3889 </cell>
3890 <cell alignment="center" valignment="top" topline="true" usebox="none">
3891 \begin_inset Text
3892
3893 \begin_layout Standard
3894 Domenico
3895 \end_layout
3896
3897 \end_inset
3898 </cell>
3899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Standard
3903 555
3904 \end_layout
3905
3906 \end_inset
3907 </cell>
3908 </row>
3909 <row>
3910 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3911 \begin_inset Text
3912
3913 \begin_layout Standard
3914
3915 \series bold
3916 Focarelli
3917 \end_layout
3918
3919 \end_inset
3920 </cell>
3921 <cell alignment="center" valignment="top" topline="true" usebox="none">
3922 \begin_inset Text
3923
3924 \begin_layout Standard
3925 Paola
3926 \end_layout
3927
3928 \end_inset
3929 </cell>
3930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Standard
3934 555
3935 \end_layout
3936
3937 \end_inset
3938 </cell>
3939 </row>
3940 <row>
3941 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3942 \begin_inset Text
3943
3944 \begin_layout Standard
3945
3946 \series bold
3947 Galletti
3948 \end_layout
3949
3950 \end_inset
3951 </cell>
3952 <cell alignment="center" valignment="top" topline="true" usebox="none">
3953 \begin_inset Text
3954
3955 \begin_layout Standard
3956 Oreste
3957 \end_layout
3958
3959 \end_inset
3960 </cell>
3961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Standard
3965 555
3966 \end_layout
3967
3968 \end_inset
3969 </cell>
3970 </row>
3971 <row>
3972 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3973 \begin_inset Text
3974
3975 \begin_layout Standard
3976
3977 \series bold
3978 Gasparini
3979 \end_layout
3980
3981 \end_inset
3982 </cell>
3983 <cell alignment="center" valignment="top" topline="true" usebox="none">
3984 \begin_inset Text
3985
3986 \begin_layout Standard
3987 Franca
3988 \end_layout
3989
3990 \end_inset
3991 </cell>
3992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Standard
3996 555
3997 \end_layout
3998
3999 \end_inset
4000 </cell>
4001 </row>
4002 <row>
4003 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4004 \begin_inset Text
4005
4006 \begin_layout Standard
4007
4008 \series bold
4009 Rizzardi
4010 \end_layout
4011
4012 \end_inset
4013 </cell>
4014 <cell alignment="center" valignment="top" topline="true" usebox="none">
4015 \begin_inset Text
4016
4017 \begin_layout Standard
4018 Paola
4019 \end_layout
4020
4021 \end_inset
4022 </cell>
4023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Standard
4027 555
4028 \end_layout
4029
4030 \end_inset
4031 </cell>
4032 </row>
4033 <row>
4034 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4035 \begin_inset Text
4036
4037 \begin_layout Standard
4038
4039 \series bold
4040 Lassini
4041 \end_layout
4042
4043 \end_inset
4044 </cell>
4045 <cell alignment="center" valignment="top" topline="true" usebox="none">
4046 \begin_inset Text
4047
4048 \begin_layout Standard
4049 Giancarlo
4050 \end_layout
4051
4052 \end_inset
4053 </cell>
4054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Standard
4058 555
4059 \end_layout
4060
4061 \end_inset
4062 </cell>
4063 </row>
4064 <row>
4065 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4066 \begin_inset Text
4067
4068 \begin_layout Standard
4069
4070 \series bold
4071 Malfatti
4072 \end_layout
4073
4074 \end_inset
4075 </cell>
4076 <cell alignment="center" valignment="top" topline="true" usebox="none">
4077 \begin_inset Text
4078
4079 \begin_layout Standard
4080 Luciano
4081 \end_layout
4082
4083 \end_inset
4084 </cell>
4085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Standard
4089 555
4090 \end_layout
4091
4092 \end_inset
4093 </cell>
4094 </row>
4095 <row>
4096 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4097 \begin_inset Text
4098
4099 \begin_layout Standard
4100
4101 \series bold
4102 Malfatti
4103 \end_layout
4104
4105 \end_inset
4106 </cell>
4107 <cell alignment="center" valignment="top" topline="true" usebox="none">
4108 \begin_inset Text
4109
4110 \begin_layout Standard
4111 Valeriano
4112 \end_layout
4113
4114 \end_inset
4115 </cell>
4116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Standard
4120 555
4121 \end_layout
4122
4123 \end_inset
4124 </cell>
4125 </row>
4126 <row>
4127 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4128 \begin_inset Text
4129
4130 \begin_layout Standard
4131
4132 \series bold
4133 Meneguzzo
4134 \end_layout
4135
4136 \end_inset
4137 </cell>
4138 <cell alignment="center" valignment="top" topline="true" usebox="none">
4139 \begin_inset Text
4140
4141 \begin_layout Standard
4142 Roberto
4143 \end_layout
4144
4145 \end_inset
4146 </cell>
4147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Standard
4151 555
4152 \end_layout
4153
4154 \end_inset
4155 </cell>
4156 </row>
4157 <row>
4158 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4159 \begin_inset Text
4160
4161 \begin_layout Standard
4162
4163 \series bold
4164 Mezzadra
4165 \end_layout
4166
4167 \end_inset
4168 </cell>
4169 <cell alignment="center" valignment="top" topline="true" usebox="none">
4170 \begin_inset Text
4171
4172 \begin_layout Standard
4173 Roberto
4174 \end_layout
4175
4176 \end_inset
4177 </cell>
4178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Standard
4182 555
4183 \end_layout
4184
4185 \end_inset
4186 </cell>
4187 </row>
4188 <row>
4189 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4190 \begin_inset Text
4191
4192 \begin_layout Standard
4193
4194 \series bold
4195 Pirpamer
4196 \end_layout
4197
4198 \end_inset
4199 </cell>
4200 <cell alignment="center" valignment="top" topline="true" usebox="none">
4201 \begin_inset Text
4202
4203 \begin_layout Standard
4204 Erich
4205 \end_layout
4206
4207 \end_inset
4208 </cell>
4209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Standard
4213 555
4214 \end_layout
4215
4216 \end_inset
4217 </cell>
4218 </row>
4219 <row>
4220 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4221 \begin_inset Text
4222
4223 \begin_layout Standard
4224
4225 \series bold
4226 Pochiesa
4227 \end_layout
4228
4229 \end_inset
4230 </cell>
4231 <cell alignment="center" valignment="top" topline="true" usebox="none">
4232 \begin_inset Text
4233
4234 \begin_layout Standard
4235 Paolo
4236 \end_layout
4237
4238 \end_inset
4239 </cell>
4240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Standard
4244 555, 222
4245 \end_layout
4246
4247 \end_inset
4248 </cell>
4249 </row>
4250 <row>
4251 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4252 \begin_inset Text
4253
4254 \begin_layout Standard
4255
4256 \series bold
4257 Radina
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 <cell alignment="center" valignment="top" topline="true" usebox="none">
4263 \begin_inset Text
4264
4265 \begin_layout Standard
4266 Claudio
4267 \end_layout
4268
4269 \end_inset
4270 </cell>
4271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Standard
4275 555
4276 \end_layout
4277
4278 \end_inset
4279 </cell>
4280 </row>
4281 <row>
4282 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4283 \begin_inset Text
4284
4285 \begin_layout Standard
4286
4287 \series bold
4288 Stuffer
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 <cell alignment="center" valignment="top" topline="true" usebox="none">
4294 \begin_inset Text
4295
4296 \begin_layout Standard
4297 Oskar
4298 \end_layout
4299
4300 \end_inset
4301 </cell>
4302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Standard
4306 555
4307 \end_layout
4308
4309 \end_inset
4310 </cell>
4311 </row>
4312 <row>
4313 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Standard
4317
4318 \series bold
4319 Tacchelli
4320 \end_layout
4321
4322 \end_inset
4323 </cell>
4324 <cell alignment="center" valignment="top" topline="true" usebox="none">
4325 \begin_inset Text
4326
4327 \begin_layout Standard
4328 Ugo
4329 \end_layout
4330
4331 \end_inset
4332 </cell>
4333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337 555
4338 \end_layout
4339
4340 \end_inset
4341 </cell>
4342 </row>
4343 <row>
4344 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Standard
4348
4349 \series bold
4350 Tezzele
4351 \end_layout
4352
4353 \end_inset
4354 </cell>
4355 <cell alignment="center" valignment="top" topline="true" usebox="none">
4356 \begin_inset Text
4357
4358 \begin_layout Standard
4359 Margit
4360 \end_layout
4361
4362 \end_inset
4363 </cell>
4364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368 555
4369 \end_layout
4370
4371 \end_inset
4372 </cell>
4373 </row>
4374 <row>
4375 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4376 \begin_inset Text
4377
4378 \begin_layout Standard
4379
4380 \series bold
4381 Unterkalmsteiner
4382 \end_layout
4383
4384 \end_inset
4385 </cell>
4386 <cell alignment="center" valignment="top" topline="true" usebox="none">
4387 \begin_inset Text
4388
4389 \begin_layout Standard
4390 Frieda
4391 \end_layout
4392
4393 \end_inset
4394 </cell>
4395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Standard
4399 555
4400 \end_layout
4401
4402 \end_inset
4403 </cell>
4404 </row>
4405 <row>
4406 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4407 \begin_inset Text
4408
4409 \begin_layout Standard
4410
4411 \series bold
4412 Vieider
4413 \end_layout
4414
4415 \end_inset
4416 </cell>
4417 <cell alignment="center" valignment="top" topline="true" usebox="none">
4418 \begin_inset Text
4419
4420 \begin_layout Standard
4421 Hilde
4422 \end_layout
4423
4424 \end_inset
4425 </cell>
4426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Standard
4430 555
4431 \end_layout
4432
4433 \end_inset
4434 </cell>
4435 </row>
4436 <row>
4437 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4438 \begin_inset Text
4439
4440 \begin_layout Standard
4441
4442 \series bold
4443 Vigna
4444 \end_layout
4445
4446 \end_inset
4447 </cell>
4448 <cell alignment="center" valignment="top" topline="true" usebox="none">
4449 \begin_inset Text
4450
4451 \begin_layout Standard
4452 Jürgen
4453 \end_layout
4454
4455 \end_inset
4456 </cell>
4457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Standard
4461 999
4462 \end_layout
4463
4464 \end_inset
4465 </cell>
4466 </row>
4467 <row>
4468 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4469 \begin_inset Text
4470
4471 \begin_layout Standard
4472
4473 \series bold
4474 Weber
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 <cell alignment="center" valignment="top" topline="true" usebox="none">
4480 \begin_inset Text
4481
4482 \begin_layout Standard
4483 Maurizio
4484 \end_layout
4485
4486 \end_inset
4487 </cell>
4488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Standard
4492 555
4493 \end_layout
4494
4495 \end_inset
4496 </cell>
4497 </row>
4498 <row bottomline="true">
4499 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Standard
4503
4504 \series bold
4505 Winkler
4506 \end_layout
4507
4508 \end_inset
4509 </cell>
4510 <cell alignment="center" valignment="top" topline="true" usebox="none">
4511 \begin_inset Text
4512
4513 \begin_layout Standard
4514 Franz
4515 \end_layout
4516
4517 \end_inset
4518 </cell>
4519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Standard
4523 555
4524 \end_layout
4525
4526 \end_inset
4527 </cell>
4528 </row>
4529 <row bottomline="true" endlastfoot="true">
4530 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Standard
4534 end
4535 \end_layout
4536
4537 \end_inset
4538 </cell>
4539 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4540 \begin_inset Text
4541
4542 \begin_layout Standard
4543
4544 \end_layout
4545
4546 \end_inset
4547 </cell>
4548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4549 \begin_inset Text
4550
4551 \begin_layout Standard
4552
4553 \end_layout
4554
4555 \end_inset
4556 </cell>
4557 </row>
4558 </lyxtabular>
4559
4560 \end_inset
4561
4562
4563 \begin_inset ERT
4564 status collapsed
4565
4566 \begin_layout Standard
4567
4568
4569 \backslash
4570 addtocounter{table}{-1}
4571 \end_layout
4572
4573 \end_inset
4574
4575
4576 \begin_inset Note Note
4577 status collapsed
4578
4579 \begin_layout Standard
4580 See greyed-out note in section 2.6.2 for an explanation of this command.
4581 \end_layout
4582
4583 \end_inset
4584
4585
4586 \end_layout
4587
4588 \begin_layout Subsection
4589 Footnotes in Longtables
4590 \begin_inset LatexCommand label
4591 name "sub:Footnotes-in-Longtables"
4592
4593 \end_inset
4594
4595
4596 \begin_inset LatexCommand index
4597 name "Longtables ! Footnotes"
4598
4599 \end_inset
4600
4601
4602 \end_layout
4603
4604 \begin_layout Standard
4605 Footnotes can be inserted to every longtable cell.
4606  They appear at the bottom of the page where the table cell with the footnote
4607  appears.
4608  Table\InsetSpace ~
4609
4610 \begin_inset LatexCommand ref
4611 reference "tab:DiffCaptions"
4612
4613 \end_inset
4614
4615  has for example a footnote.
4616 \end_layout
4617
4618 \begin_layout Subsection
4619 Longtable Captions
4620 \begin_inset LatexCommand index
4621 name "Longtables ! Captions"
4622
4623 \end_inset
4624
4625
4626 \end_layout
4627
4628 \begin_layout Standard
4629 A longtable cannot be put into a table float because floats can only be
4630  on one page but the caption environment of floats can also be used for
4631  longtables.
4632 \end_layout
4633
4634 \begin_layout Standard
4635 As LyX does not yet fully support captions in longtables, a hack is needed
4636  to create them:
4637 \end_layout
4638
4639 \begin_layout Enumerate
4640 Create a longtable
4641 \family sans
4642 .
4643 \end_layout
4644
4645 \begin_layout Enumerate
4646 Mark the first row an disable its upper line.
4647 \end_layout
4648
4649 \begin_layout Enumerate
4650 Insert a caption via the menu 
4651 \family sans
4652 Insert\SpecialChar \menuseparator
4653 Caption
4654 \family default
4655  into the first table cell.
4656 \newline
4657 You can also add a short title for the caption.
4658 \end_layout
4659
4660 \begin_layout Enumerate
4661 Insert a 
4662 \begin_inset Quotes eld
4663 \end_inset
4664
4665
4666 \series bold
4667
4668 \backslash
4669
4670 \backslash
4671 %
4672 \series default
4673
4674 \begin_inset Quotes erd
4675 \end_inset
4676
4677  as ERT behind the caption.
4678 \end_layout
4679
4680 \begin_layout Standard
4681 A short title that will appear in the LOT instead of the full title.
4682  The 
4683 \series bold
4684
4685 \backslash
4686
4687 \backslash
4688 %
4689 \series default
4690  behind the caption omits the vertical lines between the following cells
4691  in the row.
4692  The first table row is now only a dummy row for the caption, the actual
4693  table starts with the second row.
4694 \end_layout
4695
4696 \begin_layout Standard
4697 Here is a short longtable to see how it works:
4698 \end_layout
4699
4700 \begin_layout Standard
4701 \begin_inset Tabular
4702 <lyxtabular version="3" rows="6" columns="5">
4703 <features islongtable="true">
4704 <column alignment="center" valignment="top" leftline="true" width="0">
4705 <column alignment="center" valignment="top" leftline="true" width="0">
4706 <column alignment="center" valignment="top" leftline="true" width="0">
4707 <column alignment="center" valignment="top" leftline="true" width="0">
4708 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4709 <row>
4710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4711 \begin_inset Text
4712
4713 \begin_layout Standard
4714 \begin_inset Caption
4715
4716 \begin_layout Standard
4717 Longtable with caption
4718 \begin_inset OptArg
4719 status open
4720
4721 \begin_layout Standard
4722 Longtable
4723 \end_layout
4724
4725 \end_inset
4726
4727
4728 \end_layout
4729
4730 \end_inset
4731
4732
4733 \begin_inset ERT
4734 status collapsed
4735
4736 \begin_layout Standard
4737
4738
4739 \backslash
4740
4741 \backslash
4742 %
4743 \end_layout
4744
4745 \end_inset
4746
4747
4748 \end_layout
4749
4750 \end_inset
4751 </cell>
4752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4753 \begin_inset Text
4754
4755 \begin_layout Standard
4756
4757 \end_layout
4758
4759 \end_inset
4760 </cell>
4761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4762 \begin_inset Text
4763
4764 \begin_layout Standard
4765
4766 \end_layout
4767
4768 \end_inset
4769 </cell>
4770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4771 \begin_inset Text
4772
4773 \begin_layout Standard
4774
4775 \end_layout
4776
4777 \end_inset
4778 </cell>
4779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4780 \begin_inset Text
4781
4782 \begin_layout Standard
4783
4784 \end_layout
4785
4786 \end_inset
4787 </cell>
4788 </row>
4789 <row topline="true">
4790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4791 \begin_inset Text
4792
4793 \begin_layout Standard
4794 1
4795 \end_layout
4796
4797 \end_inset
4798 </cell>
4799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4800 \begin_inset Text
4801
4802 \begin_layout Standard
4803 2
4804 \end_layout
4805
4806 \end_inset
4807 </cell>
4808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4809 \begin_inset Text
4810
4811 \begin_layout Standard
4812 3
4813 \end_layout
4814
4815 \end_inset
4816 </cell>
4817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4818 \begin_inset Text
4819
4820 \begin_layout Standard
4821 4
4822 \end_layout
4823
4824 \end_inset
4825 </cell>
4826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4827 \begin_inset Text
4828
4829 \begin_layout Standard
4830 5
4831 \end_layout
4832
4833 \end_inset
4834 </cell>
4835 </row>
4836 <row topline="true">
4837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4838 \begin_inset Text
4839
4840 \begin_layout Standard
4841 asd
4842 \end_layout
4843
4844 \end_inset
4845 </cell>
4846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Standard
4850 s
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4856 \begin_inset Text
4857
4858 \begin_layout Standard
4859 s
4860 \end_layout
4861
4862 \end_inset
4863 </cell>
4864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Standard
4868 s
4869 \end_layout
4870
4871 \end_inset
4872 </cell>
4873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4874 \begin_inset Text
4875
4876 \begin_layout Standard
4877 asd
4878 \end_layout
4879
4880 \end_inset
4881 </cell>
4882 </row>
4883 <row topline="true">
4884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4885 \begin_inset Text
4886
4887 \begin_layout Standard
4888 asd
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Standard
4897 s
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Standard
4906 s
4907 \end_layout
4908
4909 \end_inset
4910 </cell>
4911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4912 \begin_inset Text
4913
4914 \begin_layout Standard
4915 s
4916 \end_layout
4917
4918 \end_inset
4919 </cell>
4920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4921 \begin_inset Text
4922
4923 \begin_layout Standard
4924 asd
4925 \end_layout
4926
4927 \end_inset
4928 </cell>
4929 </row>
4930 <row topline="true">
4931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4932 \begin_inset Text
4933
4934 \begin_layout Standard
4935 asd
4936 \end_layout
4937
4938 \end_inset
4939 </cell>
4940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4941 \begin_inset Text
4942
4943 \begin_layout Standard
4944 s
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4950 \begin_inset Text
4951
4952 \begin_layout Standard
4953 s
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Standard
4962 s
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4968 \begin_inset Text
4969
4970 \begin_layout Standard
4971 asd
4972 \end_layout
4973
4974 \end_inset
4975 </cell>
4976 </row>
4977 <row topline="true" bottomline="true">
4978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Standard
4982 asd
4983 \end_layout
4984
4985 \end_inset
4986 </cell>
4987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4988 \begin_inset Text
4989
4990 \begin_layout Standard
4991 asd
4992 \end_layout
4993
4994 \end_inset
4995 </cell>
4996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4997 \begin_inset Text
4998
4999 \begin_layout Standard
5000 asd
5001 \end_layout
5002
5003 \end_inset
5004 </cell>
5005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5006 \begin_inset Text
5007
5008 \begin_layout Standard
5009 asd
5010 \end_layout
5011
5012 \end_inset
5013 </cell>
5014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5015 \begin_inset Text
5016
5017 \begin_layout Standard
5018 asd
5019 \end_layout
5020
5021 \end_inset
5022 </cell>
5023 </row>
5024 </lyxtabular>
5025
5026 \end_inset
5027
5028
5029 \end_layout
5030
5031 \begin_layout Standard
5032 \begin_inset VSpace medskip
5033 \end_inset
5034
5035
5036 \begin_inset Note Greyedout
5037 status open
5038
5039 \begin_layout Standard
5040
5041 \series bold
5042 Note:
5043 \series default
5044  The table number is increased for every longtable, also if you didn't set
5045  a caption for it.
5046  For this reason you could have the case that e.g.
5047  Table\InsetSpace ~
5048 2.4 follows on Table\InsetSpace ~
5049 2.1 in the list of tables if there are two longtables
5050  without captions.
5051  To avoid this you can add the following command in ERT behind every longtable
5052  without a caption:
5053 \end_layout
5054
5055 \begin_layout Standard
5056
5057 \series bold
5058
5059 \backslash
5060 addtocounter{table}{-1}
5061 \end_layout
5062
5063 \end_inset
5064
5065
5066 \end_layout
5067
5068 \begin_layout Standard
5069 \begin_inset Note Greyedout
5070 status open
5071
5072 \begin_layout Standard
5073
5074 \series bold
5075 Note:
5076 \series default
5077  If you are using the LaTeX-package 
5078 \series bold
5079 hyperref
5080 \series default
5081
5082 \begin_inset LatexCommand index
5083 name "LaTeX-packages ! hyperref"
5084
5085 \end_inset
5086
5087  to link cross-references, the link to a longtable caption will always point
5088  to the beginning of the document.
5089 \end_layout
5090
5091 \end_inset
5092
5093
5094 \end_layout
5095
5096 \begin_layout Subsubsection
5097 References to Longtables
5098 \begin_inset LatexCommand index
5099 name "Longtables ! References"
5100
5101 \end_inset
5102
5103
5104 \end_layout
5105
5106 \begin_layout Standard
5107 \begin_inset Tabular
5108 <lyxtabular version="3" rows="6" columns="5">
5109 <features islongtable="true">
5110 <column alignment="center" valignment="top" leftline="true" width="0">
5111 <column alignment="center" valignment="top" leftline="true" width="0">
5112 <column alignment="center" valignment="top" leftline="true" width="0">
5113 <column alignment="center" valignment="top" leftline="true" width="0">
5114 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5115 <row>
5116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5117 \begin_inset Text
5118
5119 \begin_layout Standard
5120 \begin_inset Caption
5121
5122 \begin_layout Standard
5123 Referenced longtable
5124 \begin_inset LatexCommand label
5125 name "tab:RefExample"
5126
5127 \end_inset
5128
5129
5130 \end_layout
5131
5132 \end_inset
5133
5134
5135 \begin_inset ERT
5136 status collapsed
5137
5138 \begin_layout Standard
5139
5140
5141 \backslash
5142
5143 \backslash
5144 %
5145 \end_layout
5146
5147 \end_inset
5148
5149
5150 \end_layout
5151
5152 \end_inset
5153 </cell>
5154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5155 \begin_inset Text
5156
5157 \begin_layout Standard
5158
5159 \end_layout
5160
5161 \end_inset
5162 </cell>
5163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5164 \begin_inset Text
5165
5166 \begin_layout Standard
5167
5168 \end_layout
5169
5170 \end_inset
5171 </cell>
5172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5173 \begin_inset Text
5174
5175 \begin_layout Standard
5176
5177 \end_layout
5178
5179 \end_inset
5180 </cell>
5181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5182 \begin_inset Text
5183
5184 \begin_layout Standard
5185
5186 \end_layout
5187
5188 \end_inset
5189 </cell>
5190 </row>
5191 <row topline="true">
5192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Standard
5196 1
5197 \end_layout
5198
5199 \end_inset
5200 </cell>
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5202 \begin_inset Text
5203
5204 \begin_layout Standard
5205 2
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5211 \begin_inset Text
5212
5213 \begin_layout Standard
5214 3
5215 \end_layout
5216
5217 \end_inset
5218 </cell>
5219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5220 \begin_inset Text
5221
5222 \begin_layout Standard
5223 4
5224 \end_layout
5225
5226 \end_inset
5227 </cell>
5228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5229 \begin_inset Text
5230
5231 \begin_layout Standard
5232 5
5233 \end_layout
5234
5235 \end_inset
5236 </cell>
5237 </row>
5238 <row topline="true">
5239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5240 \begin_inset Text
5241
5242 \begin_layout Standard
5243 asd
5244 \end_layout
5245
5246 \end_inset
5247 </cell>
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5249 \begin_inset Text
5250
5251 \begin_layout Standard
5252 s
5253 \end_layout
5254
5255 \end_inset
5256 </cell>
5257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5258 \begin_inset Text
5259
5260 \begin_layout Standard
5261 s
5262 \end_layout
5263
5264 \end_inset
5265 </cell>
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5267 \begin_inset Text
5268
5269 \begin_layout Standard
5270 s
5271 \end_layout
5272
5273 \end_inset
5274 </cell>
5275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5276 \begin_inset Text
5277
5278 \begin_layout Standard
5279 asd
5280 \end_layout
5281
5282 \end_inset
5283 </cell>
5284 </row>
5285 <row topline="true">
5286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5287 \begin_inset Text
5288
5289 \begin_layout Standard
5290 asd
5291 \end_layout
5292
5293 \end_inset
5294 </cell>
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5296 \begin_inset Text
5297
5298 \begin_layout Standard
5299 s
5300 \end_layout
5301
5302 \end_inset
5303 </cell>
5304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5305 \begin_inset Text
5306
5307 \begin_layout Standard
5308 s
5309 \end_layout
5310
5311 \end_inset
5312 </cell>
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5314 \begin_inset Text
5315
5316 \begin_layout Standard
5317 s
5318 \end_layout
5319
5320 \end_inset
5321 </cell>
5322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5323 \begin_inset Text
5324
5325 \begin_layout Standard
5326 asd
5327 \end_layout
5328
5329 \end_inset
5330 </cell>
5331 </row>
5332 <row topline="true">
5333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5334 \begin_inset Text
5335
5336 \begin_layout Standard
5337 asd
5338 \end_layout
5339
5340 \end_inset
5341 </cell>
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5343 \begin_inset Text
5344
5345 \begin_layout Standard
5346 s
5347 \end_layout
5348
5349 \end_inset
5350 </cell>
5351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5352 \begin_inset Text
5353
5354 \begin_layout Standard
5355 s
5356 \end_layout
5357
5358 \end_inset
5359 </cell>
5360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Standard
5364 s
5365 \end_layout
5366
5367 \end_inset
5368 </cell>
5369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5370 \begin_inset Text
5371
5372 \begin_layout Standard
5373 asd
5374 \end_layout
5375
5376 \end_inset
5377 </cell>
5378 </row>
5379 <row topline="true" bottomline="true">
5380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5381 \begin_inset Text
5382
5383 \begin_layout Standard
5384 asd
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Standard
5393 sad
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Standard
5402 asd
5403 \end_layout
5404
5405 \end_inset
5406 </cell>
5407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5408 \begin_inset Text
5409
5410 \begin_layout Standard
5411 asd
5412 \end_layout
5413
5414 \end_inset
5415 </cell>
5416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5417 \begin_inset Text
5418
5419 \begin_layout Standard
5420 asd
5421 \end_layout
5422
5423 \end_inset
5424 </cell>
5425 </row>
5426 </lyxtabular>
5427
5428 \end_inset
5429
5430
5431 \end_layout
5432
5433 \begin_layout Standard
5434 To reference a longtable, insert a label into the caption.
5435  Note that you have to add the label prefix 
5436 \begin_inset Quotes eld
5437 \end_inset
5438
5439
5440 \emph on
5441 tab:
5442 \emph default
5443
5444 \begin_inset Quotes eld
5445 \end_inset
5446
5447  manually in the label field.
5448 \end_layout
5449
5450 \begin_layout Standard
5451 This is a reference to Table\InsetSpace ~
5452
5453 \begin_inset LatexCommand ref
5454 reference "tab:RefExample"
5455
5456 \end_inset
5457
5458 .
5459 \end_layout
5460
5461 \begin_layout Standard
5462 The caption layout can be set together with all other caption of your document
5463  using the LaTeX-package 
5464 \series bold
5465 caption
5466 \series default
5467
5468 \begin_inset LatexCommand index
5469 name "LaTeX-packages ! caption"
5470
5471 \end_inset
5472
5473 , see section\InsetSpace ~
5474
5475 \begin_inset LatexCommand ref
5476 reference "sec:Caption-Formatting"
5477
5478 \end_inset
5479
5480 .
5481 \end_layout
5482
5483 \begin_layout Subsubsection
5484 Caption Width
5485 \begin_inset LatexCommand index
5486 name "Longtables ! Caption Width"
5487
5488 \end_inset
5489
5490
5491 \end_layout
5492
5493 \begin_layout Standard
5494 The maximal width of of caption lines is defined by the length 
5495 \series bold
5496
5497 \backslash
5498 LTcapwidth
5499 \series default
5500 .
5501  Its default value is 4\InsetSpace \thinspace{}
5502 in.
5503  To change it add the following command to your document preamble or as
5504  ERT into your document before the longtable that should be affected
5505 \end_layout
5506
5507 \begin_layout Standard
5508
5509 \series bold
5510
5511 \backslash
5512 setlength{
5513 \backslash
5514 LTcapwidth}{width}
5515 \end_layout
5516
5517 \begin_layout Standard
5518 where the width could have one of the units listed in appendix\InsetSpace ~
5519
5520 \begin_inset LatexCommand ref
5521 reference "cha:Units-available-in"
5522
5523 \end_inset
5524
5525 .
5526 \end_layout
5527
5528 \begin_layout Standard
5529 The following tables show the difference:
5530 \end_layout
5531
5532 \begin_layout Standard
5533 \begin_inset Tabular
5534 <lyxtabular version="3" rows="6" columns="5">
5535 <features islongtable="true">
5536 <column alignment="center" valignment="top" leftline="true" width="0">
5537 <column alignment="center" valignment="top" leftline="true" width="0">
5538 <column alignment="center" valignment="top" leftline="true" width="0">
5539 <column alignment="center" valignment="top" leftline="true" width="0">
5540 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5541 <row>
5542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5543 \begin_inset Text
5544
5545 \begin_layout Standard
5546 \begin_inset Caption
5547
5548 \begin_layout Standard
5549 long full title with default width long full title with default width long
5550  full title with default width
5551 \begin_inset OptArg
5552 status collapsed
5553
5554 \begin_layout Standard
5555 caption with default width
5556 \end_layout
5557
5558 \end_inset
5559
5560
5561 \end_layout
5562
5563 \end_inset
5564
5565
5566 \begin_inset ERT
5567 status collapsed
5568
5569 \begin_layout Standard
5570
5571
5572 \backslash
5573
5574 \backslash
5575 %
5576 \end_layout
5577
5578 \end_inset
5579
5580
5581 \end_layout
5582
5583 \end_inset
5584 </cell>
5585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5586 \begin_inset Text
5587
5588 \begin_layout Standard
5589
5590 \end_layout
5591
5592 \end_inset
5593 </cell>
5594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5595 \begin_inset Text
5596
5597 \begin_layout Standard
5598
5599 \end_layout
5600
5601 \end_inset
5602 </cell>
5603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5604 \begin_inset Text
5605
5606 \begin_layout Standard
5607
5608 \end_layout
5609
5610 \end_inset
5611 </cell>
5612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5613 \begin_inset Text
5614
5615 \begin_layout Standard
5616
5617 \end_layout
5618
5619 \end_inset
5620 </cell>
5621 </row>
5622 <row topline="true">
5623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5624 \begin_inset Text
5625
5626 \begin_layout Standard
5627 1
5628 \end_layout
5629
5630 \end_inset
5631 </cell>
5632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5633 \begin_inset Text
5634
5635 \begin_layout Standard
5636 2
5637 \end_layout
5638
5639 \end_inset
5640 </cell>
5641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5642 \begin_inset Text
5643
5644 \begin_layout Standard
5645 3
5646 \end_layout
5647
5648 \end_inset
5649 </cell>
5650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5651 \begin_inset Text
5652
5653 \begin_layout Standard
5654 4
5655 \end_layout
5656
5657 \end_inset
5658 </cell>
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Standard
5663 5
5664 \end_layout
5665
5666 \end_inset
5667 </cell>
5668 </row>
5669 <row topline="true">
5670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5671 \begin_inset Text
5672
5673 \begin_layout Standard
5674 asd
5675 \end_layout
5676
5677 \end_inset
5678 </cell>
5679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5680 \begin_inset Text
5681
5682 \begin_layout Standard
5683 s
5684 \end_layout
5685
5686 \end_inset
5687 </cell>
5688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5689 \begin_inset Text
5690
5691 \begin_layout Standard
5692 s
5693 \end_layout
5694
5695 \end_inset
5696 </cell>
5697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5698 \begin_inset Text
5699
5700 \begin_layout Standard
5701 s
5702 \end_layout
5703
5704 \end_inset
5705 </cell>
5706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5707 \begin_inset Text
5708
5709 \begin_layout Standard
5710 asd
5711 \end_layout
5712
5713 \end_inset
5714 </cell>
5715 </row>
5716 <row topline="true">
5717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5718 \begin_inset Text
5719
5720 \begin_layout Standard
5721 asd
5722 \end_layout
5723
5724 \end_inset
5725 </cell>
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5727 \begin_inset Text
5728
5729 \begin_layout Standard
5730 s
5731 \end_layout
5732
5733 \end_inset
5734 </cell>
5735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5736 \begin_inset Text
5737
5738 \begin_layout Standard
5739 s
5740 \end_layout
5741
5742 \end_inset
5743 </cell>
5744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5745 \begin_inset Text
5746
5747 \begin_layout Standard
5748 s
5749 \end_layout
5750
5751 \end_inset
5752 </cell>
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5754 \begin_inset Text
5755
5756 \begin_layout Standard
5757 asd
5758 \end_layout
5759
5760 \end_inset
5761 </cell>
5762 </row>
5763 <row topline="true">
5764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_inset Text
5766
5767 \begin_layout Standard
5768 asd
5769 \end_layout
5770
5771 \end_inset
5772 </cell>
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_inset Text
5775
5776 \begin_layout Standard
5777 s
5778 \end_layout
5779
5780 \end_inset
5781 </cell>
5782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5783 \begin_inset Text
5784
5785 \begin_layout Standard
5786 s
5787 \end_layout
5788
5789 \end_inset
5790 </cell>
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5792 \begin_inset Text
5793
5794 \begin_layout Standard
5795 s
5796 \end_layout
5797
5798 \end_inset
5799 </cell>
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5801 \begin_inset Text
5802
5803 \begin_layout Standard
5804 asd
5805 \end_layout
5806
5807 \end_inset
5808 </cell>
5809 </row>
5810 <row topline="true" bottomline="true">
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_inset Text
5813
5814 \begin_layout Standard
5815 asd
5816 \end_layout
5817
5818 \end_inset
5819 </cell>
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_inset Text
5822
5823 \begin_layout Standard
5824 sad
5825 \end_layout
5826
5827 \end_inset
5828 </cell>
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_inset Text
5831
5832 \begin_layout Standard
5833 asd
5834 \end_layout
5835
5836 \end_inset
5837 </cell>
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5839 \begin_inset Text
5840
5841 \begin_layout Standard
5842 asd
5843 \end_layout
5844
5845 \end_inset
5846 </cell>
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5848 \begin_inset Text
5849
5850 \begin_layout Standard
5851 asd
5852 \end_layout
5853
5854 \end_inset
5855 </cell>
5856 </row>
5857 </lyxtabular>
5858
5859 \end_inset
5860
5861
5862 \end_layout
5863
5864 \begin_layout Standard
5865 \begin_inset ERT
5866 status collapsed
5867
5868 \begin_layout Standard
5869
5870
5871 \backslash
5872 setlength{
5873 \backslash
5874 LTcapwidth}{5cm}
5875 \end_layout
5876
5877 \end_inset
5878
5879
5880 \begin_inset Tabular
5881 <lyxtabular version="3" rows="6" columns="5">
5882 <features islongtable="true">
5883 <column alignment="center" valignment="top" leftline="true" width="0">
5884 <column alignment="center" valignment="top" leftline="true" width="0">
5885 <column alignment="center" valignment="top" leftline="true" width="0">
5886 <column alignment="center" valignment="top" leftline="true" width="0">
5887 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5888 <row>
5889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5890 \begin_inset Text
5891
5892 \begin_layout Standard
5893 \begin_inset Caption
5894
5895 \begin_layout Standard
5896 long full title with width set to 5\InsetSpace \thinspace{}
5897 cm long full title with width set to
5898  5\InsetSpace \thinspace{}
5899 cm long full title with width set to 5\InsetSpace \thinspace{}
5900 cm
5901 \begin_inset OptArg
5902 status collapsed
5903
5904 \begin_layout Standard
5905 caption with width\InsetSpace \thinspace{}
5906 =\InsetSpace \thinspace{}
5907 5\InsetSpace \thinspace{}
5908 cm
5909 \end_layout
5910
5911 \end_inset
5912
5913
5914 \end_layout
5915
5916 \end_inset
5917
5918
5919 \begin_inset ERT
5920 status collapsed
5921
5922 \begin_layout Standard
5923
5924
5925 \backslash
5926
5927 \backslash
5928 %
5929 \end_layout
5930
5931 \end_inset
5932
5933
5934 \end_layout
5935
5936 \end_inset
5937 </cell>
5938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5939 \begin_inset Text
5940
5941 \begin_layout Standard
5942
5943 \end_layout
5944
5945 \end_inset
5946 </cell>
5947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5948 \begin_inset Text
5949
5950 \begin_layout Standard
5951
5952 \end_layout
5953
5954 \end_inset
5955 </cell>
5956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5957 \begin_inset Text
5958
5959 \begin_layout Standard
5960
5961 \end_layout
5962
5963 \end_inset
5964 </cell>
5965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5966 \begin_inset Text
5967
5968 \begin_layout Standard
5969
5970 \end_layout
5971
5972 \end_inset
5973 </cell>
5974 </row>
5975 <row topline="true">
5976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5977 \begin_inset Text
5978
5979 \begin_layout Standard
5980 1
5981 \end_layout
5982
5983 \end_inset
5984 </cell>
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5986 \begin_inset Text
5987
5988 \begin_layout Standard
5989 2
5990 \end_layout
5991
5992 \end_inset
5993 </cell>
5994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5995 \begin_inset Text
5996
5997 \begin_layout Standard
5998 3
5999 \end_layout
6000
6001 \end_inset
6002 </cell>
6003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6004 \begin_inset Text
6005
6006 \begin_layout Standard
6007 4
6008 \end_layout
6009
6010 \end_inset
6011 </cell>
6012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6013 \begin_inset Text
6014
6015 \begin_layout Standard
6016 5
6017 \end_layout
6018
6019 \end_inset
6020 </cell>
6021 </row>
6022 <row topline="true">
6023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6024 \begin_inset Text
6025
6026 \begin_layout Standard
6027 asd
6028 \end_layout
6029
6030 \end_inset
6031 </cell>
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6033 \begin_inset Text
6034
6035 \begin_layout Standard
6036 s
6037 \end_layout
6038
6039 \end_inset
6040 </cell>
6041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6042 \begin_inset Text
6043
6044 \begin_layout Standard
6045 s
6046 \end_layout
6047
6048 \end_inset
6049 </cell>
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6051 \begin_inset Text
6052
6053 \begin_layout Standard
6054 s
6055 \end_layout
6056
6057 \end_inset
6058 </cell>
6059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6060 \begin_inset Text
6061
6062 \begin_layout Standard
6063 asd
6064 \end_layout
6065
6066 \end_inset
6067 </cell>
6068 </row>
6069 <row topline="true">
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6071 \begin_inset Text
6072
6073 \begin_layout Standard
6074 asd
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Standard
6083 s
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6089 \begin_inset Text
6090
6091 \begin_layout Standard
6092 s
6093 \end_layout
6094
6095 \end_inset
6096 </cell>
6097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6098 \begin_inset Text
6099
6100 \begin_layout Standard
6101 s
6102 \end_layout
6103
6104 \end_inset
6105 </cell>
6106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6107 \begin_inset Text
6108
6109 \begin_layout Standard
6110 asd
6111 \end_layout
6112
6113 \end_inset
6114 </cell>
6115 </row>
6116 <row topline="true">
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Standard
6121 asd
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Standard
6130 s
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6136 \begin_inset Text
6137
6138 \begin_layout Standard
6139 s
6140 \end_layout
6141
6142 \end_inset
6143 </cell>
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6145 \begin_inset Text
6146
6147 \begin_layout Standard
6148 s
6149 \end_layout
6150
6151 \end_inset
6152 </cell>
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6154 \begin_inset Text
6155
6156 \begin_layout Standard
6157 asd
6158 \end_layout
6159
6160 \end_inset
6161 </cell>
6162 </row>
6163 <row topline="true" bottomline="true">
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Standard
6168 asd
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Standard
6177 sad
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6183 \begin_inset Text
6184
6185 \begin_layout Standard
6186 asd
6187 \end_layout
6188
6189 \end_inset
6190 </cell>
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6192 \begin_inset Text
6193
6194 \begin_layout Standard
6195 asd
6196 \end_layout
6197
6198 \end_inset
6199 </cell>
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6201 \begin_inset Text
6202
6203 \begin_layout Standard
6204 asd
6205 \end_layout
6206
6207 \end_inset
6208 </cell>
6209 </row>
6210 </lyxtabular>
6211
6212 \end_inset
6213
6214
6215 \begin_inset ERT
6216 status collapsed
6217
6218 \begin_layout Standard
6219
6220
6221 \backslash
6222 setlength{
6223 \backslash
6224 LTcapwidth}{4in}
6225 \end_layout
6226
6227 \end_inset
6228
6229
6230 \end_layout
6231
6232 \begin_layout Standard
6233
6234 \end_layout
6235
6236 \begin_layout Subsubsection
6237 Different Captions for Table Pages
6238 \begin_inset LatexCommand index
6239 name "Longtables ! Different Captions for Pages"
6240
6241 \end_inset
6242
6243
6244 \end_layout
6245
6246 \begin_layout Standard
6247 When the other captions should differ from the one of the first table page,
6248  insert a caption with a non-empty short title in a dummy caption row marked
6249  as first header.
6250  The caption used for the other table pages is inserted as caption without
6251  a short title in a dummy caption row that is marked as main header.
6252  When this caption shouldn't include the table number, use the command
6253 \end_layout
6254
6255 \begin_layout Standard
6256
6257 \series bold
6258
6259 \backslash
6260 caption*{caption text}
6261 \end_layout
6262
6263 \begin_layout Standard
6264 instead of LyX's caption box.
6265  The label to reference the table is inserted into the caption of the first
6266  header.
6267  Table\InsetSpace ~
6268
6269 \begin_inset LatexCommand ref
6270 reference "tab:DiffCaptions"
6271
6272 \end_inset
6273
6274  is an example for a longtable with different heading where the second caption
6275  doesn't include the table number.
6276 \end_layout
6277
6278 \begin_layout Standard
6279 \align center
6280 \begin_inset Tabular
6281 <lyxtabular version="3" rows="60" columns="3">
6282 <features islongtable="true">
6283 <column alignment="left" valignment="top" leftline="true" width="0cm">
6284 <column alignment="left" valignment="top" rightline="true" width="0pt">
6285 <column alignment="right" valignment="top" rightline="true" width="0pt">
6286 <row endfirsthead="true">
6287 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6288 \begin_inset Text
6289
6290 \begin_layout Standard
6291 \begin_inset Caption
6292
6293 \begin_layout Standard
6294 Example Phone List
6295 \begin_inset LatexCommand label
6296 name "tab:DiffCaptions"
6297
6298 \end_inset
6299
6300
6301 \begin_inset OptArg
6302 status collapsed
6303
6304 \begin_layout Standard
6305 Example Phone List
6306 \end_layout
6307
6308 \end_inset
6309
6310
6311 \end_layout
6312
6313 \end_inset
6314
6315
6316 \begin_inset ERT
6317 status collapsed
6318
6319 \begin_layout Standard
6320
6321
6322 \backslash
6323
6324 \backslash
6325 %
6326 \end_layout
6327
6328 \end_inset
6329
6330
6331 \end_layout
6332
6333 \end_inset
6334 </cell>
6335 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6336 \begin_inset Text
6337
6338 \begin_layout Standard
6339
6340 \end_layout
6341
6342 \end_inset
6343 </cell>
6344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6345 \begin_inset Text
6346
6347 \begin_layout Standard
6348
6349 \end_layout
6350
6351 \end_inset
6352 </cell>
6353 </row>
6354 <row topline="true" bottomline="true" endfirsthead="true">
6355 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6356 \begin_inset Text
6357
6358 \begin_layout Standard
6359
6360 \series bold
6361 Example Phone List (ignore the names)
6362 \end_layout
6363
6364 \end_inset
6365 </cell>
6366 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6367 \begin_inset Text
6368
6369 \begin_layout Standard
6370
6371 \end_layout
6372
6373 \end_inset
6374 </cell>
6375 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6376 \begin_inset Text
6377
6378 \begin_layout Standard
6379
6380 \end_layout
6381
6382 \end_inset
6383 </cell>
6384 </row>
6385 <row topline="true" bottomline="true" endfirsthead="true">
6386 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6387 \begin_inset Text
6388
6389 \begin_layout Standard
6390
6391 \series bold
6392 NAME
6393 \end_layout
6394
6395 \end_inset
6396 </cell>
6397 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6398 \begin_inset Text
6399
6400 \begin_layout Standard
6401
6402 \end_layout
6403
6404 \end_inset
6405 </cell>
6406 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6407 \begin_inset Text
6408
6409 \begin_layout Standard
6410
6411 \series bold
6412 TEL.
6413 \end_layout
6414
6415 \end_inset
6416 </cell>
6417 </row>
6418 <row bottomline="true" endhead="true">
6419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6420 \begin_inset Text
6421
6422 \begin_layout Standard
6423 \begin_inset ERT
6424 status collapsed
6425
6426 \begin_layout Standard
6427
6428
6429 \backslash
6430 caption*{Continued Example Phone List}
6431 \backslash
6432
6433 \backslash
6434 %
6435 \end_layout
6436
6437 \end_inset
6438
6439
6440 \end_layout
6441
6442 \end_inset
6443 </cell>
6444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6445 \begin_inset Text
6446
6447 \begin_layout Standard
6448
6449 \end_layout
6450
6451 \end_inset
6452 </cell>
6453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6454 \begin_inset Text
6455
6456 \begin_layout Standard
6457
6458 \end_layout
6459
6460 \end_inset
6461 </cell>
6462 </row>
6463 <row topline="true" bottomline="true" endhead="true">
6464 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6465 \begin_inset Text
6466
6467 \begin_layout Standard
6468
6469 \series bold
6470 Example Phone List
6471 \end_layout
6472
6473 \end_inset
6474 </cell>
6475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6476 \begin_inset Text
6477
6478 \begin_layout Standard
6479
6480 \end_layout
6481
6482 \end_inset
6483 </cell>
6484 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6485 \begin_inset Text
6486
6487 \begin_layout Standard
6488
6489 \end_layout
6490
6491 \end_inset
6492 </cell>
6493 </row>
6494 <row topline="true" bottomline="true" endhead="true">
6495 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6496 \begin_inset Text
6497
6498 \begin_layout Standard
6499
6500 \series bold
6501 NAME
6502 \end_layout
6503
6504 \end_inset
6505 </cell>
6506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6507 \begin_inset Text
6508
6509 \begin_layout Standard
6510
6511 \end_layout
6512
6513 \end_inset
6514 </cell>
6515 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6516 \begin_inset Text
6517
6518 \begin_layout Standard
6519
6520 \series bold
6521 TEL.
6522 \end_layout
6523
6524 \end_inset
6525 </cell>
6526 </row>
6527 <row topline="true" bottomline="true" endfoot="true">
6528 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6529 \begin_inset Text
6530
6531 \begin_layout Standard
6532 continued on next page
6533 \end_layout
6534
6535 \end_inset
6536 </cell>
6537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6538 \begin_inset Text
6539
6540 \begin_layout Standard
6541
6542 \end_layout
6543
6544 \end_inset
6545 </cell>
6546 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6547 \begin_inset Text
6548
6549 \begin_layout Standard
6550
6551 \end_layout
6552
6553 \end_inset
6554 </cell>
6555 </row>
6556 <row>
6557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6558 \begin_inset Text
6559
6560 \begin_layout Standard
6561
6562 \series bold
6563 Annovi
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 <cell alignment="center" valignment="top" topline="true" usebox="none">
6569 \begin_inset Text
6570
6571 \begin_layout Standard
6572 Silvia
6573 \end_layout
6574
6575 \end_inset
6576 </cell>
6577 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6578 \begin_inset Text
6579
6580 \begin_layout Standard
6581 111
6582 \end_layout
6583
6584 \end_inset
6585 </cell>
6586 </row>
6587 <row>
6588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6589 \begin_inset Text
6590
6591 \begin_layout Standard
6592
6593 \series bold
6594 Bertoli
6595 \end_layout
6596
6597 \end_inset
6598 </cell>
6599 <cell alignment="center" valignment="top" topline="true" usebox="none">
6600 \begin_inset Text
6601
6602 \begin_layout Standard
6603 Stefano
6604 \end_layout
6605
6606 \end_inset
6607 </cell>
6608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6609 \begin_inset Text
6610
6611 \begin_layout Standard
6612 111
6613 \end_layout
6614
6615 \end_inset
6616 </cell>
6617 </row>
6618 <row>
6619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Standard
6623
6624 \series bold
6625 Bozzi
6626 \end_layout
6627
6628 \end_inset
6629 </cell>
6630 <cell alignment="center" valignment="top" topline="true" usebox="none">
6631 \begin_inset Text
6632
6633 \begin_layout Standard
6634 Walter
6635 \end_layout
6636
6637 \end_inset
6638 </cell>
6639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6640 \begin_inset Text
6641
6642 \begin_layout Standard
6643 111
6644 \end_layout
6645
6646 \end_inset
6647 </cell>
6648 </row>
6649 <row>
6650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6651 \begin_inset Text
6652
6653 \begin_layout Standard
6654
6655 \series bold
6656 Cachia
6657 \end_layout
6658
6659 \end_inset
6660 </cell>
6661 <cell alignment="center" valignment="top" topline="true" usebox="none">
6662 \begin_inset Text
6663
6664 \begin_layout Standard
6665 Maria
6666 \end_layout
6667
6668 \end_inset
6669 </cell>
6670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6671 \begin_inset Text
6672
6673 \begin_layout Standard
6674 111
6675 \end_layout
6676
6677 \end_inset
6678 </cell>
6679 </row>
6680 <row>
6681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_inset Text
6683
6684 \begin_layout Standard
6685
6686 \series bold
6687 Cachia
6688 \end_layout
6689
6690 \end_inset
6691 </cell>
6692 <cell alignment="center" valignment="top" topline="true" usebox="none">
6693 \begin_inset Text
6694
6695 \begin_layout Standard
6696 Maurizio
6697 \end_layout
6698
6699 \end_inset
6700 </cell>
6701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6702 \begin_inset Text
6703
6704 \begin_layout Standard
6705 111
6706 \end_layout
6707
6708 \end_inset
6709 </cell>
6710 </row>
6711 <row>
6712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6713 \begin_inset Text
6714
6715 \begin_layout Standard
6716
6717 \series bold
6718 Cinquemani
6719 \end_layout
6720
6721 \end_inset
6722 </cell>
6723 <cell alignment="center" valignment="top" topline="true" usebox="none">
6724 \begin_inset Text
6725
6726 \begin_layout Standard
6727 Giusi
6728 \end_layout
6729
6730 \end_inset
6731 </cell>
6732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6733 \begin_inset Text
6734
6735 \begin_layout Standard
6736 111
6737 \end_layout
6738
6739 \end_inset
6740 </cell>
6741 </row>
6742 <row>
6743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6744 \begin_inset Text
6745
6746 \begin_layout Standard
6747
6748 \series bold
6749 Colin
6750 \end_layout
6751
6752 \end_inset
6753 </cell>
6754 <cell alignment="center" valignment="top" topline="true" usebox="none">
6755 \begin_inset Text
6756
6757 \begin_layout Standard
6758 Bernard
6759 \end_layout
6760
6761 \end_inset
6762 </cell>
6763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6764 \begin_inset Text
6765
6766 \begin_layout Standard
6767 111
6768 \end_layout
6769
6770 \end_inset
6771 </cell>
6772 </row>
6773 <row>
6774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6775 \begin_inset Text
6776
6777 \begin_layout Standard
6778
6779 \series bold
6780 Concli
6781 \end_layout
6782
6783 \end_inset
6784 </cell>
6785 <cell alignment="center" valignment="top" topline="true" usebox="none">
6786 \begin_inset Text
6787
6788 \begin_layout Standard
6789 Gianfranco
6790 \end_layout
6791
6792 \end_inset
6793 </cell>
6794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6795 \begin_inset Text
6796
6797 \begin_layout Standard
6798 111
6799 \end_layout
6800
6801 \end_inset
6802 </cell>
6803 </row>
6804 <row>
6805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6806 \begin_inset Text
6807
6808 \begin_layout Standard
6809
6810 \series bold
6811 Dal Bosco
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 <cell alignment="center" valignment="top" topline="true" usebox="none">
6817 \begin_inset Text
6818
6819 \begin_layout Standard
6820 Carolina
6821 \end_layout
6822
6823 \end_inset
6824 </cell>
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6826 \begin_inset Text
6827
6828 \begin_layout Standard
6829 111
6830 \end_layout
6831
6832 \end_inset
6833 </cell>
6834 </row>
6835 <row>
6836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6837 \begin_inset Text
6838
6839 \begin_layout Standard
6840
6841 \series bold
6842 Dalpiaz
6843 \end_layout
6844
6845 \end_inset
6846 </cell>
6847 <cell alignment="center" valignment="top" topline="true" usebox="none">
6848 \begin_inset Text
6849
6850 \begin_layout Standard
6851 Annamaria
6852 \end_layout
6853
6854 \end_inset
6855 </cell>
6856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6857 \begin_inset Text
6858
6859 \begin_layout Standard
6860 111
6861 \end_layout
6862
6863 \end_inset
6864 </cell>
6865 </row>
6866 <row>
6867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6868 \begin_inset Text
6869
6870 \begin_layout Standard
6871
6872 \series bold
6873 Feliciello
6874 \end_layout
6875
6876 \end_inset
6877 </cell>
6878 <cell alignment="center" valignment="top" topline="true" usebox="none">
6879 \begin_inset Text
6880
6881 \begin_layout Standard
6882 Domenico
6883 \end_layout
6884
6885 \end_inset
6886 </cell>
6887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6888 \begin_inset Text
6889
6890 \begin_layout Standard
6891 111
6892 \end_layout
6893
6894 \end_inset
6895 </cell>
6896 </row>
6897 <row>
6898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6899 \begin_inset Text
6900
6901 \begin_layout Standard
6902
6903 \series bold
6904 Focarelli
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 <cell alignment="center" valignment="top" topline="true" usebox="none">
6910 \begin_inset Text
6911
6912 \begin_layout Standard
6913 Paola
6914 \end_layout
6915
6916 \end_inset
6917 </cell>
6918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6919 \begin_inset Text
6920
6921 \begin_layout Standard
6922 111
6923 \end_layout
6924
6925 \end_inset
6926 </cell>
6927 </row>
6928 <row>
6929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6930 \begin_inset Text
6931
6932 \begin_layout Standard
6933
6934 \series bold
6935 Galletti
6936 \end_layout
6937
6938 \end_inset
6939 </cell>
6940 <cell alignment="center" valignment="top" topline="true" usebox="none">
6941 \begin_inset Text
6942
6943 \begin_layout Standard
6944 Oreste
6945 \end_layout
6946
6947 \end_inset
6948 </cell>
6949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6950 \begin_inset Text
6951
6952 \begin_layout Standard
6953 111
6954 \end_layout
6955
6956 \end_inset
6957 </cell>
6958 </row>
6959 <row>
6960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6961 \begin_inset Text
6962
6963 \begin_layout Standard
6964
6965 \series bold
6966 Gasparini
6967 \end_layout
6968
6969 \end_inset
6970 </cell>
6971 <cell alignment="center" valignment="top" topline="true" usebox="none">
6972 \begin_inset Text
6973
6974 \begin_layout Standard
6975 Franca
6976 \end_layout
6977
6978 \end_inset
6979 </cell>
6980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6981 \begin_inset Text
6982
6983 \begin_layout Standard
6984 111
6985 \end_layout
6986
6987 \end_inset
6988 </cell>
6989 </row>
6990 <row>
6991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6992 \begin_inset Text
6993
6994 \begin_layout Standard
6995
6996 \series bold
6997 Rizzardi
6998 \series default
6999
7000 \begin_inset Foot
7001 status collapsed
7002
7003 \begin_layout Standard
7004 Example footnote
7005 \end_layout
7006
7007 \end_inset
7008
7009
7010 \end_layout
7011
7012 \end_inset
7013 </cell>
7014 <cell alignment="center" valignment="top" topline="true" usebox="none">
7015 \begin_inset Text
7016
7017 \begin_layout Standard
7018 Paola
7019 \end_layout
7020
7021 \end_inset
7022 </cell>
7023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Standard
7027 111
7028 \end_layout
7029
7030 \end_inset
7031 </cell>
7032 </row>
7033 <row>
7034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7035 \begin_inset Text
7036
7037 \begin_layout Standard
7038
7039 \series bold
7040 Lassini
7041 \end_layout
7042
7043 \end_inset
7044 </cell>
7045 <cell alignment="center" valignment="top" topline="true" usebox="none">
7046 \begin_inset Text
7047
7048 \begin_layout Standard
7049 Giancarlo
7050 \end_layout
7051
7052 \end_inset
7053 </cell>
7054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Standard
7058 111
7059 \end_layout
7060
7061 \end_inset
7062 </cell>
7063 </row>
7064 <row>
7065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7066 \begin_inset Text
7067
7068 \begin_layout Standard
7069
7070 \series bold
7071 Malfatti
7072 \end_layout
7073
7074 \end_inset
7075 </cell>
7076 <cell alignment="center" valignment="top" topline="true" usebox="none">
7077 \begin_inset Text
7078
7079 \begin_layout Standard
7080 Luciano
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7086 \begin_inset Text
7087
7088 \begin_layout Standard
7089 111
7090 \end_layout
7091
7092 \end_inset
7093 </cell>
7094 </row>
7095 <row>
7096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7097 \begin_inset Text
7098
7099 \begin_layout Standard
7100
7101 \series bold
7102 Malfatti
7103 \end_layout
7104
7105 \end_inset
7106 </cell>
7107 <cell alignment="center" valignment="top" topline="true" usebox="none">
7108 \begin_inset Text
7109
7110 \begin_layout Standard
7111 Valeriano
7112 \end_layout
7113
7114 \end_inset
7115 </cell>
7116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7117 \begin_inset Text
7118
7119 \begin_layout Standard
7120 111
7121 \end_layout
7122
7123 \end_inset
7124 </cell>
7125 </row>
7126 <row>
7127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7128 \begin_inset Text
7129
7130 \begin_layout Standard
7131
7132 \series bold
7133 Meneguzzo
7134 \end_layout
7135
7136 \end_inset
7137 </cell>
7138 <cell alignment="center" valignment="top" topline="true" usebox="none">
7139 \begin_inset Text
7140
7141 \begin_layout Standard
7142 Roberto
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7148 \begin_inset Text
7149
7150 \begin_layout Standard
7151 111
7152 \end_layout
7153
7154 \end_inset
7155 </cell>
7156 </row>
7157 <row>
7158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7159 \begin_inset Text
7160
7161 \begin_layout Standard
7162
7163 \series bold
7164 Mezzadra
7165 \end_layout
7166
7167 \end_inset
7168 </cell>
7169 <cell alignment="center" valignment="top" topline="true" usebox="none">
7170 \begin_inset Text
7171
7172 \begin_layout Standard
7173 Roberto
7174 \end_layout
7175
7176 \end_inset
7177 </cell>
7178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7179 \begin_inset Text
7180
7181 \begin_layout Standard
7182 111
7183 \end_layout
7184
7185 \end_inset
7186 </cell>
7187 </row>
7188 <row>
7189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7190 \begin_inset Text
7191
7192 \begin_layout Standard
7193
7194 \series bold
7195 Pirpamer
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Standard
7204 Erich
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Standard
7213 111
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 </row>
7219 <row>
7220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7221 \begin_inset Text
7222
7223 \begin_layout Standard
7224
7225 \series bold
7226 Pochiesa
7227 \end_layout
7228
7229 \end_inset
7230 </cell>
7231 <cell alignment="center" valignment="top" topline="true" usebox="none">
7232 \begin_inset Text
7233
7234 \begin_layout Standard
7235 Paolo
7236 \end_layout
7237
7238 \end_inset
7239 </cell>
7240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7241 \begin_inset Text
7242
7243 \begin_layout Standard
7244 111, 222
7245 \end_layout
7246
7247 \end_inset
7248 </cell>
7249 </row>
7250 <row>
7251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7252 \begin_inset Text
7253
7254 \begin_layout Standard
7255
7256 \series bold
7257 Radina
7258 \end_layout
7259
7260 \end_inset
7261 </cell>
7262 <cell alignment="center" valignment="top" topline="true" usebox="none">
7263 \begin_inset Text
7264
7265 \begin_layout Standard
7266 Claudio
7267 \end_layout
7268
7269 \end_inset
7270 </cell>
7271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7272 \begin_inset Text
7273
7274 \begin_layout Standard
7275 111
7276 \end_layout
7277
7278 \end_inset
7279 </cell>
7280 </row>
7281 <row>
7282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7283 \begin_inset Text
7284
7285 \begin_layout Standard
7286
7287 \series bold
7288 Stuffer
7289 \end_layout
7290
7291 \end_inset
7292 </cell>
7293 <cell alignment="center" valignment="top" topline="true" usebox="none">
7294 \begin_inset Text
7295
7296 \begin_layout Standard
7297 Oskar
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7303 \begin_inset Text
7304
7305 \begin_layout Standard
7306 111
7307 \end_layout
7308
7309 \end_inset
7310 </cell>
7311 </row>
7312 <row>
7313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7314 \begin_inset Text
7315
7316 \begin_layout Standard
7317
7318 \series bold
7319 Tacchelli
7320 \end_layout
7321
7322 \end_inset
7323 </cell>
7324 <cell alignment="center" valignment="top" topline="true" usebox="none">
7325 \begin_inset Text
7326
7327 \begin_layout Standard
7328 Ugo
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Standard
7337 111
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 </row>
7343 <row>
7344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7345 \begin_inset Text
7346
7347 \begin_layout Standard
7348
7349 \series bold
7350 Tezzele
7351 \end_layout
7352
7353 \end_inset
7354 </cell>
7355 <cell alignment="center" valignment="top" topline="true" usebox="none">
7356 \begin_inset Text
7357
7358 \begin_layout Standard
7359 Margit
7360 \end_layout
7361
7362 \end_inset
7363 </cell>
7364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7365 \begin_inset Text
7366
7367 \begin_layout Standard
7368 111
7369 \end_layout
7370
7371 \end_inset
7372 </cell>
7373 </row>
7374 <row>
7375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7376 \begin_inset Text
7377
7378 \begin_layout Standard
7379
7380 \series bold
7381 Unterkalmsteiner
7382 \end_layout
7383
7384 \end_inset
7385 </cell>
7386 <cell alignment="center" valignment="top" topline="true" usebox="none">
7387 \begin_inset Text
7388
7389 \begin_layout Standard
7390 Frieda
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7396 \begin_inset Text
7397
7398 \begin_layout Standard
7399 111
7400 \end_layout
7401
7402 \end_inset
7403 </cell>
7404 </row>
7405 <row>
7406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7407 \begin_inset Text
7408
7409 \begin_layout Standard
7410
7411 \series bold
7412 Vieider
7413 \end_layout
7414
7415 \end_inset
7416 </cell>
7417 <cell alignment="center" valignment="top" topline="true" usebox="none">
7418 \begin_inset Text
7419
7420 \begin_layout Standard
7421 Hilde
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7427 \begin_inset Text
7428
7429 \begin_layout Standard
7430 111
7431 \end_layout
7432
7433 \end_inset
7434 </cell>
7435 </row>
7436 <row>
7437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7438 \begin_inset Text
7439
7440 \begin_layout Standard
7441
7442 \series bold
7443 Vigna
7444 \end_layout
7445
7446 \end_inset
7447 </cell>
7448 <cell alignment="center" valignment="top" topline="true" usebox="none">
7449 \begin_inset Text
7450
7451 \begin_layout Standard
7452 Jürgen
7453 \end_layout
7454
7455 \end_inset
7456 </cell>
7457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7458 \begin_inset Text
7459
7460 \begin_layout Standard
7461 111
7462 \end_layout
7463
7464 \end_inset
7465 </cell>
7466 </row>
7467 <row>
7468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7469 \begin_inset Text
7470
7471 \begin_layout Standard
7472
7473 \series bold
7474 Weber
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 <cell alignment="center" valignment="top" topline="true" usebox="none">
7480 \begin_inset Text
7481
7482 \begin_layout Standard
7483 Maurizio
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7489 \begin_inset Text
7490
7491 \begin_layout Standard
7492 111
7493 \end_layout
7494
7495 \end_inset
7496 </cell>
7497 </row>
7498 <row bottomline="true">
7499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7500 \begin_inset Text
7501
7502 \begin_layout Standard
7503
7504 \series bold
7505 Winkler
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Standard
7514 Franz
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7520 \begin_inset Text
7521
7522 \begin_layout Standard
7523 111
7524 \end_layout
7525
7526 \end_inset
7527 </cell>
7528 </row>
7529 <row bottomline="true">
7530 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7531 \begin_inset Text
7532
7533 \begin_layout Standard
7534  
7535 \end_layout
7536
7537 \end_inset
7538 </cell>
7539 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7540 \begin_inset Text
7541
7542 \begin_layout Standard
7543
7544 \end_layout
7545
7546 \end_inset
7547 </cell>
7548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7549 \begin_inset Text
7550
7551 \begin_layout Standard
7552
7553 \end_layout
7554
7555 \end_inset
7556 </cell>
7557 </row>
7558 <row>
7559 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7560 \begin_inset Text
7561
7562 \begin_layout Standard
7563
7564 \series bold
7565 Annovi
7566 \end_layout
7567
7568 \end_inset
7569 </cell>
7570 <cell alignment="center" valignment="top" topline="true" usebox="none">
7571 \begin_inset Text
7572
7573 \begin_layout Standard
7574 Silvia
7575 \end_layout
7576
7577 \end_inset
7578 </cell>
7579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7580 \begin_inset Text
7581
7582 \begin_layout Standard
7583 555
7584 \end_layout
7585
7586 \end_inset
7587 </cell>
7588 </row>
7589 <row>
7590 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7591 \begin_inset Text
7592
7593 \begin_layout Standard
7594
7595 \series bold
7596 Bertoli
7597 \end_layout
7598
7599 \end_inset
7600 </cell>
7601 <cell alignment="center" valignment="top" topline="true" usebox="none">
7602 \begin_inset Text
7603
7604 \begin_layout Standard
7605 Stefano
7606 \end_layout
7607
7608 \end_inset
7609 </cell>
7610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7611 \begin_inset Text
7612
7613 \begin_layout Standard
7614 555
7615 \end_layout
7616
7617 \end_inset
7618 </cell>
7619 </row>
7620 <row>
7621 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7622 \begin_inset Text
7623
7624 \begin_layout Standard
7625
7626 \series bold
7627 Bozzi
7628 \end_layout
7629
7630 \end_inset
7631 </cell>
7632 <cell alignment="center" valignment="top" topline="true" usebox="none">
7633 \begin_inset Text
7634
7635 \begin_layout Standard
7636 Walter
7637 \end_layout
7638
7639 \end_inset
7640 </cell>
7641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7642 \begin_inset Text
7643
7644 \begin_layout Standard
7645 555
7646 \end_layout
7647
7648 \end_inset
7649 </cell>
7650 </row>
7651 <row>
7652 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7653 \begin_inset Text
7654
7655 \begin_layout Standard
7656
7657 \series bold
7658 Cachia
7659 \end_layout
7660
7661 \end_inset
7662 </cell>
7663 <cell alignment="center" valignment="top" topline="true" usebox="none">
7664 \begin_inset Text
7665
7666 \begin_layout Standard
7667 Maria
7668 \end_layout
7669
7670 \end_inset
7671 </cell>
7672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7673 \begin_inset Text
7674
7675 \begin_layout Standard
7676 555
7677 \end_layout
7678
7679 \end_inset
7680 </cell>
7681 </row>
7682 <row>
7683 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7684 \begin_inset Text
7685
7686 \begin_layout Standard
7687
7688 \series bold
7689 Cachia
7690 \end_layout
7691
7692 \end_inset
7693 </cell>
7694 <cell alignment="center" valignment="top" topline="true" usebox="none">
7695 \begin_inset Text
7696
7697 \begin_layout Standard
7698 Maurizio
7699 \end_layout
7700
7701 \end_inset
7702 </cell>
7703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7704 \begin_inset Text
7705
7706 \begin_layout Standard
7707 555
7708 \end_layout
7709
7710 \end_inset
7711 </cell>
7712 </row>
7713 <row>
7714 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7715 \begin_inset Text
7716
7717 \begin_layout Standard
7718
7719 \series bold
7720 Cinquemani
7721 \end_layout
7722
7723 \end_inset
7724 </cell>
7725 <cell alignment="center" valignment="top" topline="true" usebox="none">
7726 \begin_inset Text
7727
7728 \begin_layout Standard
7729 Giusi
7730 \end_layout
7731
7732 \end_inset
7733 </cell>
7734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7735 \begin_inset Text
7736
7737 \begin_layout Standard
7738 555
7739 \end_layout
7740
7741 \end_inset
7742 </cell>
7743 </row>
7744 <row>
7745 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7746 \begin_inset Text
7747
7748 \begin_layout Standard
7749
7750 \series bold
7751 Colin
7752 \end_layout
7753
7754 \end_inset
7755 </cell>
7756 <cell alignment="center" valignment="top" topline="true" usebox="none">
7757 \begin_inset Text
7758
7759 \begin_layout Standard
7760 Bernard
7761 \end_layout
7762
7763 \end_inset
7764 </cell>
7765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7766 \begin_inset Text
7767
7768 \begin_layout Standard
7769 555
7770 \end_layout
7771
7772 \end_inset
7773 </cell>
7774 </row>
7775 <row>
7776 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7777 \begin_inset Text
7778
7779 \begin_layout Standard
7780
7781 \series bold
7782 Concli
7783 \end_layout
7784
7785 \end_inset
7786 </cell>
7787 <cell alignment="center" valignment="top" topline="true" usebox="none">
7788 \begin_inset Text
7789
7790 \begin_layout Standard
7791 Gianfranco
7792 \end_layout
7793
7794 \end_inset
7795 </cell>
7796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7797 \begin_inset Text
7798
7799 \begin_layout Standard
7800 555
7801 \end_layout
7802
7803 \end_inset
7804 </cell>
7805 </row>
7806 <row>
7807 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7808 \begin_inset Text
7809
7810 \begin_layout Standard
7811
7812 \series bold
7813 Dal Bosco
7814 \end_layout
7815
7816 \end_inset
7817 </cell>
7818 <cell alignment="center" valignment="top" topline="true" usebox="none">
7819 \begin_inset Text
7820
7821 \begin_layout Standard
7822 Carolina
7823 \end_layout
7824
7825 \end_inset
7826 </cell>
7827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7828 \begin_inset Text
7829
7830 \begin_layout Standard
7831 555
7832 \end_layout
7833
7834 \end_inset
7835 </cell>
7836 </row>
7837 <row>
7838 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7839 \begin_inset Text
7840
7841 \begin_layout Standard
7842
7843 \series bold
7844 Dalpiaz
7845 \end_layout
7846
7847 \end_inset
7848 </cell>
7849 <cell alignment="center" valignment="top" topline="true" usebox="none">
7850 \begin_inset Text
7851
7852 \begin_layout Standard
7853 Annamaria
7854 \end_layout
7855
7856 \end_inset
7857 </cell>
7858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7859 \begin_inset Text
7860
7861 \begin_layout Standard
7862 555
7863 \end_layout
7864
7865 \end_inset
7866 </cell>
7867 </row>
7868 <row>
7869 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7870 \begin_inset Text
7871
7872 \begin_layout Standard
7873
7874 \series bold
7875 Feliciello
7876 \end_layout
7877
7878 \end_inset
7879 </cell>
7880 <cell alignment="center" valignment="top" topline="true" usebox="none">
7881 \begin_inset Text
7882
7883 \begin_layout Standard
7884 Domenico
7885 \end_layout
7886
7887 \end_inset
7888 </cell>
7889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7890 \begin_inset Text
7891
7892 \begin_layout Standard
7893 555
7894 \end_layout
7895
7896 \end_inset
7897 </cell>
7898 </row>
7899 <row>
7900 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7901 \begin_inset Text
7902
7903 \begin_layout Standard
7904
7905 \series bold
7906 Focarelli
7907 \end_layout
7908
7909 \end_inset
7910 </cell>
7911 <cell alignment="center" valignment="top" topline="true" usebox="none">
7912 \begin_inset Text
7913
7914 \begin_layout Standard
7915 Paola
7916 \end_layout
7917
7918 \end_inset
7919 </cell>
7920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7921 \begin_inset Text
7922
7923 \begin_layout Standard
7924 555
7925 \end_layout
7926
7927 \end_inset
7928 </cell>
7929 </row>
7930 <row>
7931 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7932 \begin_inset Text
7933
7934 \begin_layout Standard
7935
7936 \series bold
7937 Galletti
7938 \end_layout
7939
7940 \end_inset
7941 </cell>
7942 <cell alignment="center" valignment="top" topline="true" usebox="none">
7943 \begin_inset Text
7944
7945 \begin_layout Standard
7946 Oreste
7947 \end_layout
7948
7949 \end_inset
7950 </cell>
7951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7952 \begin_inset Text
7953
7954 \begin_layout Standard
7955 555
7956 \end_layout
7957
7958 \end_inset
7959 </cell>
7960 </row>
7961 <row>
7962 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7963 \begin_inset Text
7964
7965 \begin_layout Standard
7966
7967 \series bold
7968 Gasparini
7969 \end_layout
7970
7971 \end_inset
7972 </cell>
7973 <cell alignment="center" valignment="top" topline="true" usebox="none">
7974 \begin_inset Text
7975
7976 \begin_layout Standard
7977 Franca
7978 \end_layout
7979
7980 \end_inset
7981 </cell>
7982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7983 \begin_inset Text
7984
7985 \begin_layout Standard
7986 555
7987 \end_layout
7988
7989 \end_inset
7990 </cell>
7991 </row>
7992 <row>
7993 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7994 \begin_inset Text
7995
7996 \begin_layout Standard
7997
7998 \series bold
7999 Rizzardi
8000 \end_layout
8001
8002 \end_inset
8003 </cell>
8004 <cell alignment="center" valignment="top" topline="true" usebox="none">
8005 \begin_inset Text
8006
8007 \begin_layout Standard
8008 Paola
8009 \end_layout
8010
8011 \end_inset
8012 </cell>
8013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8014 \begin_inset Text
8015
8016 \begin_layout Standard
8017 555
8018 \end_layout
8019
8020 \end_inset
8021 </cell>
8022 </row>
8023 <row>
8024 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8025 \begin_inset Text
8026
8027 \begin_layout Standard
8028
8029 \series bold
8030 Lassini
8031 \end_layout
8032
8033 \end_inset
8034 </cell>
8035 <cell alignment="center" valignment="top" topline="true" usebox="none">
8036 \begin_inset Text
8037
8038 \begin_layout Standard
8039 Giancarlo
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Standard
8048 555
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 </row>
8054 <row>
8055 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8056 \begin_inset Text
8057
8058 \begin_layout Standard
8059
8060 \series bold
8061 Malfatti
8062 \end_layout
8063
8064 \end_inset
8065 </cell>
8066 <cell alignment="center" valignment="top" topline="true" usebox="none">
8067 \begin_inset Text
8068
8069 \begin_layout Standard
8070 Luciano
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Standard
8079 555
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 </row>
8085 <row>
8086 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8087 \begin_inset Text
8088
8089 \begin_layout Standard
8090
8091 \series bold
8092 Malfatti
8093 \end_layout
8094
8095 \end_inset
8096 </cell>
8097 <cell alignment="center" valignment="top" topline="true" usebox="none">
8098 \begin_inset Text
8099
8100 \begin_layout Standard
8101 Valeriano
8102 \end_layout
8103
8104 \end_inset
8105 </cell>
8106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8107 \begin_inset Text
8108
8109 \begin_layout Standard
8110 555
8111 \end_layout
8112
8113 \end_inset
8114 </cell>
8115 </row>
8116 <row>
8117 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8118 \begin_inset Text
8119
8120 \begin_layout Standard
8121
8122 \series bold
8123 Meneguzzo
8124 \end_layout
8125
8126 \end_inset
8127 </cell>
8128 <cell alignment="center" valignment="top" topline="true" usebox="none">
8129 \begin_inset Text
8130
8131 \begin_layout Standard
8132 Roberto
8133 \end_layout
8134
8135 \end_inset
8136 </cell>
8137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8138 \begin_inset Text
8139
8140 \begin_layout Standard
8141 555
8142 \end_layout
8143
8144 \end_inset
8145 </cell>
8146 </row>
8147 <row bottomline="true">
8148 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8149 \begin_inset Text
8150
8151 \begin_layout Standard
8152
8153 \series bold
8154 Mezzadra
8155 \end_layout
8156
8157 \end_inset
8158 </cell>
8159 <cell alignment="center" valignment="top" topline="true" usebox="none">
8160 \begin_inset Text
8161
8162 \begin_layout Standard
8163 Roberto
8164 \end_layout
8165
8166 \end_inset
8167 </cell>
8168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8169 \begin_inset Text
8170
8171 \begin_layout Standard
8172 555
8173 \end_layout
8174
8175 \end_inset
8176 </cell>
8177 </row>
8178 <row bottomline="true" endlastfoot="true">
8179 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8180 \begin_inset Text
8181
8182 \begin_layout Standard
8183
8184 \end_layout
8185
8186 \end_inset
8187 </cell>
8188 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8189 \begin_inset Text
8190
8191 \begin_layout Standard
8192
8193 \end_layout
8194
8195 \end_inset
8196 </cell>
8197 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8198 \begin_inset Text
8199
8200 \begin_layout Standard
8201
8202 \end_layout
8203
8204 \end_inset
8205 </cell>
8206 </row>
8207 </lyxtabular>
8208
8209 \end_inset
8210
8211
8212 \end_layout
8213
8214 \begin_layout Section
8215 Special Longtable Issues
8216 \begin_inset LatexCommand label
8217 name "sec:Special-Longtable-Issues"
8218
8219 \end_inset
8220
8221
8222 \end_layout
8223
8224 \begin_layout Subsection
8225 Longtable Calculation
8226 \begin_inset LatexCommand index
8227 name "Longtables ! Calculation"
8228
8229 \end_inset
8230
8231
8232 \end_layout
8233
8234 \begin_layout Standard
8235 LaTeX calculates the height of table pages and their page breaks using so
8236  called chunks.
8237  Chunks are pieces of the tables that are at once in LaTeX's memory.
8238  The default value is historically set to only 20 table rows.
8239  If you are using longtables with many pages this may slow down the creation
8240  of your document.
8241  You can safely increase the chunk size to values of 100-1000 by adding
8242  this command line to your document preamble:
8243 \end_layout
8244
8245 \begin_layout Standard
8246
8247 \series bold
8248
8249 \backslash
8250 setcounter{LTchunksize}{100}
8251 \end_layout
8252
8253 \begin_layout Subsection
8254 Floats and Longtables
8255 \begin_inset LatexCommand index
8256 name "Longtables ! Floats"
8257
8258 \end_inset
8259
8260
8261 \end_layout
8262
8263 \begin_layout Standard
8264 There might be problems when a float appears on the same page where a longtable
8265  starts.
8266  To avoid such situation, add the command 
8267 \series bold
8268
8269 \backslash
8270 clearpage
8271 \series default
8272  as ERT before your longtable.
8273 \end_layout
8274
8275 \begin_layout Subsection
8276 Forced Page Breaks
8277 \begin_inset LatexCommand index
8278 name "Longtables ! Forced Page Breaks"
8279
8280 \end_inset
8281
8282
8283 \end_layout
8284
8285 \begin_layout Standard
8286 By default tables are only broken between rows.
8287  If you have a cell with multiples lines and want to have a page break within
8288  the cell, insert the new line command 
8289 \begin_inset Quotes eld
8290 \end_inset
8291
8292
8293 \series bold
8294
8295 \backslash
8296
8297 \backslash
8298
8299 \series default
8300
8301 \begin_inset Quotes erd
8302 \end_inset
8303
8304  as ERT at this point of the cell where it should be broken.
8305  Before the 
8306 \series bold
8307
8308 \backslash
8309
8310 \backslash
8311
8312 \series default
8313  command you have to insert in ERT so many 
8314 \begin_inset Quotes eld
8315 \end_inset
8316
8317
8318 \series bold
8319 &
8320 \series default
8321
8322 \begin_inset Quotes erd
8323 \end_inset
8324
8325  characters like the number of the following table columns.
8326  The 
8327 \series bold
8328 &
8329 \series default
8330  is the character to separate table cells.
8331  Write in ERT after each 
8332 \series bold
8333 &
8334 \series default
8335  the content of the corresponding following cell and delete the content
8336  of these cells.
8337 \newline
8338 Behind the the 
8339 \series bold
8340
8341 \backslash
8342
8343 \backslash
8344
8345 \series default
8346  command, insert so many 
8347 \series bold
8348 &
8349 \series default
8350  characters like the number of table columns before the current column.
8351  In Table\InsetSpace ~
8352
8353 \begin_inset LatexCommand ref
8354 reference "tab:ForcedPagebreak"
8355
8356 \end_inset
8357
8358  the cell that should be broken is in the second column followed by another
8359  column.
8360  Therefore the following command was inserted in the cell as ERT behind
8361  
8362 \begin_inset Quotes eld
8363 \end_inset
8364
8365
8366 \emph on
8367 Castelchiodato,
8368 \emph default
8369
8370 \begin_inset Quotes erd
8371 \end_inset
8372
8373 :
8374 \end_layout
8375
8376 \begin_layout Standard
8377
8378 \series bold
8379 & 111
8380 \backslash
8381
8382 \backslash
8383
8384 \newline
8385 &
8386 \end_layout
8387
8388 \begin_layout Standard
8389 The 
8390 \begin_inset Quotes eld
8391 \end_inset
8392
8393 111
8394 \begin_inset Quotes erd
8395 \end_inset
8396
8397  in the third columns of the row was deleted.
8398  If your footer row of the longtable has for a certain reason no upper line
8399  but you would have a horizontal line where the cell is broken, use this
8400  command instead:
8401 \end_layout
8402
8403 \begin_layout Standard
8404
8405 \series bold
8406 & 111
8407 \backslash
8408
8409 \backslash
8410
8411 \newline
8412
8413 \backslash
8414 hline &
8415 \end_layout
8416
8417 \begin_layout Standard
8418 When the cell to be broken is in the last column, the command
8419 \end_layout
8420
8421 \begin_layout Standard
8422
8423 \series bold
8424
8425 \backslash
8426 setlength{
8427 \backslash
8428 parf\SpecialChar \textcompwordmark{}
8429 illskip}{0pt}
8430 \end_layout
8431
8432 \begin_layout Standard
8433 must be inserted as ERT at the beginning of the cell.
8434  This assures that the part of the cell that will be displayed on the new
8435  page appears with the full width.
8436  
8437 \end_layout
8438
8439 \begin_layout Standard
8440 \align center
8441 \begin_inset Tabular
8442 <lyxtabular version="3" rows="39" columns="3">
8443 <features islongtable="true">
8444 <column alignment="left" valignment="top" leftline="true" width="0cm">
8445 <column alignment="left" valignment="top" rightline="true" width="3cm">
8446 <column alignment="right" valignment="top" rightline="true" width="0pt">
8447 <row endfirsthead="true">
8448 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8449 \begin_inset Text
8450
8451 \begin_layout Standard
8452 \begin_inset Caption
8453
8454 \begin_layout Standard
8455 Table with forced page break in table cell
8456 \begin_inset LatexCommand label
8457 name "tab:ForcedPagebreak"
8458
8459 \end_inset
8460
8461
8462 \begin_inset OptArg
8463 status collapsed
8464
8465 \begin_layout Standard
8466 Table with forced page break in table cell
8467 \end_layout
8468
8469 \end_inset
8470
8471
8472 \end_layout
8473
8474 \end_inset
8475
8476
8477 \begin_inset ERT
8478 status collapsed
8479
8480 \begin_layout Standard
8481
8482
8483 \backslash
8484
8485 \backslash
8486 %
8487 \end_layout
8488
8489 \end_inset
8490
8491
8492 \end_layout
8493
8494 \end_inset
8495 </cell>
8496 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8497 \begin_inset Text
8498
8499 \begin_layout Standard
8500
8501 \end_layout
8502
8503 \end_inset
8504 </cell>
8505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8506 \begin_inset Text
8507
8508 \begin_layout Standard
8509
8510 \end_layout
8511
8512 \end_inset
8513 </cell>
8514 </row>
8515 <row topline="true" bottomline="true" endfirsthead="true">
8516 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8517 \begin_inset Text
8518
8519 \begin_layout Standard
8520
8521 \series bold
8522 Example Phone List (ignore the names)
8523 \end_layout
8524
8525 \end_inset
8526 </cell>
8527 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8528 \begin_inset Text
8529
8530 \begin_layout Standard
8531
8532 \end_layout
8533
8534 \end_inset
8535 </cell>
8536 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8537 \begin_inset Text
8538
8539 \begin_layout Standard
8540
8541 \end_layout
8542
8543 \end_inset
8544 </cell>
8545 </row>
8546 <row topline="true" bottomline="true" endfirsthead="true">
8547 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8548 \begin_inset Text
8549
8550 \begin_layout Standard
8551
8552 \series bold
8553 NAME
8554 \end_layout
8555
8556 \end_inset
8557 </cell>
8558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8559 \begin_inset Text
8560
8561 \begin_layout Standard
8562
8563 \end_layout
8564
8565 \end_inset
8566 </cell>
8567 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8568 \begin_inset Text
8569
8570 \begin_layout Standard
8571
8572 \series bold
8573 TEL.
8574 \end_layout
8575
8576 \end_inset
8577 </cell>
8578 </row>
8579 <row bottomline="true" endhead="true">
8580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8581 \begin_inset Text
8582
8583 \begin_layout Standard
8584 \begin_inset ERT
8585 status collapsed
8586
8587 \begin_layout Standard
8588
8589
8590 \backslash
8591 caption*{Continued table with forced page break in table cell}
8592 \backslash
8593
8594 \backslash
8595 %
8596 \end_layout
8597
8598 \end_inset
8599
8600
8601 \end_layout
8602
8603 \end_inset
8604 </cell>
8605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8606 \begin_inset Text
8607
8608 \begin_layout Standard
8609
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Standard
8618
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 </row>
8624 <row topline="true" bottomline="true" endhead="true">
8625 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8626 \begin_inset Text
8627
8628 \begin_layout Standard
8629  
8630 \series bold
8631 Example Phone List
8632 \end_layout
8633
8634 \end_inset
8635 </cell>
8636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8637 \begin_inset Text
8638
8639 \begin_layout Standard
8640
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8646 \begin_inset Text
8647
8648 \begin_layout Standard
8649
8650 \end_layout
8651
8652 \end_inset
8653 </cell>
8654 </row>
8655 <row topline="true" bottomline="true" endhead="true">
8656 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8657 \begin_inset Text
8658
8659 \begin_layout Standard
8660
8661 \series bold
8662 NAME
8663 \end_layout
8664
8665 \end_inset
8666 </cell>
8667 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8668 \begin_inset Text
8669
8670 \begin_layout Standard
8671
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Standard
8680
8681 \series bold
8682 TEL.
8683 \end_layout
8684
8685 \end_inset
8686 </cell>
8687 </row>
8688 <row topline="true" bottomline="true" endfoot="true">
8689 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8690 \begin_inset Text
8691
8692 \begin_layout Standard
8693 continued on next page
8694 \end_layout
8695
8696 \end_inset
8697 </cell>
8698 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8699 \begin_inset Text
8700
8701 \begin_layout Standard
8702
8703 \end_layout
8704
8705 \end_inset
8706 </cell>
8707 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8708 \begin_inset Text
8709
8710 \begin_layout Standard
8711
8712 \end_layout
8713
8714 \end_inset
8715 </cell>
8716 </row>
8717 <row>
8718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8719 \begin_inset Text
8720
8721 \begin_layout Standard
8722
8723 \series bold
8724 Annovi
8725 \end_layout
8726
8727 \end_inset
8728 </cell>
8729 <cell alignment="center" valignment="top" topline="true" usebox="none">
8730 \begin_inset Text
8731
8732 \begin_layout Standard
8733 Silvia
8734 \end_layout
8735
8736 \end_inset
8737 </cell>
8738 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8739 \begin_inset Text
8740
8741 \begin_layout Standard
8742 111
8743 \end_layout
8744
8745 \end_inset
8746 </cell>
8747 </row>
8748 <row>
8749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8750 \begin_inset Text
8751
8752 \begin_layout Standard
8753
8754 \series bold
8755 Bertoli
8756 \end_layout
8757
8758 \end_inset
8759 </cell>
8760 <cell alignment="center" valignment="top" topline="true" usebox="none">
8761 \begin_inset Text
8762
8763 \begin_layout Standard
8764 Stefano
8765 \end_layout
8766
8767 \end_inset
8768 </cell>
8769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8770 \begin_inset Text
8771
8772 \begin_layout Standard
8773 111
8774 \end_layout
8775
8776 \end_inset
8777 </cell>
8778 </row>
8779 <row>
8780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8781 \begin_inset Text
8782
8783 \begin_layout Standard
8784
8785 \series bold
8786 Bozzi
8787 \end_layout
8788
8789 \end_inset
8790 </cell>
8791 <cell alignment="center" valignment="top" topline="true" usebox="none">
8792 \begin_inset Text
8793
8794 \begin_layout Standard
8795 Walter
8796 \end_layout
8797
8798 \end_inset
8799 </cell>
8800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8801 \begin_inset Text
8802
8803 \begin_layout Standard
8804 111
8805 \end_layout
8806
8807 \end_inset
8808 </cell>
8809 </row>
8810 <row>
8811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8812 \begin_inset Text
8813
8814 \begin_layout Standard
8815
8816 \series bold
8817 Cachia
8818 \end_layout
8819
8820 \end_inset
8821 </cell>
8822 <cell alignment="center" valignment="top" topline="true" usebox="none">
8823 \begin_inset Text
8824
8825 \begin_layout Standard
8826 Maria
8827 \end_layout
8828
8829 \end_inset
8830 </cell>
8831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8832 \begin_inset Text
8833
8834 \begin_layout Standard
8835 111
8836 \end_layout
8837
8838 \end_inset
8839 </cell>
8840 </row>
8841 <row>
8842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8843 \begin_inset Text
8844
8845 \begin_layout Standard
8846
8847 \series bold
8848 Cachia
8849 \end_layout
8850
8851 \end_inset
8852 </cell>
8853 <cell alignment="center" valignment="top" topline="true" usebox="none">
8854 \begin_inset Text
8855
8856 \begin_layout Standard
8857 Maurizio
8858 \end_layout
8859
8860 \end_inset
8861 </cell>
8862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8863 \begin_inset Text
8864
8865 \begin_layout Standard
8866 111
8867 \end_layout
8868
8869 \end_inset
8870 </cell>
8871 </row>
8872 <row>
8873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8874 \begin_inset Text
8875
8876 \begin_layout Standard
8877
8878 \series bold
8879 Cinquemani
8880 \end_layout
8881
8882 \end_inset
8883 </cell>
8884 <cell alignment="center" valignment="top" topline="true" usebox="none">
8885 \begin_inset Text
8886
8887 \begin_layout Standard
8888 Giusi
8889 \end_layout
8890
8891 \end_inset
8892 </cell>
8893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8894 \begin_inset Text
8895
8896 \begin_layout Standard
8897 111
8898 \end_layout
8899
8900 \end_inset
8901 </cell>
8902 </row>
8903 <row>
8904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8905 \begin_inset Text
8906
8907 \begin_layout Standard
8908
8909 \series bold
8910 Colin
8911 \end_layout
8912
8913 \end_inset
8914 </cell>
8915 <cell alignment="center" valignment="top" topline="true" usebox="none">
8916 \begin_inset Text
8917
8918 \begin_layout Standard
8919 Bernard
8920 \end_layout
8921
8922 \end_inset
8923 </cell>
8924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8925 \begin_inset Text
8926
8927 \begin_layout Standard
8928 111
8929 \end_layout
8930
8931 \end_inset
8932 </cell>
8933 </row>
8934 <row>
8935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8936 \begin_inset Text
8937
8938 \begin_layout Standard
8939
8940 \series bold
8941 Concli
8942 \end_layout
8943
8944 \end_inset
8945 </cell>
8946 <cell alignment="center" valignment="top" topline="true" usebox="none">
8947 \begin_inset Text
8948
8949 \begin_layout Standard
8950 Gianfranco
8951 \end_layout
8952
8953 \end_inset
8954 </cell>
8955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8956 \begin_inset Text
8957
8958 \begin_layout Standard
8959 111
8960 \end_layout
8961
8962 \end_inset
8963 </cell>
8964 </row>
8965 <row>
8966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8967 \begin_inset Text
8968
8969 \begin_layout Standard
8970
8971 \series bold
8972 Dal Bosco
8973 \end_layout
8974
8975 \end_inset
8976 </cell>
8977 <cell alignment="center" valignment="top" topline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Standard
8981 Carolina
8982 \end_layout
8983
8984 \end_inset
8985 </cell>
8986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8987 \begin_inset Text
8988
8989 \begin_layout Standard
8990 111
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 </row>
8996 <row>
8997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8998 \begin_inset Text
8999
9000 \begin_layout Standard
9001
9002 \series bold
9003 Dalpiaz
9004 \end_layout
9005
9006 \end_inset
9007 </cell>
9008 <cell alignment="center" valignment="top" topline="true" usebox="none">
9009 \begin_inset Text
9010
9011 \begin_layout Standard
9012 Annamaria
9013 \end_layout
9014
9015 \end_inset
9016 </cell>
9017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9018 \begin_inset Text
9019
9020 \begin_layout Standard
9021 111
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 </row>
9027 <row>
9028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9029 \begin_inset Text
9030
9031 \begin_layout Standard
9032
9033 \series bold
9034 Feliciello
9035 \end_layout
9036
9037 \end_inset
9038 </cell>
9039 <cell alignment="center" valignment="top" topline="true" usebox="none">
9040 \begin_inset Text
9041
9042 \begin_layout Standard
9043 Domenico
9044 \end_layout
9045
9046 \end_inset
9047 </cell>
9048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9049 \begin_inset Text
9050
9051 \begin_layout Standard
9052 111
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 </row>
9058 <row>
9059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9060 \begin_inset Text
9061
9062 \begin_layout Standard
9063
9064 \series bold
9065 Focarelli
9066 \end_layout
9067
9068 \end_inset
9069 </cell>
9070 <cell alignment="center" valignment="top" topline="true" usebox="none">
9071 \begin_inset Text
9072
9073 \begin_layout Standard
9074 Paola
9075 \end_layout
9076
9077 \end_inset
9078 </cell>
9079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9080 \begin_inset Text
9081
9082 \begin_layout Standard
9083 111
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 </row>
9089 <row>
9090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9091 \begin_inset Text
9092
9093 \begin_layout Standard
9094
9095 \series bold
9096 Galletti
9097 \end_layout
9098
9099 \end_inset
9100 </cell>
9101 <cell alignment="center" valignment="top" topline="true" usebox="none">
9102 \begin_inset Text
9103
9104 \begin_layout Standard
9105 Oreste
9106 \end_layout
9107
9108 \end_inset
9109 </cell>
9110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9111 \begin_inset Text
9112
9113 \begin_layout Standard
9114 111
9115 \end_layout
9116
9117 \end_inset
9118 </cell>
9119 </row>
9120 <row>
9121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Standard
9125
9126 \series bold
9127 Gasparini
9128 \end_layout
9129
9130 \end_inset
9131 </cell>
9132 <cell alignment="center" valignment="top" topline="true" usebox="none">
9133 \begin_inset Text
9134
9135 \begin_layout Standard
9136 Franca
9137 \end_layout
9138
9139 \end_inset
9140 </cell>
9141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Standard
9145 111
9146 \end_layout
9147
9148 \end_inset
9149 </cell>
9150 </row>
9151 <row>
9152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Standard
9156
9157 \series bold
9158 Lassini
9159 \end_layout
9160
9161 \end_inset
9162 </cell>
9163 <cell alignment="center" valignment="top" topline="true" usebox="none">
9164 \begin_inset Text
9165
9166 \begin_layout Standard
9167 Giancarlo
9168 \end_layout
9169
9170 \end_inset
9171 </cell>
9172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Standard
9176 111
9177 \end_layout
9178
9179 \end_inset
9180 </cell>
9181 </row>
9182 <row>
9183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Standard
9187
9188 \series bold
9189 Malfatti
9190 \end_layout
9191
9192 \end_inset
9193 </cell>
9194 <cell alignment="center" valignment="top" topline="true" usebox="none">
9195 \begin_inset Text
9196
9197 \begin_layout Standard
9198 Luciano
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9204 \begin_inset Text
9205
9206 \begin_layout Standard
9207 111
9208 \end_layout
9209
9210 \end_inset
9211 </cell>
9212 </row>
9213 <row>
9214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Standard
9218
9219 \series bold
9220 Malfatti
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 <cell alignment="center" valignment="top" topline="true" usebox="none">
9226 \begin_inset Text
9227
9228 \begin_layout Standard
9229 Valeriano
9230 \end_layout
9231
9232 \end_inset
9233 </cell>
9234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Standard
9238 111
9239 \end_layout
9240
9241 \end_inset
9242 </cell>
9243 </row>
9244 <row>
9245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Standard
9249
9250 \series bold
9251 Meneguzzo
9252 \end_layout
9253
9254 \end_inset
9255 </cell>
9256 <cell alignment="center" valignment="top" topline="true" usebox="none">
9257 \begin_inset Text
9258
9259 \begin_layout Standard
9260 Roberto
9261 \end_layout
9262
9263 \end_inset
9264 </cell>
9265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Standard
9269 111
9270 \end_layout
9271
9272 \end_inset
9273 </cell>
9274 </row>
9275 <row>
9276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Standard
9280
9281 \series bold
9282 Mezzadra
9283 \end_layout
9284
9285 \end_inset
9286 </cell>
9287 <cell alignment="center" valignment="top" topline="true" usebox="none">
9288 \begin_inset Text
9289
9290 \begin_layout Standard
9291 Roberto
9292 \end_layout
9293
9294 \end_inset
9295 </cell>
9296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Standard
9300 111
9301 \end_layout
9302
9303 \end_inset
9304 </cell>
9305 </row>
9306 <row>
9307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9308 \begin_inset Text
9309
9310 \begin_layout Standard
9311
9312 \series bold
9313 Pirpamer
9314 \end_layout
9315
9316 \end_inset
9317 </cell>
9318 <cell alignment="center" valignment="top" topline="true" usebox="none">
9319 \begin_inset Text
9320
9321 \begin_layout Standard
9322 Erich
9323 \end_layout
9324
9325 \end_inset
9326 </cell>
9327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9328 \begin_inset Text
9329
9330 \begin_layout Standard
9331 111
9332 \end_layout
9333
9334 \end_inset
9335 </cell>
9336 </row>
9337 <row>
9338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9339 \begin_inset Text
9340
9341 \begin_layout Standard
9342
9343 \series bold
9344 Pochiesa
9345 \end_layout
9346
9347 \end_inset
9348 </cell>
9349 <cell alignment="center" valignment="top" topline="true" usebox="none">
9350 \begin_inset Text
9351
9352 \begin_layout Standard
9353 Paolo
9354 \end_layout
9355
9356 \end_inset
9357 </cell>
9358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9359 \begin_inset Text
9360
9361 \begin_layout Standard
9362 111, 222
9363 \end_layout
9364
9365 \end_inset
9366 </cell>
9367 </row>
9368 <row>
9369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9370 \begin_inset Text
9371
9372 \begin_layout Standard
9373
9374 \series bold
9375 Radina
9376 \end_layout
9377
9378 \end_inset
9379 </cell>
9380 <cell alignment="center" valignment="top" topline="true" usebox="none">
9381 \begin_inset Text
9382
9383 \begin_layout Standard
9384 Claudio
9385 \end_layout
9386
9387 \end_inset
9388 </cell>
9389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9390 \begin_inset Text
9391
9392 \begin_layout Standard
9393 111
9394 \end_layout
9395
9396 \end_inset
9397 </cell>
9398 </row>
9399 <row>
9400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9401 \begin_inset Text
9402
9403 \begin_layout Standard
9404
9405 \series bold
9406 Rizzardi
9407 \end_layout
9408
9409 \end_inset
9410 </cell>
9411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9412 \begin_inset Text
9413
9414 \begin_layout Standard
9415 Paolo, 11.
9416  Fürst von Montecompatri, 11.
9417  Fürst von Sulmona und Vivaro, 10.
9418  Fürst von Rossano, 5.
9419  Herzog von Canemorte, 11.
9420  Herzog von Palombara, 5.
9421  Herzog von Castelchiodato,
9422 \begin_inset ERT
9423 status collapsed
9424
9425 \begin_layout Standard
9426
9427 & 111
9428 \backslash
9429
9430 \backslash
9431
9432 \end_layout
9433
9434 \begin_layout Standard
9435
9436 &
9437 \end_layout
9438
9439 \end_inset
9440
9441  11.
9442  Herzog von Poggionativo, 11.
9443  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9444  Graf von Valinfreda, 11.
9445  Baron von Cropalati, 11.
9446  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9447 \end_layout
9448
9449 \end_inset
9450 </cell>
9451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9452 \begin_inset Text
9453
9454 \begin_layout Standard
9455
9456 \end_layout
9457
9458 \end_inset
9459 </cell>
9460 </row>
9461 <row>
9462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9463 \begin_inset Text
9464
9465 \begin_layout Standard
9466
9467 \series bold
9468 Stuffer
9469 \end_layout
9470
9471 \end_inset
9472 </cell>
9473 <cell alignment="center" valignment="top" topline="true" usebox="none">
9474 \begin_inset Text
9475
9476 \begin_layout Standard
9477 Oskar
9478 \end_layout
9479
9480 \end_inset
9481 </cell>
9482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9483 \begin_inset Text
9484
9485 \begin_layout Standard
9486 111
9487 \end_layout
9488
9489 \end_inset
9490 </cell>
9491 </row>
9492 <row>
9493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9494 \begin_inset Text
9495
9496 \begin_layout Standard
9497
9498 \series bold
9499 Tacchelli
9500 \end_layout
9501
9502 \end_inset
9503 </cell>
9504 <cell alignment="center" valignment="top" topline="true" usebox="none">
9505 \begin_inset Text
9506
9507 \begin_layout Standard
9508 Ugo
9509 \end_layout
9510
9511 \end_inset
9512 </cell>
9513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9514 \begin_inset Text
9515
9516 \begin_layout Standard
9517 111
9518 \end_layout
9519
9520 \end_inset
9521 </cell>
9522 </row>
9523 <row>
9524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9525 \begin_inset Text
9526
9527 \begin_layout Standard
9528
9529 \series bold
9530 Tezzele
9531 \end_layout
9532
9533 \end_inset
9534 </cell>
9535 <cell alignment="center" valignment="top" topline="true" usebox="none">
9536 \begin_inset Text
9537
9538 \begin_layout Standard
9539 Margit
9540 \end_layout
9541
9542 \end_inset
9543 </cell>
9544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9545 \begin_inset Text
9546
9547 \begin_layout Standard
9548 111
9549 \end_layout
9550
9551 \end_inset
9552 </cell>
9553 </row>
9554 <row>
9555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9556 \begin_inset Text
9557
9558 \begin_layout Standard
9559
9560 \series bold
9561 Unterkalmsteiner
9562 \end_layout
9563
9564 \end_inset
9565 </cell>
9566 <cell alignment="center" valignment="top" topline="true" usebox="none">
9567 \begin_inset Text
9568
9569 \begin_layout Standard
9570 Frieda
9571 \end_layout
9572
9573 \end_inset
9574 </cell>
9575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9576 \begin_inset Text
9577
9578 \begin_layout Standard
9579 111
9580 \end_layout
9581
9582 \end_inset
9583 </cell>
9584 </row>
9585 <row>
9586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9587 \begin_inset Text
9588
9589 \begin_layout Standard
9590
9591 \series bold
9592 Vieider
9593 \end_layout
9594
9595 \end_inset
9596 </cell>
9597 <cell alignment="center" valignment="top" topline="true" usebox="none">
9598 \begin_inset Text
9599
9600 \begin_layout Standard
9601 Hilde
9602 \end_layout
9603
9604 \end_inset
9605 </cell>
9606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9607 \begin_inset Text
9608
9609 \begin_layout Standard
9610 111
9611 \end_layout
9612
9613 \end_inset
9614 </cell>
9615 </row>
9616 <row>
9617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9618 \begin_inset Text
9619
9620 \begin_layout Standard
9621
9622 \series bold
9623 Vigna
9624 \end_layout
9625
9626 \end_inset
9627 </cell>
9628 <cell alignment="center" valignment="top" topline="true" usebox="none">
9629 \begin_inset Text
9630
9631 \begin_layout Standard
9632 Jürgen
9633 \end_layout
9634
9635 \end_inset
9636 </cell>
9637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9638 \begin_inset Text
9639
9640 \begin_layout Standard
9641 111
9642 \end_layout
9643
9644 \end_inset
9645 </cell>
9646 </row>
9647 <row>
9648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9649 \begin_inset Text
9650
9651 \begin_layout Standard
9652
9653 \series bold
9654 Weber
9655 \end_layout
9656
9657 \end_inset
9658 </cell>
9659 <cell alignment="center" valignment="top" topline="true" usebox="none">
9660 \begin_inset Text
9661
9662 \begin_layout Standard
9663 Maurizio
9664 \end_layout
9665
9666 \end_inset
9667 </cell>
9668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9669 \begin_inset Text
9670
9671 \begin_layout Standard
9672 111
9673 \end_layout
9674
9675 \end_inset
9676 </cell>
9677 </row>
9678 <row bottomline="true">
9679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9680 \begin_inset Text
9681
9682 \begin_layout Standard
9683
9684 \series bold
9685 Winkler
9686 \end_layout
9687
9688 \end_inset
9689 </cell>
9690 <cell alignment="center" valignment="top" topline="true" usebox="none">
9691 \begin_inset Text
9692
9693 \begin_layout Standard
9694 Franz
9695 \end_layout
9696
9697 \end_inset
9698 </cell>
9699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9700 \begin_inset Text
9701
9702 \begin_layout Standard
9703 111
9704 \end_layout
9705
9706 \end_inset
9707 </cell>
9708 </row>
9709 <row endlastfoot="true">
9710 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9711 \begin_inset Text
9712
9713 \begin_layout Standard
9714
9715 \end_layout
9716
9717 \end_inset
9718 </cell>
9719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9720 \begin_inset Text
9721
9722 \begin_layout Standard
9723
9724 \end_layout
9725
9726 \end_inset
9727 </cell>
9728 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9729 \begin_inset Text
9730
9731 \begin_layout Standard
9732
9733 \end_layout
9734
9735 \end_inset
9736 </cell>
9737 </row>
9738 </lyxtabular>
9739
9740 \end_inset
9741
9742
9743 \end_layout
9744
9745 \begin_layout Section
9746 Multiple Lines Columns and Rows
9747 \end_layout
9748
9749 \begin_layout Subsection
9750 Multiple Lines in Table Cells
9751 \begin_inset LatexCommand label
9752 name "sub:Multiple-Lines-in"
9753
9754 \end_inset
9755
9756
9757 \begin_inset LatexCommand index
9758 name "Multiple Lines in Table Cells"
9759
9760 \end_inset
9761
9762
9763 \begin_inset LatexCommand index
9764 name "Table ! Linebreaks"
9765
9766 \end_inset
9767
9768
9769 \end_layout
9770
9771 \begin_layout Standard
9772 \align center
9773 \begin_inset Float table
9774 placement H
9775 wide false
9776 sideways false
9777 status collapsed
9778
9779 \begin_layout Standard
9780 \begin_inset Caption
9781
9782 \begin_layout Standard
9783 \begin_inset LatexCommand label
9784 name "tab:Table-with-multiple"
9785
9786 \end_inset
9787
9788 Table with multiple lines in cells
9789 \end_layout
9790
9791 \end_inset
9792
9793
9794 \end_layout
9795
9796 \begin_layout Standard
9797 \align center
9798 \begin_inset Tabular
9799 <lyxtabular version="3" rows="3" columns="3">
9800 <features>
9801 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9802 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9803 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9804 <row topline="true">
9805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9806 \begin_inset Text
9807
9808 \begin_layout Standard
9809 multiple
9810 \begin_inset ERT
9811 status collapsed
9812
9813 \begin_layout Standard
9814
9815
9816 \backslash
9817 linebreak 
9818 \end_layout
9819
9820 \end_inset
9821
9822  lines
9823 \end_layout
9824
9825 \end_inset
9826 </cell>
9827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9828 \begin_inset Text
9829
9830 \begin_layout Standard
9831 b
9832 \end_layout
9833
9834 \end_inset
9835 </cell>
9836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9837 \begin_inset Text
9838
9839 \begin_layout Standard
9840 c
9841 \end_layout
9842
9843 \end_inset
9844 </cell>
9845 </row>
9846 <row topline="true">
9847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9848 \begin_inset Text
9849
9850 \begin_layout Standard
9851 d
9852 \end_layout
9853
9854 \end_inset
9855 </cell>
9856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9857 \begin_inset Text
9858
9859 \begin_layout Standard
9860 e
9861 \end_layout
9862
9863 \end_inset
9864 </cell>
9865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9866 \begin_inset Text
9867
9868 \begin_layout Standard
9869 f
9870 \end_layout
9871
9872 \end_inset
9873 </cell>
9874 </row>
9875 <row topline="true" bottomline="true">
9876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9877 \begin_inset Text
9878
9879 \begin_layout Standard
9880 g
9881 \end_layout
9882
9883 \end_inset
9884 </cell>
9885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9886 \begin_inset Text
9887
9888 \begin_layout Standard
9889 h
9890 \end_layout
9891
9892 \end_inset
9893 </cell>
9894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9895 \begin_inset Text
9896
9897 \begin_layout Standard
9898 i
9899 \end_layout
9900
9901 \end_inset
9902 </cell>
9903 </row>
9904 </lyxtabular>
9905
9906 \end_inset
9907
9908
9909 \end_layout
9910
9911 \end_inset
9912
9913
9914 \end_layout
9915
9916 \begin_layout Standard
9917 Adjusting a fixed width for a column, enables to enter text as a paragraph
9918  with multiple lines and hyphenations.
9919 \end_layout
9920
9921 \begin_layout Standard
9922 To produce Table\InsetSpace ~
9923
9924 \begin_inset LatexCommand ref
9925 reference "tab:Table-with-multiple"
9926
9927 \end_inset
9928
9929 , create a 3×3 table, mark the first cell and right-click on it.
9930  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9931 cm and choose centered
9932  for the vertical and horizontal alignment.
9933  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9934 cm, only one line will appear.
9935  To get two lines, we add a line break with the command
9936 \end_layout
9937
9938 \begin_layout Standard
9939
9940 \series bold
9941
9942 \backslash
9943 linebreak
9944 \end_layout
9945
9946 \begin_layout Standard
9947 in ERT.
9948  If the text is wider than the set cell width it will automatically be broken
9949  to several lines.
9950 \end_layout
9951
9952 \begin_layout Standard
9953 To center the text inside the two other cells of the first row vertically,
9954  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9955 cm and choose
9956  centered alignments.
9957  Then do the same for the third cell of the row.
9958 \end_layout
9959
9960 \begin_layout Standard
9961 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9962  by LaTeX if it is the first entry.
9963  Therefore you need to insert something, to make the word not being the
9964  first entry: Add the command
9965 \end_layout
9966
9967 \begin_layout Standard
9968
9969 \series bold
9970
9971 \backslash
9972 hspace{0pt}
9973 \end_layout
9974
9975 \begin_layout Standard
9976 in ERT before the word.
9977  As the space is zero, it doesn't change the output.
9978  Table\InsetSpace ~
9979
9980 \begin_inset LatexCommand ref
9981 reference "tab:Table-with-and"
9982
9983 \end_inset
9984
9985  shows the effect.
9986 \end_layout
9987
9988 \begin_layout Standard
9989 \begin_inset Float table
9990 wide false
9991 sideways false
9992 status open
9993
9994 \begin_layout Standard
9995 \begin_inset Caption
9996
9997 \begin_layout Standard
9998 \begin_inset LatexCommand label
9999 name "tab:Table-with-and"
10000
10001 \end_inset
10002
10003 Table with and without hyphenation
10004 \end_layout
10005
10006 \end_inset
10007
10008
10009 \end_layout
10010
10011 \begin_layout Standard
10012
10013 \hfill
10014
10015 \begin_inset Tabular
10016 <lyxtabular version="3" rows="3" columns="3">
10017 <features>
10018 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10019 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10020 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10021 <row topline="true">
10022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10023 \begin_inset Text
10024
10025 \begin_layout Standard
10026 verylongtablecellword
10027 \end_layout
10028
10029 \end_inset
10030 </cell>
10031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10032 \begin_inset Text
10033
10034 \begin_layout Standard
10035 b
10036 \end_layout
10037
10038 \end_inset
10039 </cell>
10040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10041 \begin_inset Text
10042
10043 \begin_layout Standard
10044 c
10045 \end_layout
10046
10047 \end_inset
10048 </cell>
10049 </row>
10050 <row topline="true">
10051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10052 \begin_inset Text
10053
10054 \begin_layout Standard
10055 d
10056 \end_layout
10057
10058 \end_inset
10059 </cell>
10060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10061 \begin_inset Text
10062
10063 \begin_layout Standard
10064 e
10065 \end_layout
10066
10067 \end_inset
10068 </cell>
10069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10070 \begin_inset Text
10071
10072 \begin_layout Standard
10073 f
10074 \end_layout
10075
10076 \end_inset
10077 </cell>
10078 </row>
10079 <row topline="true" bottomline="true">
10080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10081 \begin_inset Text
10082
10083 \begin_layout Standard
10084 g
10085 \end_layout
10086
10087 \end_inset
10088 </cell>
10089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10090 \begin_inset Text
10091
10092 \begin_layout Standard
10093 h
10094 \end_layout
10095
10096 \end_inset
10097 </cell>
10098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10099 \begin_inset Text
10100
10101 \begin_layout Standard
10102 i
10103 \end_layout
10104
10105 \end_inset
10106 </cell>
10107 </row>
10108 </lyxtabular>
10109
10110 \end_inset
10111
10112
10113 \hfill
10114
10115 \begin_inset Tabular
10116 <lyxtabular version="3" rows="3" columns="3">
10117 <features>
10118 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10119 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10120 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10121 <row topline="true">
10122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10123 \begin_inset Text
10124
10125 \begin_layout Standard
10126 \begin_inset ERT
10127 status collapsed
10128
10129 \begin_layout Standard
10130
10131
10132 \backslash
10133 hspace{0pt}
10134 \end_layout
10135
10136 \end_inset
10137
10138 verylongtablecellword
10139 \end_layout
10140
10141 \end_inset
10142 </cell>
10143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10144 \begin_inset Text
10145
10146 \begin_layout Standard
10147 b
10148 \end_layout
10149
10150 \end_inset
10151 </cell>
10152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10153 \begin_inset Text
10154
10155 \begin_layout Standard
10156 c
10157 \end_layout
10158
10159 \end_inset
10160 </cell>
10161 </row>
10162 <row topline="true">
10163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10164 \begin_inset Text
10165
10166 \begin_layout Standard
10167 d
10168 \end_layout
10169
10170 \end_inset
10171 </cell>
10172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10173 \begin_inset Text
10174
10175 \begin_layout Standard
10176 e
10177 \end_layout
10178
10179 \end_inset
10180 </cell>
10181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10182 \begin_inset Text
10183
10184 \begin_layout Standard
10185 f
10186 \end_layout
10187
10188 \end_inset
10189 </cell>
10190 </row>
10191 <row topline="true" bottomline="true">
10192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10193 \begin_inset Text
10194
10195 \begin_layout Standard
10196 g
10197 \end_layout
10198
10199 \end_inset
10200 </cell>
10201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10202 \begin_inset Text
10203
10204 \begin_layout Standard
10205 h
10206 \end_layout
10207
10208 \end_inset
10209 </cell>
10210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10211 \begin_inset Text
10212
10213 \begin_layout Standard
10214 i
10215 \end_layout
10216
10217 \end_inset
10218 </cell>
10219 </row>
10220 </lyxtabular>
10221
10222 \end_inset
10223
10224
10225 \hfill
10226
10227 \end_layout
10228
10229 \end_inset
10230
10231
10232 \end_layout
10233
10234 \begin_layout Standard
10235
10236 \newpage
10237
10238 \end_layout
10239
10240 \begin_layout Subsection
10241 Multicolumns
10242 \begin_inset LatexCommand label
10243 name "sub:Multicolumns"
10244
10245 \end_inset
10246
10247
10248 \begin_inset LatexCommand index
10249 name "Multicolumns"
10250
10251 \end_inset
10252
10253
10254 \begin_inset LatexCommand index
10255 name "Table ! Multicolumns"
10256
10257 \end_inset
10258
10259
10260 \end_layout
10261
10262 \begin_layout Subsubsection
10263 Multicolumn Basics
10264 \end_layout
10265
10266 \begin_layout Standard
10267 To span a cell over multiple columns, mark as much cells within a line that
10268  should be one spanned cell and use either the table-toolbar button 
10269 \begin_inset Graphics
10270         filename ../images/tabular-feature_multicolumn.xpm
10271         scale 85
10272
10273 \end_inset
10274
10275 , or the menu 
10276 \family sans
10277 Edit\SpecialChar \menuseparator
10278 Table\SpecialChar \menuseparator
10279 Multicolumn
10280 \family default
10281 , or right click on the marked cells and choose multicolumn in the appearing
10282  table dialog under the tab 
10283 \family sans
10284 Table Settings
10285 \family default
10286 .
10287 \end_layout
10288
10289 \begin_layout Standard
10290 Multicolumns have there own cell settings.
10291  That means changing cell borders, cell alignment, and the width only affects
10292  the multicolumn.
10293  Here is an example table with a multicolumn cell in the first row and one
10294  in the last row without the upper border:
10295 \end_layout
10296
10297 \begin_layout Standard
10298 \align center
10299 \begin_inset Tabular
10300 <lyxtabular version="3" rows="3" columns="4">
10301 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10302 <column alignment="center" valignment="top" leftline="true" width="0pt">
10303 <column alignment="center" valignment="middle" leftline="true" width="0">
10304 <column alignment="center" valignment="top" leftline="true" width="0in">
10305 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10306 <row topline="true" bottomline="true">
10307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10308 \begin_inset Text
10309
10310 \begin_layout Standard
10311 abc
10312 \end_layout
10313
10314 \end_inset
10315 </cell>
10316 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10317 \begin_inset Text
10318
10319 \begin_layout Standard
10320 def
10321 \lang ngerman
10322  
10323 \lang english
10324 ghi
10325 \end_layout
10326
10327 \end_inset
10328 </cell>
10329 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10330 \begin_inset Text
10331
10332 \begin_layout Standard
10333
10334 \end_layout
10335
10336 \end_inset
10337 </cell>
10338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10339 \begin_inset Text
10340
10341 \begin_layout Standard
10342 jkl
10343 \end_layout
10344
10345 \end_inset
10346 </cell>
10347 </row>
10348 <row topline="true">
10349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10350 \begin_inset Text
10351
10352 \begin_layout Standard
10353
10354 \family roman
10355 \series medium
10356 \shape up
10357 \size normal
10358 \emph off
10359 \bar no
10360 \noun off
10361 \color none
10362 A
10363 \end_layout
10364
10365 \end_inset
10366 </cell>
10367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10368 \begin_inset Text
10369
10370 \begin_layout Standard
10371 B
10372 \end_layout
10373
10374 \end_inset
10375 </cell>
10376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10377 \begin_inset Text
10378
10379 \begin_layout Standard
10380 C
10381 \end_layout
10382
10383 \end_inset
10384 </cell>
10385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10386 \begin_inset Text
10387
10388 \begin_layout Standard
10389 D
10390 \end_layout
10391
10392 \end_inset
10393 </cell>
10394 </row>
10395 <row topline="true" bottomline="true">
10396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10397 \begin_inset Text
10398
10399 \begin_layout Standard
10400 1
10401 \end_layout
10402
10403 \end_inset
10404 </cell>
10405 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10406 \begin_inset Text
10407
10408 \begin_layout Standard
10409 2
10410 \end_layout
10411
10412 \end_inset
10413 </cell>
10414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10415 \begin_inset Text
10416
10417 \begin_layout Standard
10418 3
10419 \end_layout
10420
10421 \end_inset
10422 </cell>
10423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10424 \begin_inset Text
10425
10426 \begin_layout Standard
10427 4
10428 \end_layout
10429
10430 \end_inset
10431 </cell>
10432 </row>
10433 </lyxtabular>
10434
10435 \end_inset
10436
10437
10438 \end_layout
10439
10440 \begin_layout Subsubsection
10441 Multicolumn Calculations
10442 \begin_inset LatexCommand label
10443 name "sub:Multicolumn-Calculations"
10444
10445 \end_inset
10446
10447
10448 \begin_inset LatexCommand index
10449 name "Multicolumns ! Calculations"
10450
10451 \end_inset
10452
10453
10454 \end_layout
10455
10456 \begin_layout Standard
10457 LyX supports multicolumns directly, but we have to take notice of the cell
10458  width of the columns spanned by the multicolumn cell.
10459 \end_layout
10460
10461 \begin_layout Standard
10462 \begin_inset Float table
10463 wide false
10464 sideways false
10465 status open
10466
10467 \begin_layout Standard
10468 \begin_inset Caption
10469
10470 \begin_layout Standard
10471 \begin_inset LatexCommand label
10472 name "tab:Table-with-centered"
10473
10474 \end_inset
10475
10476 Table with centered multicolumn text above two columns that have exactly
10477  half the width of the multicolumn cell
10478 \begin_inset OptArg
10479 status collapsed
10480
10481 \begin_layout Standard
10482 Perfect multicolumn table
10483 \end_layout
10484
10485 \end_inset
10486
10487
10488 \end_layout
10489
10490 \end_inset
10491
10492
10493 \end_layout
10494
10495 \begin_layout Standard
10496 \align center
10497 \begin_inset Tabular
10498 <lyxtabular version="3" rows="3" columns="3">
10499 <features>
10500 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10501 <column alignment="center" valignment="middle" leftline="true" width="0">
10502 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10503 <row topline="true">
10504 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10505 \begin_inset Text
10506
10507 \begin_layout Standard
10508 multiple lines multicolumn
10509 \end_layout
10510
10511 \end_inset
10512 </cell>
10513 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10514 \begin_inset Text
10515
10516 \begin_layout Standard
10517
10518 \end_layout
10519
10520 \end_inset
10521 </cell>
10522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10523 \begin_inset Text
10524
10525 \begin_layout Standard
10526 c
10527 \end_layout
10528
10529 \end_inset
10530 </cell>
10531 </row>
10532 <row topline="true">
10533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10534 \begin_inset Text
10535
10536 \begin_layout Standard
10537 d
10538 \end_layout
10539
10540 \end_inset
10541 </cell>
10542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10543 \begin_inset Text
10544
10545 \begin_layout Standard
10546 e
10547 \end_layout
10548
10549 \end_inset
10550 </cell>
10551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10552 \begin_inset Text
10553
10554 \begin_layout Standard
10555 f
10556 \end_layout
10557
10558 \end_inset
10559 </cell>
10560 </row>
10561 <row topline="true" bottomline="true">
10562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10563 \begin_inset Text
10564
10565 \begin_layout Standard
10566 g
10567 \end_layout
10568
10569 \end_inset
10570 </cell>
10571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10572 \begin_inset Text
10573
10574 \begin_layout Standard
10575 h
10576 \end_layout
10577
10578 \end_inset
10579 </cell>
10580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Standard
10584 i
10585 \end_layout
10586
10587 \end_inset
10588 </cell>
10589 </row>
10590 </lyxtabular>
10591
10592 \end_inset
10593
10594
10595 \end_layout
10596
10597 \end_inset
10598
10599
10600 \end_layout
10601
10602 \begin_layout Standard
10603 To create for example Table\InsetSpace ~
10604
10605 \begin_inset LatexCommand ref
10606 reference "tab:Table-with-centered"
10607
10608 \end_inset
10609
10610 , mark the first two cells in the first row a 3×3 table and right-click
10611  on them.
10612  Now choose for this cell 
10613 \emph on
10614 multicolumn
10615 \emph default
10616
10617 \emph on
10618 centered alignment
10619 \emph default
10620  and a width of 2.5\InsetSpace \thinspace{}
10621 cm in the table dialog.
10622  The spanned columns should have exactly half the width of the multicolumn
10623  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10624 cm for the first column.
10625  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10626 cm (multicolumn
10627  width - width of first column).
10628  This was done for Table\InsetSpace ~
10629
10630 \begin_inset LatexCommand ref
10631 reference "tab:Table-without-half"
10632
10633 \end_inset
10634
10635 .
10636 \end_layout
10637
10638 \begin_layout Standard
10639 \begin_inset Float table
10640 wide false
10641 sideways false
10642 status open
10643
10644 \begin_layout Standard
10645 \begin_inset Caption
10646
10647 \begin_layout Standard
10648 \begin_inset LatexCommand label
10649 name "tab:Table-without-half"
10650
10651 \end_inset
10652
10653 Table where the spanned table columns have not exactly half the width of
10654  the multicolumn cell
10655 \begin_inset OptArg
10656 status collapsed
10657
10658 \begin_layout Standard
10659 Imperfect multicolumn table
10660 \end_layout
10661
10662 \end_inset
10663
10664
10665 \end_layout
10666
10667 \end_inset
10668
10669
10670 \end_layout
10671
10672 \begin_layout Standard
10673 \align center
10674 \begin_inset Tabular
10675 <lyxtabular version="3" rows="3" columns="3">
10676 <features>
10677 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10678 <column alignment="center" valignment="top" leftline="true" width="0">
10679 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10680 <row topline="true" bottomline="true">
10681 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10682 \begin_inset Text
10683
10684 \begin_layout Standard
10685 multiple lines multicolumn
10686 \end_layout
10687
10688 \end_inset
10689 </cell>
10690 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10691 \begin_inset Text
10692
10693 \begin_layout Standard
10694
10695 \end_layout
10696
10697 \end_inset
10698 </cell>
10699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10700 \begin_inset Text
10701
10702 \begin_layout Standard
10703 c
10704 \end_layout
10705
10706 \end_inset
10707 </cell>
10708 </row>
10709 <row topline="true">
10710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10711 \begin_inset Text
10712
10713 \begin_layout Standard
10714 d
10715 \end_layout
10716
10717 \end_inset
10718 </cell>
10719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10720 \begin_inset Text
10721
10722 \begin_layout Standard
10723 e
10724 \end_layout
10725
10726 \end_inset
10727 </cell>
10728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10729 \begin_inset Text
10730
10731 \begin_layout Standard
10732 f
10733 \end_layout
10734
10735 \end_inset
10736 </cell>
10737 </row>
10738 <row topline="true" bottomline="true">
10739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10740 \begin_inset Text
10741
10742 \begin_layout Standard
10743 g
10744 \end_layout
10745
10746 \end_inset
10747 </cell>
10748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10749 \begin_inset Text
10750
10751 \begin_layout Standard
10752 h
10753 \end_layout
10754
10755 \end_inset
10756 </cell>
10757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10758 \begin_inset Text
10759
10760 \begin_layout Standard
10761 i
10762 \end_layout
10763
10764 \end_inset
10765 </cell>
10766 </row>
10767 </lyxtabular>
10768
10769 \end_inset
10770
10771
10772 \end_layout
10773
10774 \end_inset
10775
10776
10777 \end_layout
10778
10779 \begin_layout Standard
10780 You can see that the first column has not the half width of the multicolumn
10781  cell, it is a bit bigger.
10782  The reason is that the given width of a cell 
10783 \begin_inset Formula $W_{g}$
10784 \end_inset
10785
10786  is not its total width 
10787 \begin_inset Formula $W_{\mathrm{tot}}$
10788 \end_inset
10789
10790  because a cell is always a bit larger than its given width.
10791  Appendix\InsetSpace ~
10792
10793 \begin_inset LatexCommand eqref
10794 reference "cha:Explanation-of-Equation"
10795
10796 \end_inset
10797
10798  explains it in detail.
10799 \end_layout
10800
10801 \begin_layout Standard
10802 The needed given width 
10803 \begin_inset Formula $W_{g\, n}$
10804 \end_inset
10805
10806  when 
10807 \emph on
10808 n
10809 \emph default
10810  columns are spanned columns can be calculated, so that each column has
10811  a total width of 
10812 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10813 \end_inset
10814
10815 :
10816 \begin_inset Formula \begin{equation}
10817 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10818
10819 \end_inset
10820
10821
10822 \end_layout
10823
10824 \begin_layout Standard
10825 In our case we have 
10826 \begin_inset Formula $n=2$
10827 \end_inset
10828
10829
10830 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10831 \end_inset
10832
10833 cm and the default values for the lengths, so that equation 
10834 \begin_inset LatexCommand ref
10835 reference "eq:Wgn"
10836
10837 \end_inset
10838
10839  becomes
10840 \begin_inset Formula \begin{equation}
10841 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10842
10843 \end_inset
10844
10845
10846 \end_layout
10847
10848 \begin_layout Standard
10849 To enable calculations in LaTeX, the LaTeX-package 
10850 \series bold
10851 calc
10852 \series default
10853  must be loaded with the document preamble line
10854 \begin_inset LatexCommand index
10855 name "LaTeX-packages ! calc"
10856
10857 \end_inset
10858
10859
10860 \end_layout
10861
10862 \begin_layout Standard
10863
10864 \series bold
10865
10866 \backslash
10867 usepackage{calc}
10868 \end_layout
10869
10870 \begin_layout Standard
10871 LyX does not allow to calculate lengths in the width-field of the table
10872  dialog.
10873  Therefore you have to format the column by inserting a LaTeX-argument in
10874  the dialog.
10875  Here is an overview about the arguments:
10876 \end_layout
10877
10878 \begin_layout Itemize
10879
10880 \series bold
10881 p{width}
10882 \series default
10883  creates cell with a fixed width, its text is vertically top-aligned
10884 \end_layout
10885
10886 \begin_layout Itemize
10887
10888 \series bold
10889 m{width}
10890 \series default
10891  creates cell with a fixed width, its text is vertically centered
10892 \end_layout
10893
10894 \begin_layout Itemize
10895
10896 \series bold
10897 b{width}
10898 \series default
10899  creates cell with a fixed width, its text is vertically bottom-aligned
10900 \end_layout
10901
10902 \begin_layout Standard
10903 By entering a LaTeX-argument, all cell properties set in the table dialog
10904  are overwritten.
10905  
10906 \begin_inset Note Greyedout
10907 status open
10908
10909 \begin_layout Standard
10910
10911 \series bold
10912 Note:
10913 \series default
10914  Due to a bug, LyX shows the overwritten properties anyway.
10915 \end_layout
10916
10917 \end_inset
10918
10919  As the text should be horizontally centered, the command 
10920 \series bold
10921
10922 \backslash
10923 centering
10924 \series default
10925  is added.
10926  You can now enter the following LaTeX-argument for the first spanned column:
10927 \end_layout
10928
10929 \begin_layout Standard
10930
10931 \series bold
10932 |>{
10933 \backslash
10934 centering}m{1.25cm-6.2pt}
10935 \end_layout
10936
10937 \begin_layout Standard
10938 The bar 
10939 \begin_inset Quotes eld
10940 \end_inset
10941
10942
10943 \series bold
10944 |
10945 \series default
10946
10947 \begin_inset Quotes erd
10948 \end_inset
10949
10950  at the beginning draws the border line and the command 
10951 \series bold
10952 >{ }
10953 \series default
10954  means, that the commands inside the braces are applied before the cell
10955  is created.
10956 \end_layout
10957
10958 \begin_layout Standard
10959 Although we have chosen centered alignment for the text of the multicolumn
10960  cell, it is still left aligned.
10961  This is because LyX only applies the alignment to single columns.
10962  So we have to use for the multicolumn the LaTeX-argument
10963 \end_layout
10964
10965 \begin_layout Standard
10966
10967 \series bold
10968 |>{
10969 \backslash
10970 centering}m{2.5cm}|
10971 \end_layout
10972
10973 \begin_layout Subsection
10974 Multirows
10975 \begin_inset LatexCommand index
10976 name "Multirows"
10977
10978 \end_inset
10979
10980
10981 \begin_inset LatexCommand index
10982 name "Table ! Multirows"
10983
10984 \end_inset
10985
10986
10987 \begin_inset LatexCommand index
10988 name "LaTeX-packages ! multirow"
10989
10990 \end_inset
10991
10992
10993 \end_layout
10994
10995 \begin_layout Standard
10996 In contrary to multicolumns multirows are not yet supported by LyX so a
10997  bit of ERT needs to be used.
10998  To use multirows load the LaTeX-package 
10999 \series bold
11000 multirow
11001 \series default
11002  in your document preamble with the command
11003 \end_layout
11004
11005 \begin_layout Standard
11006
11007 \series bold
11008
11009 \backslash
11010 usepackage{multirow}
11011 \end_layout
11012
11013 \begin_layout Standard
11014 Multirows are created with the command
11015 \end_layout
11016
11017 \begin_layout Standard
11018
11019 \series bold
11020
11021 \backslash
11022 multirow{number of rows}{cell width}{cell entry}
11023 \end_layout
11024
11025 \begin_layout Standard
11026 To create the following table:
11027 \end_layout
11028
11029 \begin_layout Standard
11030 \align center
11031 \begin_inset ERT
11032 status collapsed
11033
11034 \begin_layout Standard
11035
11036
11037 \backslash
11038 renewcommand{
11039 \backslash
11040 multirowsetup}{
11041 \backslash
11042 centering}
11043 \end_layout
11044
11045 \end_inset
11046
11047
11048 \begin_inset Tabular
11049 <lyxtabular version="3" rows="3" columns="3">
11050 <features>
11051 <column alignment="center" valignment="top" leftline="true" width="0">
11052 <column alignment="center" valignment="top" leftline="true" width="0">
11053 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11054 <row topline="true">
11055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11056 \begin_inset Text
11057
11058 \begin_layout Standard
11059 a
11060 \end_layout
11061
11062 \end_inset
11063 </cell>
11064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11065 \begin_inset Text
11066
11067 \begin_layout Standard
11068 b
11069 \end_layout
11070
11071 \end_inset
11072 </cell>
11073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11074 \begin_inset Text
11075
11076 \begin_layout Standard
11077 c
11078 \end_layout
11079
11080 \end_inset
11081 </cell>
11082 </row>
11083 <row topline="true">
11084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11085 \begin_inset Text
11086
11087 \begin_layout Standard
11088 \begin_inset ERT
11089 status collapsed
11090
11091 \begin_layout Standard
11092
11093
11094 \backslash
11095 multirow{2}{2.5cm}{
11096 \end_layout
11097
11098 \end_inset
11099
11100 multirow entry
11101 \begin_inset ERT
11102 status collapsed
11103
11104 \begin_layout Standard
11105
11106 }
11107 \end_layout
11108
11109 \end_inset
11110
11111
11112 \end_layout
11113
11114 \end_inset
11115 </cell>
11116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11117 \begin_inset Text
11118
11119 \begin_layout Standard
11120 e
11121 \end_layout
11122
11123 \end_inset
11124 </cell>
11125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11126 \begin_inset Text
11127
11128 \begin_layout Standard
11129 f
11130 \end_layout
11131
11132 \end_inset
11133 </cell>
11134 </row>
11135 <row topline="true" bottomline="true">
11136 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11137 \begin_inset Text
11138
11139 \begin_layout Standard
11140
11141 \end_layout
11142
11143 \end_inset
11144 </cell>
11145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11146 \begin_inset Text
11147
11148 \begin_layout Standard
11149 h
11150 \end_layout
11151
11152 \end_inset
11153 </cell>
11154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11155 \begin_inset Text
11156
11157 \begin_layout Standard
11158 i
11159 \end_layout
11160
11161 \end_inset
11162 </cell>
11163 </row>
11164 </lyxtabular>
11165
11166 \end_inset
11167
11168
11169 \begin_inset ERT
11170 status collapsed
11171
11172 \begin_layout Standard
11173
11174
11175 \backslash
11176 renewcommand{
11177 \backslash
11178 multirowsetup}{
11179 \backslash
11180 raggedright}
11181 \end_layout
11182
11183 \end_inset
11184
11185
11186 \end_layout
11187
11188 \begin_layout Standard
11189 create a 3×3 table.
11190  To get rid of the line above the last cell in the first column, the cell
11191  is marked as multicolumn and the upper border is unset.
11192  The multirow is now created in the second row of the first column by inserting
11193  there the command
11194 \end_layout
11195
11196 \begin_layout Standard
11197
11198 \series bold
11199
11200 \backslash
11201 multirow{2}{2.5cm}{
11202 \end_layout
11203
11204 \begin_layout Standard
11205 as ERT.
11206  According to the command parameters the multirow spans now two rows and
11207  has a width of 2.5\InsetSpace \thinspace{}
11208 cm.
11209  The content of the multirow cell follows outside the ERT box and the command
11210  is finished with a right brace 
11211 \series bold
11212 }
11213 \series default
11214  in another ERT-box behind the text.
11215 \end_layout
11216
11217 \begin_layout Standard
11218
11219 \series bold
11220
11221 \backslash
11222 multirow
11223 \series default
11224  left-aligns its content by default.
11225  To override the default, renew the command 
11226 \series bold
11227
11228 \backslash
11229 multirowsetup
11230 \series default
11231  with the command
11232 \end_layout
11233
11234 \begin_layout Standard
11235
11236 \series bold
11237
11238 \backslash
11239 renewcommand{
11240 \backslash
11241 multirowsetup}{
11242 \backslash
11243 centering}
11244 \end_layout
11245
11246 \begin_layout Standard
11247 in ERT in the document preamble.
11248  Then all entries of multirow cells in the document are centered.
11249  If centering is only needed for several tables, you can renew the command
11250  in an ERT box just before the table instead of the preamble.
11251  If the text should be right-aligned, replace 
11252 \series bold
11253
11254 \backslash
11255 centering
11256 \series default
11257  by 
11258 \series bold
11259
11260 \backslash
11261 raggedleft
11262 \series default
11263 .
11264  To return to left-alignment 
11265 \series bold
11266
11267 \backslash
11268 raggedright
11269 \series default
11270  is used.
11271 \end_layout
11272
11273 \begin_layout Section
11274 Formal Tables
11275 \begin_inset LatexCommand label
11276 name "sec:Formal-Tables"
11277
11278 \end_inset
11279
11280
11281 \begin_inset LatexCommand index
11282 name "Table ! Formal"
11283
11284 \end_inset
11285
11286
11287 \end_layout
11288
11289 \begin_layout Standard
11290 Tables are often typeset in books similar to Table\InsetSpace ~
11291
11292 \begin_inset LatexCommand ref
11293 reference "tab:Example-booktabs-table"
11294
11295 \end_inset
11296
11297 .
11298  This kind of tables is called 
11299 \begin_inset Quotes eld
11300 \end_inset
11301
11302
11303 \emph on
11304 formal
11305 \emph default
11306
11307 \begin_inset Quotes erd
11308 \end_inset
11309
11310 .
11311  To make a table a formal table use the option 
11312 \family sans
11313 Formal
11314 \family default
11315  in the 
11316 \family sans
11317 Borders
11318 \family default
11319  tab of the table dialog.
11320 \end_layout
11321
11322 \begin_layout Standard
11323 \begin_inset Float table
11324 placement h
11325 wide false
11326 sideways false
11327 status open
11328
11329 \begin_layout Standard
11330 \begin_inset Caption
11331
11332 \begin_layout Standard
11333 \begin_inset LatexCommand label
11334 name "tab:Example-booktabs-table"
11335
11336 \end_inset
11337
11338 Example booktabs-table
11339 \end_layout
11340
11341 \end_inset
11342
11343
11344 \end_layout
11345
11346 \begin_layout Standard
11347 \align center
11348 \begin_inset Tabular
11349 <lyxtabular version="3" rows="8" columns="4">
11350 <features booktabs="true">
11351 <column alignment="center" valignment="top" rightline="true" width="0">
11352 <column alignment="center" valignment="top" width="0">
11353 <column alignment="center" valignment="top" width="0">
11354 <column alignment="center" valignment="top" width="0">
11355 <row topline="true">
11356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11357 \begin_inset Text
11358
11359 \begin_layout Standard
11360 System
11361 \end_layout
11362
11363 \end_inset
11364 </cell>
11365 <cell alignment="center" valignment="top" topline="true" usebox="none">
11366 \begin_inset Text
11367
11368 \begin_layout Standard
11369 Medipix
11370 \begin_inset Formula $\,$
11371 \end_inset
11372
11373 1
11374 \end_layout
11375
11376 \end_inset
11377 </cell>
11378 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11379 \begin_inset Text
11380
11381 \begin_layout Standard
11382 Medipix
11383 \begin_inset Formula $\,$
11384 \end_inset
11385
11386 2
11387 \end_layout
11388
11389 \end_inset
11390 </cell>
11391 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11392 \begin_inset Text
11393
11394 \begin_layout Standard
11395
11396 \end_layout
11397
11398 \end_inset
11399 </cell>
11400 </row>
11401 <row>
11402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11403 \begin_inset Text
11404
11405 \begin_layout Standard
11406 \begin_inset ERT
11407 status collapsed
11408
11409 \begin_layout Standard
11410
11411
11412 \backslash
11413 cmidrule(r){2-2}
11414 \end_layout
11415
11416 \end_inset
11417
11418
11419 \begin_inset ERT
11420 status collapsed
11421
11422 \begin_layout Standard
11423
11424
11425 \backslash
11426 cmidrule(l){3-4}
11427 \end_layout
11428
11429 \end_inset
11430
11431 Detector thickness [µm]
11432 \end_layout
11433
11434 \end_inset
11435 </cell>
11436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11437 \begin_inset Text
11438
11439 \begin_layout Standard
11440 300
11441 \end_layout
11442
11443 \end_inset
11444 </cell>
11445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11446 \begin_inset Text
11447
11448 \begin_layout Standard
11449 300
11450 \end_layout
11451
11452 \end_inset
11453 </cell>
11454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11455 \begin_inset Text
11456
11457 \begin_layout Standard
11458 700
11459 \end_layout
11460
11461 \end_inset
11462 </cell>
11463 </row>
11464 <row topline="true">
11465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11466 \begin_inset Text
11467
11468 \begin_layout Standard
11469 Edge angle [°]
11470 \end_layout
11471
11472 \end_inset
11473 </cell>
11474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11475 \begin_inset Text
11476
11477 \begin_layout Standard
11478 3.55
11479 \end_layout
11480
11481 \end_inset
11482 </cell>
11483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11484 \begin_inset Text
11485
11486 \begin_layout Standard
11487 2.71
11488 \end_layout
11489
11490 \end_inset
11491 </cell>
11492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11493 \begin_inset Text
11494
11495 \begin_layout Standard
11496 7.99
11497 \end_layout
11498
11499 \end_inset
11500 </cell>
11501 </row>
11502 <row topspace="default">
11503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11504 \begin_inset Text
11505
11506 \begin_layout Standard
11507 Spatial resolution [µm]
11508 \end_layout
11509
11510 \end_inset
11511 </cell>
11512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11513 \begin_inset Text
11514
11515 \begin_layout Standard
11516 4.26
11517 \end_layout
11518
11519 \end_inset
11520 </cell>
11521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11522 \begin_inset Text
11523
11524 \begin_layout Standard
11525 10.17
11526 \end_layout
11527
11528 \end_inset
11529 </cell>
11530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11531 \begin_inset Text
11532
11533 \begin_layout Standard
11534 10.56
11535 \end_layout
11536
11537 \end_inset
11538 </cell>
11539 </row>
11540 <row topspace="default">
11541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11542 \begin_inset Text
11543
11544 \begin_layout Standard
11545 MTF at 
11546 \begin_inset Formula $f_{\mathrm{max}}$
11547 \end_inset
11548
11549
11550 \end_layout
11551
11552 \end_inset
11553 </cell>
11554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11555 \begin_inset Text
11556
11557 \begin_layout Standard
11558 0.53
11559 \end_layout
11560
11561 \end_inset
11562 </cell>
11563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11564 \begin_inset Text
11565
11566 \begin_layout Standard
11567 0.37
11568 \end_layout
11569
11570 \end_inset
11571 </cell>
11572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11573 \begin_inset Text
11574
11575 \begin_layout Standard
11576 0.39
11577 \end_layout
11578
11579 \end_inset
11580 </cell>
11581 </row>
11582 <row topspace="default">
11583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11584 \begin_inset Text
11585
11586 \begin_layout Standard
11587 \begin_inset ERT
11588 status collapsed
11589
11590 \begin_layout Standard
11591
11592
11593 \backslash
11594 cmidrule(l{10pt}){1-1}
11595 \end_layout
11596
11597 \end_inset
11598
11599 LSF-spatial resolution
11600 \end_layout
11601
11602 \end_inset
11603 </cell>
11604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11605 \begin_inset Text
11606
11607 \begin_layout Standard
11608
11609 \end_layout
11610
11611 \end_inset
11612 </cell>
11613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11614 \begin_inset Text
11615
11616 \begin_layout Standard
11617
11618 \end_layout
11619
11620 \end_inset
11621 </cell>
11622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11623 \begin_inset Text
11624
11625 \begin_layout Standard
11626
11627 \end_layout
11628
11629 \end_inset
11630 </cell>
11631 </row>
11632 <row>
11633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11634 \begin_inset Text
11635
11636 \begin_layout Standard
11637 in µm
11638 \end_layout
11639
11640 \end_inset
11641 </cell>
11642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11643 \begin_inset Text
11644
11645 \begin_layout Standard
11646 129.7
11647 \end_layout
11648
11649 \end_inset
11650 </cell>
11651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11652 \begin_inset Text
11653
11654 \begin_layout Standard
11655 52.75
11656 \end_layout
11657
11658 \end_inset
11659 </cell>
11660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11661 \begin_inset Text
11662
11663 \begin_layout Standard
11664 50.78
11665 \end_layout
11666
11667 \end_inset
11668 </cell>
11669 </row>
11670 <row bottomline="true">
11671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11672 \begin_inset Text
11673
11674 \begin_layout Standard
11675 in % of pixel size
11676 \end_layout
11677
11678 \end_inset
11679 </cell>
11680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11681 \begin_inset Text
11682
11683 \begin_layout Standard
11684 76.3
11685 \end_layout
11686
11687 \end_inset
11688 </cell>
11689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11690 \begin_inset Text
11691
11692 \begin_layout Standard
11693 95.9
11694 \end_layout
11695
11696 \end_inset
11697 </cell>
11698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11699 \begin_inset Text
11700
11701 \begin_layout Standard
11702 92.3
11703 \end_layout
11704
11705 \end_inset
11706 </cell>
11707 </row>
11708 </lyxtabular>
11709
11710 \end_inset
11711
11712
11713 \end_layout
11714
11715 \end_inset
11716
11717
11718 \end_layout
11719
11720 \begin_layout Standard
11721 Spaces to table rows can be added using the 
11722 \family sans
11723 Borders
11724 \family default
11725  tab of the table dialog as described in section\InsetSpace ~
11726
11727 \begin_inset LatexCommand ref
11728 reference "sub:Row-Spacing"
11729
11730 \end_inset
11731
11732 .
11733 \end_layout
11734
11735 \begin_layout Standard
11736 In contrary to normal tables, formal tables have no vertical table lines.
11737  The horizontal table lines can be set like for normal tables but they appear
11738  with different width in the output:
11739 \newline
11740 The first and the last table line have
11741  a default width of 0.08\InsetSpace \thinspace{}
11742 em while the other lines have a default width of
11743  0.05\InsetSpace \thinspace{}
11744 em.
11745 \end_layout
11746
11747 \begin_layout Standard
11748 The default widths can be changed with the following preamble lines
11749 \end_layout
11750
11751 \begin_layout Standard
11752
11753 \series bold
11754
11755 \backslash
11756 let
11757 \backslash
11758 mytoprule
11759 \backslash
11760 toprule
11761 \newline
11762
11763 \backslash
11764 renewcommand{
11765 \backslash
11766 toprule}{
11767 \backslash
11768 mytoprule[width]}
11769 \end_layout
11770
11771 \begin_layout Standard
11772 This example is for the first line, the so called toprule.
11773  If you want to change the width for the last line, replace 
11774 \series bold
11775 toprule
11776 \series default
11777  by 
11778 \series bold
11779 bottomrule
11780 \series default
11781 .
11782  To change the width for the other lines replace 
11783 \series bold
11784 toprule
11785 \series default
11786  by 
11787 \series bold
11788 midrule
11789 \series default
11790 .
11791  You can use all units listed in appendix\InsetSpace ~
11792
11793 \begin_inset LatexCommand ref
11794 reference "cha:Units-available-in"
11795
11796 \end_inset
11797
11798  to set the width.
11799 \end_layout
11800
11801 \begin_layout Standard
11802 Lines that don't span over all table columns can be created by setting a
11803  table line for multicolumn cells.
11804  LyX will then internally use the command 
11805 \series bold
11806
11807 \backslash
11808 cmidrule
11809 \series default
11810  to create this line.
11811  Its full scheme is
11812 \end_layout
11813
11814 \begin_layout Standard
11815
11816 \series bold
11817
11818 \backslash
11819 cmidrule[width](trim){startcol-endcol}
11820 \end_layout
11821
11822 \begin_layout Standard
11823 The options of 
11824 \series bold
11825
11826 \backslash
11827 cmidrule
11828 \series default
11829  are are currently not supported by LyX so you have to use ERT to be able
11830  to use them.
11831  
11832 \series bold
11833
11834 \backslash
11835 cmidrule
11836 \series default
11837 s can manually be created by inserting the command as ERT as first cell
11838  entry of the first cell of a row.
11839  The line is then drawn in the output above the current row.
11840 \end_layout
11841
11842 \begin_layout Standard
11843 The default for the width is 0.03\InsetSpace \thinspace{}
11844 em.
11845  Startcol is the number of the column where the line starts and endcol the
11846  column number where the line ends.
11847  The endcol always needs to be specified, also when the line should span
11848  only one column.
11849  The optional parameter trim could be either 
11850 \emph on
11851 l{trimwidth}
11852 \emph default
11853 , or 
11854 \emph on
11855 r{trimwidth}
11856 \emph default
11857  where the trimwidth is also optional.
11858  Using for example the parameter 
11859 \emph on
11860 l{2pt}
11861 \emph default
11862  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11863 pt.
11864  If you don't specify the trimwidth the lines are trimmed by the default
11865  of 0.5\InsetSpace \thinspace{}
11866 em.
11867 \end_layout
11868
11869 \begin_layout Standard
11870 \begin_inset VSpace bigskip
11871 \end_inset
11872
11873 Table\InsetSpace ~
11874
11875 \begin_inset LatexCommand ref
11876 reference "tab:Example-booktabs-table"
11877
11878 \end_inset
11879
11880  was created using the commands
11881 \end_layout
11882
11883 \begin_layout Standard
11884
11885 \series bold
11886
11887 \backslash
11888 cmidrule(r){2-2}
11889 \backslash
11890 cmidrule(l){3-4}
11891 \end_layout
11892
11893 \begin_layout Standard
11894 at the beginning of the in the second row and
11895 \end_layout
11896
11897 \begin_layout Standard
11898
11899 \series bold
11900
11901 \backslash
11902 cmidrule(l{10pt}){1-1}
11903 \end_layout
11904
11905 \begin_layout Standard
11906 in the sixth row.
11907 \end_layout
11908
11909 \begin_layout Standard
11910
11911 \end_layout
11912
11913 \begin_layout Standard
11914 \begin_inset VSpace bigskip
11915 \end_inset
11916
11917
11918 \end_layout
11919
11920 \begin_layout Standard
11921 You might want to have overlapping 
11922 \series bold
11923
11924 \backslash
11925 cmidrule
11926 \series default
11927 s like in Table\InsetSpace ~
11928
11929 \begin_inset LatexCommand ref
11930 reference "tab:Special-booktabs-table"
11931
11932 \end_inset
11933
11934 .
11935  This can be achieved with the ERT command
11936 \end_layout
11937
11938 \begin_layout Standard
11939
11940 \series bold
11941
11942 \backslash
11943 morecmidrules
11944 \end_layout
11945
11946 \begin_layout Standard
11947 The command that was used for the second row of Table\InsetSpace ~
11948
11949 \begin_inset LatexCommand ref
11950 reference "tab:Special-booktabs-table"
11951
11952 \end_inset
11953
11954  is
11955 \end_layout
11956
11957 \begin_layout Standard
11958
11959 \series bold
11960
11961 \backslash
11962 cmidrule(r){2-2}
11963 \backslash
11964 cmidrule(l){3-4}
11965 \backslash
11966 morecmidrules
11967 \backslash
11968 cmidrule{2-4}
11969 \end_layout
11970
11971 \begin_layout Standard
11972 The command for the sixth row is
11973 \end_layout
11974
11975 \begin_layout Standard
11976
11977 \series bold
11978
11979 \backslash
11980 midrule
11981 \backslash
11982 morecmidrules
11983 \backslash
11984 cmidrule{3-4}
11985 \end_layout
11986
11987 \begin_layout Standard
11988 \begin_inset VSpace bigskip
11989 \end_inset
11990
11991
11992 \end_layout
11993
11994 \begin_layout Standard
11995 If you are anyway not satisfied with the border line spacing, you can use
11996  the following command to produce lines that span over all table columns
11997 \series bold
11998 :
11999 \end_layout
12000
12001 \begin_layout Standard
12002
12003 \series bold
12004
12005 \backslash
12006 specialrule{width}{space above}{space below}
12007 \end_layout
12008
12009 \begin_layout Standard
12010 For more informations about these specialties, we refer to the manual of
12011  the LaTeX-package 
12012 \series bold
12013 booktabs
12014 \series default
12015  
12016 \begin_inset LatexCommand cite
12017 key "booktabs"
12018
12019 \end_inset
12020
12021 .
12022 \begin_inset LatexCommand index
12023 name "LaTeX-packages ! booktabs"
12024
12025 \end_inset
12026
12027
12028 \end_layout
12029
12030 \begin_layout Standard
12031 \begin_inset Float table
12032 placement h
12033 wide false
12034 sideways false
12035 status open
12036
12037 \begin_layout Standard
12038 \begin_inset Caption
12039
12040 \begin_layout Standard
12041 \begin_inset LatexCommand label
12042 name "tab:Special-booktabs-table"
12043
12044 \end_inset
12045
12046 Special booktabs-table
12047 \end_layout
12048
12049 \end_inset
12050
12051
12052 \end_layout
12053
12054 \begin_layout Standard
12055 \align center
12056 \begin_inset Tabular
12057 <lyxtabular version="3" rows="8" columns="4">
12058 <features booktabs="true">
12059 <column alignment="center" valignment="top" width="0">
12060 <column alignment="center" valignment="top" width="0">
12061 <column alignment="center" valignment="top" width="0">
12062 <column alignment="center" valignment="top" width="0">
12063 <row topline="true">
12064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12065 \begin_inset Text
12066
12067 \begin_layout Standard
12068 System
12069 \end_layout
12070
12071 \end_inset
12072 </cell>
12073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12074 \begin_inset Text
12075
12076 \begin_layout Standard
12077 Medipix\InsetSpace \thinspace{}
12078 1
12079 \end_layout
12080
12081 \end_inset
12082 </cell>
12083 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12084 \begin_inset Text
12085
12086 \begin_layout Standard
12087 Medipix\InsetSpace \thinspace{}
12088 2
12089 \end_layout
12090
12091 \end_inset
12092 </cell>
12093 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12094 \begin_inset Text
12095
12096 \begin_layout Standard
12097
12098 \end_layout
12099
12100 \end_inset
12101 </cell>
12102 </row>
12103 <row>
12104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12105 \begin_inset Text
12106
12107 \begin_layout Standard
12108 \begin_inset ERT
12109 status collapsed
12110
12111 \begin_layout Standard
12112
12113
12114 \backslash
12115 cmidrule(r){2-2}
12116 \end_layout
12117
12118 \end_inset
12119
12120
12121 \begin_inset ERT
12122 status collapsed
12123
12124 \begin_layout Standard
12125
12126
12127 \backslash
12128 cmidrule(l){3-4}
12129 \end_layout
12130
12131 \end_inset
12132
12133
12134 \begin_inset ERT
12135 status collapsed
12136
12137 \begin_layout Standard
12138
12139
12140 \backslash
12141 morecmidrules 
12142 \end_layout
12143
12144 \end_inset
12145
12146
12147 \begin_inset ERT
12148 status collapsed
12149
12150 \begin_layout Standard
12151
12152
12153 \backslash
12154 cmidrule{2-4}
12155 \end_layout
12156
12157 \end_inset
12158
12159 Detector thickness [µm]
12160 \end_layout
12161
12162 \end_inset
12163 </cell>
12164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12165 \begin_inset Text
12166
12167 \begin_layout Standard
12168 300
12169 \end_layout
12170
12171 \end_inset
12172 </cell>
12173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12174 \begin_inset Text
12175
12176 \begin_layout Standard
12177 300
12178 \end_layout
12179
12180 \end_inset
12181 </cell>
12182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12183 \begin_inset Text
12184
12185 \begin_layout Standard
12186 700
12187 \end_layout
12188
12189 \end_inset
12190 </cell>
12191 </row>
12192 <row topline="true">
12193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12194 \begin_inset Text
12195
12196 \begin_layout Standard
12197 Edge angle [°]
12198 \end_layout
12199
12200 \end_inset
12201 </cell>
12202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12203 \begin_inset Text
12204
12205 \begin_layout Standard
12206 3.55
12207 \end_layout
12208
12209 \end_inset
12210 </cell>
12211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12212 \begin_inset Text
12213
12214 \begin_layout Standard
12215 2.71
12216 \end_layout
12217
12218 \end_inset
12219 </cell>
12220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12221 \begin_inset Text
12222
12223 \begin_layout Standard
12224 7.99
12225 \end_layout
12226
12227 \end_inset
12228 </cell>
12229 </row>
12230 <row topspace="default">
12231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12232 \begin_inset Text
12233
12234 \begin_layout Standard
12235 Spatial resolution [µm]
12236 \end_layout
12237
12238 \end_inset
12239 </cell>
12240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12241 \begin_inset Text
12242
12243 \begin_layout Standard
12244 4.26
12245 \end_layout
12246
12247 \end_inset
12248 </cell>
12249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12250 \begin_inset Text
12251
12252 \begin_layout Standard
12253 10.17
12254 \end_layout
12255
12256 \end_inset
12257 </cell>
12258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12259 \begin_inset Text
12260
12261 \begin_layout Standard
12262 10.56
12263 \end_layout
12264
12265 \end_inset
12266 </cell>
12267 </row>
12268 <row topspace="default">
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12270 \begin_inset Text
12271
12272 \begin_layout Standard
12273 MTF at 
12274 \begin_inset Formula $f_{\mathrm{max}}$
12275 \end_inset
12276
12277
12278 \end_layout
12279
12280 \end_inset
12281 </cell>
12282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12283 \begin_inset Text
12284
12285 \begin_layout Standard
12286 0.53
12287 \end_layout
12288
12289 \end_inset
12290 </cell>
12291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12292 \begin_inset Text
12293
12294 \begin_layout Standard
12295 0.37
12296 \end_layout
12297
12298 \end_inset
12299 </cell>
12300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12301 \begin_inset Text
12302
12303 \begin_layout Standard
12304 0.39
12305 \end_layout
12306
12307 \end_inset
12308 </cell>
12309 </row>
12310 <row topline="true">
12311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12312 \begin_inset Text
12313
12314 \begin_layout Standard
12315 \begin_inset ERT
12316 status collapsed
12317
12318 \begin_layout Standard
12319
12320
12321 \backslash
12322 morecmidrules 
12323 \end_layout
12324
12325 \end_inset
12326
12327
12328 \begin_inset ERT
12329 status collapsed
12330
12331 \begin_layout Standard
12332
12333
12334 \backslash
12335 cmidrule{3-4}
12336 \end_layout
12337
12338 \end_inset
12339
12340 LSF-spatial resolution
12341 \end_layout
12342
12343 \end_inset
12344 </cell>
12345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12346 \begin_inset Text
12347
12348 \begin_layout Standard
12349
12350 \end_layout
12351
12352 \end_inset
12353 </cell>
12354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12355 \begin_inset Text
12356
12357 \begin_layout Standard
12358
12359 \end_layout
12360
12361 \end_inset
12362 </cell>
12363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12364 \begin_inset Text
12365
12366 \begin_layout Standard
12367
12368 \end_layout
12369
12370 \end_inset
12371 </cell>
12372 </row>
12373 <row>
12374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12375 \begin_inset Text
12376
12377 \begin_layout Standard
12378 in µm
12379 \end_layout
12380
12381 \end_inset
12382 </cell>
12383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12384 \begin_inset Text
12385
12386 \begin_layout Standard
12387 129.7
12388 \end_layout
12389
12390 \end_inset
12391 </cell>
12392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12393 \begin_inset Text
12394
12395 \begin_layout Standard
12396 52.75
12397 \end_layout
12398
12399 \end_inset
12400 </cell>
12401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12402 \begin_inset Text
12403
12404 \begin_layout Standard
12405 50.78
12406 \end_layout
12407
12408 \end_inset
12409 </cell>
12410 </row>
12411 <row bottomline="true">
12412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12413 \begin_inset Text
12414
12415 \begin_layout Standard
12416 in % of pixel size
12417 \end_layout
12418
12419 \end_inset
12420 </cell>
12421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12422 \begin_inset Text
12423
12424 \begin_layout Standard
12425 76.3
12426 \end_layout
12427
12428 \end_inset
12429 </cell>
12430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12431 \begin_inset Text
12432
12433 \begin_layout Standard
12434 95.9
12435 \end_layout
12436
12437 \end_inset
12438 </cell>
12439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12440 \begin_inset Text
12441
12442 \begin_layout Standard
12443 92.3
12444 \end_layout
12445
12446 \end_inset
12447 </cell>
12448 </row>
12449 </lyxtabular>
12450
12451 \end_inset
12452
12453
12454 \end_layout
12455
12456 \end_inset
12457
12458
12459 \end_layout
12460
12461 \begin_layout Section
12462 Vertical Table Alignment
12463 \begin_inset LatexCommand index
12464 name "Table ! Alignment"
12465
12466 \end_inset
12467
12468
12469 \end_layout
12470
12471 \begin_layout Standard
12472 To align tables vertically in a text line the table must be inside a box.
12473  The box can then be vertically aligned as described in section\InsetSpace ~
12474
12475 \begin_inset LatexCommand ref
12476 reference "sec:Box-Dialog"
12477
12478 \end_inset
12479
12480 .
12481 \end_layout
12482
12483 \begin_layout Standard
12484 In the following example the tables are inside a minipage
12485 \begin_inset Foot
12486 status collapsed
12487
12488 \begin_layout Standard
12489 Minipages are described in section\InsetSpace ~
12490
12491 \begin_inset LatexCommand ref
12492 reference "sec:Minipages"
12493
12494 \end_inset
12495
12496 .
12497 \end_layout
12498
12499 \end_inset
12500
12501  box that has a width of 15\InsetSpace \thinspace{}
12502 col%:
12503 \end_layout
12504
12505 \begin_layout Itemize
12506 test 
12507 \begin_inset Box Frameless
12508 position "t"
12509 hor_pos "c"
12510 has_inner_box 1
12511 inner_pos "c"
12512 use_parbox 0
12513 width "15col%"
12514 special "none"
12515 height "1in"
12516 height_special "totalheight"
12517 status collapsed
12518
12519 \begin_layout Standard
12520 \begin_inset Tabular
12521 <lyxtabular version="3" rows="3" columns="3">
12522 <features>
12523 <column alignment="center" valignment="top" leftline="true" width="0">
12524 <column alignment="center" valignment="top" leftline="true" width="0">
12525 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12526 <row topline="true">
12527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12528 \begin_inset Text
12529
12530 \begin_layout Standard
12531 a
12532 \end_layout
12533
12534 \end_inset
12535 </cell>
12536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12537 \begin_inset Text
12538
12539 \begin_layout Standard
12540 d
12541 \end_layout
12542
12543 \end_inset
12544 </cell>
12545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12546 \begin_inset Text
12547
12548 \begin_layout Standard
12549 g
12550 \end_layout
12551
12552 \end_inset
12553 </cell>
12554 </row>
12555 <row topline="true">
12556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12557 \begin_inset Text
12558
12559 \begin_layout Standard
12560 b
12561 \end_layout
12562
12563 \end_inset
12564 </cell>
12565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12566 \begin_inset Text
12567
12568 \begin_layout Standard
12569 e
12570 \end_layout
12571
12572 \end_inset
12573 </cell>
12574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12575 \begin_inset Text
12576
12577 \begin_layout Standard
12578 h
12579 \end_layout
12580
12581 \end_inset
12582 </cell>
12583 </row>
12584 <row topline="true" bottomline="true">
12585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12586 \begin_inset Text
12587
12588 \begin_layout Standard
12589 c
12590 \end_layout
12591
12592 \end_inset
12593 </cell>
12594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12595 \begin_inset Text
12596
12597 \begin_layout Standard
12598 f
12599 \end_layout
12600
12601 \end_inset
12602 </cell>
12603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12604 \begin_inset Text
12605
12606 \begin_layout Standard
12607 i
12608 \end_layout
12609
12610 \end_inset
12611 </cell>
12612 </row>
12613 </lyxtabular>
12614
12615 \end_inset
12616
12617
12618 \end_layout
12619
12620 \end_inset
12621
12622  test 
12623 \begin_inset ERT
12624 status collapsed
12625
12626 \begin_layout Standard
12627
12628
12629 \backslash
12630 raisebox{0.85
12631 \backslash
12632 baselineskip}{
12633 \end_layout
12634
12635 \end_inset
12636
12637
12638 \begin_inset Box Frameless
12639 position "t"
12640 hor_pos "c"
12641 has_inner_box 1
12642 inner_pos "c"
12643 use_parbox 0
12644 width "15col%"
12645 special "none"
12646 height "1in"
12647 height_special "totalheight"
12648 status collapsed
12649
12650 \begin_layout Standard
12651 \begin_inset Tabular
12652 <lyxtabular version="3" rows="3" columns="3">
12653 <features>
12654 <column alignment="center" valignment="top" leftline="true" width="0">
12655 <column alignment="center" valignment="top" leftline="true" width="0">
12656 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12657 <row topline="true">
12658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12659 \begin_inset Text
12660
12661 \begin_layout Standard
12662 a
12663 \end_layout
12664
12665 \end_inset
12666 </cell>
12667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12668 \begin_inset Text
12669
12670 \begin_layout Standard
12671 d
12672 \end_layout
12673
12674 \end_inset
12675 </cell>
12676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12677 \begin_inset Text
12678
12679 \begin_layout Standard
12680 g
12681 \end_layout
12682
12683 \end_inset
12684 </cell>
12685 </row>
12686 <row topline="true">
12687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12688 \begin_inset Text
12689
12690 \begin_layout Standard
12691 b
12692 \end_layout
12693
12694 \end_inset
12695 </cell>
12696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12697 \begin_inset Text
12698
12699 \begin_layout Standard
12700 e
12701 \end_layout
12702
12703 \end_inset
12704 </cell>
12705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12706 \begin_inset Text
12707
12708 \begin_layout Standard
12709 h
12710 \end_layout
12711
12712 \end_inset
12713 </cell>
12714 </row>
12715 <row topline="true" bottomline="true">
12716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12717 \begin_inset Text
12718
12719 \begin_layout Standard
12720 c
12721 \end_layout
12722
12723 \end_inset
12724 </cell>
12725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12726 \begin_inset Text
12727
12728 \begin_layout Standard
12729 f
12730 \end_layout
12731
12732 \end_inset
12733 </cell>
12734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12735 \begin_inset Text
12736
12737 \begin_layout Standard
12738 i
12739 \end_layout
12740
12741 \end_inset
12742 </cell>
12743 </row>
12744 </lyxtabular>
12745
12746 \end_inset
12747
12748
12749 \end_layout
12750
12751 \end_inset
12752
12753
12754 \begin_inset ERT
12755 status collapsed
12756
12757 \begin_layout Standard
12758
12759 }
12760 \end_layout
12761
12762 \end_inset
12763
12764
12765 \end_layout
12766
12767 \begin_layout Itemize
12768 test 
12769 \begin_inset Box Frameless
12770 position "c"
12771 hor_pos "c"
12772 has_inner_box 1
12773 inner_pos "c"
12774 use_parbox 0
12775 width "15col%"
12776 special "none"
12777 height "1in"
12778 height_special "totalheight"
12779 status collapsed
12780
12781 \begin_layout Standard
12782 \begin_inset Tabular
12783 <lyxtabular version="3" rows="3" columns="3">
12784 <features>
12785 <column alignment="center" valignment="top" leftline="true" width="0">
12786 <column alignment="center" valignment="top" leftline="true" width="0">
12787 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12788 <row topline="true">
12789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12790 \begin_inset Text
12791
12792 \begin_layout Standard
12793 a
12794 \end_layout
12795
12796 \end_inset
12797 </cell>
12798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12799 \begin_inset Text
12800
12801 \begin_layout Standard
12802 d
12803 \end_layout
12804
12805 \end_inset
12806 </cell>
12807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12808 \begin_inset Text
12809
12810 \begin_layout Standard
12811 g
12812 \end_layout
12813
12814 \end_inset
12815 </cell>
12816 </row>
12817 <row topline="true">
12818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12819 \begin_inset Text
12820
12821 \begin_layout Standard
12822 b
12823 \end_layout
12824
12825 \end_inset
12826 </cell>
12827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12828 \begin_inset Text
12829
12830 \begin_layout Standard
12831 e
12832 \end_layout
12833
12834 \end_inset
12835 </cell>
12836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12837 \begin_inset Text
12838
12839 \begin_layout Standard
12840 h
12841 \end_layout
12842
12843 \end_inset
12844 </cell>
12845 </row>
12846 <row topline="true" bottomline="true">
12847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12848 \begin_inset Text
12849
12850 \begin_layout Standard
12851 c
12852 \end_layout
12853
12854 \end_inset
12855 </cell>
12856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12857 \begin_inset Text
12858
12859 \begin_layout Standard
12860 f
12861 \end_layout
12862
12863 \end_inset
12864 </cell>
12865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12866 \begin_inset Text
12867
12868 \begin_layout Standard
12869 i
12870 \end_layout
12871
12872 \end_inset
12873 </cell>
12874 </row>
12875 </lyxtabular>
12876
12877 \end_inset
12878
12879
12880 \end_layout
12881
12882 \end_inset
12883
12884
12885 \end_layout
12886
12887 \begin_layout Itemize
12888 test 
12889 \begin_inset Box Frameless
12890 position "b"
12891 hor_pos "c"
12892 has_inner_box 1
12893 inner_pos "c"
12894 use_parbox 0
12895 width "15col%"
12896 special "none"
12897 height "1in"
12898 height_special "totalheight"
12899 status collapsed
12900
12901 \begin_layout Standard
12902 \begin_inset Tabular
12903 <lyxtabular version="3" rows="3" columns="3">
12904 <features>
12905 <column alignment="center" valignment="top" leftline="true" width="0">
12906 <column alignment="center" valignment="top" leftline="true" width="0">
12907 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12908 <row topline="true">
12909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12910 \begin_inset Text
12911
12912 \begin_layout Standard
12913 a
12914 \end_layout
12915
12916 \end_inset
12917 </cell>
12918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12919 \begin_inset Text
12920
12921 \begin_layout Standard
12922 d
12923 \end_layout
12924
12925 \end_inset
12926 </cell>
12927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12928 \begin_inset Text
12929
12930 \begin_layout Standard
12931 g
12932 \end_layout
12933
12934 \end_inset
12935 </cell>
12936 </row>
12937 <row topline="true">
12938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12939 \begin_inset Text
12940
12941 \begin_layout Standard
12942 b
12943 \end_layout
12944
12945 \end_inset
12946 </cell>
12947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12948 \begin_inset Text
12949
12950 \begin_layout Standard
12951 e
12952 \end_layout
12953
12954 \end_inset
12955 </cell>
12956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12957 \begin_inset Text
12958
12959 \begin_layout Standard
12960 h
12961 \end_layout
12962
12963 \end_inset
12964 </cell>
12965 </row>
12966 <row topline="true" bottomline="true">
12967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12968 \begin_inset Text
12969
12970 \begin_layout Standard
12971 c
12972 \end_layout
12973
12974 \end_inset
12975 </cell>
12976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12977 \begin_inset Text
12978
12979 \begin_layout Standard
12980 f
12981 \end_layout
12982
12983 \end_inset
12984 </cell>
12985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12986 \begin_inset Text
12987
12988 \begin_layout Standard
12989 i
12990 \end_layout
12991
12992 \end_inset
12993 </cell>
12994 </row>
12995 </lyxtabular>
12996
12997 \end_inset
12998
12999
13000 \end_layout
13001
13002 \end_inset
13003
13004  test 
13005 \begin_inset ERT
13006 status collapsed
13007
13008 \begin_layout Standard
13009
13010
13011 \backslash
13012 raisebox{-0.32
13013 \backslash
13014 baselineskip}{
13015 \end_layout
13016
13017 \end_inset
13018
13019
13020 \begin_inset Box Frameless
13021 position "b"
13022 hor_pos "c"
13023 has_inner_box 1
13024 inner_pos "c"
13025 use_parbox 0
13026 width "15col%"
13027 special "none"
13028 height "1in"
13029 height_special "totalheight"
13030 status collapsed
13031
13032 \begin_layout Standard
13033 \begin_inset Tabular
13034 <lyxtabular version="3" rows="3" columns="3">
13035 <features>
13036 <column alignment="center" valignment="top" leftline="true" width="0">
13037 <column alignment="center" valignment="top" leftline="true" width="0">
13038 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13039 <row topline="true">
13040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13041 \begin_inset Text
13042
13043 \begin_layout Standard
13044 a
13045 \end_layout
13046
13047 \end_inset
13048 </cell>
13049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13050 \begin_inset Text
13051
13052 \begin_layout Standard
13053 d
13054 \end_layout
13055
13056 \end_inset
13057 </cell>
13058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13059 \begin_inset Text
13060
13061 \begin_layout Standard
13062 g
13063 \end_layout
13064
13065 \end_inset
13066 </cell>
13067 </row>
13068 <row topline="true">
13069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13070 \begin_inset Text
13071
13072 \begin_layout Standard
13073 b
13074 \end_layout
13075
13076 \end_inset
13077 </cell>
13078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13079 \begin_inset Text
13080
13081 \begin_layout Standard
13082 e
13083 \end_layout
13084
13085 \end_inset
13086 </cell>
13087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13088 \begin_inset Text
13089
13090 \begin_layout Standard
13091 h
13092 \end_layout
13093
13094 \end_inset
13095 </cell>
13096 </row>
13097 <row topline="true" bottomline="true">
13098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13099 \begin_inset Text
13100
13101 \begin_layout Standard
13102 c
13103 \end_layout
13104
13105 \end_inset
13106 </cell>
13107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13108 \begin_inset Text
13109
13110 \begin_layout Standard
13111 f
13112 \end_layout
13113
13114 \end_inset
13115 </cell>
13116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13117 \begin_inset Text
13118
13119 \begin_layout Standard
13120 i
13121 \end_layout
13122
13123 \end_inset
13124 </cell>
13125 </row>
13126 </lyxtabular>
13127
13128 \end_inset
13129
13130
13131 \end_layout
13132
13133 \end_inset
13134
13135
13136 \begin_inset ERT
13137 status collapsed
13138
13139 \begin_layout Standard
13140
13141 }
13142 \end_layout
13143
13144 \end_inset
13145
13146
13147 \end_layout
13148
13149 \begin_layout Standard
13150 As you can see, the content of the first and last table row is not correctly
13151  aligned with the text line where the table is in.
13152  To get this alignment, the minipage box must be set into a raisebox
13153 \begin_inset Foot
13154 status collapsed
13155
13156 \begin_layout Standard
13157 Raiseboxes are described in section\InsetSpace ~
13158
13159 \begin_inset LatexCommand ref
13160 reference "sub:Vertical-Alignment"
13161
13162 \end_inset
13163
13164 .
13165 \end_layout
13166
13167 \end_inset
13168
13169 .
13170  In the example above the second table in the first item is aligned using
13171  the ERT-command
13172 \end_layout
13173
13174 \begin_layout Standard
13175
13176 \series bold
13177
13178 \backslash
13179 raisebox{0.85
13180 \backslash
13181 baselineskip}{
13182 \end_layout
13183
13184 \begin_layout Standard
13185 before the box.
13186  Behind the box the closing brace 
13187 \series bold
13188 }
13189 \series default
13190  is inserted as ERT.
13191  For the second table in the last item the command
13192 \end_layout
13193
13194 \begin_layout Standard
13195
13196 \series bold
13197
13198 \backslash
13199 raisebox{-0.32
13200 \backslash
13201 baselineskip}{
13202 \end_layout
13203
13204 \begin_layout Standard
13205 is used.
13206 \end_layout
13207
13208 \begin_layout Standard
13209 \begin_inset Note Greyedout
13210 status open
13211
13212 \begin_layout Standard
13213
13214 \series bold
13215 Note:
13216 \series default
13217  The alignment of the table row content to the surrounding text line is
13218  not exact.
13219  The needed factor of the 
13220 \series bold
13221
13222 \backslash
13223 raisebox
13224 \series default
13225  command for this alignment depends on the document font, the font size,
13226  and the table line thickness.
13227 \end_layout
13228
13229 \end_inset
13230
13231
13232 \end_layout
13233
13234 \begin_layout Section
13235 Colored Tables
13236 \begin_inset LatexCommand label
13237 name "sec:Colored-Tables"
13238
13239 \end_inset
13240
13241
13242 \begin_inset LatexCommand index
13243 name "Table ! Color"
13244
13245 \end_inset
13246
13247
13248 \end_layout
13249
13250 \begin_layout Subsection
13251 Colored Cells
13252 \begin_inset LatexCommand index
13253 name "Table Color ! for Cells"
13254
13255 \end_inset
13256
13257
13258 \begin_inset LatexCommand index
13259 name "Color ! for Table Cells"
13260
13261 \end_inset
13262
13263
13264 \end_layout
13265
13266 \begin_layout Standard
13267 \begin_inset Float table
13268 placement h
13269 wide false
13270 sideways false
13271 status open
13272
13273 \begin_layout Standard
13274 \begin_inset Caption
13275
13276 \begin_layout Standard
13277 \begin_inset LatexCommand label
13278 name "tab:Table-colored-without"
13279
13280 \end_inset
13281
13282 Table colored without using the package 
13283 \series bold
13284 colortbl
13285 \series default
13286
13287 \begin_inset OptArg
13288 status collapsed
13289
13290 \begin_layout Standard
13291 Table without colortbl
13292 \end_layout
13293
13294 \end_inset
13295
13296
13297 \end_layout
13298
13299 \end_inset
13300
13301
13302 \end_layout
13303
13304 \begin_layout Standard
13305 \align center
13306 \begin_inset Tabular
13307 <lyxtabular version="3" rows="3" columns="3">
13308 <features>
13309 <column alignment="center" valignment="top" leftline="true" width="0">
13310 <column alignment="center" valignment="top" leftline="true" width="0">
13311 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13312 <row topline="true">
13313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13314 \begin_inset Text
13315
13316 \begin_layout Standard
13317
13318 \color green
13319 a
13320 \end_layout
13321
13322 \end_inset
13323 </cell>
13324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13325 \begin_inset Text
13326
13327 \begin_layout Standard
13328
13329 \color red
13330 b
13331 \end_layout
13332
13333 \end_inset
13334 </cell>
13335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13336 \begin_inset Text
13337
13338 \begin_layout Standard
13339
13340 \color red
13341 c
13342 \end_layout
13343
13344 \end_inset
13345 </cell>
13346 </row>
13347 <row topline="true">
13348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13349 \begin_inset Text
13350
13351 \begin_layout Standard
13352
13353 \color green
13354 d
13355 \end_layout
13356
13357 \end_inset
13358 </cell>
13359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13360 \begin_inset Text
13361
13362 \begin_layout Standard
13363
13364 \color blue
13365 e
13366 \end_layout
13367
13368 \end_inset
13369 </cell>
13370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13371 \begin_inset Text
13372
13373 \begin_layout Standard
13374
13375 \color blue
13376 f
13377 \end_layout
13378
13379 \end_inset
13380 </cell>
13381 </row>
13382 <row topline="true" bottomline="true">
13383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13384 \begin_inset Text
13385
13386 \begin_layout Standard
13387
13388 \color green
13389 g
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13395 \begin_inset Text
13396
13397 \begin_layout Standard
13398
13399 \color blue
13400 h
13401 \end_layout
13402
13403 \end_inset
13404 </cell>
13405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13406 \begin_inset Text
13407
13408 \begin_layout Standard
13409
13410 \color blue
13411 i
13412 \end_layout
13413
13414 \end_inset
13415 </cell>
13416 </row>
13417 </lyxtabular>
13418
13419 \end_inset
13420
13421
13422 \end_layout
13423
13424 \end_inset
13425
13426
13427 \end_layout
13428
13429 \begin_layout Standard
13430 If you only need colored text, mark the cells and choose a color in the
13431  menu 
13432 \family sans
13433 Edit\SpecialChar \menuseparator
13434 Text\InsetSpace ~
13435 Style
13436 \family default
13437 .
13438  This was used to create Table\InsetSpace ~
13439
13440 \begin_inset LatexCommand ref
13441 reference "tab:Table-colored-without"
13442
13443 \end_inset
13444
13445 .
13446  In any other case you have to use the LaTeX-package 
13447 \series bold
13448 colortbl
13449 \series default
13450 .
13451 \begin_inset LatexCommand index
13452 name "LaTeX-packages ! colortbl"
13453
13454 \end_inset
13455
13456
13457 \end_layout
13458
13459 \begin_layout Standard
13460 To create colored tables, 
13461 \series bold
13462 colortbl
13463 \series default
13464  must be loaded in the preamble with the line
13465 \end_layout
13466
13467 \begin_layout Standard
13468
13469 \series bold
13470
13471 \backslash
13472 usepackage{colortbl}
13473 \end_layout
13474
13475 \begin_layout Standard
13476 The color of a column is adjusted with the command
13477 \end_layout
13478
13479 \begin_layout Standard
13480
13481 \series bold
13482
13483 \backslash
13484 columncolor{name of color}
13485 \end_layout
13486
13487 \begin_layout Standard
13488 inside the command 
13489 \series bold
13490 >{ }
13491 \series default
13492 .
13493  More about the command 
13494 \series bold
13495 >{}
13496 \series default
13497  is described in section\InsetSpace ~
13498
13499 \begin_inset LatexCommand ref
13500 reference "sub:Multicolumn-Calculations"
13501
13502 \end_inset
13503
13504 .
13505 \end_layout
13506
13507 \begin_layout Standard
13508 The following color names are predefined:
13509 \end_layout
13510
13511 \begin_layout Standard
13512
13513 \family sans
13514 red
13515 \family default
13516
13517 \family sans
13518 green
13519 \family default
13520
13521 \family sans
13522 yellow
13523 \family default
13524
13525 \family sans
13526 blue
13527 \family default
13528
13529 \family sans
13530 cyan
13531 \family default
13532
13533 \family sans
13534 magenta
13535 \family default
13536
13537 \family sans
13538 black
13539 \family default
13540  and 
13541 \family sans
13542 white
13543 \end_layout
13544
13545 \begin_layout Standard
13546 \begin_inset VSpace medskip
13547 \end_inset
13548
13549
13550 \end_layout
13551
13552 \begin_layout Standard
13553 You can also define your own color with the command
13554 \end_layout
13555
13556 \begin_layout Standard
13557
13558 \series bold
13559
13560 \backslash
13561 def\SpecialChar \textcompwordmark{}
13562 inecolor{color name}{color model}{color values}
13563 \end_layout
13564
13565 \begin_layout Standard
13566 The color model can be
13567 \end_layout
13568
13569 \begin_layout Labeling
13570 \labelwidthstring 00.00.0000
13571 cmyk: cyan, magenta, yellow, black
13572 \end_layout
13573
13574 \begin_layout Labeling
13575 \labelwidthstring 00.00.0000
13576 rgb: red, green blue
13577 \end_layout
13578
13579 \begin_layout Labeling
13580 \labelwidthstring 00.00.0000
13581 gray gray
13582 \end_layout
13583
13584 \begin_layout Standard
13585 and the color values are comma separated numbers between 0 and 1 describing
13586  the factor for the corresponding color of the color model.
13587 \end_layout
13588
13589 \begin_layout Standard
13590 You can e.\InsetSpace \thinspace{}
13591 g.\InsetSpace ~
13592 define the color "
13593 \emph on
13594 darkgreen
13595 \emph default
13596 " in the preamble with
13597 \end_layout
13598
13599 \begin_layout Standard
13600
13601 \series bold
13602
13603 \backslash
13604 def\SpecialChar \textcompwordmark{}
13605 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13606 \end_layout
13607
13608 \begin_layout Standard
13609 and the color "
13610 \emph on
13611 lightgray
13612 \emph default
13613 " with
13614 \end_layout
13615
13616 \begin_layout Standard
13617
13618 \series bold
13619
13620 \backslash
13621 def\SpecialChar \textcompwordmark{}
13622 inecolor{lightgray}{gray}{0.8}
13623 \end_layout
13624
13625 \begin_layout Standard
13626 \begin_inset VSpace medskip
13627 \end_inset
13628
13629
13630 \end_layout
13631
13632 \begin_layout Standard
13633 Lines are colored with the command
13634 \end_layout
13635
13636 \begin_layout Standard
13637
13638 \series bold
13639
13640 \backslash
13641 rowcolor{name of color}
13642 \end_layout
13643
13644 \begin_layout Standard
13645 and cells are colored with the command
13646 \end_layout
13647
13648 \begin_layout Standard
13649
13650 \series bold
13651
13652 \backslash
13653 cellcolor{name of color}
13654 \end_layout
13655
13656 \begin_layout Standard
13657 Both commands are inserted at the beginning of a cell as ERT.
13658 \end_layout
13659
13660 \begin_layout Standard
13661 To color characters in the table, mark the cells and use the LyX menu 
13662 \family sans
13663 Edit\SpecialChar \menuseparator
13664 Text\InsetSpace ~
13665 Style
13666 \family default
13667 .
13668  If a cell contains ERT mark only the characters, otherwise the colored
13669  ERT will cause LaTeX-errors.
13670 \end_layout
13671
13672 \begin_layout Standard
13673 \begin_inset VSpace bigskip
13674 \end_inset
13675
13676
13677 \end_layout
13678
13679 \begin_layout Standard
13680 To create Table\InsetSpace ~
13681
13682 \begin_inset LatexCommand ref
13683 reference "tab:Table-colored-using"
13684
13685 \end_inset
13686
13687  do the following: The color of the first column should be 
13688 \emph on
13689 darkgreen
13690 \emph default
13691 .
13692  So insert
13693 \end_layout
13694
13695 \begin_layout Standard
13696
13697 \series bold
13698 >{
13699 \backslash
13700 columncolor{darkgreen}
13701 \backslash
13702 centering}c
13703 \end_layout
13704
13705 \begin_layout Standard
13706 as LaTeX-argument for this column.
13707  The first row should be blue, therefore the ERT command
13708 \end_layout
13709
13710 \begin_layout Standard
13711
13712 \series bold
13713
13714 \backslash
13715 rowcolow{cyan}
13716 \end_layout
13717
13718 \begin_layout Standard
13719 is inserted to the first cell of this row.
13720  Note that this overwrites the column color for the first cell.
13721  The last cell of the last row is colored magenta by inserting the ERT command
13722 \end_layout
13723
13724 \begin_layout Standard
13725
13726 \series bold
13727
13728 \backslash
13729 cellcolor{magenta}
13730 \end_layout
13731
13732 \begin_layout Standard
13733 The characters could now be colored using the menu 
13734 \family sans
13735 Edit\SpecialChar \menuseparator
13736 Text\InsetSpace ~
13737 Style
13738 \family default
13739 .
13740 \end_layout
13741
13742 \begin_layout Standard
13743 \begin_inset Float table
13744 placement h
13745 wide false
13746 sideways false
13747 status open
13748
13749 \begin_layout Standard
13750 \begin_inset Caption
13751
13752 \begin_layout Standard
13753 \begin_inset LatexCommand label
13754 name "tab:Table-colored-using"
13755
13756 \end_inset
13757
13758 Table colored using the package 
13759 \series bold
13760 colortbl
13761 \series default
13762
13763 \begin_inset OptArg
13764 status collapsed
13765
13766 \begin_layout Standard
13767 Table with colortbl
13768 \end_layout
13769
13770 \end_inset
13771
13772
13773 \end_layout
13774
13775 \end_inset
13776
13777
13778 \end_layout
13779
13780 \begin_layout Standard
13781 \align center
13782 \begin_inset Tabular
13783 <lyxtabular version="3" rows="3" columns="3">
13784 <features>
13785 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13786 <column alignment="center" valignment="top" width="0">
13787 <column alignment="center" valignment="top" width="0">
13788 <row>
13789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13790 \begin_inset Text
13791
13792 \begin_layout Standard
13793 \begin_inset ERT
13794 status collapsed
13795
13796 \begin_layout Standard
13797
13798
13799 \backslash
13800 rowcolor{cyan}
13801 \end_layout
13802
13803 \end_inset
13804
13805
13806 \color magenta
13807 a
13808 \end_layout
13809
13810 \end_inset
13811 </cell>
13812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13813 \begin_inset Text
13814
13815 \begin_layout Standard
13816
13817 \color red
13818 b
13819 \end_layout
13820
13821 \end_inset
13822 </cell>
13823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13824 \begin_inset Text
13825
13826 \begin_layout Standard
13827
13828 \color red
13829 c
13830 \end_layout
13831
13832 \end_inset
13833 </cell>
13834 </row>
13835 <row>
13836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13837 \begin_inset Text
13838
13839 \begin_layout Standard
13840
13841 \color yellow
13842 d
13843 \end_layout
13844
13845 \end_inset
13846 </cell>
13847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13848 \begin_inset Text
13849
13850 \begin_layout Standard
13851
13852 \color blue
13853 e
13854 \end_layout
13855
13856 \end_inset
13857 </cell>
13858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13859 \begin_inset Text
13860
13861 \begin_layout Standard
13862
13863 \color blue
13864 f
13865 \end_layout
13866
13867 \end_inset
13868 </cell>
13869 </row>
13870 <row>
13871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13872 \begin_inset Text
13873
13874 \begin_layout Standard
13875
13876 \color yellow
13877 g
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13883 \begin_inset Text
13884
13885 \begin_layout Standard
13886
13887 \color blue
13888 h
13889 \end_layout
13890
13891 \end_inset
13892 </cell>
13893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13894 \begin_inset Text
13895
13896 \begin_layout Standard
13897 \begin_inset ERT
13898 status collapsed
13899
13900 \begin_layout Standard
13901
13902
13903 \backslash
13904 cellcolor{magenta}
13905 \end_layout
13906
13907 \end_inset
13908
13909
13910 \color green
13911 i
13912 \end_layout
13913
13914 \end_inset
13915 </cell>
13916 </row>
13917 </lyxtabular>
13918
13919 \end_inset
13920
13921
13922 \end_layout
13923
13924 \end_inset
13925
13926
13927 \end_layout
13928
13929 \begin_layout Subsection
13930 Colored Lines
13931 \begin_inset LatexCommand index
13932 name "Table Color ! for Lines"
13933
13934 \end_inset
13935
13936
13937 \begin_inset LatexCommand index
13938 name "Color ! for Table Lines"
13939
13940 \end_inset
13941
13942
13943 \end_layout
13944
13945 \begin_layout Standard
13946 As described in section\InsetSpace ~
13947
13948 \begin_inset LatexCommand ref
13949 reference "sub:Line-Thickness"
13950
13951 \end_inset
13952
13953 , the line thickness for all lines in a table can be adjusted with the length
13954  
13955 \series bold
13956
13957 \backslash
13958 arrayrulewidth
13959 \series default
13960 .
13961  It is set to 1.5\InsetSpace \thinspace{}
13962 pt for all tables of this section.
13963 \begin_inset ERT
13964 status collapsed
13965
13966 \begin_layout Standard
13967
13968
13969 \backslash
13970 setlength{
13971 \backslash
13972 arrayrulewidth}{1.5pt}
13973 \end_layout
13974
13975 \end_inset
13976
13977
13978 \end_layout
13979
13980 \begin_layout Standard
13981 To color vertical lines for example with green, create the following column
13982  format in the document preamble, according to the description in section\InsetSpace ~
13983
13984 \begin_inset LatexCommand ref
13985 reference "sub:Customized-Format"
13986
13987 \end_inset
13988
13989 :
13990 \end_layout
13991
13992 \begin_layout Standard
13993
13994 \series bold
13995
13996 \backslash
13997 newcolumntype{W}{!{
13998 \backslash
13999 color{green}
14000 \backslash
14001 vline}}
14002 \end_layout
14003
14004 \begin_layout Standard
14005 For Table\InsetSpace ~
14006
14007 \begin_inset LatexCommand ref
14008 reference "tab:Table-with-vertical-colored"
14009
14010 \end_inset
14011
14012  the LaTeX-argument
14013 \end_layout
14014
14015 \begin_layout Standard
14016
14017 \series bold
14018 WcW
14019 \end_layout
14020
14021 \begin_layout Standard
14022 was used for the last column and
14023 \end_layout
14024
14025 \begin_layout Standard
14026
14027 \series bold
14028 Wc
14029 \end_layout
14030
14031 \begin_layout Standard
14032 for the other columns.
14033 \end_layout
14034
14035 \begin_layout Standard
14036 If you want to have several colors, define more column formats.
14037 \end_layout
14038
14039 \begin_layout Standard
14040 \begin_inset Float table
14041 wide false
14042 sideways false
14043 status open
14044
14045 \begin_layout Standard
14046 \begin_inset Caption
14047
14048 \begin_layout Standard
14049 \begin_inset LatexCommand label
14050 name "tab:Table-with-vertical-colored"
14051
14052 \end_inset
14053
14054 Table with colored vertical lines
14055 \end_layout
14056
14057 \end_inset
14058
14059
14060 \end_layout
14061
14062 \begin_layout Standard
14063 \align center
14064 \begin_inset Tabular
14065 <lyxtabular version="3" rows="3" columns="3">
14066 <features>
14067 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14068 <column alignment="center" valignment="top" width="0" special="Wc">
14069 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14070 <row topline="true">
14071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14072 \begin_inset Text
14073
14074 \begin_layout Standard
14075 sd
14076 \end_layout
14077
14078 \end_inset
14079 </cell>
14080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14081 \begin_inset Text
14082
14083 \begin_layout Standard
14084
14085 \end_layout
14086
14087 \end_inset
14088 </cell>
14089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14090 \begin_inset Text
14091
14092 \begin_layout Standard
14093
14094 \end_layout
14095
14096 \end_inset
14097 </cell>
14098 </row>
14099 <row topline="true">
14100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14101 \begin_inset Text
14102
14103 \begin_layout Standard
14104
14105 \end_layout
14106
14107 \end_inset
14108 </cell>
14109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14110 \begin_inset Text
14111
14112 \begin_layout Standard
14113 sd
14114 \end_layout
14115
14116 \end_inset
14117 </cell>
14118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14119 \begin_inset Text
14120
14121 \begin_layout Standard
14122
14123 \end_layout
14124
14125 \end_inset
14126 </cell>
14127 </row>
14128 <row topline="true" bottomline="true">
14129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14130 \begin_inset Text
14131
14132 \begin_layout Standard
14133
14134 \end_layout
14135
14136 \end_inset
14137 </cell>
14138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14139 \begin_inset Text
14140
14141 \begin_layout Standard
14142
14143 \end_layout
14144
14145 \end_inset
14146 </cell>
14147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14148 \begin_inset Text
14149
14150 \begin_layout Standard
14151 sd
14152 \end_layout
14153
14154 \end_inset
14155 </cell>
14156 </row>
14157 </lyxtabular>
14158
14159 \end_inset
14160
14161
14162 \end_layout
14163
14164 \end_inset
14165
14166
14167 \end_layout
14168
14169 \begin_layout Standard
14170 \begin_inset VSpace bigskip
14171 \end_inset
14172
14173 To color horizontal lines for example with red, like in Table\InsetSpace ~
14174
14175 \begin_inset LatexCommand ref
14176 reference "tab:Table-with-horizontal-colored"
14177
14178 \end_inset
14179
14180 , insert these commands in ERT before the table or table float:
14181 \end_layout
14182
14183 \begin_layout Standard
14184
14185 \series bold
14186
14187 \backslash
14188 let
14189 \backslash
14190 myHlineC
14191 \backslash
14192 hline
14193 \newline
14194
14195 \backslash
14196 renewcommand{
14197 \backslash
14198 hline}{
14199 \backslash
14200 arrayrulecolor{red}
14201 \backslash
14202 myHlineC
14203 \backslash
14204 arrayrulecolor{black}}
14205 \end_layout
14206
14207 \begin_layout Standard
14208 \begin_inset ERT
14209 status collapsed
14210
14211 \begin_layout Standard
14212
14213
14214 \backslash
14215 let
14216 \backslash
14217 myHlineC
14218 \backslash
14219 hline
14220 \end_layout
14221
14222 \begin_layout Standard
14223
14224
14225 \backslash
14226 renewcommand{
14227 \backslash
14228 hline}{
14229 \backslash
14230 arrayrulecolor{red}
14231 \backslash
14232 myHlineC
14233 \backslash
14234 arrayrulecolor{black}}
14235 \end_layout
14236
14237 \end_inset
14238
14239
14240 \begin_inset Float table
14241 wide false
14242 sideways false
14243 status open
14244
14245 \begin_layout Standard
14246 \begin_inset Caption
14247
14248 \begin_layout Standard
14249 \begin_inset LatexCommand label
14250 name "tab:Table-with-horizontal-colored"
14251
14252 \end_inset
14253
14254 Table with colored horizontal lines
14255 \end_layout
14256
14257 \end_inset
14258
14259
14260 \end_layout
14261
14262 \begin_layout Standard
14263 \align center
14264 \begin_inset Tabular
14265 <lyxtabular version="3" rows="3" columns="3">
14266 <features>
14267 <column alignment="center" valignment="top" leftline="true" width="0">
14268 <column alignment="center" valignment="top" leftline="true" width="0">
14269 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14270 <row topline="true">
14271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14272 \begin_inset Text
14273
14274 \begin_layout Standard
14275 sd
14276 \end_layout
14277
14278 \end_inset
14279 </cell>
14280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14281 \begin_inset Text
14282
14283 \begin_layout Standard
14284
14285 \end_layout
14286
14287 \end_inset
14288 </cell>
14289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14290 \begin_inset Text
14291
14292 \begin_layout Standard
14293
14294 \end_layout
14295
14296 \end_inset
14297 </cell>
14298 </row>
14299 <row topline="true">
14300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14301 \begin_inset Text
14302
14303 \begin_layout Standard
14304
14305 \end_layout
14306
14307 \end_inset
14308 </cell>
14309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14310 \begin_inset Text
14311
14312 \begin_layout Standard
14313 sd
14314 \end_layout
14315
14316 \end_inset
14317 </cell>
14318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14319 \begin_inset Text
14320
14321 \begin_layout Standard
14322
14323 \end_layout
14324
14325 \end_inset
14326 </cell>
14327 </row>
14328 <row topline="true" bottomline="true">
14329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14330 \begin_inset Text
14331
14332 \begin_layout Standard
14333
14334 \end_layout
14335
14336 \end_inset
14337 </cell>
14338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14339 \begin_inset Text
14340
14341 \begin_layout Standard
14342
14343 \end_layout
14344
14345 \end_inset
14346 </cell>
14347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14348 \begin_inset Text
14349
14350 \begin_layout Standard
14351 sd
14352 \end_layout
14353
14354 \end_inset
14355 </cell>
14356 </row>
14357 </lyxtabular>
14358
14359 \end_inset
14360
14361
14362 \end_layout
14363
14364 \end_inset
14365
14366
14367 \end_layout
14368
14369 \begin_layout Standard
14370 \begin_inset ERT
14371 status collapsed
14372
14373 \begin_layout Standard
14374
14375
14376 \backslash
14377 pagebreak 
14378 \end_layout
14379
14380 \end_inset
14381
14382
14383 \end_layout
14384
14385 \begin_layout Standard
14386 To return to the default line color black, insert this command in ERT behind
14387  the table or table float:
14388 \end_layout
14389
14390 \begin_layout Standard
14391
14392 \series bold
14393
14394 \backslash
14395 renewcommand{
14396 \backslash
14397 hline}{
14398 \backslash
14399 myHlineC}
14400 \end_layout
14401
14402 \begin_layout Standard
14403 Table\InsetSpace ~
14404
14405 \begin_inset LatexCommand ref
14406 reference "tab:Table-with-colored"
14407
14408 \end_inset
14409
14410  is an example with colored vertical and horizontal lines.
14411 \end_layout
14412
14413 \begin_layout Standard
14414 \begin_inset Float table
14415 wide false
14416 sideways false
14417 status open
14418
14419 \begin_layout Standard
14420 \begin_inset Caption
14421
14422 \begin_layout Standard
14423 \begin_inset LatexCommand label
14424 name "tab:Table-with-colored"
14425
14426 \end_inset
14427
14428 Table with colored lines
14429 \end_layout
14430
14431 \end_inset
14432
14433
14434 \end_layout
14435
14436 \begin_layout Standard
14437 \align center
14438 \begin_inset Tabular
14439 <lyxtabular version="3" rows="3" columns="3">
14440 <features>
14441 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14442 <column alignment="center" valignment="top" width="0" special="Wc">
14443 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14444 <row topline="true">
14445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14446 \begin_inset Text
14447
14448 \begin_layout Standard
14449 sd
14450 \end_layout
14451
14452 \end_inset
14453 </cell>
14454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14455 \begin_inset Text
14456
14457 \begin_layout Standard
14458
14459 \end_layout
14460
14461 \end_inset
14462 </cell>
14463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14464 \begin_inset Text
14465
14466 \begin_layout Standard
14467
14468 \end_layout
14469
14470 \end_inset
14471 </cell>
14472 </row>
14473 <row topline="true">
14474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14475 \begin_inset Text
14476
14477 \begin_layout Standard
14478
14479 \end_layout
14480
14481 \end_inset
14482 </cell>
14483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14484 \begin_inset Text
14485
14486 \begin_layout Standard
14487 sd
14488 \end_layout
14489
14490 \end_inset
14491 </cell>
14492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14493 \begin_inset Text
14494
14495 \begin_layout Standard
14496
14497 \end_layout
14498
14499 \end_inset
14500 </cell>
14501 </row>
14502 <row topline="true" bottomline="true" topspace="default">
14503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14504 \begin_inset Text
14505
14506 \begin_layout Standard
14507
14508 \end_layout
14509
14510 \end_inset
14511 </cell>
14512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14513 \begin_inset Text
14514
14515 \begin_layout Standard
14516
14517 \end_layout
14518
14519 \end_inset
14520 </cell>
14521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14522 \begin_inset Text
14523
14524 \begin_layout Standard
14525 sd
14526 \end_layout
14527
14528 \end_inset
14529 </cell>
14530 </row>
14531 </lyxtabular>
14532
14533 \end_inset
14534
14535
14536 \end_layout
14537
14538 \end_inset
14539
14540
14541 \end_layout
14542
14543 \begin_layout Standard
14544 \begin_inset ERT
14545 status collapsed
14546
14547 \begin_layout Standard
14548
14549
14550 \backslash
14551 renewcommand{
14552 \backslash
14553 hline}{
14554 \backslash
14555 myHlineC}
14556 \end_layout
14557
14558 \end_inset
14559
14560
14561 \end_layout
14562
14563 \begin_layout Standard
14564 \begin_inset ERT
14565 status collapsed
14566
14567 \begin_layout Standard
14568
14569
14570 \backslash
14571 setlength{
14572 \backslash
14573 arrayrulewidth}{0.4pt}
14574 \end_layout
14575
14576 \end_inset
14577
14578
14579 \end_layout
14580
14581 \begin_layout Section
14582 Table Customization
14583 \begin_inset LatexCommand index
14584 name "Table Customization"
14585
14586 \end_inset
14587
14588
14589 \begin_inset LatexCommand index
14590 name "Table ! Customization"
14591
14592 \end_inset
14593
14594
14595 \end_layout
14596
14597 \begin_layout Subsection
14598 Row Spacing
14599 \begin_inset LatexCommand label
14600 name "sub:Row-Spacing"
14601
14602 \end_inset
14603
14604
14605 \begin_inset LatexCommand index
14606 name "Table Customization ! Row Spacing"
14607
14608 \end_inset
14609
14610
14611 \end_layout
14612
14613 \begin_layout Standard
14614 You can add vertical space to table rows in the 
14615 \family sans
14616 Borders
14617 \family default
14618  tab of the table dialog.
14619  You find there three possibilities:
14620 \end_layout
14621
14622 \begin_layout Description
14623 Top\InsetSpace ~
14624 of\InsetSpace ~
14625 row will add space above the characters of the table row.
14626  If the table is a formal table
14627 \begin_inset Foot
14628 status collapsed
14629
14630 \begin_layout Standard
14631 Formal tables are explained in section\InsetSpace ~
14632
14633 \begin_inset LatexCommand ref
14634 reference "sec:Formal-Tables"
14635
14636 \end_inset
14637
14638 .
14639 \end_layout
14640
14641 \end_inset
14642
14643  LyX will insert as default 0.5\InsetSpace \thinspace{}
14644 em space.
14645  For normal tables the inserted space will unfortunately destroy the vertical
14646  table lines as in the following table: 
14647 \begin_inset Tabular
14648 <lyxtabular version="3" rows="3" columns="1">
14649 <features>
14650 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14651 <row topline="true">
14652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14653 \begin_inset Text
14654
14655 \begin_layout Standard
14656 A
14657 \end_layout
14658
14659 \end_inset
14660 </cell>
14661 </row>
14662 <row topline="true" topspace="3mm">
14663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14664 \begin_inset Text
14665
14666 \begin_layout Standard
14667 3\InsetSpace \thinspace{}
14668 mm space top of row
14669 \end_layout
14670
14671 \end_inset
14672 </cell>
14673 </row>
14674 <row topline="true" bottomline="true">
14675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14676 \begin_inset Text
14677
14678 \begin_layout Standard
14679 C
14680 \end_layout
14681
14682 \end_inset
14683 </cell>
14684 </row>
14685 </lyxtabular>
14686
14687 \end_inset
14688
14689
14690 \newline
14691 So inserting space to the top of row for normal tables is only useful when
14692  you don't have vertical lines.
14693 \end_layout
14694
14695 \begin_layout Description
14696 Bottom\InsetSpace ~
14697 of\InsetSpace ~
14698 row will add space below the characters of the table row.
14699  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14700 em space, for
14701  normal tables the default size is 2\InsetSpace \thinspace{}
14702 pt.
14703 \end_layout
14704
14705 \begin_layout Description
14706 Between\InsetSpace ~
14707 rows only has an effect when you have selected the whole table row
14708  before.
14709  The space is added between the current and the following row.
14710  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14711 em space.
14712  For normal tables the inserted space will unfortunately destroy the vertical
14713  table lines as in the following table: 
14714 \begin_inset Tabular
14715 <lyxtabular version="3" rows="3" columns="1">
14716 <features>
14717 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14718 <row topline="true">
14719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14720 \begin_inset Text
14721
14722 \begin_layout Standard
14723 A
14724 \end_layout
14725
14726 \end_inset
14727 </cell>
14728 </row>
14729 <row topline="true" interlinespace="3mm">
14730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14731 \begin_inset Text
14732
14733 \begin_layout Standard
14734 \begin_inset Formula $\downarrow$
14735 \end_inset
14736
14737  3\InsetSpace \thinspace{}
14738 mm space between row 
14739 \begin_inset Formula $\downarrow$
14740 \end_inset
14741
14742
14743 \end_layout
14744
14745 \end_inset
14746 </cell>
14747 </row>
14748 <row topline="true" bottomline="true">
14749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14750 \begin_inset Text
14751
14752 \begin_layout Standard
14753 \begin_inset Formula $\uparrow$
14754 \end_inset
14755
14756  3\InsetSpace \thinspace{}
14757 mm space between row 
14758 \begin_inset Formula $\uparrow$
14759 \end_inset
14760
14761
14762 \end_layout
14763
14764 \end_inset
14765 </cell>
14766 </row>
14767 </lyxtabular>
14768
14769 \end_inset
14770
14771
14772 \newline
14773 So inserting space between rows for normal tables is only useful when you
14774  don't have vertical lines.
14775 \end_layout
14776
14777 \begin_layout Standard
14778 When you want to add extra height to all cells of all tables, you can do
14779  this with the following preamble line:
14780 \end_layout
14781
14782 \begin_layout Standard
14783
14784 \series bold
14785
14786 \backslash
14787 setlength{
14788 \backslash
14789 extrarowheight}{height}
14790 \end_layout
14791
14792 \begin_layout Standard
14793 But this has the disadvantage that the cell texts are no longer exactly
14794  vertically centered.
14795 \end_layout
14796
14797 \begin_layout Subsection
14798 Special Cell Alignment
14799 \begin_inset LatexCommand index
14800 name "Table Customization ! Special Cell Alignment"
14801
14802 \end_inset
14803
14804
14805 \end_layout
14806
14807 \begin_layout Standard
14808 Sometimes it looks better when the cell entries of a column are aligned
14809  with a special character, e.\InsetSpace \thinspace{}
14810 g.\InsetSpace ~
14811 with the decimal separator as in Table\InsetSpace ~
14812
14813 \begin_inset LatexCommand ref
14814 reference "tab:Table-cells-of"
14815
14816 \end_inset
14817
14818 .
14819 \end_layout
14820
14821 \begin_layout Standard
14822 \begin_inset Float table
14823 placement h
14824 wide false
14825 sideways false
14826 status open
14827
14828 \begin_layout Standard
14829 \begin_inset Caption
14830
14831 \begin_layout Standard
14832 \begin_inset LatexCommand label
14833 name "tab:Table-cells-of"
14834
14835 \end_inset
14836
14837 Table cells of a column aligned with the decimal separator.
14838 \end_layout
14839
14840 \end_inset
14841
14842
14843 \end_layout
14844
14845 \begin_layout Standard
14846 \align center
14847 \begin_inset Tabular
14848 <lyxtabular version="3" rows="4" columns="2">
14849 <features>
14850 <column alignment="right" valignment="top" width="0">
14851 <column alignment="left" valignment="top" width="0" special="@{}l">
14852 <row bottomline="true">
14853 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14854 \begin_inset Text
14855
14856 \begin_layout Standard
14857 heading
14858 \end_layout
14859
14860 \end_inset
14861 </cell>
14862 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14863 \begin_inset Text
14864
14865 \begin_layout Standard
14866
14867 \end_layout
14868
14869 \end_inset
14870 </cell>
14871 </row>
14872 <row>
14873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14874 \begin_inset Text
14875
14876 \begin_layout Standard
14877 12.
14878 \end_layout
14879
14880 \end_inset
14881 </cell>
14882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14883 \begin_inset Text
14884
14885 \begin_layout Standard
14886 6
14887 \end_layout
14888
14889 \end_inset
14890 </cell>
14891 </row>
14892 <row>
14893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14894 \begin_inset Text
14895
14896 \begin_layout Standard
14897 0.
14898 \end_layout
14899
14900 \end_inset
14901 </cell>
14902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14903 \begin_inset Text
14904
14905 \begin_layout Standard
14906 68
14907 \end_layout
14908
14909 \end_inset
14910 </cell>
14911 </row>
14912 <row>
14913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14914 \begin_inset Text
14915
14916 \begin_layout Standard
14917 -123.
14918 \end_layout
14919
14920 \end_inset
14921 </cell>
14922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14923 \begin_inset Text
14924
14925 \begin_layout Standard
14926 0
14927 \end_layout
14928
14929 \end_inset
14930 </cell>
14931 </row>
14932 </lyxtabular>
14933
14934 \end_inset
14935
14936
14937 \end_layout
14938
14939 \end_inset
14940
14941
14942 \end_layout
14943
14944 \begin_layout Standard
14945 This table was created with a 4×2 table.
14946  The heading is a centered multicolumn.
14947  The first column is right-aligned and contains the digits before the decimal
14948  point and the decimal point.
14949  The second column is left aligned and contains the digits after the decimal
14950  point.
14951  To omit the space that is normally between two table columns, use the following
14952  LaTeX-argument for the second column:
14953 \end_layout
14954
14955 \begin_layout Standard
14956
14957 \series bold
14958 @{}l
14959 \end_layout
14960
14961 \begin_layout Standard
14962 If you need a vertical line right beside the second column, use this LaTeX-argum
14963 ent instead: 
14964 \series bold
14965 @{}l|
14966 \end_layout
14967
14968 \begin_layout Standard
14969 Table\InsetSpace ~
14970
14971 \begin_inset LatexCommand ref
14972 reference "tab:Several-table-cell"
14973
14974 \end_inset
14975
14976  shows some example alignments.
14977  For the alignment with the relation sign, you must add the second smallest
14978  math-space at the beginning of the last column to get the correct space
14979  surrounding the relation sign.
14980 \end_layout
14981
14982 \begin_layout Standard
14983 \begin_inset Float table
14984 wide false
14985 sideways false
14986 status open
14987
14988 \begin_layout Standard
14989 \begin_inset Caption
14990
14991 \begin_layout Standard
14992 \begin_inset LatexCommand label
14993 name "tab:Several-table-cell"
14994
14995 \end_inset
14996
14997 Several table cell alignments.
14998 \end_layout
14999
15000 \end_inset
15001
15002
15003 \end_layout
15004
15005 \begin_layout Standard
15006 \align center
15007 \begin_inset Tabular
15008 <lyxtabular version="3" rows="4" columns="6">
15009 <features>
15010 <column alignment="right" valignment="top" width="0">
15011 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15012 <column alignment="right" valignment="top" width="0">
15013 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15014 <column alignment="right" valignment="top" width="0">
15015 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15016 <row bottomline="true">
15017 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15018 \begin_inset Text
15019
15020 \begin_layout Standard
15021 units
15022 \end_layout
15023
15024 \end_inset
15025 </cell>
15026 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15027 \begin_inset Text
15028
15029 \begin_layout Standard
15030
15031 \end_layout
15032
15033 \end_inset
15034 </cell>
15035 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15036 \begin_inset Text
15037
15038 \begin_layout Standard
15039 exponents
15040 \end_layout
15041
15042 \end_inset
15043 </cell>
15044 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15045 \begin_inset Text
15046
15047 \begin_layout Standard
15048
15049 \end_layout
15050
15051 \end_inset
15052 </cell>
15053 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15054 \begin_inset Text
15055
15056 \begin_layout Standard
15057 relations
15058 \end_layout
15059
15060 \end_inset
15061 </cell>
15062 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15063 \begin_inset Text
15064
15065 \begin_layout Standard
15066
15067 \end_layout
15068
15069 \end_inset
15070 </cell>
15071 </row>
15072 <row>
15073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15074 \begin_inset Text
15075
15076 \begin_layout Standard
15077 12×
15078 \end_layout
15079
15080 \end_inset
15081 </cell>
15082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15083 \begin_inset Text
15084
15085 \begin_layout Standard
15086 24\InsetSpace \thinspace{}
15087 bottles
15088 \end_layout
15089
15090 \end_inset
15091 </cell>
15092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15093 \begin_inset Text
15094
15095 \begin_layout Standard
15096 \begin_inset Formula $10\cdot$
15097 \end_inset
15098
15099
15100 \end_layout
15101
15102 \end_inset
15103 </cell>
15104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15105 \begin_inset Text
15106
15107 \begin_layout Standard
15108 \begin_inset Formula $10^{\mbox{-}17}$
15109 \end_inset
15110
15111
15112 \end_layout
15113
15114 \end_inset
15115 </cell>
15116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15117 \begin_inset Text
15118
15119 \begin_layout Standard
15120 \begin_inset Formula $\Gamma(t)\propto$
15121 \end_inset
15122
15123
15124 \end_layout
15125
15126 \end_inset
15127 </cell>
15128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15129 \begin_inset Text
15130
15131 \begin_layout Standard
15132 \begin_inset Formula $\:\Upsilon(t)$
15133 \end_inset
15134
15135
15136 \end_layout
15137
15138 \end_inset
15139 </cell>
15140 </row>
15141 <row>
15142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15143 \begin_inset Text
15144
15145 \begin_layout Standard
15146 1024×
15147 \end_layout
15148
15149 \end_inset
15150 </cell>
15151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15152 \begin_inset Text
15153
15154 \begin_layout Standard
15155 768\InsetSpace \thinspace{}
15156 Pixels
15157 \end_layout
15158
15159 \end_inset
15160 </cell>
15161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15162 \begin_inset Text
15163
15164 \begin_layout Standard
15165 \begin_inset Formula $5.78\cdot$
15166 \end_inset
15167
15168
15169 \end_layout
15170
15171 \end_inset
15172 </cell>
15173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15174 \begin_inset Text
15175
15176 \begin_layout Standard
15177 \begin_inset Formula $10^{7}$
15178 \end_inset
15179
15180
15181 \end_layout
15182
15183 \end_inset
15184 </cell>
15185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15186 \begin_inset Text
15187
15188 \begin_layout Standard
15189 \begin_inset Formula $A\ne$
15190 \end_inset
15191
15192
15193 \end_layout
15194
15195 \end_inset
15196 </cell>
15197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15198 \begin_inset Text
15199
15200 \begin_layout Standard
15201 \begin_inset Formula $\: B_{\mathrm{red}}$
15202 \end_inset
15203
15204
15205 \end_layout
15206
15207 \end_inset
15208 </cell>
15209 </row>
15210 <row>
15211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15212 \begin_inset Text
15213
15214 \begin_layout Standard
15215 32×
15216 \end_layout
15217
15218 \end_inset
15219 </cell>
15220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15221 \begin_inset Text
15222
15223 \begin_layout Standard
15224 6\InsetSpace \thinspace{}
15225 cm
15226 \end_layout
15227
15228 \end_inset
15229 </cell>
15230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15231 \begin_inset Text
15232
15233 \begin_layout Standard
15234 -
15235 \begin_inset Formula $33.5\cdot$
15236 \end_inset
15237
15238
15239 \end_layout
15240
15241 \end_inset
15242 </cell>
15243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15244 \begin_inset Text
15245
15246 \begin_layout Standard
15247 \begin_inset Formula $10^{4}$
15248 \end_inset
15249
15250
15251 \end_layout
15252
15253 \end_inset
15254 </cell>
15255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15256 \begin_inset Text
15257
15258 \begin_layout Standard
15259 \begin_inset Formula $\sin(\alpha)\ge$
15260 \end_inset
15261
15262
15263 \end_layout
15264
15265 \end_inset
15266 </cell>
15267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15268 \begin_inset Text
15269
15270 \begin_layout Standard
15271 \begin_inset Formula $\:\sin(\beta)$
15272 \end_inset
15273
15274
15275 \end_layout
15276
15277 \end_inset
15278 </cell>
15279 </row>
15280 </lyxtabular>
15281
15282 \end_inset
15283
15284
15285 \end_layout
15286
15287 \end_inset
15288
15289
15290 \end_layout
15291
15292 \begin_layout Standard
15293 \begin_inset VSpace bigskip
15294 \end_inset
15295
15296 There is also the LaTeX-package 
15297 \series bold
15298 dcolumn
15299 \series default
15300
15301 \begin_inset LatexCommand index
15302 name "LaTeX-packages ! dcolumn"
15303
15304 \end_inset
15305
15306  that provides table cell alignments.
15307  But this unfortunately treats the cell entries as math and doesn't allow
15308  formulas in table cells: The first column of Table\InsetSpace ~
15309
15310 \begin_inset LatexCommand ref
15311 reference "tab:Several-table-cell"
15312
15313 \end_inset
15314
15315  will look with 
15316 \series bold
15317 dcolumn
15318 \series default
15319  like the first column in Table\InsetSpace ~
15320
15321 \begin_inset LatexCommand ref
15322 reference "tab:Alignments-when"
15323
15324 \end_inset
15325
15326  and only with some tricks like the expected.
15327  The alignment of the second and third column of Table\InsetSpace ~
15328
15329 \begin_inset LatexCommand ref
15330 reference "tab:Several-table-cell"
15331
15332 \end_inset
15333
15334  is not possible with 
15335 \series bold
15336 dcolumn
15337 \series default
15338 .
15339 \end_layout
15340
15341 \begin_layout Standard
15342 \begin_inset Float table
15343 placement h
15344 wide false
15345 sideways false
15346 status open
15347
15348 \begin_layout Standard
15349 \begin_inset Caption
15350
15351 \begin_layout Standard
15352 \begin_inset LatexCommand label
15353 name "tab:Alignments-when"
15354
15355 \end_inset
15356
15357 Alignments when LaTeX-package dcolumn is used.
15358  For all column alignments tricks have to be used to get the output.
15359 \end_layout
15360
15361 \end_inset
15362
15363
15364 \end_layout
15365
15366 \begin_layout Standard
15367 \align center
15368 \begin_inset Tabular
15369 <lyxtabular version="3" rows="4" columns="3">
15370 <features>
15371 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}|">
15372 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}|">
15373 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15374 <row bottomline="true">
15375 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15376 \begin_inset Text
15377
15378 \begin_layout Standard
15379 units
15380 \end_layout
15381
15382 \end_inset
15383 </cell>
15384 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15385 \begin_inset Text
15386
15387 \begin_layout Standard
15388 units
15389 \end_layout
15390
15391 \end_inset
15392 </cell>
15393 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15394 \begin_inset Text
15395
15396 \begin_layout Standard
15397 units
15398 \end_layout
15399
15400 \end_inset
15401 </cell>
15402 </row>
15403 <row>
15404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15405 \begin_inset Text
15406
15407 \begin_layout Standard
15408 12x24\InsetSpace \thinspace{}
15409 bottles
15410 \end_layout
15411
15412 \end_inset
15413 </cell>
15414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15415 \begin_inset Text
15416
15417 \begin_layout Standard
15418 12x24\InsetSpace \thinspace{}
15419
15420 \begin_inset Formula $\mbox{bottles}$
15421 \end_inset
15422
15423
15424 \end_layout
15425
15426 \end_inset
15427 </cell>
15428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15429 \begin_inset Text
15430
15431 \begin_layout Standard
15432 12
15433 \begin_inset ERT
15434 status collapsed
15435
15436 \begin_layout Standard
15437
15438
15439 \backslash
15440 times 
15441 \end_layout
15442
15443 \end_inset
15444
15445 24~
15446 \begin_inset Formula $\mbox{bottles}$
15447 \end_inset
15448
15449
15450 \end_layout
15451
15452 \end_inset
15453 </cell>
15454 </row>
15455 <row>
15456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15457 \begin_inset Text
15458
15459 \begin_layout Standard
15460 1024x768\InsetSpace \thinspace{}
15461 Pixels
15462 \end_layout
15463
15464 \end_inset
15465 </cell>
15466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15467 \begin_inset Text
15468
15469 \begin_layout Standard
15470 1024x768\InsetSpace \thinspace{}
15471
15472 \begin_inset Formula $\mbox{Pixels}$
15473 \end_inset
15474
15475
15476 \end_layout
15477
15478 \end_inset
15479 </cell>
15480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15481 \begin_inset Text
15482
15483 \begin_layout Standard
15484 1024
15485 \begin_inset ERT
15486 status collapsed
15487
15488 \begin_layout Standard
15489
15490
15491 \backslash
15492 times 
15493 \end_layout
15494
15495 \end_inset
15496
15497 768~
15498 \begin_inset Formula $\mbox{Pixels}$
15499 \end_inset
15500
15501
15502 \end_layout
15503
15504 \end_inset
15505 </cell>
15506 </row>
15507 <row>
15508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15509 \begin_inset Text
15510
15511 \begin_layout Standard
15512 32x6\InsetSpace \thinspace{}
15513 cm
15514 \end_layout
15515
15516 \end_inset
15517 </cell>
15518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15519 \begin_inset Text
15520
15521 \begin_layout Standard
15522 32x6\InsetSpace \thinspace{}
15523
15524 \begin_inset Formula $\mbox{cm}$
15525 \end_inset
15526
15527
15528 \end_layout
15529
15530 \end_inset
15531 </cell>
15532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15533 \begin_inset Text
15534
15535 \begin_layout Standard
15536 32
15537 \begin_inset ERT
15538 status collapsed
15539
15540 \begin_layout Standard
15541
15542
15543 \backslash
15544 times 
15545 \end_layout
15546
15547 \end_inset
15548
15549 6~
15550 \begin_inset Formula $\mbox{cm}$
15551 \end_inset
15552
15553
15554 \end_layout
15555
15556 \end_inset
15557 </cell>
15558 </row>
15559 </lyxtabular>
15560
15561 \end_inset
15562
15563
15564 \end_layout
15565
15566 \end_inset
15567
15568
15569 \end_layout
15570
15571 \begin_layout Subsection
15572 Customized Cell/Column Format
15573 \begin_inset LatexCommand label
15574 name "sub:Customized-Format"
15575
15576 \end_inset
15577
15578
15579 \begin_inset LatexCommand index
15580 name "Table Customization ! Cell/Column Format"
15581
15582 \end_inset
15583
15584
15585 \end_layout
15586
15587 \begin_layout Standard
15588 Calculating the needed width for spanned columns like in section\InsetSpace ~
15589
15590 \begin_inset LatexCommand ref
15591 reference "sub:Multicolumn-Calculations"
15592
15593 \end_inset
15594
15595  is very annoying if you have several tables with multicolumn cells.
15596  To make life easier, you can define a cell/column format in the preamble,
15597  so that it can be used in all tables of the document.
15598  The format is defined with the command
15599 \end_layout
15600
15601 \begin_layout Standard
15602
15603 \series bold
15604
15605 \backslash
15606 newcolumntype{name of format}[number of arguments]{commands}
15607 \end_layout
15608
15609 \begin_layout Standard
15610 The format name may only consist of one letter.
15611  The letters 
15612 \emph on
15613 b
15614 \emph default
15615
15616 \emph on
15617 c
15618 \emph default
15619
15620 \emph on
15621 l
15622 \emph default
15623
15624 \emph on
15625 m
15626 \emph default
15627
15628 \emph on
15629 p
15630 \emph default
15631  and 
15632 \emph on
15633 r
15634 \emph default
15635  are predefined and cannot be used.
15636  But all letters are allowed as capitals.
15637 \end_layout
15638
15639 \begin_layout Standard
15640 \begin_inset VSpace medskip
15641 \end_inset
15642
15643
15644 \end_layout
15645
15646 \begin_layout Standard
15647 For vertically and horizontally centered multicolumn cells with a fixed
15648  width you can define the cell format
15649 \end_layout
15650
15651 \begin_layout Standard
15652
15653 \series bold
15654
15655 \backslash
15656 newcolumntype{M}[1]{>{
15657 \backslash
15658 centering
15659 \backslash
15660 hspace{0pt}}m{#1}}
15661 \end_layout
15662
15663 \begin_layout Standard
15664 where 
15665 \series bold
15666
15667 \backslash
15668 hspace{0pt}
15669 \series default
15670  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15671
15672 \begin_inset LatexCommand ref
15673 reference "sub:Multiple-Lines-in"
15674
15675 \end_inset
15676
15677 .
15678  Now you can simply enter
15679 \end_layout
15680
15681 \begin_layout Standard
15682
15683 \series bold
15684 |M{width}
15685 \end_layout
15686
15687 \begin_layout Standard
15688 as LaTeX-argument in the table dialog to create a multicolumn.
15689 \end_layout
15690
15691 \begin_layout Standard
15692 \begin_inset VSpace bigskip
15693 \end_inset
15694
15695
15696 \end_layout
15697
15698 \begin_layout Standard
15699 For cells spanned by a multicolumn cell, you can define the format
15700 \end_layout
15701
15702 \begin_layout Standard
15703
15704 \series bold
15705
15706 \backslash
15707 newcolumntype{S}[2]{>{
15708 \backslash
15709 centering
15710 \backslash
15711 hspace{0pt}}
15712 \newline
15713
15714 \begin_inset ERT
15715 status collapsed
15716
15717 \begin_layout Standard
15718
15719
15720 \backslash
15721 phantom{
15722 \end_layout
15723
15724 \end_inset
15725
15726
15727 \backslash
15728 newcolumntype{S}[2]
15729 \begin_inset ERT
15730 status collapsed
15731
15732 \begin_layout Standard
15733
15734 }
15735 \end_layout
15736
15737 \end_inset
15738
15739 m{(#1+(2
15740 \backslash
15741 tabcolsep+
15742 \backslash
15743 arrayrulewidth)*(1-#2))/#2}}
15744 \end_layout
15745
15746 \begin_layout Standard
15747 This format uses equation 
15748 \begin_inset LatexCommand eqref
15749 reference "eq:Wgn"
15750
15751 \end_inset
15752
15753  to calculate the needed width so that each spanned cell has the same width.
15754 \end_layout
15755
15756 \begin_layout Standard
15757 You can now enter
15758 \end_layout
15759
15760 \begin_layout Standard
15761
15762 \series bold
15763 |S{width of multicolumn cell}{number of spanned columns}
15764 \end_layout
15765
15766 \begin_layout Standard
15767 as LaTeX-argument of the column.
15768 \end_layout
15769
15770 \begin_layout Standard
15771 \begin_inset VSpace bigskip
15772 \end_inset
15773
15774
15775 \end_layout
15776
15777 \begin_layout Standard
15778 For colored columns, you can define
15779 \end_layout
15780
15781 \begin_layout Standard
15782
15783 \series bold
15784
15785 \backslash
15786 newcolumntype{K}[1]{>{
15787 \backslash
15788 columncolor{#1}
15789 \backslash
15790 hspace{0pt}}c}
15791 \end_layout
15792
15793 \begin_layout Standard
15794 The 
15795 \begin_inset Quotes eld
15796 \end_inset
15797
15798 c
15799 \begin_inset Quotes erd
15800 \end_inset
15801
15802  at the end creates a column with a flexible width whose text is horizontally
15803  centered.
15804  You can now enter
15805 \end_layout
15806
15807 \begin_layout Standard
15808
15809 \series bold
15810 K{color name}
15811 \end_layout
15812
15813 \begin_layout Standard
15814 as LaTeX-argument.
15815 \end_layout
15816
15817 \begin_layout Standard
15818 \begin_inset VSpace bigskip
15819 \end_inset
15820
15821
15822 \end_layout
15823
15824 \begin_layout Standard
15825 To create Table\InsetSpace ~
15826
15827 \begin_inset LatexCommand ref
15828 reference "tab:Table-using-user-defined"
15829
15830 \end_inset
15831
15832  use the LaTeX-arguments
15833 \end_layout
15834
15835 \begin_layout Standard
15836
15837 \series bold
15838 |M{2.5cm}
15839 \end_layout
15840
15841 \begin_layout Standard
15842 for the first column and the multicolumn,
15843 \end_layout
15844
15845 \begin_layout Standard
15846
15847 \series bold
15848 |K{red}|
15849 \end_layout
15850
15851 \begin_layout Standard
15852 for the the last column, and
15853 \end_layout
15854
15855 \begin_layout Standard
15856
15857 \series bold
15858 |S{2.5cm}{2}
15859 \end_layout
15860
15861 \begin_layout Standard
15862 for the cells in the second column.
15863 \end_layout
15864
15865 \begin_layout Standard
15866 \begin_inset Float table
15867 placement h
15868 wide false
15869 sideways false
15870 status open
15871
15872 \begin_layout Standard
15873 \begin_inset Caption
15874
15875 \begin_layout Standard
15876 \begin_inset LatexCommand label
15877 name "tab:Table-using-user-defined"
15878
15879 \end_inset
15880
15881 Table using user-defined table formats
15882 \end_layout
15883
15884 \end_inset
15885
15886
15887 \end_layout
15888
15889 \begin_layout Standard
15890 \align center
15891 \begin_inset Tabular
15892 <lyxtabular version="3" rows="3" columns="4">
15893 <features>
15894 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15895 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15896 <column alignment="center" valignment="middle" leftline="true" width="0">
15897 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15898 <row topline="true">
15899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15900 \begin_inset Text
15901
15902 \begin_layout Standard
15903 verylongtablecellword
15904 \end_layout
15905
15906 \end_inset
15907 </cell>
15908 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15909 \begin_inset Text
15910
15911 \begin_layout Standard
15912 multiple lines multicolumn
15913 \end_layout
15914
15915 \end_inset
15916 </cell>
15917 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15918 \begin_inset Text
15919
15920 \begin_layout Standard
15921
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 c
15931 \end_layout
15932
15933 \end_inset
15934 </cell>
15935 </row>
15936 <row topline="true">
15937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15938 \begin_inset Text
15939
15940 \begin_layout Standard
15941 d
15942 \end_layout
15943
15944 \end_inset
15945 </cell>
15946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15947 \begin_inset Text
15948
15949 \begin_layout Standard
15950 e
15951 \end_layout
15952
15953 \end_inset
15954 </cell>
15955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15956 \begin_inset Text
15957
15958 \begin_layout Standard
15959 f
15960 \end_layout
15961
15962 \end_inset
15963 </cell>
15964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15965 \begin_inset Text
15966
15967 \begin_layout Standard
15968 g
15969 \end_layout
15970
15971 \end_inset
15972 </cell>
15973 </row>
15974 <row topline="true" bottomline="true">
15975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15976 \begin_inset Text
15977
15978 \begin_layout Standard
15979 h
15980 \end_layout
15981
15982 \end_inset
15983 </cell>
15984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15985 \begin_inset Text
15986
15987 \begin_layout Standard
15988 i
15989 \end_layout
15990
15991 \end_inset
15992 </cell>
15993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15994 \begin_inset Text
15995
15996 \begin_layout Standard
15997 j
15998 \end_layout
15999
16000 \end_inset
16001 </cell>
16002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16003 \begin_inset Text
16004
16005 \begin_layout Standard
16006 k
16007 \end_layout
16008
16009 \end_inset
16010 </cell>
16011 </row>
16012 </lyxtabular>
16013
16014 \end_inset
16015
16016
16017 \end_layout
16018
16019 \end_inset
16020
16021
16022 \end_layout
16023
16024 \begin_layout Subsection
16025 Line Thickness
16026 \begin_inset LatexCommand label
16027 name "sub:Line-Thickness"
16028
16029 \end_inset
16030
16031
16032 \begin_inset LatexCommand index
16033 name "Table Customization ! Line Thickness"
16034
16035 \end_inset
16036
16037
16038 \end_layout
16039
16040 \begin_layout Standard
16041 The line thickness for all lines in a table can be adjusted with the length
16042  
16043 \series bold
16044
16045 \backslash
16046 arrayrulewidth
16047 \series default
16048 .
16049  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16050 pt, like in Table\InsetSpace ~
16051
16052 \begin_inset LatexCommand ref
16053 reference "tab:Table-with-1.5"
16054
16055 \end_inset
16056
16057 , insert the command
16058 \end_layout
16059
16060 \begin_layout Standard
16061
16062 \series bold
16063
16064 \backslash
16065 setlength{
16066 \backslash
16067 arrayrulewidth}{1.5pt}
16068 \end_layout
16069
16070 \begin_layout Standard
16071 in ERT before the table or table float.
16072  The changed thickness is valid for all following tables.
16073  To use the default value again, set 
16074 \series bold
16075
16076 \backslash
16077 arrayrulewidth
16078 \series default
16079  to 0.4\InsetSpace \thinspace{}
16080 pt in ERT behind the table or table float.
16081 \end_layout
16082
16083 \begin_layout Standard
16084 \begin_inset ERT
16085 status collapsed
16086
16087 \begin_layout Standard
16088
16089
16090 \backslash
16091 setlength{
16092 \backslash
16093 arrayrulewidth}{1.5pt}
16094 \end_layout
16095
16096 \end_inset
16097
16098
16099 \begin_inset Float table
16100 wide false
16101 sideways false
16102 status open
16103
16104 \begin_layout Standard
16105 \begin_inset Caption
16106
16107 \begin_layout Standard
16108 \begin_inset LatexCommand label
16109 name "tab:Table-with-1.5"
16110
16111 \end_inset
16112
16113 Table with 1.5\InsetSpace \thinspace{}
16114 pt thick lines
16115 \end_layout
16116
16117 \end_inset
16118
16119
16120 \end_layout
16121
16122 \begin_layout Standard
16123 \align center
16124 \begin_inset Tabular
16125 <lyxtabular version="3" rows="3" columns="3">
16126 <features>
16127 <column alignment="center" valignment="top" leftline="true" width="0">
16128 <column alignment="center" valignment="top" leftline="true" width="0">
16129 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16130 <row topline="true">
16131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16132 \begin_inset Text
16133
16134 \begin_layout Standard
16135 sd
16136 \end_layout
16137
16138 \end_inset
16139 </cell>
16140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16141 \begin_inset Text
16142
16143 \begin_layout Standard
16144
16145 \end_layout
16146
16147 \end_inset
16148 </cell>
16149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16150 \begin_inset Text
16151
16152 \begin_layout Standard
16153
16154 \end_layout
16155
16156 \end_inset
16157 </cell>
16158 </row>
16159 <row topline="true">
16160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16161 \begin_inset Text
16162
16163 \begin_layout Standard
16164
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16170 \begin_inset Text
16171
16172 \begin_layout Standard
16173 sd
16174 \end_layout
16175
16176 \end_inset
16177 </cell>
16178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16179 \begin_inset Text
16180
16181 \begin_layout Standard
16182
16183 \end_layout
16184
16185 \end_inset
16186 </cell>
16187 </row>
16188 <row topline="true" bottomline="true">
16189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16190 \begin_inset Text
16191
16192 \begin_layout Standard
16193
16194 \end_layout
16195
16196 \end_inset
16197 </cell>
16198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16199 \begin_inset Text
16200
16201 \begin_layout Standard
16202
16203 \end_layout
16204
16205 \end_inset
16206 </cell>
16207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16208 \begin_inset Text
16209
16210 \begin_layout Standard
16211 sd
16212 \end_layout
16213
16214 \end_inset
16215 </cell>
16216 </row>
16217 </lyxtabular>
16218
16219 \end_inset
16220
16221
16222 \end_layout
16223
16224 \end_inset
16225
16226
16227 \begin_inset ERT
16228 status collapsed
16229
16230 \begin_layout Standard
16231
16232
16233 \backslash
16234 setlength{
16235 \backslash
16236 arrayrulewidth}{0.4pt}
16237 \end_layout
16238
16239 \end_inset
16240
16241
16242 \end_layout
16243
16244 \begin_layout Standard
16245 \begin_inset VSpace bigskip
16246 \end_inset
16247
16248 To set the line thickness to 1.5\InsetSpace \thinspace{}
16249 pt only for horizontal lines, like in Table\InsetSpace ~
16250
16251 \begin_inset LatexCommand ref
16252 reference "tab:Table-with-horizontal"
16253
16254 \end_inset
16255
16256 , insert these commands in ERT before the table or table float:
16257 \end_layout
16258
16259 \begin_layout Standard
16260
16261 \series bold
16262
16263 \backslash
16264 let
16265 \backslash
16266 myHline
16267 \backslash
16268 hline
16269 \newline
16270
16271 \backslash
16272 renewcommand{
16273 \backslash
16274 hline}
16275 \newline
16276  {
16277 \backslash
16278 noalign{
16279 \backslash
16280 global
16281 \backslash
16282 arrayrulewidth 1.5pt}
16283 \newline
16284   
16285 \backslash
16286 myHline
16287 \backslash
16288 noalign{
16289 \backslash
16290 global
16291 \backslash
16292 arrayrulewidth 0.4pt}}
16293 \end_layout
16294
16295 \begin_layout Standard
16296 To return to the default line thickness, insert this command in ERT behind
16297  the table or table float:
16298 \end_layout
16299
16300 \begin_layout Standard
16301
16302 \series bold
16303
16304 \backslash
16305 renewcommand{
16306 \backslash
16307 hline}{
16308 \backslash
16309 myHline}
16310 \end_layout
16311
16312 \begin_layout Standard
16313 \begin_inset ERT
16314 status collapsed
16315
16316 \begin_layout Standard
16317
16318
16319 \backslash
16320 let
16321 \backslash
16322 myHline
16323 \backslash
16324 hline
16325 \end_layout
16326
16327 \begin_layout Standard
16328
16329
16330 \backslash
16331 renewcommand{
16332 \backslash
16333 hline}
16334 \end_layout
16335
16336 \begin_layout Standard
16337
16338  {
16339 \backslash
16340 noalign{
16341 \backslash
16342 global
16343 \backslash
16344 arrayrulewidth 1.5pt}
16345 \end_layout
16346
16347 \begin_layout Standard
16348
16349   
16350 \backslash
16351 myHline
16352 \backslash
16353 noalign{
16354 \backslash
16355 global
16356 \backslash
16357 arrayrulewidth 0.4pt}}
16358 \end_layout
16359
16360 \end_inset
16361
16362
16363 \begin_inset Float table
16364 wide false
16365 sideways false
16366 status open
16367
16368 \begin_layout Standard
16369 \begin_inset Caption
16370
16371 \begin_layout Standard
16372 \begin_inset LatexCommand label
16373 name "tab:Table-with-horizontal"
16374
16375 \end_inset
16376
16377 Table with 1.5\InsetSpace \thinspace{}
16378 pt thick horizontal lines
16379 \end_layout
16380
16381 \end_inset
16382
16383
16384 \end_layout
16385
16386 \begin_layout Standard
16387 \align center
16388 \begin_inset Tabular
16389 <lyxtabular version="3" rows="3" columns="3">
16390 <features>
16391 <column alignment="center" valignment="top" leftline="true" width="0">
16392 <column alignment="center" valignment="top" leftline="true" width="0">
16393 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16394 <row topline="true">
16395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16396 \begin_inset Text
16397
16398 \begin_layout Standard
16399 sd
16400 \end_layout
16401
16402 \end_inset
16403 </cell>
16404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16405 \begin_inset Text
16406
16407 \begin_layout Standard
16408
16409 \end_layout
16410
16411 \end_inset
16412 </cell>
16413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16414 \begin_inset Text
16415
16416 \begin_layout Standard
16417
16418 \end_layout
16419
16420 \end_inset
16421 </cell>
16422 </row>
16423 <row topline="true">
16424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16425 \begin_inset Text
16426
16427 \begin_layout Standard
16428
16429 \end_layout
16430
16431 \end_inset
16432 </cell>
16433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16434 \begin_inset Text
16435
16436 \begin_layout Standard
16437 sd
16438 \end_layout
16439
16440 \end_inset
16441 </cell>
16442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16443 \begin_inset Text
16444
16445 \begin_layout Standard
16446
16447 \end_layout
16448
16449 \end_inset
16450 </cell>
16451 </row>
16452 <row topline="true" bottomline="true">
16453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16454 \begin_inset Text
16455
16456 \begin_layout Standard
16457
16458 \end_layout
16459
16460 \end_inset
16461 </cell>
16462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16463 \begin_inset Text
16464
16465 \begin_layout Standard
16466
16467 \end_layout
16468
16469 \end_inset
16470 </cell>
16471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16472 \begin_inset Text
16473
16474 \begin_layout Standard
16475 sd
16476 \end_layout
16477
16478 \end_inset
16479 </cell>
16480 </row>
16481 </lyxtabular>
16482
16483 \end_inset
16484
16485
16486 \end_layout
16487
16488 \end_inset
16489
16490
16491 \begin_inset ERT
16492 status collapsed
16493
16494 \begin_layout Standard
16495
16496
16497 \backslash
16498 renewcommand{
16499 \backslash
16500 hline}{
16501 \backslash
16502 myHline}
16503 \end_layout
16504
16505 \end_inset
16506
16507
16508 \end_layout
16509
16510 \begin_layout Standard
16511 \begin_inset VSpace bigskip
16512 \end_inset
16513
16514 To set the line thickness to 1.5\InsetSpace \thinspace{}
16515 pt only for vertical lines, create the following
16516  column format in the document preamble, according to the description in
16517  section\InsetSpace ~
16518
16519 \begin_inset LatexCommand ref
16520 reference "sub:Customized-Format"
16521
16522 \end_inset
16523
16524 :
16525 \end_layout
16526
16527 \begin_layout Standard
16528
16529 \series bold
16530
16531 \backslash
16532 newcolumntype{V}{!{
16533 \backslash
16534 vrule width 1.5pt}}
16535 \end_layout
16536
16537 \begin_layout Standard
16538 For Table\InsetSpace ~
16539
16540 \begin_inset LatexCommand ref
16541 reference "tab:Table-with-vertical"
16542
16543 \end_inset
16544
16545  the LaTeX-argument
16546 \end_layout
16547
16548 \begin_layout Standard
16549
16550 \series bold
16551 VcV
16552 \end_layout
16553
16554 \begin_layout Standard
16555 was used for the last column and
16556 \end_layout
16557
16558 \begin_layout Standard
16559
16560 \series bold
16561 Vc
16562 \end_layout
16563
16564 \begin_layout Standard
16565 for the other columns.
16566 \end_layout
16567
16568 \begin_layout Standard
16569 \begin_inset Float table
16570 wide false
16571 sideways false
16572 status open
16573
16574 \begin_layout Standard
16575 \begin_inset Caption
16576
16577 \begin_layout Standard
16578 \begin_inset LatexCommand label
16579 name "tab:Table-with-vertical"
16580
16581 \end_inset
16582
16583 Table with 1.5\InsetSpace \thinspace{}
16584 pt thick vertical lines
16585 \end_layout
16586
16587 \end_inset
16588
16589
16590 \end_layout
16591
16592 \begin_layout Standard
16593 \align center
16594 \begin_inset Tabular
16595 <lyxtabular version="3" rows="3" columns="3">
16596 <features>
16597 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16598 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16599 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16600 <row topline="true">
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16602 \begin_inset Text
16603
16604 \begin_layout Standard
16605 sd
16606 \end_layout
16607
16608 \end_inset
16609 </cell>
16610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16611 \begin_inset Text
16612
16613 \begin_layout Standard
16614
16615 \end_layout
16616
16617 \end_inset
16618 </cell>
16619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16620 \begin_inset Text
16621
16622 \begin_layout Standard
16623
16624 \end_layout
16625
16626 \end_inset
16627 </cell>
16628 </row>
16629 <row topline="true">
16630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16631 \begin_inset Text
16632
16633 \begin_layout Standard
16634
16635 \end_layout
16636
16637 \end_inset
16638 </cell>
16639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16640 \begin_inset Text
16641
16642 \begin_layout Standard
16643 sd
16644 \end_layout
16645
16646 \end_inset
16647 </cell>
16648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16649 \begin_inset Text
16650
16651 \begin_layout Standard
16652
16653 \end_layout
16654
16655 \end_inset
16656 </cell>
16657 </row>
16658 <row topline="true" bottomline="true">
16659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16660 \begin_inset Text
16661
16662 \begin_layout Standard
16663
16664 \end_layout
16665
16666 \end_inset
16667 </cell>
16668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16669 \begin_inset Text
16670
16671 \begin_layout Standard
16672
16673 \end_layout
16674
16675 \end_inset
16676 </cell>
16677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16678 \begin_inset Text
16679
16680 \begin_layout Standard
16681 sd
16682 \end_layout
16683
16684 \end_inset
16685 </cell>
16686 </row>
16687 </lyxtabular>
16688
16689 \end_inset
16690
16691
16692 \end_layout
16693
16694 \end_inset
16695
16696
16697 \end_layout
16698
16699 \begin_layout Subsection
16700 Dashed Lines
16701 \begin_inset LatexCommand index
16702 name "Table Customization ! Dashed Lines"
16703
16704 \end_inset
16705
16706
16707 \end_layout
16708
16709 \begin_layout Standard
16710 \begin_inset ERT
16711 status collapsed
16712
16713 \begin_layout Standard
16714
16715
16716 \backslash
16717 ifarydshln
16718 \end_layout
16719
16720 \end_inset
16721
16722
16723 \begin_inset Note Note
16724 status open
16725
16726 \begin_layout Standard
16727 The following section will only be displayed when you have the LaTeX-package
16728  
16729 \series bold
16730 arydshln
16731 \series default
16732  is installed.
16733 \end_layout
16734
16735 \end_inset
16736
16737
16738 \end_layout
16739
16740 \begin_layout Standard
16741 \begin_inset Float table
16742 placement H
16743 wide false
16744 sideways false
16745 status open
16746
16747 \begin_layout Standard
16748 \begin_inset Caption
16749
16750 \begin_layout Standard
16751 \begin_inset LatexCommand label
16752 name "tab:Table-with-dashed"
16753
16754 \end_inset
16755
16756 Table with dashed lines
16757 \end_layout
16758
16759 \end_inset
16760
16761
16762 \end_layout
16763
16764 \begin_layout Standard
16765 \align center
16766 \begin_inset Tabular
16767 <lyxtabular version="3" rows="5" columns="5">
16768 <features>
16769 <column alignment="center" valignment="top" leftline="true" width="0">
16770 <column alignment="center" valignment="top" leftline="true" width="0">
16771 <column alignment="center" valignment="top" width="0" special=":c">
16772 <column alignment="center" valignment="top" leftline="true" width="0">
16773 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16774 <row topline="true" bottomline="true">
16775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16776 \begin_inset Text
16777
16778 \begin_layout Standard
16779 a
16780 \end_layout
16781
16782 \end_inset
16783 </cell>
16784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16785 \begin_inset Text
16786
16787 \begin_layout Standard
16788 b
16789 \end_layout
16790
16791 \end_inset
16792 </cell>
16793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16794 \begin_inset Text
16795
16796 \begin_layout Standard
16797 c
16798 \end_layout
16799
16800 \end_inset
16801 </cell>
16802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16803 \begin_inset Text
16804
16805 \begin_layout Standard
16806 d
16807 \end_layout
16808
16809 \end_inset
16810 </cell>
16811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16812 \begin_inset Text
16813
16814 \begin_layout Standard
16815 e
16816 \end_layout
16817
16818 \end_inset
16819 </cell>
16820 </row>
16821 <row topline="true">
16822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16823 \begin_inset Text
16824
16825 \begin_layout Standard
16826 f
16827 \end_layout
16828
16829 \end_inset
16830 </cell>
16831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16832 \begin_inset Text
16833
16834 \begin_layout Standard
16835 g
16836 \end_layout
16837
16838 \end_inset
16839 </cell>
16840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16841 \begin_inset Text
16842
16843 \begin_layout Standard
16844 h
16845 \end_layout
16846
16847 \end_inset
16848 </cell>
16849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16850 \begin_inset Text
16851
16852 \begin_layout Standard
16853 i
16854 \end_layout
16855
16856 \end_inset
16857 </cell>
16858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16859 \begin_inset Text
16860
16861 \begin_layout Standard
16862 j
16863 \end_layout
16864
16865 \end_inset
16866 </cell>
16867 </row>
16868 <row>
16869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16870 \begin_inset Text
16871
16872 \begin_layout Standard
16873 \begin_inset ERT
16874 status collapsed
16875
16876 \begin_layout Standard
16877
16878
16879 \backslash
16880 hdashline 
16881 \end_layout
16882
16883 \end_inset
16884
16885 k
16886 \end_layout
16887
16888 \end_inset
16889 </cell>
16890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16891 \begin_inset Text
16892
16893 \begin_layout Standard
16894 l
16895 \end_layout
16896
16897 \end_inset
16898 </cell>
16899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16900 \begin_inset Text
16901
16902 \begin_layout Standard
16903 m
16904 \end_layout
16905
16906 \end_inset
16907 </cell>
16908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16909 \begin_inset Text
16910
16911 \begin_layout Standard
16912 n
16913 \end_layout
16914
16915 \end_inset
16916 </cell>
16917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16918 \begin_inset Text
16919
16920 \begin_layout Standard
16921 o
16922 \end_layout
16923
16924 \end_inset
16925 </cell>
16926 </row>
16927 <row topline="true">
16928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16929 \begin_inset Text
16930
16931 \begin_layout Standard
16932 \begin_inset ERT
16933 status collapsed
16934
16935 \begin_layout Standard
16936
16937
16938 \backslash
16939 cdashline{4-5}
16940 \end_layout
16941
16942 \end_inset
16943
16944 p
16945 \end_layout
16946
16947 \end_inset
16948 </cell>
16949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16950 \begin_inset Text
16951
16952 \begin_layout Standard
16953 q
16954 \end_layout
16955
16956 \end_inset
16957 </cell>
16958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16959 \begin_inset Text
16960
16961 \begin_layout Standard
16962 r
16963 \end_layout
16964
16965 \end_inset
16966 </cell>
16967 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16968 \begin_inset Text
16969
16970 \begin_layout Standard
16971 s
16972 \end_layout
16973
16974 \end_inset
16975 </cell>
16976 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16977 \begin_inset Text
16978
16979 \begin_layout Standard
16980
16981 \end_layout
16982
16983 \end_inset
16984 </cell>
16985 </row>
16986 <row topline="true" bottomline="true">
16987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16988 \begin_inset Text
16989
16990 \begin_layout Standard
16991 t
16992 \end_layout
16993
16994 \end_inset
16995 </cell>
16996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16997 \begin_inset Text
16998
16999 \begin_layout Standard
17000 u
17001 \end_layout
17002
17003 \end_inset
17004 </cell>
17005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17006 \begin_inset Text
17007
17008 \begin_layout Standard
17009 v
17010 \end_layout
17011
17012 \end_inset
17013 </cell>
17014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17015 \begin_inset Text
17016
17017 \begin_layout Standard
17018 w
17019 \end_layout
17020
17021 \end_inset
17022 </cell>
17023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17024 \begin_inset Text
17025
17026 \begin_layout Standard
17027 x
17028 \end_layout
17029
17030 \end_inset
17031 </cell>
17032 </row>
17033 </lyxtabular>
17034
17035 \end_inset
17036
17037
17038 \end_layout
17039
17040 \end_inset
17041
17042
17043 \end_layout
17044
17045 \begin_layout Standard
17046 LyX doesn't natively support dashed lines, so you have to use ERT.
17047  As prerequisite the LaTeX-package 
17048 \series bold
17049 arydshln
17050 \series default
17051
17052 \begin_inset LatexCommand index
17053 name "LaTeX-packages ! arydshln"
17054
17055 \end_inset
17056
17057  must be loaded in the document preamble with the command
17058 \end_layout
17059
17060 \begin_layout Standard
17061
17062 \series bold
17063
17064 \backslash
17065 usepackage{arydshln}
17066 \end_layout
17067
17068 \begin_layout Standard
17069 To make a vertical line dashed, enter the colon 
17070 \begin_inset Quotes eld
17071 \end_inset
17072
17073 :
17074 \begin_inset Quotes erd
17075 \end_inset
17076
17077  together with the character for the horizontal alignment as LaTeX-argument
17078  in the table cell dialog.
17079 \end_layout
17080
17081 \begin_layout Standard
17082 For a horizontal dashed line add the command
17083 \end_layout
17084
17085 \begin_layout Standard
17086
17087 \series bold
17088
17089 \backslash
17090 hdashline
17091 \end_layout
17092
17093 \begin_layout Standard
17094 in ERT as first element of the first cell in the table row.
17095 \end_layout
17096
17097 \begin_layout Standard
17098 For dashed multicolumn lines use the command
17099 \end_layout
17100
17101 \begin_layout Standard
17102
17103 \series bold
17104
17105 \backslash
17106 cdashline{line number
17107 \series default
17108 }
17109 \end_layout
17110
17111 \begin_layout Standard
17112 in ERT as first element of the first cell in the table row.
17113  If you have for example a multicolumn spanning over columns 2 to 4 and
17114  you want to have a dashed line above, add the command
17115 \end_layout
17116
17117 \begin_layout Standard
17118
17119 \series bold
17120
17121 \backslash
17122 cdashline{2-4}
17123 \end_layout
17124
17125 \begin_layout Standard
17126 as first element of the first cell in the row of the multicolumn.
17127 \end_layout
17128
17129 \begin_layout Standard
17130 \begin_inset VSpace bigskip
17131 \end_inset
17132
17133
17134 \end_layout
17135
17136 \begin_layout Standard
17137 Table\InsetSpace ~
17138
17139 \begin_inset LatexCommand ref
17140 reference "tab:Table-with-dashed"
17141
17142 \end_inset
17143
17144  was created using 
17145 \begin_inset Quotes eld
17146 \end_inset
17147
17148
17149 \series bold
17150 :c
17151 \series default
17152
17153 \begin_inset Quotes erd
17154 \end_inset
17155
17156  as LaTeX-argument of the third column.
17157  The ERT command 
17158 \series bold
17159
17160 \backslash
17161 hdashline
17162 \series default
17163  was inserted to the first cell of the third row and the the ERT command
17164 \newline
17165
17166  
17167 \series bold
17168
17169 \backslash
17170 cdashline{4-5}
17171 \series default
17172  was inserted to the first cell of the fourth row.
17173 \end_layout
17174
17175 \begin_layout Standard
17176 \begin_inset Note Greyedout
17177 status open
17178
17179 \begin_layout Standard
17180
17181 \series bold
17182 Note:
17183 \series default
17184  The used LaTeX-package 
17185 \series bold
17186 arydshln
17187 \series default
17188  is apparently not compatible with the LaTeX-package 
17189 \series bold
17190 colortbl
17191 \series default
17192
17193 \begin_inset LatexCommand index
17194 name "LaTeX-packages ! colortbl"
17195
17196 \end_inset
17197
17198  that is used for colored tables in section\InsetSpace ~
17199
17200 \begin_inset LatexCommand ref
17201 reference "sec:Colored-Tables"
17202
17203 \end_inset
17204
17205 .
17206  That means colored tables cannot have dashed lines.
17207 \end_layout
17208
17209 \end_inset
17210
17211
17212 \end_layout
17213
17214 \begin_layout Standard
17215 \begin_inset ERT
17216 status collapsed
17217
17218 \begin_layout Standard
17219
17220
17221 \backslash
17222 else
17223 \end_layout
17224
17225 \end_inset
17226
17227
17228 \begin_inset Note Note
17229 status open
17230
17231 \begin_layout Standard
17232 The following will be displayed when the LaTeX-package 
17233 \series bold
17234 arydshln
17235 \series default
17236  is not installed:
17237 \end_layout
17238
17239 \end_inset
17240
17241
17242 \end_layout
17243
17244 \begin_layout Standard
17245 You need to install the package 
17246 \series bold
17247 arydshln
17248 \series default
17249  to see the contents of this section in the output.
17250 \end_layout
17251
17252 \begin_layout Standard
17253 \begin_inset ERT
17254 status collapsed
17255
17256 \begin_layout Standard
17257
17258
17259 \backslash
17260 fi
17261 \end_layout
17262
17263 \end_inset
17264
17265
17266 \end_layout
17267
17268 \begin_layout Chapter
17269 Floats
17270 \begin_inset LatexCommand index
17271 name "Floats"
17272
17273 \end_inset
17274
17275
17276 \begin_inset LatexCommand label
17277 name "cha:Floats"
17278
17279 \end_inset
17280
17281
17282 \end_layout
17283
17284 \begin_layout Section
17285 Introduction
17286 \begin_inset LatexCommand label
17287 name "sec:FloatIntroduction"
17288
17289 \end_inset
17290
17291
17292 \begin_inset LatexCommand index
17293 name "Floats ! Introduction"
17294
17295 \end_inset
17296
17297
17298 \end_layout
17299
17300 \begin_layout Standard
17301 A float is a block of text associated with some sort of label, which doesn't
17302  have a fixed location.
17303  It can 
17304 \begin_inset Quotes eld
17305 \end_inset
17306
17307 float
17308 \begin_inset Quotes erd
17309 \end_inset
17310
17311  forward or backward a page or two, to wherever it fits best.
17312  
17313 \family sans
17314 Footnotes
17315 \family default
17316  and 
17317 \family sans
17318 Margin\InsetSpace ~
17319 Notes
17320 \family default
17321  are also floats, because they can float to the next page when there are
17322  too many notes at the page.
17323 \end_layout
17324
17325 \begin_layout Standard
17326 Floats allow a high quality layout.
17327  Images and tables can evenly be spread to the pages to avoid white space
17328  and pages without text.
17329  As the floating often destroys the context between the text and the image/table
17330 , every float can be referenced in the text.
17331  Floats are therefore numbered.
17332  Referencing is described in section\InsetSpace ~
17333
17334 \begin_inset LatexCommand ref
17335 reference "sec:Referencing-Floats"
17336
17337 \end_inset
17338
17339 .
17340 \end_layout
17341
17342 \begin_layout Standard
17343 To insert a float, use the menu 
17344 \family sans
17345 Insert\SpecialChar \menuseparator
17346 Floats
17347 \family default
17348 .
17349  This inserts a box with a label in the 
17350 \family sans
17351 Caption
17352 \family default
17353  environment
17354 \begin_inset Foot
17355 status collapsed
17356
17357 \begin_layout Standard
17358 The 
17359 \family sans
17360 Caption
17361 \family default
17362  environment is described in LyX's 
17363 \emph on
17364 Userguide
17365 \emph default
17366 .
17367 \end_layout
17368
17369 \end_inset
17370
17371  into your document.
17372  Every label ends with the character 
17373 \begin_inset Quotes eld
17374 \end_inset
17375
17376 #
17377 \begin_inset Quotes erd
17378 \end_inset
17379
17380  as placeholder for the float number in the output.
17381  The label will automatically be translated to the document language in
17382  the output.
17383  Behind the label you can insert the caption text.
17384  The image or table is inserted above or below the caption in a separate
17385  paragraph within the float.
17386  More about the caption placement is described in section\InsetSpace ~
17387
17388 \begin_inset LatexCommand ref
17389 reference "sec:Caption-Placement"
17390
17391 \end_inset
17392
17393 .
17394  To keep your LyX-document readable, you can open and close the float box
17395  by left-clicking on the box label.
17396  A closed float box looks like this: 
17397 \begin_inset Graphics
17398         filename clipart/floatQt4.png
17399         scale 70
17400
17401 \end_inset
17402
17403  -- a gray button with a red label.
17404 \end_layout
17405
17406 \begin_layout Standard
17407 It is recommended to insert floats as a separate paragraph to avoid possible
17408  LaTeX-errors that can occur when the surrounding text is specially formatted.
17409 \end_layout
17410
17411 \begin_layout Standard
17412 Existing figures or tables can be put into a float by marking them and then
17413  pressing the corresponding toolbar button for a new float.
17414 \end_layout
17415
17416 \begin_layout Section
17417 Float Types
17418 \end_layout
17419
17420 \begin_layout Standard
17421 Besides figure and table floats that are described in section\InsetSpace ~
17422
17423 \begin_inset LatexCommand ref
17424 reference "sec:Figure-Floats"
17425
17426 \end_inset
17427
17428  and 
17429 \begin_inset LatexCommand ref
17430 reference "sec:Table-Floats"
17431
17432 \end_inset
17433
17434 , respectively, LyX offers the float types 
17435 \series bold
17436 Algorithm
17437 \series default
17438  and 
17439 \series bold
17440 Text\InsetSpace ~
17441 Wrap\InsetSpace ~
17442 Float
17443 \series default
17444 .
17445 \end_layout
17446
17447 \begin_layout Subsection
17448 Algorithm Floats
17449 \begin_inset LatexCommand index
17450 name "Floats ! Algorithm Floats"
17451
17452 \end_inset
17453
17454
17455 \end_layout
17456
17457 \begin_layout Standard
17458 \begin_inset Float algorithm
17459 placement h
17460 wide false
17461 sideways false
17462 status open
17463
17464 \begin_layout Standard
17465 \begin_inset Caption
17466
17467 \begin_layout Standard
17468 \begin_inset LatexCommand label
17469 name "alg:Example-Algorithm-float"
17470
17471 \end_inset
17472
17473 Example Algorithm float
17474 \end_layout
17475
17476 \end_inset
17477
17478
17479 \end_layout
17480
17481 \begin_layout LyX-Code
17482 for I in 1..N loop
17483 \newline
17484  Sum:= Sum + A(I); /*senseless comment*/
17485 \newline
17486 end loop
17487 \begin_inset VSpace -4mm
17488 \end_inset
17489
17490
17491 \end_layout
17492
17493 \end_inset
17494
17495
17496 \end_layout
17497
17498 \begin_layout Standard
17499 This float type is inserted with the menu 
17500 \family sans
17501 Insert\SpecialChar \menuseparator
17502 Floats\SpecialChar \menuseparator
17503 Algorithm
17504 \family default
17505 .
17506  It is used for program codes and descriptions of algorithms.
17507  A possible environment for algorithms is the 
17508 \family sans
17509 LyX-Code
17510 \family default
17511 , described in LyX's 
17512 \emph on
17513 Userguide
17514 \emph default
17515 .
17516  Algorithm\InsetSpace ~
17517
17518 \begin_inset LatexCommand ref
17519 reference "alg:Example-Algorithm-float"
17520
17521 \end_inset
17522
17523  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17524 mm vertical space was added
17525  at the end of the float to have the bottom rule exactly below the last
17526  text line.
17527 \end_layout
17528
17529 \begin_layout Standard
17530 The float label is not automatically translated into the document language.
17531  If your document is not in English, you have to do this manually by adding
17532  the following line to the document preamble
17533 \series bold
17534 :
17535 \end_layout
17536
17537 \begin_layout Standard
17538
17539 \series bold
17540
17541 \backslash
17542 floatname{algorithm}{your\InsetSpace ~
17543 name}
17544 \end_layout
17545
17546 \begin_layout Standard
17547
17548 \family sans
17549 your\InsetSpace ~
17550 name
17551 \family default
17552  is the word 
17553 \begin_inset Quotes eld
17554 \end_inset
17555
17556
17557 \emph on
17558 algorithm
17559 \emph default
17560
17561 \begin_inset Quotes erd
17562 \end_inset
17563
17564  in your language.
17565 \end_layout
17566
17567 \begin_layout Description
17568
17569 \series bold
17570 Note:
17571 \series default
17572  When the LaTeX-package 
17573 \series bold
17574 hyperref
17575 \series default
17576
17577 \begin_inset LatexCommand index
17578 name "LaTeX-packages ! hyperref"
17579
17580 \end_inset
17581
17582  is used to link cross-references to floats in the PDF-output, it must be
17583  loaded in the document preamble before the definition of floats to be able
17584  to reference floats.
17585  As LyX sets the float definition for algorithm floats automatically before
17586  the user editable part of the document preamble, you need to insert the
17587  following preamble lines 
17588 \emph on
17589 after
17590 \emph default
17591  the loading command of 
17592 \series bold
17593 hyperref
17594 \series default
17595 :
17596 \series bold
17597
17598 \begin_inset VSpace defskip
17599 \end_inset
17600
17601
17602 \newline
17603
17604 \backslash
17605 newfloat{Xalgorithm}{tbp}{loa}
17606 \newline
17607
17608 \backslash
17609 floatname{Xalgorithm}{your\InsetSpace ~
17610 name}
17611 \newline
17612
17613 \backslash
17614 newcommand{
17615 \backslash
17616 theHalgorithm}{
17617 \backslash
17618 theHXalgorithm}
17619 \newline
17620
17621 \backslash
17622 renewenvironment{algorithm}[1][tbp]
17623 \newline
17624
17625 \begin_inset ERT
17626 status collapsed
17627
17628 \begin_layout Standard
17629
17630
17631 \backslash
17632 hphantom{ }
17633 \end_layout
17634
17635 \end_inset
17636
17637 {
17638 \backslash
17639 begin{Xalgorithm}[#1]}{
17640 \backslash
17641 end{Xalgorithm}}
17642 \begin_inset VSpace defskip
17643 \end_inset
17644
17645
17646 \series default
17647
17648 \newline
17649 Where 
17650 \family sans
17651 your\InsetSpace ~
17652 name
17653 \family default
17654  is the word 
17655 \begin_inset Quotes eld
17656 \end_inset
17657
17658
17659 \emph on
17660 algorithm
17661 \emph default
17662
17663 \begin_inset Quotes erd
17664 \end_inset
17665
17666  in your language.
17667 \end_layout
17668
17669 \begin_layout Standard
17670 Algorithm floats are not by default numbered in the scheme 
17671 \begin_inset Quotes eld
17672 \end_inset
17673
17674 chapter.algorithm
17675 \begin_inset Quotes erd
17676 \end_inset
17677
17678  like it is the case for table and figure floats in many document-classes.
17679  To number algorithm floats in the same scheme, add this command to your
17680  document preamble:
17681 \end_layout
17682
17683 \begin_layout Standard
17684
17685 \series bold
17686
17687 \backslash
17688 numberwithin{algorithm}{chapter}
17689 \end_layout
17690
17691 \begin_layout Standard
17692 If you use the LaTeX-package 
17693 \series bold
17694 hyperref
17695 \series default
17696 , add this line instead 
17697 \emph on
17698 after
17699 \emph default
17700  the definition of 
17701 \family sans
17702 Xalgorithm
17703 \family default
17704  (the commands from above) to the preamble:
17705 \end_layout
17706
17707 \begin_layout Standard
17708
17709 \series bold
17710
17711 \backslash
17712 numberwithin{Xalgorithm}{chapter}
17713 \end_layout
17714
17715 \begin_layout Standard
17716 To be able to use the command 
17717 \series bold
17718
17719 \backslash
17720 numberwithin
17721 \series default
17722 , set in the tab 
17723 \family sans
17724 Math\InsetSpace ~
17725 Options
17726 \family default
17727  in the document settings the option 
17728 \family sans
17729 Use\InsetSpace ~
17730 AMS\InsetSpace ~
17731 math\InsetSpace ~
17732 package
17733 \family default
17734 .
17735 \end_layout
17736
17737 \begin_layout Subsection
17738 Text Wrap Floats
17739 \begin_inset LatexCommand index
17740 name "Floats ! Text Wrap Floats"
17741
17742 \end_inset
17743
17744
17745 \begin_inset LatexCommand label
17746 name "sub:floatflt-wrap-float"
17747
17748 \end_inset
17749
17750
17751 \end_layout
17752
17753 \begin_layout Standard
17754 This float type is used if you want to 
17755 \begin_inset Quotes eld
17756 \end_inset
17757
17758 wrap
17759 \begin_inset Quotes erd
17760 \end_inset
17761
17762  text around a figure so that it only occupies some fraction of the column
17763  width.
17764  It can be inserted using the menu 
17765 \begin_inset Wrap figure
17766 placement l
17767 width "40col%"
17768 status open
17769
17770 \begin_layout Standard
17771 \begin_inset Graphics
17772         filename clipart/mobius.eps
17773         display color
17774         width 40col%
17775         rotateOrigin center
17776
17777 \end_inset
17778
17779
17780 \end_layout
17781
17782 \begin_layout Standard
17783 \begin_inset Caption
17784
17785 \begin_layout Standard
17786 \begin_inset LatexCommand label
17787 name "fig:This-is-a"
17788
17789 \end_inset
17790
17791 This is a wrapped figure, and this is the brilliant caption that describes
17792  it.
17793 \begin_inset VSpace medskip
17794 \end_inset
17795
17796
17797 \end_layout
17798
17799 \end_inset
17800
17801
17802 \end_layout
17803
17804 \end_inset
17805
17806  
17807 \family sans
17808 Insert\SpecialChar \menuseparator
17809 Floats\SpecialChar \menuseparator
17810 Text\InsetSpace ~
17811 Wrap\InsetSpace ~
17812 Float
17813 \family default
17814  if the LaTeX-package 
17815 \series bold
17816 floatflt
17817 \series default
17818
17819 \begin_inset LatexCommand index
17820 name "LaTeX-packages ! floatflt"
17821
17822 \end_inset
17823
17824  is installed.
17825 \begin_inset Foot
17826 status collapsed
17827
17828 \begin_layout Standard
17829 Installing a LaTeX-package is explained it in the 
17830 \emph on
17831 LaTeX\InsetSpace ~
17832 Configuration
17833 \emph default
17834  manual.
17835 \end_layout
17836
17837 \end_inset
17838
17839  The width and placement of the float is adjusted by right-clicking on the
17840  float box.
17841  Figure\InsetSpace ~
17842
17843 \begin_inset LatexCommand ref
17844 reference "fig:This-is-a"
17845
17846 \end_inset
17847
17848  is an example text wrap float with a width of 40
17849 \begin_inset Formula $\,$
17850 \end_inset
17851
17852 col%.
17853 \begin_inset Foot
17854 status collapsed
17855
17856 \begin_layout Standard
17857 Available units are explained in 
17858 \begin_inset LatexCommand ref
17859 reference "cha:Units-available-in"
17860
17861 \end_inset
17862
17863 .
17864 \end_layout
17865
17866 \end_inset
17867
17868  Some space was added under the caption to separate it better from the surroundi
17869 ng text.
17870 \end_layout
17871
17872 \begin_layout Standard
17873 The LaTeX-package 
17874 \series bold
17875 floatflt
17876 \series default
17877  also supports table wrap floats, but they are not yet supported by LyX.
17878  If you need this, read the documentation of 
17879 \series bold
17880 floatflt
17881 \series default
17882  
17883 \begin_inset LatexCommand cite
17884 key "floatflt"
17885
17886 \end_inset
17887
17888 .
17889 \end_layout
17890
17891 \begin_layout Standard
17892 \begin_inset Note Greyedout
17893 status open
17894
17895 \begin_layout Standard
17896
17897 \series bold
17898 Note:
17899 \series default
17900  Text\InsetSpace ~
17901 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17902 g.\InsetSpace ~
17903 having a figure too close to the bottom
17904  of the page can mess things up in the way that the float doesn't appear
17905  in the output or that it is placed over some other text.
17906 \begin_inset Foot
17907 status open
17908
17909 \begin_layout Standard
17910 The better solution is to use the LaTeX-package 
17911 \series bold
17912 wrapf\SpecialChar \textcompwordmark{}
17913 ig
17914 \series default
17915
17916 \begin_inset LatexCommand index
17917 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17918
17919 \end_inset
17920
17921  instead of 
17922 \series bold
17923 floatf\SpecialChar \textcompwordmark{}
17924 lt
17925 \series default
17926 , but it is currently not supported by LyX.
17927 \end_layout
17928
17929 \end_inset
17930
17931
17932 \end_layout
17933
17934 \end_inset
17935
17936
17937 \end_layout
17938
17939 \begin_layout Standard
17940 In general:
17941 \end_layout
17942
17943 \begin_layout Itemize
17944 Wrap floats should not be placed in paragraphs that run over a page break.
17945  That means that wrap floats should better be inserted to the exact place
17946  when the document is nearly ready and you are able to estimate where page
17947  breaks will appear.
17948 \end_layout
17949
17950 \begin_layout Itemize
17951 Wrap floats should either be placed in an own paragraph before the paragraph
17952  where they should wrap into or within a paragraph.
17953 \end_layout
17954
17955 \begin_layout Itemize
17956 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17957  there is a text paragraph between them as separator.
17958 \end_layout
17959
17960 \begin_layout Itemize
17961 Wrap floats are not allowed in section headings or tables.
17962 \end_layout
17963
17964 \begin_layout Section
17965 Referencing Floats
17966 \begin_inset LatexCommand label
17967 name "sec:Referencing-Floats"
17968
17969 \end_inset
17970
17971
17972 \begin_inset LatexCommand index
17973 name "Floats ! References"
17974
17975 \end_inset
17976
17977
17978 \begin_inset LatexCommand index
17979 name "References"
17980
17981 \end_inset
17982
17983
17984 \end_layout
17985
17986 \begin_layout Standard
17987 To reference a float, insert a label into its caption using the menu 
17988 \family sans
17989 Insert\SpecialChar \menuseparator
17990 Label
17991 \family default
17992  or the toolbar button 
17993 \begin_inset Graphics
17994         filename ../images/label-insert.xpm
17995         scale 85
17996
17997 \end_inset
17998
17999 .
18000  A grey label box like this one: 
18001 \begin_inset Graphics
18002         filename clipart/labelQt4.png
18003         scale 85
18004
18005 \end_inset
18006
18007  will be inserted and the label window pops up asking for the label text.
18008  LyX offers as text the first words of the caption with a prefix.
18009  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18010 g.\InsetSpace ~
18011 for figure floats the prefix will
18012  be "
18013 \family sans
18014 fig:
18015 \family default
18016 ".
18017 \end_layout
18018
18019 \begin_layout Standard
18020 The label is used as anchor and name for the reference.
18021  You can refer to the label using the menu 
18022 \family sans
18023 Insert\SpecialChar \menuseparator
18024 Cross-reference
18025 \family default
18026  or the toolbar button 
18027 \begin_inset Graphics
18028         filename ../images/dialog-show-new-inset_ref.xpm
18029         scale 85
18030
18031 \end_inset
18032
18033 .
18034  A grey cross-reference box like this one: 
18035 \begin_inset Graphics
18036         filename clipart/referenceQt4.png
18037         scale 85
18038
18039 \end_inset
18040
18041  will be inserted and the cross-reference window appear showing all labels
18042  of the document.
18043  If you have multiple LyX-documents opened, choose the one you are working
18044  on from the drop-list at the top of the dialog.
18045  You can now sort the labels alphabetically and then choose one.
18046  At the position of the cross-reference box the float number will appear
18047  in the output.
18048 \end_layout
18049
18050 \begin_layout Standard
18051 It is recommended to use a protected space between the cross-reference name
18052  and its number to avoid line breaks between them.
18053  If a cross-reference refers to a non-existing label, you will see two question
18054  marks in the output instead of the reference.
18055 \end_layout
18056
18057 \begin_layout Standard
18058 You can change labels at any time by clicking on the label box.
18059  References to the changed label will automatically change its link to the
18060  new label text, so that you don't need to take care about this.
18061 \end_layout
18062
18063 \begin_layout Standard
18064 The button 
18065 \family sans
18066 Go\InsetSpace ~
18067 to\InsetSpace ~
18068 Label
18069 \family default
18070  in the cross-reference window sets the cursor before the referred label.
18071  The button text changes then to Go\InsetSpace ~
18072 Back and you can use it to set the cursor
18073  back to the cross-reference.
18074  Right-clicking on a cross-reference box also sets the cursor before the
18075  referenced label but without a possibility to go back.
18076 \end_layout
18077
18078 \begin_layout Subsection
18079 Cross-Reference Formats
18080 \begin_inset LatexCommand label
18081 name "sub:Cross-Reference-Formats"
18082
18083 \end_inset
18084
18085
18086 \begin_inset LatexCommand index
18087 name "References ! Formats"
18088
18089 \end_inset
18090
18091
18092 \end_layout
18093
18094 \begin_layout Standard
18095 There are six varieties of cross-references:
18096 \end_layout
18097
18098 \begin_layout Description
18099 <reference>: prints the float number, this is the default: 
18100 \begin_inset LatexCommand ref
18101 reference "fig:Two-distorted-images"
18102
18103 \end_inset
18104
18105
18106 \end_layout
18107
18108 \begin_layout Description
18109 (<reference>): prints the float number within two parentheses, this is the
18110  style normally used to reference formulas, especially when the reference
18111  name 
18112 \begin_inset Quotes eld
18113 \end_inset
18114
18115 Equation
18116 \begin_inset Quotes erd
18117 \end_inset
18118
18119  is omitted: 
18120 \begin_inset LatexCommand eqref
18121 reference "eq:Wgn"
18122
18123 \end_inset
18124
18125
18126 \end_layout
18127
18128 \begin_layout Description
18129 <page>: prints the page number: Page\InsetSpace ~
18130
18131 \begin_inset LatexCommand pageref
18132 reference "fig:Two-distorted-images"
18133
18134 \end_inset
18135
18136
18137 \end_layout
18138
18139 \begin_layout Description
18140 on\InsetSpace ~
18141 page\InsetSpace ~
18142 <page>: prints the text "on page" and the page number: 
18143 \begin_inset LatexCommand vpageref
18144 reference "fig:Two-distorted-images"
18145
18146 \end_inset
18147
18148
18149 \end_layout
18150
18151 \begin_layout Description
18152 <reference>\InsetSpace ~
18153 on\InsetSpace ~
18154 page\InsetSpace ~
18155 <page>: prints the float number, the text "on page", and
18156  the page number: 
18157 \begin_inset LatexCommand vref
18158 reference "fig:Two-distorted-images"
18159
18160 \end_inset
18161
18162
18163 \end_layout
18164
18165 \begin_layout Description
18166 Formatted\InsetSpace ~
18167 reference: prints a self defined cross-reference format.
18168  
18169 \begin_inset Note Greyedout
18170 status open
18171
18172 \begin_layout Standard
18173
18174 \series bold
18175 Note:
18176 \series default
18177  This feature is only available when you have the LaTeX-package 
18178 \series bold
18179 prettyref
18180 \series default
18181  installed.
18182 \end_layout
18183
18184 \end_inset
18185
18186
18187 \end_layout
18188
18189 \begin_layout Standard
18190 Note that the style <page> won't print the page number if the label is on
18191  the previous, the same, or the next page.
18192  You will e.\InsetSpace \thinspace{}
18193 g.\InsetSpace ~
18194 see the text 
18195 \begin_inset Quotes eld
18196 \end_inset
18197
18198
18199 \family sans
18200 on this page
18201 \family default
18202
18203 \begin_inset Quotes erd
18204 \end_inset
18205
18206  instead.
18207 \end_layout
18208
18209 \begin_layout Standard
18210 The number and current page of the referred document part in the output,
18211  is automatically calculated by LaTeX.
18212  The varieties are adjusted in the field 
18213 \family sans
18214 Format
18215 \family default
18216  of the cross-reference window, that appear when you click on the cross-referenc
18217 e box.
18218 \end_layout
18219
18220 \begin_layout Subsection
18221 Referencing Subfigures
18222 \begin_inset LatexCommand label
18223 name "sub:Referencing-Subfigures"
18224
18225 \end_inset
18226
18227
18228 \begin_inset LatexCommand index
18229 name "References ! to Subfigures"
18230
18231 \end_inset
18232
18233
18234 \end_layout
18235
18236 \begin_layout Standard
18237 Currently referencing subfigures is not supported by LyX, so you have to
18238  use LaTeX-commands.
18239  The label is the created with the command
18240 \end_layout
18241
18242 \begin_layout Standard
18243
18244 \series bold
18245
18246 \backslash
18247 label{fig:YourLabelName}
18248 \end_layout
18249
18250 \begin_layout Standard
18251 that is directly inserted into the subfigure caption field.
18252  To reference the label add this command in ERT
18253 \end_layout
18254
18255 \begin_layout Standard
18256
18257 \series bold
18258
18259 \backslash
18260 ref{fig:YourLabelName}
18261 \end_layout
18262
18263 \begin_layout Standard
18264 to the position in your document where the reference should be placed.
18265  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18266
18267 \begin_inset ERT
18268 status collapsed
18269
18270 \begin_layout Standard
18271
18272
18273 \backslash
18274 ref{fig:Platypus}
18275 \end_layout
18276
18277 \end_inset
18278
18279 .
18280 \end_layout
18281
18282 \begin_layout Subsection
18283 Automatic Reference Naming
18284 \begin_inset LatexCommand index
18285 name "References ! Automatic Reference Naming"
18286
18287 \end_inset
18288
18289
18290 \end_layout
18291
18292 \begin_layout Standard
18293 The LaTeX-package 
18294 \series bold
18295 hyperref
18296 \series default
18297  provides a very useful feature that cross-references automatically include
18298  the name of the referenced floats (or text parts like sections).
18299  You save to write e.\InsetSpace \thinspace{}
18300 g.\InsetSpace ~
18301 the name 
18302 \begin_inset Quotes eld
18303 \end_inset
18304
18305 Figure
18306 \begin_inset Quotes erd
18307 \end_inset
18308
18309  before every reference box.
18310  To get this automatic reference naming, you have to load the LaTeX-package
18311  
18312 \series bold
18313 hyperref
18314 \series default
18315
18316 \begin_inset LatexCommand index
18317 name "LaTeX-packages ! hyperref"
18318
18319 \end_inset
18320
18321  in the document preamble with
18322 \end_layout
18323
18324 \begin_layout Standard
18325
18326 \series bold
18327
18328 \backslash
18329 usepackage[pdfborder={0 0 0}]{hyperref}
18330 \newline
18331
18332 \backslash
18333 AtBeginDocument{
18334 \backslash
18335 renewcommand{
18336 \backslash
18337 ref}[1]{
18338 \backslash
18339 mbox{
18340 \backslash
18341 autoref{#1}}}}
18342 \end_layout
18343
18344 \begin_layout Standard
18345
18346 \series bold
18347 hyperref
18348 \series default
18349  is used to link cross-references in the DVI- and PDF-output, this means
18350  that the reader of your document will be able to click on a table of content
18351  (TOC) entry or on a reference and he will be shown the referenced document
18352  part.
18353  
18354 \series bold
18355 hyperref
18356 \series default
18357  also creates PDF-bookmarks for every section of your document to make it
18358  easier for readers to navigate through the document.
18359  This is also used in this document but when you have a look in the document
18360  preamble you will find various options in the load command of 
18361 \series bold
18362 hyperref
18363 \series default
18364 .
18365  To learn more about the 
18366 \series bold
18367 hyperref
18368 \series default
18369  package, we refer to its documentation 
18370 \begin_inset LatexCommand cite
18371 key "hyperref"
18372
18373 \end_inset
18374
18375 .
18376 \end_layout
18377
18378 \begin_layout Standard
18379 \begin_inset Note Greyedout
18380 status open
18381
18382 \begin_layout Standard
18383
18384 \series bold
18385 Note:
18386 \series default
18387  Automatic reference naming cannot be used when you use cross-references
18388  in the 
18389 \family sans
18390 Formatted\InsetSpace ~
18391 reference
18392 \family default
18393  style, described in section\InsetSpace ~
18394
18395 \begin_inset LatexCommand ref
18396 reference "sub:Cross-Reference-Formats"
18397
18398 \end_inset
18399
18400 .
18401 \end_layout
18402
18403 \end_inset
18404
18405
18406 \end_layout
18407
18408 \begin_layout Subsection
18409 Reference Position
18410 \begin_inset LatexCommand label
18411 name "sub:Reference-Position"
18412
18413 \end_inset
18414
18415
18416 \begin_inset LatexCommand index
18417 name "References ! Reference Position"
18418
18419 \end_inset
18420
18421
18422 \end_layout
18423
18424 \begin_layout Standard
18425 If you use 
18426 \series bold
18427 hyperref
18428 \series default
18429
18430 \begin_inset LatexCommand index
18431 name "LaTeX-packages ! hyperref"
18432
18433 \end_inset
18434
18435  to link cross-references in the output, you will see that clicking on an
18436  image float reference jumps to the image label.
18437  The caption will be the first text part on the screen, so that you cannot
18438  see the image without scrolling.
18439  This is because the reference link anchor is placed at the position of
18440  the label.
18441  With the use of the package 
18442 \series bold
18443 hypcap
18444 \series default
18445
18446 \begin_inset LatexCommand index
18447 name "LaTeX-packages ! hypcap"
18448
18449 \end_inset
18450
18451 , which is part of the LaTeX-package 
18452 \series bold
18453 oberdiek
18454 \series default
18455
18456 \begin_inset LatexCommand index
18457 name "LaTeX-packages ! oberdiek"
18458
18459 \end_inset
18460
18461 , the link anchor is placed at the beginning of a float.
18462  To use this feature for figure floats, load 
18463 \series bold
18464 hypcap
18465 \series default
18466  in the document preamble with the line
18467 \end_layout
18468
18469 \begin_layout Standard
18470
18471 \series bold
18472
18473 \backslash
18474 usepackage[f\SpecialChar \textcompwordmark{}
18475 igure]{hypcap}
18476 \end_layout
18477
18478 \begin_layout Standard
18479 You can also use 
18480 \series bold
18481 hypcap
18482 \series default
18483  for all floats but this isn't recommended for stability reasons.
18484  For more informations, have a look at 
18485 \series bold
18486 hypcap
18487 \series default
18488 's manual 
18489 \begin_inset LatexCommand cite
18490 key "hypcap"
18491
18492 \end_inset
18493
18494 .
18495 \end_layout
18496
18497 \begin_layout Standard
18498 \begin_inset Note Greyedout
18499 status open
18500
18501 \begin_layout Standard
18502
18503 \series bold
18504 Note:
18505 \series default
18506  
18507 \series bold
18508 hypcap
18509 \series default
18510  must be loaded after 
18511 \series bold
18512 hyperref
18513 \series default
18514  in the document preamble.
18515 \end_layout
18516
18517 \end_inset
18518
18519
18520 \end_layout
18521
18522 \begin_layout Standard
18523 \begin_inset Note Greyedout
18524 status open
18525
18526 \begin_layout Standard
18527
18528 \series bold
18529 Note:
18530 \series default
18531  The set reference position has no effect for references to subfigures.
18532 \end_layout
18533
18534 \end_inset
18535
18536
18537 \end_layout
18538
18539 \begin_layout Section
18540 Float Placement
18541 \begin_inset LatexCommand label
18542 name "sec:Float-Placement"
18543
18544 \end_inset
18545
18546
18547 \begin_inset LatexCommand index
18548 name "Floats ! Placement"
18549
18550 \end_inset
18551
18552
18553 \end_layout
18554
18555 \begin_layout Standard
18556 Right-clicking on a float-box opens a dialog where you can alter the placement
18557  options that LaTeX uses for positioning the float.
18558 \newline
18559 The option 
18560 \family sans
18561 Span\InsetSpace ~
18562 columns
18563 \family default
18564  is only useful for two-column documents: If you select it, the float will
18565  span across both columns on the page instead of being confined to just
18566  one.
18567 \newline
18568 The option 
18569 \family sans
18570 Rotate\InsetSpace ~
18571 sideways
18572 \family default
18573  is used to rotate floats, see section 
18574 \begin_inset LatexCommand ref
18575 reference "sec:Rotated-Floats"
18576
18577 \end_inset
18578
18579 .
18580 \end_layout
18581
18582 \begin_layout Standard
18583 You can use one ore more of the following options in the float dialog to
18584  set the placement for a particular float when you uncheck the option 
18585 \family sans
18586 Use\InsetSpace ~
18587 default\InsetSpace ~
18588 placement
18589 \family default
18590 :
18591 \end_layout
18592
18593 \begin_layout Description
18594 Here\InsetSpace ~
18595 if\InsetSpace ~
18596 possible: try to place the float on the position where it is inserted
18597 \end_layout
18598
18599 \begin_layout Description
18600 Top\InsetSpace ~
18601 of\InsetSpace ~
18602 page: try to place the float on the top of the current page
18603 \end_layout
18604
18605 \begin_layout Description
18606 Bottom\InsetSpace ~
18607 of\InsetSpace ~
18608 page: try to place the float on the bottom of the current page
18609 \end_layout
18610
18611 \begin_layout Description
18612 Page\InsetSpace ~
18613 of\InsetSpace ~
18614 floats: try to place the float on an own page 
18615 \end_layout
18616
18617 \begin_layout Standard
18618 The order of the above option is 
18619 \emph on
18620 always
18621 \emph default
18622  used by LaTeX.
18623  That means, if you use the default placement, LaTeX will first try out
18624  
18625 \family sans
18626 Here\InsetSpace ~
18627 if\InsetSpace ~
18628 possible
18629 \family default
18630 , then 
18631 \family sans
18632 Top\InsetSpace ~
18633 of\InsetSpace ~
18634 page
18635 \family default
18636 , and then the others.
18637  If you don't use the default, LaTeX will try only the checked options but
18638  in the same order.
18639  If none of the 4 placements are possible the procedure is internally repeated
18640  but it is tried to put the float on the following page.
18641 \end_layout
18642
18643 \begin_layout Standard
18644 By default, each options has its own rules:
18645 \end_layout
18646
18647 \begin_layout Labeling
18648 \labelwidthstring 00.00.0000
18649
18650 \family sans
18651 Top\InsetSpace ~
18652 of\InsetSpace ~
18653 page
18654 \family default
18655  only floats occupying less than 70\InsetSpace \thinspace{}
18656 % of the page can be placed at the top
18657  of a page (
18658 \series bold
18659
18660 \backslash
18661 topfraction
18662 \series default
18663 )
18664 \end_layout
18665
18666 \begin_layout Labeling
18667 \labelwidthstring 00.00.0000
18668
18669 \family sans
18670 Bottom\InsetSpace ~
18671 of\InsetSpace ~
18672 page
18673 \family default
18674 : only floats occupying less than 30\InsetSpace \thinspace{}
18675 % of the page can be placed at the bottom
18676  of a page.
18677  (
18678 \series bold
18679
18680 \backslash
18681 bottomfraction
18682 \series default
18683 )
18684 \end_layout
18685
18686 \begin_layout Labeling
18687 \labelwidthstring 00.00.0000
18688
18689 \family sans
18690 Page\InsetSpace ~
18691 of\InsetSpace ~
18692 floats
18693 \family default
18694 : only if more than 50\InsetSpace \thinspace{}
18695 % of the page are occupied by floats, several floats
18696  can be set together on a page.
18697  (
18698 \series bold
18699
18700 \backslash
18701 floatpagefraction
18702 \series default
18703 )
18704 \end_layout
18705
18706 \begin_layout Standard
18707 If you don't like these rules, you can ignore them by using the additional
18708  option 
18709 \family sans
18710 Ignore\InsetSpace ~
18711 LaTeX\InsetSpace ~
18712 rules
18713 \family default
18714 .
18715 \newline
18716 You can also redefine the rules with LaTeX-commands that are given in parenthese
18717 s behind the rules description above.
18718  To increase for example the often too small default of the bottom-rule
18719  to 50\InsetSpace \thinspace{}
18720 % of the page, add this line to your document preamble:
18721 \end_layout
18722
18723 \begin_layout Standard
18724
18725 \series bold
18726
18727 \backslash
18728 renewcommand{
18729 \backslash
18730 bottomfraction}{0.5}
18731 \end_layout
18732
18733 \begin_layout Standard
18734 Sometimes you might need, under all circumstances, a float to be placed
18735  exactly at the position where it is inserted.
18736  For this case you can use the option 
18737 \family sans
18738 Here\InsetSpace ~
18739 definitely
18740 \family default
18741 .
18742  Use this option very rarely and only if the document is nearly ready to
18743  be printed.
18744  Because the float is then no longer able to 
18745 \begin_inset Quotes eld
18746 \end_inset
18747
18748 float
18749 \begin_inset Quotes erd
18750 \end_inset
18751
18752  when you change your document and this will often destroy the page layout.
18753 \end_layout
18754
18755 \begin_layout Standard
18756 There are no placement options for text wrap floats, because they are always
18757  surrounded by the text of a certain paragraph.
18758 \begin_inset VSpace bigskip
18759 \end_inset
18760
18761
18762 \end_layout
18763
18764 \begin_layout Standard
18765 Sometimes you have the problem that a float is placed at the top of a page
18766  while its corresponding section starts at the middle of the page, so that
18767  the reader could think the float is part of the previous section.
18768  To avoid this the LaTeX-command 
18769 \series bold
18770
18771 \backslash
18772 suppressf\SpecialChar \textcompwordmark{}
18773 loats
18774 \series default
18775  can be used.
18776  It suppresses a given float placement for the page where it is inserted
18777  and can therefore be used to avoid that floats could be set before a section
18778  starts.
18779  To get this, add these commands to your document preamble:
18780 \end_layout
18781
18782 \begin_layout Standard
18783
18784 \series bold
18785
18786 \backslash
18787 let
18788 \backslash
18789 mySection
18790 \backslash
18791 section
18792 \newline
18793
18794 \backslash
18795 renewcommand{
18796 \backslash
18797 section}{
18798 \backslash
18799 suppressf\SpecialChar \textcompwordmark{}
18800 loats[t]
18801 \backslash
18802 mySection}
18803 \end_layout
18804
18805 \begin_layout Standard
18806 You can define the same for all section headings, like chapters and subsections.
18807  This definition is not recommended to be used for small text parts like
18808  subsubsections because LaTeX may then have problems to find a suitable
18809  placement.
18810 \end_layout
18811
18812 \begin_layout Standard
18813 \begin_inset VSpace bigskip
18814 \end_inset
18815
18816 In some cases it is required to have all figures/tables at the end of the
18817  document.
18818  For this purpose the LaTeX-package 
18819 \series bold
18820 endf\SpecialChar \textcompwordmark{}
18821 loat
18822 \series default
18823
18824 \begin_inset LatexCommand index
18825 name "LaTeX-packages ! endfloat"
18826
18827 \end_inset
18828
18829  was developed.
18830  It puts all figure and table floats at the end of the document into own
18831  sections.
18832  At the original float position a text hint like 
18833 \begin_inset Quotes eld
18834 \end_inset
18835
18836
18837 \family sans
18838 [Figure\InsetSpace ~
18839 3.2 about here.]
18840 \family default
18841
18842 \begin_inset Quotes erd
18843 \end_inset
18844
18845  is inserted.
18846  The endfloat-package is loaded in the preamble with the line
18847 \end_layout
18848
18849 \begin_layout Standard
18850
18851 \series bold
18852
18853 \backslash
18854 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18855 loat}
18856 \end_layout
18857
18858 \begin_layout Standard
18859 There are various package options to format the created figure/table sections.
18860  For more information we refer to the 
18861 \series bold
18862 endf\SpecialChar \textcompwordmark{}
18863 loat
18864 \series default
18865  documentation 
18866 \begin_inset LatexCommand cite
18867 key "endfloat"
18868
18869 \end_inset
18870
18871 .
18872 \newline
18873
18874 \begin_inset Note Greyedout
18875 status open
18876
18877 \begin_layout Standard
18878
18879 \series bold
18880 Note: endf\SpecialChar \textcompwordmark{}
18881 loat
18882 \series default
18883  doesn't provide an automatic translation for the text hint, you have to
18884  do this manually, see section\InsetSpace ~
18885 4 in 
18886 \begin_inset LatexCommand cite
18887 key "endfloat"
18888
18889 \end_inset
18890
18891 .
18892 \end_layout
18893
18894 \end_inset
18895
18896
18897 \newline
18898
18899 \begin_inset Note Greyedout
18900 status open
18901
18902 \begin_layout Standard
18903
18904 \series bold
18905 Note:
18906 \series default
18907  There is currently a bug in 
18908 \series bold
18909 endf\SpecialChar \textcompwordmark{}
18910 loat
18911 \series default
18912  when the caption contains a German 
18913 \begin_inset Quotes eld
18914 \end_inset
18915
18916 ß
18917 \begin_inset Quotes erd
18918 \end_inset
18919
18920 .
18921  Use in this case the command 
18922 \begin_inset Quotes eld
18923 \end_inset
18924
18925
18926 \series bold
18927
18928 \backslash
18929 ss
18930 \series default
18931
18932 \begin_inset Quotes erd
18933 \end_inset
18934
18935  in ERT instead of 
18936 \begin_inset Quotes eld
18937 \end_inset
18938
18939 ß
18940 \begin_inset Quotes erd
18941 \end_inset
18942
18943 .
18944 \end_layout
18945
18946 \end_inset
18947
18948
18949 \end_layout
18950
18951 \begin_layout Standard
18952 \begin_inset VSpace bigskip
18953 \end_inset
18954
18955 For more details about float placements, have a look at LaTeX books, 
18956 \begin_inset LatexCommand cite
18957 key "latexcompanion,latexguide,latexbook"
18958
18959 \end_inset
18960
18961 .
18962 \end_layout
18963
18964 \begin_layout Section
18965 Rotated Floats
18966 \begin_inset LatexCommand label
18967 name "sec:Rotated-Floats"
18968
18969 \end_inset
18970
18971
18972 \begin_inset LatexCommand index
18973 name "Floats ! Rotating"
18974
18975 \end_inset
18976
18977
18978 \end_layout
18979
18980 \begin_layout Standard
18981 Especially for wide tables you might have floats rotated.
18982  To rotate a whole float including the caption, right-click on the float-box
18983  and use the option 
18984 \family sans
18985 Rotate\InsetSpace ~
18986 sideways
18987 \family default
18988 .
18989 \end_layout
18990
18991 \begin_layout Standard
18992 Rotated floats are always placed on its own page (or column, when you have
18993  a two-column document).
18994  They are normally rotated so that you can read them from the outside margin
18995  -- to the left on even pages, to the right on odd pages.
18996 \end_layout
18997
18998 \begin_layout Standard
18999 Referencing rotated floats is the same like for normal floats, the caption
19000  format is also the same: Table\InsetSpace ~
19001
19002 \begin_inset LatexCommand ref
19003 reference "tab:Rotated-table"
19004
19005 \end_inset
19006
19007  is an example of a rotated table float.
19008 \end_layout
19009
19010 \begin_layout Standard
19011 \begin_inset Note Greyedout
19012 status open
19013
19014 \begin_layout Standard
19015
19016 \series bold
19017 Note:
19018 \series default
19019  Not all DVI-viewers are able to display rotated floats.
19020 \end_layout
19021
19022 \end_inset
19023
19024
19025 \end_layout
19026
19027 \begin_layout Standard
19028 \begin_inset Float table
19029 wide false
19030 sideways true
19031 status open
19032
19033 \begin_layout Standard
19034 \begin_inset Caption
19035
19036 \begin_layout Standard
19037 \begin_inset LatexCommand label
19038 name "tab:Rotated-table"
19039
19040 \end_inset
19041
19042  Rotated table
19043 \end_layout
19044
19045 \end_inset
19046
19047
19048 \end_layout
19049
19050 \begin_layout Standard
19051 \align center
19052 \begin_inset Tabular
19053 <lyxtabular version="3" rows="1" columns="5">
19054 <features>
19055 <column alignment="center" valignment="top" leftline="true" width="0">
19056 <column alignment="center" valignment="top" leftline="true" width="0">
19057 <column alignment="center" valignment="top" leftline="true" width="0">
19058 <column alignment="center" valignment="top" leftline="true" width="0">
19059 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19060 <row topline="true" bottomline="true">
19061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19062 \begin_inset Text
19063
19064 \begin_layout Standard
19065 test
19066 \end_layout
19067
19068 \end_inset
19069 </cell>
19070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19071 \begin_inset Text
19072
19073 \begin_layout Standard
19074 b
19075 \end_layout
19076
19077 \end_inset
19078 </cell>
19079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19080 \begin_inset Text
19081
19082 \begin_layout Standard
19083 c
19084 \end_layout
19085
19086 \end_inset
19087 </cell>
19088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19089 \begin_inset Text
19090
19091 \begin_layout Standard
19092 d
19093 \end_layout
19094
19095 \end_inset
19096 </cell>
19097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19098 \begin_inset Text
19099
19100 \begin_layout Standard
19101 e
19102 \end_layout
19103
19104 \end_inset
19105 </cell>
19106 </row>
19107 </lyxtabular>
19108
19109 \end_inset
19110
19111
19112 \end_layout
19113
19114 \end_inset
19115
19116
19117 \end_layout
19118
19119 \begin_layout Section
19120 Caption Formatting
19121 \begin_inset LatexCommand index
19122 name "Caption ! Formatting"
19123
19124 \end_inset
19125
19126
19127 \begin_inset LatexCommand index
19128 name "Floats ! Caption Formatting"
19129
19130 \end_inset
19131
19132
19133 \begin_inset LatexCommand index
19134 name "LaTeX-packages ! caption"
19135
19136 \end_inset
19137
19138
19139 \begin_inset LatexCommand label
19140 name "sec:Caption-Formatting"
19141
19142 \end_inset
19143
19144
19145 \end_layout
19146
19147 \begin_layout Standard
19148 The 
19149 \family sans
19150 Caption
19151 \family default
19152  environment is the default paragraph environment for 
19153 \family sans
19154 Floats
19155 \family default
19156 .
19157  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19158 g.\InsetSpace ~
19159
19160 \begin_inset Quotes eld
19161 \end_inset
19162
19163
19164 \family sans
19165 Figure #:
19166 \family default
19167
19168 \begin_inset Quotes erd
19169 \end_inset
19170
19171  followed by the caption text.
19172  The number sign 
19173 \begin_inset Quotes eld
19174 \end_inset
19175
19176 #
19177 \begin_inset Quotes erd
19178 \end_inset
19179
19180  is substituted in the printed output by the actual reference number.
19181  By default the label and the number are in the same font as the caption
19182  text and a colon follows the number to divide then label from the text.
19183  This caption format is not suitable for all document formats.
19184  
19185 \end_layout
19186
19187 \begin_layout Standard
19188 To change the default caption format, load the LaTeX-package 
19189 \series bold
19190 caption
19191 \series default
19192
19193 \begin_inset LatexCommand index
19194 name "LaTeX-packages ! caption"
19195
19196 \end_inset
19197
19198  in the document preamble with this line:
19199 \end_layout
19200
19201 \begin_layout Standard
19202
19203 \series bold
19204
19205 \backslash
19206 usepackage[format definition]{caption}
19207 \end_layout
19208
19209 \begin_layout Standard
19210 To have for example the label and the number in sans-serif bold font and
19211  the table captions always above the table like in this document, use the
19212  following command:
19213 \end_layout
19214
19215 \begin_layout Standard
19216
19217 \series bold
19218
19219 \backslash
19220 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19221 \end_layout
19222
19223 \begin_layout Standard
19224 You can also define different caption formats for the different float types.
19225  In this case load the 
19226 \series bold
19227 caption
19228 \series default
19229  package without format specific options and define the different formats
19230  with the help of the command
19231 \end_layout
19232
19233 \begin_layout Standard
19234
19235 \series bold
19236
19237 \backslash
19238 captionsetup[float type]{format definition}
19239 \end_layout
19240
19241 \begin_layout Standard
19242 in the document preamble.
19243  For example the caption formats of Figure\InsetSpace ~
19244
19245 \begin_inset LatexCommand ref
19246 reference "fig:This-is-an-fig"
19247
19248 \end_inset
19249
19250  and Table\InsetSpace ~
19251
19252 \begin_inset LatexCommand ref
19253 reference "tab:This-is-an-tab"
19254
19255 \end_inset
19256
19257  can be created using these commands in the document preamble:
19258 \end_layout
19259
19260 \begin_layout Standard
19261
19262 \series bold
19263
19264 \backslash
19265 usepackage[tableposition=top]{caption}
19266 \series default
19267
19268 \newline
19269
19270 \series bold
19271
19272 \backslash
19273 captionsetup[f\SpecialChar \textcompwordmark{}
19274 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19275 \newline
19276
19277 \begin_inset ERT
19278 status collapsed
19279
19280 \begin_layout Standard
19281
19282
19283 \backslash
19284 hphantom{
19285 \backslash
19286
19287 \backslash
19288 captionsetup[figure]
19289 \backslash
19290 {}
19291 \end_layout
19292
19293 \end_inset
19294
19295  labelsep=period}
19296 \newline
19297
19298 \backslash
19299 captionsetup[table]{labelfont={bf,sf}}
19300 \end_layout
19301
19302 \begin_layout Standard
19303 \begin_inset Note Greyedout
19304 status open
19305
19306 \begin_layout Standard
19307
19308 \series bold
19309 Note:
19310 \series default
19311  The option 
19312 \series bold
19313 tableposition=top
19314 \series default
19315  has no effect when a 
19316 \series bold
19317 koma-script
19318 \series default
19319
19320 \begin_inset LatexCommand index
19321 name "LaTeX-packages ! koma-script"
19322
19323 \end_inset
19324
19325  document class is used.
19326  In this case the document class option 
19327 \series bold
19328 tablecaptionabove
19329 \series default
19330  must be used.
19331 \end_layout
19332
19333 \end_inset
19334
19335
19336 \end_layout
19337
19338 \begin_layout Standard
19339 For more information about the package 
19340 \series bold
19341 caption
19342 \series default
19343  we refer to its documentation 
19344 \begin_inset LatexCommand cite
19345 key "caption,caption-de"
19346
19347 \end_inset
19348
19349 .
19350 \end_layout
19351
19352 \begin_layout Standard
19353 To change the label name from e.g.
19354  
19355 \begin_inset Quotes eld
19356 \end_inset
19357
19358 Figure
19359 \begin_inset Quotes erd
19360 \end_inset
19361
19362  to 
19363 \begin_inset Quotes eld
19364 \end_inset
19365
19366 Image
19367 \begin_inset Quotes erd
19368 \end_inset
19369
19370  use this preamble command:
19371 \end_layout
19372
19373 \begin_layout Standard
19374
19375 \series bold
19376
19377 \backslash
19378 renewcommand{
19379 \backslash
19380 fnum@figure}{Image~
19381 \backslash
19382 thefigure}
19383 \end_layout
19384
19385 \begin_layout Standard
19386 where 
19387 \series bold
19388
19389 \backslash
19390 thefigure
19391 \series default
19392  inserts the figure number and
19393 \series bold
19394  
19395 \begin_inset Quotes eld
19396 \end_inset
19397
19398 ~
19399 \series default
19400
19401 \begin_inset Quotes erd
19402 \end_inset
19403
19404  creates a protected space.
19405 \end_layout
19406
19407 \begin_layout Standard
19408 \begin_inset VSpace bigskip
19409 \end_inset
19410
19411 If you are using a 
19412 \series bold
19413 koma-script
19414 \series default
19415
19416 \begin_inset LatexCommand index
19417 name "LaTeX-packages ! koma-script"
19418
19419 \end_inset
19420
19421  document class (
19422 \family sans
19423 article (koma-script)
19424 \family default
19425
19426 \family sans
19427 book (koma-script)
19428 \family default
19429
19430 \family sans
19431 letter (koma-script)
19432 \family default
19433 , or 
19434 \family sans
19435 report (koma-script)
19436 \family default
19437 \InsetSpace \thinspace{}
19438 ), you can alternatively to the 
19439 \series bold
19440 caption
19441 \series default
19442  package use 
19443 \series bold
19444 koma-script
19445 \series default
19446 's built-in command 
19447 \series bold
19448
19449 \backslash
19450 setkomafont
19451 \series default
19452 .
19453  For example, to have the caption label in bold, add this command to your
19454  document preamble:
19455 \end_layout
19456
19457 \begin_layout Standard
19458
19459 \series bold
19460
19461 \backslash
19462 setkomafont{captionlabel}{
19463 \backslash
19464 bfseries}
19465 \end_layout
19466
19467 \begin_layout Standard
19468 For more information about 
19469 \series bold
19470
19471 \backslash
19472 setkomafont
19473 \series default
19474  we refer to the 
19475 \series bold
19476 koma-script
19477 \series default
19478  documentation 
19479 \begin_inset LatexCommand cite
19480 key "koma-script,koma-script-de"
19481
19482 \end_inset
19483
19484 .
19485 \end_layout
19486
19487 \begin_layout Standard
19488 \begin_inset ERT
19489 status collapsed
19490
19491 \begin_layout Standard
19492
19493
19494 \backslash
19495 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19496 }
19497 \end_layout
19498
19499 \end_inset
19500
19501
19502 \begin_inset Note Note
19503 status open
19504
19505 \begin_layout Standard
19506 The caption format is changed only for this example.
19507 \end_layout
19508
19509 \end_inset
19510
19511
19512 \end_layout
19513
19514 \begin_layout Standard
19515 \begin_inset Float figure
19516 placement !p
19517 wide false
19518 sideways false
19519 status open
19520
19521 \begin_layout Standard
19522 \align center
19523 \begin_inset Graphics
19524         filename clipart/mobius.eps
19525         lyxscale 50
19526         scale 50
19527
19528 \end_inset
19529
19530
19531 \end_layout
19532
19533 \begin_layout Standard
19534 \begin_inset Caption
19535
19536 \begin_layout Standard
19537 \begin_inset LatexCommand label
19538 name "fig:This-is-an-fig"
19539
19540 \end_inset
19541
19542 This is an example figure caption that is longer than one line to show the
19543  different caption format.
19544  Here a self-defined caption format is used.
19545 \end_layout
19546
19547 \end_inset
19548
19549
19550 \end_layout
19551
19552 \end_inset
19553
19554
19555 \end_layout
19556
19557 \begin_layout Standard
19558 \begin_inset ERT
19559 status collapsed
19560
19561 \begin_layout Standard
19562
19563
19564 \backslash
19565 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19566 on}
19567 \end_layout
19568
19569 \end_inset
19570
19571
19572 \end_layout
19573
19574 \begin_layout Standard
19575 \begin_inset Float table
19576 placement !p
19577 wide false
19578 sideways false
19579 status open
19580
19581 \begin_layout Standard
19582 \begin_inset Caption
19583
19584 \begin_layout Standard
19585 \begin_inset LatexCommand label
19586 name "tab:This-is-an-tab"
19587
19588 \end_inset
19589
19590 This is an example table caption that is longer than one line to show the
19591  different caption format.
19592  Here the standard caption format for tables in this document is used.
19593 \end_layout
19594
19595 \end_inset
19596
19597
19598 \end_layout
19599
19600 \begin_layout Standard
19601 \align center
19602 \begin_inset Tabular
19603 <lyxtabular version="3" rows="1" columns="5">
19604 <features>
19605 <column alignment="center" valignment="top" leftline="true" width="0">
19606 <column alignment="center" valignment="top" leftline="true" width="0">
19607 <column alignment="center" valignment="top" leftline="true" width="0">
19608 <column alignment="center" valignment="top" leftline="true" width="0">
19609 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19610 <row topline="true" bottomline="true">
19611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19612 \begin_inset Text
19613
19614 \begin_layout Standard
19615 a
19616 \end_layout
19617
19618 \end_inset
19619 </cell>
19620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19621 \begin_inset Text
19622
19623 \begin_layout Standard
19624 b
19625 \end_layout
19626
19627 \end_inset
19628 </cell>
19629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19630 \begin_inset Text
19631
19632 \begin_layout Standard
19633 c
19634 \end_layout
19635
19636 \end_inset
19637 </cell>
19638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19639 \begin_inset Text
19640
19641 \begin_layout Standard
19642 d
19643 \end_layout
19644
19645 \end_inset
19646 </cell>
19647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19648 \begin_inset Text
19649
19650 \begin_layout Standard
19651 e
19652 \end_layout
19653
19654 \end_inset
19655 </cell>
19656 </row>
19657 </lyxtabular>
19658
19659 \end_inset
19660
19661
19662 \end_layout
19663
19664 \end_inset
19665
19666
19667 \end_layout
19668
19669 \begin_layout Section
19670 Caption Placement
19671 \begin_inset LatexCommand index
19672 name "Caption ! Placement"
19673
19674 \end_inset
19675
19676
19677 \begin_inset LatexCommand index
19678 name "Floats ! Caption Placement"
19679
19680 \end_inset
19681
19682
19683 \begin_inset LatexCommand label
19684 name "sec:Caption-Placement"
19685
19686 \end_inset
19687
19688
19689 \end_layout
19690
19691 \begin_layout Standard
19692 The common caption placement rule is:
19693 \end_layout
19694
19695 \begin_layout Description
19696 Figure: Caption is set below the figure
19697 \end_layout
19698
19699 \begin_layout Description
19700 Table: Caption is set above the table
19701 \end_layout
19702
19703 \begin_layout Standard
19704 Having the caption above the table is unfortunately not supported in LaTeX's
19705  standard classes.
19706  That means if you are using the document classes 
19707 \family sans
19708 article
19709 \family default
19710
19711 \family sans
19712 book
19713 \family default
19714
19715 \family sans
19716 letter
19717 \family default
19718 , or 
19719 \family sans
19720 report
19721 \family default
19722  there will be no space between the caption and the table.
19723  To insert the needed space, add the following option to the load command
19724  of the LaTeX-package 
19725 \series bold
19726 caption
19727 \series default
19728  in your document preamble
19729 \begin_inset Foot
19730 status collapsed
19731
19732 \begin_layout Standard
19733 See section\InsetSpace ~
19734
19735 \begin_inset LatexCommand ref
19736 reference "sec:Caption-Formatting"
19737
19738 \end_inset
19739
19740  for more information of the package 
19741 \series bold
19742 caption
19743 \series default
19744 .
19745 \end_layout
19746
19747 \end_inset
19748
19749 :
19750 \end_layout
19751
19752 \begin_layout Standard
19753
19754 \series bold
19755 tableposition=top
19756 \end_layout
19757
19758 \begin_layout Standard
19759 If you are using a 
19760 \series bold
19761 koma-script
19762 \series default
19763
19764 \begin_inset LatexCommand index
19765 name "LaTeX-packages ! koma-script"
19766
19767 \end_inset
19768
19769  document class (
19770 \family sans
19771 article (koma-script)
19772 \family default
19773
19774 \family sans
19775 book (koma-script)
19776 \family default
19777
19778 \family sans
19779 letter (koma-script)
19780 \family default
19781 , or 
19782 \family sans
19783 report (koma-script)
19784 \family default
19785 \InsetSpace \thinspace{}
19786 ), you can alternatively to the 
19787 \series bold
19788 caption
19789 \series default
19790  package set the document class option 
19791 \series bold
19792 tablecaptionabove
19793 \series default
19794 , or you can use the environment 
19795 \family sans
19796 caption\InsetSpace ~
19797 above
19798 \family default
19799  instead of the 
19800 \family sans
19801 caption
19802 \family default
19803  environment.
19804 \end_layout
19805
19806 \begin_layout Standard
19807 \begin_inset VSpace bigskip
19808 \end_inset
19809
19810 It is also possible to set the caption beside a figure or table.
19811  To get this the LaTeX-package 
19812 \series bold
19813 sidecap
19814 \series default
19815
19816 \begin_inset LatexCommand index
19817 name "LaTeX-packages ! sidecap"
19818
19819 \end_inset
19820
19821  has to be loaded in the document preamble with the line
19822 \end_layout
19823
19824 \begin_layout Standard
19825
19826 \series bold
19827
19828 \backslash
19829 usepackage[option]{sidecap}
19830 \end_layout
19831
19832 \begin_layout Standard
19833 If you set no option, the caption is placed on the side of the outer page
19834  margin -- to the right on odd pages, to the left on even pages.
19835  You can change the placement to inner margin with the option 
19836 \series bold
19837 innercaption
19838 \series default
19839 .
19840  To force the placement always to the right or left, use the option 
19841 \series bold
19842 rightcaption
19843 \series default
19844  or 
19845 \series bold
19846 leftcaption
19847 \series default
19848 , respectively.
19849 \end_layout
19850
19851 \begin_layout Standard
19852 To place in LyX the caption of a float on the side, it is necessary to add
19853  these commands to the document preamble:
19854 \end_layout
19855
19856 \begin_layout Standard
19857
19858 \lyxline
19859
19860 \end_layout
19861
19862 \begin_layout Standard
19863
19864 \series bold
19865
19866 \backslash
19867 newcommand{
19868 \backslash
19869 TabBesBeg}{%
19870 \newline
19871
19872 \begin_inset ERT
19873 status collapsed
19874
19875 \begin_layout Standard
19876
19877
19878 \backslash
19879 hphantom{ }
19880 \end_layout
19881
19882 \end_inset
19883
19884
19885 \backslash
19886 let
19887 \backslash
19888 MyTable
19889 \backslash
19890 table
19891 \newline
19892
19893 \begin_inset ERT
19894 status collapsed
19895
19896 \begin_layout Standard
19897
19898
19899 \backslash
19900 hphantom{ }
19901 \end_layout
19902
19903 \end_inset
19904
19905
19906 \backslash
19907 let
19908 \backslash
19909 MyEndtable
19910 \backslash
19911 endtable
19912 \newline
19913
19914 \begin_inset ERT
19915 status collapsed
19916
19917 \begin_layout Standard
19918
19919
19920 \backslash
19921 hphantom{ }
19922 \end_layout
19923
19924 \end_inset
19925
19926
19927 \backslash
19928 renewenvironment{table}{
19929 \backslash
19930 begin{SCtable}}{
19931 \backslash
19932 end{SCtable}}}
19933 \end_layout
19934
19935 \begin_layout Standard
19936
19937 \series bold
19938
19939 \backslash
19940 newcommand{
19941 \backslash
19942 TabBesEnd}{%
19943 \newline
19944
19945 \begin_inset ERT
19946 status collapsed
19947
19948 \begin_layout Standard
19949
19950
19951 \backslash
19952 hphantom{ }
19953 \end_layout
19954
19955 \end_inset
19956
19957
19958 \backslash
19959 let
19960 \backslash
19961 table
19962 \backslash
19963 MyTable
19964 \newline
19965
19966 \begin_inset ERT
19967 status collapsed
19968
19969 \begin_layout Standard
19970
19971
19972 \backslash
19973 hphantom{ }
19974 \end_layout
19975
19976 \end_inset
19977
19978
19979 \backslash
19980 let
19981 \backslash
19982 endtable
19983 \backslash
19984 MyEndtable
19985 \end_layout
19986
19987 \begin_layout Standard
19988
19989 \series bold
19990
19991 \backslash
19992 newcommand{
19993 \backslash
19994 FigBesBeg}{%
19995 \newline
19996
19997 \begin_inset ERT
19998 status collapsed
19999
20000 \begin_layout Standard
20001
20002
20003 \backslash
20004 hphantom{ }
20005 \end_layout
20006
20007 \end_inset
20008
20009
20010 \backslash
20011 let
20012 \backslash
20013 MyFigure
20014 \backslash
20015 f\SpecialChar \textcompwordmark{}
20016 igure
20017 \newline
20018
20019 \begin_inset ERT
20020 status collapsed
20021
20022 \begin_layout Standard
20023
20024
20025 \backslash
20026 hphantom{ }
20027 \end_layout
20028
20029 \end_inset
20030
20031
20032 \backslash
20033 let
20034 \backslash
20035 MyEndf\SpecialChar \textcompwordmark{}
20036 igure
20037 \backslash
20038 endf\SpecialChar \textcompwordmark{}
20039 igure
20040 \newline
20041
20042 \begin_inset ERT
20043 status collapsed
20044
20045 \begin_layout Standard
20046
20047
20048 \backslash
20049 hphantom{ }
20050 \end_layout
20051
20052 \end_inset
20053
20054
20055 \backslash
20056 renewenvironment{f\SpecialChar \textcompwordmark{}
20057 igure}{
20058 \backslash
20059 begin{SCf\SpecialChar \textcompwordmark{}
20060 igure}}{
20061 \backslash
20062 end{SCf\SpecialChar \textcompwordmark{}
20063 igure}}}
20064 \end_layout
20065
20066 \begin_layout Standard
20067
20068 \series bold
20069
20070 \backslash
20071 newcommand{
20072 \backslash
20073 FigBesEnd}{%
20074 \newline
20075
20076 \begin_inset ERT
20077 status collapsed
20078
20079 \begin_layout Standard
20080
20081
20082 \backslash
20083 hphantom{ }
20084 \end_layout
20085
20086 \end_inset
20087
20088
20089 \backslash
20090 let
20091 \backslash
20092 f\SpecialChar \textcompwordmark{}
20093 igure
20094 \backslash
20095 MyFigure
20096 \newline
20097
20098 \begin_inset ERT
20099 status collapsed
20100
20101 \begin_layout Standard
20102
20103
20104 \backslash
20105 hphantom{ }
20106 \end_layout
20107
20108 \end_inset
20109
20110
20111 \backslash
20112 let
20113 \backslash
20114 endf\SpecialChar \textcompwordmark{}
20115 igure
20116 \backslash
20117 MyEndf\SpecialChar \textcompwordmark{}
20118 igure}
20119 \end_layout
20120
20121 \begin_layout Standard
20122
20123 \lyxline
20124
20125 \end_layout
20126
20127 \begin_layout Standard
20128 The commands allow you to redefine the floats so that the caption is set
20129  on the side.
20130  For figure floats use the command
20131 \end_layout
20132
20133 \begin_layout Standard
20134
20135 \series bold
20136
20137 \backslash
20138 FigBesBeg
20139 \end_layout
20140
20141 \begin_layout Standard
20142 in ERT before the float.
20143  Behind the float insert the command
20144 \end_layout
20145
20146 \begin_layout Standard
20147
20148 \series bold
20149
20150 \backslash
20151 FigBesEnd
20152 \end_layout
20153
20154 \begin_layout Standard
20155 in ERT to get back to the original float definition.
20156 \end_layout
20157
20158 \begin_layout Standard
20159 For table floats use the corresponding commands
20160 \end_layout
20161
20162 \begin_layout Standard
20163
20164 \series bold
20165
20166 \backslash
20167 TabBesBeg
20168 \series default
20169  and 
20170 \series bold
20171
20172 \backslash
20173 TabBesEnd
20174 \end_layout
20175
20176 \begin_layout Standard
20177 Figure\InsetSpace ~
20178
20179 \begin_inset LatexCommand ref
20180 reference "fig:cap-beside-fig"
20181
20182 \end_inset
20183
20184  and Table\InsetSpace ~
20185
20186 \begin_inset LatexCommand ref
20187 reference "tab:cap-beside-tab"
20188
20189 \end_inset
20190
20191  are examples where the caption is set beside.
20192 \end_layout
20193
20194 \begin_layout Standard
20195 You can see in the examples that the caption text appears at the top of
20196  the floats for table floats and at the bottom for figure floats.
20197  To change this, you can use the command
20198 \end_layout
20199
20200 \begin_layout Standard
20201
20202 \series bold
20203
20204 \backslash
20205 sidecaptionvpos{float type}{placement}
20206 \end_layout
20207
20208 \begin_layout Standard
20209 in the document preamble or in ERT before the float.
20210  The float type is either 
20211 \family sans
20212 figure
20213 \family default
20214  or 
20215 \family sans
20216 table
20217 \family default
20218 , the placement can be 
20219 \begin_inset Quotes eld
20220 \end_inset
20221
20222
20223 \family sans
20224 t
20225 \family default
20226
20227 \begin_inset Quotes erd
20228 \end_inset
20229
20230  for top, 
20231 \begin_inset Quotes eld
20232 \end_inset
20233
20234
20235 \family sans
20236 c
20237 \family default
20238
20239 \begin_inset Quotes erd
20240 \end_inset
20241
20242  for center, or 
20243 \begin_inset Quotes eld
20244 \end_inset
20245
20246
20247 \family sans
20248 b
20249 \family default
20250
20251 \begin_inset Quotes erd
20252 \end_inset
20253
20254  for bottom.
20255  To have for example the caption of figure floats vertically centered, use
20256  the command
20257 \end_layout
20258
20259 \begin_layout Standard
20260
20261 \series bold
20262
20263 \backslash
20264 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20265 igure}{c}
20266 \end_layout
20267
20268 \begin_layout Standard
20269 This was used for Figure\InsetSpace ~
20270
20271 \begin_inset LatexCommand ref
20272 reference "fig:cap-beside-fig-2"
20273
20274 \end_inset
20275
20276 .
20277 \end_layout
20278
20279 \begin_layout Standard
20280 \begin_inset VSpace defskip
20281 \end_inset
20282
20283 For more information about the package 
20284 \series bold
20285 sidecap
20286 \series default
20287  we refer to its documentation 
20288 \begin_inset LatexCommand cite
20289 key "sidecap"
20290
20291 \end_inset
20292
20293 .
20294 \end_layout
20295
20296 \begin_layout Standard
20297 \begin_inset Note Greyedout
20298 status open
20299
20300 \begin_layout Standard
20301
20302 \series bold
20303 Note:
20304 \series default
20305  The LaTeX-package 
20306 \series bold
20307 hypcap
20308 \series default
20309
20310 \begin_inset LatexCommand index
20311 name "LaTeX-packages ! hypcap"
20312
20313 \end_inset
20314
20315 , described in section\InsetSpace ~
20316
20317 \begin_inset LatexCommand ref
20318 reference "sub:Reference-Position"
20319
20320 \end_inset
20321
20322 , has no effect on floats with the caption set beside.
20323 \end_layout
20324
20325 \end_inset
20326
20327
20328 \end_layout
20329
20330 \begin_layout Standard
20331 \begin_inset ERT
20332 status collapsed
20333
20334 \begin_layout Standard
20335
20336
20337 \backslash
20338 FigBesBeg 
20339 \end_layout
20340
20341 \end_inset
20342
20343
20344 \end_layout
20345
20346 \begin_layout Standard
20347 \begin_inset Float figure
20348 wide false
20349 sideways false
20350 status open
20351
20352 \begin_layout Standard
20353 \begin_inset Graphics
20354         filename clipart/escher-lsd.eps
20355         scale 75
20356
20357 \end_inset
20358
20359
20360 \end_layout
20361
20362 \begin_layout Standard
20363 \begin_inset Caption
20364
20365 \begin_layout Standard
20366 \begin_inset LatexCommand label
20367 name "fig:cap-beside-fig"
20368
20369 \end_inset
20370
20371 This is a caption beside a figure.
20372 \end_layout
20373
20374 \end_inset
20375
20376
20377 \end_layout
20378
20379 \end_inset
20380
20381
20382 \end_layout
20383
20384 \begin_layout Standard
20385 \begin_inset ERT
20386 status collapsed
20387
20388 \begin_layout Standard
20389
20390
20391 \backslash
20392 TabBesBeg 
20393 \end_layout
20394
20395 \end_inset
20396
20397
20398 \end_layout
20399
20400 \begin_layout Standard
20401 \begin_inset Float table
20402 wide false
20403 sideways false
20404 status open
20405
20406 \begin_layout Standard
20407 \begin_inset Caption
20408
20409 \begin_layout Standard
20410 \begin_inset LatexCommand label
20411 name "tab:cap-beside-tab"
20412
20413 \end_inset
20414
20415 This is a caption beside a table.
20416 \end_layout
20417
20418 \end_inset
20419
20420
20421 \end_layout
20422
20423 \begin_layout Standard
20424 \begin_inset Tabular
20425 <lyxtabular version="3" rows="4" columns="5">
20426 <features>
20427 <column alignment="center" valignment="top" leftline="true" width="0">
20428 <column alignment="center" valignment="top" leftline="true" width="0">
20429 <column alignment="center" valignment="top" leftline="true" width="0">
20430 <column alignment="center" valignment="top" leftline="true" width="0">
20431 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20432 <row topline="true">
20433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20434 \begin_inset Text
20435
20436 \begin_layout Standard
20437 a
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 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20452 \begin_inset Text
20453
20454 \begin_layout Standard
20455 b
20456 \end_layout
20457
20458 \end_inset
20459 </cell>
20460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20461 \begin_inset Text
20462
20463 \begin_layout Standard
20464
20465 \end_layout
20466
20467 \end_inset
20468 </cell>
20469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20470 \begin_inset Text
20471
20472 \begin_layout Standard
20473 c
20474 \end_layout
20475
20476 \end_inset
20477 </cell>
20478 </row>
20479 <row topline="true">
20480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20481 \begin_inset Text
20482
20483 \begin_layout Standard
20484
20485 \end_layout
20486
20487 \end_inset
20488 </cell>
20489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20490 \begin_inset Text
20491
20492 \begin_layout Standard
20493 d
20494 \end_layout
20495
20496 \end_inset
20497 </cell>
20498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20499 \begin_inset Text
20500
20501 \begin_layout Standard
20502
20503 \end_layout
20504
20505 \end_inset
20506 </cell>
20507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20508 \begin_inset Text
20509
20510 \begin_layout Standard
20511 e
20512 \end_layout
20513
20514 \end_inset
20515 </cell>
20516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20517 \begin_inset Text
20518
20519 \begin_layout Standard
20520
20521 \end_layout
20522
20523 \end_inset
20524 </cell>
20525 </row>
20526 <row topline="true">
20527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20528 \begin_inset Text
20529
20530 \begin_layout Standard
20531 f
20532 \end_layout
20533
20534 \end_inset
20535 </cell>
20536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20537 \begin_inset Text
20538
20539 \begin_layout Standard
20540
20541 \end_layout
20542
20543 \end_inset
20544 </cell>
20545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20546 \begin_inset Text
20547
20548 \begin_layout Standard
20549 g
20550 \end_layout
20551
20552 \end_inset
20553 </cell>
20554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20555 \begin_inset Text
20556
20557 \begin_layout Standard
20558
20559 \end_layout
20560
20561 \end_inset
20562 </cell>
20563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20564 \begin_inset Text
20565
20566 \begin_layout Standard
20567 h
20568 \end_layout
20569
20570 \end_inset
20571 </cell>
20572 </row>
20573 <row topline="true" bottomline="true">
20574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20575 \begin_inset Text
20576
20577 \begin_layout Standard
20578
20579 \end_layout
20580
20581 \end_inset
20582 </cell>
20583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20584 \begin_inset Text
20585
20586 \begin_layout Standard
20587 i
20588 \end_layout
20589
20590 \end_inset
20591 </cell>
20592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20593 \begin_inset Text
20594
20595 \begin_layout Standard
20596
20597 \end_layout
20598
20599 \end_inset
20600 </cell>
20601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20602 \begin_inset Text
20603
20604 \begin_layout Standard
20605 j
20606 \end_layout
20607
20608 \end_inset
20609 </cell>
20610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20611 \begin_inset Text
20612
20613 \begin_layout Standard
20614
20615 \end_layout
20616
20617 \end_inset
20618 </cell>
20619 </row>
20620 </lyxtabular>
20621
20622 \end_inset
20623
20624
20625 \end_layout
20626
20627 \end_inset
20628
20629
20630 \end_layout
20631
20632 \begin_layout Standard
20633 \begin_inset ERT
20634 status collapsed
20635
20636 \begin_layout Standard
20637
20638
20639 \backslash
20640 TabBesEnd
20641 \end_layout
20642
20643 \end_inset
20644
20645
20646 \end_layout
20647
20648 \begin_layout Standard
20649 \begin_inset ERT
20650 status collapsed
20651
20652 \begin_layout Standard
20653
20654
20655 \backslash
20656 sidecaptionvpos{figure}{c}
20657 \end_layout
20658
20659 \end_inset
20660
20661
20662 \begin_inset Float figure
20663 wide false
20664 sideways false
20665 status open
20666
20667 \begin_layout Standard
20668 \begin_inset Graphics
20669         filename clipart/escher-lsd.eps
20670         scale 75
20671
20672 \end_inset
20673
20674
20675 \end_layout
20676
20677 \begin_layout Standard
20678 \begin_inset Caption
20679
20680 \begin_layout Standard
20681 \begin_inset LatexCommand label
20682 name "fig:cap-beside-fig-2"
20683
20684 \end_inset
20685
20686 This is a vertically centered caption beside a figure.
20687 \end_layout
20688
20689 \end_inset
20690
20691
20692 \end_layout
20693
20694 \end_inset
20695
20696
20697 \end_layout
20698
20699 \begin_layout Standard
20700 \begin_inset ERT
20701 status collapsed
20702
20703 \begin_layout Standard
20704
20705
20706 \backslash
20707 FigBesEnd
20708 \end_layout
20709
20710 \end_inset
20711
20712
20713 \end_layout
20714
20715 \begin_layout Section
20716 Listings of Floats
20717 \begin_inset LatexCommand label
20718 name "sec:Listings-of-Floats"
20719
20720 \end_inset
20721
20722
20723 \begin_inset LatexCommand index
20724 name "Floats ! Listings"
20725
20726 \end_inset
20727
20728
20729 \end_layout
20730
20731 \begin_layout Standard
20732 Similar to the the table of contents where the sections of the document
20733  are listed, there are listings for all float types, like the figures of
20734  the documents.
20735  You can insert them via the 
20736 \family sans
20737 Insert\SpecialChar \menuseparator
20738 List\InsetSpace ~
20739 /\InsetSpace ~
20740 TOC
20741 \family default
20742  sub menus.
20743 \end_layout
20744
20745 \begin_layout Standard
20746 The list entries are the float captions or its short title, the float number,
20747  and the page number where they appear in the document.
20748 \end_layout
20749
20750 \begin_layout Standard
20751 You can find the list of figures and tables at the end of this document.
20752 \end_layout
20753
20754 \begin_layout Chapter
20755 Notes
20756 \end_layout
20757
20758 \begin_layout Section
20759 \begin_inset ERT
20760 status collapsed
20761
20762 \begin_layout Standard
20763
20764
20765 \backslash
20766 texorpdfstring{
20767 \end_layout
20768
20769 \end_inset
20770
20771 LyX
20772 \begin_inset ERT
20773 status collapsed
20774
20775 \begin_layout Standard
20776
20777 }{LyX}
20778 \end_layout
20779
20780 \end_inset
20781
20782  Notes
20783 \begin_inset LatexCommand label
20784 name "sec:LyX-Notes"
20785
20786 \end_inset
20787
20788
20789 \begin_inset LatexCommand index
20790 name "Notes ! LyX Notes"
20791
20792 \end_inset
20793
20794
20795 \begin_inset Note Note
20796 status collapsed
20797
20798 \begin_layout Standard
20799 The command 
20800 \backslash
20801 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20802  are displayed wrongly in PDF-bookmarks.
20803  For more information about this, have a look at 
20804 \begin_inset LatexCommand cite
20805 key "hyperref"
20806
20807 \end_inset
20808
20809 .
20810 \end_layout
20811
20812 \end_inset
20813
20814
20815 \end_layout
20816
20817 \begin_layout Standard
20818 Notes are inserted with the toolbar button 
20819 \begin_inset Graphics
20820         filename ../images/note-insert.xpm
20821         scale 85
20822
20823 \end_inset
20824
20825  or the menu 
20826 \family sans
20827 Insert\SpecialChar \menuseparator
20828 Note
20829 \family default
20830 .
20831  There are three types of notes:
20832 \end_layout
20833
20834 \begin_layout Description
20835 LyX\InsetSpace ~
20836 Note This note type is for internal notes that won't appear in the output.
20837  Its note-box looks like this:
20838 \newline
20839
20840 \newline
20841
20842 \begin_inset Graphics
20843         filename clipart/LyXNoteImageQt4.png
20844         display none
20845         scale 85
20846
20847 \end_inset
20848
20849  
20850 \begin_inset Note Note
20851 status open
20852
20853 \begin_layout Standard
20854 This is text in a note box that doesn't appear in the output.
20855 \end_layout
20856
20857 \end_inset
20858
20859
20860 \end_layout
20861
20862 \begin_layout Description
20863 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20864 ent, when you export the document to LaTeX via the menu 
20865 \family sans
20866 File\SpecialChar \menuseparator
20867 Export\SpecialChar \menuseparator
20868 LaTeX (pdflatex) / LaTeX (plain)
20869 \family default
20870 .
20871  Its note-box looks like this:
20872 \newline
20873
20874 \newline
20875
20876 \begin_inset Graphics
20877         filename clipart/CommentNoteImageQt4.png
20878         display none
20879         scale 85
20880
20881 \end_inset
20882
20883  
20884 \begin_inset Note Comment
20885 status open
20886
20887 \begin_layout Standard
20888 This is text in a note box that only appears as comment in LaTeX-files.
20889 \end_layout
20890
20891 \end_inset
20892
20893
20894 \end_layout
20895
20896 \begin_layout Description
20897 Greyed\InsetSpace ~
20898 Out This note will appear in the output as grey text.
20899  Its note-box looks like this:
20900 \newline
20901
20902 \newline
20903
20904 \begin_inset Graphics
20905         filename clipart/GreyedOutNoteImageQt4.png
20906         display none
20907         scale 85
20908
20909 \end_inset
20910
20911
20912 \newline
20913
20914 \begin_inset ERT
20915 status collapsed
20916
20917 \begin_layout Standard
20918
20919
20920 \backslash
20921 renewenvironment{lyxgreyedout}
20922 \end_layout
20923
20924 \begin_layout Standard
20925
20926 {
20927 \backslash
20928 textcolor[gray]{0.8}
20929 \backslash
20930 bgroup}{
20931 \backslash
20932 egroup}
20933 \end_layout
20934
20935 \end_inset
20936
20937
20938 \begin_inset Note Greyedout
20939 status open
20940
20941 \begin_layout Standard
20942 This is text
20943 \begin_inset Foot
20944 status open
20945
20946 \begin_layout Standard
20947 This is an example footnote within a greyed out note.
20948 \end_layout
20949
20950 \end_inset
20951
20952  of a comment that appears in the output as grey text.
20953 \end_layout
20954
20955 \end_inset
20956
20957
20958 \begin_inset ERT
20959 status collapsed
20960
20961 \begin_layout Standard
20962
20963
20964 \backslash
20965 renewenvironment{lyxgreyedout}
20966 \end_layout
20967
20968 \begin_layout Standard
20969
20970 {
20971 \backslash
20972 textcolor{blue}
20973 \backslash
20974 bgroup}{
20975 \backslash
20976 egroup}
20977 \end_layout
20978
20979 \end_inset
20980
20981
20982 \begin_inset Note Note
20983 status collapsed
20984
20985 \begin_layout Standard
20986 The greyed out note is here redefined to show it with the original LyX definitio
20987 n because greyed out notes are redefined in the preamble of this document,
20988  as described below, to have blue text.
20989 \end_layout
20990
20991 \end_inset
20992
20993
20994 \newline
20995
20996 \newline
20997 As you can see in the example, the first line of greyed out notes is a bit
20998  indented and greyed out notes can have footnotes.
20999 \end_layout
21000
21001 \begin_layout Description
21002 Framed This note will appear in the output as framed text.
21003  Its note-box looks like this:
21004 \newline
21005
21006 \newline
21007
21008 \begin_inset Graphics
21009         filename clipart/FramedNoteImageQt4.png
21010         display none
21011         scale 85
21012
21013 \end_inset
21014
21015  
21016 \begin_inset Note Framed
21017 status open
21018
21019 \begin_layout Standard
21020 This is text in a note box that appears framed in the output.
21021 \end_layout
21022
21023 \end_inset
21024
21025  In contrary to framed boxes
21026 \begin_inset Foot
21027 status collapsed
21028
21029 \begin_layout Standard
21030 Framed boxes are described in section\InsetSpace ~
21031
21032 \begin_inset LatexCommand ref
21033 reference "sec:Framed-Boxes"
21034
21035 \end_inset
21036
21037 .
21038 \end_layout
21039
21040 \end_inset
21041
21042  the frame uses always the whole text width and the note is set into its
21043  own paragraph.
21044 \end_layout
21045
21046 \begin_layout Description
21047 Shaded This note will appear in the output with red background color.
21048  Its note box looks like this:
21049 \newline
21050
21051 \newline
21052
21053 \begin_inset Graphics
21054         filename clipart/ShadedNoteImageQt4.png
21055         display none
21056         scale 85
21057
21058 \end_inset
21059
21060
21061 \begin_inset Note Shaded
21062 status open
21063
21064 \begin_layout Standard
21065 This text in a note box appears in the output with red background.
21066 \end_layout
21067
21068 \end_inset
21069
21070 In contrary to colored boxes
21071 \begin_inset Foot
21072 status collapsed
21073
21074 \begin_layout Standard
21075 Colored boxes are described in section\InsetSpace ~
21076
21077 \begin_inset LatexCommand ref
21078 reference "sec:Colored-Boxes"
21079
21080 \end_inset
21081
21082 .
21083 \end_layout
21084
21085 \end_inset
21086
21087  the note uses always the whole text width and the note is set into its
21088  own paragraph.
21089 \end_layout
21090
21091 \begin_layout Standard
21092 \begin_inset VSpace bigskip
21093 \end_inset
21094
21095 When you use the toolbar button to insert notes, a 
21096 \family sans
21097 LyX\InsetSpace ~
21098 Note
21099 \family default
21100  is inserted.
21101  You can switch between the three note types by right-clicking on the note-box.
21102  
21103 \family roman
21104 \series medium
21105 \bar no
21106 If you want to turn existing text into a note, mark it and click on the
21107  note
21108 \family default
21109 \series default
21110 \bar default
21111  toolbar 
21112 \family roman
21113 \series medium
21114 \bar no
21115 button
21116 \family default
21117 \series default
21118 \bar default
21119 .
21120 \end_layout
21121
21122 \begin_layout Standard
21123 \begin_inset VSpace bigskip
21124 \end_inset
21125
21126 You can change the text color of the greyed out notes in the preamble with
21127  the following command:
21128 \end_layout
21129
21130 \begin_layout Standard
21131
21132 \series bold
21133
21134 \backslash
21135 renewenvironment{lyxgreyedout}
21136 \newline
21137
21138 \begin_inset ERT
21139 status collapsed
21140
21141 \begin_layout Standard
21142
21143
21144 \backslash
21145 hphantom{ }
21146 \end_layout
21147
21148 \end_inset
21149
21150 {
21151 \backslash
21152 textcolor{color}
21153 \backslash
21154 bgroup}{
21155 \backslash
21156 egroup}
21157 \end_layout
21158
21159 \begin_layout Standard
21160 The available colors and the method to define own colors is explained in
21161  section\InsetSpace ~
21162
21163 \begin_inset LatexCommand ref
21164 reference "sec:Colored-Tables"
21165
21166 \end_inset
21167
21168 .
21169 \end_layout
21170
21171 \begin_layout Standard
21172 Notes that appear in blue in this document are set using greyed out notes
21173  with blue text.
21174 \end_layout
21175
21176 \begin_layout Standard
21177 \begin_inset VSpace bigskip
21178 \end_inset
21179
21180
21181 \end_layout
21182
21183 \begin_layout Standard
21184 The text style of 
21185 \family sans
21186 Framed
21187 \family default
21188  and 
21189 \family sans
21190 Shaded
21191 \family default
21192  notes can be set in the 
21193 \family sans
21194 Text Style
21195 \family default
21196  dialog.
21197 \end_layout
21198
21199 \begin_layout Standard
21200 The default frame width for 
21201 \family sans
21202 Framed
21203 \family default
21204  notes is 0.4\InsetSpace \thinspace{}
21205 pt; it can be changed by changing the size 
21206 \series bold
21207
21208 \backslash
21209 FrameRule
21210 \series default
21211 .
21212  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21213 pt; it can
21214  be changed by changing the size 
21215 \series bold
21216
21217 \backslash
21218 FrameSep
21219 \series default
21220 .
21221  For example the frame appearance of the following 
21222 \family sans
21223 Framed
21224 \family default
21225  note is set with the ERT commands
21226 \end_layout
21227
21228 \begin_layout Standard
21229
21230 \series bold
21231
21232 \backslash
21233 FrameRule 5pt 
21234 \backslash
21235 FrameSep 0.5cm
21236 \end_layout
21237
21238 \begin_layout Standard
21239 \begin_inset ERT
21240 status collapsed
21241
21242 \begin_layout Standard
21243
21244
21245 \backslash
21246 FrameRule 5pt 
21247 \backslash
21248 FrameSep 0.5cm
21249 \end_layout
21250
21251 \end_inset
21252
21253
21254 \begin_inset Note Framed
21255 status open
21256
21257 \begin_layout Standard
21258 This is text in a 
21259 \family sans
21260 Framed
21261 \family default
21262  note.
21263 \end_layout
21264
21265 \end_inset
21266
21267
21268 \begin_inset ERT
21269 status collapsed
21270
21271 \begin_layout Standard
21272
21273
21274 \backslash
21275 FrameRule 0.4pt 
21276 \backslash
21277 FrameSep 9pt
21278 \end_layout
21279
21280 \end_inset
21281
21282
21283 \end_layout
21284
21285 \begin_layout Standard
21286 \begin_inset VSpace bigskip
21287 \end_inset
21288
21289
21290 \end_layout
21291
21292 \begin_layout Standard
21293 For 
21294 \family sans
21295 Shaded
21296 \family default
21297  notes the default space between the note content and the note border is
21298  3\InsetSpace \thinspace{}
21299 pt; it can be changed by changing the size 
21300 \series bold
21301
21302 \backslash
21303 fboxsep
21304 \series default
21305 .
21306 \newline
21307 The default background color red can be changed with the command 
21308 \series bold
21309
21310 \backslash
21311 def\SpecialChar \textcompwordmark{}
21312 inecolor{shadebox}
21313 \series default
21314 .
21315  The scheme of the 
21316 \series bold
21317
21318 \backslash
21319 def\SpecialChar \textcompwordmark{}
21320 inecolor
21321 \series default
21322  command is explained in section\InsetSpace ~
21323
21324 \begin_inset LatexCommand ref
21325 reference "sec:Colored-Tables"
21326
21327 \end_inset
21328
21329
21330 \begin_inset Foot
21331 status collapsed
21332
21333 \begin_layout Standard
21334 Note that 
21335 \series bold
21336
21337 \backslash
21338 def
21339 \series default
21340 \SpecialChar \textcompwordmark{}
21341
21342 \series bold
21343 inecolor
21344 \series default
21345  requires the LaTeX-package 
21346 \series bold
21347 color
21348 \series default
21349  in the preamble, see section\InsetSpace ~
21350
21351 \begin_inset LatexCommand ref
21352 reference "sec:Colored-Boxes"
21353
21354 \end_inset
21355
21356 .
21357 \end_layout
21358
21359 \end_inset
21360
21361 .
21362 \end_layout
21363
21364 \begin_layout Standard
21365 For example the appearance of the following 
21366 \family sans
21367 Shaded
21368 \family default
21369  note is set with the ERT commands
21370 \end_layout
21371
21372 \begin_layout Standard
21373
21374 \series bold
21375
21376 \backslash
21377 fboxsep 0.5cm
21378 \series default
21379
21380 \newline
21381
21382 \series bold
21383
21384 \backslash
21385 def\SpecialChar \textcompwordmark{}
21386 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21387 \end_layout
21388
21389 \begin_layout Standard
21390 \begin_inset ERT
21391 status collapsed
21392
21393 \begin_layout Standard
21394
21395
21396 \backslash
21397 fboxsep 0.5cm
21398 \end_layout
21399
21400 \end_inset
21401
21402
21403 \begin_inset ERT
21404 status collapsed
21405
21406 \begin_layout Standard
21407
21408
21409 \backslash
21410 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21411 \end_layout
21412
21413 \end_inset
21414
21415
21416 \begin_inset Note Shaded
21417 status open
21418
21419 \begin_layout Standard
21420
21421 \color yellow
21422 This is yellow text in a
21423 \color none
21424  
21425 \family sans
21426 \color yellow
21427 Shaded
21428 \family default
21429 \color none
21430  
21431 \color yellow
21432 note with darkgreen background.
21433 \end_layout
21434
21435 \end_inset
21436
21437
21438 \begin_inset ERT
21439 status collapsed
21440
21441 \begin_layout Standard
21442
21443
21444 \backslash
21445 fboxsep 3pt
21446 \end_layout
21447
21448 \end_inset
21449
21450
21451 \begin_inset ERT
21452 status collapsed
21453
21454 \begin_layout Standard
21455
21456
21457 \backslash
21458 definecolor{shadecolor}{rgb}{1,0,0}
21459 \end_layout
21460
21461 \end_inset
21462
21463
21464 \end_layout
21465
21466 \begin_layout Section
21467 Footnotes
21468 \begin_inset LatexCommand label
21469 name "sec:Footnotes"
21470
21471 \end_inset
21472
21473
21474 \begin_inset LatexCommand index
21475 name "Notes ! Footnotes"
21476
21477 \end_inset
21478
21479
21480 \begin_inset LatexCommand index
21481 name "Footnotes"
21482
21483 \end_inset
21484
21485
21486 \end_layout
21487
21488 \begin_layout Standard
21489 Footnotes can be inserted using the toolbar button 
21490 \begin_inset Graphics
21491         filename ../images/footnote-insert.xpm
21492         scale 85
21493
21494 \end_inset
21495
21496  or the menu 
21497 \family sans
21498 Insert\SpecialChar \menuseparator
21499 Footnote
21500 \family default
21501 .
21502  
21503 \family roman
21504 \series medium
21505 \bar no
21506 You'll see
21507 \family default
21508 \series default
21509 \bar default
21510  then the following footnote-box: 
21511 \begin_inset Graphics
21512         filename clipart/footnoteQt4.png
21513         scale 80
21514
21515 \end_inset
21516
21517  
21518 \family roman
21519 \series medium
21520 \bar no
21521 where you can enter the footnote text.
21522  If you want to turn existing text into a footnote, mark it and click on
21523  the footnote
21524 \family default
21525 \series default
21526 \bar default
21527  toolbar 
21528 \family roman
21529 \series medium
21530 \bar no
21531 button
21532 \family default
21533 \series default
21534 \bar default
21535 .
21536 \end_layout
21537
21538 \begin_layout Standard
21539 Here is an example footnote:
21540 \family roman
21541 \series medium
21542 \bar no
21543
21544 \begin_inset Foot
21545 status open
21546
21547 \begin_layout Standard
21548 \begin_inset LatexCommand label
21549 name "foot:This-is-an"
21550
21551 \end_inset
21552
21553 This is an example footnote.
21554 \end_layout
21555
21556 \end_inset
21557
21558
21559 \family default
21560 \series default
21561 \bar default
21562
21563 \begin_inset ERT
21564 status collapsed
21565
21566 \begin_layout Standard
21567
21568
21569 \backslash
21570 newcounter{MyRepeatFoot}
21571 \end_layout
21572
21573 \begin_layout Standard
21574
21575
21576 \backslash
21577 setcounter{MyRepeatFoot}{
21578 \backslash
21579 thefootnote}
21580 \end_layout
21581
21582 \end_inset
21583
21584
21585 \end_layout
21586
21587 \begin_layout Standard
21588 The footnote will appear in the output as a superscript number at the text
21589  position where the footnote box is placed.
21590  The footnote text is placed at the bottom of the current page.
21591  The footnote number is calculated by LaTeX, the numbers are consecutive.
21592  It depends on your document-class, if the footnote number is reset for
21593  every chapter.
21594 \end_layout
21595
21596 \begin_layout Standard
21597 Footnotes can be referenced like floats: Insert a label into the footnote
21598  and cross-reference this label in the text as described in section\InsetSpace ~
21599
21600 \begin_inset LatexCommand ref
21601 reference "sec:Referencing-Floats"
21602
21603 \end_inset
21604
21605 .
21606 \newline
21607 This is a cross-reference of Footnote\InsetSpace ~
21608
21609 \begin_inset LatexCommand ref
21610 reference "foot:This-is-an"
21611
21612 \end_inset
21613
21614 .
21615 \newline
21616
21617 \begin_inset Note Greyedout
21618 status open
21619
21620 \begin_layout Standard
21621
21622 \series bold
21623 Note:
21624 \series default
21625  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21626  e.\InsetSpace \thinspace{}
21627 g.\InsetSpace ~
21628 the prefix 
21629 \family sans
21630
21631 \begin_inset Quotes eld
21632 \end_inset
21633
21634 foot:
21635 \family default
21636
21637 \begin_inset Quotes erd
21638 \end_inset
21639
21640  manually when you want to use the reference style 
21641 \family sans
21642 Formatted\InsetSpace ~
21643 reference
21644 \family default
21645 .
21646 \end_layout
21647
21648 \end_inset
21649
21650
21651 \end_layout
21652
21653 \begin_layout Standard
21654 \begin_inset VSpace defskip
21655 \end_inset
21656
21657 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21658
21659 \begin_inset LatexCommand ref
21660 reference "sec:Minipages"
21661
21662 \end_inset
21663
21664 .
21665  Footnotes within longtables are described in section\InsetSpace ~
21666
21667 \begin_inset LatexCommand ref
21668 reference "sub:Footnotes-in-Longtables"
21669
21670 \end_inset
21671
21672 .
21673 \end_layout
21674
21675 \begin_layout Standard
21676 \begin_inset VSpace defskip
21677 \end_inset
21678
21679 To create only a mark for a footnote, use the command 
21680 \series bold
21681
21682 \backslash
21683 footnotemark[number]
21684 \series default
21685  in ERT.
21686  This is used when you have the same annotation several times in a text
21687  but doesn't want to print the footnote text every time.
21688 \newline
21689 As you don't know
21690  the number of the repeating footnote while you are writing the text, you
21691  have to store its number.
21692  For the following footnote mark example, these commands were inserted in
21693  ERT behind Footnote\InsetSpace ~
21694
21695 \begin_inset LatexCommand ref
21696 reference "foot:This-is-an"
21697
21698 \end_inset
21699
21700  to store the footnote number:
21701 \end_layout
21702
21703 \begin_layout Standard
21704
21705 \series bold
21706
21707 \backslash
21708 newcounter{MyRepeatFoot}
21709 \newline
21710
21711 \backslash
21712 setcounter{MyRepeatFoot}{
21713 \backslash
21714 thefootnote}
21715 \end_layout
21716
21717 \begin_layout Standard
21718 The footnote mark was then created with this command:
21719 \end_layout
21720
21721 \begin_layout Standard
21722
21723 \series bold
21724
21725 \backslash
21726 footnotemark[
21727 \backslash
21728 theMyRepeatFoot]
21729 \end_layout
21730
21731 \begin_layout Standard
21732 Here is an example footnote mark:
21733 \family roman
21734 \series medium
21735 \bar no
21736
21737 \begin_inset ERT
21738 status collapsed
21739
21740 \begin_layout Standard
21741
21742
21743 \backslash
21744 footnotemark[
21745 \backslash
21746 theMyRepeatFoot]
21747 \end_layout
21748
21749 \end_inset
21750
21751
21752 \end_layout
21753
21754 \begin_layout Subsection
21755 Footnote Numbering
21756 \begin_inset LatexCommand label
21757 name "sub:Footnote-Numbering"
21758
21759 \end_inset
21760
21761
21762 \begin_inset LatexCommand index
21763 name "Footnotes ! Numbering"
21764
21765 \end_inset
21766
21767
21768 \end_layout
21769
21770 \begin_layout Standard
21771 If you want to have footnotes numbered in the scheme 
21772 \begin_inset Quotes eld
21773 \end_inset
21774
21775 chapter.footnote
21776 \begin_inset Quotes erd
21777 \end_inset
21778
21779 , add the following command to your document preamble:
21780 \end_layout
21781
21782 \begin_layout Standard
21783
21784 \series bold
21785
21786 \backslash
21787 numberwithin{footnote}{chapter}
21788 \end_layout
21789
21790 \begin_layout Standard
21791 To be able to use the command 
21792 \series bold
21793
21794 \backslash
21795 numberwithin
21796 \series default
21797 , set in the tab 
21798 \family sans
21799 Math\InsetSpace ~
21800 Options
21801 \family default
21802  in the document settings the option 
21803 \family sans
21804 Use\InsetSpace ~
21805 AMS\InsetSpace ~
21806 math\InsetSpace ~
21807 package
21808 \family default
21809 .
21810 \end_layout
21811
21812 \begin_layout Standard
21813 \begin_inset ERT
21814 status collapsed
21815
21816 \begin_layout Standard
21817
21818
21819 \backslash
21820 numberwithin{footnote}{chapter}
21821 \end_layout
21822
21823 \end_inset
21824
21825 This is another example footnote:
21826 \series bold
21827
21828 \begin_inset Foot
21829 status open
21830
21831 \begin_layout Standard
21832 This is a footnote numbered in the scheme 
21833 \begin_inset Quotes eld
21834 \end_inset
21835
21836 chapter.footnote
21837 \begin_inset Quotes erd
21838 \end_inset
21839
21840 .
21841 \end_layout
21842
21843 \end_inset
21844
21845
21846 \series default
21847
21848 \begin_inset ERT
21849 status collapsed
21850
21851 \begin_layout Standard
21852
21853
21854 \backslash
21855 numberwithin{footnote}{part}
21856 \end_layout
21857
21858 \end_inset
21859
21860
21861 \end_layout
21862
21863 \begin_layout Standard
21864 \begin_inset VSpace bigskip
21865 \end_inset
21866
21867
21868 \end_layout
21869
21870 \begin_layout Standard
21871 To reset the footnote number back to 1 after each section
21872 \family roman
21873 , add this command to your document preamble:
21874 \end_layout
21875
21876 \begin_layout Standard
21877
21878 \series bold
21879
21880 \backslash
21881 @addtoreset{footnote}{section}
21882 \end_layout
21883
21884 \begin_layout Standard
21885 \begin_inset VSpace bigskip
21886 \end_inset
21887
21888 The following preamble command changes the footnote numbering style to small
21889  roman numerals:
21890 \end_layout
21891
21892 \begin_layout Standard
21893
21894 \series bold
21895
21896 \backslash
21897 renewcommand{
21898 \backslash
21899 thefootnote}{
21900 \backslash
21901 roman{footnote}}
21902 \end_layout
21903
21904 \begin_layout Standard
21905 \begin_inset ERT
21906 status collapsed
21907
21908 \begin_layout Standard
21909
21910
21911 \backslash
21912 renewcommand{
21913 \backslash
21914 thefootnote}{
21915 \backslash
21916 roman{footnote}}
21917 \end_layout
21918
21919 \end_inset
21920
21921  This is a footnote with roman numbering:
21922 \begin_inset Foot
21923 status open
21924
21925 \begin_layout Standard
21926 This is an example footnote with roman numbering.
21927 \end_layout
21928
21929 \end_inset
21930
21931
21932 \begin_inset ERT
21933 status collapsed
21934
21935 \begin_layout Standard
21936
21937
21938 \backslash
21939 renewcommand{
21940 \backslash
21941 thefootnote}{
21942 \backslash
21943 arabic{footnote}}
21944 \end_layout
21945
21946 \end_inset
21947
21948
21949 \end_layout
21950
21951 \begin_layout Standard
21952 To change the numbering style to capital roman numerals replace in the command
21953  above 
21954 \series bold
21955
21956 \backslash
21957 roman
21958 \series default
21959  by 
21960 \series bold
21961
21962 \backslash
21963 Roman
21964 \series default
21965 .
21966  To 
21967 \begin_inset Quotes eld
21968 \end_inset
21969
21970 number
21971 \begin_inset Quotes erd
21972 \end_inset
21973
21974  footnotes with capital or small Latin letters use 
21975 \series bold
21976
21977 \backslash
21978 Alph
21979 \series default
21980  or 
21981 \series bold
21982
21983 \backslash
21984 alph
21985 \series default
21986 , respectively.
21987  To 
21988 \begin_inset Quotes eld
21989 \end_inset
21990
21991 number
21992 \begin_inset Quotes erd
21993 \end_inset
21994
21995  footnotes with symbols use 
21996 \series bold
21997
21998 \backslash
21999 fnsymbol
22000 \series default
22001 .
22002 \end_layout
22003
22004 \begin_layout Standard
22005 \begin_inset Note Greyedout
22006 status open
22007
22008 \begin_layout Standard
22009
22010 \series bold
22011 Note:
22012 \series default
22013  You can only number 26 footnotes with Latin letters, because this numbering
22014  is limited to single letters.
22015 \end_layout
22016
22017 \end_inset
22018
22019
22020 \newline
22021
22022 \begin_inset Note Greyedout
22023 status open
22024
22025 \begin_layout Standard
22026
22027 \series bold
22028 Note:
22029 \series default
22030  You can only number 9 footnotes with symbols.
22031 \end_layout
22032
22033 \end_inset
22034
22035
22036 \end_layout
22037
22038 \begin_layout Standard
22039 To return to the default numbering style when you changed to another one,
22040  use 
22041 \series bold
22042
22043 \backslash
22044 arabic
22045 \series default
22046  instead of 
22047 \series bold
22048
22049 \backslash
22050 roman
22051 \series default
22052  in the command above.
22053 \end_layout
22054
22055 \begin_layout Subsection
22056 Footnote Placement
22057 \begin_inset LatexCommand index
22058 name "Footnotes ! Placement"
22059
22060 \end_inset
22061
22062
22063 \end_layout
22064
22065 \begin_layout Standard
22066 If you have several footnotes in one page, they appear without vertical
22067  space between them at the bottom of the page.
22068  To make them better readable you can e.\InsetSpace \thinspace{}
22069 g.\InsetSpace ~
22070 add 1.5\InsetSpace \thinspace{}
22071 mm space with the following
22072  preamble command:
22073 \end_layout
22074
22075 \begin_layout Standard
22076
22077 \series bold
22078
22079 \backslash
22080 let
22081 \backslash
22082 myFoot
22083 \backslash
22084 footnote
22085 \newline
22086
22087 \backslash
22088 renewcommand{
22089 \backslash
22090 footnote}[1]{
22091 \backslash
22092 myFoot{#1
22093 \backslash
22094 vspace{1.5mm}}}
22095 \end_layout
22096
22097 \begin_layout Standard
22098 \begin_inset VSpace bigskip
22099 \end_inset
22100
22101 In a two-column document the footnotes appear at the bottom of every column,
22102  see Figure\InsetSpace ~
22103
22104 \begin_inset LatexCommand ref
22105 reference "fig:Standard-footnote-placement"
22106
22107 \end_inset
22108
22109 .
22110  If the footnotes should only appear at the bottom of the right column,
22111  as in Figure\InsetSpace ~
22112
22113 \begin_inset LatexCommand ref
22114 reference "fig:Footnote-placement-in"
22115
22116 \end_inset
22117
22118 , use the LaTeX-package 
22119 \series bold
22120 ftnright
22121 \series default
22122
22123 \begin_inset LatexCommand index
22124 name "LaTeX-packages ! ftnright"
22125
22126 \end_inset
22127
22128  with this command in the document preamble:
22129 \end_layout
22130
22131 \begin_layout Standard
22132
22133 \series bold
22134
22135 \backslash
22136 usepackage{ftnright}
22137 \end_layout
22138
22139 \begin_layout Standard
22140 \begin_inset Float figure
22141 placement !h
22142 wide false
22143 sideways false
22144 status open
22145
22146 \begin_layout Standard
22147 \begin_inset ERT
22148 status collapsed
22149
22150 \begin_layout Standard
22151
22152
22153 \backslash
22154 framebox{
22155 \end_layout
22156
22157 \end_inset
22158
22159
22160 \begin_inset Graphics
22161         filename clipart/without_fntright.pdf
22162         width 100col%
22163
22164 \end_inset
22165
22166
22167 \begin_inset ERT
22168 status collapsed
22169
22170 \begin_layout Standard
22171
22172 }
22173 \end_layout
22174
22175 \end_inset
22176
22177
22178 \end_layout
22179
22180 \begin_layout Standard
22181 \begin_inset Caption
22182
22183 \begin_layout Standard
22184 \begin_inset LatexCommand label
22185 name "fig:Standard-footnote-placement"
22186
22187 \end_inset
22188
22189 Standard footnote placement in two-column documents.
22190 \end_layout
22191
22192 \end_inset
22193
22194
22195 \end_layout
22196
22197 \end_inset
22198
22199
22200 \end_layout
22201
22202 \begin_layout Standard
22203 \begin_inset Float figure
22204 placement !h
22205 wide false
22206 sideways false
22207 status open
22208
22209 \begin_layout Standard
22210 \begin_inset ERT
22211 status collapsed
22212
22213 \begin_layout Standard
22214
22215
22216 \backslash
22217 framebox{
22218 \end_layout
22219
22220 \end_inset
22221
22222
22223 \begin_inset Graphics
22224         filename clipart/with_fntright.pdf
22225         width 100col%
22226
22227 \end_inset
22228
22229
22230 \begin_inset ERT
22231 status collapsed
22232
22233 \begin_layout Standard
22234
22235 }
22236 \end_layout
22237
22238 \end_inset
22239
22240
22241 \end_layout
22242
22243 \begin_layout Standard
22244 \begin_inset Caption
22245
22246 \begin_layout Standard
22247 \begin_inset LatexCommand label
22248 name "fig:Footnote-placement-in"
22249
22250 \end_inset
22251
22252 Footnote placement in two-column documents when the LaTeX-package 
22253 \series bold
22254 ftnright
22255 \series default
22256  is used.
22257 \end_layout
22258
22259 \end_inset
22260
22261
22262 \end_layout
22263
22264 \end_inset
22265
22266
22267 \end_layout
22268
22269 \begin_layout Standard
22270 \begin_inset VSpace bigskip
22271 \end_inset
22272
22273 In some scientific literature it is usual to collect the footnotes and print
22274  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22275
22276 \begin_inset LatexCommand ref
22277 reference "fig:Endnotes----footnotes"
22278
22279 \end_inset
22280
22281 .
22282  They are then so called 
22283 \begin_inset Quotes eld
22284 \end_inset
22285
22286 endnotes
22287 \begin_inset Quotes erd
22288 \end_inset
22289
22290 .
22291  To use endnotes instead of footnotes in your document, load the LaTeX-package
22292  
22293 \series bold
22294 endnotes
22295 \series default
22296
22297 \begin_inset LatexCommand index
22298 name "LaTeX-packages ! endnotes"
22299
22300 \end_inset
22301
22302  with the document preamble lines
22303 \end_layout
22304
22305 \begin_layout Standard
22306
22307 \series bold
22308
22309 \backslash
22310 usepackage{endnotes}
22311 \newline
22312
22313 \backslash
22314 let
22315 \backslash
22316 footnote
22317 \backslash
22318 endnote
22319 \end_layout
22320
22321 \begin_layout Standard
22322 To insert the collected footnotes, insert the command
22323 \end_layout
22324
22325 \begin_layout Standard
22326
22327 \series bold
22328
22329 \backslash
22330 theendnotes
22331 \end_layout
22332
22333 \begin_layout Standard
22334 in ERT at the the end of a section or chapter.
22335 \end_layout
22336
22337 \begin_layout Standard
22338 \begin_inset Float figure
22339 wide false
22340 sideways false
22341 status open
22342
22343 \begin_layout Standard
22344 \align center
22345 \begin_inset ERT
22346 status collapsed
22347
22348 \begin_layout Standard
22349
22350
22351 \backslash
22352 framebox{
22353 \end_layout
22354
22355 \end_inset
22356
22357
22358 \begin_inset Graphics
22359         filename clipart/endnotes.pdf
22360
22361 \end_inset
22362
22363
22364 \begin_inset ERT
22365 status collapsed
22366
22367 \begin_layout Standard
22368
22369 }
22370 \end_layout
22371
22372 \end_inset
22373
22374
22375 \end_layout
22376
22377 \begin_layout Standard
22378 \begin_inset Caption
22379
22380 \begin_layout Standard
22381 \begin_inset LatexCommand label
22382 name "fig:Endnotes----footnotes"
22383
22384 \end_inset
22385
22386 Endnotes -- footnotes are printed in a separate paragraph at the end of
22387  sections or chapters.
22388 \end_layout
22389
22390 \end_inset
22391
22392
22393 \end_layout
22394
22395 \end_inset
22396
22397
22398 \end_layout
22399
22400 \begin_layout Standard
22401 \begin_inset VSpace defskip
22402 \end_inset
22403
22404 The paragraph heading for the endnotes isn't automatically translated into
22405  the document language, this must be done manually.
22406  The following preamble command translate the default English name 
22407 \begin_inset Quotes eld
22408 \end_inset
22409
22410 Notes
22411 \begin_inset Quotes erd
22412 \end_inset
22413
22414  to the German translation 
22415 \begin_inset Quotes eld
22416 \end_inset
22417
22418 Anmerkungen
22419 \begin_inset Quotes erd
22420 \end_inset
22421
22422 :
22423 \end_layout
22424
22425 \begin_layout Standard
22426
22427 \series bold
22428
22429 \backslash
22430 renewcommand{
22431 \backslash
22432 notesname}{Anmerkungen}
22433 \end_layout
22434
22435 \begin_layout Standard
22436 \begin_inset VSpace defskip
22437 \end_inset
22438
22439 The numbering of endnotes can be changed like the footnote numbering as
22440  described in section\InsetSpace ~
22441
22442 \begin_inset LatexCommand ref
22443 reference "sub:Footnote-Numbering"
22444
22445 \end_inset
22446
22447 ; just replace the command 
22448 \series bold
22449
22450 \backslash
22451 thefootnote
22452 \series default
22453  by 
22454 \series bold
22455
22456 \backslash
22457 theendnote
22458 \series default
22459 .
22460  To reset the endnote number use the command 
22461 \series bold
22462
22463 \backslash
22464 @addtoreset
22465 \series default
22466  as described in section\InsetSpace ~
22467
22468 \begin_inset LatexCommand ref
22469 reference "sub:Footnote-Numbering"
22470
22471 \end_inset
22472
22473  and replace the command parameter 
22474 \series bold
22475 footnote
22476 \series default
22477  by 
22478 \series bold
22479 endnote
22480 \series default
22481 .
22482 \end_layout
22483
22484 \begin_layout Standard
22485 To create only a mark for an endnote, use the command 
22486 \series bold
22487
22488 \backslash
22489 endnotemark[number]
22490 \series default
22491  similar to the command 
22492 \series bold
22493
22494 \backslash
22495 footnotemark
22496 \series default
22497 , described in section\InsetSpace ~
22498
22499 \begin_inset LatexCommand ref
22500 reference "sec:Footnotes"
22501
22502 \end_inset
22503
22504 .
22505 \end_layout
22506
22507 \begin_layout Standard
22508 \begin_inset VSpace bigskip
22509 \end_inset
22510
22511 Footnotes can also be placed in the page margin and the footnote text alignment
22512  can be changed, see the LaTeX-package 
22513 \series bold
22514 footmisc
22515 \series default
22516
22517 \begin_inset LatexCommand index
22518 name "LaTeX-packages ! footmisc"
22519
22520 \end_inset
22521
22522
22523 \begin_inset LatexCommand cite
22524 key "footmisc"
22525
22526 \end_inset
22527
22528  for more information about this.
22529 \end_layout
22530
22531 \begin_layout Standard
22532 For various further footnote formatting issues have a look at LaTeX-books,
22533  
22534 \begin_inset LatexCommand cite
22535 key "latexcompanion,latexguide,latexbook"
22536
22537 \end_inset
22538
22539 .
22540 \end_layout
22541
22542 \begin_layout Section
22543 Margin Notes
22544 \begin_inset LatexCommand index
22545 name "Notes ! Margin Notes"
22546
22547 \end_inset
22548
22549
22550 \end_layout
22551
22552 \begin_layout Standard
22553 Margin notes look and behave in LyX like footnotes.
22554  They are inserted via the menu 
22555 \family sans
22556 Insert\SpecialChar \menuseparator
22557 Marginal\InsetSpace ~
22558 Note
22559 \family default
22560  or the toolbar button 
22561 \begin_inset Graphics
22562         filename ../images/marginalnote-insert.xpm
22563         scale 85
22564
22565 \end_inset
22566
22567 .
22568  A grey 
22569 \family roman
22570 \series medium
22571 box with the
22572 \family default
22573 \series default
22574  red 
22575 \family roman
22576 \series medium
22577 label 
22578 \begin_inset Quotes eld
22579 \end_inset
22580
22581 margin
22582 \begin_inset Quotes erd
22583 \end_inset
22584
22585  appears where you can enter the text of the margin note.
22586 \end_layout
22587
22588 \begin_layout Standard
22589 At the side is an example margin note.
22590 \family roman
22591 \series medium
22592
22593 \begin_inset Marginal
22594 status open
22595
22596 \begin_layout Standard
22597 This is a margin note.
22598 \end_layout
22599
22600 \end_inset
22601
22602
22603 \end_layout
22604
22605 \begin_layout Standard
22606 Margin notes appear at the right side in single-sided documents.
22607  In double-sided documents they appear in the outer margin -- left on even
22608  pages, right on odd pages.
22609  The text of margin notes is aligned opposite to the outer margin -- right-align
22610 ed when the note appears in the left margin.
22611  The first line of the margin note is placed at the position of the text
22612  line where it is inserted in the document.
22613 \end_layout
22614
22615 \begin_layout Standard
22616 \begin_inset VSpace bigskip
22617 \end_inset
22618
22619 To place the margin note in the inner margin, add the command
22620 \end_layout
22621
22622 \begin_layout Standard
22623
22624 \series bold
22625
22626 \backslash
22627 reversemarginpar
22628 \end_layout
22629
22630 \begin_layout Standard
22631 in ERT before a margin note.
22632  The new placement is valid for all following margin notes.
22633 \begin_inset ERT
22634 status collapsed
22635
22636 \begin_layout Standard
22637
22638
22639 \backslash
22640 reversemarginpar 
22641 \end_layout
22642
22643 \end_inset
22644
22645
22646 \begin_inset Marginal
22647 status open
22648
22649 \begin_layout Standard
22650 This is a margin note in the inner margin.
22651 \end_layout
22652
22653 \end_inset
22654
22655
22656 \series bold
22657
22658 \newline
22659
22660 \series default
22661
22662 \begin_inset Note Greyedout
22663 status open
22664
22665 \begin_layout Standard
22666
22667 \series bold
22668 Note:
22669 \series default
22670  There is often not enough space in the inner margin so that the notes are
22671  not correctly displayed in the output.
22672 \end_layout
22673
22674 \end_inset
22675
22676
22677 \end_layout
22678
22679 \begin_layout Standard
22680 \begin_inset ERT
22681 status collapsed
22682
22683 \begin_layout Standard
22684
22685
22686 \backslash
22687 normalmarginpar 
22688 \end_layout
22689
22690 \end_inset
22691
22692 To return to the default placement insert the command
22693 \end_layout
22694
22695 \begin_layout Standard
22696
22697 \series bold
22698
22699 \backslash
22700 normalmarginpar
22701 \end_layout
22702
22703 \begin_layout Standard
22704 in ERT.
22705  
22706 \begin_inset Note Greyedout
22707 status open
22708
22709 \begin_layout Standard
22710
22711 \series bold
22712 Note:
22713 \series default
22714  The command is ignored when it is within a paragraph where also the command
22715  
22716 \series bold
22717
22718 \backslash
22719 reversemarginpar
22720 \series default
22721  is inserted.
22722 \end_layout
22723
22724 \end_inset
22725
22726
22727 \end_layout
22728
22729 \begin_layout Standard
22730 \begin_inset VSpace bigskip
22731 \end_inset
22732
22733
22734 \family roman
22735 \series medium
22736
22737 \begin_inset Marginal
22738 status open
22739
22740 \begin_layout Standard
22741 AVeryLongMarginParWord that isn't hyphenated.
22742 \end_layout
22743
22744 \end_inset
22745
22746
22747 \family default
22748 \series default
22749 Similar to the case described in section\InsetSpace ~
22750
22751 \begin_inset LatexCommand ref
22752 reference "sub:Multiple-Lines-in"
22753
22754 \end_inset
22755
22756 , long words cannot be hyphenated when they are the first word in a margin
22757  note.
22758  To avoid this, insert the command
22759 \end_layout
22760
22761 \begin_layout Standard
22762
22763 \series bold
22764
22765 \backslash
22766 hspace{0pt}
22767 \end_layout
22768
22769 \begin_layout Standard
22770 in ERT before the word
22771 \family roman
22772 \series medium
22773 .
22774 \begin_inset Marginal
22775 status open
22776
22777 \begin_layout Standard
22778 \begin_inset ERT
22779 status collapsed
22780
22781 \begin_layout Standard
22782
22783
22784 \backslash
22785 hspace{0pt}
22786 \end_layout
22787
22788 \end_inset
22789
22790 AVeryLongMarginParWord that is hyphenated.
22791 \end_layout
22792
22793 \end_inset
22794
22795
22796 \end_layout
22797
22798 \begin_layout Standard
22799 \begin_inset VSpace bigskip
22800 \end_inset
22801
22802
22803 \end_layout
22804
22805 \begin_layout Standard
22806 \begin_inset Note Greyedout
22807 status open
22808
22809 \begin_layout Standard
22810
22811 \series bold
22812 Note:
22813 \series default
22814  Margin notes can normally not be used inside tables, floats, and footnotes.
22815 \end_layout
22816
22817 \end_inset
22818
22819
22820 \end_layout
22821
22822 \begin_layout Standard
22823 \begin_inset VSpace bigskip
22824 \end_inset
22825
22826
22827 \end_layout
22828
22829 \begin_layout Standard
22830 \begin_inset ERT
22831 status collapsed
22832
22833 \begin_layout Standard
22834
22835
22836 \backslash
22837 ifmarginnote
22838 \end_layout
22839
22840 \end_inset
22841
22842
22843 \begin_inset Note Note
22844 status open
22845
22846 \begin_layout Standard
22847 The following section will only be displayed when you have the LaTeX-package
22848  
22849 \series bold
22850 marginnote
22851 \series default
22852  is installed.
22853 \end_layout
22854
22855 \end_inset
22856
22857
22858 \end_layout
22859
22860 \begin_layout Standard
22861 This restriction can be evaded by using the LaTeX-package 
22862 \series bold
22863 marginnote
22864 \series default
22865
22866 \begin_inset LatexCommand index
22867 name "LaTeX-packages ! marginnote"
22868
22869 \end_inset
22870
22871 .
22872  By adding these two lines to your document preamble, the command used by
22873  LyX for margin notes is redefined to use the command provided by the 
22874 \series bold
22875 marginnote
22876 \series default
22877 -package:
22878 \end_layout
22879
22880 \begin_layout Standard
22881
22882 \series bold
22883
22884 \backslash
22885 usepackage{marginnote}
22886 \newline
22887
22888 \backslash
22889 let
22890 \backslash
22891 marginpar
22892 \backslash
22893 marginnote
22894 \end_layout
22895
22896 \begin_layout Standard
22897 This is also used in this document because 
22898 \series bold
22899 marginnote
22900 \series default
22901  has another useful feature: You can set a vertical offset for the note.
22902  This is often needed when too many margin notes are too close together
22903  or for a better page layout.
22904  The offset is set in LyX as ERT directly behind the margin note in the
22905  scheme
22906 \end_layout
22907
22908 \begin_layout Standard
22909
22910 \series bold
22911 [offset]
22912 \end_layout
22913
22914 \begin_layout Standard
22915 where the offset is a length with one of the units listed in Table\InsetSpace ~
22916
22917 \begin_inset LatexCommand ref
22918 reference "tab:Units"
22919
22920 \end_inset
22921
22922 .
22923  A negative value shifts the note up, a positive value shifts it down.
22924  
22925 \family roman
22926 \series medium
22927 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22928 cm with
22929  the ERT-command 
22930 \begin_inset Quotes eld
22931 \end_inset
22932
22933
22934 \family default
22935 \series bold
22936 [-1.5cm]
22937 \family roman
22938 \series medium
22939
22940 \begin_inset Quotes erd
22941 \end_inset
22942
22943
22944 \begin_inset Marginal
22945 status open
22946
22947 \begin_layout Standard
22948 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22949 cm from its original position.
22950 \end_layout
22951
22952 \end_inset
22953
22954
22955 \family default
22956 \series default
22957
22958 \begin_inset ERT
22959 status collapsed
22960
22961 \begin_layout Standard
22962
22963 [-1.5cm]
22964 \end_layout
22965
22966 \end_inset
22967
22968
22969 \end_layout
22970
22971 \begin_layout Standard
22972 \begin_inset VSpace defskip
22973 \end_inset
22974
22975 With 
22976 \series bold
22977 marginnote
22978 \series default
22979  you can also change the alignment of the text in the margin note.
22980  For example the commands
22981 \end_layout
22982
22983 \begin_layout Standard
22984
22985 \series bold
22986
22987 \backslash
22988 renewcommand*{
22989 \backslash
22990 raggedleftmarginnote}{
22991 \backslash
22992 centering}
22993 \newline
22994
22995 \backslash
22996 renewcommand*{
22997 \backslash
22998 raggedrightmarginnote}{
22999 \backslash
23000 centering}
23001 \end_layout
23002
23003 \begin_layout Standard
23004 set the alignment to centered.
23005  
23006 \series bold
23007
23008 \backslash
23009 raggedleftmarginnote
23010 \series default
23011  denotes margin notes that appear at the left side.
23012 \family roman
23013 \series medium
23014
23015 \begin_inset ERT
23016 status collapsed
23017
23018 \begin_layout Standard
23019
23020
23021 \backslash
23022 renewcommand*{
23023 \backslash
23024 raggedleftmarginnote}{
23025 \backslash
23026 centering}
23027 \end_layout
23028
23029 \begin_layout Standard
23030
23031
23032 \backslash
23033 renewcommand*{
23034 \backslash
23035 raggedrightmarginnote}{
23036 \backslash
23037 centering}
23038 \end_layout
23039
23040 \end_inset
23041
23042
23043 \begin_inset Marginal
23044 status open
23045
23046 \begin_layout Standard
23047 The text of this margin note is centered.
23048 \end_layout
23049
23050 \end_inset
23051
23052
23053 \family default
23054 \series default
23055  The default is
23056 \end_layout
23057
23058 \begin_layout Standard
23059
23060 \series bold
23061
23062 \backslash
23063 renewcommand*{
23064 \backslash
23065 raggedleftmarginnote}{
23066 \backslash
23067 raggedleft}
23068 \newline
23069
23070 \backslash
23071 renewcommand*{
23072 \backslash
23073 raggedrightmarginnote}{
23074 \backslash
23075 raggedright}
23076 \family roman
23077 \series medium
23078
23079 \begin_inset ERT
23080 status collapsed
23081
23082 \begin_layout Standard
23083
23084
23085 \backslash
23086 renewcommand*{
23087 \backslash
23088 raggedleftmarginnote}{
23089 \backslash
23090 raggedleft}
23091 \end_layout
23092
23093 \begin_layout Standard
23094
23095
23096 \backslash
23097 renewcommand*{
23098 \backslash
23099 raggedrightmarginnote}{
23100 \backslash
23101 raggedright}
23102 \end_layout
23103
23104 \end_inset
23105
23106
23107 \end_layout
23108
23109 \begin_layout Standard
23110 \begin_inset VSpace defskip
23111 \end_inset
23112
23113 For the other features of 
23114 \series bold
23115 marginnote
23116 \series default
23117  we refer to its documentation 
23118 \begin_inset LatexCommand cite
23119 key "marginnote"
23120
23121 \end_inset
23122
23123 .
23124 \end_layout
23125
23126 \begin_layout Standard
23127 \begin_inset VSpace bigskip
23128 \end_inset
23129
23130 You can change the layout of margin notes by redefining its definition.
23131  To create for example a header for all margin notes with the underlined,
23132  sans-serif, and bold header text 
23133 \begin_inset Quotes eld
23134 \end_inset
23135
23136
23137 \family sans
23138 \series bold
23139 \bar under
23140 Attention!
23141 \family default
23142 \series default
23143 \bar default
23144
23145 \begin_inset Quotes erd
23146 \end_inset
23147
23148 , add this to your document preamble:
23149 \end_layout
23150
23151 \begin_layout Standard
23152
23153 \series bold
23154
23155 \backslash
23156 let
23157 \backslash
23158 myMarginpar
23159 \backslash
23160 marginpar
23161 \newline
23162
23163 \backslash
23164 renewcommand{
23165 \backslash
23166 marginpar}[1]{
23167 \backslash
23168 myMarginpar{%
23169 \newline
23170
23171 \begin_inset ERT
23172 status collapsed
23173
23174 \begin_layout Standard
23175
23176
23177 \backslash
23178 hphantom{ }
23179 \end_layout
23180
23181 \end_inset
23182
23183
23184 \backslash
23185 hspace{0pt}
23186 \backslash
23187 textsf{
23188 \backslash
23189 textbf{
23190 \backslash
23191 underbar{Attention!}}}%
23192 \newline
23193
23194 \begin_inset ERT
23195 status collapsed
23196
23197 \begin_layout Standard
23198
23199
23200 \backslash
23201 hphantom{ }
23202 \end_layout
23203
23204 \end_inset
23205
23206
23207 \backslash
23208 vspace{1.5mm}
23209 \backslash
23210
23211 \backslash
23212 #1}}
23213 \end_layout
23214
23215 \begin_layout Standard
23216
23217 \family roman
23218 \series medium
23219 \begin_inset ERT
23220 status collapsed
23221
23222 \begin_layout Standard
23223
23224
23225 \backslash
23226 let
23227 \backslash
23228 myMarginpar
23229 \backslash
23230 marginpar
23231 \end_layout
23232
23233 \begin_layout Standard
23234
23235
23236 \backslash
23237 renewcommand{
23238 \backslash
23239 marginpar}[1]{
23240 \backslash
23241 myMarginpar{%
23242 \end_layout
23243
23244 \begin_layout Standard
23245
23246    
23247 \backslash
23248 textsf{
23249 \backslash
23250 textbf{
23251 \backslash
23252 underbar{Attention!}}}%
23253 \end_layout
23254
23255 \begin_layout Standard
23256
23257    
23258 \backslash
23259 vspace{1.5mm}
23260 \backslash
23261
23262 \backslash
23263 #1}}
23264 \end_layout
23265
23266 \end_inset
23267
23268
23269 \begin_inset Marginal
23270 status open
23271
23272 \begin_layout Standard
23273 This is a margin note with a defined heading.
23274 \end_layout
23275
23276 \end_inset
23277
23278
23279 \family default
23280 \series default
23281
23282 \begin_inset ERT
23283 status collapsed
23284
23285 \begin_layout Standard
23286
23287 [-1.5cm]
23288 \end_layout
23289
23290 \end_inset
23291
23292
23293 \family roman
23294 \series medium
23295
23296 \begin_inset ERT
23297 status collapsed
23298
23299 \begin_layout Standard
23300
23301
23302 \backslash
23303 renewcommand{
23304 \backslash
23305 marginpar}[1]{
23306 \backslash
23307 myMarginpar{#1}}
23308 \end_layout
23309
23310 \end_inset
23311
23312
23313 \family default
23314 \series default
23315
23316 \begin_inset Note Note
23317 status collapsed
23318
23319 \begin_layout Standard
23320 The margin note format is changed only for this example.
23321 \end_layout
23322
23323 \end_inset
23324
23325
23326 \end_layout
23327
23328 \begin_layout Standard
23329 \begin_inset ERT
23330 status collapsed
23331
23332 \begin_layout Standard
23333
23334
23335 \backslash
23336 else
23337 \end_layout
23338
23339 \end_inset
23340
23341
23342 \begin_inset Note Note
23343 status open
23344
23345 \begin_layout Standard
23346 The following will be displayed when the LaTeX-package 
23347 \series bold
23348 marginnote
23349 \series default
23350  is not installed:
23351 \end_layout
23352
23353 \end_inset
23354
23355
23356 \end_layout
23357
23358 \begin_layout Standard
23359 You need to install the LaTeX-package 
23360 \series bold
23361 marginnote
23362 \series default
23363  to see the following part of this section in the output.
23364 \end_layout
23365
23366 \begin_layout Standard
23367 \begin_inset ERT
23368 status collapsed
23369
23370 \begin_layout Standard
23371
23372
23373 \backslash
23374 fi
23375 \end_layout
23376
23377 \end_inset
23378
23379
23380 \end_layout
23381
23382 \begin_layout Chapter
23383 Boxes
23384 \end_layout
23385
23386 \begin_layout Section
23387 Introduction
23388 \begin_inset LatexCommand index
23389 name "Boxes ! Introduction"
23390
23391 \end_inset
23392
23393
23394 \end_layout
23395
23396 \begin_layout Standard
23397 Boxes are used to format a block of text.
23398  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23399
23400 \begin_inset LatexCommand ref
23401 reference "sec:Minipages"
23402
23403 \end_inset
23404
23405 , to frame texts, see section\InsetSpace ~
23406
23407 \begin_inset LatexCommand ref
23408 reference "sec:Framed-Boxes"
23409
23410 \end_inset
23411
23412 , to prevent words to be hyphenated, see section\InsetSpace ~
23413
23414 \begin_inset LatexCommand ref
23415 reference "sec:Prevent-Hyphenation"
23416
23417 \end_inset
23418
23419 , to align text, see section\InsetSpace ~
23420
23421 \begin_inset LatexCommand ref
23422 reference "sub:Vertical-Alignment"
23423
23424 \end_inset
23425
23426 , or to set the background color of texts, see section\InsetSpace ~
23427
23428 \begin_inset LatexCommand ref
23429 reference "sec:Colored-Boxes"
23430
23431 \end_inset
23432
23433 .
23434 \end_layout
23435
23436 \begin_layout Standard
23437 Boxes can be inserted with the menu 
23438 \family sans
23439 Insert\SpecialChar \menuseparator
23440 Box
23441 \family default
23442 .
23443  A grey box with the label 
23444 \family sans
23445 Box (Minipage)
23446 \family default
23447
23448 \begin_inset Graphics
23449         filename clipart/BoxInsetDefaultQt4.png
23450         scale 85
23451
23452 \end_inset
23453
23454 , will be inserted.
23455  The box type can be specified by right-clicking on the box.
23456  The appearing box dialog offers the 
23457 \family sans
23458 Inner\InsetSpace ~
23459 Box
23460 \family default
23461  types 
23462 \family sans
23463 Parbox
23464 \family default
23465  and 
23466 \family sans
23467 Minipage
23468 \family default
23469 .
23470  The type 
23471 \family sans
23472 Minipage
23473 \family default
23474  is the default for new boxes and is explained in section\InsetSpace ~
23475
23476 \begin_inset LatexCommand ref
23477 reference "sec:Minipages"
23478
23479 \end_inset
23480
23481 ; the type 
23482 \family sans
23483 Parbox
23484 \family default
23485  is described in section\InsetSpace ~
23486
23487 \begin_inset LatexCommand ref
23488 reference "sec:Parboxes"
23489
23490 \end_inset
23491
23492 .
23493 \end_layout
23494
23495 \begin_layout Standard
23496 Boxes aren't numbered and can therefore not be referenced like floats or
23497  footnotes.
23498 \end_layout
23499
23500 \begin_layout Standard
23501 \begin_inset Note Greyedout
23502 status open
23503
23504 \begin_layout Standard
23505
23506 \series bold
23507 Note:
23508 \series default
23509  Due to a bug in LyX you have to insert a protected space behind a box when
23510  you want to separate in a line the box from the following text with a space.
23511 \end_layout
23512
23513 \end_inset
23514
23515
23516 \end_layout
23517
23518 \begin_layout Standard
23519 \begin_inset Note Greyedout
23520 status open
23521
23522 \begin_layout Standard
23523
23524 \series bold
23525 Note:
23526 \series default
23527  Boxes must not be the item in an 
23528 \family sans
23529 Itemize
23530 \family default
23531  or 
23532 \family sans
23533 Description
23534 \family default
23535  environment.
23536 \end_layout
23537
23538 \end_inset
23539
23540
23541 \end_layout
23542
23543 \begin_layout Standard
23544 \begin_inset Note Greyedout
23545 status open
23546
23547 \begin_layout Standard
23548
23549 \series bold
23550 Note:
23551 \series default
23552  For an unknown reason you can only set the 
23553 \family sans
23554 Inner\InsetSpace ~
23555 Box
23556 \family default
23557  type to 
23558 \family sans
23559 None
23560 \family default
23561  when you use a framed box.
23562  Boxes without an 
23563 \family sans
23564 Inner\InsetSpace ~
23565 Box
23566 \family default
23567  type and without frames are explained in section\InsetSpace ~
23568
23569 \begin_inset LatexCommand ref
23570 reference "sec:Prevent-Hyphenation"
23571
23572 \end_inset
23573
23574 .
23575 \end_layout
23576
23577 \end_inset
23578
23579
23580 \end_layout
23581
23582 \begin_layout Section
23583 Box Dialog
23584 \begin_inset LatexCommand label
23585 name "sec:Box-Dialog"
23586
23587 \end_inset
23588
23589
23590 \begin_inset LatexCommand index
23591 name "Boxes ! Box Dialog"
23592
23593 \end_inset
23594
23595
23596 \begin_inset LatexCommand index
23597 name "Boxes ! Alignment"
23598
23599 \end_inset
23600
23601
23602 \end_layout
23603
23604 \begin_layout Standard
23605 In the box dialog you can adjust the box geometry in the fields 
23606 \family sans
23607 Width
23608 \family default
23609  and 
23610 \family sans
23611 Height
23612 \family default
23613 .
23614  The available units for the geometry are explained in Table\InsetSpace ~
23615
23616 \begin_inset LatexCommand ref
23617 reference "tab:Units"
23618
23619 \end_inset
23620
23621 .
23622  The field 
23623 \family sans
23624 Heigth
23625 \family default
23626  offers the following additional sizes:
23627 \end_layout
23628
23629 \begin_layout Description
23630 Depth This is the plain text 
23631 \begin_inset Quotes eld
23632 \end_inset
23633
23634 height
23635 \begin_inset Quotes erd
23636 \end_inset
23637
23638 .
23639  It ignores the total depth when there are multiple text lines in the box:
23640 \newline
23641
23642 \newline
23643
23644 \newline
23645
23646 \begin_inset Box Boxed
23647 position "c"
23648 hor_pos "c"
23649 has_inner_box 1
23650 inner_pos "c"
23651 use_parbox 0
23652 width "12col%"
23653 special "none"
23654 height "1in"
23655 height_special "depth"
23656 status collapsed
23657
23658 \begin_layout Standard
23659 \align center
23660 Box height set to 1\InsetSpace \thinspace{}
23661 Depth
23662 \end_layout
23663
23664 \end_inset
23665
23666
23667 \newline
23668
23669 \newline
23670
23671 \end_layout
23672
23673 \begin_layout Description
23674 Height This is the heigth of the text that is inside the box.
23675  A value of e.\InsetSpace \thinspace{}
23676 g.\InsetSpace ~
23677 2 for this size will set the box heigth to 2 times the text
23678  height: 
23679 \begin_inset Box Boxed
23680 position "c"
23681 hor_pos "c"
23682 has_inner_box 1
23683 inner_pos "c"
23684 use_parbox 0
23685 width "20col%"
23686 special "none"
23687 height "2in"
23688 height_special "height"
23689 status collapsed
23690
23691 \begin_layout Standard
23692 \align center
23693 Box height set to 2\InsetSpace \thinspace{}
23694 Height
23695 \end_layout
23696
23697 \end_inset
23698
23699
23700 \end_layout
23701
23702 \begin_layout Description
23703 Total\InsetSpace ~
23704 Height This is the Height\InsetSpace \thinspace{}
23705 +\InsetSpace \thinspace{}
23706 Depth: 
23707 \begin_inset Box Boxed
23708 position "c"
23709 hor_pos "c"
23710 has_inner_box 1
23711 inner_pos "c"
23712 use_parbox 0
23713 width "20col%"
23714 special "none"
23715 height "1in"
23716 height_special "totalheight"
23717 status collapsed
23718
23719 \begin_layout Standard
23720 \align center
23721 Box height set to 1\InsetSpace \thinspace{}
23722 Total\InsetSpace ~
23723 Height
23724 \end_layout
23725
23726 \end_inset
23727
23728
23729 \end_layout
23730
23731 \begin_layout Description
23732 Width This set the width of the box as heigth: 
23733 \begin_inset Box Boxed
23734 position "c"
23735 hor_pos "c"
23736 has_inner_box 1
23737 inner_pos "c"
23738 use_parbox 0
23739 width "12col%"
23740 special "none"
23741 height "1in"
23742 height_special "width"
23743 status collapsed
23744
23745 \begin_layout Standard
23746 \align center
23747 Box height set to 1\InsetSpace \thinspace{}
23748 Width
23749 \end_layout
23750
23751 \end_inset
23752
23753
23754 \end_layout
23755
23756 \begin_layout Standard
23757 \begin_inset VSpace bigskip
23758 \end_inset
23759
23760 When you have chosen an 
23761 \family sans
23762 Inner\InsetSpace ~
23763 Box
23764 \family default
23765 , the vertical box alignment can be:
23766 \end_layout
23767
23768 \begin_layout Description
23769 Top This is an example text line.
23770  
23771 \begin_inset Box Boxed
23772 position "t"
23773 hor_pos "c"
23774 has_inner_box 1
23775 inner_pos "c"
23776 use_parbox 0
23777 width "12col%"
23778 special "none"
23779 height "1in"
23780 height_special "totalheight"
23781 status collapsed
23782
23783 \begin_layout Standard
23784 \align center
23785 This box is top-aligned.
23786 \end_layout
23787
23788 \end_inset
23789
23790 \InsetSpace ~
23791 This is an example text line.
23792 \end_layout
23793
23794 \begin_layout Description
23795 Middle This is an example text line.
23796  
23797 \begin_inset Box Boxed
23798 position "c"
23799 hor_pos "c"
23800 has_inner_box 1
23801 inner_pos "c"
23802 use_parbox 0
23803 width "12col%"
23804 special "none"
23805 height "1in"
23806 height_special "totalheight"
23807 status collapsed
23808
23809 \begin_layout Standard
23810 \align center
23811 This box is middle-aligned.
23812 \end_layout
23813
23814 \end_inset
23815
23816 \InsetSpace ~
23817 This is an example text line.
23818 \end_layout
23819
23820 \begin_layout Description
23821 Bottom This is an example text line.
23822  
23823 \begin_inset Box Boxed
23824 position "b"
23825 hor_pos "c"
23826 has_inner_box 1
23827 inner_pos "c"
23828 use_parbox 0
23829 width "12col%"
23830 special "none"
23831 height "1in"
23832 height_special "totalheight"
23833 status collapsed
23834
23835 \begin_layout Standard
23836 \align center
23837 This box is bottom-aligned.
23838 \end_layout
23839
23840 \end_inset
23841
23842 \InsetSpace ~
23843 This is an example text line.
23844 \end_layout
23845
23846 \begin_layout Standard
23847 The horizontal box alignment can be set via LyX's paragraph dialog when
23848  you set the box into its own paragraph.
23849 \end_layout
23850
23851 \begin_layout Standard
23852 \begin_inset VSpace bigskip
23853 \end_inset
23854
23855 When you have chosen an 
23856 \family sans
23857 Inner\InsetSpace ~
23858 Box
23859 \family default
23860 , the box content can be vertical aligned to:
23861 \end_layout
23862
23863 \begin_layout Description
23864 top This is an example text line.
23865  
23866 \begin_inset Box Boxed
23867 position "c"
23868 hor_pos "c"
23869 has_inner_box 1
23870 inner_pos "t"
23871 use_parbox 0
23872 width "12col%"
23873 special "none"
23874 height "1.5in"
23875 height_special "totalheight"
23876 status collapsed
23877
23878 \begin_layout Standard
23879 \align center
23880 This box text is top-aligned.
23881 \end_layout
23882
23883 \end_inset
23884
23885 \InsetSpace ~
23886 This is an example text line.
23887 \end_layout
23888
23889 \begin_layout Description
23890 middle This is an example text line.
23891  
23892 \begin_inset Box Boxed
23893 position "c"
23894 hor_pos "c"
23895 has_inner_box 1
23896 inner_pos "c"
23897 use_parbox 0
23898 width "12col%"
23899 special "none"
23900 height "1.5in"
23901 height_special "totalheight"
23902 status collapsed
23903
23904 \begin_layout Standard
23905 \align center
23906 This box text is middle-aligned.
23907 \end_layout
23908
23909 \end_inset
23910
23911 \InsetSpace ~
23912 This is an example text line.
23913 \end_layout
23914
23915 \begin_layout Description
23916 bottom This is an example text line.
23917  
23918 \begin_inset Box Boxed
23919 position "c"
23920 hor_pos "c"
23921 has_inner_box 1
23922 inner_pos "b"
23923 use_parbox 0
23924 width "12col%"
23925 special "none"
23926 height "1.5in"
23927 height_special "totalheight"
23928 status collapsed
23929
23930 \begin_layout Standard
23931 \align center
23932 This box text is bottom-aligned.
23933 \end_layout
23934
23935 \end_inset
23936
23937 \InsetSpace ~
23938 This is an example text line.
23939 \end_layout
23940
23941 \begin_layout Description
23942 stretch This is an example text line.
23943  
23944 \begin_inset Box Boxed
23945 position "c"
23946 hor_pos "c"
23947 has_inner_box 1
23948 inner_pos "s"
23949 use_parbox 0
23950 width "12col%"
23951 special "none"
23952 height "1.5in"
23953 height_special "totalheight"
23954 status collapsed
23955
23956 \begin_layout Standard
23957 \align center
23958 This box
23959 \end_layout
23960
23961 \begin_layout Standard
23962 \align center
23963 text is
23964 \end_layout
23965
23966 \begin_layout Standard
23967 \align center
23968 stretched.
23969 \end_layout
23970
23971 \end_inset
23972
23973 \InsetSpace ~
23974 This is an example text line.
23975 \end_layout
23976
23977 \begin_layout Standard
23978 To stretch the box content, it must consist of more than one paragraph.
23979  In the example above every text line is in an own paragraph.
23980 \end_layout
23981
23982 \begin_layout Standard
23983 \begin_inset VSpace bigskip
23984 \end_inset
23985
23986 To align the box content horizontally you can use LyX's paragraph dialog
23987  when you have chosen an 
23988 \family sans
23989 Inner\InsetSpace ~
23990 Box
23991 \family default
23992 .
23993 \end_layout
23994
23995 \begin_layout Standard
23996 \align center
23997 \begin_inset Box Boxed
23998 position "c"
23999 hor_pos "c"
24000 has_inner_box 1
24001 inner_pos "s"
24002 use_parbox 0
24003 width "15col%"
24004 special "none"
24005 height "1.25in"
24006 height_special "totalheight"
24007 status collapsed
24008
24009 \begin_layout Standard
24010 \align left
24011 This box
24012 \end_layout
24013
24014 \begin_layout Standard
24015 \align center
24016 text is
24017 \end_layout
24018
24019 \begin_layout Standard
24020 \align right
24021 stretched.
24022 \end_layout
24023
24024 \end_inset
24025
24026
24027 \end_layout
24028
24029 \begin_layout Standard
24030 If you haven't set an 
24031 \family sans
24032 Inner\InsetSpace ~
24033 Box
24034 \family default
24035 , you can align the box content horizontally in the box dialog.
24036 \end_layout
24037
24038 \begin_layout Standard
24039 \align center
24040 \begin_inset Box Boxed
24041 position "c"
24042 hor_pos "s"
24043 has_inner_box 0
24044 inner_pos "s"
24045 use_parbox 0
24046 width "90col%"
24047 special "none"
24048 height "1.25in"
24049 height_special "totalheight"
24050 status collapsed
24051
24052 \begin_layout Standard
24053 \align left
24054 This box text is horizontally stretched.
24055 \end_layout
24056
24057 \end_inset
24058
24059
24060 \end_layout
24061
24062 \begin_layout Section
24063 Framed Boxes
24064 \begin_inset LatexCommand label
24065 name "sec:Framed-Boxes"
24066
24067 \end_inset
24068
24069
24070 \begin_inset LatexCommand index
24071 name "Boxes ! Frames"
24072
24073 \end_inset
24074
24075
24076 \end_layout
24077
24078 \begin_layout Standard
24079 The frame style of the box can be specified in the box-dialog in the drop-down
24080  list 
24081 \family sans
24082 Type
24083 \family default
24084 .
24085  The following frame types are possible:
24086 \end_layout
24087
24088 \begin_layout Description
24089 Rectangular\InsetSpace ~
24090 box This draws a rectangle frame around the box.
24091  The frame line thickness has the size of 
24092 \series bold
24093
24094 \backslash
24095 fboxrule
24096 \series default
24097 .
24098  
24099 \begin_inset Box Boxed
24100 position "c"
24101 hor_pos "c"
24102 has_inner_box 1
24103 inner_pos "c"
24104 use_parbox 0
24105 width "20col%"
24106 special "none"
24107 height "1in"
24108 height_special "totalheight"
24109 status collapsed
24110
24111 \begin_layout Standard
24112 \align center
24113 Rectangular box
24114 \end_layout
24115
24116 \end_inset
24117
24118
24119 \end_layout
24120
24121 \begin_layout Description
24122 Oval\InsetSpace ~
24123 box,\InsetSpace ~
24124 thin This draws an oval frame around the box.
24125  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24126 pt.
24127  
24128 \begin_inset Box ovalbox
24129 position "c"
24130 hor_pos "c"
24131 has_inner_box 1
24132 inner_pos "c"
24133 use_parbox 0
24134 width "20col%"
24135 special "none"
24136 height "1in"
24137 height_special "totalheight"
24138 status collapsed
24139
24140 \begin_layout Standard
24141 \align center
24142 Oval box, thin
24143 \end_layout
24144
24145 \end_inset
24146
24147
24148 \end_layout
24149
24150 \begin_layout Description
24151 Oval\InsetSpace ~
24152 box,\InsetSpace ~
24153 thick This draws an oval frame around the box.
24154  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24155 pt.
24156  
24157 \begin_inset Box Ovalbox
24158 position "c"
24159 hor_pos "c"
24160 has_inner_box 1
24161 inner_pos "c"
24162 use_parbox 0
24163 width "20col%"
24164 special "none"
24165 height "1in"
24166 height_special "totalheight"
24167 status collapsed
24168
24169 \begin_layout Standard
24170 \align center
24171 Oval box, thick
24172 \end_layout
24173
24174 \end_inset
24175
24176
24177 \end_layout
24178
24179 \begin_layout Description
24180 Shadow\InsetSpace ~
24181 box This draws a rectangle frame with a shadow around the box.
24182  The frame line thickness has the size of 
24183 \series bold
24184
24185 \backslash
24186 fboxrule
24187 \series default
24188 , the shadow has a width of 4\InsetSpace \thinspace{}
24189 pt.
24190  
24191 \begin_inset Box Shadowbox
24192 position "c"
24193 hor_pos "c"
24194 has_inner_box 1
24195 inner_pos "c"
24196 use_parbox 0
24197 width "20col%"
24198 special "none"
24199 height "1in"
24200 height_special "totalheight"
24201 status collapsed
24202
24203 \begin_layout Standard
24204 \align center
24205 Shadow box
24206 \end_layout
24207
24208 \end_inset
24209
24210
24211 \end_layout
24212
24213 \begin_layout Description
24214 Double\InsetSpace ~
24215 box This draws a double-line rectangle frame around the box.
24216  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24217
24218 \series bold
24219
24220 \backslash
24221 fboxrule
24222 \series default
24223 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24224
24225 \series bold
24226
24227 \backslash
24228 fboxrule
24229 \series default
24230 .
24231  The distance between the lines is 1.5\InsetSpace \thinspace{}
24232
24233 \series bold
24234
24235 \backslash
24236 fboxrule
24237 \series default
24238 \InsetSpace \thinspace{}
24239 +\InsetSpace \thinspace{}
24240 0.5\InsetSpace \thinspace{}
24241 pt.
24242  
24243 \begin_inset Box Doublebox
24244 position "c"
24245 hor_pos "c"
24246 has_inner_box 1
24247 inner_pos "c"
24248 use_parbox 0
24249 width "20col%"
24250 special "none"
24251 height "1in"
24252 height_special "totalheight"
24253 status collapsed
24254
24255 \begin_layout Standard
24256 \align center
24257 Double box
24258 \end_layout
24259
24260 \end_inset
24261
24262
24263 \end_layout
24264
24265 \begin_layout Standard
24266 \begin_inset VSpace bigskip
24267 \end_inset
24268
24269 LyX's box label will change to the used frame style when you set a frame.
24270  To be able to use the different frame styles, the LaTeX-package 
24271 \series bold
24272 fancybox
24273 \series default
24274
24275 \begin_inset LatexCommand index
24276 name "LaTeX-packages ! fancybox"
24277
24278 \end_inset
24279
24280  must be installed.
24281 \end_layout
24282
24283 \begin_layout Standard
24284 \begin_inset VSpace bigskip
24285 \end_inset
24286
24287 The default value for the size 
24288 \series bold
24289
24290 \backslash
24291 fboxrule
24292 \series default
24293  is 0.4\InsetSpace \thinspace{}
24294 pt.
24295  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24296 g.\InsetSpace ~
24297 2\InsetSpace \thinspace{}
24298 pt:
24299 \end_layout
24300
24301 \begin_layout Standard
24302
24303 \series bold
24304
24305 \backslash
24306 setlength{
24307 \backslash
24308 fboxrule}{2pt}
24309 \end_layout
24310
24311 \begin_layout Standard
24312 \begin_inset ERT
24313 status collapsed
24314
24315 \begin_layout Standard
24316
24317
24318 \backslash
24319 setlength{
24320 \backslash
24321 fboxrule}{2pt}
24322 \end_layout
24323
24324 \end_inset
24325
24326
24327 \begin_inset Box Boxed
24328 position "c"
24329 hor_pos "c"
24330 has_inner_box 1
24331 inner_pos "c"
24332 use_parbox 0
24333 width "25col%"
24334 special "none"
24335 height "1in"
24336 height_special "totalheight"
24337 status collapsed
24338
24339 \begin_layout Standard
24340 \align center
24341 Rectangular box with 
24342 \series bold
24343
24344 \backslash
24345 fboxrule
24346 \series default
24347 \InsetSpace \thinspace{}
24348 =\InsetSpace \thinspace{}
24349 2\InsetSpace \thinspace{}
24350 pt
24351 \end_layout
24352
24353 \end_inset
24354
24355
24356 \begin_inset ERT
24357 status collapsed
24358
24359 \begin_layout Standard
24360
24361
24362 \backslash
24363 setlength{
24364 \backslash
24365 fboxrule}{0.4pt}
24366 \end_layout
24367
24368 \end_inset
24369
24370
24371 \end_layout
24372
24373 \begin_layout Standard
24374 \begin_inset VSpace bigskip
24375 \end_inset
24376
24377 The space between the frame and the box content is for all frame styles
24378  by default 3\InsetSpace \thinspace{}
24379 pt.
24380  You can change it by setting the length 
24381 \series bold
24382
24383 \backslash
24384 fboxsep
24385 \series default
24386  to another value.
24387  For example the command
24388 \end_layout
24389
24390 \begin_layout Standard
24391
24392 \series bold
24393
24394 \backslash
24395 setlength{
24396 \backslash
24397 fboxsep}{10pt}
24398 \end_layout
24399
24400 \begin_layout Standard
24401 sets the value to 10\InsetSpace \thinspace{}
24402 pt, like for the following box:
24403 \end_layout
24404
24405 \begin_layout Standard
24406 \begin_inset ERT
24407 status collapsed
24408
24409 \begin_layout Standard
24410
24411
24412 \backslash
24413 setlength{
24414 \backslash
24415 fboxsep}{10pt}
24416 \end_layout
24417
24418 \end_inset
24419
24420
24421 \begin_inset Box Boxed
24422 position "c"
24423 hor_pos "c"
24424 has_inner_box 1
24425 inner_pos "c"
24426 use_parbox 0
24427 width "25col%"
24428 special "none"
24429 height "1in"
24430 height_special "totalheight"
24431 status collapsed
24432
24433 \begin_layout Standard
24434 \align center
24435 Rectangular box with 
24436 \series bold
24437
24438 \backslash
24439 fboxsep
24440 \series default
24441 \InsetSpace \thinspace{}
24442 =\InsetSpace \thinspace{}
24443 10\InsetSpace \thinspace{}
24444 pt
24445 \end_layout
24446
24447 \end_inset
24448
24449
24450 \begin_inset ERT
24451 status collapsed
24452
24453 \begin_layout Standard
24454
24455
24456 \backslash
24457 setlength{
24458 \backslash
24459 fboxsep}{3pt}
24460 \end_layout
24461
24462 \end_inset
24463
24464
24465 \end_layout
24466
24467 \begin_layout Standard
24468 \begin_inset VSpace bigskip
24469 \end_inset
24470
24471 The diameter of the round corners of the oval boxes can be set with the
24472  command 
24473 \series bold
24474
24475 \backslash
24476 cornersize
24477 \series default
24478 .
24479  The command
24480 \end_layout
24481
24482 \begin_layout Standard
24483
24484 \series bold
24485
24486 \backslash
24487 cornersize*{1cm}
24488 \end_layout
24489
24490 \begin_layout Standard
24491 sets the diameter to 1\InsetSpace \thinspace{}
24492 cm.
24493  The command
24494 \end_layout
24495
24496 \begin_layout Standard
24497
24498 \series bold
24499
24500 \backslash
24501 cornersize{num}
24502 \end_layout
24503
24504 \begin_layout Standard
24505 sets the diameter to 
24506 \family sans
24507 num\InsetSpace \thinspace{}
24508 ×\InsetSpace \thinspace{}
24509 minimum(width and heigth of box)
24510 \family default
24511 .
24512  The default is 
24513 \series bold
24514
24515 \backslash
24516 cornersize{0.5}
24517 \series default
24518 .
24519 \end_layout
24520
24521 \begin_layout Standard
24522 \begin_inset ERT
24523 status collapsed
24524
24525 \begin_layout Standard
24526
24527
24528 \backslash
24529 cornersize*{1.5cm}
24530 \end_layout
24531
24532 \end_inset
24533
24534
24535 \begin_inset Box Ovalbox
24536 position "c"
24537 hor_pos "c"
24538 has_inner_box 1
24539 inner_pos "c"
24540 use_parbox 0
24541 width "25col%"
24542 special "none"
24543 height "1in"
24544 height_special "totalheight"
24545 status collapsed
24546
24547 \begin_layout Standard
24548 \align center
24549 Oval box with 
24550 \series bold
24551
24552 \backslash
24553 cornersize
24554 \series default
24555 \InsetSpace \thinspace{}
24556 =\InsetSpace \thinspace{}
24557 1.5\InsetSpace \thinspace{}
24558 cm
24559 \end_layout
24560
24561 \end_inset
24562
24563
24564 \begin_inset ERT
24565 status collapsed
24566
24567 \begin_layout Standard
24568
24569
24570 \backslash
24571 cornersize{0.5}
24572 \end_layout
24573
24574 \end_inset
24575
24576
24577 \end_layout
24578
24579 \begin_layout Standard
24580 \begin_inset VSpace bigskip
24581 \end_inset
24582
24583 The size of the shadow can be adjusted by changing the length 
24584 \series bold
24585
24586 \backslash
24587 shadowsize
24588 \series default
24589 .
24590  It it set to 2\InsetSpace \thinspace{}
24591 pt for the following box by this command:
24592 \end_layout
24593
24594 \begin_layout Standard
24595
24596 \series bold
24597
24598 \backslash
24599 setlength{
24600 \backslash
24601 shadowsize}{2pt}
24602 \end_layout
24603
24604 \begin_layout Standard
24605 \begin_inset ERT
24606 status collapsed
24607
24608 \begin_layout Standard
24609
24610
24611 \backslash
24612 setlength{
24613 \backslash
24614 shadowsize}{2pt}
24615 \end_layout
24616
24617 \end_inset
24618
24619
24620 \begin_inset Box Shadowbox
24621 position "c"
24622 hor_pos "c"
24623 has_inner_box 1
24624 inner_pos "c"
24625 use_parbox 0
24626 width "25col%"
24627 special "none"
24628 height "1in"
24629 height_special "totalheight"
24630 status collapsed
24631
24632 \begin_layout Standard
24633 \align center
24634 Shadow box with 
24635 \series bold
24636
24637 \backslash
24638 shadowsize
24639 \series default
24640 \InsetSpace \thinspace{}
24641 =\InsetSpace \thinspace{}
24642 2\InsetSpace \thinspace{}
24643 pt
24644 \end_layout
24645
24646 \end_inset
24647
24648
24649 \begin_inset ERT
24650 status collapsed
24651
24652 \begin_layout Standard
24653
24654
24655 \backslash
24656 setlength{
24657 \backslash
24658 shadowsize}{4pt}
24659 \end_layout
24660
24661 \end_inset
24662
24663
24664 \end_layout
24665
24666 \begin_layout Standard
24667 \begin_inset VSpace bigskip
24668 \end_inset
24669
24670 Changed lengths and widths are valid for all boxes following the commands
24671  that change them.
24672 \end_layout
24673
24674 \begin_layout Section
24675 Minipages
24676 \begin_inset LatexCommand label
24677 name "sec:Minipages"
24678
24679 \end_inset
24680
24681
24682 \begin_inset LatexCommand index
24683 name "Boxes ! Minipages"
24684
24685 \end_inset
24686
24687
24688 \end_layout
24689
24690 \begin_layout Standard
24691 Minipages are treated by LaTeX as pages within pages and can therefore for
24692  example have their own footnotes.
24693 \end_layout
24694
24695 \begin_layout Standard
24696 Minipages are useful when you write documents with different languages.
24697 \end_layout
24698
24699 \begin_layout Standard
24700 Below are two example minipages side by side.
24701  Their width is set to 45\InsetSpace \thinspace{}
24702 col% and they are separated by a horizontal fill,
24703  that was inserted via the menu 
24704 \family sans
24705 Insert\SpecialChar \menuseparator
24706 Special\InsetSpace ~
24707 Formatting\SpecialChar \menuseparator
24708 Horizontal\InsetSpace ~
24709 Fill
24710 \family default
24711 .
24712 \end_layout
24713
24714 \begin_layout Standard
24715 \begin_inset Box Frameless
24716 position "t"
24717 hor_pos "c"
24718 has_inner_box 1
24719 inner_pos "c"
24720 use_parbox 0
24721 width "45col%"
24722 special "none"
24723 height "1in"
24724 height_special "totalheight"
24725 status open
24726
24727 \begin_layout Standard
24728
24729 \lang german
24730 Dies ist ein deutscher Text.
24731  Dies ist ein deutscher Text.
24732  Dies ist ein deutscher Text.
24733  Dies ist ein deutscher Text.
24734  Dies ist ein deutscher Text.
24735  Dies ist ein deutscher Text.
24736  Dies ist ein deutscher Text.
24737  Dies ist ein deutscher Text.
24738  Dies ist ein deutscher Text.
24739  Dies ist ein deutscher Text.
24740  Dies ist ein deutscher Text.
24741  Dies ist ein deutscher Text.
24742  Dies ist ein deutscher Text
24743 \begin_inset Foot
24744 status collapsed
24745
24746 \begin_layout Standard
24747
24748 \lang german
24749 Dies ist eine deutsche Fußnote.
24750 \end_layout
24751
24752 \end_inset
24753
24754 .
24755  Dies ist ein deutscher Text.
24756  Dies ist ein deutscher Text.
24757 \end_layout
24758
24759 \end_inset
24760
24761
24762 \hfill
24763
24764 \begin_inset Box Frameless
24765 position "t"
24766 hor_pos "c"
24767 has_inner_box 1
24768 inner_pos "c"
24769 use_parbox 0
24770 width "45col%"
24771 special "none"
24772 height "1in"
24773 height_special "totalheight"
24774 status open
24775
24776 \begin_layout Standard
24777 This is an English Text.
24778  This is an English Text.
24779  This is an English Text.
24780  This is an English Text.
24781  This is an English Text.
24782  This is an English Text.
24783  This is an English Text.
24784  This is an English Text.
24785  This is an English Text.
24786  This is an English Text.
24787  This is an English Text.
24788  This is an English Text.
24789  This is an English Text.
24790  This is an English Text.
24791  This is an English Text.
24792  This is an English Text.
24793 \begin_inset Foot
24794 status collapsed
24795
24796 \begin_layout Standard
24797 This is an English footnote.
24798 \end_layout
24799
24800 \end_inset
24801
24802  This is an English Text.
24803  
24804 \end_layout
24805
24806 \end_inset
24807
24808
24809 \end_layout
24810
24811 \begin_layout Standard
24812 \begin_inset VSpace bigskip
24813 \end_inset
24814
24815 Another application for minipages are footnotes within tables.
24816  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24817  bottom of the current page.
24818  But when you put the table with the footnote to a minipage, the footnote
24819  will appear at its bottom, numbered with Latin letters.
24820  The footnote number is reset to 1 in every minipage but not outside the
24821  minipages.
24822 \end_layout
24823
24824 \begin_layout Standard
24825 The footnote of this table doesn't appear: 
24826 \begin_inset Tabular
24827 <lyxtabular version="3" rows="3" columns="4">
24828 <features>
24829 <column alignment="center" valignment="top" leftline="true" width="0pt">
24830 <column alignment="center" valignment="top" leftline="true" width="0pt">
24831 <column alignment="center" valignment="top" leftline="true" width="0pt">
24832 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24833 <row topline="true">
24834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24835 \begin_inset Text
24836
24837 \begin_layout Standard
24838 1
24839 \end_layout
24840
24841 \end_inset
24842 </cell>
24843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24844 \begin_inset Text
24845
24846 \begin_layout Standard
24847 2
24848 \end_layout
24849
24850 \end_inset
24851 </cell>
24852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24853 \begin_inset Text
24854
24855 \begin_layout Standard
24856 3
24857 \begin_inset Foot
24858 status collapsed
24859
24860 \begin_layout Standard
24861 This is a footnote within a table.
24862 \end_layout
24863
24864 \end_inset
24865
24866
24867 \end_layout
24868
24869 \end_inset
24870 </cell>
24871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24872 \begin_inset Text
24873
24874 \begin_layout Standard
24875 4
24876 \end_layout
24877
24878 \end_inset
24879 </cell>
24880 </row>
24881 <row topline="true">
24882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24883 \begin_inset Text
24884
24885 \begin_layout Standard
24886 a
24887 \end_layout
24888
24889 \end_inset
24890 </cell>
24891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24892 \begin_inset Text
24893
24894 \begin_layout Standard
24895 b
24896 \end_layout
24897
24898 \end_inset
24899 </cell>
24900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24901 \begin_inset Text
24902
24903 \begin_layout Standard
24904 c
24905 \end_layout
24906
24907 \end_inset
24908 </cell>
24909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24910 \begin_inset Text
24911
24912 \begin_layout Standard
24913 d
24914 \end_layout
24915
24916 \end_inset
24917 </cell>
24918 </row>
24919 <row topline="true" bottomline="true">
24920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24921 \begin_inset Text
24922
24923 \begin_layout Standard
24924 e
24925 \end_layout
24926
24927 \end_inset
24928 </cell>
24929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24930 \begin_inset Text
24931
24932 \begin_layout Standard
24933 f
24934 \end_layout
24935
24936 \end_inset
24937 </cell>
24938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24939 \begin_inset Text
24940
24941 \begin_layout Standard
24942 g
24943 \end_layout
24944
24945 \end_inset
24946 </cell>
24947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24948 \begin_inset Text
24949
24950 \begin_layout Standard
24951 h
24952 \end_layout
24953
24954 \end_inset
24955 </cell>
24956 </row>
24957 </lyxtabular>
24958
24959 \end_inset
24960
24961
24962 \end_layout
24963
24964 \begin_layout Standard
24965 \align center
24966 \begin_inset Box Frameless
24967 position "t"
24968 hor_pos "c"
24969 has_inner_box 1
24970 inner_pos "c"
24971 use_parbox 0
24972 width "30col%"
24973 special "none"
24974 height "1in"
24975 height_special "totalheight"
24976 status open
24977
24978 \begin_layout Standard
24979 \align center
24980 \begin_inset Tabular
24981 <lyxtabular version="3" rows="3" columns="4">
24982 <features>
24983 <column alignment="center" valignment="top" leftline="true" width="0pt">
24984 <column alignment="center" valignment="top" leftline="true" width="0pt">
24985 <column alignment="center" valignment="top" leftline="true" width="0pt">
24986 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24987 <row topline="true">
24988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24989 \begin_inset Text
24990
24991 \begin_layout Standard
24992 1
24993 \end_layout
24994
24995 \end_inset
24996 </cell>
24997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24998 \begin_inset Text
24999
25000 \begin_layout Standard
25001 2
25002 \end_layout
25003
25004 \end_inset
25005 </cell>
25006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25007 \begin_inset Text
25008
25009 \begin_layout Standard
25010 3
25011 \begin_inset Foot
25012 status collapsed
25013
25014 \begin_layout Standard
25015 This is a footnote within a table.
25016 \end_layout
25017
25018 \end_inset
25019
25020
25021 \end_layout
25022
25023 \end_inset
25024 </cell>
25025 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25026 \begin_inset Text
25027
25028 \begin_layout Standard
25029 4
25030 \end_layout
25031
25032 \end_inset
25033 </cell>
25034 </row>
25035 <row topline="true">
25036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25037 \begin_inset Text
25038
25039 \begin_layout Standard
25040 a
25041 \end_layout
25042
25043 \end_inset
25044 </cell>
25045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25046 \begin_inset Text
25047
25048 \begin_layout Standard
25049 b
25050 \end_layout
25051
25052 \end_inset
25053 </cell>
25054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25055 \begin_inset Text
25056
25057 \begin_layout Standard
25058 c
25059 \end_layout
25060
25061 \end_inset
25062 </cell>
25063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25064 \begin_inset Text
25065
25066 \begin_layout Standard
25067 d
25068 \end_layout
25069
25070 \end_inset
25071 </cell>
25072 </row>
25073 <row topline="true" bottomline="true">
25074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25075 \begin_inset Text
25076
25077 \begin_layout Standard
25078 e
25079 \end_layout
25080
25081 \end_inset
25082 </cell>
25083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25084 \begin_inset Text
25085
25086 \begin_layout Standard
25087 f
25088 \end_layout
25089
25090 \end_inset
25091 </cell>
25092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25093 \begin_inset Text
25094
25095 \begin_layout Standard
25096 g
25097 \end_layout
25098
25099 \end_inset
25100 </cell>
25101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25102 \begin_inset Text
25103
25104 \begin_layout Standard
25105 h
25106 \end_layout
25107
25108 \end_inset
25109 </cell>
25110 </row>
25111 </lyxtabular>
25112
25113 \end_inset
25114
25115
25116 \end_layout
25117
25118 \end_inset
25119
25120
25121 \end_layout
25122
25123 \begin_layout Standard
25124 \begin_inset VSpace bigskip
25125 \end_inset
25126
25127 The document-wide paragraph settings are ignored within minipages.
25128  That means that there will be no space between paragraphs in minipages
25129  although you set it to e.\InsetSpace \thinspace{}
25130 g.\InsetSpace ~
25131
25132 \family sans
25133 MedSkip
25134 \family default
25135  in the document settings.
25136 \end_layout
25137
25138 \begin_layout Standard
25139 Minipages can also be used to set a background color for text parts, see
25140  section\InsetSpace ~
25141
25142 \begin_inset LatexCommand ref
25143 reference "sub:Color-for-Paragraphs"
25144
25145 \end_inset
25146
25147 .
25148 \end_layout
25149
25150 \begin_layout Standard
25151 \begin_inset Note Greyedout
25152 status open
25153
25154 \begin_layout Standard
25155
25156 \series bold
25157 Note:
25158 \series default
25159  You cannot have floats or margin notes inside minipages but minipages can
25160  be used inside tables, floats, and other boxes.
25161 \end_layout
25162
25163 \end_inset
25164
25165
25166 \end_layout
25167
25168 \begin_layout Section
25169 Parboxes
25170 \begin_inset LatexCommand label
25171 name "sec:Parboxes"
25172
25173 \end_inset
25174
25175
25176 \begin_inset LatexCommand index
25177 name "Boxes ! Parboxes"
25178
25179 \end_inset
25180
25181
25182 \end_layout
25183
25184 \begin_layout Standard
25185 Parboxes are very similar to minipages with the difference that they cannot
25186  have footnotes.
25187  The main difference to minipages is that minipages are in contrary to parboxes
25188  no real boxes but LaTeX-environments.
25189 \end_layout
25190
25191 \begin_layout Standard
25192 \align center
25193 \begin_inset Box Frameless
25194 position "t"
25195 hor_pos "c"
25196 has_inner_box 1
25197 inner_pos "t"
25198 use_parbox 1
25199 width "33col%"
25200 special "none"
25201 height "1in"
25202 height_special "totalheight"
25203 status collapsed
25204
25205 \begin_layout Standard
25206 This a text within a parbox.
25207  This a text within a parbox.
25208 \end_layout
25209
25210 \begin_layout Standard
25211 This footnote won't appear:
25212 \begin_inset Foot
25213 status collapsed
25214
25215 \begin_layout Standard
25216 This footnote is inside a parbox and will therefore not appear.
25217 \end_layout
25218
25219 \end_inset
25220
25221
25222 \end_layout
25223
25224 \end_inset
25225
25226
25227 \end_layout
25228
25229 \begin_layout Section
25230 Boxes for Words and Characters
25231 \begin_inset LatexCommand index
25232 name "Boxes ! for Characters"
25233
25234 \end_inset
25235
25236
25237 \end_layout
25238
25239 \begin_layout Subsection
25240 Prevent Hyphenation
25241 \begin_inset LatexCommand label
25242 name "sec:Prevent-Hyphenation"
25243
25244 \end_inset
25245
25246
25247 \begin_inset LatexCommand index
25248 name "Boxes ! to Prevent Hyphenation"
25249
25250 \end_inset
25251
25252
25253 \end_layout
25254
25255 \begin_layout Standard
25256 You can use a special kind of boxes to prevent words or text to be hyphenated.
25257 \newline
25258 Her
25259 e is an example text:
25260 \end_layout
25261
25262 \begin_layout Standard
25263 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25264 g.\InsetSpace ~
25265 veryver
25266 ylongwords.
25267 \end_layout
25268
25269 \begin_layout Standard
25270 To prevent the hyphenation of the word 
25271 \begin_inset Quotes eld
25272 \end_inset
25273
25274 veryverylongwords
25275 \begin_inset Quotes erd
25276 \end_inset
25277
25278 , add the command
25279 \end_layout
25280
25281 \begin_layout Standard
25282
25283 \series bold
25284
25285 \backslash
25286 mbox{
25287 \end_layout
25288
25289 \begin_layout Standard
25290 in ERT before the word.
25291  Behind the word insert a closing brace 
25292 \begin_inset Quotes eld
25293 \end_inset
25294
25295
25296 \series bold
25297 }
25298 \series default
25299
25300 \begin_inset Quotes erd
25301 \end_inset
25302
25303  in ERT.
25304 \begin_inset ERT
25305 status collapsed
25306
25307 \begin_layout Standard
25308
25309
25310 \backslash
25311 pagebreak 
25312 \end_layout
25313
25314 \end_inset
25315
25316
25317 \end_layout
25318
25319 \begin_layout Standard
25320 This is the result:
25321 \end_layout
25322
25323 \begin_layout Standard
25324 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25325 g.\InsetSpace ~
25326
25327 \begin_inset ERT
25328 status collapsed
25329
25330 \begin_layout Standard
25331
25332
25333 \backslash
25334 mbox{
25335 \end_layout
25336
25337 \end_inset
25338
25339 veryverylongwords.
25340 \begin_inset ERT
25341 status collapsed
25342
25343 \begin_layout Standard
25344
25345 }
25346 \end_layout
25347
25348 \end_inset
25349
25350
25351 \end_layout
25352
25353 \begin_layout Standard
25354 Of course the word now protrudes over the side margin.
25355  To avoid this, add via the menu 
25356 \family sans
25357 Insert\SpecialChar \menuseparator
25358 Special\InsetSpace ~
25359 Formatting\SpecialChar \menuseparator
25360 Line\InsetSpace ~
25361 Break
25362 \family default
25363  (shortcut 
25364 \series bold
25365 Ctrl-Return
25366 \series default
25367 ) a line break before the word:
25368 \end_layout
25369
25370 \begin_layout Standard
25371 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25372 g.\InsetSpace ~
25373
25374 \newline
25375
25376 \begin_inset ERT
25377 status collapsed
25378
25379 \begin_layout Standard
25380
25381
25382 \backslash
25383 mbox{
25384 \end_layout
25385
25386 \end_inset
25387
25388 veryverylongwords.
25389 \begin_inset ERT
25390 status collapsed
25391
25392 \begin_layout Standard
25393
25394 }
25395 \end_layout
25396
25397 \end_inset
25398
25399
25400 \end_layout
25401
25402 \begin_layout Subsection
25403 Vertical Alignment
25404 \begin_inset LatexCommand label
25405 name "sub:Vertical-Alignment"
25406
25407 \end_inset
25408
25409
25410 \begin_inset LatexCommand index
25411 name "Boxes ! for Vertical Alignment"
25412
25413 \end_inset
25414
25415
25416 \begin_inset LatexCommand index
25417 name "Boxes ! Raiseboxes"
25418
25419 \end_inset
25420
25421
25422 \end_layout
25423
25424 \begin_layout Standard
25425 With the help of the command 
25426 \series bold
25427
25428 \backslash
25429 raisebox
25430 \series default
25431  you can align words, characters or other boxes vertically to the surrounding
25432  text.
25433  
25434 \series bold
25435
25436 \backslash
25437 raisebox
25438 \series default
25439  is used with the following scheme:
25440 \end_layout
25441
25442 \begin_layout Standard
25443
25444 \series bold
25445
25446 \backslash
25447 raisebox{lift}[height][depth]{box content}
25448 \end_layout
25449
25450 \begin_layout Standard
25451 The lift can be a positive value to raise the box or a negative value to
25452  lower the box.
25453 \end_layout
25454
25455 \begin_layout Standard
25456 To align for example the word 
25457 \begin_inset Quotes eld
25458 \end_inset
25459
25460 preventing
25461 \begin_inset Quotes erd
25462 \end_inset
25463
25464  so that the bottom of the 
25465 \begin_inset Quotes eld
25466 \end_inset
25467
25468 deepest
25469 \begin_inset Quotes erd
25470 \end_inset
25471
25472  character 
25473 \begin_inset Quotes eld
25474 \end_inset
25475
25476 p
25477 \begin_inset Quotes erd
25478 \end_inset
25479
25480  is at the baseline, insert the command
25481 \end_layout
25482
25483 \begin_layout Standard
25484
25485 \series bold
25486
25487 \backslash
25488 raisebox{
25489 \backslash
25490 depth}{
25491 \end_layout
25492
25493 \begin_layout Standard
25494 in ERT before the word.
25495  Behind the word insert a closing brace 
25496 \begin_inset Quotes eld
25497 \end_inset
25498
25499
25500 \series bold
25501 }
25502 \series default
25503
25504 \begin_inset Quotes erd
25505 \end_inset
25506
25507  in ERT.
25508 \newline
25509 This is the result:
25510 \end_layout
25511
25512 \begin_layout Standard
25513 This is a text line with the word 
25514 \begin_inset ERT
25515 status collapsed
25516
25517 \begin_layout Standard
25518
25519
25520 \backslash
25521 raisebox{
25522 \backslash
25523 depth}{
25524 \end_layout
25525
25526 \end_inset
25527
25528
25529 \begin_inset Quotes eld
25530 \end_inset
25531
25532 preventing
25533 \begin_inset Quotes erd
25534 \end_inset
25535
25536
25537 \begin_inset ERT
25538 status collapsed
25539
25540 \begin_layout Standard
25541
25542 }
25543 \end_layout
25544
25545 \end_inset
25546
25547  as raised word.
25548 \end_layout
25549
25550 \begin_layout Standard
25551 \begin_inset VSpace bigskip
25552 \end_inset
25553
25554 When you raise or lower characters in a line, the line distance will be
25555  spread:
25556 \end_layout
25557
25558 \begin_layout Standard
25559 This is a text line with the word 
25560 \begin_inset ERT
25561 status collapsed
25562
25563 \begin_layout Standard
25564
25565
25566 \backslash
25567 raisebox{-
25568 \backslash
25569 depth}{
25570 \end_layout
25571
25572 \end_inset
25573
25574
25575 \begin_inset Quotes eld
25576 \end_inset
25577
25578 preventing
25579 \begin_inset Quotes erd
25580 \end_inset
25581
25582
25583 \begin_inset ERT
25584 status collapsed
25585
25586 \begin_layout Standard
25587
25588 }
25589 \end_layout
25590
25591 \end_inset
25592
25593  as lowered word.
25594 \newline
25595 This is a text line with the word 
25596 \begin_inset ERT
25597 status collapsed
25598
25599 \begin_layout Standard
25600
25601
25602 \backslash
25603 raisebox{0.5cm}{
25604 \end_layout
25605
25606 \end_inset
25607
25608
25609 \begin_inset Quotes eld
25610 \end_inset
25611
25612 testing
25613 \begin_inset Quotes erd
25614 \end_inset
25615
25616
25617 \begin_inset ERT
25618 status collapsed
25619
25620 \begin_layout Standard
25621
25622 }
25623 \end_layout
25624
25625 \end_inset
25626
25627  as raised word.
25628 \end_layout
25629
25630 \begin_layout Standard
25631 If you want to prevent this for a certain reason, set the box height to
25632  a zero value.
25633  For example use
25634 \end_layout
25635
25636 \begin_layout Standard
25637
25638 \series bold
25639
25640 \backslash
25641 raisebox{-
25642 \backslash
25643 depth}[0pt]{
25644 \end_layout
25645
25646 \begin_layout Standard
25647 This is a text line with the word 
25648 \begin_inset ERT
25649 status collapsed
25650
25651 \begin_layout Standard
25652
25653
25654 \backslash
25655 raisebox{-
25656 \backslash
25657 depth}[0pt]{
25658 \end_layout
25659
25660 \end_inset
25661
25662
25663 \begin_inset Quotes eld
25664 \end_inset
25665
25666 preventing
25667 \begin_inset Quotes erd
25668 \end_inset
25669
25670
25671 \begin_inset ERT
25672 status collapsed
25673
25674 \begin_layout Standard
25675
25676 }
25677 \end_layout
25678
25679 \end_inset
25680
25681  as lowered word.
25682 \newline
25683 This is a text line with the word 
25684 \begin_inset ERT
25685 status collapsed
25686
25687 \begin_layout Standard
25688
25689
25690 \backslash
25691 raisebox{0.5cm}[0pt]{
25692 \end_layout
25693
25694 \end_inset
25695
25696
25697 \begin_inset Quotes eld
25698 \end_inset
25699
25700 testing
25701 \begin_inset Quotes erd
25702 \end_inset
25703
25704
25705 \begin_inset ERT
25706 status collapsed
25707
25708 \begin_layout Standard
25709
25710 }
25711 \end_layout
25712
25713 \end_inset
25714
25715  as raised word.
25716 \end_layout
25717
25718 \begin_layout Section
25719 Colored Boxes
25720 \begin_inset LatexCommand label
25721 name "sec:Colored-Boxes"
25722
25723 \end_inset
25724
25725
25726 \begin_inset LatexCommand index
25727 name "Boxes ! Color"
25728
25729 \end_inset
25730
25731
25732 \end_layout
25733
25734 \begin_layout Subsection
25735 Color for Text
25736 \begin_inset LatexCommand index
25737 name "Color ! for Text"
25738
25739 \end_inset
25740
25741
25742 \end_layout
25743
25744 \begin_layout Standard
25745 To color the background of text the text must be put into a so called colorbox.
25746  This requires that the LaTeX-package 
25747 \series bold
25748 color
25749 \series default
25750
25751 \begin_inset LatexCommand index
25752 name "LaTeX-packages ! color"
25753
25754 \end_inset
25755
25756  is loaded in the document preamble with the command
25757 \end_layout
25758
25759 \begin_layout Standard
25760
25761 \series bold
25762
25763 \backslash
25764 @ifundef\SpecialChar \textcompwordmark{}
25765 ined{textcolor}
25766 \newline
25767
25768 \begin_inset ERT
25769 status collapsed
25770
25771 \begin_layout Standard
25772
25773
25774 \backslash
25775 hphantom{ }
25776 \end_layout
25777
25778 \end_inset
25779
25780 {
25781 \backslash
25782 usepackage{color}}{}
25783 \end_layout
25784
25785 \begin_layout Standard
25786 The package 
25787 \series bold
25788 color
25789 \series default
25790  will be loaded automatically by LyX when you color text
25791 \begin_inset Foot
25792 status collapsed
25793
25794 \begin_layout Standard
25795 To avoid that it is loaded twice the command 
25796 \series bold
25797
25798 \backslash
25799 @ifundef\SpecialChar \textcompwordmark{}
25800 ined
25801 \series default
25802  is used.
25803 \end_layout
25804
25805 \end_inset
25806
25807 .
25808 \end_layout
25809
25810 \begin_layout Standard
25811 \begin_inset VSpace medskip
25812 \end_inset
25813
25814 Colorboxes are created with the command 
25815 \series bold
25816
25817 \backslash
25818 colorbox
25819 \series default
25820 .
25821  This will be used with the following scheme:
25822 \end_layout
25823
25824 \begin_layout Standard
25825
25826 \series bold
25827
25828 \backslash
25829 colorbox{color}{box content}
25830 \end_layout
25831
25832 \begin_layout Standard
25833 The box content can also be a box and colorboxes can also be within other
25834  boxes.
25835 \end_layout
25836
25837 \begin_layout Standard
25838 The following colors are predefined:
25839 \newline
25840
25841 \family sans
25842 black
25843 \family default
25844
25845 \family sans
25846 blue
25847 \family default
25848
25849 \family sans
25850 cyan
25851 \family default
25852 \series bold
25853 ,
25854 \series default
25855  
25856 \family sans
25857 green
25858 \family default
25859
25860 \family sans
25861 magenta
25862 \family default
25863
25864 \family sans
25865 red
25866 \family default
25867
25868 \family sans
25869 white
25870 \family default
25871 , and 
25872 \family sans
25873 yellow
25874 \family default
25875 .
25876 \newline
25877 You can also define your own color as described in section\InsetSpace ~
25878
25879 \begin_inset LatexCommand ref
25880 reference "sec:Colored-Tables"
25881
25882 \end_inset
25883
25884 .
25885 \end_layout
25886
25887 \begin_layout Standard
25888 To have e.\InsetSpace \thinspace{}
25889 g.\InsetSpace ~
25890 a red background for a word, insert the command
25891 \end_layout
25892
25893 \begin_layout Standard
25894
25895 \series bold
25896
25897 \backslash
25898 colorbox{red}{
25899 \end_layout
25900
25901 \begin_layout Standard
25902 before the word in ERT.
25903  Behind the word insert a closing brace 
25904 \begin_inset Quotes eld
25905 \end_inset
25906
25907
25908 \series bold
25909 }
25910 \series default
25911
25912 \begin_inset Quotes erd
25913 \end_inset
25914
25915  in ERT.
25916 \newline
25917 This is the result:
25918 \end_layout
25919
25920 \begin_layout Standard
25921 This is a line where the word 
25922 \begin_inset ERT
25923 status collapsed
25924
25925 \begin_layout Standard
25926
25927
25928 \backslash
25929 colorbox{red}{
25930 \end_layout
25931
25932 \end_inset
25933
25934
25935 \begin_inset Quotes eld
25936 \end_inset
25937
25938 Attention!
25939 \begin_inset Quotes erd
25940 \end_inset
25941
25942
25943 \begin_inset ERT
25944 status collapsed
25945
25946 \begin_layout Standard
25947
25948 }
25949 \end_layout
25950
25951 \end_inset
25952
25953  has a red background.
25954 \end_layout
25955
25956 \begin_layout Standard
25957 \begin_inset VSpace bigskip
25958 \end_inset
25959
25960 If you would have the box frame in a different color, you can use the command
25961  
25962 \series bold
25963
25964 \backslash
25965 fcolorbox
25966 \series default
25967  with the following scheme:
25968 \end_layout
25969
25970 \begin_layout Standard
25971
25972 \series bold
25973
25974 \backslash
25975 fcolorbox{frame color}{box color}{box content}
25976 \end_layout
25977
25978 \begin_layout Standard
25979
25980 \series bold
25981
25982 \backslash
25983 fcolorbox
25984 \series default
25985  is an extension to 
25986 \series bold
25987
25988 \backslash
25989 colorbox
25990 \series default
25991 .
25992  The frame thickness and the space between the frame and the box content
25993  can be adjusted with the lengths 
25994 \series bold
25995
25996 \backslash
25997 fboxrule
25998 \series default
25999  and 
26000 \series bold
26001
26002 \backslash
26003 fboxsep
26004 \series default
26005 , respectively, as described in section\InsetSpace ~
26006
26007 \begin_inset LatexCommand ref
26008 reference "sec:Framed-Boxes"
26009
26010 \end_inset
26011
26012 .
26013 \end_layout
26014
26015 \begin_layout Standard
26016 For the following example the command
26017 \end_layout
26018
26019 \begin_layout Standard
26020
26021 \series bold
26022
26023 \backslash
26024 fcolorbox{cyan}{magenta}{
26025 \end_layout
26026
26027 \begin_layout Standard
26028 was used.
26029 \end_layout
26030
26031 \begin_layout Standard
26032 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26033 mm:
26034 \newline
26035
26036 \begin_inset ERT
26037 status collapsed
26038
26039 \begin_layout Standard
26040
26041
26042 \backslash
26043 fboxrule 1mm 
26044 \backslash
26045 fboxsep 1mm
26046 \end_layout
26047
26048 \end_inset
26049
26050
26051 \begin_inset ERT
26052 status collapsed
26053
26054 \begin_layout Standard
26055
26056
26057 \backslash
26058 fcolorbox{cyan}{magenta}{
26059 \end_layout
26060
26061 \end_inset
26062
26063 This is text within a colored, framed box.
26064 \begin_inset ERT
26065 status collapsed
26066
26067 \begin_layout Standard
26068
26069 }
26070 \end_layout
26071
26072 \end_inset
26073
26074
26075 \end_layout
26076
26077 \begin_layout Standard
26078 \begin_inset VSpace bigskip
26079 \end_inset
26080
26081 Of course you can also have colored text inside a colorbox:
26082 \newline
26083
26084 \begin_inset ERT
26085 status collapsed
26086
26087 \begin_layout Standard
26088
26089
26090 \backslash
26091 fcolorbox{cyan}{magenta}{
26092 \end_layout
26093
26094 \end_inset
26095
26096
26097 \color yellow
26098 This is colored text within a colored, framed box.
26099 \color none
26100
26101 \begin_inset ERT
26102 status collapsed
26103
26104 \begin_layout Standard
26105
26106 }
26107 \end_layout
26108
26109 \end_inset
26110
26111
26112 \begin_inset ERT
26113 status collapsed
26114
26115 \begin_layout Standard
26116
26117
26118 \backslash
26119 fboxrule 0.4pt 
26120 \backslash
26121 fboxsep 3pt
26122 \end_layout
26123
26124 \end_inset
26125
26126
26127 \end_layout
26128
26129 \begin_layout Standard
26130
26131 \series bold
26132 \begin_inset VSpace medskip
26133 \end_inset
26134
26135
26136 \end_layout
26137
26138 \begin_layout Standard
26139 \begin_inset Note Greyedout
26140 status open
26141
26142 \begin_layout Standard
26143
26144 \series bold
26145 Note:
26146 \series default
26147  Text in colorboxes cannot have line breaks.
26148  To color multiple text lines or paragraphs, use a box inside a colorbox
26149  as described in the following.
26150 \end_layout
26151
26152 \end_inset
26153
26154
26155 \end_layout
26156
26157 \begin_layout Subsection
26158 Color for Paragraphs
26159 \begin_inset LatexCommand label
26160 name "sub:Color-for-Paragraphs"
26161
26162 \end_inset
26163
26164
26165 \begin_inset LatexCommand index
26166 name "Color ! for Paragraphs"
26167
26168 \end_inset
26169
26170
26171 \end_layout
26172
26173 \begin_layout Standard
26174 To set the background color for more than one text line, put the text into
26175  a minipage.
26176  Before the minipage insert the 
26177 \series bold
26178
26179 \backslash
26180 colorbox
26181 \series default
26182  command
26183 \end_layout
26184
26185 \begin_layout Standard
26186
26187 \series bold
26188
26189 \backslash
26190 colorbox{color}{
26191 \end_layout
26192
26193 \begin_layout Standard
26194 in ERT.
26195  Behind the minipage insert a closing brace 
26196 \begin_inset Quotes eld
26197 \end_inset
26198
26199
26200 \series bold
26201 }
26202 \series default
26203
26204 \begin_inset Quotes erd
26205 \end_inset
26206
26207  in ERT.
26208 \end_layout
26209
26210 \begin_layout Standard
26211 \begin_inset ERT
26212 status collapsed
26213
26214 \begin_layout Standard
26215
26216
26217 \backslash
26218 colorbox{lightgrey}{
26219 \end_layout
26220
26221 \end_inset
26222
26223
26224 \begin_inset Box Frameless
26225 position "t"
26226 hor_pos "c"
26227 has_inner_box 1
26228 inner_pos "t"
26229 use_parbox 0
26230 width "100col%"
26231 special "none"
26232 height "1in"
26233 height_special "totalheight"
26234 status collapsed
26235
26236 \begin_layout Standard
26237 This is text with background color.
26238  This is text with background color.
26239 \end_layout
26240
26241 \begin_layout Standard
26242 \begin_inset VSpace defskip
26243 \end_inset
26244
26245 The text can have footnotes
26246 \begin_inset Foot
26247 status collapsed
26248
26249 \begin_layout Standard
26250 Another example footnote
26251 \end_layout
26252
26253 \end_inset
26254
26255  and can include tables and figures.
26256 \end_layout
26257
26258 \begin_layout Standard
26259 \align center
26260 \begin_inset Tabular
26261 <lyxtabular version="3" rows="3" columns="3">
26262 <features>
26263 <column alignment="center" valignment="top" leftline="true" width="0">
26264 <column alignment="center" valignment="top" leftline="true" width="0">
26265 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26266 <row topline="true">
26267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26268 \begin_inset Text
26269
26270 \begin_layout Standard
26271 a
26272 \end_layout
26273
26274 \end_inset
26275 </cell>
26276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26277 \begin_inset Text
26278
26279 \begin_layout Standard
26280 !
26281 \end_layout
26282
26283 \end_inset
26284 </cell>
26285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26286 \begin_inset Text
26287
26288 \begin_layout Standard
26289 3
26290 \end_layout
26291
26292 \end_inset
26293 </cell>
26294 </row>
26295 <row topline="true">
26296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26297 \begin_inset Text
26298
26299 \begin_layout Standard
26300 <
26301 \end_layout
26302
26303 \end_inset
26304 </cell>
26305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26306 \begin_inset Text
26307
26308 \begin_layout Standard
26309 b2
26310 \begin_inset Quotes erd
26311 \end_inset
26312
26313 |
26314 \end_layout
26315
26316 \end_inset
26317 </cell>
26318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26319 \begin_inset Text
26320
26321 \begin_layout Standard
26322 >
26323 \end_layout
26324
26325 \end_inset
26326 </cell>
26327 </row>
26328 <row topline="true" bottomline="true">
26329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26330 \begin_inset Text
26331
26332 \begin_layout Standard
26333 1
26334 \end_layout
26335
26336 \end_inset
26337 </cell>
26338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26339 \begin_inset Text
26340
26341 \begin_layout Standard
26342 §
26343 \end_layout
26344
26345 \end_inset
26346 </cell>
26347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26348 \begin_inset Text
26349
26350 \begin_layout Standard
26351 c
26352 \end_layout
26353
26354 \end_inset
26355 </cell>
26356 </row>
26357 </lyxtabular>
26358
26359 \end_inset
26360
26361
26362 \end_layout
26363
26364 \end_inset
26365
26366
26367 \begin_inset ERT
26368 status collapsed
26369
26370 \begin_layout Standard
26371
26372 }
26373 \end_layout
26374
26375 \end_inset
26376
26377
26378 \end_layout
26379
26380 \begin_layout Section
26381 URLs (Uniform Resource Locators)
26382 \begin_inset LatexCommand index
26383 name "URLs"
26384
26385 \end_inset
26386
26387
26388 \end_layout
26389
26390 \begin_layout Standard
26391 Links to web pages or email addresses can be inserted via the menu 
26392 \family sans
26393 Insert\SpecialChar \menuseparator
26394 URL
26395 \family default
26396 .
26397  The appearing URL dialog has two fields; the 
26398 \family sans
26399 URL
26400 \family default
26401  field and the 
26402 \family sans
26403 Name
26404 \family default
26405  field for the URL description, which will be typeset as plain text immediately
26406  before the URL.
26407 \end_layout
26408
26409 \begin_layout Standard
26410 Here is an example URL: 
26411 \begin_inset LatexCommand url
26412 name "LyX's homepage"
26413 target "http://www.lyx.org"
26414
26415 \end_inset
26416
26417
26418 \end_layout
26419
26420 \begin_layout Standard
26421 The option 
26422 \family sans
26423 Generate\InsetSpace ~
26424 hyperlink
26425 \family default
26426  in the URL dialog has only an affect when you export your document to the
26427  format 
26428 \begin_inset Quotes eld
26429 \end_inset
26430
26431
26432 \family sans
26433 LinuxDoc
26434 \family default
26435
26436 \begin_inset Quotes erd
26437 \end_inset
26438
26439 .
26440 \end_layout
26441
26442 \begin_layout Standard
26443 You cannot change the style of the link text.
26444  The text of the 
26445 \family sans
26446 Name
26447 \family default
26448  field will have the default text style of the document while the text of
26449  the 
26450 \family sans
26451 URL
26452 \family default
26453  field will have the style 
26454 \begin_inset Quotes eld
26455 \end_inset
26456
26457
26458 \family sans
26459 Typewriter
26460 \family default
26461
26462 \begin_inset Quotes erd
26463 \end_inset
26464
26465 .
26466 \end_layout
26467
26468 \begin_layout Standard
26469 When you use the LaTeX-package 
26470 \series bold
26471 hyperref
26472 \series default
26473
26474 \begin_inset LatexCommand index
26475 name "LaTeX-packages ! hyperref"
26476
26477 \end_inset
26478
26479  to link cross-references in the output, URLs will automatically become
26480  clickable hyperlinks in DVI and PDF-output.
26481 \end_layout
26482
26483 \begin_layout Standard
26484 \begin_inset Note Greyedout
26485 status open
26486
26487 \begin_layout Standard
26488
26489 \series bold
26490 Note:
26491 \series default
26492  When you use the following characters: "%", "#", "^", you have to write
26493  them with a preceding backslash, e.\InsetSpace \thinspace{}
26494 g.\InsetSpace ~
26495
26496 \begin_inset Quotes eld
26497 \end_inset
26498
26499
26500 \backslash
26501 #
26502 \begin_inset Quotes erd
26503 \end_inset
26504
26505 .
26506  URLs must not end with a backslash.
26507 \end_layout
26508
26509 \end_inset
26510
26511
26512 \end_layout
26513
26514 \begin_layout Standard
26515 \begin_inset VSpace bigskip
26516 \end_inset
26517
26518 To create real hyperlinks without the force to write the link location to
26519  the text, you can use the command
26520 \end_layout
26521
26522 \begin_layout Standard
26523
26524 \series bold
26525
26526 \backslash
26527 href{link location}{link text}
26528 \end_layout
26529
26530 \begin_layout Standard
26531 in ERT.
26532  To get for example a link to LyX's web page, write the command
26533 \end_layout
26534
26535 \begin_layout Standard
26536
26537 \series bold
26538
26539 \backslash
26540 href{http://www.lyx.org}{
26541 \end_layout
26542
26543 \begin_layout Standard
26544 in ERT.
26545  Insert after the command the link text 
26546 \begin_inset Quotes eld
26547 \end_inset
26548
26549 LyX's homepage
26550 \begin_inset Quotes erd
26551 \end_inset
26552
26553  as normal text followed by a closing brace 
26554 \begin_inset Quotes eld
26555 \end_inset
26556
26557
26558 \series bold
26559 }
26560 \series default
26561
26562 \begin_inset Quotes erd
26563 \end_inset
26564
26565  in ERT.
26566  This is the result: 
26567 \begin_inset ERT
26568 status collapsed
26569
26570 \begin_layout Standard
26571
26572
26573 \backslash
26574 href{http://www.lyx.org}{
26575 \end_layout
26576
26577 \end_inset
26578
26579 LyX's homepage
26580 \begin_inset ERT
26581 status collapsed
26582
26583 \begin_layout Standard
26584
26585 }
26586 \end_layout
26587
26588 \end_inset
26589
26590
26591 \end_layout
26592
26593 \begin_layout Standard
26594 To link to email addresses, add the prefix 
26595 \begin_inset Quotes eld
26596 \end_inset
26597
26598
26599 \family sans
26600 mailto:
26601 \family default
26602
26603 \begin_inset Quotes erd
26604 \end_inset
26605
26606  to the link location:
26607 \newline
26608 Email to 
26609 \begin_inset ERT
26610 status collapsed
26611
26612 \begin_layout Standard
26613
26614
26615 \backslash
26616 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26617 \end_layout
26618
26619 \end_inset
26620
26621 lyx-docs mailing list
26622 \begin_inset ERT
26623 status collapsed
26624
26625 \begin_layout Standard
26626
26627 }
26628 \end_layout
26629
26630 \end_inset
26631
26632 .
26633 \end_layout
26634
26635 \begin_layout Standard
26636 Using 
26637 \series bold
26638
26639 \backslash
26640 href
26641 \series default
26642  instead of LyX's URL box has the advantage that you can specify the text
26643  style of the link text like for all other text parts.
26644  You can therefore set hyphenation points and forced linebreaks to have
26645  long link text broken at the page margin.
26646  You are furthermore able to change the text style for all URLs in your
26647  document with an option in 
26648 \series bold
26649 hyperref
26650 \series default
26651 's load command and the restrictions mentioned above doesn't apply for 
26652 \series bold
26653
26654 \backslash
26655 href
26656 \series default
26657 .
26658 \end_layout
26659
26660 \begin_layout Chapter
26661 External Stuff
26662 \begin_inset LatexCommand index
26663 name "External Stuff"
26664
26665 \end_inset
26666
26667
26668 \end_layout
26669
26670 \begin_layout Standard
26671 With the menu 
26672 \family sans
26673 Insert\SpecialChar \menuseparator
26674 File
26675 \family default
26676  you can insert external material to your document.
26677  This can be:
26678 \end_layout
26679
26680 \begin_layout Description
26681 LyX\InsetSpace ~
26682 Document Another LyX document; its content is directly inserted to your
26683  document.
26684 \end_layout
26685
26686 \begin_layout Description
26687 Plain\InsetSpace ~
26688 Text A text document; every of its text lines is inserted to your document
26689  as own paragraph.
26690 \end_layout
26691
26692 \begin_layout Description
26693 Plain\InsetSpace ~
26694 Text,\InsetSpace ~
26695 Join\InsetSpace ~
26696 Lines A text document; its text lines are inserted as they
26697  are.
26698  Empty text lines creates a new paragraph in your document.
26699 \end_layout
26700
26701 \begin_layout Description
26702 External\InsetSpace ~
26703 Material Files in various formats.
26704 \end_layout
26705
26706 \begin_layout Description
26707 Child\InsetSpace ~
26708 Document LyX or LaTeX-documents.
26709 \end_layout
26710
26711 \begin_layout Section
26712 External Material
26713 \begin_inset LatexCommand index
26714 name "External Stuff ! External Material"
26715
26716 \end_inset
26717
26718
26719 \end_layout
26720
26721 \begin_layout Standard
26722 The external material feature allows you to insert files to your document
26723  without converting them previously to a format that can be read by the
26724  document output format because LyX takes care of needed conversions.
26725  This is similar to images that can be inserted in various image formats
26726  to LyX documents.
26727 \end_layout
26728
26729 \begin_layout Standard
26730 External material can be inserted via the 
26731 \family sans
26732 External Material
26733 \family default
26734  dialog that is accessible with the menu 
26735 \family sans
26736 Insert\SpecialChar \menuseparator
26737 File\SpecialChar \menuseparator
26738 External\InsetSpace ~
26739 Material
26740 \family default
26741 .
26742  Currently the following file types (
26743 \family sans
26744 Templates
26745 \family default
26746 ) are allowed:
26747 \end_layout
26748
26749 \begin_layout Description
26750 ChessDiagram This template supports chess position diagrams made with the
26751  program 
26752 \begin_inset ERT
26753 status collapsed
26754
26755 \begin_layout Standard
26756
26757
26758 \backslash
26759 href{http://en.wikipedia.org/wiki/XBoard}{
26760 \end_layout
26761
26762 \end_inset
26763
26764
26765 \series bold
26766 XBoard
26767 \series default
26768
26769 \begin_inset ERT
26770 status collapsed
26771
26772 \begin_layout Standard
26773
26774 }
26775 \end_layout
26776
26777 \end_inset
26778
26779 .
26780 \end_layout
26781
26782 \begin_layout Description
26783 Date This inserts the date in the form 
26784 \emph on
26785 Date-Month-Year
26786 \emph default
26787 .
26788  This is a date inserted as external material: 
26789 \begin_inset External
26790         template Date
26791         filename .
26792
26793 \end_inset
26794
26795
26796 \newline
26797 The date is not shown within LyX, only in the output.
26798  There are two other methods of inserting a date, via menu 
26799 \family sans
26800 Insert\SpecialChar \menuseparator
26801 Date
26802 \family default
26803  and with the LaTeX command 
26804 \series bold
26805
26806 \backslash
26807 today
26808 \series default
26809  as ERT.
26810  The different methods are compared in Table\InsetSpace ~
26811
26812 \begin_inset LatexCommand ref
26813 reference "tab:Comparison-of-the"
26814
26815 \end_inset
26816
26817 .
26818 \end_layout
26819
26820 \begin_layout Description
26821 LilyPond This template is used for music notation typeset with the program
26822 \begin_inset ERT
26823 status collapsed
26824
26825 \begin_layout Standard
26826
26827
26828 \backslash
26829 linebreak 
26830 \end_layout
26831
26832 \end_inset
26833
26834
26835 \begin_inset ERT
26836 status collapsed
26837
26838 \begin_layout Standard
26839
26840
26841 \backslash
26842 href{http://en.wikipedia.org/wiki/LilyPond}{
26843 \end_layout
26844
26845 \end_inset
26846
26847
26848 \series bold
26849 LilyPond
26850 \series default
26851
26852 \begin_inset ERT
26853 status collapsed
26854
26855 \begin_layout Standard
26856
26857 }
26858 \end_layout
26859
26860 \end_inset
26861
26862 .
26863 \begin_inset Note Note
26864 status collapsed
26865
26866 \begin_layout Standard
26867 The command 
26868 \series bold
26869
26870 \backslash
26871 linebreak
26872 \series default
26873  breaks the line while the remaining text in the line is stretched to the
26874  page margin.
26875 \end_layout
26876
26877 \end_inset
26878
26879
26880 \end_layout
26881
26882 \begin_layout Description
26883 RasterImage This can be used for bitmap images.
26884  Nearly all popular image formats are supported.
26885  The image can be treated in the 
26886 \family sans
26887 External material
26888 \family default
26889  dialog like the images that are usually included via the 
26890 \family sans
26891 Graphics
26892 \family default
26893  dialog as described in section\InsetSpace ~
26894
26895 \begin_inset LatexCommand ref
26896 reference "sec:Graphics-Dialog"
26897
26898 \end_inset
26899
26900 .
26901  The difference is that only raster images are allowed, that means that
26902  PDF and EPS-images are not supported.
26903 \end_layout
26904
26905 \begin_layout Description
26906 XFig This template supports images created with the program 
26907 \begin_inset ERT
26908 status collapsed
26909
26910 \begin_layout Standard
26911
26912
26913 \backslash
26914 href{http://en.wikipedia.org/wiki/Xfig}{
26915 \end_layout
26916
26917 \end_inset
26918
26919
26920 \series bold
26921 Xfig
26922 \series default
26923
26924 \begin_inset ERT
26925 status collapsed
26926
26927 \begin_layout Standard
26928
26929 }
26930 \end_layout
26931
26932 \end_inset
26933
26934 .
26935 \end_layout
26936
26937 \begin_layout Standard
26938 \begin_inset Float table
26939 placement h
26940 wide false
26941 sideways false
26942 status open
26943
26944 \begin_layout Standard
26945 \begin_inset Caption
26946
26947 \begin_layout Standard
26948 \begin_inset LatexCommand label
26949 name "tab:Comparison-of-the"
26950
26951 \end_inset
26952
26953 Comparison of the date input methods.
26954 \end_layout
26955
26956 \end_inset
26957
26958
26959 \end_layout
26960
26961 \begin_layout Standard
26962 \align center
26963 \begin_inset Tabular
26964 <lyxtabular version="3" rows="4" columns="4">
26965 <features>
26966 <column alignment="center" valignment="top" leftline="true" width="0">
26967 <column alignment="center" valignment="top" leftline="true" width="0">
26968 <column alignment="center" valignment="top" leftline="true" width="0">
26969 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26970 <row topline="true">
26971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26972 \begin_inset Text
26973
26974 \begin_layout Standard
26975 Document format
26976 \end_layout
26977
26978 \end_inset
26979 </cell>
26980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26981 \begin_inset Text
26982
26983 \begin_layout Standard
26984
26985 \family sans
26986 External Material\SpecialChar \menuseparator
26987 Date
26988 \end_layout
26989
26990 \end_inset
26991 </cell>
26992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26993 \begin_inset Text
26994
26995 \begin_layout Standard
26996
26997 \family sans
26998 Insert\SpecialChar \menuseparator
26999 Date
27000 \end_layout
27001
27002 \end_inset
27003 </cell>
27004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27005 \begin_inset Text
27006
27007 \begin_layout Standard
27008 command 
27009 \series bold
27010
27011 \backslash
27012 today
27013 \end_layout
27014
27015 \end_inset
27016 </cell>
27017 </row>
27018 <row topline="true">
27019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27020 \begin_inset Text
27021
27022 \begin_layout Standard
27023 LyX
27024 \end_layout
27025
27026 \end_inset
27027 </cell>
27028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27029 \begin_inset Text
27030
27031 \begin_layout Standard
27032 as inset box
27033 \end_layout
27034
27035 \end_inset
27036 </cell>
27037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27038 \begin_inset Text
27039
27040 \begin_layout Standard
27041 as date
27042 \end_layout
27043
27044 \end_inset
27045 </cell>
27046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27047 \begin_inset Text
27048
27049 \begin_layout Standard
27050 as ERT inset box
27051 \end_layout
27052
27053 \end_inset
27054 </cell>
27055 </row>
27056 <row topline="true">
27057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27058 \begin_inset Text
27059
27060 \begin_layout Standard
27061 LaTeX
27062 \end_layout
27063
27064 \end_inset
27065 </cell>
27066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27067 \begin_inset Text
27068
27069 \begin_layout Standard
27070 as date
27071 \end_layout
27072
27073 \end_inset
27074 </cell>
27075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27076 \begin_inset Text
27077
27078 \begin_layout Standard
27079 as date
27080 \end_layout
27081
27082 \end_inset
27083 </cell>
27084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27085 \begin_inset Text
27086
27087 \begin_layout Standard
27088 as command
27089 \end_layout
27090
27091 \end_inset
27092 </cell>
27093 </row>
27094 <row topline="true" bottomline="true">
27095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27096 \begin_inset Text
27097
27098 \begin_layout Standard
27099 DVI, PDF, PS
27100 \end_layout
27101
27102 \end_inset
27103 </cell>
27104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27105 \begin_inset Text
27106
27107 \begin_layout Standard
27108 as date
27109 \end_layout
27110
27111 \end_inset
27112 </cell>
27113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27114 \begin_inset Text
27115
27116 \begin_layout Standard
27117 as date
27118 \end_layout
27119
27120 \end_inset
27121 </cell>
27122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27123 \begin_inset Text
27124
27125 \begin_layout Standard
27126 as date
27127 \end_layout
27128
27129 \end_inset
27130 </cell>
27131 </row>
27132 </lyxtabular>
27133
27134 \end_inset
27135
27136
27137 \end_layout
27138
27139 \end_inset
27140
27141
27142 \end_layout
27143
27144 \begin_layout Standard
27145 When you use the option 
27146 \family sans
27147 Draft
27148 \family default
27149  in the 
27150 \family sans
27151 File
27152 \family default
27153  tab of the 
27154 \family sans
27155 External Material
27156 \family default
27157  dialog, only the path to the inserted file is shown in the output.
27158 \newline
27159 External
27160  material is displayed in LyX either as box like this: 
27161 \begin_inset Graphics
27162         filename clipart/ExternalMaterialQt4.png
27163         scale 85
27164
27165 \end_inset
27166
27167  or as image, depending on the setting in the 
27168 \family sans
27169 LyX\InsetSpace ~
27170 View
27171 \family default
27172  tab of the 
27173 \family sans
27174 External Material
27175 \family default
27176  dialog.
27177 \end_layout
27178
27179 \begin_layout Standard
27180 The 
27181 \family sans
27182 \emph on
27183 Customization
27184 \family default
27185 \emph default
27186  manual explains how you can define your own templates.
27187 \end_layout
27188
27189 \begin_layout Section
27190 Child Documents
27191 \begin_inset LatexCommand index
27192 name "External Stuff ! Child Documents"
27193
27194 \end_inset
27195
27196
27197 \begin_inset LatexCommand index
27198 name "Files ! Include"
27199
27200 \end_inset
27201
27202
27203 \end_layout
27204
27205 \begin_layout Standard
27206 Child documents are used when you have a long document consisting of several
27207  larger parts or sections.
27208  For maintenance it is often useful and sometimes even required to split
27209  the document in several files that can be revised separately.
27210  The different documents are then the so called child documents and a master
27211  document connects them to print the full document or parts of it.
27212 \end_layout
27213
27214 \begin_layout Standard
27215 Included documents are displayed in LyX as a box like this: 
27216 \begin_inset Graphics
27217         filename clipart/ChildDocumentQt4.png
27218         scale 85
27219
27220 \end_inset
27221
27222  To include child documents to a master document use the menu 
27223 \family sans
27224 Insert\SpecialChar \menuseparator
27225 File\SpecialChar \menuseparator
27226 Child\InsetSpace ~
27227 Documents
27228 \family default
27229 .
27230  A dialog pops up where you can choose between three include methods:
27231 \end_layout
27232
27233 \begin_layout Description
27234 Include You can include LyX and LaTeX-documents.
27235  When you press the 
27236 \family sans
27237 Load
27238 \family default
27239  button in the 
27240 \family sans
27241 Child Document
27242 \family default
27243  dialog, the included documents will be opened in LyX in a new file tab
27244  so that you can modify it.
27245 \newline
27246
27247 \end_layout
27248
27249 \begin_layout Standard
27250 Here is a child document inserted using 
27251 \family sans
27252 Include
27253 \family default
27254
27255 \begin_inset Include \include{DummyDocument1.lyx}
27256 preview false
27257
27258 \end_inset
27259
27260
27261 \end_layout
27262
27263 \begin_layout Standard
27264 The section numbering includes the sections of the included files in the
27265  order they are inserted in the master document.
27266  The included example document has for example a subsection that is numbered
27267  as subsection of this section.
27268  Labels of included documents can be referenced: Subsection\InsetSpace ~
27269
27270 \begin_inset LatexCommand ref
27271 reference "sub:External-Subsection-1"
27272
27273 \end_inset
27274
27275
27276 \end_layout
27277
27278 \begin_layout Standard
27279 The preamble of the child document is ignored, only the preamble of the
27280  master document is used.
27281  Included documents are inserted starting on a new page and end with a pagebreak.
27282 \end_layout
27283
27284 \begin_layout Standard
27285 With the LaTeX-command 
27286 \series bold
27287
27288 \backslash
27289 includeonly 
27290 \series default
27291 you can specify which included child documents are processed when the output
27292  is generated.
27293  This is useful when you are perhaps only working on a certain chapter of
27294  your large document as this saves compiling time.
27295  
27296 \series bold
27297
27298 \backslash
27299 includeonly
27300 \series default
27301  is inserted to the master document preamble.
27302  It takes a comma-separated list of the filenames as argument, e.g.
27303 \end_layout
27304
27305 \begin_layout Standard
27306
27307 \series bold
27308
27309 \backslash
27310 includeonly{chapter1,chapter5}
27311 \end_layout
27312
27313 \begin_layout Standard
27314 will only process the included files named 
27315 \begin_inset Quotes eld
27316 \end_inset
27317
27318 chapter1.lyx
27319 \begin_inset Quotes erd
27320 \end_inset
27321
27322  (or 
27323 \begin_inset Quotes eld
27324 \end_inset
27325
27326 chapter1.tex
27327 \begin_inset Quotes erd
27328 \end_inset
27329
27330 ) and 
27331 \begin_inset Quotes eld
27332 \end_inset
27333
27334 chapter5.lyx
27335 \begin_inset Quotes erd
27336 \end_inset
27337
27338  .
27339 \end_layout
27340
27341 \begin_layout Standard
27342 \begin_inset Note Greyedout
27343 status open
27344
27345 \begin_layout Standard
27346
27347 \series bold
27348 Note:
27349 \series default
27350  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27351 w the document in case that the child document uses another document class
27352  than the master document as this will lead to unexpected outputs.
27353 \end_layout
27354
27355 \end_inset
27356
27357
27358 \end_layout
27359
27360 \begin_layout Description
27361 Input This method is very similar to the Include method.
27362  The differences are:
27363 \end_layout
27364
27365 \begin_deeper
27366 \begin_layout Itemize
27367 Input files don't start with a new page and don't end with a pagebreak.
27368 \end_layout
27369
27370 \begin_layout Itemize
27371 Input files can be previewed in LyX when 
27372 \family sans
27373 Instant\InsetSpace ~
27374 Preview
27375 \family default
27376  is enabled in LyX's preferences under 
27377 \family sans
27378 Look\InsetSpace ~
27379 and\InsetSpace ~
27380 feel\SpecialChar \menuseparator
27381 Graphics
27382 \family default
27383 .
27384 \end_layout
27385
27386 \begin_layout Itemize
27387 The LaTeX-command 
27388 \series bold
27389
27390 \backslash
27391 includeonly
27392 \series default
27393  cannot be used.
27394 \end_layout
27395
27396 \end_deeper
27397 \begin_layout Standard
27398 Here is a child document inserted using 
27399 \family sans
27400 Input
27401 \family default
27402
27403 \begin_inset Include \input{DummyDocument2.lyx}
27404 preview true
27405
27406 \end_inset
27407
27408
27409 \end_layout
27410
27411 \begin_layout Description
27412 Verbatim With this method every text file can be included.
27413  The file is shown in the output with its source code, no command used in
27414  the text is invoked.
27415  You can use the option 
27416 \family sans
27417 Mark spaces in output
27418 \family default
27419  that displays the character 
27420 \begin_inset Quotes eld
27421 \end_inset
27422
27423
27424 \begin_inset ERT
27425 status collapsed
27426
27427 \begin_layout Standard
27428
27429
27430 \backslash
27431 textvisiblespace 
27432 \end_layout
27433
27434 \end_inset
27435
27436
27437 \begin_inset Quotes erd
27438 \end_inset
27439
27440  for every space character in the source code.
27441  The difference to the method via the menu 
27442 \family sans
27443 Insert\SpecialChar \menuseparator
27444 File\SpecialChar \menuseparator
27445 Plain\InsetSpace ~
27446 Text
27447 \family default
27448  is that the document content is not shown in LyX.
27449 \end_layout
27450
27451 \begin_layout Standard
27452 Here is a child document inserted as Verbatim: 
27453 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27454 preview false
27455
27456 \end_inset
27457
27458
27459 \begin_inset VSpace bigskip
27460 \end_inset
27461
27462 Here is a child document inserted as Verbatim using the 
27463 \family sans
27464 Mark spaces in output
27465 \family default
27466  option: 
27467 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27468 preview false
27469
27470 \end_inset
27471
27472
27473 \end_layout
27474
27475 \begin_layout Standard
27476 \begin_inset VSpace bigskip
27477 \end_inset
27478
27479
27480 \end_layout
27481
27482 \begin_layout Standard
27483 \begin_inset Note Greyedout
27484 status open
27485
27486 \begin_layout Standard
27487
27488 \series bold
27489 Note:
27490 \series default
27491  As you can see in the examples above, the text of the documents included
27492  as verbatim is not broken at the end of the document lines.
27493 \end_layout
27494
27495 \end_inset
27496
27497
27498 \end_layout
27499
27500 \begin_layout Standard
27501 \begin_inset Note Greyedout
27502 status open
27503
27504 \begin_layout Standard
27505
27506 \series bold
27507 Note:
27508 \series default
27509  Including the same document twice in a document using different methods
27510  could cause LaTeX-problems.
27511 \end_layout
27512
27513 \end_inset
27514
27515
27516 \end_layout
27517
27518 \begin_layout Standard
27519
27520 \newpage
27521
27522 \end_layout
27523
27524 \begin_layout Chapter
27525 \start_of_appendix
27526 Units available in 
27527 \begin_inset ERT
27528 status collapsed
27529
27530 \begin_layout Standard
27531
27532
27533 \backslash
27534 texorpdfstring{
27535 \end_layout
27536
27537 \end_inset
27538
27539 LyX
27540 \begin_inset ERT
27541 status collapsed
27542
27543 \begin_layout Standard
27544
27545 }{LyX}
27546 \end_layout
27547
27548 \end_inset
27549
27550
27551 \begin_inset LatexCommand index
27552 name "Units"
27553
27554 \end_inset
27555
27556
27557 \begin_inset LatexCommand label
27558 name "cha:Units-available-in"
27559
27560 \end_inset
27561
27562
27563 \begin_inset Note Note
27564 status collapsed
27565
27566 \begin_layout Standard
27567 The command 
27568 \backslash
27569 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27570  are displayed wrongly in PDF-bookmarks.
27571  For more information about this, have a look at 
27572 \begin_inset LatexCommand cite
27573 key "hyperref"
27574
27575 \end_inset
27576
27577 .
27578 \end_layout
27579
27580 \end_inset
27581
27582
27583 \end_layout
27584
27585 \begin_layout Standard
27586 To understand the units described in this documentation, Table\InsetSpace ~
27587
27588 \begin_inset LatexCommand ref
27589 reference "tab:Units"
27590
27591 \end_inset
27592
27593  explains all units available in LyX.
27594 \end_layout
27595
27596 \begin_layout Standard
27597 \begin_inset Float table
27598 placement h
27599 wide false
27600 sideways false
27601 status open
27602
27603 \begin_layout Standard
27604 \begin_inset Caption
27605
27606 \begin_layout Standard
27607 \begin_inset LatexCommand label
27608 name "tab:Units"
27609
27610 \end_inset
27611
27612 Units
27613 \end_layout
27614
27615 \end_inset
27616
27617
27618 \end_layout
27619
27620 \begin_layout Standard
27621 \begin_inset VSpace medskip
27622 \end_inset
27623
27624
27625 \end_layout
27626
27627 \begin_layout Standard
27628 \align center
27629 \begin_inset Tabular
27630 <lyxtabular version="3" rows="20" columns="2">
27631 <features>
27632 <column alignment="center" valignment="top" leftline="true" width="0">
27633 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27634 <row topline="true" bottomline="true">
27635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27636 \begin_inset Text
27637
27638 \begin_layout Standard
27639 unit
27640 \end_layout
27641
27642 \end_inset
27643 </cell>
27644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27645 \begin_inset Text
27646
27647 \begin_layout Standard
27648 name/description
27649 \end_layout
27650
27651 \end_inset
27652 </cell>
27653 </row>
27654 <row topline="true">
27655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27656 \begin_inset Text
27657
27658 \begin_layout Standard
27659 mm
27660 \end_layout
27661
27662 \end_inset
27663 </cell>
27664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27665 \begin_inset Text
27666
27667 \begin_layout Standard
27668 millimeter
27669 \end_layout
27670
27671 \end_inset
27672 </cell>
27673 </row>
27674 <row topline="true">
27675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27676 \begin_inset Text
27677
27678 \begin_layout Standard
27679 cm
27680 \end_layout
27681
27682 \end_inset
27683 </cell>
27684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27685 \begin_inset Text
27686
27687 \begin_layout Standard
27688 centimeter
27689 \end_layout
27690
27691 \end_inset
27692 </cell>
27693 </row>
27694 <row topline="true">
27695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27696 \begin_inset Text
27697
27698 \begin_layout Standard
27699 in
27700 \end_layout
27701
27702 \end_inset
27703 </cell>
27704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27705 \begin_inset Text
27706
27707 \begin_layout Standard
27708 inch
27709 \end_layout
27710
27711 \end_inset
27712 </cell>
27713 </row>
27714 <row topline="true">
27715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27716 \begin_inset Text
27717
27718 \begin_layout Standard
27719 pt
27720 \end_layout
27721
27722 \end_inset
27723 </cell>
27724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27725 \begin_inset Text
27726
27727 \begin_layout Standard
27728 point (72.27\InsetSpace \thinspace{}
27729 pt = 1\InsetSpace \thinspace{}
27730 in)
27731 \end_layout
27732
27733 \end_inset
27734 </cell>
27735 </row>
27736 <row topline="true">
27737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27738 \begin_inset Text
27739
27740 \begin_layout Standard
27741 pc
27742 \end_layout
27743
27744 \end_inset
27745 </cell>
27746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27747 \begin_inset Text
27748
27749 \begin_layout Standard
27750 pica (1\InsetSpace \thinspace{}
27751 pc = 12\InsetSpace \thinspace{}
27752 pt)
27753 \end_layout
27754
27755 \end_inset
27756 </cell>
27757 </row>
27758 <row topline="true">
27759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27760 \begin_inset Text
27761
27762 \begin_layout Standard
27763 sp
27764 \end_layout
27765
27766 \end_inset
27767 </cell>
27768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27769 \begin_inset Text
27770
27771 \begin_layout Standard
27772 scaled point (65536\InsetSpace \thinspace{}
27773 sp = 1\InsetSpace \thinspace{}
27774 pt)
27775 \end_layout
27776
27777 \end_inset
27778 </cell>
27779 </row>
27780 <row topline="true">
27781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27782 \begin_inset Text
27783
27784 \begin_layout Standard
27785 bp
27786 \end_layout
27787
27788 \end_inset
27789 </cell>
27790 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27791 \begin_inset Text
27792
27793 \begin_layout Standard
27794 big point (72\InsetSpace \thinspace{}
27795 bp = 1\InsetSpace \thinspace{}
27796 in)
27797 \end_layout
27798
27799 \end_inset
27800 </cell>
27801 </row>
27802 <row topline="true">
27803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27804 \begin_inset Text
27805
27806 \begin_layout Standard
27807 dd
27808 \end_layout
27809
27810 \end_inset
27811 </cell>
27812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27813 \begin_inset Text
27814
27815 \begin_layout Standard
27816 didot (72\InsetSpace \thinspace{}
27817 dd 
27818 \begin_inset Formula $\approx$
27819 \end_inset
27820
27821  37.6\InsetSpace \thinspace{}
27822 mm)
27823 \end_layout
27824
27825 \end_inset
27826 </cell>
27827 </row>
27828 <row topline="true">
27829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27830 \begin_inset Text
27831
27832 \begin_layout Standard
27833 cc
27834 \end_layout
27835
27836 \end_inset
27837 </cell>
27838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27839 \begin_inset Text
27840
27841 \begin_layout Standard
27842 cicero (1\InsetSpace \thinspace{}
27843 cc = 12\InsetSpace \thinspace{}
27844 dd)
27845 \end_layout
27846
27847 \end_inset
27848 </cell>
27849 </row>
27850 <row topline="true">
27851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27852 \begin_inset Text
27853
27854 \begin_layout Standard
27855 Scale%
27856 \end_layout
27857
27858 \end_inset
27859 </cell>
27860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27861 \begin_inset Text
27862
27863 \begin_layout Standard
27864 % of original image width
27865 \end_layout
27866
27867 \end_inset
27868 </cell>
27869 </row>
27870 <row topline="true">
27871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27872 \begin_inset Text
27873
27874 \begin_layout Standard
27875 text%
27876 \end_layout
27877
27878 \end_inset
27879 </cell>
27880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27881 \begin_inset Text
27882
27883 \begin_layout Standard
27884 % of text width
27885 \end_layout
27886
27887 \end_inset
27888 </cell>
27889 </row>
27890 <row topline="true">
27891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27892 \begin_inset Text
27893
27894 \begin_layout Standard
27895 col%
27896 \end_layout
27897
27898 \end_inset
27899 </cell>
27900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27901 \begin_inset Text
27902
27903 \begin_layout Standard
27904 % of column width
27905 \end_layout
27906
27907 \end_inset
27908 </cell>
27909 </row>
27910 <row topline="true">
27911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27912 \begin_inset Text
27913
27914 \begin_layout Standard
27915 page%
27916 \end_layout
27917
27918 \end_inset
27919 </cell>
27920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27921 \begin_inset Text
27922
27923 \begin_layout Standard
27924 % of paper width
27925 \end_layout
27926
27927 \end_inset
27928 </cell>
27929 </row>
27930 <row topline="true">
27931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27932 \begin_inset Text
27933
27934 \begin_layout Standard
27935 line%
27936 \end_layout
27937
27938 \end_inset
27939 </cell>
27940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27941 \begin_inset Text
27942
27943 \begin_layout Standard
27944 % of line width
27945 \end_layout
27946
27947 \end_inset
27948 </cell>
27949 </row>
27950 <row topline="true">
27951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27952 \begin_inset Text
27953
27954 \begin_layout Standard
27955 theight%
27956 \end_layout
27957
27958 \end_inset
27959 </cell>
27960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27961 \begin_inset Text
27962
27963 \begin_layout Standard
27964 % of text height
27965 \end_layout
27966
27967 \end_inset
27968 </cell>
27969 </row>
27970 <row topline="true">
27971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27972 \begin_inset Text
27973
27974 \begin_layout Standard
27975 pheight%
27976 \end_layout
27977
27978 \end_inset
27979 </cell>
27980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27981 \begin_inset Text
27982
27983 \begin_layout Standard
27984 % of paper height
27985 \end_layout
27986
27987 \end_inset
27988 </cell>
27989 </row>
27990 <row topline="true">
27991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27992 \begin_inset Text
27993
27994 \begin_layout Standard
27995 ex
27996 \end_layout
27997
27998 \end_inset
27999 </cell>
28000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28001 \begin_inset Text
28002
28003 \begin_layout Standard
28004 height of letter 
28005 \emph on
28006 x
28007 \emph default
28008  in current font
28009 \end_layout
28010
28011 \end_inset
28012 </cell>
28013 </row>
28014 <row topline="true">
28015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28016 \begin_inset Text
28017
28018 \begin_layout Standard
28019 em
28020 \end_layout
28021
28022 \end_inset
28023 </cell>
28024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28025 \begin_inset Text
28026
28027 \begin_layout Standard
28028 width of letter 
28029 \emph on
28030 M
28031 \emph default
28032  in current font
28033 \end_layout
28034
28035 \end_inset
28036 </cell>
28037 </row>
28038 <row topline="true" bottomline="true">
28039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28040 \begin_inset Text
28041
28042 \begin_layout Standard
28043 mu
28044 \end_layout
28045
28046 \end_inset
28047 </cell>
28048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28049 \begin_inset Text
28050
28051 \begin_layout Standard
28052 math unit (1\InsetSpace \thinspace{}
28053 mu = 1/18\InsetSpace \thinspace{}
28054 em)
28055 \end_layout
28056
28057 \end_inset
28058 </cell>
28059 </row>
28060 </lyxtabular>
28061
28062 \end_inset
28063
28064
28065 \end_layout
28066
28067 \end_inset
28068
28069
28070 \end_layout
28071
28072 \begin_layout Chapter
28073 Output File Formats with Graphics
28074 \begin_inset LatexCommand label
28075 name "cha:Output-File-Formats"
28076
28077 \end_inset
28078
28079
28080 \end_layout
28081
28082 \begin_layout Section
28083 DVI
28084 \begin_inset LatexCommand index
28085 name "File Formats ! DVI"
28086
28087 \end_inset
28088
28089
28090 \begin_inset LatexCommand index
28091 name "DVI|see{File Formats}"
28092
28093 \end_inset
28094
28095
28096 \end_layout
28097
28098 \begin_layout Standard
28099 This file type has the extension 
28100 \begin_inset Quotes eld
28101 \end_inset
28102
28103
28104 \family typewriter
28105 .dvi
28106 \family default
28107
28108 \begin_inset Quotes erd
28109 \end_inset
28110
28111 .
28112  It is called 
28113 \begin_inset Quotes eld
28114 \end_inset
28115
28116 device-independent
28117 \begin_inset Quotes erd
28118 \end_inset
28119
28120  (DVI), because it is completely portable; you can move them from one machine
28121  to another without needing to do any sort of conversion.
28122  At the time when this file-format was developed, this was no matter of
28123  course.
28124  DVIs are used for quick previews and as pre-stage for other output formats,
28125  like PostScript.
28126 \end_layout
28127
28128 \begin_layout Standard
28129 \begin_inset Note Greyedout
28130 status open
28131
28132 \begin_layout Standard
28133
28134 \series bold
28135 Note:
28136 \series default
28137  DVI-files doesn't contain images, they will only be a linked.
28138 \end_layout
28139
28140 \end_inset
28141
28142  So don't forget this, if you move your 
28143 \family typewriter
28144 .dvi
28145 \family default
28146  file to another computer.
28147  This property can also slow down your computer when you view the DVI.
28148  Because the DVI-viewer has to convert the image in the background to make
28149  it visible when you scroll in the DVI.
28150  So we recommend to use PDF for files with many images.
28151 \end_layout
28152
28153 \begin_layout Standard
28154 You can export your document to DVI by using the menu 
28155 \family sans
28156 File\SpecialChar \menuseparator
28157 Export\SpecialChar \menuseparator
28158 DVI
28159 \family default
28160 .
28161  You can view your document as DVI via the 
28162 \family sans
28163 View
28164 \family default
28165  menu or by using the toolbar button 
28166 \begin_inset Graphics
28167         filename ../images/buffer-view_dvi.xpm
28168         scale 85
28169
28170 \end_inset
28171
28172 .
28173 \end_layout
28174
28175 \begin_layout Section
28176 PostScript
28177 \begin_inset LatexCommand label
28178 name "sec:PostScript"
28179
28180 \end_inset
28181
28182
28183 \begin_inset LatexCommand index
28184 name "File Formats ! PostScript"
28185
28186 \end_inset
28187
28188
28189 \begin_inset LatexCommand index
28190 name "PostScript|see{File Formats}"
28191
28192 \end_inset
28193
28194
28195 \end_layout
28196
28197 \begin_layout Standard
28198 This file type has the extension 
28199 \begin_inset Quotes eld
28200 \end_inset
28201
28202
28203 \family typewriter
28204 .ps
28205 \family default
28206
28207 \begin_inset Quotes erd
28208 \end_inset
28209
28210 .
28211  PostScript was developed by the company 
28212 \family typewriter
28213 Adobe
28214 \family default
28215  as printer language.
28216  The file contains therefore commands that the printer uses to print the
28217  file.
28218  PostScript can be seen as 
28219 \begin_inset Quotes eld
28220 \end_inset
28221
28222 programming language
28223 \begin_inset Quotes erd
28224 \end_inset
28225
28226 ; you can calculate with it and draw diagrams and images
28227 \begin_inset Foot
28228 status collapsed
28229
28230 \begin_layout Standard
28231 If you are interested to learn more about this, have a look at the LaTeX-package
28232  
28233 \series bold
28234 PSTricks
28235 \series default
28236  
28237 \begin_inset LatexCommand cite
28238 key "pstricks"
28239
28240 \end_inset
28241
28242 .
28243 \end_layout
28244
28245 \end_inset
28246
28247 .
28248  Due to this ability, the files are often bigger than PDFs.
28249 \end_layout
28250
28251 \begin_layout Standard
28252 PostScript can only contain images in the format 
28253 \begin_inset Quotes eld
28254 \end_inset
28255
28256 Encapsulated PostScript
28257 \begin_inset Quotes erd
28258 \end_inset
28259
28260  (EPS, file extension 
28261 \begin_inset Quotes eld
28262 \end_inset
28263
28264
28265 \family typewriter
28266 .eps
28267 \family default
28268
28269 \begin_inset Quotes erd
28270 \end_inset
28271
28272 ).
28273  As LyX allows you to use any known image format in your document, it has
28274  to convert images in the background to EPS.
28275  If you have e.g 50 images in your document, LyX has to do 50 conversions
28276  whenever you view or export your document.
28277  This will slow down your work flow with LyX drastically.
28278  So if you plan to use PostScript, you can insert your images directly as
28279  EPS to avoid this problem.
28280 \end_layout
28281
28282 \begin_layout Standard
28283 You can export your document to PostScript using the menu 
28284 \family sans
28285 File\SpecialChar \menuseparator
28286 Export\SpecialChar \menuseparator
28287 Postscript
28288 \family default
28289 .
28290  You can view your document as PostScript via the 
28291 \family sans
28292 View
28293 \family default
28294  menu or by using the toolbar button 
28295 \begin_inset Graphics
28296         filename ../images/buffer-view_ps.xpm
28297         scale 85
28298
28299 \end_inset
28300
28301 .
28302 \end_layout
28303
28304 \begin_layout Section
28305 PDF
28306 \begin_inset LatexCommand label
28307 name "sec:PDF"
28308
28309 \end_inset
28310
28311
28312 \begin_inset LatexCommand index
28313 name "File Formats ! PDF"
28314
28315 \end_inset
28316
28317
28318 \begin_inset LatexCommand index
28319 name "PDF"
28320
28321 \end_inset
28322
28323
28324 \end_layout
28325
28326 \begin_layout Standard
28327 This file type has the extension 
28328 \begin_inset Quotes eld
28329 \end_inset
28330
28331
28332 \family typewriter
28333 .pdf
28334 \family default
28335
28336 \begin_inset Quotes erd
28337 \end_inset
28338
28339 .
28340  The 
28341 \begin_inset Quotes eld
28342 \end_inset
28343
28344 Portable Document Format
28345 \begin_inset Quotes erd
28346 \end_inset
28347
28348  (PDF) is developed by 
28349 \family typewriter
28350 Adobe
28351 \family default
28352  as derivative from PostScript.
28353  It is more compressed and it uses much less commands than PostScript.
28354  As the name 
28355 \begin_inset Quotes eld
28356 \end_inset
28357
28358 portable
28359 \begin_inset Quotes erd
28360 \end_inset
28361
28362  implies, it can be processed at any computer system and the printed output
28363  looks exactly the same.
28364 \end_layout
28365
28366 \begin_layout Standard
28367 PDF can contain images in its own PDF format, in the format 
28368 \begin_inset Quotes eld
28369 \end_inset
28370
28371 Joint Photographic Experts Group
28372 \begin_inset Quotes erd
28373 \end_inset
28374
28375  (JPG, file extension 
28376 \begin_inset Quotes eld
28377 \end_inset
28378
28379
28380 \family typewriter
28381 .jpg
28382 \family default
28383
28384 \begin_inset Quotes erd
28385 \end_inset
28386
28387  or 
28388 \begin_inset Quotes eld
28389 \end_inset
28390
28391
28392 \family typewriter
28393 .jpeg
28394 \family default
28395
28396 \begin_inset Quotes erd
28397 \end_inset
28398
28399 ), and in the format 
28400 \begin_inset Quotes eld
28401 \end_inset
28402
28403 Portable Network Graphics
28404 \begin_inset Quotes erd
28405 \end_inset
28406
28407  (PNG, file extension 
28408 \begin_inset Quotes eld
28409 \end_inset
28410
28411
28412 \family typewriter
28413 .png
28414 \family default
28415
28416 \begin_inset Quotes erd
28417 \end_inset
28418
28419 ).
28420  You can although use any other image format, because LyX converts them
28421  in the background to one of these formats.
28422  But as described in the section about PostScript, the image conversion
28423  will slow down your work flow.
28424  So it is recommended to use images in one of the three mentioned formats.
28425 \end_layout
28426
28427 \begin_layout Standard
28428 You can export your document to PDF via the menu 
28429 \family sans
28430 File\SpecialChar \menuseparator
28431 Export
28432 \family default
28433  in three different ways:
28434 \end_layout
28435
28436 \begin_layout Description
28437 PDF This uses the program 
28438 \family typewriter
28439 ps2pdf
28440 \family default
28441  that creates a PDF from a PostScript-version of your file.
28442  The PostScript-version is produced by the program 
28443 \family typewriter
28444 dvips
28445 \family default
28446  which uses a DVI-version as intermediate step.
28447  So this export variant consist of three conversions.
28448 \end_layout
28449
28450 \begin_layout Description
28451 PDF\InsetSpace ~
28452 (dvipdfm) This uses the program 
28453 \family typewriter
28454 dvipdfm
28455 \family default
28456  that converts your file in the background to DVI and in a second step to
28457  PDF.
28458 \end_layout
28459
28460 \begin_layout Description
28461 PDF\InsetSpace ~
28462 (pdflatex) This uses the program 
28463 \family typewriter
28464 pdftex
28465 \family default
28466  that converts your file directly to PDF.
28467 \end_layout
28468
28469 \begin_layout Standard
28470 It is recommended to use 
28471 \family sans
28472 PDF\InsetSpace ~
28473 (pdflatex)
28474 \family default
28475  because 
28476 \family typewriter
28477 pdftex
28478 \family default
28479  supports all features of actual PDF-versions, is quick and works stable
28480  without problems.
28481  The program 
28482 \family typewriter
28483 dvipdfm
28484 \family default
28485  is not under development and therefore a bit outdated.
28486 \end_layout
28487
28488 \begin_layout Standard
28489 You can view your document as PDF via the 
28490 \family sans
28491 View
28492 \family default
28493  menu or by using the toolbar button 
28494 \begin_inset Graphics
28495         filename ../images/buffer-view_pdf2.xpm
28496         scale 85
28497
28498 \end_inset
28499
28500  
28501 \family sans
28502 (
28503 \family default
28504 that uses 
28505 \family sans
28506 PDF\InsetSpace ~
28507 (pdflatex)
28508 \family default
28509 ).
28510 \end_layout
28511
28512 \begin_layout Chapter
28513 Explanation of Equation\InsetSpace ~
28514
28515 \begin_inset LatexCommand eqref
28516 reference "eq:Wgn"
28517
28518 \end_inset
28519
28520
28521 \begin_inset LatexCommand label
28522 name "cha:Explanation-of-Equation"
28523
28524 \end_inset
28525
28526
28527 \end_layout
28528
28529 \begin_layout Standard
28530 The total width of 
28531 \emph on
28532 n
28533 \emph default
28534  table cells 
28535 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28536 \end_inset
28537
28538  can be calculated to
28539 \end_layout
28540
28541 \begin_layout Standard
28542 \begin_inset Formula \begin{equation}
28543 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28544
28545 \end_inset
28546
28547
28548 \end_layout
28549
28550 \begin_layout Standard
28551 Where 
28552 \begin_inset Formula $W_{g\, n}$
28553 \end_inset
28554
28555  is the given width of all cells.
28556  
28557 \series bold
28558
28559 \backslash
28560 tabcolsep
28561 \series default
28562  is the LaTeX-length between the cell text and the cell border, its default
28563  value is 6\InsetSpace \thinspace{}
28564 pt.
28565  
28566 \series bold
28567
28568 \backslash
28569 arrayrulewidth
28570 \series default
28571  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28572 pt.
28573 \end_layout
28574
28575 \begin_layout Standard
28576 Following equation\InsetSpace ~
28577
28578 \begin_inset LatexCommand eqref
28579 reference "eq:Wtot_n"
28580
28581 \end_inset
28582
28583 , the total width of a multicolumn 
28584 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28585 \end_inset
28586
28587  is
28588 \end_layout
28589
28590 \begin_layout Standard
28591 \begin_inset Formula \begin{equation}
28592 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28593
28594 \end_inset
28595
28596
28597 \end_layout
28598
28599 \begin_layout Standard
28600 By setting equation\InsetSpace ~
28601
28602 \begin_inset LatexCommand eqref
28603 reference "eq:Wtot_n"
28604
28605 \end_inset
28606
28607  and 
28608 \begin_inset LatexCommand eqref
28609 reference "eq:Wtot_mult"
28610
28611 \end_inset
28612
28613  equal we can calculate the needed given width 
28614 \begin_inset Formula $W_{g\, n}$
28615 \end_inset
28616
28617  when 
28618 \emph on
28619 n
28620 \emph default
28621  columns are spanned, so that each column has a total width of 
28622 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28623 \end_inset
28624
28625 :
28626 \end_layout
28627
28628 \begin_layout Standard
28629 \begin_inset Formula \begin{equation}
28630 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28631
28632 \end_inset
28633
28634
28635 \end_layout
28636
28637 \begin_layout Bibliography
28638 \begin_inset LatexCommand bibitem
28639 key "latexcompanion"
28640
28641 \end_inset
28642
28643 Frank Mittelbach and Michel Goossens: 
28644 \emph on
28645 The LaTeX Companion Second Edition.
28646
28647 \emph default
28648  Addison-Wesley, 2004
28649 \end_layout
28650
28651 \begin_layout Bibliography
28652 \begin_inset LatexCommand bibitem
28653 key "latexguide"
28654
28655 \end_inset
28656
28657 Helmut Kopka and Patrick W.
28658  Daly: 
28659 \emph on
28660 A Guide to LaTeX Fourth Edition.
28661
28662 \emph default
28663  Addison-Wesley, 2003
28664 \end_layout
28665
28666 \begin_layout Bibliography
28667 \begin_inset LatexCommand bibitem
28668 key "latexbook"
28669
28670 \end_inset
28671
28672 Leslie Lamport: 
28673 \emph on
28674 LaTeX: A Document Preparation System.
28675
28676 \emph default
28677  Addison-Wesley, second edition, 1994
28678 \end_layout
28679
28680 \begin_layout Bibliography
28681 \begin_inset LatexCommand bibitem
28682 key "booktabs"
28683
28684 \end_inset
28685
28686
28687 \begin_inset ERT
28688 status collapsed
28689
28690 \begin_layout Standard
28691
28692
28693 \backslash
28694 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28695 {
28696 \end_layout
28697
28698 \end_inset
28699
28700 Documentation
28701 \begin_inset ERT
28702 status collapsed
28703
28704 \begin_layout Standard
28705
28706 }
28707 \end_layout
28708
28709 \end_inset
28710
28711  of the LaTeX-package 
28712 \series bold
28713 booktabs
28714 \series default
28715
28716 \begin_inset LatexCommand index
28717 name "LaTeX-packages ! booktabs"
28718
28719 \end_inset
28720
28721
28722 \end_layout
28723
28724 \begin_layout Bibliography
28725 \begin_inset LatexCommand bibitem
28726 key "caption"
28727
28728 \end_inset
28729
28730
28731 \begin_inset ERT
28732 status collapsed
28733
28734 \begin_layout Standard
28735
28736
28737 \backslash
28738 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
28739 \end_layout
28740
28741 \end_inset
28742
28743 Documentation
28744 \begin_inset ERT
28745 status collapsed
28746
28747 \begin_layout Standard
28748
28749 }
28750 \end_layout
28751
28752 \end_inset
28753
28754  of the LaTeX-package 
28755 \series bold
28756 caption
28757 \series default
28758
28759 \begin_inset LatexCommand index
28760 name "LaTeX-packages ! caption"
28761
28762 \end_inset
28763
28764
28765 \end_layout
28766
28767 \begin_layout Bibliography
28768 \begin_inset LatexCommand bibitem
28769 key "caption-de"
28770
28771 \end_inset
28772
28773 German 
28774 \begin_inset ERT
28775 status collapsed
28776
28777 \begin_layout Standard
28778
28779
28780 \backslash
28781 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28782 {
28783 \end_layout
28784
28785 \end_inset
28786
28787 documentation
28788 \begin_inset ERT
28789 status collapsed
28790
28791 \begin_layout Standard
28792
28793 }
28794 \end_layout
28795
28796 \end_inset
28797
28798  of the LaTeX-package 
28799 \series bold
28800 caption
28801 \end_layout
28802
28803 \begin_layout Bibliography
28804 \begin_inset LatexCommand bibitem
28805 key "endfloat"
28806
28807 \end_inset
28808
28809
28810 \begin_inset ERT
28811 status collapsed
28812
28813 \begin_layout Standard
28814
28815
28816 \backslash
28817 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28818 {
28819 \end_layout
28820
28821 \end_inset
28822
28823 Documentation
28824 \begin_inset ERT
28825 status collapsed
28826
28827 \begin_layout Standard
28828
28829 }
28830 \end_layout
28831
28832 \end_inset
28833
28834  of the LaTeX-package 
28835 \series bold
28836 endf\SpecialChar \textcompwordmark{}
28837 loat
28838 \series default
28839
28840 \begin_inset LatexCommand index
28841 name "LaTeX-packages ! endfloat"
28842
28843 \end_inset
28844
28845
28846 \end_layout
28847
28848 \begin_layout Bibliography
28849 \begin_inset LatexCommand bibitem
28850 key "floatflt"
28851
28852 \end_inset
28853
28854
28855 \begin_inset ERT
28856 status collapsed
28857
28858 \begin_layout Standard
28859
28860
28861 \backslash
28862 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28863 {
28864 \end_layout
28865
28866 \end_inset
28867
28868 Documentation
28869 \begin_inset ERT
28870 status collapsed
28871
28872 \begin_layout Standard
28873
28874 }
28875 \end_layout
28876
28877 \end_inset
28878
28879  of the LaTeX-package 
28880 \series bold
28881 floatf\SpecialChar \textcompwordmark{}
28882 lt
28883 \series default
28884
28885 \begin_inset LatexCommand index
28886 name "LaTeX-packages ! floatflt"
28887
28888 \end_inset
28889
28890
28891 \end_layout
28892
28893 \begin_layout Bibliography
28894 \begin_inset LatexCommand bibitem
28895 key "footmisc"
28896
28897 \end_inset
28898
28899
28900 \begin_inset ERT
28901 status collapsed
28902
28903 \begin_layout Standard
28904
28905
28906 \backslash
28907 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
28908 {
28909 \end_layout
28910
28911 \end_inset
28912
28913 Documentation
28914 \begin_inset ERT
28915 status collapsed
28916
28917 \begin_layout Standard
28918
28919 }
28920 \end_layout
28921
28922 \end_inset
28923
28924  of the LaTeX-package 
28925 \series bold
28926 footmisc
28927 \series default
28928
28929 \begin_inset LatexCommand index
28930 name "LaTeX-packages ! footmisc"
28931
28932 \end_inset
28933
28934
28935 \end_layout
28936
28937 \begin_layout Bibliography
28938 \begin_inset LatexCommand bibitem
28939 key "hypcap"
28940
28941 \end_inset
28942
28943
28944 \begin_inset ERT
28945 status collapsed
28946
28947 \begin_layout Standard
28948
28949
28950 \backslash
28951 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
28952 \end_layout
28953
28954 \end_inset
28955
28956 Documentation
28957 \begin_inset ERT
28958 status collapsed
28959
28960 \begin_layout Standard
28961
28962 }
28963 \end_layout
28964
28965 \end_inset
28966
28967  of the LaTeX-package 
28968 \series bold
28969 hypcap
28970 \series default
28971
28972 \begin_inset LatexCommand index
28973 name "LaTeX-packages ! hyperref"
28974
28975 \end_inset
28976
28977
28978 \end_layout
28979
28980 \begin_layout Bibliography
28981 \begin_inset LatexCommand bibitem
28982 key "hyperref"
28983
28984 \end_inset
28985
28986
28987 \begin_inset ERT
28988 status collapsed
28989
28990 \begin_layout Standard
28991
28992
28993 \backslash
28994 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28995 {
28996 \end_layout
28997
28998 \end_inset
28999
29000 Documentation
29001 \begin_inset ERT
29002 status collapsed
29003
29004 \begin_layout Standard
29005
29006 }
29007 \end_layout
29008
29009 \end_inset
29010
29011  of the LaTeX-package 
29012 \series bold
29013 hyperref
29014 \series default
29015
29016 \begin_inset LatexCommand index
29017 name "LaTeX-packages ! hyperref"
29018
29019 \end_inset
29020
29021
29022 \end_layout
29023
29024 \begin_layout Bibliography
29025 \begin_inset LatexCommand bibitem
29026 key "koma-script"
29027
29028 \end_inset
29029
29030
29031 \begin_inset ERT
29032 status collapsed
29033
29034 \begin_layout Standard
29035
29036
29037 \backslash
29038 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29039 df}{
29040 \end_layout
29041
29042 \end_inset
29043
29044 Documentation
29045 \begin_inset ERT
29046 status collapsed
29047
29048 \begin_layout Standard
29049
29050 }
29051 \end_layout
29052
29053 \end_inset
29054
29055  of the LaTeX-package 
29056 \series bold
29057 koma-script
29058 \series default
29059
29060 \begin_inset LatexCommand index
29061 name "LaTeX-packages ! koma-script"
29062
29063 \end_inset
29064
29065
29066 \end_layout
29067
29068 \begin_layout Bibliography
29069 \begin_inset LatexCommand bibitem
29070 key "koma-script-de"
29071
29072 \end_inset
29073
29074 German 
29075 \begin_inset ERT
29076 status collapsed
29077
29078 \begin_layout Standard
29079
29080
29081 \backslash
29082 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29083 df}{
29084 \end_layout
29085
29086 \end_inset
29087
29088 documentation
29089 \begin_inset ERT
29090 status collapsed
29091
29092 \begin_layout Standard
29093
29094 }
29095 \end_layout
29096
29097 \end_inset
29098
29099  of the LaTeX-package 
29100 \series bold
29101 koma-script
29102 \series default
29103
29104 \begin_inset LatexCommand index
29105 name "LaTeX-packages ! koma-script"
29106
29107 \end_inset
29108
29109
29110 \end_layout
29111
29112 \begin_layout Bibliography
29113 \begin_inset LatexCommand bibitem
29114 key "marginnote"
29115
29116 \end_inset
29117
29118
29119 \begin_inset ERT
29120 status collapsed
29121
29122 \begin_layout Standard
29123
29124
29125 \backslash
29126 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29127 pdf}{
29128 \end_layout
29129
29130 \end_inset
29131
29132 Documentation
29133 \begin_inset ERT
29134 status collapsed
29135
29136 \begin_layout Standard
29137
29138 }
29139 \end_layout
29140
29141 \end_inset
29142
29143  of the LaTeX-package 
29144 \series bold
29145 marginnote
29146 \series default
29147
29148 \begin_inset LatexCommand index
29149 name "LaTeX-packages ! marginnote"
29150
29151 \end_inset
29152
29153
29154 \end_layout
29155
29156 \begin_layout Bibliography
29157 \begin_inset LatexCommand bibitem
29158 key "pstricks"
29159
29160 \end_inset
29161
29162
29163 \begin_inset ERT
29164 status collapsed
29165
29166 \begin_layout Standard
29167
29168
29169 \backslash
29170 href{http://tug.org/PSTricks/main.cgi/}{
29171 \end_layout
29172
29173 \end_inset
29174
29175 Web page
29176 \begin_inset ERT
29177 status collapsed
29178
29179 \begin_layout Standard
29180
29181 }
29182 \end_layout
29183
29184 \end_inset
29185
29186  of the LaTeX-package 
29187 \series bold
29188 PSTricks
29189 \series default
29190
29191 \begin_inset LatexCommand index
29192 name "LaTeX-packages ! PSTricks"
29193
29194 \end_inset
29195
29196
29197 \end_layout
29198
29199 \begin_layout Bibliography
29200 \begin_inset LatexCommand bibitem
29201 key "sidecap"
29202
29203 \end_inset
29204
29205
29206 \begin_inset ERT
29207 status collapsed
29208
29209 \begin_layout Standard
29210
29211
29212 \backslash
29213 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29214 \end_layout
29215
29216 \end_inset
29217
29218 Documentation
29219 \begin_inset ERT
29220 status collapsed
29221
29222 \begin_layout Standard
29223
29224 }
29225 \end_layout
29226
29227 \end_inset
29228
29229  of the LaTeX-package 
29230 \series bold
29231 sidecap
29232 \series default
29233
29234 \begin_inset LatexCommand index
29235 name "LaTeX-packages ! sidecap"
29236
29237 \end_inset
29238
29239
29240 \end_layout
29241
29242 \begin_layout Bibliography
29243 \begin_inset LatexCommand bibitem
29244 key "NewInLyX15"
29245
29246 \end_inset
29247
29248
29249 \begin_inset ERT
29250 status collapsed
29251
29252 \begin_layout Standard
29253
29254
29255 \backslash
29256 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29257 \end_layout
29258
29259 \end_inset
29260
29261 Wiki page
29262 \begin_inset ERT
29263 status collapsed
29264
29265 \begin_layout Standard
29266
29267 }
29268 \end_layout
29269
29270 \end_inset
29271
29272  about new LyX-features planned for the release 
29273 \family sans
29274 LyX 1.5
29275 \family default
29276 .
29277 \end_layout
29278
29279 \begin_layout Standard
29280 \begin_inset LatexCommand printindex
29281
29282 \end_inset
29283
29284
29285 \end_layout
29286
29287 \begin_layout Standard
29288 \begin_inset FloatList figure
29289
29290 \end_inset
29291
29292
29293 \end_layout
29294
29295 \begin_layout Standard
29296 \begin_inset FloatList table
29297
29298 \end_inset
29299
29300
29301 \end_layout
29302
29303 \end_body
29304 \end_document