]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects.lyx: better description for rotated table cells with line breaks
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index b50f2bbbb92c3e37e98bf7268ffa97df2467f9d5..2295829c6588d5e6a9807a4a0075a3f86a14459e 100644 (file)
 \begin_modules
 initials
 graphicboxes
+varwidth
 \end_modules
 \maintain_unincluded_children false
 \language english
@@ -233,12 +234,11 @@ graphicboxes
 \papercolumns 1
 \papersides 2
 \paperpagestyle default
-\tracking_changes true
+\tracking_changes false
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
-\author -712698321 "Jürgen Spitzmüller"
 \end_header
 
 \begin_body
@@ -771,7 +771,7 @@ Figure
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:A-star-structure"
+reference "fig:A-star-in"
 
 \end_inset
 
@@ -811,6 +811,7 @@ status open
 \align center
 \begin_inset Graphics
        filename clipart/Star-structure.pdf
+       lyxscale 60
        width 50col%
        scaleBeforeRotation
        rotateOrigin center
@@ -826,11 +827,11 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "fig:A-star-structure"
+name "fig:A-star-in"
 
 \end_inset
 
-A star structure in a float.
+A star in a float.
 \end_layout
 
 \end_inset
@@ -871,6 +872,7 @@ A 3D object.
 \align center
 \begin_inset Graphics
        filename clipart/3D-structure-distort.pdf
+       lyxscale 60
        scale 80
        scaleBeforeRotation
        rotateOrigin center
@@ -902,7 +904,7 @@ Figure
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:A-star-structure"
+reference "fig:A-star-in"
 
 \end_inset
 
@@ -20503,7 +20505,10 @@ Table
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "tab:Table-with-rotated-multi"
+reference "tab:Table-with-rotated"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -20680,6 +20685,36 @@ reference "sec:Parboxes"
 \end_inset
 
 ° the width of the box is the height of the cell.
+ To avoid to estimate a suitable box width one can use a minipage with a
+ variable width.
+ Such a box is inserted by loading the module 
+\family sans
+Variable-width
+\begin_inset space ~
+\end_inset
+
+Minipages
+\family default
+ in the document settings.
+ Then one can use the menu 
+\family sans
+Insert\SpecialChar menuseparator
+Custom
+\begin_inset space ~
+\end_inset
+
+Insets\SpecialChar menuseparator
+Minipage
+\begin_inset space ~
+\end_inset
+
+
+\family default
+(Var.
+\begin_inset space ~
+\end_inset
+
+Width).
  Table
 \begin_inset space ~
 \end_inset
@@ -20691,12 +20726,8 @@ reference "tab:Table-with-rotated-multi"
 
 \end_inset
 
- is an example for a rotated multiline cell where the box width was set
- to 3
-\begin_inset space \thinspace{}
-\end_inset
-
-cm.
+ is an example for a rotated multiline cell where a variable width minipage
+ is used.
 \end_layout
 
 \begin_layout Standard
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "3cm"
-special "none"
-height "1in"
-height_special "totalheight"
-thickness "0.4pt"
-separation "3pt"
-shadowsize "4pt"
-framecolor "black"
-backgroundcolor "none"
+\begin_inset Flex Minipage (Var. Width)
 status open
 
 \begin_layout Plain Layout
@@ -20770,6 +20786,10 @@ rotated cell
 \end_inset
 
 with line break
+\begin_inset space ~
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -31500,129 +31520,6 @@ Footnotes in title environments are usually not numbered with symbols and
  See for example the footnote in the titling of this document.
 \end_layout
 
-\begin_layout Standard
-\begin_inset VSpace defskip
-\end_inset
-
-Footnotes in tables are not printed by \SpecialChar LaTeX
- due to technical reasons.
- However there exists another method to print them: Instead of the footnote
- the command 
-\series bold
-
-\backslash
-footnotemark{}
-\series default
- is inserted as \SpecialChar TeX
- code.
- The text of the footnote is entered as an argument of the \SpecialChar TeX
- code command
-\series bold
-
-\backslash
-footnotetext
-\series default
- after the table.
-\begin_inset Newline newline
-\end_inset
-
-This was done for the following table with the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-footnotetext{
-\series default
-Printed table footnote.
-\series bold
-}
-\end_layout
-
-\begin_layout Standard
-\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="1">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-This an example text.
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-This footnote will not be printed!
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-This an example text.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-footnotemark{}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-footnotetext{
-\end_layout
-
-\end_inset
-
-Printed table footnote.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
 \begin_layout Standard
 Footnotes in multi-page tables are described in section
 \begin_inset space ~
@@ -31638,6 +31535,13 @@ reference "subsec:Footnotes-in-Multi-page"
 .
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 Footnotes in minipage boxes are printed, but inside the box and with a different
  numbering because a minipage box is like a page inside a page.
@@ -31653,19 +31557,40 @@ reference "sec:Minipages"
 \end_inset
 
 .) To get a footnote in the minipage that is output at the bottom of the
- page like normal footnotes, also use the method of 
+ page like normal footnotes use this method: Instead of the footnote the
+ command 
 \series bold
 
 \backslash
 footnotemark{}
 \series default
- and 
+ is inserted as \SpecialChar TeX
+ code.
+ The text of the footnote is entered as an argument of the \SpecialChar TeX
+ code command
 \series bold
 
 \backslash
 footnotetext
 \series default
-.
+ after the minipage.
+\begin_inset Newline newline
+\end_inset
+
+This was done for the following minipage with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotetext{
+\series default
+Footnote outside the minipage.
+\series bold
+}
 \end_layout
 
 \begin_layout Standard
@@ -36825,7 +36750,7 @@ status open
 
 
 \begin_inset Graphics
-       filename clipart/platypus.eps
+       filename clipart/Star-structure.pdf
        lyxscale 50
        width 25col%
 
@@ -37548,7 +37473,7 @@ status open
 
 \begin_layout Plain Layout
 \begin_inset Graphics
-       filename clipart/platypus.eps
+       filename clipart/Star-structure.pdf
        lyxscale 50
        width 25col%
 
@@ -37778,7 +37703,7 @@ status open
 
 \begin_layout Plain Layout
 \begin_inset Graphics
-       filename clipart/mobius.eps
+       filename clipart/2D-intensity-plot.pdf
        width 40col%
        scaleBeforeRotation
        rotateOrigin center
