From cb51493f94e6967d1c8db4e20367bcf9a50e3368 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 4 Nov 2015 00:13:45 +0100 Subject: [PATCH] EmbeddedObjects.lyx: describe rotate boxes properly - We have now a module for them (the description of scaled boxes etc will follow soon) --- lib/doc/EmbeddedObjects.lyx | 245 +++++++++++++----------------- lib/doc/de/EmbeddedObjects.lyx | 229 +++++++++++++--------------- lib/doc/es/EmbeddedObjects.lyx | 244 ++++++++++++++---------------- lib/doc/fr/EmbeddedObjects.lyx | 268 +++++++++++++++------------------ lib/doc/ja/EmbeddedObjects.lyx | 243 ++++++++++++++---------------- 5 files changed, 552 insertions(+), 677 deletions(-) diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx index 3f195677dc..2275653503 100644 --- a/lib/doc/EmbeddedObjects.lyx +++ b/lib/doc/EmbeddedObjects.lyx @@ -1,5 +1,5 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 498 +\lyxformat 499 \begin_document \begin_header \origin unavailable @@ -65,9 +65,6 @@ % speed up the longtable calculation \setcounter{LTchunksize}{100} -% used for scaled and rotated boxes -\@ifundefined{rotatebox}{\usepackage{graphicx}}{} - % used for colored tables \@ifundefined{textcolor} {\usepackage{color}}{} @@ -166,6 +163,7 @@ \use_default_options false \begin_modules initials +graphicboxes \end_modules \maintain_unincluded_children false \language english @@ -296,7 +294,7 @@ author: Uwe Stöhr \family sans -Version 2.1.x +Version 2.2.x \end_layout \begin_layout Standard @@ -16778,7 +16776,7 @@ status collapsed \begin_layout Standard As you will see, the content of the first and last table row is not correctly aligned. - To get this alignment, the minipage box must be set into a raisebox + To get this alignment, the minipage box must be set into a raisebox. \begin_inset Foot status collapsed @@ -16799,7 +16797,6 @@ reference "subsec:Vertical-Alignment" \end_inset -. In the example above the second table in the first item is aligned using the \SpecialChar TeX Code command @@ -35020,52 +35017,11 @@ Rotated and Scaled Boxes \end_layout \begin_layout Standard -To use the commands described in this section, the \SpecialChar LaTeX --package -\series bold -graphicx -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -\SpecialChar LaTeX --packages ! graphicx -\end_layout - -\end_inset - - needs to be loaded in the document preamble with the command -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -@ifundefined{rotatebox} -\begin_inset Newline newline -\end_inset - - -\begin_inset Phantom HPhantom -status open - -\begin_layout Plain Layout - -\series bold -\begin_inset space ~ -\end_inset - - -\end_layout - -\end_inset - -{ -\backslash -usepackage{graphicx}}{} +To use the boxes described in this section, the module +\family sans +GraphicBoxes +\family default + must be loaded in the document settings. \end_layout \begin_layout Standard @@ -35128,26 +35084,26 @@ Rotated Material \begin_layout Standard To rotate material, you can put it into a rotated box. - Such a box is created using the command -\series bold - -\backslash -rotatebox -\series default - in \SpecialChar TeX - Code with the following scheme: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -rotatebox[rotation origin]{rotation angle}{box content} + Such a box is inserted via the menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Rotatebox +\family default +. \end_layout \begin_layout Standard -The rotation origin is specified in the form +The rotation origin can be specified via the inset +\family sans +Origin +\family default + (menu +\family sans +Insert\SpecialChar menuseparator +Origin +\family default +) in the form \series bold origin=position \series default @@ -35189,50 +35145,51 @@ l \end_layout \begin_layout Standard -In the following example the command +In the following example \series bold - -\backslash -rotatebox[origin=c]{60}{ +origin=c \series default - was inserted as \SpecialChar TeX - Code before the text -\begin_inset Quotes eld -\end_inset - -with rotated -\begin_inset Quotes erd -\end_inset - -; after the text the box was closed by a closing brace + was inserted to the +\family sans +Option +\family default + inset and \series bold -} +60 \series default - in \SpecialChar TeX - Code. + was inserted to the +\family sans +Angle +\family default + inset. \end_layout \begin_layout Standard This is a line -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{60}{ +\begin_layout Plain Layout +origin=c \end_layout \end_inset -with rotated -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +60 +\end_layout -} +\end_inset + +with rotated \end_layout \end_inset @@ -35245,15 +35202,26 @@ The box content can also be another box or an inline formula: \end_layout \begin_layout Standard -This is a line -\begin_inset ERT -status collapsed +This is a line +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=r +\end_layout -\backslash -rotatebox[origin=r]{-60}{ +\end_inset + + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +-60 \end_layout \end_inset @@ -35284,40 +35252,39 @@ with rotated \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset framed text -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=lb]{60}{ +\begin_layout Plain Layout +origin=lb \end_layout \end_inset -\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 +\end_layout + \end_inset -\begin_inset ERT -status collapsed +\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_inset -\begin_layout Plain Layout -} \end_layout \end_inset @@ -35330,15 +35297,26 @@ or an image or table: \end_layout \begin_layout Standard -This is a line -\begin_inset ERT -status collapsed +This is a line +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=lb +\end_layout -\backslash -rotatebox[origin=lb]{90}{ +\end_inset + + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +90 \end_layout \end_inset @@ -35352,25 +35330,20 @@ rotatebox[origin=lb]{90}{ \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset with a rotated image -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 2 +status open - -\backslash -rotatebox[origin=l]{-90}{ +\begin_layout Plain Layout +-90 \end_layout \end_inset @@ -35426,12 +35399,6 @@ r \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset diff --git a/lib/doc/de/EmbeddedObjects.lyx b/lib/doc/de/EmbeddedObjects.lyx index dee182c1f4..4af240af73 100644 --- a/lib/doc/de/EmbeddedObjects.lyx +++ b/lib/doc/de/EmbeddedObjects.lyx @@ -1,5 +1,5 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 498 +\lyxformat 499 \begin_document \begin_header \origin unavailable @@ -63,9 +63,6 @@ % beschleunigt die Berechnung von langen Tabellen \setcounter{LTchunksize}{100} -% wird für skalierte und rotierte Boxen benötigt -\@ifundefined{rotatebox}{\usepackage{graphicx}}{} - % wird bei farbigen Tabellen benutzt \@ifundefined{textcolor} {\usepackage{color}}{} @@ -169,6 +166,7 @@ \use_default_options false \begin_modules initials +graphicboxes \end_modules \maintain_unincluded_children false \language ngerman @@ -316,7 +314,7 @@ Autor: Uwe Stöhr \family sans -Version 2.1.x +Version 2.2.x \end_layout \begin_layout Standard @@ -35149,52 +35147,8 @@ Rotierte und skalierte Boxen \end_layout \begin_layout Standard -Um die Befehle dieses Abschnitts nutzen zu können, muss das Paket -\series bold -graphicx -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -\SpecialChar LaTeX --Pakete ! graphicx -\end_layout - -\end_inset - - im \SpecialChar LaTeX --Vorspann mit folgendem Befehl geladen werden: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -@ifundefined{rotatebox} -\begin_inset Newline newline -\end_inset - - -\begin_inset Phantom HPhantom -status open - -\begin_layout Plain Layout - -\series bold -\begin_inset space ~ -\end_inset - - -\end_layout - -\end_inset - -{ -\backslash -usepackage{graphicx}}{} +Um die in diesem Abschnitt beschriebenen Boxen nutzen zu können, muss das + Modul ?? in den Dokumenteinstellungen geladen sein. \end_layout \begin_layout Standard @@ -35256,26 +35210,27 @@ Rotiertes Material \end_layout \begin_layout Standard -Um Text zu drehen, verwendet man den Befehl -\series bold - -\backslash -rotatebox -\series default - im \SpecialChar TeX --Code nach folgendem Schema: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -rotatebox[Drehpunkt]{Winkel}{Boxinhalt} +Um Text zu drehen, setzt man ihn in eine Rotationsbox. + Solch eine Box wird über das Menü +\family sans +Einfügen\SpecialChar menuseparator +Benutzerdefinierte Einfügungen\SpecialChar menuseparator +Rotationsbox +\family default + eingefügt. \end_layout \begin_layout Standard -Der Drehpunkt wird mit +Der Drehpunkt kann über die Einfügung +\family sans +Drehpunkt +\family default + (Menü +\family sans +Einfügen\SpecialChar menuseparator +Drehpunkt +\family default +) in der Form \series bold origin=Position \series default @@ -35321,43 +35276,51 @@ l \end_layout \begin_layout Standard -Im folgenden Beispiel wurde vor dem Text der Befehl +Im folgenden Beispiel wurde \series bold - -\backslash -rotatebox[origin=c]{60}{ + origin=c \series default - im \SpecialChar TeX --Modus eingegeben. - Nach dem Text wurde die schließende Klammer + in the Einfügung +\family sans +Drehpunkt +\family default + und \series bold -} +60 \series default - wiederum im \SpecialChar TeX --Modus eingegeben. + in die Einfügung +\family sans +Winkel +\family default + eingegeben. \end_layout \begin_layout Standard Dies ist eine Zeile -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{60}{ +\begin_layout Plain Layout +origin=c \end_layout \end_inset -mit rotiertem -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +60 +\end_layout -} +\end_inset + +mit rotiertem \end_layout \end_inset @@ -35371,14 +35334,25 @@ Der Boxinhalt kann auch eine andere Box oder eine eingebettete Formel sein: \begin_layout Standard Dies ist eine Zeile -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open + +\begin_layout Plain Layout +\begin_inset Argument 1 +status open \begin_layout Plain Layout +origin=r +\end_layout +\end_inset -\backslash -rotatebox[origin=r]{-60}{ + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +-60 \end_layout \end_inset @@ -35409,40 +35383,39 @@ mit rotiertem \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset umrandeten Text -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=lb]{60}{ +\begin_layout Plain Layout +origin=lb \end_layout \end_inset -\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 +\end_layout + \end_inset -\begin_inset ERT -status collapsed +\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_inset -\begin_layout Plain Layout -} \end_layout \end_inset @@ -35456,14 +35429,25 @@ Oder ein Bild oder Tabelle: \begin_layout Standard Dies ist eine Zeile -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=lb +\end_layout -\backslash -rotatebox[origin=lb]{90}{ +\end_inset + + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +90 \end_layout \end_inset @@ -35477,25 +35461,20 @@ rotatebox[origin=lb]{90}{ \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset mit einem rotierten Bild -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 2 +status open - -\backslash -rotatebox[origin=l]{-90}{ +\begin_layout Plain Layout +-90 \end_layout \end_inset @@ -35551,12 +35530,6 @@ r \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset diff --git a/lib/doc/es/EmbeddedObjects.lyx b/lib/doc/es/EmbeddedObjects.lyx index 472e5391f6..36144bca9a 100644 --- a/lib/doc/es/EmbeddedObjects.lyx +++ b/lib/doc/es/EmbeddedObjects.lyx @@ -1,5 +1,5 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 498 +\lyxformat 499 \begin_document \begin_header \origin unavailable @@ -65,9 +65,6 @@ % speed up the longtable calculation \setcounter{LTchunksize}{100} -% used for scaled and rotated boxes -\@ifundefined{rotatebox}{\usepackage{graphicx}}{} - % used for colored tables \@ifundefined{textcolor} {\usepackage{color}}{} @@ -170,6 +167,7 @@ \use_default_options false \begin_modules initials +graphicboxes \end_modules \maintain_unincluded_children false \language spanish @@ -311,7 +309,7 @@ Traducción de: Ignacio García \family sans -Versión 2.1.x +Versión 2.2.x \end_layout \begin_layout Standard @@ -34620,53 +34618,13 @@ Marcos girados y a escala \end_layout \begin_layout Standard -Para poder usar los comandos descritos en esta sección hay que cargar el - paquete \SpecialChar LaTeX - -\series bold -graphicx -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -\SpecialChar LaTeX --paquetes ! graphicx -\end_layout - -\end_inset - - en el preámbulo del documento, con el comando -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -@ifundefined{rotatebox} -\begin_inset Newline newline -\end_inset - - -\begin_inset Phantom HPhantom -status open - -\begin_layout Plain Layout - -\series bold -\begin_inset space ~ -\end_inset - - -\end_layout - -\end_inset - -{ -\backslash -usepackage{graphicx}}{} +Para poder usar +\lang english + the boxes described in this section, the module +\family sans +GraphicBoxes +\family default + must be loaded in the document settings. \end_layout \begin_layout Standard @@ -34728,27 +34686,32 @@ Material rotado \end_layout \begin_layout Standard -Para girar material debes ponerlo en un marco girado. - Los marcos girados se crean con el comando -\series bold - -\backslash -rotatebox -\series default - en código \SpecialChar TeX -, según el esquema: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -rotatebox[origen de rotación]{ángulo de rotación}{contenido del marco} +Para girar material debes ponerlo +\lang english + into a rotated box. + Such a box is inserted via the menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Rotatebox +\family default +. \end_layout \begin_layout Standard -El origen de rotación se especifica en la forma +El origen de rotación +\lang english +can be specified via the inset +\family sans +Origin +\family default + (menu +\family sans +Insert\SpecialChar menuseparator +Origin +\family default +\lang spanish +) en la forma \series bold origin=position \series default @@ -34790,39 +34753,52 @@ l \end_layout \begin_layout Standard -En el siguiente ejemplo se ha insertado el comando +En el siguiente ejemplo \series bold - -\backslash -rotatebox[origin=c]{60}{ +\lang english +origin=c \series default -como código \SpecialChar TeX - delante del texto «con rotación»; después del texto, el marco - se ha cerrado con llave en código \SpecialChar TeX -. + was inserted to the +\family sans +Option +\family default + inset and +\series bold +60 +\series default + was inserted to the +\family sans +Angle +\family default + inset. \end_layout \begin_layout Standard Esta línea contiene texto -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{60}{ +\begin_layout Plain Layout +origin=c \end_layout \end_inset -con rotación -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +60 +\end_layout -} +\end_inset + +con rotación \end_layout \end_inset @@ -34836,14 +34812,25 @@ El contenido del marco puede ser también otro marco o una ecuación en línea: \begin_layout Standard En esta línea hay texto enmarcado -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=r +\end_layout -\backslash -rotatebox[origin=r]{-60}{ +\end_inset + + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +-60 \end_layout \end_inset @@ -34874,40 +34861,39 @@ con rotación \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset y -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=lb]{60}{ +\begin_layout Plain Layout +origin=lb \end_layout \end_inset -\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 +\end_layout + \end_inset -\begin_inset ERT -status collapsed +\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_inset -\begin_layout Plain Layout -} \end_layout \end_inset @@ -34921,14 +34907,25 @@ O una imagen o un cuadro: \begin_layout Standard Aquí hay una imagen girada -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open + +\begin_layout Plain Layout +\begin_inset Argument 1 +status open \begin_layout Plain Layout +origin=lb +\end_layout +\end_inset -\backslash -rotatebox[origin=lb]{90}{ + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +90 \end_layout \end_inset @@ -34942,25 +34939,20 @@ rotatebox[origin=lb]{90}{ \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset y un cuadro girado -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 2 +status open - -\backslash -rotatebox[origin=l]{-90}{ +\begin_layout Plain Layout +-90 \end_layout \end_inset @@ -35016,17 +35008,11 @@ r \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset - +. \begin_inset Index idx status collapsed diff --git a/lib/doc/fr/EmbeddedObjects.lyx b/lib/doc/fr/EmbeddedObjects.lyx index d75aad70d8..1bbc3ab6fb 100644 --- a/lib/doc/fr/EmbeddedObjects.lyx +++ b/lib/doc/fr/EmbeddedObjects.lyx @@ -1,5 +1,5 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 498 +\lyxformat 499 \begin_document \begin_header \origin unavailable @@ -65,9 +65,6 @@ % speed up the longtable calculation \setcounter{LTchunksize}{100} -% used for scaled and rotated boxes -\@ifundefined{rotatebox}{\usepackage{graphicx}}{} - % used for colored tables \@ifundefined{textcolor} {\usepackage{color}}{} @@ -172,6 +169,7 @@ \use_default_options false \begin_modules initials +graphicboxes \end_modules \maintain_unincluded_children false \language french @@ -321,7 +319,7 @@ Remplacement de « appendice » par « annexe », 31/12/2014 (JPC) \family sans -Version 2.1.x +Version 2.2.x \end_layout \begin_layout Standard @@ -35711,53 +35709,13 @@ Les boîtes pivotées et redimensionnées \end_layout \begin_layout Standard -Pour pouvoir utiliser les commandes décrites dans cette section, vous devez - charger le paquetage \SpecialChar LaTeX - -\series bold -graphicx -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Paquetages \SpecialChar LaTeX - ! graphicx -\end_layout - -\end_inset - - dans le préambule de votre document avec la commande -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -@ifundefined{rotatebox} -\begin_inset Newline newline -\end_inset - - -\begin_inset Phantom HPhantom -status open - -\begin_layout Plain Layout - -\series bold -\begin_inset space ~ -\end_inset - - -\end_layout - -\end_inset - -{ -\backslash -usepackage{graphicx}}{} +Pour pouvoir utiliser +\lang english + the boxes described in this section, the module +\family sans +GraphicBoxes +\family default + must be loaded in the document settings. \end_layout \begin_layout Description @@ -35824,29 +35782,32 @@ Pivoter des objets \end_layout \begin_layout Standard -Pour faire tourner des objets, vous pouvez les mettre dans une boîte pivotante - (rotated). - Une telle boîte est créée avec la commande -\series bold - -\backslash -rotatebox -\series default - en code \SpecialChar TeX - avec la syntaxe -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -rotatebox[origine rotation]{angle rotation}{contenu de la boîte} +Pour faire tourner des objets, vous pouvez les mettre dans une +\lang english + rotated box. + Such a box is inserted via the menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Rotatebox +\family default +. \end_layout \begin_layout Standard -La position du pivot est donnée par l'origine de rotation spécifiée sous - la forme +La position du pivot +\lang english +can be specified via the inset +\family sans +Origin +\family default + (menu +\family sans +Insert\SpecialChar menuseparator +Origin +\family default +\lang french +) sous la forme \series bold origin=position \series default @@ -35904,55 +35865,52 @@ l \end_layout \begin_layout Standard -Dans l'exemple qui suit, la commande +Dans l'exemple qui suit, \series bold - -\backslash -rotatebox[origin=c]{60}{ +\lang english +origin=c \series default - a été insérée en code \SpecialChar TeX - juste avant le texte -\begin_inset Quotes fld -\end_inset - -pivoté de 90° -\begin_inset Quotes frd -\end_inset - - ; la boîte est refermée juste après le texte par une accolade fermante - -\begin_inset Quotes fld -\end_inset - -} -\begin_inset Quotes frd -\end_inset - - en code \SpecialChar TeX -. + was inserted to the +\family sans +Option +\family default + inset and +\series bold +60 +\series default + was inserted to the +\family sans +Angle +\family default + inset. \end_layout \begin_layout Standard -Voici une ligne avec du texte -\begin_inset ERT -status collapsed +Voici une ligne avec du +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{60}{ +\begin_layout Plain Layout +origin=c \end_layout \end_inset -pivoté de 60° -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +60 +\end_layout -} +\end_inset + +texte pivoté \end_layout \end_inset @@ -35965,15 +35923,26 @@ La boîte peut contenir une autre boîte ou une formule en ligne : \end_layout \begin_layout Standard -Voici une ligne avec du texte -\begin_inset ERT -status collapsed +Voici une ligne avec du +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=r +\end_layout -\backslash -rotatebox[origin=r]{-60}{ +\end_inset + + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +-60 \end_layout \end_inset @@ -35998,46 +35967,45 @@ backgroundcolor "none" status collapsed \begin_layout Plain Layout -pivoté de -60° +texte pivoté \end_layout \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset et encadré -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=lb]{60}{ +\begin_layout Plain Layout +origin=lb \end_layout \end_inset -\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 +\end_layout + \end_inset -\begin_inset ERT -status collapsed +\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_inset -\begin_layout Plain Layout -} \end_layout \end_inset @@ -36050,15 +36018,26 @@ ou encore une figure ou un tableau : \end_layout \begin_layout Standard -Voici une ligne -\begin_inset ERT -status collapsed +Voici une ligne +\begin_inset Flex Rotatebox +status open + +\begin_layout Plain Layout +\begin_inset Argument 1 +status open \begin_layout Plain Layout +origin=lb +\end_layout + +\end_inset -\backslash -rotatebox[origin=lb]{90}{ +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +90 \end_layout \end_inset @@ -36072,25 +36051,20 @@ rotatebox[origin=lb]{90}{ \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset avec une image pivotée de 90° -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 2 +status open - -\backslash -rotatebox[origin=l]{-90}{ +\begin_layout Plain Layout +-90 \end_layout \end_inset @@ -36146,12 +36120,6 @@ r \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset diff --git a/lib/doc/ja/EmbeddedObjects.lyx b/lib/doc/ja/EmbeddedObjects.lyx index 5b03947298..292fbe3875 100644 --- a/lib/doc/ja/EmbeddedObjects.lyx +++ b/lib/doc/ja/EmbeddedObjects.lyx @@ -1,5 +1,5 @@ #LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 498 +\lyxformat 499 \begin_document \begin_header \origin unavailable @@ -71,9 +71,6 @@ % speed up the longtable calculation \setcounter{LTchunksize}{100} -% used for scaled and rotated boxes -\@ifundefined{rotatebox}{\usepackage{graphicx}}{} - % used for colored tables \@ifundefined{textcolor} {\usepackage{color}}{} @@ -180,6 +177,7 @@ \use_default_options false \begin_modules initials +graphicboxes \end_modules \maintain_unincluded_children false \begin_local_layout @@ -343,7 +341,7 @@ status collapsed \family sans -第2.1.x版 +第2.2.x版 \end_layout \begin_layout Standard @@ -32981,57 +32979,13 @@ fcolorbox{枠の色}{ボックスの色}{ボックスの内容} \end_layout \begin_layout Standard -本節で述べられているコマンドを使用するには、文書プリアンブルで -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -@ifundefined{rotatebox} -\begin_inset Newline newline -\end_inset - - -\begin_inset Phantom HPhantom -status open - -\begin_layout Plain Layout - -\series bold -\begin_inset space ~ -\end_inset - - -\end_layout -\end_inset - -{ -\backslash -usepackage{graphicx}}{} -\end_layout - -\begin_layout Standard -というコマンドを使用して、 -\series bold -graphicx -\series default - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -\SpecialChar LaTeX -ぱっけーじ@\SpecialChar LaTeX -パッケージ ! graphicx -\end_layout - -\end_inset - -\SpecialChar LaTeX -パッケージを読み込む必要があります。 +\lang english +To use the boxes described in this section, the module +\family sans +GraphicBoxes +\family default + must be loaded in the document settings. \end_layout \begin_layout Standard @@ -33113,30 +33067,36 @@ status collapsed \end_layout \begin_layout Standard -何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、\SpecialChar TeX -コードで以下のような書式で -\series bold -\backslash -rotatebox -\series default -コマンドを使用すれば作成することができます。 +\lang english +To rotate material, you can put it into a rotated box. + Such a box is inserted via the menu +\family sans +Insert\SpecialChar menuseparator +Custom Insets\SpecialChar menuseparator +Rotatebox +\family default +. \end_layout \begin_layout Standard +\lang english +The rotation origin can be specified via the inset +\family sans +Origin +\family default + (menu +\family sans +Insert\SpecialChar menuseparator +Origin +\family default +) in the form \series bold - -\backslash -rotatebox[回転の原点]{回転角}{ボックスの内容} -\end_layout - -\begin_layout Standard -回転の原点は、 -\series bold +\lang japanese origin=位置 \series default -の形で指定します。位置として指定可能なのは、 +。位置として指定可能なのは、 \emph on c \emph default @@ -33168,47 +33128,58 @@ l \end_layout \begin_layout Standard -以下の例では、「回転した」文章の前に\SpecialChar TeX -コードで -\series bold -\backslash -rotatebox[origin=c]{60}{ +\lang english +In the following example +\series bold +origin=c \series default -というコマンドを挿入し、文章の後に\SpecialChar TeX -コードで閉じ括弧 + was inserted to the +\family sans +Option +\family default + inset and \series bold -} +60 \series default -でボックスを閉じています。 + was inserted to the +\family sans +Angle +\family default + inset. \end_layout \begin_layout Standard これは、 -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=c]{60}{ +\begin_layout Plain Layout +origin=c \end_layout \end_inset -回転した -\begin_inset ERT -status collapsed + +\begin_inset Argument 2 +status open \begin_layout Plain Layout +60 +\end_layout -} +\end_inset + +回転した \end_layout \end_inset - 文章を含む行です。 +文章を含む行です。 \end_layout \begin_layout Standard @@ -33217,14 +33188,25 @@ status collapsed \begin_layout Standard これは、 -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=r +\end_layout -\backslash -rotatebox[origin=r]{-60}{ +\end_inset + + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 \end_layout \end_inset @@ -33255,40 +33237,39 @@ status open \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset 枠付き文章と -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open - -\backslash -rotatebox[origin=lb]{60}{ +\begin_layout Plain Layout +origin=lb \end_layout \end_inset -\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 +\end_layout + \end_inset -\begin_inset ERT -status collapsed +\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_inset -\begin_layout Plain Layout -} \end_layout \end_inset @@ -33302,14 +33283,25 @@ status collapsed \begin_layout Standard これは、 -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open +\begin_layout Plain Layout +origin=lb +\end_layout -\backslash -rotatebox[origin=lb]{90}{ +\end_inset + + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +90 \end_layout \end_inset @@ -33323,25 +33315,20 @@ rotatebox[origin=lb]{90}{ \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset 回転した画像と -\begin_inset ERT -status collapsed +\begin_inset Flex Rotatebox +status open \begin_layout Plain Layout +\begin_inset Argument 2 +status open - -\backslash -rotatebox[origin=l]{-90}{ +\begin_layout Plain Layout +-90 \end_layout \end_inset @@ -33397,12 +33384,6 @@ r \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset -- 2.39.2