UserGuide.lyx, Additional.lyx, Tutorial.lyx: port latest changes to trunk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39336 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-07-18 03:25:29 +00:00
parent 2885ea3921
commit 6368d7ffd7
12 changed files with 3709 additions and 3750 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2258,7 +2258,7 @@ Your first cross-reference
\end_layout
\begin_layout Standard
Place the cursor somewhere in section
Place the cursor somewhere in Section
\begin_inset space ~
\end_inset
@ -2271,7 +2271,7 @@ If you want to know more about this document, then see
\begin_inset Newline newline
\end_inset
section, which can be found on page.
Section, which can be found on page.
\end_layout
\begin_layout Standard
@ -2384,8 +2384,11 @@ Section 2
\begin_inset Quotes erd
\end_inset
and depending how much text you have between the start of Section 2 and
this cross-reference you may see
and depending how much text you have between the start of Section
\begin_inset space ~
\end_inset
2 and this cross-reference you may see
\begin_inset Quotes eld
\end_inset
@ -2512,7 +2515,7 @@ status collapsed
\begin_layout Plain Layout
By the way, copying a chapter title may cause an error, because chapters
are not allowed in the article class, see section
are not allowed in the article class, see Section
\begin_inset space ~
\end_inset
@ -4530,7 +4533,7 @@ LyX cannot do absolutely everything that LaTeX can do.
\backslash
usepackage{foo}
\family default
in the preamble (see section
in the preamble (see Section
\begin_inset space ~
\end_inset
@ -4786,7 +4789,7 @@ After you have done this, you can use citations from any bibliographies
Insert\SpecialChar \menuseparator
Citation
\family default
(see section
(see Section
\begin_inset space ~
\end_inset

View File

@ -9058,6 +9058,391 @@ Itemize
You have a huge variety of options at your disposal.
\end_layout
\begin_layout Subsection
Custom Numbering of Numbered Lists
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Lists ! Enumerate ! Customized
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
The default numbering of numbered lists can be changed by adding this command
in TeX Code (shortcut
\begin_inset Info
type "shortcut"
arg "ert-insert"
\end_inset
)
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
For more about TeX Code, look at section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:TeX-Code"
\end_inset
.
\end_layout
\end_inset
to your document preamble or in the text:
\end_layout
\begin_layout Standard
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
roman{enumi}}
\end_layout
\begin_layout Standard
\emph on
enumi
\emph default
is hereby the counter of the enumeration in the first level.
The command
\series bold
\backslash
roman
\series default
outputs the counter as small Roman numeral.
For capital Roman numerals replace in the command above
\series bold
\backslash
roman
\series default
by
\series bold
\backslash
Roman
\series default
.
For Arabic numerals use
\series bold
\backslash
arabic
\series default
.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with capital or small Latin letters use
\series bold
\backslash
Alph
\series default
or
\series bold
\backslash
alph
\series default
, respectively.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with symbols use
\series bold
\backslash
fnsymbol
\series default
.
\end_layout
\begin_layout Standard
\noindent
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Note:
\series default
You can only number 26
\begin_inset space ~
\end_inset
items with Latin letters, because this numbering is limited to single letters.
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Note:
\series default
You can only number 9
\begin_inset space ~
\end_inset
items with symbols.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
To change the numbering for the list sublevels, replace each 'i' in the
command by the small Roman numeral of the level (enumi, enumii, enumiii,
enumiv).
\end_layout
\begin_layout Standard
As example a list with custom numbering:
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
Level 1
\end_layout
\begin_deeper
\begin_layout Enumerate
Level 2
\end_layout
\begin_layout Enumerate
Level 2
\end_layout
\begin_deeper
\begin_layout Enumerate
Level 3
\end_layout
\begin_deeper
\begin_layout Enumerate
Level 4
\end_layout
\end_deeper
\end_deeper
\end_deeper
\begin_layout Standard
For this list these commands were used:
\end_layout
\begin_layout Standard
\noindent
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
arabic{enumi}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
alph{enumi})}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
roman{enumiii}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
Alph{enumiv}.}
\end_layout
\end_inset
\begin_inset Note Note
status open
\begin_layout Plain Layout
set the numbering back to the default
\end_layout
\end_inset
\end_layout
\begin_layout Section
Spacing, pagination and line breaks
\begin_inset Index idx

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -5678,16 +5678,6 @@ Zitat!(kurz)
\end_inset
LaTeX-Bezeichnung: Quote
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Quote
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
@ -5706,16 +5696,6 @@ Zitat!(lang)
\end_inset
LaTeX-Bezeichnung: Quotation
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Quotation
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
@ -5734,16 +5714,6 @@ Gedicht
\family default
LaTeX-Bezeichnung: Verse
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Verse
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
@ -5767,19 +5737,7 @@ listung
\family default
LaTeX-Bezeichnung: Itemize
\family sans
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Itemize
\end_layout
\end_inset
LaTeX-Bezeichnung: Itemize
\end_layout
\begin_layout Itemize
@ -5798,16 +5756,6 @@ Aufzahlung@Aufzählung
\family default
LaTeX-Bezeichnung: Enumerate
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Enumerate
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
@ -5826,16 +5774,6 @@ Beschreibung
\family default
LaTeX-Bezeichnung: Description
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Description
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
@ -5854,16 +5792,6 @@ Liste
\family default
LaTeX-Bezeichnung: List
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
List
\end_layout
\end_inset
\end_layout
\begin_layout Standard
@ -11504,6 +11432,393 @@ Auflistung
Sie haben jede Menge Möglichkeiten zur Auswahl.
\end_layout
\begin_layout Subsection
Benutzerdefinierte Nummerierung von Nummerierten Listen
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Liste ! Aufzahlung@Aufzählung ! Benutzerdefiniert
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
Die voreingestellte Nummerierung von nummerierten Listen kann geändert werden,
indem man diesen Befehl als TeX-Code (Tastenkürzel
\family sans
Strg+L
\family default
)
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Für mehr über TeX-Code, siehe Abschnitt
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:TeX-Code"
\end_inset
.
\end_layout
\end_inset
in in die Dokumentpräambel oder den Text einfügt:
\end_layout
\begin_layout Standard
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
roman{enumi}}
\end_layout
\begin_layout Standard
\emph on
enumi
\emph default
ist hierbei der Zähler der Nummerierung der ersten Stufe.
Der Befehl
\series bold
\backslash
roman
\series default
gibt den Zähler als kleine römische Zahl.
Für große römische Zahlen ersetzen Sie in obigem Befehl
\series bold
\backslash
roman
\series default
durch
\series bold
\backslash
Roman
\series default
.
Für arabische Zahlen verwenden Sie
\series bold
\backslash
arabic
\series default
.
Um Punkte mit großen oder kleinen Buchstaben zu
\begin_inset Quotes gld
\end_inset
nummerieren
\begin_inset Quotes grd
\end_inset
, verwenden Sie die Befehle
\series bold
\backslash
Alph
\series default
oder
\series bold
\backslash
alph
\series default
.
Für die
\begin_inset Quotes gld
\end_inset
Nummerierung
\begin_inset Quotes grd
\end_inset
mit Symbolen steht der Befehl
\series bold
\backslash
fnsymbol
\series default
zur Verfügung.
\end_layout
\begin_layout Standard
\noindent
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Bemerkung 1:
\series default
Mit Buchstaben können höchstens 26
\begin_inset space ~
\end_inset
Punkte nummeriert werden, weil nur
\emph on
ein
\emph default
Buchstabe verwendet wird.
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Bemerkung 2:
\series default
Mit Symbolen können höchstens 9
\begin_inset space ~
\end_inset
Punkte nummeriert werden.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Um die Nummerierung für die anderen Stufen der Liste zu ändern, ersetzen
Sie im Befehl die 'i' jeweils durch die kleine römische Zahl der Stufe
(enumi, enumii, enumiii, enumiv).
\end_layout
\begin_layout Standard
Als Beispiel eine Liste mit benutzerdefinierter Nummerierung:
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
Stufe 1
\end_layout
\begin_deeper
\begin_layout Enumerate
Stufe 2
\end_layout
\begin_layout Enumerate
Stufe 2
\end_layout
\begin_deeper
\begin_layout Enumerate
Stufe 3
\end_layout
\begin_deeper
\begin_layout Enumerate
Stufe 4
\end_layout
\end_deeper
\end_deeper
\end_deeper
\begin_layout Standard
Für diese Liste wurden diese Befehle verwendet:
\end_layout
\begin_layout Standard
\noindent
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
arabic{enumi}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
alph{enumi})}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
roman{enumiii}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
Alph{enumiv}.}
\end_layout
\end_inset
\begin_inset Note Note
status open
\begin_layout Plain Layout
setzt die Nummerierung zurück auf die Voreinstellung
\end_layout
\end_inset
\end_layout
\begin_layout Section
Abstände, Seiten- und Zeilenumbrüche
\end_layout
@ -13536,12 +13851,10 @@ Hervorhebungsstil
\end_layout
\begin_layout Subsection
\lang english
LaTeX font support
LaTeX Schriftunterstützung
\begin_inset CommandInset label
LatexCommand label
name "sub:LaTeX-font-support"
name "sub:LaTeX-Schriftunterstützung"
\end_inset
@ -13605,7 +13918,7 @@ status open
\series bold
\lang english
Note:
Achtung:
\series default
In practice, some fonts might fail due to bad metrics and other font deficienci
es; so you might have to experiment.
@ -13626,7 +13939,7 @@ status open
\series bold
\lang english
Note:
Achtung:
\series default
XeTeX and especially LuaTeX, are still rather new and thus not as mature
as traditional LaTeX or PDFLaTeX.
@ -13820,7 +14133,7 @@ you will have to have either XeTeX or LuaTeX installed (see section
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:LaTeX-font-support"
reference "sub:LaTeX-Schriftunterstützung"
\end_inset
@ -16180,7 +16493,7 @@ LuaTeX
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:LaTeX-font-support"
reference "sub:LaTeX-Schriftunterstützung"
\end_inset
@ -16243,8 +16556,9 @@ status collapsed
\begin_layout Plain Layout
\lang english
When you are interested to learn more about this, have a look at the LaTeX-packa
ge
When you are interested to learn more about this, have a look at the
\lang ngerman
LaTeX-Paket
\series bold
pstricks
\series default
@ -16253,9 +16567,7 @@ pstricks
status collapsed
\begin_layout Plain Layout
\lang english
LaTeX-packages ! pstricks
LaTeX-Paket ! pstricks
\end_layout
\end_inset
@ -16540,7 +16852,7 @@ XeTeX
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:LaTeX-font-support"
reference "sub:LaTeX-Schriftunterstützung"
\end_inset
@ -16587,7 +16899,7 @@ pdflatex
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:LaTeX-font-support"
reference "sub:LaTeX-Schriftunterstützung"
\end_inset
@ -33311,7 +33623,14 @@ key "hyperref"
\end_layout
\begin_layout Section
TeX-Code und LaTeX-Syntax
TeX-Code und LaTeX-Syntax
\begin_inset CommandInset label
LatexCommand label
name "sec:TeX-Code"
\end_inset
\begin_inset Index idx
status collapsed

View File

@ -1082,7 +1082,7 @@ target "http://www.ctan.org/"
para detalles, y consulta el capítulo
\begin_inset CommandInset ref
LatexCommand ref
reference "cha:secretos"
reference "chap:Special-features"
\end_inset
@ -1842,7 +1842,7 @@ trucos sucios
\begin_inset CommandInset ref
LatexCommand ref
reference "cha:secretos"
reference "chap:Special-features"
\end_inset
@ -24067,10 +24067,14 @@ El siguiente asunto es la presencia visible del carácter salto de línea
\end_layout
\begin_layout Chapter
Secretos de maestros en LaTeX
\lang english
Special features
\lang spanish
\begin_inset CommandInset label
LatexCommand label
name "cha:secretos"
name "chap:Special-features"
\end_inset
@ -24078,129 +24082,88 @@ name "cha:secretos"
\end_layout
\begin_layout Standard
Aunque LyX es una poderosa herramienta, no es capaz de soportar todo lo
que se puede hacer con TeX/LaTeX puro.
No obstante, en LyX es posible hacer muchos trucos habituales de TeX y
LaTeX, siempre que no temas usar el botón
\begin_inset Quotes fld
\end_inset
TeX
\begin_inset Quotes frd
\end_inset
de la barra de herramientas o escribir en el preámbulo LaTeX.
En esta sección se describen algunos consejos, trucos y, en definitiva,
ideas frescas para dar a tu documento un poco más de empaque.
¡
\lang english
You can do everything with LyX that you can do with LaTeX.
However, LyX cannot support every LaTeX feature directly.
But you can always use TeX Code.
This chapter shows you some more special things you might want to use.
For other special things you can do with figures, tables, floats, boxes
and notes, have a look at the
\emph on
Atrévete a probar
EmbeddedObjects
\emph default
, pero con algo más pequeño y menos importante que tu tesina!
\end_layout
\begin_layout Standard
La mayor parte de las ideas sugeridas aquí requieren archivos menos comunes
en las distribuciones de LaTeX.
Si tienes un sistema como teTeX, casi todos estarán disponibles.
Sin embargo, tendrás que descargar algunos de los repositorios CTAN.
Normalmente hay varias formas de hacer una cosa, o varios archivos de estilo
de LaTeX que hacen lo mismo.
No te vamos a imponer una opción sobre otra, pretendemos simplemente indicar
cómo hemos hecho una determinada tarea con un determinado archivo.
Ponte el disfraz de brujo, no pierdas de vista los dragones, y comencemos.
manual.
\end_layout
\begin_layout Section
Columnas múltiples
\end_layout
\begin_layout Subsection
Objetivo
\begin_layout Standard
\lang english
The aim for this section is to show how the LaTeX package
\series bold
multicol
\series default
can be used in a LyX document.
LyX does not support the
\series bold
multicol
\series default
package natively yet, so you have to use some TeX code.
\end_layout
\begin_layout Standard
La intención de este capítulo
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\emph on
N.
del e.
\emph default
: El capítulo original de Lars era una sesuda descripción de
\family typewriter
\lang english
The
\series bold
multicol
\series default
package allows switching between one and multicolumn format on the same
page.
Footnotes are handled correctly, but will be placed at the bottom of the
page and not under each column.
Within the different columns you can use everyting, with the limitation
that for floats you need to use the option
\family sans
Span colums
\family default
.
Pero demasiado largo para este manual.
Por eso he resumido las secciones más relevantes (disculpa, Lars); puedes
leer el original (¡y más!) en el ejemplo
\family typewriter
examples/multicol.lyx
\family default
.
—mer
\end_layout
\end_inset
es enseñar el empleo del paquete LaTeX
\family typewriter
multicol
\family default
en un documento LyX.
Como LyX no soporta todavía
\family typewriter
multicol
\family default
, hemos de usar algunos trucos.
Leyendo esta sección debería resultar sencillo hacerlo.
for each column.
\end_layout
\begin_layout Subsection
Limitaciones
\end_layout
\begin_layout Standard
El paquete
\family typewriter
multicol
\family default
permite alternar entre formatos de una o varias columnas en la misma página.
Las notas al pie se manejan correctamente (en su mayor parte), pero serán
colocadas al final de la página y no bajo cada columna.
Sin embargo, el mecanismo de flotación de LaTeX está deshabilitado parcialmente
en la versión actual.
Por el momento, solo pueden ponerse flotantes del ancho de la página en
el ámbito de este entorno.
\end_layout
\begin_layout Subsection
Ejemplos
\end_layout
\begin_layout Subsubsection
Dos columnas
\end_layout
\begin_layout Standard
Para poner texto en dos columnas, inserta donde quieras ponerlas el comando
en modo LaTeX
\family typewriter
en modo LaTeX
\end_layout
\begin_layout Standard
\series bold
\backslash
begin{multicols}{2}
\family default
, y luego
\family typewriter
\end_layout
\begin_layout Standard
y luego
\end_layout
\begin_layout Standard
\series bold
\backslash
end{multicols}
\family default
end{multicols}
\end_layout
\begin_layout Standard
para finalizar.
Como esto:
\end_layout
@ -24279,7 +24242,7 @@ end{multicols}
\end_layout
\begin_layout Subsubsection
\begin_layout Subsection
Columnas múltiples
\end_layout
@ -24348,7 +24311,7 @@ Si quieres, puedes poner más de tres columnas, pero podría no ser muy cómodo
de leer.
\end_layout
\begin_layout Subsubsection
\begin_layout Subsection
Columnas dentro de columnas
\end_layout
@ -24473,365 +24436,17 @@ end{multicols}
\end_layout
\begin_layout Standard
Lee por favor el archivo
Lee por favor el
\lang english
example file
\family typewriter
examples/multicol.lyx
\lang spanish
multicol.lyx
\family default
para ejemplos más sofisticados, incluyendo espacios, encabezados, líneas
de separación, y más.
\end_layout
\begin_layout Section
Numeración en el entorno de párrafo
\family sans
Enumeración
\family default
\begin_inset Argument
status collapsed
\begin_layout Plain Layout
Numeración con Enumeración
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
Por omisión, la numeración en el entorno
\family sans
Enumeración
\family default
comienza con números arábigos y acaba con letras mayúsculas.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Esto no es así en documentos en español.
El estilo
\family typewriter
spanish
\family default
del programa
\family typewriter
babel
\family sans
\family default
establece de manera predeterminada la secuencia
\begin_inset Quotes fld
\end_inset
1.
\begin_inset space ~
\end_inset
a)
\begin_inset space ~
\end_inset
1)
\begin_inset space ~
\end_inset
a'
\begin_inset Quotes frd
\end_inset
.
\emph on
(N.
del t.)
\end_layout
\end_inset
Supongamos, sin embargo, que quieres un esquema de numeración diferente.
Aquí hay un ejemplo de cómo cambiarlo:
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
Roman{enumi}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumii}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
arabic{enumiii}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
alph{enumiv}.)}
\end_layout
\begin_layout Standard
\SpecialChar \ldots{}
que cambia el esquema a números romanos en mayúsculas, letras mayúsculas,
números arábigos y letras minúsculas.
\end_layout
\begin_layout Standard
Además, el ejemplo anterior añade un pequeño extra al esquema de numeración.
Así, la etiqueta del primer nivel se ve en realidad como
\begin_inset Quotes fld
\end_inset
I.
\begin_inset Quotes frd
\end_inset
.
Para facilitar la lectura, describiremos cómo se ve el esquema de numeración
con una notación como esta: <
\begin_inset Quotes eld
\end_inset
I.
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
A.
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
1.
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
a.)
\begin_inset Quotes erd
\end_inset
>.
\end_layout
\begin_layout Standard
Como se ve en el ejemplo, hay un comando de etiqueta para cada nivel de
anidación,
\family typewriter
\backslash
labelenumi
\family default
\SpecialChar \ldots{}
\family typewriter
\backslash
labelenumiv
\family default
, así como un contador
\family typewriter
enumi
\family default
\SpecialChar \ldots{}
\family typewriter
enumiv
\family default
.
Hay además cinco comandos de
\begin_inset Quotes fld
\end_inset
números
\begin_inset Quotes frd
\end_inset
,
\family typewriter
\backslash
arabic{}
\family default
,
\family typewriter
\backslash
roman{}
\family default
,
\family typewriter
\backslash
Roman{}
\family default
,
\family typewriter
\backslash
alph{}
\family default
, and
\family typewriter
\backslash
Alph{}
\family default
, cada uno de los cuales lleva un contador como argumento.
\family typewriter
\family default
Puedes añadir caracteres antes y después de los mismos, pero sin necesidad
de poner espacios.
\end_layout
\begin_layout Standard
Con esto puedes conseguir numeraciones a capricho.
Por ejemplo:
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
alph{enumiii}+}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
genera el esquema un poco estrafalario: <
\begin_inset Quotes eld
\end_inset
#A#
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
A.1
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
a+
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
(i)
\begin_inset Quotes erd
\end_inset
>.
\end_layout
\begin_layout Section
Mayúsculas capitulares
\end_layout
@ -25012,6 +24627,13 @@ bigdrop
dropping.
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Section
Párrafos con formas diversas
\end_layout

View File

@ -9256,6 +9256,427 @@ Enumeración*
Tienes a tu disposición una amplia variedad de opciones.
\end_layout
\begin_layout Subsection
\lang english
Custom Numbering of Numbered Lists
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\lang english
Lists ! Enumerate ! Customized
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
\lang english
The default numbering of numbered lists can be changed by adding this command
in TeX Code (shortcut
\begin_inset Info
type "shortcut"
arg "ert-insert"
\end_inset
)
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\lang english
For more about TeX Code, look at section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Código-TeX"
\end_inset
.
\end_layout
\end_inset
to your document preamble or in the text:
\end_layout
\begin_layout Standard
\series bold
\lang english
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
roman{enumi}}
\end_layout
\begin_layout Standard
\emph on
\lang english
enumi
\emph default
is hereby the counter of the enumeration in the first level.
The command
\series bold
\backslash
roman
\series default
outputs the counter as small Roman numeral.
For capital Roman numerals replace in the command above
\series bold
\backslash
roman
\series default
by
\series bold
\backslash
Roman
\series default
.
For Arabic numerals use
\series bold
\backslash
arabic
\series default
.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with capital or small Latin letters use
\series bold
\backslash
Alph
\series default
or
\series bold
\backslash
alph
\series default
, respectively.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with symbols use
\series bold
\backslash
fnsymbol
\series default
.
\end_layout
\begin_layout Standard
\noindent
\lang english
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
\lang english
Note:
\series default
You can only number 26
\begin_inset space ~
\end_inset
items with Latin letters, because this numbering is limited to single letters.
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
\lang english
Note:
\series default
You can only number 9
\begin_inset space ~
\end_inset
items with symbols.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\lang english
To change the numbering for the list sublevels, replace each 'i' in the
command by the small Roman numeral of the level (enumi, enumii, enumiii,
enumiv).
\end_layout
\begin_layout Standard
\lang english
As example a list with custom numbering:
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
\lang english
Level 1
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 2
\end_layout
\begin_layout Enumerate
\lang english
Level 2
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 3
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 4
\end_layout
\end_deeper
\end_deeper
\end_deeper
\begin_layout Standard
\lang english
For this list these commands were used
\lang spanish
:
\end_layout
\begin_layout Standard
\noindent
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
arabic{enumi}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
alph{enumi})}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
roman{enumiii}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
Alph{enumiv}.}
\end_layout
\end_inset
\lang english
\begin_inset Note Note
status open
\begin_layout Plain Layout
\lang english
set the numbering back to the default
\end_layout
\end_inset
\end_layout
\begin_layout Section
Espacios, paginación y saltos de línea
\begin_inset Index idx

View File

@ -937,7 +937,7 @@ target "http://www.ctan.org/"
\begin_inset CommandInset ref
LatexCommand ref
reference "cha:secrets"
reference "chap:Special-features"
\end_inset
@ -1450,7 +1450,7 @@ trucs et astuces
\begin_inset CommandInset ref
LatexCommand ref
reference "cha:secrets"
reference "chap:Special-features"
\end_inset
@ -24505,10 +24505,14 @@ nouvelle ligne
\end_layout
\begin_layout Chapter
Secrets des Maîtres du LaTeX
\lang english
Special features
\lang french
\begin_inset CommandInset label
LatexCommand label
name "cha:secrets"
name "chap:Special-features"
\end_inset
@ -24516,127 +24520,89 @@ name "cha:secrets"
\end_layout
\begin_layout Standard
Même si LyX est un outil puissant, il ne faut pas s'attendre à ce qu'il
puisse supporter tout ce qui peut être fait avec TeX ou LaTeX.
Cependant, la plupart des trucs et astuces de TeX et LaTeX peuvent resservir
dans LyX, à condition de ne pas avoir peur d'utiliser le bouton
\begin_inset Quotes fld
\end_inset
TeX
\begin_inset Quotes frd
\end_inset
de la barre d'outils ou d'ajouter des lignes au préambule LaTeX.
Cette section présente un ensemble de conseils, d'astuces et d'idées sympa
pour donner un petit quelque chose en plus à votre document.
\lang english
You can do everything with LyX that you can do with LaTeX.
However, LyX cannot support every LaTeX feature directly.
But you can always use TeX Code.
This chapter shows you some more special things you might want to use.
For other special things you can do with figures, tables, floats, boxes
and notes, have a look at the
\emph on
Mais essayez-les à la maison !
EmbeddedObjects
\emph default
\emph toggle
Faites vos premières tentatives sur quelque chose de plus court et de moins
important que votre thèse !
\end_layout
\begin_layout Standard
La plupart des idées présentées dans cette section requièrent des fichiers
un peu moins courants dans les installations LaTeX.
Si vous avez un système comme teTeX, la plupart seront sûrement présents.
Certains, cependant, devront être téléchargés sur les archives CTAN.
Il y a souvent plusieures manières de faire la même chose, ou plusieurs
fichiers de style LaTeX qui ont le même rôle.
Nous ne recommandons pas une méthode plutôt qu'une autre, nous affirmons
simplement que tel fichier permet de faire telle chose.
Enfourchez votre destrier, ceignez votre heaume et lancez-vous !
manual.
\end_layout
\begin_layout Section
MultiColonnes
\end_layout
\begin_layout Subsection
But
\begin_layout Standard
\lang english
The aim for this section is to show how the LaTeX package
\series bold
multicol
\series default
can be used in a LyX document.
LyX does not support the
\series bold
multicol
\series default
package natively yet, so you have to use some TeX code.
\end_layout
\begin_layout Standard
Le but de ce chapitre
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Note de l'Éditeur : Le chapitre original de Lars était une magistrale descriptio
n de comment utiliser le paquetage
\family typewriter
\lang english
The
\series bold
multicol
\series default
package allows switching between one and multicolumn format on the same
page.
Footnotes are handled correctly, but will be placed at the bottom of the
page and not under each column.
Within the different columns you can use everyting, with the limitation
that for floats you need to use the option
\family sans
Span colums
\family default
.
Il était cependant trop long pour s'insérer sans heurt dans ce document.
J'ai donc choisi d'en extraire ici les sections les plus importantes (désolé,
Lars) ; vous pouvez lire le chapitre original (et un peu plus de l'histoire
!) dans le fichier exemple
\family typewriter
examples/fr/MultiColonnes.lyx
\family default
.
mer
\end_layout
\end_inset
est de montrer comment utiliser le paquetage LaTeX
\family typewriter
multicol
\family default
dans un document LyX.
Comme LyX ne le supporte pas encore d'origine, il faut utiliser quelques
trucs, qui devraient vous paraître clairs quand vous aurez lu cette section.
for each column.
\end_layout
\begin_layout Subsection
Limitations
\end_layout
\begin_layout Standard
Le paquetage
\family typewriter
multicol
\family default
permet de basculer dans une même page entre le format sur une colonne et
sur plusieurs.
Les notes de bas de page sont gérées correctement (pour la plus grande
part), mais seront placées en bas de la page et non en bas de chaque colonne.
Le mécanisme de gestion des flottants de LaTeX, cependant, est partiellement
désactivé dans l'implémentation actuelle.
Aujourd'hui seuls des flottants couvrant en largeur toute la page peuvent
être utilisés au sein de l'environnement.
\end_layout
\begin_layout Subsection
Exemples
\end_layout
\begin_layout Subsubsection
Deux Colonnes
\end_layout
\begin_layout Standard
Si vous voulez avoir deux colonnes dans votre texte, il faut pour insérer
\family typewriter
\end_layout
\begin_layout Standard
\series bold
\backslash
begin{multicols}{2}
\family default
en mode LaTeX à l'endroit où vous voulez démarrer la disposition en deux
colonnes, et
\family typewriter
\end_layout
\begin_layout Standard
en mode LaTeX à l'endroit où vous voulez démarrer la disposition en deux
colonnes, et
\end_layout
\begin_layout Standard
\series bold
\backslash
end{multicols}
\family default
là où vous voulez qu'elle se termine.
\end_layout
\begin_layout Standard
là où vous voulez qu'elle se termine.
Comme ceci
\begin_inset Foot
status collapsed
@ -24726,7 +24692,7 @@ end{multicols}
\end_layout
\begin_layout Subsubsection
\begin_layout Subsection
Colonnes Multiples
\end_layout
@ -24797,7 +24763,7 @@ Vous pouvez sans problème avoir plus de 3 colonnes, si vous le voulez, mais
ce n'est plus très agréable à lire.
\end_layout
\begin_layout Subsubsection
\begin_layout Subsection
Des Colonnes dans une Colonne
\end_layout
@ -24922,316 +24888,17 @@ end{multicols}
\end_layout
\begin_layout Standard
Veuillez lire le fichier
Veuillez lire le
\lang english
example file
\family typewriter
example/fr/MultiColonnes.lyx
\lang french
MultiColonnes.lyx
\family default
pour des exemples plus complexes avec l'espacement des colonnes et de l'en-tête
, les lignes de séparation verticale, et plus encore.
\end_layout
\begin_layout Section
Numérotation dans l'environnement de paragraphe
\family sans
Énumération
\begin_inset Argument
status collapsed
\begin_layout Plain Layout
Numérotation dans les
\family sans
Énumérations
\end_layout
\end_inset
\end_layout
\begin_layout Standard
La numérotation par défaut dans l'environnement de paragraphe
\family sans
Énumération
\family default
commence par les chiffres arabes et finit par les lettres majuscules.
Supposons cependant que vous vouliez un autre schéma de numérotation.
Voici un rapide exemple de ce qu'il vous faudra écrire :
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
Romain{enumi}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumii}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
arabic{enumiii}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
alph{enumiv}.)}
\end_layout
\begin_layout Standard
Ceci remplace le schéma existant par, dans l'ordre, les chiffres romains,
les lettres majuscules, les chiffres arabes et les lettres minuscules.
\end_layout
\begin_layout Standard
En fait, cet exemple n'est pas seulement une redéfinition de la numérotation.
Par exemple, le marqueur du premier niveau devient en fait
\family sans
\begin_inset Quotes fld
\end_inset
I.
\begin_inset Quotes frd
\end_inset
\family default
.
Pour faciliter la lecture, nous allons décrire les schémas de numérotation
avec cette notation :
\family sans
<
\begin_inset Quotes fld
\end_inset
I.
\begin_inset Quotes frd
\end_inset
\family default
,
\family sans
\begin_inset Quotes fld
\end_inset
A.
\begin_inset Quotes frd
\end_inset
\family default
,
\family sans
\begin_inset Quotes fld
\end_inset
1.
\begin_inset Quotes frd
\end_inset
\family default
,
\family sans
\begin_inset Quotes fld
\end_inset
a.)
\begin_inset Quotes frd
\end_inset
>
\family default
.
\end_layout
\begin_layout Standard
Comme vous pouvez le voir dans l'exemple, il existe pour chaque niveau d'emboîte
ment une commande :
\family typewriter
\backslash
labelenumi
\family default
\SpecialChar \ldots{}
\family typewriter
\backslash
labelenumiv
\family default
, et un compteur :
\family typewriter
enumi
\family default
\SpecialChar \ldots{}
\family typewriter
enumiv
\family default
.
Il existe aussi cinq commandes de mise en forme des numéros :
\family typewriter
\backslash
arabic{}
\family default
,
\family typewriter
\backslash
roman{}
\family default
,
\family typewriter
\backslash
Romain{}
\family default
,
\family typewriter
\backslash
alph{}
\family default
, et
\family typewriter
\backslash
Alph{}
\family default
, chacune prenant un compteur pour paramètre.
Vous pouvez ajouter des caractères avant et après celui-ci, les espaces
étant quant à elles générées automatiquement.
\end_layout
\begin_layout Standard
Ça peut devenir vraiment amusant avec, par exemple :
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
alph{enumiii}+}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
qui donne le schéma de numérotation :
\family sans
<
\begin_inset Quotes fld
\end_inset
#A#
\begin_inset Quotes frd
\end_inset
\family default
,
\family sans
\begin_inset Quotes fld
\end_inset
A.1
\begin_inset Quotes frd
\end_inset
\family default
,
\family sans
\begin_inset Quotes fld
\end_inset
a+
\begin_inset Quotes frd
\end_inset
\family default
,
\family sans
\begin_inset Quotes fld
\end_inset
(i)
\begin_inset Quotes frd
\end_inset
>
\family default
.
\end_layout
\begin_layout Section
Lettrines
\end_layout
@ -25403,6 +25070,13 @@ dropping
légèrement plus simple.
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Section
Paragraphes de forme inhabituelle
\end_layout

View File

@ -9495,6 +9495,428 @@ ListePuces
Vous avez une énorme variété d'options à votre disposition.
\end_layout
\begin_layout Subsection
\lang english
Custom Numbering of Numbered Lists
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\lang english
Lists ! Enumerate ! Customized
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
\lang english
The default numbering of numbered lists can be changed by adding this command
in TeX Code (shortcut
\begin_inset Info
type "shortcut"
arg "ert-insert"
\end_inset
)
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\lang english
For more about TeX Code, look at section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Code-TeX"
\end_inset
.
\end_layout
\end_inset
to your document preamble or in the text:
\end_layout
\begin_layout Standard
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
roman{enumi}}
\end_layout
\begin_layout Standard
\emph on
\lang english
enumi
\emph default
is hereby the counter of the enumeration in the first level.
The command
\series bold
\backslash
roman
\series default
outputs the counter as small Roman numeral.
For capital Roman numerals replace in the command above
\series bold
\backslash
roman
\series default
by
\series bold
\backslash
Roman
\series default
.
For Arabic numerals use
\series bold
\backslash
arabic
\series default
.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with capital or small Latin letters use
\series bold
\backslash
Alph
\series default
or
\series bold
\backslash
alph
\series default
, respectively.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with symbols use
\series bold
\backslash
fnsymbol
\series default
.
\end_layout
\begin_layout Standard
\noindent
\lang english
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
\lang english
Note:
\series default
You can only number 26
\begin_inset space ~
\end_inset
items with Latin letters, because this numbering is limited to single letters.
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
\lang english
Note:
\series default
You can only number 9
\begin_inset space ~
\end_inset
items with symbols.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\lang english
To change the numbering for the list sublevels, replace each 'i' in the
command by the small Roman numeral of the level (enumi, enumii, enumiii,
enumiv).
\end_layout
\begin_layout Standard
\lang english
As example a list with custom numbering
\lang french
:
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
\lang english
Level 1
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 2
\end_layout
\begin_layout Enumerate
\lang english
Level 2
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 3
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 4
\end_layout
\end_deeper
\end_deeper
\end_deeper
\begin_layout Standard
\lang english
For this list these commands were used
\lang french
:
\end_layout
\begin_layout Standard
\noindent
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
arabic{enumi}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
alph{enumi})}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
roman{enumiii}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
Alph{enumiv}.}
\end_layout
\end_inset
\lang english
\begin_inset Note Note
status open
\begin_layout Plain Layout
\lang english
set the numbering back to the default
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\end_layout

View File

@ -1532,7 +1532,7 @@ target "http://www.ctan.org/"
と第
\begin_inset CommandInset ref
LatexCommand ref
reference "cha:secrets"
reference "chap:Special-features"
\end_inset
@ -2600,7 +2600,7 @@ usepackage{indentfirst}
\begin_inset CommandInset ref
LatexCommand ref
reference "cha:secrets"
reference "chap:Special-features"
\end_inset
@ -20311,10 +20311,14 @@ status collapsed
\end_layout
\begin_layout Chapter
LaTeXの達人の秘密
\lang english
Special features
\lang japanese
\begin_inset CommandInset label
LatexCommand label
name "cha:secrets"
name "chap:Special-features"
\end_inset
@ -20322,91 +20326,87 @@ name "cha:secrets"
\end_layout
\begin_layout Standard
LyXは強力な道具ですが、TeX/LaTeXでできることをすべてサポートしているわけではありません。しかし、ツールバーのTeXボタンを押したり、LaTeXプリア
ンブルに追加するのをためらわなければ、多くのTeXやLaTeXのトリックを使うことができます。この節ではそのようなトリック、ヒント、アイデアを紹介します。まず家
で、あまり重要でない文章で試してください。自分の博士論文でまず試そうとは考えない方がいいでしょう。
\end_layout
\begin_layout Standard
この節で紹介するものの多くは、通常のLaTeXディストリビューションにはあまり入っていないファイルを使います。teTeXを使っている場合には、ほとんどのファイル
は含まれていますが、それでもいくつかは近くのCTANアーカイブからダウンロードする必要があります。しばしば、同じことをするのにいくつもの方法があったり、同じこと
をするいくつものLaTeXファイルがあります。ここで紹介しているのは、いくつもの方法を比べてその中で我々が推薦するものではなく、単にあることをある特定のファイル
でできるということの紹介です。
\lang english
You can do everything with LyX that you can do with LaTeX.
However, LyX cannot support every LaTeX feature directly.
But you can always use TeX Code.
This chapter shows you some more special things you might want to use.
For other special things you can do with figures, tables, floats, boxes
and notes, have a look at the
\emph on
EmbeddedObjects
\emph default
manual.
\end_layout
\begin_layout Section
多段組み
\end_layout
\begin_layout Subsection
目的
\end_layout
\begin_layout Standard
この章
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
編集者註:もともとの章は
\family typewriter
\lang english
The aim for this section is to show how the LaTeX package
\series bold
multicol
\family default
パッケージの使い方を説明した見事な章でした。ただし、この取扱説明書にそのまま載せるには長すぎました。そのために重要な節のみを選んであります。もとの章(ほとんど物
語です)は
\family typewriter
examples/multicol.lyx
\family default
にあります。
\end_layout
\end_inset
の目的は、LyXの文章でどのようにLaTeXパッケージ
\family typewriter
\series default
can be used in a LyX document.
LyX does not support the
\series bold
multicol
\family default
を使うことができるのかを説明することです。LyXは
\family typewriter
multicol
\family default
パッケージをサポートしていないので、ちょっとしたトリックが必要です。この節を読むとどのようなトリックか明らかになるはずです。
\end_layout
\begin_layout Subsection
制限事項
\series default
package natively yet, so you have to use some TeX code.
\end_layout
\begin_layout Standard
\family typewriter
\lang english
The
\series bold
multicol
\series default
package allows switching between one and multicolumn format on the same
page.
Footnotes are handled correctly, but will be placed at the bottom of the
page and not under each column.
Within the different columns you can use everyting, with the limitation
that for floats you need to use the option
\family sans
Span colums
\family default
パッケージでは同じページ内で一段組みと多段組みを切り替えることができます。脚注も(ほとんどの場合)正しく扱われますが、カラムの下ではなくページの下におかれます。
しかし、LaTeXのフロートメカニズムは現在の実装では部分的に使うことができなくなっています。今のところこの環境の範囲では、ページ幅のフロートしか使えません。
for each column.
\end_layout
\begin_layout Subsection
\end_layout
\begin_layout Subsubsection
二段組み
\end_layout
\begin_layout Standard
二段組みを使いたい場合には、二段組みのレイアウトを始めたい場所にLaTeXモードで
\family typewriter
\end_layout
\begin_layout Standard
\series bold
\backslash
begin{multicols}{2}
\family default
\end_layout
\begin_layout Standard
を挿入してください。そして二段組みを終わりたい場所に
\family typewriter
\end_layout
\begin_layout Standard
\series bold
\backslash
end{multicols}
\family default
\end_layout
\begin_layout Standard
を入れます。次の例を見てください。
\end_layout
@ -20484,7 +20484,7 @@ end{multicols}
\end_layout
\begin_layout Subsubsection
\begin_layout Subsection
多段組み
\end_layout
@ -20552,7 +20552,7 @@ end{multicols}
三段組み以上も可能ですが、読みにくくなり実用的ではないでしょう。
\end_layout
\begin_layout Subsubsection
\begin_layout Subsection
カラムの中のカラム
\end_layout
@ -20678,295 +20678,16 @@ end{multicols}
\begin_layout Standard
より複雑な形でカラムの中にカラムを入れる例や、へッダのスペース、縦のカラムを分ける線の入れ方などの例は、ファイル
\lang english
example file
\lang japanese
\family typewriter
examples/multicol.lyx
multicol.lyx
\family default
を読んでください。
\end_layout
\begin_layout Section
箇条書き(連番)段落環境での番号振り
\begin_inset Argument
status collapsed
\begin_layout Plain Layout
箇条書き(連番)の番号振り
\end_layout
\end_inset
\end_layout
\begin_layout Standard
既定での
\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
箇条書き(連番)
\end_layout
\end_inset
段落環境での番号の付け方はアラビア数字で始まり、アルファベットの大文字で終わります。違う番号の付け方をしたい場合にはどうしたらいいのでしょうか。次の例を見てくだ
さい。
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
Roman{enumi}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumii}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
arabic{enumiii}.}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
alph{enumiv}.)}
\end_layout
\begin_layout Standard
これは番号の付け方をまず大文字のローマ数字、次に大文字のアルファベット、アラビア数字、小文字のアルファベットにします。
\end_layout
\begin_layout Standard
前の例にはもう少しおまけがついていて、番号の後に点が入ります。例えば初めのレベルのレベルは
\begin_inset Quotes eld
\end_inset
I.
\begin_inset Quotes erd
\end_inset
のようになります。読みやすいように、番号の付け方を説明するのに<
\begin_inset Quotes eld
\end_inset
I.
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes erd
\end_inset
A.
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes erd
\end_inset
1.
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
a.)
\begin_inset Quotes erd
\end_inset
>のような表示方法を使うことにしましょう。
\end_layout
\begin_layout Standard
例を見て分かるように、各々のネストのレベルにラベルコマンド
\family typewriter
\backslash
labelenumi
\family default
\SpecialChar \ldots{}
\family typewriter
\backslash
labelenumiv
\family default
とカウンタ
\family typewriter
enumi
\family default
\SpecialChar \ldots{}
\family typewriter
enumiv
\family default
があります。使うことのできる番号印刷用のコマンドは
\family typewriter
\backslash
arabic{}
\family default
\family typewriter
\backslash
roman{}
\family default
\family typewriter
\backslash
Roman{}
\family default
\family typewriter
\backslash
alph{}
\family default
\family typewriter
\backslash
Alph{}
\family default
の5つでカウンタを一つ引数として取ります。これらの前または後ろに好きな文字を加えることができます。ただしスペースを加える必要はありません。
\end_layout
\begin_layout Standard
これらの機能を使った例をお見せしましょう。
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
alph{enumiii}+}
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
この例は番号の付け方を <
\begin_inset Quotes eld
\end_inset
#A#
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes erd
\end_inset
A.1
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes erd
\end_inset
a+
\begin_inset Quotes erd
\end_inset
,
\begin_inset space ~
\end_inset
\begin_inset Quotes eld
\end_inset
(i)
\begin_inset Quotes erd
\end_inset
>のようにします。
\end_layout
\begin_layout Section
Dropped Capitals
\end_layout
@ -21096,6 +20817,13 @@ dropping
コマンドも持っています。
\end_layout
\begin_layout Standard
\begin_inset Newpage newpage
\end_inset
\end_layout
\begin_layout Section
標準的でない形の段落
\end_layout

View File

@ -15118,6 +15118,430 @@ Moosegroin, MT 00100
を入れることも簡単にできます。膨大な選択肢を自由にお使いいただけるのです。
\end_layout
\begin_layout Subsection
\lang english
Custom Numbering of Numbered Lists
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\lang english
Lists ! Enumerate ! Customized
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
\lang english
The default numbering of numbered lists can be changed by adding this command
in TeX Code (shortcut
\begin_inset Info
type "shortcut"
arg "ert-insert"
\end_inset
)
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\lang english
For more about TeX Code, look at section
\lang japanese
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:TeXコード"
\end_inset
.
\end_layout
\end_inset
to your document preamble or in the text:
\end_layout
\begin_layout Standard
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
roman{enumi}}
\end_layout
\begin_layout Standard
\emph on
\lang english
enumi
\emph default
is hereby the counter of the enumeration in the first level.
The command
\series bold
\backslash
roman
\series default
outputs the counter as small Roman numeral.
For capital Roman numerals replace in the command above
\series bold
\backslash
roman
\series default
by
\series bold
\backslash
Roman
\series default
.
For Arabic numerals use
\series bold
\backslash
arabic
\series default
.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with capital or small Latin letters use
\series bold
\backslash
Alph
\series default
or
\series bold
\backslash
alph
\series default
, respectively.
To
\begin_inset Quotes eld
\end_inset
number
\begin_inset Quotes erd
\end_inset
items with symbols use
\series bold
\backslash
fnsymbol
\series default
.
\end_layout
\begin_layout Standard
\noindent
\lang english
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
\lang english
Note:
\series default
You can only number 26
\begin_inset space ~
\end_inset
items with Latin letters, because this numbering is limited to single letters.
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
\lang english
Note:
\series default
You can only number 9
\begin_inset space ~
\end_inset
items with symbols.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\lang english
To change the numbering for the list sublevels, replace each 'i' in the
command by the small Roman numeral of the level (enumi, enumii, enumiii,
enumiv).
\end_layout
\begin_layout Standard
\lang english
As example a list with custom numbering
\lang japanese
:
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
\lang english
Level 1
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 2
\end_layout
\begin_layout Enumerate
\lang english
Level 2
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 3
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
Level 4
\end_layout
\end_deeper
\end_deeper
\end_deeper
\begin_layout Standard
\lang english
For this list these commands were used
\lang japanese
:
\end_layout
\begin_layout Standard
\noindent
\series bold
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
fnsymbol{enumiii}}
\begin_inset Newline newline
\end_inset
\backslash
renewcommand{
\backslash
labelenumiv}{(
\backslash
roman{enumiv})}
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumi}{
\backslash
arabic{enumi}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumii}{
\backslash
alph{enumi})}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiii}{
\backslash
roman{enumiii}.}
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
labelenumiv}{
\backslash
Alph{enumiv}.}
\end_layout
\end_inset
\lang english
\begin_inset Note Note
status open
\begin_layout Plain Layout
\lang english
set the numbering back to the default
\end_layout
\end_inset
\end_layout
\begin_layout Section
余白取りとページ付けおよび改行
\begin_inset Index idx