- EmbeddedObjects.lyx: more work on boxes

- delete now unneeded images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25733 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-07-20 18:33:35 +00:00
parent ba7e6e2b03
commit 65192703ad
14 changed files with 37 additions and 986 deletions

View File

@ -2036,11 +2036,9 @@ lib_doc_clipart_files = Split('''
ERT.png ERT.png
ExternalMaterialQt4.png ExternalMaterialQt4.png
ExtraToolbar.png ExtraToolbar.png
FramedNoteImageQt4.png
GreyedOutNoteImageQt4.png GreyedOutNoteImageQt4.png
LaTeX.png LaTeX.png
LyXNoteImageQt4.png LyXNoteImageQt4.png
ShadedNoteImageQt4.png
SpaceMarker.png SpaceMarker.png
StandardToolbar.png StandardToolbar.png
ToolbarEnvBox.png ToolbarEnvBox.png
@ -2096,14 +2094,12 @@ lib_doc_de_clipart_files = Split('''
ERT.png ERT.png
ExternesMaterialQt4.png ExternesMaterialQt4.png
FussnoteQt4.png FussnoteQt4.png
GerahmteNotizQt4.png
GleitobjektQt4.png GleitobjektQt4.png
GrauschriftNotizQt4.png GrauschriftNotizQt4.png
KommentarQt4.png KommentarQt4.png
LyXNotizQt4.png LyXNotizQt4.png
Marke.png Marke.png
Querverweis.png Querverweis.png
SchattierteNotizQt4.png
StandardBoxQt4.png StandardBoxQt4.png
UnterdokumentQt4.png UnterdokumentQt4.png
''') ''')
@ -2135,9 +2131,7 @@ lib_doc_es_clipart_files = Split('''
DocumentoHijoQt4.png DocumentoHijoQt4.png
GrisNotaImagenQt4.png GrisNotaImagenQt4.png
MaterialExternoQt4.png MaterialExternoQt4.png
NotaEnmarcadaImg.png
NotaLyXImagenQt4.png NotaLyXImagenQt4.png
NotaSombreadaImg.png
Resumen.pdf Resumen.pdf
es_ERT.png es_ERT.png
etiquetaQt4.png etiquetaQt4.png
@ -2177,10 +2171,8 @@ lib_doc_fr_clipart_files = Split('''
BoxInsetDefaultQt4.png BoxInsetDefaultQt4.png
ChildDocumentQt4.png ChildDocumentQt4.png
CommentNoteImageQt4.png CommentNoteImageQt4.png
FramedNoteImageQt4.png
GreyedOutNoteImageQt4.png GreyedOutNoteImageQt4.png
LyXNoteImageQt4.png LyXNoteImageQt4.png
ShadedNoteImageQt4.png
floatQt4.png floatQt4.png
footnoteQt4.png footnoteQt4.png
labelQt4.png labelQt4.png

View File

@ -26436,7 +26436,7 @@ Boxes ! Decoration
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
The style of the box can be specified in the box-dialog in the drop-down The type of the box can be specified in the box-dialog in the drop-down
list list
\family sans \family sans
Decoration Decoration
@ -26499,7 +26499,7 @@ break When you use the decoration
simple rectangular frame simple rectangular frame
\family default \family default
and no inner box, you can allow page breaks within a box. and no inner box, you can allow page breaks within a box.
Note that then, in contrary to other framed boxes, the frame uses always Note that then, in contrary to other framed boxes, the frame always uses
the whole column width, the box is set as its own paragraph, and the whole column width, the box is set as its own paragraph, and
\series bold \series bold
@ -26685,7 +26685,7 @@ reference "sec:Colored-Boxes"
\end_inset \end_inset
, it uses always the whole column width and the box is set as its own paragraph. , it always uses the whole column width and the box is set as its own paragraph.
\begin_inset Box Shaded \begin_inset Box Shaded
position "t" position "t"
@ -26789,8 +26789,8 @@ Double rectangular box
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
LyX's box label will reflect the different frame styles. LyX's box label will reflect the different frame types.
To be able to use all styles, the LaTeX-package To be able to use all types, the LaTeX-package
\series bold \series bold
fancybox fancybox
\series default \series default
@ -27271,14 +27271,6 @@ shadowsize}{4pt}
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
Changed lengths and widths are valid for all boxes following the commands
that change them.
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout \end_layout
@ -27298,7 +27290,7 @@ pt.
\begin_inset space \thinspace{} \begin_inset space \thinspace{}
\end_inset \end_inset
pt and can be changed by changing the size pt and can be changed with the value of
\series bold \series bold
\backslash \backslash
@ -27420,17 +27412,14 @@ shaded background
\begin_inset space \thinspace{} \begin_inset space \thinspace{}
\end_inset \end_inset
pt and can be changed by changing the size pt and can be changed with the value of
\series bold \series bold
\backslash \backslash
fboxsep fboxsep
\series default \series default
. .
\begin_inset Newline newline The default background color red can either be changed locally with the
\end_inset
The default background color red can either be changed locally with the
command command
\series bold \series bold
@ -27497,11 +27486,7 @@ reference "sec:Colored-Boxes"
\end_inset \end_inset
For example the appearance of the following shaded background note is set
\end_layout
\begin_layout Standard
For example the appearance of the following shaded background note is set
with the TeX-Code commands with the TeX-Code commands
\end_layout \end_layout
@ -27603,6 +27588,14 @@ definecolor{shadecolor}{rgb}{1,0,0}
\end_layout \end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
Changed lengths and widths are valid for all boxes following the commands
that change them.
\end_layout
\begin_layout Section \begin_layout Section
Minipages Minipages
\begin_inset CommandInset label \begin_inset CommandInset label

