X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2Fes%2FEmbeddedObjects.lyx;h=109fff0f3f57f7ce83354364fb1b9768577b9211;hb=178c7464e2a9e03b44fb7bdc3f5887597bbe0043;hp=36144bca9a6c08e0c11cce57c1cb20f756f7395e;hpb=cb51493f94e6967d1c8db4e20367bcf9a50e3368;p=lyx.git diff --git a/lib/doc/es/EmbeddedObjects.lyx b/lib/doc/es/EmbeddedObjects.lyx index 36144bca9a..109fff0f3f 100644 --- a/lib/doc/es/EmbeddedObjects.lyx +++ b/lib/doc/es/EmbeddedObjects.lyx @@ -1,20 +1,10 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 499 +\lyxformat 503 \begin_document \begin_header \origin unavailable \textclass scrbook \begin_preamble -% if pdflatex is used -\usepackage{ifpdf} -\ifpdf - -% set fonts for nicer pdf view -\IfFileExists{lmodern.sty} - {\usepackage{lmodern}}{} - -\fi % end if pdflatex is used - % that links to image floats jumps % to the beginning of the float and % not to its caption @@ -174,16 +164,16 @@ graphicboxes \language_package babel \inputencoding auto \fontencoding global -\font_roman default -\font_sans default -\font_typewriter default -\font_math auto +\font_roman "lmodern" "default" +\font_sans "lmss" "default" +\font_typewriter "lmtt" "default" +\font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false -\font_sf_scale 100 -\font_tt_scale 100 +\font_sf_scale 100 100 +\font_tt_scale 100 100 \graphics default \default_output_format default \output_sync 0 @@ -26712,6 +26702,36 @@ Flotante en el lado derecho. \end_layout +\begin_layout Standard + +\lang english +An alternative and simpler solution is to use the module +\family sans +Variable-width Minipages +\family default +, see sec. +\begin_inset space \thinspace{} +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Minipáginas" + +\end_inset + +. + Variable-width minipages adapt automatically to the width of the figures + and tables. + They do not require an explicit width to be given, and they improve the + horizontal alignment of the figures. + The LyX example file +\emph on +varwidth-floats-side-by-side +\emph default + gives examples of how to do this. +\end_layout + \begin_layout Section Formato de las leyendas \begin_inset Index idx @@ -33817,6 +33837,32 @@ Nota: \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +\SpecialChar LyX + has also basic support for minipages whose size is automatically determined + by the width of their contents, via the module +\family sans +Variable-width Minipages +\family default +. + The \SpecialChar LyX + example file +\emph on +varwidth-floats-side-by-side +\emph default + gives examples of variable-width minipages used for placing two floats + side-by-side. +\end_layout + \begin_layout Section Marcos de párrafo \begin_inset CommandInset label @@ -34618,9 +34664,9 @@ Marcos girados y a escala \end_layout \begin_layout Standard -Para poder usar +Para poder usar los marcos \lang english - the boxes described in this section, the module +described in this section, the module \family sans GraphicBoxes \family default @@ -34688,7 +34734,11 @@ Material rotado \begin_layout Standard Para girar material debes ponerlo \lang english - into a rotated box. + into a +\family sans +Rotatebox +\family default +. Such a box is inserted via the menu \family sans Insert\SpecialChar menuseparator @@ -35033,6 +35083,32 @@ Cuadros ! Girar \end_inset +\end_layout + +\begin_layout Standard + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + If the +\family sans +Angle +\family default + inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX + + errors when viewing/exporting the document. +\end_layout + +\end_inset + + \end_layout \begin_layout Subsection @@ -35060,117 +35136,138 @@ Material a escala \end_layout \begin_layout Standard -Para modificar las proporciones de un material se pueden usar los comandos - -\series bold - -\backslash -scalebox -\series default - y -\series bold - -\backslash -resizebox -\series default -en código \SpecialChar TeX +Para modificar las proporciones de un material +\lang english + put it into a +\family sans +Scalebox +\family default +. + Such a box is inserted via the menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Scalebox +\family default . \end_layout \begin_layout Standard -\series bold - -\backslash -scalebox -\series default - se usa con el esquema siguiente: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -scalebox{horizontal}[vertical]{contenido del marco} +\lang english +The +\family sans +Scalebox +\family default + inset has the mandatory inset +\family sans +H-Factor +\family default + and the optional inset +\family sans +V-Factor +\family default + (inserted via the menu +\family sans +Insert\SpecialChar menuseparator +V-Factor) +\family default +. + Input there there horizontal and vertical scale factor, respectively. + If no +\family sans +V-Factor +\family default + inset is used +\lang spanish +, su valor será el mismo que el factor de escala horizontal. \end_layout \begin_layout Standard -\emph on -horizontal -\emph default - y -\emph on -vertical -\emph default - son los factores de escala correspondientes. - Si no se especifica factor vertical, su valor será el mismo que el factor - de escala horizontal. - -\end_layout - -\begin_layout Standard -Por ejemplo, el comando +\lang english +To get for example +\lang spanish +de doble tamaño que el texto normal del documento +\lang english +, insert \series bold - -\backslash -scalebox{2}{Hola} +2 \series default -crea un -\begin_inset ERT -status collapsed + into the +\family sans +H-Factor +\family default + inset. + An example +\lang spanish +: +\begin_inset Flex Scalebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -scalebox{2}{ +\begin_layout Plain Layout +2 \end_layout \end_inset Hola -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset - de doble tamaño que el texto normal del documento. + \end_layout \begin_layout Standard -El comando -\series bold -\backslash -scalebox{2}[1]{Hola} +\series bold +\lang english +2 \series default -distorsiona el -\begin_inset ERT -status collapsed + as +\family sans +H-Factor +\family default + and +\series bold +1 +\series default + as +\family sans +V-Factor +\family default + distorts the +\lang spanish + +\begin_inset Flex Scalebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -scalebox{2}[1]{ +\begin_layout Plain Layout +2 \end_layout \end_inset -Hola -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +1 +\end_layout -} +\end_inset + +Hola \end_layout \end_inset @@ -35179,152 +35276,288 @@ status collapsed \end_layout \begin_layout Standard -Si un factor de escala es negativo el contenido del marco es reflejado. - Por eso el comando -\series bold -\backslash -scalebox{-1}[1]{Hola} +\lang english +If the scaling factor is negative, the box content will be mirrored. + Therefore +\series bold +-1 \series default -puede usarse para reflejar un texto: -\begin_inset ERT -status collapsed + as +\family sans +H-Factor +\family default + and +\series bold +1 +\series default + as +\family sans +V-Factor +\family default + can be used to create mirror writing +\lang spanish +: +\begin_inset Flex Scalebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -scalebox{-1}[1]{ +\begin_layout Plain Layout +-1 \end_layout \end_inset -Hola -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +1 +\end_layout -} +\end_inset + +Hola \end_layout \end_inset -. + \end_layout \begin_layout Standard \series bold - -\backslash -scalebox{1}[-1]{Hola} +\lang english +-1 \series default -refleja el -\begin_inset ERT -status collapsed + as +\family sans +H-Factor +\family default + and +\series bold +1 +\series default + as +\family sans +V-Factor +\family default + reflects the +\lang spanish + +\begin_inset Flex Scalebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -scalebox{1}[-1]{ +\begin_layout Plain Layout +1 \end_layout \end_inset -Hola -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +-1 +\end_layout -} +\end_inset + +Hola \end_layout \end_inset - sobre la base. + +\lang english +at the base line. \end_layout \begin_layout Standard -El comando -\series bold -\backslash -scalebox{-1}[1]{contenido del cuadro} +\lang english +The +\family sans +Reflectbox +\family default + (menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Reflectbox +\family default +) is equivalent to +\series bold +-1 \series default -puede sustituirse por + as +\family sans +H-Factor +\family default + and \series bold +1 +\series default + as +\family sans +V-Factor +\family default +for a +\family sans +Scalebox +\family default +. +\end_layout -\begin_inset Newline newline -\end_inset - - -\backslash -reflectbox{contenido del cuadro} -\begin_inset VSpace defskip -\end_inset +\begin_layout Standard +\lang english +\begin_inset Note Greyedout +status open -\end_layout +\begin_layout Plain Layout -\begin_layout Standard -El comando \series bold - -\backslash -resizebox +\lang english +Note: \series default - sirve para redimensionar el marco a una altura y anchura definidas, según - el esquema: + If the +\family sans +H-Factor +\family default + inset is empty or contains other characters than numbers you will get LaTeX + errors when viewing/exporting the document. \end_layout -\begin_layout Standard +\end_inset -\series bold -\backslash -resizebox{anchura}{altura}{contenido del marco} \end_layout \begin_layout Standard -Si uno de los argumentos del comando es un signo de exclamación, +\begin_inset VSpace bigskip +\end_inset + + +\lang english +The +\family sans +Resizebox +\family default + (menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Resizebox +\family default +) is used to scale the content to a defined width and height. + The +\family sans +Resizebox +\family default + inset has the mandatory inset +\family sans +Width +\family default + and the optional inset +\family sans +Height +\family default + (inserted via the menu +\family sans +Insert\SpecialChar menuseparator +Height) +\family default +. + Input there there width and height, respectively, as value with a unit. + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Unidades" + +\end_inset + + lists the possible units. + If there is an +\lang spanish +signo de exclamación, \series bold ! \series default +, +\lang english +in of of the two insets +\lang spanish , la escala se hace de forma que se mantiene la relación de las dimensiones originales del contenido del marco. - + +\lang english + If no +\family sans +Height +\family default + inset is used an +\lang spanish +signo de exclamación +\lang english + will internally be used for the height. \end_layout \begin_layout Standard -El comando -\series bold -\backslash -resizebox{2cm}{1cm}{Hola} +\series bold +\lang english +2cm \series default - genera: -\begin_inset ERT -status collapsed + as +\family sans +Width +\family default + and +\series bold +1cm +\series default + as +\family sans +Height +\family default + produces: +\lang spanish + +\begin_inset Flex Resizebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -resizebox{2cm}{1cm}{ +\begin_layout Plain Layout +2cm \end_layout \end_inset -Hola -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +1cm +\end_layout -} +\end_inset + +Hola \end_layout \end_inset @@ -35333,77 +35566,88 @@ status collapsed \begin_inset Newline newline \end_inset -El comando -\series bold -\backslash -resizebox{2cm}{!}{Hola} +\series bold +\lang english +2cm \series default - genera: -\begin_inset ERT -status collapsed + as +\family sans +Width +\family default + and +\series bold +! +\series default + as +\family sans +Height +\family default + (or no +\family sans +Height +\family default +) produces: +\lang spanish + +\begin_inset Flex Resizebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -resizebox{2cm}{!}{ +\begin_layout Plain Layout +2cm \end_layout \end_inset -Hola -\begin_inset ERT -status collapsed -\begin_layout Plain Layout +\begin_inset Argument 2 +status open -} +\begin_layout Plain Layout +! \end_layout \end_inset - +Hola \end_layout -\begin_layout Standard -\begin_inset VSpace defskip \end_inset \end_layout \begin_layout Standard + +\lang english \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold -Nota: -\series default -Si los argumentos de -\series bold - -\backslash -scalebox -\series default - o -\series bold - -\backslash -resizebox +\lang english +Note: \series default - son cero, no se generan errores de \SpecialChar LaTeX - al exportar el documento, pero puede - suceder que la salida no se muestre o que sea incompleta. - + If the +\family sans +Width +\family default + inset is empty or contains an invalid unit you will get LaTeX errors when + viewing/exporting the document. \end_layout \end_inset -\begin_inset VSpace defskip +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip \end_inset @@ -35411,57 +35655,74 @@ resizebox \begin_layout Standard Los marcos se pueden combinar en cualquier orden. - Por ejemplo, el comando -\series bold -\begin_inset Newline newline -\end_inset +\lang english + As example a +\family sans +Reflectbox +\family default + inside a +\family sans +Resizebox +\family default + which is in turn inside a +\family sans +Rotatebox +\family default +: +\end_layout +\begin_layout Standard +\noindent +\align center +\begin_inset Flex Rotatebox +status open -\backslash -rotatebox[origin=c]{-45}{ -\backslash -resizebox{2cm}{!}{ -\backslash -reflectbox{Hola}}} -\begin_inset Newline newline -\end_inset +\begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=c +\end_layout -\series default -genera: -\begin_inset Separator parbreak \end_inset +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +-45 \end_layout -\begin_layout Standard -\noindent -\align center -\begin_inset ERT -status collapsed +\end_inset -\begin_layout Plain Layout +\begin_inset Flex Resizebox +status open -\backslash -rotatebox[origin=c]{-45}{ -\backslash -resizebox{2cm}{!}{ -\backslash -reflectbox{ +\begin_layout Plain Layout +\begin_inset Argument 1 +status open + +\begin_layout Plain Layout +2cm \end_layout \end_inset -Hola -\begin_inset ERT -status collapsed + +\begin_inset Flex Reflectbox +status open \begin_layout Plain Layout +Hola +\end_layout + +\end_inset + -}}} \end_layout \end_inset @@ -35469,34 +35730,37 @@ status collapsed \end_layout -\begin_layout Standard -\noindent -Un marco puede contener imágenes, cuadros y ecuaciones en línea: -\begin_inset Separator parbreak \end_inset \end_layout \begin_layout Standard +\noindent +Un marco puede contener imágenes, cuadros y ecuaciones en línea: +\end_layout + +\begin_layout Standard +\noindent \align center -\begin_inset ERT -status collapsed +\begin_inset Flex Resizebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{-30}{ -\backslash -resizebox{2cm}{!}{ -\backslash -reflectbox{ +\begin_layout Plain Layout +2cm \end_layout \end_inset +\begin_inset Flex Reflectbox +status open + +\begin_layout Plain Layout \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 @@ -35505,34 +35769,34 @@ reflectbox{ \end_inset -\begin_inset ERT -status collapsed +\end_layout + +\end_inset -\begin_layout Plain Layout -}}} \end_layout \end_inset - -\begin_inset ERT -status collapsed + +\begin_inset Flex Resizebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{-45}{ -\backslash -resizebox{2cm}{!}{ -\backslash -reflectbox{ +\begin_layout Plain Layout +2cm \end_layout \end_inset +\begin_inset Flex Reflectbox +status open + +\begin_layout Plain Layout \begin_inset Tabular @@ -35583,44 +35847,43 @@ r \end_inset -\begin_inset ERT -status collapsed +\end_layout + +\end_inset -\begin_layout Plain Layout -}}} \end_layout \end_inset - -\begin_inset ERT -status collapsed + +\begin_inset Flex Resizebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{-45}{ -\backslash -resizebox{2cm}{!}{ -\backslash -reflectbox{ +\begin_layout Plain Layout +3cm \end_layout \end_inset +\begin_inset Flex Reflectbox +status open + +\begin_layout Plain Layout \begin_inset Formula $\int A\,\mathrm{d}x=B$ \end_inset -\begin_inset ERT -status collapsed +\end_layout + +\end_inset -\begin_layout Plain Layout -}}} \end_layout \end_inset