@@ -38744,7 +38669,7 @@ begin{window}[2,c,{
 
 
 \begin_inset Graphics
-       filename clipart/mobius.eps
+       filename clipart/2D-intensity-plot.pdf
        lyxscale 60
        width 40col%
        scaleBeforeRotation
@@ -39691,12 +39616,9 @@ literal "false"
 
 
 \series default
- which creates a special PDF 
-\change_inserted -712698321 1503901778
-or EPS 
-\change_unchanged
-and \SpecialChar LaTeX
- file from a given SVG file (in 
+ which creates a special PDF or EPS and \SpecialChar LaTeX
+ file from a given SVG file (in
 \noun on
 Inkscape
 \noun default
@@ -39704,23 +39626,15 @@ Inkscape
 \family sans
 Omit text in PDF and create LaTeX file
 \family default
- when saving a drawing as PDF
-\change_inserted -712698321 1503901833
- or EPS
-\change_unchanged
-).
+ when saving a drawing as PDF or EPS).
  The benefit of such files is a uniform text style throughout the whole
  document.
 \begin_inset Newline newline
 \end_inset
 
 The external template reads SVG files and uses a converter program to generate
- the respective PDF
-\change_inserted -712698321 1503901877
-\SpecialChar breakableslash
-EPS
-\change_unchanged
- and \SpecialChar LaTeX
+ the respective PDF\SpecialChar breakableslash
+EPS and \SpecialChar LaTeX
  files (via
 \noun on
  
@@ -39737,14 +39651,8 @@ Inkscape
  and 
 \family typewriter
 *.pdf_tex
-\change_inserted -712698321 1503901907
-
 \family default
- or
-\change_unchanged
-\change_inserted -712698321 1503901923
-
+ or 
 \family typewriter
 *.eps
 \family default
@@ -39752,23 +39660,15 @@ Inkscape
 \family typewriter
 *.eps_tex
 \family default
-\change_unchanged
-files instead, simply input the respective 
+ files instead, simply input the respective 
 \family typewriter
 *.pdf_tex
-\change_deleted -712698321 1503901941
-
 \family default
-\change_inserted -712698321 1503901945
  or 
 \family typewriter
 *.eps_tex
 \family default
-\change_unchanged
-file via the 
+ file via the 
 \family sans
 Child Documents
 \family default
@@ -39816,22 +39716,6 @@ literal "false"
 \end_inset
 
  for more information and examples.
-\change_deleted -712698321 1503902062
-
-\begin_inset Newline newline
-\end_inset
-
-Note that while the image text takes into account the surrounding font,
- its preview in \SpecialChar LyX
- does not.
- Wrapping the external inset in a preview inset (menu 
-\family sans
-Insert\SpecialChar menuseparator
-Preview
-\family default
-) gives a better result.
-\change_unchanged
-
 \end_layout
 
 \begin_layout Description
@@ -41864,10 +41748,10 @@ Units
 \begin_layout Plain Layout
 \align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="20" columns="3">
+<lyxtabular version="3" rows="21" columns="3">
 <features tabularvalignment="middle">
 <column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
+<column alignment="center" valignment="middle" width="50col%">
 <column alignment="center" valignment="top">
 <row>
 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
@@ -41904,7 +41788,7 @@ name/description
 \begin_inset Text
 
 \begin_layout Plain Layout
-mm
+bp
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-millimeter
+big point (72
+\begin_inset space \thinspace{}
+\end_inset
+
+bp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+in)
 \end_layout
 
 \end_inset
@@ -41933,7 +41825,7 @@ millimeter
 \begin_inset Text
 
 \begin_layout Plain Layout
-cm
+cc
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-centimeter
+cicero (1
+\begin_inset space \thinspace{}
+\end_inset
+
+cc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+dd)
 \end_layout
 
 \end_inset
@@ -41962,7 +41862,7 @@ centimeter
 \begin_inset Text
 
 \begin_layout Plain Layout
-in
+cm
 \end_layout
 
 \end_inset
@@ -41971,7 +41871,7 @@ in
 \begin_inset Text
 
 \begin_layout Plain Layout
-inch
+centimeter
 \end_layout
 
 \end_inset
@@ -41991,7 +41891,7 @@ inch
 \begin_inset Text
 
 \begin_layout Plain Layout
-pt
+dd
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-point (72.27
+didot (1
 \begin_inset space \thinspace{}
 \end_inset
 
-pt = 1
+dd 
+\begin_inset Formula $\approx$
+\end_inset
+
+ 0.376
 \begin_inset space \thinspace{}
 \end_inset
 
-in)
+mm)
 \end_layout
 
 \end_inset
@@ -42028,7 +41932,7 @@ in)
 \begin_inset Text
 
 \begin_layout Plain Layout
-pc
+em
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-pica (1
-\begin_inset space \thinspace{}
-\end_inset
-
-pc = 12
-\begin_inset space \thinspace{}
-\end_inset
-
-pt)
+width of letter 
+\emph on
+M
+\emph default
+ in current font
 \end_layout
 
 \end_inset
@@ -42065,7 +41965,7 @@ pt)
 \begin_inset Text
 
 \begin_layout Plain Layout
-sp
+ex
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-scaled point (65536
-\begin_inset space \thinspace{}
-\end_inset
-
-sp = 1
-\begin_inset space \thinspace{}
-\end_inset
-
-pt)
+height of letter 
+\emph on
+x
+\emph default
+ in current font
 \end_layout
 
 \end_inset
@@ -42102,7 +41998,7 @@ pt)
 \begin_inset Text
 
 \begin_layout Plain Layout
-bp
+in
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-big point (72
-\begin_inset space \thinspace{}
+inch
+\end_layout
+
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
 
-bp = 1
-\begin_inset space \thinspace{}
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-in)
+\begin_layout Plain Layout
+mm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+millimeter
 \end_layout
 
 \end_inset
@@ -42139,7 +42056,7 @@ in)
 \begin_inset Text
 
 \begin_layout Plain Layout
-dd
+mu
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-didot (1
+math unit (1
 \begin_inset space \thinspace{}
 \end_inset
 
-dd 
-\begin_inset Formula $\approx$
-\end_inset
-
- 0.376
+mu = 1/18
 \begin_inset space \thinspace{}
 \end_inset
 
-mm)
+em)
 \end_layout
 
 \end_inset
@@ -42180,7 +42093,7 @@ mm)
 \begin_inset Text
 
 \begin_layout Plain Layout
-cc
+pt
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-cicero (1
+point (72.27
 \begin_inset space \thinspace{}
 \end_inset
 
-cc = 12
+pt = 1
 \begin_inset space \thinspace{}
 \end_inset
 
-dd)
+in)
 \end_layout
 
 \end_inset
@@ -42217,7 +42130,7 @@ dd)
 \begin_inset Text
 
 \begin_layout Plain Layout
-Scale Graphics %
+pc
 \end_layout
 
 \end_inset
@@ -42226,7 +42139,15 @@ Scale Graphics %
 \begin_inset Text
 
 \begin_layout Plain Layout
-% of original image width
+pica (1
+\begin_inset space \thinspace{}
+\end_inset
+
+pc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
 \end_layout
 
 \end_inset
@@ -42235,7 +42156,7 @@ Scale Graphics %
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+-
 \end_layout
 
 \end_inset
@@ -42246,7 +42167,7 @@ Scale Graphics %
 \begin_inset Text
 
 \begin_layout Plain Layout
-Text Width %
+sp
 \end_layout
 
 \end_inset
@@ -42255,7 +42176,15 @@ Text Width %
 \begin_inset Text
 
 \begin_layout Plain Layout
-% of text width
+scaled point (65536
+\begin_inset space \thinspace{}
+\end_inset
+
+sp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
 \end_layout
 
 \end_inset
@@ -42264,9 +42193,7 @@ Text Width %
 \begin_inset Text
 
 \begin_layout Plain Layout
-
-\backslash
-textwidth
+-
 \end_layout
 
 \end_inset
@@ -42308,7 +42235,7 @@ columnwidth
 \begin_inset Text
 
 \begin_layout Plain Layout
-Page Width %
+Line Distance %
 \end_layout
 
 \end_inset
@@ -42317,7 +42244,7 @@ Page Width %
 \begin_inset Text
 
 \begin_layout Plain Layout
-% of paper width
+% of height between baselines of two subsequent text lines
 \end_layout
 
 \end_inset
@@ -42328,7 +42255,7 @@ Page Width %
 \begin_layout Plain Layout
 
 \backslash
-paperwidth
+baselineskip
 \end_layout
 
 \end_inset
@@ -42370,7 +42297,7 @@ linewidth
 \begin_inset Text
 
 \begin_layout Plain Layout
-Text Height %
+Page Height %
 \end_layout
 
 \end_inset
@@ -42379,7 +42306,7 @@ Text Height %
 \begin_inset Text
 
 \begin_layout Plain Layout
-% of text height
+% of paper height
 \end_layout
 
 \end_inset
@@ -42390,7 +42317,7 @@ Text Height %
 \begin_layout Plain Layout
 
 \backslash
-textheight
+paperheight
 \end_layout
 
 \end_inset
@@ -42401,7 +42328,7 @@ textheight
 \begin_inset Text
 
 \begin_layout Plain Layout
-Page Height %
+Page Width %
 \end_layout
 
 \end_inset
@@ -42410,7 +42337,7 @@ Page Height %
 \begin_inset Text
 
 \begin_layout Plain Layout
-% of paper height
+% of paper width
 \end_layout
 
 \end_inset
@@ -42421,7 +42348,7 @@ Page Height %
 \begin_layout Plain Layout
 
 \backslash
-paperheight
+paperwidth
 \end_layout
 
 \end_inset
@@ -42432,7 +42359,7 @@ paperheight
 \begin_inset Text
 
 \begin_layout Plain Layout
-ex
+Scale Graphics %
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-height of letter 
-\emph on
-x
-\emph default
- in current font
+% of original image width
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
--
+
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-em
+Text Height %
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-width of letter 
-\emph on
-M
-\emph default
- in current font
+% of text height
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
--
+
+\backslash
+textheight
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-mu
+Text Width %
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-math unit (1
-\begin_inset space \thinspace{}
-\end_inset
-
-mu = 1/18
-\begin_inset space \thinspace{}
-\end_inset
-
-em)
+% of text width
 \end_layout
 
 \end_inset
@@ -42524,7 +42437,9 @@ em)
 \begin_inset Text
 
 \begin_layout Plain Layout
--
+
+\backslash
+textwidth
 \end_layout
 
 \end_inset