View File

@ -25,7 +25,6 @@ dist_clipartdoc_DATA = \
clipart/ExtraToolbar.png \ clipart/ExtraToolbar.png \
clipart/floatQt4.png \ clipart/floatQt4.png \
clipart/footnoteQt4.png \ clipart/footnoteQt4.png \
clipart/FramedNoteImageQt4.png \
clipart/GreyedOutNoteImageQt4.png \ clipart/GreyedOutNoteImageQt4.png \
clipart/labelQt4.png \ clipart/labelQt4.png \
clipart/LaTeX.png \ clipart/LaTeX.png \
@ -34,7 +33,6 @@ dist_clipartdoc_DATA = \
clipart/macrouse.png \ clipart/macrouse.png \
clipart/mbox.png \ clipart/mbox.png \
clipart/referenceQt4.png \ clipart/referenceQt4.png \
clipart/ShadedNoteImageQt4.png \
clipart/SpaceMarker.png \ clipart/SpaceMarker.png \
clipart/StandardToolbar.png \ clipart/StandardToolbar.png \
clipart/ToolbarEnvBox.png \ clipart/ToolbarEnvBox.png \
@ -71,14 +69,12 @@ dist_declipartdoc_DATA = \
de/clipart/ERT.png \ de/clipart/ERT.png \
de/clipart/ExternesMaterialQt4.png \ de/clipart/ExternesMaterialQt4.png \
de/clipart/FussnoteQt4.png \ de/clipart/FussnoteQt4.png \
de/clipart/GerahmteNotizQt4.png \
de/clipart/GleitobjektQt4.png \ de/clipart/GleitobjektQt4.png \
de/clipart/GrauschriftNotizQt4.png \ de/clipart/GrauschriftNotizQt4.png \
de/clipart/KommentarQt4.png \ de/clipart/KommentarQt4.png \
de/clipart/LyXNotizQt4.png \ de/clipart/LyXNotizQt4.png \
de/clipart/Marke.png \ de/clipart/Marke.png \
de/clipart/Querverweis.png \ de/clipart/Querverweis.png \
de/clipart/SchattierteNotizQt4.png \
de/clipart/StandardBoxQt4.png \ de/clipart/StandardBoxQt4.png \
de/clipart/UnterdokumentQt4.png de/clipart/UnterdokumentQt4.png
@ -106,10 +102,8 @@ dist_esclipartdoc_DATA = \
es/clipart/flotanteQt4.png \ es/clipart/flotanteQt4.png \
es/clipart/GrisNotaImagenQt4.png \ es/clipart/GrisNotaImagenQt4.png \
es/clipart/MaterialExternoQt4.png \ es/clipart/MaterialExternoQt4.png \
es/clipart/NotaEnmarcadaImg.png \
es/clipart/NotaLyXImagenQt4.png \ es/clipart/NotaLyXImagenQt4.png \
es/clipart/notapieQt4.png \ es/clipart/notapieQt4.png \
es/clipart/NotaSombreadaImg.png \
es/clipart/referenciaQt4.png \ es/clipart/referenciaQt4.png \
es/clipart/Resumen.pdf es/clipart/Resumen.pdf
@ -142,10 +136,8 @@ dist_frclipartdoc_DATA = \
fr/clipart/BoxInsetDefaultQt4.png \ fr/clipart/BoxInsetDefaultQt4.png \
fr/clipart/ChildDocumentQt4.png \ fr/clipart/ChildDocumentQt4.png \
fr/clipart/CommentNoteImageQt4.png \ fr/clipart/CommentNoteImageQt4.png \
fr/clipart/FramedNoteImageQt4.png \
fr/clipart/GreyedOutNoteImageQt4.png \ fr/clipart/GreyedOutNoteImageQt4.png \
fr/clipart/LyXNoteImageQt4.png \ fr/clipart/LyXNoteImageQt4.png \
fr/clipart/ShadedNoteImageQt4.png \
fr/clipart/floatQt4.png \ fr/clipart/floatQt4.png \
fr/clipart/footnoteQt4.png \ fr/clipart/footnoteQt4.png \
fr/clipart/labelQt4.png fr/clipart/labelQt4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 785 B

