EmbeddedObjects.lyx: describe rotate boxes properly

- We have now a module for them
(the description of scaled boxes etc will follow soon)
This commit is contained in:
Uwe Stöhr 2015-11-04 00:13:45 +01:00
parent 76dfde36d4
commit cb51493f94
5 changed files with 557 additions and 682 deletions

View File

@ -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:
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
\series bold
\backslash
rotatebox[rotation origin]{rotation angle}{box content}
\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
\begin_layout Plain Layout
origin=c
\end_layout
\end_inset
\backslash
rotatebox[origin=c]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
with rotated
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
@ -35246,14 +35203,25 @@ The box content can also be another box or an inline formula:
\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
\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
@ -35284,25 +35252,30 @@ 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
\begin_layout Plain Layout
origin=lb
\end_layout
\end_inset
\backslash
rotatebox[origin=lb]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
@ -35312,12 +35285,6 @@ rotatebox[origin=lb]{60}{
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
@ -35331,14 +35298,25 @@ or an image or table:
\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
\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
@ -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

View File

@ -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 <uwestoehr@web.de>
\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:
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
\series bold
\backslash
rotatebox[Drehpunkt]{Winkel}{Boxinhalt}
\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
\begin_layout Plain Layout
origin=c
\end_layout
\end_inset
\backslash
rotatebox[origin=c]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
mit rotiertem
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\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,25 +35383,30 @@ 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
\begin_layout Plain Layout
origin=lb
\end_layout
\end_inset
\backslash
rotatebox[origin=lb]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
@ -35437,12 +35416,6 @@ rotatebox[origin=lb]{60}{
\end_inset
\begin_inset ERT
status collapsed
\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
\end_inset
\backslash
rotatebox[origin=lb]{90}{
\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

View File

@ -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:
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
\series bold
\backslash
rotatebox[origen de rotación]{ángulo de rotación}{contenido del marco}
\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
\begin_layout Plain Layout
origin=c
\end_layout
\end_inset
\backslash
rotatebox[origin=c]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
con rotación
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\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
\end_inset
\backslash
rotatebox[origin=r]{-60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
-60
\end_layout
\end_inset
@ -34874,25 +34861,30 @@ 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
\begin_layout Plain Layout
origin=lb
\end_layout
\end_inset
\backslash
rotatebox[origin=lb]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
@ -34902,12 +34894,6 @@ rotatebox[origin=lb]{60}{
\end_inset
\begin_inset ERT
status collapsed
\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

View File

@ -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
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
\series bold
\backslash
rotatebox[origine rotation]{angle rotation}{contenu de la boîte}
\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
\end_inset
\backslash
rotatebox[origin=r]{-60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
-60
\end_layout
\end_inset
@ -35998,31 +35967,36 @@ 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
\begin_layout Plain Layout
origin=lb
\end_layout
\end_inset
\backslash
rotatebox[origin=lb]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
@ -36032,12 +36006,6 @@ rotatebox[origin=lb]{60}{
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
@ -36051,14 +36019,25 @@ ou encore une figure ou un tableau :
\begin_layout Standard
Voici une ligne
\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
@ -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

View File

@ -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}{
\series default
というコマンドを挿入し、文章の後に\SpecialChar TeX
コードで閉じ括弧
\lang english
In the following example
\series bold
}
origin=c
\series default
でボックスを閉じています。
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
\begin_layout Plain Layout
origin=c
\end_layout
\end_inset
\backslash
rotatebox[origin=c]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
回転した
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\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
\end_inset
\backslash
rotatebox[origin=r]{-60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
@ -33255,25 +33237,30 @@ 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
\begin_layout Plain Layout
origin=lb
\end_layout
\end_inset
\backslash
rotatebox[origin=lb]{60}{
\begin_inset Argument 2
status open
\begin_layout Plain Layout
60
\end_layout
\end_inset
@ -33283,12 +33270,6 @@ rotatebox[origin=lb]{60}{
\end_inset
\begin_inset ERT
status collapsed
\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
\end_inset
\backslash
rotatebox[origin=lb]{90}{
\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