X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FEmbeddedObjects.lyx;h=9c11df3d0398206cdf2659671cec194c0a0fceef;hb=2da56e8c5bf7a45e2c2483ca016fe1ba10713835;hp=2669b2297346a228944d3fb215e32f0fdc385a91;hpb=2a8de1b23dc60a3e3ee97de269b663a04ac47835;p=lyx.git diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx index 2669b22973..9c11df3d03 100644 --- a/lib/doc/EmbeddedObjects.lyx +++ b/lib/doc/EmbeddedObjects.lyx @@ -296,7 +296,7 @@ author: Uwe Stöhr \family sans -Version 2.0.x +Version 2.1.x \end_layout \begin_layout Standard @@ -1782,7 +1782,7 @@ Table \begin_inset Newline newline \end_inset - The default table has lines around any cell and the first row appears separated +The default table has lines around any cell and the first row appears separated from the rest of the table. This separation occurs due to a double line: The cells of the first row have a line below them and the cells of the second row have a line above @@ -2010,9 +2010,19 @@ Table ! Dialog \begin_layout Standard You can alter a table by clicking on it with the right mouse button, which - brings up the table dialog. - Here you can adjust the settings of that cell and row/column respectively - where the cursor is currently placed. + brings up the context menu. + Under the menu entry +\family sans +More +\family default + you can adjust the settings of that cell and row/column respectively where + the cursor is currently placed. + The context menu +\family sans +More\SpecialChar \menuseparator +Settings +\family default + opens the table dialog where you can adjust more things. Most of the dialog options also work on selections. This means if you select more cells, columns or rows, the action is done for the whole selection. @@ -2035,8 +2045,11 @@ Apply every change you make in the dialog is directly applied. If you move the cursor to another table cell the dialog will then also be updated with the parameters of the new cell. - If you change length values in the dialog you must press return to get - the change applied. + If you change length values in the dialog you must press +\family sans +Return +\family default + to get the change applied. \begin_inset Newline newline \end_inset @@ -2556,6 +2569,46 @@ arg "inset-modify tabular delete-column" deletes the current column or selection \end_layout +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular move-row-up" +\end_inset + + moves the row up +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular move-column-left" +\end_inset + + moves the column to the left +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular move-row-down" +\end_inset + + moves the row down +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular move-column-right" +\end_inset + + moves the column to the right +\end_layout + \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info @@ -26896,7 +26949,7 @@ Figure #: is the actual reference number. By default the label and the number are in the same font as the caption text and a colon follows the number to divide the label from the text. - This caption format is not suitable for all document formats. + This caption format is suitable for many but not all documents. \end_layout @@ -26927,7 +26980,7 @@ usepackage[format definition]{caption} \end_layout \begin_layout Standard -To have for example the label and the number in sans-serif bold font and +To have for example the label and the number in sans-serif, bold font and the table captions always above the table as in this document, use the following command: \end_layout @@ -27480,12 +27533,21 @@ letter report \family default there will be no space between the caption and the table. - To insert the necessary space, add the following option to the load command - of the LaTeX-package + To insert the necessary space, load the LaTeX-package \series bold caption \series default - in your document preamble + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! caption +\end_layout + +\end_inset + + in your document preamble with the option \begin_inset Foot status collapsed @@ -27510,7 +27572,7 @@ caption \end_inset -: + \end_layout \begin_layout Standard @@ -27558,11 +27620,342 @@ report (KOMA-Script) \series bold caption \series default - package set the document class option + package set the document class option +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +That option is used in this document. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + \series bold captions=tableheading -\series default -. +\end_layout + +\begin_layout Standard +In documents with a KOMA-Script document class you can also right-click + on a caption and mark in the context menu if this should be a caption above + or below the table/figure. + This way you can override the document-wide caption placement for certain + captions. + Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:A-caption-marked" + +\end_inset + + is an example where the caption is marked a being below the table while + it is above. + For comparison the caption in Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:A-standard-table" + +\end_inset + + is not marked. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Plain Layout +\begin_inset Caption Below + +\begin_layout Plain Layout +\begin_inset CommandInset label +LatexCommand label +name "tab:A-caption-marked" + +\end_inset + +A caption marked as being below the table. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +Joe +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Mary +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Ted +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\int x^{2}dx$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\left[\begin{array}{cc} +a & b\\ +c & d +\end{array}\right]$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $1+1=2$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout +\begin_inset CommandInset label +LatexCommand label +name "tab:A-standard-table" + +\end_inset + +A standard table caption. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +Joe +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Mary +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Ted +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\int x^{2}dx$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\left[\begin{array}{cc} +a & b\\ +c & d +\end{array}\right]$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $1+1=2$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -27649,13 +28042,6 @@ To place in LyX the caption of a float on the side, it is necessary to add these commands to the document preamble: \end_layout -\begin_layout Standard -\begin_inset Newpage pagebreak -\end_inset - - -\end_layout - \begin_layout Standard \noindent \begin_inset CommandInset line @@ -28633,6 +29019,19 @@ status collapsed \begin_layout Plain Layout +\backslash +FigBesBeg +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + \backslash sidecaptionvpos{figure}{c} \end_layout @@ -28727,7 +29126,7 @@ name "tab:cap-beside-tab-wider" \end_inset -This is a caption is wider than the one in Table +This caption is wider than the one in Table \begin_inset space ~ \end_inset