View File

@ -24646,7 +24646,11 @@ status collapsed
\backslash \backslash
numberwithin{footnote}{part} renewcommand{
\backslash
thefootnote}{
\backslash
arabic{footnote}}
\end_layout \end_layout
\end_inset \end_inset
@ -24825,7 +24829,7 @@ usepackage{ftnright}
placement !h placement !h
wide false wide false
sideways false sideways false
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
\begin_inset ERT \begin_inset ERT
@ -24900,7 +24904,7 @@ Standard-Fußnoten-Platzierung in einem zweispaltigen Dokument
placement !h placement !h
wide false wide false
sideways false sideways false
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
\begin_inset ERT \begin_inset ERT
@ -25057,7 +25061,7 @@ theendnotes
\begin_inset Float figure \begin_inset Float figure
wide false wide false
sideways false sideways false
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
\align center \align center
@ -27069,7 +27073,7 @@ fboxrule
\backslash \backslash
fboxsep fboxsep
\series default \series default
haben keinen Einfluss auf diesen Box Typ haben. keinen Einfluss auf diesen Box Typ haben.
Die Rahmendicke wird durch Die Rahmendicke wird durch
\series bold \series bold
@ -27828,15 +27832,6 @@ shadowsize}{4pt}
\end_layout \end_layout
\begin_layout Standard
\noindent
\begin_inset VSpace bigskip
\end_inset
Die geänderten Werte gelten für alle Boxen, die auf den entsprechenden Befehl
folgen.
\end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
@ -28010,7 +28005,7 @@ definecolor
\begin_inset CommandInset ref \begin_inset CommandInset ref
LatexCommand ref LatexCommand ref
reference "abs:Farbige-Boxen" reference "abs:Farbige-Tabellen"
\end_inset \end_inset
@ -28045,11 +28040,7 @@ reference "abs:Farbige-Boxen"
\end_inset \end_inset
Für das nächste Beispiel wurden folgender TeX-Code verwendet:
\end_layout
\begin_layout Standard
Für das nächste Beispiel wurden folgender TeX-Code verwendet:
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -28144,6 +28135,14 @@ definecolor{shadecolor}{rgb}{1,0,0}
\end_layout \end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
Geänderte Längen und Breiten gelten für alle Boxen, die auf den Befehl folgen,
der sie ändert.
\end_layout
\begin_layout Section \begin_layout Section
Minipage Minipage
\begin_inset CommandInset label \begin_inset CommandInset label

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -23101,156 +23101,6 @@ Como se ve en el ejemplo, la primera línea de las notas resaltadas en gris
está un poco sangrada, y por otra parte pueden tener notas al pie. está un poco sangrada, y por otra parte pueden tener notas al pie.
\end_layout \end_layout
\begin_layout Description
Enmarcado Este tipo de notas aparecerá en la salida como un texto enmarcado.
Su recuadro se verá como este:
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
\family roman
\series medium
\begin_inset Graphics
filename clipart/NotaEnmarcadaImg.png
display false
\end_inset
\family default
\series default
\family roman
\series medium
\begin_inset Box Framed
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
\family roman
Este texto en un cuadro de nota se verá enmarcado en la salida.
\end_layout
\end_inset
\family default
\series default
\family roman
\series medium
A
\family default
\series default
diferencia de los cuadros enmarcados,
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Los cuadros enmarcados se describen en la sección
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Cuadros-Enmarcados"
\end_inset
\end_layout
\end_inset
este marco emplea siempre la anchura total de página y la nota va en su
propio párrafo.
\end_layout
\begin_layout Description
Sombreado Este tipo de nota se verá en la salida con un fondo de color rojo.
Su recuadro se verá como este:
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
\family roman
\series medium
\begin_inset Graphics
filename clipart/NotaSombreadaImg.png
display false
\end_inset
\begin_inset Box Shaded
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
\family roman
Este texto en un cuadro de nota se verá en la salida sobre fondo en rojo.
\end_layout
\end_inset
A diferencia de los cuadros coloreados
\family default
\series default
\begin_inset Foot
status open
\begin_layout Plain Layout
Los cuadros coloreados se describen en la sección
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Cuadros-Coloreados"
\end_inset
.
\end_layout
\end_inset
, este cuadro de nota siempre usa toda la anchura de página y va en su propio
párrafo.
\end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
@ -23362,330 +23212,6 @@ Resaltado en gris
pero definiendo el color del texto en azul. pero definiendo el color del texto en azul.
\end_layout \end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
El estilo de texto en las notas de tipo
\family sans
Enmarcado
\family default
y
\family sans
Sombreado
\family default
se puede establecer en el diálogo
\family sans
Estilo del texto.
\end_layout
\begin_layout Standard
El grosor predeterminado del marco en las notas
\family sans
Enmarcadas
\family default
es 0.4
\begin_inset space \thinspace{}
\end_inset
pt; se puede cambiar con el comando
\backslash
\series bold
FrameRule
\series default
.
El espacio entre el contenido y el marco es 9
\series bold
\begin_inset space \thinspace{}
\end_inset
\series default
pt por omisión; se puede cambiar con
\series bold
\backslash
FrameSep
\series default
.
Por ejemplo, el marco de la siguiente nota
\family sans
Enmarcada
\family default
está hecho con los comandos en código TeX
\series bold
\end_layout
\begin_layout Standard
\series bold
\backslash
FrameRule 5pt
\backslash
FrameSep 0.5cm
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
FrameRule 5pt
\backslash
FrameSep 0.5cm
\end_layout
\end_inset
\begin_inset Box Framed
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
Texto en una nota
\family sans
Enmarcada
\family default
.
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
FrameRule 0.4pt
\backslash
FrameSep 9pt
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
Para las notas
\family sans
Sombreadas
\family default
el espacio entre el contenido y el borde es 3
\begin_inset space \thinspace{}
\end_inset
pt por omisión; se puede cambiar con
\series bold
\backslash
fboxsep
\series default
.
\begin_inset Newline newline
\end_inset
El color rojo predeterminado se puede cambiar con el comando
\series bold
\backslash
definecolor{shadebox}
\series default
.
El esquema del comando
\series bold
\backslash
definecolor
\series default
se explica en la sección
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Tablas-Coloreadas"
\end_inset
.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\series bold
\backslash
definecolor
\series default
requiere el paquete LaTeX
\series bold
color
\series default
en el preámbulo, véase la sección
\series bold
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Cuadros-Coloreados"
\end_inset
\series default
.
\series bold
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Por ejemplo, la siguiente nota
\family sans
Sombreada
\family default
se ha hecho con los comandos en código TeX
\end_layout
\begin_layout Standard
\series bold
\backslash
fboxsep 0.5cm
\begin_inset Newline newline
\end_inset
\backslash
definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
fboxsep 0.5cm
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\end_inset
\begin_inset Box Shaded
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
\color yellow
Texto amarillo en una nota
\family sans
Sombreada
\family default
\begin_inset space ~
\end_inset
con fondo verde oscuro.
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
fboxsep 3pt
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
definecolor{shadecolor}{rgb}{1,0,0}
\end_layout
\end_inset
\end_layout
\begin_layout Section \begin_layout Section
Notas al pie Notas al pie
\begin_inset CommandInset label \begin_inset CommandInset label
@ -25378,7 +24904,7 @@ cm por encima de su posición original.
\series default \series default
\begin_inset ERT \begin_inset ERT
status open status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout

Binary file not shown.

Before

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 862 B

View File

@ -23938,136 +23938,6 @@ Comme vous pouvez le voir dans l'exemple, la première ligne des notes grisées
est un peu décalée et ce type de notes peut avoir des notes de bas de page. est un peu décalée et ce type de notes peut avoir des notes de bas de page.
\end_layout \end_layout
\begin_layout Description
Encadrée Ce type de note apparaîtra sur la sortie finale sous la forme d'un
texte encadré.
La boîte de cette note ressemble à ceci :
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Graphics
filename clipart/FramedNoteImageQt4.png
scale 65
scaleBeforeRotation
\end_inset
\lang english
\lang french
\begin_inset Box Framed
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
Le texte de cette note apparaîtra encadré à l'impression.
\end_layout
\end_inset
Contrairement aux boîtes encadrées
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Les boîtes encadrées sont traitées dans la section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Boîtes-encadrées"
\end_inset
.
\end_layout
\end_inset
, le cadre de la note utilise toute la largeur du texte et constitue un
paragraphe à lui tout seul.
\end_layout
\begin_layout Description
Colorée Ce type de note apparaîtra sur la sortie finale avec un arrière-plan
coloré en rouge.
La boîte de cette note ressemble à ceci :
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Graphics
filename clipart/ShadedNoteImageQt4.png
scale 65
scaleBeforeRotation
\end_inset
\begin_inset Box Shaded
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
Le texte de cette note apparaîtra sur fond rouge à l'impression.
\end_layout
\end_inset
Contrairement aux boîtes colorées
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Les boîtes colorées sont traitées dans la section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Boîtes-colorées"
\end_inset
.
\end_layout
\end_inset
, la note utilise toute la largeur du texte et constitue un paragraphe
à elle toute seule.
\end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
@ -24164,327 +24034,6 @@ Les notes qui apparaissent en bleu dans ce texte sont en fait des notes
grisées avec leur texte en bleu. grisées avec leur texte en bleu.
\end_layout \end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
Le style du texte des notes
\family sans
Encadrées
\family default
et
\family sans
Grisées
\family default
peut être modifié avec la fenêtre de dialogue
\family sans
Style
\begin_inset space ~
\end_inset
du
\begin_inset space ~
\end_inset
texte
\family default
.
\family sans
\end_layout
\begin_layout Standard
L'épaisseur du trait de bordure pour les notes
\family sans
Encadrées
\family default
est par défaut de 0.4
\begin_inset space \thinspace{}
\end_inset
pt ; elle peut être modifiée en changeant la valeur de
\series bold
\backslash
FrameRule
\series default
.
L'espace entre le contenu de la note et le cadre est par défaut de 9
\begin_inset space \thinspace{}
\end_inset
pt ; cette valeur peut aussi être modifiée en changeant la valeur de
\series bold
\backslash
FrameSep
\series default
.
Par exemple l'aspect de cette note
\family sans
Encadrée
\family default
est obtenue avec les commandes en code TeX suivantes :
\end_layout
\begin_layout Standard
\series bold
\backslash
FrameRule 5pt
\backslash
FrameSep 0.5cm
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
FrameRule 5pt
\backslash
FrameSep 0.5cm
\end_layout
\end_inset
\begin_inset Box Framed
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
Ce texte est dans une note
\family sans
Encadrée
\family default
.
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
FrameRule 0.4pt
\backslash
FrameSep 9pt
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
Pour les notes
\family sans
Grisées
\family default
, l'espace par défaut entre le texte de la note et le cadre est de 3
\begin_inset space \thinspace{}
\end_inset
pt ; ce qui peut être modifié en changeant la valeur de
\series bold
\backslash
fboxsep
\series default
.
\begin_inset Newline newline
\end_inset
La couleur par défaut pour le fond est le rouge, ce qui peut être modifié
en utilisant la commande
\series bold
\backslash
definecolor{shadebox}
\series default
.
Le fonctionnement de la commande
\series bold
\backslash
definecolor
\series default
est expliqué dans la section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Tableaux-Colorés"
\end_inset
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Notez qu'il faut charger le paquetage LaTeX
\series bold
color
\series default
dans le préambule pour pouvoir utiliser la commande
\series bold
\backslash
definecolor,
\series default
voir la section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Boîtes-colorées"
\end_inset
.
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Par exemple l'aspect de cette note
\family sans
Grisée
\family default
est obtenue avec les commandes en code TeX suivantes :
\end_layout
\begin_layout Standard
\series bold
\backslash
fboxsep 0.5cm
\series default
\begin_inset Newline newline
\end_inset
\series bold
\backslash
definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
fboxsep 0.5cm
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\end_inset
\begin_inset Box Shaded
position "t"
hor_pos "c"
has_inner_box 0
inner_pos "t"
use_parbox 0
width "100col%"
special "none"
height "1in"
height_special "totalheight"
status open
\begin_layout Plain Layout
\color yellow
Ceci est un texte jaune dans une boîte grisée avec un fond vert foncé.
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
fboxsep 3pt
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
definecolor{shadecolor}{rgb}{1,0,0}
\end_layout
\end_inset
\end_layout
\begin_layout Section \begin_layout Section
Notes en Bas de Page Notes en Bas de Page
\begin_inset CommandInset label \begin_inset CommandInset label

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB